From 05668fbe92d805f311be54931d576ec1b0382def Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Sat, 3 Oct 2015 14:42:10 +0200 Subject: [PATCH] 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. --- pkgs/build-support/build-fhs-chrootenv/env.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/build-support/build-fhs-chrootenv/env.nix b/pkgs/build-support/build-fhs-chrootenv/env.nix index a2ac8288e8ec..9665c71d3dfd 100644 --- a/pkgs/build-support/build-fhs-chrootenv/env.nix +++ b/pkgs/build-support/build-fhs-chrootenv/env.nix @@ -95,6 +95,7 @@ let # symlink other core stuff ln -s /host-etc/localtime localtime ln -s /host-etc/machine-id machine-id + ln -s /host-etc/os-release os-release # symlink PAM stuff ln -s /host-etc/pam.d pam.d