sys-fs/bcachefs-kmod: update LICENSE, drop unnecessary declarations

We don't have to list the crate licenses, as they are not relevant for
the kernel module. Also drop the explicit definition of src_install()
and pkg_postinst() because linux-mod-r1.eclass exports those functions.

Finally address some minor style issues.

Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
Florian Schmaus
2026-01-02 22:50:11 +01:00
parent 195201e46e
commit bb9302caff

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -27,18 +27,15 @@ fi
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="GPL-2"
# Dependent crate licenses
LICENSE+=" Apache-2.0 BSD ISC MIT Unicode-DFS-2016"
SLOT="0"
IUSE="debug verify-sig"
RDEPEND="${DEPEND}
"
BDEPEND=">=sys-kernel/linux-headers-6.16
BDEPEND="
>=sys-kernel/linux-headers-6.16
verify-sig? ( >=sec-keys/openpgp-keys-kentoverstreet-20241012 )
"
pkg_setup() {
local CONFIG_CHECK="
BLOCK
@@ -113,11 +110,3 @@ src_compile() {
linux-mod-r1_src_compile
}
src_install() {
linux-mod-r1_src_install
}
pkg_postinst() {
linux-mod-r1_pkg_postinst
}