Skip to contentSkip to conversation

e2fsprogs: install populate-extfs.sh

PATCH In review Martin Jansa 2 participants 4 messages May 16, 2015 – Jun 4, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 e2fsprogs: install populate-extfs.sh

From: Martin Jansa <[email protected]>

* 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"
---
 meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb +2 -0
index 66065bc..abc959f 100644
@@ -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() {
Signature · 1 line
2.4.0
#1 lore raw

Thanks Martin,

I've queued this in my fido-next branch on openembedded-core-contrib.

Regards,

Joshua

Quoted 29 lines · Martin Jansa

From: Martin Jansa <[email protected]>

* 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"
---
  meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | 2 ++
  1 file changed, 2 insertions(+)
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb +2 -0
index 66065bc..abc959f 100644
@@ -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() {
#2 lore raw
In reply to Martin Jansa
Quoted 1 line · Martin Jansa

From: Martin Jansa <[email protected]>

ping

Quoted 30 lines

* 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"
---
 meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb +2 -0
index 66065bc..abc959f 100644
@@ -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() {
Signature · 1 line
2.4.0
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw
Quoted 4 lines · Martin Jansa
Quoted 1 line · Martin Jansa

From: Martin Jansa <[email protected]>

ping

This has been queued in my fido-next branch[1] for a while, I'm hoping to do an autobuilder run and propose it for merge to fido over the next few days.

Regards,

Joshua

Quoted 31 lines
Quoted 30 lines

* 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"
---
  meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | 2 ++
  1 file changed, 2 insertions(+)
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb +2 -1
index 66065bc..abc959f 100644
@@ -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() {
--

2.4.0