summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-08-10 23:02:01 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:38 +0100
commita1c4763a024e7b091e5e1333f1e4427d534378eb (patch)
treef54a9c76439012b81eb9354dc0bb745919a2fe35 /helpers
parentd6053a8103f3f3efbd864ebbb65d15e51bfd0162 (diff)
downloadvyos-live-build-a1c4763a024e7b091e5e1333f1e4427d534378eb.tar.gz
vyos-live-build-a1c4763a024e7b091e5e1333f1e4427d534378eb.zip
Don't include the bootstrap .debs on live-installer based disks (saves ~30MiB).
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_binary_debian-installer27
1 files changed, 15 insertions, 12 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index 94e14eab2..27afa7c05 100755
--- a/helpers/lh_binary_debian-installer
+++ b/helpers/lh_binary_debian-installer
@@ -415,19 +415,22 @@ then
done
fi
- # Including base debian packages
- if [ -d cache/packages_bootstrap ]
+ if [ "${LH_DEBIAN_INSTALLER}" != "live" ]
then
- for FILE in cache/packages_bootstrap/*.deb
- do
- Install_file "${FILE}" "binary/pool/main"
- done
- else
- Echo_error "Could not find cache/packages_bootstrap."
- Echo_error "You selected values of LH_CACHE, LH_CACHE_PACKAGES, LH_CACHE_STAGES and"
- Echo_error "LH_DEBIAN_INSTALLER which will result in 'bootstrap' packages not being"
- Echo_error "cached - these are required when integrating the Debian Installer."
- exit 1
+ # Including base debian packages
+ if [ -d cache/packages_bootstrap ]
+ then
+ for FILE in cache/packages_bootstrap/*.deb
+ do
+ Install_file "${FILE}" "binary/pool/main"
+ done
+ else
+ Echo_error "Could not find cache/packages_bootstrap."
+ Echo_error "You selected values of LH_CACHE, LH_CACHE_PACKAGES, LH_CACHE_STAGES and"
+ Echo_error "LH_DEBIAN_INSTALLER which will result in 'bootstrap' packages not being"
+ Echo_error "cached - these are required when integrating the Debian Installer."
+ exit 1
+ fi
fi
# Including local debs