Magellan Linux

Annotation of /trunk/grubby/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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