Message ID | 20170907122454.24183-1-christian.storm@siemens.com |
---|---|
State | Accepted |
Headers | show |
Series | [v2,1/6] socket split: make socket paths configurable | expand |
On 07/09/2017 14:24, Christian Storm wrote: > Make socket paths configurable via config system. > Per default, the currently established paths are > used to maintain backwards compatibility. > > Signed-off-by: Christian Storm <christian.storm@siemens.com> > --- > Kconfig | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > > diff --git a/Kconfig b/Kconfig > index 07c394a..b77850f 100644 > --- a/Kconfig > +++ b/Kconfig > @@ -110,6 +110,29 @@ config SW_VERSIONS_FILE > but in some cases it can be required to do it. Having a check, > the risky-component is not always updated. > > +menu "Socket Paths" > + > +config SOCKET_CTRL_PATH > + string "SWUpdate control socket path" > + default "/tmp/sockinstctrl" > + help > + Path to SWUpdate's IPC socket. > + > +config SOCKET_PROGRESS_PATH > + string "SWUpdate progress socket path" > + default "/tmp/swupdateprog" > + help > + Path to the socket progress information is sent to. > + > +config SOCKET_REMOTE_HANDLER_DIRECTORY > + string "SWUpdate remote handler socket directory" > + default "/tmp/" > + help > + Directory where sockets to remote handler processes > + are expected to be found. > + > +endmenu > + > config MTD > bool "MTD support" > default y > Applied (whole series) to -master, thanks ! Best regards, Stefano Babic
diff --git a/Kconfig b/Kconfig index 07c394a..b77850f 100644 --- a/Kconfig +++ b/Kconfig @@ -110,6 +110,29 @@ config SW_VERSIONS_FILE but in some cases it can be required to do it. Having a check, the risky-component is not always updated. +menu "Socket Paths" + +config SOCKET_CTRL_PATH + string "SWUpdate control socket path" + default "/tmp/sockinstctrl" + help + Path to SWUpdate's IPC socket. + +config SOCKET_PROGRESS_PATH + string "SWUpdate progress socket path" + default "/tmp/swupdateprog" + help + Path to the socket progress information is sent to. + +config SOCKET_REMOTE_HANDLER_DIRECTORY + string "SWUpdate remote handler socket directory" + default "/tmp/" + help + Directory where sockets to remote handler processes + are expected to be found. + +endmenu + config MTD bool "MTD support" default y
Make socket paths configurable via config system. Per default, the currently established paths are used to maintain backwards compatibility. Signed-off-by: Christian Storm <christian.storm@siemens.com> --- Kconfig | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)