1 |
Like I said before, I highly recommend you just use the latest profile |
2 |
for the sparc it will give you a 2.6 kernel and such. I don't know the |
3 |
reasons why you still need a 2.4 kernel, but if you do still need it |
4 |
here is how I would go about setting up a overlay for an older profile. |
5 |
|
6 |
with an overlay, an emerge --sync doesn't wipe out the profiles or |
7 |
packages so it remains in a static state. |
8 |
|
9 |
I also highly recommend you read the documentation for creating and |
10 |
managing ebuilds. Chances are you will need to do "ebuild |
11 |
filename.ebuild digest" and some other things when doing this method. |
12 |
|
13 |
I also for warn that this is probably not a desirable method, but if you |
14 |
really want to keep your system in a old profile that isn't maintained |
15 |
it is about the only way to do so. |
16 |
|
17 |
Well if you are looking to preserve an older profile like the recently |
18 |
removed 2006.0 profile, you have to get a portage snapshot of a 2006.0 |
19 |
profile. |
20 |
|
21 |
Most of the mirrors have removed the 2006.0 profile, but some haven't |
22 |
yet. A good example would be |
23 |
|
24 |
|
25 |
http://gentoo.mirrors.tds.net/gentoo/releases/snapshots/2006.0/portage-20060123.tar.bz2 |
26 |
|
27 |
Download that portage snapshot and perform the following commands |
28 |
|
29 |
cd /usr/local |
30 |
mkdir portage |
31 |
mv /dir-to-downloaded-snapshot/portage-20060123.tar.bz2 . |
32 |
tar xjf portage-20060123.tar.bz2 |
33 |
|
34 |
this will create a portage structure in /usr/local/portage what gentoo |
35 |
calls a portage overlay. |
36 |
|
37 |
Then echo PORTDIR_OVERLAY="/usr/local/portage" >> /etc/make.conf |
38 |
|
39 |
This will tell portage to recognize the overlay when using emerge and |
40 |
stuff. |
41 |
|
42 |
Then create a symlink to the 2006.0 profile in the |
43 |
/usr/local/portage/profiles directory instead of the regular |
44 |
/usr/portage/profiles |
45 |
|
46 |
So it would be like this |
47 |
|
48 |
rm /etc/make.profile |
49 |
ln -s /usr/local/portage/profiles/<path to profile> /etc/make.profile |
50 |
|
51 |
The only draw back is when you try to emerge certain apps that have been |
52 |
completely removed form the current portage distfiles you'll have to |
53 |
find the file else where and place it in the distfiles your self. This |
54 |
is common for patches and such. Most of the time the ebuild has various |
55 |
locations to retrieve the file, and you will have to cross your fingers |
56 |
and hope it is in one of the locations. =) |
57 |
|
58 |
I recommend scouring the gentoo SVN and looking at all ebuild files |
59 |
including the deleted ones and downloading the required patches by hand |
60 |
found in the "files" directory of the application package you are |
61 |
wanting. You will need to do this if an ebuild is unmaintained, like in |
62 |
the instance of openMosix |
63 |
|
64 |
In writing this i noticed that the sparc32 2006.1 profile has a 2.4 |
65 |
kernel profile. So you should be good to go at least until next year |
66 |
probably. Make sure you /etc/make.profile is linked to that profile |
67 |
first and if it is not then you might resolve a lot of problems by doing |
68 |
that. |
69 |
|
70 |
A lot of people do this on a per application basis. Like my self. I |
71 |
basically just do this for openMosix and delete all the other data out |
72 |
of the portage overlay except the openMosix stuff and the profile. |
73 |
|
74 |
Aggelos wrote: |
75 |
> on 09/17/2007 10:12 PM Dereck Martin wrote the following: |
76 |
>> I have been running gentoo on a sparc64 since 2004.0 or 2005.0 release. |
77 |
>> I know it isn't sparc32, but unless you have some dire need to run a |
78 |
>> 2.4 kernel I would suggest running a 2.6 kernel. |
79 |
> |
80 |
> Please see my reply to Brant Williams' post. |
81 |
> |
82 |
> Beside that its |
83 |
>> getting increasingly difficult to install gentoo under a 2.4 profile. |
84 |
>> |
85 |
>> I think we all sometimes forget gentoo is a progressive linux and is |
86 |
>> always changing. Because of this it is only backward compatible to a |
87 |
>> short period of time in the past, like a year. Unlike the other |
88 |
>> distributions (red hat/SuSe, etc) where you can install older versions |
89 |
>> this distribution sorta requires you to stay somewhat current with the |
90 |
>> times. =) |
91 |
> |
92 |
> I'm experiencing it first hand ;) |
93 |
> |
94 |
>> Not saying it is impossible. For instance I run a few machines in 2.4 |
95 |
>> profile because I use them for an OpenMosix cluster. That has been |
96 |
>> removed from portage for months now, but I can still install it because |
97 |
>> I copied the 2006.0 profile and all the required files to a portage |
98 |
>> overlay directory so I could still use it even when gentoo stopped |
99 |
>> supporting it. You may have to do this same technique in order to use |
100 |
>> your 2.4 kernel and stuff, |
101 |
> |
102 |
> Good idea. ;) |
103 |
> How should I proceed? I guess it must me quite simple but, I would |
104 |
> appreciate your help. |
105 |
> |
106 |
> Aggelos. |
107 |
-- |
108 |
gentoo-sparc@g.o mailing list |