From 4d2cf170d3ebed424f2885b05ec6fd9ae1af6820 Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Sat, 4 Aug 2018 22:15:59 +0000 Subject: [PATCH] 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 --- etc/Makefile | 2 -- sbin/savecore/Makefile | 2 ++ {etc => sbin/savecore}/minfree | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {etc => sbin/savecore}/minfree (100%) diff --git a/etc/Makefile b/etc/Makefile index 2cbdbe5b491d..cf821c256125 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -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" diff --git a/sbin/savecore/Makefile b/sbin/savecore/Makefile index f5eeb77ee5e7..d2fdd3d50979 100644 --- a/sbin/savecore/Makefile +++ b/sbin/savecore/Makefile @@ -1,6 +1,8 @@ # $FreeBSD$ PACKAGE=runtime +CONFS= minfree +CONFSDIR= /var/crash PROG= savecore LIBADD= z xo MAN= savecore.8 diff --git a/etc/minfree b/sbin/savecore/minfree similarity index 100% rename from etc/minfree rename to sbin/savecore/minfree