mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +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:
parent
738d27a759
commit
48bef05c83
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user