Asus eee

Matthias Apitz matthias.apitz at oclc.org
Thu May 22 07:18:36 UTC 2008


El día Thursday, May 22, 2008 a las 09:18:33AM +0300, Giorgos Keramidas escribió:

	...
> Alternatively, you can use `pkg_create -b' to save the installed copies
> of a few ports, and move them over.  Installed packages can be saved
> anywhere you prefer to store them.  I some times use `/usr/pkg'.
> 
> As an example, if you have `procmail-3.22_6' installed, you can create a
> package even after you clean its port build directory with:
> 
>     # cd /usr/pkg
>     # pkg_create -b procmail-3.22_6
> 
> This should save the package in `procmail-3.22_6.tbz' in the current
> directory.
> 
> Then you can move the *.tbz file(s) to the EeePC and install them with
> `pkg_add', as Manolis described.

Thanks for your hint concerning pkg_create. I've stumbled over this as
well and we must not only create a given package, but also all the
packages from which it depends with for example:

# pkg_create -Rb stardict-2.4.8_5

this gave me in this example 144 packages in the current dir; I run it
twice to see if pkg_create detects that a given dependency is already
there or if it will rebuild the package, and it does rebuild them; this
means if I run pkg_create for the 200 ports I've compiled (even if I let
out what perhaps I don't need on the smaller EeePC it is a lot of
stuff), it will do a lot of work twice; is there a way to let pkg_create
check if the pkg is already built and there?

as well one must be very carefully with modifications in the installed
packages; I have, for example, just renamed 
/usr/local/etc/rc.d/cupsd to /usr/local/etc/rc.d/cupsd.sh 
and pkg_create is now complaining and stopping because the file
/usr/local/etc/rc.d/cupsd is missing; I will take this in consideration
from now;

thx for the hint anyway; its now clear that I will go this way (and buy
the beast :-))

	matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <matthias.apitz at oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
«...una sola vez, que es cuanto basta si se trata de verdades definitivas.»
«...only once, which is enough if it has todo with definite truth.»
José Saramago, Historia del Cerca de Lisboa


More information about the freebsd-questions mailing list