Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2024 14:15:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        perl@FreeBSD.org
Subject:   [Bug 280458] lang/perl5*: fix 'pkg -r' installation
Message-ID:  <bug-280458-14331-t09sPMDwV6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280458-14331@https.bugs.freebsd.org/bugzilla/>
References:  <bug-280458-14331@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280458

--- Comment #4 from Siva Mahadevan <me@svmhdvn.name> ---
(In reply to Mathieu Arnold from comment #3)

I have a use case where I don't want 'pkg' to be installed in my chroot/jail
guest directory, but I want to use 'pkg' from the host to
install/upgrade/maintain packages. If I use 'pkg -c install', then similar =
to
'pkg -j install', my package repositories need to be correctly configured
inside the chroot. I neither want to install 'pkg' itself to the chroot, nor
any repositories (since I build custom local repositories from a separate h=
ost
using Poudriere).

Ideally, I just want a simple way to redirect DESTDIR to /some/root and make
everything work cleanly from the host. 'pkg -r' is documented as:

pkg will install all packages within the specified <root directory>.

This seems correct since it will use 'pkg' configuration from the host.

--=20
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280458-14331-t09sPMDwV6>