From owner-freebsd-doc@FreeBSD.ORG Sun Jun 7 14:20:06 2009 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 501DA1065670 for ; Sun, 7 Jun 2009 14:20:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 240788FC1D for ; Sun, 7 Jun 2009 14:20:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n57EK596032033 for ; Sun, 7 Jun 2009 14:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n57EK52s032032; Sun, 7 Jun 2009 14:20:05 GMT (envelope-from gnats) Date: Sun, 7 Jun 2009 14:20:05 GMT Message-Id: <200906071420.n57EK52s032032@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Glen Barber Cc: Subject: Re: docs/135316: [patch][doc] Add 'make installworld' section to jails-build.html X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Glen Barber List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jun 2009 14:20:06 -0000 The following reply was made to PR docs/135316; it has been noted by GNATS. From: Glen Barber To: bug-followup@FreeBSD.org,glen.j.barber@gmail.com Cc: Subject: Re: docs/135316: [patch][doc] Add 'make installworld' section to jails-build.html Date: Sun, 07 Jun 2009 09:53:08 -0400 Good ol' Gmail destroyed my patch. Hopefully this one will come out a little better. -- Glen Barber --- /usr/doc/en_US.ISO8859-1/books/handbook/jails/chapter.sgml.orig 2009-06-07 09:09:11.000000000 -0400 +++ /usr/doc/en_US.ISO8859-1/books/handbook/jails/chapter.sgml 2009-06-07 09:22:32.000000000 -0400 @@ -242,12 +242,25 @@ &prompt.root; setenv D /here/is/the/jail &prompt.root; mkdir -p $D &prompt.root; cd /usr/src -&prompt.root; make world DESTDIR=$D +&prompt.root; make buildworld +&prompt.root; make installworld DESTDIR=$D &prompt.root; cd etc/ This step is not required on &os; 6.0 and later. &prompt.root; make distribution DESTDIR=$D &prompt.root; mount -t devfs devfs $D/dev + If you have already rebuilt your userland and kernel using make world or +make buildworld, you can skip the buildworld process and install your existing userland into a new jail. + + &prompt.root; setenv D /here/is/the/jail +&prompt.root; mkdir -p $D +&prompt.root; cd /usr/src +&prompt.root; make installworld DESTDIR=$D +&prompt.root; cd etc/ This step +is not required on &os; 6.0 and later. +&prompt.root; make distribution DESTDIR=$D +&prompt.root; mount -t devfs devfs $D/dev + Selecting a location for a jail is the best starting point.