Hi Christian,

El mié, 8 mar 2023 a las 18:49, Christian Melki
(<christian.me...@t2data.com>) escribió:
>
> Hi.
>
> On 3/8/23 16:56, Guillermo Rodriguez Garcia wrote:
> > Hello all,
> >
> > I have created an image package that signs some files.
> > This package creates two separate files.
> >
> > What is the recommended way to handle this? From the documentation
> > (https://www.ptxdist.org/doc/ref_make_variables.html#image-packages),
> > I believe that <PKG>_IMAGE is expected to contain the filename of one
> > single file. For example the "clean" target uses this to know which
> > file to delete.
> >
> > How can this be adapted for cases where more than one file is generated?
> >
>
> Not sure what you mean by <PKG>_IMAGE. But iirc,
> barebox (etc) image installing packages handle this.
> The rules can install multiple files into image directories and are
> capable of cleaning up after themselves.

Yes but that is a "regular" package.
I am referring to "image packages", which are a bit different; see the
documentation here:
https://www.ptxdist.org/doc/ref_make_variables.html#image-packages

In these packages, the <PKG>_IMAGE variable points to a file (the
image that is created by the rule). The clean target is automatically
generated based on this variable. My question is how to do this if the
package generates more than one image.

BR,

Guillermo Rodriguez Garcia
guille.rodrig...@gmail.com

Reply via email to