summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_linux-image
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-02-25 09:51:28 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:42 +0100
commitf73041f2f0905a2bb6ee3b938a9e1fa0fc53a3e6 (patch)
tree517c37c1229fa05947a3515117c1bbdfd566f3a0 /helpers/lh_chroot_linux-image
parentef9121fc23c6eae86ff359cf429af3b096360075 (diff)
downloadlive-build-f73041f2f0905a2bb6ee3b938a9e1fa0fc53a3e6.zip
live-build-f73041f2f0905a2bb6ee3b938a9e1fa0fc53a3e6.tar.gz
Adding initial support for virtual-hdd binary image type.
Diffstat (limited to 'helpers/lh_chroot_linux-image')
-rwxr-xr-xhelpers/lh_chroot_linux-image5
1 files changed, 4 insertions, 1 deletions
diff --git a/helpers/lh_chroot_linux-image b/helpers/lh_chroot_linux-image
index 1ee14bc..cc2c8e8 100755
--- a/helpers/lh_chroot_linux-image
+++ b/helpers/lh_chroot_linux-image
@@ -70,7 +70,10 @@ EOF
fi
# Queue installation of linux-image and ${LH_INITRAMFS}
- echo ${LH_INITRAMFS} >> chroot/root/chroot_packages
+ if [ "${LH_INITRAMFS}" != "none" ]
+ then
+ echo ${LH_INITRAMFS} >> chroot/root/chroot_packages
+ fi
# Creating stage file
Create_stagefile .stage/chroot_linux-image