mirror of
https://github.com/kairos-io/packages.git
synced 2025-07-31 15:23:34 +00:00
Restore grub artifacts to leap (#553)
This commit is contained in:
parent
0ebafa42b6
commit
023149ff39
@ -1,5 +1,4 @@
|
||||
{{if eq .Values.name "grub2"}}
|
||||
image: "opensuse/leap:15.4"
|
||||
image: "opensuse/leap:15.5"
|
||||
|
||||
prelude:
|
||||
{{if .Values.arch }}
|
||||
@ -13,6 +12,7 @@ prelude:
|
||||
- cat /usr/share/grub2/i386-pc/cdboot.img /usr/share/grub2/i386-pc/core.img > /usr/share/grub2/i386-pc/eltorito.img
|
||||
|
||||
steps:
|
||||
{{if eq .Values.name "grub2"}}
|
||||
- mkdir -p /boot/x86_64/loader
|
||||
{{if .Values.arch }}
|
||||
{{if eq .Values.arch "amd64"}}
|
||||
@ -31,18 +31,6 @@ steps:
|
||||
{{end}}
|
||||
|
||||
{{if eq .Values.name "grub2-efi-image"}}
|
||||
image: "opensuse/tumbleweed"
|
||||
prelude:
|
||||
{{if .Values.arch }}
|
||||
{{if eq .Values.arch "amd64"}}
|
||||
- zypper in -y shim grub2-x86_64-efi
|
||||
{{end}}
|
||||
{{if eq .Values.arch "arm64"}}
|
||||
- zypper in -y shim grub2-arm64-efi
|
||||
{{end}}
|
||||
{{end}}
|
||||
- zypper cc
|
||||
steps:
|
||||
- mkdir -p /EFI/BOOT
|
||||
{{if .Values.arch }}
|
||||
{{if eq .Values.arch "amd64"}}
|
||||
@ -52,6 +40,7 @@ steps:
|
||||
- cp /usr/share/efi/x86_64/MokManager.efi /EFI/BOOT/MokManager.efi
|
||||
{{end}}
|
||||
{{if eq .Values.arch "arm64"}}
|
||||
- ls -ltra /usr/share/grub2/arm64-efi/
|
||||
# For removable drives the name of the efi needs to be bootaa64.efi
|
||||
- cp /usr/share/efi/aarch64/shim.efi /EFI/BOOT/bootaa64.efi
|
||||
- cp /usr/share/efi/aarch64/grub.efi /EFI/BOOT/grub.efi
|
||||
@ -59,4 +48,4 @@ steps:
|
||||
{{end}}
|
||||
{{end}}
|
||||
- cp config/grub_live_efi.cfg /EFI/BOOT/grub.cfg
|
||||
{{end}}
|
||||
{{end}}
|
@ -1,9 +1,9 @@
|
||||
packages:
|
||||
- name: "grub2"
|
||||
category: "livecd"
|
||||
version: "0.0.11"
|
||||
description: "Grub2 booloader for live systems"
|
||||
version: "0.0.12"
|
||||
description: "Grub2 bootloader for live systems"
|
||||
- name: "grub2-efi-image"
|
||||
category: "livecd"
|
||||
version: "0.0.11"
|
||||
description: "Grub2 booloader EFI image for live systems"
|
||||
version: "0.0.12"
|
||||
description: "Grub2 bootloader EFI image for live systems"
|
||||
|
@ -1,4 +1,4 @@
|
||||
image: registry.opensuse.org/opensuse/tumbleweed
|
||||
image: registry.opensuse.org/opensuse/leap:15.5
|
||||
|
||||
prelude:
|
||||
- zypper ref
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: "grub2-efi"
|
||||
category: "system"
|
||||
version: "2.06-150404"
|
||||
version: "2.06-150405"
|
||||
pversion: "2.06-150400.12.2"
|
||||
license: "GPL-3.0-or-later"
|
||||
|
Loading…
Reference in New Issue
Block a user