On Tuesday, July 2, 2013 14:04 CEST, Yevhen Kyriukha <[email protected]> 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".
> 
> Are there any ways to accomplish this?
> 
> Best regards,
> Yevhen
 
You can mark /dev/loop0 in /etc/fstab as user mountable, and use that in your 
IMAGE_CMD

Regards,
Sander

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to