[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH for-2.0] scripts/make-release: Don't distribute
From: |
Laszlo Ersek |
Subject: |
Re: [Qemu-devel] [PATCH for-2.0] scripts/make-release: Don't distribute .git directories |
Date: |
Fri, 14 Mar 2014 19:30:17 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
On 03/14/14 17:45, Cole Robinson wrote:
> address@hidden qemu-2.0.0-rc0]$ find . -name .git
> ./dtc/.git
> ./pixman/.git
>
> This is already done for the rom submodules.
>
> https://bugs.launchpad.net/qemu/+bug/1224414
> Signed-off-by: Cole Robinson <address@hidden>
> ---
> scripts/make-release | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/make-release b/scripts/make-release
> index 196c755..cb7c2da 100755
> --- a/scripts/make-release
> +++ b/scripts/make-release
> @@ -18,7 +18,7 @@ git clone "${src}" ${destination}
> pushd ${destination}
> git checkout "v${version}"
> git submodule update --init
> -rm -rf .git roms/*/.git
> +rm -rf .git roms/*/.git dtc/.git pixman/*.git
> popd
> tar cfj ${destination}.tar.bz2 ${destination}
> rm -rf ${destination}
>
This seems to be complete:
.gitmodules:[submodule "roms/vgabios"]
.gitmodules:[submodule "roms/seabios"]
.gitmodules:[submodule "roms/SLOF"]
.gitmodules:[submodule "roms/ipxe"]
.gitmodules:[submodule "roms/openbios"]
.gitmodules:[submodule "roms/openhackware"]
.gitmodules:[submodule "roms/qemu-palcode"]
.gitmodules:[submodule "roms/sgabios"]
.gitmodules:[submodule "pixman"]
.gitmodules:[submodule "dtc"]
but did you in fact mean
pixman/*.git
rather tan
pixman/.git
?
Thanks
Laszlo