<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to set environment variables on target through LTIB rpm spec file? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-environment-variables-on-target-through-LTIB-rpm-spec/m-p/373526#M53456</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a package that contains libraries and an application compiled for ARM I.MX6, and that I would like to deploy using LTIB. For a normal installation of the package a script typically is run on the &lt;SPAN style="text-decoration: underline;"&gt;target platform&lt;/SPAN&gt; that configures the environment variable; first the package would be extracted on the target system, next a shell script would be run to set up the environment variables on that target system. The script essentially consists of paths and the "export" command. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to do is set the environment&amp;nbsp; variables on the &lt;SPAN style="text-decoration: underline;"&gt;target platform&lt;/SPAN&gt; but through LTIB with a spec file on the &lt;SPAN style="text-decoration: underline;"&gt;host platform&lt;/SPAN&gt; and the package.&lt;/P&gt;&lt;P&gt;In other words; I would be using LTIB on the host system, but I would be configuring environment variables &lt;EM&gt;for&lt;/EM&gt; a target platform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I go about doing this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Nov 2014 21:52:04 GMT</pubDate>
    <dc:creator>rhana</dc:creator>
    <dc:date>2014-11-26T21:52:04Z</dc:date>
    <item>
      <title>How to set environment variables on target through LTIB rpm spec file?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-environment-variables-on-target-through-LTIB-rpm-spec/m-p/373526#M53456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a package that contains libraries and an application compiled for ARM I.MX6, and that I would like to deploy using LTIB. For a normal installation of the package a script typically is run on the &lt;SPAN style="text-decoration: underline;"&gt;target platform&lt;/SPAN&gt; that configures the environment variable; first the package would be extracted on the target system, next a shell script would be run to set up the environment variables on that target system. The script essentially consists of paths and the "export" command. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to do is set the environment&amp;nbsp; variables on the &lt;SPAN style="text-decoration: underline;"&gt;target platform&lt;/SPAN&gt; but through LTIB with a spec file on the &lt;SPAN style="text-decoration: underline;"&gt;host platform&lt;/SPAN&gt; and the package.&lt;/P&gt;&lt;P&gt;In other words; I would be using LTIB on the host system, but I would be configuring environment variables &lt;EM&gt;for&lt;/EM&gt; a target platform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I go about doing this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 21:52:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-set-environment-variables-on-target-through-LTIB-rpm-spec/m-p/373526#M53456</guid>
      <dc:creator>rhana</dc:creator>
      <dc:date>2014-11-26T21:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to set environment variables on target through LTIB rpm spec file?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-environment-variables-on-target-through-LTIB-rpm-spec/m-p/373527#M53457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can suggest to add these commands into /root/.bashrc file or into .bashrc file for specific system user you plan to use on target system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 11:51:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-set-environment-variables-on-target-through-LTIB-rpm-spec/m-p/373527#M53457</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2014-11-27T11:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to set environment variables on target through LTIB rpm spec file?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-environment-variables-on-target-through-LTIB-rpm-spec/m-p/373528#M53458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello thanks for the reply. It seems that ".bashrc" is not in rootfs (Yes, I know it is a hidden file.)&lt;/P&gt;&lt;P&gt;Would you suggest simply making the file up and adding it to rootfs? It looks I would be able to do this with a spec file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 20:11:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-set-environment-variables-on-target-through-LTIB-rpm-spec/m-p/373528#M53458</guid>
      <dc:creator>rhana</dc:creator>
      <dc:date>2014-12-01T20:11:31Z</dc:date>
    </item>
  </channel>
</rss>

