Annotation of /tags/grubby-8_30/ChangeLog
Parent Directory | Revision Log
Revision 1805 -
(hide annotations)
(download)
Mon Apr 16 17:52:38 2012 UTC (12 years, 5 months ago) by niro
Original Path: trunk/grubby/ChangeLog
File size: 13060 byte(s)
Mon Apr 16 17:52:38 2012 UTC (12 years, 5 months ago) by niro
Original Path: trunk/grubby/ChangeLog
File size: 13060 byte(s)
updated ChangeLog
1 | niro | 1805 | 2012-04-16 Niels Rogalla <niro@magellan-linux.de> |
2 | |||
3 | * [r1804] VERSION: | ||
4 | version 8.10 | ||
5 | * [r1803] new-kernel-pkg: | ||
6 | Explicitly check for Grub2 on ppc | ||
7 | * [r1802] grubby.c: | ||
8 | Try to find grub2 config first | ||
9 | * [r1801] grubby.c, test.sh, test/grub2.3[ADD], test/grub2.4[ADD], | ||
10 | test/results/debug/g2.1, test/results/remove/g2-1.1[ADD], | ||
11 | test/results/remove/g2-1.2[ADD]: | ||
12 | Make --remove-kenrel support titles in grub2 (and other fixes) | ||
13 | * [r1800] grubby.c: | ||
14 | Use "isquote" where appropriate. | ||
15 | |||
16 | niro | 1772 | 2012-03-03 Niels Rogalla <niro@magellan-linux.de> |
17 | |||
18 | niro | 1805 | * [r1778] new-kernel-pkg: |
19 | -support /etc/os-release | ||
20 | * [r1772] ChangeLog: | ||
21 | -udpated ChangeLog | ||
22 | niro | 1772 | * [r1771] VERSION: |
23 | -version 8.9 | ||
24 | * [r1770] new-kernel-pkg: | ||
25 | Add support to new-kernel-pkg to recognize ARCH == armv5tel | ||
26 | needed for | ||
27 | Kirkwood based systems. | ||
28 | |||
29 | niro | 1700 | 2012-02-18 Niels Rogalla <niro@magellan-linux.de> |
30 | |||
31 | niro | 1772 | * [r1757] new-kernel-pkg: |
32 | -let the menuentries match our grub-cosmetic patch | ||
33 | * [r1756] new-kernel-pkg: | ||
34 | -fix a infinite loop caused by dropping the path prefix of | ||
35 | mkinitrd | ||
36 | * [r1754] ChangeLog: | ||
37 | updated ChangeLog | ||
38 | niro | 1754 | * [r1753] VERSION: |
39 | -version 8.8_20120218 | ||
40 | * [r1752] new-kernel-pkg: | ||
41 | new-kernel-pkg fails to find U-Boot. | ||
42 | |||
43 | new-kernel-pkg fails to find U-Boot if the boot directory is not | ||
44 | on a | ||
45 | separate partition. | ||
46 | |||
47 | This only affects the U-Boot image creation section of the | ||
48 | new-kernel-pkg | ||
49 | script, for ARM based systems. My initial changes were only | ||
50 | tested on | ||
51 | specific ARM-OMAP systems that required a specific U-Boot | ||
52 | partition. | ||
53 | Testing | ||
54 | on additional systems (ARM-Tegra) revealed this incorrect | ||
55 | assumption. | ||
56 | |||
57 | The attached patch includes the following: | ||
58 | |||
59 | - Cosmetic: Correction - change uBoot to U-Boot in comments. | ||
60 | - Additions: | ||
61 | -- Recognize ARCH == armv7hl | ||
62 | -- Make U-Boot load/execute address variable (based on machine) | ||
63 | -- Bug: Correct invalid assumption that the U-Boot directory | ||
64 | would | ||
65 | always | ||
66 | be on a separate partition. | ||
67 | * [r1751] grubby.c: | ||
68 | Try to display title when printing information with '--info' | ||
69 | |||
70 | Signed-off-by: Cleber Rosa <crosa@redhat.com> | ||
71 | * [r1750] grubby.c: | ||
72 | Fix endswith() to correctly test its input for validity. | ||
73 | * [r1749] installkernel, new-kernel-pkg: | ||
74 | Fix hard coded paths so kernel's "make install" will DTRT. | ||
75 | * [r1748] grubby.c: | ||
76 | Implement support for "default saved" for grub2 | ||
77 | |||
78 | Signed-off-by: Cleber Rosa <crosa@redhat.com> | ||
79 | * [r1747] grubby.c: | ||
80 | Include prefix when printing kernel information | ||
81 | |||
82 | When running grubby with '--info=', the initrd is displayed with | ||
83 | the | ||
84 | boot prefix, so, for correctness, also include it in the kernel | ||
85 | line. | ||
86 | |||
87 | Signed-off-by: Cleber Rosa <crosa@redhat.com> | ||
88 | * [r1746] grubby.c: | ||
89 | Refactor grub2 title extraction, making it a function | ||
90 | |||
91 | '--default-title' now uses that functions, but others such as | ||
92 | '--info' | ||
93 | could, IMHO, also display the title and thus, use the refactored | ||
94 | function. | ||
95 | |||
96 | Signed-off-by: Cleber Rosa <crosa@redhat.com> | ||
97 | * [r1745] grubby.c: | ||
98 | Include a / when one is missing in paths (#769641) | ||
99 | * [r1743] ChangeLog: | ||
100 | updated ChangeLog | ||
101 | niro | 1743 | * [r1742] VERSION: |
102 | -version 8.8 | ||
103 | * [r1741] test.sh: | ||
104 | Fix new test case to not care if /boot is a mountpoint... | ||
105 | * [r1739] ChangeLog: | ||
106 | updated ChangeLog | ||
107 | niro | 1739 | * [r1738] VERSION: |
108 | -version 8.7 | ||
109 | * [r1737] test.sh, test/results/debug[ADD], | ||
110 | test/results/debug/g2.1[ADD], test/results/debug/g2.1.2[ADD]: | ||
111 | Add a test case for --debug. | ||
112 | |||
113 | Make sure --debug works as expected in both successful and failed | ||
114 | attempts. | ||
115 | * [r1736] grubby.8, grubby.c: | ||
116 | grubby: Add --debug option to annotate "suitable template" | ||
117 | failures | ||
118 | |||
119 | Today, when grubby fails with "no suitable template found" the | ||
120 | user | ||
121 | has no idea why that might be. These can fail for several | ||
122 | reasons. | ||
123 | So add a --debug option to print out the line in grubby.c where | ||
124 | it | ||
125 | failed, a text message describing the failure, and a copy of the | ||
126 | bootloader entry that failed, to aid investigation. | ||
127 | |||
128 | Signed-off-by: Eric Sandeen <sandeen@redhat.com> | ||
129 | * [r1734] ChangeLog: | ||
130 | updated ChangeLog | ||
131 | niro | 1734 | * [r1733] VERSION: |
132 | -version 8.6 | ||
133 | * [r1732] test/results/remove/g2-1.4: | ||
134 | Fix another test broken by 4bb88f93e6c7cf432e354a164fce8743794a | ||
135 | * [r1730] ChangeLog: | ||
136 | updated ChangeLog | ||
137 | niro | 1730 | * [r1729] VERSION: |
138 | -version 8.5 | ||
139 | * [r1728] new-kernel-pkg: | ||
140 | Don't hardcode dracut path. (#768645) | ||
141 | |||
142 | dracut moved from /sbin to /usr/bin, so fix that, but also it's | ||
143 | pointless to hardcode what's in PATH. | ||
144 | * [r1727] grubby.c, test.sh, test/results/remove/g2-1.4[ADD]: | ||
145 | Use dummy entries for text following kernel entries so it is | ||
146 | preserved | ||
147 | (#744717) | ||
148 | |||
149 | Signed-off-by: Adam Williamson <awilliam@redhat.com> | ||
150 | * [r1726] test/results/defaulttitle/g2.1: | ||
151 | Fix up one test result for changes from | ||
152 | 4bb88f93e6c7cf432e354a164fce8743794a84a5 | ||
153 | * [r1724] ChangeLog: | ||
154 | updated ChangeLog | ||
155 | niro | 1724 | * [r1723] VERSION: |
156 | -version 8.4 | ||
157 | * [r1722] grubby.c, test/grub2.1, test/results/add/g2-1.1, | ||
158 | test/results/add/g2-1.2, test/results/add/g2-1.3: | ||
159 | Update "echo 'Loading..." messages to the new kernel version | ||
160 | |||
161 | grub2-mkconfig will create lines like: | ||
162 | echo 'Loading Linux 3.1.0-0.rc6.git0.0.fc16.x86_64 | ||
163 | ...' | ||
164 | - depending on the content of /etc/default/grub. | ||
165 | |||
166 | grubby would recognize these lines and replace them with lines | ||
167 | with the | ||
168 | right | ||
169 | version number such as: | ||
170 | echo 'Loading Fedora (3.1.0-0.rc6.git0.0.fc16.x86_64)' | ||
171 | |||
172 | these lines were however not recognized by grubby and would not | ||
173 | be | ||
174 | updated on | ||
175 | next kernel update when this entry would be used as template. | ||
176 | |||
177 | With this patch grubby will no longer look for a specific title | ||
178 | but | ||
179 | patch any | ||
180 | "echo 'Loading" line immediately before the kernel line. | ||
181 | |||
182 | Signed-off-by: Adam Williamson <awilliam@redhat.com> | ||
183 | * [r1721] grubby.8, grubby.c, test.sh, | ||
184 | test/results/defaulttitle[ADD], | ||
185 | test/results/defaulttitle/g.1[ADD], | ||
186 | test/results/defaulttitle/g.10[ADD], | ||
187 | test/results/defaulttitle/g.11[ADD], | ||
188 | test/results/defaulttitle/g.2[ADD], | ||
189 | test/results/defaulttitle/g.3[ADD], | ||
190 | test/results/defaulttitle/g.4[ADD], | ||
191 | test/results/defaulttitle/g.5[ADD], | ||
192 | test/results/defaulttitle/g.6[ADD], | ||
193 | test/results/defaulttitle/g.7[ADD], | ||
194 | test/results/defaulttitle/g.8[ADD], | ||
195 | test/results/defaulttitle/g.9[ADD], | ||
196 | test/results/defaulttitle/g2.1[ADD], | ||
197 | test/results/defaulttitle/g2.2[ADD]: | ||
198 | Add new '--default-title' feature. | ||
199 | |||
200 | This displays the title of the default entry directly from the | ||
201 | parsed configuration file. | ||
202 | |||
203 | Signed-off-by: Cleber Rosa <crosa@redhat.com> | ||
204 | * [r1720] grubby.8, grubby.c, test.sh, | ||
205 | test/results/defaultindex[ADD], test/results/defaultindex/0[ADD], | ||
206 | test/results/defaultindex/2[ADD]: | ||
207 | Add new '--default-index' feature. | ||
208 | |||
209 | This displays the (numeric) index of the default entry directly | ||
210 | from the parsed configuration file. | ||
211 | |||
212 | Signed-off-by: Cleber Rosa <crosa@redhat.com> | ||
213 | * [r1719] test.sh: | ||
214 | test.sh: add feature for testing the output of a grubby command | ||
215 | |||
216 | Instead of comparing the configuration file that gets generated | ||
217 | by | ||
218 | a grubby command | ||
219 | |||
220 | Signed-off-by: Cleber Rosa <crosa@redhat.com> | ||
221 | * [r1718] grubby.c: | ||
222 | GRUB: Fix detection by increasing offset when comparing stage1 to | ||
223 | MBR | ||
224 | |||
225 | A couple of instructions of grub's stage1 get modified when | ||
226 | copied to | ||
227 | the | ||
228 | MBR (replaced by NOOPs). Check for this condition, and skip these | ||
229 | bytes | ||
230 | while compare stage1 and MBR. | ||
231 | |||
232 | Signed-off-by: Cleber Rosa <crosa@redhat.com> | ||
233 | * [r1717] grubby.c: | ||
234 | Don't crash if grubConfig not found. | ||
235 | |||
236 | I trigger this crash on my system. It has syslinux and no grub. | ||
237 | |||
238 | Signed-off-by: Christopher Li <kernel@chrisli.org> | ||
239 | * [r1716] new-kernel-pkg: | ||
240 | Adding extlinux support for new-kernel-pkg | ||
241 | |||
242 | Signed-off-by: Christopher Li <kernel@chrisli.org> | ||
243 | * [r1715] grubby.c: | ||
244 | Look for other possible grub config files | ||
245 | |||
246 | Since debian and Ubuntu don't symlink /boot/grub/menu.lst | ||
247 | to /etc/grub.conf, make it possible to look them over on | ||
248 | this original location as well. | ||
249 | |||
250 | Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com> | ||
251 | * [r1714] grubby.c: | ||
252 | Make grubby to recognize Ubuntu's spin of Grub2 | ||
253 | |||
254 | We are looking to use grubby as a bootloader entries | ||
255 | manager for the autotest project: | ||
256 | |||
257 | http://autotest.kernel.org/ | ||
258 | |||
259 | The project aims to cover more distros than just | ||
260 | red hat based ones, so this small patch fixes the | ||
261 | tool under Ubuntu. They have chosen to name grub2 | ||
262 | grub, in all directory references. Also, they don't | ||
263 | make symlinks of grub config files on /etc. So, | ||
264 | adapt the code to take into consideration this | ||
265 | behavior. | ||
266 | |||
267 | Changes from v1: | ||
268 | * Removed nested set of {} | ||
269 | * Made the return in case /etc/grub.d is found | ||
270 | indented | ||
271 | * Moved the dbgPrint("not found\n") statement | ||
272 | before the last return. Also, put a new | ||
273 | dbgPrint("found\n") if we've found a suitable | ||
274 | grub2 config file ubuntu/debian style. | ||
275 | |||
276 | Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com> | ||
277 | * [r1712] ChangeLog: | ||
278 | updated ChangeLog | ||
279 | niro | 1712 | * [r1711] VERSION: |
280 | -version 8.3 | ||
281 | * [r1710] new-kernel-pkg: | ||
282 | Fix new-kernel-pkg invocation of grubby for grub (bz 725185) | ||
283 | |||
284 | new-kernel-pkg did not specify --grub when it called grubby to | ||
285 | update the | ||
286 | kernel entry with an initrd. Grubby would then try to probe what | ||
287 | to | ||
288 | do and | ||
289 | would give preference to grub2 and thus leave an incomplete grub | ||
290 | entry. | ||
291 | |||
292 | new-kernel-pkg did also not specify the grub config file | ||
293 | explicitly | ||
294 | to | ||
295 | grubby as it do for the grub2 config file. That could perhaps in | ||
296 | some | ||
297 | situations cause grubby to do something else than new-kernel-pkg | ||
298 | expected. | ||
299 | |||
300 | Now --grub -c $grubConfig is specified explicitly in all cases. | ||
301 | * [r1708] ChangeLog: | ||
302 | updated ChangeLog | ||
303 | niro | 1708 | * [r1707] VERSION: |
304 | -version 8.2 | ||
305 | * [r1706] new-kernel-pkg: | ||
306 | Read HYPERVISOR and HYPERVISOR_ARGS from /etc/conf.d/grubby and | ||
307 | set | ||
308 | mbkernel and mbargs Signed-off-by: W. Michael Petullo | ||
309 | <mike@flyn.org> | ||
310 | * [r1704] ChangeLog: | ||
311 | updated ChangeLog | ||
312 | niro | 1704 | * [r1703] VERSION: |
313 | -version 8.1 | ||
314 | * [r1702] new-kernel-pkg: | ||
315 | Fix a miss-spelled variable name. | ||
316 | |||
317 | "grub2Config", not "grub2Cfg". | ||
318 | * [r1700] ChangeLog: | ||
319 | updated ChangeLog | ||
320 | niro | 1700 | * [r1699] VERSION: |
321 | -version 8.0 | ||
322 | * [r1698] test.sh, test/grub2.1[ADD], test/grub2.2[ADD], | ||
323 | test/results/add/g2-1.1[ADD], test/results/add/g2-1.2[ADD], | ||
324 | test/results/add/g2-1.3[ADD], test/results/add/g2-1.4[ADD]: | ||
325 | Add some limited test cases for grub2. | ||
326 | * [r1697] new-kernel-pkg: | ||
327 | Update grub2 support to new-kernel-pkg | ||
328 | |||
329 | This uses grubby for grub2 on efi and non-efi machines. | ||
330 | |||
331 | 2012-02-17 Niels Rogalla <niro@magellan-linux.de> | ||
332 | |||
333 | * [r1696] grubby.c: | ||
334 | Add grub2.cfg support to grubby. | ||
335 | * [r1695] Makefile: | ||
336 | Add -ggdb | ||
337 | * [r1694] Makefile, grubby.c: | ||
338 | Tweak some make options. | ||
339 | |||
340 | Some functions are only used in dbgPrintf() arguments. As such, | ||
341 | errors/warnings on unused functions need to be disabled. | ||
342 | |||
343 | Also, use -std=gnu99. | ||
344 | |||
345 | Also, add a debug target. | ||
346 | * [r1693] grubby.c: | ||
347 | Rename entrySeparator to entryStart. | ||
348 | |||
349 | Since we're actually using it to detect the start of an entry | ||
350 | (and | ||
351 | specifically not the end), name this slightly better. | ||
352 | * [r1692] grubby.c: | ||
353 | Convert configFileInfo structs to C99-style initializers. | ||
354 | |||
355 | Get rid of the old initializers where struct names were commends, | ||
356 | in | ||
357 | favor of C99-style assignment, so new fields can be put at | ||
358 | logical | ||
359 | places without having to change the whole file. | ||
360 | * [r1691] new-kernel-pkg, uboot[ADD]: | ||
361 | Add uboot support for ARM (#712199) | ||
362 | |||
363 | niro | 1433 | 2011-07-19 Niels Rogalla <niro@magellan-linux.de> |
364 | |||
365 | niro | 1700 | * [r1433] ChangeLog[ADD]: |
366 | -added ChangeLog | ||
367 | niro | 1433 | * [r1432] VERSION: |
368 | -version 7.0.18 - upstream fixed grub2 errors in new-kernel-pkg, | ||
369 | which we already done in our port of 7.0.17. ver up to be in sync | ||
370 | with upstream | ||
371 | * [r1431] new-kernel-pkg: | ||
372 | -we install grub2 without '2' suffix | ||
373 | |||
374 | 2011-06-03 Niels Rogalla <niro@magellan-linux.de> | ||
375 | |||
376 | * [r1341] VERSION: | ||
377 | -version 7.0.17.1 | ||
378 | * [r1340] installkernel: | ||
379 | -be dracut friendly | ||
380 | * [r1339] Makefile: | ||
381 | -added installkernel{,.8} | ||
382 | * [r1338] installkernel[CPY], installkernel.8[CPY]: | ||
383 | -copied from magellan-mkinitrd | ||
384 | * [r1336] VERSION: | ||
385 | -version 7.0.17 | ||
386 | * [r1335] Makefile: | ||
387 | -adjusted Makefile to use grubby's version file | ||
388 | * [r1334] new-kernel-pkg, new-kernel-pkg.8: | ||
389 | -be more dracut and plymouth friendly | ||
390 | * [r1333] make-tarball.sh[ADD]: | ||
391 | -added make-tarball script | ||
392 | * [r1332] .[CPY], Makefile[CPY], VERSION[CPY], grubby.8[CPY], | ||
393 | grubby.c[CPY], new-kernel-pkg[CPY], new-kernel-pkg.8[CPY], | ||
394 | test.sh[CPY], test/elilo.1[CPY], test/elilo.2[CPY], | ||
395 | test/results/add/g1.5[CPY], test/results/add/g1.6[CPY], | ||
396 | test/results/add/y3.1[CPY], test/results/multiboot/e1.1[CPY], | ||
397 | test/results/multiboot/e1.2[CPY], | ||
398 | test/results/multiboot/e2.1[CPY], | ||
399 | test/results/multiboot/e2.2[CPY], | ||
400 | test/results/multiboot/e2.3[CPY], test/results/updargs/g3.7[CPY], | ||
401 | test/results/updargs/g7.5[CPY], test/yaboot.1[CPY], | ||
402 | test/yaboot.2[CPY], test/yaboot.3[CPY]: | ||
403 | -forkin standalone grubby | ||
404 |