From 57f2952058055d0e38375d75deafc3931f2868d4 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Mon, 19 Sep 2022 10:39:21 +0000 Subject: [PATCH] Add grub2-efi --- packages/system/grub2-efi/build.yaml | 11 +++++++++++ packages/system/grub2-efi/definition.yaml | 5 +++++ 2 files changed, 16 insertions(+) create mode 100644 packages/system/grub2-efi/build.yaml create mode 100644 packages/system/grub2-efi/definition.yaml diff --git a/packages/system/grub2-efi/build.yaml b/packages/system/grub2-efi/build.yaml new file mode 100644 index 0000000..d989f6c --- /dev/null +++ b/packages/system/grub2-efi/build.yaml @@ -0,0 +1,11 @@ +{{ if neq .Values.arch "arm" }} +image: registry.opensuse.org/opensuse/leap:15.3 +prelude: +- zypper in -y wget cpio + +steps: +- mkdir -p /data +- wget https://download.opensuse.org/repositories/isv:/Rancher:/Elemental/15.4/noarch/grub2-{{.Values.arch}}-efi-{{.Values.version}}.12.1.noarch.rpm -O /package.rpm +- cd /data && rpm2cpio /package.rpm | cpio -idmv +package_dir: "/data" +{{end}} \ No newline at end of file diff --git a/packages/system/grub2-efi/definition.yaml b/packages/system/grub2-efi/definition.yaml new file mode 100644 index 0000000..07d6158 --- /dev/null +++ b/packages/system/grub2-efi/definition.yaml @@ -0,0 +1,5 @@ +name: "grub2-efi" +category: "system" +version: "2.06-150400" +license: "GPL-3.0-or-later" +arch: "x86_64" \ No newline at end of file