ports capable of coping with --relocate?

Mathieu Arnold mat at FreeBSD.org
Thu Oct 13 14:50:28 UTC 2016


Le 10/10/2016 à 07:35, Julian Elischer a écrit :
> for packages I'm using :
>
> * PKG_DBDIR=/$(FOO)/var/db/pkg pkg add --relocate /$(FOO) $(PKGNAME)*
>
> to build up an image in location "$FOO"  that I can tar up and install
> onto a machine.

--relocate does not do what you think it does.  It tells pkg to not
install a package in /usr/local but somewhere else.

What you want is to do:

pkg -r /${FOO} add $(PKGNAME)


-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20161013/7157fddf/attachment.sig>


More information about the freebsd-ports mailing list