2023-03-14 09:53:33 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2023-04-03 11:46:30 -04:00
|
|
|
set -exuo pipefail
|
|
|
|
shopt -s inherit_errexit
|
|
|
|
|
2023-03-09 09:23:42 -05:00
|
|
|
bazel run //:bazeldnf -- fetch \
|
2023-01-30 11:15:59 -05:00
|
|
|
--repofile rpm/repo.yaml
|
2023-03-09 09:23:42 -05:00
|
|
|
bazel run //:bazeldnf -- rpmtree \
|
2023-03-21 10:25:00 -04:00
|
|
|
--workspace WORKSPACE.bazel \
|
|
|
|
--to_macro rpm/rpms.bzl%rpms \
|
2023-01-30 11:15:59 -05:00
|
|
|
--buildfile rpm/BUILD.bazel \
|
|
|
|
--repofile rpm/repo.yaml \
|
|
|
|
--name cryptsetup-devel \
|
|
|
|
cryptsetup-devel
|
2023-04-03 11:46:30 -04:00
|
|
|
bazel run //:bazeldnf -- rpmtree \
|
|
|
|
--workspace WORKSPACE.bazel \
|
|
|
|
--to_macro rpm/rpms.bzl%rpms \
|
|
|
|
--buildfile rpm/BUILD.bazel \
|
|
|
|
--repofile rpm/repo.yaml \
|
|
|
|
--name glibc \
|
|
|
|
glibc
|
2023-03-09 09:23:42 -05:00
|
|
|
bazel run //:bazeldnf -- rpmtree \
|
2023-03-21 10:25:00 -04:00
|
|
|
--workspace WORKSPACE.bazel \
|
|
|
|
--to_macro rpm/rpms.bzl%rpms \
|
2023-03-09 09:23:42 -05:00
|
|
|
--buildfile rpm/BUILD.bazel \
|
|
|
|
--repofile rpm/repo.yaml \
|
|
|
|
--name libvirt-devel \
|
|
|
|
libvirt-devel
|
2023-04-03 11:46:30 -04:00
|
|
|
bazel run //:bazeldnf -- rpmtree \
|
|
|
|
--workspace WORKSPACE.bazel \
|
|
|
|
--to_macro rpm/rpms.bzl%rpms \
|
|
|
|
--buildfile rpm/BUILD.bazel \
|
|
|
|
--repofile rpm/repo.yaml \
|
|
|
|
--name containerized-libvirt \
|
|
|
|
libvirt-daemon-config-network \
|
|
|
|
libvirt-daemon-kvm \
|
|
|
|
qemu-kvm \
|
|
|
|
swtpm \
|
|
|
|
swtpm-tools \
|
|
|
|
iptables-legacy \
|
|
|
|
dnsmasq \
|
|
|
|
libvirt-client
|
2023-03-21 10:25:00 -04:00
|
|
|
bazel run //:bazeldnf -- prune \
|
|
|
|
--workspace WORKSPACE.bazel \
|
|
|
|
--to_macro rpm/rpms.bzl%rpms \
|
|
|
|
--buildfile rpm/BUILD.bazel
|
2023-03-09 09:23:42 -05:00
|
|
|
bazel run //rpm:ldd-cryptsetup
|
|
|
|
bazel run //rpm:ldd-libvirt
|
|
|
|
bazel run //rpm:ldd-glibc
|