All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daiane Angolini <daiane.angolini@freescale.com>
To: Umar Qureshey <umar@janteq.com>
Cc: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: Re: Junk install script created upon bitbake meta-toolchain
Date: Fri, 23 Aug 2013 17:58:45 -0300	[thread overview]
Message-ID: <5217CD05.4020504@freescale.com> (raw)
In-Reply-To: <CFA98F37E6A08A41A471808DFD11874D174A81B7@MANGO.janteq.local>

On 08/23/2013 05:58 PM, Umar Qureshey wrote:
>> -----Original Message-----
>> From: Daiane Angolini [mailto:daiane.angolini@freescale.com]
>> Sent: Friday, August 23, 2013 1:24 PM
>> To: Umar Qureshey
>> Cc: meta-freescale@yoctoproject.org
>> Subject: Re: [meta-freescale] Junk install script created upon bitbake meta-
>> toolchain
>>
>> On 08/23/2013 05:01 PM, Umar Qureshey wrote:
>>> Hi,
>>> Yocto hasn't been fun so far.  It's unwieldy, hard to use, and even harder to
>> learn.  Even LTIB made more sense.  I hope it's worth the trouble.
>>
>> LOL
>>
>> Welcome! If you wish I can lend you one of my shoulders, and let's cry
>> together
>>
>>>
>>> Anyway, I am using Dylan branch and I just did a "bitbake meta-toolchain"
>> and this ran fine.  Then I attempted to install the toolchain on my system by
>> going into build/tmp/deploy/sdk and I attempted to execute poky-eglibc-
>> x86_64-arm-toolchain-1.4.2.sh but my system would error out so I opened
>> the file and after the actual source code, it's full of binary junk.  The junk has
>> ballooned the size of this script to 66 Megabytes.  No wonder it didn't
>> execute.  I'm not sure why this is happening.
>>>
>>> -rwxrwxr-x 1 lab lab 66M Aug 23 12:43
>>> poky-eglibc-x86_64-arm-toolchain-1.4.2.sh
>>>
>>> I am running on Fedora 17 Beefy Miracle on x86_64.
>>>
>>> I am going to manually trim the junk out and execute the script but this is a
>> major bug.
>>
>> Please, don't trim out the junk. It IS the toolchain
>>
>> I'm not able to say to you who/why/when it was decided that create a script
>> that includes the binary files is acceptable, but it was yocto project made.
>>
>> https://community.freescale.com/docs/DOC-95122
>> https://community.freescale.com/docs/DOC-95225
>>
>
> Thank you Daiane for lending a shoulder to cry on.  I'm almost there.
>
> Wow, the binary is embedded inside the script.  Because creating a separate file is just so much trouble.
>
> I was following your document https://community.freescale.com/docs/DOC-95225 to do this.
> In your direction it says to "source poky-eglibc-x86_64-arm-toolchain-1.4.1.sh".  Well that causes trouble, at least on Fedora so I just executed the script without sourcing it and it worked fine.
> I left a comment for you on your document's comment section.

Thanks!

I'm used with Ubuntu and I never test on other flavor of linux. Thanks 
for reporting that! I'm sure it will help others


>
>
>
>


-- 
Daiane



  reply	other threads:[~2013-08-23 21:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-23 20:01 Junk install script created upon bitbake meta-toolchain Umar Qureshey
2013-08-23 20:24 ` Daiane Angolini
2013-08-23 20:58   ` Umar Qureshey
2013-08-23 20:58     ` Daiane Angolini [this message]
2013-08-23 21:09     ` Otavio Salvador
2013-08-23 21:18       ` Umar Qureshey
2013-08-23 21:23         ` Otavio Salvador
2013-08-23 21:28           ` Umar Qureshey
2013-08-23 22:06             ` Otavio Salvador
2013-08-23 23:43               ` Umar Qureshey
2013-08-23 23:54                 ` Otavio Salvador
2013-08-23 21:33           ` Umar Qureshey

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=5217CD05.4020504@freescale.com \
    --to=daiane.angolini@freescale.com \
    --cc=meta-freescale@yoctoproject.org \
    --cc=umar@janteq.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.