mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
As was basically decided already a while ago, remove - in the simplest possible way - the archiving of both qemu-s and mini-os from tarball generation. With this the subtree-force-update-all prereq isn't needed anymore in the top level Makefile. That goal, including the respective ones underneath tools/, then also are unreferenced and hence are being dropped, too. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
35 lines
639 B
Bash
Executable File
35 lines
639 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# mktarball: Make a release tarball (including just xen)
|
|
#
|
|
# Takes 2 arguments, the path to the dist directory and the version
|
|
set -ex
|
|
|
|
function git_archive_into {
|
|
mkdir -p "$2"
|
|
|
|
git --git-dir="$1"/.git \
|
|
archive --format=tar HEAD | \
|
|
tar Cxf "$2" -
|
|
}
|
|
|
|
if [[ -z "$1" || -z "$2" ]] ; then
|
|
echo "usage: $0 path-to-XEN_ROOT xen-version"
|
|
exit 1
|
|
fi
|
|
|
|
xen_root="$1"
|
|
desc="$2"
|
|
|
|
tdir="$xen_root/dist/tmp.src-tarball"
|
|
|
|
rm -rf $tdir
|
|
|
|
mkdir -p $tdir
|
|
|
|
git_archive_into $xen_root $tdir/xen-$desc
|
|
|
|
GZIP=-9v tar cz -f $xen_root/dist/xen-$desc.tar.gz -C $tdir xen-$desc
|
|
|
|
echo "Source tarball in $xen_root/dist/xen-$desc.tar.gz"
|