diff options
author | Daniel Baumann <daniel@debian.org> | 2012-12-30 13:14:36 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 14:50:03 +0200 |
commit | d49278344e941aff61279a4fa07c9ddf59498f3a (patch) | |
tree | 75ac738a60a51636f8c7f2f24f203849e5e0482e | |
parent | bcea0380c457eca192d1320b3b5a62deb43614f4 (diff) | |
download | vyos-live-build-d49278344e941aff61279a4fa07c9ddf59498f3a.tar.gz vyos-live-build-d49278344e941aff61279a4fa07c9ddf59498f3a.zip |
Removing redundant check for linux-images in binary_linux-image.
-rwxr-xr-x | scripts/build/binary_linux-image | 7 |
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) |