poky.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
From: Arno Steffens <star@gmx.li>
To: Peter Kjellerstedt <peter.kjellerstedt@axis.com>,
	"poky@lists.yoctoproject.org" <poky@lists.yoctoproject.org>
Subject: Re: [poky] let the manifest/used licenses become part of image
Date: Tue, 14 Nov 2023 08:53:13 +0100	[thread overview]
Message-ID: <b7d7cf97-4750-45d7-aebe-a3d01d0e081e@gmx.li> (raw)
In-Reply-To: <DB5PR02MB10213A41BAD15B82E2709E7D4EFAEA@DB5PR02MB10213.eurprd02.prod.outlook.com>

Am 10.11.23 um 21:55 schrieb Peter Kjellerstedt:
>> -----Original Message-----
>> From: poky@lists.yoctoproject.org <poky@lists.yoctoproject.org> On Behalf
>> Of Steve via lists.yoctoproject.org
>> Sent: den 9 november 2023 08:17
>> To: poky@lists.yoctoproject.org
>> Subject: [poky] let the manifest/used licenses become part of image
>>
>> Hi,
>> think it makes sense to provide in the image itself the manifest and
>> what licenses are used.
>>
>> I want to copy the *.manifest to some place in filesystem, but that
>> doesn't work. Even if done in IMAGE_POSTPROCESS_COMMAND, the manifest
>> file seems to be generated at a later stage.
>> Although here is stated something different:
>> https://docs.yoctoproject.org/overview-manual/concepts.html#image-generation
>>
>> Any hint how to work around that? Or am I completly wrong?
>> Best regards,
>> Arno
>>
>> Another thing. The tmp/deploy/license folder keeps all ever used
>> packages. How to get only thoses licenses that used (as in manifest)?
>
> If you set:
>
> COPY_LIC_MANIFEST = "1"
> COPY_LIC_DIRS = "1"
>
> in your configuration, you should get the license manifest and the
> licenses added to your rootfs.
>
> //Peter
>

Thanks Peter,
that helps me a lot! To not spend so much space in final rootfs, I
compress that folder /usr/share/common-licenses into a single file and
remove that original /usr/share/common-licenses via
ROOTFS_POSTPROCESS_COMMAND.
Best regards,
Arno





      reply	other threads:[~2023-11-14  7:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-09  7:16 let the manifest/used licenses become part of image Arno Steffens
2023-11-10 20:55 ` [poky] " Peter Kjellerstedt
2023-11-14  7:53   ` Arno Steffens [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b7d7cf97-4750-45d7-aebe-a3d01d0e081e@gmx.li \
    --to=star@gmx.li \
    --cc=peter.kjellerstedt@axis.com \
    --cc=poky@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).