@@ -64,6 +64,7 if [ "$ENABLE_CRYPTFS" = true ] ; then | |||
|
64 | 64 | CMDLINE=$(echo "${CMDLINE}" | sed "s/mmcblk0p2/mapper\/${CRYPTFS_MAPPING} cryptdevice=\/dev\/mmcblk0p2:${CRYPTFS_MAPPING}/") |
|
65 | 65 | fi |
|
66 | 66 | fi |
|
67 | fi | |
|
67 | 68 | |
|
68 | 69 | # Add serial console support |
|
69 | 70 | if [ "$ENABLE_CONSOLE" = true ] ; then |
@@ -52,8 +52,6 if [ "$ENABLE_UBOOT" = true ] ; then | |||
|
52 | 52 | |
|
53 | 53 | # Configure U-Boot to load generated initramfs |
|
54 | 54 | printf "# Set initramfs file\nsetenv initramfs initramfs-${KERNEL_VERSION}.uboot\n\n$(cat ${BOOT_DIR}/uboot.mkimage)" > "${BOOT_DIR}/uboot.mkimage" |
|
55 | ||
|
56 | fi | |
|
57 | 55 | else # ENABLE_INITRAMFS=false |
|
58 | 56 | # Remove initramfs from U-Boot mkfile |
|
59 | 57 | sed -i '/.*initramfs.*/d' "${BOOT_DIR}/uboot.mkimage" |
@@ -101,4 +99,3 if [ "$ENABLE_UBOOT" = true ] ; then | |||
|
101 | 99 | # Remove U-Boot sources |
|
102 | 100 | rm -fr "${R}/tmp/u-boot" |
|
103 | 101 | fi |
|
104 |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant