aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2020-01-08 00:23:46 +0000
committerAriadne Conill <ariadne@dereferenced.org>2020-01-22 14:34:41 +0000
commitb454dc964e2960b3f0ad71e2e3a9005df168f58b (patch)
treef8ec8af9cd7a4ee52928ac33efccb0d4a5b73184
parent073aaff70d0826ad419e78b14747c07cfa9e2a7a (diff)
downloadalpine_aports-b454dc964e2960b3f0ad71e2e3a9005df168f58b.tar.bz2
alpine_aports-b454dc964e2960b3f0ad71e2e3a9005df168f58b.tar.xz
alpine_aports-b454dc964e2960b3f0ad71e2e3a9005df168f58b.zip
community/uboot-tools: replace irrelevant EFI error with stub
-rw-r--r--community/uboot-tools/APKBUILD4
-rw-r--r--community/uboot-tools/defang-efi-bootcmd.patch13
2 files changed, 16 insertions, 1 deletions
diff --git a/community/uboot-tools/APKBUILD b/community/uboot-tools/APKBUILD
index 1edab9545a..3934177741 100644
--- a/community/uboot-tools/APKBUILD
+++ b/community/uboot-tools/APKBUILD
@@ -12,6 +12,7 @@ subpackages="$pkgname-examples"
12options="!check" # No test suite 12options="!check" # No test suite
13source="http://ftp.denx.de/pub/u-boot/u-boot-$pkgver.tar.bz2 13source="http://ftp.denx.de/pub/u-boot/u-boot-$pkgver.tar.bz2
14 fix-ulong-typedef.patch 14 fix-ulong-typedef.patch
15 defang-efi-bootcmd.patch
15 " 16 "
16builddir="$srcdir/u-boot-$pkgver" 17builddir="$srcdir/u-boot-$pkgver"
17 18
@@ -42,4 +43,5 @@ package() {
42} 43}
43 44
44sha512sums="073d4e0234095c1bda1ffa7a648972aa4530d106ee1a73035e0501b1aba2951653582c8b7bcf338d4e95012fa67e75f97b7e1fbac5cc764d609b671ef29617f7 u-boot-2020.01.tar.bz2 45sha512sums="073d4e0234095c1bda1ffa7a648972aa4530d106ee1a73035e0501b1aba2951653582c8b7bcf338d4e95012fa67e75f97b7e1fbac5cc764d609b671ef29617f7 u-boot-2020.01.tar.bz2
45813dd152afa8863d3c7456449c9b0b358232edae7c8575ebe4af71bfe74019d4c27f30dc6fcf307018e36f5afdaf7de32253c0a773955d5be74c625ddd5668c7 fix-ulong-typedef.patch" 46813dd152afa8863d3c7456449c9b0b358232edae7c8575ebe4af71bfe74019d4c27f30dc6fcf307018e36f5afdaf7de32253c0a773955d5be74c625ddd5668c7 fix-ulong-typedef.patch
47ae4fa0a1e11fe862fc30d78d52616ede65b87893e656d7bca0c3e269d744ed477a23185f1d61e91e9beb765c5bafcbcba65699ca9835a516637098ef332644df defang-efi-bootcmd.patch"
diff --git a/community/uboot-tools/defang-efi-bootcmd.patch b/community/uboot-tools/defang-efi-bootcmd.patch
new file mode 100644
index 0000000000..74182fdd10
--- /dev/null
+++ b/community/uboot-tools/defang-efi-bootcmd.patch
@@ -0,0 +1,13 @@
1diff -urN u-boot-2019.10.orig/include/config_distro_bootcmd.h u-boot-2019.10/include/config_distro_bootcmd.h
2--- u-boot-2019.10.orig/include/config_distro_bootcmd.h 2020-01-08 00:18:39.088623768 +0000
3+++ u-boot-2019.10/include/config_distro_bootcmd.h 2020-01-08 00:19:27.963822184 +0000
4@@ -328,7 +328,8 @@
5 #define BOOTENV_EFI_PXE_ARCH "0x1b"
6 #define BOOTENV_EFI_PXE_VCI "PXEClient:Arch:00027:UNDI:003000"
7 #elif defined(CONFIG_SANDBOX)
8-# error "sandbox EFI support is only supported on ARM and x86"
9+#define BOOTENV_EFI_PXE_ARCH "0x0"
10+#define BOOTENV_EFI_PXE_VCI "PXEClient:Arch:00000:UNDI:003000"
11 #else
12 #error Please specify an EFI client identifier
13 #endif