Commit Graph

787 Commits

Author SHA1 Message Date
Andreas Müller
d75b2dca31 Restructure defaults
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-07 13:42:53 +02:00
Andreas Müller
9c32355ce7 Changes to comments / doc
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-07 13:10:30 +02:00
Andreas Müller
8bf9d702ed README: try to structurize
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-07 01:38:10 +02:00
Andreas Müller
75a73692a2 README: fix typo
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-07 01:36:42 +02:00
Andreas Müller
24da3e736c mortsgna-core-tweaks.inc: cleanup a bit
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-07 01:05:16 +02:00
Andreas Müller
8137edd3b0 console-net-image: Add openssh-sshd
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-07 01:04:14 +02:00
Andreas Müller
065992eb0d appends/oe-core/openssh: remove brute-force config tweak
Adding allow-empty-password to IMAGE_FEATURES is good enough.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-07 01:01:42 +02:00
Andreas Müller
be2367805c Rework image features
Insist on useful defaults

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-07 00:41:36 +02:00
Andreas Müller
d5cf50ca7c Some more documentation
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-07 00:41:36 +02:00
Andreas Müller
9dc5d845cc mortsgna.inc: Set no-thumb settings for armv4-armv6 to correctly
stolen from [1]

[1] 397e65c420

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-06 22:53:41 +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
cbe1080c2c unpriv-user: Do not make audio-tweaks a rdependeny
Not all want to make music with morona.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-05 22:01:25 +02:00
Andreas Müller
ba59349068 common-helpers.inc/EvalEx: Output command which caused the error
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-05 14:36:47 +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
00e61408b0 devilspie2/default.lua: Change doc link
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-05 10:01:14 +02:00
Andreas Müller
a497f2265f unpriv-user: fix now really
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-04 01:41:24 +02:00
Andreas Müller
34e2a2faf8 Forget the fine grained packagegroup-base thingy - console images have no display
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-03 23:52:04 +02:00
Andreas Müller
4b160e68a6 rework console-images
* rename console-base-image-nm -> console-image-net
* finer-grained packagegroup-base handling
* move avahi/openssh-sftp-server to console-net-image

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-03 22:18:53 +02:00
Andreas Müller
229e7b777b mortsgna.conf: Do not force RDEPENDS - it is just a recommendation
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-03 21:49:27 +02:00
Andreas Müller
e6028bd8ee console-base-image: add htop
It got lost by our packagegroup-basic -> packagegroup-base transition

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-03 18:23:46 +02:00
Andreas Müller
723282b124 base-files: remove our fstab and use oe-core's version
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-03 18:14:18 +02:00
Andreas Müller
daab457ff4 unpriv-user: Fix morona's groups
Looks like something went wrong during postinst -> useradd transition...

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-03 17:09:12 +02:00
Andreas Müller
377141f543 layer.conf: LAYERSERIES_COMPAT sumo & thud
This is what was tested.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-03 15:59:50 +02:00
Andreas Müller
49edcb3192 scripts/raspberrypi: Fix card-kernel-write
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-03 15:23:40 +02:00
Andreas Müller
d5d561fc73 scripts/kernel-write: group output for devicetree files
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-03 14:34:08 +02:00
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
7cfe44425d Char artwork: prettify 'g'
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-03 13:34:29 +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
0c9f5a5865 rename console-base-image-no-nm -> console-base-image
Yes there is a recipe with same name in Angstrom but two distro layers in one
build environment are not recommended exactly.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-02 23:37:07 +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
Andreas Müller
3cc5a3b448 mortsgna.conf: remove unnecessary comment
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-01 07:56:12 +02:00
Andreas Müller
398f8b589a mortsgna.conf: disable security flags
Images build are not ready for production. We see errors as:

| dhclient: symbol lookup error: /usr/lib/libomapi.so.0: undefined symbol: irs_resconf_load

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-01 07:55:22 +02:00
Andreas Müller
56721aa069 unpriv-user: Fix some operator remnant
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-10-01 00:25:29 +02:00