1
0
forked from pool/build-compare

- 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:
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

@@ -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';"