I can also reproduce the problem. The problem is that /proc mounts and unmounts before the kernel is installed, and the kernel package assumes /proc is mounted. Here's some log actions:
Attached is a patch that worked for me. One can also work around the issue by explicitly installing linux-image-generic at an earlier stage by providing "--addpkg linux-image-generic" option to vmbuilder.
I can also reproduce the problem. The problem is that /proc mounts and unmounts before the kernel is installed, and the kernel package assumes /proc is mounted. Here's some log actions:
2012-10-19 15:39:55,701 DEBUG : ['chroot', '/virtualtmp/ tmpPq2rS0' , 'mount', '-t', 'proc', 'proc', '/proc'] tmpPq2rS0/ proc'] 3.5.0-17- generic (from .../linux- image-3. 5.0-17- generic_ 3.5.0-17. 28_i386. deb) ...
2012-10-19 15:40:09,171 DEBUG : ['umount', '/virtualtmp/
2012-10-19 15:40:19,965 DEBUG : Unpacking linux-image-
Attached is a patch that worked for me. One can also work around the issue by explicitly installing linux-image-generic at an earlier stage by providing "--addpkg linux-image- generic" option to vmbuilder.