All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: ti_cgt_c6000_6.1.17_setup_linux_x86.bin error while installing ti-codec-engine
Date: Sat, 24 Sep 2011 04:45:56 -0600	[thread overview]
Message-ID: <4E7DB4E4.5090202@mlbassoc.com> (raw)
In-Reply-To: <CAOU-OA+uKFYL4nJutdTHsUCYnGy9=NiYW65jGbRk76+GL6iocg@mail.gmail.com>

On 2011-09-23 14:46, Michael Poole wrote:
> On Fri, Sep 23, 2011 at 6:47 AM, Gary Thomas wrote:
>> Check to make sure that you don't have write permission to /opt
>> If you have write permission in the directory /opt, the installer
>> fails to put the tools where they belong in your OE build.
>
> Is it generally known that this limitation is due to a bug in
> ti-eula-unpack.inc?  (Python's print automatically adds a newline,
> which the code's author apparently did not expect.)  My local repo has
> these changes to allow in-tree installs by users with write access to
> /opt; please pardon Gmail's mangling of leading whitespace:

I don't know if this is a generally known fact; it should be, I reported it to
this list more than a year ago and was basically ignored [actually told I just
shouldn't have write access to /opt so the issue was my own fault...]

Does the unpack work with your patches if /opt is not writeable?

>
> diff --git a/recipes/powervr-drivers/libgles-omap3.inc b/recipes/powervr-driv
> index ab4b248..5acc4da 100644
> --- a/recipes/powervr-drivers/libgles-omap3.inc
> +++ b/recipes/powervr-drivers/libgles-omap3.inc
> @@ -19,7 +19,8 @@ SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sd
>   S = "${WORKDIR}/OMAP35x_Graphics_SDK_${SGXPV}"
>
>   # Logic to unpack installjammer file
> -TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
> +TI_BIN_UNPK_CMDS="Y:workdir"
> +TI_BIN_UNPK_WDEXT = "/Graphics_SDK_${SGXPV}"
>   require ../ti/ti-eula-unpack.inc
>
>   BINLOCATION ?= "${S}/gfx_rel"
> diff --git a/recipes/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb b/recip
> index 216b3ae..be4b7a1 100644
> --- a/recipes/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb
> +++ b/recipes/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb
> @@ -5,7 +5,8 @@ LICENSE = "GPLv2"
>   # http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/
>   # see libgles-omap3.inc for detailed installation instructions
>
> -TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
> +TI_BIN_UNPK_CMDS="Y:workdir:"
> +TI_BIN_UNPK_WDEXT = "/Graphics_SDK_${SGXPV}"
>   require ../ti/ti-eula-unpack.inc
>
>   SGXPV = "4_03_00_02"
> diff --git a/recipes/ti/ti-eula-unpack.inc b/recipes/ti/ti-eula-unpack.inc
> index 3b79c24..82ea785 100644
> --- a/recipes/ti/ti-eula-unpack.inc
> +++ b/recipes/ti/ti-eula-unpack.inc
> @@ -53,7 +53,7 @@ python ti_bin_do_unpack() {
>               wdext = bb.data.getVar('TI_BIN_UNPK_WDEXT', localdata)
>               wdext = bb.data.expand(wdext, localdata)
>               cmd = workdir+wdext
> -        print>>f, "%s\n" % cmd
> +        print>>f, "%s" % cmd
>       f.close()
>
>       # Expand the tarball that was created if required
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



  parent reply	other threads:[~2011-09-24 10:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1316770597.99899.YahooMailNeo@web121512.mail.ne1.yahoo.com>
2011-09-23 10:47 ` ti_cgt_c6000_6.1.17_setup_linux_x86.bin error while installing ti-codec-engine Gary Thomas
     [not found]   ` <1316776207.30918.YahooMailNeo@web121514.mail.ne1.yahoo.com>
2011-09-23 11:15     ` Gary Thomas
2011-09-23 14:16       ` ibrahim demir
     [not found]   ` <CAOU-OA+uKFYL4nJutdTHsUCYnGy9=NiYW65jGbRk76+GL6iocg@mail.gmail.com>
2011-09-24 10:45     ` Gary Thomas [this message]
2011-09-24 18:24       ` ibrahim demir
2011-09-28 14:58       ` Michael Poole
2011-09-28 15:08         ` Gary Thomas
2011-09-28 15:38           ` Michael Poole
2011-09-23  8:39 ibrahim demir
  -- strict thread matches above, loose matches on Subject: below --
2011-09-21 14:37 ibrahim demir
2011-09-21 15:04 ` Gary Thomas
2011-09-21 15:06   ` Graeme Gregory
2011-09-21 15:21     ` Gary Thomas
2011-09-21 15:21       ` Graeme Gregory
2011-09-21 15:51   ` Gary Thomas

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=4E7DB4E4.5090202@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /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.