Date: Sun, 12 Jan 2003 19:10:04 +0100 (CET) From: "Simon L.Nielsen" <simon@nitro.dk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/46998: [patch] Support PicoBSD source in other locations than /usr/src/... Message-ID: <20030112181004.0985210BF87@arthur.nitro.dk>
index | next in thread | raw e-mail
>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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030112181004.0985210BF87>
