[oe] ti_cgt_c6000_6.1.17_setup_linux_x86.bin error while installing ti-codec-engine
Gary Thomas
gary at mlbassoc.com
Sat Sep 24 10:45:56 UTC 2011
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 at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the Openembedded-devel
mailing list