debian-bootc-base-images/minimal/bootc.yaml
Colin Walters ed3ca02edf minimal: Exclude iptables-legacy, don't include iptables-nft
Motivated by trimming the package set of minimal to be smaller
to match its name.

But more generally, I think the solution most of the time we hit a
"multiple things have a provides" isn't to hardcode what we want,
but to exclude what we don't want.

Ideally of course...there'd be something like
`ProvidesDisfavored: iptables` that `iptables-legacy` could
use.

Signed-off-by: Colin Walters <walters@verbum.org>
2025-02-28 15:01:26 -05:00

17 lines
639 B
YAML

# The bootc components.
packages:
- systemd
- bootc
# Required by bootc install, sgdisk has been replaced by Rust crate
# in bootc https://github.com/containers/bootc/pull/775
- xfsprogs e2fsprogs dosfstools
exclude-packages:
# bootc pulls in podman, which pulls in containers-common, which wants
# `iptables`. That may pull in iptables-legacy which we don't want;
# we want iptables-nft to win the Provides by default
- iptables-legacy
# Exclude kernel-debug-core to make sure that it doesn't somehow get
# chosen as the package to satisfy the `kernel-core` dependency from
# the kernel package.
- kernel-debug-core