| Submitter | Radu Moisan |
|---|---|
| Date | Oct. 3, 2012, 12:02 p.m. |
| Message ID | <1349265768-17088-1-git-send-email-radu.moisan@intel.com> |
| Download | mbox | patch |
| Permalink | /patch/37679/ |
| State | New |
| Headers | show |
Comments
On 10/03/2012 05:02 AM, Radu Moisan wrote: > Fixes [Yocto #3174] > > In FILE_*, the conditional append to clear and reset files is > evaluating ${PN} against "ncurses". When building nativesdk > package, ${PN} = "nativesdk-ncurses" and thus the condition > evaluates to False and thus we get an empty string appended > instead of .${BPN}. This causes a warning in installed_vs_shipped > test. > > Signed-off-by: Radu Moisan <radu.moisan@intel.com> > --- > meta/recipes-core/ncurses/ncurses.inc | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc > index ed7f001..86be6bc 100644 > --- a/meta/recipes-core/ncurses/ncurses.inc > +++ b/meta/recipes-core/ncurses/ncurses.inc > @@ -250,6 +250,8 @@ FILES_${PN}-tools = "\ > ${bindir}/tabs \ > " > > +INSANE_SKIP_nativesdk-${BPN} = "installed_vs_shipped" > + > # 'reset' is a symlink to 'tset' which is in the 'ncurses' package > RDEPENDS_${PN}-tools = "${PN}" > > A better fix has been applied, Sau!
Patch
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc index ed7f001..86be6bc 100644 --- a/meta/recipes-core/ncurses/ncurses.inc +++ b/meta/recipes-core/ncurses/ncurses.inc @@ -250,6 +250,8 @@ FILES_${PN}-tools = "\ ${bindir}/tabs \ " +INSANE_SKIP_nativesdk-${BPN} = "installed_vs_shipped" + # 'reset' is a symlink to 'tset' which is in the 'ncurses' package RDEPENDS_${PN}-tools = "${PN}"
Fixes [Yocto #3174] In FILE_*, the conditional append to clear and reset files is evaluating ${PN} against "ncurses". When building nativesdk package, ${PN} = "nativesdk-ncurses" and thus the condition evaluates to False and thus we get an empty string appended instead of .${BPN}. This causes a warning in installed_vs_shipped test. Signed-off-by: Radu Moisan <radu.moisan@intel.com> --- meta/recipes-core/ncurses/ncurses.inc | 2 ++ 1 file changed, 2 insertions(+)