summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/dracut/dracut-024-r4.ebuild')
-rw-r--r--sys-kernel/dracut/dracut-024-r4.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys-kernel/dracut/dracut-024-r4.ebuild b/sys-kernel/dracut/dracut-024-r4.ebuild
index edb3249ebfcd..8270f2bd8e4d 100644
--- a/sys-kernel/dracut/dracut-024-r4.ebuild
+++ b/sys-kernel/dracut/dracut-024-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/dracut-024-r4.ebuild,v 1.1 2013/01/07 18:37:42 aidecoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/dracut-024-r4.ebuild,v 1.2 2013/01/27 13:49:33 aidecoe Exp $
EAPI=4
@@ -270,4 +270,14 @@ pkg_postinst() {
ewarn " CONFIG_MODULES"
ewarn ""
fi
+
+ if use dracut_modules_crypt || use dracut_modules_dmraid || use \
+ dracut_modules_mdraid || use dracut_modules_lvm; then
+
+ if ! [[ $(</proc/cmdline) =~ rd.auto[\ =] ]]; then
+ ewarn "Autoassembly of special devices like cryptoLUKS, dmraid, "
+ ewarn "mdraid or lvm is off for default as of >=dracut-024."
+ ewarn "Use rd.auto option to turn it on."
+ fi
+ fi
}