Implement CUSTOM_BOOTOPTIONS handling via kernelopts.
authorMichael Prokop <mika@grml.org>
Mon, 21 Feb 2011 16:54:13 +0000 (17:54 +0100)
committerMichael Prokop <mika@grml.org>
Mon, 21 Feb 2011 16:56:34 +0000 (17:56 +0100)
42_grml

diff --git a/42_grml b/42_grml
index e30519f..69f4b96 100755 (executable)
--- a/42_grml
+++ b/42_grml
@@ -35,8 +35,10 @@ for grmliso in $list ; do
   cat << EOF
 menuentry "${title}" {
 $(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/        /")
-        iso_path="${rel_dirname}/$grml $CUSTOM_BOOTOPTIONS"
+        iso_path="${rel_dirname}/${grml}"
         export iso_path
+        kernelopts="$CUSTOM_BOOTOPTIONS"
+        export kernelopts
         loopback loop "${rel_dirname}/$grml"
         set root=(loop)
         configfile /boot/grub/loopback.cfg