From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from am1outboundpool.messaging.microsoft.com (am1ehsobe001.messaging.microsoft.com [213.199.154.204]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 04B1AE00343 for ; Fri, 23 Aug 2013 14:04:33 -0700 (PDT) Received: from mail19-am1-R.bigfish.com (10.3.201.244) by AM1EHSOBE003.bigfish.com (10.3.204.23) with Microsoft SMTP Server id 14.1.225.22; Fri, 23 Aug 2013 21:04:31 +0000 Received: from mail19-am1 (localhost [127.0.0.1]) by mail19-am1-R.bigfish.com (Postfix) with ESMTP id 626744002E1; Fri, 23 Aug 2013 21:04:31 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: -11 X-BigFish: VS-11(zzbb2dI98dI9371I1804I146fI103dK148cI542I1432Izz1f42h208ch1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz1de098h186068h8275bh8275dh1de097hz2dh2a8h839h947hd25he5bhf0ah1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h1765h18e1h190ch1946h19b4h19c3h1ad9h1b0ah1b2fh1fb3h1d0ch1d2eh1d3fh1dfeh1dffh1f5fh1fe8h1ff5h1155h) Received: from mail19-am1 (localhost.localdomain [127.0.0.1]) by mail19-am1 (MessageSwitch) id 1377291868378071_16329; Fri, 23 Aug 2013 21:04:28 +0000 (UTC) Received: from AM1EHSMHS010.bigfish.com (unknown [10.3.201.244]) by mail19-am1.bigfish.com (Postfix) with ESMTP id 593EA1E0046; Fri, 23 Aug 2013 21:04:28 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by AM1EHSMHS010.bigfish.com (10.3.207.110) with Microsoft SMTP Server (TLS) id 14.16.227.3; Fri, 23 Aug 2013 21:04:27 +0000 Received: from az84smr01.freescale.net (10.64.34.197) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server (TLS) id 14.3.146.2; Fri, 23 Aug 2013 21:02:23 +0000 Received: from [10.29.244.63] ([10.29.244.63]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id r7NL2F6P008268; Fri, 23 Aug 2013 14:02:22 -0700 Message-ID: <5217CD05.4020504@freescale.com> Date: Fri, 23 Aug 2013 17:58:45 -0300 From: Daiane Angolini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Umar Qureshey References: <5217C4F1.8070808@freescale.com> In-Reply-To: X-OriginatorOrg: freescale.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Cc: "meta-freescale@yoctoproject.org" Subject: Re: Junk install script created upon bitbake meta-toolchain X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Aug 2013 21:04:36 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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