app-emulation/virtiofsd: Record runtime dependency on sys-apps/shadow

In the light of a recent bug filed against libvirt [1], it was
found that virtiofds might need to execute newuidmap and/or
newgidmap binaries (see commit [2]). Both of them belong to
sys-apps/shadow. But this runtime dependency was never recorded
in any of existing virtiofsd ebuilds.

1: https://gitlab.com/libvirt/libvirt/-/issues/728
2: 51210fbdc0
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40107
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Michal Privoznik
2025-01-10 09:24:47 +01:00
committed by Sam James
parent 46c9db3dd9
commit 288377dbad
4 changed files with 19 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 2023-2024 Gentoo Authors
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -117,7 +117,10 @@ DEPEND="
sys-libs/libcap-ng
sys-libs/libseccomp
"
RDEPEND="${DEPEND}"
RDEPEND="
sys-apps/shadow
${DEPEND}
"
# rust does not use *FLAGS from make.conf, silence portage warning
# update with proper path to binaries this crate installs, omit leading /

View File

@@ -1,4 +1,4 @@
# Copyright 2023-2024 Gentoo Authors
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -117,7 +117,10 @@ DEPEND="
sys-libs/libcap-ng
sys-libs/libseccomp
"
RDEPEND="${DEPEND}"
RDEPEND="
sys-apps/shadow
${DEPEND}
"
# rust does not use *FLAGS from make.conf, silence portage warning
# update with proper path to binaries this crate installs, omit leading /

View File

@@ -132,7 +132,10 @@ DEPEND="
sys-libs/libcap-ng
sys-libs/libseccomp
"
RDEPEND="${DEPEND}"
RDEPEND="
sys-apps/shadow
${DEPEND}
"
# rust does not use *FLAGS from make.conf, silence portage warning
# update with proper path to binaries this crate installs, omit leading /

View File

@@ -1,4 +1,4 @@
# Copyright 2023-2024 Gentoo Authors
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -132,7 +132,10 @@ DEPEND="
sys-libs/libcap-ng
sys-libs/libseccomp
"
RDEPEND="${DEPEND}"
RDEPEND="
sys-apps/shadow
${DEPEND}
"
# rust does not use *FLAGS from make.conf, silence portage warning
# update with proper path to binaries this crate installs, omit leading /