Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2000 17:56:22 -0400
From:      John DeBoskey <jwd@FreeBSD.org>
To:        freebsd-current@FreeBSD.org
Subject:   make install of new kernel fails (bad /modules)
Message-ID:  <20000613175622.A91072@unx.sas.com>

next in thread | raw e-mail | index | archive | help
Hi,

   On a freshly installed snap (5.0-20000612-SNAP), after
compiling up a new kernel, the make install fails.

   Basically, it tries to 'cp /modules/* /modules.old'
but /modules is empty and the cp fails. We need to
either recognize an empty directory, or not fail
if the cp fails.

   the following target is the problem:

modules-install modules-install.debug:
.if !defined(NO_MODULES_OLD)
        mkdir -p ${DESTDIR}/modules.old
        cp -p ${DESTDIR}/modules/* ${DESTDIR}/modules.old
.endif
        cd $S/modules && env MAKEOBJDIRPREFIX=${.OBJDIR}/modules ${MAKE}
install


   I don't have a patch for this right now.  If none
of the folks working in the kernel module area get to
this, I'll try to do something with it in the next few
days.

Thanks!
-John



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000613175622.A91072>