Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: cross-compile attempt
Date: Wed, 03 Aug 2016 08:20:43
Message-Id: 20160803092014.1965cc88@hactar.digimed.co.uk
In Reply to: [gentoo-user] Re: cross-compile attempt by Ian Zimmerman
1 On Tue, 2 Aug 2016 17:26:09 -0700, Ian Zimmerman wrote:
2
3 > > If you are using systemd, it is much simpler to use a container with
4 > > systemd-nspawn that chroot, it takes care of all the mucking around
5 > > required to get /dev, /proc and friends available to the container.
6 > >
7 > > The only mount I need to take care of myself is for $PKGDIR, which is
8 > > also available via NFS on the target box.
9 >
10 > Even with chroot and without without systemd, it pays to create a dead
11 > simple shell script that does all the mounting. You can even have that
12 > script itself exec chroot as the last step.
13
14 That's what I do, only the script is even simpler now ;-)
15
16 While containers are simpler, it is still easy to miss out a step, so a
17 script makes a lot of sense.
18
19
20 --
21 Neil Bothwick
22
23 Member, National Association For Tagline Assimilators (NAFTA)

Replies

Subject Author
Re: [gentoo-user] Re: cross-compile attempt james <garftd@×××××××.net>