swupdate: add config fragment to fix systemd initialization
Since commit 554b97a ("swupdate: Set service type to notify") in meta-swupdate
layer, the swupdate service fails on boot due to the following timeout error:
swupdate.sh[2708]: [TRACE] : SWUPDATE running : [listener_create] : creating socket at /tmp/swupdateprog
swupdate.sh[2708]: [TRACE] : SWUPDATE running : [listener_create] : creating socket at /tmp/sockinstctrl
systemd[1]: swupdate.service: start operation timed out. Terminating.
systemd[1]: swupdate.service: Failed with result 'timeout'.
systemd[1]: Failed to start SWUpdate daemon.
This commit adds a config fragment to enable systemd support to swupdate daemon.
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
parent
b7cd473b39
commit
7d9f278c41
|
|
@ -0,0 +1,2 @@
|
|||
# Add support to systemd
|
||||
CONFIG_SYSTEMD=y
|
||||
|
|
@ -8,6 +8,7 @@ RDEPENDS:${PN} += "libgcc"
|
|||
SRC_URI += " \
|
||||
file://0001-Makefile-change-Makefile-to-build-swupdate-library-s.patch \
|
||||
file://0002-config-add-on-the-fly-build-configuration-variable.patch \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'file://systemd.cfg', '', d)} \
|
||||
"
|
||||
|
||||
do_configure:append() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue