[oe-commits] Martin Jansa : e2fsprogs: install populate-extfs.sh

git at git.openembedded.org git at git.openembedded.org
Fri May 1 11:28:26 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 9f3900097d28471e445d02896aa8860e399d890d
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9f3900097d28471e445d02896aa8860e399d890d

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Wed Apr 29 00:46:18 2015 +0200

e2fsprogs: install populate-extfs.sh

* install populate-extfs.sh from contrib, be aware that in order
  to use it you need to set DEBUGFS shell variable, otherwise it will
  try to use debugfs from relative path which is almost always
  incorrect:
    CONTRIB_DIR=$(dirname $(readlink -f $0))
    DEBUGFS="$CONTRIB_DIR/../debugfs/debugfs"

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb
index 67a5ea7..be1db9e 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb
@@ -54,6 +54,8 @@ do_install () {
 	oe_multilib_header ext2fs/ext2_types.h
 	install -d ${D}${base_bindir}
 	mv ${D}${bindir}/chattr ${D}${base_bindir}/chattr.e2fsprogs
+
+	install -v -m 755 ${S}/contrib/populate-extfs.sh ${D}${base_sbindir}/
 }
 
 do_install_append_class-target() {



More information about the Openembedded-commits mailing list