Re: Is /usr/obj Required For Installation?
- In reply to: Michael Sierchio : "Re: Is /usr/obj Required For Installation?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 03 Dec 2024 18:53:34 UTC
On 12/3/24 07:31, Michael Sierchio wrote: > > On Tue, Dec 3, 2024 at 8:17 AM Tim Daneliuk <thronobulax@gmail.com <mailto: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 think this answers my question which was whether I could build, then delete /usr/obj with a system fully available for installation at a later date. It looks like that would not work. > > I typically have micro instances as appliances and build kernels and world on another, more robust multiprocessor VM. > Yes that works well with "real" VMs and physical machines. In my case though, on of the target systems is out on a hosting provider that may (not sure) be using VPS trickery, so I dunno if that would work. Thanks for taking the time.