From owner-p4-projects@FreeBSD.ORG Fri Dec 1 02:27:30 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 2382516A412; Fri, 1 Dec 2006 02:27:30 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0009B16A40F for ; Fri, 1 Dec 2006 02:27:29 +0000 (UTC) (envelope-from soc-andrew@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72AB243CA5 for ; Fri, 1 Dec 2006 02:27:18 +0000 (GMT) (envelope-from soc-andrew@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kB12RTGc033914 for ; Fri, 1 Dec 2006 02:27:29 GMT (envelope-from soc-andrew@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kB12RTan033911 for perforce@freebsd.org; Fri, 1 Dec 2006 02:27:29 GMT (envelope-from soc-andrew@freebsd.org) Date: Fri, 1 Dec 2006 02:27:29 GMT Message-Id: <200612010227.kB12RTan033911@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to soc-andrew@freebsd.org using -f From: soc-andrew To: Perforce Change Reviews Cc: Subject: PERFORCE change 110778 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Dec 2006 02:27:30 -0000 http://perforce.freebsd.org/chv.cgi?CH=110778 Change 110778 by soc-andrew@soc-andrew_serv on 2006/12/01 02:27:20 Add a target to build a tarball that, when extracted to the correct location, can be used to install by netbooting Affected files ... .. //depot/projects/soc2005/bsdinstaller/src/release/Makefile#56 edit Differences ... ==== //depot/projects/soc2005/bsdinstaller/src/release/Makefile#56 (text+ko) ==== @@ -303,6 +303,7 @@ BOOTABLE="-b" .endif .endif +EXTRAS+= nfs.1 .if !defined(NODOC) DOCREL= doc.1 doc.2 @@ -1199,6 +1200,22 @@ @echo "Do not know how to create an ISO for ${TARGET_ARCH}." .endif +# Build a tarball that can be used to do a netboot based install +nfs.1: +.if defined(BSDINSTALLER) + @mkdir -p ${RD}/bsdinstaller/netboot + ( tar --exclude CVS -cf - -C ${RD}/bsdinstaller/root . | \ + tar xf - -C ${RD}/bsdinstaller/netboot ) + + # Add the dists + @mkdir -p ${RD}/bsdinstaller/netboot/${BUILDNAME} + @cd ${RD}/dists && find . -print | cpio -dumpl ${RD}/bsdinstaller/netboot/${BUILDNAME} + + # Create a tarball of it + tar -cf ${RD}/bsdinstaller/netboot.tar -C ${RD}/bsdinstaller/netboot . +.endif + touch ${.TARGET} + # # --==## Documentation Project files such as the Handbook and FAQ ##==-- #