Staging and read-only /usr/ports

olli hauer ohauer at gmx.de
Fri Sep 27 11:27:59 UTC 2013


On 2013-09-27 13:19, Stefan Bethke wrote:
> 
> Am 27.09.2013 um 13:02 schrieb Bryan Drewery:
> 
>> On 9/27/2013 3:55 AM, Boris Samorodov wrote:
>>> 27.09.2013 02:05, William Grzybowski пишет:
>>>
>>>> Well, it shouldn't create packages unless you use "make package",
>>>
>>> I think that if STAGE is used then a package is created and then
>>> it (the package) is get installed (via "make install" command).
>>>
>>>> you can set PACKAGES to move it from /usr/ports/packages.
>>>
>>
>> Yes, this is true for pkg_install. Pkgng does not do this.
> 
> So, if I do want to have NO_STAGE disabled (staging enabled), and I have a read-only /usr/ports, and I'm not yet using pkgng, I need to set PACKAGES to a read-write location, even if I do not want to retain packages? Or is there a variable specifically for setting the package storage path for building a staging package?
> 
> 
> Stefan
> 

Try
WRKDIRPREFIX=$free/writable/work_directory
PACKAGES=$free/writable/package_directory

in /etc/make.conf


-- 
olli


More information about the freebsd-ports mailing list