diff options
author | Shiqun Lin <Shiqun.Lin@windriver.com> | 2014-10-21 03:25:29 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-25 12:58:18 +0000 |
commit | 7ac224ee9f626d0ba2305bc4608b29f047cc65a4 (patch) | |
tree | 9a70e839e4670625831f80833e85f62798c8c524 /meta/recipes-devtools | |
parent | a745b4b790fe2550fafa731c02f33dd39a9d8651 (diff) | |
download | openembedded-core-7ac224ee9f626d0ba2305bc4608b29f047cc65a4.tar.gz openembedded-core-7ac224ee9f626d0ba2305bc4608b29f047cc65a4.tar.bz2 openembedded-core-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>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | 6 |
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" |