From: Konrad Rzeszutek Wilk Date: Wed, 26 Jul 2017 12:45:27 +0000 (-0400) Subject: livepatch: Only copy them if compiled under 64-bit X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6364e53794c05102635996384f165809c78b5a4d;p=xentesttools%2Fbootstrap.git livepatch: Only copy them if compiled under 64-bit As the test-cases aren't compiled under 32-bit builds. Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/root_image/Makefile b/root_image/Makefile index 6f12349..ac8b7d8 100644 --- a/root_image/Makefile +++ b/root_image/Makefile @@ -949,6 +949,7 @@ xend-install: yajl-depend xen-4.2-depend xen-python-bytecode if [ -d userspace/usr/lib/debug ]; then \ rm -rf userspace/usr/lib/debug/xen-syms; \ fi +ifeq ($(RPM_ARCH), x86_64) if [ $(XEN_VERSION) -gt 6 ]; then \ if [ $(XEN_VERSION) -gt 8 ]; then \ cp -rdf $(XEN_SRC)/xen/test/livepatch/*.livepatch userspace/usr/lib/debug/livepatch/; \ @@ -956,7 +957,6 @@ xend-install: yajl-depend xen-4.2-depend xen-python-bytecode cp -rdf $(XEN_SRC)/xen/arch/x86/test/*.livepatch userspace/usr/lib/debug/livepatch; \ fi; \ fi -ifeq ($(RPM_ARCH), x86_64) if ! test -f userspace/usr/lib64/xen; then \ ( ln -sf /usr/lib/xen userspace/usr/lib64; true ) \ fi