package/swupdate: note init script tokenizing limitation
authorMatt Weber <matthew.weber@rockwellcollins.com>
Tue, 21 Apr 2020 13:08:53 +0000 (08:08 -0500)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 7 Jan 2021 22:21:21 +0000 (23:21 +0100)
Command line options reference:
https://sbabic.github.io/swupdate/_sources/swupdate.txt

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/swupdate/swupdate.sh

index 17d99ef0d4d9ee7bc4ea122c5b88231aae9c5bfc..31ec536373a53bf8fae10231ccd8927936ae3f63 100644 (file)
@@ -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=""