summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-15 12:00:21 +0100
committerErich Eckner <git@eckner.net>2020-01-15 12:00:21 +0100
commit5a331c29f0cb5308f0cd7dc2fabe9044a98adc72 (patch)
tree09c859e4b347a87f905b1ba45dce0c0a98b3ca61
parenta905282ae29135be97002a5c5c9f3f3fc7aa3541 (diff)
downloadarchlinuxewe-5a331c29f0cb5308f0cd7dc2fabe9044a98adc72.tar.xz
archiso-cross/default-arch-value.patch added, too
-rw-r--r--archiso-cross/default-arch-value.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/archiso-cross/default-arch-value.patch b/archiso-cross/default-arch-value.patch
new file mode 100644
index 000000000..4d7fc19cb
--- /dev/null
+++ b/archiso-cross/default-arch-value.patch
@@ -0,0 +1,13 @@
+diff --git a/archiso/mkarchiso b/archiso/mkarchiso
+index 567a5af..36d7e3b 100755
+--- a/archiso/mkarchiso
++++ b/archiso/mkarchiso
+@@ -5,7 +5,7 @@ set -e -u
+ export LANG=C
+
+ app_name=${0##*/}
+-arch=$(uname -m)
++arch=${arch:-$(uname -m)}
+ pkg_list=""
+ run_cmd=""
+ quiet="y"