summaryrefslogtreecommitdiff
path: root/system/easy-kernel
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-04-27 18:22:48 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-05-01 17:06:42 -0500
commit2b59d7eb8021637fe3caa8ab416be9d9dd36e76f (patch)
tree41c93a1ca19aa5661c36de5136b97ebda16eaeaa /system/easy-kernel
parent01996a9634b5e8d3130791b529ffb4509fbfef6a (diff)
downloadpackages-2b59d7eb8021637fe3caa8ab416be9d9dd36e76f.tar.gz
packages-2b59d7eb8021637fe3caa8ab416be9d9dd36e76f.tar.bz2
packages-2b59d7eb8021637fe3caa8ab416be9d9dd36e76f.tar.xz
packages-2b59d7eb8021637fe3caa8ab416be9d9dd36e76f.zip
system/easy-kernel: make 'mkimage' missing not a fatal error. fixes #599.
Diffstat (limited to 'system/easy-kernel')
-rw-r--r--system/easy-kernel/APKBUILD5
-rw-r--r--system/easy-kernel/mkimage-missing-not-fatal.patch12
2 files changed, 16 insertions, 1 deletions
diff --git a/system/easy-kernel/APKBUILD b/system/easy-kernel/APKBUILD
index ccde8bb6e..d0a153ef1 100644
--- a/system/easy-kernel/APKBUILD
+++ b/system/easy-kernel/APKBUILD
@@ -52,6 +52,8 @@ source="https://cdn.kernel.org/pub/linux/kernel/v${_pkgmajver}.x/linux-${_pkgmin
no-require-lilo.patch
no-autoload-fb.conf
+
+ mkimage-missing-not-fatal.patch
"
builddir="$srcdir/linux-${_pkgminver}"
@@ -181,4 +183,5 @@ f0e532539e93d19fc65b417b4a0663e3757823340b968f63bd3a2665f99524feebb843ecf88ccf69
dbf38da48cd5ddf287201c5537019e80a50ff5cef497c474324c634e140dc0106c394c5166747010914b11fc462e508a4ddda9b5b103de1f9a1d995fc9aafa4e 1000-version.patch
03a73db9eda84a52315499cb511f730946939d2de1b3aa52c60f9bd3a364377a65ddf2b62f505689a84d3e2f0fc7da5ca90429629d93d9909360ee0c3c599bbe no-require-gnu-tar.patch
aadf8a3cc46a08e3a396ebd45656aee235103db7a2155cc6980df20b750151a9938b8b73c9319c6cd1b5f8aba6ce707f857a47dabf69df8d91dd93d440cffcb5 no-require-lilo.patch
-7bb07eb22002cc48caf0cd55d17ce4097aa583e0ca4048c11c92e1519761b2ae982ffe98311543d4b0dfc991c8bc411b2e1c7be9488b6c6f19ffaa08e69e2f47 no-autoload-fb.conf"
+7bb07eb22002cc48caf0cd55d17ce4097aa583e0ca4048c11c92e1519761b2ae982ffe98311543d4b0dfc991c8bc411b2e1c7be9488b6c6f19ffaa08e69e2f47 no-autoload-fb.conf
+b0e0634c84440a480be208da5157b03cb914790faab08fd3fdc2faeceed2c0a03d52c0e029084190708190f80028648923c4fd6feb11ec68ab4f740488161b0a mkimage-missing-not-fatal.patch"
diff --git a/system/easy-kernel/mkimage-missing-not-fatal.patch b/system/easy-kernel/mkimage-missing-not-fatal.patch
new file mode 100644
index 000000000..29b860e68
--- /dev/null
+++ b/system/easy-kernel/mkimage-missing-not-fatal.patch
@@ -0,0 +1,12 @@
+diff -ur a/scripts/mkuboot.sh b/scripts/mkuboot.sh
+--- a/scripts/mkuboot.sh 2022-03-11 05:22:37.000000000 -0600
++++ b/scripts/mkuboot.sh 2022-04-27 11:50:45.082879493 -0500
+@@ -12,7 +12,7 @@
+ if [ -z "${MKIMAGE}" ]; then
+ # Doesn't exist
+ echo '"mkimage" command not found - U-Boot images will not be built' >&2
+- exit 1;
++ exit 0;
+ fi
+ fi
+