[OE-core] [PATCH] Small improvement for the initscripts package

Jef.Driesen at niko.eu Jef.Driesen at niko.eu
Tue Oct 3 15:03:05 UTC 2017


Burton, Ross [ross.burton at intel.com]
> On 3 October 2017 at 11:03, <Jef.Driesen at niko.eu> wrote:
>> Note: base-files-emperor is the package with the custom init scripts. I added:
>>
>> PROVIDES = "initscripts"
>>
>> And in conf/machine/emperor.conf, I added:
>>
>> PREFERRED_PROVIDER_initscripts = "base-files-emperor"
>>
>  If your initscripts package is a replacement for the oe-core initscripts package, then also set RPROVIDES_${PN} += "initscripts".

I tried your suggest, but I still get the error:

"The recipe base-files-emperor is trying to install files into a shared area when those files already exist." error

With base-files-emperor.bb containing:

PROVIDES += "initscripts"
RPROVIDES_${PN} += "initscripts"

What am I still doing wrong?

(I'll try to re-build after wiping the tmp directory tonight. A simple "bitbake -c cleanall initscripts base-files-emperor" didn't help.)

Jef
Disclaimer

This e-mail and its attachments is intended only for the person(s) or entity to which it is addressed. If you receive this e-mail by mistake, please delete this e-mail from your system and destroy all copies of it. It may contain confidential and/or privileged information. You should not copy it or use it for any purpose nor disclose its contents to any person unless allowed by a written document between the sender and the addressee.



More information about the Openembedded-core mailing list