From e29503dfa1d1db70f8d4738b11d952ccab2657a6 Mon Sep 17 00:00:00 2001 From: Antoine Jacoutot Date: Sun, 10 Jan 2010 13:36:11 +0000 Subject: Create and distribute the initial sysmerge sum file just like we do for base on new installations. "reads alright" oga@, ok matthieu@ todd@ --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5efc5b539..f848677f7 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.33 2009/12/01 21:36:52 matthieu Exp $ +# $OpenBSD: Makefile,v 1.34 2010/01/10 13:36:10 ajacoutot Exp $ .include LOCALAPPD=/usr/local/lib/X11/app-defaults @@ -105,6 +105,12 @@ release-install: ${XCONFIG} ${DESTDIR}/etc/X11 ; \ fi .endif + touch ${DESTDIR}/var/db/sysmerge/xetcsum + TMPSUM=`mktemp /tmp/_xetcsum.XXXXXXXXXX` || exit 1; \ + sort distrib/sets/lists/xetc/{mi,md.${MACHINE}} > $${TMPSUM}; \ + cd ${DESTDIR} && \ + xargs cksum < $${TMPSUM} > ${DESTDIR}/var/db/sysmerge/xetcsum; \ + rm -f $${TMPSUM} dist-rel: ${MAKE} RELEASEDIR=`pwd`/rel DESTDIR=`pwd`/dest dist 2>&1 | tee distlog -- cgit v1.2.3