FS#64448 - [mkinitcpio] Use ALL_kver variable in mkinitcpio-install hook
Attached to Project:
Arch Linux
Opened by UnicornDarkness (Xorg) - Sunday, 10 November 2019, 22:13 GMT
Last edited by Giancarlo Razzolini (grazzolini) - Monday, 11 November 2019, 13:01 GMT
Opened by UnicornDarkness (Xorg) - Sunday, 10 November 2019, 22:13 GMT
Last edited by Giancarlo Razzolini (grazzolini) - Monday, 11 November 2019, 13:01 GMT
|
Details
Description:
In /usr/share/libalpm/scripts/mkinitcpio-install file, the destination kernel is hardcoded: install -Dm644 "${line}" "/boot/vmlinuz-${pkgbase}" Sourcing the ALL_kver variable from preset would allow more customization. For instance, it will allow to install kernel in the EFI System Partition (ESP) without mounting /boot. Additional info: * mkinitcpio 27-2 |
This task depends upon
Closed by Giancarlo Razzolini (grazzolini)
Monday, 11 November 2019, 13:01 GMT
Reason for closing: Deferred
Additional comments about closing: This will likely be implemented in the next mkinitcpio release
Monday, 11 November 2019, 13:01 GMT
Reason for closing: Deferred
Additional comments about closing: This will likely be implemented in the next mkinitcpio release
Comment by
Giancarlo Razzolini (grazzolini) -
Monday, 11 November 2019, 12:11 GMT
Hey Xorg. See the issues here
https://github.com/archlinux/mkinitcpio/issues. I'm planning to make /boot entirely configurable. The way I
plan to implement it, will have it configurable on either
mkinitcpio.conf or on the preset itself, with the preset having
highest precedence. The install hook will follow whatever is set.