]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
Install share/zoneinfo in a deterministic way by sorting the results from find
authorngie <ngie@FreeBSD.org>
Sat, 17 Oct 2015 09:26:16 +0000 (09:26 +0000)
committerngie <ngie@FreeBSD.org>
Sat, 17 Oct 2015 09:26:16 +0000 (09:26 +0000)
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

share/zoneinfo/Makefile

index ebb26c7c7ad11c2a9dce6f7b3c986ae41389cfae..b3d968dc4b4e0b4ab58907372abfd8d827d29bfe 100644 (file)
@@ -79,7 +79,7 @@ zoneinfo: yearistype ${TDATA}
 
 beforeinstall:
        cd ${TZBUILDDIR} && \
-           find * -type f -print -exec ${INSTALL} \
+           find -s * -type f -print -exec ${INSTALL} \
            -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
            \{} ${DESTDIR}/usr/share/zoneinfo/\{} \;
        ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \