- Handle timestamp and checksum in xen.efi

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=236
This commit is contained in:
Olaf Hering 2017-03-31 13:46:52 +00:00 committed by Git OBS Bridge
parent 13785bfbeb
commit ca41c23878
3 changed files with 11 additions and 1 deletions

View File

@ -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 Wed Mar 22 19:05:36 UTC 2017 - olaf@aepfle.de

View File

@ -21,7 +21,7 @@ Summary: Build Result Compare Script
License: GPL-2.0+ License: GPL-2.0+
Group: Development/Tools/Building Group: Development/Tools/Building
Url: https://github.com/openSUSE/build-compare Url: https://github.com/openSUSE/build-compare
Version: 20170322T200611.65b0e6b Version: 20170331T154431.96db83e
Release: 0 Release: 0
Source1: COPYING Source1: COPYING
Source2: same-build-result.sh Source2: same-build-result.sh

View File

@ -478,6 +478,11 @@ check_single_file()
fi fi
done done
return $ret;; 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) *.pyc|*.pyo)
perl -e "open fh, '+<', 'old/$file'; seek fh, 4, SEEK_SET; print fh '0000';" 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';" perl -e "open fh, '+<', 'new/$file'; seek fh, 4, SEEK_SET; print fh '0000';"