[Bug 197578] md5 returns random values each time; breaking freebsd-update

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 10 14:49:49 UTC 2017


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

--- Comment #7 from Ed Maste <emaste at 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.


More information about the freebsd-bugs mailing list