creating package repository for offline installation

Nikos Vassiliadis nvass at teledomenet.gr
Tue Aug 5 07:00:25 UTC 2008


On Monday 04 August 2008 21:08:19 Manolis Kiagias wrote:
> > But you can still use the installed packages to recreate everything:
> >
> > e.g. pkg_create -Rb bash-x.y.z
> >
> > Or, use a simple shell script with pkg_create -b to create packages
> > from all installed ones, i.e:
> >
> > for i in `pkg_info -Ea`
> > do
> > pkg_create -b $i
> > done
>
> And by the way,  if you are running 7-STABLE, pkg_create supports a
> no-clobber option (courtesy of Giorgos ;) ), so if you run it with -R
> (recursion) it will not keep recreating / overwriting the existing
> packages in the same directory.

That's what I was searching for. Thanks!

Nikos


More information about the freebsd-questions mailing list