Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2012 12:24:21 +0100
From:      Fleuriot Damien <ml@my.gd>
To:        Garrett Cooper <yanegomi@gmail.com>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, AndreOppermann <andre@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>, Ryan Stone <rysto32@gmail.com>
Subject:   Re: kernel module parallel build?
Message-ID:  <6C48F39A-83D9-4EA0-A7C5-99484FF00D3F@my.gd>
In-Reply-To: <CAGH67wTsRcoDS5B9tUqzUQNZpam_wmaLXDccdBygrrM354OAWA@mail.gmail.com>
References:  <5083D84E.50903@freebsd.org> <201212041052.51476.jhb@freebsd.org> <CAFMmRNzmfHcC3S%2BFfh2YjWDdzr=ddHEggrg%2Biyjjfc6COKdKSw@mail.gmail.com> <201212051142.18361.jhb@freebsd.org> <0EC857C9-4C1B-467D-8499-B493401B64BC@bsdimp.com> <20E25F79-2C53-45FD-BB7F-060AC9B26245@my.gd> <CAGH67wTsRcoDS5B9tUqzUQNZpam_wmaLXDccdBygrrM354OAWA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Dec 6, 2012, at 1:28 AM, Garrett Cooper <yanegomi@gmail.com> wrote:

> On Wed, Dec 5, 2012 at 3:51 PM, Damien Fleuriot <ml@my.gd> wrote:
>=20
> ...
>=20
>> All trolling aside, I believe an awesome fix to be setting module =
override in /etc/make.conf to only build the 4-5 specific modules one =
needs.
>>=20
>> To be honest I think this configuration tweak should be advertised a =
bit more as it definitely speeds up kernel builds.
>>=20
>> I would be happy to check if this is advertised in the handbook in =
the "rebuilding kernel" section and enhance its visibility if required.
>>=20
>> I can provide en_US and fr_FR.
>=20
> +1. Please write it up if you can; it's much quicker/better than the
> kitchen sink approach if you know what you're doing and don't have to
> build for a large set of platforms.
> Thanks!
> -Garrett


I've had a look at the handbook and the MODULES_OVERRIDE bit is already =
well written and definitely visible:
=
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-bui=
lding.html

I believe no rewrite is necessary.



However, I fail to see any mention of nextboot.

It might be a good idea to let people know they can boot their new =
kernel just once to see if it works, and revert to their old kernel if =
boot should fail.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C48F39A-83D9-4EA0-A7C5-99484FF00D3F>