[yocto] What is the common way to extend an package without bbappend?

S.Jaritz at esa-grimma.de S.Jaritz at esa-grimma.de
Wed Sep 28 06:40:23 PDT 2016


Hej

I want to install apache2 + a website. For that I need to copy my website 
to the std. dir defined in the apache config file. In my thinking my 
website uses the apache service to be aviable and therefore is an own 
package (myweb.bb). This package contains the dependency to the "apache2" 
recipe.

When populate_sysroot is called in myweb.bb finishes with the error:

myweb-1.0-r0 do_populate_sysroot: The recipe myweb is trying to install 
files into a shared area when those files already exist. Those files and 
their manifest location are:
 
/home/user/myTC/poky/build/tmp/sysroots/sama5d3xek/usr/share/apache2/htdocs/index.html

because the index.html needs to be overwritten.

Is there a easy way to overwrite or tell bitbake to uses my index.html?

regards!

Stefan Jaritz

------------------------------------------------------------
ESA Elektroschaltanlagen Grimma GmbH
Broner Ring 30
04668 Grimma
Telefon: +49 3437 9211 176
Telefax: +49 3437 9211 26
E-Mail: s.jaritz at esa-grimma.de
Internet: www.esa-grimma.de


Geschäftsführer:
Dipl.-Ing. Jörg Gaitzsch
Jörg Reinker

Sitz der Gesellschaft: Grimma
Ust.-ID: DE 141784437
Amtsgericht: Leipzig, HRB 5159
Steuernummer: 238/108/00755


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich 
erhalten 
haben, informieren Sie bitte sofort den Absender und löschen Sie diese 
Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser 
Mail 
ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you 
are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is 
strictly 
forbidden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160928/696808c6/attachment.html>


More information about the yocto mailing list