3 # Purpose: grub-mkconfig helper script for Grml rescue systems
4 # Authors: grml-team (grml.org), (c) Andreas Gredler <jimmy@grml.org>, Michael Prokop <mika@grml.org>
5 # Bug-Reports: see http://grml.org/bugs/
6 # License: This file is licensed under the GPL v2.
7 ################################################################################
11 bindir=${exec_prefix}/bin
12 libdir=${exec_prefix}/lib
13 . ${libdir}/grub/grub-mkconfig_lib
15 list=$(for i in /boot/grml/*.iso ; do
16 if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
19 for grmliso in $list ; do
20 rel_dirname="$(make_system_path_relative_to_its_root $(dirname $grmliso))"
21 grml="$(basename $grmliso)"
23 echo "Found Grml ISO image: $grmliso" >&2
24 title="Grml Rescue System ($grml)"
27 menuentry "${title}" {
28 iso_path=${rel_dirname}/$grml
30 loopback loop \$iso_path
32 configfile /boot/grub/loopback.cfg
37 ## END OF FILE #################################################################