Date: Sun, 24 Sep 1995 15:46:51 -0400 From: "Garrett A. Wollman" <wollman@lcs.mit.edu> To: Wayne Hernandez <hernanw@FSL.ORST.EDU> Cc: questions <freebsd-questions@freebsd.org> Subject: make release without CVS tree Message-ID: <9509241946.AA11648@halloran-eldar.lcs.mit.edu> In-Reply-To: <Pine.SUN.3.91.950923131913.26147A-100000@cornus.FSL.ORST.EDU> References: <Pine.SUN.3.91.950923131913.26147A-100000@cornus.FSL.ORST.EDU>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Sat, 23 Sep 1995 13:28:43 -0700 (PDT), Wayne Hernandez <hernanw@FSL.ORST.EDU> said:
> release rule where Jordan, in a messaged dated 2 Aug 95, said to change the
> .if !defined(RELEASETAG) section to tar -cf - -C /usr src | tar -xvf -C
> ${CHROOTDIR}/usr. I seem to be getting a tar file called -C in the current
> directory. Is this right?
That's `tar xvfC - ${CHROOTDIR}/usr'. If your /usr/release is on the
same partition as your /usr/src, then you can instead do:
cd /usr; find src | cpio -dumpl ${CHROOTDIR}/usr
which will create a tree of hard links. And, of course, if
/usr/src is on a separate filesystem, then you can do:
cd ${CHROOTDIR}/usr/src; dump 0f - /dev/whatever | restore rvf -
> Also, how much space should I require for this, as I seem to have only 26
> megs free on a 200 meg partition for /usr/obj, and /usr/obj/release?
On my release-building machine, the end-point of a release build for
our modified system looks like this:
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/sd0h 643199 393693 198050 67% /usr/release
-GAWollman
--
Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ...
wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence. We like people
MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9509241946.AA11648>
