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 052D01381FA for ; Thu, 22 May 2014 09:38:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E591E086F; Thu, 22 May 2014 09:37:57 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id D9E23E0712 for ; Thu, 22 May 2014 09:37:55 +0000 (UTC) Received: from digimed.co.uk (shooty.digimed.co.uk [192.168.1.8]) by mail.digimed.co.uk (Postfix) with ESMTPA id 58161237BC for ; Thu, 22 May 2014 10:37:55 +0100 (BST) Date: Thu, 22 May 2014 10:37:48 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Use Flags and Updating Message-ID: <20140522103748.15677978@digimed.co.uk> In-Reply-To: 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> Organization: Digital Media Production X-Mailer: Claws Mail 3.9.3-212-ged5f07 (GTK+ 2.24.23; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 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-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/5pX1SY2EB=fdIPdO04POlk/"; protocol="application/pgp-signature" X-Archives-Salt: 624e2117-686c-4904-9e8f-b97e793d7112 X-Archives-Hash: 8ba702f664a3067bea7e88b19f6bc1c7 --Sig_/5pX1SY2EB=fdIPdO04POlk/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 21 May 2014 23:11:02 -0400, Rich Freeman wrote: > 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. >=20 > #!/bin/sh >=20 > LIST=3D$(mktemp); >=20 > emerge -puD --changed-use --color=3Dn --columns --quiet=3Dy --with-bdeps= =3Dy > world | awk '{print $2}' > ${LIST}; One slight problem, it ignores slotted packages. I realise this is not a big issue as you are simply trying to get the big packages built in advance, If you drop the --columns and replace the awk call with sed 's/.*\] \(\S*\).*/=3D\1/' you will get properly versioned atoms. Or you could try --keep-going as suggested by Marc - I've no idea whether that will play nicely with --buildpkgonly. Either way, it's an excellent idea and one for the GMN tips thread. --=20 Neil Bothwick Top Oxymorons Number 14: Temporary tax increase --Sig_/5pX1SY2EB=fdIPdO04POlk/ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlN9xWwACgkQum4al0N1GQPsMwCeLNOBjWLRDYn6AydjC0FTcFfO 51sAoLMAedWUnNql9PNLHKz4c1sMh+yr =b3zP -----END PGP SIGNATURE----- --Sig_/5pX1SY2EB=fdIPdO04POlk/--