Re: Is /usr/obj Required For Installation?
- Reply: Tim Daneliuk : "Re: Is /usr/obj Required For Installation?"
- In reply to: Tim Daneliuk : "Is /usr/obj Required For Installation?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 03 Dec 2024 13:31:01 UTC
On Tue, Dec 3, 2024 at 8:17 AM Tim Daneliuk <thronobulax@gmail.com> wrote: > After running buildworld and buildkern, is /usr/obj subsequently required > to install the new kernel(s) and world files or are all the required object > files already bound into installable libraries? I'm not sure I understand your question, but I'll blather on. /usr/obj/usr/src/<arch>/sys/<kernel name> contains the kernel and the .o files required for building it, and it's where it gets installed from. Once you've built and installed it, and world, you may safely rm -rf usr/obj/* without affecting a running system. I typically have micro instances as appliances and build kernels and world on another, more robust multiprocessor VM.