summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2009-12-27 19:28:28 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2009-12-27 19:28:28 +0000
commit08fd9f26d8d71cdcd1bff33b8f1bebb85b789030 (patch)
tree0f9852988e416b644eb310ae708496289616642a
parentb2f99737e6151b69866b7bb6647376aeb58fe28f (diff)
Create an empty etcsum file so that cksum can run without error (as
var/db/sysmerge/etcsum is created after the cksum calls and etcsum is part of the etc set). "sure" deraadt@
-rw-r--r--etc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile
index f624a46edbc..3e6b1f88c83 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.283 2009/12/22 14:13:14 ajacoutot Exp $
+# $OpenBSD: Makefile,v 1.284 2009/12/27 19:28:27 ajacoutot Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@@ -254,6 +254,7 @@ distribution-etc-root-var: distrib-dirs
distribution:
exec ${SUDO} ${MAKE} distribution-etc-root-var
cd .. && exec ${SUDO} ${MAKE} install
+ touch ${DESTDIR}/var/db/sysmerge/etcsum
TMPSUM=`mktemp /tmp/_etcsum.XXXXXXXXXX` || exit 1; \
sort ../distrib/sets/lists/etc/{mi,md.${MACHINE}} > $${TMPSUM}; \
cd ${DESTDIR} && \