Date: Mon, 24 Jun 2019 14:12:27 -0500 From: Brian Wood <woodbrian77@gmail.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Eliminating IPv6 (?) Message-ID: <CABWFOjthd1Ukuf5yBz5Gx=_Sht1S8r02hGxV9szTE7g6FE3q3g@mail.gmail.com> In-Reply-To: <20190624065233.fb5f72f4.freebsd@edvax.de> References: <CABWFOjvAsY6CTWbDNtZfiNv80C=HHz5ocigFB_xJGn_LM9722A@mail.gmail.com> <20190624065233.fb5f72f4.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 23, 2019 at 11:52 PM Polytropon <freebsd@edvax.de> wrote: > Refer to /usr/src/Makefile's comment header where you will find > a short explanation of the different targets. > > make kernel: > This target performs both "make buildkernel" and > "make installkernel". It's possible to run this > command in multi-user mode and then reboot into > the new kernel. It's neccessary that world and > kernel are in sync version-wise. > > make buildkernel: > This target builds the kernel, but does not install > it. > > make buildworld: > This target builds the world, but does not install > it. > > make installkernel: > This target installs the kernel. It can be done > in single-user and multi-user mode. > > make installworld: > This is a very special target. It requires that > you have booted the appropriate kernel, the ("old") > world / OS in single-user mode, and performed basic > file system checks manually (as this is not done > automatically for single-user mode!). Before and > after this step, tools such as mergemaster can (and > should) be used. > Here's a short summary (from the source mentioned above): > > # For individuals wanting to upgrade their sources (even if only a > # delta of a few days): > # > # 1. `cd /usr/src' (or to the directory containing your source > tree). > # 2. `make buildworld' > # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is > GENERIC). > # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is > GENERIC). > # [steps 3. & 4. can be combined by using the "kernel" target] > # 5. `reboot' (in single user mode: boot -s from the loader > prompt). > # 6. `mergemaster -p' > # 7. `make installworld' > # 8. `make delete-old' > # 9. `mergemaster' (you may wish to use -i, along with -U or > -F). > # 10. `reboot' > # 11. `make delete-old-libs' (in case no 3rd party program uses them > anymore) > > Also see "man 7 build" for further documentation. > > Thanks. The above steps make more sense to me now.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABWFOjthd1Ukuf5yBz5Gx=_Sht1S8r02hGxV9szTE7g6FE3q3g>