From:
[email protected]
tags 229649 + patch
thanks
Heres a patch to add this
--
Jason
"I hope you learn speaking English proper I hope speak I me you."
-- Branden Robinson, 2001
diff -Naur grub-0.95+cvs20040624.orig/debian/update-grub grub-0.95+cvs20040624/debian/update-grub
--- grub-0.95+cvs20040624.orig/debian/update-grub 2004-08-18 16:48:13.000000000 +1000
+++ grub-0.95+cvs20040624/debian/update-grub 2004-08-18 17:01:38.000000000 +1000
@@ -256,6 +256,9 @@
# this does not include the alternative kernels
howmany="all"
+# should grub create a memtest86 entry
+ memtest86="true"
+
# stores the command line arguments
command_line_arguments=$1
@@ -590,6 +593,9 @@
# Extract the howmany value
howmany=$(GetMenuOpt "howmany" "$howmany")
+# Extract the memtest86 value
+memtest86=$(GetMenuOpt "memtest86" "$memtest86")
+
# Generate the menu options we want to insert
buffer=$(tempfile)
echo $start >> $buffer
@@ -648,6 +654,13 @@
echo "# howmany=$howmany" >> $buffer
echo >> $buffer
+
+echo "## should update-grub create memtest86 boot option" >> $buffer
+echo "## e.g. memtest86=true" >> $buffer
+echo "## memtest86=false" >> $buffer
+echo "# memtest86=$memtest86" >> $buffer
+echo >> $buffer
+
echo "## ## End Default Options ##" >> $buffer