Bug 200674 - [PATCH] share/zoneinfo: Install in a deterministic way
Summary: [PATCH] share/zoneinfo: Install in a deterministic way
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Ngie Cooper
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-06-06 11:38 UTC by Fabian Keil
Modified: 2015-10-26 00:12 UTC (History)
2 users (show)

See Also:
ngie: mfc-stable9+
ngie: mfc-stable10+


Attachments
share/zoneinfo: Install in a deterministic way to get a reproducible METALOG (857 bytes, patch)
2015-06-06 11:38 UTC, Fabian Keil
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Keil 2015-06-06 11:38:59 UTC
Created attachment 157463 [details]
share/zoneinfo: Install in a deterministic way to get a  reproducible METALOG

The attached patch results in the zone information being installed in
a deterministic way so the METALOG can be reproduced from another
source tree copy (when building with -DNO_ROOT).

Obtained from: ElectroBSD
Comment 1 Ed Maste freebsd_committer 2015-10-16 01:40:23 UTC
Looks good to me
Comment 2 commit-hook freebsd_committer 2015-10-17 09:26:55 UTC
A commit references this bug:

Author: ngie
Date: Sat Oct 17 09:26:16 UTC 2015
New revision: 289451
URL: https://svnweb.freebsd.org/changeset/base/289451

Log:
  Install share/zoneinfo in a deterministic way by sorting the results from find

  This helps produce deterministic METALOG output

  PR: 200674
  Submitted by: Fabian Keil <fk@fabiankeil.de>
  Reviewed by: emaste
  MFC after: 1 week
  Obtained from: ElectroBSD

Changes:
  head/share/zoneinfo/Makefile
Comment 3 commit-hook freebsd_committer 2015-10-26 00:11:50 UTC
A commit references this bug:

Author: ngie
Date: Mon Oct 26 00:11:08 UTC 2015
New revision: 289974
URL: https://svnweb.freebsd.org/changeset/base/289974

Log:
  MFC r289451:

  Install share/zoneinfo in a deterministic way by sorting the results from find

  This helps produce deterministic METALOG output

  PR: 200674
  Submitted by: Fabian Keil <fk@fabiankeil.de>
  Reviewed by: emaste
  Obtained from: ElectroBSD

Changes:
_U  stable/10/
  stable/10/share/zoneinfo/Makefile
Comment 4 commit-hook freebsd_committer 2015-10-26 00:12:52 UTC
A commit references this bug:

Author: ngie
Date: Mon Oct 26 00:12:01 UTC 2015
New revision: 289975
URL: https://svnweb.freebsd.org/changeset/base/289975

Log:
  MFstable/10 r289974:

  MFC r289451:

  Install share/zoneinfo in a deterministic way by sorting the results from find

  This helps produce deterministic METALOG output

  PR: 200674
  Submitted by: Fabian Keil <fk@fabiankeil.de>
  Reviewed by: emaste
  Obtained from: ElectroBSD

Changes:
_U  stable/9/
_U  stable/9/share/
_U  stable/9/share/zoneinfo/
  stable/9/share/zoneinfo/Makefile