Hi, El vie, 1 oct 2021 a las 14:27, Roland Hieber (<[email protected]>) escribió:
> On Thu, Sep 30, 2021 at 02:10:15PM +0200, Guillermo Rodriguez Garcia wrote: > > > So for such a use-case, the files must be installed in the install > stage. > > > Note, that you cannot install the files into platform/images: > > > 'ptxdist clean root' will remove that but only cleans the targetinstall > > > stages, so afterwards the files will be missing. > > > > > > So I suggest the files are installed to > > > $(<PKG>_PKGDIR)/usr/lib/<something>/ > > > The install stage will then copy the files to sysroot-target and the > next > > > package can find the files there. > > > > > > > Uhm, the files themselves are not needed in the target fs; they are only > > required as intermediate files to build the FIP image. > > Should I still copy them to sysroot-target? > > Yes. sysroot-target is not the contents of the image yet, but only the > staging area where target packages install their files. This is done > because in the install stage PTXdist uses the package's build system to > install files, which sometimes installs many more files that you maybe > don't want in your target. In the targetinstall stage you have to pick > them from sysroot-target into the image explicitly with the > $(call install_*) macros. > I see. Thank you for the clarification! Guillermo
_______________________________________________ ptxdist mailing list [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
