Magellan Linux

Annotation of /tags/grubby-8_32/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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