summaryrefslogtreecommitdiffstats
path: root/tools/templates
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-06-23 09:34:21 -0300
committerRenato Botelho <renato@netgate.com>2016-06-23 09:34:21 -0300
commitca61821779ef52cf03bba0963080e4ca5d5e1b46 (patch)
tree7a4f85f394c9ced7204d86f4f71f7a936fe45855 /tools/templates
parentc2b229392736726799b4674b63ca5babe1f67ff4 (diff)
downloadpfsense-ca61821779ef52cf03bba0963080e4ca5d5e1b46.zip
pfsense-ca61821779ef52cf03bba0963080e4ca5d5e1b46.tar.gz
Make base package to populate /etc/platform
Diffstat (limited to 'tools/templates')
-rw-r--r--tools/templates/core_pkg/base-nanobsd/metadir/+INSTALL2
-rw-r--r--tools/templates/core_pkg/base/metadir/+INSTALL2
2 files changed, 4 insertions, 0 deletions
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
OpenPOWER on IntegriCloud