fi
# prune usr/include after copy
rm -rf userspace/usr/include
+ if [ ! -d userspace/usr/lib/debug/livepatch ]; then mkdir -p userspace/usr/lib/debug/livepatch; fi
if [ -d userspace/usr/lib/debug ]; then \
rm -rf userspace/usr/lib/debug/xen-syms; \
fi
if [ $(XEN_VERSION) -gt 6 ]; then \
if [ $(XEN_VERSION) -gt 8 ]; then \
- cp -rdf $(XEN_SRC)/xen/test/livepatch/*.livepatch userspace/usr/lib/debug/; \
+ cp -rdf $(XEN_SRC)/xen/test/livepatch/*.livepatch userspace/usr/lib/debug/livepatch/; \
else \
- cp -rdf $(XEN_SRC)/xen/arch/x86/test/*.livepatch userspace/usr/lib/debug/; \
+ cp -rdf $(XEN_SRC)/xen/arch/x86/test/*.livepatch userspace/usr/lib/debug/livepatch; \
fi; \
fi
ifeq ($(RPM_ARCH), x86_64)