Gentoo Archives: gentoo-dev

From: Sebastian Pipping <sping@g.o>
To: gentoo-dev@l.g.o
Cc: "pr@g.o" <pr@g.o>
Subject: [gentoo-dev] [rfc] Criticial news item "2010-02-25-layman-storage-path-change" (GLEP 42)
Date: Thu, 25 Feb 2010 00:15:52
Message-Id: 4B85C123.4070808@gentoo.org
1 Hello!
2
3
4 As a proper solution to bug #306233 [1] I have prepared a draft for a
5 related glep-42-style [2] news item, my first such item ever. This is
6 my request for review.
7
8 If I don't hear anything for the next 72 hours I may put it online, as I
9 understand the GLEP. If you'd need more time for a proper review just
10 let me know.
11
12 Here we go:
13
14 =======================================================================
15 Title: Layman storage path changed from version 1.3.0 on
16 Author: Sebastian Pipping <sping@g.o>
17 Content-Type: text/plain
18 Posted: 2010-02-25
19 Revision: 1
20 News-Item-Format: 1.0
21 Display-If-Installed: <app-portage/layman-1.3
22
23 Layman has been using /usr/local/portage/layman to store
24 overlay checkouts from version 1.2.3 on. As that path
25 was violating the concept of keeping portage away from
26 /usr/local the default of this storage location moves to
27
28 /var/lib/layman
29
30 from version 1.3.0 on. If you have never modified /etc/layman.cfg
31 manually before, you may be tempted to let tools like etc-update
32 or cfg-update blindly accept this new version of layman.cfg.
33 As that would hide all your currently installed overlays from layman
34 it's probably not what you want. Your options are:
35
36 A) Moving
37 Move your current location to /var/lib/layman before upgrading
38
39 B) A symlink
40 Put a symlink to your current storage location at /var/lib/layman
41 before upgrading layman
42
43 C) Configuration
44 Reject the path change for layman.cfg when running tools like
45 etc-update or cfg-update blindly. Be aware with this way you'll
46 have to do it for each layman update again.
47
48 PS: This news item is a reaction to users having run into this problem
49 (see bug #306233). Thanks to Volker Hemmann for reporting.
50 =======================================================================
51
52 Thanks for your help,
53
54
55
56 Sebastian
57
58
59 [1] http://bugs.gentoo.org/show_bug.cgi?id=306233
60 [2] http://www.gentoo.org/proj/en/glep/glep-0042.html

Replies