profiles/features/prefix/standalone: mask getentropy

When bootstrapping on a 3.10 kernel (e.g. CentOS 7.x), libgcrypt notes the following:
```
 * Messages for package dev-libs/libgcrypt-1.10.1-r3:
 * The getentropy function requires the getrandom syscall.
 * This was introduced in Linux 3.17.
 * Your system is currently running Linux 3.10.0-1160.45.1.el7.x86_64.
 * Disable the 'getentropy' USE flag or upgrade your kernel.
 * ERROR: dev-libs/libgcrypt-1.10.1-r3::gentoo failed (pretend phase):
 *   Kernel is too old for getentropy
```
Since without getrandom it will do a runtime check it's ok to mask.

Signed-off-by: Bart Oldeman  <bart.oldeman@calculquebec.ca>
Closes: https://github.com/gentoo/gentoo/pull/29906
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Bart Oldeman
2023-03-02 22:27:50 -05:00
committed by Sam James
parent 6eaa54f757
commit 8d8e2619bd

View File

@@ -1,6 +1,10 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Bart Oldeman <bart.oldeman@calculquebec.ca> (2022-03-02)
# getentropy requires >=linux=3.17 for __NR_getrandom
dev-libs/libgcrypt getentropy
# Georgy Yakovlev <gyakovlev@gentoo.org> (2021-01-19)
# uchardet not stable/keyworded yet on this profile keyword
# bug #750032