diff mbox series

[meta-oe,V3,3/3] libusbgx: fix some systemd service conditions

Message ID 20230509113620.786170-4-liu.ming50@gmail.com
State Under Review
Headers show
Series libusbgx: uprev to the latest/fix hotplug/fix systemd service | expand

Commit Message

Ming Liu May 9, 2023, 11:36 a.m. UTC
From: Ming Liu <liu.ming50@gmail.com>

Let usbgx.service require and run after sys-kernel-config.mount.

Use "Type=simple" rather than "Type=oneshot", this ensures
usbgx.service would not hang on failures, failures could happen in
many conditions, like if the end user has manually configured
something in configfs, or start usbgx.service twice, or someting
wrong in /etc/default/usbgx or /etc/usbgx/*.schema.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
 meta-oe/recipes-support/libusbgx/libusbgx/usbgx.service | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series


diff --git a/meta-oe/recipes-support/libusbgx/libusbgx/usbgx.service b/meta-oe/recipes-support/libusbgx/libusbgx/usbgx.service
index e2aa95a52..ba92f1ab8 100644
--- a/meta-oe/recipes-support/libusbgx/libusbgx/usbgx.service
+++ b/meta-oe/recipes-support/libusbgx/libusbgx/usbgx.service
@@ -1,8 +1,10 @@ 
 Description=Load USB gadget schemas