Re: [yocto] Python function caching question

2020-11-23 Thread Richard Purdie
On Sun, 2020-11-22 at 19:16 -0700, Michael Callahan wrote: > I am having trouble with sstate caching of my os-release.bbappend and > am stuck. The simple example file looks like something below, where > I > am setting a variable from a computed python function. What's the > magic > to make the

Re: [yocto] Python function caching question

2020-11-23 Thread Michael Callahan
I do not want do_compile to run again, it rebuilds the whole image. What is the best way to always run find_version? On Sun, Nov 22, 2020 at 7:53 PM Khem Raj wrote: > > On Sun, Nov 22, 2020 at 6:17 PM Michael Callahan > wrote: > > > > I am having trouble with sstate caching of my

Re: [yocto] OE/YP equivalent to 'mtree'?

2020-11-23 Thread Randy MacLeod
On 2020-11-23 2:26 p.m., Robert P. J. Day wrote:   colleague wants to know if there is something available in an OE/YP layer equivalent to mtree:   https://linux.die.net/man/8/mtree i'm looking at a few possibilities right now but nothing seems really equivalent. thoughts? It don't see

Re: [yocto] Disable systemd-timesyncd.service in image

2020-11-23 Thread Konrad Weihmann
The service is deployed with standard systemd package, which doesn't have that set as far as I see it (no SYSTEMD_AUTO_ENABLE_${PN} in the latest recipe revision) I think, after browsing through the code of systemd - this "autostart" behavior comes from [1]. So I would say you can disable it

Re: [yocto] Disable systemd-timesyncd.service in image

2020-11-23 Thread Joel A Cohen
I think you need to set SYSTEMD_AUTO_ENABLE = “disable” (actually any value other than “enable”) in your bbappend. (It looks like SYSTEMD_AUTO_ENABLE_${PN} is intended to work too, but I can’t verify it at the moment and reading over systemd.bbclass I’m not sure if it works or not) —Aaron On

[yocto] Disable systemd-timesyncd.service in image

2020-11-23 Thread Damien LEFEVRE
Hi, I would like to have systemd-timesyncd.service as part of an image but have it disabled by default. Right now it is enabled by default which causes some issues. I've tried systemd_%.bbappend do_install_append() { rm "$D/etc/systemd/system/dbus-org.freedesktop.timesync1.service" rm

[yocto] OE/YP equivalent to 'mtree'?

2020-11-23 Thread Robert P. J. Day
colleague wants to know if there is something available in an OE/YP layer equivalent to mtree: https://linux.die.net/man/8/mtree i'm looking at a few possibilities right now but nothing seems really equivalent. thoughts? rday -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent

Re: [yocto] strange meta-security bbappend file with two percent signs

2020-11-23 Thread akuster
On 11/21/20 1:56 PM, Robert P. J. Day wrote: > while the bitbake user manual insists: > > "The use of the ” % ” character is limited in that it only works > directly in front of the .bbappend portion of the append file’s name. > You cannot use the wildcard character in any other location of

Re: [yocto] Hardware video decode on RPi3

2020-11-23 Thread Rudolf J Streif
Thanks, Khem. On 11/22/20 11:15 PM, Khem Raj wrote: On Thu, Nov 19, 2020 at 7:38 PM Rudolf J Streif wrote: I am trying to play back mp4 video (venerable Big Buck Bunny at this time) on RPi3. I added gstreamer1.0, gstreamer1.0-omx and the plugins to the image. libgstomx.so is installed in

Re: [yocto] Packagegroup Understanding

2020-11-23 Thread Nicolas Dechesne
On Mon, Nov 23, 2020 at 11:51 AM Charlie Davies wrote: > > Hi All, > > I am seeing some behaviour when creating my own packagegroups which I do not > quite understand. > > Using the example from the mega-manual: > > DESCRIPTION = "My Custom Package Groups" > > inherit packagegroup > >