bazel: remove bazeldnf and pinned rpms

This commit is contained in:
Malte Poll 2023-11-27 10:16:36 +01:00
parent 5c19b2c27b
commit 4ca88cd779
9 changed files with 0 additions and 4910 deletions

View file

@ -1,7 +0,0 @@
#!/usr/bin/env bash
rm -f rpm/repo.yaml
bazel run //:bazeldnf -- init \
--fc 38 \
--arch x86_64 \
--output rpm/repo.yaml

View file

@ -1,49 +0,0 @@
#!/usr/bin/env bash
set -exuo pipefail
shopt -s inherit_errexit
bazel run //:bazeldnf -- fetch \
--repofile rpm/repo.yaml
bazel run //:bazeldnf -- rpmtree \
--workspace WORKSPACE.bazel \
--to-macro rpm/rpms.bzl%rpms \
--buildfile rpm/BUILD.bazel \
--repofile rpm/repo.yaml \
--name cryptsetup-devel \
cryptsetup-devel
bazel run //:bazeldnf -- rpmtree \
--workspace WORKSPACE.bazel \
--to-macro rpm/rpms.bzl%rpms \
--buildfile rpm/BUILD.bazel \
--repofile rpm/repo.yaml \
--name glibc \
glibc
bazel run //:bazeldnf -- rpmtree \
--workspace WORKSPACE.bazel \
--to-macro rpm/rpms.bzl%rpms \
--buildfile rpm/BUILD.bazel \
--repofile rpm/repo.yaml \
--name libvirt-devel \
libvirt-devel
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
bazel run //:bazeldnf -- prune \
--workspace WORKSPACE.bazel \
--to-macro rpm/rpms.bzl%rpms \
--buildfile rpm/BUILD.bazel
bazel run //rpm:ldd-cryptsetup
bazel run //rpm:ldd-libvirt
bazel run //rpm:ldd-glibc