diff mbox series

scripts/make-release: Stop shipping u-boot source as a tarball

Message ID 20190314155628.8822-1-peter.maydell@linaro.org
State Accepted
Commit 082c0543baa6f237704c83a51658bd7f6ae316d5
Headers show
Series scripts/make-release: Stop shipping u-boot source as a tarball | expand

Commit Message

Peter Maydell March 14, 2019, 3:56 p.m. UTC
In commit d0dead3b6df7f6cd970e we changed to shipping the u-boot
sources as a tarball, to work around a problem where they
contained a file and directory that had the same name except
for case, which was preventing QEMU's source tarball being
unpacked on case-insensitive filesystems.

In commit f2a3b549e357041f86d7e we updated our u-boot blob
and sources to v2019.01, which no longer has this problem,
so we can finally remove our workaround (effectively
reverting d0dead3b6df7f6cd970e).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

---
Tested (with a slightly hand-hacked script) by creating a tarball
with master as of dbbc277510aa39ea and unpacking it on OSX.
---
 scripts/make-release | 4 ----
 1 file changed, 4 deletions(-)

-- 
2.20.1

Comments

Philippe Mathieu-Daudé March 14, 2019, 9:30 p.m. UTC | #1
Hi Peter,

On 3/14/19 4:56 PM, Peter Maydell wrote:
> In commit d0dead3b6df7f6cd970e we changed to shipping the u-boot

> sources as a tarball, to work around a problem where they

> contained a file and directory that had the same name except

> for case, which was preventing QEMU's source tarball being

> unpacked on case-insensitive filesystems.

> 

> In commit f2a3b549e357041f86d7e we updated our u-boot blob

> and sources to v2019.01, which no longer has this problem,


Is this u-boot commit 610eec7f0593574c03?

> so we can finally remove our workaround (effectively

> reverting d0dead3b6df7f6cd970e).

> 

> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

> ---

> Tested (with a slightly hand-hacked script) by creating a tarball

> with master as of dbbc277510aa39ea and unpacking it on OSX.

> ---

>  scripts/make-release | 4 ----

>  1 file changed, 4 deletions(-)

> 

> diff --git a/scripts/make-release b/scripts/make-release

> index c14f75b12c8..b4af9c9e520 100755

> --- a/scripts/make-release

> +++ b/scripts/make-release

> @@ -20,10 +20,6 @@ git checkout "v${version}"

>  git submodule update --init

>  (cd roms/seabios && git describe --tags --long --dirty > .version)

>  (cd roms/skiboot && ./make_version.sh > .version)

> -# FIXME: The following line is a workaround for avoiding filename collisions

> -# when unpacking u-boot sources on case-insensitive filesystems. Once we

> -# update to something with u-boot commit 610eec7f0 we can drop this line.

> -tar --exclude=.git -cjf roms/u-boot.tar.bz2 -C roms u-boot && rm -rf roms/u-boot

>  popd

>  tar --exclude=.git -cjf ${destination}.tar.bz2 ${destination}

>  rm -rf ${destination}

>
Peter Maydell March 15, 2019, 9:46 a.m. UTC | #2
On Thu, 14 Mar 2019 at 21:31, Philippe Mathieu-Daudé <philmd@redhat.com> wrote:
>

> Hi Peter,

>

> On 3/14/19 4:56 PM, Peter Maydell wrote:

> > In commit d0dead3b6df7f6cd970e we changed to shipping the u-boot

> > sources as a tarball, to work around a problem where they

> > contained a file and directory that had the same name except

> > for case, which was preventing QEMU's source tarball being

> > unpacked on case-insensitive filesystems.

> >

> > In commit f2a3b549e357041f86d7e we updated our u-boot blob

> > and sources to v2019.01, which no longer has this problem,

>

> Is this u-boot commit 610eec7f0593574c03?


Yes.

thanks
-- PMM
Philippe Mathieu-Daudé March 15, 2019, 10:16 a.m. UTC | #3
On 3/15/19 10:46 AM, Peter Maydell wrote:
> On Thu, 14 Mar 2019 at 21:31, Philippe Mathieu-Daudé <philmd@redhat.com> wrote:

>>

>> Hi Peter,

>>

>> On 3/14/19 4:56 PM, Peter Maydell wrote:

>>> In commit d0dead3b6df7f6cd970e we changed to shipping the u-boot

