* [Buildroot] [PATCH] package/swupdate: note init script tokenizing limitation
@ 2020-04-21 13:08 Matt Weber
2021-01-07 22:23 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Matt Weber @ 2020-04-21 13:08 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] package/swupdate: note init script tokenizing limitation
2020-04-21 13:08 [Buildroot] [PATCH] package/swupdate: note init script tokenizing limitation Matt Weber
@ 2021-01-07 22:23 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2021-01-07 22:23 UTC (permalink / raw)
To: buildroot
On Tue, 21 Apr 2020 08:08:53 -0500
Matt Weber <matthew.weber@rockwellcollins.com> wrote:
> Command line options reference:
> https://sbabic.github.io/swupdate/_sources/swupdate.txt
>
> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
> ---
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-07 22:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-21 13:08 [Buildroot] [PATCH] package/swupdate: note init script tokenizing limitation Matt Weber
2021-01-07 22:23 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.