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

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



On 13/11/19 11:22 pm, Giancarlo Razzolini wrote:
Em novembro 13, 2019 14:30 Amish via arch-general escreveu:

I would like to report an issue I faced due to this. Not an issue for everyone but can be an issue in a certain special cases.


Even so, I would prefer if you made this bug report on bugs.archlinux.org.

I did not create a bug report because I was not sure if this falls under bug or not. Because this is a design change and my issue is possibly the anticipated side effect.



I know my issue is not common and I will also change my script to post transaction hook.

But this is to warn anyone who has a custom package with post install script which looks for / expects kernel files in /boot. (like grub-mkconfig). Those scripts are going to break with the recent changes to kernel package and it would be advisable to put them in post transaction hook and that too after mkinitcpio-install scripts run.


I've purposefully made the mkinitcpio hook to have the same precedence number as the old hook had: 90-mkinitcpio-install.hook. Specifically so people relying
on things ran after the kernel was installed could do so.

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?

Thanks a lot for all your replies

Regards

Amish.



[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