[darwinbuild-changes] [200] trunk

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 4 01:58:27 PDT 2006


Revision: 200
          http://trac.macosforge.org/projects/darwinbuild/changeset/200
Author:   kevin
Date:     2006-10-04 01:58:26 -0700 (Wed, 04 Oct 2006)

Log Message:
-----------
- redo_prebinding before registering / creating manifest

Modified Paths:
--------------
    trunk/CHANGES
    trunk/darwinbuild/darwinbuild

Modified: trunk/CHANGES
===================================================================
--- trunk/CHANGES	2005-08-29 07:48:59 UTC (rev 199)
+++ trunk/CHANGES	2006-10-04 08:58:26 UTC (rev 200)
@@ -2,6 +2,8 @@
 -----------------------------------
 
 Release X.Y.Z [now]
+	- darwinbuild: redo_prebinding to create a canonical Mach-O prior to
+	  registering for reproducible manifests.
 	- Added synthfat script to synthesize fat dylibs from thin dylibs
 	- Added darwinmaster.sh for creating bootable CDs
 	- Added packageRoots.sh to archive most recent Roots for the build

Modified: trunk/darwinbuild/darwinbuild
===================================================================
--- trunk/darwinbuild/darwinbuild	2005-08-29 07:48:59 UTC (rev 199)
+++ trunk/darwinbuild/darwinbuild	2006-10-04 08:58:26 UTC (rev 200)
@@ -772,6 +772,10 @@
 		### Register the root with the darwinxref database.  This will output a manifest
 		### which can be used to uniquely identify the root.  Store the unique identifier
 		### in the receipts directory after registration.
+		### Undo the prebinding information to get canonical Mach-O binaries
+		if [ -x /usr/bin/redo_prebinding ]; then
+			find "$REAL_DSTROOT" -type f -exec redo_prebinding -i -z -u {} ';'
+		fi
 		MANIFEST="/tmp/$projnam.$$"
 		"$DARWINXREF" register "$projnam" "$REAL_DSTROOT" | tee "$MANIFEST"
 		SHA1=$(cat "$MANIFEST" | openssl dgst -sha1)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/c169a9fd/attachment-0001.html


More information about the darwinbuild-changes mailing list