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


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to