Commit Graph

54 Commits

Author SHA1 Message Date
Andreas Müller
71f0207ace instant-sysroot-target.bbclass: rework task sequence
run copy_to_target_sysroot after do_package_write_tar either

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-08-17 16:46:35 +02:00
Andreas Müller
6ca627cb01 instant-sysroot-target.bbclass: restore task order to avoid conflicts
Task order change was not tested properly and caused errors in
e.g  do_package_write_ipk as:

| Subprocess output:tar: ./usr/lib/libreoffice/program/.debug/liblnglo.so: file changed as we read it

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-08-16 21:51:46 +02:00
Andreas Müller
e6e8af2285 Move to new override syntax
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-08-16 12:16:08 +02:00
Andreas Müller
0411624070 instant-sysroot-native.bbclass: append space in do_populate_sysroot[postfuncs]
Wouldn't expect this necessary but other do_populate_sysroot[postfuncs] do
append space. So since this change won't cause any trouble if not necessary
do same.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-10-10 22:04:48 +02:00
Andreas Müller
549b52ed48 instant-sysroot-target: move task copy_to_target_sysroot out of conflict zone
First results from scratch showed that previous commit did not work and set
copy_to_target_sysroot at a very early position beginning.

With default PACKAGE_CLASSES = "package_ipk" (no package_deb / package_rpm)
task order looks as expected without bb.utils.contains-dance

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-01-16 00:01:17 +01:00
Andreas Müller
0cf33d763e instant-sysroot-target: move task copy_to_target_sysroot out of conflict zone
Task copy_to_target_sysroot creates hardlinks and can run in parallell to e.g
package_ipk which causes sporadic failures as:

| Subprocess output:tar: ./usr/bin/.debug/guitarix: file changed as we read it
| ERROR: Logfile of failure stored in: <...>/temp/log.do_package_write_ipk.25489

