Rick Miller <vmil...@hostileadmin.com> writes:

> On Tue, Sep 21, 2010 at 3:55 PM, Adam Vande More <amvandem...@gmail.com> 
> wrote:
>> On Tue, Sep 21, 2010 at 11:41 AM, <vrwmil...@gmail.com> wrote:
>>>
>>>  Is it possible to take a port, make a package of it and put it in the
>>> packages directory of my own media?
>>
>> Sure it's easy.  When build a port you can issue a make package command, or
>> you can use pkg_create to create packages from installed ported.  A common
>> approach to this is build all your updates in a jail, make packages of them,
>> then delete package from the host and install the newly built ones from the
>> jail.  Very small, if any downtime.  You can use the jail to create pkg's
>> for a custom repository too.
>
> I've created the package and copied it to the networked media.  How do
> I edit the INDEX file so that it knows how to get the file?

I'm not sure what you're saying here, but I think what you want is just
to set the PACKAGEROOT variable.  If you want to create your own install
disks, the release(7) manual will point you in the right direction.  If
you're doing a network install, you need to lay out the package
directories the same way as the install media.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to