summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-30 13:14:36 +0100
committerDaniel Baumann <daniel@debian.org>2012-12-30 13:14:36 +0100
commit27f9ebb269a3ed8b5765eb379c29566f6e547c92 (patch)
tree40e83253bdde538e5b4e36ff325b0d40e2d819f9
parentbd0ccc992b8798f97e3984d5f41019a8d6fa4ad6 (diff)
downloadvyos-live-build-27f9ebb269a3ed8b5765eb379c29566f6e547c92.tar.gz
vyos-live-build-27f9ebb269a3ed8b5765eb379c29566f6e547c92.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 f01ed8516..c9c3de9d8 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)