@@ -62,6 +62,7 if [ "$ENABLE_CRYPTFS" = true ] ; then | |||
|
62 | 62 | CMDLINE=$(echo "${CMDLINE}" | sed "s/sda2/mapper\/${CRYPTFS_MAPPING} cryptdevice=\/dev\/sda2:${CRYPTFS_MAPPING}/") |
|
63 | 63 | else |
|
64 | 64 | CMDLINE=$(echo "${CMDLINE}" | sed "s/mmcblk0p2/mapper\/${CRYPTFS_MAPPING} cryptdevice=\/dev\/mmcblk0p2:${CRYPTFS_MAPPING}/") |
|
65 | fi | |
|
65 | 66 | fi |
|
66 | 67 | fi |
|
67 | 68 |
@@ -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