summaryrefslogtreecommitdiff
path: root/sysutils/grub2/files
diff options
context:
space:
mode:
authorgsutre <gsutre@pkgsrc.org>2012-07-29 21:44:13 +0000
committergsutre <gsutre@pkgsrc.org>2012-07-29 21:44:13 +0000
commit8ba27b3d73852570680ded749cb02b305e4dec61 (patch)
tree97855a8491bea7458ab7be7624e9b5d807156cb3 /sysutils/grub2/files
parentec1778266b586afe0c8a3873737a25fe4ae4a97a (diff)
downloadpkgsrc-8ba27b3d73852570680ded749cb02b305e4dec61.tar.gz
Import grub2-2.00 as sysutils/grub2.
This is GRUB 2, the second version of the GRand Unified Bootloader. GRUB 2 is rewritten from scratch to make GNU GRUB cleaner, safer, more robust, more powerful, and more portable.
Diffstat (limited to 'sysutils/grub2/files')
-rw-r--r--sysutils/grub2/files/05_pkgsrc_theme8
-rw-r--r--sysutils/grub2/files/default.conf36
2 files changed, 44 insertions, 0 deletions
diff --git a/sysutils/grub2/files/05_pkgsrc_theme b/sysutils/grub2/files/05_pkgsrc_theme
new file mode 100644
index 00000000000..b9e3145a087
--- /dev/null
+++ b/sysutils/grub2/files/05_pkgsrc_theme
@@ -0,0 +1,8 @@
+#! /bin/sh -e
+
+# Comment these lines or remove this file for default GRUB menu colors, or
+# change them to suit your taste...
+cat << EOF
+set menu_color_normal=light-gray/brown
+set menu_color_highlight=yellow/brown
+EOF
diff --git a/sysutils/grub2/files/default.conf b/sysutils/grub2/files/default.conf
new file mode 100644
index 00000000000..2df1316c281
--- /dev/null
+++ b/sysutils/grub2/files/default.conf
@@ -0,0 +1,36 @@
+# This file is sourced by grub-mkconfig(8). If you make changes to this
+# file, you must (re-)run grub-mkconfig -o <path to grub.cfg> for these
+# changes to take effect.
+#
+
+# Default menu entry (numbering starts from 0)
+#GRUB_DEFAULT=0 # 0 by default
+
+# Timeout (in seconds) before automatic selection of the default entry
+#GRUB_TIMEOUT=5 # 5 by default
+
+# Operating system distributor (e.g. `Debian')
+#GRUB_DISTRIBUTOR= # empty by default
+if [ "$(uname -s)" = "Linux" ] && which lsb_release >/dev/null ; then
+ GRUB_DISTRIBUTOR=$(lsb_release -i -s 2>/dev/null)
+fi
+
+# Uncomment to force non-graphical console terminal (disables locale support)
+#GRUB_TERMINAL=console # empty by default
+
+# Graphics resolution of graphical terminal
+#GRUB_GFXMODE=640x480 # 640x480 by default
+
+# Options appended to the kernel command-line (OS-dependent)
+#GRUB_CMDLINE_LINUX= # empty by default
+#GRUB_CMDLINE_NETBSD= # empty by default
+
+# Extra options for normal (i.e. non recovery) mode menu entries
+GRUB_CMDLINE_LINUX_DEFAULT=quiet # empty by default
+GRUB_CMDLINE_NETBSD_DEFAULT="-z" # empty by default
+
+# Uncomment to disable generation of recovery mode menu entries
+#GRUB_DISABLE_RECOVERY=true # empty by default
+
+# Uncomment to prevent GRUB from probing OSes on other partitions
+#GRUB_DISABLE_OS_PROBER=true # empty by default