Re: incomplete kernel installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2019-10-21 at 08:14 -0700, Samuel Sieb wrote:
> 
> > > > It does seem odd that the kernel-core package's files whose destination is /boot/
> > > > are located in /lib/modules/<version>/ in the rpm rather than /boot/.
> > > What files are those?  The vmlinuz and initramfs files are in /boot in
> > > the rpm.
> > 
> > Viewed in mc-4.8.23, kernel-core-5.3.7-300.fc31.x86_64.rpm has no /boot/ in
> > CONTENTS.cpio but does have these in /lib/modules/<version>/:
> > .vmlinuz.hmac
> > System.map
> > config
> > vmlinuz
> > 
> > That's where I copy them from (using mc) after the normal (rpm/dnf) installation
> > fails to put them in /boot/ during whatever process(es) produces the initramfs in
> > /boot/.
> 
> Then you've got some other problem with /boot because:
> $ rpm -qlp kernel-core-5.3.7-300.fc31.x86_64.rpm
> /boot/.vmlinuz-5.3.7-300.fc31.x86_64.hmac
> /boot/System.map-5.3.7-300.fc31.x86_64
> /boot/config-5.3.7-300.fc31.x86_64
> /boot/initramfs-5.3.7-300.fc31.x86_64.img
> /boot/vmlinuz-5.3.7-300.fc31.x86_64

Well no, Felix isn't wrong. The package *manifest* lists those files
but the package itself does not actually contain them; they are
ghosted:

/lib/modules/%{KVERREL}%{?3:+%{3}}/%{?-k:%{-k*}}%{!?-k:vmlinuz}\
%ghost /%{image_install_path}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-%{KVERREL}%{?3:+%{3}}\
/lib/modules/%{KVERREL}%{?3:+%{3}}/.vmlinuz.hmac \
%ghost /%{image_install_path}/.vmlinuz-%{KVERREL}%{?3:+%{3}}.hmac \
...
%ghost /boot/initramfs-%{KVERREL}%{?3:+%{3}}.img\

(that's from the spec file, and for Fedora, %image_install_path is "boot").
If you open the RPM up in file-roller or mc you will see it does not
really contain those files.

Something in the Kernel Install Industrial Complex is intended to
ultimately place files in those locations, and that something is not
firing for Felix for some reason, I think. But I don't remember the
details because there's like six different packages involved and I
always forget how it goes.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/test@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux