Author: kevans Date: Wed Feb 19 02:35:43 2020 New Revision: 358092 URL: https://svnweb.freebsd.org/changeset/base/358092
Log: 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. Modified: head/release/packages/caroot.ucl Modified: head/release/packages/caroot.ucl ============================================================================== --- head/release/packages/caroot.ucl Wed Feb 19 02:34:56 2020 (r358091) +++ head/release/packages/caroot.ucl Wed Feb 19 02:35:43 2020 (r358092) @@ -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 } _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"