From: Alistair John Strachan <s0348365@sms.ed.ac.uk>
To: Jan-Benedict Glaw <jbglaw@lug-owl.de>
Cc: Linda Walsh <lkml@tlinx.org>,
Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: Re: make O="<dir>" install; output not relocated; 2.6.16.11(kbuild)
Date: Sat, 29 Apr 2006 15:30:54 +0100 [thread overview]
Message-ID: <200604291530.54658.s0348365@sms.ed.ac.uk> (raw)
In-Reply-To: <20060429070806.GK25520@lug-owl.de>
On Saturday 29 April 2006 08:08, Jan-Benedict Glaw wrote:
[snip]
> > Fair enough, but I'm more interested in where to specify
> > the target location of the installed kernel and System.map as
> > I don't always have modules for a generated kernel, but usually
> > (near 100% :-)) have an installable kernel image. For development,
> > I could see it being useful to mount the target system's root in
> > a local directory (like /mnt), then have the kernel build install
> > to a target root of "/mnt".
>
> Installing the kernel image is quite architecture specific; most
> architectures use $(INSTALL_PATH), so this could be something like
> /path/to/target_system/boot . Though they may also re-run lilo or
> something like that, so it's possibly not what you actually want to
> use.
I'm fairly sure modern 2.6 kernels do the following with "make install":
1) Try to run ~/bin/installkernel script.
2) Try to run /sbin/installkernel (distributions)
3) Guess an install path and run LILO.
If you hack together an "installkernel" I'm sure you could get it to do what
you want. It certainly works here (I have it generate a menu.lst update for
grub and copy my images to /boot/vmlinuz-version
and /boot/System.map-version, and run make modules_install).
--
Cheers,
Alistair.
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
prev parent reply other threads:[~2006-04-29 14:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-28 6:34 Linda Walsh
2006-04-28 7:58 ` Jan-Benedict Glaw
2006-04-28 17:00 ` Linda Walsh
2006-04-29 7:08 ` Jan-Benedict Glaw
2006-04-29 14:30 ` Alistair John Strachan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200604291530.54658.s0348365@sms.ed.ac.uk \
--to=s0348365@sms.ed.ac.uk \
--cc=jbglaw@lug-owl.de \
--cc=linux-kernel@vger.kernel.org \
--cc=lkml@tlinx.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®