summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-30 13:14:36 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:03 +0200
commitd49278344e941aff61279a4fa07c9ddf59498f3a (patch)
tree75ac738a60a51636f8c7f2f24f203849e5e0482e
parentbcea0380c457eca192d1320b3b5a62deb43614f4 (diff)
downloadvyos-live-build-d49278344e941aff61279a4fa07c9ddf59498f3a.tar.gz
vyos-live-build-d49278344e941aff61279a4fa07c9ddf59498f3a.zip
Removing redundant check for linux-images in binary_linux-image.
-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)