Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Is there a tool for updating Gentoo machines w/o compiling?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
Mardok45
n00b
n00b
User avatar
Posts: 69
Joined: Sat Jun 21, 2008 1:34 am
Location: Right behind you

Is there a tool for updating Gentoo machines w/o compiling?

  • Quote

Post by Mardok45 » Sun Jun 13, 2010 8:53 pm

I don't actually need this, just been wondering if there's a tool that does this...

Let's say you wanted to put Gentoo on every workstation in the building, but you don't want to make every machine spend an hour or so compiling just to be up-to-date.

Instead of telling all the machines to do an emerge --sync; emerge -uDN world every day/week, you instead put Gentoo onto a dedicated VM. Have that VM do all the compiling, and then you do some kind of rsync operation on the Gentoo file system, and have all the machines sync up with the VM by grabbing the rsync tarball that the VM created.

I hope that made sense.

Does anyone know if there's a tool that does this, or do you have to write the script yourself?

Again, I really don't need this, I was just wondering.
Top
Jimini
l33t
l33t
User avatar
Posts: 620
Joined: Tue Oct 31, 2006 8:39 am
Location: Germany

  • Quote

Post by Jimini » Sun Jun 13, 2010 9:44 pm

Of course you can share your portage tree and the distfiles and mount it via NFS, for example. I have never built software on a pc and distributed it to another on, but it is possible. But, of course, you have to take care of different architectures, hardware (=> different useflags) and so on. Some months ago I read an article about a public pc-pool running on Gentoo. Depending on your network, a solution using PXE could be very useful.

Best regards,
Jimini
"The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents." (H.P. Lovecraft: The Call of Cthulhu)
Top
kernelOfTruth
Watchman
Watchman
User avatar
Posts: 6111
Joined: Tue Dec 20, 2005 10:34 pm
Location: Vienna, Austria; Germany; hello world :)
Contact:
Contact kernelOfTruth
Website

  • Quote

Post by kernelOfTruth » Sun Jun 13, 2010 10:37 pm

afaik Sabayon's equo provides that kind of functionality but that wouldn't be 100% Gentoo anymore ;)
https://github.com/kernelOfTruth/ZFS-fo ... scCD-4.9.0
https://github.com/kernelOfTruth/pulsea ... zer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Top
jongeek
Tux's lil' helper
Tux's lil' helper
Posts: 135
Joined: Fri Jul 13, 2007 11:12 pm
Location: The Humid, Festering Swamps of Florida

  • Quote

Post by jongeek » Sun Jun 13, 2010 10:51 pm

net-proxy/http-replicator can share both binary and source files from one machine to others. I use it at work so I don't have to download/build packages on multiple systems. You may need to set up more than one if your architectures or CFLAGS differ from one system to another. Or use multiple build VMs.
Top
Ion Silverbolt
Apprentice
Apprentice
User avatar
Posts: 203
Joined: Thu Nov 04, 2004 5:03 am

  • Quote

Post by Ion Silverbolt » Sun Jun 13, 2010 10:56 pm

You can have one machine do the compiling and have a binhost setup so the other machines install the pre-compiled binaries from the binhost. This is especially effective if all the workstations use the same cpu arch. If not, you might have to set up more than one, or use more generic arch flags to support a wider variety of architectures.

It's not too hard to setup at all either. I compile binhost files all the time for my netbook because it's a turd for compiling.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56077
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Jun 14, 2010 6:10 pm

Mardok45,

You can set up both a binhost, so that one system serves binary packages to all the others and a compile farm with distcc so that the others contribute to building the binary packages.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56077
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Jun 14, 2010 6:17 pm

Moved from Gentoo Chat to Installing Gentoo.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
cach0rr0
Bodhisattva
Bodhisattva
User avatar
Posts: 4123
Joined: Thu Nov 13, 2008 11:14 pm
Location: Houston, Republic of Texas

  • Quote

Post by cach0rr0 » Mon Jun 14, 2010 7:00 pm

NeddySeagoon wrote:Mardok45,

You can set up both a binhost, so that one system serves binary packages to all the others and a compile farm with distcc so that the others contribute to building the binary packages.
++

this is what I do at work

rackspace has gentoo 10.1 Xen guests that come without portage, and without a number of other things I need for work.

I've not looked at the binhost process, but distcc for damn sure makes things loads easier

(we're up to 24 gentoo servers now, btw, and this has easily tripled our scalability!)
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Top
pilla
Bodhisattva
Bodhisattva
User avatar
Posts: 7732
Joined: Wed Aug 07, 2002 8:19 pm
Location: Underworld

  • Quote

Post by pilla » Thu Jun 17, 2010 10:52 am

Moved from Installing Gentoo to Portage & Programming.
"I'm just very selective about the reality I choose to accept." -- Calvin
Top
Post Reply

9 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy