smolkit: Add low-footprint drop-in replacement for polkit

smolkit is a drop-in replacement for a subset of
polkit's interface, which is low-footprint in the
sense of not needing to have a javascript engine
available to do its job. polkit has this disadvantage
and even with a small javascript engine like duktape,
it is not worth to have turing-complete configuration
where you could also use static JSON on some embedded
devices.

Signed-off-by: Tillmann Severin <tillmann.severin@bmw.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Tillmann Severin
2026-09-14 13:56:22 -07:00
committed by Khem Raj
parent 20a70d328e
commit 3bcb1ac551
@@ -0,0 +1,27 @@
SUMMARY = "low-footprint drop-in polkit replacement"
HOMEPAGE = "https://github.com/bmwcarit/smolkit"
DESCRIPTION = "\
Service that implements a subset of polkit's D-Bus interface with a static configuration language. \
"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
inherit cmake features_check pkgconfig
DEPENDS = "\
rapidjson \
sdbus-c++ \
"
CONFLICT_DISTRO_FEATURES = "polkit"
REQUIRED_DISTRO_FEATURES = "smolkit"
PV = "0.2+git"
SRC_URI = "\
git://github.com/bmwcarit/${BPN}.git;protocol=https;branch=main \
"
SRCREV = "46bbfd5c922a8d03a534398ee129ded822dfcafe"
S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}"