From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Wed, 3 Oct 2018 21:40:23 +0200 Subject: [Buildroot] [PATCH 1/1] linux-firmware: bump version and fix hash In-Reply-To: References: <20180926223806.12704-1-nunes.erico@gmail.com> <87mus2vkos.fsf@dell.be.48ers.dk> Message-ID: <20181003194023.GA2383@scaer> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Erico, All, On 2018-10-03 21:11 +0200, Erico Nunes spake thusly: > On Thu, Sep 27, 2018 at 8:50 PM Peter Korsgaard wrote: > > > ERROR: linux-firmware-8d69bab7a3da1913113ea98cefb73d5fa6988286.tar.gz has wrong sha256 hash: > > > ERROR: expected: 905be20e4e2d7628dea4e2e99195520fc0cce8b247faabdc52fc44a3ff2ceb04 > > > ERROR: got : b9fce72a7b0b55eb311701dfd47914bc9e037134fa401d33e6e73ab9ebc9d116 > > > ERROR: Incomplete download, or man-in-the-middle (MITM) attack > > Hmm, odd? [--SNIP--] > I see that the hash got updated again after this commit, and now it's > broken again for me. > I re-tested on more machines running Fedora 28 or Centos 7, including > one where I had never used Buildroot before, and apparently I even get > different hashes on each for linux-firmware: > > ERROR: linux-firmware-44d4fca9922a252a0bd81f6307bcc072a78da54a.tar.gz has wrong sha256 hash: > ERROR: expected: b279ca4d086887c2efab13e28a7ca36e409410d3df38a62d7c7b5799ee3de916 > ERROR: got : 12d025328deab2bd2bec489c5f51181db6530cc9eb91d10ef66a55c18c2da8bf [--SNIP--] Weird; I do get the correct hash: linux-firmware-44d4fca9922a252a0bd81f6307bcc072a78da54a.tar.gz: OK (sha256: b279ca4d086887c2efab13e28a7ca36e409410d3df38a62d7c7b5799ee3de916) > Is there some known cause for this? In the past, this could have been caused by a too-olld or too-recent tar version. But nowadays, we do build our own tar when we need it. Can you check what tar Fedora 28 has, and check whether Buildroot built host-tar or not? Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'