Re: [Discuss OpenCPI] Deploy For Standalone Embedded Target
On Thu, Jan 23, 2020 at 8:32 AM James Kulp <jek_at_parera.com> wrote:
> When making a standalone SD card, it is usually the user's choice as to
> which artifacts should be copied to the SD card.
> In any project, all the artifacts are sym-linked into the artifacts/
> subdirectory, so if you wanted them all, you could copy from there
> (following links of course).
> But that will copy things that are not sensible on the SD card
> (artifacts for other platforms).
> A better approach is to generate a list of appropriate artifacts using
> the "ocpirun --artifacts" command.
> This command finds all the artifacts in the OCPI_LIBRARY_PATH that are
> for the listed platforms.
>
> I.e.
>
> arts=$(OCPI_LIBRARY_PATH=projects/assets/artifacts ocpirun
> --artifacts=centos7,xsim)
>
>
> So then you could:
>
> cp -L $arts /mnt/cardxxxxx/opencpi/my-artifacts
>
> Assuming that directory existed and was in the OCPI_LIBRARY_PATH on the
> embedded platform.
>
Thanks, Jim. This is exactly what I was looking for.
Brian
Received on Thu Jan 23 2020 - 19:59:23 CST
This archive was generated by hypermail 2.3.0
: Fri Jun 05 2026 - 08:45:25 CDT