Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Aug 2008 10:01:49 +0300
From:      Nikos Vassiliadis <nvass@teledomenet.gr>
To:        Manolis Kiagias <sonic2000gr@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: creating package repository for offline installation
Message-ID:  <200808051001.50389.nvass@teledomenet.gr>
In-Reply-To: <48974593.407@gmail.com>
References:  <200808041409.58825.nvass@teledomenet.gr> <48974372.3030406@gmail.com> <48974593.407@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808051001.50389.nvass>