Ok, I tried, had already too:524288:524288
in both /etc/subuid and /etc/subgid files, and
also had symlink from docker
to podman
in $PATH
downloaded SailfishSDK-3.12.5-linux64-online.run
, chmodād
it and run (wayland application on wayland desktop to qt6 or qt5ā¦)
got as far as installer failing due to trying to run
docker network create --driver bridge sailfish-sdk:too
tried to run same from command line, sudo podman ...
which failed with:
Error: network name sailfish-sdk:too invalid: names must match [a-zA-Z0-9][a-zA-Z0-9_.-]*: invalid argument
That looks like a regexp that disallows that ā:ā in the name, so Iād
guess that is hard to workaround, if the final installation expects
such a bridge to existā¦
[EDIT] workarounded with the following script as docker
#!/bin/sh -euf
echo "$@" >> /tmp/${0##*/}.x.txt
case $* in *sailfish-sdk:$USER*)
for arg
do test $arg = sailfish-sdk:$USER && arg=sailfish-sdk_$USER
shift; set -- "$@" "$arg"
done
esac
if test "${1-}" = run
then shift; set -- run --privileged "$@"
fi
exec podman "$@"
With this I am seeing 1-3 errors (which I ignored)
- creating bridge (my guess is that bridge already exists)
- creating volume (my guess that volume already exists)
- but the 3rd is harder to understandā¦
the log says (/tmp/docker.x.txt)
run --rm --volume sailfish-sdk-tools_too:/srv/mer --volume /home/too/SailfishOS:/host_install sailfish-sdk-build-engine:too bash -c
set -xe
tar -C /srv/mer --numeric-owner -xpf /host_install/mersdk/sailfish-tools.tar.xz
chown -R '1000' /srv/mer/targets
(run as podman run --privileged ...
after wrapping)
but there is no ā¦/sailfish-tools.tar.xz there. however, /srv/mer/
is populated with quite a few dirs (*-aarch64, *-armv7hl and *-i486)ā¦
Then, in case of (rootless) podman, the chown -R 1000 ...
may not
be needed (or then is ā or may hurt being there ā or then, may notā¦)