]> xenbits.xensource.com Git - xentesttools/bootstrap.git/commitdiff
livepatch: Only copy them if compiled under 64-bit
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 26 Jul 2017 12:45:27 +0000 (08:45 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 26 Jul 2017 18:37:08 +0000 (14:37 -0400)
As the test-cases aren't compiled under 32-bit builds.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
root_image/Makefile

index 6f123490fe07e6358da44f7fcd98fa721adfa21f..ac8b7d8e9dfb940cd7dfa175085106a9911c32ee 100644 (file)
@@ -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