forked from mirrors/nixpkgs
build-fhs-chrootenv: add /etc/os-release from host
This allows software inside the chroot to identify the host OS via the standard /etc/os-release file.
This commit is contained in:
parent
51db26ee03
commit
05668fbe92
|
@ -95,6 +95,7 @@ let
|
||||||
# symlink other core stuff
|
# symlink other core stuff
|
||||||
ln -s /host-etc/localtime localtime
|
ln -s /host-etc/localtime localtime
|
||||||
ln -s /host-etc/machine-id machine-id
|
ln -s /host-etc/machine-id machine-id
|
||||||
|
ln -s /host-etc/os-release os-release
|
||||||
|
|
||||||
# symlink PAM stuff
|
# symlink PAM stuff
|
||||||
ln -s /host-etc/pam.d pam.d
|
ln -s /host-etc/pam.d pam.d
|
||||||
|
|
Loading…
Reference in a new issue