Magellan Linux

Contents of /tags/grubby-8_40_20170706/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3047 - (show annotations) (download)
Thu Jul 6 12:20:52 2017 UTC (6 years, 9 months ago) by niro
File size: 32074 byte(s)
tagged 'grubby-8_40_20170706'
1 2017-07-06 Niels Rogalla <niro@magellan-linux.de>
2
3 * [r3045] new-kernel-pkg:
4 -fixed typos
5
6 2017-06-27 Niels Rogalla <niro@magellan-linux.de>
7
8 * [r3033] make-tarball.sh:
9 -updated make-tarball.sh
10 * [r3031] grubby.c:
11 Fix setDefaultImage for s390/s390x (#1285601)
12 * [r3030] test.sh, test/results/default/z2.1[ADD]:
13 Add s390/s390x set-default-index test (#1285601)
14 * [r3029] grubby.c:
15 Fix --info for s390x/s390 (#1285601)
16 * [r3028] test.sh, test/results/info/z2.1[ADD], test/zipl.2[ADD]:
17 Add s390/s390x --info test (#1285601)
18 * [r3027] grubby.c:
19 Fix initial saved_entry read issue (#1285601)
20 * [r3026] grubby.c:
21 Initialize variable for ppc environment (#1285601)
22 * [r3025] grubby.c:
23 Write correct default to environment (#1285601)
24 * [r3024] grubby.c:
25 Fix findTemplate index logic (#1285601)
26 * [r3023] test.sh, test/grub2-support_files/grubenv.4[ADD],
27 test/grub2.19[ADD], test/results/remove/g2.19[ADD]:
28 Add multi-entry removal test (#1285601)
29 * [r3022] grubby.8:
30 Clarify --set-default-index in the man page.
31 * [r3021] grubby.c:
32 Don't assume --make-default just because --set-index was passed.
33 * [r3020] test/results/add/g1.17, test/results/add/g1.9,
34 test/results/remove/g7.1:
35 Fix some test cases where the resulting default index is wrong
36 * [r3019] grubby.c:
37 Track configuration modifications
38 * [r3018] grubby.c:
39 Add index constant definitions instead of open-coded values.
40 * [r3017] grubby.c:
41 Rename setDefaultImage variables
42 * [r3016] grubby.8:
43 Minor man page changes (#1232168)
44 * [r3015] grubby.8:
45 More edits for grubby.8 (#1232168)
46 * [r3014] grubby.c:
47 Fix inline help typo (#1232168)
48 * [r3013] grubby.8:
49 Update grubby man page contents (#bz1232168)
50 * [r3012] grubby.8:
51 Reorganize grubby man page (#1232168)
52 * [r3011] new-kernel-pkg:
53 Change debug entry insertion order (rhbz#1285601)
54 * [r3010] grubby.c:
55 Ensure command line updates also honor --set-index
56 * [r3009] test.sh, test/grub2-support_files/grubenv.3[ADD],
57 test/grub2.18[ADD], test/results/add/g2-1.18[ADD]:
58 Add a test case for a failure rmarshall saw in --set-index=
59 * [r3008] grubby.8:
60 Fix thinko on --set-index naming.
61 * [r3007] grubby.8, grubby.c, test.sh, test/grub.15[ADD],
62 test/results/add/g1.10[ADD], test/results/add/g1.17[ADD],
63 test/results/add/g1.8[ADD], test/results/add/g1.9[ADD]:
64 grubby: add --set-index to specify which position to add new
65 entries as
66 * [r3006] new-kernel-pkg:
67 Always do the "rungrubby --debug" after the normal kernel on
68 install.
69 * [r3005] new-kernel-pkg:
70 Add missing space
71 * [r3004] new-kernel-pkg:
72 Fix dracut cmdline options and conditionalize them to
73 --add-dracut-args
74 * [r3003] grubby.c, test.sh, test/grub2.16[ADD],
75 test/results/add/g2-1.16[ADD]:
76 Make SET_VARIABLE get handled individually in GetNextLine()
77 * [r3002] grubby.c:
78 Lindent, dammit.
79
80 2016-06-30 Niels Rogalla <niro@magellan-linux.de>
81
82 * [r2997] Makefile:
83 Make it possible to run "test.sh --verbose" from the make command
84 line.
85 * [r2996] new-kernel-pkg:
86 ppc64le sync grub.cfg changes to disk (#1212114)
87 * [r2995] grubby.c:
88 Don't leak from one extractTitle() call.
89 * [r2994] test.sh, test/results/defaultkernel/g.2[ADD]:
90 Make the grub1 defaultkernel test more reliable.
91 * [r2993] new-kernel-pkg:
92 Emit better systemd debug settings on debug entries.
93 * [r2992] grubby.c, test.sh, test/results/defaultkernel[ADD],
94 test/results/defaultkernel/g.1[ADD],
95 test/results/defaultkernel/l1.1[ADD],
96 test/results/defaultkernel/z.1[ADD],
97 test/results/defaulttitle/z.1[ADD]:
98 Add a bunch of tests for various --default-{kernel,title,index}.
99 * [r2991] grubby.c:
100 Drop SEGV handler
101 * [r2990] new-kernel-pkg:
102 Don't put spaces in debug entries on zipl platforms.
103 * [r2989] grubby.c:
104 grubby: properly handle mixed ' and " and nested quotes
105 * [r2988] README.rst:
106 Fix some stray whitespace
107 * [r2987] README.rst[ADD]:
108 add README with description of the test suite
109 * [r2986] grubby.c:
110 Set envFile from --env when bootloader is not specified
111 * [r2984] VERSION:
112 Bump version to 8.40
113 * [r2983] grubby.c:
114 grub2ExtractTitle and extractTitle don't do the same thing.
115 * [r2981] VERSION:
116 Bump version to 8.39
117 * [r2980] grubby.c, test.sh, test/grub.14[ADD],
118 test/results/add/g1.7[ADD]:
119 Make the cases for 0cb78dab /actually work/, not just not crash.
120 * [r2978] VERSION:
121 Bump version to 8.38
122 * [r2977] grubby.c:
123 Strdup the right place in title extraction.
124 * [r2975] VERSION:
125 Bump version to 8.37
126 * [r2974] test.sh, test/grub2.15, test/results/add/g2-1.14,
127 test/results/add/g2-1.15:
128 Actually get the test from a7800d8f right.
129 * [r2973] new-kernel-pkg, uboot:
130 cleanup dtb handling to work in the supported usecases
131 * [r2972] grubby.c, new-kernel-pkg, test.sh, test/extlinux.6[ADD],
132 test/results/add/extlinux6.1[ADD]:
133 add support for devicetree directories for use on arm
134 * [r2971] grubby.c, new-kernel-pkg, test.sh, test/extlinux.5[ADD],
135 test/results/add/extlinux5.1[ADD]:
136 Add --devtree support to extlinux (#1088933)
137 * [r2969] VERSION:
138 Bump version to 8.36
139 * [r2968] test.sh, test/grub2.15[ADD], test/results/add/g2-1.14,
140 test/results/add/g2-1.15[ADD]:
141 Split the test case for rescue images into tests with and without
142 linux16.
143
144 2016-06-29 Niels Rogalla <niro@magellan-linux.de>
145
146 * [r2967] grubby.8:
147 Update man page to include default config file for s390x
148 bootloader.
149 * [r2966] grubby.8:
150 Update grubby man page for Power8 PPC64LE
151 * [r2965] installkernel, new-kernel-pkg:
152 Fix ppc kernelName when invoked by installkernel.
153 * [r2964] new-kernel-pkg:
154 Treat kernel and kernel-core as identical in terms of
155 --make-default
156 * [r2963] grubby.c:
157 Get the error checking on getLineByType() return /right/.
158 * [r2962] grubby.c:
159 Always error check getLineByType()
160 * [r2961] new-kernel-pkg:
161 Conditionally create debug entries when installing kernels.
162 * [r2960] grubby.c:
163 Support filtering --update-kernel= by title as well.
164 * [r2959] grubby.c:
165 Make findTemplate actually return the saved default.
166 * [r2958] grubby.8:
167 Tell a slightly better fib about default bootloader config paths.
168 * [r2957] grubby.c:
169 grubby: fix initrd updating when multiboot exist
170
171 2014-07-16 Niels Rogalla <niro@magellan-linux.de>
172
173 * [r2718] grubby.c:
174 Don't go past the last element of indexVars in findEntryByPath
175 * [r2716] ChangeLog:
176 -updated ChangeLog
177 * [r2715] VERSION:
178 Bump version to 8.35
179 * [r2714] test.sh:
180 Fix a wrong test case (lacked --boot-filesystem=)
181 * [r2712] ChangeLog:
182 -updated ChangeLog
183 * [r2711] VERSION:
184 Bump version to 8.34
185 * [r2710] test/grub2.14[ADD], test/results/add/g2-1.14[ADD]:
186 -add missing files of previous patch
187 * [r2709] grubby.c, test.sh:
188 Strip the LT_END line from a new stanza before adding "missing"
189 parts.
190 * [r2708] grubby.c:
191 Include multiboot module parameters in --info (#997934)
192 * [r2706] ChangeLog:
193 -updated ChangeLog
194 * [r2705] VERSION:
195 Bump version to 8.33
196 * [r2704] new-kernel-pkg:
197 Actually do a fix for rhbz#1082318 that fixes the issue there.
198 * [r2702] ChangeLog:
199 -updated ChangeLog
200 * [r2701] VERSION:
201 Bump version to 8.32
202 * [r2700] grubby.c:
203 Previous ARM 64-bit test had the wrong compiler define for
204 aarch64.
205 * [r2699] new-kernel-pkg:
206 Fix bad check for new-kernel-pkg's command line arguments.
207 * [r2697] ChangeLog:
208 -updated ChangeLog
209 * [r2696] VERSION:
210 Bump release to 8.31
211 * [r2695] test.sh:
212 grub: Remove a redundant test
213 * [r2694] grubby.c:
214 grub: Fix a crash with kernel line without being preceded by
215 title
216 * [r2693] test.sh, test/extlinux.1[ADD], test/extlinux.2[ADD],
217 test/extlinux.3[ADD], test/extlinux.4[ADD],
218 test/results/add/extlinux1.1[ADD],
219 test/results/add/extlinux1.2[ADD],
220 test/results/add/extlinux1.3[ADD],
221 test/results/add/extlinux1.4[ADD],
222 test/results/add/extlinux2.1[ADD],
223 test/results/args/extlinux1.1[ADD],
224 test/results/args/extlinux1.2[ADD],
225 test/results/default/extlinux1.1[ADD],
226 test/results/default/extlinux1.2[ADD],
227 test/results/default/extlinux3.1[ADD],
228 test/results/default/extlinux3.2[ADD],
229 test/results/remove/extlinux3.1[ADD],
230 test/results/remove/extlinux4.1[ADD],
231 test/results/updargs/extlinux1.1[ADD],
232 test/results/updargs/extlinux1.2[ADD],
233 test/results/updargs/extlinux3.1[ADD],
234 test/results/updargs/extlinux3.2[ADD],
235 test/results/updargs/extlinux3.4[ADD],
236 test/results/updargs/extlinux3.7[ADD],
237 test/results/updargs/extlinux4.2[ADD],
238 test/results/updargs/extlinux4.3[ADD],
239 test/results/updargs/extlinux4.4[ADD],
240 test/results/updargs/extlinux4.5[ADD]:
241 extlinux: Add test suite
242 * [r2692] grubby.c:
243 extlinux: Understand "default" properly
244 * [r2690] ChangeLog:
245 -updated ChangeLog
246 * [r2689] VERSION:
247 Bump version to 8.30
248 * [r2688] grubby.c:
249 Always choose linux/initrd on efi-only platforms.
250 * [r2687] grubby.c, test.sh:
251 Avoid LT_LINUX_EFI/LT_INITRD_EFI on Aarch64.
252 * [r2686] new-kernel-pkg:
253 Actually /USE/ in new-kernel-pkg.
254 * [r2685] grubby.8, grubby.c, new-kernel-pkg, new-kernel-pkg.8,
255 test.sh, test/grub2.12[ADD], test/grub2.13[ADD],
256 test/results/add/g2-1.12[ADD], test/results/add/g2-1.13[ADD]:
257 Support "devicetree" directive in grub2.
258 * [r2684] new-kernel-pkg:
259 If we're on a zipl-based platform, use --banner passed to us
260 (sanitized.)
261 * [r2683] grubby.c, test.sh, test/grub2.10[ADD],
262 test/grub2.11[ADD], test/results/add/g2-1.10[ADD],
263 test/results/add/g2-1.11[ADD]:
264 Honor "linux16" and "initrd16"
265 * [r2682] grubby.c:
266 -grub2 -> grub fixes
267 * [r2681] new-kernel-pkg:
268 -honor all /etc/os-release files
269
270 2013-10-21 Niels Rogalla <niro@magellan-linux.de>
271
272 * [r2266] ChangeLog:
273 -updated ChangeLog
274 * [r2265] VERSION:
275 Bump version to 8.29
276 * [r2264] Makefile:
277 Use during make install.
278 * [r2263] grubby.c, new-kernel-pkg:
279 If we're using multiboot, add a new mbmodule not an initramfs
280 (#999908)
281 * [r2262] grubby.c:
282 Add support for SUSE grub2 configuration files
283 * [r2261] Makefile:
284 Only set RPM_OPT_FLAGS if undefined.
285 * [r2260] VERSION:
286 Bump version to 8.28
287 * [r2259] new-kernel-pkg:
288 update extlinux.conf on arm arches if it exists
289 * [r2258] grubby.c:
290 Handle numeric indices in grub2's saved environment.
291 * [r2257] grubby.c, test.sh, test/grub2.9[ADD],
292 test/results/add/g2-1.9[ADD]:
293 Attempt to compensate for shell quoting in grub names.
294 * [r2256] test/grub2-support_files/grubenv.1,
295 test/grub2-support_files/grubenv.2:
296 Fix bad grubenv file.
297 * [r2255] grubby.c, test.sh:
298 If we're using default=saved_entry, and there's nothing saved,
299 it's #0.
300 * [r2254] test.sh:
301 Only run the grub2 test suite on architectures where it's
302 meaningful.
303 * [r2253] VERSION:
304 Bump version to 8.27
305 * [r2252] grubby.c, test.sh, test/grub2-support_files[ADD],
306 test/grub2-support_files/.gitignore[ADD],
307 test/grub2-support_files/grubenv.0[ADD],
308 test/grub2-support_files/grubenv.1[ADD],
309 test/grub2-support_files/grubenv.2[ADD], test/grub2.7[ADD],
310 test/grub2.8[ADD], test/results/add/g2-1.8[ADD],
311 test/results/debug/g2.1, test/results/defaultindex/1[ADD]:
312 Make grub2's "set default=${saved_entry}" work better (#808021)
313 * [r2251] TODO[ADD]:
314 Add a TODO for a path to modernizing much of grubby's codebase.
315 * [r2250] grubby.c:
316 Don't continue executing after printing the default index.
317 * [r2249] VERSION:
318 Bump version to 8.26
319 * [r2248] new-kernel-pkg:
320 Conditionally call arm-boot-config's boot.scr generator if
321 available (#952428)
322 * [r2247] VERSION:
323 Bump version to 8.25
324 * [r2246] grubby.c:
325 Error instead of segfaulting if we can't find any working config
326 (#912873)
327 * [r2245] VERSION:
328 Bump version to 8.24
329 * [r2244] new-kernel-pkg:
330 Clean up Harald's untested code. (#923441)
331 * [r2243] VERSION:
332 Bump version to 8.23
333 * [r2242] new-kernel-pkg:
334 new-kernel-pkg: do not remove modules.* files not generated by
335 depmod
336 * [r2241] new-kernel-pkg:
337 new-kernel-pkg: factor out $kernelImage
338 * [r2240] new-kernel-pkg:
339 new-kernel-pkg: simplify argument parsing
340 * [r2239] new-kernel-pkg:
341 new-kernel-pkg: factor out $title generation
342 * [r2238] new-kernel-pkg:
343 Suppress error message in case of an empty /etc/fstab
344 * [r2237] new-kernel-pkg:
345 Fix empty root device in case of an empty /etc/fstab
346 * [r2236] Makefile, grubby.c, log.c[ADD], log.h[ADD],
347 test/results/debug/g2.1:
348 Add logging when things fail.
349 * [r2235] VERSION:
350 Bump version to 8.22
351 * [r2234] test.sh, test/grub.14[DEL], test/grub.15[DEL],
352 test/results/add/g1.7[DEL], test/results/add/g1.8[DEL]:
353 Revert "Add test case for rhbz#742885"
354
355 2013-02-20 Niels Rogalla <niro@magellan-linux.de>
356
357 * [r2061] ChangeLog:
358 Updated ChangeLog
359 * [r2060] VERSION:
360 Bump version to 8.21
361 * [r2059] new-kernel-pkg:
362 Use systemd vconsole.conf and locale.conf if present (#881908)
363 * [r2058] grubby.c:
364 Spelling fixes.
365 * [r2057] test.sh, test/grub.14[ADD], test/grub.15[ADD],
366 test/results/add/g1.7[ADD], test/results/add/g1.8[ADD]:
367 Add test case for rhbz#742885
368 * [r2056] grubby.c:
369 Deal with case-insensitive extlinux config file
370 * [r2054] ChangeLog:
371 -updated ChangeLog
372 * [r2053] VERSION:
373 Bump version to 8.20
374 * [r2052] grubby.c:
375 Fix removals and initrd additions for LT_KERNEL_EFI type entries.
376 * [r2051] new-kernel-pkg:
377 [new-kernel-pkg] pass --efi for removal and adding initramfs
378 images.
379
380 2012-10-01 Niels Rogalla <niro@magellan-linux.de>
381
382 * [r1943] ChangeLog:
383 -updated ChangeLog
384 * [r1941] VERSION:
385 Bump version to 8.19
386 * [r1940] grubby.c, new-kernel-pkg, test.sh, test/grub2.6[ADD],
387 test/results/add/g2-1.6[ADD], test/results/add/g2-1.7[ADD]:
388 Don't accidentally migrate from linuxefi back to linux (#859285)
389 * [r1938] VERSION:
390 Bump version to 8.18
391 * [r1937] new-kernel-pkg:
392 Change the way the kernel load address is determined for ARM
393 U-Boot.
394 * [r1935] VERSION:
395 Bump version to 8.17
396 * [r1934] grubby.c:
397 Fix broken alloca()/free() pair.
398 * [r1932] VERSION:
399 Bump version to 8.16
400 * [r1931] grubby.c:
401 Handle linuxefi and initrdefi lines correctly in grub2.
402
403 2012-07-02 Niels Rogalla <niro@magellan-linux.de>
404
405 * [r1870] ChangeLog:
406 -updated ChangeLog
407 * [r1869] Makefile:
408 -make sbindir variable and prepare grubby for usr-move
409 * [r1868] grubby.c:
410 Fix minor memory leak introduced by previous fix.
411 * [r1867] VERSION:
412 Update to 8.15
413 * [r1866] grubby.c:
414 Revert "Avoid string duplication calling dirname()"
415 * [r1865] VERSION:
416 Bump version to 8.14
417 * [r1864] Makefile, grubby.c:
418 Fix uninitialized variable error.
419 * [r1863] VERSION:
420 Since we've had a lot of changes, bump version to 8.13
421 * [r1862] grubby.8:
422 grubby.8: fixes for the grubby man page
423 * [r1861] test.sh, test/grub.12[ADD],
424 test/grub.12-support_files[ADD],
425 test/grub.12-support_files/boot[ADD],
426 test/grub.12-support_files/boot/grub[ADD],
427 test/grub.12-support_files/boot/grub/device.map[ADD],
428 test/grub.12-support_files/etc[ADD],
429 test/grub.12-support_files/etc/SuSE-release[ADD],
430 test/grub.12-support_files/etc/grub.conf[ADD],
431 test/results/info[ADD], test/results/info/g12.1[ADD]:
432 Fix for grub on SuSE systems: test lba and boot info
433 * [r1860] test/grub.13[ADD], test/results/setdefaultindex[ADD],
434 test/results/setdefaultindex/g.13.0[ADD],
435 test/results/setdefaultindex/g.13.1[ADD],
436 test/results/setdefaultindex/g.13.9[ADD],
437 test/results/setdefaultindex/g2.1.0[ADD],
438 test/results/setdefaultindex/g2.1.1[ADD],
439 test/results/setdefaultindex/g2.1.9[ADD]:
440 Add tests for --set-default-index feature
441 * [r1859] grubby.8, grubby.c:
442 Add --set-default-index feature
443 * [r1858] test.sh:
444 1 isn't a great value for MALLOC_PERTURB_ - use 5265.
445 * [r1857] test.sh:
446 test.sh: enable the use of MALLOC_PERTURB_
447 * [r1856] test.sh:
448 test.sh: revert bash 4 only syntax change
449 * [r1855] grubby.c:
450 Fix minor style issue.
451 * [r1854] grubby.c:
452 ia64/elilo: add support for probing the currently installed
453 bootloader
454 * [r1853] grubby.c:
455 ppc64/yaboot: add support for probing the currently installed
456 bootloader
457 * [r1852] grubby.c:
458 Fix grub detection on SuSE systems: config file order
459 * [r1851] grubby.c:
460 Invert "isSuseSystem()" test so the suse code is nearer the test.
461 * [r1850] grubby.c:
462 Fix for grub on SuSE systems: lba and boot information
463 * [r1849] grubby.c:
464 Support systems that do not have /boot as a separate filesystem
465 * [r1848] new-kernel-pkg:
466 Update the code to set the ubootAddress.
467 * [r1847] new-kernel-pkg, uboot:
468 Update the ubootDir default.
469 * [r1846] grubby.c:
470 Convert to c99 loop initializations.
471 * [r1845] grubby.c:
472 Avoid string duplication calling dirname()
473 * [r1844] grubby.c:
474 Add "const" specifier to function arguments
475 * [r1843] new-kernel-pkg, uboot:
476 Support UBOOT_IMGADDR override
477 * [r1842] VERSION:
478 Update version to 8.12
479 * [r1841] grubby.c:
480 Pick the last / device (#826537)
481 * [r1840] grubby.c, test/grub2.2, test/results/add/g2-1.4:
482 Preserve "trailing indentation" when splitting line elements
483 (#742720)
484 * [r1839] VERSION:
485 Update version to 8.11
486 * [r1838] test/grub2.5[ADD], test/results/add/g2-1.5[ADD]:
487 Fix failures with grub 2.00~beta2 and 8.10, and add a test case.
488 * [r1837] grubby.c, test.sh:
489 Fix failures with grub 2.00~beta2 and 8.10, and add a test case.
490
491 2012-04-16 Niels Rogalla <niro@magellan-linux.de>
492
493 * [r1805] ChangeLog:
494 updated ChangeLog
495 * [r1804] VERSION:
496 version 8.10
497 * [r1803] new-kernel-pkg:
498 Explicitly check for Grub2 on ppc
499 * [r1802] grubby.c:
500 Try to find grub2 config first
501 * [r1801] grubby.c, test.sh, test/grub2.3[ADD], test/grub2.4[ADD],
502 test/results/debug/g2.1, test/results/remove/g2-1.1[ADD],
503 test/results/remove/g2-1.2[ADD]:
504 Make --remove-kenrel support titles in grub2 (and other fixes)
505 * [r1800] grubby.c:
506 Use "isquote" where appropriate.
507
508 2012-03-03 Niels Rogalla <niro@magellan-linux.de>
509
510 * [r1778] new-kernel-pkg:
511 -support /etc/os-release
512 * [r1772] ChangeLog:
513 -udpated ChangeLog
514 * [r1771] VERSION:
515 -version 8.9
516 * [r1770] new-kernel-pkg:
517 Add support to new-kernel-pkg to recognize ARCH == armv5tel
518 needed for
519 Kirkwood based systems.
520
521 2012-02-18 Niels Rogalla <niro@magellan-linux.de>
522
523 * [r1757] new-kernel-pkg:
524 -let the menuentries match our grub-cosmetic patch
525 * [r1756] new-kernel-pkg:
526 -fix a infinite loop caused by dropping the path prefix of
527 mkinitrd
528 * [r1754] ChangeLog:
529 updated ChangeLog
530 * [r1753] VERSION:
531 -version 8.8_20120218
532 * [r1752] new-kernel-pkg:
533 new-kernel-pkg fails to find U-Boot.
534
535 new-kernel-pkg fails to find U-Boot if the boot directory is not
536 on a
537 separate partition.
538
539 This only affects the U-Boot image creation section of the
540 new-kernel-pkg
541 script, for ARM based systems. My initial changes were only
542 tested on
543 specific ARM-OMAP systems that required a specific U-Boot
544 partition.
545 Testing
546 on additional systems (ARM-Tegra) revealed this incorrect
547 assumption.
548
549 The attached patch includes the following:
550
551 - Cosmetic: Correction - change uBoot to U-Boot in comments.
552 - Additions:
553 -- Recognize ARCH == armv7hl
554 -- Make U-Boot load/execute address variable (based on machine)
555 -- Bug: Correct invalid assumption that the U-Boot directory
556 would
557 always
558 be on a separate partition.
559 * [r1751] grubby.c:
560 Try to display title when printing information with '--info'
561
562 Signed-off-by: Cleber Rosa <crosa@redhat.com>
563 * [r1750] grubby.c:
564 Fix endswith() to correctly test its input for validity.
565 * [r1749] installkernel, new-kernel-pkg:
566 Fix hard coded paths so kernel's "make install" will DTRT.
567 * [r1748] grubby.c:
568 Implement support for "default saved" for grub2
569
570 Signed-off-by: Cleber Rosa <crosa@redhat.com>
571 * [r1747] grubby.c:
572 Include prefix when printing kernel information
573
574 When running grubby with '--info=', the initrd is displayed with
575 the
576 boot prefix, so, for correctness, also include it in the kernel
577 line.
578
579 Signed-off-by: Cleber Rosa <crosa@redhat.com>
580 * [r1746] grubby.c:
581 Refactor grub2 title extraction, making it a function
582
583 '--default-title' now uses that functions, but others such as
584 '--info'
585 could, IMHO, also display the title and thus, use the refactored
586 function.
587
588 Signed-off-by: Cleber Rosa <crosa@redhat.com>
589 * [r1745] grubby.c:
590 Include a / when one is missing in paths (#769641)
591 * [r1743] ChangeLog:
592 updated ChangeLog
593 * [r1742] VERSION:
594 -version 8.8
595 * [r1741] test.sh:
596 Fix new test case to not care if /boot is a mountpoint...
597 * [r1739] ChangeLog:
598 updated ChangeLog
599 * [r1738] VERSION:
600 -version 8.7
601 * [r1737] test.sh, test/results/debug[ADD],
602 test/results/debug/g2.1[ADD], test/results/debug/g2.1.2[ADD]:
603 Add a test case for --debug.
604
605 Make sure --debug works as expected in both successful and failed
606 attempts.
607 * [r1736] grubby.8, grubby.c:
608 grubby: Add --debug option to annotate "suitable template"
609 failures
610
611 Today, when grubby fails with "no suitable template found" the
612 user
613 has no idea why that might be. These can fail for several
614 reasons.
615 So add a --debug option to print out the line in grubby.c where
616 it
617 failed, a text message describing the failure, and a copy of the
618 bootloader entry that failed, to aid investigation.
619
620 Signed-off-by: Eric Sandeen <sandeen@redhat.com>
621 * [r1734] ChangeLog:
622 updated ChangeLog
623 * [r1733] VERSION:
624 -version 8.6
625 * [r1732] test/results/remove/g2-1.4:
626 Fix another test broken by 4bb88f93e6c7cf432e354a164fce8743794a
627 * [r1730] ChangeLog:
628 updated ChangeLog
629 * [r1729] VERSION:
630 -version 8.5
631 * [r1728] new-kernel-pkg:
632 Don't hardcode dracut path. (#768645)
633
634 dracut moved from /sbin to /usr/bin, so fix that, but also it's
635 pointless to hardcode what's in PATH.
636 * [r1727] grubby.c, test.sh, test/results/remove/g2-1.4[ADD]:
637 Use dummy entries for text following kernel entries so it is
638 preserved
639 (#744717)
640
641 Signed-off-by: Adam Williamson <awilliam@redhat.com>
642 * [r1726] test/results/defaulttitle/g2.1:
643 Fix up one test result for changes from
644 4bb88f93e6c7cf432e354a164fce8743794a84a5
645 * [r1724] ChangeLog:
646 updated ChangeLog
647 * [r1723] VERSION:
648 -version 8.4
649 * [r1722] grubby.c, test/grub2.1, test/results/add/g2-1.1,
650 test/results/add/g2-1.2, test/results/add/g2-1.3:
651 Update "echo 'Loading..." messages to the new kernel version
652
653 grub2-mkconfig will create lines like:
654 echo 'Loading Linux 3.1.0-0.rc6.git0.0.fc16.x86_64
655 ...'
656 - depending on the content of /etc/default/grub.
657
658 grubby would recognize these lines and replace them with lines
659 with the
660 right
661 version number such as:
662 echo 'Loading Fedora (3.1.0-0.rc6.git0.0.fc16.x86_64)'
663
664 these lines were however not recognized by grubby and would not
665 be
666 updated on
667 next kernel update when this entry would be used as template.
668
669 With this patch grubby will no longer look for a specific title
670 but
671 patch any
672 "echo 'Loading" line immediately before the kernel line.
673
674 Signed-off-by: Adam Williamson <awilliam@redhat.com>
675 * [r1721] grubby.8, grubby.c, test.sh,
676 test/results/defaulttitle[ADD],
677 test/results/defaulttitle/g.1[ADD],
678 test/results/defaulttitle/g.10[ADD],
679 test/results/defaulttitle/g.11[ADD],
680 test/results/defaulttitle/g.2[ADD],
681 test/results/defaulttitle/g.3[ADD],
682 test/results/defaulttitle/g.4[ADD],
683 test/results/defaulttitle/g.5[ADD],
684 test/results/defaulttitle/g.6[ADD],
685 test/results/defaulttitle/g.7[ADD],
686 test/results/defaulttitle/g.8[ADD],
687 test/results/defaulttitle/g.9[ADD],
688 test/results/defaulttitle/g2.1[ADD],
689 test/results/defaulttitle/g2.2[ADD]:
690 Add new '--default-title' feature.
691
692 This displays the title of the default entry directly from the
693 parsed configuration file.
694
695 Signed-off-by: Cleber Rosa <crosa@redhat.com>
696 * [r1720] grubby.8, grubby.c, test.sh,
697 test/results/defaultindex[ADD], test/results/defaultindex/0[ADD],
698 test/results/defaultindex/2[ADD]:
699 Add new '--default-index' feature.
700
701 This displays the (numeric) index of the default entry directly
702 from the parsed configuration file.
703
704 Signed-off-by: Cleber Rosa <crosa@redhat.com>
705 * [r1719] test.sh:
706 test.sh: add feature for testing the output of a grubby command
707
708 Instead of comparing the configuration file that gets generated
709 by
710 a grubby command
711
712 Signed-off-by: Cleber Rosa <crosa@redhat.com>
713 * [r1718] grubby.c:
714 GRUB: Fix detection by increasing offset when comparing stage1 to
715 MBR
716
717 A couple of instructions of grub's stage1 get modified when
718 copied to
719 the
720 MBR (replaced by NOOPs). Check for this condition, and skip these
721 bytes
722 while compare stage1 and MBR.
723
724 Signed-off-by: Cleber Rosa <crosa@redhat.com>
725 * [r1717] grubby.c:
726 Don't crash if grubConfig not found.
727
728 I trigger this crash on my system. It has syslinux and no grub.
729
730 Signed-off-by: Christopher Li <kernel@chrisli.org>
731 * [r1716] new-kernel-pkg:
732 Adding extlinux support for new-kernel-pkg
733
734 Signed-off-by: Christopher Li <kernel@chrisli.org>
735 * [r1715] grubby.c:
736 Look for other possible grub config files
737
738 Since debian and Ubuntu don't symlink /boot/grub/menu.lst
739 to /etc/grub.conf, make it possible to look them over on
740 this original location as well.
741
742 Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
743 * [r1714] grubby.c:
744 Make grubby to recognize Ubuntu's spin of Grub2
745
746 We are looking to use grubby as a bootloader entries
747 manager for the autotest project:
748
749 http://autotest.kernel.org/
750
751 The project aims to cover more distros than just
752 red hat based ones, so this small patch fixes the
753 tool under Ubuntu. They have chosen to name grub2
754 grub, in all directory references. Also, they don't
755 make symlinks of grub config files on /etc. So,
756 adapt the code to take into consideration this
757 behavior.
758
759 Changes from v1:
760 * Removed nested set of {}
761 * Made the return in case /etc/grub.d is found
762 indented
763 * Moved the dbgPrint("not found\n") statement
764 before the last return. Also, put a new
765 dbgPrint("found\n") if we've found a suitable
766 grub2 config file ubuntu/debian style.
767
768 Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
769 * [r1712] ChangeLog:
770 updated ChangeLog
771 * [r1711] VERSION:
772 -version 8.3
773 * [r1710] new-kernel-pkg:
774 Fix new-kernel-pkg invocation of grubby for grub (bz 725185)
775
776 new-kernel-pkg did not specify --grub when it called grubby to
777 update the
778 kernel entry with an initrd. Grubby would then try to probe what
779 to
780 do and
781 would give preference to grub2 and thus leave an incomplete grub
782 entry.
783
784 new-kernel-pkg did also not specify the grub config file
785 explicitly
786 to
787 grubby as it do for the grub2 config file. That could perhaps in
788 some
789 situations cause grubby to do something else than new-kernel-pkg
790 expected.
791
792 Now --grub -c $grubConfig is specified explicitly in all cases.
793 * [r1708] ChangeLog:
794 updated ChangeLog
795 * [r1707] VERSION:
796 -version 8.2
797 * [r1706] new-kernel-pkg:
798 Read HYPERVISOR and HYPERVISOR_ARGS from /etc/conf.d/grubby and
799 set
800 mbkernel and mbargs Signed-off-by: W. Michael Petullo
801 <mike@flyn.org>
802 * [r1704] ChangeLog:
803 updated ChangeLog
804 * [r1703] VERSION:
805 -version 8.1
806 * [r1702] new-kernel-pkg:
807 Fix a miss-spelled variable name.
808
809 "grub2Config", not "grub2Cfg".
810 * [r1700] ChangeLog:
811 updated ChangeLog
812 * [r1699] VERSION:
813 -version 8.0
814 * [r1698] test.sh, test/grub2.1[ADD], test/grub2.2[ADD],
815 test/results/add/g2-1.1[ADD], test/results/add/g2-1.2[ADD],
816 test/results/add/g2-1.3[ADD], test/results/add/g2-1.4[ADD]:
817 Add some limited test cases for grub2.
818 * [r1697] new-kernel-pkg:
819 Update grub2 support to new-kernel-pkg
820
821 This uses grubby for grub2 on efi and non-efi machines.
822
823 2012-02-17 Niels Rogalla <niro@magellan-linux.de>
824
825 * [r1696] grubby.c:
826 Add grub2.cfg support to grubby.
827 * [r1695] Makefile:
828 Add -ggdb
829 * [r1694] Makefile, grubby.c:
830 Tweak some make options.
831
832 Some functions are only used in dbgPrintf() arguments. As such,
833 errors/warnings on unused functions need to be disabled.
834
835 Also, use -std=gnu99.
836
837 Also, add a debug target.
838 * [r1693] grubby.c:
839 Rename entrySeparator to entryStart.
840
841 Since we're actually using it to detect the start of an entry
842 (and
843 specifically not the end), name this slightly better.
844 * [r1692] grubby.c:
845 Convert configFileInfo structs to C99-style initializers.
846
847 Get rid of the old initializers where struct names were commends,
848 in
849 favor of C99-style assignment, so new fields can be put at
850 logical
851 places without having to change the whole file.
852 * [r1691] new-kernel-pkg, uboot[ADD]:
853 Add uboot support for ARM (#712199)
854
855 2011-07-19 Niels Rogalla <niro@magellan-linux.de>
856
857 * [r1433] ChangeLog[ADD]:
858 -added ChangeLog
859 * [r1432] VERSION:
860 -version 7.0.18 - upstream fixed grub2 errors in new-kernel-pkg,
861 which we already done in our port of 7.0.17. ver up to be in sync
862 with upstream
863 * [r1431] new-kernel-pkg:
864 -we install grub2 without '2' suffix
865
866 2011-06-03 Niels Rogalla <niro@magellan-linux.de>
867
868 * [r1341] VERSION:
869 -version 7.0.17.1
870 * [r1340] installkernel:
871 -be dracut friendly
872 * [r1339] Makefile:
873 -added installkernel{,.8}
874 * [r1338] installkernel[CPY], installkernel.8[CPY]:
875 -copied from magellan-mkinitrd
876 * [r1336] VERSION:
877 -version 7.0.17
878 * [r1335] Makefile:
879 -adjusted Makefile to use grubby's version file
880 * [r1334] new-kernel-pkg, new-kernel-pkg.8:
881 -be more dracut and plymouth friendly
882 * [r1333] make-tarball.sh[ADD]:
883 -added make-tarball script
884 * [r1332] .[CPY], Makefile[CPY], VERSION[CPY], grubby.8[CPY],
885 grubby.c[CPY], new-kernel-pkg[CPY], new-kernel-pkg.8[CPY],
886 test.sh[CPY], test/elilo.1[CPY], test/elilo.2[CPY],
887 test/results/add/g1.5[CPY], test/results/add/g1.6[CPY],
888 test/results/add/y3.1[CPY], test/results/multiboot/e1.1[CPY],
889 test/results/multiboot/e1.2[CPY],
890 test/results/multiboot/e2.1[CPY],
891 test/results/multiboot/e2.2[CPY],
892 test/results/multiboot/e2.3[CPY], test/results/updargs/g3.7[CPY],
893 test/results/updargs/g7.5[CPY], test/yaboot.1[CPY],
894 test/yaboot.2[CPY], test/yaboot.3[CPY]:
895 -forkin standalone grubby
896
897 2010-12-15 Niels Rogalla <niro@magellan-linux.de>
898
899 * [r1183]
900 -fixed missing man-pages
901 * [r1178]
902 -added missing man page
903 * [r1177]
904 -added check for return value of getuuidbydev() - resolves a
905 segfault if the device does not exist - see rhbz#592294
906
907 2010-09-14 Niels Rogalla <niro@magellan-linux.de>
908
909 * [r1156]
910 -merged with upstream:
911 -update initrd support
912 -better rootdev handling
913 -better support for uuids
914 * [r1153]
915 -install grubby man-page
916 * [r1152]
917 -fixed a typo
918
919 2009-11-17 Niels Rogalla <niro@magellan-linux.de>
920
921 * [r937]
922 -fixed missing mandir variable
923
924 2009-10-28 Niels Rogalla <niro@magellan-linux.de>
925
926 * [r926]
927 -read grub options from /etc/conf.d/grub
928 * [r925]
929 -read config from /etc/conf.d/grubby
930 * [r924]
931 -updated style
932 * [r923]
933 -pulled in new version from fedora (7.0.8) with update support
934 -removed dracut and fedara specific stuff
935 -fixed to work with magellan
936 * [r920]
937 -fixed grub.conf default location
938 * [r917]
939 -we not providing installkernel here
940 * [r914]
941 -updated grubby to version 7.0.8 from fedory with blkid support
942
943 2009-04-24 Niels Rogalla <niro@magellan-linux.de>
944
945 * [r819]
946 -converted cvsignore to svn:ignore propset
947
948 2007-09-02 Niels Rogalla <niro@magellan-linux.de>
949
950 * [r547]
951 -fixed CFLAGS
952
953 2007-09-01 Niels Rogalla <niro@magellan-linux.de>
954
955 * [r532]
956 -import if magellan mkinitrd; it is a fork of redhats
957 mkinitrd-5.0.8 with all magellan patches and features; deprecates
958 magellan-src/mkinitrd
959