Magellan Linux

Annotation of /tags/grubby-8_32/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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