summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_linux-image
diff options
context:
space:
mode:
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