diff options
author | Avi Kivity <avi@redhat.com> | 2009-12-20 18:13:14 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-12-20 18:13:14 +0200 |
commit | d912e23276f6e1f3729d52a12d46d4a08d9d9c30 (patch) | |
tree | b56156fc33e9048ce9358768531608f449055730 /kvm | |
parent | Adjust vga dirty logging for upstream changes (diff) | |
download | qemu-kvm-d912e23276f6e1f3729d52a12d46d4a08d9d9c30.tar.gz qemu-kvm-d912e23276f6e1f3729d52a12d46d4a08d9d9c30.tar.bz2 qemu-kvm-d912e23276f6e1f3729d52a12d46d4a08d9d9c30.zip |
Release script: document external dependencies in tarball
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'kvm')
-rwxr-xr-x | kvm/scripts/make-release | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kvm/scripts/make-release b/kvm/scripts/make-release index 3b1dccff2..11d9c27ac 100755 --- a/kvm/scripts/make-release +++ b/kvm/scripts/make-release @@ -45,6 +45,13 @@ tarball="$releasedir/$name.tar" cd "$(dirname "$0")"/../.. git archive --prefix="$name/" --format=tar "$commit" > "$tarball" +mkdir -p "$tmpdir" +git cat-file -p "${commit}:roms" | awk ' { print $4, $3 } ' \ + > "$tmpdir/EXTERNAL_DEPENDENCIES" +tar -rf "$tarball" --transform "s,^,$name/," -C "$tmpdir" \ + "EXTERNAL_DEPENDENCIES" +rm -rf "$tmpdir" + if [[ -n "$formal" ]]; then mkdir -p "$tmpdir" echo "$name" > "$tmpdir/KVM_VERSION" |