Skip to contentSkip to conversation

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

PATCH In review Michael Roth 3 participants 4 messages Nov 7, 2017 – Nov 21, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts/make-release: ship u-boot source as a tarball

The u-boot sources we ship currently cause problems with unpacking on a case-insensitive filesystem due to path conflicts. This has been fixed in upstream u-boot via commit 610eec7f, but since it is not yet included in an official release we implement this approach as a temporary workaround.

Once we move to a u-boot containing commit 610eec7f we should revert this patch.

Cc Alexander Graf <[email protected]>
Cc Richard Henderson <[email protected]>
Cc Thomas Huth <[email protected]>
Cc Peter Maydell <[email protected]>
---
 scripts/make-release | 4 ++++
 1 file changed, 4 insertions(+)
scripts/make-release +4 -0
index fa6323fda8..3917df7142 100755
@@ -20,6 +20,10 @@ git checkout "v${version}"
 git submodule update --init
 (cd roms/seabios && git describe --tags --long --dirty > .version)
 rm -rf .git roms/*/.git dtc/.git pixman/.git
+# 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 cfj roms/u-boot.tar.bz2 -C roms u-boot && rm -rf roms/u-boot
 popd
 tar cfj ${destination}.tar.bz2 ${destination}
 rm -rf ${destination}
Signature · 1 line
2.11.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 26 lines · Michael Roth

The u-boot sources we ship currently cause problems with unpacking on a case-insensitive filesystem due to path conflicts. This has been fixed in upstream u-boot via commit 610eec7f, but since it is not yet included in an official release we implement this approach as a temporary workaround.

Once we move to a u-boot containing commit 610eec7f we should revert this patch.

Cc Alexander Graf <[email protected]>
Cc Richard Henderson <[email protected]>
Cc Thomas Huth <[email protected]>
Cc Peter Maydell <[email protected]>
---
 scripts/make-release | 4 ++++
 1 file changed, 4 insertions(+)
scripts/make-release +0 -0
index fa6323fda8..3917df7142 100755

scripts/make-release git checkout "v${version}" · line 29

Quoted 10 lines
scripts/make-release +4 -0
@@ -20,6 +20,10 @@ git checkout "v${version}"
 git submodule update --init
 (cd roms/seabios && git describe --tags --long --dirty > .version)
 rm -rf .git roms/*/.git dtc/.git pixman/.git
+# 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 cfj roms/u-boot.tar.bz2 -C roms u-boot && rm -rf roms/u-boot
 popd
 tar cfj ${destination}.tar.bz2 ${destination}
 rm -rf ${destination}
#2 lore raw
In reply to Michael Roth

Quoting Michael Roth (2017-11-07 14:52:01)

Quoted 9 lines

The u-boot sources we ship currently cause problems with unpacking on a case-insensitive filesystem due to path conflicts. This has been fixed in upstream u-boot via commit 610eec7f, but since it is not yet included in an official release we implement this approach as a temporary workaround.

Once we move to a u-boot containing commit 610eec7f we should revert this patch.

Quoted 7 lines
Cc Alexander Graf <[email protected]>
Cc Richard Henderson <[email protected]>
Cc Thomas Huth <[email protected]>
Cc Peter Maydell <[email protected]>

Ping.

Peter, would you be able to apply this directly? Not sure who else this would go through.

Quoted 23 lines
---
 scripts/make-release | 4 ++++
 1 file changed, 4 insertions(+)
scripts/make-release +4 -0
index fa6323fda8..3917df7142 100755
@@ -20,6 +20,10 @@ git checkout "v${version}"
 git submodule update --init
 (cd roms/seabios && git describe --tags --long --dirty > .version)
 rm -rf .git roms/*/.git dtc/.git pixman/.git
+# 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 cfj roms/u-boot.tar.bz2 -C roms u-boot && rm -rf roms/u-boot
 popd
 tar cfj ${destination}.tar.bz2 ${destination}
 rm -rf ${destination}
Signature · 1 line
2.11.0
#3 lore raw
Quoted 18 lines · Michael Roth

Quoting Michael Roth (2017-11-07 14:52:01)

Quoted 9 lines

The u-boot sources we ship currently cause problems with unpacking on a case-insensitive filesystem due to path conflicts. This has been fixed in upstream u-boot via commit 610eec7f, but since it is not yet included in an official release we implement this approach as a temporary workaround.

Once we move to a u-boot containing commit 610eec7f we should revert this patch.

Quoted 7 lines
Cc Alexander Graf <[email protected]>
Cc Richard Henderson <[email protected]>
Cc Thomas Huth <[email protected]>
Cc Peter Maydell <[email protected]>
Quoted 4 lines

Ping.

Peter, would you be able to apply this directly? Not sure who else this would go through.

Sure. Applied to master for rc2.

thanks
-- PMM