[yocto] git works standalone, but not within yocto for certain ssh uri format

2018-10-04 Thread Jakob Hasse
fore? All the Best, Jakob On 19.09.2018 11:05, Jakob Hasse wrote: Hello, I have several projects hosted in Azure DepOs (former Visual Studio online). When I glone them with git inside my host machine or the Ubuntu 16.04 container, everything works fine. When I use bitbake to build the recipe with

Re: [yocto] git works standalone, but not within yocto for weird Azure Devops ssh uri

2018-10-03 Thread Jakob Hasse
wrote: > > From: yocto-boun...@yoctoproject.org [yocto-boun...@yoctoproject.org] on > behalf of Jakob Hasse [jakob.ha...@qiio.com] > Sent: 19 September 2018 10:05 > To: Yocto List > Cc: Andrii Voloshyn > Subject: [yocto] git works stand

[yocto] git works standalone, but not within yocto for weird Azure Devops ssh uri

2018-09-20 Thread Jakob Hasse
   install -m 0755 ${S}/bin/my-app ${D}${bindir}/my-app     chrpath -d ${D}${bindir}/my-app     install -d ${D}${sysconfdir}/init.d     install -c -m 755 ${WORKDIR}/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} } All the Best Jakob -- Jakob Hasse Software Developement E: j

Re: [yocto] cgroups and iptables problems running docker - maybe my config wrong?

2018-06-07 Thread Jakob Hasse
On 04.06.2018 17:53, Bruce Ashfield wrote: On 2018-06-01 12:15 PM, Jakob Hasse wrote: Hello Bruce, Thank you very much for the quick response. I tried to built in the kernel changes. But the iptables error persists. I double checked over the weekend, and I have no problems with linux-yocto

[yocto] [Resolved] Re: cgroups and iptables problems running docker - maybe my config wrong?

2018-06-06 Thread Jakob Hasse
message and one WARNING though, but it does :) If I have more problems, I'll come back to the list. Thank you for the help so far. All the Best, Jakob On 05.06.2018 18:23, Jakob Hasse wrote: Hello, right now, there is no insmod warning anymore, only iptables does still not work with the nat table

[yocto] Where to make image dependent kernel changes while hardware stays same

2018-06-06 Thread Jakob Hasse
Hello, we would like to have different images with different kernel configs/device trees. E.g., we would like to have systemA with uart2 and systemB without uart2 but spi1 instead, with all the different configurations and device trees. The hardware does not change in this case. How can I

Re: [yocto] cgroups and iptables problems running docker - maybe my config wrong?

2018-06-05 Thread Jakob Hasse
: can't initialize iptables table `nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.  (exit status 3) Best Regards, Jakob On 05.06.2018 18:11, Jakob Hasse wrote: On 04.06.2018 17:53, Bruce Ashfield wrote: On 2018-06-01 12:15 PM, Jakob

Re: [yocto] cgroups and iptables problems running docker - maybe my config wrong?

2018-06-04 Thread Jakob Hasse
t.org/show_bug.cgi?id=12025 only that I'm not using different machines. This bug doesn't seem to be resolved yet. Our Yocto-distribution is DIGI Embedded Yocto. So non-standard. Shall I still log a bug against oe-core? If someone here has some more helpful ideas, I would be very thankful.

[yocto] Set route metric in recipe

2018-06-04 Thread Jakob Hasse
Hello, I would like to know how I can set the route metric for specific interfaces in a recipe. I have two interfaces, one eth0 for debugging and one ppp0 (modem) for internet connectivity. Since the eth0 interface has by default a lower route metric, but is not connected to the internet, I

Re: [yocto] cgroups and iptables problems running docker - maybe my config wrong?

2018-06-01 Thread Jakob Hasse
t.org/show_bug.cgi?id=12025 only that I'm not using different machines. This bug doesn't seem to be resolved yet. Our Yocto-distribution is DIGI Embedded Yocto. So non-standard. Shall I still log a bug against oe-core? If someone here has some more helpful ideas, I would be very thankful. A

[yocto] cgroups and iptables problems running docker - maybe my config wrong?

2018-05-31 Thread Jakob Hasse
n and I need to add something in local.conf or the kernel recipe? Is systemd necessary? Or am I missing some life-or-death kernel configuration? It would also be nice if I could avoid the cgroup re-mounting before starting docker. Thanks for every answer! All the Best, Jakob -- Jakob

[yocto] Problem with python ssl binding

2018-05-29 Thread Jakob Hasse
hazmat.bindings._openssl import ffi, lib ImportError: /usr/lib/python2.7/site-packages/cryptography/hazmat/bindings/_openssl.so: undefined symbol: pthread_atfork I can't really find much information about how to fix this error, especially since the pthread_atfork function should always be there i

