Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2017 14:49:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 197578] md5 returns random values each time; breaking freebsd-update
Message-ID:  <bug-197578-8-lDjL9otKDb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197578-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197578-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197578

--- Comment #7 from Ed Maste <emaste@freebsd.org> ---
Note that the message you observed is based on comparing output of sha256, not
md5:

                # Make sure the file hasn't changed.
                cp "${BASEDIR}/${F}" tmpfile
                if [ `sha256 -q tmpfile` != ${HASH} ]; then
                        echo
                        echo "File changed while FreeBSD Update running: ${F}"
                        return 1
                fi

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197578-8-lDjL9otKDb>