For documentation purposes, I attach the patched file
# stat /usr/lib/kernel/install.d/90-uki-copy.install
File: /usr/lib/kernel/install.d/90-uki-copy.install
Dim.: 3142 Blocchi: 8 Blocco di IO: 4096 file
regolare
Device: 253,1 Inode: 35127375 Links: 1
Accesso:
the patch worked, thank you
https://germano.fedorapeople.org/bugreport/kernel_leftovers/kernel_leftovers_fixed.txt
--
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora
I created a Copr repository with the patch
https://copr.fedorainfracloud.org/coprs/germano/systemd_fix_uki-copy_deinstall_patch/
but I am experiencing some problems with the installation of the new
file (see errors below).
I increased the release version with command
rpmdev-bumpspec -D
I was not able to remove such kernel entries from /boot/efi/EFI/Linux/
by using the command.
Output here
https://germano.fedorapeople.org/bugreport/kernel_leftovers/kernel_leftovers.txt
I also tried to enter the full name of the files, but I had no success :-(
--
Hello Gerd, by following your instruction, I searched in my build folder
one of the kernels that have not been successfully erased, and then I
retrieved the scripts of the kernel-core package, (uploaded at
https://paste.centos.org/view/ac440ce5 )
Should I proceed with just the command
Thank you for your support.
Perhaps I am missing something in the kernel-install commands
root@machine:/home/user# rpm -q --scripts kernel-uki-virt
package kernel-uki-virt not installed
root@machine:/home/user# kernel-install -v add
Loading /usr/lib/kernel/install.conf…
Loaded
Hello, during a dnf update I noticed that /boot/efi was full and the
system was not able to update.
So I found out in /boot/efi/EFI/Linux/ there are many files belonging to
kernel RPMs no longer installed on the system.
I am wondering why there are these leftovers. Some of the kernel with