[yocto] Add package to rootfs

2019-11-29 Thread JH
Hi, I built a Yocto image in a file app-image.rootfs.tar.gz, I also built a kernel initramfs to bundle the rootfs, but that kernel rootfs is different to my app-image.rootfs.tar.gz, how to define IMAGE_ROOTFS to have my kernel rootfs point to the same rootfs packaged to app-image.rootfs.tar.gz? T

[yocto] How does metadata include in an image recipe work?

2019-11-29 Thread JH
Hi, I have two images recipes, one is included in another image recipe: $ ls recipes-core/images ex-image1.bb ex-image2.bb $ cat recipes-core/images/ex-image2.bb include ex-image1.bb .. My understanding that the metadata "include" is to include all image files defined in the included reci

[yocto] [matchbox-wm][PATCH] keys: Avoid freeing Wm_config member pointer in keys_load_config().

2019-11-29 Thread Simon Haggett
If the Wm_config instance contains a non-NULL pointer in its kbd_conf_file member, then (in a build that does not use gconf) keys_load_config() will assign that pointer to a local conf_path variable. However, keys_load_config() later calls free() on this conf_path variable (since it may instead hav

[yocto] Copy initramfs to rootfs

2019-11-29 Thread Sinisa
Hello everyone, I started to build kernel with initramfs, and so far all that works great. I got my new shiny zImage-initramfs--4.1.14..xxx.bin. I can boot it over tftp, its does exactly what i want. Problem im facing is, how do i put this new zImage instead of originally built zImage in final ro

Re: [yocto] [meta-mingw][PATCH] gettext: adapt for version 0.20

2019-11-29 Thread Alexander Kanavin
On Fri, 29 Nov 2019 at 16:24, Joshua Watt wrote: > On Thu, Nov 28, 2019 at 11:47 AM Alexander Kanavin > wrote: > > > > Drop backported patch (new gettext includes the updates). > > > > Drop version from the .bbappend (hopefully no version-specific > > tweaks will be needed going forward). > > I'

Re: [yocto] [patchtest][PATCH 1/2] patchtest: Fix printing of exception tracebacks

2019-11-29 Thread Paul Barker
On Fri, 15 Nov 2019, at 13:23, Paul Barker wrote: > The addError() handler is called outside of an actual exception handler > so sys.exc_info() doesn't actually return an exception. This means that > traceback.print_exc() doesn't know what to print. Instead we need to use > traceback.print_exceptio

Re: [yocto] [patchtest-oe][PATCH] test_patch_upstream_status: Be explicit about case sensitivity

2019-11-29 Thread Paul Barker
On Fri, 15 Nov 2019, at 13:09, Paul Barker wrote: > The case sensitivity of the checks for the "Upstream-Status" label > should match so that failure messages make sense. The checks in the > parse_upstream_status module are case sensitive and so the initial regex > check should also be made case se

Re: [yocto] [meta-mingw][PATCH] gettext: adapt for version 0.20

2019-11-29 Thread Joshua Watt
On Thu, Nov 28, 2019 at 11:47 AM Alexander Kanavin wrote: > > Drop backported patch (new gettext includes the updates). > > Drop version from the .bbappend (hopefully no version-specific > tweaks will be needed going forward). I've applied this to master-next, we can pull up master once the oe-co

Re: Private: Re: [yocto] source.list for apt tool in yocto image for raspberry pi #yocto #raspberrypi #debian #apt

2019-11-29 Thread Josef Holzmayr
On Fri, Nov 29, 2019 at 04:29:59AM -0800, keyurthumar0...@gmail.com wrote: > On Fri, Nov 29, 2019 at 04:23 AM, Josef Holzmayr wrote: > > > > > use it like a debian, and think it should behave like a debian, then you > > Hey thank you for the reply. > > I don't want to use any runtime package ma

Re: [yocto] source.list for apt tool in yocto image for raspberry pi #yocto #raspberrypi #debian #apt

2019-11-29 Thread Josef Holzmayr
On Fri, Nov 29, 2019 at 03:56:41AM -0800, keyurthumar0...@gmail.com wrote: There is a lot of things confused in here, it seems. > I Have built yocto image for raspberry pi. Ok. Congratulations! > It is debian based and... You mean, you set packege PACKAGE_CLASSES ?= "package_deb"? > ...apt is

[yocto] source.list for apt tool in yocto image for raspberry pi #yocto #raspberrypi #debian #apt

2019-11-29 Thread keyurthumar0402
I Have built yocto image for raspberry pi. It is debian based and apt is already installed. What should i write in source.list ? As I don' t have my personal repository please suggest some standard repository. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply

Re: Private: Re: [yocto] Which layer is best for tpm2 stack

2019-11-29 Thread Maciej Pijanowski
On 29.11.2019 11:01, Diego Santa Cruz via Lists.Yoctoproject.Org wrote: > > Dear all, > >   > > I got the feedback below by private email (was meant to be sent to the > m-l), so I think I’ll go with meta-tmp2 from meta-secure-core for now. > >   > > But I may switch to meta-tpm from meta-security

Re: Private: Re: [yocto] Which layer is best for tpm2 stack

2019-11-29 Thread Diego Santa Cruz via Lists.Yoctoproject.Org
Dear all, I got the feedback below by private email (was meant to be sent to the m-l), so I think I’ll go with meta-tmp2 from meta-secure-core for now. But I may switch to meta-tpm from meta-security in the future as it seems to have more tpm2 related recipes (I’m on thud for now and the tpm2-t