Comment 5 for bug 1922010

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I tried to use it the same way I'd do arm@x86 but that failed.
Maybe you can share what environment you used bfore I start wasting time to reproduce this.
And OTOH if this really only hits such a case it might be too edge-case for an SRU anyway.
Then I'd even more appreciate a fast response to get it at least into Hirsute before it fully closes.

# not working WIP repro state
$ sudo su -
$ apt install qemu-user-static debootstrap schroot
$ sudo qemu-debootstrap --arch=s390x hirsute s390x-ubuntu
$ cat > /etc/schroot/chroot.d/s390x-ubuntu << EOF
[s390x-ubuntu]
type=directory
description=Ubuntu 21.04 Hirsute (s390x)
directory=$(pwd)/s390x-ubuntu
root-users=$(whoami)
root-groups=$(whoami)
users=$(whoami)
groups=$(whoami)
EOF
$ schroot -c s390x-ubuntu

Obviously, if you'd have any static executable we could throw at qemu-s390x-static that would simplify things a lot.