All of lore.kernel.org
 help / color / mirror / Atom feed
* How to customize a file coming from another recipe?
@ 2013-09-11 19:24 Brad Litterell
  2013-09-12 11:43 ` Tomas Frydrych
  0 siblings, 1 reply; 7+ messages in thread
From: Brad Litterell @ 2013-09-11 19:24 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 884 bytes --]

I'm building w/the Arago distribution which contains lighttpd for a web server.  I include this in my image as follows:

IMAGE_INSTALL = "packagegroup-core-boot \
...
lighttpd lighttpd-module-cgi lighttpd-module-compress lighttpd-module-expire \
...
"

This installs a default configuration file for the service which I now want to customize.  What is the recommended way to overwrite or customize files in another package?

Is the best course to create a recipe bbappend for the lighttpd_1.4.31.bb file that is being used?  And can I just include a new file with the same name in my append and will it overwrite the old one, or do I need to create an actual patch file?

Or is it better to create a new separate  recipe that just ships my version of the configuration file? How are conflicts handled when two recipes attempt to install the same file?

Thanks,
Brad


[-- Attachment #2: Type: text/html, Size: 1948 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread
* How to customize a file coming from another recipe?
@ 2013-09-11 20:30 Brad Litterell
  2013-09-12 10:16 ` Paul Eggleton
  2013-09-12 10:25 ` Andrea Galbusera
  0 siblings, 2 replies; 7+ messages in thread
From: Brad Litterell @ 2013-09-11 20:30 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 882 bytes --]

I'm building w/the Arago distribution which contains lighttpd for a web server.  I include this in my image as follows:

IMAGE_INSTALL = "packagegroup-core-boot \
...
lighttpd lighttpd-module-cgi lighttpd-module-compress lighttpd-module-expire \
...
"

This installs a default configuration file for the service which I now want to customize.  What is the recommended way to overwrite or customize files in another package?

Is the best course to create a recipe bbappend for the lighttpd_1.4.31.bb file that is being used?  And can I just include a new file with the same name in my append and will it overwrite the old one, or do I need to create an actual patch file?

Or is it better to create a new separate  recipe that just ships my version of the configuration file? How are conflicts handled when two recipes attempt to install the same file?

Thanks,
Brad

[-- Attachment #2: Type: text/html, Size: 1432 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-10-10 10:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-11 19:24 How to customize a file coming from another recipe? Brad Litterell
2013-09-12 11:43 ` Tomas Frydrych
  -- strict thread matches above, loose matches on Subject: below --
2013-09-11 20:30 Brad Litterell
2013-09-12 10:16 ` Paul Eggleton
2013-09-12 11:53   ` Nicolas Dechesne
2013-10-10 10:33     ` Paul Eggleton
2013-09-12 10:25 ` Andrea Galbusera

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.