Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[ssu] Use ssusysinfo instead of SSU D-Bus interface
During bootup usb-moded needs device name / model information before the system has reached a point where SSU daemon can be started. This can cause systemd deadlocks and/or timeouts as usb-moded waits for SSU daemon and the rest of the bootup is blocked until usb-moded reaches ready state. Use ssu-sysinfo C-library that can provide the device details required by usb-moded without using any IPC mechanisms. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
3 changed files
with
39 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,6 +97,7 @@ PKG_CHECK_MODULES([USB_MODED], [ | |
gio-2.0 | ||
libudev | ||
libkmod | ||
ssu-sysinfo | ||
]) | ||
|
||
AC_SUBST(USB_MODED_LIBS) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters