diff options
author | Daniel Baumann <daniel@debian.org> | 2012-12-30 13:14:36 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-12-30 13:14:36 +0100 |
commit | 27f9ebb269a3ed8b5765eb379c29566f6e547c92 (patch) | |
tree | 40e83253bdde538e5b4e36ff325b0d40e2d819f9 | |
parent | bd0ccc992b8798f97e3984d5f41019a8d6fa4ad6 (diff) | |
download | vyos-live-build-27f9ebb269a3ed8b5765eb379c29566f6e547c92.tar.gz vyos-live-build-27f9ebb269a3ed8b5765eb379c29566f6e547c92.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 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) |