]> code.ossystems Code Review - openembedded-core.git/commit
opkg-utils: backport a patch to fix a sstate timestamp issue
authorMing Liu <liu.ming50@gmail.com>
Fri, 5 Apr 2019 14:22:15 +0000 (16:22 +0200)
committerArmin Kuster <akuster808@gmail.com>
Tue, 7 May 2019 14:00:32 +0000 (07:00 -0700)
commit6351f52609af51055786f7b3b24aee722b4dcea4
tree7af15b9b636a6eeff76ac24de4119d1167742648
parent9c63433010aae6891149a7605a637bee879dc4ef
opkg-utils: backport a patch to fix a sstate timestamp issue

When using sstate, two parallel builds can produce two packages
with the same mtime but different checksums. When later one of
those two builds fetches the others ipk, the package index does
not get udpated properly (since mtime matches). This ends up with
messages such as:
  Downloading file:/../tmp/work/../image/...ipk.
  Removing corrupt package file /../sysroot/../var/cache/opkg/volatile/...ipk

However, in that case, ctime is different. Use ctime instead of
mtime to prevent failures like this.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/opkg-utils/opkg-utils/0001-opkg-make-index-use-ctime-instead-of-mtime.patch [new file with mode: 0644]
meta/recipes-devtools/opkg-utils/opkg-utils_0.3.6.bb