diff mbox series

[Bug,1714750] Re: 2.10.0 cannot be installed on case-insensitive file system

Message ID 150453680466.10750.3497504310042559272.malone@wampee.canonical.com
State New
Headers show
Series [Bug,1714750] Re: 2.10.0 cannot be installed on case-insensitive file system | expand

Commit Message

ilovezfs Sept. 4, 2017, 2:53 p.m. UTC
I mean in that every user is going to have to figure this out
individually until it's fixed.

In any case it will not be a problem for our Homebrew users, as I will do this:
```
```
https://github.com/Homebrew/homebrew-core/pull/17467
diff mbox series

Patch

diff --git a/Formula/qemu.rb b/Formula/qemu.rb
index 16a54af167..db0e68d103 100644
--- a/Formula/qemu.rb
+++ b/Formula/qemu.rb
@@ -1,10 +1,20 @@ 
+# Fix extraction on case-insentive file systems.
+# Reported 4 Sep 2017 https://bugs.launchpad.net/qemu/+bug/1714750
+# This is actually an issue with u-boot and may take some time to sort out.
+class QemuDownloadStrategy < CurlDownloadStrategy
+  def stage
+    exclude = "#{name}-#{version}/roms/u-boot/scripts/Kconfig"
+    safe_system "tar", "xjf", cached_location, "--exclude", exclude
+    chdir
+  end
+end
+
 class Qemu < Formula
   desc "x86 and PowerPC Emulator"
   homepage "https://www.qemu.org/"
-  url "https://download.qemu.org/qemu-2.9.0.tar.bz2"
-  sha256 "00bfb217b1bb03c7a6c3261b819cfccbfb5a58e3e2ceff546327d271773c6c14"
-  revision 2
-
+  url "https://download.qemu.org/qemu-2.10.0.tar.bz2",
+      :using => QemuDownloadStrategy
+  sha256 "7e9f39e1306e6dcc595494e91c1464d4b03f55ddd2053183e0e1b69f7f776d48"
   head "https://git.qemu.org/git/qemu.git"
 
   bottle do