>>> sources as a tarball, to work around a problem where they

>>> contained a file and directory that had the same name except

>>> for case, which was preventing QEMU's source tarball being

>>> unpacked on case-insensitive filesystems.

>>>

>>> In commit f2a3b549e357041f86d7e we updated our u-boot blob

>>> and sources to v2019.01, which no longer has this problem,

>>

>> Is this u-boot commit 610eec7f0593574c03?

> 

> Yes.


Good.
I checked u-boot range v2017.07..v2019.01 and did not notice other fixes.
I'd appreciate if you add a comment about this u-boot commit :)

Regardless:
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>


Thanks,

Phil.
Michael Roth March 16, 2019, 3:25 a.m. UTC | #4
Quoting Peter Maydell (2019-03-14 10:56:28)
> In commit d0dead3b6df7f6cd970e we changed to shipping the u-boot

> sources as a tarball, to work around a problem where they

> contained a file and directory that had the same name except

> for case, which was preventing QEMU's source tarball being

> unpacked on case-insensitive filesystems.

> 

> In commit f2a3b549e357041f86d7e we updated our u-boot blob

> and sources to v2019.01, which no longer has this problem,

> so we can finally remove our workaround (effectively

> reverting d0dead3b6df7f6cd970e).

> 

> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>


> ---

> Tested (with a slightly hand-hacked script) by creating a tarball

> with master as of dbbc277510aa39ea and unpacking it on OSX.

> ---

>  scripts/make-release | 4 ----

>  1 file changed, 4 deletions(-)

> 

> diff --git a/scripts/make-release b/scripts/make-release

> index c14f75b12c8..b4af9c9e520 100755

> --- a/scripts/make-release

> +++ b/scripts/make-release

> @@ -20,10 +20,6 @@ git checkout "v${version}"

>  git submodule update --init

>  (cd roms/seabios && git describe --tags --long --dirty > .version)

>  (cd roms/skiboot && ./make_version.sh > .version)

> -# FIXME: The following line is a workaround for avoiding filename collisions

> -# when unpacking u-boot sources on case-insensitive filesystems. Once we

> -# update to something with u-boot commit 610eec7f0 we can drop this line.

> -tar --exclude=.git -cjf roms/u-boot.tar.bz2 -C roms u-boot && rm -rf roms/u-boot

>  popd

>  tar --exclude=.git -cjf ${destination}.tar.bz2 ${destination}

>  rm -rf ${destination}

> -- 

> 2.20.1

>
Peter Maydell March 18, 2019, 4:07 p.m. UTC | #5
On Sat, 16 Mar 2019 at 03:25, Michael Roth <mdroth@linux.vnet.ibm.com> wrote:
>

> Quoting Peter Maydell (2019-03-14 10:56:28)

> > In commit d0dead3b6df7f6cd970e we changed to shipping the u-boot

> > sources as a tarball, to work around a problem where they

> > contained a file and directory that had the same name except

> > for case, which was preventing QEMU's source tarball being

> > unpacked on case-insensitive filesystems.

> >

> > In commit f2a3b549e357041f86d7e we updated our u-boot blob

> > and sources to v2019.01, which no longer has this problem,

> > so we can finally remove our workaround (effectively

> > reverting d0dead3b6df7f6cd970e).

> >

> > Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

>

> Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>


Thanks; applied to master so it is in place ready for when
you roll the rc0 tarballs tomorrow.

-- PMM
diff mbox series

Patch

diff --git a/scripts/make-release b/scripts/make-release
index c14f75b12c8..b4af9c9e520 100755
--- a/scripts/make-release
+++ b/scripts/make-release
@@ -20,10 +20,6 @@  git checkout "v${version}"
 git submodule update --init
 (cd roms/seabios && git describe --tags --long --dirty > .version)
 (cd roms/skiboot && ./make_version.sh > .version)
-# FIXME: The following line is a workaround for avoiding filename collisions
-# when unpacking u-boot sources on case-insensitive filesystems. Once we
-# update to something with u-boot commit 610eec7f0 we can drop this line.
-tar --exclude=.git -cjf roms/u-boot.tar.bz2 -C roms u-boot && rm -rf roms/u-boot
 popd
 tar --exclude=.git -cjf ${destination}.tar.bz2 ${destination}
 rm -rf ${destination}