Staging and read-only /usr/ports

Bryan Drewery bdrewery at FreeBSD.org
Fri Sep 27 11:27:01 UTC 2013


On 9/27/2013 6:19 AM, 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
> 

NO_STAGE is not a user variable. Do not set that.

It is not intended that 'make install' creates a package in a read-only
directory. As I said, I am discussing this to fix it. For now you must
set PACKAGES= to a writable location until it is fixed.

-- 
Regards,
Bryan Drewery

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


More information about the freebsd-ports mailing list