diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2019-10-14 16:13:37 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-10-14 16:52:53 +0200 |
commit | 7a0083f1f3ce2e4c1629776e97f9189465254713 (patch) | |
tree | b1b678bc263c0eadb0deee6635dbb1c0fca49ac0 /gkbuilds | |
parent | linuxrc: Don't advertise multipath usage (diff) | |
download | genkernel-7a0083f1f3ce2e4c1629776e97f9189465254713.tar.gz genkernel-7a0083f1f3ce2e4c1629776e97f9189465254713.tar.bz2 genkernel-7a0083f1f3ce2e4c1629776e97f9189465254713.zip |
open-iscsi bumped to v2.0.878v4.0.0_beta20
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gkbuilds')
-rw-r--r-- | gkbuilds/kmod.gkbuild | 30 | ||||
-rw-r--r-- | gkbuilds/open-iscsi.gkbuild | 4 |
2 files changed, 34 insertions, 0 deletions
diff --git a/gkbuilds/kmod.gkbuild b/gkbuilds/kmod.gkbuild new file mode 100644 index 0000000..6bdc0c4 --- /dev/null +++ b/gkbuilds/kmod.gkbuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +src_prepare() { + default + + sed -i \ + -e '/--enable-static is not supported by kmod/s:as_fn_error:echo:' \ + configure || die "Failed to re-enable static support" +} + +src_configure() { + local myconf=( + --without-xz + --with-zlib + --without-openssl + --disable-python + --disable-tools + --enable-static + ) + + gkconf "${myconf[@]}" +} + +src_install() { + default + + rm -rf \ + "${D}"/usr/share/ +} diff --git a/gkbuilds/open-iscsi.gkbuild b/gkbuilds/open-iscsi.gkbuild index afe4677..d2686ca 100644 --- a/gkbuilds/open-iscsi.gkbuild +++ b/gkbuilds/open-iscsi.gkbuild @@ -2,8 +2,12 @@ # Distributed under the terms of the GNU General Public License v2 src_compile() { + append-cppflags -DNO_SYSTEMD + export NO_SYSTEMD=1 + gkmake -C utils/sysdeps V=1 gkmake -C utils/fwparam_ibft V=1 + gkmake -C libopeniscsiusr V=1 gkmake -C usr -j1 V=1 iscsistart } |