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