This commit is contained in:
zador-blood-stained 2017-09-07 14:01:36 +03:00
parent 1fb6fcec99
commit ee83f8e245
2 changed files with 0 additions and 8 deletions

View File

@ -48,9 +48,6 @@ debootstrap_ng()
# stage: install kernel and u-boot packages
# install distribution and board specific applications
mkdir -p $SDCARD/tmp/debs
mount --bind $DEST/debs/ $SDCARD/tmp/debs
install_distribution_specific
install_common
@ -65,10 +62,6 @@ debootstrap_ng()
# install from apt.armbian.com
[[ $EXTERNAL_NEW == prebuilt ]] && chroot_installpackages "yes"
# cleanup for install_kernel and install_board_specific
umount $SDCARD/tmp/debs
mountpoint -q $SDCARD/tmp/debs || rm -rf $SDCARD/tmp/debs
# stage: user customization script
# NOTE: installing too many packages may fill tmpfs mount
customize_image

View File

@ -55,7 +55,6 @@ unmount_on_exit()
umount -l $MOUNT/boot >/dev/null 2>&1
umount -l $MOUNT >/dev/null 2>&1
losetup -d $LOOP >/dev/null 2>&1
umount -l $SDCARD/tmp/debs >/dev/null 2>&1
rm -rf --one-file-system $SDCARD
exit_with_error "debootstrap-ng was interrupted"
} #############################################################################