summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Feist <james.feist@linux.intel.com>2020-05-02 00:35:25 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-05-13 15:41:58 +0300
commit1984127b7fbb0b94fa6a36cf902f712039b0f4a3 (patch)
tree6553885064cd4d63092e60ee984995694b8e839c
parentaf0f1e074e1f50cf2a3d9d69d8f1d2e5c6b8e018 (diff)
downloadopenbmc-1984127b7fbb0b94fa6a36cf902f712039b0f4a3.tar.xz
ipmitool: Allow devtool modify
The folder doesn't exist during the devtool build so build fails. Make the folder so build can pass. Tested: devtool build passes (From meta-phosphor rev: 7f3994d8fe5ee62ff4b66280a4ef67598b19cbeb) Change-Id: I41aa578aec3abbd3c87ad7c58f59848fcf6232e8 Signed-off-by: James Feist <james.feist@linux.intel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
-rw-r--r--meta-phosphor/recipes-phosphor/ipmi/ipmitool_%.bbappend1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/ipmi/ipmitool_%.bbappend b/meta-phosphor/recipes-phosphor/ipmi/ipmitool_%.bbappend
index 8f390f5543..a6a8198d2d 100644
--- a/meta-phosphor/recipes-phosphor/ipmi/ipmitool_%.bbappend
+++ b/meta-phosphor/recipes-phosphor/ipmi/ipmitool_%.bbappend
@@ -23,6 +23,7 @@ FILES_${PN} += "/usr/share/misc/enterprise-numbers"
do_compile_prepend() {
# copy the SRC_URI version of enterprise-numbers
# to the build dir to prevent a fetch
+ mkdir -p "${WORKDIR}/build"
cp "${WORKDIR}/enterprise-numbers" "${WORKDIR}/build/enterprise-numbers"
}