mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
flatpak: add requested user
This fixes: WARNING: gnome-image-1.0-r0 do_rootfs: User flatpak has never been defined Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -12,7 +12,7 @@ SRCREV = "1440f4faa67ebf69c7559f31d2cab59e6ec6fe2b"
|
|||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
inherit meson pkgconfig gettext systemd gtk-doc gobject-introspection python3native mime features_check
|
inherit meson pkgconfig gettext systemd gtk-doc gobject-introspection python3native mime features_check useradd
|
||||||
|
|
||||||
REQUIRED_DISTRO_FEATURES = "polkit"
|
REQUIRED_DISTRO_FEATURES = "polkit"
|
||||||
|
|
||||||
@@ -75,4 +75,7 @@ EXTRA_OEMESON = " \
|
|||||||
-Dsystem_dbus_proxy=xdg-dbus-proxy \
|
-Dsystem_dbus_proxy=xdg-dbus-proxy \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
USERADD_PACKAGES = "${PN}"
|
||||||
|
USERADD_PARAM:${PN} = "--system --no-create-home --user-group --shell /bin/nologin flatpak"
|
||||||
|
|
||||||
FILES:${PN} += "${libdir} ${datadir}"
|
FILES:${PN} += "${libdir} ${datadir}"
|
||||||
|
|||||||
Reference in New Issue
Block a user