From f06cd88343cab3a1dd9acf9bd738b133b23be6f8 Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 26 Jun 2016 15:17:43 +0000 Subject: [PATCH] Document how to create full boot and installation images containing release tarballs and ports, suitable for installs without network. Idea and patch from Bryan Everly, thanks! With input from deraadt, jmc and myself. ok jmc --- share/man/man8/release.8 | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/share/man/man8/release.8 b/share/man/man8/release.8 index 1fff1978578..c62b993b802 100644 --- a/share/man/man8/release.8 +++ b/share/man/man8/release.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: release.8,v 1.72 2015/09/14 20:06:59 schwarze Exp $ +.\" $OpenBSD: release.8,v 1.73 2016/06/26 15:17:43 tb Exp $ .\" .\" Copyright (c) 2000 Marco S. Hyman .\" @@ -9,7 +9,7 @@ .\" LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS .\" FOR A PARTICULAR PURPOSE. .\" -.Dd $Mdocdate: September 14 2015 $ +.Dd $Mdocdate: June 26 2016 $ .Dt RELEASE 8 .Os .Sh NAME @@ -34,6 +34,8 @@ Build and install xenocara. Make and validate the xenocara release. .It Make the third party packages. +.It +Create boot and installation disk images. .El .Pp The following sections describe each of the required steps in detail. @@ -338,6 +340,30 @@ subsystem of contributed applications is capable of producing for installation, either individually or in bulk. This is described in .Xr ports 7 . +.Ss 8. Create boot and installation disk images +At this point, +.Va RELEASEDIR +contains the +.Ox +tarballs necessary to upgrade. +.Pp +The following steps will create the boot and installation images +.No install${ Ns Ar VERSION Ns }.fs +and +.No install${ Ns Ar VERSION Ns }.iso +suitable for installs without network connectivity. +These images contain the tarballs and ports built in the previous +steps. +.Bd -literal -offset indent +# export RELDIR=your-releasedir +# export RELXDIR=your-xenocara-releasedir +# cd /usr/src/distrib/${ARCH}/iso && make +# make install +# unset RELDIR RELXDIR +.Ed +.Pp +The two installer images are now stored in the local release +directory. .Sh SEE ALSO .Xr cvs 1 , .Xr doas 1 , -- 2.20.1