diff options
author | Ross Burton <ross.burton@intel.com> | 2015-07-14 15:40:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-16 15:09:23 +0100 |
commit | 4e9ea09cf81845466dd7818a23a15d5c70d54208 (patch) | |
tree | ad07cd0d73fcb96274ed35ebc164a0d971d3686b /meta/recipes-devtools | |
parent | 5352e6573e30a943a66bd819f180f45b1ba0608d (diff) | |
download | poky-4e9ea09cf81845466dd7818a23a15d5c70d54208.tar.gz |
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.
(From OE-Core rev: b61c56ade298726f0b861c5189cb9d5fd6260a36)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/dmidecode/dmidecode_2.12.bb | 2 |
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() { | |||
12 | } | 12 | } |
13 | 13 | ||
14 | do_unpack_extra() { | 14 | do_unpack_extra() { |
15 | sed -i -e '/^prefix/s:/usr/local:${exec_prefix}:' Makefile | 15 | sed -i -e '/^prefix/s:/usr/local:${exec_prefix}:' ${S}/Makefile |
16 | } | 16 | } |
17 | addtask unpack_extra after do_unpack before do_patch | 17 | addtask unpack_extra after do_unpack before do_patch |
18 | 18 | ||