summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-12-05 22:51:20 +0000
committerngie <ngie@FreeBSD.org>2015-12-05 22:51:20 +0000
commit40d2008f0cc42d33716467551d870ebd93a41bf2 (patch)
tree671c8bbdf2c60b6ffc46642fa7fa50e29a673f7c /rescue
parent7fb13df4f337ed260dd3521532e06274456fdffa (diff)
downloadFreeBSD-src-40d2008f0cc42d33716467551d870ebd93a41bf2.zip
FreeBSD-src-40d2008f0cc42d33716467551d870ebd93a41bf2.tar.gz
MFC r289452,r289469:
r289452 (by trasz): Add iscsictl(8) and iscsid(8) to rescue(8). The point is to make it easier to build md_root images from rescue(8), to use with iSCSI boot. The change increases the size of rescue by 62kB, from 8728kB to 8790kB. Reviewed by: bapt@ Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3865 r289469: Make iscsictl and iscsid build if MK_ISCSI == yes
Diffstat (limited to 'rescue')
-rw-r--r--rescue/rescue/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile
index a72e69f..9b99141 100644
--- a/rescue/rescue/Makefile
+++ b/rescue/rescue/Makefile
@@ -224,5 +224,10 @@ CRUNCH_ALIAS_chown= chgrp
##################################################################
CRUNCH_LIBS+= -lm
+.if ${MK_ISCSI} != "no"
+CRUNCH_PROGS_usr.bin+= iscsictl
+CRUNCH_PROGS_usr.sbin+= iscsid
+.endif
+
.include <bsd.crunchgen.mk>
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud