Annotation of /trunk/grubby/ChangeLog
Parent Directory | Revision Log
Revision 1734 -
(hide annotations)
(download)
Sat Feb 18 01:00:56 2012 UTC (12 years, 7 months ago) by niro
File size: 9022 byte(s)
Sat Feb 18 01:00:56 2012 UTC (12 years, 7 months ago) by niro
File size: 9022 byte(s)
updated ChangeLog
1 | niro | 1700 | 2012-02-18 Niels Rogalla <niro@magellan-linux.de> |
2 | |||
3 | niro | 1734 | * [r1733] VERSION: |
4 | -version 8.6 | ||
5 | * [r1732] test/results/remove/g2-1.4: | ||
6 | Fix another test broken by 4bb88f93e6c7cf432e354a164fce8743794a | ||
7 | * [r1730] ChangeLog: | ||
8 | updated ChangeLog | ||
9 | niro | 1730 | * [r1729] VERSION: |
10 | -version 8.5 | ||
11 | * [r1728] new-kernel-pkg: | ||
12 | Don't hardcode dracut path. (#768645) | ||
13 | |||
14 | dracut moved from /sbin to /usr/bin, so fix that, but also it's | ||
15 | pointless to hardcode what's in PATH. | ||
16 | * [r1727] grubby.c, test.sh, test/results/remove/g2-1.4[ADD]: | ||
17 | Use dummy entries for text following kernel entries so it is | ||
18 | preserved | ||
19 | (#744717) | ||
20 | |||
21 | Signed-off-by: Adam Williamson <awilliam@redhat.com> | ||
22 | * [r1726] test/results/defaulttitle/g2.1: | ||
23 | Fix up one test result for changes from | ||
24 | 4bb88f93e6c7cf432e354a164fce8743794a84a5 | ||
25 | * [r1724] ChangeLog: | ||
26 | updated ChangeLog | ||
27 | niro | 1724 | * [r1723] VERSION: |
28 | -version 8.4 | ||
29 | * [r1722] grubby.c, test/grub2.1, test/results/add/g2-1.1, | ||
30 | test/results/add/g2-1.2, test/results/add/g2-1.3: | ||
31 | Update "echo 'Loading..." messages to the new kernel version | ||
32 | |||
33 | grub2-mkconfig will create lines like: | ||
34 | echo 'Loading Linux 3.1.0-0.rc6.git0.0.fc16.x86_64 | ||
35 | ...' | ||
36 | - depending on the content of /etc/default/grub. | ||
37 | |||
38 | grubby would recognize these lines and replace them with lines | ||
39 | with the | ||
40 | right | ||
41 | version number such as: | ||
42 | echo 'Loading Fedora (3.1.0-0.rc6.git0.0.fc16.x86_64)' | ||
43 | |||
44 | these lines were however not recognized by grubby and would not | ||
45 | be | ||
46 | updated on | ||
47 | next kernel update when this entry would be used as template. | ||
48 | |||
49 | With this patch grubby will no longer look for a specific title | ||
50 | but | ||
51 | patch any | ||
52 | "echo 'Loading" line immediately before the kernel line. | ||
53 | |||
54 | Signed-off-by: Adam Williamson <awilliam@redhat.com> | ||
55 | * [r1721] grubby.8, grubby.c, test.sh, | ||
56 | test/results/defaulttitle[ADD], | ||
57 | test/results/defaulttitle/g.1[ADD], | ||
58 | test/results/defaulttitle/g.10[ADD], | ||
59 | test/results/defaulttitle/g.11[ADD], | ||
60 | test/results/defaulttitle/g.2[ADD], | ||
61 | test/results/defaulttitle/g.3[ADD], | ||
62 | test/results/defaulttitle/g.4[ADD], | ||
63 | test/results/defaulttitle/g.5[ADD], | ||
64 | test/results/defaulttitle/g.6[ADD], | ||
65 | test/results/defaulttitle/g.7[ADD], | ||
66 | test/results/defaulttitle/g.8[ADD], | ||
67 | test/results/defaulttitle/g.9[ADD], | ||
68 | test/results/defaulttitle/g2.1[ADD], | ||
69 | test/results/defaulttitle/g2.2[ADD]: | ||
70 | Add new '--default-title' feature. | ||
71 | |||
72 | This displays the title of the default entry directly from the | ||
73 | parsed configuration file. | ||
74 | |||
75 | Signed-off-by: Cleber Rosa <crosa@redhat.com> | ||
76 | * [r1720] grubby.8, grubby.c, test.sh, | ||
77 | test/results/defaultindex[ADD], test/results/defaultindex/0[ADD], | ||
78 | test/results/defaultindex/2[ADD]: | ||
79 | Add new '--default-index' feature. | ||
80 | |||
81 | This displays the (numeric) index of the default entry directly | ||
82 | from the parsed configuration file. | ||
83 | |||
84 | Signed-off-by: Cleber Rosa <crosa@redhat.com> | ||
85 | * [r1719] test.sh: | ||
86 | test.sh: add feature for testing the output of a grubby command | ||
87 | |||
88 | Instead of comparing the configuration file that gets generated | ||
89 | by | ||
90 | a grubby command | ||
91 | |||
92 | Signed-off-by: Cleber Rosa <crosa@redhat.com> | ||
93 | * [r1718] grubby.c: | ||
94 | GRUB: Fix detection by increasing offset when comparing stage1 to | ||
95 | MBR | ||
96 | |||
97 | A couple of instructions of grub's stage1 get modified when | ||
98 | copied to | ||
99 | the | ||
100 | MBR (replaced by NOOPs). Check for this condition, and skip these | ||
101 | bytes | ||
102 | while compare stage1 and MBR. | ||
103 | |||
104 | Signed-off-by: Cleber Rosa <crosa@redhat.com> | ||
105 | * [r1717] grubby.c: | ||
106 | Don't crash if grubConfig not found. | ||
107 | |||
108 | I trigger this crash on my system. It has syslinux and no grub. | ||
109 | |||
110 | Signed-off-by: Christopher Li <kernel@chrisli.org> | ||
111 | * [r1716] new-kernel-pkg: | ||
112 | Adding extlinux support for new-kernel-pkg | ||
113 | |||
114 | Signed-off-by: Christopher Li <kernel@chrisli.org> | ||
115 | * [r1715] grubby.c: | ||
116 | Look for other possible grub config files | ||
117 | |||
118 | Since debian and Ubuntu don't symlink /boot/grub/menu.lst | ||
119 | to /etc/grub.conf, make it possible to look them over on | ||
120 | this original location as well. | ||
121 | |||
122 | Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com> | ||
123 | * [r1714] grubby.c: | ||
124 | Make grubby to recognize Ubuntu's spin of Grub2 | ||
125 | |||
126 | We are looking to use grubby as a bootloader entries | ||
127 | manager for the autotest project: | ||
128 | |||
129 | http://autotest.kernel.org/ | ||
130 | |||
131 | The project aims to cover more distros than just | ||
132 | red hat based ones, so this small patch fixes the | ||
133 | tool under Ubuntu. They have chosen to name grub2 | ||
134 | grub, in all directory references. Also, they don't | ||
135 | make symlinks of grub config files on /etc. So, | ||
136 | adapt the code to take into consideration this | ||
137 | behavior. | ||
138 | |||
139 | Changes from v1: | ||
140 | * Removed nested set of {} | ||
141 | * Made the return in case /etc/grub.d is found | ||
142 | indented | ||
143 | * Moved the dbgPrint("not found\n") statement | ||
144 | before the last return. Also, put a new | ||
145 | dbgPrint("found\n") if we've found a suitable | ||
146 | grub2 config file ubuntu/debian style. | ||
147 | |||
148 | Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com> | ||
149 | * [r1712] ChangeLog: | ||
150 | updated ChangeLog | ||
151 | niro | 1712 | * [r1711] VERSION: |
152 | -version 8.3 | ||
153 | * [r1710] new-kernel-pkg: | ||
154 | Fix new-kernel-pkg invocation of grubby for grub (bz 725185) | ||
155 | |||
156 | new-kernel-pkg did not specify --grub when it called grubby to | ||
157 | update the | ||
158 | kernel entry with an initrd. Grubby would then try to probe what | ||
159 | to | ||
160 | do and | ||
161 | would give preference to grub2 and thus leave an incomplete grub | ||
162 | entry. | ||
163 | |||
164 | new-kernel-pkg did also not specify the grub config file | ||
165 | explicitly | ||
166 | to | ||
167 | grubby as it do for the grub2 config file. That could perhaps in | ||
168 | some | ||
169 | situations cause grubby to do something else than new-kernel-pkg | ||
170 | expected. | ||
171 | |||
172 | Now --grub -c $grubConfig is specified explicitly in all cases. | ||
173 | * [r1708] ChangeLog: | ||
174 | updated ChangeLog | ||
175 | niro | 1708 | * [r1707] VERSION: |
176 | -version 8.2 | ||
177 | * [r1706] new-kernel-pkg: | ||
178 | Read HYPERVISOR and HYPERVISOR_ARGS from /etc/conf.d/grubby and | ||
179 | set | ||
180 | mbkernel and mbargs Signed-off-by: W. Michael Petullo | ||
181 | <mike@flyn.org> | ||
182 | * [r1704] ChangeLog: | ||
183 | updated ChangeLog | ||
184 | niro | 1704 | * [r1703] VERSION: |
185 | -version 8.1 | ||
186 | * [r1702] new-kernel-pkg: | ||
187 | Fix a miss-spelled variable name. | ||
188 | |||
189 | "grub2Config", not "grub2Cfg". | ||
190 | * [r1700] ChangeLog: | ||
191 | updated ChangeLog | ||
192 | niro | 1700 | * [r1699] VERSION: |
193 | -version 8.0 | ||
194 | * [r1698] test.sh, test/grub2.1[ADD], test/grub2.2[ADD], | ||
195 | test/results/add/g2-1.1[ADD], test/results/add/g2-1.2[ADD], | ||
196 | test/results/add/g2-1.3[ADD], test/results/add/g2-1.4[ADD]: | ||
197 | Add some limited test cases for grub2. | ||
198 | * [r1697] new-kernel-pkg: | ||
199 | Update grub2 support to new-kernel-pkg | ||
200 | |||
201 | This uses grubby for grub2 on efi and non-efi machines. | ||
202 | |||
203 | 2012-02-17 Niels Rogalla <niro@magellan-linux.de> | ||
204 | |||
205 | * [r1696] grubby.c: | ||
206 | Add grub2.cfg support to grubby. | ||
207 | * [r1695] Makefile: | ||
208 | Add -ggdb | ||
209 | * [r1694] Makefile, grubby.c: | ||
210 | Tweak some make options. | ||
211 | |||
212 | Some functions are only used in dbgPrintf() arguments. As such, | ||
213 | errors/warnings on unused functions need to be disabled. | ||
214 | |||
215 | Also, use -std=gnu99. | ||
216 | |||
217 | Also, add a debug target. | ||
218 | * [r1693] grubby.c: | ||
219 | Rename entrySeparator to entryStart. | ||
220 | |||
221 | Since we're actually using it to detect the start of an entry | ||
222 | (and | ||
223 | specifically not the end), name this slightly better. | ||
224 | * [r1692] grubby.c: | ||
225 | Convert configFileInfo structs to C99-style initializers. | ||
226 | |||
227 | Get rid of the old initializers where struct names were commends, | ||
228 | in | ||
229 | favor of C99-style assignment, so new fields can be put at | ||
230 | logical | ||
231 | places without having to change the whole file. | ||
232 | * [r1691] new-kernel-pkg, uboot[ADD]: | ||
233 | Add uboot support for ARM (#712199) | ||
234 | |||
235 | niro | 1433 | 2011-07-19 Niels Rogalla <niro@magellan-linux.de> |
236 | |||
237 | niro | 1700 | * [r1433] ChangeLog[ADD]: |
238 | -added ChangeLog | ||
239 | niro | 1433 | * [r1432] VERSION: |
240 | -version 7.0.18 - upstream fixed grub2 errors in new-kernel-pkg, | ||
241 | which we already done in our port of 7.0.17. ver up to be in sync | ||
242 | with upstream | ||
243 | * [r1431] new-kernel-pkg: | ||
244 | -we install grub2 without '2' suffix | ||
245 | |||
246 | 2011-06-03 Niels Rogalla <niro@magellan-linux.de> | ||
247 | |||
248 | * [r1341] VERSION: | ||
249 | -version 7.0.17.1 | ||
250 | * [r1340] installkernel: | ||
251 | -be dracut friendly | ||
252 | * [r1339] Makefile: | ||
253 | -added installkernel{,.8} | ||
254 | * [r1338] installkernel[CPY], installkernel.8[CPY]: | ||
255 | -copied from magellan-mkinitrd | ||
256 | * [r1336] VERSION: | ||
257 | -version 7.0.17 | ||
258 | * [r1335] Makefile: | ||
259 | -adjusted Makefile to use grubby's version file | ||
260 | * [r1334] new-kernel-pkg, new-kernel-pkg.8: | ||
261 | -be more dracut and plymouth friendly | ||
262 | * [r1333] make-tarball.sh[ADD]: | ||
263 | -added make-tarball script | ||
264 | * [r1332] .[CPY], Makefile[CPY], VERSION[CPY], grubby.8[CPY], | ||
265 | grubby.c[CPY], new-kernel-pkg[CPY], new-kernel-pkg.8[CPY], | ||
266 | test.sh[CPY], test/elilo.1[CPY], test/elilo.2[CPY], | ||
267 | test/results/add/g1.5[CPY], test/results/add/g1.6[CPY], | ||
268 | test/results/add/y3.1[CPY], test/results/multiboot/e1.1[CPY], | ||
269 | test/results/multiboot/e1.2[CPY], | ||
270 | test/results/multiboot/e2.1[CPY], | ||
271 | test/results/multiboot/e2.2[CPY], | ||
272 | test/results/multiboot/e2.3[CPY], test/results/updargs/g3.7[CPY], | ||
273 | test/results/updargs/g7.5[CPY], test/yaboot.1[CPY], | ||
274 | test/yaboot.2[CPY], test/yaboot.3[CPY]: | ||
275 | -forkin standalone grubby | ||
276 |