All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Parker Mackenzie <wparkermackenzie@live.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Cross Compile Kernel Modules
Date: Thu, 3 Oct 2013 20:53:23 -0400	[thread overview]
Message-ID: <524E1183.6020907@windriver.com> (raw)
In-Reply-To: <BLU169-W86EB6DD276E984A3F87FAFB2100@phx.gbl>

On 13-10-03 8:21 PM, Parker Mackenzie wrote:
> Thanks Bruce,
>
> That got me further. I added a comment to the video on YouTube which might help others which stumble across the presentation.
>
> Now I get the following error
> ERROR: Function failed: do_rootfs
>
> Which points me to a log file which indicates the following failed:
>
>
> Note: adding Smart RPM DB channel
>
> Note: to be installed: packagegroup-core-tools-debug@beagleboard kernel-dev@beagleboard rpm-postinsts@all packagegroup-core-boot@beagleboard libstdc++6@armv7a_vfp_neon
> Loading cache...
> Updating cache... ######################################## [100%]
>
> Computing transaction...error: Can't install kernel-dev-3.4.43+git0+1bab5bd090948b4cc4c4ed57c834603a3cf9f235_c994390cfa28339cbc1ec3b56eeec83a5fa75bb7-r4.4@beagleboard: no package provides /usr/bin/python
>
> Saving cache...
>
> ERROR: Function failed: do_rootfs (see /home/parker/Projects/beagleboard/yocto/poky-dylan-9.0.2/build/tmp/work/beagleboard-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_rootfs.61003 for further information)
>
>
> However :
> [parker@jasper build]$ which python
> /usr/bin/python

That would be your build host's python. The kernel module is pulling it
in as a dependency for the target, so it needs to be part of the rootfs
packages.

Check that your have python in your dependencies/image install lists,
which bitbake -e <your image type> will dump ... among many other
things :)

Which image type are you building ? core-image-minimal ? Try adding this
to your local.conf: IMAGE_INSTALL_append = " python"

Cheers,

Bruce

>
>
> I have gone through the documentation; however, feel free to point me at a resource if this is a silly new-guy question. An internet search did bring up the following nugget; patch 2/3 sounds related, however, I am not sure how to proceed.
> http://comments.gmane.org/gmane.comp.handhelds.openembedded.core/34245
>
> Thanks in advance,
> Parker 		 	   		
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



  reply	other threads:[~2013-10-04  0:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-03 20:08 Cross Compile Kernel Modules Parker Mackenzie
2013-10-03 20:29 ` Bruce Ashfield
2013-10-04  0:21   ` Parker Mackenzie
2013-10-04  0:53     ` Bruce Ashfield [this message]
2013-10-04 11:05       ` Hans Beckérus
2013-10-04 11:22         ` Parker Mackenzie
2013-10-04 12:41           ` Bruce Ashfield
2013-10-04 21:06             ` Parker Mackenzie
2013-10-05  4:45               ` Bruce Ashfield

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=524E1183.6020907@windriver.com \
    --to=bruce.ashfield@windriver.com \
    --cc=wparkermackenzie@live.com \
    --cc=yocto@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.