<p>SolidHal has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/27436">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().<br>This can be verified by modifying the gcc checksum in coreboot/util/crossgcc/sum,<br>which won't cause a failure without this patch<br><br>Change-Id: Idcd583f853d0a3db5e6ccd25c27bc486c2c49691<br>Signed-off-by: Hal Emmerich <Hal@halemmerich.com><br>---<br>M util/crossgcc/buildgcc<br>1 file changed, 4 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/36/27436/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 5083773..788bb65 100755</span><br><span>--- a/util/crossgcc/buildgcc</span><br><span>+++ b/util/crossgcc/buildgcc</span><br><span>@@ -320,10 +320,10 @@</span><br><span>            cd tarballs</span><br><span>          download_showing_percentage $archive</span><br><span>                 cd ..</span><br><span style="color: hsl(0, 100%, 40%);">-    if ! check_sum $FILE; then</span><br><span style="color: hsl(0, 100%, 40%);">-                       printf "\n${RED}$FILE Failed Checksum Verification${NC}\n"</span><br><span style="color: hsl(0, 100%, 40%);">-        exit 1</span><br><span style="color: hsl(0, 100%, 40%);">-    fi</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/27436">change 27436</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/27436"/><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: Idcd583f853d0a3db5e6ccd25c27bc486c2c49691 </div>
<div style="display:none"> Gerrit-Change-Number: 27436 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: SolidHal (1002051) </div>