psss / rpms / libguestfs

Forked from rpms/libguestfs 5 years ago
Clone

Blame 0017-EPEL-5-Remove-Fedora-MD-test-images.patch

89d86ed
From 4d3c421c4a865751354cbdeb2f277f2433b73d1c Mon Sep 17 00:00:00 2001
89d86ed
From: Richard W.M. Jones <rjones@redhat.com>
89d86ed
Date: Fri, 22 Jun 2012 13:15:49 +0100
89d86ed
Subject: [PATCH 17/19] EPEL 5: Remove Fedora MD test images.
89d86ed
89d86ed
On RHEL 5, mdadm is not able to create md devices with aliases,
89d86ed
eg. '/dev/md/boot'.
89d86ed
---
89d86ed
 tests/guests/Makefile.am |   15 +--------------
89d86ed
 1 files changed, 1 insertions(+), 14 deletions(-)
89d86ed
89d86ed
diff --git a/tests/guests/Makefile.am b/tests/guests/Makefile.am
89d86ed
index 3e5aea0..649cebe 100644
89d86ed
--- a/tests/guests/Makefile.am
89d86ed
+++ b/tests/guests/Makefile.am
89d86ed
@@ -38,7 +38,7 @@ EXTRA_DIST = \
89d86ed
 
89d86ed
 # This is 'check_DATA' because we don't need it until 'make check'
89d86ed
 # time and we need the tools we have built in order to make it.
89d86ed
-check_DATA = debian.img fedora.img fedora-md1.img fedora-md2.img ubuntu.img windows.img
89d86ed
+check_DATA = debian.img fedora.img ubuntu.img windows.img
89d86ed
 
89d86ed
 CLEANFILES = $(check_DATA) stamp-fedora-md.img
89d86ed
 
89d86ed
@@ -51,19 +51,6 @@ fedora.img: guest-aux/make-fedora-img.pl \
89d86ed
 	LAYOUT=partitions \
89d86ed
 	../../run $<
89d86ed
 
89d86ed
-# Make a (dummy) Fedora image using md devices
89d86ed
-fedora-md1.img fedora-md2.img: stamp-fedora-md.img
89d86ed
-
89d86ed
-stamp-fedora-md.img: guest-aux/make-fedora-img.pl \
89d86ed
-		guest-aux/fedora-name.db \
89d86ed
-		guest-aux/fedora-packages.db
89d86ed
-	rm -f $@
89d86ed
-	TMPDIR=$(top_builddir) \
89d86ed
-	SRCDIR=$(srcdir) \
89d86ed
-	LAYOUT=partitions-md \
89d86ed
-	../../run $<
89d86ed
-	touch $@
89d86ed
-
89d86ed
 guest-aux/fedora-name.db: guest-aux/fedora-name.db.txt
89d86ed
 	rm -f $@ $@-t
89d86ed
 	mkdir -p guest-aux
89d86ed
-- 
89d86ed
1.7.4.1
89d86ed