diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2009-01-17 22:53:15 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2009-01-17 22:53:15 +0000 |
commit | ed614b1eb7aa86ed49a710a56994c9f281e28b50 (patch) | |
tree | e4125100093a30628941902c0ba484d7bbff165a /sys-fs/lvm2 | |
parent | Minor fix for bug #255237. (diff) | |
download | gentoo-2-ed614b1eb7aa86ed49a710a56994c9f281e28b50.tar.gz gentoo-2-ed614b1eb7aa86ed49a710a56994c9f281e28b50.tar.bz2 gentoo-2-ed614b1eb7aa86ed49a710a56994c9f281e28b50.zip |
Stop using /lib/librc.so to detect openrc/baselayout2, and use a file installed by new openrc instead, fixes bug #253076.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28-05718-g0556e82 x86_64, RepoMan options: --force)
Diffstat (limited to 'sys-fs/lvm2')
-rw-r--r-- | sys-fs/lvm2/ChangeLog | 7 | ||||
-rw-r--r-- | sys-fs/lvm2/files/lvm.rc-2.02.28-r2 | 6 |
2 files changed, 9 insertions, 4 deletions
diff --git a/sys-fs/lvm2/ChangeLog b/sys-fs/lvm2/ChangeLog index 01e42fbac105..9cb56a512e8c 100644 --- a/sys-fs/lvm2/ChangeLog +++ b/sys-fs/lvm2/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-fs/lvm2 # Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.150 2009/01/17 22:44:20 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.151 2009/01/17 22:53:14 robbat2 Exp $ + + 17 Jan 2009; Robin H. Johnson <robbat2@gentoo.org> + files/lvm.rc-2.02.28-r2: + Stop using /lib/librc.so to detect openrc/baselayout2, and use a file + installed by new openrc instead, fixes bug #253076. 17 Jan 2009; Robin H. Johnson <robbat2@gentoo.org> files/lvm.rc-2.02.28-r2: diff --git a/sys-fs/lvm2/files/lvm.rc-2.02.28-r2 b/sys-fs/lvm2/files/lvm.rc-2.02.28-r2 index 2b9a71606d78..0d17437b245f 100644 --- a/sys-fs/lvm2/files/lvm.rc-2.02.28-r2 +++ b/sys-fs/lvm2/files/lvm.rc-2.02.28-r2 @@ -1,10 +1,10 @@ #!/sbin/runscript # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/files/lvm.rc-2.02.28-r2,v 1.3 2009/01/17 22:44:20 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/files/lvm.rc-2.02.28-r2,v 1.4 2009/01/17 22:53:15 robbat2 Exp $ depend() { - if [ -e /lib/librc.so ]; then + if [ -f /etc/init.d/sysfs ]; then # on baselayout-1 this causes # dependency-cycles with checkroot (before *) before checkfs fsck @@ -13,7 +13,7 @@ depend() { } start() { - if [ ! -e /lib/librc.so ]; then + if [ ! -f /etc/init.d/sysfs ]; then eerror "The $SVCNAME init-script is written for baselayout-2!" eerror "Please do not use it with baselayout-1!". return 1 |