summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/util-linux/ChangeLog7
-rwxr-xr-xsys-apps/util-linux/files/crypto-loop.initd11
2 files changed, 14 insertions, 4 deletions
diff --git a/sys-apps/util-linux/ChangeLog b/sys-apps/util-linux/ChangeLog
index 7662e657528a..4353204d1af5 100644
--- a/sys-apps/util-linux/ChangeLog
+++ b/sys-apps/util-linux/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/util-linux
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.223 2008/01/20 11:54:06 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.224 2008/02/01 12:36:43 flameeyes Exp $
+
+ 01 Feb 2008; Diego Pettenò <flameeyes@gentoo.org>
+ files/crypto-loop.initd:
+ Update init script to work with current development version of OpenRC
+ (checkroot -> root; checkfs -> fsck).
20 Jan 2008; Mike Frysinger <vapier@gentoo.org>
util-linux-2.13.0.1.ebuild, util-linux-2.13.1.ebuild:
diff --git a/sys-apps/util-linux/files/crypto-loop.initd b/sys-apps/util-linux/files/crypto-loop.initd
index 21e0ef9525b0..2886982d3149 100755
--- a/sys-apps/util-linux/files/crypto-loop.initd
+++ b/sys-apps/util-linux/files/crypto-loop.initd
@@ -1,11 +1,16 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/files/crypto-loop.initd,v 1.2 2007/10/05 23:26:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/files/crypto-loop.initd,v 1.3 2008/02/01 12:36:44 flameeyes Exp $
depend() {
- need checkroot modules
- before localmount
+ if [ -x /etc/init.d/root ]; then
+ need root
+ else
+ need checkroot
+ fi
+ need modules
+ before localmount
}
start() {