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