Add code reference

Signed-off-by: mudler <mudler@mocaccino.org>
This commit is contained in:
mudler
2023-05-31 10:58:08 +02:00
parent 411b9404ef
commit df7e436900
2 changed files with 2 additions and 0 deletions

View File

@@ -285,6 +285,7 @@ else
fi fi
# We copy the grubmenu.cfg to a temporary location to be copied later in the state partition # 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 # This is a hack and we need a better way: https://github.com/kairos-io/kairos/issues/1427
tmpgrubconfig=$(mktemp /tmp/grubmeny.cfg.XXXXXX) tmpgrubconfig=$(mktemp /tmp/grubmeny.cfg.XXXXXX)
cp -rfv $TARGET/etc/kairos/branding/grubmenu.cfg "${tmpgrubconfig}" cp -rfv $TARGET/etc/kairos/branding/grubmenu.cfg "${tmpgrubconfig}"

View File

@@ -69,6 +69,7 @@ else
fi fi
# We copy the grubmenu.cfg to a temporary location to be copied later in the state partition # 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 # This is a hack and we need a better way: https://github.com/kairos-io/kairos/issues/1427
tmpgrubconfig=$(mktemp /tmp/grubmeny.cfg.XXXXXX) tmpgrubconfig=$(mktemp /tmp/grubmeny.cfg.XXXXXX)
cp -rfv $TARGET/etc/kairos/branding/grubmenu.cfg "${tmpgrubconfig}" cp -rfv $TARGET/etc/kairos/branding/grubmenu.cfg "${tmpgrubconfig}"