* [meta-xilinx] WARNING: QA Issue: bash & shell scripts
@ 2012-05-31 17:38 Elvis Dowson
2012-05-31 17:40 ` Elvis Dowson
0 siblings, 1 reply; 3+ messages in thread
From: Elvis Dowson @ 2012-05-31 17:38 UTC (permalink / raw)
To: OpenEmbedded Core Mailing List
Hi,
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
Best regards,
Elvis Dowson
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [meta-xilinx] WARNING: QA Issue: bash & shell scripts
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
0 siblings, 1 reply; 3+ messages in thread
From: Elvis Dowson @ 2012-05-31 17:40 UTC (permalink / raw)
To: OpenEmbedded Core Mailing List
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?
Elvis Dowson
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [meta-xilinx] WARNING: QA Issue: bash & shell scripts
2012-05-31 17:40 ` Elvis Dowson
@ 2012-05-31 20:52 ` Mark Hatle
0 siblings, 0 replies; 3+ messages in thread
From: Mark Hatle @ 2012-05-31 20:52 UTC (permalink / raw)
To: openembedded-core
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-05-31 21:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox