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