[yocto] How to set SRC_URI in local.conf / how to set any variable of a specific recipe in local.conf

2018-04-08 Thread Jakob Hasse
Hello, how can I set a another branch, i.e., the SRC_URI variable for a specific recipe in conf/local.conf? Or more general: how can I change the variable of any recipe in local.conf temporarily? I tried something like this already: SRC_ = "..." SRC- = "..." SRC_pn- = "..." I would like to

Re: [yocto] Bitbake problems recognizing the latest version of a repo

2018-04-08 Thread Jakob Hasse
l Eggleton wrote: Hi Jakob, On Thursday, 29 March 2018 12:41:33 AM NZST Jakob Hasse wrote: Right now it's still a mystery for me when bitbake builds the latest version of a repository and why. I make changes in my code and whether I commit them or not, sometimes bitbake builds a package with

[yocto] Bitbake problems recognizing the latest version of a repo

2018-03-28 Thread Jakob Hasse
have to do to build only the latest version of a repository... 1. When it's local on my computer (with EXTERNALSRC_BUILD_pn- = "/home/some/local/location/" in local.conf), 2. When I build from a github or any remote repository. Thanks and Best Regards, Jakob -- Jakob Hasse Software Devel

Re: [yocto] Changing the tty/UART of busybox

2018-02-28 Thread Jakob Hasse
Hi Maxin, thanks, this worked! All the Best, Jakob On 28.02.2018 14:13, Maxin B. John wrote: Hi Jakob, On Wed, Feb 28, 2018 at 11:15:42AM +0100, Jakob Hasse wrote: Hello, we need to change the tty on which busybox is sitting. Right now I could change the UART for the kernel and all

[yocto] Changing the tty/UART of busybox

2018-02-28 Thread Jakob Hasse
:/sbin/getty -L ttymxc1 115200 vt100 | and this |ttymxc1::respawn:/sbin/getty -L ttymxc1 115200 vt100| to inittab to change the UART with no luck. Could someone here point me to documentation or give me a hint to achive this? Thanks in advance, all the Best, Jakob -- Jakob Hasse Software

Re: [yocto] Running Docker

2018-02-28 Thread Jakob Hasse
: On 2018-02-05 4:58 PM, Jakob Hasse wrote: Hello Bruce, Thanks for the reply! No, the interpreter seems to be different, other executables are e.g.: # file /usr/bin/python2.7 /usr/bin/python2.7: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux

Re: [yocto] Running Docker

2018-02-05 Thread Jakob Hasse
:05, Bruce Ashfield wrote: On 02/02/2018 11:21 AM, Jakob Hasse wrote: Hello, file says: # file /usr/bin/docker /usr/bin/docker: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 3.2.0, BuildID[sha1

Re: [yocto] Running Docker

2018-02-02 Thread Jakob Hasse
, Bruce Ashfield wrote: On 2018-02-02 10:57 AM, Jakob Hasse wrote: Hello Bruce, Thank you for the advice with the morty branch, this worked perfectly. Now, however, docker is installed on my Yocto-system but I can't run it: ~# docker -sh: /usr/bin/docker: No such file or directory I've seen

[yocto] Running Docker

2018-02-02 Thread Jakob Hasse
cker run hello-world")? On my Ubuntu machine, this works, I installed docker and docker.io via apt, then I could run "docker run hello-world". All the Best and many thanks in advance! Jakob On 26.01.2018 14:05, Bruce Ashfield wrote: On 2018-01-26 6:52 AM, Jakob Hasse wrote: H

[yocto] adding meta-virtualization gives bitbake error

2018-01-26 Thread Jakob Hasse
Do we need to checkout a specific branch or so (though I can't find one right now)? Do we need to change some kernel configuration? I added all virtualization drivers in the "drivers" section of the kernel config already. We're using DIGI embedded Yocto 2.2 (poky). Thanks and all th

Re: [yocto] openssl/Certificate problems when running simple MS IoT Hub sample C application

2017-06-26 Thread Jakob Hasse
Hello Khem, thanks for the answer. I'm pretty sure now that it is an ssl problem (see below). On 26.06.2017 16:28, Khem Raj wrote: On Sun, Jun 25, 2017 at 11:35 PM, Jakob Hasse <jakob.ha...@smart-home-technology.ch> wrote: Hello, I'm trying to run the Mircosoft Azure IoT hub mqtt e

[yocto] network problems when running simple MS IoT Hub sample C application

2017-06-26 Thread Jakob Hasse
he network is also the same as on the host machine. I would be very happy for ideas about what went wrong here. Best regards, Jakob -- Jakob Hasse Software Developement E: jakob.ha...@smart-home-technology.ch T: +41 44 552 02 66 Smart Home Technology GmbH www.smart-home-tec

Re: [yocto] Building boost-python

2017-06-07 Thread Jakob Hasse
On 07.06.2017 11:59, VanCutsem, Geoffroy wrote: -Original Message- From: yocto-boun...@yoctoproject.org [mailto:yocto- boun...@yoctoproject.org] On Behalf Of Jakob Hasse Sent: Wednesday, June 7, 2017 11:48 AM To: Yocto List <yocto@yoctoproject.org> Subject: [yocto] Building

[yocto] Building boost-python

2017-06-07 Thread Jakob Hasse
eta-java/ \ /usr/local/dey-2.0/sources/meta-iot-cloud/ \ " BBLAYERS_NON_REMOVABLE ?= " \ /usr/local/dey-2.0/sources/poky/meta \ /usr/local/dey-2.0/sources/poky/meta-yocto \ " Any help is welcome! Jakob -- Jakob Hasse Software Developement E: jakob.ha...@smart-home-t

Re: [yocto] CMake project not building; building from local git repo possible

2017-05-30 Thread Jakob Hasse
Hi Marek, On 30.05.2017 11:37, Belisko Marek wrote: Hi Jakob, On Tue, May 30, 2017 at 11:28 AM, Jakob Hasse <jakob.ha...@smart-home-technology.ch> wrote: Hi Marek, please don't top post http://www.idallen.com/topposting.html :) Thanks for your answer! I did use a local repo folder s

Re: [yocto] CMake project not building; building from local git repo possible

2017-05-30 Thread Jakob Hasse
/workspace/newuvalue/tmp/work/cortexa7hf-neon-dey-linux-gnueabi/stlink/0.1-r0/temp/log.do_configure.3539) I have no idea why, but in the original source folder the CMakeLists.txt is there... Cheers, Jakob On 29.05.2017 21:24, Belisko Marek wrote: Hi Jakob, On Mon, May 29, 2017 at 6:29 PM, J

[yocto] CMake project not building; building from local git repo possible

2017-05-29 Thread Jakob Hasse
z out of the checked out source folder, otherwise bitbake complained. Is it possible to base a yocto package on a local source folder using autotools or cmake class?. All the examples I found either use remote git repos + autotools/cmake or a local source folder without autotools/cmake. Cheers and

[yocto] add users doesn't work

2017-02-27 Thread Jakob Hasse
to make this work? And is the recipe the right place for this line (FAQ doesn't mention this)? Kind Regards, Jakob -- Jakob Hasse Software Developement E: jakob.ha...@smart-home-technology.ch T: +41 44 552 02 66 Smart Home Technology GmbH www.smart-home-technology.ch

Re: [yocto] Empty "normal" package, filled dev and dbg packages, tr-50 lib

2017-02-02 Thread Jakob Hasse
_SOLIBSDEV = "${libdir}/libtr50.so" FILES_${PN} += "${libdir}/libtr50-*.so" BTW, missing from your original email were the warnings / errors that you surely should have seen printed (assuming you haven't disabled them). For future reference those would have been useful to have.

[yocto] Empty "normal" package, filled dev and dbg packages, tr-50 lib

2017-01-31 Thread Jakob Hasse
.kc8apf.net/category/dear-brother-yocto/. (Note to Yocto experts: I'm certain to get things wrong in my explanations. Please send in corrections as well. I'm happy to include them.). Rick On Fri, Jan 27, 2017 at 6:51 AM, Jakob Hasse <jakob.ha...@smart-home-technology.ch <mailto:jakob

Re: [yocto] Where to find help for yocto application and and system development

2017-01-27 Thread Jakob Hasse
hen find an existing recipe that uses "autotools" and another that DEPENDS on openssl. There are a lot of resources online: http://www.yoctoproject.org/docs/1.6.1/dev-manual/dev-manual.html#new-recipe-writing-a-new-recipe https://www.yoctoproject.org/tools-resources/community/irc Rega

[yocto] Where to find help for yocto application and and system development

2017-01-27 Thread Jakob Hasse
is that the lib needs openssl-dev. I can't find how to include openssl-dev into the Yocto build. Looking forward for your answers, best regards, Jakob -- Jakob Hasse Software Developement E: jakob.ha...@smart-home-technology.ch T: +41 44 552 02 66 Smart Home Technology GmbH www.smart-home-technology.ch