X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F45-grub-images;h=76c0e1054c59336df921c99a0707326fefbc851a;hb=HEAD;hp=84bc178fcb8bf7b3ba12eabfbdb07c125cdc46f6;hpb=332ae52de9efa6a0ac5c3619823fe547e35828a0;p=grml-live.git diff --git a/etc/grml/fai/config/scripts/GRMLBASE/45-grub-images b/etc/grml/fai/config/scripts/GRMLBASE/45-grub-images index 84bc178..76c0e10 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/45-grub-images +++ b/etc/grml/fai/config/scripts/GRMLBASE/45-grub-images @@ -11,18 +11,36 @@ 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}" <