@@ -197,7 +197,7 CHROOT_SCRIPTS=${CHROOT_SCRIPTS:=""} | |||
|
197 | 197 | |
|
198 | 198 | # Packages required in the chroot build environment |
|
199 | 199 | APT_INCLUDES=${APT_INCLUDES:=""} |
|
200 | APT_INCLUDES="${APT_INCLUDES},apt-transport-https,apt-utils,ca-certificates,debian-archive-keyring,dialog,sudo,systemd,sysvinit-utils,locales,keyboard-configuration,console-setup" | |
|
200 | APT_INCLUDES="${APT_INCLUDES},apt-transport-https,apt-utils,ca-certificates,debian-archive-keyring,dialog,sudo,systemd,sysvinit-utils,locales,keyboard-configuration,console-setup,libnss-systemd" | |
|
201 | 201 | |
|
202 | 202 | #Packages to exclude from chroot build environment |
|
203 | 203 | APT_EXCLUDES=${APT_EXCLUDES:=""} |
@@ -286,37 +286,37 else | |||
|
286 | 286 | echo "error: Please set '32' or '64' as value for SET_ARCH" |
|
287 | 287 | exit 1 |
|
288 | 288 | fi |
|
289 |
|
|
|
290 |
|
|
|
291 |
|
|
|
292 |
|
|
|
293 |
|
|
|
294 |
|
|
|
295 |
|
|
|
296 |
|
|
|
297 |
|
|
|
298 |
|
|
|
299 |
|
|
|
300 |
|
|
|
301 |
|
|
|
302 |
|
|
|
303 |
|
|
|
304 |
|
|
|
305 |
|
|
|
306 |
|
|
|
307 |
|
|
|
308 |
|
|
|
309 |
|
|
|
310 |
|
|
|
311 |
|
|
|
312 |
|
|
|
313 |
|
|
|
314 |
|
|
|
315 |
|
|
|
316 |
|
|
|
317 |
|
|
|
318 |
|
|
|
319 |
|
|
|
289 | # Device specific configuration and U-Boot configuration | |
|
290 | case "$RPI_MODEL" in | |
|
291 | 0) | |
|
292 | DTB_FILE=${DTB_FILE:=bcm2708-rpi-0-w.dtb} | |
|
293 | UBOOT_CONFIG=${UBOOT_CONFIG:=rpi_defconfig} | |
|
294 | ;; | |
|
295 | 1) | |
|
296 | DTB_FILE=${DTB_FILE:=bcm2708-rpi-b.dtb} | |
|
297 | UBOOT_CONFIG=${UBOOT_CONFIG:=rpi_defconfig} | |
|
298 | ;; | |
|
299 | 1P) | |
|
300 | DTB_FILE=${DTB_FILE:=bcm2708-rpi-b-plus.dtb} | |
|
301 | UBOOT_CONFIG=${UBOOT_CONFIG:=rpi_defconfig} | |
|
302 | ;; | |
|
303 | 2) | |
|
304 | DTB_FILE=${DTB_FILE:=bcm2709-rpi-2-b.dtb} | |
|
305 | UBOOT_CONFIG=${UBOOT_CONFIG:=rpi_2_defconfig} | |
|
306 | ;; | |
|
307 | 3) | |
|
308 | DTB_FILE=${DTB_FILE:=bcm2710-rpi-3-b.dtb} | |
|
309 | UBOOT_CONFIG=${UBOOT_CONFIG:=rpi_3_defconfig} | |
|
310 | ;; | |
|
311 | 3P) | |
|
312 | DTB_FILE=${DTB_FILE:=bcm2710-rpi-3-b.dtb} | |
|
313 | UBOOT_CONFIG=${UBOOT_CONFIG:=rpi_3_defconfig} | |
|
314 | ;; | |
|
315 | *) | |
|
316 | echo "error: Raspberry Pi model $RPI_MODEL is not supported!" | |
|
317 | exit 1 | |
|
318 | ;; | |
|
319 | esac | |
|
320 | 320 | |
|
321 | 321 | # Prepare date string for default image file name |
|
322 | 322 | DATE="$(date +%Y-%m-%d)" |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant