Page MenuHomeFreeBSD

pkg: Add support for -r option
Needs ReviewPublic

Authored by des on Fri, Jul 10, 7:54 PM.

Details

Reviewers
bapt
bdrewery
Group Reviewers
srcmgr
Summary

This allows pkg(7) to be used to bootstrap a chroot or jail, and to
recognize the -r argument and pass it through to pkg(8) if already
bootstrapped.

Note that this does not address the issue of repository keys. If using
a signed package repository, you will still need to copy /usr/share/keys
into the target environment before or after bootstrapping, or pkg will
be unable to verify package signatures.

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74712
Build 71595: arc lint + arc unit