Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/openrc: openrc-9999.ebuild
Date: Tue, 25 Mar 2008 00:13:19
Message-Id: E1Jdwmy-0006YA-EY@stork.gentoo.org
1 vapier 08/03/25 00:13:16
2
3 Modified: openrc-9999.ebuild
4 Log:
5 get the list of services from the default boot runlevel rather than maintaining it in the ebuild
6 (Portage version: 2.2_pre5)
7
8 Revision Changes Path
9 1.7 sys-apps/openrc/openrc-9999.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild?rev=1.7&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild?rev=1.7&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild?r1=1.6&r2=1.7
14
15 Index: openrc-9999.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v
18 retrieving revision 1.6
19 retrieving revision 1.7
20 diff -u -r1.6 -r1.7
21 --- openrc-9999.ebuild 25 Mar 2008 00:07:54 -0000 1.6
22 +++ openrc-9999.ebuild 25 Mar 2008 00:13:15 -0000 1.7
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2008 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.6 2008/03/25 00:07:54 vapier Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.7 2008/03/25 00:13:15 vapier Exp $
28
29 inherit eutils flag-o-matic multilib toolchain-funcs
30
31 @@ -85,6 +85,7 @@
32 # in the ass by accident
33 [[ -e ${ROOT}/etc/conf.d/net ]] && rm -f "${D}"/etc/conf.d/net
34
35 + # everything below here is migration
36 has_version sys-apps/openrc && return 0
37
38 # upgrade timezone file
39 @@ -95,13 +96,11 @@
40 )
41 fi
42
43 - # baselayout bootmisc init script has been split out in OpenRC
44 - # so handle upgraders
45 - local x= xtra=
46 - use kernel_linux && xtra="${xtra} mtab procfs sysctl"
47 - use kernel_FreeBSD && xtra="${xtra} dumpon savecore"
48 - for x in fsck root swap ${xtra} ; do
49 + # baselayout boot init scripts have been split out
50 + local x
51 + for x in $(cd "${D}"/usr/share/${PN}/runlevels/boot || exit; echo *) ; do
52 [[ -e ${ROOT}/etc/runlevels/boot/${x} ]] && continue
53 + elog "Auto-adding '${x}' service to your boot runlevel"
54 ln -snf /etc/init.d/${x} "${ROOT}"/etc/runlevels/boot/${x}
55 done
56
57
58
59
60 --
61 gentoo-commits@l.g.o mailing list