minimal: drop exclude on iptables-legacy; add test

In Fedora CoreOS we are still including iptables-legacy for now [1]
and since you can't really overwrite an `exclude-packages` entry it
means we can't update our git submodule.

We are working to get away from using a git submodule [2], but I'd
like to get ours updated in the mean time.

[1] https://github.com/coreos/fedora-coreos-tracker/issues/1818
[2] https://github.com/coreos/fedora-coreos-tracker/issues/1861
This commit is contained in:
Dusty Mabe 2025-05-06 16:51:07 -04:00
parent 5d628fd3f4
commit 986b59b5c1
No known key found for this signature in database
GPG key ID: 3302DBD73952E671
2 changed files with 4 additions and 4 deletions

View file

@ -0,0 +1,4 @@
#!/bin/bash
set -xeuo pipefail
output=$(rpm -q iptables-legacy || true)
grep "is not installed" <<< "$output"