There is not much we can do about host's tar
(see https://lists.gnu.org/archive/html/bug-tar/2007-08/msg00013.html) so
ensure copy_to_target_sysroot does not run parallel to package_deb /
package_ipk / package_rpm (depending on what PACKAGE_CLASSES sets).

Fixes [1]

[1] https://github.com/schnitzeltony/meta-mortsgna/issues/12

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-01-15 14:19:15 +01:00
Andreas Müller
6553814e86 instant-sysroot-target.bbclass: Minor corrections on remote debug instructions
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-09-10 22:03:47 +02:00
Andreas Müller
a735f099a6 instant-sysroot-target: rework our qtcreator remote debug instructions
Had some trouble to make it run - so write down what's necessary for next time

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-04-13 00:41:33 +02:00
Andreas Müller
769a0e0f32 instant-sysroot-native.bbclass: handle filenames with spaces properly
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-20 13:29:07 +01:00
Andreas Müller
ed61a8799f replace oe-core's image-buildinfo by image-buildinfo-mortsgna
OE-cores's version is missing important information and it is not that I did
not try it...

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-14 18:02:10 +01:00
Andreas Müller
ef94f5cac4 instant-sysroot-native.bbclass: add a sentence of what this class is doing
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-02-22 23:42:16 +01:00
Andreas Müller
7f2ea5ab33 Furher work on instant sdk
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-01-02 09:37:07 +01:00
Andreas Müller
aa892ad0fc instant-sysroot-native: copy (broken) symlinks too
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-12-14 13:52:16 +01:00
Andreas Müller
6d38466293 Use more consistent names for our instant-classes
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-12-07 14:11:10 +01:00
Andreas Müller
7b6f297ad0 instant-remote-debug.bbclass: overall enhancements
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-12-07 13:31:03 +01:00
Andreas Müller
17e7b655c1 instant-remote: rename task do_copytocrosssysroot -> do_copy_to_cross_sysroot
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-12-07 11:33:11 +01:00
Andreas Müller
dc93483c39 instant-remote-debug.bbclass: rename copysourcestosysroot -> copytocrosssysroot
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-12-06 18:25:18 +01:00
Andreas Müller
30f117019f instant-*.bbclass: split out path settings to common instant-paths.bbclass
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-12-06 18:10:44 +01:00
Andreas Müller
ed6923ecef instant-remote-debug: Add -dev and -mkspecs to cross sysroot
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-12-06 17:57:00 +01:00
Andreas Müller
79f7f61ce1 Get qtbase-native in our sysroot / rename sysroot variables
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-12-06 17:22:24 +01:00
Andreas Müller
6e75bd8c4a instant-remote-debug: rework
* make sure sysroot is filled when package or machine changes
* use hardlinkdir from utils.bbclass instead of slow loop
* design decissopn: do not use sstate cache - it copies files instead of using
  cheap hardlinks
* rework cleanup

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-12-06 01:23:18 +01:00
Andreas Müller
078b12de48 instant-remote-debug.bbclass: add includes - they might contain debuggable code
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-12-05 17:20:18 +01:00
Andreas Müller
76e8f19b75 instant-remote-debug.bbclass: restucture code for better readabilty
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-12-05 17:04:06 +01:00
Andreas Müller
e42a1dcb4a instant-remote-debug: Make instant sysroot paths machine specific
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-12-05 12:30:02 +01:00
Andreas Müller
ba8f135a76 Add native sysroot for gcc-cross and gdb-cross
Atherwise tools will use build host's libraries

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-11-24 14:12:45 +01:00
Andreas Müller
55364ea08a documenatation tweaks
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-11-13 10:56:24 +01:00
Andreas Müller
317bfc2daf rename instant-remote.bbclass -> instant-remote-debug.bbclass
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-11-07 02:21:53 +01:00
Andreas Müller
3db9f8838a user-with-full-skel.bbclass: Do not override existing pkg_postinst_${PN}
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-11-05 17:35:55 +01:00
Andreas Müller
0d99ae45c9 user-with-full-skel.bbclass: Fix empty USERNAME case
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-11-05 17:20:58 +01:00
Andreas Müller
3ff8567152 user-with-full-skel.bbclass: Restructure / add message for debug
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-11-05 17:11:35 +01:00
Andreas Müller
7a2647519e Add user-with-full-skel.bbclass to fix uncomplete /etc/skel population
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-11-04 21:20:31 +01:00
Andreas Müller
a88c62688d More Angsrom -> Mortsgna renames / steel artwork
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-09-29 12:42:30 +02:00
Andreas Müller
4983485cdd instant-remote: Just build gdbserver - do not install it by default
Not all images released should have a gdbserver installed.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-09-27 20:48:07 +02:00
Andreas Müller
26a4a4467b instant-remote.bbclass: Don't ask - just build/install gdb recipes required
That's more 'instant'.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-09-27 00:05:24 +02:00
Andreas Müller
ad5b89a32c instant-remote.bbclass: Move here from meta-misc
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-09-26 11:50:37 +02:00
Andreas Müller
9b8adb817f massive strip of unused configuration/scripts/recipes
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2017-11-25 23:38:03 +01:00
Khem Raj
911233b9ea angstrom-mirrors: Drop svk
Support is gone in bitbake

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2015-05-05 19:55:27 -07:00
Koen Kooi
8058f40146 angstrom-mirrors: update URI for 2015.12
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2015-04-19 19:03:07 +02:00
Koen Kooi
53294ae03f angstrom-mirrors: point to the correct URI
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-12-30 09:05:19 +01:00
Koen Kooi
4703cc69c0 drop recipe_sanity bbclass
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2013-09-10 18:48:27 +02:00
Koen Kooi
b2bff87f0c angstrom mirror: switch for faster mirror and use it as PREMIRROR again
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-04 10:51:09 +01:00
Khem Raj
f963d82700 angstrom-mirrors: Use angstrom source mirror as last resort
Currently we append to PREMIRRORS which makes it
the preferred choice to look for source tars and angstrom mirror
is throttled and gives 5Kbps download speed here

This patch makes it append to MIRRORS which means
it will be used as fall back if the sources are
not found at original SRC_URIs in recipes

If it is something acceptable please apply

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-12-06 08:21:57 +01:00
Koen Kooi
c25bbe1ab7 use blacklist class from meta-oe
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-18 14:49:10 +02:00
Koen Kooi
5c781abbd4 testlab bbclass: this has moved to meta-oe, so delete it
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-16 23:24:00 +02:00
Graeme Gregory
17ecf9dacf angstrom.bbclass rename to angstrom-blacklist
originally I had another couple of utility functions in this class but
I removed them before pushing upstream. Rename now so its purpose is
clearer.

Signed-off-by: Graeme Gregory <dp@xora.org.uk>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-03-20 08:54:52 +01:00
Khem Raj
d929a25fe2 classes/angstrom-mirrors.bbclass: Add osc, p4 svk to possible mirror hits
Remove duplication of mirrors and premirrors. They already come from
angstrom-mirrors class

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-03-12 16:20:04 +01:00
Koen Kooi
7acf03e8d4 base.bbclass: COMPATIBLE_MACHINE is now in oe-core, drop class from overlay
http://cgit.openembedded.org/cgit.cgi/openembedded-core/commit/?id=dc303cbf25cf48aa98ff1979882820dd25f8cd9d

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-03-02 10:05:31 +01:00
Koen Kooi
d14b9341cc base bbclass: sync with yocto
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-02-17 15:08:18 +01:00
Koen Kooi
64bd782843 base bbclass: catch up with yocto fetcher2 changes
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-02-07 10:40:56 +01:00
Koen Kooi
e2ef6a5560 base bbclass: catch up with yocto
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-02-01 13:32:36 +01:00