kernel-install doesn't work for kernel tree-produced rpms #23

Open
opened 2024-09-30 17:48:46 +00:00 by humaton · 0 comments
Member

When installing a kernel RPM produced with make rpm-pkg from the upstream kernel tree, the install succeeds but /boot/vmlinuz-kver is missing, leading to an unbootable system. See https://github.com/systemd/systemd/issues/29568 for details. We believe this applies to all systems using 254, which includes f39 and Rawhide. Reproducible: Always Steps to Reproduce: # build the kernel rpm git clone linux.git make defconfig make rpm-pkg # look at the scripts rpm -q --scripts rpmbuild/RPMS/aarch64/kernel-6.6.0_rc5_00234_g8cb1f10d8c4b_dirty-2.aarch64.rpm # install the kernel sudo dnf install -y rpmbuild/RPMS/aarch64/kernel-6.6.0_rc5_00234_g8cb1f10d8c4b_dirty-2.aarch64.rpm # notice how vmlinuz is missing in /boot $ ls -la /boot Actual Results: /boot/vmlinuz-$kver does not exist after the kernel RPM is installed Expected Results: /boot/vmlinuz-$kver exists after the kernel RPM is installed

When installing a kernel RPM produced with make rpm-pkg from the upstream kernel tree, the install succeeds but /boot/vmlinuz-$kver is missing, leading to an unbootable system. See https://github.com/systemd/systemd/issues/29568 for details. We believe this applies to all systems using 254, which includes f39 and Rawhide. Reproducible: Always Steps to Reproduce: # build the kernel rpm $ git clone linux.git $ make defconfig $ make rpm-pkg # look at the scripts $ rpm -q --scripts rpmbuild/RPMS/aarch64/kernel-6.6.0_rc5_00234_g8cb1f10d8c4b_dirty-2.aarch64.rpm # install the kernel $ sudo dnf install -y rpmbuild/RPMS/aarch64/kernel-6.6.0_rc5_00234_g8cb1f10d8c4b_dirty-2.aarch64.rpm # notice how vmlinuz is missing in /boot $ ls -la /boot Actual Results: /boot/vmlinuz-$kver does not exist after the kernel RPM is installed Expected Results: /boot/vmlinuz-$kver exists after the kernel RPM is installed
humaton added the
release
40
label 2024-11-14 15:24:36 +00:00
humaton added this to the Fedora 40 bugz project 2024-11-14 15:30:09 +00:00
humaton modified the project from Fedora 40 bugz to grub2-efi-ia32 2024-11-14 15:30:14 +00:00
humaton modified the project from grub2-efi-ia32 to Fedora 40 bugz 2024-11-14 15:30:17 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: rpms/grub2#23
No description provided.