Magellan Linux

Annotation of /tags/grubby-8_35/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1743 - (hide annotations) (download)
Sat Feb 18 01:05:10 2012 UTC (12 years, 2 months ago) by niro
Original Path: trunk/grubby/ChangeLog
File size: 9997 byte(s)
updated ChangeLog
1 niro 1700 2012-02-18 Niels Rogalla <niro@magellan-linux.de>
2    
3 niro 1743 * [r1742] VERSION:
4     -version 8.8
5     * [r1741] test.sh:
6     Fix new test case to not care if /boot is a mountpoint...
7     * [r1739] ChangeLog:
8     updated ChangeLog
9 niro 1739 * [r1738] VERSION:
10     -version 8.7
11     * [r1737] test.sh, test/results/debug[ADD],
12     test/results/debug/g2.1[ADD], test/results/debug/g2.1.2[ADD]:
13     Add a test case for --debug.
14    
15     Make sure --debug works as expected in both successful and failed
16     attempts.
17     * [r1736] grubby.8, grubby.c:
18     grubby: Add --debug option to annotate "suitable template"
19     failures
20    
21     Today, when grubby fails with "no suitable template found" the
22     user
23     has no idea why that might be. These can fail for several
24     reasons.
25     So add a --debug option to print out the line in grubby.c where
26     it
27     failed, a text message describing the failure, and a copy of the
28     bootloader entry that failed, to aid investigation.
29    
30     Signed-off-by: Eric Sandeen <sandeen@redhat.com>
31     * [r1734] ChangeLog:
32     updated ChangeLog
33 niro 1734 * [r1733] VERSION:
34     -version 8.6
35     * [r1732] test/results/remove/g2-1.4:
36     Fix another test broken by 4bb88f93e6c7cf432e354a164fce8743794a
37     * [r1730] ChangeLog:
38     updated ChangeLog
39 niro 1730 * [r1729] VERSION:
40     -version 8.5
41     * [r1728] new-kernel-pkg:
42     Don't hardcode dracut path. (#768645)
43    
44     dracut moved from /sbin to /usr/bin, so fix that, but also it's
45     pointless to hardcode what's in PATH.
46     * [r1727] grubby.c, test.sh, test/results/remove/g2-1.4[ADD]:
47     Use dummy entries for text following kernel entries so it is
48     preserved
49     (#744717)
50    
51     Signed-off-by: Adam Williamson <awilliam@redhat.com>
52     * [r1726] test/results/defaulttitle/g2.1:
53     Fix up one test result for changes from
54     4bb88f93e6c7cf432e354a164fce8743794a84a5
55     * [r1724] ChangeLog:
56     updated ChangeLog
57 niro 1724 * [r1723] VERSION:
58     -version 8.4
59     * [r1722] grubby.c, test/grub2.1, test/results/add/g2-1.1,
60     test/results/add/g2-1.2, test/results/add/g2-1.3:
61     Update "echo 'Loading..." messages to the new kernel version
62    
63     grub2-mkconfig will create lines like:
64     echo 'Loading Linux 3.1.0-0.rc6.git0.0.fc16.x86_64
65     ...'
66     - depending on the content of /etc/default/grub.
67    
68     grubby would recognize these lines and replace them with lines
69     with the
70     right
71     version number such as:
72     echo 'Loading Fedora (3.1.0-0.rc6.git0.0.fc16.x86_64)'
73    
74     these lines were however not recognized by grubby and would not
75     be
76     updated on
77     next kernel update when this entry would be used as template.
78    
79     With this patch grubby will no longer look for a specific title
80     but
81     patch any
82     "echo 'Loading" line immediately before the kernel line.
83    
84     Signed-off-by: Adam Williamson <awilliam@redhat.com>
85     * [r1721] grubby.8, grubby.c, test.sh,
86     test/results/defaulttitle[ADD],
87     test/results/defaulttitle/g.1[ADD],
88     test/results/defaulttitle/g.10[ADD],
89     test/results/defaulttitle/g.11[ADD],
90     test/results/defaulttitle/g.2[ADD],
91     test/results/defaulttitle/g.3[ADD],
92     test/results/defaulttitle/g.4[ADD],
93     test/results/defaulttitle/g.5[ADD],
94     test/results/defaulttitle/g.6[ADD],
95     test/results/defaulttitle/g.7[ADD],
96     test/results/defaulttitle/g.8[ADD],
97     test/results/defaulttitle/g.9[ADD],
98     test/results/defaulttitle/g2.1[ADD],
99     test/results/defaulttitle/g2.2[ADD]:
100     Add new '--default-title' feature.
101    
102     This displays the title of the default entry directly from the
103     parsed configuration file.
104    
105     Signed-off-by: Cleber Rosa <crosa@redhat.com>
106     * [r1720] grubby.8, grubby.c, test.sh,
107     test/results/defaultindex[ADD], test/results/defaultindex/0[ADD],
108     test/results/defaultindex/2[ADD]:
109     Add new '--default-index' feature.
110    
111     This displays the (numeric) index of the default entry directly
112     from the parsed configuration file.
113    
114     Signed-off-by: Cleber Rosa <crosa@redhat.com>
115     * [r1719] test.sh:
116     test.sh: add feature for testing the output of a grubby command
117    
118     Instead of comparing the configuration file that gets generated
119     by
120     a grubby command
121    
122     Signed-off-by: Cleber Rosa <crosa@redhat.com>
123     * [r1718] grubby.c:
124     GRUB: Fix detection by increasing offset when comparing stage1 to
125     MBR
126    
127     A couple of instructions of grub's stage1 get modified when
128     copied to
129     the
130     MBR (replaced by NOOPs). Check for this condition, and skip these
131     bytes
132     while compare stage1 and MBR.
133    
134     Signed-off-by: Cleber Rosa <crosa@redhat.com>
135     * [r1717] grubby.c:
136     Don't crash if grubConfig not found.
137    
138     I trigger this crash on my system. It has syslinux and no grub.
139    
140     Signed-off-by: Christopher Li <kernel@chrisli.org>
141     * [r1716] new-kernel-pkg:
142     Adding extlinux support for new-kernel-pkg
143    
144     Signed-off-by: Christopher Li <kernel@chrisli.org>
145     * [r1715] grubby.c:
146     Look for other possible grub config files
147    
148     Since debian and Ubuntu don't symlink /boot/grub/menu.lst
149     to /etc/grub.conf, make it possible to look them over on
150     this original location as well.
151    
152     Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
153     * [r1714] grubby.c:
154     Make grubby to recognize Ubuntu's spin of Grub2
155    
156     We are looking to use grubby as a bootloader entries
157     manager for the autotest project:
158    
159     http://autotest.kernel.org/
160    
161     The project aims to cover more distros than just
162     red hat based ones, so this small patch fixes the
163     tool under Ubuntu. They have chosen to name grub2
164     grub, in all directory references. Also, they don't
165     make symlinks of grub config files on /etc. So,
166     adapt the code to take into consideration this
167     behavior.
168    
169     Changes from v1:
170     * Removed nested set of {}
171     * Made the return in case /etc/grub.d is found
172     indented
173     * Moved the dbgPrint("not found\n") statement
174     before the last return. Also, put a new
175     dbgPrint("found\n") if we've found a suitable
176     grub2 config file ubuntu/debian style.
177    
178     Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
179     * [r1712] ChangeLog:
180     updated ChangeLog
181 niro 1712 * [r1711] VERSION:
182     -version 8.3
183     * [r1710] new-kernel-pkg:
184     Fix new-kernel-pkg invocation of grubby for grub (bz 725185)
185    
186     new-kernel-pkg did not specify --grub when it called grubby to
187     update the
188     kernel entry with an initrd. Grubby would then try to probe what
189     to
190     do and
191     would give preference to grub2 and thus leave an incomplete grub
192     entry.
193    
194     new-kernel-pkg did also not specify the grub config file
195     explicitly
196     to
197     grubby as it do for the grub2 config file. That could perhaps in
198     some
199     situations cause grubby to do something else than new-kernel-pkg
200     expected.
201    
202     Now --grub -c $grubConfig is specified explicitly in all cases.
203     * [r1708] ChangeLog:
204     updated ChangeLog
205 niro 1708 * [r1707] VERSION:
206     -version 8.2
207     * [r1706] new-kernel-pkg:
208     Read HYPERVISOR and HYPERVISOR_ARGS from /etc/conf.d/grubby and
209     set
210     mbkernel and mbargs Signed-off-by: W. Michael Petullo
211     <mike@flyn.org>
212     * [r1704] ChangeLog:
213     updated ChangeLog
214 niro 1704 * [r1703] VERSION:
215     -version 8.1
216     * [r1702] new-kernel-pkg:
217     Fix a miss-spelled variable name.
218    
219     "grub2Config", not "grub2Cfg".
220     * [r1700] ChangeLog:
221     updated ChangeLog
222 niro 1700 * [r1699] VERSION:
223     -version 8.0
224     * [r1698] test.sh, test/grub2.1[ADD], test/grub2.2[ADD],
225     test/results/add/g2-1.1[ADD], test/results/add/g2-1.2[ADD],
226     test/results/add/g2-1.3[ADD], test/results/add/g2-1.4[ADD]:
227     Add some limited test cases for grub2.
228     * [r1697] new-kernel-pkg:
229     Update grub2 support to new-kernel-pkg
230    
231     This uses grubby for grub2 on efi and non-efi machines.
232    
233     2012-02-17 Niels Rogalla <niro@magellan-linux.de>
234    
235     * [r1696] grubby.c:
236     Add grub2.cfg support to grubby.
237     * [r1695] Makefile:
238     Add -ggdb
239     * [r1694] Makefile, grubby.c:
240     Tweak some make options.
241    
242     Some functions are only used in dbgPrintf() arguments. As such,
243     errors/warnings on unused functions need to be disabled.
244    
245     Also, use -std=gnu99.
246    
247     Also, add a debug target.
248     * [r1693] grubby.c:
249     Rename entrySeparator to entryStart.
250    
251     Since we're actually using it to detect the start of an entry
252     (and
253     specifically not the end), name this slightly better.
254     * [r1692] grubby.c:
255     Convert configFileInfo structs to C99-style initializers.
256    
257     Get rid of the old initializers where struct names were commends,
258     in
259     favor of C99-style assignment, so new fields can be put at
260     logical
261     places without having to change the whole file.
262     * [r1691] new-kernel-pkg, uboot[ADD]:
263     Add uboot support for ARM (#712199)
264    
265 niro 1433 2011-07-19 Niels Rogalla <niro@magellan-linux.de>
266    
267 niro 1700 * [r1433] ChangeLog[ADD]:
268     -added ChangeLog
269 niro 1433 * [r1432] VERSION:
270     -version 7.0.18 - upstream fixed grub2 errors in new-kernel-pkg,
271     which we already done in our port of 7.0.17. ver up to be in sync
272     with upstream
273     * [r1431] new-kernel-pkg:
274     -we install grub2 without '2' suffix
275    
276     2011-06-03 Niels Rogalla <niro@magellan-linux.de>
277    
278     * [r1341] VERSION:
279     -version 7.0.17.1
280     * [r1340] installkernel:
281     -be dracut friendly
282     * [r1339] Makefile:
283     -added installkernel{,.8}
284     * [r1338] installkernel[CPY], installkernel.8[CPY]:
285     -copied from magellan-mkinitrd
286     * [r1336] VERSION:
287     -version 7.0.17
288     * [r1335] Makefile:
289     -adjusted Makefile to use grubby's version file
290     * [r1334] new-kernel-pkg, new-kernel-pkg.8:
291     -be more dracut and plymouth friendly
292     * [r1333] make-tarball.sh[ADD]:
293     -added make-tarball script
294     * [r1332] .[CPY], Makefile[CPY], VERSION[CPY], grubby.8[CPY],
295     grubby.c[CPY], new-kernel-pkg[CPY], new-kernel-pkg.8[CPY],
296     test.sh[CPY], test/elilo.1[CPY], test/elilo.2[CPY],
297     test/results/add/g1.5[CPY], test/results/add/g1.6[CPY],
298     test/results/add/y3.1[CPY], test/results/multiboot/e1.1[CPY],
299     test/results/multiboot/e1.2[CPY],
300     test/results/multiboot/e2.1[CPY],
301     test/results/multiboot/e2.2[CPY],
302     test/results/multiboot/e2.3[CPY], test/results/updargs/g3.7[CPY],
303     test/results/updargs/g7.5[CPY], test/yaboot.1[CPY],
304     test/yaboot.2[CPY], test/yaboot.3[CPY]:
305     -forkin standalone grubby
306