Magellan Linux

Annotation of /trunk/grubby/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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