<p>SolidHal has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/27426">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">buildgcc: Actually verify checksums<br><br>buildgcc doesn't verify the checksum of gcc downloaded using download(). This can be verified by modifying<br>the gcc checksum in coreboot/util/crossgcc/sum, which won't cause a failure without this patch<br><br>Change-Id: I132f5f86cd31a001372b19e0f81ad933916d2a83<br>Signed-off-by: SolidHal <SolidHal@users.noreply.github.com><br>---<br>M util/crossgcc/buildgcc<br>1 file changed, 4 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/26/27426/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc</span><br><span>index a9d9057..5083773 100755</span><br><span>--- a/util/crossgcc/buildgcc</span><br><span>+++ b/util/crossgcc/buildgcc</span><br><span>@@ -320,6 +320,10 @@</span><br><span>            cd tarballs</span><br><span>          download_showing_percentage $archive</span><br><span>                 cd ..</span><br><span style="color: hsl(120, 100%, 40%);">+    if ! check_sum $FILE; then</span><br><span style="color: hsl(120, 100%, 40%);">+                   printf "\n${RED}$FILE Failed Checksum Verification${NC}\n"</span><br><span style="color: hsl(120, 100%, 40%);">+        exit 1</span><br><span style="color: hsl(120, 100%, 40%);">+    fi</span><br><span>       fi</span><br><span> </span><br><span>       if [ ! -f tarballs/$FILE ]; then</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/27426">change 27426</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/27426"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I132f5f86cd31a001372b19e0f81ad933916d2a83 </div>
<div style="display:none"> Gerrit-Change-Number: 27426 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: SolidHal (1002051) </div>