Updating configuration files, how to
Hi All,
I am wondering what the best approach is for creating 'standard' packages with updated configuration files. As an example: I want to have a package with an updated /etc/network/interfaces file to reflect my systems hardware. Should I create a init-ifupdown_1.0.bbappend recipe with the updated file?
What other options do I have?
What are you guys using for this?
And how about the package name in such a case. Append something to its name?
Thanks in advance!
Jaap
Quoted 8 lines · Jaap de Jong
Hi All,
I am wondering what the best approach is for creating 'standard' packages with updated configuration files. As an example: I want to have a package with an updated
/etc/network/interfacesfile to reflect my systems hardware. Should I create a init-ifupdown_1.0.bbappend recipe with the updated file?
What other options do I have?
What are you guys using for this?
And how about the package name in such a case. Append something to its name?
I use a init-ifupdown_1.0.bbappend in my target machine (BSP) layer, this way these settings only affect the particular machine(s).
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 10 lines · On Thu, 10 Mar 2016 10:37:10 Gary Thomas wrote:
Quoted 8 lines · Jaap de Jong
I am wondering what the best approach is for creating 'standard' packages with updated configuration files. As an example: I want to have a package with an updated
/etc/network/interfacesfile to reflect my systems hardware. Should I create a init-ifupdown_1.0.bbappend recipe with the updated file? What other options do I have?
What are you guys using for this?
And how about the package name in such a case. Append something to its name?
Quoted 2 lines
I use a init-ifupdown_1.0.bbappend in my target machine (BSP) layer, this way these settings only affect the particular machine(s).
FYI in recent versions (jethro / 2.0+) you can use "recipetool appendfile" to create these bbappends easily. You don't even have to know which recipe is packaging them.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre