[Freedombox-discuss] Freedombox 0.2 almost ready - please test

A. F. Cano afc at shibaya.lonestar.org
Sat Mar 15 01:36:07 UTC 2014

On Fri, Mar 14, 2014 at 09:47:09AM +0530, Sunil Mohan Adapa wrote:
> ...
> problem. Please try this fix. You can either install the vmdebootstrap
> from latest git or simply modify the kpartx line in
> /usr/sbin/vmdebootstrap to contain "kpartx -avs" instead of "kpartx
> - -av". See the patch in the bug report.

I can't believe I missed this.  I did look into vmdebootrap.  It's now
changed locally and indeed the problem is gone.

> [...]
> This is almost the last step that converts the built image into a
> virtualbox image. It looks like the $NAME variable in the Makefile got
> mangled somehow. Could it be the environment in your shell? A fresh
> shell might help.

Ran the vboxmanage convertdd <img file> <vdi file> command manually
(outside the Makefile) and it worked.  This surprised me as the
"convertdd" argument is not documented.  In the man page the command
is convertfromraw.  In any case, the real problem is the variables
passed to VBoxManage in the Makefile.  The line:

VBoxManage convertdd $IMAGE.img $IMAGE.vdi

should be

VBoxManage convertdd $(NAME).img $(NAME).vdi

Next, see how it runs, now that it's built.


More information about the Freedombox-discuss mailing list