Package: vmdebootstrap Version: 0.2-1 Trying to build a FreedomBox image with freedom-maker, which calls vmdebootstrap, I'm seeing a completely repeatable failure. What appears to happen is that after the .img file is created, the kpartx call fails. If I manually run kpartx after the failure, it seems to work fine, then calling our make which re-runs vmdebootstrap working on the same .img file allows things to run to completion.
The behavior is consistent after a reboot. I'm running sid with a locally built upstream stable kernel. Bdale + sudo SUITE=jessie MIRROR=http://cdn.debian.net/debian DESTINATION=card MACHINE=dreamplug ARCHITECTURE=armel vmdebootstrap --log build/freedombox.log --log-level debug --size 2.5G --image build/freedombox-unstable_2014-03-12_dreamplug-armel-card.img --hostname freedombox --verbose --mirror http://cdn.debian.net/debian --customize /home/bdale/src/fbx/freedom-maker/bin/freedombox-customize --root-password freedom --arch armel --distribution jessie --variant minbase --bootsize 128M --boottype vfat --no-kernel --no-extlinux --foreign /usr/bin/qemu-arm-static --package apt --package base-files --package ifupdown --package initramfs-tools --package logrotate --package module-init-tools --package netbase --package rsyslog --package udev --package debian-archive-keyring --package linux-image-kirkwood --package u-boot-tools --package u-boot Creating disk image Creating partitions Installing MBR build/freedombox-unstable_2014-03-12_dreamplug-armel-card.img Creating filesystem ext4 EEEK! Something bad happened... Cleaning up ERROR: command failed: ['mkfs', '-t', 'ext4', '/dev/mapper/loop0p2'] mke2fs 1.42.9 (4-Feb-2014) Could not stat /dev/mapper/loop0p2 --- No such file or directory The device apparently does not exist; did you specify it correctly? make: *** [dreamplug-image] Error 1 bdale@rover:~/src/fbx/freedom-maker$ sudo kpartx -a build/*.img bdale@rover:~/src/fbx/freedom-maker$ DESTINATION=usb make ... + sudo SUITE=jessie MIRROR=http://cdn.debian.net/debian DESTINATION=card MACHINE=dreamplug ARCHITECTURE=armel vmdebootstrap --log build/freedombox.log --log-level debug --size 2.5G --image build/freedombox-unstable_2014-03-12_dreamplug-armel-card.img --hostname freedombox --verbose --mirror http://cdn.debian.net/debian --customize /home/bdale/src/fbx/freedom-maker/bin/freedombox-customize --root-password freedom --arch armel --distribution jessie --variant minbase --bootsize 128M --boottype vfat --no-kernel --no-extlinux --foreign /usr/bin/qemu-arm-static --package apt --package base-files --package ifupdown --package initramfs-tools --package logrotate --package module-init-tools --package netbase --package rsyslog --package udev --package debian-archive-keyring --package linux-image-kirkwood --package u-boot-tools --package u-boot Creating disk image Creating partitions Installing MBR build/freedombox-unstable_2014-03-12_dreamplug-armel-card.img Creating filesystem ext4 Mounting /dev/mapper/loop0p2 on /tmp/tmpAjnPLY Creating filesystem vfat Mounting /dev/mapper/loop0p1 on /tmp/tmpAjnPLY/boot/ Debootstrapping
pgpOWFNx_dQDZ.pgp
Description: PGP signature