forked from lix-project/lix
Allow default sandbox paths to be overriden
E.g. you can now redirect /etc/resolv.conf to a different file.
This commit is contained in:
parent
488792a87d
commit
8decb07c31
|
@ -2409,7 +2409,7 @@ void DerivationGoal::runChild()
|
||||||
ss.push_back("/var/run/nscd/socket");
|
ss.push_back("/var/run/nscd/socket");
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto & i : ss) dirsInChroot[i] = i;
|
for (auto & i : ss) dirsInChroot.emplace(i, i);
|
||||||
|
|
||||||
/* Bind-mount all the directories from the "host"
|
/* Bind-mount all the directories from the "host"
|
||||||
filesystem that we want in the chroot
|
filesystem that we want in the chroot
|
||||||
|
|
Loading…
Reference in a new issue