summaryrefslogtreecommitdiff
path: root/scripts/build/binary_linux-image
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/binary_linux-image')
-rwxr-xr-xscripts/build/binary_linux-image9
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/build/binary_linux-image b/scripts/build/binary_linux-image
index d1e6ba0ea..f01ed8516 100755
--- a/scripts/build/binary_linux-image
+++ b/scripts/build/binary_linux-image
@@ -1,7 +1,7 @@
#!/bin/sh
## live-build(7) - System Build Scripts
-## Copyright (C) 2006-2013 Daniel Baumann <daniel@debian.org>
+## Copyright (C) 2006-2012 Daniel Baumann <daniel@debian.org>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
@@ -73,8 +73,11 @@ Check_multiarchitectures
mkdir -p "${DESTDIR}"
# Installing linux-image
-cp chroot/boot/"${LINUX}"-* "${DESTDIR}"
-cp chroot/boot/initrd.img-* "${DESTDIR}"
+if [ "${LB_LINUX_PACKAGES}" != "none" ]
+then
+ cp chroot/boot/"${LINUX}"-* "${DESTDIR}"
+ cp chroot/boot/initrd.img-* "${DESTDIR}"
+fi
case "${LB_INITRAMFS}" in
live-boot)