Andreas Müller
90f4bdabb2
common-helpers.inc: yet a another EvalEx(Auto) rework
...
* EvalEx: ensure a command is found in first parameter
* EvalExAuto: remove linefeeds on end messages
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-03 14:22:28 +02:00
Andreas Müller
232c4d3037
card-helpers.inc: Choose a more generic title for SelectDeployedFile
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-03 14:19:14 +02:00
Andreas Müller
425b5ae3b5
card-helpers.inc: rework last exit messages
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-03 13:45:47 +02:00
Andreas Müller
b6556eac05
card-helpers.inc: rework common script parameter handling
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-03 13:34:29 +02:00
Andreas Müller
7ee6d9c3c4
card-helpers.inc: Add filename which is going to be written in final message
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-03 13:34:29 +02:00
Andreas Müller
8a19ad108e
card-helpers.inc: Minor cleanup
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-03 13:12:51 +02:00
Andreas Müller
a18e1921e7
card-helpers.inc / selection-dialogs rework
...
* do not rely on /tmp. BTW I tried the redirect of stderr thingy to get dialog
selection into variable without temporary file but that did not work: dialogs
were not displayed anymore.
* cleanup menuitem to avoid confusion
* SelectSuSudo stores selection in SuSudoSelection and does not open dialog in
case SuSudoSelection is already set
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-03 13:12:26 +02:00
Andreas Müller
794462b8ea
card-helpers.inc: polish comments
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-03 11:59:02 +02:00
Andreas Müller
dc4c8f7421
card-helpers.inc: rework EnsureUnmount
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-03 11:59:02 +02:00
Andreas Müller
b95e8eabb2
scripts: minor prettification
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-02 23:35:24 +02:00
Andreas Müller
8bf79ed118
scripts/ti-old-omap: Use EvalExAuto / prepare card-kernel-write
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-02 23:26:43 +02:00
Andreas Müller
84344f5aec
scripts: use EvaExAuto for imx/raspi
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-02 22:32:21 +02:00
Andreas Müller
5c205225d4
common-helpers.inc: Some ErrorOut / EvalEx rework
...
* ErrorOut outputs to stderr
* Start message is magenta now
* Add EvalExAuto which creates end messages from first word in start message
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-02 22:14:59 +02:00
Andreas Müller
0fc0a4a9cd
scripts: rename ExecEx -> EvalEx
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-02 21:31:00 +02:00
Andreas Müller
0dbb955a94
card-write: Apply error-handling/logging to raspi kernel write
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-02 17:25:46 +02:00
Andreas Müller
541ead999f
card-write/machine-imx.inc: Fix kernel copy to /boot
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-02 16:55:00 +02:00
Andreas Müller
f898e1f316
card-write/machine-imx.inc: re-add linefeed per devicetree file
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-02 16:54:12 +02:00
Andreas Müller
62ce7912fa
Add/modify functions for enhanced error-handling/logging + fix spaces in variables
...
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-02 16:31:55 +02:00
Andreas Müller
ca5f873b08
Rewrite of card scripts completely
...
Reduce the card specific code to what's needed.
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com >
2018-10-02 09:58:24 +02:00