summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-07-16 09:57:40 +0200
committerDaniel Baumann <daniel@debian.org>2011-07-16 10:08:42 +0200
commit330d06708dd2e66005dfec01d74aa32cf1aa33dc (patch)
tree5a57e99b0406ca01e91a2ce5d94fab9dbc6ff41a /scripts
parent1f431a739baac6e1297cf0a58b51dbd064398d6c (diff)
downloadvyos-live-build-330d06708dd2e66005dfec01d74aa32cf1aa33dc.tar.gz
vyos-live-build-330d06708dd2e66005dfec01d74aa32cf1aa33dc.zip
Skipping binary_linux-image if no kernel was choosen to be installed deliberately, thanks to Adam Conrad <adconrad@ubuntu.com>.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/lb_binary_linux-image2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/lb_binary_linux-image b/scripts/build/lb_binary_linux-image
index cac19d895..22e67612a 100755
--- a/scripts/build/lb_binary_linux-image
+++ b/scripts/build/lb_binary_linux-image
@@ -24,7 +24,7 @@ Arguments "${@}"
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
Set_defaults
-if [ "${LB_BINARY_IMAGES}" = "virtual-hdd" ]
+if [ "${LB_BINARY_IMAGES}" = "virtual-hdd" ] || [ "${LB_LINUX_PACKAGES}" = "none" ]
then
exit 0
fi