anchor.diff:      ${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"
  
positive.code: 
  PACKAGECONFIG[pcp] = "--enable-pcp,--disable-pcp,pcp"
  PACKAGECONFIG[dashboard] = "--enable-ssh,--disable-ssh,libssh"
  
  PACKAGES =+ " \
      ${PN}-pcp \
  
negative.code: 
      # 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
  }
  