Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Apr 2022 14:45:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 263494] beinstall.sh(8) should be in the FreeBSD Handbook
Message-ID:  <bug-263494-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263494

            Bug ID: 263494
           Summary: beinstall.sh(8) should be in the FreeBSD Handbook
           Product: Documentation
           Version: Latest
          Hardware: Any
               URL: https://github.com/freebsd/freebsd-doc/blob/main/docum
                    entation/content/en/books/handbook/cutting-edge/_index
                    .adoc#61-quick-start
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Documentation
          Assignee: doc@FreeBSD.org
          Reporter: grahamperrin@gmail.com
                CC: dch@freebsd.org, will@FreeBSD.org

Essentially, for a run of the script without options, something like these =
four
steps:=20

build world and kernel
pkg bootstrap
cd /usr/src
/usr/src/tools/build/beinstall.sh


Thoughts
=3D=3D=3D=3D=3D=3D=3D=3D

Use of this FreeBSD-provided script can make a quick start even quicker, so=
 aim
to mention it under (or not too far from)
<https://docs.freebsd.org/en/books/handbook/cutting-edge/#updating-src-quic=
k-start>.


Source, manual pages and background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

<https://github.com/freebsd/freebsd-src/blob/main/tools/build/beinstall.sh>;

beinstall.sh(8)=20
<https://www.freebsd.org/cgi/man.cgi?query=3Dbeinstall.sh&sektion=3D8&manpa=
th=3DFreeBSD>

pkg(7)=20
<https://www.freebsd.org/cgi/man.cgi?query=3Dpkg&sektion=3D7&manpath=3DFree=
BSD>
(section 7, not 8; in FreeBSD, not ports).=20


<https://forums.freebsd.org/posts/357552>; (2017) dch@ wrote:=20

>  =E2=80=A6 if you build from source, there is this amazing gem =E2=80=A6=
=20
> Does The Right Thing - creates a boot environment, installs into it,=20
> upgrades the packages in the new BE, and finally merges in any changes=20
> to /etc for you. =E2=80=A6


<https://forums.freebsd.org/posts/393634>; (2018):=20

> You may want to take a look on beinstall.sh. Currently it is just=20
> available on -CURRENT but should work fine on 11.XR =E2=80=A6. This basic=
ally=20
> wrap sysutils/beadm and automatize the process safely. ;) =E2=80=A6


building FreeBSD from source into a BE - HackMD
<https://hackmd.io/@dch/r1X8LNVaB>; thanks to dch@

> =E2=80=A6 wrapper around Will Andrews' super-duper beinstall.sh script =
=E2=80=A6

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263494-9>