[Libguestfs] [PATCH 2/2] Make a 1G test image instead, avoiding a size bug

Mike Kelly pioto at pioto.org
Mon Apr 29 16:57:14 UTC 2013


mkfs_btrfs: /dev/vda2: device /dev/vda2 is too small (must be at least
256 MB) at .../libguestfs/tests/guests/guest-aux/make-fedora-img.pl line
140.
---
 tests/guests/guest-aux/make-fedora-img.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/guests/guest-aux/make-fedora-img.pl b/tests/guests/guest-aux/make-fedora-img.pl
index b509973..7b0e0ad 100755
--- a/tests/guests/guest-aux/make-fedora-img.pl
+++ b/tests/guests/guest-aux/make-fedora-img.pl
@@ -27,7 +27,7 @@ use warnings;
 use Sys::Guestfs;
 use File::Temp;
 
-my $IMAGE_SIZE = 512*1024*1024; # bytes
+my $IMAGE_SIZE = 1024*1024*1024; # bytes
 my $LEADING_SECTORS = 64;
 my $TRAILING_SECTORS = 64;
 my $SECTOR_SIZE = 512; # bytes
-- 
1.7.9.5




More information about the Libguestfs mailing list