Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [meta-xilinx] WARNING: QA Issue: bash & shell scripts
Date: Thu, 31 May 2012 15:52:00 -0500	[thread overview]
Message-ID: <4FC7D9F0.20203@windriver.com> (raw)
In-Reply-To: <F243C528-1700-497D-A358-B43DB67CE753@gmail.com>

On 5/31/12 12:40 PM, Elvis Dowson wrote:
> Hi,
>
> On May 31, 2012, at 7:38 PM, Elvis Dowson wrote:
>
>> I've found the following warnings while attempting to build linux-xilinx. How can I trace which package it's originating from and what can I do to fix it?
>>
>> WARNING: QA Issue: bash: Found a reference to /usr/ in /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/bash-4.2-r2/packages-split/bash/bin/bashbug
>> WARNING: QA Issue: Shell scripts in base_bindir and base_sbindir should not reference anything in exec_prefix
>
> Sorry about that silly question, its originating from the bash-4.2 package. What should I do to fix it?

It's just a warning.... you don't need to fix it.

We're working on a fix for that right now.. the bashbug file is a shell script 
that adds /usr/bin to the path.  This causes the QA warning to hit and complain 
that there may be references to /usr/bin items in the script.

The warning is because things in /bin are assumed to be required for booting, 
and you may boot w/o /usr being mounted.. causing a potential problem.  I can't 
see why bashbug would ever be used for booting, so this shouldn't be a problem.

Right now, I expect we're going to "fix" the problem with a two step patch.. 
The first being to move bashbug from base_bindir to bindir, and the second to 
split it into a new package so that it's not always installed..  (it's only 7k 
or so.. but why even install it on an embedded system unless it's really needed.)

--Mark

> Elvis Dowson
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




      reply	other threads:[~2012-05-31 21:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-31 17:38 [meta-xilinx] WARNING: QA Issue: bash & shell scripts Elvis Dowson
2012-05-31 17:40 ` Elvis Dowson
2012-05-31 20:52   ` Mark Hatle [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=4FC7D9F0.20203@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=openembedded-core@lists.openembedded.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