Skip to content

move $arch override to before it is used

weltio weltio requested to merge weltio/archiso:weltio-master-patch-55325 into master

closes #163 (closed)

  • 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.

Edited by weltio weltio

Merge request reports