qemu-stable
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-stable] [PATCH for-2.11] scripts/make-release: ship u-boot source


From: Michael Roth
Subject: [Qemu-stable] [PATCH for-2.11] scripts/make-release: ship u-boot source as a tarball
Date: Tue, 7 Nov 2017 14:52:01 -0600

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: address@hidden
Cc: Alexander Graf <address@hidden>
Cc: Richard Henderson <address@hidden>
Cc: Thomas Huth <address@hidden>
Cc: Peter Maydell <address@hidden>
Suggested-by: Richard Henderson <address@hidden>
Signed-off-by: Michael Roth <address@hidden>
---
 scripts/make-release | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/make-release b/scripts/make-release
index fa6323fda8..3917df7142 100755
--- a/scripts/make-release
+++ b/scripts/make-release
@@ -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.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]