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) |