Gentoo Archives: gentoo-catalyst

From: "Åsmund Grammeltvedt" <asmundg@××××.tv>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] Missing /root
Date: Wed, 03 Oct 2007 12:35:52
Message-Id: 200710031426.04560.asmundg@snap.tv
In Reply to: Re: [gentoo-catalyst] Missing /root by Andrew Gaffney
1 On Wednesday 03 October 2007 14:00:58 Andrew Gaffney wrote:
2 > Åsmund Grammeltvedt wrote:
3 > > On Wednesday 19 September 2007 18:24:33 Chris Gianelloni wrote:
4 > >> On Wed, 2007-09-19 at 17:23 +0200, Ã…smund Grammeltvedt wrote:
5 > >>>> However, it may just create it with USE=build. Check the
6 > >>>> vdb in your stage1 to see what package owns the /root directory.
7 > >>>
8 > >>> ccache, apparently. Baselayout _should_ also create /root, but
9 > >>> something seems to go wrong along the way. I guess I should rebuild and
10 > >>> check the logs.
11 > >>
12 > >> Please do. If you find it to be an issue with baselayout, please file a
13 > >> bug so we can get it fixed before we start our next release.
14 > >
15 > > Hm, I haven't had time to actually check if this happens, but the current
16 > > theory is this:
17 > >
18 > > Baselayout creates /root, but avoids becoming the owner by
19 > > generating /usr/share/baselayout/mkdirs.sh and then running it in
20 > > pkg_preinst.
21 > >
22 > > When ccache is unmerged at the end of the stage build, it removes /root,
23 > > since its the sole owner.
24 > >
25 > > Does that seem plausible?
26 >
27 > Sure, that explanation is very plausible. Since ccache isn't enabled by
28 > default and most of us don't use it for release building, we never would
29 > have seen it. It may even be the reason that wolf31o2 recommends that it
30 > not be used.
31
32 In that case, may I suggest the following? :)
33
34 --- catalyst-2.0.5_pre3.orig/files/catalyst.conf 2007-10-03 14:23:34.060538959 +0200
35 +++ catalyst-2.0.5_pre3/files/catalyst.conf 2007-10-03 14:24:07.503755367 +0200
36 @@ -31,7 +31,7 @@
37 # the -a option to the catalyst cmdline. -p will clear the autoresume flags
38 # as well as your pkgcache and kerncache
39 # ( This option is not fully tested, bug reports welcome )
40 -# ccache = enables build time ccache support (highly recommended)
41 +# ccache = enables build time ccache support (not recommended)
42 # distcc = enable distcc support for building. You have to set distcc_hosts in
43 # your spec file.
44 # kerncache = keeps a tbz2 of your built kernel and modules (useful if your
45
46 --
47 Åsmund Grammeltvedt
48 Snap TV

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-catalyst] Missing /root Andrew Gaffney <agaffney@g.o>
Re: [gentoo-catalyst] Missing /root Chris Gianelloni <wolf31o2@g.o>