From 708a5826be13b1cec91546801b7f244fe12e52a6 Mon Sep 17 00:00:00 2001 From: Santhosh Date: Wed, 6 Dec 2023 10:01:36 +0530 Subject: [PATCH] update to v2.4.3-rc3 and soft link to grub2-editenv --- Earthfile | 4 +++- overlay/files/usr/lib/os-release.tmpl | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Earthfile b/Earthfile index 94653652..051f6d89 100644 --- a/Earthfile +++ b/Earthfile @@ -13,7 +13,7 @@ ARG CUSTOM_TAG ARG ARCH ARG PE_VERSION=v4.1.2 ARG SPECTRO_LUET_VERSION=v1.2.0 -ARG KAIROS_VERSION=v2.4.2 +ARG KAIROS_VERSION=v2.4.3-rc3 ARG K3S_FLAVOR_TAG=k3s1 ARG RKE2_FLAVOR_TAG=rke2r1 ARG BASE_IMAGE_URL=quay.io/kairos @@ -258,6 +258,8 @@ base-image: ln -sf "initrd-${kernel}" /boot/initrd RUN kernel=$(ls /lib/modules | tail -n1) && \ depmod -a "${kernel}" + RUN ln -s /usr/sbin/grub-install /usr/sbin/grub2-install + RUN ln -s /usr/bin/grub-editenv /usr/bin/grub2-editenv RUN rm -rf /var/cache/* && \ apt clean diff --git a/overlay/files/usr/lib/os-release.tmpl b/overlay/files/usr/lib/os-release.tmpl index 0e74e5f0..ce9f7cde 100644 --- a/overlay/files/usr/lib/os-release.tmpl +++ b/overlay/files/usr/lib/os-release.tmpl @@ -11,3 +11,4 @@ KAIROS_IMAGE_LABEL="${OS_LABEL}" KAIROS_GITHUB_REPO="${GITHUB_REPO}" KAIROS_VARIANT="${VARIANT}" KAIROS_FLAVOR="${FLAVOR}" +KAIROS_ARTIFACT="kairos-$OS_NAME-$FLAVOR_RELEASE-$VARIANT-$TARGETARCH-$MODEL-$KAIROS_VERSION"