qtapplicationmanager: add PACKAGECONFIG for bubblewrap

The bubblewrap container uses the bubblewrap utility to create
a new kernel namespace and runs the requested binary in this
sandbox isolated from the rest of the system.

Fixes: QTBUG-13696
Change-Id: Ide2e631f797e2e8162375b4bbc60d81600243be2
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 76078809ef)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 40b0a47183)
(cherry picked from commit a21177f128)
This commit is contained in:
Samuli Piippo 2025-05-19 08:31:50 +00:00 committed by Qt Cherry-pick Bot
parent 21dc1d7f94
commit b07102175f

View File

@ -25,6 +25,7 @@ PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'multi-proc
PACKAGECONFIG[tools-only] = "-DFEATURE_am_tools_only=ON, -DFEATURE_am_tools_only=OFF"
PACKAGECONFIG[multi-process] = "-DFEATURE_am_multi_process=ON, -DFEATURE_am_multi_process=OFF, qtwayland qtwayland-native"
PACKAGECONFIG[bubblewrap] = "-DFEATURE_am_bubblewrap_container=ON,-DFEATURE_am_bubblewrap_container=OFF,,bubblewrap"
PACKAGECONFIG:class-native ??= "tools-only"
PACKAGECONFIG:class-nativesdk ??= "${PACKAGECONFIG:class-native}"