build-fhs-userenv: bind /etc/profiles

This commit is contained in:
André Silva 2021-01-26 00:41:50 +00:00
parent 65de42b9cc
commit fe49d856b0
No known key found for this signature in database
GPG key ID: 7C34FA12A023DC55
2 changed files with 5 additions and 0 deletions

View file

@ -35,6 +35,8 @@ let
"hosts"
"resolv.conf"
"nsswitch.conf"
# User profiles
"profiles"
# Sudo & Su
"login.defs"
"sudoers"

View file

@ -89,6 +89,9 @@ let
ln -s /host/etc/resolv.conf resolv.conf
ln -s /host/etc/nsswitch.conf nsswitch.conf
# symlink user profiles
ln -s /host/etc/profiles profiles
# symlink sudo and su stuff
ln -s /host/etc/login.defs login.defs
ln -s /host/etc/sudoers sudoers