From: Konrad Rzeszutek Wilk Date: Thu, 14 Jun 2018 00:05:15 +0000 (-0400) Subject: scm: Only fetch root_image/RPMs if this is an RPM based distro.. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3ad7e9a005f59b71463c15d2d757067159568320;p=xentesttools%2Fbootstrap.git scm: Only fetch root_image/RPMs if this is an RPM based distro.. Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/sources.mk b/sources.mk index b195c43..70048b9 100644 --- a/sources.mk +++ b/sources.mk @@ -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