summaryrefslogtreecommitdiff
path: root/archiso-cross/default-arch-value.patch
diff options
context:
space:
mode:
Diffstat (limited to 'archiso-cross/default-arch-value.patch')
-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"