Merge ~ubuntu-core-dev/grub/+git/ubuntu:fix-seabios-ubuntu into ~ubuntu-core-dev/grub/+git/ubuntu: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)
Reviewer Review Type Date Requested Status
Ubuntu Core Development Team Pending
Review via email: mp+347486@code.launchpad.net

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
diff --git a/debian/.git-dpm b/debian/.git-dpm
index 32844ae..330ef7d 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -1,6 +1,6 @@
1# see git-dpm(1) from git-dpm package1# see git-dpm(1) from git-dpm package
21696f83780575139eb0ad801a311c947028278f22aebe41c9004522170f1c93568f4267566e370b61
31696f83780575139eb0ad801a311c947028278f23aebe41c9004522170f1c93568f4267566e370b61
40992ffbac6a1b4c97c350d12e5301e0067daa0d640992ffbac6a1b4c97c350d12e5301e0067daa0d6
50992ffbac6a1b4c97c350d12e5301e0067daa0d650992ffbac6a1b4c97c350d12e5301e0067daa0d6
6grub2_2.02.orig.tar.xz6grub2_2.02.orig.tar.xz
diff --git a/debian/changelog b/debian/changelog
index 05270e1..e02ed3f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
1grub2 (2.02-2ubuntu10) cosmic; urgency=medium
2
3 * debian/patches/grub-shell-test-helper-disable-seabios-sercon.patch: In the
4 grub-shell test helper, disable seabios's serial console through fw_cfg
5 runtime configuration as its boot output interferes with testing.
6 (LP: #1775249)
7
8 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Wed, 06 Jun 2018 01:03:26 +0200
9
1grub2 (2.02-2ubuntu9) cosmic; urgency=medium10grub2 (2.02-2ubuntu9) cosmic; urgency=medium
211
3 * debian/patches/add-an-auto-nvram-option-to-grub-install.patch: Add the12 * debian/patches/add-an-auto-nvram-option-to-grub-install.patch: Add the
diff --git a/debian/patches/bootp_new_net_bootp6_command.patch b/debian/patches/bootp_new_net_bootp6_command.patch
index 82975bc..64665bd 100644
--- a/debian/patches/bootp_new_net_bootp6_command.patch
+++ b/debian/patches/bootp_new_net_bootp6_command.patch
@@ -11,8 +11,8 @@ Signed-off-by: Ken Lin <ken.lin@hpe.com>
1111
12Patch-Name: bootp_new_net_bootp6_command.patch12Patch-Name: bootp_new_net_bootp6_command.patch
13---13---
14 grub-core/net/bootp.c | 908 +++++++++++++++++++++++++++++++++++++++++++++++++-14 grub-core/net/bootp.c | 908 +++++++++++++++++++++++++++++++++++++++++-
15 grub-core/net/ip.c | 39 +++15 grub-core/net/ip.c | 39 ++
16 include/grub/net.h | 72 ++++16 include/grub/net.h | 72 ++++
17 3 files changed, 1018 insertions(+), 1 deletion(-)17 3 files changed, 1018 insertions(+), 1 deletion(-)
1818
diff --git a/debian/patches/bootp_process_dhcpack_http_boot.patch b/debian/patches/bootp_process_dhcpack_http_boot.patch
index 473329a..73ab005 100644
--- a/debian/patches/bootp_process_dhcpack_http_boot.patch
+++ b/debian/patches/bootp_process_dhcpack_http_boot.patch
@@ -19,7 +19,7 @@ Signed-off-by: Ken Lin <ken.lin@hpe.com>
1919
20Patch-Name: bootp_process_dhcpack_http_boot.patch20Patch-Name: bootp_process_dhcpack_http_boot.patch
21---21---
22 grub-core/net/bootp.c | 67 +++++++++++++++++++++++++++++++++++++++++++++++++--22 grub-core/net/bootp.c | 67 +++++++++++++++++++++++++++++++++++++++++--
23 include/grub/net.h | 1 +23 include/grub/net.h | 1 +
24 2 files changed, 66 insertions(+), 2 deletions(-)24 2 files changed, 66 insertions(+), 2 deletions(-)
2525
diff --git a/debian/patches/default_grub_d.patch b/debian/patches/default_grub_d.patch
index f5e8102..e3b4ce6 100644
--- a/debian/patches/default_grub_d.patch
+++ b/debian/patches/default_grub_d.patch
@@ -9,7 +9,7 @@ Last-Update: 2014-01-28
99
10Patch-Name: default_grub_d.patch10Patch-Name: default_grub_d.patch
11---11---
12 grub-core/osdep/unix/config.c | 114 ++++++++++++++++++++++++++++++++++--------12 grub-core/osdep/unix/config.c | 114 +++++++++++++++++++++++++++-------
13 util/grub-mkconfig.in | 5 ++13 util/grub-mkconfig.in | 5 ++
14 2 files changed, 98 insertions(+), 21 deletions(-)14 2 files changed, 98 insertions(+), 21 deletions(-)
1515
diff --git a/debian/patches/efinet_set_dns_from_uefi_proto.patch b/debian/patches/efinet_set_dns_from_uefi_proto.patch
index 4b2fdfe..cb75f3f 100644
--- a/debian/patches/efinet_set_dns_from_uefi_proto.patch
+++ b/debian/patches/efinet_set_dns_from_uefi_proto.patch
@@ -30,8 +30,8 @@ Signed-off-by: Ken Lin <ken.lin@hpe.com>
3030
31Patch-Name: efinet_set_dns_from_uefi_proto.patch31Patch-Name: efinet_set_dns_from_uefi_proto.patch
32---32---
33 grub-core/net/drivers/efi/efinet.c | 163 +++++++++++++++++++++++++++++++++++++33 grub-core/net/drivers/efi/efinet.c | 163 +++++++++++++++++++++++++++++
34 include/grub/efi/api.h | 76 +++++++++++++++++34 include/grub/efi/api.h | 76 ++++++++++++++
35 2 files changed, 239 insertions(+)35 2 files changed, 239 insertions(+)
3636
37diff --git a/grub-core/net/drivers/efi/efinet.c b/grub-core/net/drivers/efi/efinet.c37diff --git a/grub-core/net/drivers/efi/efinet.c b/grub-core/net/drivers/efi/efinet.c
diff --git a/debian/patches/efinet_set_network_from_uefi_devpath.patch b/debian/patches/efinet_set_network_from_uefi_devpath.patch
index ca47cca..c9e17e4 100644
--- a/debian/patches/efinet_set_network_from_uefi_devpath.patch
+++ b/debian/patches/efinet_set_network_from_uefi_devpath.patch
@@ -29,7 +29,7 @@ Signed-off-by: Ken Lin <ken.lin@hpe.com>
2929
30Patch-Name: efinet_set_network_from_uefi_devpath.patch30Patch-Name: efinet_set_network_from_uefi_devpath.patch
31---31---
32 grub-core/net/drivers/efi/efinet.c | 268 +++++++++++++++++++++++++++++++++++--32 grub-core/net/drivers/efi/efinet.c | 268 ++++++++++++++++++++++++++++-
33 include/grub/efi/api.h | 11 ++33 include/grub/efi/api.h | 11 ++
34 2 files changed, 270 insertions(+), 9 deletions(-)34 2 files changed, 270 insertions(+), 9 deletions(-)
3535
diff --git a/debian/patches/efinet_uefi_ipv6_pxe_support.patch b/debian/patches/efinet_uefi_ipv6_pxe_support.patch
index 3ff75c2..e7dca37 100644
--- a/debian/patches/efinet_uefi_ipv6_pxe_support.patch
+++ b/debian/patches/efinet_uefi_ipv6_pxe_support.patch
@@ -12,8 +12,8 @@ Signed-off-by: Ken Lin <ken.lin@hpe.com>
1212
13Patch-Name: efinet_uefi_ipv6_pxe_support.patch13Patch-Name: efinet_uefi_ipv6_pxe_support.patch
14---14---
15 grub-core/net/drivers/efi/efinet.c | 24 +++++++++++++----15 grub-core/net/drivers/efi/efinet.c | 24 ++++++++++---
16 include/grub/efi/api.h | 55 +++++++++++++++++++++++++++++++++++++-16 include/grub/efi/api.h | 55 +++++++++++++++++++++++++++++-
17 2 files changed, 73 insertions(+), 6 deletions(-)17 2 files changed, 73 insertions(+), 6 deletions(-)
1818
19diff --git a/grub-core/net/drivers/efi/efinet.c b/grub-core/net/drivers/efi/efinet.c19diff --git a/grub-core/net/drivers/efi/efinet.c b/grub-core/net/drivers/efi/efinet.c
diff --git a/debian/patches/gfxpayload_dynamic.patch b/debian/patches/gfxpayload_dynamic.patch
index e47dfde..f5f70e1 100644
--- a/debian/patches/gfxpayload_dynamic.patch
+++ b/debian/patches/gfxpayload_dynamic.patch
@@ -13,10 +13,10 @@ Last-Update: 2013-12-25
1313
14Patch-Name: gfxpayload_dynamic.patch14Patch-Name: gfxpayload_dynamic.patch
15---15---
16 configure.ac | 11 +++16 configure.ac | 11 ++
17 grub-core/Makefile.core.def | 9 +++17 grub-core/Makefile.core.def | 9 ++
18 grub-core/commands/i386/pc/hwmatch.c | 146 +++++++++++++++++++++++++++++++++++18 grub-core/commands/i386/pc/hwmatch.c | 146 +++++++++++++++++++++++++++
19 util/grub.d/10_linux.in | 37 ++++++++-19 util/grub.d/10_linux.in | 37 ++++++-
20 4 files changed, 200 insertions(+), 3 deletions(-)20 4 files changed, 200 insertions(+), 3 deletions(-)
21 create mode 100644 grub-core/commands/i386/pc/hwmatch.c21 create mode 100644 grub-core/commands/i386/pc/hwmatch.c
2222
diff --git a/debian/patches/grub-install-extra-removable.patch b/debian/patches/grub-install-extra-removable.patch
index 38c5bba..341f93e 100644
--- a/debian/patches/grub-install-extra-removable.patch
+++ b/debian/patches/grub-install-extra-removable.patch
@@ -18,7 +18,7 @@ Last-Update: 2014-12-20
1818
19Patch-Name: grub-install-extra-removable.patch19Patch-Name: grub-install-extra-removable.patch
20---20---
21 util/grub-install.c | 125 +++++++++++++++++++++++++++++++++++++++++++++++++++-21 util/grub-install.c | 125 +++++++++++++++++++++++++++++++++++++++++++-
22 1 file changed, 123 insertions(+), 2 deletions(-)22 1 file changed, 123 insertions(+), 2 deletions(-)
2323
24diff --git a/util/grub-install.c b/util/grub-install.c24diff --git a/util/grub-install.c b/util/grub-install.c
diff --git a/debian/patches/grub-shell-test-helper-disable-seabios-sercon.patch b/debian/patches/grub-shell-test-helper-disable-seabios-sercon.patch
25new file mode 10064425new file mode 100644
index 0000000..cfa5946
--- /dev/null
+++ b/debian/patches/grub-shell-test-helper-disable-seabios-sercon.patch
@@ -0,0 +1,33 @@
1From aebe41c9004522170f1c93568f4267566e370b61 Mon Sep 17 00:00:00 2001
2From: Łukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>
3Date: Wed, 6 Jun 2018 00:55:46 +0200
4Subject: In the grub-shell test helper, disable seabios's serial console
5 through fw_cfg runtime configuration as it's boot output interferes with
6 testing.
7
8---
9 tests/util/grub-shell.in | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
11
12diff --git a/tests/util/grub-shell.in b/tests/util/grub-shell.in
13index 814f36c6b..8e1e86bb0 100644
14--- a/tests/util/grub-shell.in
15+++ b/tests/util/grub-shell.in
16@@ -474,7 +474,7 @@ if [ x$boot = xnet ]; then
17 cp "${cfgfile}" "$netdir/boot/grub/grub.cfg"
18 cp "${source}" "$netdir/boot/grub/testcase.cfg"
19 [ -z "$files" ] || copy_extra_files "$netdir" $files
20- 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
21+ 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
22 elif [ x$boot = xemu ]; then
23 rootdir="$(mktemp -d "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX")"
24 grubdir="$rootdir/boot/grub"
25@@ -497,7 +497,7 @@ elif [ x$boot = xemu ]; then
26 test -n "$debug" || rm -rf "$rootdir"
27 test -n "$debug" || rm -f "$roottar"
28 else
29- timeout -s KILL $timeout "${qemu}" ${qemuopts} ${serial_null} -serial file:/dev/stdout -${device}"${isofile}" ${bootdev} | cat | tr -d "\r" | do_trim
30+ 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
31 fi
32 if [ x$boot = xcoreboot ]; then
33 test -n "$debug" || rm -f "${imgfile}"
diff --git a/debian/patches/install_locale_langpack.patch b/debian/patches/install_locale_langpack.patch
index 2b2a868..93abe0c 100644
--- a/debian/patches/install_locale_langpack.patch
+++ b/debian/patches/install_locale_langpack.patch
@@ -9,7 +9,7 @@ Last-Update: 2013-12-25
99
10Patch-Name: install_locale_langpack.patch10Patch-Name: install_locale_langpack.patch
11---11---
12 util/grub-install-common.c | 40 +++++++++++++++++++++++++++++++++-------12 util/grub-install-common.c | 40 +++++++++++++++++++++++++++++++-------
13 1 file changed, 33 insertions(+), 7 deletions(-)13 1 file changed, 33 insertions(+), 7 deletions(-)
1414
15diff --git a/util/grub-install-common.c b/util/grub-install-common.c15diff --git a/util/grub-install-common.c b/util/grub-install-common.c
diff --git a/debian/patches/install_powerpc_machtypes.patch b/debian/patches/install_powerpc_machtypes.patch
index 9618f9b..fef2d56 100644
--- a/debian/patches/install_powerpc_machtypes.patch
+++ b/debian/patches/install_powerpc_machtypes.patch
@@ -17,11 +17,11 @@ Last-Update: 2014-10-15
17Patch-Name: install_powerpc_machtypes.patch17Patch-Name: install_powerpc_machtypes.patch
18---18---
19 grub-core/osdep/basic/platform.c | 5 +++19 grub-core/osdep/basic/platform.c | 5 +++
20 grub-core/osdep/linux/platform.c | 72 ++++++++++++++++++++++++++++++++++++++20 grub-core/osdep/linux/platform.c | 72 ++++++++++++++++++++++++++++++
21 grub-core/osdep/unix/platform.c | 28 +++++++++++----21 grub-core/osdep/unix/platform.c | 28 +++++++++---
22 grub-core/osdep/windows/platform.c | 6 ++++22 grub-core/osdep/windows/platform.c | 6 +++
23 include/grub/util/install.h | 3 ++23 include/grub/util/install.h | 3 ++
24 util/grub-install.c | 11 ++++++24 util/grub-install.c | 11 +++++
25 6 files changed, 119 insertions(+), 6 deletions(-)25 6 files changed, 119 insertions(+), 6 deletions(-)
2626
27diff --git a/grub-core/osdep/basic/platform.c b/grub-core/osdep/basic/platform.c27diff --git a/grub-core/osdep/basic/platform.c b/grub-core/osdep/basic/platform.c
diff --git a/debian/patches/install_signed.patch b/debian/patches/install_signed.patch
index a7b5397..e79ff52 100644
--- a/debian/patches/install_signed.patch
+++ b/debian/patches/install_signed.patch
@@ -15,7 +15,7 @@ Last-Update: 2016-11-01
1515
16Patch-Name: install_signed.patch16Patch-Name: install_signed.patch
17---17---
18 util/grub-install.c | 195 +++++++++++++++++++++++++++++++++++++++-------------18 util/grub-install.c | 195 +++++++++++++++++++++++++++++++++-----------
19 1 file changed, 148 insertions(+), 47 deletions(-)19 1 file changed, 148 insertions(+), 47 deletions(-)
2020
21diff --git a/util/grub-install.c b/util/grub-install.c21diff --git a/util/grub-install.c b/util/grub-install.c
diff --git a/debian/patches/linuxefi.patch b/debian/patches/linuxefi.patch
index f5b4460..bc46b54 100644
--- a/debian/patches/linuxefi.patch
+++ b/debian/patches/linuxefi.patch
@@ -10,8 +10,8 @@ Last-Update: 2017-11-01
10Patch-Name: linuxefi.patch10Patch-Name: linuxefi.patch
11---11---
12 grub-core/Makefile.core.def | 8 +12 grub-core/Makefile.core.def | 8 +
13 grub-core/kern/efi/mm.c | 32 ++++13 grub-core/kern/efi/mm.c | 32 +++
14 grub-core/loader/i386/efi/linux.c | 371 ++++++++++++++++++++++++++++++++++++++14 grub-core/loader/i386/efi/linux.c | 371 ++++++++++++++++++++++++++++++
15 include/grub/efi/efi.h | 3 +15 include/grub/efi/efi.h | 3 +
16 include/grub/i386/linux.h | 1 +16 include/grub/i386/linux.h | 1 +
17 5 files changed, 415 insertions(+)17 5 files changed, 415 insertions(+)
diff --git a/debian/patches/linuxefi_add_sb_to_efi_chainload.patch b/debian/patches/linuxefi_add_sb_to_efi_chainload.patch
index 7557cd8..6261249 100644
--- a/debian/patches/linuxefi_add_sb_to_efi_chainload.patch
+++ b/debian/patches/linuxefi_add_sb_to_efi_chainload.patch
@@ -24,7 +24,7 @@ Last-Update: 2017-11-01
24Patch-Name: linuxefi_add_sb_to_efi_chainload.patch24Patch-Name: linuxefi_add_sb_to_efi_chainload.patch
25---25---
26 grub-core/Makefile.core.def | 1 +26 grub-core/Makefile.core.def | 1 +
27 grub-core/loader/efi/chainloader.c | 612 ++++++++++++++++++++++++++++++++++---27 grub-core/loader/efi/chainloader.c | 612 +++++++++++++++++++++++++++--
28 include/grub/efi/pe32.h | 20 +-28 include/grub/efi/pe32.h | 20 +-
29 3 files changed, 596 insertions(+), 37 deletions(-)29 3 files changed, 596 insertions(+), 37 deletions(-)
3030
diff --git a/debian/patches/linuxefi_fix_efi_validation_race.patch b/debian/patches/linuxefi_fix_efi_validation_race.patch
index 028f18e..447fc12 100644
--- a/debian/patches/linuxefi_fix_efi_validation_race.patch
+++ b/debian/patches/linuxefi_fix_efi_validation_race.patch
@@ -9,7 +9,7 @@ Last-Update: 2017-11-01
99
10Patch-Name: linuxefi_fix_efi_validation_race.patch10Patch-Name: linuxefi_fix_efi_validation_race.patch
11---11---
12 grub-core/loader/i386/efi/linux.c | 44 ++++++++++-----------------------------12 grub-core/loader/i386/efi/linux.c | 44 ++++++++-----------------------
13 1 file changed, 11 insertions(+), 33 deletions(-)13 1 file changed, 11 insertions(+), 33 deletions(-)
1414
15diff --git a/grub-core/loader/i386/efi/linux.c b/grub-core/loader/i386/efi/linux.c15diff --git a/grub-core/loader/i386/efi/linux.c b/grub-core/loader/i386/efi/linux.c
diff --git a/debian/patches/linuxefi_handle_multiarch_boot.patch b/debian/patches/linuxefi_handle_multiarch_boot.patch
index 3f07c16..0930864 100644
--- a/debian/patches/linuxefi_handle_multiarch_boot.patch
+++ b/debian/patches/linuxefi_handle_multiarch_boot.patch
@@ -13,9 +13,9 @@ Last-Update: 2017-11-01
1313
14Patch-Name: linuxefi_handle_multiarch_boot.patch14Patch-Name: linuxefi_handle_multiarch_boot.patch
15---15---
16 grub-core/loader/efi/linux.c | 9 +++-16 grub-core/loader/efi/linux.c | 9 ++-
17 grub-core/loader/i386/efi/linux.c | 108 ++++++++++++++++++++++++++------------17 grub-core/loader/i386/efi/linux.c | 108 +++++++++++++++++++++---------
18 include/grub/i386/linux.h | 7 ++-18 include/grub/i386/linux.h | 7 +-
19 3 files changed, 88 insertions(+), 36 deletions(-)19 3 files changed, 88 insertions(+), 36 deletions(-)
2020
21diff --git a/grub-core/loader/efi/linux.c b/grub-core/loader/efi/linux.c21diff --git a/grub-core/loader/efi/linux.c b/grub-core/loader/efi/linux.c
diff --git a/debian/patches/linuxefi_honor_sb_mode.patch b/debian/patches/linuxefi_honor_sb_mode.patch
index 128e4df..fab527c 100644
--- a/debian/patches/linuxefi_honor_sb_mode.patch
+++ b/debian/patches/linuxefi_honor_sb_mode.patch
@@ -16,23 +16,23 @@ Patch-Name: linuxefi_honor_sb_mode.patch
16---16---
17 grub-core/Makefile.am | 1 +17 grub-core/Makefile.am | 1 +
18 grub-core/Makefile.core.def | 1 +18 grub-core/Makefile.core.def | 1 +
19 grub-core/commands/iorw.c | 7 +++++19 grub-core/commands/iorw.c | 7 ++++
20 grub-core/commands/memrw.c | 7 +++++20 grub-core/commands/memrw.c | 7 ++++
21 grub-core/kern/dl.c | 1 +21 grub-core/kern/dl.c | 1 +
22 grub-core/kern/efi/efi.c | 28 ------------------22 grub-core/kern/efi/efi.c | 28 ---------------
23 grub-core/kern/efi/sb.c | 58 ++++++++++++++++++++++++++++++++++++++23 grub-core/kern/efi/sb.c | 58 ++++++++++++++++++++++++++++++
24 grub-core/loader/efi/appleloader.c | 7 +++++24 grub-core/loader/efi/appleloader.c | 7 ++++
25 grub-core/loader/efi/chainloader.c | 1 +25 grub-core/loader/efi/chainloader.c | 1 +
26 grub-core/loader/i386/bsd.c | 7 +++++26 grub-core/loader/i386/bsd.c | 7 ++++
27 grub-core/loader/i386/linux.c | 7 +++++27 grub-core/loader/i386/linux.c | 7 ++++
28 grub-core/loader/i386/pc/linux.c | 7 +++++28 grub-core/loader/i386/pc/linux.c | 7 ++++
29 grub-core/loader/multiboot.c | 7 +++++29 grub-core/loader/multiboot.c | 7 ++++
30 grub-core/loader/xnu.c | 7 +++++30 grub-core/loader/xnu.c | 7 ++++
31 include/grub/efi/efi.h | 1 -31 include/grub/efi/efi.h | 1 -
32 include/grub/efi/sb.h | 29 +++++++++++++++++++32 include/grub/efi/sb.h | 29 +++++++++++++++
33 include/grub/ia64/linux.h | 033 include/grub/ia64/linux.h | 0
34 include/grub/mips/linux.h | 034 include/grub/mips/linux.h | 0
35 include/grub/powerpc/linux.h | 22 +++++++++++++++35 include/grub/powerpc/linux.h | 22 ++++++++++++
36 include/grub/sparc64/linux.h | 036 include/grub/sparc64/linux.h | 0
37 20 files changed, 169 insertions(+), 29 deletions(-)37 20 files changed, 169 insertions(+), 29 deletions(-)
38 create mode 100644 grub-core/kern/efi/sb.c38 create mode 100644 grub-core/kern/efi/sb.c
diff --git a/debian/patches/linuxefi_load_arm_with_sb.patch b/debian/patches/linuxefi_load_arm_with_sb.patch
index 96a79b7..54fbe54 100644
--- a/debian/patches/linuxefi_load_arm_with_sb.patch
+++ b/debian/patches/linuxefi_load_arm_with_sb.patch
@@ -17,11 +17,11 @@ Patch-Name: linuxefi_load_arm_with_sb.patch
17---17---
18 grub-core/Makefile.core.def | 3 +18 grub-core/Makefile.core.def | 3 +
19 grub-core/loader/arm/linux.c | 1 +19 grub-core/loader/arm/linux.c | 1 +
20 grub-core/loader/arm64/linux.c | 119 ++++++++++++++++++++------------------20 grub-core/loader/arm64/linux.c | 119 ++++++++++++++++--------------
21 grub-core/loader/efi/linux.c | 65 +++++++++++++++++++++21 grub-core/loader/efi/linux.c | 65 ++++++++++++++++
22 grub-core/loader/i386/efi/linux.c | 39 +------------22 grub-core/loader/i386/efi/linux.c | 39 +---------
23 include/grub/arm64/linux.h | 7 +++23 include/grub/arm64/linux.h | 7 ++
24 include/grub/efi/linux.h | 31 ++++++++++24 include/grub/efi/linux.h | 31 ++++++++
25 7 files changed, 174 insertions(+), 91 deletions(-)25 7 files changed, 174 insertions(+), 91 deletions(-)
26 create mode 100644 grub-core/loader/efi/linux.c26 create mode 100644 grub-core/loader/efi/linux.c
27 create mode 100644 include/grub/efi/linux.h27 create mode 100644 include/grub/efi/linux.h
diff --git a/debian/patches/linuxefi_non_sb_fallback.patch b/debian/patches/linuxefi_non_sb_fallback.patch
index 3e7c686..73df218 100644
--- a/debian/patches/linuxefi_non_sb_fallback.patch
+++ b/debian/patches/linuxefi_non_sb_fallback.patch
@@ -10,7 +10,7 @@ Last-Update: 2017-11-01
10Patch-Name: linuxefi_non_sb_fallback.patch10Patch-Name: linuxefi_non_sb_fallback.patch
11---11---
12 grub-core/loader/i386/efi/linux.c | 2 +-12 grub-core/loader/i386/efi/linux.c | 2 +-
13 grub-core/loader/i386/linux.c | 43 +++++++++++++++++++++++++++++++++++++++13 grub-core/loader/i386/linux.c | 43 +++++++++++++++++++++++++++++++
14 2 files changed, 44 insertions(+), 1 deletion(-)14 2 files changed, 44 insertions(+), 1 deletion(-)
1515
16diff --git a/grub-core/loader/i386/efi/linux.c b/grub-core/loader/i386/efi/linux.c16diff --git a/grub-core/loader/i386/efi/linux.c b/grub-core/loader/i386/efi/linux.c
diff --git a/debian/patches/linuxefi_rework_linux16_cmd.patch b/debian/patches/linuxefi_rework_linux16_cmd.patch
index 4c22a18..2205e94 100644
--- a/debian/patches/linuxefi_rework_linux16_cmd.patch
+++ b/debian/patches/linuxefi_rework_linux16_cmd.patch
@@ -13,7 +13,7 @@ Last-Update: 2017-11-01
1313
14Patch-Name: linuxefi_rework_linux16_cmd.patch14Patch-Name: linuxefi_rework_linux16_cmd.patch
15---15---
16 grub-core/loader/i386/pc/linux.c | 34 +++++++++++++++++++++-------------16 grub-core/loader/i386/pc/linux.c | 34 ++++++++++++++++++++------------
17 1 file changed, 21 insertions(+), 13 deletions(-)17 1 file changed, 21 insertions(+), 13 deletions(-)
1818
19diff --git a/grub-core/loader/i386/pc/linux.c b/grub-core/loader/i386/pc/linux.c19diff --git a/grub-core/loader/i386/pc/linux.c b/grub-core/loader/i386/pc/linux.c
diff --git a/debian/patches/linuxefi_rework_non-sb_efi_chainload.patch b/debian/patches/linuxefi_rework_non-sb_efi_chainload.patch
index 894832e..00cf6dd 100644
--- a/debian/patches/linuxefi_rework_non-sb_efi_chainload.patch
+++ b/debian/patches/linuxefi_rework_non-sb_efi_chainload.patch
@@ -47,11 +47,11 @@ Last-Update: 2017-11-01
4747
48Patch-Name: linuxefi_rework_non-sb_efi_chainload.patch48Patch-Name: linuxefi_rework_non-sb_efi_chainload.patch
49---49---
50 grub-core/kern/efi/sb.c | 14 +++--50 grub-core/kern/efi/sb.c | 14 +++-
51 grub-core/loader/arm64/linux.c | 4 +-51 grub-core/loader/arm64/linux.c | 4 +-
52 grub-core/loader/efi/chainloader.c | 115 ++++++++++++++++++++++---------------52 grub-core/loader/efi/chainloader.c | 115 ++++++++++++++++++-----------
53 grub-core/loader/efi/linux.c | 13 +++--53 grub-core/loader/efi/linux.c | 13 ++--
54 grub-core/loader/i386/efi/linux.c | 7 ++-54 grub-core/loader/i386/efi/linux.c | 7 +-
55 include/grub/efi/linux.h | 2 +-55 include/grub/efi/linux.h | 2 +-
56 6 files changed, 97 insertions(+), 58 deletions(-)56 6 files changed, 97 insertions(+), 58 deletions(-)
5757
diff --git a/debian/patches/linuxefi_rework_pe_loading.patch b/debian/patches/linuxefi_rework_pe_loading.patch
index 8bc36e4..37acdee 100644
--- a/debian/patches/linuxefi_rework_pe_loading.patch
+++ b/debian/patches/linuxefi_rework_pe_loading.patch
@@ -13,8 +13,8 @@ Last-Update: 2017-11-01
1313
14Patch-Name: linuxefi_rework_pe_loading.patch14Patch-Name: linuxefi_rework_pe_loading.patch
15---15---
16 grub-core/loader/efi/chainloader.c | 156 +++++++++++++++++++++++++++++--------16 grub-core/loader/efi/chainloader.c | 156 +++++++++++++++++++++++------
17 include/grub/efi/pe32.h | 32 +++++++-17 include/grub/efi/pe32.h | 32 +++++-
18 2 files changed, 152 insertions(+), 36 deletions(-)18 2 files changed, 152 insertions(+), 36 deletions(-)
1919
20diff --git a/grub-core/loader/efi/chainloader.c b/grub-core/loader/efi/chainloader.c20diff --git a/grub-core/loader/efi/chainloader.c b/grub-core/loader/efi/chainloader.c
diff --git a/debian/patches/net_read_bracketed_ipv6_addr.patch b/debian/patches/net_read_bracketed_ipv6_addr.patch
index aa061d3..cdfadc2 100644
--- a/debian/patches/net_read_bracketed_ipv6_addr.patch
+++ b/debian/patches/net_read_bracketed_ipv6_addr.patch
@@ -9,9 +9,9 @@ number
99
10Patch-Name: net_read_bracketed_ipv6_addr.patch10Patch-Name: net_read_bracketed_ipv6_addr.patch
11---11---
12 grub-core/net/http.c | 21 +++++++++---12 grub-core/net/http.c | 21 ++++++++--
13 grub-core/net/net.c | 93 ++++++++++++++++++++++++++++++++++++++++++++++++----13 grub-core/net/net.c | 93 +++++++++++++++++++++++++++++++++++++++++---
14 grub-core/net/tftp.c | 6 +++-14 grub-core/net/tftp.c | 6 ++-
15 include/grub/net.h | 1 +15 include/grub/net.h | 1 +
16 4 files changed, 110 insertions(+), 11 deletions(-)16 4 files changed, 110 insertions(+), 11 deletions(-)
1717
diff --git a/debian/patches/quick_boot.patch b/debian/patches/quick_boot.patch
index 48f6076..f04887d 100644
--- a/debian/patches/quick_boot.patch
+++ b/debian/patches/quick_boot.patch
@@ -23,13 +23,13 @@ Last-Update: 2015-09-04
2323
24Patch-Name: quick_boot.patch24Patch-Name: quick_boot.patch
25---25---
26 configure.ac | 11 +++++++26 configure.ac | 11 ++++++
27 docs/grub.texi | 14 +++++++++27 docs/grub.texi | 14 +++++++
28 grub-core/normal/menu.c | 24 ++++++++++++++28 grub-core/normal/menu.c | 24 ++++++++++++
29 util/grub-mkconfig.in | 3 +-29 util/grub-mkconfig.in | 3 +-
30 util/grub.d/00_header.in | 77 ++++++++++++++++++++++++++++++++++++++-------30 util/grub.d/00_header.in | 77 +++++++++++++++++++++++++++++++------
31 util/grub.d/10_linux.in | 4 +++31 util/grub.d/10_linux.in | 4 ++
32 util/grub.d/30_os-prober.in | 21 +++++++++++++32 util/grub.d/30_os-prober.in | 21 ++++++++++
33 7 files changed, 141 insertions(+), 13 deletions(-)33 7 files changed, 141 insertions(+), 13 deletions(-)
3434
35diff --git a/configure.ac b/configure.ac35diff --git a/configure.ac b/configure.ac
diff --git a/debian/patches/restore_mkdevicemap.patch b/debian/patches/restore_mkdevicemap.patch
index 3337939..cfca403 100644
--- a/debian/patches/restore_mkdevicemap.patch
+++ b/debian/patches/restore_mkdevicemap.patch
@@ -17,9 +17,9 @@ Patch-Name: restore_mkdevicemap.patch
17 Makefile.util.def | 17 +17 Makefile.util.def | 17 +
18 docs/man/grub-mkdevicemap.h2m | 4 +18 docs/man/grub-mkdevicemap.h2m | 4 +
19 include/grub/util/deviceiter.h | 14 +19 include/grub/util/deviceiter.h | 14 +
20 util/deviceiter.c | 1021 ++++++++++++++++++++++++++++++++++++++++20 util/deviceiter.c | 1021 ++++++++++++++++++++++++++++++++
21 util/devicemap.c | 13 +21 util/devicemap.c | 13 +
22 util/grub-mkdevicemap.c | 181 +++++++22 util/grub-mkdevicemap.c | 181 ++++++
23 6 files changed, 1250 insertions(+)23 6 files changed, 1250 insertions(+)
24 create mode 100644 docs/man/grub-mkdevicemap.h2m24 create mode 100644 docs/man/grub-mkdevicemap.h2m
25 create mode 100644 include/grub/util/deviceiter.h25 create mode 100644 include/grub/util/deviceiter.h
diff --git a/debian/patches/series b/debian/patches/series
index 298e3f0..b90a19b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -76,3 +76,4 @@ shorter_version_info.patch
76skip_text_gfxpayload_where_not_supported.patch76skip_text_gfxpayload_where_not_supported.patch
77yylex-explicitly_cast_fprintf_to_void.patch77yylex-explicitly_cast_fprintf_to_void.patch
78add-an-auto-nvram-option-to-grub-install.patch78add-an-auto-nvram-option-to-grub-install.patch
79grub-shell-test-helper-disable-seabios-sercon.patch
diff --git a/debian/patches/syslinux-test-out-of-tree.patch b/debian/patches/syslinux-test-out-of-tree.patch
index 7f0e389..9c34f49 100644
--- a/debian/patches/syslinux-test-out-of-tree.patch
+++ b/debian/patches/syslinux-test-out-of-tree.patch
@@ -19,8 +19,8 @@ Last-Update: 2016-09-19
19Patch-Name: syslinux-test-out-of-tree.patch19Patch-Name: syslinux-test-out-of-tree.patch
20---20---
21 Makefile.am | 6 ------21 Makefile.am | 6 ------
22 tests/syslinux/ubuntu10.04_grub.cfg.in | 30 +++++++++++++++---------------22 tests/syslinux/ubuntu10.04_grub.cfg.in | 30 +++++++++++++-------------
23 tests/syslinux_test.in | 14 ++++++++++----23 tests/syslinux_test.in | 14 ++++++++----
24 3 files changed, 25 insertions(+), 25 deletions(-)24 3 files changed, 25 insertions(+), 25 deletions(-)
2525
26diff --git a/Makefile.am b/Makefile.am26diff --git a/Makefile.am b/Makefile.am
diff --git a/debian/patches/uefi_firmware_setup.patch b/debian/patches/uefi_firmware_setup.patch
index 8ffc301..50f0581 100644
--- a/debian/patches/uefi_firmware_setup.patch
+++ b/debian/patches/uefi_firmware_setup.patch
@@ -8,8 +8,8 @@ Last-Update: 2015-09-04
88
9Patch-Name: uefi_firmware_setup.patch9Patch-Name: uefi_firmware_setup.patch
10---10---
11 Makefile.util.def | 6 ++++++11 Makefile.util.def | 6 +++++
12 util/grub.d/30_uefi-firmware.in | 46 +++++++++++++++++++++++++++++++++++++++++12 util/grub.d/30_uefi-firmware.in | 46 +++++++++++++++++++++++++++++++++
13 2 files changed, 52 insertions(+)13 2 files changed, 52 insertions(+)
14 create mode 100644 util/grub.d/30_uefi-firmware.in14 create mode 100644 util/grub.d/30_uefi-firmware.in
1515
diff --git a/tests/util/grub-shell.in b/tests/util/grub-shell.in
index 814f36c..8e1e86b 100644
--- a/tests/util/grub-shell.in
+++ b/tests/util/grub-shell.in
@@ -474,7 +474,7 @@ if [ x$boot = xnet ]; then
474 cp "${cfgfile}" "$netdir/boot/grub/grub.cfg"474 cp "${cfgfile}" "$netdir/boot/grub/grub.cfg"
475 cp "${source}" "$netdir/boot/grub/testcase.cfg"475 cp "${source}" "$netdir/boot/grub/testcase.cfg"
476 [ -z "$files" ] || copy_extra_files "$netdir" $files476 [ -z "$files" ] || copy_extra_files "$netdir" $files
477 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_trim477 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
478elif [ x$boot = xemu ]; then478elif [ x$boot = xemu ]; then
479 rootdir="$(mktemp -d "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX")"479 rootdir="$(mktemp -d "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX")"
480 grubdir="$rootdir/boot/grub"480 grubdir="$rootdir/boot/grub"
@@ -497,7 +497,7 @@ elif [ x$boot = xemu ]; then
497 test -n "$debug" || rm -rf "$rootdir"497 test -n "$debug" || rm -rf "$rootdir"
498 test -n "$debug" || rm -f "$roottar"498 test -n "$debug" || rm -f "$roottar"
499else499else
500 timeout -s KILL $timeout "${qemu}" ${qemuopts} ${serial_null} -serial file:/dev/stdout -${device}"${isofile}" ${bootdev} | cat | tr -d "\r" | do_trim500 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
501fi501fi
502if [ x$boot = xcoreboot ]; then502if [ x$boot = xcoreboot ]; then
503 test -n "$debug" || rm -f "${imgfile}"503 test -n "$debug" || rm -f "${imgfile}"

Subscribers

People subscribed via source and target branches