On 05/08/2012 10:13 AM, Andreas Färber wrote:
Am 08.05.2012 16:53, schrieb Andreas Färber:
Am 08.05.2012 16:24, schrieb Anthony Liguori:
On 05/08/2012 09:10 AM, Andreas Färber wrote:
With rc0 not being provided as tarball, it would be nice to document the
official, reproducible way of packaging a QEMU tarball on the Wiki. I
have collected some steps from the Rob Landley mips thread, but the
submodules complicate things a bit.

My request (not complaint) was for you to document how you create the
tarballs you publish, so that the adventurous can create them without
bothering you. :)

For the record here's part of the script I came up with:

TAG=v1.1-rc0
NAME=qemu-1.1-rc0

git clone git://git.qemu.org/qemu.git $NAME || exit 1

cd $NAME || exit 1

git checkout $TAG || exit 1

git submodule update --init || exit 1

rm -rf .git roms/*/.git || exit 1

cd .. || exit 1

tar -c $NAME | bzip2>  $NAME.tar.bz2

That's pretty close to what I do FWIW.

The script I have is a bit more involved as it also takes care of some qemu.org things. I've always meant to add a make dist target but haven't got around to it.

Regards,

Anthony Liguori


/-F



Reply via email to