- Ignore /etc/ld.so.cache

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=226
This commit is contained in:
Olaf Hering 2016-11-09 06:50:00 +00:00 committed by Git OBS Bridge
parent 9e2b0f04d8
commit 52b31cab87
3 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 9 06:48:22 UTC 2016 - olaf@aepfle.de
- Ignore /etc/ld.so.cache
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 8 08:06:30 UTC 2016 - olaf@aepfle.de Tue Nov 8 08:06:30 UTC 2016 - 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: 20161108T125335.60cbc96 Version: 20161109T074834.ab7f1f0
Release: 0 Release: 0
Source1: COPYING Source1: COPYING
Source2: same-build-result.sh Source2: same-build-result.sh

View File

@ -735,10 +735,14 @@ check_single_file()
sed -i '/^InitrdID:/s@^.*@InitrdID: something@' "old/$file" sed -i '/^InitrdID:/s@^.*@InitrdID: something@' "old/$file"
sed -i '/^InitrdID:/s@^.*@InitrdID: something@' "new/$file" sed -i '/^InitrdID:/s@^.*@InitrdID: something@' "new/$file"
;; ;;
*/ld.so.cache)
# packaged by libguestfs
return 0
;;
*/etc/hosts) */etc/hosts)
# packaged by libguestfs # packaged by libguestfs
sed -i '/^127.0.0.1[[:blank:]].*/127.0.0.1 hst/' "old/$file" sed -i 's/^127.0.0.1[[:blank:]].*/127.0.0.1 hst/' "old/$file"
sed -i '/^127.0.0.1[[:blank:]].*/127.0.0.1 hst/' "new/$file" sed -i 's/^127.0.0.1[[:blank:]].*/127.0.0.1 hst/' "new/$file"
;; ;;
esac esac