Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authorweltio weltio <weltio@web.de>2022-01-21 09:49:49 +0000
committerweltio weltio <weltio@web.de>2022-01-21 09:49:49 +0000
commit742619240c9f534123e8205eef8dca1a20c7d439 (patch)
treec6f260a92f5a8e2b5584555bc57e762962e92f61 /archiso
parente2e4f3d6196fd013d944390f793f12e8dad089c3 (diff)
https://gitlab.archlinux.org/archlinux/archiso/-/issues/163
Diffstat (limited to 'archiso')
-rwxr-xr-xarchiso/mkarchiso2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index dab6bde..f6b3395 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -1048,6 +1048,7 @@ _read_profile() {
. "${profile}/profiledef.sh"
# Resolve paths of files that are expected to reside in the profile's directory
+ [[ -n "$arch" ]] || arch="$(uname -m)"
[[ -n "$packages" ]] || packages="${profile}/packages.${arch}"
packages="$(realpath -- "${packages}")"
pacman_conf="$(realpath -- "${pacman_conf}")"
@@ -1155,7 +1156,6 @@ _set_overrides() {
fi
# Set variables that do not have overrides
- [[ -n "$arch" ]] || arch="$(uname -m)"
[[ -n "$airootfs_image_type" ]] || airootfs_image_type="squashfs"
[[ -n "$iso_name" ]] || iso_name="${app_name}"
}