Re: [arch-announce] New kernel packages and mkinitcpio hooks

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



Hello Amish,


> I am not sure but I feel that install hook should now have higher
> priority so that kernel is copied back to /boot as early as possible
> instead of after most of the hooks. i.e. say after systemd hooks, may be
> renamed to 40-mkinitcpio-install.hook?

The order is correct. The initramfs should be created after depmod and
the building of dkms modules. I don't see why the kernel should be
copied earlier, anything that modifies boot entries should do it after
the initramfs has been created.

The order of hooks also has no impact on post-install scripts. Just
don't use post-install to change the boot menu. At that time the
initramfs images could still be missing even with the old packages that
have the kernel in /boot. This would mess up the grub configuration as well.


Regards,
Andy



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux