Skip to content

Commit

Permalink
rpm: Format bazeldnf invocations consistently
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Bolognani <[email protected]>
  • Loading branch information
andreabolognani committed Apr 4, 2022
1 parent ca2ba13 commit d76a7c6
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions hack/rpm-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ centos_extra="
# get latest repo data from repo.yaml
bazel run \
--config=${ARCHITECTURE} \
//:bazeldnf -- fetch ${bazeldnf_repos}
//:bazeldnf -- fetch \
${bazeldnf_repos}

# create a rpmtree for our test image with misc. tools.
testimage_base="
Expand Down Expand Up @@ -181,7 +182,9 @@ if [ -z "${SINGLE_ARCH}" ] || [ "${SINGLE_ARCH}" == "x86_64" ]; then
# create a rpmtree for virt-handler
bazel run \
--config=${ARCHITECTURE} \
//:bazeldnf -- rpmtree --public --name handlerbase_x86_64 \
//:bazeldnf -- rpmtree \
--public \
--name handlerbase_x86_64 \
--basesystem centos-stream-release \
--force-ignore-with-dependencies 'python' \
${bazeldnf_repos} \
Expand Down Expand Up @@ -277,7 +280,9 @@ if [ -z "${SINGLE_ARCH}" ] || [ "${SINGLE_ARCH}" == "aarch64" ]; then
# create a rpmtree for virt-handler
bazel run \
--config=${ARCHITECTURE} \
//:bazeldnf -- rpmtree --public --arch=aarch64 --name handlerbase_aarch64 \
//:bazeldnf -- rpmtree \
--public \
--name handlerbase_aarch64 --arch aarch64 \
--basesystem centos-stream-release \
--force-ignore-with-dependencies 'python' \
${bazeldnf_repos} \
Expand Down

0 comments on commit d76a7c6

Please sign in to comment.