On Wed, 10 Jun 2020 at 11:25, Greg Troxel <[email protected]> wrote: > > Ottavio Caruso <[email protected]> writes: > > > Incidentally (I haven't tried this myself but I could), I wonder if, > > instead of installing all the related compat packages from pkgsrc, one > > could just untar one of these root filesystems into /emul/linux: > > > > https://us.images.linuxcontainers.org/images/ > > > > For example, the Ubuntu one in this particular case. These are meant > > for docker, but I use them in a chroot on my Debian laptop and they > > work alright. (It anybody wants to try them, the ones named > > "rootfs.tar.xz") > > The Linux binary support and the suse compat packages work together but > aren't tightly related. (Beware that our Linux emulation does not have > every syscall, but it has all the ones that people have added to run the > things they wanted to run.) > > What you describe is a very reasonable thing to try and will probably > work. I encourage you and others to try it and report back. > > We have a notion of unpacking a fuller system into /compat/linux, and > adding packages for more things. If you want to run 3 Linux binaries, > then you need the union of the libs all three need in /compat/linux. > > (baseless speculation: If you chroot to try to run a semi-container, you > can probably have multiple separate unpacked trees.)
Is /compat/linux a symlink to /emul/linux? I'm confused about where the rootfs should be unpacked. -- Ottavio Caruso
