diff mbox series

package/swupdate: note init script tokenizing limitation

Message ID 20200421130853.34356-1-matthew.weber@rockwellcollins.com
State New
Headers show
Series package/swupdate: note init script tokenizing limitation | expand

Commit Message

Matthew Weber April 21, 2020, 1:08 p.m. UTC
Command line options reference:

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>

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(+)
diff mbox series


diff --git a/package/swupdate/swupdate.sh b/package/swupdate/swupdate.sh
index 17d99ef0d4..31ec536373 100644
--- a/package/swupdate/swupdate.sh
+++ b/package/swupdate/swupdate.sh
@@ -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)