<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
John Seghers wrote:
<blockquote cite="mid053301c7bf5e$06458980$5b0aa8c0@JohnS" type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 11 (filtered medium)">
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="country-region">
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PostalCode">
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City">
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street"><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address">
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
  <style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
  </style></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType>
  <div class="Section1">
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">I&#8217;m attempting to include
a package containing
phoneme-feature into an openmoko build.<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">I&#8217;ve successfully (I
think) built the package with the
OpenEmbedded arm cross-compiling toolchain and have the .ipk package.&nbsp;
I
cannot for the life of me find the way to get that package included
into the
image.<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">One assumption I should
state first is:
/home/moko/build/tmp/rootfs/&#8230;. should contain the files from the
package
if it is installed in the image.&nbsp; Is this correct?<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">I&#8217;ve tried setting the
documented IPKG_INSTALL in my
bitbake recipe for phoneme. I&#8217;ve tried setting PACKAGE_INSTALL.<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">I&#8217;ve tried adding the
package name to the
PACKAGE_INSTALL in openembedded/packages/images/openmoko-image.bb<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">Can someone please shed
some light on this?<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">- John<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p>
  <div>
  <p class="MsoNormal" style=""><font color="gray" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: gray;">Cequint
Incorporated<br>
  <st1:Street w:st="on"><st1:address w:st="on">1809 7th Avenue <br>
Suite 1550</st1:address></st1:Street><br>
  <st1:place w:st="on"><st1:City w:st="on">Seattle</st1:City>, <st1:State
 w:st="on">WA</st1:State> <st1:PostalCode w:st="on">98101</st1:PostalCode></st1:place><br>
  <st1:country-region w:st="on"><st1:place w:st="on">USA</st1:place></st1:country-region><br>
(206)264-0979 Direct line<br>
(206)264-1909 Main number<br>
(206)299-9127 Fax</span></font><o:p></o:p></p>
  </div>
  <div>
  <p class="MsoNormal" style=""><font color="gray" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: gray;"><a class="moz-txt-link-abbreviated" href="http://www.cequint.com">www.cequint.com</a></span></font><font
 color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><br>
  </span></font><font color="navy"><span style="color: navy;"><a
 href="mailto:jseghers@cequint.com"
 title="blocked::mailto:mgosselin@cequint.com"><font
 title="blocked::mailto:mgosselin@cequint.com" face="Arial" size="2"><span
 title="blocked::mailto:mgosselin@cequint.com"><span
 style="font-size: 10pt; font-family: Arial;">jseghers@cequint.com</span></span></font></a></span></font><o:p></o:p></p>
  </div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  </div>
</blockquote>
Here's except I found at <a class="moz-txt-link-freetext" href="http://www.openembedded.org/wiki/FirstProject">http://www.openembedded.org/wiki/FirstProject</a>
which may relate.&nbsp; I'm currently trying to get through some of their
documentation myself.<br>
<br>
<blockquote>
  <h2><font size="-1">Adding Packages to an Image&nbsp;</font> </h2>
  <p><font size="-1">This I found to be very obscure! There seems to be
a peer relationship of the <b>task-bootstrap.bb</b> and <b>bootstrap-image.bb</b>.
  <b>bootstrap-image.bb</b> calls down to <b>task-bootstrap.bb</b>
to get the recipies of the base system built. You would think that all
you would have to do to add another package later is to add it to
BOOTSTRAP_EXTRA_RDEPENDS? Not so!
  </font></p>
  <p><font size="-1">Adding the package name to
BOOTSTRAP_EXTRA_RDEPENDS merely
causes it to be built and packaged (.ipk), but it won't get added to
the image! <b>bootstrap-image.bb</b> is a controlling recipe but it is
  <b>task-bootstrap.bb</b>
that decides just what goes into that image. Strange, this caused me no
end of removing the tmp directory and doing a fresh build just to add
another package.&nbsp;:-(
  </font></p>
  <font size="-1">The solution is to rebuild the <b>task-bootstrap</b>
package! When you add another package to BOOTSTRAP_EXTRA_RDEPENDS,
merely run <b>bitbake -c rebuild task-bootstrap</b> and <font
 size="-1">then do a <b>bitbake bootstrap-image</b>. It seems that <b>task-bootstrap</b>
will build the collection (list) of what goes into the image, then <b>bootstrap-image</b><b>task-bootstrap</b>
made.</font> populates it from the list</font></blockquote>
<p> </p>
<br>
</body>
</html>