Patchwork [07/10] run-postinsts: use BPN instead of PN

login
register
mail settings
Submitter Constantin Musca
Date Feb. 4, 2013, 9:20 a.m.
Message ID <c7ca955673519d98e68ee8b8c2bfb66a9dc809a0.1359967266.git.constantinx.musca@intel.com>
Download mbox | patch
Permalink /patch/43941/
State Accepted
Commit c85c6ca5e624fa6ae5f79bbe8f364b3c17a041a4
Headers show

Comments

Constantin Musca - Feb. 4, 2013, 9:20 a.m.
Fix the following warning:
WARNING: QA Issue: lib32-run-postinsts: Files/directories were installed but not shipped
  /usr/share/lib32-run-postinsts
  /usr/share/lib32-run-postinsts/run-postinsts.awk

[YOCTO #3438]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
---
 meta/recipes-devtools/dpkg/run-postinsts_1.0.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/meta/recipes-devtools/dpkg/run-postinsts_1.0.bb b/meta/recipes-devtools/dpkg/run-postinsts_1.0.bb
index 7438a10..4c9b2fd 100644
--- a/meta/recipes-devtools/dpkg/run-postinsts_1.0.bb
+++ b/meta/recipes-devtools/dpkg/run-postinsts_1.0.bb
@@ -1,6 +1,6 @@ 
 DESCRIPTION = "Run postinstall scripts on device using awk"
 SECTION = "devel"
-PR = "r8"
+PR = "r9"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
@@ -24,6 +24,6 @@  do_install() {
 	install -d ${D}${sysconfdir}/init.d/
 	install -m 0755 ${WORKDIR}/run-postinsts ${D}${sysconfdir}/init.d/
 
-	install -d ${D}${datadir}/${PN}/
-	install -m 0644 ${WORKDIR}/run-postinsts.awk ${D}${datadir}/${PN}/
+	install -d ${D}${datadir}/${BPN}/
+	install -m 0644 ${WORKDIR}/run-postinsts.awk ${D}${datadir}/${BPN}/
 }