[yocto] File system for alternate partition

Paul Eggleton paul.eggleton at linux.intel.com
Wed Jun 25 03:39:02 PDT 2014


On Tuesday 24 June 2014 17:09:29 Bollinger, Seth wrote:
> >I guess I didn¹t think about using a full image as I would need to remove
> >a bunch of stuff, but maybe that is the best way.  That way I can keep the
> >flexibility of defining recipes that would be installed to my data
> >partition image.  I will give it a try.
> 
> 
> So I created an empty image without any packages being added.  As I
> suspected, there’s cruft that I don’t really need in the FS.  What’s the
> best way to remove these, post processing?
> 
> data-image-base/1.0-r0/rootfs/
> ├── etc
> │   └── rcS.d
> ├── lib
> │   └── modules
> │       └── 3.10.16-dey+gf167640
> └── var
>     └── lib
>         └── opkg

You could just delete these within a function added to 
ROOTFS_POSTPROCESS_COMMAND, and that's probably the way to deal with it for 
now; however for the future I do think the build system ought to be able to 
clean these files up itself if they aren't supposed to be there. I've created a 
bug to track the issue:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=6478

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list