Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

efibootguard-boot: add a configuration option for kernel name #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

samdolt
Copy link

@samdolt samdolt commented Jan 19, 2023

Instead of hardcoding "bzImage", the efibootguard-boot plugin is now using a new kernel source parameters to select the kernel file. If the parameter is not set, the default value is now taken from the KERNEL_IMAGETYPE variable.

To change the filename of the kernel inside the boot partition, a destination filename can be added to kernel parameter using the ; character to separe the source filename from the destination

Usage:
part --source efibootguard-boot --sourceparams "kernel=bzImage"
part --source efibootguard-boot --sourceparams "kernel=bzImage;KERNEL"

Instead of hardcoding "bzImage", the efibootguard-boot plugin
is now using a new `kernel` source parameters to select the kernel
file. If the parameter is not set, the default value is now taken
from the KERNEL_IMAGETYPE variable.

To change the filename of the kernel inside the boot partition,
a destination filename can be added to kernel parameter using
the ";" character to separe the source filename from the destination

Usage:
  part --source efibootguard-boot --sourceparams "kernel=bzImage"
  part --source efibootguard-boot --sourceparams "kernel=bzImage;KERNEL"
@samdolt samdolt force-pushed the feat/configurable-kernel-image branch from 51f38fc to 0834d84 Compare January 19, 2023 16:51
@PatrickVog
Copy link

I also would prefer to have this change. Any comments on the status if this will be merged?

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