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.
commit05668fbe92d805f311be54931d576ec1b0382def
authorBjørn Forsman <bjorn.forsman@gmail.com>
dateSat 3 Oct 2015, 14:42 (11 years ago)
parent51db26e
pkgs/build-support/build-fhs-chrootenv/env.nix+1
@@ -95,6 +95,7 @@ let
9595 # symlink other core stuff
9696 ln -s /host-etc/localtime localtime
9797 ln -s /host-etc/machine-id machine-id
98+ ln -s /host-etc/os-release os-release
9899
99100 # symlink PAM stuff
100101 ln -s /host-etc/pam.d pam.d