[OE-core] [meta-oe][PATCH] paho-mqtt-c: enable SSL

2019-07-01 Thread Erik Botö
Pass the option PAHO_WITH_SSL=ON when invoking cmake in order to enable the build of the SSL variants of the libraries. Signed-off-by: Erik Botö --- meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-connectivity

[OE-core] [PATCH] testimage: Add possibility to pass parmeters to qemu

2018-12-14 Thread Erik Botö
Add a variable called TEST_QEMUPARAMS in testimage.bbclass to make it possible to pass parameters to qemu. This can be useful for e.g. increasing the amount of RAM available during testimage runs. Signed-off-by: Erik Botö --- meta/classes/testimage.bbclass | 5 - 1 file changed, 4

Re: [OE-core] [PATCHv2] testexport: Add support for testcase utils

2018-09-26 Thread Erik Botö
Bumping this thread in hope to get some feedback. Cheers, Erik On Tue, Sep 18, 2018 at 11:36 AM Erik Botö wrote: > > Add the possibility to ship a lib/oeqa/runtime/cases/utils directory > that will be included in the generated testexport tarball. > > This makes it easier

[OE-core] [PATCHv2] testexport: Add support for testcase utils

2018-09-18 Thread Erik Botö
Add the possibility to ship a lib/oeqa/runtime/cases/utils directory that will be included in the generated testexport tarball. This makes it easier to split common functionality from test suites into modules that can be imported from multiple test suites. Signed-off-by: Erik Botö --- meta

[OE-core] [PATCH] testexport: Add support for testcase utils

2018-09-18 Thread Erik Botö
Add the possibility to ship a lib/oeqa/runtime/cases/utils directory that will be included in the generated testexport tarball. This makes it easier to split common functionality from test suites into modules that can be imported from multiple test suites. --- meta/classes/testexport.bbclass | 26

[OE-core] [PATCH v2 2/4] masterimage.py: rename parameter "params" in start() to "extra_bootparams"

