summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-08-22 13:35:16 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-08-22 13:35:16 (EDT)
commit8a07b504b2720132d007dfb2ff99c3e070e02632 (patch)
tree89585b38392feea572ff331d1c02ece1aed798f4 /lib
parent822ef1d5bc3857f0dccf343c8c1c297362c2af21 (diff)
install: Write /etc/os-release
Diffstat (limited to 'lib')
-rw-r--r--lib/cmd/install.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/cmd/install.sh b/lib/cmd/install.sh
index 3bfdfa4..456a0b3 100644
--- a/lib/cmd/install.sh
+++ b/lib/cmd/install.sh
@@ -109,6 +109,8 @@ cmd_install_main()
else
profile_configure_system_foreign "${chroot}"
fi
+
+ profile_get_os_release "${arch}" "${plat}" >"${chroot}/etc/os-release"
}
cmd_install_find_pkgs()