@@ -20,7 +20,7 if [ "$ENABLE_CRYPTFS" = true ] ; then | |||
|
20 | 20 | |
|
21 | 21 | # Add encrypted partition to crypttab and fstab |
|
22 | 22 | install_readonly files/mount/crypttab "${ETC_DIR}/crypttab" |
|
23 | echo "${CRYPTFS_MAPPING} /dev/mmcblk0p2 none luks" >> "${ETC_DIR}/crypttab" | |
|
23 | echo "${CRYPTFS_MAPPING} /dev/mmcblk0p2 none luks,initramfs" >> "${ETC_DIR}/crypttab" | |
|
24 | 24 | |
|
25 | 25 | if [ "$ENABLE_SPLITFS" = true ] ; then |
|
26 | 26 | # Add usb/sda disk to crypttab |
@@ -72,7 +72,7 if [ "$KERNEL_ARCH" = "arm64" ] ; then | |||
|
72 | 72 | KERNEL_IMAGE=${KERNEL_IMAGE:=kernel8.img} |
|
73 | 73 | fi |
|
74 | 74 | |
|
75 |
if [RPI_MODEL |
|
|
75 | if [ "$RPI_MODEL" = 0 || "$RPI_MODEL" = 1 || "$RPI_MODEL" = 1P ] ; then | |
|
76 | 76 | #RASPBERRY PI 1, PI ZERO, PI ZERO W, AND COMPUTE MODULE DEFAULT Kernel BUILD CONFIGURATION |
|
77 | 77 | KERNEL_DEFCONFIG=${KERNEL_DEFCONFIG:=bcmrpi_defconfig} |
|
78 | 78 | KERNEL_IMAGE=${KERNEL_IMAGE:=kernel7.img} |
@@ -247,7 +247,7 COMPILER_PACKAGES="" | |||
|
247 | 247 | set +x |
|
248 | 248 | |
|
249 | 249 | # Set Raspberry Pi model specific configuration |
|
250 |
|
|
|
250 | if [ "$RPI_MODEL" = 0 ] ; then | |
|
251 | 251 | DTB_FILE=${RPI2_DTB_FILE} |
|
252 | 252 | UBOOT_CONFIG=${RPI2_UBOOT_CONFIG} |
|
253 | 253 | elif [ "$RPI_MODEL" = 1 ] ; then |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant