mirror of
https://github.com/kairos-io/packages.git
synced 2025-08-01 15:51:44 +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.5"
|
||||||
image: "opensuse/leap:15.4"
|
|
||||||
|
|
||||||
prelude:
|
prelude:
|
||||||
{{if .Values.arch }}
|
{{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
|
- cat /usr/share/grub2/i386-pc/cdboot.img /usr/share/grub2/i386-pc/core.img > /usr/share/grub2/i386-pc/eltorito.img
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
{{if eq .Values.name "grub2"}}
|
||||||
- mkdir -p /boot/x86_64/loader
|
- mkdir -p /boot/x86_64/loader
|
||||||
{{if .Values.arch }}
|
{{if .Values.arch }}
|
||||||
{{if eq .Values.arch "amd64"}}
|
{{if eq .Values.arch "amd64"}}
|
||||||
@ -31,18 +31,6 @@ steps:
|
|||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
{{if eq .Values.name "grub2-efi-image"}}
|
{{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
|
- mkdir -p /EFI/BOOT
|
||||||
{{if .Values.arch }}
|
{{if .Values.arch }}
|
||||||
{{if eq .Values.arch "amd64"}}
|
{{if eq .Values.arch "amd64"}}
|
||||||
@ -52,6 +40,7 @@ steps:
|
|||||||
- cp /usr/share/efi/x86_64/MokManager.efi /EFI/BOOT/MokManager.efi
|
- cp /usr/share/efi/x86_64/MokManager.efi /EFI/BOOT/MokManager.efi
|
||||||
{{end}}
|
{{end}}
|
||||||
{{if eq .Values.arch "arm64"}}
|
{{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
|
# 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/shim.efi /EFI/BOOT/bootaa64.efi
|
||||||
- cp /usr/share/efi/aarch64/grub.efi /EFI/BOOT/grub.efi
|
- cp /usr/share/efi/aarch64/grub.efi /EFI/BOOT/grub.efi
|
||||||
@ -59,4 +48,4 @@ steps:
|
|||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
- cp config/grub_live_efi.cfg /EFI/BOOT/grub.cfg
|
- cp config/grub_live_efi.cfg /EFI/BOOT/grub.cfg
|
||||||
{{end}}
|
{{end}}
|
@ -1,9 +1,9 @@
|
|||||||
packages:
|
packages:
|
||||||
- name: "grub2"
|
- name: "grub2"
|
||||||
category: "livecd"
|
category: "livecd"
|
||||||
version: "0.0.11"
|
version: "0.0.12"
|
||||||
description: "Grub2 booloader for live systems"
|
description: "Grub2 bootloader for live systems"
|
||||||
- name: "grub2-efi-image"
|
- name: "grub2-efi-image"
|
||||||
category: "livecd"
|
category: "livecd"
|
||||||
version: "0.0.11"
|
version: "0.0.12"
|
||||||
description: "Grub2 booloader EFI image for live systems"
|
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:
|
prelude:
|
||||||
- zypper ref
|
- zypper ref
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: "grub2-efi"
|
name: "grub2-efi"
|
||||||
category: "system"
|
category: "system"
|
||||||
version: "2.06-150404"
|
version: "2.06-150405"
|
||||||
pversion: "2.06-150400.12.2"
|
pversion: "2.06-150400.12.2"
|
||||||
license: "GPL-3.0-or-later"
|
license: "GPL-3.0-or-later"
|
||||||
|
Loading…
Reference in New Issue
Block a user