I can't be the only person who is trying to do this :)

I have my laptop with two BSD partitions - one active, and one for the
most current -current. (Its running -current from a couple months ago.)
So, I do the following:

roaming# cat crash-buildworld.sh

DESTDIR=/crash ; export DESTDIR

cd /crash/usr/src
make buildworld && make installworld
make buildkernel && make installkernel

now, besides needing to copy GENERIC.hints to /crash/boot/device.hints, this
should work, right ?

Unfortunately, I get this error:

mkdir -p /crash/boot/kernel
install -c -m 555 -o root -g wheel -fschg  kernel /crash/boot/kernel
cd /crash/usr/src/sys/modules && env 
MAKEOBJDIRPREFIX=/usr/obj/crash/usr/src/sys/GENERIC/modules KMODDIR=/crash/boot/kernel 
make install
===> 3dfx
install -c -o root -g wheel -m 555   3dfx.ko /crash/crash/boot/kernel
install: /crash/crash/boot/kernel: No such file or directory
*** Error code 71

Now, in src/sys/conf/kmod.mk, is this bit of magic:

realinstall: _SUBDIR
        ${INSTALL} ${COPY} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \

KMODDIR includes DESTDIR from what I can see, in
/usr/obj/crash/usr/src/sys/GENERIC/Makefile :


To be triple-sure, i did a make install in /usr/src/share/mk/ to update my
mkfiles, but that still hasn't helped.

Any clues?

Adrian Chadd                    "Programming is like sex:
<[EMAIL PROTECTED]>               One mistake and you have to support for
                                    a lifetime." -- rec.humor.funny

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to