[Lunar-commits] <moonbase-core> grub2: set loglevel=3 as default

Stefan Wold ratler at lunar-linux.org
Sun Sep 7 13:20:14 CEST 2014


commit c3666d6573b92e40dd1ad41cfade50e1022b4159
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sun, 07 Sep 2014 13:18:28 +0200
URL: https://github.com/lunar-linux/moonbase-core/commit/c3666d6573b92e40dd1ad41cfade50e1022b4159

grub2: set loglevel=3 as default

To override the default use 'lunar set GRUB2_CMDLINE "your options here"'
---
  system/grub2/plugin.d/bootloader-grub2.plugin | +1/-1     
  1 file changed, 1 insertion(+), 1 deletion(-)

--- a/system/grub2/plugin.d/bootloader-grub2.plugin
+++ b/system/grub2/plugin.d/bootloader-grub2.plugin
@@ -18,7 +18,7 @@ plugin_kernel_updatebootloader_grub2()
   fi
   debug_msg "plugin_kernel_updatebootloader_grub2 ($@)"
 
-  grub-mkconfig -o /boot/grub/grub.cfg
+  GRUB_CMDLINE_LINUX="${GRUB2_CMDLINE:-loglevel=3}" grub-mkconfig -o /boot/grub/grub.cfg
 
   # right now we want to have it run all bootloaders?
   return 2




More information about the Lunar-commits mailing list