Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Matt Weber <matthew.weber@rockwellcollins.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/swupdate: note init script tokenizing limitation
Date: Tue, 21 Apr 2020 08:08:53 -0500	[thread overview]
Message-ID: <20200421130853.34356-1-matthew.weber@rockwellcollins.com> (raw)

Command line options reference:
https://sbabic.github.io/swupdate/_sources/swupdate.txt

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 --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)
 SWUPDATE_ARGS="-v ${SWUPDATE_EXTRA_ARGS}"
 SWUPDATE_WEBSERVER_ARGS=""
 SWUPDATE_SURICATTA_ARGS=""
-- 
2.17.1

             reply	other threads:[~2020-04-21 13:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-21 13:08 Matt Weber [this message]
2021-01-07 22:23 ` [Buildroot] [PATCH] package/swupdate: note init script tokenizing limitation Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200421130853.34356-1-matthew.weber@rockwellcollins.com \
    --to=matthew.weber@rockwellcollins.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox