Skip to content

Conversation

@Foxboron
Copy link
Member

@Foxboron Foxboron commented Apr 9, 2021

Sometimes it might be handy to add arguments to the preset options. For
instance if you are testing a new mkinitcpio feature with a preexisting
preset.

This patch allows us to use any arguments passed after "--" as an
extension to the preset options array.

mkinitcpio -p linux -- --uefi /efi/EFI/Linux/systemd-linux.efi --microcode /boot/intel-ucode.img

Would use "linux.preset" and append the --uefi and --microcode flags to
the preset option arrays.

Signed-off-by: Morten Linderud morten@linderud.pw

@Foxboron Foxboron mentioned this pull request Apr 25, 2021
3 tasks
Sometimes it might be handy to add arguments to the preset options. For
instance if you are testing a new mkinitcpio feature with a preexisting
preset.

This patch allows us to use any arguments passed after "--" as an
extension to the preset options array.

    mkinitcpio -p linux -- --uefi /efi/EFI/Linux/systemd-linux.efi --microcode /boot/intel-ucode.img

Would use "linux.preset" and append the --uefi and --microcode flags to
the preset option arrays.

Signed-off-by: Morten Linderud <morten@linderud.pw>
@Foxboron Foxboron force-pushed the morten/add-cmd-override branch from 2f49b61 to 26d3b9a Compare July 22, 2021 21:47
@grazzolini grazzolini merged commit 2ff0a4c into archlinux:master Nov 28, 2021
@Foxboron Foxboron deleted the morten/add-cmd-override branch March 18, 2023 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants