Magellan Linux

Diff of /tags/grubby-8_40_20170627/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1712 by niro, Sat Feb 18 00:29:19 2012 UTC revision 2690 by niro, Wed Jul 16 10:43:51 2014 UTC
# Line 1  Line 1 
1    2014-07-16  Niels Rogalla <niro@magellan-linux.de>
2    
3     * [r2689] VERSION:
4      Bump version to 8.30
5     * [r2688] grubby.c:
6      Always choose linux/initrd on efi-only platforms.
7     * [r2687] grubby.c, test.sh:
8      Avoid LT_LINUX_EFI/LT_INITRD_EFI on Aarch64.
9     * [r2686] new-kernel-pkg:
10      Actually /USE/ in new-kernel-pkg.
11     * [r2685] grubby.8, grubby.c, new-kernel-pkg, new-kernel-pkg.8,
12      test.sh, test/grub2.12[ADD], test/grub2.13[ADD],
13      test/results/add/g2-1.12[ADD], test/results/add/g2-1.13[ADD]:
14      Support "devicetree" directive in grub2.
15     * [r2684] new-kernel-pkg:
16      If we're on a zipl-based platform, use --banner passed to us
17      (sanitized.)
18     * [r2683] grubby.c, test.sh, test/grub2.10[ADD],
19      test/grub2.11[ADD], test/results/add/g2-1.10[ADD],
20      test/results/add/g2-1.11[ADD]:
21      Honor "linux16" and "initrd16"
22     * [r2682] grubby.c:
23      -grub2 -> grub fixes
24     * [r2681] new-kernel-pkg:
25      -honor all /etc/os-release files
26    
27    2013-10-21  Niels Rogalla <niro@magellan-linux.de>
28    
29     * [r2266] ChangeLog:
30      -updated ChangeLog
31     * [r2265] VERSION:
32      Bump version to 8.29
33     * [r2264] Makefile:
34      Use during make install.
35     * [r2263] grubby.c, new-kernel-pkg:
36      If we're using multiboot, add a new mbmodule not an initramfs
37      (#999908)
38     * [r2262] grubby.c:
39      Add support for SUSE grub2 configuration files
40     * [r2261] Makefile:
41      Only set RPM_OPT_FLAGS if undefined.
42     * [r2260] VERSION:
43      Bump version to 8.28
44     * [r2259] new-kernel-pkg:
45      update extlinux.conf on arm arches if it exists
46     * [r2258] grubby.c:
47      Handle numeric indices in grub2's saved environment.
48     * [r2257] grubby.c, test.sh, test/grub2.9[ADD],
49      test/results/add/g2-1.9[ADD]:
50      Attempt to compensate for shell quoting in grub names.
51     * [r2256] test/grub2-support_files/grubenv.1,
52      test/grub2-support_files/grubenv.2:
53      Fix bad grubenv file.
54     * [r2255] grubby.c, test.sh:
55      If we're using default=saved_entry, and there's nothing saved,
56      it's #0.
57     * [r2254] test.sh:
58      Only run the grub2 test suite on architectures where it's
59      meaningful.
60     * [r2253] VERSION:
61      Bump version to 8.27
62     * [r2252] grubby.c, test.sh, test/grub2-support_files[ADD],
63      test/grub2-support_files/.gitignore[ADD],
64      test/grub2-support_files/grubenv.0[ADD],
65      test/grub2-support_files/grubenv.1[ADD],
66      test/grub2-support_files/grubenv.2[ADD], test/grub2.7[ADD],
67      test/grub2.8[ADD], test/results/add/g2-1.8[ADD],
68      test/results/debug/g2.1, test/results/defaultindex/1[ADD]:
69      Make grub2's "set default=${saved_entry}" work better (#808021)
70     * [r2251] TODO[ADD]:
71      Add a TODO for a path to modernizing much of grubby's codebase.
72     * [r2250] grubby.c:
73      Don't continue executing after printing the default index.
74     * [r2249] VERSION:
75      Bump version to 8.26
76     * [r2248] new-kernel-pkg:
77      Conditionally call arm-boot-config's boot.scr generator if
78      available (#952428)
79     * [r2247] VERSION:
80      Bump version to 8.25
81     * [r2246] grubby.c:
82      Error instead of segfaulting if we can't find any working config
83      (#912873)
84     * [r2245] VERSION:
85      Bump version to 8.24
86     * [r2244] new-kernel-pkg:
87      Clean up Harald's untested code. (#923441)
88     * [r2243] VERSION:
89      Bump version to 8.23
90     * [r2242] new-kernel-pkg:
91      new-kernel-pkg: do not remove modules.* files not generated by
92      depmod
93     * [r2241] new-kernel-pkg:
94      new-kernel-pkg: factor out $kernelImage
95     * [r2240] new-kernel-pkg:
96      new-kernel-pkg: simplify argument parsing
97     * [r2239] new-kernel-pkg:
98      new-kernel-pkg: factor out $title generation
99     * [r2238] new-kernel-pkg:
100      Suppress error message in case of an empty /etc/fstab
101     * [r2237] new-kernel-pkg:
102      Fix empty root device in case of an empty /etc/fstab
103     * [r2236] Makefile, grubby.c, log.c[ADD], log.h[ADD],
104      test/results/debug/g2.1:
105      Add logging when things fail.
106     * [r2235] VERSION:
107      Bump version to 8.22
108     * [r2234] test.sh, test/grub.14[DEL], test/grub.15[DEL],
109      test/results/add/g1.7[DEL], test/results/add/g1.8[DEL]:
110      Revert "Add test case for rhbz#742885"
111    
112    2013-02-20  Niels Rogalla <niro@magellan-linux.de>
113    
114     * [r2061] ChangeLog:
115      Updated ChangeLog
116     * [r2060] VERSION:
117      Bump version to 8.21
118     * [r2059] new-kernel-pkg:
119      Use systemd vconsole.conf and locale.conf if present (#881908)
120     * [r2058] grubby.c:
121      Spelling fixes.
122     * [r2057] test.sh, test/grub.14[ADD], test/grub.15[ADD],
123      test/results/add/g1.7[ADD], test/results/add/g1.8[ADD]:
124      Add test case for rhbz#742885
125     * [r2056] grubby.c:
126      Deal with case-insensitive extlinux config file
127     * [r2054] ChangeLog:
128      -updated ChangeLog
129     * [r2053] VERSION:
130      Bump version to 8.20
131     * [r2052] grubby.c:
132      Fix removals and initrd additions for LT_KERNEL_EFI type entries.
133     * [r2051] new-kernel-pkg:
134      [new-kernel-pkg] pass --efi for removal and adding initramfs
135      images.
136    
137    2012-10-01  Niels Rogalla <niro@magellan-linux.de>
138    
139     * [r1943] ChangeLog:
140      -updated ChangeLog
141     * [r1941] VERSION:
142      Bump version to 8.19
143     * [r1940] grubby.c, new-kernel-pkg, test.sh, test/grub2.6[ADD],
144      test/results/add/g2-1.6[ADD], test/results/add/g2-1.7[ADD]:
145      Don't accidentally migrate from linuxefi back to linux (#859285)
146     * [r1938] VERSION:
147      Bump version to 8.18
148     * [r1937] new-kernel-pkg:
149      Change the way the kernel load address is determined for ARM
150      U-Boot.
151     * [r1935] VERSION:
152      Bump version to 8.17
153     * [r1934] grubby.c:
154      Fix broken alloca()/free() pair.
155     * [r1932] VERSION:
156      Bump version to 8.16
157     * [r1931] grubby.c:
158      Handle linuxefi and initrdefi lines correctly in grub2.
159    
160    2012-07-02  Niels Rogalla <niro@magellan-linux.de>
161    
162     * [r1870] ChangeLog:
163      -updated ChangeLog
164     * [r1869] Makefile:
165      -make sbindir variable and prepare grubby for usr-move
166     * [r1868] grubby.c:
167      Fix minor memory leak introduced by previous fix.
168     * [r1867] VERSION:
169      Update to 8.15
170     * [r1866] grubby.c:
171      Revert "Avoid string duplication calling dirname()"
172     * [r1865] VERSION:
173      Bump version to 8.14
174     * [r1864] Makefile, grubby.c:
175      Fix uninitialized variable error.
176     * [r1863] VERSION:
177      Since we've had a lot of changes, bump version to 8.13
178     * [r1862] grubby.8:
179      grubby.8: fixes for the grubby man page
180     * [r1861] test.sh, test/grub.12[ADD],
181      test/grub.12-support_files[ADD],
182      test/grub.12-support_files/boot[ADD],
183      test/grub.12-support_files/boot/grub[ADD],
184      test/grub.12-support_files/boot/grub/device.map[ADD],
185      test/grub.12-support_files/etc[ADD],
186      test/grub.12-support_files/etc/SuSE-release[ADD],
187      test/grub.12-support_files/etc/grub.conf[ADD],
188      test/results/info[ADD], test/results/info/g12.1[ADD]:
189      Fix for grub on SuSE systems: test lba and boot info
190     * [r1860] test/grub.13[ADD], test/results/setdefaultindex[ADD],
191      test/results/setdefaultindex/g.13.0[ADD],
192      test/results/setdefaultindex/g.13.1[ADD],
193      test/results/setdefaultindex/g.13.9[ADD],
194      test/results/setdefaultindex/g2.1.0[ADD],
195      test/results/setdefaultindex/g2.1.1[ADD],
196      test/results/setdefaultindex/g2.1.9[ADD]:
197      Add tests for --set-default-index feature
198     * [r1859] grubby.8, grubby.c:
199      Add --set-default-index feature
200     * [r1858] test.sh:
201      1 isn't a great value for MALLOC_PERTURB_ - use 5265.
202     * [r1857] test.sh:
203      test.sh: enable the use of MALLOC_PERTURB_
204     * [r1856] test.sh:
205      test.sh: revert bash 4 only syntax change
206     * [r1855] grubby.c:
207      Fix minor style issue.
208     * [r1854] grubby.c:
209      ia64/elilo: add support for probing the currently installed
210      bootloader
211     * [r1853] grubby.c:
212      ppc64/yaboot: add support for probing the currently installed
213      bootloader
214     * [r1852] grubby.c:
215      Fix grub detection on SuSE systems: config file order
216     * [r1851] grubby.c:
217      Invert "isSuseSystem()" test so the suse code is nearer the test.
218     * [r1850] grubby.c:
219      Fix for grub on SuSE systems: lba and boot information
220     * [r1849] grubby.c:
221      Support systems that do not have /boot as a separate filesystem
222     * [r1848] new-kernel-pkg:
223      Update the code to set the ubootAddress.
224     * [r1847] new-kernel-pkg, uboot:
225      Update the ubootDir default.
226     * [r1846] grubby.c:
227      Convert to c99 loop initializations.
228     * [r1845] grubby.c:
229      Avoid string duplication calling dirname()
230     * [r1844] grubby.c:
231      Add "const" specifier to function arguments
232     * [r1843] new-kernel-pkg, uboot:
233      Support UBOOT_IMGADDR override
234     * [r1842] VERSION:
235      Update version to 8.12
236     * [r1841] grubby.c:
237      Pick the last / device (#826537)
238     * [r1840] grubby.c, test/grub2.2, test/results/add/g2-1.4:
239      Preserve "trailing indentation" when splitting line elements
240      (#742720)
241     * [r1839] VERSION:
242      Update version to 8.11
243     * [r1838] test/grub2.5[ADD], test/results/add/g2-1.5[ADD]:
244      Fix failures with grub 2.00~beta2 and 8.10, and add a test case.
245     * [r1837] grubby.c, test.sh:
246      Fix failures with grub 2.00~beta2 and 8.10, and add a test case.
247    
248    2012-04-16  Niels Rogalla <niro@magellan-linux.de>
249    
250     * [r1805] ChangeLog:
251      updated ChangeLog
252     * [r1804] VERSION:
253      version 8.10
254     * [r1803] new-kernel-pkg:
255      Explicitly check for Grub2 on ppc
256     * [r1802] grubby.c:
257      Try to find grub2 config first
258     * [r1801] grubby.c, test.sh, test/grub2.3[ADD], test/grub2.4[ADD],
259      test/results/debug/g2.1, test/results/remove/g2-1.1[ADD],
260      test/results/remove/g2-1.2[ADD]:
261      Make --remove-kenrel support titles in grub2 (and other fixes)
262     * [r1800] grubby.c:
263      Use "isquote" where appropriate.
264    
265    2012-03-03  Niels Rogalla <niro@magellan-linux.de>
266    
267     * [r1778] new-kernel-pkg:
268      -support /etc/os-release
269     * [r1772] ChangeLog:
270      -udpated ChangeLog
271     * [r1771] VERSION:
272      -version 8.9
273     * [r1770] new-kernel-pkg:
274      Add support to new-kernel-pkg to recognize ARCH == armv5tel
275      needed for
276      Kirkwood based systems.
277    
278  2012-02-18  Niels Rogalla <niro@magellan-linux.de>  2012-02-18  Niels Rogalla <niro@magellan-linux.de>
279    
280     * [r1757] new-kernel-pkg:
281      -let the menuentries match our grub-cosmetic patch
282     * [r1756] new-kernel-pkg:
283      -fix a infinite loop caused by dropping the path prefix of
284      mkinitrd
285     * [r1754] ChangeLog:
286      updated ChangeLog
287     * [r1753] VERSION:
288      -version 8.8_20120218
289     * [r1752] new-kernel-pkg:
290      new-kernel-pkg fails to find U-Boot.
291      
292      new-kernel-pkg fails to find U-Boot if the boot directory is not
293      on a
294      separate partition.
295      
296      This only affects the U-Boot image creation section of the
297      new-kernel-pkg
298      script, for ARM based systems. My initial changes were only
299      tested on
300      specific ARM-OMAP systems that required a specific U-Boot
301      partition.
302      Testing
303      on additional systems (ARM-Tegra) revealed this incorrect
304      assumption.
305      
306      The attached patch includes the following:
307      
308      - Cosmetic: Correction - change uBoot to U-Boot in comments.
309      - Additions:
310      -- Recognize ARCH == armv7hl
311      -- Make U-Boot load/execute address variable (based on machine)
312      -- Bug: Correct invalid assumption that the U-Boot directory
313      would
314      always
315      be on a separate partition.
316     * [r1751] grubby.c:
317      Try to display title when printing information with '--info'
318      
319      Signed-off-by: Cleber Rosa <crosa@redhat.com>
320     * [r1750] grubby.c:
321      Fix endswith() to correctly test its input for validity.
322     * [r1749] installkernel, new-kernel-pkg:
323      Fix hard coded paths so kernel's "make install" will DTRT.
324     * [r1748] grubby.c:
325      Implement support for "default saved" for grub2
326      
327      Signed-off-by: Cleber Rosa <crosa@redhat.com>
328     * [r1747] grubby.c:
329      Include prefix when printing kernel information
330      
331      When running grubby with '--info=', the initrd is displayed with
332      the
333      boot prefix, so, for correctness, also include it in the kernel
334      line.
335      
336      Signed-off-by: Cleber Rosa <crosa@redhat.com>
337     * [r1746] grubby.c:
338      Refactor grub2 title extraction, making it a function
339      
340      '--default-title' now uses that functions, but others such as
341      '--info'
342      could, IMHO, also display the title and thus, use the refactored
343      function.
344      
345      Signed-off-by: Cleber Rosa <crosa@redhat.com>
346     * [r1745] grubby.c:
347      Include a / when one is missing in paths (#769641)
348     * [r1743] ChangeLog:
349      updated ChangeLog
350     * [r1742] VERSION:
351      -version 8.8
352     * [r1741] test.sh:
353      Fix new test case to not care if /boot is a mountpoint...
354     * [r1739] ChangeLog:
355      updated ChangeLog
356     * [r1738] VERSION:
357      -version 8.7
358     * [r1737] test.sh, test/results/debug[ADD],
359      test/results/debug/g2.1[ADD], test/results/debug/g2.1.2[ADD]:
360      Add a test case for --debug.
361      
362      Make sure --debug works as expected in both successful and failed
363      attempts.
364     * [r1736] grubby.8, grubby.c:
365      grubby: Add --debug option to annotate "suitable template"
366      failures
367      
368      Today, when grubby fails with "no suitable template found" the
369      user
370      has no idea why that might be. These can fail for several
371      reasons.
372      So add a --debug option to print out the line in grubby.c where
373      it
374      failed, a text message describing the failure, and a copy of the
375      bootloader entry that failed, to aid investigation.
376      
377      Signed-off-by: Eric Sandeen <sandeen@redhat.com>
378     * [r1734] ChangeLog:
379      updated ChangeLog
380     * [r1733] VERSION:
381      -version 8.6
382     * [r1732] test/results/remove/g2-1.4:
383      Fix another test broken by 4bb88f93e6c7cf432e354a164fce8743794a
384     * [r1730] ChangeLog:
385      updated ChangeLog
386     * [r1729] VERSION:
387      -version 8.5
388     * [r1728] new-kernel-pkg:
389      Don't hardcode dracut path. (#768645)
390      
391      dracut moved from /sbin to /usr/bin, so fix that, but also it's
392      pointless to hardcode what's in PATH.
393     * [r1727] grubby.c, test.sh, test/results/remove/g2-1.4[ADD]:
394      Use dummy entries for text following kernel entries so it is
395      preserved
396      (#744717)
397      
398      Signed-off-by: Adam Williamson <awilliam@redhat.com>
399     * [r1726] test/results/defaulttitle/g2.1:
400      Fix up one test result for changes from
401      4bb88f93e6c7cf432e354a164fce8743794a84a5
402     * [r1724] ChangeLog:
403      updated ChangeLog
404     * [r1723] VERSION:
405      -version 8.4
406     * [r1722] grubby.c, test/grub2.1, test/results/add/g2-1.1,
407      test/results/add/g2-1.2, test/results/add/g2-1.3:
408      Update "echo 'Loading..." messages to the new kernel version
409      
410      grub2-mkconfig will create lines like:
411      echo 'Loading Linux 3.1.0-0.rc6.git0.0.fc16.x86_64
412      ...'
413      - depending on the content of /etc/default/grub.
414      
415      grubby would recognize these lines and replace them with lines
416      with the
417      right
418      version number such as:
419      echo 'Loading Fedora (3.1.0-0.rc6.git0.0.fc16.x86_64)'
420      
421      these lines were however not recognized by grubby and would not
422      be
423      updated on
424      next kernel update when this entry would be used as template.
425      
426      With this patch grubby will no longer look for a specific title
427      but
428      patch any
429      "echo 'Loading" line immediately before the kernel line.
430      
431      Signed-off-by: Adam Williamson <awilliam@redhat.com>
432     * [r1721] grubby.8, grubby.c, test.sh,
433      test/results/defaulttitle[ADD],
434      test/results/defaulttitle/g.1[ADD],
435      test/results/defaulttitle/g.10[ADD],
436      test/results/defaulttitle/g.11[ADD],
437      test/results/defaulttitle/g.2[ADD],
438      test/results/defaulttitle/g.3[ADD],
439      test/results/defaulttitle/g.4[ADD],
440      test/results/defaulttitle/g.5[ADD],
441      test/results/defaulttitle/g.6[ADD],
442      test/results/defaulttitle/g.7[ADD],
443      test/results/defaulttitle/g.8[ADD],
444      test/results/defaulttitle/g.9[ADD],
445      test/results/defaulttitle/g2.1[ADD],
446      test/results/defaulttitle/g2.2[ADD]:
447      Add new '--default-title' feature.
448      
449      This displays the title of the default entry directly from the
450      parsed configuration file.
451      
452      Signed-off-by: Cleber Rosa <crosa@redhat.com>
453     * [r1720] grubby.8, grubby.c, test.sh,
454      test/results/defaultindex[ADD], test/results/defaultindex/0[ADD],
455      test/results/defaultindex/2[ADD]:
456      Add new '--default-index' feature.
457      
458      This displays the (numeric) index of the default entry directly
459      from the parsed configuration file.
460      
461      Signed-off-by: Cleber Rosa <crosa@redhat.com>
462     * [r1719] test.sh:
463      test.sh: add feature for testing the output of a grubby command
464      
465      Instead of comparing the configuration file that gets generated
466      by
467      a grubby command
468      
469      Signed-off-by: Cleber Rosa <crosa@redhat.com>
470     * [r1718] grubby.c:
471      GRUB: Fix detection by increasing offset when comparing stage1 to
472      MBR
473      
474      A couple of instructions of grub's stage1 get modified when
475      copied to
476      the
477      MBR (replaced by NOOPs). Check for this condition, and skip these
478      bytes
479      while compare stage1 and MBR.
480      
481      Signed-off-by: Cleber Rosa <crosa@redhat.com>
482     * [r1717] grubby.c:
483      Don't crash if grubConfig not found.
484      
485      I trigger this crash on my system. It has syslinux and no grub.
486      
487      Signed-off-by: Christopher Li <kernel@chrisli.org>
488     * [r1716] new-kernel-pkg:
489      Adding extlinux support for new-kernel-pkg
490      
491      Signed-off-by: Christopher Li <kernel@chrisli.org>
492     * [r1715] grubby.c:
493      Look for other possible grub config files
494      
495      Since debian and Ubuntu don't symlink /boot/grub/menu.lst
496      to /etc/grub.conf, make it possible to look them over on
497      this original location as well.
498      
499      Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
500     * [r1714] grubby.c:
501      Make grubby to recognize Ubuntu's spin of Grub2
502      
503      We are looking to use grubby as a bootloader entries
504      manager for the autotest project:
505      
506      http://autotest.kernel.org/
507      
508      The project aims to cover more distros than just
509      red hat based ones, so this small patch fixes the
510      tool under Ubuntu. They have chosen to name grub2
511      grub, in all directory references. Also, they don't
512      make symlinks of grub config files on /etc. So,
513      adapt the code to take into consideration this
514      behavior.
515      
516      Changes from v1:
517      * Removed nested set of {}
518      * Made the return in case /etc/grub.d is found
519      indented
520      * Moved the dbgPrint("not found\n") statement
521      before the last return. Also, put a new
522      dbgPrint("found\n") if we've found a suitable
523      grub2 config file ubuntu/debian style.
524      
525      Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
526     * [r1712] ChangeLog:
527      updated ChangeLog
528   * [r1711] VERSION:   * [r1711] VERSION:
529    -version 8.3    -version 8.3
530   * [r1710] new-kernel-pkg:   * [r1710] new-kernel-pkg:
# Line 126  Line 651 
651    test/yaboot.2[CPY], test/yaboot.3[CPY]:    test/yaboot.2[CPY], test/yaboot.3[CPY]:
652    -forkin standalone grubby    -forkin standalone grubby
653    
654    2010-12-15  Niels Rogalla <niro@magellan-linux.de>
655    
656     * [r1183]
657      -fixed missing man-pages
658     * [r1178]
659      -added missing man page
660     * [r1177]
661      -added check for return value of getuuidbydev() - resolves a
662      segfault if the device does not exist - see rhbz#592294
663    
664    2010-09-14  Niels Rogalla <niro@magellan-linux.de>
665    
666     * [r1156]
667      -merged with upstream:
668      -update initrd support
669      -better rootdev handling
670      -better support for uuids
671     * [r1153]
672      -install grubby man-page
673     * [r1152]
674      -fixed a typo
675    
676    2009-11-17  Niels Rogalla <niro@magellan-linux.de>
677    
678     * [r937]
679      -fixed missing mandir variable
680    
681    2009-10-28  Niels Rogalla <niro@magellan-linux.de>
682    
683     * [r926]
684      -read grub options from /etc/conf.d/grub
685     * [r925]
686      -read config from /etc/conf.d/grubby
687     * [r924]
688      -updated style
689     * [r923]
690      -pulled in new version from fedora (7.0.8) with update support
691      -removed dracut and fedara specific stuff
692      -fixed to work with magellan
693     * [r920]
694      -fixed grub.conf default location
695     * [r917]
696      -we not providing installkernel here
697     * [r914]
698      -updated grubby to version 7.0.8 from fedory with blkid support
699    
700    2009-04-24  Niels Rogalla <niro@magellan-linux.de>
701    
702     * [r819]
703      -converted cvsignore to svn:ignore propset
704    
705    2007-09-02  Niels Rogalla <niro@magellan-linux.de>
706    
707     * [r547]
708      -fixed CFLAGS
709    
710    2007-09-01  Niels Rogalla <niro@magellan-linux.de>
711    
712     * [r532]
713      -import if magellan mkinitrd; it is a fork of redhats
714      mkinitrd-5.0.8 with all magellan patches and features; deprecates
715      magellan-src/mkinitrd
716    

Legend:
Removed from v.1712  
changed lines
  Added in v.2690