From: Konrad Rzeszutek Wilk Date: Tue, 25 Jul 2017 16:49:57 +0000 (-0400) Subject: livepatch: Copy them to /usr/lib/debug/livepatch X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=01ba8e8f02ebbfba4fe144a2f60d4bad56fa4634;p=xentesttools%2Fbootstrap.git livepatch: Copy them to /usr/lib/debug/livepatch Similar to how it is done in Xen 4.9 Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/root_image/Makefile b/root_image/Makefile index afb377e..6f12349 100644 --- a/root_image/Makefile +++ b/root_image/Makefile @@ -945,14 +945,15 @@ xend-install: yajl-depend xen-4.2-depend xen-python-bytecode 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)