Lines 26-32
HOMEPAGE="http://zfsonlinux.org/"
Link Here
|
26 |
|
26 |
|
27 |
LICENSE="BSD-2 CDDL MIT" |
27 |
LICENSE="BSD-2 CDDL MIT" |
28 |
SLOT="0" |
28 |
SLOT="0" |
29 |
IUSE="bash-completion custom-cflags kernel-builtin +rootfs selinux test-suite static-libs" |
29 |
IUSE="bash-completion custom-cflags dracut kernel-builtin +rootfs selinux test-suite static-libs" |
30 |
RESTRICT="test" |
30 |
RESTRICT="test" |
31 |
|
31 |
|
32 |
COMMON_DEPEND=" |
32 |
COMMON_DEPEND=" |
Lines 58-63
RDEPEND="${COMMON_DEPEND}
Link Here
|
58 |
app-misc/pax-utils |
58 |
app-misc/pax-utils |
59 |
!<sys-boot/grub-2.00-r2:2 |
59 |
!<sys-boot/grub-2.00-r2:2 |
60 |
) |
60 |
) |
|
|
61 |
dracut? ( sys-kernel/dracut ) |
61 |
" |
62 |
" |
62 |
|
63 |
|
63 |
pkg_setup() { |
64 |
pkg_setup() { |
Lines 116-122
src_configure() {
Link Here
|
116 |
src_install() { |
117 |
src_install() { |
117 |
autotools-utils_src_install |
118 |
autotools-utils_src_install |
118 |
gen_usr_ldscript -a uutil nvpair zpool zfs |
119 |
gen_usr_ldscript -a uutil nvpair zpool zfs |
119 |
rm -rf "${ED}usr/lib/dracut" |
120 |
use dracut || rm -rf "${ED}usr/lib/dracut" |
120 |
use test-suite || rm -rf "${ED}usr/share/zfs" |
121 |
use test-suite || rm -rf "${ED}usr/share/zfs" |
121 |
|
122 |
|
122 |
use bash-completion && newbashcomp "${FILESDIR}/bash-completion" zfs |
123 |
use bash-completion && newbashcomp "${FILESDIR}/bash-completion" zfs |