Update release(7) to note OSRELEASE is only relevant when the
'install' target is invoked. While here, bump the sample output version name, and explicitly add the 'obj' target to avoid polluting the src checkout. Submitted by: Trond Endrestol PR: 243287 (related) MFC after: 3 days Sponsored by: Rubicon Communications, LLC (netgate.com)
This commit is contained in:
parent
646b571454
commit
d874f3e6a2
@ -24,7 +24,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd March 28, 2018
|
.Dd January 16, 2020
|
||||||
.Dt RELEASE 7
|
.Dt RELEASE 7
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -570,8 +570,10 @@ target invoked by
|
|||||||
Optional variables:
|
Optional variables:
|
||||||
.Bl -tag -width ".Ev TARGET_ARCH"
|
.Bl -tag -width ".Ev TARGET_ARCH"
|
||||||
.It Ev OSRELEASE
|
.It Ev OSRELEASE
|
||||||
Optional base name for generated media images
|
Optional base name for generated media images when invoking the
|
||||||
.Pq e.g., FreeBSD-9.0-RC2-amd64 .
|
.Cm install
|
||||||
|
target
|
||||||
|
.Pq e.g., FreeBSD-12.1-RELEASE-amd64 .
|
||||||
Defaults to the output of
|
Defaults to the output of
|
||||||
.Ic `uname -s`-`uname -r`-`uname -p`
|
.Ic `uname -s`-`uname -r`-`uname -p`
|
||||||
within the chroot.
|
within the chroot.
|
||||||
@ -659,6 +661,7 @@ svn co svn://svn.freebsd.org/base/head src
|
|||||||
cd src
|
cd src
|
||||||
make buildworld buildkernel
|
make buildworld buildkernel
|
||||||
cd release
|
cd release
|
||||||
|
make obj
|
||||||
make release
|
make release
|
||||||
make install DESTDIR=/var/freebsd-snapshot
|
make install DESTDIR=/var/freebsd-snapshot
|
||||||
.Ed
|
.Ed
|
||||||
|
Loading…
Reference in New Issue
Block a user