Patchwork [6/7] e2fsprogs: ship mkfsdebug.sh

login
register
mail settings
Submitter Robert Yang
Date Feb. 26, 2013, 9:24 a.m.
Message ID <15dffc97a79d24f6f7b60c986dfe1e9e708990f4.1361862860.git.liezhi.yang@windriver.com>
Download mbox | patch
Permalink /patch/45111/
State New
Headers show

Comments

Robert Yang - Feb. 26, 2013, 9:24 a.m.
Ship mkfsdebug.sh, it will be installed to /usr/bin/mkfsdebug.sh and
used for replacing the genext2fs in image_types.bbclass.

[YOCTO #3848]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-devtools/e2fsprogs/e2fsprogs_git.bb | 2 ++
 1 file changed, 2 insertions(+)
Darren Hart - Feb. 26, 2013, 9:49 p.m.
This can be merged with 3/7 right?

On 02/26/2013 01:24 AM, Robert Yang wrote:
> Ship mkfsdebug.sh, it will be installed to /usr/bin/mkfsdebug.sh and
> used for replacing the genext2fs in image_types.bbclass.
> 
> [YOCTO #3848]
> 
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
>  meta/recipes-devtools/e2fsprogs/e2fsprogs_git.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_git.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_git.bb
> index 70255ce..1609d42 100644
> --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_git.bb
> +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_git.bb
> @@ -4,6 +4,7 @@ PR = "r0"
>  
>  SRC_URI += "file://acinclude.m4 \
>              file://remove.ldconfig.call.patch \
> +            file://mkdebugfs.sh \
>  "
>  
>  SRCREV = "fca8b1b2416c384b91b4fe00d6d37cfccb8fb3d5"
> @@ -41,6 +42,7 @@ do_install_append () {
>  		mv ${D}${base_libdir}/e2initrd_helper ${D}${libdir}
>  		mv ${D}${base_libdir}/pkgconfig ${D}${libdir}
>  	fi
> +	install -m 0755 ${WORKDIR}/mkdebugfs.sh ${D}${bindir}
>  }
>  
>  RDEPENDS_e2fsprogs = "e2fsprogs-badblocks"
>

Patch

diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_git.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_git.bb
index 70255ce..1609d42 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_git.bb
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_git.bb
@@ -4,6 +4,7 @@  PR = "r0"
 
 SRC_URI += "file://acinclude.m4 \
             file://remove.ldconfig.call.patch \
+            file://mkdebugfs.sh \
 "
 
 SRCREV = "fca8b1b2416c384b91b4fe00d6d37cfccb8fb3d5"
@@ -41,6 +42,7 @@  do_install_append () {
 		mv ${D}${base_libdir}/e2initrd_helper ${D}${libdir}
 		mv ${D}${base_libdir}/pkgconfig ${D}${libdir}
 	fi
+	install -m 0755 ${WORKDIR}/mkdebugfs.sh ${D}${bindir}
 }
 
 RDEPENDS_e2fsprogs = "e2fsprogs-badblocks"