Revision 494927a8 create

b/create
55 55
        ${QEMU_IMG} convert ${IMAGE_FILE} -O host_device ${blockdev}
56 56
    fi
57 57

  
58
    filesystem_base_dev=$(map_disk0 $blockdev)
58
    filesystem_dev=$(map_disk0 $blockdev)
59 59
    CLEANUP+=("unmap_disk0 $blockdev")
60
    root_dev=$(map_partition $filesystem_dev root)
61
    boot_dev=$(map_partition $filesystem_dev boot)
62
    swap_dev=$(map_partition $filesystem_dev swap)
60 63

  
61 64
    if [ "${IMAGE_TYPE}" = "tarball" -o "${IMAGE_TYPE}" = "dump" ] ; then
62 65
        mkfs_disk0

Also available in: Unified diff