[arch-general] [arch-announce] New kernel packages and mkinitcpio hooks

Amish anon.amish at gmail.com
Thu Nov 14 00:37:21 UTC 2019


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.


More information about the arch-general mailing list