make buildkernel fails without complete source tree
Tom Rhodes
trhodes at FreeBSD.org
Fri Jan 19 00:12:36 UTC 2007
On Thu, 18 Jan 2007 10:27:28 -0800
"Bruce A. Mah" <bmah at freebsd.org> wrote:
> If memory serves me right, Murray Stokely wrote:
> > On 1/18/07, Remko Lodder <remko at elvandar.org> wrote:
> >> This is not true. I downloaded the packages which are being used by sysinstall
> >> and extracted them. I found the Makefile, it was properly filled with instructions.
> >
> > It looks to me like src/release/makefile builds the tar file ssys.tar
> > by just tarring /usr/src/sys and therefore would in fact be missing
> > /usr/src/Makefile and /usr/src/Makefile.inc1 necessary for "make
> > buildkernel".
> >
> > Taking a look at the tar file:
> >
> > cat ssys.a?? > ssys.tar && tar tvf ssys.tar
> >
> > I see that only files in /usr/src/sys are included.
> >
> > We could add a tar -r -f .. /usr/src/Makefile /usr/src/Makefile.inc1
> > to release.7 in /usr/src/release/Makefile to automatically add these
> > two files as a special case to the ssys distribution. CCing re@ for
> > any comments on that proposal.
>
> I vaguely remember this issue coming up before, and that we didn't make
> any changes to packaging because that in order to use the buildkernel
> target, one "should" have already done a buildworld, which requires the
> complete source tree anyway.
>
> (Maybe I'm mis-remembering...)
No, you remember correctly. It was I who raised this issue
perhaps three years ago (more?). Thing I can't remember is
if it was a re@ thing, something I mentioned at a conference
which carried over to email, or a mailing list.
--
Tom Rhodes
More information about the freebsd-doc
mailing list