diff --git a/build-compare.changes b/build-compare.changes index 74e6fde..ec56918 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 31 13:44:11 UTC 2017 - olaf@aepfle.de + +- Handle timestamp and checksum in xen.efi + ------------------------------------------------------------------- Wed Mar 22 19:05:36 UTC 2017 - olaf@aepfle.de diff --git a/build-compare.spec b/build-compare.spec index a1afb42..dbe15a0 100644 --- a/build-compare.spec +++ b/build-compare.spec @@ -21,7 +21,7 @@ Summary: Build Result Compare Script License: GPL-2.0+ Group: Development/Tools/Building Url: https://github.com/openSUSE/build-compare -Version: 20170322T200611.65b0e6b +Version: 20170331T154431.96db83e Release: 0 Source1: COPYING Source2: same-build-result.sh diff --git a/pkg-diff.sh b/pkg-diff.sh index 8a3885d..a33f3f9 100644 --- a/pkg-diff.sh +++ b/pkg-diff.sh @@ -478,6 +478,11 @@ check_single_file() fi done return $ret;; + */xen*.efi) + # PE32+ executable (EFI application) x86-64 (stripped to external PDB), for MS Windows + perl -e "open fh, '+<', 'old/$file'; seek fh, 0x80 + 0x08, SEEK_SET; print fh 'time'; seek fh, 0x80 + 0x58, SEEK_SET; print fh 'chck';" + perl -e "open fh, '+<', 'new/$file'; seek fh, 0x80 + 0x08, SEEK_SET; print fh 'time'; seek fh, 0x80 + 0x58, SEEK_SET; print fh 'chck';" + ;; *.pyc|*.pyo) perl -e "open fh, '+<', 'old/$file'; seek fh, 4, SEEK_SET; print fh '0000';" perl -e "open fh, '+<', 'new/$file'; seek fh, 4, SEEK_SET; print fh '0000';"