AnsweredAssumed Answered

How do I create a tarball of the source used in an image?

Question asked by yensid on Jun 14, 2016
Latest reply on Jun 17, 2016 by Yiping Wang

I'm using SDKv1.7, originally with the P1010RDB-PA, and now with our own hardware.  I have created my own layer and image recipe to support our hardware.  I have a requirement to archive all of the source used to build the image for our hardware. It is simple to provide the source for the kernel, u-boot, and the applications I have written, I store all of the source in git. 

 

I'm looking for a way to gather and archive all of the other applications that are part of my image such as busybox, nano, ghostscript etc. The build directory does have all of the source for these available, but appears to include the source for dozens of other applications that are not part of my final image.

 

Is there a way to easily sort this all out?  Am I just missing a command that will provide solely the sources for the final image?

 

Any clarification you can offer on how this works is appreciated.

Outcomes