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 1RyGS5-0008IO-43 for garchives@archives.gentoo.org; Fri, 17 Feb 2012 05:33:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1FAC5E0A52; Fri, 17 Feb 2012 05:33:39 +0000 (UTC) Received: from mail-pw0-f53.google.com (mail-pw0-f53.google.com [209.85.160.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 9B13DE09FD for ; Fri, 17 Feb 2012 05:32:50 +0000 (UTC) Received: by pbbrq13 with SMTP id rq13so4078074pbb.40 for ; Thu, 16 Feb 2012 21:32:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Ka5bYL6NWJwtywBB7oUwG5wG7wXyoqhiyNLxW4q7cGs=; b=EfnqWkORav+dR73PmiPSGQzD+3w9n9fTXQs6pcc37Ikj3oZiYBm7yTi7RuZ5DAcrRu T1Lw7WMrccSUkylKYmVea0hOatuh+23zNheKoIOdS+w03FlMtQm63WxOGiZ5C3vAqtMb 4A44BSc0mweY+JJWPhHyKv6xSosko+YB5q6/8= 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 Received: by 10.68.136.4 with SMTP id pw4mr8842868pbb.74.1329456769972; Thu, 16 Feb 2012 21:32:49 -0800 (PST) Received: by 10.68.135.135 with HTTP; Thu, 16 Feb 2012 21:32:49 -0800 (PST) In-Reply-To: References: Date: Thu, 16 Feb 2012 23:32:49 -0600 Message-ID: Subject: Re: [gentoo-dev] Re: Remove package from system set in custom profile From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 74d7722d-e980-4cdb-a049-c833625cba09 X-Archives-Hash: 43aedbeb5b8ee9c1043f9d2b234c73a3 On Thu, Feb 16, 2012 at 10:43 PM, Duncan <1i5t5.duncan@cox.net> wrote: > 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? >> >> Sorry if this is the wrong place for asking such a question. > > FWIW, gentoo-dev is for development related questions. =C2=A0The right pl= ace > would be the gentoo-user list. =C2=A0Not really right but better than the > general gentoo-dev list would be the portage-devel list. I would have that in mind next time. > Never-the-less and not to send you away empty-handed, yes of course > there's a way to override it locally. =C2=A0Gentoo wouldn't be gentoo > otherwise. =3D:^) > > See the portage (5) manpage, in particular, a search on > "/etc/portage/profile" in that manpage, plus the note under the packages > file description (in the /etc/make.profile/ section) about removing > 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 > to add an entry to packages.provided in the same dir, as well. =C2=A0For > 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 That's exactly what I needed. Thanks. Regards. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n Universidad Nacional Aut=C3=B3noma de M=C3=A9xico