Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2005 18:09:30 +0100 (CET)
From:      Björn König <bkoenig@cs.tu-berlin.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:    docs/77610: update jail(8) because 'make world' doesn't work anymore
Message-ID:  <20050216170930.13391CCD8B8@mail.alpha-tierchen.de>
Resent-Message-ID: <200502161710.j1GHAE6u052708@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         77610
>Category:       docs
>Synopsis:       update jail(8) because 'make world' doesn't work anymore
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 16 17:10:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Björn König
>Release:        FreeBSD 5.3-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD hoppel.local 5.3-RELEASE-p4 FreeBSD 5.3-RELEASE-p4 #0: Mon Jan 10 10:02:44 CET 2005 root@hoppel.local:/usr/obj/usr/branch/RELENG_5_3/src/sys/HOPPEL i386


	
>Description:
	make world DESTDIR=$D won't work anymore to build a jail
	as described in jail(8).
	
	Doing this in two steps, i.e. buildworld and installworld,
    works fine. I suggest to update the manpage.
>How-To-Repeat:

	mkdir /usr/foo
	cd /usr/src
	make world DESTDIR=/usr/foo

	This will fail after a few seconds.
>Fix:
--- usr.sbin/jail/jail.8        Wed Feb 16 17:50:36 2005
+++ usr.sbin/jail/jail.8        Wed Feb 16 17:51:14 2005
@@ -120,7 +120,8 @@
 D=/here/is/the/jail
 cd /usr/src
 mkdir -p $D
-make world DESTDIR=$D
+make buildworld
+make installworld DESTDIR=$D
 cd etc
 make distribution DESTDIR=$D
 mount_devfs devfs $D/dev
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050216170930.13391CCD8B8>