Updating lb_binary_linux-image to only copy over kernel and initrd if LB_LINUX_PACKAGES doesn't equal 'none'.

This commit is contained in:
Cody A.W. Somerville 2011-07-20 08:48:07 +02:00 committed by Daniel Baumann
parent 31445ed7be
commit 651c8aebd2
1 changed files with 5 additions and 2 deletions

View File

@ -73,8 +73,11 @@ Check_multiarchitectures
mkdir -p "${DESTDIR}" mkdir -p "${DESTDIR}"
# Installing linux-image # Installing linux-image
cp chroot/boot/"${LINUX}"-* "${DESTDIR}" if [ "${LB_LINUX_PACKAGES}" != "none" ]
cp chroot/boot/initrd.img-* "${DESTDIR}" then
cp chroot/boot/"${LINUX}"-* "${DESTDIR}"
cp chroot/boot/initrd.img-* "${DESTDIR}"
fi
case "${LB_INITRAMFS}" in case "${LB_INITRAMFS}" in
live-boot) live-boot)