Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: manual update of selected packages using binaries



Riccardo Mottola <riccardo.mottola%libero.it@localhost> writes:

> This is a generic question actually, but thappens for me on SPARC-32
> given the unavailability of binary packages and selectively compiling
> what I need.
>
> I have built several packages, saving the binary on one system.
> It is not a full repository, I just have in a directory dozens of
> packages (which I can gladly share).
>
> I want to use them to upgrade another system.
>
> Naively would be "pkg_add -u *.tgz" but this would not only upgrade, but
> also install everything else.
>
> Would pkg_rolling-replace use the binary packages? I suppose not.

pkg_rolling-replace calls "make replace package clean".   If you can get
replace to use binary packages, that will happen.

What I do, for 2 os/arch/version tuples, is to build the union of the
packages I need for that tuple on one system, and then create
pkg_summary:

  pkgsuma () 
  { 
      ( cd ${PKGSRC}/packages/All && pkgsum )
  }

and then I use pkgin on the others.


Home | Main Index | Thread Index | Old Index