run-postinsts: use BPN instead of PN

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]

(From OE-Core rev: fb42fae0f6eb9821b5f1fedfaebf4307dc6590fe)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Constantin Musca 2013-02-04 11:20:21 +02:00 committed by Richard Purdie
parent 7cf289b39f
commit c85c6ca5e6
1 changed files with 3 additions and 3 deletions

View File

@ -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}/
}