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:
parent
31445ed7be
commit
651c8aebd2
|
@ -73,8 +73,11 @@ Check_multiarchitectures
|
|||
mkdir -p "${DESTDIR}"
|
||||
|
||||
# Installing linux-image
|
||||
if [ "${LB_LINUX_PACKAGES}" != "none" ]
|
||||
then
|
||||
cp chroot/boot/"${LINUX}"-* "${DESTDIR}"
|
||||
cp chroot/boot/initrd.img-* "${DESTDIR}"
|
||||
fi
|
||||
|
||||
case "${LB_INITRAMFS}" in
|
||||
live-boot)
|
||||
|
|
Loading…
Reference in New Issue