From df7e436900c54f21f64eca56f88baa496e1f1a73 Mon Sep 17 00:00:00 2001 From: mudler Date: Wed, 31 May 2023 10:58:08 +0200 Subject: [PATCH] Add code reference Signed-off-by: mudler --- tools-image/build-arm-image.sh | 1 + tools-image/prepare_arm_images.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/tools-image/build-arm-image.sh b/tools-image/build-arm-image.sh index 85b2302..e10bc59 100755 --- a/tools-image/build-arm-image.sh +++ b/tools-image/build-arm-image.sh @@ -285,6 +285,7 @@ else fi # We copy the grubmenu.cfg to a temporary location to be copied later in the state partition +# https://github.com/kairos-io/kairos/blob/62c67e3e61d49435c362014522e5c6696335376f/overlay/files/system/oem/08_grub.yaml#L105 # This is a hack and we need a better way: https://github.com/kairos-io/kairos/issues/1427 tmpgrubconfig=$(mktemp /tmp/grubmeny.cfg.XXXXXX) cp -rfv $TARGET/etc/kairos/branding/grubmenu.cfg "${tmpgrubconfig}" diff --git a/tools-image/prepare_arm_images.sh b/tools-image/prepare_arm_images.sh index 91ceb10..1fc0381 100755 --- a/tools-image/prepare_arm_images.sh +++ b/tools-image/prepare_arm_images.sh @@ -69,6 +69,7 @@ else fi # We copy the grubmenu.cfg to a temporary location to be copied later in the state partition +# https://github.com/kairos-io/kairos/blob/62c67e3e61d49435c362014522e5c6696335376f/overlay/files/system/oem/08_grub.yaml#L105 # This is a hack and we need a better way: https://github.com/kairos-io/kairos/issues/1427 tmpgrubconfig=$(mktemp /tmp/grubmeny.cfg.XXXXXX) cp -rfv $TARGET/etc/kairos/branding/grubmenu.cfg "${tmpgrubconfig}"