[Buildroot] manipulating raw disk images as non-root user

Dallas Clement dallas.a.clement at gmail.com
Sat Aug 2 16:45:58 UTC 2014

Hi All,

I am trying to figure out a way to produce a uSD card image file during my
build process and do it as a non-root user.  I am hoping to do this from a
post image script.

I can create the image file with dd and partition it with parted as a
non-root user.  However, I have not figured out how to format, and populate
the image file.  Tools such as kpartx and losetup seem ideal for this
purpose except that they must be run as root.

Does anyone know of a way to do this using qemu or fuse or related tools?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140802/21044f09/attachment.html>

More information about the buildroot mailing list