summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2013-10-19 03:09:27 +0400
committerAlexey Shvetsov <alexxy@gentoo.org>2013-10-19 03:09:27 +0400
commit0d7bd18d216018d44ae192ec85cbb11311ecae48 (patch)
tree4f695ad770093e3d94ebcd2b3041222ad03dfa94
parentMake utils installable in /sbin (diff)
downloadalexxy-0d7bd18d216018d44ae192ec85cbb11311ecae48.tar.gz
alexxy-0d7bd18d216018d44ae192ec85cbb11311ecae48.tar.bz2
alexxy-0d7bd18d216018d44ae192ec85cbb11311ecae48.zip
Fix dracut deps
Package-Manager: portage-2.2.7
-rw-r--r--sys-block/flashcache/flashcache-9999.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-block/flashcache/flashcache-9999.ebuild b/sys-block/flashcache/flashcache-9999.ebuild
index 56b2048..043fc0d 100644
--- a/sys-block/flashcache/flashcache-9999.ebuild
+++ b/sys-block/flashcache/flashcache-9999.ebuild
@@ -16,7 +16,9 @@ KEYWORDS="~amd64 ~x86"
IUSE="dracut"
DEPEND="virtual/linux-sources"
-RDEPEND=""
+RDEPEND="
+ dracut? ( sys-kernel/dracut )
+"
CONFIG_CHECK="BLK_DEV_DM"
@@ -34,7 +36,7 @@ src_install() {
cd "${S}/src/utils"
DESTTREE=/ dosbin flashcache_create flashcache_destroy flashcache_load || die
if use dracut; then
- cd src/dracut-flashcache-0.3
+ cd "${S}/src/dracut-flashcache-0.3"
insinto /usr/lib/dracut/modules.d
doins -r 90flashcache
DESTTREE=/ dosbin fc_scan