svn commit: r277677 - in head: share/mk tools/build/mk tools/build/options usr.sbin
Garrett Cooper
ngie at FreeBSD.org
Sun Jan 25 04:43:15 UTC 2015
Author: ngie
Date: Sun Jan 25 04:43:13 2015
New Revision: 277677
URL: https://svnweb.freebsd.org/changeset/base/277677
Log:
Add MK_BSDINSTALL knob for building and installing bsdinstall
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
Added:
head/tools/build/options/WITHOUT_BSDINSTALL (contents, props changed)
Modified:
head/share/mk/src.opts.mk
head/tools/build/mk/OptionalObsoleteFiles.inc
head/usr.sbin/Makefile
Modified: head/share/mk/src.opts.mk
==============================================================================
--- head/share/mk/src.opts.mk Sun Jan 25 04:37:44 2015 (r277676)
+++ head/share/mk/src.opts.mk Sun Jan 25 04:43:13 2015 (r277677)
@@ -57,6 +57,7 @@ __DEFAULT_YES_OPTIONS = \
BLUETOOTH \
BOOT \
BSD_CPIO \
+ BSDINSTALL \
BSNMP \
BZIP2 \
CALENDAR \
Modified: head/tools/build/mk/OptionalObsoleteFiles.inc
==============================================================================
--- head/tools/build/mk/OptionalObsoleteFiles.inc Sun Jan 25 04:37:44 2015 (r277676)
+++ head/tools/build/mk/OptionalObsoleteFiles.inc Sun Jan 25 04:43:13 2015 (r277677)
@@ -274,6 +274,39 @@ OLD_FILES+=usr/share/man/man8/sdpd.8.gz
# to be filled in
#.endif
+.if ${MK_BSDINSTALL} == no
+OLD_FILES+=usr/libexec/bsdinstall/adduser
+OLD_FILES+=usr/libexec/bsdinstall/auto
+OLD_FILES+=usr/libexec/bsdinstall/autopart
+OLD_FILES+=usr/libexec/bsdinstall/checksum
+OLD_FILES+=usr/libexec/bsdinstall/config
+OLD_FILES+=usr/libexec/bsdinstall/distextract
+OLD_FILES+=usr/libexec/bsdinstall/distfetch
+OLD_FILES+=usr/libexec/bsdinstall/docsinstall
+OLD_FILES+=usr/libexec/bsdinstall/entropy
+OLD_FILES+=usr/libexec/bsdinstall/hostname
+OLD_FILES+=usr/libexec/bsdinstall/jail
+OLD_FILES+=usr/libexec/bsdinstall/keymap
+OLD_FILES+=usr/libexec/bsdinstall/mirrorselect
+OLD_FILES+=usr/libexec/bsdinstall/mount
+OLD_FILES+=usr/libexec/bsdinstall/netconfig
+OLD_FILES+=usr/libexec/bsdinstall/netconfig_ipv4
+OLD_FILES+=usr/libexec/bsdinstall/netconfig_ipv6
+OLD_FILES+=usr/libexec/bsdinstall/partedit
+OLD_FILES+=usr/libexec/bsdinstall/rootpass
+OLD_FILES+=usr/libexec/bsdinstall/script
+OLD_FILES+=usr/libexec/bsdinstall/scriptedpart
+OLD_FILES+=usr/libexec/bsdinstall/services
+OLD_FILES+=usr/libexec/bsdinstall/time
+OLD_FILES+=usr/libexec/bsdinstall/umount
+OLD_FILES+=usr/libexec/bsdinstall/wlanconfig
+OLD_FILES+=usr/libexec/bsdinstall/zfsboot
+OLD_FILES+=usr/sbin/bsdinstall
+OLD_FILES+=usr/share/man/man8/bsdinstall.8.gz
+OLD_FILES+=usr/share/man/man8/sade.8.gz
+OLD_DIRS+=usr/libexec/bsdinstall
+.endif
+
.if ${MK_CALENDAR} == no
OLD_FILES+=etc/periodic/daily/300.calendar
OLD_FILES+=usr/bin/calendar
Added: head/tools/build/options/WITHOUT_BSDINSTALL
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/tools/build/options/WITHOUT_BSDINSTALL Sun Jan 25 04:43:13 2015 (r277677)
@@ -0,0 +1,5 @@
+.\" $FreeBSD$
+Set to not build
+.Xr bsdinstall 8 ,
+.Xr sade 8 ,
+and related programs.
Modified: head/usr.sbin/Makefile
==============================================================================
--- head/usr.sbin/Makefile Sun Jan 25 04:37:44 2015 (r277676)
+++ head/usr.sbin/Makefile Sun Jan 25 04:43:13 2015 (r277677)
@@ -9,7 +9,6 @@ SUBDIR= adduser \
binmiscctl \
bootparamd \
bsdconfig \
- bsdinstall \
cdcontrol \
chkgrp \
chown \
@@ -129,6 +128,10 @@ SUBDIR+= authpf
SUBDIR+= bluetooth
.endif
+.if ${MK_BSDINSTALL} != "no"
+SUBDIR+= bsdinstall
+.endif
+
.if ${MK_BSNMP} != "no"
SUBDIR+= bsnmpd
.endif
More information about the svn-src-all
mailing list