19 Commits

Author SHA1 Message Date
Andreas Müller
510be13ce3 card-helpers.inc: Use bitbake environment to find images/kernels..
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-11-09 12:10:20 +01:00
Andreas Müller
c6b6d8caf5 card-scripts: rework requisites
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-12 18:01:40 +02:00
Andreas Müller
2b19d4d6fb card-kernel-write: Remove redundancies / add doc
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-12 17:49:56 +02:00
Andreas Müller
f490e77e8e card-helpers.inc: Fix typ in comment
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-12 16:38:02 +02:00
Andreas Müller
f14ea45485 card-kernel-scripts: Get rid of DEFAULT_FIND_KERNEL
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-12 15:51:54 +02:00
Andreas Müller
4f112d1c41 card-helpers.inc: Output a better default message for card part case
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-10 17:53:17 +02:00
Andreas Müller
a85c9745c6 Enhance card write/part scripts
* Check for partion table: If the desired is not found, write it
* Split resize commands so that an error can be identified better.
* Replay sync by dd's oflag=nocache

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-06 15:54:56 +02:00
Andreas Müller
1662dbec7e card-helpers.inc: show file sizes in SelectDeployedFile
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-06 12:57:25 +02:00
Andreas Müller
603d249fe3 card-helpers.inc: Display sizes and implement a rudimentary size check
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-05 14:26:58 +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
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