mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
caroot pkg: pass through the pkg -r rootdir as DESTDIR
If we're trying to bootstrap a different root with pkgbase, we should be doing the right thing with caroot.
This commit is contained in:
parent
946966d161
commit
ac92e1359b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=358092
|
@ -20,6 +20,7 @@ scripts: {
|
|||
# files being added or removed, we should use it instead to gate the
|
||||
# rehash.
|
||||
post-install = <<EOD
|
||||
[ -x /usr/sbin/certctl ] && /usr/sbin/certctl rehash
|
||||
[ -x /usr/sbin/certctl ] && env DESTDIR=${PKG_ROOTDIR} \
|
||||
/usr/sbin/certctl rehash
|
||||
EOD
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue