Creating kernel distribution from sources

Devin Teske devin.teske at
Mon Sep 24 16:53:06 UTC 2012

On Sep 24, 2012, at 6:03 AM, Rick Miller wrote:

> Hi All,
> I've generated a DVD iso and imported it into a provisioning platform.
> After this integration, a decision was made to rebuild the kernel
> with an option enabled.  As opposed to executing a full `make
> release`, I just want to build the kernel distribution.  In reading
> the manpage, it looks like I can just run `make release.3 && make
> release.5 && make release.6` to accomplish this.  Is this correct?
> Would the resulting files be installed in ${CHROOTDIR}/R?

Almost! Don't forget you need to first remove the target files created by each of those targets.

In example:

rm -f /usr/release/usr/obj/usr/src/release/release.{3,5,6}
make release.{3,5,6}

Yes, the resulting files will be in (by default) /usr/release/R

The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.

More information about the freebsd-questions mailing list