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