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 C74A31393E9 for ; Thu, 22 May 2014 03:11:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 022ADE094F; Thu, 22 May 2014 03:11:05 +0000 (UTC) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9872AE08BB for ; Thu, 22 May 2014 03:11:03 +0000 (UTC) Received: by mail-ve0-f177.google.com with SMTP id db11so3633770veb.36 for ; Wed, 21 May 2014 20:11:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=VD+9LaN+szi1NrS986WYHEmWfgQhERzzg7zdMZT9IPY=; b=lOuhLYG6XKLXUQANvClO0+2m4BEBGJM4jKrwZHb5Q+JC/B6TePuDZL1vYRgacbeYac TFIRP5Z5eEnOtL+e1SYHTj4dRFWdMIac9G55r2sDpSXr8M8CmTOqqoaoGKh0PiwWfY+K i8Vpbd+nUZuaaSFrXO57kq/jgUhqR156NCeVBXj02U4c8zTu8gYF4Sv1ZDXvvuv7fWm2 XLs+wDk6Uk+oh8fxx9SW2RRsMBqRcYEYZI5ZMR8VhNdq0R+L74OleUgUHm8GNw3iL3o0 QVd0VAqZ+2zkkePf2i/qFTUmpkzWnzaRZwfVxroJQ1h1Er++Jt8XMKQHsncKsgtbb+gf CFaA== 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 X-Received: by 10.58.186.207 with SMTP id fm15mr46647169vec.4.1400728262690; Wed, 21 May 2014 20:11:02 -0700 (PDT) Sender: freemanrich@gmail.com Received: by 10.52.30.227 with HTTP; Wed, 21 May 2014 20:11:02 -0700 (PDT) In-Reply-To: <20140522021037.GA4074@badass.gateway.2wire.net> References: <006001cf741f$db183a40$9148aec0$@gmail.com> <537B3FE9.8050207@gmail.com> <007001cf7420$4f8a8f90$ee9faeb0$@gmail.com> <537B413D.1090209@gmail.com> <537CAF05.9010805@gmail.com> <20140522021037.GA4074@badass.gateway.2wire.net> Date: Wed, 21 May 2014 23:11:02 -0400 X-Google-Sender-Auth: QeofQt3N57LbQRx19o5lP1_fmxs Message-ID: Subject: Re: [gentoo-user] Use Flags and Updating From: Rich Freeman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: afa9c106-5227-4734-8556-27f49f5bf8be X-Archives-Hash: 61f8431af121f27f6c05f90b4cf02d91 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