From owner-freebsd-bugs Sun Jan 12 10:20: 6 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A57AD37B401 for ; Sun, 12 Jan 2003 10:20:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5D9C43F3F for ; Sun, 12 Jan 2003 10:20:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0CIK2NS076788 for ; Sun, 12 Jan 2003 10:20:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0CIK20H076787; Sun, 12 Jan 2003 10:20:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56DE037B401 for ; Sun, 12 Jan 2003 10:10:07 -0800 (PST) Received: from arthur.nitro.dk (port324.ds1-khk.adsl.cybercity.dk [212.242.113.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75B0743E4A for ; Sun, 12 Jan 2003 10:10:06 -0800 (PST) (envelope-from simon@arthur.nitro.dk) Received: by arthur.nitro.dk (Postfix, from userid 1000) id 0985210BF87; Sun, 12 Jan 2003 19:10:04 +0100 (CET) Message-Id: <20030112181004.0985210BF87@arthur.nitro.dk> Date: Sun, 12 Jan 2003 19:10:04 +0100 (CET) From: "Simon L.Nielsen" Reply-To: "Simon L.Nielsen" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/46998: [patch] Support PicoBSD source in other locations than /usr/src/... Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 46998 >Category: misc >Synopsis: [patch] Support PicoBSD source in other locations than /usr/src/... >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jan 12 10:20:02 PST 2003 >Closed-Date: >Last-Modified: >Originator: Simon L. Nielsen >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD arthur.nitro.dk 4.7-STABLE FreeBSD 4.7-STABLE #4: Sun Jan 5 15:47:07 CET 2003 root@arthur.nitro.dk:/usr/obj/usr/src/sys/ARTHUR i386 >Description: This patch allows the PICO_TREE variable to be overridden and therefor making it possible to have the PicoBSD source tree located somewhere other than /usr/src/release/picobsd Note: The man-page update should be reviewed for style since it is my first attempt to write a man-page. >How-To-Repeat: N/A >Fix: --- pico_tree.patch begins here --- Index: release/picobsd/build/picobsd =================================================================== RCS file: /home/mirror/freebsd/ncvs/src/release/picobsd/build/picobsd,v retrieving revision 1.27 diff -u -d -r1.27 picobsd --- release/picobsd/build/picobsd 14 Jul 2002 12:07:06 -0000 1.27 +++ release/picobsd/build/picobsd 12 Jan 2003 17:45:07 -0000 @@ -882,6 +882,10 @@ SRC=`(cd $2; pwd)` shift ;; + --pico-tree)# set the path to the picobsd tree instead of ${SRC}/release/picobsd + PICO_TREE=`(cd $2; pwd)` + shift + ;; --init) o_init_src="YES" ;; Index: share/man/man8/picobsd.8 =================================================================== RCS file: /home/mirror/freebsd/ncvs/src/share/man/man8/picobsd.8,v retrieving revision 1.24 diff -u -d -r1.24 picobsd.8 --- share/man/man8/picobsd.8 27 Dec 2002 12:15:34 -0000 1.24 +++ share/man/man8/picobsd.8 12 Jan 2003 17:45:07 -0000 @@ -74,6 +74,14 @@ .Pa usr subtree touches some parts of the source tree (this is a bug in the release build scripts which might go away with time). +.It Fl -pico-tree Ar PICO_TREE +Use PicoBSD tree at +.Ar PICO_TREE +instead of the one at +.Ao Ar SRC_PATH Ac Ns Pa /release/picobsd . +This can be useful for have a local version of picobsd that +does not get overridden by running cvsup on +.Pa /usr/src . .It Fl -init When used together with the .Fl -src --- pico_tree.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message