Magellan Linux

Diff of /tags/grubby-8_30/ChangeLog

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

revision 1704 by niro, Sat Feb 18 00:22:18 2012 UTC revision 1943 by niro, Mon Oct 1 12:42:17 2012 UTC
# Line 1  Line 1 
1    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    2012-07-02  Niels Rogalla <niro@magellan-linux.de>
23    
24     * [r1870] ChangeLog:
25      -updated ChangeLog
26     * [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    2012-04-16  Niels Rogalla <niro@magellan-linux.de>
111    
112     * [r1805] ChangeLog:
113      updated ChangeLog
114     * [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    2012-03-03  Niels Rogalla <niro@magellan-linux.de>
128    
129     * [r1778] new-kernel-pkg:
130      -support /etc/os-release
131     * [r1772] ChangeLog:
132      -udpated ChangeLog
133     * [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  2012-02-18  Niels Rogalla <niro@magellan-linux.de>  2012-02-18  Niels Rogalla <niro@magellan-linux.de>
141    
142     * [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     * [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     * [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     * [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     * [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     * [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     * [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     * [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     * [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   * [r1703] VERSION:   * [r1703] VERSION:
424    -version 8.1    -version 8.1
425   * [r1702] new-kernel-pkg:   * [r1702] new-kernel-pkg:

Legend:
Removed from v.1704  
changed lines
  Added in v.1943