Stefan Agner 0cd38bb1bd opkg-make-index: use ctime instead of mtime
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.

Suggested-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
2018-10-22 09:42:17 -05:00
2013-12-03 13:19:19 +00:00
2016-06-01 17:17:44 -05:00
2016-06-01 17:17:44 -05:00
2016-06-01 17:17:44 -05:00
2016-06-01 17:17:44 -05:00
2016-06-01 17:17:44 -05:00
2016-06-01 17:17:44 -05:00
2016-06-01 17:17:44 -05:00
Description
Tools for the Opkg lightweight package management system
328 KiB
Languages
Python 54.3%
Shell 44.9%
Makefile 0.8%