summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/binary_linux-image7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/build/binary_linux-image b/scripts/build/binary_linux-image
index bfda74ef9..d70bc0fcf 100755
--- a/scripts/build/binary_linux-image
+++ b/scripts/build/binary_linux-image
@@ -73,11 +73,8 @@ 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
+cp chroot/boot/"${LINUX}"-* "${DESTDIR}"
+cp chroot/boot/initrd.img-* "${DESTDIR}"
case "${LB_INITRAMFS}" in
live-boot)