1 |
|
2014-07-16 Niels Rogalla <niro@magellan-linux.de> |
2 |
|
|
3 |
|
* [r2696] VERSION: |
4 |
|
Bump release to 8.31 |
5 |
|
* [r2695] test.sh: |
6 |
|
grub: Remove a redundant test |
7 |
|
* [r2694] grubby.c: |
8 |
|
grub: Fix a crash with kernel line without being preceded by |
9 |
|
title |
10 |
|
* [r2693] test.sh, test/extlinux.1[ADD], test/extlinux.2[ADD], |
11 |
|
test/extlinux.3[ADD], test/extlinux.4[ADD], |
12 |
|
test/results/add/extlinux1.1[ADD], |
13 |
|
test/results/add/extlinux1.2[ADD], |
14 |
|
test/results/add/extlinux1.3[ADD], |
15 |
|
test/results/add/extlinux1.4[ADD], |
16 |
|
test/results/add/extlinux2.1[ADD], |
17 |
|
test/results/args/extlinux1.1[ADD], |
18 |
|
test/results/args/extlinux1.2[ADD], |
19 |
|
test/results/default/extlinux1.1[ADD], |
20 |
|
test/results/default/extlinux1.2[ADD], |
21 |
|
test/results/default/extlinux3.1[ADD], |
22 |
|
test/results/default/extlinux3.2[ADD], |
23 |
|
test/results/remove/extlinux3.1[ADD], |
24 |
|
test/results/remove/extlinux4.1[ADD], |
25 |
|
test/results/updargs/extlinux1.1[ADD], |
26 |
|
test/results/updargs/extlinux1.2[ADD], |
27 |
|
test/results/updargs/extlinux3.1[ADD], |
28 |
|
test/results/updargs/extlinux3.2[ADD], |
29 |
|
test/results/updargs/extlinux3.4[ADD], |
30 |
|
test/results/updargs/extlinux3.7[ADD], |
31 |
|
test/results/updargs/extlinux4.2[ADD], |
32 |
|
test/results/updargs/extlinux4.3[ADD], |
33 |
|
test/results/updargs/extlinux4.4[ADD], |
34 |
|
test/results/updargs/extlinux4.5[ADD]: |
35 |
|
extlinux: Add test suite |
36 |
|
* [r2692] grubby.c: |
37 |
|
extlinux: Understand "default" properly |
38 |
|
* [r2690] ChangeLog: |
39 |
|
-updated ChangeLog |
40 |
|
* [r2689] VERSION: |
41 |
|
Bump version to 8.30 |
42 |
|
* [r2688] grubby.c: |
43 |
|
Always choose linux/initrd on efi-only platforms. |
44 |
|
* [r2687] grubby.c, test.sh: |
45 |
|
Avoid LT_LINUX_EFI/LT_INITRD_EFI on Aarch64. |
46 |
|
* [r2686] new-kernel-pkg: |
47 |
|
Actually /USE/ in new-kernel-pkg. |
48 |
|
* [r2685] grubby.8, grubby.c, new-kernel-pkg, new-kernel-pkg.8, |
49 |
|
test.sh, test/grub2.12[ADD], test/grub2.13[ADD], |
50 |
|
test/results/add/g2-1.12[ADD], test/results/add/g2-1.13[ADD]: |
51 |
|
Support "devicetree" directive in grub2. |
52 |
|
* [r2684] new-kernel-pkg: |
53 |
|
If we're on a zipl-based platform, use --banner passed to us |
54 |
|
(sanitized.) |
55 |
|
* [r2683] grubby.c, test.sh, test/grub2.10[ADD], |
56 |
|
test/grub2.11[ADD], test/results/add/g2-1.10[ADD], |
57 |
|
test/results/add/g2-1.11[ADD]: |
58 |
|
Honor "linux16" and "initrd16" |
59 |
|
* [r2682] grubby.c: |
60 |
|
-grub2 -> grub fixes |
61 |
|
* [r2681] new-kernel-pkg: |
62 |
|
-honor all /etc/os-release files |
63 |
|
|
64 |
|
2013-10-21 Niels Rogalla <niro@magellan-linux.de> |
65 |
|
|
66 |
|
* [r2266] ChangeLog: |
67 |
|
-updated ChangeLog |
68 |
|
* [r2265] VERSION: |
69 |
|
Bump version to 8.29 |
70 |
|
* [r2264] Makefile: |
71 |
|
Use during make install. |
72 |
|
* [r2263] grubby.c, new-kernel-pkg: |
73 |
|
If we're using multiboot, add a new mbmodule not an initramfs |
74 |
|
(#999908) |
75 |
|
* [r2262] grubby.c: |
76 |
|
Add support for SUSE grub2 configuration files |
77 |
|
* [r2261] Makefile: |
78 |
|
Only set RPM_OPT_FLAGS if undefined. |
79 |
|
* [r2260] VERSION: |
80 |
|
Bump version to 8.28 |
81 |
|
* [r2259] new-kernel-pkg: |
82 |
|
update extlinux.conf on arm arches if it exists |
83 |
|
* [r2258] grubby.c: |
84 |
|
Handle numeric indices in grub2's saved environment. |
85 |
|
* [r2257] grubby.c, test.sh, test/grub2.9[ADD], |
86 |
|
test/results/add/g2-1.9[ADD]: |
87 |
|
Attempt to compensate for shell quoting in grub names. |
88 |
|
* [r2256] test/grub2-support_files/grubenv.1, |
89 |
|
test/grub2-support_files/grubenv.2: |
90 |
|
Fix bad grubenv file. |
91 |
|
* [r2255] grubby.c, test.sh: |
92 |
|
If we're using default=saved_entry, and there's nothing saved, |
93 |
|
it's #0. |
94 |
|
* [r2254] test.sh: |
95 |
|
Only run the grub2 test suite on architectures where it's |
96 |
|
meaningful. |
97 |
|
* [r2253] VERSION: |
98 |
|
Bump version to 8.27 |
99 |
|
* [r2252] grubby.c, test.sh, test/grub2-support_files[ADD], |
100 |
|
test/grub2-support_files/.gitignore[ADD], |
101 |
|
test/grub2-support_files/grubenv.0[ADD], |
102 |
|
test/grub2-support_files/grubenv.1[ADD], |
103 |
|
test/grub2-support_files/grubenv.2[ADD], test/grub2.7[ADD], |
104 |
|
test/grub2.8[ADD], test/results/add/g2-1.8[ADD], |
105 |
|
test/results/debug/g2.1, test/results/defaultindex/1[ADD]: |
106 |
|
Make grub2's "set default=${saved_entry}" work better (#808021) |
107 |
|
* [r2251] TODO[ADD]: |
108 |
|
Add a TODO for a path to modernizing much of grubby's codebase. |
109 |
|
* [r2250] grubby.c: |
110 |
|
Don't continue executing after printing the default index. |
111 |
|
* [r2249] VERSION: |
112 |
|
Bump version to 8.26 |
113 |
|
* [r2248] new-kernel-pkg: |
114 |
|
Conditionally call arm-boot-config's boot.scr generator if |
115 |
|
available (#952428) |
116 |
|
* [r2247] VERSION: |
117 |
|
Bump version to 8.25 |
118 |
|
* [r2246] grubby.c: |
119 |
|
Error instead of segfaulting if we can't find any working config |
120 |
|
(#912873) |
121 |
|
* [r2245] VERSION: |
122 |
|
Bump version to 8.24 |
123 |
|
* [r2244] new-kernel-pkg: |
124 |
|
Clean up Harald's untested code. (#923441) |
125 |
|
* [r2243] VERSION: |
126 |
|
Bump version to 8.23 |
127 |
|
* [r2242] new-kernel-pkg: |
128 |
|
new-kernel-pkg: do not remove modules.* files not generated by |
129 |
|
depmod |
130 |
|
* [r2241] new-kernel-pkg: |
131 |
|
new-kernel-pkg: factor out $kernelImage |
132 |
|
* [r2240] new-kernel-pkg: |
133 |
|
new-kernel-pkg: simplify argument parsing |
134 |
|
* [r2239] new-kernel-pkg: |
135 |
|
new-kernel-pkg: factor out $title generation |
136 |
|
* [r2238] new-kernel-pkg: |
137 |
|
Suppress error message in case of an empty /etc/fstab |
138 |
|
* [r2237] new-kernel-pkg: |
139 |
|
Fix empty root device in case of an empty /etc/fstab |
140 |
|
* [r2236] Makefile, grubby.c, log.c[ADD], log.h[ADD], |
141 |
|
test/results/debug/g2.1: |
142 |
|
Add logging when things fail. |
143 |
|
* [r2235] VERSION: |
144 |
|
Bump version to 8.22 |
145 |
|
* [r2234] test.sh, test/grub.14[DEL], test/grub.15[DEL], |
146 |
|
test/results/add/g1.7[DEL], test/results/add/g1.8[DEL]: |
147 |
|
Revert "Add test case for rhbz#742885" |
148 |
|
|
149 |
|
2013-02-20 Niels Rogalla <niro@magellan-linux.de> |
150 |
|
|
151 |
|
* [r2061] ChangeLog: |
152 |
|
Updated ChangeLog |
153 |
|
* [r2060] VERSION: |
154 |
|
Bump version to 8.21 |
155 |
|
* [r2059] new-kernel-pkg: |
156 |
|
Use systemd vconsole.conf and locale.conf if present (#881908) |
157 |
|
* [r2058] grubby.c: |
158 |
|
Spelling fixes. |
159 |
|
* [r2057] test.sh, test/grub.14[ADD], test/grub.15[ADD], |
160 |
|
test/results/add/g1.7[ADD], test/results/add/g1.8[ADD]: |
161 |
|
Add test case for rhbz#742885 |
162 |
|
* [r2056] grubby.c: |
163 |
|
Deal with case-insensitive extlinux config file |
164 |
|
* [r2054] ChangeLog: |
165 |
|
-updated ChangeLog |
166 |
|
* [r2053] VERSION: |
167 |
|
Bump version to 8.20 |
168 |
|
* [r2052] grubby.c: |
169 |
|
Fix removals and initrd additions for LT_KERNEL_EFI type entries. |
170 |
|
* [r2051] new-kernel-pkg: |
171 |
|
[new-kernel-pkg] pass --efi for removal and adding initramfs |
172 |
|
images. |
173 |
|
|
174 |
|
2012-10-01 Niels Rogalla <niro@magellan-linux.de> |
175 |
|
|
176 |
|
* [r1943] ChangeLog: |
177 |
|
-updated ChangeLog |
178 |
|
* [r1941] VERSION: |
179 |
|
Bump version to 8.19 |
180 |
|
* [r1940] grubby.c, new-kernel-pkg, test.sh, test/grub2.6[ADD], |
181 |
|
test/results/add/g2-1.6[ADD], test/results/add/g2-1.7[ADD]: |
182 |
|
Don't accidentally migrate from linuxefi back to linux (#859285) |
183 |
|
* [r1938] VERSION: |
184 |
|
Bump version to 8.18 |
185 |
|
* [r1937] new-kernel-pkg: |
186 |
|
Change the way the kernel load address is determined for ARM |
187 |
|
U-Boot. |
188 |
|
* [r1935] VERSION: |
189 |
|
Bump version to 8.17 |
190 |
|
* [r1934] grubby.c: |
191 |
|
Fix broken alloca()/free() pair. |
192 |
|
* [r1932] VERSION: |
193 |
|
Bump version to 8.16 |
194 |
|
* [r1931] grubby.c: |
195 |
|
Handle linuxefi and initrdefi lines correctly in grub2. |
196 |
|
|
197 |
|
2012-07-02 Niels Rogalla <niro@magellan-linux.de> |
198 |
|
|
199 |
|
* [r1870] ChangeLog: |
200 |
|
-updated ChangeLog |
201 |
|
* [r1869] Makefile: |
202 |
|
-make sbindir variable and prepare grubby for usr-move |
203 |
|
* [r1868] grubby.c: |
204 |
|
Fix minor memory leak introduced by previous fix. |
205 |
|
* [r1867] VERSION: |
206 |
|
Update to 8.15 |
207 |
|
* [r1866] grubby.c: |
208 |
|
Revert "Avoid string duplication calling dirname()" |
209 |
|
* [r1865] VERSION: |
210 |
|
Bump version to 8.14 |
211 |
|
* [r1864] Makefile, grubby.c: |
212 |
|
Fix uninitialized variable error. |
213 |
|
* [r1863] VERSION: |
214 |
|
Since we've had a lot of changes, bump version to 8.13 |
215 |
|
* [r1862] grubby.8: |
216 |
|
grubby.8: fixes for the grubby man page |
217 |
|
* [r1861] test.sh, test/grub.12[ADD], |
218 |
|
test/grub.12-support_files[ADD], |
219 |
|
test/grub.12-support_files/boot[ADD], |
220 |
|
test/grub.12-support_files/boot/grub[ADD], |
221 |
|
test/grub.12-support_files/boot/grub/device.map[ADD], |
222 |
|
test/grub.12-support_files/etc[ADD], |
223 |
|
test/grub.12-support_files/etc/SuSE-release[ADD], |
224 |
|
test/grub.12-support_files/etc/grub.conf[ADD], |
225 |
|
test/results/info[ADD], test/results/info/g12.1[ADD]: |
226 |
|
Fix for grub on SuSE systems: test lba and boot info |
227 |
|
* [r1860] test/grub.13[ADD], test/results/setdefaultindex[ADD], |
228 |
|
test/results/setdefaultindex/g.13.0[ADD], |
229 |
|
test/results/setdefaultindex/g.13.1[ADD], |
230 |
|
test/results/setdefaultindex/g.13.9[ADD], |
231 |
|
test/results/setdefaultindex/g2.1.0[ADD], |
232 |
|
test/results/setdefaultindex/g2.1.1[ADD], |
233 |
|
test/results/setdefaultindex/g2.1.9[ADD]: |
234 |
|
Add tests for --set-default-index feature |
235 |
|
* [r1859] grubby.8, grubby.c: |
236 |
|
Add --set-default-index feature |
237 |
|
* [r1858] test.sh: |
238 |
|
1 isn't a great value for MALLOC_PERTURB_ - use 5265. |
239 |
|
* [r1857] test.sh: |
240 |
|
test.sh: enable the use of MALLOC_PERTURB_ |
241 |
|
* [r1856] test.sh: |
242 |
|
test.sh: revert bash 4 only syntax change |
243 |
|
* [r1855] grubby.c: |
244 |
|
Fix minor style issue. |
245 |
|
* [r1854] grubby.c: |
246 |
|
ia64/elilo: add support for probing the currently installed |
247 |
|
bootloader |
248 |
|
* [r1853] grubby.c: |
249 |
|
ppc64/yaboot: add support for probing the currently installed |
250 |
|
bootloader |
251 |
|
* [r1852] grubby.c: |
252 |
|
Fix grub detection on SuSE systems: config file order |
253 |
|
* [r1851] grubby.c: |
254 |
|
Invert "isSuseSystem()" test so the suse code is nearer the test. |
255 |
|
* [r1850] grubby.c: |
256 |
|
Fix for grub on SuSE systems: lba and boot information |
257 |
|
* [r1849] grubby.c: |
258 |
|
Support systems that do not have /boot as a separate filesystem |
259 |
|
* [r1848] new-kernel-pkg: |
260 |
|
Update the code to set the ubootAddress. |
261 |
|
* [r1847] new-kernel-pkg, uboot: |
262 |
|
Update the ubootDir default. |
263 |
|
* [r1846] grubby.c: |
264 |
|
Convert to c99 loop initializations. |
265 |
|
* [r1845] grubby.c: |
266 |
|
Avoid string duplication calling dirname() |
267 |
|
* [r1844] grubby.c: |
268 |
|
Add "const" specifier to function arguments |
269 |
|
* [r1843] new-kernel-pkg, uboot: |
270 |
|
Support UBOOT_IMGADDR override |
271 |
|
* [r1842] VERSION: |
272 |
|
Update version to 8.12 |
273 |
|
* [r1841] grubby.c: |
274 |
|
Pick the last / device (#826537) |
275 |
|
* [r1840] grubby.c, test/grub2.2, test/results/add/g2-1.4: |
276 |
|
Preserve "trailing indentation" when splitting line elements |
277 |
|
(#742720) |
278 |
|
* [r1839] VERSION: |
279 |
|
Update version to 8.11 |
280 |
|
* [r1838] test/grub2.5[ADD], test/results/add/g2-1.5[ADD]: |
281 |
|
Fix failures with grub 2.00~beta2 and 8.10, and add a test case. |
282 |
|
* [r1837] grubby.c, test.sh: |
283 |
|
Fix failures with grub 2.00~beta2 and 8.10, and add a test case. |
284 |
|
|
285 |
|
2012-04-16 Niels Rogalla <niro@magellan-linux.de> |
286 |
|
|
287 |
|
* [r1805] ChangeLog: |
288 |
|
updated ChangeLog |
289 |
|
* [r1804] VERSION: |
290 |
|
version 8.10 |
291 |
|
* [r1803] new-kernel-pkg: |
292 |
|
Explicitly check for Grub2 on ppc |
293 |
|
* [r1802] grubby.c: |
294 |
|
Try to find grub2 config first |
295 |
|
* [r1801] grubby.c, test.sh, test/grub2.3[ADD], test/grub2.4[ADD], |
296 |
|
test/results/debug/g2.1, test/results/remove/g2-1.1[ADD], |
297 |
|
test/results/remove/g2-1.2[ADD]: |
298 |
|
Make --remove-kenrel support titles in grub2 (and other fixes) |
299 |
|
* [r1800] grubby.c: |
300 |
|
Use "isquote" where appropriate. |
301 |
|
|
302 |
|
2012-03-03 Niels Rogalla <niro@magellan-linux.de> |
303 |
|
|
304 |
|
* [r1778] new-kernel-pkg: |
305 |
|
-support /etc/os-release |
306 |
|
* [r1772] ChangeLog: |
307 |
|
-udpated ChangeLog |
308 |
|
* [r1771] VERSION: |
309 |
|
-version 8.9 |
310 |
|
* [r1770] new-kernel-pkg: |
311 |
|
Add support to new-kernel-pkg to recognize ARCH == armv5tel |
312 |
|
needed for |
313 |
|
Kirkwood based systems. |
314 |
|
|
315 |
2012-02-18 Niels Rogalla <niro@magellan-linux.de> |
2012-02-18 Niels Rogalla <niro@magellan-linux.de> |
316 |
|
|
317 |
|
* [r1757] new-kernel-pkg: |
318 |
|
-let the menuentries match our grub-cosmetic patch |
319 |
|
* [r1756] new-kernel-pkg: |
320 |
|
-fix a infinite loop caused by dropping the path prefix of |
321 |
|
mkinitrd |
322 |
|
* [r1754] ChangeLog: |
323 |
|
updated ChangeLog |
324 |
|
* [r1753] VERSION: |
325 |
|
-version 8.8_20120218 |
326 |
|
* [r1752] new-kernel-pkg: |
327 |
|
new-kernel-pkg fails to find U-Boot. |
328 |
|
|
329 |
|
new-kernel-pkg fails to find U-Boot if the boot directory is not |
330 |
|
on a |
331 |
|
separate partition. |
332 |
|
|
333 |
|
This only affects the U-Boot image creation section of the |
334 |
|
new-kernel-pkg |
335 |
|
script, for ARM based systems. My initial changes were only |
336 |
|
tested on |
337 |
|
specific ARM-OMAP systems that required a specific U-Boot |
338 |
|
partition. |
339 |
|
Testing |
340 |
|
on additional systems (ARM-Tegra) revealed this incorrect |
341 |
|
assumption. |
342 |
|
|
343 |
|
The attached patch includes the following: |
344 |
|
|
345 |
|
- Cosmetic: Correction - change uBoot to U-Boot in comments. |
346 |
|
- Additions: |
347 |
|
-- Recognize ARCH == armv7hl |
348 |
|
-- Make U-Boot load/execute address variable (based on machine) |
349 |
|
-- Bug: Correct invalid assumption that the U-Boot directory |
350 |
|
would |
351 |
|
always |
352 |
|
be on a separate partition. |
353 |
|
* [r1751] grubby.c: |
354 |
|
Try to display title when printing information with '--info' |
355 |
|
|
356 |
|
Signed-off-by: Cleber Rosa <crosa@redhat.com> |
357 |
|
* [r1750] grubby.c: |
358 |
|
Fix endswith() to correctly test its input for validity. |
359 |
|
* [r1749] installkernel, new-kernel-pkg: |
360 |
|
Fix hard coded paths so kernel's "make install" will DTRT. |
361 |
|
* [r1748] grubby.c: |
362 |
|
Implement support for "default saved" for grub2 |
363 |
|
|
364 |
|
Signed-off-by: Cleber Rosa <crosa@redhat.com> |
365 |
|
* [r1747] grubby.c: |
366 |
|
Include prefix when printing kernel information |
367 |
|
|
368 |
|
When running grubby with '--info=', the initrd is displayed with |
369 |
|
the |
370 |
|
boot prefix, so, for correctness, also include it in the kernel |
371 |
|
line. |
372 |
|
|
373 |
|
Signed-off-by: Cleber Rosa <crosa@redhat.com> |
374 |
|
* [r1746] grubby.c: |
375 |
|
Refactor grub2 title extraction, making it a function |
376 |
|
|
377 |
|
'--default-title' now uses that functions, but others such as |
378 |
|
'--info' |
379 |
|
could, IMHO, also display the title and thus, use the refactored |
380 |
|
function. |
381 |
|
|
382 |
|
Signed-off-by: Cleber Rosa <crosa@redhat.com> |
383 |
|
* [r1745] grubby.c: |
384 |
|
Include a / when one is missing in paths (#769641) |
385 |
|
* [r1743] ChangeLog: |
386 |
|
updated ChangeLog |
387 |
|
* [r1742] VERSION: |
388 |
|
-version 8.8 |
389 |
|
* [r1741] test.sh: |
390 |
|
Fix new test case to not care if /boot is a mountpoint... |
391 |
|
* [r1739] ChangeLog: |
392 |
|
updated ChangeLog |
393 |
|
* [r1738] VERSION: |
394 |
|
-version 8.7 |
395 |
|
* [r1737] test.sh, test/results/debug[ADD], |
396 |
|
test/results/debug/g2.1[ADD], test/results/debug/g2.1.2[ADD]: |
397 |
|
Add a test case for --debug. |
398 |
|
|
399 |
|
Make sure --debug works as expected in both successful and failed |
400 |
|
attempts. |
401 |
|
* [r1736] grubby.8, grubby.c: |
402 |
|
grubby: Add --debug option to annotate "suitable template" |
403 |
|
failures |
404 |
|
|
405 |
|
Today, when grubby fails with "no suitable template found" the |
406 |
|
user |
407 |
|
has no idea why that might be. These can fail for several |
408 |
|
reasons. |
409 |
|
So add a --debug option to print out the line in grubby.c where |
410 |
|
it |
411 |
|
failed, a text message describing the failure, and a copy of the |
412 |
|
bootloader entry that failed, to aid investigation. |
413 |
|
|
414 |
|
Signed-off-by: Eric Sandeen <sandeen@redhat.com> |
415 |
|
* [r1734] ChangeLog: |
416 |
|
updated ChangeLog |
417 |
|
* [r1733] VERSION: |
418 |
|
-version 8.6 |
419 |
|
* [r1732] test/results/remove/g2-1.4: |
420 |
|
Fix another test broken by 4bb88f93e6c7cf432e354a164fce8743794a |
421 |
|
* [r1730] ChangeLog: |
422 |
|
updated ChangeLog |
423 |
|
* [r1729] VERSION: |
424 |
|
-version 8.5 |
425 |
|
* [r1728] new-kernel-pkg: |
426 |
|
Don't hardcode dracut path. (#768645) |
427 |
|
|
428 |
|
dracut moved from /sbin to /usr/bin, so fix that, but also it's |
429 |
|
pointless to hardcode what's in PATH. |
430 |
|
* [r1727] grubby.c, test.sh, test/results/remove/g2-1.4[ADD]: |
431 |
|
Use dummy entries for text following kernel entries so it is |
432 |
|
preserved |
433 |
|
(#744717) |
434 |
|
|
435 |
|
Signed-off-by: Adam Williamson <awilliam@redhat.com> |
436 |
|
* [r1726] test/results/defaulttitle/g2.1: |
437 |
|
Fix up one test result for changes from |
438 |
|
4bb88f93e6c7cf432e354a164fce8743794a84a5 |
439 |
|
* [r1724] ChangeLog: |
440 |
|
updated ChangeLog |
441 |
|
* [r1723] VERSION: |
442 |
|
-version 8.4 |
443 |
|
* [r1722] grubby.c, test/grub2.1, test/results/add/g2-1.1, |
444 |
|
test/results/add/g2-1.2, test/results/add/g2-1.3: |
445 |
|
Update "echo 'Loading..." messages to the new kernel version |
446 |
|
|
447 |
|
grub2-mkconfig will create lines like: |
448 |
|
echo 'Loading Linux 3.1.0-0.rc6.git0.0.fc16.x86_64 |
449 |
|
...' |
450 |
|
- depending on the content of /etc/default/grub. |
451 |
|
|
452 |
|
grubby would recognize these lines and replace them with lines |
453 |
|
with the |
454 |
|
right |
455 |
|
version number such as: |
456 |
|
echo 'Loading Fedora (3.1.0-0.rc6.git0.0.fc16.x86_64)' |
457 |
|
|
458 |
|
these lines were however not recognized by grubby and would not |
459 |
|
be |
460 |
|
updated on |
461 |
|
next kernel update when this entry would be used as template. |
462 |
|
|
463 |
|
With this patch grubby will no longer look for a specific title |
464 |
|
but |
465 |
|
patch any |
466 |
|
"echo 'Loading" line immediately before the kernel line. |
467 |
|
|
468 |
|
Signed-off-by: Adam Williamson <awilliam@redhat.com> |
469 |
|
* [r1721] grubby.8, grubby.c, test.sh, |
470 |
|
test/results/defaulttitle[ADD], |
471 |
|
test/results/defaulttitle/g.1[ADD], |
472 |
|
test/results/defaulttitle/g.10[ADD], |
473 |
|
test/results/defaulttitle/g.11[ADD], |
474 |
|
test/results/defaulttitle/g.2[ADD], |
475 |
|
test/results/defaulttitle/g.3[ADD], |
476 |
|
test/results/defaulttitle/g.4[ADD], |
477 |
|
test/results/defaulttitle/g.5[ADD], |
478 |
|
test/results/defaulttitle/g.6[ADD], |
479 |
|
test/results/defaulttitle/g.7[ADD], |
480 |
|
test/results/defaulttitle/g.8[ADD], |
481 |
|
test/results/defaulttitle/g.9[ADD], |
482 |
|
test/results/defaulttitle/g2.1[ADD], |
483 |
|
test/results/defaulttitle/g2.2[ADD]: |
484 |
|
Add new '--default-title' feature. |
485 |
|
|
486 |
|
This displays the title of the default entry directly from the |
487 |
|
parsed configuration file. |
488 |
|
|
489 |
|
Signed-off-by: Cleber Rosa <crosa@redhat.com> |
490 |
|
* [r1720] grubby.8, grubby.c, test.sh, |
491 |
|
test/results/defaultindex[ADD], test/results/defaultindex/0[ADD], |
492 |
|
test/results/defaultindex/2[ADD]: |
493 |
|
Add new '--default-index' feature. |
494 |
|
|
495 |
|
This displays the (numeric) index of the default entry directly |
496 |
|
from the parsed configuration file. |
497 |
|
|
498 |
|
Signed-off-by: Cleber Rosa <crosa@redhat.com> |
499 |
|
* [r1719] test.sh: |
500 |
|
test.sh: add feature for testing the output of a grubby command |
501 |
|
|
502 |
|
Instead of comparing the configuration file that gets generated |
503 |
|
by |
504 |
|
a grubby command |
505 |
|
|
506 |
|
Signed-off-by: Cleber Rosa <crosa@redhat.com> |
507 |
|
* [r1718] grubby.c: |
508 |
|
GRUB: Fix detection by increasing offset when comparing stage1 to |
509 |
|
MBR |
510 |
|
|
511 |
|
A couple of instructions of grub's stage1 get modified when |
512 |
|
copied to |
513 |
|
the |
514 |
|
MBR (replaced by NOOPs). Check for this condition, and skip these |
515 |
|
bytes |
516 |
|
while compare stage1 and MBR. |
517 |
|
|
518 |
|
Signed-off-by: Cleber Rosa <crosa@redhat.com> |
519 |
|
* [r1717] grubby.c: |
520 |
|
Don't crash if grubConfig not found. |
521 |
|
|
522 |
|
I trigger this crash on my system. It has syslinux and no grub. |
523 |
|
|
524 |
|
Signed-off-by: Christopher Li <kernel@chrisli.org> |
525 |
|
* [r1716] new-kernel-pkg: |
526 |
|
Adding extlinux support for new-kernel-pkg |
527 |
|
|
528 |
|
Signed-off-by: Christopher Li <kernel@chrisli.org> |
529 |
|
* [r1715] grubby.c: |
530 |
|
Look for other possible grub config files |
531 |
|
|
532 |
|
Since debian and Ubuntu don't symlink /boot/grub/menu.lst |
533 |
|
to /etc/grub.conf, make it possible to look them over on |
534 |
|
this original location as well. |
535 |
|
|
536 |
|
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com> |
537 |
|
* [r1714] grubby.c: |
538 |
|
Make grubby to recognize Ubuntu's spin of Grub2 |
539 |
|
|
540 |
|
We are looking to use grubby as a bootloader entries |
541 |
|
manager for the autotest project: |
542 |
|
|
543 |
|
http://autotest.kernel.org/ |
544 |
|
|
545 |
|
The project aims to cover more distros than just |
546 |
|
red hat based ones, so this small patch fixes the |
547 |
|
tool under Ubuntu. They have chosen to name grub2 |
548 |
|
grub, in all directory references. Also, they don't |
549 |
|
make symlinks of grub config files on /etc. So, |
550 |
|
adapt the code to take into consideration this |
551 |
|
behavior. |
552 |
|
|
553 |
|
Changes from v1: |
554 |
|
* Removed nested set of {} |
555 |
|
* Made the return in case /etc/grub.d is found |
556 |
|
indented |
557 |
|
* Moved the dbgPrint("not found\n") statement |
558 |
|
before the last return. Also, put a new |
559 |
|
dbgPrint("found\n") if we've found a suitable |
560 |
|
grub2 config file ubuntu/debian style. |
561 |
|
|
562 |
|
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com> |
563 |
|
* [r1712] ChangeLog: |
564 |
|
updated ChangeLog |
565 |
* [r1711] VERSION: |
* [r1711] VERSION: |
566 |
-version 8.3 |
-version 8.3 |
567 |
* [r1710] new-kernel-pkg: |
* [r1710] new-kernel-pkg: |
688 |
test/yaboot.2[CPY], test/yaboot.3[CPY]: |
test/yaboot.2[CPY], test/yaboot.3[CPY]: |
689 |
-forkin standalone grubby |
-forkin standalone grubby |
690 |
|
|
691 |
|
2010-12-15 Niels Rogalla <niro@magellan-linux.de> |
692 |
|
|
693 |
|
* [r1183] |
694 |
|
-fixed missing man-pages |
695 |
|
* [r1178] |
696 |
|
-added missing man page |
697 |
|
* [r1177] |
698 |
|
-added check for return value of getuuidbydev() - resolves a |
699 |
|
segfault if the device does not exist - see rhbz#592294 |
700 |
|
|
701 |
|
2010-09-14 Niels Rogalla <niro@magellan-linux.de> |
702 |
|
|
703 |
|
* [r1156] |
704 |
|
-merged with upstream: |
705 |
|
-update initrd support |
706 |
|
-better rootdev handling |
707 |
|
-better support for uuids |
708 |
|
* [r1153] |
709 |
|
-install grubby man-page |
710 |
|
* [r1152] |
711 |
|
-fixed a typo |
712 |
|
|
713 |
|
2009-11-17 Niels Rogalla <niro@magellan-linux.de> |
714 |
|
|
715 |
|
* [r937] |
716 |
|
-fixed missing mandir variable |
717 |
|
|
718 |
|
2009-10-28 Niels Rogalla <niro@magellan-linux.de> |
719 |
|
|
720 |
|
* [r926] |
721 |
|
-read grub options from /etc/conf.d/grub |
722 |
|
* [r925] |
723 |
|
-read config from /etc/conf.d/grubby |
724 |
|
* [r924] |
725 |
|
-updated style |
726 |
|
* [r923] |
727 |
|
-pulled in new version from fedora (7.0.8) with update support |
728 |
|
-removed dracut and fedara specific stuff |
729 |
|
-fixed to work with magellan |
730 |
|
* [r920] |
731 |
|
-fixed grub.conf default location |
732 |
|
* [r917] |
733 |
|
-we not providing installkernel here |
734 |
|
* [r914] |
735 |
|
-updated grubby to version 7.0.8 from fedory with blkid support |
736 |
|
|
737 |
|
2009-04-24 Niels Rogalla <niro@magellan-linux.de> |
738 |
|
|
739 |
|
* [r819] |
740 |
|
-converted cvsignore to svn:ignore propset |
741 |
|
|
742 |
|
2007-09-02 Niels Rogalla <niro@magellan-linux.de> |
743 |
|
|
744 |
|
* [r547] |
745 |
|
-fixed CFLAGS |
746 |
|
|
747 |
|
2007-09-01 Niels Rogalla <niro@magellan-linux.de> |
748 |
|
|
749 |
|
* [r532] |
750 |
|
-import if magellan mkinitrd; it is a fork of redhats |
751 |
|
mkinitrd-5.0.8 with all magellan patches and features; deprecates |
752 |
|
magellan-src/mkinitrd |
753 |
|
|