aboutsummaryrefslogtreecommitdiff
path: root/release/packages
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-04-03 23:28:56 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-04-03 23:28:56 +0000
commit3a161d956bb0dee5baf944a5acd53f08d2c9712a (patch)
tree851093482c2944cb45112f07c0e45cd28b8934b9 /release/packages
parent4bf53d0b4672dca72c809b44349fb82657f482f5 (diff)
downloadsrc-3a161d956bb0dee5baf944a5acd53f08d2c9712a.tar.gz
src-3a161d956bb0dee5baf944a5acd53f08d2c9712a.zip
Make scripts cross installation friendly
Notes
Notes: svn path=/projects/release-pkg/; revision=281052
Diffstat (limited to 'release/packages')
-rw-r--r--release/packages/kernel.ucl2
-rw-r--r--release/packages/runtime.ucl4
2 files changed, 3 insertions, 3 deletions
diff --git a/release/packages/kernel.ucl b/release/packages/kernel.ucl
index 49a8d081337a..ebc017bea4f8 100644
--- a/release/packages/kernel.ucl
+++ b/release/packages/kernel.ucl
@@ -12,5 +12,5 @@ desc = <<EOD
%DESC%
EOD
post-install = <<EOD
-/usr/sbin/kldxref /boot/kernel
+/usr/sbin/kldxref ${PKG_ROOTDIR}/boot/kernel
EOD
diff --git a/release/packages/runtime.ucl b/release/packages/runtime.ucl
index fd52834e1c32..bba2b7eb3595 100644
--- a/release/packages/runtime.ucl
+++ b/release/packages/runtime.ucl
@@ -12,6 +12,6 @@ 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
+ cap_mkdb %CAP_MKDB_ENDIAN% ${PKG_ROOTDIR}/etc/login.conf
+ pwd_mkdb %PWD_MKDB_ENDIAN% -i -p -d ${PKG_ROOTDIR}/etc ${PKG_ROOTDIR}/etc/master.passwd
EOD