Skip to contentSkip to conversation

nativesdk-ncurses: skip installed_vs_shipped test

PATCH In review Radu Moisan 2 participants 2 messages Oct 3, 2012 – Oct 23, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nativesdk-ncurses: skip installed_vs_shipped test

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.

---
 meta/recipes-core/ncurses/ncurses.inc |    2 ++
 1 file changed, 2 insertions(+)
meta/recipes-core/ncurses/ncurses.inc +2 -0
index ed7f001..86be6bc 100644
@@ -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}"
 
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 20 lines · Radu Moisan

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.

---
  meta/recipes-core/ncurses/ncurses.inc |    2 ++
  1 file changed, 2 insertions(+)
meta/recipes-core/ncurses/ncurses.inc +0 -0
index ed7f001..86be6bc 100644

meta/recipes-core/ncurses/ncurses.inc FILES_${PN}-tools = "\ · line 257

Quoted 8 lines
meta/recipes-core/ncurses/ncurses.inc +2 -0
@@ -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!