summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
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() {