Merge branch 'weltio-master-patch-55325' of https://gitlab.archlinux.org/weltio/archiso.git

By weltio weltio

move $arch override to before it is used

closes #163

* initial: arch=""
* _read_profile: packages="${profile}/packages.${arch}"
* _set_overrides: [[ -n "$arch" ]] || arch="$(uname -m)"

$arch is not defined in _read_profile if arch is not defined in profiledef.sh and packages is not updated after _set_overrides

[[ -n "$arch" ]] || arch="$(uname -m)" should be moved from _set_overrides to _read_profile.
7 jobs for master in 7 minutes and 38 seconds (queued for 12 seconds)
Name Stage Failure
failed
build_short: [releng bootstrap] Build
Running after script...
$ cp -v -- output/metrics.txt .
cp: cannot stat 'output/metrics.txt': No such file or directory
Uploading artifacts for failed job
Uploading artifacts...
WARNING: metrics.txt: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
build_long: [releng netboot] Build
Running after script...
$ cp -v -- output/metrics.txt .
cp: cannot stat 'output/metrics.txt': No such file or directory
Uploading artifacts for failed job
Uploading artifacts...
WARNING: metrics.txt: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
build_long: [baseline iso] Build
Running after script...
$ cp -v -- output/metrics.txt .
cp: cannot stat 'output/metrics.txt': No such file or directory
Uploading artifacts for failed job
Uploading artifacts...
WARNING: metrics.txt: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
build_long: [baseline netboot] Build
Running after script...
$ cp -v -- output/metrics.txt .
cp: cannot stat 'output/metrics.txt': No such file or directory
Uploading artifacts for failed job
Uploading artifacts...
WARNING: metrics.txt: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
build_short: [baseline bootstrap] Build
Running after script...
$ cp -v -- output/metrics.txt .
cp: cannot stat 'output/metrics.txt': No such file or directory
Uploading artifacts for failed job
Uploading artifacts...
WARNING: metrics.txt: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
build_long: [releng iso] Build
Running after script...
$ cp -v -- output/metrics.txt .
cp: cannot stat 'output/metrics.txt': No such file or directory
Uploading artifacts for failed job
Uploading artifacts...
WARNING: metrics.txt: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1