summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2010-01-10 13:36:11 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2010-01-10 13:36:11 +0000
commite29503dfa1d1db70f8d4738b11d952ccab2657a6 (patch)
tree8c9384afc5d47dbdbe1e5c98fcf93e8b0e173a8e
parent8998e328ca48bb5ccf6f36ef0972ae282ae448eb (diff)
Create and distribute the initial sysmerge sum file just like we do for
base on new installations. "reads alright" oga@, ok matthieu@ todd@
-rw-r--r--Makefile8
-rw-r--r--distrib/sets/lists/xetc/mi2
2 files changed, 9 insertions, 1 deletions
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 <bsd.own.mk>
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
diff --git a/distrib/sets/lists/xetc/mi b/distrib/sets/lists/xetc/mi
index 011c5b4b0..11a3e6bbf 100644
--- a/distrib/sets/lists/xetc/mi
+++ b/distrib/sets/lists/xetc/mi
@@ -97,3 +97,5 @@
./etc/fonts/conf.d/README
./etc/fonts/fonts.conf
./etc/fonts/fonts.dtd
+./var/db/sysmerge
+./var/db/sysmerge/xetcsum