summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2007-05-09 16:53:11 +0000
committerDoug Goldstein <cardoe@gentoo.org>2007-05-09 16:53:11 +0000
commitd50ce6526210c764b891c5f8e2bdca16bddea4c8 (patch)
tree49f8c6cfbc5b7d78672608865cb99f64cb155cb6 /sys-fs
parent Update valgrind dependency, bug #158066. (diff)
downloadgentoo-2-d50ce6526210c764b891c5f8e2bdca16bddea4c8.tar.gz
gentoo-2-d50ce6526210c764b891c5f8e2bdca16bddea4c8.tar.bz2
gentoo-2-d50ce6526210c764b891c5f8e2bdca16bddea4c8.zip
Fix depend loop with checkroot for baselayout-1
(Portage version: 2.1.2.7)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/device-mapper/ChangeLog5
-rw-r--r--sys-fs/device-mapper/files/device-mapper.rc8
2 files changed, 10 insertions, 3 deletions
diff --git a/sys-fs/device-mapper/ChangeLog b/sys-fs/device-mapper/ChangeLog
index 3a5ff8dc4ced..028c5a75f615 100644
--- a/sys-fs/device-mapper/ChangeLog
+++ b/sys-fs/device-mapper/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-fs/device-mapper
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/ChangeLog,v 1.58 2007/04/30 14:21:11 dsd Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/ChangeLog,v 1.59 2007/05/09 16:53:11 cardoe Exp $
+
+ 09 May 2007; Doug Goldstein <cardoe@gentoo.org> files/device-mapper.rc:
+ Fix depend loop with checkroot for baselayout-1
*device-mapper-1.02.18-r1 (30 Apr 2007)
diff --git a/sys-fs/device-mapper/files/device-mapper.rc b/sys-fs/device-mapper/files/device-mapper.rc
index fa08982aca8a..7c8a94002f28 100644
--- a/sys-fs/device-mapper/files/device-mapper.rc
+++ b/sys-fs/device-mapper/files/device-mapper.rc
@@ -1,10 +1,14 @@
#!/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/device-mapper/files/device-mapper.rc,v 1.1 2007/04/30 14:21:11 dsd Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/files/device-mapper.rc,v 1.2 2007/05/09 16:53:11 cardoe Exp $
depend() {
- before checkroot
+ if [ -e /lib/librc.so ]; then
+ # on baselayout-1 this causes
+ # a dependency loop with checkroot (before *)
+ before checkroot
+ fi
}
start() {