mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* Re: [ptxdist] ptx/image-install for older ptxdist releases
       [not found] <CABDcavaR8+Wt9pChfMeS6pQEEL_B+icc3oK_UrebG4i5SkTQFQ@mail.gmail.com>
@ 2023-04-19  7:19 ` Michael Olbrich
  0 siblings, 0 replies; only message in thread
From: Michael Olbrich @ 2023-04-19  7:19 UTC (permalink / raw)
  To: Guillermo Rodriguez Garcia; +Cc: ptxdist

Hi,

On Tue, Apr 18, 2023 at 04:39:54PM +0200, Guillermo Rodriguez Garcia wrote:
> I have an "image" package that generates more than one image file.
> 
> In the past I asked what would be the best way to handle this so that the
> clean target works correctly. Michael suggested to use ptx/image-install:
> 
> > You should be able to use ptx/image-install in the image rule. Just like
> > regular packages. File installed with this are recorded and later removed
> > in the clean stage.
> 
> I have found that ptx/image-install indeed solves the problem when
> available; however this was added relatively recently and does not exist
> for older ptxdist releases.
> 
> Is there a way to achieve similar functionality in ptxdist releases where
> ptx/image-install is not available ?

It should be possible to backport that feature. Take a look at the commit
that introduced the feature 3694633183ae70aeba062d53db3eeb4bf521d090. You
basically need to copy that stuff into your BSP in the same locations
(rules/post and scripts/lib).

Michael

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-19  7:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CABDcavaR8+Wt9pChfMeS6pQEEL_B+icc3oK_UrebG4i5SkTQFQ@mail.gmail.com>
2023-04-19  7:19 ` [ptxdist] ptx/image-install for older ptxdist releases Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox