From ca61821779ef52cf03bba0963080e4ca5d5e1b46 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 23 Jun 2016 09:34:21 -0300 Subject: Make base package to populate /etc/platform --- tools/templates/core_pkg/base-nanobsd/metadir/+INSTALL | 2 ++ tools/templates/core_pkg/base/metadir/+INSTALL | 2 ++ 2 files changed, 4 insertions(+) (limited to 'tools/templates/core_pkg') diff --git a/tools/templates/core_pkg/base-nanobsd/metadir/+INSTALL b/tools/templates/core_pkg/base-nanobsd/metadir/+INSTALL index b1f7854..a2d9d82 100644 --- a/tools/templates/core_pkg/base-nanobsd/metadir/+INSTALL +++ b/tools/templates/core_pkg/base-nanobsd/metadir/+INSTALL @@ -9,6 +9,8 @@ if [ ! -f /usr/local/share/%%PRODUCT_NAME%%/base.txz ]; then exit 1 fi +echo nanobsd > /etc/platform + echo "===> Removing schg flag from base files" # Cleanup schg flags diff --git a/tools/templates/core_pkg/base/metadir/+INSTALL b/tools/templates/core_pkg/base/metadir/+INSTALL index b1f7854..aa3fa89 100644 --- a/tools/templates/core_pkg/base/metadir/+INSTALL +++ b/tools/templates/core_pkg/base/metadir/+INSTALL @@ -9,6 +9,8 @@ if [ ! -f /usr/local/share/%%PRODUCT_NAME%%/base.txz ]; then exit 1 fi +echo %%PRODUCT_NAME%% > /etc/platform + echo "===> Removing schg flag from base files" # Cleanup schg flags -- cgit v1.1