Hi Andreas!
Without having tested it now, I can think of 3 possible solutions.
1) Add an "install_append" function to your recipe. As far as I
know, this overwrite lock does not apply here.
2) Add an apache_%.bbappend file in which you delete the
index.html file.
3) Maybe there is already a mechanism (variable) in the Apache
recipe that can replace the index file.
Greets Bernd
Am 13.01.20 um 12:02 schrieb DI Andreas Auer:
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