Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Aug 2018 22:15:59 +0000 (UTC)
From:      Brad Davis <brd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r337337 - in head: etc sbin/savecore
Message-ID:  <201808042215.w74MFxVx062844@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brd
Date: Sat Aug  4 22:15:59 2018
New Revision: 337337
URL: https://svnweb.freebsd.org/changeset/base/337337

Log:
  Move etc/minfree to sbin/savecore/.
  
  This is prep for pkgbase to have config files tagged as such.
  
  Approved by:	will (mentor)
  Differential Revision:	https://reviews.freebsd.org/D16558

Added:
  head/sbin/savecore/minfree
     - copied unchanged from r337336, head/etc/minfree
Deleted:
  head/etc/minfree
Modified:
  head/etc/Makefile
  head/sbin/savecore/Makefile

Modified: head/etc/Makefile
==============================================================================
--- head/etc/Makefile	Sat Aug  4 22:15:05 2018	(r337336)
+++ head/etc/Makefile	Sat Aug  4 22:15:59 2018	(r337337)
@@ -271,8 +271,6 @@ distribution:
 	${INSTALL} -o nobody -g ${BINGRP} -m 644 /dev/null \
 	    ${DESTDIR}/var/db/locate.database
 .endif
-	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 ${.CURDIR}/minfree \
-	    ${DESTDIR}/var/crash
 	cd ${.CURDIR}/..; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
 		${FREEBSD} ${DESTDIR}/
 .if ${MK_BOOT} != "no"

Modified: head/sbin/savecore/Makefile
==============================================================================
--- head/sbin/savecore/Makefile	Sat Aug  4 22:15:05 2018	(r337336)
+++ head/sbin/savecore/Makefile	Sat Aug  4 22:15:59 2018	(r337337)
@@ -1,6 +1,8 @@
 # $FreeBSD$
 
 PACKAGE=runtime
+CONFS=	minfree
+CONFSDIR=	/var/crash
 PROG=	savecore
 LIBADD=	z xo
 MAN=	savecore.8

Copied: head/sbin/savecore/minfree (from r337336, head/etc/minfree)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sbin/savecore/minfree	Sat Aug  4 22:15:59 2018	(r337337, copy of r337336, head/etc/minfree)
@@ -0,0 +1 @@
+2048



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808042215.w74MFxVx062844>