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