summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Piotr Żołnowski <aidecoe@gentoo.org>2012-02-18 14:42:44 +0000
committerAmadeusz Piotr Żołnowski <aidecoe@gentoo.org>2012-02-18 14:42:44 +0000
commit4bcd5b3142819d7ec30baaa968374fba9a3950dd (patch)
tree3a1f1d4c4ea3015948c45a4ac3ad274319cc04da /sys-kernel/dracut
parentppc stable #396359 (diff)
downloadgentoo-2-4bcd5b3142819d7ec30baaa968374fba9a3950dd.tar.gz
gentoo-2-4bcd5b3142819d7ec30baaa968374fba9a3950dd.tar.bz2
gentoo-2-4bcd5b3142819d7ec30baaa968374fba9a3950dd.zip
sys-kernel/dracut-016: Renamed 'dm' flag to 'device-mapper'.
(Portage version: 2.1.10.46/cvs/Linux x86_64)
Diffstat (limited to 'sys-kernel/dracut')
-rw-r--r--sys-kernel/dracut/ChangeLog7
-rw-r--r--sys-kernel/dracut/dracut-016.ebuild10
-rw-r--r--sys-kernel/dracut/metadata.xml5
3 files changed, 14 insertions, 8 deletions
diff --git a/sys-kernel/dracut/ChangeLog b/sys-kernel/dracut/ChangeLog
index 88b04a8c4c8b..df2bfdb187d2 100644
--- a/sys-kernel/dracut/ChangeLog
+++ b/sys-kernel/dracut/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-kernel/dracut
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/ChangeLog,v 1.46 2012/02/16 18:01:27 aidecoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/ChangeLog,v 1.47 2012/02/18 14:42:44 aidecoe Exp $
+
+ 18 Feb 2012; Amadeusz Żołnowski <aidecoe@gentoo.org> dracut-016.ebuild,
+ metadata.xml:
+ Renamed 'dm' flag to 'device-mapper', because the later is used also by lilo,
+ grub and parted.
16 Feb 2012; Amadeusz Żołnowski <aidecoe@gentoo.org> dracut-010-r3.ebuild,
dracut-013-r2.ebuild, dracut-014-r2.ebuild, dracut-016.ebuild:
diff --git a/sys-kernel/dracut/dracut-016.ebuild b/sys-kernel/dracut/dracut-016.ebuild
index 03ef3a4c2d5b..ae4784844943 100644
--- a/sys-kernel/dracut/dracut-016.ebuild
+++ b/sys-kernel/dracut/dracut-016.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/dracut-016.ebuild,v 1.3 2012/02/16 18:01:27 aidecoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/dracut-016.ebuild,v 1.4 2012/02/18 14:42:44 aidecoe Exp $
EAPI=4
@@ -51,10 +51,10 @@ NETWORK_MODULES="
dracut_modules_nfs
dracut_modules_ssh-client
"
-add_req_use_for dm ${DM_MODULES}
+add_req_use_for device-mapper ${DM_MODULES}
add_req_use_for net ${NETWORK_MODULES}
IUSE_DRACUT_MODULES="${COMMON_MODULES} ${DM_MODULES} ${NETWORK_MODULES}"
-IUSE="debug dm net selinux ${IUSE_DRACUT_MODULES}"
+IUSE="debug device-mapper net selinux ${IUSE_DRACUT_MODULES}"
RESTRICT="test"
@@ -69,7 +69,7 @@ RDEPEND="
virtual/modutils
debug? ( dev-util/strace )
- dm? ( || ( sys-fs/device-mapper >=sys-fs/lvm2-2.02.33 ) )
+ device-mapper? ( || ( sys-fs/device-mapper >=sys-fs/lvm2-2.02.33 ) )
net? ( net-misc/curl >=net-misc/dhcp-4.2.1-r1 sys-apps/iproute2 )
selinux? ( sys-libs/libselinux sys-libs/libsepol )
dracut_modules_biosdevname? ( sys-apps/biosdevname )
@@ -195,7 +195,7 @@ src_install() {
# Following flags define set of helper modules which are base dependencies
# for others and as so have no practical use, so remove these modules.
- use dm || rm_module 90dm
+ use device-mapper || rm_module 90dm
use net || rm_module 40network 45ifcfg 45url-lib
# Remove S/390 modules which are not tested at all
diff --git a/sys-kernel/dracut/metadata.xml b/sys-kernel/dracut/metadata.xml
index 621a2bc0b9b3..c67c4312eaa5 100644
--- a/sys-kernel/dracut/metadata.xml
+++ b/sys-kernel/dracut/metadata.xml
@@ -12,8 +12,9 @@
<use>
<flag name="debug">Module installing additional tools like strace, file
editor, ssh and more</flag>
- <flag name="dm">Set of helper modules providing support for device
- mapper. You need to enable this only if emerge says so.</flag>
+ <flag name="device-mapper">Set of helper modules providing support for
+ device mapper. You need to enable this only if emerge says
+ so.</flag>
<flag name="net">Set of helper modules providing networking support. You
need to enable this only if emerge says so.</flag>
</use>