1 |
2012-02-18 Niels Rogalla <niro@magellan-linux.de> |
2012-02-18 Niels Rogalla <niro@magellan-linux.de> |
2 |
|
|
3 |
|
* [r1723] VERSION: |
4 |
|
-version 8.4 |
5 |
|
* [r1722] grubby.c, test/grub2.1, test/results/add/g2-1.1, |
6 |
|
test/results/add/g2-1.2, test/results/add/g2-1.3: |
7 |
|
Update "echo 'Loading..." messages to the new kernel version |
8 |
|
|
9 |
|
grub2-mkconfig will create lines like: |
10 |
|
echo 'Loading Linux 3.1.0-0.rc6.git0.0.fc16.x86_64 |
11 |
|
...' |
12 |
|
- depending on the content of /etc/default/grub. |
13 |
|
|
14 |
|
grubby would recognize these lines and replace them with lines |
15 |
|
with the |
16 |
|
right |
17 |
|
version number such as: |
18 |
|
echo 'Loading Fedora (3.1.0-0.rc6.git0.0.fc16.x86_64)' |
19 |
|
|
20 |
|
these lines were however not recognized by grubby and would not |
21 |
|
be |
22 |
|
updated on |
23 |
|
next kernel update when this entry would be used as template. |
24 |
|
|
25 |
|
With this patch grubby will no longer look for a specific title |
26 |
|
but |
27 |
|
patch any |
28 |
|
"echo 'Loading" line immediately before the kernel line. |
29 |
|
|
30 |
|
Signed-off-by: Adam Williamson <awilliam@redhat.com> |
31 |
|
* [r1721] grubby.8, grubby.c, test.sh, |
32 |
|
test/results/defaulttitle[ADD], |
33 |
|
test/results/defaulttitle/g.1[ADD], |
34 |
|
test/results/defaulttitle/g.10[ADD], |
35 |
|
test/results/defaulttitle/g.11[ADD], |
36 |
|
test/results/defaulttitle/g.2[ADD], |
37 |
|
test/results/defaulttitle/g.3[ADD], |
38 |
|
test/results/defaulttitle/g.4[ADD], |
39 |
|
test/results/defaulttitle/g.5[ADD], |
40 |
|
test/results/defaulttitle/g.6[ADD], |
41 |
|
test/results/defaulttitle/g.7[ADD], |
42 |
|
test/results/defaulttitle/g.8[ADD], |
43 |
|
test/results/defaulttitle/g.9[ADD], |
44 |
|
test/results/defaulttitle/g2.1[ADD], |
45 |
|
test/results/defaulttitle/g2.2[ADD]: |
46 |
|
Add new '--default-title' feature. |
47 |
|
|
48 |
|
This displays the title of the default entry directly from the |
49 |
|
parsed configuration file. |
50 |
|
|
51 |
|
Signed-off-by: Cleber Rosa <crosa@redhat.com> |
52 |
|
* [r1720] grubby.8, grubby.c, test.sh, |
53 |
|
test/results/defaultindex[ADD], test/results/defaultindex/0[ADD], |
54 |
|
test/results/defaultindex/2[ADD]: |
55 |
|
Add new '--default-index' feature. |
56 |
|
|
57 |
|
This displays the (numeric) index of the default entry directly |
58 |
|
from the parsed configuration file. |
59 |
|
|
60 |
|
Signed-off-by: Cleber Rosa <crosa@redhat.com> |
61 |
|
* [r1719] test.sh: |
62 |
|
test.sh: add feature for testing the output of a grubby command |
63 |
|
|
64 |
|
Instead of comparing the configuration file that gets generated |
65 |
|
by |
66 |
|
a grubby command |
67 |
|
|
68 |
|
Signed-off-by: Cleber Rosa <crosa@redhat.com> |
69 |
|
* [r1718] grubby.c: |
70 |
|
GRUB: Fix detection by increasing offset when comparing stage1 to |
71 |
|
MBR |
72 |
|
|
73 |
|
A couple of instructions of grub's stage1 get modified when |
74 |
|
copied to |
75 |
|
the |
76 |
|
MBR (replaced by NOOPs). Check for this condition, and skip these |
77 |
|
bytes |
78 |
|
while compare stage1 and MBR. |
79 |
|
|
80 |
|
Signed-off-by: Cleber Rosa <crosa@redhat.com> |
81 |
|
* [r1717] grubby.c: |
82 |
|
Don't crash if grubConfig not found. |
83 |
|
|
84 |
|
I trigger this crash on my system. It has syslinux and no grub. |
85 |
|
|
86 |
|
Signed-off-by: Christopher Li <kernel@chrisli.org> |
87 |
|
* [r1716] new-kernel-pkg: |
88 |
|
Adding extlinux support for new-kernel-pkg |
89 |
|
|
90 |
|
Signed-off-by: Christopher Li <kernel@chrisli.org> |
91 |
|
* [r1715] grubby.c: |
92 |
|
Look for other possible grub config files |
93 |
|
|
94 |
|
Since debian and Ubuntu don't symlink /boot/grub/menu.lst |
95 |
|
to /etc/grub.conf, make it possible to look them over on |
96 |
|
this original location as well. |
97 |
|
|
98 |
|
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com> |
99 |
|
* [r1714] grubby.c: |
100 |
|
Make grubby to recognize Ubuntu's spin of Grub2 |
101 |
|
|
102 |
|
We are looking to use grubby as a bootloader entries |
103 |
|
manager for the autotest project: |
104 |
|
|
105 |
|
http://autotest.kernel.org/ |
106 |
|
|
107 |
|
The project aims to cover more distros than just |
108 |
|
red hat based ones, so this small patch fixes the |
109 |
|
tool under Ubuntu. They have chosen to name grub2 |
110 |
|
grub, in all directory references. Also, they don't |
111 |
|
make symlinks of grub config files on /etc. So, |
112 |
|
adapt the code to take into consideration this |
113 |
|
behavior. |
114 |
|
|
115 |
|
Changes from v1: |
116 |
|
* Removed nested set of {} |
117 |
|
* Made the return in case /etc/grub.d is found |
118 |
|
indented |
119 |
|
* Moved the dbgPrint("not found\n") statement |
120 |
|
before the last return. Also, put a new |
121 |
|
dbgPrint("found\n") if we've found a suitable |
122 |
|
grub2 config file ubuntu/debian style. |
123 |
|
|
124 |
|
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com> |
125 |
|
* [r1712] ChangeLog: |
126 |
|
updated ChangeLog |
127 |
* [r1711] VERSION: |
* [r1711] VERSION: |
128 |
-version 8.3 |
-version 8.3 |
129 |
* [r1710] new-kernel-pkg: |
* [r1710] new-kernel-pkg: |