Merge ~ubuntu-core-dev/grub/+git/ubuntu:fix-seabios-ubuntu into ~ubuntu-core-dev/grub/+git/ubuntu:ubuntu
- Git
- lp:~ubuntu-core-dev/grub/+git/ubuntu
- fix-seabios-ubuntu
- Merge into ubuntu
Proposed by
Łukasz Zemczak
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 4791e5629bdbba87c63c52959f293bbec3e8aa23 | ||||
Proposed branch: | ~ubuntu-core-dev/grub/+git/ubuntu:fix-seabios-ubuntu | ||||
Merge into: | ~ubuntu-core-dev/grub/+git/ubuntu:ubuntu | ||||
Diff against target: |
529 lines (+114/-71) 31 files modified
debian/.git-dpm (+2/-2) debian/changelog (+9/-0) debian/patches/bootp_new_net_bootp6_command.patch (+2/-2) debian/patches/bootp_process_dhcpack_http_boot.patch (+1/-1) debian/patches/default_grub_d.patch (+1/-1) debian/patches/efinet_set_dns_from_uefi_proto.patch (+2/-2) debian/patches/efinet_set_network_from_uefi_devpath.patch (+1/-1) debian/patches/efinet_uefi_ipv6_pxe_support.patch (+2/-2) debian/patches/gfxpayload_dynamic.patch (+4/-4) debian/patches/grub-install-extra-removable.patch (+1/-1) debian/patches/grub-shell-test-helper-disable-seabios-sercon.patch (+33/-0) debian/patches/install_locale_langpack.patch (+1/-1) debian/patches/install_powerpc_machtypes.patch (+4/-4) debian/patches/install_signed.patch (+1/-1) debian/patches/linuxefi.patch (+2/-2) debian/patches/linuxefi_add_sb_to_efi_chainload.patch (+1/-1) debian/patches/linuxefi_fix_efi_validation_race.patch (+1/-1) debian/patches/linuxefi_handle_multiarch_boot.patch (+3/-3) debian/patches/linuxefi_honor_sb_mode.patch (+12/-12) debian/patches/linuxefi_load_arm_with_sb.patch (+5/-5) debian/patches/linuxefi_non_sb_fallback.patch (+1/-1) debian/patches/linuxefi_rework_linux16_cmd.patch (+1/-1) debian/patches/linuxefi_rework_non-sb_efi_chainload.patch (+4/-4) debian/patches/linuxefi_rework_pe_loading.patch (+2/-2) debian/patches/net_read_bracketed_ipv6_addr.patch (+3/-3) debian/patches/quick_boot.patch (+6/-6) debian/patches/restore_mkdevicemap.patch (+2/-2) debian/patches/series (+1/-0) debian/patches/syslinux-test-out-of-tree.patch (+2/-2) debian/patches/uefi_firmware_setup.patch (+2/-2) tests/util/grub-shell.in (+2/-2) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Core Development Team | Pending | ||
Review via email:
|
Commit message
In the grub-shell test helper, disable seabios's serial console through fw_cfg runtime configuration as its boot output interferes with testing.
Description of the change
In the grub-shell test helper, disable seabios's serial console through fw_cfg runtime configuration as its boot output interferes with testing.
Without this, grub2 FTBFS on i386 and amd64 (as only those use qemu+seabios).
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | diff --git a/debian/.git-dpm b/debian/.git-dpm |
2 | index 32844ae..330ef7d 100644 |
3 | --- a/debian/.git-dpm |
4 | +++ b/debian/.git-dpm |
5 | @@ -1,6 +1,6 @@ |
6 | # see git-dpm(1) from git-dpm package |
7 | -1696f83780575139eb0ad801a311c947028278f2 |
8 | -1696f83780575139eb0ad801a311c947028278f2 |
9 | +aebe41c9004522170f1c93568f4267566e370b61 |
10 | +aebe41c9004522170f1c93568f4267566e370b61 |
11 | 0992ffbac6a1b4c97c350d12e5301e0067daa0d6 |
12 | 0992ffbac6a1b4c97c350d12e5301e0067daa0d6 |
13 | grub2_2.02.orig.tar.xz |
14 | diff --git a/debian/changelog b/debian/changelog |
15 | index 05270e1..e02ed3f 100644 |
16 | --- a/debian/changelog |
17 | +++ b/debian/changelog |
18 | @@ -1,3 +1,12 @@ |
19 | +grub2 (2.02-2ubuntu10) cosmic; urgency=medium |
20 | + |
21 | + * debian/patches/grub-shell-test-helper-disable-seabios-sercon.patch: In the |
22 | + grub-shell test helper, disable seabios's serial console through fw_cfg |
23 | + runtime configuration as its boot output interferes with testing. |
24 | + (LP: #1775249) |
25 | + |
26 | + -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Wed, 06 Jun 2018 01:03:26 +0200 |
27 | + |
28 | grub2 (2.02-2ubuntu9) cosmic; urgency=medium |
29 | |
30 | * debian/patches/add-an-auto-nvram-option-to-grub-install.patch: Add the |
31 | diff --git a/debian/patches/bootp_new_net_bootp6_command.patch b/debian/patches/bootp_new_net_bootp6_command.patch |
32 | index 82975bc..64665bd 100644 |
33 | --- a/debian/patches/bootp_new_net_bootp6_command.patch |
34 | +++ b/debian/patches/bootp_new_net_bootp6_command.patch |
35 | @@ -11,8 +11,8 @@ Signed-off-by: Ken Lin <ken.lin@hpe.com> |
36 | |
37 | Patch-Name: bootp_new_net_bootp6_command.patch |
38 | --- |
39 | - grub-core/net/bootp.c | 908 +++++++++++++++++++++++++++++++++++++++++++++++++- |
40 | - grub-core/net/ip.c | 39 +++ |
41 | + grub-core/net/bootp.c | 908 +++++++++++++++++++++++++++++++++++++++++- |
42 | + grub-core/net/ip.c | 39 ++ |
43 | include/grub/net.h | 72 ++++ |
44 | 3 files changed, 1018 insertions(+), 1 deletion(-) |
45 | |
46 | diff --git a/debian/patches/bootp_process_dhcpack_http_boot.patch b/debian/patches/bootp_process_dhcpack_http_boot.patch |
47 | index 473329a..73ab005 100644 |
48 | --- a/debian/patches/bootp_process_dhcpack_http_boot.patch |
49 | +++ b/debian/patches/bootp_process_dhcpack_http_boot.patch |
50 | @@ -19,7 +19,7 @@ Signed-off-by: Ken Lin <ken.lin@hpe.com> |
51 | |
52 | Patch-Name: bootp_process_dhcpack_http_boot.patch |
53 | --- |
54 | - grub-core/net/bootp.c | 67 +++++++++++++++++++++++++++++++++++++++++++++++++-- |
55 | + grub-core/net/bootp.c | 67 +++++++++++++++++++++++++++++++++++++++++-- |
56 | include/grub/net.h | 1 + |
57 | 2 files changed, 66 insertions(+), 2 deletions(-) |
58 | |
59 | diff --git a/debian/patches/default_grub_d.patch b/debian/patches/default_grub_d.patch |
60 | index f5e8102..e3b4ce6 100644 |
61 | --- a/debian/patches/default_grub_d.patch |
62 | +++ b/debian/patches/default_grub_d.patch |
63 | @@ -9,7 +9,7 @@ Last-Update: 2014-01-28 |
64 | |
65 | Patch-Name: default_grub_d.patch |
66 | --- |
67 | - grub-core/osdep/unix/config.c | 114 ++++++++++++++++++++++++++++++++++-------- |
68 | + grub-core/osdep/unix/config.c | 114 +++++++++++++++++++++++++++------- |
69 | util/grub-mkconfig.in | 5 ++ |
70 | 2 files changed, 98 insertions(+), 21 deletions(-) |
71 | |
72 | diff --git a/debian/patches/efinet_set_dns_from_uefi_proto.patch b/debian/patches/efinet_set_dns_from_uefi_proto.patch |
73 | index 4b2fdfe..cb75f3f 100644 |
74 | --- a/debian/patches/efinet_set_dns_from_uefi_proto.patch |
75 | +++ b/debian/patches/efinet_set_dns_from_uefi_proto.patch |
76 | @@ -30,8 +30,8 @@ Signed-off-by: Ken Lin <ken.lin@hpe.com> |
77 | |
78 | Patch-Name: efinet_set_dns_from_uefi_proto.patch |
79 | --- |
80 | - grub-core/net/drivers/efi/efinet.c | 163 +++++++++++++++++++++++++++++++++++++ |
81 | - include/grub/efi/api.h | 76 +++++++++++++++++ |
82 | + grub-core/net/drivers/efi/efinet.c | 163 +++++++++++++++++++++++++++++ |
83 | + include/grub/efi/api.h | 76 ++++++++++++++ |
84 | 2 files changed, 239 insertions(+) |
85 | |
86 | diff --git a/grub-core/net/drivers/efi/efinet.c b/grub-core/net/drivers/efi/efinet.c |
87 | diff --git a/debian/patches/efinet_set_network_from_uefi_devpath.patch b/debian/patches/efinet_set_network_from_uefi_devpath.patch |
88 | index ca47cca..c9e17e4 100644 |
89 | --- a/debian/patches/efinet_set_network_from_uefi_devpath.patch |
90 | +++ b/debian/patches/efinet_set_network_from_uefi_devpath.patch |
91 | @@ -29,7 +29,7 @@ Signed-off-by: Ken Lin <ken.lin@hpe.com> |
92 | |
93 | Patch-Name: efinet_set_network_from_uefi_devpath.patch |
94 | --- |
95 | - grub-core/net/drivers/efi/efinet.c | 268 +++++++++++++++++++++++++++++++++++-- |
96 | + grub-core/net/drivers/efi/efinet.c | 268 ++++++++++++++++++++++++++++- |
97 | include/grub/efi/api.h | 11 ++ |
98 | 2 files changed, 270 insertions(+), 9 deletions(-) |
99 | |
100 | diff --git a/debian/patches/efinet_uefi_ipv6_pxe_support.patch b/debian/patches/efinet_uefi_ipv6_pxe_support.patch |
101 | index 3ff75c2..e7dca37 100644 |
102 | --- a/debian/patches/efinet_uefi_ipv6_pxe_support.patch |
103 | +++ b/debian/patches/efinet_uefi_ipv6_pxe_support.patch |
104 | @@ -12,8 +12,8 @@ Signed-off-by: Ken Lin <ken.lin@hpe.com> |
105 | |
106 | Patch-Name: efinet_uefi_ipv6_pxe_support.patch |
107 | --- |
108 | - grub-core/net/drivers/efi/efinet.c | 24 +++++++++++++---- |
109 | - include/grub/efi/api.h | 55 +++++++++++++++++++++++++++++++++++++- |
110 | + grub-core/net/drivers/efi/efinet.c | 24 ++++++++++--- |
111 | + include/grub/efi/api.h | 55 +++++++++++++++++++++++++++++- |
112 | 2 files changed, 73 insertions(+), 6 deletions(-) |
113 | |
114 | diff --git a/grub-core/net/drivers/efi/efinet.c b/grub-core/net/drivers/efi/efinet.c |
115 | diff --git a/debian/patches/gfxpayload_dynamic.patch b/debian/patches/gfxpayload_dynamic.patch |
116 | index e47dfde..f5f70e1 100644 |
117 | --- a/debian/patches/gfxpayload_dynamic.patch |
118 | +++ b/debian/patches/gfxpayload_dynamic.patch |
119 | @@ -13,10 +13,10 @@ Last-Update: 2013-12-25 |
120 | |
121 | Patch-Name: gfxpayload_dynamic.patch |
122 | --- |
123 | - configure.ac | 11 +++ |
124 | - grub-core/Makefile.core.def | 9 +++ |
125 | - grub-core/commands/i386/pc/hwmatch.c | 146 +++++++++++++++++++++++++++++++++++ |
126 | - util/grub.d/10_linux.in | 37 ++++++++- |
127 | + configure.ac | 11 ++ |
128 | + grub-core/Makefile.core.def | 9 ++ |
129 | + grub-core/commands/i386/pc/hwmatch.c | 146 +++++++++++++++++++++++++++ |
130 | + util/grub.d/10_linux.in | 37 ++++++- |
131 | 4 files changed, 200 insertions(+), 3 deletions(-) |
132 | create mode 100644 grub-core/commands/i386/pc/hwmatch.c |
133 | |
134 | diff --git a/debian/patches/grub-install-extra-removable.patch b/debian/patches/grub-install-extra-removable.patch |
135 | index 38c5bba..341f93e 100644 |
136 | --- a/debian/patches/grub-install-extra-removable.patch |
137 | +++ b/debian/patches/grub-install-extra-removable.patch |
138 | @@ -18,7 +18,7 @@ Last-Update: 2014-12-20 |
139 | |
140 | Patch-Name: grub-install-extra-removable.patch |
141 | --- |
142 | - util/grub-install.c | 125 +++++++++++++++++++++++++++++++++++++++++++++++++++- |
143 | + util/grub-install.c | 125 +++++++++++++++++++++++++++++++++++++++++++- |
144 | 1 file changed, 123 insertions(+), 2 deletions(-) |
145 | |
146 | diff --git a/util/grub-install.c b/util/grub-install.c |
147 | diff --git a/debian/patches/grub-shell-test-helper-disable-seabios-sercon.patch b/debian/patches/grub-shell-test-helper-disable-seabios-sercon.patch |
148 | new file mode 100644 |
149 | index 0000000..cfa5946 |
150 | --- /dev/null |
151 | +++ b/debian/patches/grub-shell-test-helper-disable-seabios-sercon.patch |
152 | @@ -0,0 +1,33 @@ |
153 | +From aebe41c9004522170f1c93568f4267566e370b61 Mon Sep 17 00:00:00 2001 |
154 | +From: Łukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com> |
155 | +Date: Wed, 6 Jun 2018 00:55:46 +0200 |
156 | +Subject: In the grub-shell test helper, disable seabios's serial console |
157 | + through fw_cfg runtime configuration as it's boot output interferes with |
158 | + testing. |
159 | + |
160 | +--- |
161 | + tests/util/grub-shell.in | 4 ++-- |
162 | + 1 file changed, 2 insertions(+), 2 deletions(-) |
163 | + |
164 | +diff --git a/tests/util/grub-shell.in b/tests/util/grub-shell.in |
165 | +index 814f36c6b..8e1e86bb0 100644 |
166 | +--- a/tests/util/grub-shell.in |
167 | ++++ b/tests/util/grub-shell.in |
168 | +@@ -474,7 +474,7 @@ if [ x$boot = xnet ]; then |
169 | + cp "${cfgfile}" "$netdir/boot/grub/grub.cfg" |
170 | + cp "${source}" "$netdir/boot/grub/testcase.cfg" |
171 | + [ -z "$files" ] || copy_extra_files "$netdir" $files |
172 | +- timeout -s KILL $timeout "${qemu}" ${qemuopts} ${serial_null} -serial file:/dev/stdout -boot n -net "user,tftp=$netdir,bootfile=/boot/grub/${grub_modinfo_target_cpu}-${grub_modinfo_platform}/core.$netbootext" -net nic | cat | tr -d "\r" | do_trim |
173 | ++ timeout -s KILL $timeout "${qemu}" ${qemuopts} ${serial_null} -serial file:/dev/stdout -fw_cfg name=etc/sercon-port,string=0 -boot n -net "user,tftp=$netdir,bootfile=/boot/grub/${grub_modinfo_target_cpu}-${grub_modinfo_platform}/core.$netbootext" -net nic | cat | tr -d "\r" | do_trim |
174 | + elif [ x$boot = xemu ]; then |
175 | + rootdir="$(mktemp -d "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX")" |
176 | + grubdir="$rootdir/boot/grub" |
177 | +@@ -497,7 +497,7 @@ elif [ x$boot = xemu ]; then |
178 | + test -n "$debug" || rm -rf "$rootdir" |
179 | + test -n "$debug" || rm -f "$roottar" |
180 | + else |
181 | +- timeout -s KILL $timeout "${qemu}" ${qemuopts} ${serial_null} -serial file:/dev/stdout -${device}"${isofile}" ${bootdev} | cat | tr -d "\r" | do_trim |
182 | ++ timeout -s KILL $timeout "${qemu}" ${qemuopts} ${serial_null} -serial file:/dev/stdout -fw_cfg name=etc/sercon-port,string=0 -${device}"${isofile}" ${bootdev} | cat | tr -d "\r" | do_trim |
183 | + fi |
184 | + if [ x$boot = xcoreboot ]; then |
185 | + test -n "$debug" || rm -f "${imgfile}" |
186 | diff --git a/debian/patches/install_locale_langpack.patch b/debian/patches/install_locale_langpack.patch |
187 | index 2b2a868..93abe0c 100644 |
188 | --- a/debian/patches/install_locale_langpack.patch |
189 | +++ b/debian/patches/install_locale_langpack.patch |
190 | @@ -9,7 +9,7 @@ Last-Update: 2013-12-25 |
191 | |
192 | Patch-Name: install_locale_langpack.patch |
193 | --- |
194 | - util/grub-install-common.c | 40 +++++++++++++++++++++++++++++++++------- |
195 | + util/grub-install-common.c | 40 +++++++++++++++++++++++++++++++------- |
196 | 1 file changed, 33 insertions(+), 7 deletions(-) |
197 | |
198 | diff --git a/util/grub-install-common.c b/util/grub-install-common.c |
199 | diff --git a/debian/patches/install_powerpc_machtypes.patch b/debian/patches/install_powerpc_machtypes.patch |
200 | index 9618f9b..fef2d56 100644 |
201 | --- a/debian/patches/install_powerpc_machtypes.patch |
202 | +++ b/debian/patches/install_powerpc_machtypes.patch |
203 | @@ -17,11 +17,11 @@ Last-Update: 2014-10-15 |
204 | Patch-Name: install_powerpc_machtypes.patch |
205 | --- |
206 | grub-core/osdep/basic/platform.c | 5 +++ |
207 | - grub-core/osdep/linux/platform.c | 72 ++++++++++++++++++++++++++++++++++++++ |
208 | - grub-core/osdep/unix/platform.c | 28 +++++++++++---- |
209 | - grub-core/osdep/windows/platform.c | 6 ++++ |
210 | + grub-core/osdep/linux/platform.c | 72 ++++++++++++++++++++++++++++++ |
211 | + grub-core/osdep/unix/platform.c | 28 +++++++++--- |
212 | + grub-core/osdep/windows/platform.c | 6 +++ |
213 | include/grub/util/install.h | 3 ++ |
214 | - util/grub-install.c | 11 ++++++ |
215 | + util/grub-install.c | 11 +++++ |
216 | 6 files changed, 119 insertions(+), 6 deletions(-) |
217 | |
218 | diff --git a/grub-core/osdep/basic/platform.c b/grub-core/osdep/basic/platform.c |
219 | diff --git a/debian/patches/install_signed.patch b/debian/patches/install_signed.patch |
220 | index a7b5397..e79ff52 100644 |
221 | --- a/debian/patches/install_signed.patch |
222 | +++ b/debian/patches/install_signed.patch |
223 | @@ -15,7 +15,7 @@ Last-Update: 2016-11-01 |
224 | |
225 | Patch-Name: install_signed.patch |
226 | --- |
227 | - util/grub-install.c | 195 +++++++++++++++++++++++++++++++++++++++------------- |
228 | + util/grub-install.c | 195 +++++++++++++++++++++++++++++++++----------- |
229 | 1 file changed, 148 insertions(+), 47 deletions(-) |
230 | |
231 | diff --git a/util/grub-install.c b/util/grub-install.c |
232 | diff --git a/debian/patches/linuxefi.patch b/debian/patches/linuxefi.patch |
233 | index f5b4460..bc46b54 100644 |
234 | --- a/debian/patches/linuxefi.patch |
235 | +++ b/debian/patches/linuxefi.patch |
236 | @@ -10,8 +10,8 @@ Last-Update: 2017-11-01 |
237 | Patch-Name: linuxefi.patch |
238 | --- |
239 | grub-core/Makefile.core.def | 8 + |
240 | - grub-core/kern/efi/mm.c | 32 ++++ |
241 | - grub-core/loader/i386/efi/linux.c | 371 ++++++++++++++++++++++++++++++++++++++ |
242 | + grub-core/kern/efi/mm.c | 32 +++ |
243 | + grub-core/loader/i386/efi/linux.c | 371 ++++++++++++++++++++++++++++++ |
244 | include/grub/efi/efi.h | 3 + |
245 | include/grub/i386/linux.h | 1 + |
246 | 5 files changed, 415 insertions(+) |
247 | diff --git a/debian/patches/linuxefi_add_sb_to_efi_chainload.patch b/debian/patches/linuxefi_add_sb_to_efi_chainload.patch |
248 | index 7557cd8..6261249 100644 |
249 | --- a/debian/patches/linuxefi_add_sb_to_efi_chainload.patch |
250 | +++ b/debian/patches/linuxefi_add_sb_to_efi_chainload.patch |
251 | @@ -24,7 +24,7 @@ Last-Update: 2017-11-01 |
252 | Patch-Name: linuxefi_add_sb_to_efi_chainload.patch |
253 | --- |
254 | grub-core/Makefile.core.def | 1 + |
255 | - grub-core/loader/efi/chainloader.c | 612 ++++++++++++++++++++++++++++++++++--- |
256 | + grub-core/loader/efi/chainloader.c | 612 +++++++++++++++++++++++++++-- |
257 | include/grub/efi/pe32.h | 20 +- |
258 | 3 files changed, 596 insertions(+), 37 deletions(-) |
259 | |
260 | diff --git a/debian/patches/linuxefi_fix_efi_validation_race.patch b/debian/patches/linuxefi_fix_efi_validation_race.patch |
261 | index 028f18e..447fc12 100644 |
262 | --- a/debian/patches/linuxefi_fix_efi_validation_race.patch |
263 | +++ b/debian/patches/linuxefi_fix_efi_validation_race.patch |
264 | @@ -9,7 +9,7 @@ Last-Update: 2017-11-01 |
265 | |
266 | Patch-Name: linuxefi_fix_efi_validation_race.patch |
267 | --- |
268 | - grub-core/loader/i386/efi/linux.c | 44 ++++++++++----------------------------- |
269 | + grub-core/loader/i386/efi/linux.c | 44 ++++++++----------------------- |
270 | 1 file changed, 11 insertions(+), 33 deletions(-) |
271 | |
272 | diff --git a/grub-core/loader/i386/efi/linux.c b/grub-core/loader/i386/efi/linux.c |
273 | diff --git a/debian/patches/linuxefi_handle_multiarch_boot.patch b/debian/patches/linuxefi_handle_multiarch_boot.patch |
274 | index 3f07c16..0930864 100644 |
275 | --- a/debian/patches/linuxefi_handle_multiarch_boot.patch |
276 | +++ b/debian/patches/linuxefi_handle_multiarch_boot.patch |
277 | @@ -13,9 +13,9 @@ Last-Update: 2017-11-01 |
278 | |
279 | Patch-Name: linuxefi_handle_multiarch_boot.patch |
280 | --- |
281 | - grub-core/loader/efi/linux.c | 9 +++- |
282 | - grub-core/loader/i386/efi/linux.c | 108 ++++++++++++++++++++++++++------------ |
283 | - include/grub/i386/linux.h | 7 ++- |
284 | + grub-core/loader/efi/linux.c | 9 ++- |
285 | + grub-core/loader/i386/efi/linux.c | 108 +++++++++++++++++++++--------- |
286 | + include/grub/i386/linux.h | 7 +- |
287 | 3 files changed, 88 insertions(+), 36 deletions(-) |
288 | |
289 | diff --git a/grub-core/loader/efi/linux.c b/grub-core/loader/efi/linux.c |
290 | diff --git a/debian/patches/linuxefi_honor_sb_mode.patch b/debian/patches/linuxefi_honor_sb_mode.patch |
291 | index 128e4df..fab527c 100644 |
292 | --- a/debian/patches/linuxefi_honor_sb_mode.patch |
293 | +++ b/debian/patches/linuxefi_honor_sb_mode.patch |
294 | @@ -16,23 +16,23 @@ Patch-Name: linuxefi_honor_sb_mode.patch |
295 | --- |
296 | grub-core/Makefile.am | 1 + |
297 | grub-core/Makefile.core.def | 1 + |
298 | - grub-core/commands/iorw.c | 7 +++++ |
299 | - grub-core/commands/memrw.c | 7 +++++ |
300 | + grub-core/commands/iorw.c | 7 ++++ |
301 | + grub-core/commands/memrw.c | 7 ++++ |
302 | grub-core/kern/dl.c | 1 + |
303 | - grub-core/kern/efi/efi.c | 28 ------------------ |
304 | - grub-core/kern/efi/sb.c | 58 ++++++++++++++++++++++++++++++++++++++ |
305 | - grub-core/loader/efi/appleloader.c | 7 +++++ |
306 | + grub-core/kern/efi/efi.c | 28 --------------- |
307 | + grub-core/kern/efi/sb.c | 58 ++++++++++++++++++++++++++++++ |
308 | + grub-core/loader/efi/appleloader.c | 7 ++++ |
309 | grub-core/loader/efi/chainloader.c | 1 + |
310 | - grub-core/loader/i386/bsd.c | 7 +++++ |
311 | - grub-core/loader/i386/linux.c | 7 +++++ |
312 | - grub-core/loader/i386/pc/linux.c | 7 +++++ |
313 | - grub-core/loader/multiboot.c | 7 +++++ |
314 | - grub-core/loader/xnu.c | 7 +++++ |
315 | + grub-core/loader/i386/bsd.c | 7 ++++ |
316 | + grub-core/loader/i386/linux.c | 7 ++++ |
317 | + grub-core/loader/i386/pc/linux.c | 7 ++++ |
318 | + grub-core/loader/multiboot.c | 7 ++++ |
319 | + grub-core/loader/xnu.c | 7 ++++ |
320 | include/grub/efi/efi.h | 1 - |
321 | - include/grub/efi/sb.h | 29 +++++++++++++++++++ |
322 | + include/grub/efi/sb.h | 29 +++++++++++++++ |
323 | include/grub/ia64/linux.h | 0 |
324 | include/grub/mips/linux.h | 0 |
325 | - include/grub/powerpc/linux.h | 22 +++++++++++++++ |
326 | + include/grub/powerpc/linux.h | 22 ++++++++++++ |
327 | include/grub/sparc64/linux.h | 0 |
328 | 20 files changed, 169 insertions(+), 29 deletions(-) |
329 | create mode 100644 grub-core/kern/efi/sb.c |
330 | diff --git a/debian/patches/linuxefi_load_arm_with_sb.patch b/debian/patches/linuxefi_load_arm_with_sb.patch |
331 | index 96a79b7..54fbe54 100644 |
332 | --- a/debian/patches/linuxefi_load_arm_with_sb.patch |
333 | +++ b/debian/patches/linuxefi_load_arm_with_sb.patch |
334 | @@ -17,11 +17,11 @@ Patch-Name: linuxefi_load_arm_with_sb.patch |
335 | --- |
336 | grub-core/Makefile.core.def | 3 + |
337 | grub-core/loader/arm/linux.c | 1 + |
338 | - grub-core/loader/arm64/linux.c | 119 ++++++++++++++++++++------------------ |
339 | - grub-core/loader/efi/linux.c | 65 +++++++++++++++++++++ |
340 | - grub-core/loader/i386/efi/linux.c | 39 +------------ |
341 | - include/grub/arm64/linux.h | 7 +++ |
342 | - include/grub/efi/linux.h | 31 ++++++++++ |
343 | + grub-core/loader/arm64/linux.c | 119 ++++++++++++++++-------------- |
344 | + grub-core/loader/efi/linux.c | 65 ++++++++++++++++ |
345 | + grub-core/loader/i386/efi/linux.c | 39 +--------- |
346 | + include/grub/arm64/linux.h | 7 ++ |
347 | + include/grub/efi/linux.h | 31 ++++++++ |
348 | 7 files changed, 174 insertions(+), 91 deletions(-) |
349 | create mode 100644 grub-core/loader/efi/linux.c |
350 | create mode 100644 include/grub/efi/linux.h |
351 | diff --git a/debian/patches/linuxefi_non_sb_fallback.patch b/debian/patches/linuxefi_non_sb_fallback.patch |
352 | index 3e7c686..73df218 100644 |
353 | --- a/debian/patches/linuxefi_non_sb_fallback.patch |
354 | +++ b/debian/patches/linuxefi_non_sb_fallback.patch |
355 | @@ -10,7 +10,7 @@ Last-Update: 2017-11-01 |
356 | Patch-Name: linuxefi_non_sb_fallback.patch |
357 | --- |
358 | grub-core/loader/i386/efi/linux.c | 2 +- |
359 | - grub-core/loader/i386/linux.c | 43 +++++++++++++++++++++++++++++++++++++++ |
360 | + grub-core/loader/i386/linux.c | 43 +++++++++++++++++++++++++++++++ |
361 | 2 files changed, 44 insertions(+), 1 deletion(-) |
362 | |
363 | diff --git a/grub-core/loader/i386/efi/linux.c b/grub-core/loader/i386/efi/linux.c |
364 | diff --git a/debian/patches/linuxefi_rework_linux16_cmd.patch b/debian/patches/linuxefi_rework_linux16_cmd.patch |
365 | index 4c22a18..2205e94 100644 |
366 | --- a/debian/patches/linuxefi_rework_linux16_cmd.patch |
367 | +++ b/debian/patches/linuxefi_rework_linux16_cmd.patch |
368 | @@ -13,7 +13,7 @@ Last-Update: 2017-11-01 |
369 | |
370 | Patch-Name: linuxefi_rework_linux16_cmd.patch |
371 | --- |
372 | - grub-core/loader/i386/pc/linux.c | 34 +++++++++++++++++++++------------- |
373 | + grub-core/loader/i386/pc/linux.c | 34 ++++++++++++++++++++------------ |
374 | 1 file changed, 21 insertions(+), 13 deletions(-) |
375 | |
376 | diff --git a/grub-core/loader/i386/pc/linux.c b/grub-core/loader/i386/pc/linux.c |
377 | diff --git a/debian/patches/linuxefi_rework_non-sb_efi_chainload.patch b/debian/patches/linuxefi_rework_non-sb_efi_chainload.patch |
378 | index 894832e..00cf6dd 100644 |
379 | --- a/debian/patches/linuxefi_rework_non-sb_efi_chainload.patch |
380 | +++ b/debian/patches/linuxefi_rework_non-sb_efi_chainload.patch |
381 | @@ -47,11 +47,11 @@ Last-Update: 2017-11-01 |
382 | |
383 | Patch-Name: linuxefi_rework_non-sb_efi_chainload.patch |
384 | --- |
385 | - grub-core/kern/efi/sb.c | 14 +++-- |
386 | + grub-core/kern/efi/sb.c | 14 +++- |
387 | grub-core/loader/arm64/linux.c | 4 +- |
388 | - grub-core/loader/efi/chainloader.c | 115 ++++++++++++++++++++++--------------- |
389 | - grub-core/loader/efi/linux.c | 13 +++-- |
390 | - grub-core/loader/i386/efi/linux.c | 7 ++- |
391 | + grub-core/loader/efi/chainloader.c | 115 ++++++++++++++++++----------- |
392 | + grub-core/loader/efi/linux.c | 13 ++-- |
393 | + grub-core/loader/i386/efi/linux.c | 7 +- |
394 | include/grub/efi/linux.h | 2 +- |
395 | 6 files changed, 97 insertions(+), 58 deletions(-) |
396 | |
397 | diff --git a/debian/patches/linuxefi_rework_pe_loading.patch b/debian/patches/linuxefi_rework_pe_loading.patch |
398 | index 8bc36e4..37acdee 100644 |
399 | --- a/debian/patches/linuxefi_rework_pe_loading.patch |
400 | +++ b/debian/patches/linuxefi_rework_pe_loading.patch |
401 | @@ -13,8 +13,8 @@ Last-Update: 2017-11-01 |
402 | |
403 | Patch-Name: linuxefi_rework_pe_loading.patch |
404 | --- |
405 | - grub-core/loader/efi/chainloader.c | 156 +++++++++++++++++++++++++++++-------- |
406 | - include/grub/efi/pe32.h | 32 +++++++- |
407 | + grub-core/loader/efi/chainloader.c | 156 +++++++++++++++++++++++------ |
408 | + include/grub/efi/pe32.h | 32 +++++- |
409 | 2 files changed, 152 insertions(+), 36 deletions(-) |
410 | |
411 | diff --git a/grub-core/loader/efi/chainloader.c b/grub-core/loader/efi/chainloader.c |
412 | diff --git a/debian/patches/net_read_bracketed_ipv6_addr.patch b/debian/patches/net_read_bracketed_ipv6_addr.patch |
413 | index aa061d3..cdfadc2 100644 |
414 | --- a/debian/patches/net_read_bracketed_ipv6_addr.patch |
415 | +++ b/debian/patches/net_read_bracketed_ipv6_addr.patch |
416 | @@ -9,9 +9,9 @@ number |
417 | |
418 | Patch-Name: net_read_bracketed_ipv6_addr.patch |
419 | --- |
420 | - grub-core/net/http.c | 21 +++++++++--- |
421 | - grub-core/net/net.c | 93 ++++++++++++++++++++++++++++++++++++++++++++++++---- |
422 | - grub-core/net/tftp.c | 6 +++- |
423 | + grub-core/net/http.c | 21 ++++++++-- |
424 | + grub-core/net/net.c | 93 +++++++++++++++++++++++++++++++++++++++++--- |
425 | + grub-core/net/tftp.c | 6 ++- |
426 | include/grub/net.h | 1 + |
427 | 4 files changed, 110 insertions(+), 11 deletions(-) |
428 | |
429 | diff --git a/debian/patches/quick_boot.patch b/debian/patches/quick_boot.patch |
430 | index 48f6076..f04887d 100644 |
431 | --- a/debian/patches/quick_boot.patch |
432 | +++ b/debian/patches/quick_boot.patch |
433 | @@ -23,13 +23,13 @@ Last-Update: 2015-09-04 |
434 | |
435 | Patch-Name: quick_boot.patch |
436 | --- |
437 | - configure.ac | 11 +++++++ |
438 | - docs/grub.texi | 14 +++++++++ |
439 | - grub-core/normal/menu.c | 24 ++++++++++++++ |
440 | + configure.ac | 11 ++++++ |
441 | + docs/grub.texi | 14 +++++++ |
442 | + grub-core/normal/menu.c | 24 ++++++++++++ |
443 | util/grub-mkconfig.in | 3 +- |
444 | - util/grub.d/00_header.in | 77 ++++++++++++++++++++++++++++++++++++++------- |
445 | - util/grub.d/10_linux.in | 4 +++ |
446 | - util/grub.d/30_os-prober.in | 21 +++++++++++++ |
447 | + util/grub.d/00_header.in | 77 +++++++++++++++++++++++++++++++------ |
448 | + util/grub.d/10_linux.in | 4 ++ |
449 | + util/grub.d/30_os-prober.in | 21 ++++++++++ |
450 | 7 files changed, 141 insertions(+), 13 deletions(-) |
451 | |
452 | diff --git a/configure.ac b/configure.ac |
453 | diff --git a/debian/patches/restore_mkdevicemap.patch b/debian/patches/restore_mkdevicemap.patch |
454 | index 3337939..cfca403 100644 |
455 | --- a/debian/patches/restore_mkdevicemap.patch |
456 | +++ b/debian/patches/restore_mkdevicemap.patch |
457 | @@ -17,9 +17,9 @@ Patch-Name: restore_mkdevicemap.patch |
458 | Makefile.util.def | 17 + |
459 | docs/man/grub-mkdevicemap.h2m | 4 + |
460 | include/grub/util/deviceiter.h | 14 + |
461 | - util/deviceiter.c | 1021 ++++++++++++++++++++++++++++++++++++++++ |
462 | + util/deviceiter.c | 1021 ++++++++++++++++++++++++++++++++ |
463 | util/devicemap.c | 13 + |
464 | - util/grub-mkdevicemap.c | 181 +++++++ |
465 | + util/grub-mkdevicemap.c | 181 ++++++ |
466 | 6 files changed, 1250 insertions(+) |
467 | create mode 100644 docs/man/grub-mkdevicemap.h2m |
468 | create mode 100644 include/grub/util/deviceiter.h |
469 | diff --git a/debian/patches/series b/debian/patches/series |
470 | index 298e3f0..b90a19b 100644 |
471 | --- a/debian/patches/series |
472 | +++ b/debian/patches/series |
473 | @@ -76,3 +76,4 @@ shorter_version_info.patch |
474 | skip_text_gfxpayload_where_not_supported.patch |
475 | yylex-explicitly_cast_fprintf_to_void.patch |
476 | add-an-auto-nvram-option-to-grub-install.patch |
477 | +grub-shell-test-helper-disable-seabios-sercon.patch |
478 | diff --git a/debian/patches/syslinux-test-out-of-tree.patch b/debian/patches/syslinux-test-out-of-tree.patch |
479 | index 7f0e389..9c34f49 100644 |
480 | --- a/debian/patches/syslinux-test-out-of-tree.patch |
481 | +++ b/debian/patches/syslinux-test-out-of-tree.patch |
482 | @@ -19,8 +19,8 @@ Last-Update: 2016-09-19 |
483 | Patch-Name: syslinux-test-out-of-tree.patch |
484 | --- |
485 | Makefile.am | 6 ------ |
486 | - tests/syslinux/ubuntu10.04_grub.cfg.in | 30 +++++++++++++++--------------- |
487 | - tests/syslinux_test.in | 14 ++++++++++---- |
488 | + tests/syslinux/ubuntu10.04_grub.cfg.in | 30 +++++++++++++------------- |
489 | + tests/syslinux_test.in | 14 ++++++++---- |
490 | 3 files changed, 25 insertions(+), 25 deletions(-) |
491 | |
492 | diff --git a/Makefile.am b/Makefile.am |
493 | diff --git a/debian/patches/uefi_firmware_setup.patch b/debian/patches/uefi_firmware_setup.patch |
494 | index 8ffc301..50f0581 100644 |
495 | --- a/debian/patches/uefi_firmware_setup.patch |
496 | +++ b/debian/patches/uefi_firmware_setup.patch |
497 | @@ -8,8 +8,8 @@ Last-Update: 2015-09-04 |
498 | |
499 | Patch-Name: uefi_firmware_setup.patch |
500 | --- |
501 | - Makefile.util.def | 6 ++++++ |
502 | - util/grub.d/30_uefi-firmware.in | 46 +++++++++++++++++++++++++++++++++++++++++ |
503 | + Makefile.util.def | 6 +++++ |
504 | + util/grub.d/30_uefi-firmware.in | 46 +++++++++++++++++++++++++++++++++ |
505 | 2 files changed, 52 insertions(+) |
506 | create mode 100644 util/grub.d/30_uefi-firmware.in |
507 | |
508 | diff --git a/tests/util/grub-shell.in b/tests/util/grub-shell.in |
509 | index 814f36c..8e1e86b 100644 |
510 | --- a/tests/util/grub-shell.in |
511 | +++ b/tests/util/grub-shell.in |
512 | @@ -474,7 +474,7 @@ if [ x$boot = xnet ]; then |
513 | cp "${cfgfile}" "$netdir/boot/grub/grub.cfg" |
514 | cp "${source}" "$netdir/boot/grub/testcase.cfg" |
515 | [ -z "$files" ] || copy_extra_files "$netdir" $files |
516 | - timeout -s KILL $timeout "${qemu}" ${qemuopts} ${serial_null} -serial file:/dev/stdout -boot n -net "user,tftp=$netdir,bootfile=/boot/grub/${grub_modinfo_target_cpu}-${grub_modinfo_platform}/core.$netbootext" -net nic | cat | tr -d "\r" | do_trim |
517 | + timeout -s KILL $timeout "${qemu}" ${qemuopts} ${serial_null} -serial file:/dev/stdout -fw_cfg name=etc/sercon-port,string=0 -boot n -net "user,tftp=$netdir,bootfile=/boot/grub/${grub_modinfo_target_cpu}-${grub_modinfo_platform}/core.$netbootext" -net nic | cat | tr -d "\r" | do_trim |
518 | elif [ x$boot = xemu ]; then |
519 | rootdir="$(mktemp -d "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX")" |
520 | grubdir="$rootdir/boot/grub" |
521 | @@ -497,7 +497,7 @@ elif [ x$boot = xemu ]; then |
522 | test -n "$debug" || rm -rf "$rootdir" |
523 | test -n "$debug" || rm -f "$roottar" |
524 | else |
525 | - timeout -s KILL $timeout "${qemu}" ${qemuopts} ${serial_null} -serial file:/dev/stdout -${device}"${isofile}" ${bootdev} | cat | tr -d "\r" | do_trim |
526 | + timeout -s KILL $timeout "${qemu}" ${qemuopts} ${serial_null} -serial file:/dev/stdout -fw_cfg name=etc/sercon-port,string=0 -${device}"${isofile}" ${bootdev} | cat | tr -d "\r" | do_trim |
527 | fi |
528 | if [ x$boot = xcoreboot ]; then |
529 | test -n "$debug" || rm -f "${imgfile}" |