GUI in a stretch chroot?
GUI in a stretch chroot?
I know it's not directly Debian, but...
I'm currently running a Zorin 17 x86_64 vm (in virtualbox, windows 11 host), which uses wayland.
In it i have a Debian 9 stretch aarch64 chroot, which comes with X.
I'd like to test the GUI app i compiled in that chroot, how is that feasible?
For reference, this is how i setup initially:
$ sudo apt install debootstrap qemu-user-static $ sudo mkdir -p /opt/deb9/sysroot && sudo chown -R myuser:myuser /opt/deb9 $ sudo /usr/sbin/debootstrap --arch=arm64 --foreign --variant=minbase stretch /opt/deb9/sysroot http://archive.debian.org/debian-archive/debian/ $ sudo cp /usr/bin/qemu-aarch64-static /opt/deb9/sysroot/usr/bin/ $ sudo chroot /opt/deb9/sysroot qemu-aarch64-static /bin/bash # /debootstrap/debootstrap --second-stage # echo 'APT::Install-Recommends "0";' >> /etc/apt/apt.conf.d/99noExtras # echo 'APT::Install-Suggests "0";' >> /etc/apt/apt.conf.d/99noExtras # echo 'deb http://archive.debian.org/debian-archive/debian/ stretch main contrib' > /etc/apt/sources.list # echo 'deb-src http://archive.debian.org/debian-archive/debian/ stretch main contrib' >> /etc/apt/sources.list # uname -nm | sed -e 's/ /-/' > /etc/debian_chroot # apt update # apt install -y g++ make cmake automake autoconf libtool git vim pax-utils tree # adduser myuser $ su myuser > do stuff
Network isn't really configured so any git push or similar is done outside the chroot.