diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-09-12 12:44:22 +0200 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-09-12 12:44:22 +0200 |
commit | 73bd238b6c68a51240c8d3ff941f12959c95f36e (patch) | |
tree | 1bcfd18ba86db1cd8c02f18a329d2232ea6c6a3f /sys-kernel | |
parent | net-misc/netctl: Use optfeature from eutils.eclass (diff) | |
download | gentoo-73bd238b6c68a51240c8d3ff941f12959c95f36e.tar.gz gentoo-73bd238b6c68a51240c8d3ff941f12959c95f36e.tar.bz2 gentoo-73bd238b6c68a51240c8d3ff941f12959c95f36e.zip |
sys-kernel/dracut: Use optfeature from eutils.eclass
Package-Manager: portage-2.2.20
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/dracut/dracut-040-r3.ebuild | 18 | ||||
-rw-r--r-- | sys-kernel/dracut/dracut-041-r3.ebuild | 18 | ||||
-rw-r--r-- | sys-kernel/dracut/dracut-043-r2.ebuild | 18 | ||||
-rw-r--r-- | sys-kernel/dracut/metadata.xml | 1 |
4 files changed, 0 insertions, 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. </longdescription> </pkgmetadata> - |