Magellan Linux

Annotation of /tags/grubby-8_40_20170627/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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