[oe-commits] Ross Burton : dmidecode: use absolute paths in fixup task
git at git.openembedded.org
git at git.openembedded.org
Mon Jul 20 09:42:06 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: b61c56ade298726f0b861c5189cb9d5fd6260a36
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b61c56ade298726f0b861c5189cb9d5fd6260a36
Author: Ross Burton <ross.burton at intel.com>
Date: Tue Jul 14 15:40:24 2015 +0100
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 at intel.com>
---
meta/recipes-devtools/dmidecode/dmidecode_2.12.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/dmidecode/dmidecode_2.12.bb b/meta/recipes-devtools/dmidecode/dmidecode_2.12.bb
index b5151b8..4c16556 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
More information about the Openembedded-commits
mailing list