1 |
On Fri, Mar 7, 2014 at 5:57 PM, Steven J. Long |
2 |
<slong@××××××××××××××××××.uk>wrote: |
3 |
|
4 |
> On Fri, Feb 28, 2014 at 09:53:57PM -0500, Rick "Zero_Chaos" Farina wrote: |
5 |
> > On 12/31/2013 06:43 PM, Andreas K. Huettel wrote: |
6 |
> > > Am Dienstag, 31. Dezember 2013, 23:30:14 schrieb Mike Gilbert: |
7 |
> > >> I have noticed that the arch profile directories (profiles/arch/$ARCH) |
8 |
> > >> are not EAPI 5 capable. These profiles are inherited by both the |
9 |
> default |
10 |
> > >> and hardened profiles and contain arch-specific settings. They are |
11 |
> often |
12 |
> > >> used to override masks set in the base profile. |
13 |
> |
14 |
> > To ease this transition, I've drafted a news item based on info from |
15 |
> > zmedico's blog about when eapi 5 was first supported. |
16 |
> > |
17 |
> > This is, in my eyes, the simplest way to transition users who may be on |
18 |
> > really, really, really outdated systems. It occurred to me I could make |
19 |
> > a minimal snapshot instead, but it seems much much safer to do this for |
20 |
> > now. Please review the news article. |
21 |
> |
22 |
> I agree, and it's much appreciated. |
23 |
> Just a couple of minor typos. |
24 |
> |
25 |
> > Title: Profile EAPI 5 requirement |
26 |
> > Author: Zero_Chaos <zerochaos@g.o> |
27 |
> > Content-Type: text/plain |
28 |
> > Posted: 2014-03-02 |
29 |
> > Revision: 1 |
30 |
> > News-Item-Format: 1.0 |
31 |
> > Display-If-Installed: <2.2.0_alpha130 |
32 |
> > |
33 |
> > In its last session, the Gentoo council decided that the |
34 |
> |
35 |
> Capital 'C' for Council, same as Trustees. |
36 |
> |
37 |
> > entire profile tree will be updated to require EAPI=5 support. |
38 |
> > |
39 |
> > http://www.gentoo.org/proj/en/council/meeting-logs/20140114.txt |
40 |
> > |
41 |
> > For all non-deprecated profiles this requirement has already been in |
42 |
> > place for |
43 |
> > over one year. If you have updated your system at any point during 2013, |
44 |
> and |
45 |
> > followed the instructions in the profile deprecation warnings (which |
46 |
> > cannot really easily be overlooked), and are running an up-to-date |
47 |
> portage |
48 |
> > version, there is absolutely nothing that you need to do now. |
49 |
> > |
50 |
> > If you are running an installation that has not been updated for more |
51 |
> > than a |
52 |
> > year, the portage tree you have just updated to is may be incompatible |
53 |
> |
54 |
> s/is // |
55 |
> |
56 |
> > with your |
57 |
> > portage version, and the profile you are using may be gone. |
58 |
> > |
59 |
> > It is still possible to upgrade, if you follow these simple steps: |
60 |
> |
61 |
> I'd: s/if you follow/following/ (less to read, less conditional) |
62 |
> but it's not an error of any sort. |
63 |
> |
64 |
> > 1.) Do not panic. |
65 |
> |
66 |
> Heh I like :) |
67 |
> |
68 |
> > 2.) Download a portage snapshot from |
69 |
> > http://dev.gentoo.org/~zerochaos/snapshots |
70 |
> > 3.) Unpack the snapshot to /tmp/ |
71 |
> |
72 |
|
73 |
I'd honestly just write this in a script and give it to the users. There |
74 |
are problems with it like: |
75 |
|
76 |
When to use root. |
77 |
Unpacking stuff in /tmp is difficult to do safely due to rampant symlink |
78 |
attacks. |
79 |
The URL to download may change. |
80 |
Finding the correct portdir (might not be /usr/portage.) |
81 |
|
82 |
-A |
83 |
|
84 |
|
85 |
> > 4.) If you are not already, become root |
86 |
> > 5.) rsync --recursive --links --safe-links --perms --times --force |
87 |
> > - --whole-file --delete --stats --human-readable --exclude=/distfiles |
88 |
> > - --exclude=/local --exclude=/packages --verbose --progress |
89 |
> > - --omit-dir-times /tmp/portage /usr/portage |
90 |
> > 6.) If needed, set your profile to a modern one (typically named 13.0) |
91 |
> > 7.) emerge --update --oneshot portage |
92 |
> |
93 |
> |
94 |
> > Now that you have a modern copy of portage, you can go back to updating |
95 |
> > your system as usual. |
96 |
> > Please update your system at LEAST twice a year to avoid issues like |
97 |
> > this in the future. |
98 |
> > Thanks for flying Gentoo. |
99 |
> |
100 |
> Now I see why you were asking about default rsync in #-portage :) |
101 |
> |
102 |
> Very nice, and thanks for doing this. |
103 |
> |
104 |
> Regards, |
105 |
> igli |
106 |
> -- |
107 |
> #friendly-coders -- We're friendly, but we're not /that/ friendly ;-) |
108 |
> |
109 |
> |