[yocto] Public key for U-Boot verified boot is not inserted in DTB when rebuilding from sstate

2017-09-21 Thread Andersen, Christian
Hello, I have a problem with U-Boot verified boot and the sstate caching of build artifacts. On a clean rebuild (deleted sstate and tmp dir), the signed FIT image and U-Boot incl. the public key are correctly created. But when I delete the tmp dir and let bitbake recreate it from sstate, the

[yocto] Building multiple FIT images with different initramfs images

2017-08-29 Thread Andersen, Christian
Hello, we are using signed FIT images to establish a verified boot system. Now I try to generate multiple FIT images, where every image contains another initramfs. The idea is to use a signed FIT image (loaded via TFTP) including a special ramdisk in our production line. This ramdisk only

[yocto] GPG signed package feeds and packages: opkg update fails with "No public key"

2017-08-07 Thread Andersen, Christian
Hello, I am trying to sign our ipk-packages and the package feed using GPG. As far as I can tell the signatures are correctly generated using this in the local.conf: INHERIT += "sign_package_feed sign_ipk" PACKAGE_FEED_GPG_NAME ?= "73CE8000" PACKAGE_FEED_GPG_PASSPHRASE_FILE ?=

Re: [yocto] postinstall intercept hooks fail because of missing qemuwrapper

2017-08-02 Thread Andersen, Christian
ooks fail because of missing > qemuwrapper > > hi, > > this could be fixed by adding "qemuwrapper-cross" to the depends of your > image.bb > > regards > Markus > > On Wed, 2 Aug 2017 09:24:06 + > "Andersen, Christian" <c.ander...@

[yocto] postinstall intercept hooks fail because of missing qemuwrapper

2017-08-02 Thread Andersen, Christian
Hello, we are using the current version of pyro. When building an image recipe we get some warnings, that some postinstall intercept hooks failed. The log-file of do_rootfs shows: NOTE: Running intercept scripts: NOTE: > Executing update_gio_module_cache intercept ...

Re: [yocto] useradd and one sysroot per recipe in pyro

2017-06-20 Thread Andersen, Christian
Hi Laurent, > In pyro the creation of users and group (using the useradd class) is done > during > the package pre-installation. > > So my best guess is that you could move the owner/group change in the package > post-installation as follows: thanks for your advice. Currently it seems - as

Re: [yocto] useradd and one sysroot per recipe in pyro

2017-06-20 Thread Andersen, Christian
Hi Maxin, > > Do I have to add shadow-native in all these recipes or is it a bug / > > regression in > pyro? > > It is one of those "known" limitations which fell through the cracks. > https://bugzilla.yoctoproject.org/show_bug.cgi?id=8078 > > Thanks for bringing this up. We need to address

Re: [yocto] useradd and one sysroot per recipe in pyro

2017-06-14 Thread Andersen, Christian
Hi Maxin, > Here, could you try to build again with an additional DEPENDENCY on shadow- > native: > ie: instead of > >DEPENDS = "puck-base" > DEPENDS = "puck-base shadow-native" > > To be sure, please cleansstate the puck-base and test before build. Thanks! I tried as you suggested (cleansstate

[yocto] useradd and one sysroot per recipe in pyro

2017-06-14 Thread Andersen, Christian
Any ideas how to use "useradd" bbclass with pyro? If I move useradd to my recipe my-appl.bb, it works. But there are more recipes depending on the added user, so I want to add this user in a base-recipe and just depend on it using (DEPENDS/RDEPENDS). Regards Christian Von: Andersen,

[yocto] useradd and one sysroot per recipe in pyro

2017-06-13 Thread Andersen, Christian
Hello, currently I am trying the newest Yocto release (pyro). It seems I have a problem with useradd and the new concept of one sysroot per recipe. I have a base recipe (let's call it my-base.bb) which inherits useradd and creates a new user (let's call him myuser): inherit useradd

[yocto] vmdk and IMAGE_ROOTFS_EXTRA_SPACE?

2016-12-08 Thread Andersen, Christian
Hello, is there a way to add some extra space to the rootfs in a vmdk image? It looks like the option IMAGE_ROOTFS_EXTRA_SPACE is only used by image.bbclass, but not by image-vm.bbclass. Kind regards Christian Andersen KOSTAL Industrie Elektrik GmbH - Sitz Lüdenscheid, Registergericht

Re: [yocto] Trouble with yocto sdk in collaboration with eclipse and cmake

2016-08-01 Thread Andersen, Christian
Hi, >> On Jul 29, 2016, at 1:27 AM, Hartwig, Guido wrote: >> >> Hi, >> I have some trouble with the yocto sdk in collaboration with eclipse and >> yocto CMake project. I have install all necessary eclipse plugins and linked >> my sdk with the yocto-plugin as described in