FS#58659 - [mkinitcpio] makes initramfs without libs
Attached to Project:
Arch Linux
Opened by Arne Wörner (riddicc) - Saturday, 19 May 2018, 06:42 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 19 May 2018, 13:35 GMT
Opened by Arne Wörner (riddicc) - Saturday, 19 May 2018, 06:42 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 19 May 2018, 13:35 GMT
|
Details
Description:
When I tried to update to kernel 4.16.8 yesterday, mkinitcpio made me an initramfs without libs, so that after grub i saw an error message like "could not find /init". Downgrading the kernel to 4.16.7 did not help. I had to find a copy of that initramfs file in my backup. Now it works again, but i cannod update my kernel... Additional info: * mkinitcpio 24-2 on Manjaro Linux * it is the same config since months... MODULES=(amdgpu bcache) BINARIES=() FILES=() HOOKS=(base keyboard keymap udev autodetect modconf block net myswap uresume bcache btrfs filesystems) COMPRESSION="xz" * # mkdir /tmp/b ; cd /tmp/b ; unxz < /boot/initramfs-4.16-x86_64.img | cpio -i ; ls usr/lib 73860 blocks firmware modprobe.d modules systemd udev Steps to reproduce: 1. do a pacman -Syu 2. wait for mkinitcpio and grub 3. reboot |
This task depends upon
so i thought it might b a bug in mkinitcpio...?
there were no error messages coming from mkinitcpio...
i tried to undo yesterday's updates, but the initramfs still looked bad (just half of the usual size and no libs) after a mkinitcpio -p linux416...
i attached the output of mkinitcpio -p linux416 -d
it produced 6694920 bytes instead of the usual 11905384 bytes...
how does mkinitcpio decide which libs the ramfs needs?
somehow my /usr/lib64 symlink to /usr/lib disappeared...
now it works again...
-arne