On Sun, Feb 5, 2012 at 9:15 AM, james <ja...@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-unsubscr...@freebsd.org"
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to