Gentoo Archives: gentoo-user

From: Bruce Hill <daddy@×××××××××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OpenRC update to 0.11.5 - safe if using older udev (pinned to udev-181)?
Date: Tue, 20 Nov 2012 21:45:26
Message-Id: 20121120214344.GB26635@server
In Reply to: Re: [gentoo-user] OpenRC update to 0.11.5 - safe if using older udev (pinned to udev-181)? by Tanstaafl
1 On Tue, Nov 20, 2012 at 02:17:17PM -0500, Tanstaafl wrote:
2 >
3 > RDEPEND="virtual/init
4 > kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-ubin-9.0_rc
5 > sys-process/fuser-bsd ) )
6 > elibc_glibc? ( >=sys-libs/glibc-2.5 )
7 > ncurses? ( sys-libs/ncurses )
8 > pam? ( sys-auth/pambase )
9 > >=sys-apps/baselayout-2.1-r1
10 > kernel_linux? (
11 > sys-process/psmisc
12 > )
13 > !<sys-fs/udev-133"
14 >
15 > So, *maybe* the last line means it needs a udev not less than 133 - but
16 > I don't know enough about how ebuilds to work to risk an unbootable
17 > system if it doesn't mean what I think it means.
18 >
19 > Sorry, I'm not a programmer and don't know what to look for (or even
20 > where to look until you pointed me to the file), so how about just a
21 > simple answer?
22
23 You are correct in that it requires !<sys-fs/udev-133, where ! means "not" and
24 < means "less than", so "not less than sys-fs/udev-133". The lowest version in
25 portage atm is 141-r1, so unless you had an extremely old udev and masked it,
26 you won't have trouble there.
27
28 If you continue to read the ebuild, using less as someone suggested, use the
29 slash (/) which searches, such as /openrc and /udev to read what the ebuild
30 will do. That ebuild is an awk script which is going to execute the commands
31 as you see them. This section, for instance:
32
33 # >=OpenRC-0.11.3 requires udev-mount to be in the sysinit runlevel with udev.
34 migrate_udev_mount_script() {
35 if [ -e "${EROOT}"etc/runlevels/sysinit/udev -a \
36 ! -e "${EROOT}"etc/runlevels/sysinit/udev-mount ]; then
37 add_boot_init udev-mount sysinit
38 fi
39 return 0
40 }
41
42 Since sys-apps/openrc-0.11.5 is still ~arch (where arch is architecture, such
43 as x86, amd64; and ~ means unstable), you might find bugs. It has been
44 submittied for stable request https://bugs.gentoo.org/show_bug.cgi?id=435756
45 but not yet approved as stable.
46
47 Do you mind asking why you want to use unstable openrc? Is there some feature
48 you need?
49 --
50 Happy Penguin Computers >')
51 126 Fenco Drive ( \
52 Tupelo, MS 38801 ^^
53 support@×××××××××××××××××××××.com
54 662-269-2706 662-205-6424
55 http://happypenguincomputers.com/
56
57 Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting