Merge pull request #119 from kinvolk/flatcar-scripts

Fix missing jobs parameter
This commit is contained in:
Sayan Chowdhury 2021-02-16 16:28:13 +05:30
commit a10ba082e8
No known key found for this signature in database
GPG Key ID: B02399319CD05C8B
3 changed files with 5 additions and 0 deletions

View File

@ -54,6 +54,8 @@ DEFINE_string version "" \
"Sets the docker version to build."
DEFINE_integer aci_version "" \
"Sets the aci version tag identifier."
DEFINE_integer jobs "${NUM_JOBS}" \
"How many packages to build in parallel at maximum."
# Parse command line.
FLAGS "$@" || exit 1

View File

@ -522,6 +522,7 @@ install_oem_aci() {
"${SCRIPT_ROOT}/build_oem_aci" \
--board="${BOARD}" \
--build_dir="${aci_dir}" \
--jobs="${FLAGS_jobs}" \
"${binpkgflags[@]}" \
"${oem_aci}"

View File

@ -46,6 +46,8 @@ DEFINE_string output_root "${DEFAULT_BUILD_ROOT}/images" \
"Directory in which to place image result directories (named by version)"
DEFINE_string version "" \
"Overrides version number in name to this version."
DEFINE_integer jobs "${NUM_JOBS}" \
"How many packages to build in parallel at maximum."
# Parse command line.
FLAGS "$@" || exit 1