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
@ -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 New Issue
Block a user