summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/dmidecode
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-07-14 15:40:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-16 15:08:45 +0100
commitb61c56ade298726f0b861c5189cb9d5fd6260a36 (patch)
tree6de9d649cfb05ba2ae4af36dc25fb41ba23be236 /meta/recipes-devtools/dmidecode
parentb82d60aa19ecbe1e4fed6a1ce7077b3d6c620ef4 (diff)
downloadopenembedded-core-b61c56ade298726f0b861c5189cb9d5fd6260a36.tar.gz
openembedded-core-b61c56ade298726f0b861c5189cb9d5fd6260a36.tar.bz2
openembedded-core-b61c56ade298726f0b861c5189cb9d5fd6260a36.zip
dmidecode: use absolute paths in fixup task
The calls to sed use relative paths so they depend on the directory the task starts in. To clarify the code, use absolute paths. Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/dmidecode')
-rw-r--r--meta/recipes-devtools/dmidecode/dmidecode_2.12.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/dmidecode/dmidecode_2.12.bb b/meta/recipes-devtools/dmidecode/dmidecode_2.12.bb
index b5151b8acd..4c165560d1 100644
--- a/meta/recipes-devtools/dmidecode/dmidecode_2.12.bb
+++ b/meta/recipes-devtools/dmidecode/dmidecode_2.12.bb
@@ -12,7 +12,7 @@ do_install() {
}
do_unpack_extra() {
- sed -i -e '/^prefix/s:/usr/local:${exec_prefix}:' Makefile
+ sed -i -e '/^prefix/s:/usr/local:${exec_prefix}:' ${S}/Makefile
}
addtask unpack_extra after do_unpack before do_patch