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