Commit graph

12 commits

Author SHA1 Message Date
Anish Bhatt
c100cf0959 Silence permissions warning on bootc-generic-growpart.service 2025-08-03 14:22:56 -07:00
Dusty Mabe
2804ac870f
standard/coreos-user-experience: unconditionalize kexec-tools
kexec-tools has been built for riscv now so we can stop conditionalizing
the inclusion.
2025-06-20 17:22:36 -04:00
Colin Walters
58570a1e60 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>
2025-06-17 12:52:34 -04:00
Jonathan Lebon
2c6d03cfe3
manifests: consistently use set -xeuo pipefail in postprocess scripts
The `set -euo pipefail` shouldn't be controversial.

The `set -x` bit is more debatable because it makes
the output more verbose but I find it helpful right
now as I comb through all sorts of details as part of
https://github.com/coreos/fedora-coreos-tracker/issues/1861.

If we care about less verbose output, I'd prefer we keep `-x` but
switched to having rpm-ostree buffer postprocess output and only dump it
if it fails.
2025-05-26 14:41:11 -04:00
Dusty Mabe
4888be4e19
move systemd-preset enablement code to minimal
Arguably we still want to remove rpm systemd enablements and use the
presets for the original image we create for all of our images.
2025-05-16 15:47:35 -04:00
Colin Walters (Red Hat)
a1ce9c6305 Merge branch 'dusty-riscv-support' into 'main'
Add riscv64 support; rework kdump definition

See merge request fedora/bootc/base-images!166
2025-04-30 20:03:46 +00:00
Martin Pitt
0f11682ed3 standard: Add python3-rpm for Ansible support
Ansible's `package_facts` builtin [1] uses rpm's Python API. This fails by
default with "Could not detect a supported package manager".

In particular this fixes linux-system-roles for running during bootc
container builds.

[1] https://docs.ansible.com/ansible/latest/collections/ansible/builtin/package_facts_module.html
2025-04-28 19:13:59 +02:00
Martin Pitt
eb150e1f72 standard: Add python3-libdnf5 for Ansible support
Ansible's package builtin [1] uses dnf's Python API. This fails by
default with "Could not import the libdnf5 python module". This is
awkward and laborious to work around in Containerfiles, as you can't use
the normal `package:` to install, so it would require
distribution/release specific code, and replicating this to all
playbooks.

In particular this fixes linux-system-roles for running during bootc
container builds.

[1] https://docs.ansible.com/ansible/latest/collections/ansible/builtin/package_module.html
2025-04-28 19:13:51 +02:00
Dusty Mabe
40e33e055a
Add riscv64 support
Add a riscv64 stanza for the bootloader so we can build images for
riscv64 and conditionalize kexec-tools because it's not yet built
for riscv64.
2025-04-23 11:17:14 -04:00
Dusty Mabe
089ae4f7e9
standard/coreos-user-experience: include makedumpfile, kdump-utils
The comment states that we want to support kdump so we need the
makedumpfile and kdump-utils RPM for that. Note here that we specify
paths rather than RPM names because downstream in EL9 those subpackages
were still part of the kexec-tools package and not broken out yet.
2025-04-23 11:15:07 -04:00
Colin Walters
585071ec6e Rename tier-x → minimal-plus
When we renamed tier-0 → minimal and tier-1 → standard, the
naming of tier-x became obsolete. Complete the nomenclature
update.

Closes: https://gitlab.com/fedora/bootc/base-images/-/issues/24
Signed-off-by: Colin Walters <walters@verbum.org>
2025-03-18 10:12:38 -04:00
Colin Walters
11a09f4c76 Rename "tier-1" to "standard"
Followup to the rename of "tier-0" to "minimal". The tiers nomenclature
didn't end up working out.

Signed-off-by: Colin Walters <walters@verbum.org>
2025-02-25 08:27:20 -05:00