X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F45-grub-images;h=16c0e9a195d4e44cd8abb56b8c5cb8160f8f91a7;hp=84bc178fcb8bf7b3ba12eabfbdb07c125cdc46f6;hb=642e1b389347bcb8d6e44b483c327e45225427f4;hpb=c036873db03fe4f4d9943895e4fcff000224478f diff --git a/etc/grml/fai/config/scripts/GRMLBASE/45-grub-images b/etc/grml/fai/config/scripts/GRMLBASE/45-grub-images index 84bc178..16c0e9a 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/45-grub-images +++ b/etc/grml/fai/config/scripts/GRMLBASE/45-grub-images @@ -11,12 +11,17 @@ set -u TMP_CONFIG="/tmp/grub_config_efi" +# this allows us to find this specific Grml ISO, +# even if there are multiple Grml ISOs present +bootfile="${GRML_NAME}_$(TZ=UTC date +%s)" +echo "$bootfile" > "${target}/"boot/grub/bootfile.txt + cat > "${target}/${TMP_CONFIG}" <