[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [meta-xilinx] WARNING: QA Issue: bash & shell scripts
From:       mark.hatle () windriver ! com (Mark Hatle)
Date:       2012-05-31 20:52:00
Message-ID: 4FC7D9F0.20203 () windriver ! com
[Download RAW message or body]

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 at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic