1 |
2012-02-18 Niels Rogalla <niro@magellan-linux.de> |
2012-02-18 Niels Rogalla <niro@magellan-linux.de> |
2 |
|
|
3 |
|
* [r1738] VERSION: |
4 |
|
-version 8.7 |
5 |
|
* [r1737] test.sh, test/results/debug[ADD], |
6 |
|
test/results/debug/g2.1[ADD], test/results/debug/g2.1.2[ADD]: |
7 |
|
Add a test case for --debug. |
8 |
|
|
9 |
|
Make sure --debug works as expected in both successful and failed |
10 |
|
attempts. |
11 |
|
* [r1736] grubby.8, grubby.c: |
12 |
|
grubby: Add --debug option to annotate "suitable template" |
13 |
|
failures |
14 |
|
|
15 |
|
Today, when grubby fails with "no suitable template found" the |
16 |
|
user |
17 |
|
has no idea why that might be. These can fail for several |
18 |
|
reasons. |
19 |
|
So add a --debug option to print out the line in grubby.c where |
20 |
|
it |
21 |
|
failed, a text message describing the failure, and a copy of the |
22 |
|
bootloader entry that failed, to aid investigation. |
23 |
|
|
24 |
|
Signed-off-by: Eric Sandeen <sandeen@redhat.com> |
25 |
|
* [r1734] ChangeLog: |
26 |
|
updated ChangeLog |
27 |
|
* [r1733] VERSION: |
28 |
|
-version 8.6 |
29 |
|
* [r1732] test/results/remove/g2-1.4: |
30 |
|
Fix another test broken by 4bb88f93e6c7cf432e354a164fce8743794a |
31 |
|
* [r1730] ChangeLog: |
32 |
|
updated ChangeLog |
33 |
|
* [r1729] VERSION: |
34 |
|
-version 8.5 |
35 |
|
* [r1728] new-kernel-pkg: |
36 |
|
Don't hardcode dracut path. (#768645) |
37 |
|
|
38 |
|
dracut moved from /sbin to /usr/bin, so fix that, but also it's |
39 |
|
pointless to hardcode what's in PATH. |
40 |
|
* [r1727] grubby.c, test.sh, test/results/remove/g2-1.4[ADD]: |
41 |
|
Use dummy entries for text following kernel entries so it is |
42 |
|
preserved |
43 |
|
(#744717) |
44 |
|
|
45 |
|
Signed-off-by: Adam Williamson <awilliam@redhat.com> |
46 |
|
* [r1726] test/results/defaulttitle/g2.1: |
47 |
|
Fix up one test result for changes from |
48 |
|
4bb88f93e6c7cf432e354a164fce8743794a84a5 |
49 |
|
* [r1724] ChangeLog: |
50 |
|
updated ChangeLog |
51 |
|
* [r1723] VERSION: |
52 |
|
-version 8.4 |
53 |
|
* [r1722] grubby.c, test/grub2.1, test/results/add/g2-1.1, |
54 |
|
test/results/add/g2-1.2, test/results/add/g2-1.3: |
55 |
|
Update "echo 'Loading..." messages to the new kernel version |
56 |
|
|
57 |
|
grub2-mkconfig will create lines like: |
58 |
|
echo 'Loading Linux 3.1.0-0.rc6.git0.0.fc16.x86_64 |
59 |
|
...' |
60 |
|
- depending on the content of /etc/default/grub. |
61 |
|
|
62 |
|
grubby would recognize these lines and replace them with lines |
63 |
|
with the |
64 |
|
right |
65 |
|
version number such as: |
66 |
|
echo 'Loading Fedora (3.1.0-0.rc6.git0.0.fc16.x86_64)' |
67 |
|
|
68 |
|
these lines were however not recognized by grubby and would not |
69 |
|
be |
70 |
|
updated on |
71 |
|
next kernel update when this entry would be used as template. |
72 |
|
|
73 |
|
With this patch grubby will no longer look for a specific title |
74 |
|
but |
75 |
|
patch any |
76 |
|
"echo 'Loading" line immediately before the kernel line. |
77 |
|
|
78 |
|
Signed-off-by: Adam Williamson <awilliam@redhat.com> |
79 |
|
* [r1721] grubby.8, grubby.c, test.sh, |
80 |
|
test/results/defaulttitle[ADD], |
81 |
|
test/results/defaulttitle/g.1[ADD], |
82 |
|
test/results/defaulttitle/g.10[ADD], |
83 |
|
test/results/defaulttitle/g.11[ADD], |
84 |
|
test/results/defaulttitle/g.2[ADD], |
85 |
|
test/results/defaulttitle/g.3[ADD], |
86 |
|
test/results/defaulttitle/g.4[ADD], |
87 |
|
test/results/defaulttitle/g.5[ADD], |
88 |
|
test/results/defaulttitle/g.6[ADD], |
89 |
|
test/results/defaulttitle/g.7[ADD], |
90 |
|
test/results/defaulttitle/g.8[ADD], |
91 |
|
test/results/defaulttitle/g.9[ADD], |
92 |
|
test/results/defaulttitle/g2.1[ADD], |
93 |
|
test/results/defaulttitle/g2.2[ADD]: |
94 |
|
Add new '--default-title' feature. |
95 |
|
|
96 |
|
This displays the title of the default entry directly from the |
97 |
|
parsed configuration file. |
98 |
|
|
99 |
|
Signed-off-by: Cleber Rosa <crosa@redhat.com> |
100 |
|
* [r1720] grubby.8, grubby.c, test.sh, |
101 |
|
test/results/defaultindex[ADD], test/results/defaultindex/0[ADD], |
102 |
|
test/results/defaultindex/2[ADD]: |
103 |
|
Add new '--default-index' feature. |
104 |
|
|
105 |
|
This displays the (numeric) index of the default entry directly |
106 |
|
from the parsed configuration file. |
107 |
|
|
108 |
|
Signed-off-by: Cleber Rosa <crosa@redhat.com> |
109 |
|
* [r1719] test.sh: |
110 |
|
test.sh: add feature for testing the output of a grubby command |
111 |
|
|
112 |
|
Instead of comparing the configuration file that gets generated |
113 |
|
by |
114 |
|
a grubby command |
115 |
|
|
116 |
|
Signed-off-by: Cleber Rosa <crosa@redhat.com> |
117 |
|
* [r1718] grubby.c: |
118 |
|
GRUB: Fix detection by increasing offset when comparing stage1 to |
119 |
|
MBR |
120 |
|
|
121 |
|
A couple of instructions of grub's stage1 get modified when |
122 |
|
copied to |
123 |
|
the |
124 |
|
MBR (replaced by NOOPs). Check for this condition, and skip these |
125 |
|
bytes |
126 |
|
while compare stage1 and MBR. |
127 |
|
|
128 |
|
Signed-off-by: Cleber Rosa <crosa@redhat.com> |
129 |
|
* [r1717] grubby.c: |
130 |
|
Don't crash if grubConfig not found. |
131 |
|
|
132 |
|
I trigger this crash on my system. It has syslinux and no grub. |
133 |
|
|
134 |
|
Signed-off-by: Christopher Li <kernel@chrisli.org> |
135 |
|
* [r1716] new-kernel-pkg: |
136 |
|
Adding extlinux support for new-kernel-pkg |
137 |
|
|
138 |
|
Signed-off-by: Christopher Li <kernel@chrisli.org> |
139 |
|
* [r1715] grubby.c: |
140 |
|
Look for other possible grub config files |
141 |
|
|
142 |
|
Since debian and Ubuntu don't symlink /boot/grub/menu.lst |
143 |
|
to /etc/grub.conf, make it possible to look them over on |
144 |
|
this original location as well. |
145 |
|
|
146 |
|
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com> |
147 |
|
* [r1714] grubby.c: |
148 |
|
Make grubby to recognize Ubuntu's spin of Grub2 |
149 |
|
|
150 |
|
We are looking to use grubby as a bootloader entries |
151 |
|
manager for the autotest project: |
152 |
|
|
153 |
|
http://autotest.kernel.org/ |
154 |
|
|
155 |
|
The project aims to cover more distros than just |
156 |
|
red hat based ones, so this small patch fixes the |
157 |
|
tool under Ubuntu. They have chosen to name grub2 |
158 |
|
grub, in all directory references. Also, they don't |
159 |
|
make symlinks of grub config files on /etc. So, |
160 |
|
adapt the code to take into consideration this |
161 |
|
behavior. |
162 |
|
|
163 |
|
Changes from v1: |
164 |
|
* Removed nested set of {} |
165 |
|
* Made the return in case /etc/grub.d is found |
166 |
|
indented |
167 |
|
* Moved the dbgPrint("not found\n") statement |
168 |
|
before the last return. Also, put a new |
169 |
|
dbgPrint("found\n") if we've found a suitable |
170 |
|
grub2 config file ubuntu/debian style. |
171 |
|
|
172 |
|
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com> |
173 |
|
* [r1712] ChangeLog: |
174 |
|
updated ChangeLog |
175 |
|
* [r1711] VERSION: |
176 |
|
-version 8.3 |
177 |
|
* [r1710] new-kernel-pkg: |
178 |
|
Fix new-kernel-pkg invocation of grubby for grub (bz 725185) |
179 |
|
|
180 |
|
new-kernel-pkg did not specify --grub when it called grubby to |
181 |
|
update the |
182 |
|
kernel entry with an initrd. Grubby would then try to probe what |
183 |
|
to |
184 |
|
do and |
185 |
|
would give preference to grub2 and thus leave an incomplete grub |
186 |
|
entry. |
187 |
|
|
188 |
|
new-kernel-pkg did also not specify the grub config file |
189 |
|
explicitly |
190 |
|
to |
191 |
|
grubby as it do for the grub2 config file. That could perhaps in |
192 |
|
some |
193 |
|
situations cause grubby to do something else than new-kernel-pkg |
194 |
|
expected. |
195 |
|
|
196 |
|
Now --grub -c $grubConfig is specified explicitly in all cases. |
197 |
|
* [r1708] ChangeLog: |
198 |
|
updated ChangeLog |
199 |
* [r1707] VERSION: |
* [r1707] VERSION: |
200 |
-version 8.2 |
-version 8.2 |
201 |
* [r1706] new-kernel-pkg: |
* [r1706] new-kernel-pkg: |