2017-05-28 Thread Erik Botö
This matches how it is called, and how it is named in qmeu target. [YOCTO #11524] Signed-off-by: Erik Botö --- meta/lib/oeqa/controllers/masterimage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/controllers/masterimage.py b/meta/lib/oeqa/controllers

[OE-core] [PATCH v2 1/4] masterimage.py: fix issue with calling reboot on masterimage/DUT

2017-05-28 Thread Erik Botö
On systemd systems calling reboot over an ssh connection doesn't return as expected causing an exception, therefore wrap the call to reboot in order to avoid this issue. [YOCTO #11524] Signed-off-by: Erik Botö --- meta/lib/oeqa/controllers/masterimage.py | 2 +- 1 file changed, 1 inse

[OE-core] [PATCH v2 3/4] masterimage.py: fix stop()

2017-05-28 Thread Erik Botö
The stop() function is called in the context of the masterimage, so self.master should be used instead of self.connection which is undefined at that time. [YOCTO #11524] Signed-off-by: Erik Botö --- meta/lib/oeqa/controllers/masterimage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[OE-core] [PATCH v2 4/4] sshcontrol.py: in copy_to() always use scp

2017-05-28 Thread Erik Botö
The current implementation is broken when the localpath is a link. Then only a symlink would be created on the target, instead of copying the actual file. [YOCTO #11524] Signed-off-by: Erik Botö --- meta/lib/oeqa/utils/sshcontrol.py | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions

[OE-core] [PATCH v2 0/4] oeqa: fix runtime testing using systemd-boot target

2017-05-28 Thread Erik Botö
When I was setting up automated runtime testing using the systemd-boot target I hit a couple of bugs that I addressed. There is an open bug on this in Yocto Bugzilla #11524. Changes since v1: Added cover letter and references bug from commit msgs Cheers, Erik meta/lib/oeqa/controllers/masterima

Re: [OE-core] [PATCH 1/4] masterimage.py: fix issue with calling reboot on masterimage/DUT

2017-05-26 Thread Erik Botö
://bugzilla.yoctoproject.org/show_bug.cgi?id=11524. Cheers, Erik On 05/19/2017 04:20 PM, Erik Botö wrote: On systemd systems calling reboot over an ssh connection doesn't return as expected causing an exception, therefore wrap the call to reboot in order to avoid this issue. Signed-off-by: Erik

Re: [OE-core] [PATCH 1/4] masterimage.py: fix issue with calling reboot on masterimage/DUT

2017-05-19 Thread Erik Botö
On 2017-05-19 16:59, Leonardo Sandoval wrote: On Fri, 2017-05-19 at 16:20 +0200, Erik Botö wrote: On systemd systems calling reboot over an ssh connection doesn't return as expected causing an exception, therefore wrap the call to reboot in order to avoid this issue. Signed-off-by: Erik

[OE-core] [PATCH 4/4] sshcontrol.py: in copy_to() always use scp

2017-05-19 Thread Erik Botö
The current implementation is broken when the localpath is a link. Then only a symlink would be created on the target, instead of copying the actual file. Signed-off-by: Erik Botö --- meta/lib/oeqa/utils/sshcontrol.py | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a

[OE-core] [PATCH 1/4] masterimage.py: fix issue with calling reboot on masterimage/DUT

2017-05-19 Thread Erik Botö
On systemd systems calling reboot over an ssh connection doesn't return as expected causing an exception, therefore wrap the call to reboot in order to avoid this issue. Signed-off-by: Erik Botö --- meta/lib/oeqa/controllers/masterimage.py | 2 +- 1 file changed, 1 insertion(+), 1 del

[OE-core] [PATCH 3/4] masterimage.py: fix stop()

2017-05-19 Thread Erik Botö
The stop() function is called in the context of the masterimage, so self.master should be used instead of self.connection which is undefined at that time. Signed-off-by: Erik Botö --- meta/lib/oeqa/controllers/masterimage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[OE-core] [PATCH 2/4] masterimage.py: rename parameter "params" in start() to "extra_bootparams"

2017-05-19 Thread Erik Botö
This matches how it is called, and how it is named in qmeu target. Signed-off-by: Erik Botö --- meta/lib/oeqa/controllers/masterimage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/controllers/masterimage.py b/meta/lib/oeqa/controllers/masterimage.py index

Re: [OE-core] [PATCH] valgrind: remove arm tests that don't compile

2015-06-11 Thread Erik Botö
Hi, I'd like to see this backported into fido if possible, I saw that it's now merged in master. http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d1ce219960c031c00b48bf454b740b8bffcfbc43 Cheers, Erik On Fri, May 22, 2015 at 5:42 PM, Dave Lerner wrote: > [Yocto #7453] > > Corrects the

Re: [OE-core] [PATCH] systemd: don't add files and dependencies from units Conflicts

2014-10-07 Thread Erik Botö
This patch works well for me. Any chance of it getting cherry-picked into Daisy as well? Cheers, Erik On Tue, Oct 7, 2014 at 12:10 AM, Ross Burton wrote: > Adding dependencies and moving files based on Conflicts tags in unit files > isn't > right, mainly as it means that systemd depends on syst

Re: [OE-core] Building mesa uses hosts wayland-scanner instead of version from sysroot

2014-07-02 Thread Erik Botö
eason the one in /usr/bin gets chosen before the sysroot version when available. Cheers, Erik On Wed, Jul 2, 2014 at 9:48 AM, Erik Botö wrote: > Hi, > > I noticed differences when building mesa on my local machine and on > one of our build servers. It failed on my local host due t

[OE-core] Building mesa uses hosts wayland-scanner instead of version from sysroot

2014-07-02 Thread Erik Botö
Hi, I noticed differences when building mesa on my local machine and on one of our build servers. It failed on my local host due to errors in the generated wayland-drm-client-protocol.h but worked on the build server. Examining log.do_compile I noticed that it uses wayland-scanner from /usr/bin/ o

Re: [OE-core] dbus depends on dbus-ptest-ptest if ptest in DISTRO_FEATURES - bug?

2013-11-23 Thread Erik Botö
On Fri, Nov 22, 2013 at 5:35 PM, Burton, Ross wrote: > On 22 November 2013 09:42, Erik Botö wrote: >> I noticed that dbus will pull in the ptest package as soon as ptest is >> in DISTRO_FEATURES, the recipe contains: RDEPENDS_dbus = >> "${@base_contains('DISTRO_

[OE-core] dbus depends on dbus-ptest-ptest if ptest in DISTRO_FEATURES - bug?

2013-11-22 Thread Erik Botö
e.bbclass via COMPLEMENTARY_GLOB[ptest-pkgs] = '*-ptest' ? Then it will only be installed if IMAGE_FEATURES contains ptest, which is how other packages handle ptest packages. If this is not intentional I can write up a patch and test it some. Cheers, Erik Botö __

Re: [OE-core] Issue with pulseaudio and Qt introduced with eglibc 2.18

2013-08-23 Thread Erik Botö
/linux/arm/clone.S:97 from /lib/libc.so.6 #11 0x49fe97c0 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/clone.S:97 from /lib/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) Cheers, Erik On Fri, Aug 23, 2013 at 8:14 AM, Erik Botö wrote: > Hi, > > I&

Re: [OE-core] Issue with pulseaudio and Qt introduced with eglibc 2.18

2013-08-23 Thread Erik Botö
On Fri, Aug 23, 2013 at 8:33 AM, Khem Raj wrote: > can you try > > $ export CANBERRA_DRIVER="null" > > and run the faulty program in this shell. > > Does this fix the problem ? > It did not, same result as before. Cheers, Erik ___ Openembedded-core

[OE-core] Issue with pulseaudio and Qt introduced with eglibc 2.18

2013-08-22 Thread Erik Botö
v/2013-April/015794.html [2]. https://lists.yoctoproject.org/pipermail/meta-freescale/2013-August/004152.html Cheers, Erik Botö ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core

Re: [OE-core] Issue with pseudo on 64-bit build host

2013-06-26 Thread Erik Botö
On Wed, Jun 26, 2013 at 3:30 PM, Laurentiu Palcu wrote: > On Wed, Jun 26, 2013 at 11:33:17AM +0200, Erik Botö wrote: >> Hi, >> >> In bitbake.conf FAKEROOTBASEENV is set to contain >> "PSEUDO_LIBDIR=${STAGING_BINDIR_NATIVE}/../lib/pseudo/lib" but

[OE-core] Issue with pseudo on 64-bit build host

2013-06-26 Thread Erik Botö
tfs(), but this is due to the fact that LD_LIBRARY_PATH in the devshell contains: /tmp/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64 . I couldn't find where this was added to LD_LIBRARY_PATH for devshells though. Cheers, Erik Botö ___ Openembedded-

[OE-core] systemd depends on util-linux

2013-05-16 Thread Erik Botö
an explicit DEPEND += "util-linux" in systemd_199.bb. Cheers, Erik Botö diff --git a/meta/recipes-core/systemd/systemd_199.bb b/meta/recipes-core/systemd/systemd_199.bb index b1cc046..bf59281 100644 --- a/meta/recipes-core/systemd/systemd_199.bb +++ b/meta/recipes-core/systemd/syst

Re: [OE-core] [RFC] bbclass for automatic generation of binary recipes

2013-05-08 Thread Erik Botö
On Wed, May 8, 2013 at 10:01 AM, Robert Yang wrote: > On 05/08/2013 03:35 PM, Erik Botö wrote: >> >> On Wed, May 8, 2013 at 9:12 AM, Robert Yang >> wrote: >>> >>> On 05/08/2013 02:36 PM, Erik Botö wrote: >>>> >>>> >>>

Re: [OE-core] [RFC] bbclass for automatic generation of binary recipes

2013-05-08 Thread Erik Botö
On Wed, May 8, 2013 at 9:12 AM, Robert Yang wrote: > > > On 05/08/2013 02:36 PM, Erik Botö wrote: >> >> Hi, >> >> On Wed, May 8, 2013 at 8:11 AM, Robert Yang >> wrote: >>> >>> >>> Is it similar to meta/classes/package.bb

Re: [OE-core] [RFC] bbclass for automatic generation of binary recipes

2013-05-07 Thread Erik Botö
nerate some extra files. Cheers, Erik > > > On 05/08/2013 01:53 PM, Erik Botö wrote: >> >> Hi, >> >> Background: >> If you use OE to build software which includes e.g. a closed source >> library, but still want to others to be able to build software

[OE-core] [RFC] bbclass for automatic generation of binary recipes

2013-05-07 Thread Erik Botö
re shouldn't need to be adapted to work with one or the other. I'd like feedback on whether you think the idea is feasible, and if you think it could be useful for others. And anything else you think of. Cheers, Erik Botö ___ Openembedded-

[OE-core] [PATCH] systemd: Fix path to systemd-analyze so it end up in the right package.

2013-04-11 Thread Erik Botö
Since the upgrade to version 199 the location for systemd-analyze has change this caused the systemd-analyze package to be empty and the binary was shipped with the systemd package instead. Signed-off-by: Erik Botö --- meta/recipes-core/systemd/systemd_199.bb |2 +- 1 file changed, 1

Re: [OE-core] [PATCH 1/1] systemd: Upgrade to 199

2013-04-02 Thread Erik Botö
Hi, On Thu, Mar 28, 2013 at 8:48 AM, Khem Raj wrote: > udevadm is now moved from /usr/bin to /bin so account for that > bash completions for udevadm should be packages with udev-utils > since thats where udevadm itself is, they were in systemd package > which is not correct location for it It lo

[OE-core] systemd-systemctl-native not pulled in when building systemd image

2013-03-01 Thread Erik Botö
Hi, I'm building a small image with systemd as DISTRO_FEATURES_INITMAN and it's also in DISTRO_FEATURES. But checking the log.do_rootfs I see that systemctl is missing when running the postinst script of e.g. systemd-compat-units. If I put in DEPENDS += " systemd-systemctl-native" in my image rec

[OE-core] meta-qt5 - problems with pkgconfig-0.25

2012-12-20 Thread Erik Botö
Hi, (This message was previously posted to openembedded-devel, but I got feedback that it might belong here) When I build qtbase using https://github.com/meta-qt5/meta-qt5 I get cross compiler badness warnings, it uses some includes from my host machine instead of from sysroot. I have seen this b