[yocto] FILESEXTRAPATHS_prepend fails for systemd

2015-10-02 Thread Fred Ollinger
I'm trying to change my /etc/systemd/journald.conf file. I have created a file in: our_system/recipe-core/systemd_%.bbappend With the contents: FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" I created a directory in the same path called "systemd" and placed our new version of

Re: [yocto] FILESEXTRAPATHS_prepend fails for systemd

2015-10-02 Thread Martin Jansa
On Fri, Oct 02, 2015 at 03:58:04PM +, Fred Ollinger wrote: > I'm trying to change my /etc/systemd/journald.conf file. > > > I have created a file in: > > > our_system/recipe-core/systemd_%.bbappend > > > With the contents: > > > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" This

Re: [yocto] FILESEXTRAPATHS_prepend fails for systemd

2015-10-02 Thread Christopher Larson
On Fri, Oct 2, 2015 at 11:22 AM, Daniel. wrote: > Where can I find this recipetool!? It seems a nice tool to have :) > It's in oe-core/scripts or poky/scripts in any recent release. It'll be in the PATH after sourcing the setup scripts. -- Christopher Larson clarson at

Re: [yocto] FILESEXTRAPATHS_prepend fails for systemd

2015-10-02 Thread Christopher Larson
On Fri, Oct 2, 2015 at 11:11 AM, Daniel. wrote: > But this will only work if journald.conf are the same in all systemd > versions (since you use a _%.bbappend). A better solution would be append > install task with a copy from your custom journald.conf to install folder, >

Re: [yocto] FILESEXTRAPATHS_prepend fails for systemd

2015-10-02 Thread Daniel.
Where can I find this recipetool!? It seems a nice tool to have :) 2015-10-02 15:21 GMT-03:00 Christopher Larson : > > On Fri, Oct 2, 2015 at 11:11 AM, Daniel. wrote: > >> But this will only work if journald.conf are the same in all systemd >>

Re: [yocto] FILESEXTRAPATHS_prepend fails for systemd

2015-10-02 Thread Christopher Larson
On Fri, Oct 2, 2015 at 8:58 AM, Fred Ollinger wrote: > I'm trying to change my /etc/systemd/journald.conf file. > recipetool appendfile sounds like exactly what you want here. -- Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded,

Re: [yocto] FILESEXTRAPATHS_prepend fails for systemd

2015-10-02 Thread Daniel.
But this will only work if journald.conf are the same in all systemd versions (since you use a _%.bbappend). A better solution would be append install task with a copy from your custom journald.conf to install folder, something like: do_install_append() { cp ${S}/myjournald.conf

Re: [yocto] FILESEXTRAPATHS_prepend fails for systemd

2015-10-02 Thread Daniel.
Daisy doesn't have it :( Thank you for this information :) Cheers, 2015-10-02 15:24 GMT-03:00 Christopher Larson : > > On Fri, Oct 2, 2015 at 11:22 AM, Daniel. wrote: > >> Where can I find this recipetool!? It seems a nice tool to have :) >> > >