Skip to content

Commit

Permalink
dev-util/tup: warn if important kernel options are not enabled
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Andrey Utkin committed Dec 2, 2018
1 parent 12c89dc commit 8753de7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions dev-util/tup/tup-0.7.7.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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 \
Expand Down
8 changes: 6 additions & 2 deletions dev-util/tup/tup-9999.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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 \
Expand Down

0 comments on commit 8753de7

Please sign in to comment.