Date: 24 Feb 2003 15:17:28 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com> To: taxman <taxman@acd.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Installkernel fails on 4.7Rel p2 Message-ID: <44fzqd1lif.fsf@be-well.ilk.org> In-Reply-To: <200302231310.56276.taxman@acd.net> References: <200302231310.56276.taxman@acd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
taxman <taxman@acd.net> writes:
> Hi, I can't figure this one out, I have already installed a custom kernel on
> this sytem and now I'm trying to make a new one. It build fine, but
> intallkernel fails with:
> install -o root -g wheel -m 555 joy.ko /modules
> install -o root -g wheel -m 444 joy.8.gz /usr/share/man/man8
> install -o root -g wheel -m 555 /usr/src/sys/modules/joy/joy.sh /usr/bin/joy
> install: /usr/src/sys/modules/joy/joy.sh: No such file or directory
> *** Error code 71
>
> I look and I see that joy.sh is not on my system. ok where did it go?
If I had to guess, you updated the sources but were only building the
kernel. Don't do that.
> I dl'd it and i hope it will work if I just put it in it's place.
Eek. Depends on how good your aim is when pointing at the other end
of your leg.
> Alright, so in investigating this it brought up two more questions.
>
> 1) someone mentioned make.conf and
> MODULES_OVERRIDE it seems this requires a list of modules *to* build, but
> it's not possible to just exclude one. How would I build this list, and what
> syntax?
Let's see. The manual says:
MODULES_OVERRIDE
(str) Set to a list of modules to build instead of all of
them.
so I assume it would be something like
MODULES_OVERRIDE="amr ccd vinum"
> 2) if I use NO_MODULES instead, are there any critical modules I'll be
> missing? I have everything I think I want in my kernel config file so I
> shouldn't need any modules right?
In theory, sure. In practice, I don't think it's worth the effort to
avoid building them all. [Well, I do it occasionally, but those are
cases where I know the source hasn't changed, and I am using config(8)
directly anyway.]
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44fzqd1lif.fsf>
