There is no way to customize the installation of the bootloader
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
Triaged
|
Medium
|
Unassigned |
Bug Description
There is currently no way to customize the installation of the bootloader.
The installation, configuration, rebuild of configuration and hacks to the configuration are all done in elements/
This means there is no room for a user to customize the bootloader configuration.
Some use cases:
1) I wish to disable the os-prober with "GRUB_DISABLE_
While I could configure "GRUB_DISABLE_
I could also do it in an element after 51-bootloader but I:
- would lose all "hacks" done by 51-bootloader such as replacing "root=UUID=" for "root=LABEL=".
- would have to reimplement all the detection logic around the grub-update binary (GRUB_MKCONFIG).
2) I wish to change the console from tty0 to tty1
This part is just harcoded. Any solution would have the same downsides as use case #1.
Changed in diskimage-builder: | |
status: | New → Triaged |
importance: | Undecided → Medium |
this is the only command I want it to run...
grub2-install "${BLOCK_DEV}" --root-directory "${MOUNT_DIR}"