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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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"
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}/
}