All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hongxu Jia <hongxu.jia@windriver.com>
To: Rongqing Li <rongqing.li@windriver.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/1] file: add wrapper to nativesdk-file
Date: Sat, 11 Oct 2014 18:25:44 +0800	[thread overview]
Message-ID: <543905A8.8070409@windriver.com> (raw)
In-Reply-To: <5438F663.8090303@windriver.com>

On 10/11/2014 05:20 PM, Rongqing Li wrote:
>
>
> On 10/11/2014 05:07 PM, Hongxu Jia wrote:
>> "file" command in exported SDK doesn't work:
>> ...
>> $ file sysroots/
>> file: could not find any valid magic files!
>> ...
>>
>> In commit 7943338d1fea2b9e49b02f1c9f68b4a47188b883, it added wrapper
>> to file-native. Do the same thing for nativesdk-file.
>
> TA;
> but please add commit title after commit id.
> and make sure the commit id can be found in oe-core.
>

Use oe-core commit to instead, update git:

   git://git.pokylinux.org/poky-contrib hongxu/fix-nativesdk-file
   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-nativesdk-file


//Hongxu

> -Roy
>
>
>>
>> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
>> ---
>>   meta/recipes-devtools/file/file_5.18.bb | 5 +++++
>>   1 file changed, 5 insertions(+)
>>
>> diff --git a/meta/recipes-devtools/file/file_5.18.bb 
>> b/meta/recipes-devtools/file/file_5.18.bb
>> index f2f8d03..9068b93 100644
>> --- a/meta/recipes-devtools/file/file_5.18.bb
>> +++ b/meta/recipes-devtools/file/file_5.18.bb
>> @@ -27,4 +27,9 @@ do_install_append_class-native() {
>>           --magic-file ${datadir}/misc/magic.mgc
>>   }
>>
>> +do_install_append_class-nativesdk() {
>> +    create_cmdline_wrapper ${D}/${bindir}/file \
>> +        --magic-file ${datadir}/misc/magic.mgc
>> +}
>> +
>>   BBCLASSEXTEND = "native nativesdk"
>>
>



  parent reply	other threads:[~2014-10-11 10:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-11  9:07 [PATCH 0/1] file: add wrapper to nativesdk-file Hongxu Jia
2014-10-11  9:07 ` [PATCH 1/1] " Hongxu Jia
2014-10-11  9:20   ` Rongqing Li
2014-10-11  9:24     ` Hongxu Jia
2014-10-11 10:25     ` Hongxu Jia [this message]
2015-01-06 12:48 ` [PATCH 0/1] " Jack Mitchell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=543905A8.8070409@windriver.com \
    --to=hongxu.jia@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=rongqing.li@windriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.