From: Justin Lecher Date: Sat, 12 Sep 2015 10:44:22 +0000 (+0200) Subject: sys-kernel/dracut: Use optfeature from eutils.eclass X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=73bd238b6c68a51240c8d3ff941f12959c95f36e;p=gentoo.git sys-kernel/dracut: Use optfeature from eutils.eclass Package-Manager: portage-2.2.20 Signed-off-by: Justin Lecher --- diff --git a/sys-kernel/dracut/dracut-040-r3.ebuild b/sys-kernel/dracut/dracut-040-r3.ebuild index 1e44af453501..cc3554d189b0 100644 --- a/sys-kernel/dracut/dracut-040-r3.ebuild +++ b/sys-kernel/dracut/dracut-040-r3.ebuild @@ -77,24 +77,6 @@ rm_module() { done } -# Grabbed from net-misc/netctl ebuild. -optfeature() { - local desc=$1 - shift - while (( $# )); do - if has_version "$1"; then - elog " [I] $1 to ${desc}" - else - elog " [ ] $1 to ${desc}" - fi - shift - done -} - -# -# ebuild functions -# - src_prepare() { epatch "${PATCHES[@]}" diff --git a/sys-kernel/dracut/dracut-041-r3.ebuild b/sys-kernel/dracut/dracut-041-r3.ebuild index 46660cfa185b..9c8e7d6f940d 100644 --- a/sys-kernel/dracut/dracut-041-r3.ebuild +++ b/sys-kernel/dracut/dracut-041-r3.ebuild @@ -80,24 +80,6 @@ rm_module() { done } -# Grabbed from net-misc/netctl ebuild. -optfeature() { - local desc=$1 - shift - while (( $# )); do - if has_version "$1"; then - elog " [I] $1 to ${desc}" - else - elog " [ ] $1 to ${desc}" - fi - shift - done -} - -# -# ebuild functions -# - src_prepare() { epatch "${PATCHES[@]}" diff --git a/sys-kernel/dracut/dracut-043-r2.ebuild b/sys-kernel/dracut/dracut-043-r2.ebuild index 9bb3d165ff3f..2a65cf6abd07 100644 --- a/sys-kernel/dracut/dracut-043-r2.ebuild +++ b/sys-kernel/dracut/dracut-043-r2.ebuild @@ -79,24 +79,6 @@ rm_module() { done } -# Grabbed from net-misc/netctl ebuild. -optfeature() { - local desc=$1 - shift - while (( $# )); do - if has_version "$1"; then - elog " [I] $1 to ${desc}" - else - elog " [ ] $1 to ${desc}" - fi - shift - done -} - -# -# ebuild functions -# - src_prepare() { epatch "${PATCHES[@]}" diff --git a/sys-kernel/dracut/metadata.xml b/sys-kernel/dracut/metadata.xml index d95852636990..d4f4342f0ca0 100644 --- a/sys-kernel/dracut/metadata.xml +++ b/sys-kernel/dracut/metadata.xml @@ -32,4 +32,3 @@ distributions. -