From owner-freebsd-questions Sun Jun 14 08:48:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA17205 for freebsd-questions-outgoing; Sun, 14 Jun 1998 08:48:46 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ix.netcom.com (sil-wa4-32.ix.netcom.com [207.93.136.96]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA17178 for ; Sun, 14 Jun 1998 08:48:34 -0700 (PDT) (envelope-from tomdean@ix.netcom.com) Received: (from tomdean@localhost) by ix.netcom.com (8.8.8/8.8.8) id IAA00408; Sun, 14 Jun 1998 08:48:19 -0700 (PDT) (envelope-from tomdean) Date: Sun, 14 Jun 1998 08:48:19 -0700 (PDT) Message-Id: <199806141548.IAA00408@ix.netcom.com> From: Thomas Dean To: freebsd-root@i-zone.demon.co.uk CC: freebsd-questions@FreeBSD.ORG In-reply-to: <7dCLmNAvK4g1EwqX@i-zone.demon.co.uk> (message from John on Sun, 14 Jun 1998 08:58:39 +0100) Subject: Re: source install Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You need a directory sub-tree, /usr/src/sys and a link, /sys->/usr/src/sys If you have to create the head of the tree, the modess are: > ls -lF /usr drwxr-xr-x 22 bin bin 512 May 4 22:28 src/ > ls -lF /usr/src drwxr-xr-x 31 root wheel 512 Mar 8 20:37 sys/ I believe you can unpack the ssys.* files into the /usr/src/sys tree, using the install.sh script. If you have the files, sbin.aa, sbin.ab, ..., ssys.aa, ssys.ab, ... in the tree, /dos/freebsd/src, you can run the install.sh script to unpact the desired part of the tree. './install.sh sys' should unpack the sys sources into /usr/src. Do you know what to change to build a new kernel? Do you know the build steps? There is lots of info on the web site, www.freebsd.org, under documentation. I have attached the 2.2.6 install.sh script. Hope this helps, tomdean The 2.2.6 script is: #!/bin/sh # if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 fi if [ $# -lt 1 ]; then echo "You must specify which components of src to extract" echo "possible subcomponents are:" echo echo "base bin contrib etc games gnu include lib libexec lkm" echo "release sbin share smailcf sys ubin usbin" echo echo "You may also specify all to extract all subcomponents." exit 1 fi if [ "$1" = "all" ]; then dists="base bin contrib etc games gnu include lib libexec lkm release sb in share smailcf sys ubin usbin" else dists="$*" fi for i in $dists; do echo "Extracting source component: $i" cat s${i}.?? | tar --unlink -xpzf - -C /usr/src done exit 0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message