@@ -330,7 +330,7 fi | |||||
330 |
|
330 | |||
331 | # Add libncurses5 to enable kernel menuconfig |
|
331 | # Add libncurses5 to enable kernel menuconfig | |
332 | if [ "$KERNEL_MENUCONFIG" = true ] ; then |
|
332 | if [ "$KERNEL_MENUCONFIG" = true ] ; then | |
333 |
REQUIRED_PACKAGES="${REQUIRED_PACKAGES} libncurses |
|
333 | REQUIRED_PACKAGES="${REQUIRED_PACKAGES} libncurses-dev" | |
334 | fi |
|
334 | fi | |
335 |
|
335 | |||
336 | # Add ccache compiler cache for (faster) kernel cross (re)compilation |
|
336 | # Add ccache compiler cache for (faster) kernel cross (re)compilation | |
@@ -388,7 +388,7 if [ -n "$MISSING_PACKAGES" ] ; then | |||||
388 | echo "the following packages needed by this script are not installed:" |
|
388 | echo "the following packages needed by this script are not installed:" | |
389 | echo "$MISSING_PACKAGES" |
|
389 | echo "$MISSING_PACKAGES" | |
390 |
|
390 | |||
391 |
printf "\n |
|
391 | printf "\ndo you want to install the missing packages right now? [y/n] " | |
392 | read -r confirm |
|
392 | read -r confirm | |
393 | [ "$confirm" != "y" ] && exit 1 |
|
393 | [ "$confirm" != "y" ] && exit 1 | |
394 |
|
394 | |||
@@ -708,8 +708,8 ${TABLE_SECTORS},${ROOT_SECTORS},83 | |||||
708 | EOM |
|
708 | EOM | |
709 |
|
709 | |||
710 | # Setup temporary loop devices |
|
710 | # Setup temporary loop devices | |
711 |
FRMW_LOOP="$(losetup -o 1M --sizelimit 64M -f --show "$IMAGE_NAME-frmw.img |
|
711 | FRMW_LOOP="$(losetup -o 1M --sizelimit 64M -f --show "$IMAGE_NAME"-frmw.img)" | |
712 |
ROOT_LOOP="$(losetup -o 1M -f --show "$IMAGE_NAME-root.img |
|
712 | ROOT_LOOP="$(losetup -o 1M -f --show "$IMAGE_NAME"-root.img)" | |
713 | else # ENABLE_SPLITFS=false |
|
713 | else # ENABLE_SPLITFS=false | |
714 | dd if=/dev/zero of="$IMAGE_NAME.img" bs=512 count="${TABLE_SECTORS}" |
|
714 | dd if=/dev/zero of="$IMAGE_NAME.img" bs=512 count="${TABLE_SECTORS}" | |
715 | dd if=/dev/zero of="$IMAGE_NAME.img" bs=512 count=0 seek="${IMAGE_SECTORS}" |
|
715 | dd if=/dev/zero of="$IMAGE_NAME.img" bs=512 count=0 seek="${IMAGE_SECTORS}" | |
@@ -721,8 +721,8 ${ROOT_OFFSET},${ROOT_SECTORS},83 | |||||
721 | EOM |
|
721 | EOM | |
722 |
|
722 | |||
723 | # Setup temporary loop devices |
|
723 | # Setup temporary loop devices | |
724 |
FRMW_LOOP="$(losetup -o 1M --sizelimit 64M -f --show "$IMAGE_NAME.img |
|
724 | FRMW_LOOP="$(losetup -o 1M --sizelimit 64M -f --show "$IMAGE_NAME".img)" | |
725 |
ROOT_LOOP="$(losetup -o 65M -f --show "$IMAGE_NAME.img |
|
725 | ROOT_LOOP="$(losetup -o 65M -f --show "$IMAGE_NAME".img)" | |
726 | fi |
|
726 | fi | |
727 |
|
727 | |||
728 | if [ "$ENABLE_CRYPTFS" = true ] ; then |
|
728 | if [ "$ENABLE_CRYPTFS" = true ] ; then |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant