From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HdR4V-0000Ar-2C for garchives@archives.gentoo.org; Mon, 16 Apr 2007 13:16:43 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l3GDDgXe005234; Mon, 16 Apr 2007 13:13:42 GMT Received: from shuttle.zlin.dk (port78.ds1-abs.adsl.cybercity.dk [212.242.227.17]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l3GD72gY029118 for ; Mon, 16 Apr 2007 13:07:02 GMT Received: from BA.zlin.dk (BA.zlin.dk [10.0.0.3]) by shuttle.zlin.dk (Postfix) with ESMTP id 529AF30004 for ; Mon, 16 Apr 2007 15:07:02 +0200 (CEST) From: Bo =?utf-8?q?=C3=98rsted_Andresen?= To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Any consequences to package.mask'ing newer kernels? Date: Mon, 16 Apr 2007 15:06:54 +0200 User-Agent: KMail/1.9.6 References: <20070331055510.GA29960@waltdnes.org> <20070413084010.11e0eea5@hactar.digimed.co.uk> <20070416140030.52d8d49b@hactar.digimed.co.uk> In-Reply-To: <20070416140030.52d8d49b@hactar.digimed.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2606864.Ie8EPA7t5N"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200704161507.01695.bo.andresen@zlin.dk> X-Archives-Salt: 2cc3da3b-d17b-4e1f-9f6d-dfa9c0a44276 X-Archives-Hash: 311c5f079a3f75b4b7e6b5bd428a55b4 --nextPart2606864.Ie8EPA7t5N Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 16 April 2007 15:00:30 Neil Bothwick wrote: > On Fri, 13 Apr 2007 08:40:10 +0100, Neil Bothwick wrote: > > > > equery --quiet --nocolor list --duplicates gentoo-sources | awk > > > > '{print $1}' | head -n -2 | xargs --no-run-if-empty emerge > > > > --unmerge &>/dev/null > > > > > > Out of interest: > > > > > > 1) Why --duplicates (i.e. am I missing something ;). > > > > No idea, I wrote the script a couple of years ago, if I'd wanted to > > remember how it worked I'd have commented it. :) > > I remember now. If you have only one kernel installed, --duplicates > prevents it being uninstalled - quite a useful feature ;-) head -n -2 would prevent that anyway. As well as preventing the deletion=20 from /boot and /lib/modules (where it really matters).. =2D-=20 Bo Andresen --nextPart2606864.Ie8EPA7t5N Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (GNU/Linux) iD8DBQBGI3T18/kKEzmwNNoRAqvnAKDJEhpm/WxTXfq5JWhi93e4MRyb3gCbBPhZ 7i+13wMzgbm2gOBX45jWK10= =M86U -----END PGP SIGNATURE----- --nextPart2606864.Ie8EPA7t5N-- -- gentoo-user@gentoo.org mailing list