[yocto] License missing coreutils when creating /usr/share/licenses and bbappend

Dr. Matthias Schöpfer Matthias.Schoepfer at ithinx.io
Tue Jul 11 02:43:08 PDT 2017


Hi Khem,



i.A. Dr.-Ing. Matthias  Schöpfer  | ithinx GmbH |  Software Engineer
Phone:  +49 (221) 99589-332 | Fax: +49 (221) 99 589-199  | E-Mail:  Matthias.Schoepfer at ithinx.io


On 07/10/2017 07:27 PM, Khem Raj wrote:
> On 7/10/17 9:19 AM, Dr. Matthias Schöpfer wrote:
>> Hi!
>>
>> We are using yocto / openembedded (pyro). I use:
>>
>> COPY_LIC_MANIFEST = "1"
>> COPY_LIC_DIRS = "1"
>> LICENSE_CREATE_PACKAGE = "1"
>>
>> to generate a /usr/share/licenses and /usr/share/common-licenses
>> respectively. But unfortunately, the coreutils subdirectory is empty.
>>
>> I use a bbappend file containing only:
>>
>> ALTERNATIVE_PRIORITY = "40"
>> ALTERNATIVE_PRIORITY[od] = "100"
>>
>> such that only od gets installed (remaining functionality by busybox).
>>
>> Any hints on how to get the license info in there as well?!
> you might have to check if od is getting installed from coreutils or
> some other package is providing it.

I can confirm that definitely od.coreutils is installed. That works. But
still, License is missing :(

Regards,

    Matthias


More information about the yocto mailing list