Bug 2251053 - amd-ucode-firmware subpackage is not pulled as a dependency on x86_64
Summary: amd-ucode-firmware subpackage is not pulled as a dependency on x86_64
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: linux-firmware
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: David Woodhouse
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-22 15:43 UTC by Timothée Ravier
Modified: 2023-12-15 01:32 UTC (History)
8 users (show)

Fixed In Version: linux-firmware-20231211-1.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-15 01:32:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Timothée Ravier 2023-11-22 15:43:57 UTC
As far as I understand, linux-firmware is a noarch package and thus the %ifarch x86_64 condition never matches during the package build and thus the subpackage is not added as a Recommends/Requires to linux-firmware.

See: https://gitlab.com/fedora/ostree/sig/-/issues/11

```
[root@743ed7cdecc9 /]# rpm -qp --recommends linux-firmware-20231111-1.fc40.noarch.rpm | grep amd
amd-gpu-firmware
[root@743ed7cdecc9 /]# rpm -qp --requires linux-firmware-20231111-1.fc40.noarch.rpm | grep amd


[root@cb4abf0eb2b9 /]# rpm -qp --recommends linux-firmware-20231111-1.fc39.noarch.rpm | grep amd
amd-gpu-firmware
[root@cb4abf0eb2b9 /]# rpm -qp --requires linux-firmware-20231111-1.fc39.noarch.rpm  | grep amd

```

Reproducible: Always




Not sure how to fix this. We can manually include it in comps or Atomic images for now.

Comment 3 Peter Robinson 2023-11-22 16:12:07 UTC
Yep, I am aware of the issue, I have basically reverted it locally. It will eventually be dropped as a hard dep so if it's explicitly needed you should be including it explicitly because the hard dep will go away

Comment 4 Timothée Ravier 2023-11-22 17:52:59 UTC
We'll explicitly include it in FCOS: https://github.com/coreos/fedora-coreos-config/pull/2739

We likely need to make a comps PR for all other variants.

Comment 5 Timothée Ravier 2023-11-22 18:04:34 UTC
Made https://pagure.io/fedora-comps/pull-request/910

Comment 6 Fedora Update System 2023-12-13 18:44:29 UTC
FEDORA-2023-dc46227ed3 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-dc46227ed3

Comment 7 Fedora Update System 2023-12-14 01:29:26 UTC
FEDORA-2023-dc46227ed3 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-dc46227ed3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-dc46227ed3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2023-12-15 01:32:42 UTC
FEDORA-2023-dc46227ed3 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.