* [dizzy][PATCH] e2fsprogs: install populate-extfs.sh
@ 2015-05-16 4:59 Martin Jansa
2015-06-04 8:36 ` Martin Jansa
0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2015-05-16 4:59 UTC (permalink / raw)
To: openembedded-core
From: Martin Jansa <martin.jansa@gmail.com>
* 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@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@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 70ccdfd..95c612c 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() {
--
2.4.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [dizzy][PATCH] e2fsprogs: install populate-extfs.sh
2015-05-16 4:59 [dizzy][PATCH] e2fsprogs: install populate-extfs.sh Martin Jansa
@ 2015-06-04 8:36 ` Martin Jansa
2015-06-04 17:51 ` akuster808
0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2015-06-04 8:36 UTC (permalink / raw)
To: openembedded-core
On Sat, May 16, 2015 at 06:59:15AM +0200, Martin Jansa wrote:
> From: Martin Jansa <martin.jansa@gmail.com>
ping
>
> * 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@gmail.com>
> Signed-off-by: Richard Purdie <richard.purdie@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 70ccdfd..95c612c 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() {
> --
> 2.4.0
>
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dizzy][PATCH] e2fsprogs: install populate-extfs.sh
2015-06-04 8:36 ` Martin Jansa
@ 2015-06-04 17:51 ` akuster808
0 siblings, 0 replies; 3+ messages in thread
From: akuster808 @ 2015-06-04 17:51 UTC (permalink / raw)
To: openembedded-core
done
On 06/04/2015 01:36 AM, Martin Jansa wrote:
> On Sat, May 16, 2015 at 06:59:15AM +0200, Martin Jansa wrote:
>> From: Martin Jansa <martin.jansa@gmail.com>
>
> ping
>
>>
>> * 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@gmail.com>
>> Signed-off-by: Richard Purdie <richard.purdie@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 70ccdfd..95c612c 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() {
>> --
>> 2.4.0
>>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-06-04 17:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-16 4:59 [dizzy][PATCH] e2fsprogs: install populate-extfs.sh Martin Jansa
2015-06-04 8:36 ` Martin Jansa
2015-06-04 17:51 ` akuster808
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox