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