From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RyFgi-0001EL-4h for garchives@archives.gentoo.org; Fri, 17 Feb 2012 04:44:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 84431E08D4; Fri, 17 Feb 2012 04:44:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1409AE09FB for ; Fri, 17 Feb 2012 04:43:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 735FF1B4002 for ; Fri, 17 Feb 2012 04:43:39 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -2.501 X-Spam-Level: X-Spam-Status: No, score=-2.501 tagged_above=-999 required=5.5 tests=[AWL=-0.589, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bmzFNfONu-6T for ; Fri, 17 Feb 2012 04:43:33 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 52E651B400B for ; Fri, 17 Feb 2012 04:43:32 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RyFfN-0000Bt-6B for gentoo-dev@gentoo.org; Fri, 17 Feb 2012 05:43:29 +0100 Received: from ip68-231-22-224.ph.ph.cox.net ([68.231.22.224]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Feb 2012 05:43:29 +0100 Received: from 1i5t5.duncan by ip68-231-22-224.ph.ph.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Feb 2012 05:43:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Duncan <1i5t5.duncan@cox.net> Subject: [gentoo-dev] Re: Remove package from system set in custom profile Date: Fri, 17 Feb 2012 04:43:21 +0000 (UTC) Message-ID: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ip68-231-22-224.ph.ph.cox.net User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 19ecd49 /st/portage/src/egit-src/pan2) Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 546054a9-8c17-4cdb-8c44-cf4db8e22c61 X-Archives-Hash: fe301bdca1a96d2c1092c158d3463d62 Canek Pel=C3=A1ez Vald=C3=A9s posted on Thu, 16 Feb 2012 19:26:22 -0600 a= s excerpted: > Hi; I'm trying to make a custom profile, and I need to remove a package > from the system set. Is there a way I can do this without editing > /usr/portage/profiles/base/packages? >=20 > Sorry if this is the wrong place for asking such a question. FWIW, gentoo-dev is for development related questions. The right place=20 would be the gentoo-user list. Not really right but better than the=20 general gentoo-dev list would be the portage-devel list. =20 Never-the-less and not to send you away empty-handed, yes of course=20 there's a way to override it locally. Gentoo wouldn't be gentoo=20 otherwise. =3D:^) See the portage (5) manpage, in particular, a search on "/etc/portage/profile" in that manpage, plus the note under the packages=20 file description (in the /etc/make.profile/ section) about removing=20 packages from the system set. More specifically, here's my /etc/portage/profile/packages: # I don't need these -*sys-apps/busybox -*sys-apps/module-init-tools If the package is listed as a dependency somewhere as well, you may need=20 to add an entry to packages.provided in the same dir, as well. For=20 example, from mine (I build everything I need into the kernel, no kernel modules so no module-init-tools needed to load them, either): sys-apps/module-init-tools-9999 --=20 Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman