[yocto] Using dpkg-buildpackage within Yocto image

2018-10-25 Thread Fabian Sturm
Hello, I would like to be able to build debian packages on yocto itself. This means I would call something like this:      dpkg-buildpackage -us -uc -rfakeroot This already does not work, since fakeroot does not exist in the image. It seems there was an older recipe for this but I can't

[yocto] Python3 sqlite does not work

2018-09-24 Thread Fabian Sturm
Hi,  I added python3 to my yocto build and it seems python-sqlite3 is not working due to a missing file. If I change python3-manifest.json from here:   http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-devt ools/python/python3/python3-manifest.json?h=sumo to also include the

Re: [yocto] Native yocto compile in docker container without cross compile

2018-09-19 Thread Fabian Sturm
Hmm I guess I was way overthinking this. The idea seems to just create a secong image definition like this it seems: core-image-minimal-dev.bb: require core-image-minimal.bb DESCRIPTION = "A small image just capable of allowing a device to boot and \ is suitable for development

Re: [yocto] Native yocto compile in docker container without cross compile

2018-09-19 Thread Fabian Sturm
Hi, no this is not what I am searching for. What I want is gcc cmake and other tools to be installed inside of the Yocto image, so that I can compile natively in Yocto without having to hack build scripts to work with a cross compiler.  But of course I don'T want to deliver gcc and others with

[yocto] Native yocto compile in docker container without cross compile

2018-09-18 Thread Fabian Sturm
Hi,  I am wondering, there does not seem to be any information about native compile of projects in a Yocto docker container. It seems that most of the people use cross compile even though that imho is not necessary if your target is x86 too. So here is what I want to do: - Create a docker