Skip to content

Instantly share code, notes, and snippets.

@boina-n
Created October 22, 2017 16:15
Show Gist options
  • Save boina-n/aabea8287ec038d73ae93804af7f7b91 to your computer and use it in GitHub Desktop.
Save boina-n/aabea8287ec038d73ae93804af7f7b91 to your computer and use it in GitHub Desktop.
Kernel-Conf-UnixSystem.txt
# 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment