summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShiqun Lin <Shiqun.Lin@windriver.com>2014-10-21 03:25:29 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-25 12:58:18 +0000
commit7ac224ee9f626d0ba2305bc4608b29f047cc65a4 (patch)
tree9a70e839e4670625831f80833e85f62798c8c524
parenta745b4b790fe2550fafa731c02f33dd39a9d8651 (diff)
downloadopenembedded-core-contrib-7ac224ee9f626d0ba2305bc4608b29f047cc65a4.tar.gz
openembedded-core-contrib-7ac224ee9f626d0ba2305bc4608b29f047cc65a4.tar.bz2
openembedded-core-contrib-7ac224ee9f626d0ba2305bc4608b29f047cc65a4.zip
e2fsprogs: clean host path in compile_et, mk_cmds
* /usr/bin/compile_et * /usr/bin/mk_cmds Signed-off-by: Shiqun Lin <Shiqun.Lin@windriver.com> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb
index f89e5ac0c9..1fb4a6cd85 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb
@@ -54,6 +54,12 @@ do_install () {
mv ${D}${bindir}/chattr ${D}${base_bindir}/chattr.e2fsprogs
}
+do_install_append_class-target() {
+ # Clean host path in compile_et, mk_cmds
+ sed -i -e "s,ET_DIR=\"${S}/lib/et\",ET_DIR=\"${datadir}/et\",g" ${D}${bindir}/compile_et
+ sed -i -e "s,SS_DIR=\"${S}/lib/ss\",SS_DIR=\"${datadir}/ss\",g" ${D}${bindir}/mk_cmds
+}
+
RDEPENDS_e2fsprogs = "e2fsprogs-badblocks"
RRECOMMENDS_e2fsprogs = "e2fsprogs-mke2fs e2fsprogs-e2fsck"