aurora/build_scripts/base
renner b2d6f3cfb3
refactor: simplify checking for enabled 3rd party repos (#2931)
* refactor: simplify checking for enabled 3rd party repos

We are generally no longer doing the dnf enable/disable dance (except
for the nvidia install script) because we are vendoring the .repo files
which simplifies things a bit.

Also I think that the move to checking what is allowed instead of
checking what is not allowed makes more sense anyway.

resolves: https://github.com/ublue-os/aurora/issues/2854

[1] 1e4d10b9ac/build_files/nvidia/nvidia-install.sh

* get openh264 from negativo

Our base image [1] can't legally include this from fedora-cisco-openh264
repo. Comparing the spec files for Fedora [2] and Negativo [3], they
seem to be built with the same build flags, so they should not have any
differing functionality. The fedora-cisco-openh264 repo is currently
enabled (which is not the case for F44 images) because our repo
validation script broke due to the move to /usr [4].

We are already shipping various other codecs on the system, including
mesa, they get more irrelevant each day but we should have this.

I don't know why exactly but for some reason we now have a stray
/var/log/dnf5.log which makes bootc container lint fail.

[1] 54e811f17a/common.yaml (L144)
[2] cd15228484/f/openh264.spec
[3] dfac89f533/openh264.spec
[4] https://fedoraproject.org/wiki/Changes/RelocateRpmRepoConfigsToUsr
2026-09-27 05:34:43 +00:00
..
01-packages.sh refactor: simplify checking for enabled 3rd party repos (#2931) 2026-09-27 05:34:43 +00:00
02-install-common-kernel-akmods.sh refactor: faster kernel installation with a shim (#2926) 2026-09-27 05:34:12 +00:00
03-fetch.sh refactor: repurpose build.sh as build preparation (#2701) 2026-08-09 19:11:44 +00:00
04-nvidia.sh feat: rename build_files to build_scripts (#2691) 2026-08-09 05:58:24 +00:00
16-override-install.sh chore: remove cjk font symlink (#2909) 2026-09-23 04:21:22 +00:00
17-services.sh refactor: simplify checking for enabled 3rd party repos (#2931) 2026-09-27 05:34:43 +00:00
18-image-info.sh feat: rename build_files to build_scripts (#2691) 2026-08-09 05:58:24 +00:00
19-initramfs.sh feat: rename build_files to build_scripts (#2691) 2026-08-09 05:58:24 +00:00
20-tests.sh refactor: simplify checking for enabled 3rd party repos (#2931) 2026-09-27 05:34:43 +00:00