Magellan Linux

Annotation of /tags/grubby-8_37/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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