Gentoo Archives: gentoo-dev

From: Donny Davies <woodchip@g.o>
To: gentoo-dev@××××××××××.org
Subject: [gentoo-dev] alsa-utils ebuild typo ? / rc5 and rc6 inits update
Date: Thu, 06 Sep 2001 16:15:17
Message-Id: 20010906221453.DXLN4276.femail33.sdc1.sfba.home.com@there
1 > Hi,
2 >
3 > I just emerged alsa-utils-0.5.10.ebuild and got an error in the
4 > pkg_postinst() function.
5 > This is related to rc-update. Can this be modified ?
6
7 For the time being, i have just commented out the pkg_postinst()
8 function, until I make this package fully support rc5 and rc6.
9 So you can merge it again if you wish...
10
11 Now an update on the rc5/rc6 situation. I am in the process of
12 making packages that have initscripts, support both rc5 and rc6
13 style inits. The new rc6 init system, is *very* cool, and *very*
14 fast. It is a testament to our fearless leader drobbins's prowess.
15 It has dependencies, and a very simple design philosophy. Trust
16 me when I say it will be worth the pain in this "transitional" period.
17 We just dont want to leave rc5 people out in the cold, which is
18 why we're not doing a straight cutover, but instead a gradual
19 migration.
20
21 If I had to make a guess, I would imagine that the rest of the
22 conversions will be done in less than a week. Even though
23 the changes are relatively small, I am a strong believer in
24 thorough testing, so this is why i havn't just spammed in all
25 the changes to the tree.. I am making sure things work first.
26 Working at large corporations where nothing can be rolled
27 out without a pilot test period will do this to you.. hehe. :-)
28
29 Lastly, note that I have mostly adopted a system to this
30 conversion process.. For a package which has rc5 and
31 rc6 support, I am naming the ebuilds themselves as so:
32 apache-1.3.20-r6.ebuild <- this is for rc6
33 apache-1.3.20-r1.ebuild <- this is for rc5
34 Basically, if there is an -r6 version, its probably for rc6
35 systems.
36
37 *However*, please also note, that you need not really concern
38 yourself with this, because portage will take care of this for you.
39 Your /etc/make.profile softlink, should point to either the rc5
40 profile or the rc6 profile, depending on what gentoo version
41 you're running. So if you have the rc6 softlink, and you say
42 'emerge net-www/apache', then portage knows that it must
43 not install the -r1 version for you, it will install the -r6 version.
44 This is all made possible by a new 'package inclusion mask'
45 system that was implemented recently by drobbins and chadh.
46
47 Hope that clears up a few things.
48
49 Cheers
50
51 --
52 Donny (woodchip)