Merge "Add DIB_SKIP_BASE_PACKAGE_INSTALL to base element"
This commit is contained in:
commit
b62a6e01cb
diskimage_builder/elements/base
@ -28,6 +28,10 @@ update.
|
||||
|
||||
* set 'DIB_AVOID_PACKAGES_UPDATE' to '1' to avoid updating all packages.
|
||||
|
||||
|
||||
The 'DIB_SKIP_BASE_PACKAGE_INSTALL' environment variable can be used to
|
||||
avoid installing base packages, set to '1' to skip.
|
||||
|
||||
Notes:
|
||||
|
||||
* If you are getting warnings during the build about your locale
|
||||
|
@ -1 +1,2 @@
|
||||
export DIB_AVOID_PACKAGES_UPDATE=${DIB_AVOID_PACKAGES_UPDATE:-0}
|
||||
export DIB_AVOID_PACKAGES_UPDATE=${DIB_AVOID_PACKAGES_UPDATE:-0}
|
||||
export DIB_SKIP_BASE_PACKAGE_INSTALL=${DIB_SKIP_BASE_PACKAGE_INSTALL:-0}
|
@ -7,4 +7,6 @@ fi
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
install-packages -m base iscsi_package
|
||||
if [ ${DIB_SKIP_BASE_PACKAGE_INSTALL} -eq 0 ]; then
|
||||
install-packages -m base iscsi_package
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user