diff options
-rw-r--r-- | meta/classes/image_types.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index d09d1277ea..e881d0cc2d 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
@@ -104,7 +104,7 @@ IMAGE_CMD_btrfs () { | |||
104 | size=${MIN_BTRFS_SIZE} | 104 | size=${MIN_BTRFS_SIZE} |
105 | bbwarn "Rootfs size is too small for BTRFS. Filesystem will be extended to ${size}K" | 105 | bbwarn "Rootfs size is too small for BTRFS. Filesystem will be extended to ${size}K" |
106 | fi | 106 | fi |
107 | dd if=/dev/zero of=${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.btrfs count=${size} bs=1024 | 107 | dd if=/dev/zero of=${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.btrfs seek=${size} count=0 bs=1024 |
108 | mkfs.btrfs ${EXTRA_IMAGECMD} -r ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.btrfs | 108 | mkfs.btrfs ${EXTRA_IMAGECMD} -r ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.btrfs |
109 | } | 109 | } |
110 | 110 | ||