diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-03-30 00:19:59 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-01 12:38:09 +0100 |
commit | 275c2f8c6004aa2570aeeaa9f5e3845852c54a87 (patch) | |
tree | 702efb33aedc8bf1ed2e7f24e4e83d020d833e60 /meta/recipes-devtools/opkg-utils/opkg-utils/mtime-int.patch | |
parent | 76546d1d3ea9efc160e05a0934de368a51820b03 (diff) | |
download | ast2050-yocto-poky-275c2f8c6004aa2570aeeaa9f5e3845852c54a87.zip ast2050-yocto-poky-275c2f8c6004aa2570aeeaa9f5e3845852c54a87.tar.gz |
opkg-utils: bump SRCREV for Packages cache fix and other fixes
(From OE-Core rev: 5863e2ae81b7840d6cb9b80641a7fd69ce4d6f1f)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/opkg-utils/opkg-utils/mtime-int.patch')
-rw-r--r-- | meta/recipes-devtools/opkg-utils/opkg-utils/mtime-int.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils/mtime-int.patch b/meta/recipes-devtools/opkg-utils/opkg-utils/mtime-int.patch deleted file mode 100644 index 483a62a..0000000 --- a/meta/recipes-devtools/opkg-utils/opkg-utils/mtime-int.patch +++ /dev/null @@ -1,30 +0,0 @@ -Convert mtime to int before comparing it - -The st_mtime attribute (which is a float) is compared against a value -from the timestamp database, which was stored as an integer there. - -When working on a filesystem with precise timestamps the comparision -will fail nearly everytime hence. - -Although it might be possible to enhance the database to store the -fractional part too, this will complicate things more than we would -gain by this change. - -Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> - -Upstream-Status: Pending -(Contacting the original author, no response yet.) - -Index: opkg-utils/opkg-make-index -=================================================================== ---- opkg-utils.orig/opkg-make-index -+++ opkg-utils/opkg-make-index -@@ -100,7 +100,7 @@ for filename in files: - pkg = None - fnameStat = os.stat(filename) - if old_pkg_hash.has_key(basename): -- if pkgsStamps.has_key(basename) and fnameStat.st_mtime == pkgsStamps[basename]: -+ if pkgsStamps.has_key(basename) and int(fnameStat.st_mtime) == pkgsStamps[basename]: - if (verbose): - sys.stderr.write("Found %s in Packages\n" % (filename,)) - pkg = old_pkg_hash[basename] |