Openembedded Bitbake Development
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: "Chen, Simon (N-DCR SYSTEM HOUSE)" <simon.chen@lmco.com>
Cc: "bitbake-devel@lists.openembedded.org"
	<bitbake-devel@lists.openembedded.org>
Subject: Re: Configuring Busybox's Kernel Commands
Date: Sat, 21 Mar 2015 10:23:23 +0000	[thread overview]
Message-ID: <1426933403.14020.1.camel@linuxfoundation.org> (raw)
In-Reply-To: <D3EFC6D8DB6B2D48A91E6F02D0DB338FA68306@HVXDSP45.us.lmco.com>

On Fri, 2015-03-20 at 14:25 +0000, Chen, Simon (N-DCR SYSTEM HOUSE)
wrote:
> I am pretty new to the Yocto Project, and I am not sure if this
> mailing list fits my particular project goals. But since I am still
> waiting for subscription permission from other mailing lists, I’d
> thought I’d give this a shot.

This list is really for discussion about bitbake itself. One of the
Yocto lists would be more appropriate for this question.

> I am using Yocto’s Poky to build an OS for a custom board. On this
> embedded OS, I am trying to run an AMD GPU driver installer for the
> E8860 series card in which I am trying to integrate on my board. (This
> installer can be found here :
> http://support.amd.com/en-us/download/desktop?os=Linux+x86). As
> expected, the installer is not fully configured for Yocto. The
> installer (.run file) generates two errors from calling the commands
> “tar” and “gzip”, outputting an “invalid magic” error. I did some
> homework, and realized that Yocto’s linux commands are not from GNU at
> all, and are GNU-like commands built by Busybox. So I’ve tried to
> reconfigure these commands from the pre-bitbake stage by editing the
> “defconfig” file at the meta/recipes-core/busybox/busybox directory.
> In defconfig, I’ve tried turning on a couple of parameters that were
> previously off (ie. CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY=y, or
> CONFIG_FEATURE_TAR_LONG_OPTIONS=y). This did not work, after I
> bitbaked core-image-sato, booted the Yocto image on my board, and ran
> the installer. Perhaps I’m missing a step in configuring the GNU
> commands? Perhaps I’m turning on the wrong parameters? Is there a way
> to remove Busybox completely and replace it with the real GNU?

The easiest way to do this is simply to add tar into your image.
IMAGE_INSTALL_append = " tar" in local.conf would probably do this for
you (the space before tar is important).

Cheers,

Richard




      reply	other threads:[~2015-03-21 10:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-20 14:25 Configuring Busybox's Kernel Commands Chen, Simon (N-DCR SYSTEM HOUSE)
2015-03-21 10:23 ` Richard Purdie [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=1426933403.14020.1.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=simon.chen@lmco.com \
    /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