* [gentoo-user] Removing excessive stuff from profile
@ 2013-07-13 4:49 Andrew Lowe
2013-07-13 9:12 ` Alan McKinnon
2013-07-13 14:26 ` [gentoo-user] " Michael Palimaka
0 siblings, 2 replies; 5+ messages in thread
From: Andrew Lowe @ 2013-07-13 4:49 UTC (permalink / raw
To: gentoo-user
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?
Any thought, greatly appreciated,
Andrew
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Removing excessive stuff from profile
2013-07-13 4:49 [gentoo-user] Removing excessive stuff from profile Andrew Lowe
@ 2013-07-13 9:12 ` Alan McKinnon
2013-07-13 15:42 ` Andrew Lowe
2013-07-13 14:26 ` [gentoo-user] " Michael Palimaka
1 sibling, 1 reply; 5+ messages in thread
From: Alan McKinnon @ 2013-07-13 9:12 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: Removing excessive stuff from profile
2013-07-13 4:49 [gentoo-user] Removing excessive stuff from profile Andrew Lowe
2013-07-13 9:12 ` Alan McKinnon
@ 2013-07-13 14:26 ` Michael Palimaka
1 sibling, 0 replies; 5+ messages in thread
From: Michael Palimaka @ 2013-07-13 14:26 UTC (permalink / raw
To: gentoo-user
Hi,
On 13/07/2013 14:49, Andrew Lowe wrote:
> 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
Which profile specifically did you choose (the numbered options will not
necessarily be the same for everyone)?
Best regards,
Michael
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Removing excessive stuff from profile
2013-07-13 9:12 ` Alan McKinnon
@ 2013-07-13 15:42 ` Andrew Lowe
2013-07-14 7:45 ` Walter Dnes
0 siblings, 1 reply; 5+ messages in thread
From: Andrew Lowe @ 2013-07-13 15:42 UTC (permalink / raw
To: gentoo-user
On 07/13/13 17:12, Alan McKinnon wrote:
> 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
[snip]
...
...
...
[snip]
>
> 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
>
Taking a lead from this, I went and changed my profile to be the
default, no KDE or gnome, and hey presto, the emerge count went from
about 250 down to about 35. It is currently building now.
Thanks for the suggestions,
Andrew
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Removing excessive stuff from profile
2013-07-13 15:42 ` Andrew Lowe
@ 2013-07-14 7:45 ` Walter Dnes
0 siblings, 0 replies; 5+ messages in thread
From: Walter Dnes @ 2013-07-14 7:45 UTC (permalink / raw
To: gentoo-user
On Sat, Jul 13, 2013 at 11:42:47PM +0800, Andrew Lowe wrote
> Taking a lead from this, I went and changed my profile to be the
> default, no KDE or gnome, and hey presto, the emerge count went from
> about 250 down to about 35. It is currently building now.
I start my USE variable with "-*" and add in stuff that I need, i.e.
USECPU="mmx mmxext sse sse2 sse3 ssse3"
USEOTHER=" X a52 aac bzip2 cxx dga dri exif ffmpeg flac fortran gallium gif intel jpeg mng mp3 mpeg ncurses nptl nptlonly nsplugin offensive ogg opengl openrc png posix readline ssl theora threads tiff tools truetype vim-syntax vorbis xcomposite webm x264 xpm xv xvid zlib"
USE="-* ${USECPU} ${USEOTHER}"
...plus I also have some entries in package.use
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-07-14 7:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-13 4:49 [gentoo-user] Removing excessive stuff from profile Andrew Lowe
2013-07-13 9:12 ` Alan McKinnon
2013-07-13 15:42 ` Andrew Lowe
2013-07-14 7:45 ` Walter Dnes
2013-07-13 14:26 ` [gentoo-user] " Michael Palimaka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox