#!/bin/bash # Filename: ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/45-grub-images # Purpose: create grub images for use in ISO # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2 or any later version. ################################################################################ set -e 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}" <