[embug] [Yocto] Change/overwrite file provided by another recipe

  • From: DI Andreas Auer <andreas.auer@xxxxxxxxxxxx>
  • To: embug@xxxxxxxxxxxxx
  • Date: Mon, 13 Jan 2020 12:02:17 +0100

Hello.

I would like to integrate the "installation" of a website in Yocto. My
preferred way would be to have a new recipe which clones my GIT repo
containing the HTML files and installs them in the Yocto image.
The "problem" is that when I install my HTML files, I'm overwriting the
original index.html file provided by the apache recipe. And when I
overwrite a file which is provided by another recipe, Yocto is complaining.

I know, it would be possible to write a bbappend file for the apache
recipe to integrate my website. But I think it would be better to have
this separated (website and webserver).

So, question is: Is it possible to change/overwrite files which are
provided by another recipe in a way that Yocto is not complaining about it?

BR
Andreas

-- 
Embedded Microtec
Hardware Design | Software Design | Smartphone Apps

DI Andreas Auer
Münzgrabenstraße 168/4
8010 Graz, Austria

VAT-ID: ATU66483566
mobile: +43 650 8123818
web   : www.emicrotec.at
email : andreas.auer@xxxxxxxxxxxx

Other related posts: