Re: Upgrading without building and without freebsd-update

2010-07-01 Thread Anders Andersson
2010/7/1 Christer Solskogen christer.solsko...@gmail.com

 I've got two FreeBSD machines on two different networks(and two
 different locations). One of them is as fast machine (i7-920) while
 the other one is a Intel Atom. How can I build on the fast machine and
 use those binaries on the slow one, without mounting /usr/obj using
 nfs? first I was thinking about creating a dump file on the fast
 machine and extract that on the slow, but that wont work on a
 filesystem that is already populated. Would a tarfile work? (how about
 /libexec/ld-elf.so.1?)

 --
 chs,


Hello!

I can provide some help at least. I found the page
http://onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html which says that
make package creates tgz packages which you can copy over to the slow
machine and use pkg_add to install.

Commands that might be intresting to read about:
make fetch
portinstall

As I am quiet new to this as well, lets hope someone else can explain how to
extract all packages easily (make package seems to work on one single
package, portinstall has an option for making packages as it works through
the build process whihc can be handy to create all dependencies in one go)
and what to think about when building for different architectures (if that
is necessary).

-- 
Anders Andersson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrading without building and without freebsd-update

2010-07-01 Thread Glen Barber

Hi,

On 7/1/10 6:48 AM, Anders Andersson wrote:

2010/7/1 Christer Solskogenchrister.solsko...@gmail.com


I've got two FreeBSD machines on two different networks(and two
different locations). One of them is as fast machine (i7-920) while
the other one is a Intel Atom. How can I build on the fast machine and
use those binaries on the slow one, without mounting /usr/obj using
nfs? first I was thinking about creating a dump file on the fast
machine and extract that on the slow, but that wont work on a
filesystem that is already populated. Would a tarfile work? (how about
/libexec/ld-elf.so.1?)

--
chs,



Hello!

I can provide some help at least. I found the page
http://onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html which says that
make package creates tgz packages which you can copy over to the slow
machine and use pkg_add to install.



This works for ports.  The OP is asking about the base system.


Commands that might be intresting to read about:
make fetch
portinstall

As I am quiet new to this as well, lets hope someone else can explain how to
extract all packages easily (make package seems to work on one single
package, portinstall has an option for making packages as it works through
the build process whihc can be handy to create all dependencies in one go)
and what to think about when building for different architectures (if that
is necessary).



You could use 'make package-recursive', or have a look at 
ports-mgmt/tinderbox, which does this by default.


Regards,

--
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrading without building and without freebsd-update

2010-07-01 Thread Christer Solskogen
On Thu, Jul 1, 2010 at 1:22 PM, Glen Barber glen.j.bar...@gmail.com wrote:

 You could use 'make package-recursive', or have a look at
 ports-mgmt/tinderbox, which does this by default.


Or as I do: rsync /usr/ports/packages :)

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org