Bug 13450 - opkg-build should use --clamp-mtime if SOURCE_DATE_EPOCH set
Summary: opkg-build should use --clamp-mtime if SOURCE_DATE_EPOCH set
Status: RESOLVED FIXED
Alias: None
Product: opkg
Classification: Yocto Project Subprojects
Component: opkg (show other bugs)
Version: 0.3.6
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 0.4.2
Assignee: Alejandro del Castillo
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 13513
  Show dependency tree
 
Reported: 2019-07-25 16:06 UTC by Ross Burton
Modified: 2019-09-16 15:05 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Burton 2019-07-25 16:06:29 UTC
Context: https://reproducible-builds.org/docs/archives/

opkg-utils 86b2dc4c9cc0b40e79d0bb049b98532285942b25 removed the use of --mtime for archive generation but I think that's wrong, instead it should be passing --clamp-mtime along with --mtime.

I believe that's what dpkg does, at least.  Comparison builds happening now.

Note that --clamp-mtime needs a fairly new tar, so there might be sense in only passing those options if SOURCE_DATE_EPOCH is set.
Comment 1 Alejandro del Castillo 2019-09-16 15:05:31 UTC
Fixed on c3cc95693048bdd57a82069bad47abbc72a1932e