svn commit: r287358 - head

Alexander Kabaev kabaev at gmail.com
Wed Sep 2 02:44:46 UTC 2015


On Tue, 1 Sep 2015 11:59:12 +0000 (UTC)
Gleb Smirnoff <glebius at FreeBSD.org> wrote:

> Author: glebius
> Date: Tue Sep  1 11:59:12 2015
> New Revision: 287358
> URL: https://svnweb.freebsd.org/changeset/base/287358
> 
> Log:
>   Not only build with buildworld, but also install with installworld
> all alternative kernels.
>   
>   Sponsored by:	Netflix
>   Sponsored by:	Nginx, Inc.
> 
> Modified:
>   head/Makefile.inc1
> 
> Modified: head/Makefile.inc1
> ==============================================================================
> --- head/Makefile.inc1	Tue Sep  1 11:46:13 2015
> (r287357) +++ head/Makefile.inc1	Tue Sep  1 11:59:12
> 2015	(r287358) @@ -1127,6 +1127,14 @@ reinstallkernel
> reinstallkernel.debug: _ cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
>  	    ${CROSSENV} PATH=${TMPPATH} \
>  	    ${MAKE} ${IMAKE_INSTALL} KERNEL=${INSTKERNNAME}
> ${.TARGET:S/kernel//} +.for _kernel in ${BUILDKERNELS:[2..-1]}
> +	@echo
> "--------------------------------------------------------------"
> +	@echo ">>> Installing kernel ${_kernel}"
> +	@echo
> "--------------------------------------------------------------"
> +	cd ${KRNLOBJDIR}/${_kernel}; \
> +	    ${CROSSENV} PATH=${TMPPATH} \
> +	    ${MAKE} ${IMAKE_INSTALL}
> KERNEL=${INSTKERNNAME}.${_kernel} ${.TARGET:S/kernel//} +.endfor
>  
>  distributekernel distributekernel.debug:
>  .if empty(INSTALLKERNEL)

This is probably not doing what you think it is doing. Now, when
installing my kernel, built from config file <blah>, I get it installed
into /boot/kernel, which is good and normal, and I get an extra and
highly undesired copy in boot/kernel.<blah>. That one I didn't ask for
and would rather see it gone. 

-- 
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20150901/1fb86697/attachment.bin>


More information about the svn-src-head mailing list