summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Utkin <andrey_utkin@gentoo.org>2018-12-02 01:47:51 +0000
committerAndrey Utkin <andrey_utkin@gentoo.org>2018-12-02 02:46:22 +0000
commit8753de7a2413c60609ca0b99616a8e19da29d4f6 (patch)
treef6f3b4d691a97749f0d79763d242e4faad936e90 /dev-util/tup
parentdev-perl/Archive-Zip: Cleanup old re bug #660466 (diff)
downloadgentoo-8753de7a2413c60609ca0b99616a8e19da29d4f6.tar.gz
gentoo-8753de7a2413c60609ca0b99616a8e19da29d4f6.tar.bz2
gentoo-8753de7a2413c60609ca0b99616a8e19da29d4f6.zip
dev-util/tup: warn if important kernel options are not enabled
No revbump for 0.7.7 as the change doesn't affect successful installations. Bug: https://bugs.gentoo.org/664768 Package-Manager: Portage-2.3.49, Repoman-2.3.12 Signed-off-by: Andrey Utkin <andrey_utkin@gentoo.org>
Diffstat (limited to 'dev-util/tup')
-rw-r--r--dev-util/tup/tup-0.7.7.ebuild8
-rw-r--r--dev-util/tup/tup-9999.ebuild8
2 files changed, 12 insertions, 4 deletions
diff --git a/dev-util/tup/tup-0.7.7.ebuild b/dev-util/tup/tup-0.7.7.ebuild
index 104dd83a9dbd..e248bb29dc6c 100644
--- a/dev-util/tup/tup-0.7.7.ebuild
+++ b/dev-util/tup/tup-0.7.7.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit toolchain-funcs
+inherit linux-info toolchain-funcs
DESCRIPTION="A file-based build system"
HOMEPAGE="http://gittup.org/tup"
@@ -30,6 +30,10 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+CONFIG_CHECK="~FUSE_FS ~NAMESPACES"
+WARNING_FUSE_FS="CONFIG_FUSE_FS is required for tup to work"
+WARNING_NAMESPACES="CONFIG_NAMESPACES is required for tup to work as intended (workaround: set TUP_NO_NAMESPACING env var when running tup)"
+
src_prepare() {
# Use our toolchain
sed -i Tuprules.tup \
diff --git a/dev-util/tup/tup-9999.ebuild b/dev-util/tup/tup-9999.ebuild
index 104dd83a9dbd..e248bb29dc6c 100644
--- a/dev-util/tup/tup-9999.ebuild
+++ b/dev-util/tup/tup-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit toolchain-funcs
+inherit linux-info toolchain-funcs
DESCRIPTION="A file-based build system"
HOMEPAGE="http://gittup.org/tup"
@@ -30,6 +30,10 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+CONFIG_CHECK="~FUSE_FS ~NAMESPACES"
+WARNING_FUSE_FS="CONFIG_FUSE_FS is required for tup to work"
+WARNING_NAMESPACES="CONFIG_NAMESPACES is required for tup to work as intended (workaround: set TUP_NO_NAMESPACING env var when running tup)"
+
src_prepare() {
# Use our toolchain
sed -i Tuprules.tup \