<?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 Re: Ltib and source control in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Ltib-and-source-control/m-p/143907#M298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have finally found a way to put LTIB under source control (SVN in our case).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While I was googling for that topic I have found a &lt;A href="http://lists.gnu.org/archive/html/ltib/2007-05/msg00008.html" rel="nofollow noopener noreferrer noopener noreferrer" target="_self"&gt;discusstion in LTIB mailing list&lt;/A&gt;, where it is said that "LTIB is intended more as a package publishing tool, not a software development tool so it should not be used for revision control" &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But anyway we would like to have all our modifications in SVN &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There were two problems for us:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Install LTIB on Ubuntu/Kubuntu 12.04&lt;/LI&gt;&lt;LI&gt;LTIB stores patches outside of directory where it is installed (by default /opt/freescale/pkgs)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First problem has been solved by my colleague with set of scripts, that he has found &lt;A href="http://vijay496.blogspot.in/2012/03/ltib-for-ubuntu-1110-error-faced.html" rel="nofollow noopener noreferrer noopener noreferrer" target="_self"&gt;somewhere in the internet&lt;/A&gt;. These scripts don't solve all problems so he has added couple of his own scripts. Now it works fine for our BSP 20100413 for MPC8308ERDB and Ubuntu/Kubuntu 12.04. Zipped tarball with scripts is attached to this post and there is an original readme file inside.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second problem has been solved in following way. I have added new parameter "our_patches" to ltib script. This is directory where I want to put all our patches. I have found a &lt;SPAN&gt;&lt;SPAN&gt;subroutine&lt;/SPAN&gt;&lt;/SPAN&gt; that implements "patchmerge" command and replaced lpp parameter with our_patches parameter. So now ltib put new patches in our-patches directory. Also I have added our-patches to ldirs definition. ldirs is a list of directories where ltib looks for the files. Also you need either to comment ldirs definition in .ltibrc file or to add our-patches there too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    ldirs        =&amp;gt; "$top/our-patches",    our_patches  =&amp;gt; "$top/our-patches",&lt;/PRE&gt;&lt;P&gt;So now we can just pur all LTIB directory (after clean and without rootfs directory) under version control.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2020 08:44:49 GMT</pubDate>
    <dc:creator>Nich</dc:creator>
    <dc:date>2020-10-29T08:44:49Z</dc:date>
    <item>
      <title>Ltib and source control</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Ltib-and-source-control/m-p/143905#M296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hello:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How do people generally add&amp;nbsp;the LTIB to their own source control?&amp;nbsp;&amp;nbsp; (CVS, Subversion)?&lt;/DIV&gt;&lt;DIV&gt;Should we treat the cross compiler, linux, and GPL and user packages differently?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How do you build the source from scratch on a new machine from your own source control.&amp;nbsp;&amp;nbsp;&amp;nbsp; Do you first just install the latest LTIB, then check out the latest from your source control?&amp;nbsp;&amp;nbsp; Or is everything built from your source control?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Do you source-control the source for every package, or just check in the patches with the tarball, spec file updates, etc.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;I suppose the binary files of packages that we never touch only need to be checked in as tarballs instead of source?&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Your experience here would be appreciated so I don't have to learn things the hard way :smileywink:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;B&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 20:23:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Ltib-and-source-control/m-p/143905#M296</guid>
      <dc:creator>bandeg</dc:creator>
      <dc:date>2007-08-28T20:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ltib and source control</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Ltib-and-source-control/m-p/143906#M297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have similar question... &lt;SPAN&gt;&lt;SPAN&gt;It is a pity that&lt;/SPAN&gt; &lt;SPAN&gt;no one answered yet...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 14:39:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Ltib-and-source-control/m-p/143906#M297</guid>
      <dc:creator>Nich</dc:creator>
      <dc:date>2012-08-02T14:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ltib and source control</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Ltib-and-source-control/m-p/143907#M298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have finally found a way to put LTIB under source control (SVN in our case).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While I was googling for that topic I have found a &lt;A href="http://lists.gnu.org/archive/html/ltib/2007-05/msg00008.html" rel="nofollow noopener noreferrer noopener noreferrer" target="_self"&gt;discusstion in LTIB mailing list&lt;/A&gt;, where it is said that "LTIB is intended more as a package publishing tool, not a software development tool so it should not be used for revision control" &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But anyway we would like to have all our modifications in SVN &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There were two problems for us:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Install LTIB on Ubuntu/Kubuntu 12.04&lt;/LI&gt;&lt;LI&gt;LTIB stores patches outside of directory where it is installed (by default /opt/freescale/pkgs)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First problem has been solved by my colleague with set of scripts, that he has found &lt;A href="http://vijay496.blogspot.in/2012/03/ltib-for-ubuntu-1110-error-faced.html" rel="nofollow noopener noreferrer noopener noreferrer" target="_self"&gt;somewhere in the internet&lt;/A&gt;. These scripts don't solve all problems so he has added couple of his own scripts. Now it works fine for our BSP 20100413 for MPC8308ERDB and Ubuntu/Kubuntu 12.04. Zipped tarball with scripts is attached to this post and there is an original readme file inside.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second problem has been solved in following way. I have added new parameter "our_patches" to ltib script. This is directory where I want to put all our patches. I have found a &lt;SPAN&gt;&lt;SPAN&gt;subroutine&lt;/SPAN&gt;&lt;/SPAN&gt; that implements "patchmerge" command and replaced lpp parameter with our_patches parameter. So now ltib put new patches in our-patches directory. Also I have added our-patches to ldirs definition. ldirs is a list of directories where ltib looks for the files. Also you need either to comment ldirs definition in .ltibrc file or to add our-patches there too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    ldirs        =&amp;gt; "$top/our-patches",    our_patches  =&amp;gt; "$top/our-patches",&lt;/PRE&gt;&lt;P&gt;So now we can just pur all LTIB directory (after clean and without rootfs directory) under version control.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 08:44:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Ltib-and-source-control/m-p/143907#M298</guid>
      <dc:creator>Nich</dc:creator>
      <dc:date>2020-10-29T08:44:49Z</dc:date>
    </item>
  </channel>
</rss>

