Skip to content

Commit

Permalink
release: Sort etcupdate entries before adding them to base metalog
Browse files Browse the repository at this point in the history
Supports reproducible builds.

PR: 283214

Signed-off-by: Pat Maddox <[email protected]>
  • Loading branch information
patmaddox committed Dec 13, 2024
1 parent 666dae5 commit 05420f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ base.txz:
-L /dev/null -N
echo "./var/db/etcupdate type=dir uname=root gname=wheel mode=0755" >> ${.OBJDIR}/${DISTDIR}/base.meta
sed -n 's,^\.,./var/db/etcupdate/current,p' ${.OBJDIR}/${DISTDIR}/base/var/db/etcupdate/current/METALOG \
>> ${.OBJDIR}/${DISTDIR}/base.meta
| sort >> ${.OBJDIR}/${DISTDIR}/base.meta
rm ${.OBJDIR}/${DISTDIR}/base/var/db/etcupdate/current/METALOG
# Package all components
( cd ${WORLDDIR} && ${IMAKE} -DNO_ROOT packageworld DISTDIR=${.OBJDIR}/${DISTDIR} )
Expand Down

0 comments on commit 05420f0

Please sign in to comment.