diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-06-19 19:03:10 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:35 +0100 |
commit | 5f3168deb73fd1e92bec83eb839b5d7381b6b023 (patch) | |
tree | 33e58fb3c82dc71c77cb8865731fbb275f5512e2 /helpers/lh_binary_rootfs | |
parent | a5e675792ae54c66b7c9ca470d3e47bc45960272 (diff) | |
download | live-build-5f3168deb73fd1e92bec83eb839b5d7381b6b023.zip live-build-5f3168deb73fd1e92bec83eb839b5d7381b6b023.tar.gz |
Revert aborting live d-i installation if minimal/stripped is selected and instead attempt to not break the chroot too much in this case
Diffstat (limited to 'helpers/lh_binary_rootfs')
-rwxr-xr-x | helpers/lh_binary_rootfs | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/helpers/lh_binary_rootfs b/helpers/lh_binary_rootfs index abd26ac..c17660d 100755 --- a/helpers/lh_binary_rootfs +++ b/helpers/lh_binary_rootfs @@ -223,11 +223,14 @@ case "${LH_CHROOT_FILESYSTEM}" in MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -info" fi - case "${LH_PACKAGES_LISTS}" in - stripped|minimal) - MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -e $(ls chroot/boot/${LINUX}* chroot/boot/initrd.img* chroot/${LINUX}* chroot/initrd.img* | sed 's|chroot/||g')" - ;; - esac + if [ "${LH_DEBIAN_INSTALLER}" != "live" ] + then + case "${LH_PACKAGES_LISTS}" in + stripped|minimal) + MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -e $(ls chroot/boot/${LINUX}* chroot/boot/initrd.img* chroot/${LINUX}* chroot/initrd.img* | sed 's|chroot/||g')" + ;; + esac + fi if [ -f config/binary_rootfs/squashfs.sort ] then |