]> xenbits.xensource.com Git - xentesttools/bootstrap.git/commitdiff
scm: Only fetch root_image/RPMs if this is an RPM based distro..
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 14 Jun 2018 00:05:15 +0000 (20:05 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 14 Jun 2018 00:06:03 +0000 (20:06 -0400)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
sources.mk

index b195c4342cf8dc2c253e4d2353982f0eee567da1..70048b9adf625cb9334ada3d73f69512837f3d9e 100644 (file)
@@ -1,6 +1,14 @@
 
+REPOS = syslinux root_image/busybox root_image/netperf root_image/pciutils root_image/fio root_image/pm-utils root_image/kexec-tools xen linux root_image/xenalyze root_image/libraw1394
 
-REPOS = syslinux root_image/busybox root_image/netperf root_image/pciutils root_image/fio root_image/RPMs root_image/pm-utils root_image/kexec-tools xen linux root_image/xenalyze root_image/libraw1394
+ifeq ($(shell head -1 /etc/redhat-release), Fedora release 13 (Goddard))
+FC13 = 1
+FC12_RPM = 1
+endif
+
+ifdef FC13
+REPOS += root_image/RPMs
+endif
 
 include $(TOP)/scm.mk
 
@@ -18,10 +26,6 @@ $(eval $(call GIT_REPO,netperf.git,root_image/netperf))
 $(eval $(call GIT_REPO,pciutils.git,root_image/pciutils))
 
 
-ifeq ($(shell head -1 /etc/redhat-release), Fedora release 13 (Goddard))
-FC13 = 1
-FC12_RPM = 1
-endif
 
 ifdef FC13
 GLIBC_VERSION = 2.12