mirror of
https://github.com/ilyakooo0/nix-bundle.git
synced 2024-09-11 06:55:53 +03:00
Pass /root
through chroot
This PR adds a `/root:root` mapping so that users with UID 0 can run bundles that use `$HOME`. Related to #33 .
This commit is contained in:
parent
113d8c6b42
commit
69c5553aeb
@ -120,6 +120,7 @@ int main(int argc, char *argv[]) {
|
|||||||
x("etc");
|
x("etc");
|
||||||
x("usr");
|
x("usr");
|
||||||
x("home");
|
x("home");
|
||||||
|
x("root");
|
||||||
#undef x
|
#undef x
|
||||||
|
|
||||||
int opt;
|
int opt;
|
||||||
|
Loading…
Reference in New Issue
Block a user