chassid/flashd: avoid QA issues with SRC_URI
The SRC_URI used ${PN} which can changed depending on target context,
such as appending "-native" or prepending "nativesdk-". Use ${BPN}
instead.
Cleans up the following QA warnings with Tiogapass:
WARNING: obmc-phosphor-flashd-1.0-r1 do_package_qa: QA Issue:
obmc-phosphor-flashd: SRC_URI uses PN not BPN [src-uri-bad]
WARNING: obmc-phosphor-chassisd-1.0-r1 do_package_qa: QA Issue:
obmc-phosphor-chassisd: SRC_URI uses PN not BPN [src-uri-bad]
(From meta-phosphor rev: 2ac028916f7fd7e291ed3d1a4d38dec4d5663325)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9f507a729277153f6827e6807c00ec6b32154f4b
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-phosphor/recipes-phosphor/flash/obmc-phosphor-flashd.bb b/meta-phosphor/recipes-phosphor/flash/obmc-phosphor-flashd.bb
index 602dbe9..9287150 100644
--- a/meta-phosphor/recipes-phosphor/flash/obmc-phosphor-flashd.bb
+++ b/meta-phosphor/recipes-phosphor/flash/obmc-phosphor-flashd.bb
@@ -10,4 +10,4 @@
RPROVIDES_${PN} += "virtual-obmc-flash-mgmt"
S = "${WORKDIR}"
-SRC_URI += "file://${PN}.py"
+SRC_URI += "file://${BPN}.py"