Don't include the bootstrap .debs on live-installer based disks (saves ~30MiB).
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
parent
856d069cf3
commit
821e289e24
|
@ -415,19 +415,22 @@ then
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Including base debian packages
|
if [ "${LH_DEBIAN_INSTALLER}" != "live" ]
|
||||||
if [ -d cache/packages_bootstrap ]
|
|
||||||
then
|
then
|
||||||
for FILE in cache/packages_bootstrap/*.deb
|
# Including base debian packages
|
||||||
do
|
if [ -d cache/packages_bootstrap ]
|
||||||
Install_file "${FILE}" "binary/pool/main"
|
then
|
||||||
done
|
for FILE in cache/packages_bootstrap/*.deb
|
||||||
else
|
do
|
||||||
Echo_error "Could not find cache/packages_bootstrap."
|
Install_file "${FILE}" "binary/pool/main"
|
||||||
Echo_error "You selected values of LH_CACHE, LH_CACHE_PACKAGES, LH_CACHE_STAGES and"
|
done
|
||||||
Echo_error "LH_DEBIAN_INSTALLER which will result in 'bootstrap' packages not being"
|
else
|
||||||
Echo_error "cached - these are required when integrating the Debian Installer."
|
Echo_error "Could not find cache/packages_bootstrap."
|
||||||
exit 1
|
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
|
fi
|
||||||
|
|
||||||
# Including local debs
|
# Including local debs
|
||||||
|
|
Loading…
Reference in New Issue