From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (unknown [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6EF751381FA for ; Thu, 22 May 2014 12:01:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5CB52E0A86; Thu, 22 May 2014 12:01:23 +0000 (UTC) Received: from smtpq1.gn.mail.iss.as9143.net (smtpq1.gn.mail.iss.as9143.net [212.54.34.164]) by pigeon.gentoo.org (Postfix) with ESMTP id 56C57E0A68 for ; Thu, 22 May 2014 12:01:22 +0000 (UTC) Received: from [212.54.34.134] (helo=smtp3.gn.mail.iss.as9143.net) by smtpq1.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1WnRgX-00068J-Qi for gentoo-user@lists.gentoo.org; Thu, 22 May 2014 14:01:21 +0200 Received: from 53579160.cm-6-8c.dynamic.ziggo.nl ([83.87.145.96] helo=data.antarean.org) by smtp3.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1WnRgX-0000RK-Gy for gentoo-user@lists.gentoo.org; Thu, 22 May 2014 14:01:21 +0200 Received: from andromeda.localnet (unknown [213.19.196.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by data.antarean.org (Postfix) with ESMTPSA id D2D474C for ; Thu, 22 May 2014 14:00:53 +0200 (CEST) From: "J. Roeleveld" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Use Flags and Updating Date: Thu, 22 May 2014 14:00:47 +0200 Message-ID: <1551470.P9fhooQK59@andromeda> User-Agent: KMail/4.12.5 (Linux/3.12.13-gentoo; KDE/4.12.5; x86_64; ; ) In-Reply-To: References: <006001cf741f$db183a40$9148aec0$@gmail.com> <20140522021037.GA4074@badass.gateway.2wire.net> 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 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Ziggo-spambar: ---- X-Ziggo-spamscore: -4.8 X-Ziggo-spamreport: ALL_TRUSTED=-1,BAYES_00=-1.9,PROLO_TRUST_RDNS=-3,RDNS_DYNAMIC=0.982,TW_DP=0.077 X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No X-Archives-Salt: dab4160b-7142-4c70-a963-ccea54046def X-Archives-Hash: 0a0e4ae053b5f6b1cac09e98465d7e8b On Wednesday, May 21, 2014 11:11:02 PM Rich Freeman wrote: > On Wed, May 21, 2014 at 10:10 PM, wrote: > > I run a script that syncs portage, updates @world, depcleans, > > revdep-rebuild and finally runs dispatch-conf -- about once weekly. Keeps > > my system in fine trim. :) > > This one is a gem - I forget where I saw it (likely planet, but maybe > it was on a list). Stick it in your crontab. I will warn you that > sometimes it chokes on its own output and obviously it can't build > binpkgs for anything more than one step down the dependency tree. > However, when my weekly chromium build runs at 2AM and I can just > install it (with -k) the next morning it is a nice thing indeed. You > still get full control over USE flags/etc, but most of the convenience > of a binary distro. > > #!/bin/sh > > LIST=$(mktemp); > > emerge -puD --changed-use --color=n --columns --quiet=y --with-bdeps=y > world | awk '{print $2}' > ${LIST}; > > for PACKAGE in $(cat ${LIST}); > do > printf "Building binary package for ${PACKAGE}... " > emerge -uN --quiet-build --quiet=y --buildpkgonly ${PACKAGE}; > if [[ $? -eq 0 ]]; > then > echo "ok"; > else > echo "failed"; > fi > done Alternatively, set up a chroot to build the binpackages. I do that for all my machines at home. That runs weekly. -- Joost