On Fri, Jan 03, 2014 at 12:36:21PM +0530, Sandeepa Prabhu wrote:
> On 2 January 2014 17:46, Richard W.M. Jones <[email protected]> wrote:
> > On Thu, Jan 02, 2014 at 05:38:49PM +0530, Sandeepa Prabhu wrote:
> >> Ok, so cross-compiling would work for me, how do I install the built
> >> kernel image (EFI version) on the disk image, is it just copying
> >> vmlinux onto /boot/vmlinux-***?
> >
> > I'm bound to say .. libguestfs?  eg. virt-copy-in etc.
> Hi Rich,
> 
> Thanks, can do scp between fc19 and Ubuntu host.  Sorry I did not ask
> the precise question, my question was "is it enough just to copy
> cross-compiled zImage file as /boot/vmlinuz-*** or the target fs, or
> need to do something more(I am not much educated on UEFI so asking).
> i.e. If we build kernel on redhat machine do "make install", what
> exactly is done there, what images would get copied? My intention is
> to run systemtap and run kprobe tests on the newly built kernel(s).

You'd want to copy the modules too, ie. /lib/modules/<version>

In general copying kernels around is more troublesome than it should
be ...  I'd like to see modules compiled into a single file for this
reason:
http://rwmj.wordpress.com/2013/12/07/half-baked-ideas-kernel-modules-in-a-file/#content

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org
_______________________________________________
arm mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/arm

Reply via email to