mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
fwupd: add conditional runtime dependency to udisks2
fwupdtool uses udisks2 to setup access to ESP partition. udisks2 depends on polkit feature so make the dependency conditional in fwupd too. The dependency is not needed for all usecases. Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -85,4 +85,7 @@ FILES:${PN}-ptest += "${libexecdir}/installed-tests/ \
|
||||
${datadir}/installed-tests/"
|
||||
RDEPENDS:${PN}-ptest += "gnome-desktop-testing python3"
|
||||
|
||||
# ESP mounting, not strictly necessary
|
||||
RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'udisks2', '', d)}"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
|
||||
Reference in New Issue
Block a user