Date: Tue, 3 Apr 2001 09:30:04 -0700 (PDT) From: Peter Pentchev <roam@orbitel.bg> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/26317: /modules not created by make installkernel Message-ID: <200104031630.f33GU4U03636@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/26317; it has been noted by GNATS. From: Peter Pentchev <roam@orbitel.bg> To: Johan Karlsson <k@numeri.campus.luth.se> Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/26317: /modules not created by make installkernel Date: Tue, 3 Apr 2001 19:24:39 +0300 On Tue, Apr 03, 2001 at 06:10:48PM +0200, Johan Karlsson wrote: > On Tue, Apr 03, 2001 at 08:40 (-0700) +0000, Peter Pentchev wrote: > > The /modules directory is created in the first stage of the 'make installworld' > > process. As world and kernel should generally always be rebuild/reinstalled > > in sync, this does not usually arise as a problem :) > > > > As you correctly point out, a workaround is to always have a /modules dir. > > I wonder, though, whether the 'installkernel' target in Makefile.inc1 should > > not, too, invoke a 'make hierarchy', or at least some subset of that, to do > > an mtree from BSD.root.dist; that should ensure that the /modules directory > > is there. > > From /usr/src/UPDATING > make buildworld > make buildkernel KERNCONF=YOUR_KERNEL_HERE > make installkernel KERNCONF=YOUR_KERNEL_HERE > reboot (in single user) [1] > make installworld > mergemaster > reboot > > > Hence you are recommended to run installkernel before installworld. > > See PR 20326 where the problem is similar. I know; this is why I think that a subset of the 'make hierarchy' functionality should be added first thing in the 'installkernel' target. G'luck, Peter -- Thit sentence is not self-referential because "thit" is not a word. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104031630.f33GU4U03636>