3
0
Fork 0
forked from mirrors/nixpkgs

chrootenv: symlink su and sudo stuff

This commit is contained in:
Nikolay Amiantov 2015-12-15 21:31:12 +03:00
parent 230898ceb2
commit d6c1150195

View file

@ -81,6 +81,11 @@ let
ln -s /host-etc/resolv.conf resolv.conf
ln -s /host-etc/nsswitch.conf nsswitch.conf
# symlink sudo and su stuff
ln -s /host-etc/login.defs login.defs
ln -s /host-etc/sudoers sudoers
ln -s /host-etc/sudoers.d sudoers.d
# symlink other core stuff
ln -s /host-etc/localtime localtime
ln -s /host-etc/machine-id machine-id