* Bill Campbell ([EMAIL PROTECTED]) [060324 18:36]:
> On Fri, Mar 24, 2006, skaar wrote:
> >> This doesn't answer the question on how one would use the
> >> openpkg build'' command to update a system from a binary
> >> repository which is something that would be very useful when
> >> maintaining appliance'' type servers that have identical
> >> hardware.
> >
> >actually, if you run openpkg build with the -B flag and point it to the
> >remote index file and the repository where the binary rpms are, it will
> >pick up the binary rpms.
> 
> Sounds like **I** didn't RTFM adequately :-).

it goes something like this (replace local path with whichever protocol
and location you are using - although https is not yet supported in curl
in the openpkg toolchain):

    /srv/x86rhel4/PKG/
        python-2.4.2-20051111.ix86-rhel4-sls.rpm

    openpkg index -r 'Test' -p 'x86rhel4' -i \
        -o /srv/x86rhel4/Index.rdf \
        /srv/x86rhel4/PKG/

    openpkg build -B -p 'x86rhel4' -r /srv/x86rhel4/PKG \
        -f /srv/x86rhel4/Index.rdf python

/skaar

-- 
----------------------------------------------------------------------
|\|\             where in the       |          s_u_b_s_t_r_u_c_t_i_o_n 
| | >===========  W.A.S.T.E.        |                  genarratologies 
|/|/    (_)     is the wisdom       |                  [EMAIL PROTECTED]
----------------------------------------------------------------------
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to