Skip to content

Commit

Permalink
cockpit: rt-deps for storaged
Browse files Browse the repository at this point in the history
No general depdependency on udisks2 (polkit)

Signed-off-by: Michael Haener <[email protected]>
  • Loading branch information
hoinmic committed May 20, 2020
1 parent b5cb4b9 commit 1ab3713
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion meta-webserver/recipes-webadmin/cockpit/cockpit_219.bb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ EXTRA_OECONF = " \

PACKAGECONFIG[pcp] = "--enable-pcp,--disable-pcp,pcp"
PACKAGECONFIG[dashboard] = "--enable-ssh,--disable-ssh,libssh"
PACKAGECONFIG[storaged] = ",,,udisks2"

PACKAGES =+ " \
${PN}-pcp \
Expand Down Expand Up @@ -84,7 +85,6 @@ FILES_${PN}-storaged = " \
${datadir}/cockpit/storaged \
${datadir}/metainfo/org.cockpit-project.cockpit-storaged.metainfo.xml \
"
RDEPENDS_${PN}-storaged = "udisks2"

FILES_${PN}-networkmanager = "${datadir}/cockpit/networkmanager"
RDEPENDS_${PN}-networkmanager = "networkmanager"
Expand Down Expand Up @@ -174,4 +174,11 @@ do_install_append() {

# provided by firewalld
rm -rf ${D}${libdir}/firewalld

if ! ${@bb.utils.contains('PACKAGECONFIG', 'storaged', 'true', 'false', d)}; then
for filename in ${FILES_${PN}-storaged}
do
rm -rf ${D}$filename
done
fi
}

0 comments on commit 1ab3713

Please sign in to comment.