![](https://seccdn.libravatar.org/avatar/45bf5eef0471996074efa055ea252116.jpg?s=120&d=mm&r=g)
On 04/08/2013 11:01 AM, Roger Oberholtzer wrote:
Back in the day, I used to maintain a Gentoo tree in a directory in a different Linux distro (possibly Caldera, or an early SUSE). Then, when I wanted to build software in the Gentoo tree using Gentoo tools and all, I would:
cd /where/one/finds/gentoo-20XX.1 export g=`pwd`
mount -t proc proc $g/proc
cp -p /$g/etc/resolv.conf $g/etc/resolv.conf.keep cp /etc/resolv.conf $g/etc/resolv.conf
chroot $g /bin/bash
env-update
source /etc/profile
Mainly, I copied the name resolution stuff, mounted /proc in the gentoo tree, and updated the environment. Then, I could pretty much act as though I had booted Gentoo. It worked great.
My question is if I could go do something similar today with openSUSE, but with some other version of openSUSE in the 'foreign' tree. I think
read systemd-nspawn(1) it is designed exactly for this use-case. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org