aboutsummaryrefslogtreecommitdiff
path: root/release/packages
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-03-18 16:06:04 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-03-18 16:06:04 +0000
commit8cf263c8435c55125d72959dd98fbc2cfba83d42 (patch)
tree23dedfcef5bd045c41e5480d3e0a1620a0268541 /release/packages
parent9f4256d5255a237bbc0cb06495c2ae26f9801449 (diff)
downloadsrc-8cf263c8435c55125d72959dd98fbc2cfba83d42.tar.gz
src-8cf263c8435c55125d72959dd98fbc2cfba83d42.zip
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
Notes
Notes: svn path=/projects/release-pkg/; revision=280225
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 862adb1b89d9..fd52834e1c32 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