On the ppc64le platform, installing grub2-common results in an empty directory at /usr/lib/efi/grub2/1:2.12-47.fc44/EFI/fedora/. Since ppc64le boots using BIOS rather than UEFI, this platform should not have anything under /usr/lib/efi, and the creation of this path is unexpected. grub2-common-2.12-47.fc44.noarch Reproducible: Always Steps to Reproduce: $ podman run --rm -it quay.io/fedora/fedora:rawhide bash [root@94b245f9a4eb /]# dnf install -y grub2-tools [root@94b245f9a4eb /]# ls /usr/lib/efi/grub2/1\:2.12-47.fc44/EFI/fedora/ [root@94b245f9a4eb /]# rpm -qf /usr/lib/efi/grub2/1\:2.12-47.fc44/EFI/fedora/ grub2-common-2.12-47.fc44.noarch Actual Results: Get empty directory at /usr/lib/efi/grub2/1:2.12-47.fc44/EFI/fedora/ Expected Results: Should not have directory under /usr/lib/efi/ on ppc64le
Looks this is related to https://src.fedoraproject.org/rpms/grub2/pull-request/170
I proposed https://src.fedoraproject.org/rpms/grub2/pull-request/199 My scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=139881410 # in ppc64le $ rpm -qlp https://kojipkgs.fedoraproject.org//work/tasks/432/139881432/grub2-common-2.12-48.fc44.noarch.rpm | grep -e "/usr/lib/efi" returns nothing now. # in aarch64 $ rpm -qlp https://kojipkgs.fedoraproject.org//work/tasks/1431/139881431/grub2-common-2.12-48.fc44.noarch.rpm | grep -e "/usr/lib/efi" $ rpm -qlp https://kojipkgs.fedoraproject.org//work/tasks/1431/139881431/grub2-efi-aa64-2.12-48.fc44.aarch64.rpm | grep -e "/usr/lib/efi" /usr/lib/efi/grub2/1:2.12-48.fc44/EFI/fedora/grub.cfg /usr/lib/efi/grub2/1:2.12-48.fc44/EFI/fedora/grubaa64.efi # in x86_64 $ rpm -qlp https://kojipkgs.fedoraproject.org//work/tasks/1430/139881430/grub2-common-2.12-48.fc44.noarch.rpm | grep -e "/usr/lib/efi" $ rpm -qlp https://kojipkgs.fedoraproject.org//work/tasks/1430/139881430/grub2-efi-x64-2.12-48.fc44.x86_64.rpm | grep -e "/usr/lib/efi" /usr/lib/efi/grub2/1:2.12-48.fc44/EFI/fedora/grub.cfg /usr/lib/efi/grub2/1:2.12-48.fc44/EFI/fedora/grubx64.efi
(In reply to HuijingHei from comment #1) > Looks this is related to > https://src.fedoraproject.org/rpms/grub2/pull-request/170 indeed, we introduce that change on #170 impacting all archs.
(In reply to Joel Capitao from comment #2) > I proposed https://src.fedoraproject.org/rpms/grub2/pull-request/199 > My scratch build: > https://koji.fedoraproject.org/koji/taskinfo?taskID=139881410 > > # in ppc64le > $ rpm -qlp > https://kojipkgs.fedoraproject.org//work/tasks/432/139881432/grub2-common-2. > 12-48.fc44.noarch.rpm | grep -e "/usr/lib/efi" returns nothing now. > > # in aarch64 > $ rpm -qlp > https://kojipkgs.fedoraproject.org//work/tasks/1431/139881431/grub2-common-2. > 12-48.fc44.noarch.rpm | grep -e "/usr/lib/efi" > $ rpm -qlp > https://kojipkgs.fedoraproject.org//work/tasks/1431/139881431/grub2-efi-aa64- > 2.12-48.fc44.aarch64.rpm | grep -e "/usr/lib/efi" > /usr/lib/efi/grub2/1:2.12-48.fc44/EFI/fedora/grub.cfg > /usr/lib/efi/grub2/1:2.12-48.fc44/EFI/fedora/grubaa64.efi > > > # in x86_64 > $ rpm -qlp > https://kojipkgs.fedoraproject.org//work/tasks/1430/139881430/grub2-common-2. > 12-48.fc44.noarch.rpm | grep -e "/usr/lib/efi" > $ rpm -qlp > https://kojipkgs.fedoraproject.org//work/tasks/1430/139881430/grub2-efi-x64- > 2.12-48.fc44.x86_64.rpm | grep -e "/usr/lib/efi" > /usr/lib/efi/grub2/1:2.12-48.fc44/EFI/fedora/grub.cfg > /usr/lib/efi/grub2/1:2.12-48.fc44/EFI/fedora/grubx64.efi great testing! BTW, have you done a `rpm -qVa` on any arch system with your scratch installed? I just want to make sure this does not break anything regarding rpm validation.
> BTW, have you done a `rpm -qVa` on any arch system with your scratch installed? No I didn't checked yesterday but here we go with the latest scratch build (rebase) https://koji.fedoraproject.org/koji/taskinfo?taskID=139909279 ## For ppc64le podman run --rm -it quay.io/fedora/fedora:rawhide dnf install -y koji createrepo_c mkdir /myrepo cd /myrepo koji download-task 139909305 createrepo /myrepo cat <<EOF > /etc/yum.repos.d/local.repo [local] name=local baseurl=file:///myrepo enabled=1 gpgcheck=0 EOF # dnf install -y grub2-ppc64le grub2-tools grub2-ppc64le-modules grub2-tools-extra # rpm -qa | grep grub2 grub2-common-2.12-50.fc44.noarch grub2-ppc64le-modules-2.12-50.fc44.noarch grub2-tools-minimal-2.12-50.fc44.ppc64le grub2-tools-2.12-50.fc44.ppc64le grub2-ppc64le-2.12-50.fc44.ppc64le grub2-tools-extra-2.12-50.fc44.ppc64le # rpm -qVa .....UG.. g /proc .....UG.. g /sys S.5....T. c /etc/dnf/dnf.conf ........P /usr/bin/newgidmap ........P /usr/bin/newuidmap .M....... c /etc/machine-id => nothing related to the change # ls -l /usr/lib/ | grep efi ; echo $? 1 ## For aarch64 [...] koji download-task 139909304 [...] dnf install -y grub2-efi-aa64 grub2-tools grub2-efi-aa64-modules grub2-tools-extra grub2-emu grub2-emu-modules grub2-tools-minimal # rpm -qa | grep grub2 grub2-common-2.12-50.fc44.noarch grub2-tools-minimal-2.12-50.fc44.aarch64 grub2-tools-2.12-50.fc44.aarch64 grub2-efi-aa64-2.12-50.fc44.aarch64 grub2-tools-extra-2.12-50.fc44.aarch64 grub2-emu-modules-2.12-50.fc44.aarch64 grub2-emu-2.12-50.fc44.aarch64 grub2-efi-aa64-modules-2.12-50.fc44.noarch grub2-efi-aa64-cdboot-2.12-50.fc44.aarch64 # rpm -qVa .....UG.. g /proc .....UG.. g /sys S.5....T. c /etc/dnf/dnf.conf ........P /usr/bin/newgidmap ........P /usr/bin/newuidmap .M....... c /etc/machine-id => nothing related to the change # ls -l /usr/lib/efi/grub2/1\:2.12-50.fc44/EFI/ total 0 drwx------. 2 root root 45 Dec 11 08:02 fedora => 700 is conserved ## For x86_64 [...] koji download-task 139909303 [...] dnf install -y grub2-efi-x64 grub2-tools grub2-efi-x64-modules grub2-efi-x64-cdboot grub2-tools-extra grub2-emu grub2-emu-modules grub2-pc grub2-pc-modules grub2-tools-minimal # rpm -qa | grep grub2 grub2-common-2.12-50.fc44.noarch grub2-pc-modules-2.12-50.fc44.noarch grub2-tools-minimal-2.12-50.fc44.x86_64 grub2-tools-2.12-50.fc44.x86_64 grub2-efi-x64-2.12-50.fc44.x86_64 grub2-pc-2.12-50.fc44.x86_64 grub2-tools-extra-2.12-50.fc44.x86_64 grub2-emu-modules-2.12-50.fc44.x86_64 grub2-emu-2.12-50.fc44.x86_64 grub2-efi-x64-modules-2.12-50.fc44.noarch grub2-efi-x64-cdboot-2.12-50.fc44.x86_64 # rpm -qVa .M....... / .....UG.. g /proc .....UG.. g /sys S.5....T. c /etc/dnf/dnf.conf ........P /usr/bin/newgidmap ........P /usr/bin/newuidmap .M....... c /etc/machine-id => nothing related to the change # ls -l /usr/lib/efi/grub2/1\:2.12-50.fc44/EFI/ total 0 drwx------. 1 root root 42 Dec 11 08:05 fedora => 700 is conserved
FEDORA-2026-384dcb944e (grub2-2.12-52.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-384dcb944e
FEDORA-2026-384dcb944e (grub2-2.12-52.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report.