Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Feb 2012 09:20:58 -0500
From:      Outback Dingo <outbackdingo@gmail.com>
To:        james@mansionfamily.plus.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to build 9.0 from source?
Message-ID:  <CAKYr3zy7=LeqYYNKrH1FLVPwyzHa2=9Dx20hNxpSxjufC_0P5g@mail.gmail.com>
In-Reply-To: <4F2E8F17.3020502@mansionfamily.plus.com>
References:  <4F2E8F17.3020502@mansionfamily.plus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 5, 2012 at 9:15 AM, james <james@mansionfamily.plus.com> wrote:
> I installed 9.0 without sources.
>
> Now I'd like to try building the kernel (or specifically the mfi driver), so
> I've tried to get the sources.
>
> The handbook says (in 9.55) to use sysinstall to get the source
> configuration - but that doesn't seem to work and what its trying to fetch
> seems more like an 8.x source set,
>
> I fetched src.txz and unpacked it and sorted out the /usr/src/sys link, and
> 'make' in the root of that builds the boot code ok.
>
> However, there is no /usr/src/UPDATING to check per 9.5, and 'cd
> /usr/src;make buildkernel' tells me:
>
> make: don't know how t make buildkerel. Stop.
>
> /usr/src was empty before I set up the 'sys' link (which in my case points
> to a zfs volume).
>
> It seems wrong to m - how can I get sources etc installed so I can build the
> kernel? (And userspace if necessary - but its the mfi driver I want to
> fiddle with)

look in /usr/share/examples/cvsup theres files for csup, edit them to
your needs, cvsup server and release

the run csup -g 2 -L stable-supfile

itll fetch all the sources...

also see http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html



>
> James
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKYr3zy7=LeqYYNKrH1FLVPwyzHa2=9Dx20hNxpSxjufC_0P5g>