Fix MRW native installs paths
How it was before could cause problems in Jenkins.
Change-Id: I33cf31fc79c995b4609f77eeac1896d3812d276b
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/meta-phosphor/common/recipes-phosphor/mrw/mrw-api-native.bb b/meta-phosphor/common/recipes-phosphor/mrw/mrw-api-native.bb
index ec1df89..01bff61 100644
--- a/meta-phosphor/common/recipes-phosphor/mrw/mrw-api-native.bb
+++ b/meta-phosphor/common/recipes-phosphor/mrw/mrw-api-native.bb
@@ -15,6 +15,6 @@
SRCREV = "04f15f37e9ab6c09412a0abcffb87e9aefcc5368"
do_install() {
- install -d ${PERLLIBDIRS_class-native}/perl/site_perl/${PERLVERSION}/mrw
- install -m 0755 Targets.pm ${PERLLIBDIRS_class-native}/perl/site_perl/${PERLVERSION}/mrw/Targets.pm
+ install -d ${D}${PERLLIBDIRS_class-native}/perl/site_perl/${PERLVERSION}/mrw
+ install -m 0755 Targets.pm ${D}${PERLLIBDIRS_class-native}/perl/site_perl/${PERLVERSION}/mrw/Targets.pm
}
diff --git a/meta-phosphor/common/recipes-phosphor/mrw/mrw-native.bb b/meta-phosphor/common/recipes-phosphor/mrw/mrw-native.bb
index e06a682..12a9b9e 100644
--- a/meta-phosphor/common/recipes-phosphor/mrw/mrw-native.bb
+++ b/meta-phosphor/common/recipes-phosphor/mrw/mrw-native.bb
@@ -13,7 +13,7 @@
SRCREV = "${PHOSPHOR_MRW_REV}"
do_install() {
- install -d ${datadir}/obmc-mrw
- install -m 0644 ${MACHINE}.xml ${datadir}/obmc-mrw
+ install -d ${D}${datadir}/obmc-mrw
+ install -m 0644 ${MACHINE}.xml ${D}${datadir}/obmc-mrw
}
diff --git a/meta-phosphor/common/recipes-phosphor/mrw/mrw-patch-native.bb b/meta-phosphor/common/recipes-phosphor/mrw/mrw-patch-native.bb
index 7379442..05d5baa 100644
--- a/meta-phosphor/common/recipes-phosphor/mrw/mrw-patch-native.bb
+++ b/meta-phosphor/common/recipes-phosphor/mrw/mrw-patch-native.bb
@@ -13,6 +13,6 @@
SRCREV = "7a68567af7bf121143ef135152a39723518b6e06"
do_install() {
- install -d ${bindir}/obmc-mrw
- install -m 0755 patchxml.py ${bindir}/obmc-mrw
+ install -d ${D}${bindir}/obmc-mrw
+ install -m 0755 patchxml.py ${D}${bindir}/obmc-mrw
}