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}"
|
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)
|
||||||
|
|
Loading…
Reference in New Issue