mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
T4796: Allow configuration of 'bootloader' param
Remove hard-coded values for "bootloader" when creating the live-build, replaced with the value of `bootloaders`. Set the current value to the default value if not specified, via `defaults.toml`. Add the default for arm64 as `grub-efi`.
This commit is contained in:
parent
2569433ef6
commit
2ade1d9e66
@ -1,2 +1,3 @@
|
||||
# Packages included in ARM64 images by default
|
||||
packages = ["grub-efi-arm"]
|
||||
bootloaders = "grub-efi"
|
||||
@ -13,6 +13,7 @@ vyos_branch = "current"
|
||||
release_train = "current"
|
||||
|
||||
kernel_version = "5.15.78"
|
||||
bootloaders = "syslinux,grub-efi"
|
||||
|
||||
website_url = "https://vyos.io"
|
||||
support_url = "https://support.vyos.io"
|
||||
|
||||
@ -426,7 +426,7 @@ if __name__ == "__main__":
|
||||
--bootappend-live-failsafe "live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal console=ttyS0,115200 console=tty0 net.ifnames=0 biosdevname=0" \
|
||||
--linux-flavours {{kernel_flavor}} \
|
||||
--linux-packages linux-image-{{kernel_version}} \
|
||||
--bootloader syslinux,grub-efi \
|
||||
--bootloader {{ bootloaders }} \
|
||||
--binary-images iso-hybrid \
|
||||
--checksums 'sha256 md5' \
|
||||
--debian-installer none \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user