mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-23 08:48:24 +00:00
smolkit: Provide polkit instead of using DISTRO_FEATURES
smolkit so far only implements a subset of polkit's features, so this adapts the claim of the "drop-in replacement" in the recipe. Additionally, smolkit now PROVIDES/RPROVIDES polkit, a PREFERRED_PROVIDER is set up for polkit in meta-oe/conf/layer.conf as well. The now obsolete features_check is removed, as we do not use DISTRO_FEATURES any longer. Upstream has added a new tag for version 0.3.0, which is now also reflected in the SRC_URI. The unnecessary line setting `S` is also removed. Signed-off-by: Tillmann Severin <tillmann.severin@bmw.de> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 parent
508020c258
commit
f6f1bbfed7
2 files changed
+12
-8
No files matched your search
@@ -60,6 +60,11 @@ PREFERRED_PROVIDER_nativesdk-coreutils = "nativesdk-coreutils"
|
|||||||
PREFERRED_PROVIDER_virtual/libopencl1 ?= "opencl-icd-loader"
|
PREFERRED_PROVIDER_virtual/libopencl1 ?= "opencl-icd-loader"
|
||||||
PREFERRED_RPROVIDER_virtual-redis ?= "redis"
|
PREFERRED_RPROVIDER_virtual-redis ?= "redis"
|
||||||
|
|
||||||
|
# We have two providers (polkit/smolkit) for polkit now, continue
|
||||||
|
# to use smolkit as the default, as smolkit does only implements a subset
|
||||||
|
# of features.
|
||||||
|
PREFERRED_PROVIDER_polkit ?= "polkit"
|
||||||
|
|
||||||
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
|
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
|
||||||
fbset-modes \
|
fbset-modes \
|
||||||
gpsd-machine-conf \
|
gpsd-machine-conf \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
SUMMARY = "low-footprint drop-in polkit replacement"
|
SUMMARY = "low-footprint polkit replacement"
|
||||||
HOMEPAGE = "https://github.com/bmwcarit/smolkit"
|
HOMEPAGE = "https://github.com/bmwcarit/smolkit"
|
||||||
DESCRIPTION = "\
|
DESCRIPTION = "\
|
||||||
Service that implements a subset of polkit's D-Bus interface with a static configuration language. \
|
Service that implements a subset of polkit's D-Bus interface with a static configuration language. \
|
||||||
@@ -7,21 +7,20 @@ DESCRIPTION = "\
|
|||||||
LICENSE = "Apache-2.0"
|
LICENSE = "Apache-2.0"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||||
|
|
||||||
inherit cmake features_check pkgconfig
|
inherit cmake pkgconfig
|
||||||
|
|
||||||
DEPENDS = "\
|
DEPENDS = "\
|
||||||
rapidjson \
|
rapidjson \
|
||||||
sdbus-c++ \
|
sdbus-c++ \
|
||||||
"
|
"
|
||||||
|
|
||||||
CONFLICT_DISTRO_FEATURES = "polkit"
|
PROVIDES += "polkit"
|
||||||
REQUIRED_DISTRO_FEATURES = "smolkit"
|
RPROVIDES:${PN} = "polkit"
|
||||||
|
|
||||||
PV = "0.2+git"
|
VERSION = "0.3.0"
|
||||||
|
PV = "${VERSION}+git"
|
||||||
|
|
||||||
SRC_URI = "\
|
SRC_URI = "\
|
||||||
git://github.com/bmwcarit/${BPN}.git;protocol=https;branch=main \
|
git://github.com/bmwcarit/${BPN}.git;protocol=https;branch=main;tag=v${VERSION} \
|
||||||
"
|
"
|
||||||
SRCREV = "46bbfd5c922a8d03a534398ee129ded822dfcafe"
|
SRCREV = "46bbfd5c922a8d03a534398ee129ded822dfcafe"
|
||||||
|
|
||||||
S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}"
|
|
||||||
Reference in new issue
Block a user