View previous topic :: View next topic |
Author |
Message |
crocket Guru
Joined: 29 Apr 2017 Posts: 558
|
Posted: Sun May 02, 2021 4:40 am Post subject: With a build machine, slow machines can run gentoo. |
|
|
Only with 4GB, compiling GUI packages was not possible. My laptop's CPU is slow, too.
Thus, I extracted stage3 archive into folders on a fast build machine and created commands that execute commands in the folders.
- sudo chroot-machine1 emerge -uDN @world
- sudo chroot-machine2 emerge -uDN @world
- ...
rsyncd runs on the build machine and serves as a remote binhost for slow machines.
/etc/portage/binrepos.conf
Code: | [main-binhost]
priority=9999
sync-uri = rsync://[ipv6-address]:port/machine1-binhost-module |
Now, gentoo is useable on slow machines. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54588 Location: 56N 3W
|
Posted: Sun May 02, 2021 9:09 am Post subject: |
|
|
Moved from Portage & Programming to Documentation, Tips & Tricks as its not a support question _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
DeadlySyns n00b
Joined: 14 May 2021 Posts: 8
|
Posted: Sat May 15, 2021 9:30 pm Post subject: Re: With a build machine, slow machines can run gentoo. |
|
|
crocket wrote: | Only with 4GB, compiling GUI packages was not possible. My laptop's CPU is slow, too.
Thus, I extracted stage3 archive into folders on a fast build machine and created commands that execute commands in the folders.
- sudo chroot-machine1 emerge -uDN @world
- sudo chroot-machine2 emerge -uDN @world
- ...
rsyncd runs on the build machine and serves as a remote binhost for slow machines.
/etc/portage/binrepos.conf
Code: | [main-binhost]
priority=9999
sync-uri = rsync://[ipv6-address]:port/machine1-binhost-module |
Now, gentoo is useable on slow machines. |
There is a program called DistCC which is popular in these situations (indeed, it's the *only way* to build in some cases). I have an ancient SPARC server and a brand new 3700x. Cross compiling with DistCC saves me about a week of compiling.
If you don't want to down your main machine building for the slower one, and if you run linux on your main desktop, I advise you to look into DistCC. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|