1 |
|
2012-02-18 Niels Rogalla <niro@magellan-linux.de> |
2 |
|
|
3 |
|
* [r1729] VERSION: |
4 |
|
-version 8.5 |
5 |
|
* [r1728] new-kernel-pkg: |
6 |
|
Don't hardcode dracut path. (#768645) |
7 |
|
|
8 |
|
dracut moved from /sbin to /usr/bin, so fix that, but also it's |
9 |
|
pointless to hardcode what's in PATH. |
10 |
|
* [r1727] grubby.c, test.sh, test/results/remove/g2-1.4[ADD]: |
11 |
|
Use dummy entries for text following kernel entries so it is |
12 |
|
preserved |
13 |
|
(#744717) |
14 |
|
|
15 |
|
Signed-off-by: Adam Williamson <awilliam@redhat.com> |
16 |
|
* [r1726] test/results/defaulttitle/g2.1: |
17 |
|
Fix up one test result for changes from |
18 |
|
4bb88f93e6c7cf432e354a164fce8743794a84a5 |
19 |
|
* [r1724] ChangeLog: |
20 |
|
updated ChangeLog |
21 |
|
* [r1723] VERSION: |
22 |
|
-version 8.4 |
23 |
|
* [r1722] grubby.c, test/grub2.1, test/results/add/g2-1.1, |
24 |
|
test/results/add/g2-1.2, test/results/add/g2-1.3: |
25 |
|
Update "echo 'Loading..." messages to the new kernel version |
26 |
|
|
27 |
|
grub2-mkconfig will create lines like: |
28 |
|
echo 'Loading Linux 3.1.0-0.rc6.git0.0.fc16.x86_64 |
29 |
|
...' |
30 |
|
- depending on the content of /etc/default/grub. |
31 |
|
|
32 |
|
grubby would recognize these lines and replace them with lines |
33 |
|
with the |
34 |
|
right |
35 |
|
version number such as: |
36 |
|
echo 'Loading Fedora (3.1.0-0.rc6.git0.0.fc16.x86_64)' |
37 |
|
|
38 |
|
these lines were however not recognized by grubby and would not |
39 |
|
be |
40 |
|
updated on |
41 |
|
next kernel update when this entry would be used as template. |
42 |
|
|
43 |
|
With this patch grubby will no longer look for a specific title |
44 |
|
but |
45 |
|
patch any |
46 |
|
"echo 'Loading" line immediately before the kernel line. |
47 |
|
|
48 |
|
Signed-off-by: Adam Williamson <awilliam@redhat.com> |
49 |
|
* [r1721] grubby.8, grubby.c, test.sh, |
50 |
|
test/results/defaulttitle[ADD], |
51 |
|
test/results/defaulttitle/g.1[ADD], |
52 |
|
test/results/defaulttitle/g.10[ADD], |
53 |
|
test/results/defaulttitle/g.11[ADD], |
54 |
|
test/results/defaulttitle/g.2[ADD], |
55 |
|
test/results/defaulttitle/g.3[ADD], |
56 |
|
test/results/defaulttitle/g.4[ADD], |
57 |
|
test/results/defaulttitle/g.5[ADD], |
58 |
|
test/results/defaulttitle/g.6[ADD], |
59 |
|
test/results/defaulttitle/g.7[ADD], |
60 |
|
test/results/defaulttitle/g.8[ADD], |
61 |
|
test/results/defaulttitle/g.9[ADD], |
62 |
|
test/results/defaulttitle/g2.1[ADD], |
63 |
|
test/results/defaulttitle/g2.2[ADD]: |
64 |
|
Add new '--default-title' feature. |
65 |
|
|
66 |
|
This displays the title of the default entry directly from the |
67 |
|
parsed configuration file. |
68 |
|
|
69 |
|
Signed-off-by: Cleber Rosa <crosa@redhat.com> |
70 |
|
* [r1720] grubby.8, grubby.c, test.sh, |
71 |
|
test/results/defaultindex[ADD], test/results/defaultindex/0[ADD], |
72 |
|
test/results/defaultindex/2[ADD]: |
73 |
|
Add new '--default-index' feature. |
74 |
|
|
75 |
|
This displays the (numeric) index of the default entry directly |
76 |
|
from the parsed configuration file. |
77 |
|
|
78 |
|
Signed-off-by: Cleber Rosa <crosa@redhat.com> |
79 |
|
* [r1719] test.sh: |
80 |
|
test.sh: add feature for testing the output of a grubby command |
81 |
|
|
82 |
|
Instead of comparing the configuration file that gets generated |
83 |
|
by |
84 |
|
a grubby command |
85 |
|
|
86 |
|
Signed-off-by: Cleber Rosa <crosa@redhat.com> |
87 |
|
* [r1718] grubby.c: |
88 |
|
GRUB: Fix detection by increasing offset when comparing stage1 to |
89 |
|
MBR |
90 |
|
|
91 |
|
A couple of instructions of grub's stage1 get modified when |
92 |
|
copied to |
93 |
|
the |
94 |
|
MBR (replaced by NOOPs). Check for this condition, and skip these |
95 |
|
bytes |
96 |
|
while compare stage1 and MBR. |
97 |
|
|
98 |
|
Signed-off-by: Cleber Rosa <crosa@redhat.com> |
99 |
|
* [r1717] grubby.c: |
100 |
|
Don't crash if grubConfig not found. |
101 |
|
|
102 |
|
I trigger this crash on my system. It has syslinux and no grub. |
103 |
|
|
104 |
|
Signed-off-by: Christopher Li <kernel@chrisli.org> |
105 |
|
* [r1716] new-kernel-pkg: |
106 |
|
Adding extlinux support for new-kernel-pkg |
107 |
|
|
108 |
|
Signed-off-by: Christopher Li <kernel@chrisli.org> |
109 |
|
* [r1715] grubby.c: |
110 |
|
Look for other possible grub config files |
111 |
|
|
112 |
|
Since debian and Ubuntu don't symlink /boot/grub/menu.lst |
113 |
|
to /etc/grub.conf, make it possible to look them over on |
114 |
|
this original location as well. |
115 |
|
|
116 |
|
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com> |
117 |
|
* [r1714] grubby.c: |
118 |
|
Make grubby to recognize Ubuntu's spin of Grub2 |
119 |
|
|
120 |
|
We are looking to use grubby as a bootloader entries |
121 |
|
manager for the autotest project: |
122 |
|
|
123 |
|
http://autotest.kernel.org/ |
124 |
|
|
125 |
|
The project aims to cover more distros than just |
126 |
|
red hat based ones, so this small patch fixes the |
127 |
|
tool under Ubuntu. They have chosen to name grub2 |
128 |
|
grub, in all directory references. Also, they don't |
129 |
|
make symlinks of grub config files on /etc. So, |
130 |
|
adapt the code to take into consideration this |
131 |
|
behavior. |
132 |
|
|
133 |
|
Changes from v1: |
134 |
|
* Removed nested set of {} |
135 |
|
* Made the return in case /etc/grub.d is found |
136 |
|
indented |
137 |
|
* Moved the dbgPrint("not found\n") statement |
138 |
|
before the last return. Also, put a new |
139 |
|
dbgPrint("found\n") if we've found a suitable |
140 |
|
grub2 config file ubuntu/debian style. |
141 |
|
|
142 |
|
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com> |
143 |
|
* [r1712] ChangeLog: |
144 |
|
updated ChangeLog |
145 |
|
* [r1711] VERSION: |
146 |
|
-version 8.3 |
147 |
|
* [r1710] new-kernel-pkg: |
148 |
|
Fix new-kernel-pkg invocation of grubby for grub (bz 725185) |
149 |
|
|
150 |
|
new-kernel-pkg did not specify --grub when it called grubby to |
151 |
|
update the |
152 |
|
kernel entry with an initrd. Grubby would then try to probe what |
153 |
|
to |
154 |
|
do and |
155 |
|
would give preference to grub2 and thus leave an incomplete grub |
156 |
|
entry. |
157 |
|
|
158 |
|
new-kernel-pkg did also not specify the grub config file |
159 |
|
explicitly |
160 |
|
to |
161 |
|
grubby as it do for the grub2 config file. That could perhaps in |
162 |
|
some |
163 |
|
situations cause grubby to do something else than new-kernel-pkg |
164 |
|
expected. |
165 |
|
|
166 |
|
Now --grub -c $grubConfig is specified explicitly in all cases. |
167 |
|
* [r1708] ChangeLog: |
168 |
|
updated ChangeLog |
169 |
|
* [r1707] VERSION: |
170 |
|
-version 8.2 |
171 |
|
* [r1706] new-kernel-pkg: |
172 |
|
Read HYPERVISOR and HYPERVISOR_ARGS from /etc/conf.d/grubby and |
173 |
|
set |
174 |
|
mbkernel and mbargs Signed-off-by: W. Michael Petullo |
175 |
|
<mike@flyn.org> |
176 |
|
* [r1704] ChangeLog: |
177 |
|
updated ChangeLog |
178 |
|
* [r1703] VERSION: |
179 |
|
-version 8.1 |
180 |
|
* [r1702] new-kernel-pkg: |
181 |
|
Fix a miss-spelled variable name. |
182 |
|
|
183 |
|
"grub2Config", not "grub2Cfg". |
184 |
|
* [r1700] ChangeLog: |
185 |
|
updated ChangeLog |
186 |
|
* [r1699] VERSION: |
187 |
|
-version 8.0 |
188 |
|
* [r1698] test.sh, test/grub2.1[ADD], test/grub2.2[ADD], |
189 |
|
test/results/add/g2-1.1[ADD], test/results/add/g2-1.2[ADD], |
190 |
|
test/results/add/g2-1.3[ADD], test/results/add/g2-1.4[ADD]: |
191 |
|
Add some limited test cases for grub2. |
192 |
|
* [r1697] new-kernel-pkg: |
193 |
|
Update grub2 support to new-kernel-pkg |
194 |
|
|
195 |
|
This uses grubby for grub2 on efi and non-efi machines. |
196 |
|
|
197 |
|
2012-02-17 Niels Rogalla <niro@magellan-linux.de> |
198 |
|
|
199 |
|
* [r1696] grubby.c: |
200 |
|
Add grub2.cfg support to grubby. |
201 |
|
* [r1695] Makefile: |
202 |
|
Add -ggdb |
203 |
|
* [r1694] Makefile, grubby.c: |
204 |
|
Tweak some make options. |
205 |
|
|
206 |
|
Some functions are only used in dbgPrintf() arguments. As such, |
207 |
|
errors/warnings on unused functions need to be disabled. |
208 |
|
|
209 |
|
Also, use -std=gnu99. |
210 |
|
|
211 |
|
Also, add a debug target. |
212 |
|
* [r1693] grubby.c: |
213 |
|
Rename entrySeparator to entryStart. |
214 |
|
|
215 |
|
Since we're actually using it to detect the start of an entry |
216 |
|
(and |
217 |
|
specifically not the end), name this slightly better. |
218 |
|
* [r1692] grubby.c: |
219 |
|
Convert configFileInfo structs to C99-style initializers. |
220 |
|
|
221 |
|
Get rid of the old initializers where struct names were commends, |
222 |
|
in |
223 |
|
favor of C99-style assignment, so new fields can be put at |
224 |
|
logical |
225 |
|
places without having to change the whole file. |
226 |
|
* [r1691] new-kernel-pkg, uboot[ADD]: |
227 |
|
Add uboot support for ARM (#712199) |
228 |
|
|
229 |
2011-07-19 Niels Rogalla <niro@magellan-linux.de> |
2011-07-19 Niels Rogalla <niro@magellan-linux.de> |
230 |
|
|
231 |
|
* [r1433] ChangeLog[ADD]: |
232 |
|
-added ChangeLog |
233 |
* [r1432] VERSION: |
* [r1432] VERSION: |
234 |
-version 7.0.18 - upstream fixed grub2 errors in new-kernel-pkg, |
-version 7.0.18 - upstream fixed grub2 errors in new-kernel-pkg, |
235 |
which we already done in our port of 7.0.17. ver up to be in sync |
which we already done in our port of 7.0.17. ver up to be in sync |