1 |
commit: f9ff8559427ede92e748c303b6bb16fea139e076 |
2 |
Author: Tomas Chvatal <scarabeus <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 29 13:55:43 2011 +0000 |
4 |
Commit: Tomas Chvatal <scarabeus <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 29 13:55:43 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/scarabeus.git;a=commit;h=f9ff8559 |
7 |
|
8 |
[sys-boot/grub] Rework the default file for the grub. |
9 |
|
10 |
--- |
11 |
sys-boot/grub/Manifest | 6 +++--- |
12 |
sys-boot/grub/files/defaults | 30 ------------------------------ |
13 |
sys-boot/grub/files/grub.default | 36 ++++++++++++++++++++++++++++++++++++ |
14 |
sys-boot/grub/grub-1.99.ebuild | 2 +- |
15 |
sys-boot/grub/grub-9999.ebuild | 2 +- |
16 |
5 files changed, 41 insertions(+), 35 deletions(-) |
17 |
|
18 |
diff --git a/sys-boot/grub/Manifest b/sys-boot/grub/Manifest |
19 |
index 262c3ba..e99e876 100644 |
20 |
--- a/sys-boot/grub/Manifest |
21 |
+++ b/sys-boot/grub/Manifest |
22 |
@@ -1,5 +1,5 @@ |
23 |
-AUX defaults 1020 RMD160 48ce6914d693bef9db7f41afecb92c18715ffb7f SHA1 af556abd7deb0d0939f4766df265aa6882707cbe SHA256 302a0cfa6e1f6acf52f5d558cd03f3631313a4b95de038f10f740439ea0a921f |
24 |
+AUX grub.default 1127 RMD160 a884e842cb203687cac4cac6551b0feed58d3b7a SHA1 5878147845b5d4b4aac34ce046ead60b93c3170c SHA256 32664f2e0bdd05cf9579f8e098aa0add76ef7bf7b37eb103c6d0f625204f44d3 |
25 |
DIST grub-1.99.tar.xz 2639224 RMD160 d59a47fa40b2be0d5ea5b2b00ff5538cfa147747 SHA1 a5ae9558f30ce7757a76aa130088b053a87e2fb6 SHA256 f308148d4c83c6f16a73b58a0cd39381656edb740929028cae7ad5f0d651021b |
26 |
-EBUILD grub-1.99.ebuild 4011 RMD160 bf1b976b71d7165cb7092ee2a0c469cf8d72bb65 SHA1 daaaf4fa3b6f89651ee73ae4a830253e6956da80 SHA256 dfa4715c7ebcb41238a19fb0e7c9ecabb95e3baf4ea4d55ecd5caf221e98f3b3 |
27 |
-EBUILD grub-9999.ebuild 4011 RMD160 bf1b976b71d7165cb7092ee2a0c469cf8d72bb65 SHA1 daaaf4fa3b6f89651ee73ae4a830253e6956da80 SHA256 dfa4715c7ebcb41238a19fb0e7c9ecabb95e3baf4ea4d55ecd5caf221e98f3b3 |
28 |
+EBUILD grub-1.99.ebuild 4015 RMD160 35212619b0ec881a665bcd481062e7e640071cfe SHA1 bdff1287700e0da8a16f7d079dd04ed9c75e96e5 SHA256 8a312c21f31e6dda4c80fd52b3178b28a9284c186015f430483779637088d922 |
29 |
+EBUILD grub-9999.ebuild 4015 RMD160 35212619b0ec881a665bcd481062e7e640071cfe SHA1 bdff1287700e0da8a16f7d079dd04ed9c75e96e5 SHA256 8a312c21f31e6dda4c80fd52b3178b28a9284c186015f430483779637088d922 |
30 |
MISC metadata.xml 264 RMD160 3cb995676f964b9637fbfc0027a81b9409802608 SHA1 c4d35e3a71c545cdf1aae525de803126bf54f596 SHA256 9bd1ce830cf1b821978ab90c81b2e369177a8d7c1bfe2dd2868419872c097f64 |
31 |
|
32 |
diff --git a/sys-boot/grub/files/defaults b/sys-boot/grub/files/defaults |
33 |
deleted file mode 100644 |
34 |
index 25e5909..0000000 |
35 |
--- a/sys-boot/grub/files/defaults |
36 |
+++ /dev/null |
37 |
@@ -1,30 +0,0 @@ |
38 |
-# /etc/defaults/grub |
39 |
-# If you change this file, run 'grub-mkconfig -o /boot/grub/grub.cfg' |
40 |
-# afterwords to update /boot/grub/grub.cfg. Make sure your /boot is |
41 |
-# mounted rw before executing this command. |
42 |
-# |
43 |
-# See the grub info page for documentation on possible variables and |
44 |
-# their associated values. This wiki also has random bits of info: |
45 |
-# http://en.gentoo-wiki.com/wiki/Grub2#Using_variables |
46 |
- |
47 |
-GRUB_DEFAULT=0 |
48 |
-GRUB_HIDDEN_TIMEOUT=0 |
49 |
-GRUB_HIDDEN_TIMEOUT_QUIET=true |
50 |
-GRUB_TIMEOUT=10 |
51 |
- |
52 |
-GRUB_CMDLINE_LINUX_DEFAULT="" |
53 |
-GRUB_CMDLINE_LINUX="" |
54 |
- |
55 |
-# Uncomment to disable graphical terminal (grub-pc only) |
56 |
-#GRUB_TERMINAL=console |
57 |
- |
58 |
-# The resolution used on graphical terminal |
59 |
-# note that you can use only modes which your graphic card supports via VBE |
60 |
-# you can see them in real GRUB with the command `vbeinfo' |
61 |
-#GRUB_GFXMODE=640x480 |
62 |
- |
63 |
-# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux |
64 |
-#GRUB_DISABLE_LINUX_UUID=true |
65 |
- |
66 |
-# Uncomment to disable generation of recovery mode menu entrys |
67 |
-#GRUB_DISABLE_RECOVERY=true |
68 |
|
69 |
diff --git a/sys-boot/grub/files/grub.default b/sys-boot/grub/files/grub.default |
70 |
new file mode 100644 |
71 |
index 0000000..78f96ac |
72 |
--- /dev/null |
73 |
+++ b/sys-boot/grub/files/grub.default |
74 |
@@ -0,0 +1,36 @@ |
75 |
+# Copyright 1999-2011 Gentoo Foundation |
76 |
+# Distributed under the terms of the GNU General Public License v2 |
77 |
+# $Header: $ |
78 |
+# |
79 |
+# To populate all changes in this file you need to regenerate your |
80 |
+# grub configuration file afterwards: |
81 |
+# 'grub-mkconfig -o /boot/grub/grub.cfg' |
82 |
+# |
83 |
+# See the grub info page for documentation on possible variables and |
84 |
+# their associated values. |
85 |
+ |
86 |
+GRUB_DEFAULT=0 |
87 |
+GRUB_HIDDEN_TIMEOUT=0 |
88 |
+GRUB_HIDDEN_TIMEOUT_QUIET=true |
89 |
+GRUB_TIMEOUT=10 |
90 |
+ |
91 |
+GRUB_CMDLINE_LINUX_DEFAULT="" |
92 |
+GRUB_CMDLINE_LINUX="" |
93 |
+ |
94 |
+# Uncomment to disable graphical terminal (grub-pc only) |
95 |
+#GRUB_TERMINAL=console |
96 |
+ |
97 |
+# The resolution used on graphical terminal. |
98 |
+# Note that you can use only modes which your graphic card supports via VBE. |
99 |
+# You can see them in real GRUB with the command `vbeinfo'. |
100 |
+#GRUB_GFXMODE=640x480 |
101 |
+ |
102 |
+# Background image used on graphical terminal. |
103 |
+# Can be in various bitmap formats. |
104 |
+#GRUB_BACKGROUND="/boot/grub/mybackground.png" |
105 |
+ |
106 |
+# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux |
107 |
+#GRUB_DISABLE_LINUX_UUID=true |
108 |
+ |
109 |
+# Uncomment to disable generation of recovery mode menu entrys |
110 |
+#GRUB_DISABLE_RECOVERY=true |
111 |
|
112 |
diff --git a/sys-boot/grub/grub-1.99.ebuild b/sys-boot/grub/grub-1.99.ebuild |
113 |
index 6aecfdf..a00a605 100644 |
114 |
--- a/sys-boot/grub/grub-1.99.ebuild |
115 |
+++ b/sys-boot/grub/grub-1.99.ebuild |
116 |
@@ -94,7 +94,7 @@ src_install() { |
117 |
default |
118 |
|
119 |
insinto /etc/default |
120 |
- newins "${FILESDIR}"/defaults grub |
121 |
+ newins "${FILESDIR}"/grub.default grub |
122 |
cat <<-EOF >> "${D}"/lib*/grub/grub-mkconfig_lib |
123 |
GRUB_DISTRIBUTOR="Gentoo" |
124 |
EOF |
125 |
|
126 |
diff --git a/sys-boot/grub/grub-9999.ebuild b/sys-boot/grub/grub-9999.ebuild |
127 |
index 6aecfdf..a00a605 100644 |
128 |
--- a/sys-boot/grub/grub-9999.ebuild |
129 |
+++ b/sys-boot/grub/grub-9999.ebuild |
130 |
@@ -94,7 +94,7 @@ src_install() { |
131 |
default |
132 |
|
133 |
insinto /etc/default |
134 |
- newins "${FILESDIR}"/defaults grub |
135 |
+ newins "${FILESDIR}"/grub.default grub |
136 |
cat <<-EOF >> "${D}"/lib*/grub/grub-mkconfig_lib |
137 |
GRUB_DISTRIBUTOR="Gentoo" |
138 |
EOF |