From 73bd238b6c68a51240c8d3ff941f12959c95f36e Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sat, 12 Sep 2015 12:44:22 +0200 Subject: [PATCH] sys-kernel/dracut: Use optfeature from eutils.eclass Package-Manager: portage-2.2.20 Signed-off-by: Justin Lecher --- sys-kernel/dracut/dracut-040-r3.ebuild | 18 ------------------ sys-kernel/dracut/dracut-041-r3.ebuild | 18 ------------------ sys-kernel/dracut/dracut-043-r2.ebuild | 18 ------------------ sys-kernel/dracut/metadata.xml | 1 - 4 files changed, 55 deletions(-) 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. - -- 2.26.2