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
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Anatol Pomozov (anatolik)
Giancarlo Razzolini (grazzolini)
Morten Linderud (Foxboron)
Architecture x86_64
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
Comment by Toolybird (Toolybird) - Saturday, 10 June 2023, 23:52 GMT
> And dracut doesn't have such hook

It will if  FS#64557  ever 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.
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...