From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Removing excessive stuff from profile
Date: Sat, 13 Jul 2013 11:12:33 +0200 [thread overview]
Message-ID: <51E11A01.8090400@gmail.com> (raw)
In-Reply-To: <51E0DC6B.8050500@wht.com.au>
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
next prev parent reply other threads:[~2013-07-13 9:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-13 4:49 [gentoo-user] Removing excessive stuff from profile Andrew Lowe
2013-07-13 9:12 ` Alan McKinnon [this message]
2013-07-13 15:42 ` Andrew Lowe
2013-07-14 7:45 ` Walter Dnes
2013-07-13 14:26 ` [gentoo-user] " Michael Palimaka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51E11A01.8090400@gmail.com \
--to=alan.mckinnon@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox