Move python3-libdnf5 to fedora only
ref https://gitlab.com/redhat/centos-stream/containers/bootc/-/merge_requests/558#note_2492110138 Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
parent
82b8ca7ba9
commit
58570a1e60
3 changed files with 17 additions and 2 deletions
|
|
@ -1,3 +1,7 @@
|
|||
include:
|
||||
- fedora-includes/generic.yaml
|
||||
- standard/manifest.yaml
|
||||
|
||||
packages:
|
||||
# Make Ansible "package" builtin work by default
|
||||
- python3-libdnf5
|
||||
|
|
|
|||
|
|
@ -42,8 +42,6 @@ packages:
|
|||
- zram-generator
|
||||
# This one is in Python so isn't in FCOS, but we can safely add it here.
|
||||
- sos
|
||||
# Make Ansible "package" builtin work by default
|
||||
- python3-libdnf5
|
||||
# Make Ansible "package_facts" builtin work by default
|
||||
- python3-rpm
|
||||
|
||||
|
|
|
|||
13
tests/rootfs/cases/fedora-only
Executable file
13
tests/rootfs/cases/fedora-only
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
set -xeuo pipefail
|
||||
. /usr/lib/os-release
|
||||
case "${ID}" in
|
||||
fedora)
|
||||
# https://gitlab.com/fedora/bootc/base-images/-/merge_requests/172
|
||||
if rpm -q python3 &>/dev/null; then
|
||||
rpm -q python3-libdnf5
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
Loading…
Add table
Add a link
Reference in a new issue