From: Wei Liu Date: Mon, 23 Feb 2015 12:03:16 +0000 (+0000) Subject: ts-xen-build: only move hypervisor to xeninstall X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ae5795a5a9d861ce37ba543648f25d87743e9d34;p=people%2Fliuw%2Fosstest.git ts-xen-build: only move hypervisor to xeninstall ... so that we can leave xenpolicy-* in tools tarball. Signed-off-by: Wei Liu Cc: Ian Campbell Cc: Ian Jackson --- diff --git a/ts-xen-build b/ts-xen-build index b1f29c6..48d9ddd 100755 --- a/ts-xen-build +++ b/ts-xen-build @@ -155,7 +155,21 @@ sub divide () { if test -d install/boot; then if test -f install/boot/xen.gz || test -f install/boot/xen; then mkdir xeninstall/boot - mv install/boot/xen* xeninstall/boot/. + # Only move hv to xeninstal, so that we can have + # xenpolicy in tools tarball. + # + # The files inside boot/ after `make dist' are + # xen-$XEN_VERSION: Xen binary + # xen: symlink to xen-$XEN_VERSION + # xen-$MAJOR: symlink to xen-$XEN_VERSION + # xen-$MAJOR.$MINOR: symlink to xen-$XEN_VERSION + # xen-sym-$XEN_VERSION: Xen symbol + # xenpolicy-$XEN_VERSION: flask policy binary + # + # So the following snippet will leave xenpolicy* in + # install/boot and get packaged to tools tarball. + mv install/boot/xen-* xeninstall/boot/. + mv install/boot/xen xeninstall/boot/. fi fi END