File 0072-RHEL-6.1-Do-not-require-NTFS-for-builds.patch of Package libguestfs

From bdcd455e05b7da9f640717b1871cf14df9cf0212 Mon Sep 17 00:00:00 2001
From: Richard W.M. Jones <rjones@redhat.com>
Date: Thu, 18 Nov 2010 15:39:39 +0000
Subject: [PATCH 72/78] RHEL 6.1: Do not require NTFS for builds.

---
 images/Makefile.am         |    3 ++-
 tools/test-virt-make-fs.sh |    3 +--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/images/Makefile.am b/images/Makefile.am
index 40bf90f..e4948dd 100644
--- a/images/Makefile.am
+++ b/images/Makefile.am
@@ -54,7 +54,8 @@ noinst_DATA = test.iso
 
 # This is 'check_DATA' because we don't need it until 'make check'
 # time and we need the tools we have built in order to make it.
-check_DATA = debian.img fedora.img ubuntu.img windows.img
+check_DATA = debian.img fedora.img ubuntu.img
+#windows.img
 
 CLEANFILES = \
 	test.iso test.sqsh \
diff --git a/tools/test-virt-make-fs.sh b/tools/test-virt-make-fs.sh
index e246506..0187913 100755
--- a/tools/test-virt-make-fs.sh
+++ b/tools/test-virt-make-fs.sh
@@ -4,11 +4,10 @@ export LANG=C
 set -e
 
 # Engage in some montecarlo testing of virt-make-fs.
-case $((RANDOM % 4)) in
+case $((RANDOM % 3)) in
     0) type="--type=ext2" ;;
     1) type="--type=ext3" ;;
     2) type="--type=ext4" ;;
-    3) type="--type=ntfs" ;;
     # Can't test vfat because we cannot create a tar archive
     # where files are owned by UID:GID 0:0.  As a result, tar
     # in the appliance fails when trying to change the UID of
-- 
1.7.1

openSUSE Build Service is sponsored by