summaryrefslogtreecommitdiffstats
path: root/release/packages
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-03-18 16:06:04 +0000
committerbapt <bapt@FreeBSD.org>2015-03-18 16:06:04 +0000
commitd6ca866646a4418a704431c22c6cae618582f79c (patch)
tree23dedfcef5bd045c41e5480d3e0a1620a0268541 /release/packages
parent330b4979acd5fab4d5b3024f6127924c16636cec (diff)
downloadFreeBSD-src-d6ca866646a4418a704431c22c6cae618582f79c.zip
FreeBSD-src-d6ca866646a4418a704431c22c6cae618582f79c.tar.gz
run pw_mkdb and cap_mkdb at post-installation for cross installation the version
from the host would be run but the generated files will be on the target respecing the endianness of the target
Diffstat (limited to 'release/packages')
-rw-r--r--release/packages/runtime.ucl4
1 files changed, 4 insertions, 0 deletions
diff --git a/release/packages/runtime.ucl b/release/packages/runtime.ucl
index 862adb1..fd52834 100644
--- a/release/packages/runtime.ucl
+++ b/release/packages/runtime.ucl
@@ -11,3 +11,7 @@ licenses = [ BSD2CLAUSE ]
desc = <<EOD
%DESC%
EOD
+post-install = <<EOD
+ cap_mkdb %CAP_MKDB_ENDIAN% ${ROOTDIR}/etc/login.conf
+ pwd_mkdb %PWD_MKDB_ENDIAN% -i -p -d ${ROOTDIR}/etc ${ROOTDIR}/etc/master.passwd
+EOD
OpenPOWER on IntegriCloud