oracle-linux icon indicating copy to clipboard operation
oracle-linux copied to clipboard

OL8 linux-firmware update introduces new dependency not available in baseos

Open jeepingben opened this issue 2 years ago • 4 comments

The newest OL8 linux-firmware package has gained a dependency on /usr/bin/python3 (from the two new included python scripts as far as we can tell, /usr/lib/firmware/build_packages.py and /usr/lib/firmware/contrib/process_linux_firmware.py) which is a problem because the packages that provide the python3 binary are not in the BaseOS repo but are, instead, in the Appstream repository.

Steps to reproduce: From OL8: dnf --disablerepo=* --enablerepo=ol8_baseos_latest repoclosure --nobest --arch x86_64 --arch noarch --check ol8_baseos_latest

The new scripts appear to only be used by maintainers and can likely be removed during %install so they are not delivered in the rpm.

jeepingben avatar Dec 05 '23 20:12 jeepingben

With an update from the upstream linux-firmware repo, we didn't realize that some Python scripts were added to the distribution.

Our fix is going to be switching these to use platform-python which is the EL8 "system Python 3" component which is in BaseOS. That will happen at next resync from upstream linux-firmware, which may be in several months. (EL9 reverted back to having a python3 package in BaseOS so it's not a problem there.)

tvierling avatar Dec 05 '23 22:12 tvierling

Any workaround for this? Seeing it when trying to build a OL8 packer template.

ekarlso avatar Jan 20 '24 23:01 ekarlso

any fix?

warrenridley avatar Feb 11 '24 11:02 warrenridley

As noted above:

That will happen at next resync from upstream linux-firmware, which may be in several months.

The fix will be released during the next linux-firmware QA cycle (it's a big package, so there is a lot to test). We cannot provide ETAs.

tvierling avatar Feb 12 '24 18:02 tvierling