From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KNxL5-0004Rn-IR for garchives@archives.gentoo.org; Tue, 29 Jul 2008 22:06:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B29BEE00A2; Tue, 29 Jul 2008 22:06:37 +0000 (UTC) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by pigeon.gentoo.org (Postfix) with ESMTP id 9B0D8E00A2 for ; Tue, 29 Jul 2008 22:06:37 +0000 (UTC) Received: by py-out-1112.google.com with SMTP id w53so62411pyg.25 for ; Tue, 29 Jul 2008 15:06:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=1Y2R/NNYSjQbBFNgleYfsNpC3KRcBrGNWvu4pdM9G88=; b=aWEW2ZmmAtqdHVWKxaKWVKGHCMAhTvoj7MCbiLei6TIPmKlFSLhBSo16DZuirjETSC XPUGJO3eKwEsh0PxTM4jXEcI5KrbU9YgME+7StXE/RlypZQ7ubQqN/enDz4WYqDt9WSq uhtmcmlArrrNFiS1GNK0KR4T64nU0++KwXYM4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=uC+sYEUDCy9261A3NvBNndAws+3jP1DeUNYtmJMc1t4uZKgpQMnFigAlQKhzCLs3Tk ttvuYDB15SlRAJ/Zx8cvJqfjCnlrK64IRoZV3i8Hygj1WPbF1xSXYChcwfb0A0RvR2ob au6E10xHd8OY5tCvcIaV4mqf3Rh01x1LwMiic= Received: by 10.65.59.16 with SMTP id m16mr12969305qbk.94.1217369197207; Tue, 29 Jul 2008 15:06:37 -0700 (PDT) Received: from ?192.168.2.15? ( [65.93.195.175]) by mx.google.com with ESMTPS id s30sm262041qbs.8.2008.07.29.15.06.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 29 Jul 2008 15:06:36 -0700 (PDT) Message-ID: <488FA30F.80209@gmail.com> Date: Tue, 29 Jul 2008 19:09:03 -0400 From: Simon User-Agent: Thunderbird 2.0.0.14 (X11/20080611) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Sync'ing and compiling pkgs for multiple PCs Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 56296ce1-f5b2-4b61-8b83-1c659c6fef05 X-Archives-Hash: 53a9d70d17c7b6e9680912c54624a6a1 Hi, Below I explain my story, I show some difficulties and near the end ask a few questions, but last paragraph is my main question, comments on the rest is greatly appreciated. I have 3 computers and they are all setup the same with the exception of the kernel that has different options for the youngest of my pcs. I'm looking for a simple, easy and efficient way to keep them all up2date. I want to avoid 3 --sync to the gentoo servers. I have tried to setup one of my pc as central server and sync the others on it, but has the main disadvantage that the other PCs are dependant on it (ok, it's not so difficult to change make.conf). Then, I would have to compile approximately 3 times the same software. My computers are slow, I am poor, can't buy new hardware (FORGET IT). So I tried turning on buildpkg and compile on my fastest PC. I already use unison to sync my /home directory through ssh, i use it because it is simple and does exactly what I need out of the box. (Compared to rsyncd, where you need to setup a server, setup the firewall, what about security?...). Anyway, I decided to sync /usr/portage with unison as well, which worked fine and I had the binpkgs on the other pc. When I did an `emerge -k -uDN world` I found that many packages still had to be built. I extracted the list of packages and versions, formated properly and emerged them all on my fastest pc, ran through the same routine and at the end I had to recompile just a few packages that I let run (nothing like gcc or glibc, hehe). Now, with my "unison technique" I believe the only flaw was that I didn't have the list of all packages on all my PCs and I wonder if there is a way to generate such a list, similar to what `emerge -vp -uDN world` gives but in a format ready for emerge, so I can dump the pkg list for the 3 pc in 3 files and run emerge on those 3 files. I would compile them -1, which, as I understand it would upgrade my system (upgrade but not change world entries) and install unneeded packages around. I would then use --depclean which would remove the unneeded packages cleanly and finally revdep-rebuild. I would be left with my fastest pc's world up2date + all binpkgs of all 3 pcs. The advantage of my "unison technique" is it's transparent to any 3 pc, if a pkg is not there, it downloads the distfile from the internet and compiles it, completely independant. Just doing the --sync requires a little bit of consideration. I'm wondering if there is (i'm sure there is) a better practice in the compilation of binpkgs for use by multiple computers, so that none of the other computers will compile (quick update for them) and that the compiling computer can compile all needed pkgs in one run preferably. As usual, if you can answer my question directly on the mailing list that'd be nice, if you could give URLs to some documentation that answers my question that'd be very nice too! Thanks, Simon