mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-15 06:17:16 +00:00
fwupd: create the fwupd-refresh user
fwupd-refresh.service runs as fwupd-refresh, which is only declared in sysusers.d, so do_rootfs warns "User fwupd-refresh has never been defined". Create it with useradd. AI-Generated: Uses Claude Code (Claude Opus 5.5) Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 parent
cebef52f43
commit
c2c8827787
1 file changed
+4
-1
@@ -26,7 +26,7 @@ UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
|
||||
# Machine-specific as we examine MACHINE_FEATURES to decide whether to build the UEFI plugins
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
inherit meson vala gobject-introspection systemd bash-completion pkgconfig gi-docgen ptest manpages
|
||||
inherit meson vala gobject-introspection systemd useradd bash-completion pkgconfig gi-docgen ptest manpages
|
||||
|
||||
GIDOCGEN_MESON_OPTION = 'docs'
|
||||
GIDOCGEN_MESON_ENABLE_FLAG = 'enabled'
|
||||
@@ -36,6 +36,9 @@ GIR_MESON_DISABLE_FLAG = 'disabled'
|
||||
|
||||
EXTRA_OEMESON = "-Dvendor_ids_dir=${datadir}/hwdata"
|
||||
|
||||
USERADD_PACKAGES = "${PN}"
|
||||
USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${localstatedir}/lib/fwupd --shell /sbin/nologin fwupd-refresh"
|
||||
|
||||
PACKAGECONFIG ??= "\
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
|
||||
${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
|
||||
|
||||
Reference in new issue
Block a user