[OE-core] Create btrfs subvolume during image building

Colin Walters walters at verbum.org
Tue Jul 2 13:29:22 UTC 2013


On Tue, 2013-07-02 at 15:04 +0300, Yevhen Kyriukha wrote:
> Hi!
> 
> 
> I'd like to create image with btrfs rootfs partition.
> I want to store all files on separate subvolume on btrfs partition.
> For this purpose I'm creating *.bbclass that simply extends IMAGE_CMD.
> 
> 
> The problem is that to create btrfs subvolume I need to mount it
> first, but only root can execute "mount".

Another option is libguestfs; recent versions support btrfs.






More information about the Openembedded-core mailing list