summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2013-10-19 03:05:45 +0400
committerAlexey Shvetsov <alexxy@gentoo.org>2013-10-19 03:05:45 +0400
commit5089ffaf2463ed516d2fad8cca13b51cdef7792b (patch)
treeaa1cfc79191c1c74a996a302edc31d0a609ec172
parentFix ebuild (diff)
downloadalexxy-5089ffaf2463ed516d2fad8cca13b51cdef7792b.tar.gz
alexxy-5089ffaf2463ed516d2fad8cca13b51cdef7792b.tar.bz2
alexxy-5089ffaf2463ed516d2fad8cca13b51cdef7792b.zip
Make utils installable in /sbin
Package-Manager: portage-2.2.7
-rw-r--r--sys-block/flashcache/flashcache-9999.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-block/flashcache/flashcache-9999.ebuild b/sys-block/flashcache/flashcache-9999.ebuild
index bbb78a3..56b2048 100644
--- a/sys-block/flashcache/flashcache-9999.ebuild
+++ b/sys-block/flashcache/flashcache-9999.ebuild
@@ -30,14 +30,14 @@ src_compile() {
src_install() {
linux-mod_src_install
-
+ dodoc README doc/* || die
cd "${S}/src/utils"
- dosbin flashcache_create flashcache_destroy flashcache_load || die
+ DESTTREE=/ dosbin flashcache_create flashcache_destroy flashcache_load || die
if use dracut; then
cd src/dracut-flashcache-0.3
insinto /usr/lib/dracut/modules.d
doins -r 90flashcache
- dosbin fc_scan
+ DESTTREE=/ dosbin fc_scan
udev_dorules 10-flashcache.rules
fi
}