Gentoo Archives: gentoo-alt

From: Jeremy Olexa <darkside@g.o>
To: "gentoo-alt@l.g.o" <gentoo-alt@l.g.o>
Subject: Re: [gentoo-alt] a "compact" gentoo-prefix
Date: Sat, 08 Sep 2012 03:09:12
Message-Id: CAMxqorU0yA-gBTZmtnXiUPMAJYKVFW0V0S4ZYj4TJubj-9LNpw@mail.gmail.com
In Reply to: [gentoo-alt] a "compact" gentoo-prefix by yegle
1 On Friday, September 7, 2012, yegle wrote:
2
3 > Hi everyone,
4 >
5 > I'm using Gentoo-prefix on a server with a very limited quota to normal
6 > user. That's about 2GB per user.
7 >
8 > There are so many small files in $PORTDIR, it takes about 600MB. The
9 > default $PORTAGE_TMPDIR, $BUILD_PREFIX, $DISTDIR are all under $EPREFIX
10 > directory. The bootstrap process will fail in the middle because disk quota
11 > is reached.
12 >
13 > Files of $PORTDIR can be retrieved using `emerge --sync`, and files in the
14 > other directories mentioned above are just temporary files. By setting them
15 > to somewhere under `/tmp` I successfully bootstrapped a Gentoo-prefix
16 > environment with all what I need in about 715MB.
17 >
18 > My current solution by pointing temporary directories and portage
19 > directory to `/tmp` directory involve some manual fixes(e.g. update
20 > symbolic link $ERPEFIX/etc/make.profile) that maybe hard for someone new to
21 > Gentoo-prefix, and I don't think my solution is ideal.
22 >
23 > Gentoo-prefix is used by many users on shared host, and these hosts always
24 > have disk quota limit. I hope someone can come up with a better idea, or at
25 > least update the bootstrap document to add some hint about overcoming disk
26 > quota limit.
27 >
28
29 To be honest, the masses are not holding a riot over this. I mean, you are
30 the only one to bring it up in a long time. I see it as, a) users actually
31 do not have such an issue or b) users know how to overcome their own
32 limitations. We want the instructions to be simple and work for a large
33 amount of users in a simple way (first impression). So, should we fix a
34 non-problem? Is it a problem in the wild?
35
36 Not sure. Got a patch or proof of concept to review?
37 -Jeremy
38
39
40 >
41 > --
42 > yegle
43 >
44 >