mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
contrib/gentoo: Update ebuild
Now that the packaging preparations were merged, we should update the ebuild to reflect the upstream master branch. Signed-off-by: Kai Krakow <kai@kaishome.de>
This commit is contained in:
parent
d4b3836493
commit
3504439d5c
@ -1,2 +1,2 @@
|
||||
EBUILD bees-9999.ebuild 1576 BLAKE2B 105a00d14ee885d9f6ff0758305cf67b83b8790df76f35a8e9a8719acfcad5af87e53cd6f21f99811b22e183f3b4f2f679f24b71d36529bda97c2b5f175169e5 SHA512 b85219901e2d2325c45522321c57d7e7677f87f9fc5bae59d269284a8e6366020c9772486202973c8d042e0d8cf6eb4a3801a4e9126fc445ca4f19be2688226d
|
||||
EBUILD bees-9999.ebuild 2001 BLAKE2B 7fa1c9d043a4334579dfad3560d1593717e548c0d31695cf8ccf8ffe45f2347584c7da43b47cad873745f3c843207433c6b892a0469c5618f107c68f78fd5fe2 SHA512 d49266e007895c049e1c9f7e28ec2f649b386a6441eccba02ee411f14ad395925eecdaa8a747962ccc526f9e1d3aba9fd68f4452a1d276d4e5b7d48c80102cd8
|
||||
MISC metadata.xml 479 BLAKE2B ef5e110ba8d88f0188dbc0d12bec2ad45c51abf707656f6fe4e0fa498d933fe9c32c5dc4c9b446402ec686084459f9f075e52f33402810962c1ac6b149fb70c8 SHA512 3fcc136ed4c55323cac4f8cf542210eb77f73e2a80f95fcce2d688bc645f6e5126404776536dedc938b18287b54abbc264610cc2f587a42a3a8e6d7bf8415aaa
|
||||
|
@ -1,18 +1,16 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
|
||||
inherit multilib linux-info
|
||||
inherit linux-info
|
||||
|
||||
DESCRIPTION="Best-Effort Extent-Same, a btrfs dedup agent"
|
||||
HOMEPAGE="https://github.com/Zygo/bees"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/kakra/bees.git"
|
||||
EGIT_BRANCH="integration"
|
||||
EGIT_REPO_URI="https://github.com/Zygo/bees.git"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/Zygo/bees/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
@ -28,16 +26,27 @@ DEPEND="
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
CONFIG_CHECK="~BTRFS_FS"
|
||||
ERROR_BTRFS_FS="CONFIG_BTRFS_FS: bees does currently only work with btrfs"
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ ${MERGE_TYPE} != buildonly ]]; then
|
||||
if kernel_is -lt 4 4 3; then
|
||||
ewarn "Kernel versions below 4.4.3 lack critical features needed for bees to"
|
||||
ewarn "properly operate, so it won't work. It's recommended to run at least"
|
||||
ewarn "kernel version 4.11 for best performance and reliability."
|
||||
ewarn
|
||||
elif kernel_is -lt 4 11; then
|
||||
ewarn "With kernel versions below 4.11, bees may severely degrade system performance"
|
||||
ewarn "and responsiveness. Especially, the kernel may deadlock while bees is"
|
||||
ewarn "running, it's recommended to run at least kernel 4.11."
|
||||
ewarn
|
||||
elif kernel_is -lt 4 14 29; then
|
||||
ewarn "With kernel versions below 4.14.29, bees may generate a lot of bogus WARN_ON()"
|
||||
ewarn "messages in the kernel log. These messages can be ignored and this is fixed"
|
||||
ewarn "with more recent kernels:"
|
||||
ewarn "# WARNING: CPU: 3 PID: 18172 at fs/btrfs/backref.c:1391 find_parent_nodes+0xc41/0x14e0"
|
||||
ewarn
|
||||
fi
|
||||
elog "Bees recommends to run the latest current kernel for performance and"
|
||||
elog "reliability reasons, see README.md."
|
||||
|
Loading…
x
Reference in New Issue
Block a user