eclass/linux-mod-r1: Sync with Gentoo

It's from Gentoo commit e9dcababf8eb2f85a5f4e057ed798bd6bd325021.

Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
Flatcar Buildbot 2026-03-02 07:26:30 +00:00 committed by Krzesimir Nowak
parent a5a40c77cb
commit 3cf860f7ba

View File

@ -1,4 +1,4 @@
# Copyright 2023-2025 Gentoo Authors
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: linux-mod-r1.eclass
@ -211,14 +211,12 @@ fi
# @DEFAULT_UNSET
# @DESCRIPTION:
# Used with USE=modules-sign. Can be set to hash algorithm to use
# during signature generation.
# during signature generation (e.g. sha512).
#
# Rather than set this, it is recommended to select using the kernel's
# configuration to ensure proper support (e.g. CONFIG_MODULE_SIG_SHA256),
# and then it will be auto-detected here.
#
# Valid values: sha512,sha384,sha256,sha224,sha1
#
# Default if unset: kernel CONFIG_MODULE_SIG_HASH's value
# @ECLASS_VARIABLE: MODULES_SIGN_KEY