Fix mtime for tar command and use numeric user/group
ClosedPublic

Authored by aaronpuchert on Jul 1 2018, 10:30 PM.

Details

Summary

Epoch values have to be preceded by '@'. Otherwise it seems that tar
sets a time stamp of -2^63, which we definitely don't want.

Since we use --numeric-owner, we might as well use 0 instead of root.

Follows the advice of https://reproducible-builds.org/docs/archives/,
this time correctly.

Diff Detail

Repository
R32 KDevelop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
aaronpuchert created this revision.Jul 1 2018, 10:30 PM
Restricted Application added a project: KDevelop. · View Herald TranscriptJul 1 2018, 10:30 PM
Restricted Application added a subscriber: kdevelop-devel. · View Herald Transcript
aaronpuchert requested review of this revision.Jul 1 2018, 10:30 PM

Not sure why I didn't notice in D7693 that this doesn't work properly, so I fixed it here.

kfunk accepted this revision.Jul 2 2018, 8:29 AM
This revision is now accepted and ready to land.Jul 2 2018, 8:29 AM
This revision was automatically updated to reflect the committed changes.