Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



> Index: bsd.kmodule.mk
> ===================================================================
> RCS file: /u/nb/src/share/mk/bsd.kmodule.mk,v
> retrieving revision 1.8
> diff -u -p -r1.8 bsd.kmodule.mk
> --- bsd.kmodule.mk      21 May 2008 03:48:42 -0000      1.8
> +++ bsd.kmodule.mk      21 May 2008 13:07:21 -0000
> @@ -49,6 +49,10 @@ _OSRELEASE!= ${HOST_SH} $S/conf/osreleas
>  KMODULEDIR=    ${DESTDIR}/stand/${MACHINE}/${_OSRELEASE}/modules/${KMOD}
>  .endif
>  _PROG:=                ${KMODULEDIR}/${PROG} # installed path
> +# Ensure these are recorded properly in METALOG on unprived installes:
> +_INST_DIRS=    ${DESTDIR}/stand/${MACHINE}
> +_INST_DIRS+=   ${DESTDIR}/stand/${MACHINE}/${_OSRELEASE}
> +_INST_DIRS+=   ${DESTDIR}/stand/${MACHINE}/${_OSRELEASE}/modules
>
>  .if ${MKUPDATE} == "no"
>  ${_PROG}! ${PROG}                                      # install rule
> @@ -62,6 +66,9 @@ ${_PROG}:     .MADE                                   # no 
> bui
> ld at instal
>  .endif
>  .endif
>         ${_MKTARGET_INSTALL}
> +       for d in ${_INST_DIRS}; do \
> +               ${INSTALL_DIR} $$d; \
> +       done
>         ${INSTALL_DIR} ${KMODULEDIR}
>         ${INSTALL_FILE} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \
>                 ${.ALLSRC} ${.TARGET}

This fix/workaround was committed -- "comment time-out".  Better
now than more people being affected.

I also committed an update to UPDATING describing the procedure
to get out of the "the build fails" state.

Regards,

- Håvard


Home | Main Index | Thread Index | Old Index