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