FS#70322 - [linux] Add .install which copy vmlinuz to /boot and blank /boot/vmlinuz-linux
Attached to Project:
Arch Linux
Opened by oech3 (oech3) - Tuesday, 06 April 2021, 19:50 GMT
Last edited by Toolybird (Toolybird) - Monday, 18 September 2023, 22:25 GMT
Opened by oech3 (oech3) - Tuesday, 06 April 2021, 19:50 GMT
Last edited by Toolybird (Toolybird) - Monday, 18 September 2023, 22:25 GMT
|
Details
Description:
mkinitcpio,booster have hook which cp vmlinuz to /boot. But they use complex script to check kernel version. And dracut doesn't have such hook. It would be nice if kernel package have .install file for every initramfs generator. mkinitcpio has hook which rm /boot/vmlinuz-*.But booster,dracut does not. If kernel package have blank /boot/vmlinuz-*,it will removed easily. * package version 5.11.11.arch1-1 |
This task depends upon
Closed by Toolybird (Toolybird)
Monday, 18 September 2023, 22:25 GMT
Reason for closing: No response
Monday, 18 September 2023, 22:25 GMT
Reason for closing: No response
It will if
FS#64557ever gets implemented.> If kernel package have blank /boot/vmlinuz-*
Why is a blank /boot/vmlinuz-* needed?
Anyway, it's doubtful if centralizing this in the kernel pkg is the optimal way to tackle this issue. It would require coordination by the all the kernel PM's and also the PM's of the various initrd generators.
Suggestions like this carry more weight when there is actual proof of concept i.e. code.