package/swupdate: note init script tokenizing limitation
PATCH 1/1 package/swupdate: note init script tokenizing limitation
Command line options reference:
https://sbabic.github.io/swupdate/_sources/swupdate.txt
Signed-off-by Matthew Weber <[email protected]>
---
I didn't find a good way around this without completely changing how the upstream scripts were working or requiring a full shell.
--- package/swupdate/swupdate.sh | 3 +++ 1 file changed, 3 insertions(+)
package/swupdate/swupdate.sh +3 -0
@@ -5,6 +5,9 @@ # Override these variables in sourced script(s) located # in /usr/lib/swupdate/conf.d or /etc/swupdate/conf.d +# NOTE: There are substrings used in some swupdate commands which will +# need to be wrapped in a script to prevent tokenizing +# ( -p/-P post/pre cmds are good examples) SWUPDATE_ARGS="-v ${SWUPDATE_EXTRA_ARGS}" SWUPDATE_WEBSERVER_ARGS="" SWUPDATE_SURICATTA_ARGS=""
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 1/1 package/swupdate: note init script tokenizing limitation
Quoted 5 lines · On Tue, 21 Apr 2020 08:08:53 -0500 Matt Weber…
Command line options reference:
https://sbabic.github.io/swupdate/_sources/swupdate.txtSigned-off-by Matthew Weber <[email protected]>---
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com