Eliminating IPv6 (?)
Brian Wood
woodbrian77 at gmail.com
Mon Jun 24 19:12:41 UTC 2019
On Sun, Jun 23, 2019 at 11:52 PM Polytropon <freebsd at 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.
More information about the freebsd-questions
mailing list