From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B54601381F3 for ; Sat, 13 Jul 2013 09:14:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2165E09EA; Sat, 13 Jul 2013 09:14:45 +0000 (UTC) Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 837F2E0804 for ; Sat, 13 Jul 2013 09:14:44 +0000 (UTC) Received: by mail-wg0-f47.google.com with SMTP id l18so8673963wgh.26 for ; Sat, 13 Jul 2013 02:14:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=brk+2aOUIuV8lFEjsmY5yzWDtaT2djls6tiNwY5AQDA=; b=FI1DzqP120jvYuHFej39Utbv0matcDh4oAJHQKbD1it0RktmNx+eYlqO87ptldNMz3 eb2b/Ova2Ds78g2l4nEIeG+RJWlzofJzS4uzMCsufALZouOSskF2M2uKEbvgB8WiWOpf k4WeI+OHY+Z1JI1WYnbaQm4FJwkTzrCrM+RTXccmZCEzX4XgVQZlHefuz/qhuXYxegFF n6Fe0A3Z07YoBxhWoHqiVkLByeOXH4PM97sg9wWxpBteNmpvH5PA9yWKYsBL1O2fdm/R qr08iTCu2RNNIsHIaV2gJ2G40+83kekv9JU32D8oZwH0KUytKbB8jZ8SkOtIVRSDxEty NS/A== X-Received: by 10.180.12.11 with SMTP id u11mr3758436wib.61.1373706883107; Sat, 13 Jul 2013 02:14:43 -0700 (PDT) Received: from [172.20.0.41] (196-210-127-141.dynamic.isadsl.co.za. [196.210.127.141]) by mx.google.com with ESMTPSA id o10sm7695761wiz.5.2013.07.13.02.14.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 13 Jul 2013 02:14:42 -0700 (PDT) Message-ID: <51E11A01.8090400@gmail.com> Date: Sat, 13 Jul 2013 11:12:33 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130709 Thunderbird/17.0.7 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Removing excessive stuff from profile References: <51E0DC6B.8050500@wht.com.au> In-Reply-To: <51E0DC6B.8050500@wht.com.au> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 5f40e03d-f316-451d-b403-c32d14a022de X-Archives-Hash: bb1fd60691add39012a2e4380061bbf1 On 13/07/2013 06:49, Andrew Lowe wrote: > Hi all, > I have recently purchased a cubieboard: > > http://cubieboard.org/ > > which is an ARM device with SATA. It is going to become a low power > media server. I have followed the instructions on getting Gentoo onto it > as outlined here: > > pluto7777.blogspot.com.au Monday March 18, 2013 > > I get a working system up and happening when I do the first boot. I then > do the profile selection as listed but there are no server profiles, all > basically desktop orientated. I chose 27 as suggested but when I do the > > emerge --pretend -NuD world > > I get an emerge that has over 250 items and includes things such as > cups, libraries for image viewing etc etc, all stuff fine for a desktop > but just additional stuff that my little server won't need. > > So my question is, what files do I have to fiddle to stop portage > from wanting to install all of these additional files? I've looked in > the world file and there is basically nothing there so I'm guessing it's > in the profile somewhere - but just where? At this point in the process, world is indeed empty or nearly empty, nothing wrong with that. profile definitions are in /var/portage/profiles, the one you are using is the /etc/portage/make.conf symlink[1] If you examine the files in those directories, you'll quickly see how it's constructed - it's a tree structure, files have parents and have entries to add and remove things. If you *really* want to, you can define new profiles for yourself and store them anywhere convenient, as a profile is really just some date files and pointers to other data files. man 5 portage gives further details on what can be in each type of file (type is indicated by name). There are no more "server" profiles as such, that idea is deprecated. Nowadays we have base profiles instead, like default/linux/amd64/13.0 and desktop variants like default/linux/amd64/13.0/desktop It's most likely you have most desktop features enabled. Two approaches: - Post the output of "eselect profile list" run as root - Post the output of "emerge --info" | grep USE [1] On your system the profiles might be in /usr/portage/profiles and the symlink might be /etc/make.profile. -- Alan McKinnon alan.mckinnon@gmail.com