fix(arch): remove python2-futures package (moved to AUR)

The `stable latest` build in the `salt-image-builder` started failing.

* https://gitlab.com/myii/salt-image-builder/-/jobs/1124156923

```
error: target not found: python2-futures
 core is up to date
 extra is up to date
 community is up to date
 * ERROR: Failed to run install_arch_linux_stable()!!!
```

The package has been moved to AUR:

* https://aur.archlinux.org/packages/python2-futures/
* https://aur.archlinux.org/cgit/aur.git/commit/?h=python2-futures&id=06dea3ff2267d052dbc3779c9a93d31766769c6b
  - `import from community`

The build is passing again with this workaround applied using `sed`:

* 83efb01cb8
* https://gitlab.com/myii/salt-image-builder/-/jobs/1124687557
This commit is contained in:
Imran Iqbal 2021-03-24 16:26:13 +00:00 committed by Pedro Algarvio
parent c4876217aa
commit 34285b854a

View file

@ -5633,7 +5633,7 @@ install_arch_linux_git_deps() {
if [ "${_POST_NEON_INSTALL}" -eq $BS_FALSE ]; then
pacman -R --noconfirm python2-distribute
pacman -Su --noconfirm --needed python2-crypto python2-setuptools python2-jinja \
python2-m2crypto python2-futures python2-markupsafe python2-msgpack python2-psutil \
python2-m2crypto python2-markupsafe python2-msgpack python2-psutil \
python2-pyzmq zeromq python2-requests python2-systemd || return 1
if [ -f "${_SALT_GIT_CHECKOUT_DIR}/requirements/base.txt" ]; then
@ -5675,7 +5675,7 @@ install_arch_linux_stable() {
pacman -S --noconfirm --needed bash || return 1
pacman -Su --noconfirm || return 1
# We can now resume regular salt update
pacman -Syu --noconfirm salt python2-futures || return 1
pacman -Syu --noconfirm salt || return 1
return 0
}