<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Here is some additional documentation I have found that may help.&nbsp; <br>
<a class="moz-txt-link-freetext" href="http://bec-systems.com/web/content/view/59/9/">http://bec-systems.com/web/content/view/59/9/</a><br>
<br>
Best of luck, I'm off to work.&nbsp; Let me know if it's of any use.<br>
- Jeremiah<br>
<br>
John Seghers wrote:
<blockquote cite="mid076d01c7c261$c1193760$5b0aa8c0@JohnS" type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><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>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
h2
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:18.0pt;
        font-family:"Times New Roman";
        color:black;
        font-weight:bold;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
  </style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  </o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType>
  <div class="Section1">
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">Yes, but you
will find that task-bootstrap.bb
is obsolete.<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">- John<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p>&nbsp;</o:p></span></font></p>
  <div
 style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;">
  <div>
  <div class="MsoNormal" style="text-align: center;" align="center"><font
 color="black" face="Times New Roman" size="3"><span
 style="font-size: 12pt; color: windowtext;">
  <hr tabindex="-1" align="center" size="2" width="100%"></span></font></div>
  <p class="MsoNormal"><b><font color="black" face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma; color: windowtext; font-weight: bold;">From:</span></font></b><font
 color="black" face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma; color: windowtext;">
Jeremiah Flerchinger [<a class="moz-txt-link-freetext" href="mailto:jeremiah.flerchinger@gmail.com">mailto:jeremiah.flerchinger@gmail.com</a>]
  <br>
  <b><span style="font-weight: bold;">Sent:</span></b> Monday, July 09,
2007 12:44
PM<br>
  <b><span style="font-weight: bold;">To:</span></b> John Seghers<br>
  <b><span style="font-weight: bold;">Cc:</span></b>
<a class="moz-txt-link-abbreviated" href="mailto:openmoko-devel@lists.openmoko.org">openmoko-devel@lists.openmoko.org</a><br>
  <b><span style="font-weight: bold;">Subject:</span></b> Re: How do I
include a
package in the image?</span></font><font color="black"><span
 style="color: windowtext;"><o:p></o:p></span></font></p>
  </div>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;">John Seghers wrote: <o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><u1:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="country-region"><u1:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"><u1:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PostalCode"><u1:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"><u1:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"><u1:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street"><u1:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"></u1:SmartTagType></u1:SmartTagType></u1:SmartTagType></u1:SmartTagType></u1:SmartTagType></u1:SmartTagType></u1:SmartTagType>I&#8217;m
attempting to include a package containing phoneme-feature into an
openmoko
build.<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" 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.<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" 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?<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" 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.<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" 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<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">Can someone please shed
some light on this?<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">- John<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>
  <div>
  <p class="MsoNormal"><font color="gray" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: gray;">Cequint
Incorporated<br>
  <st1:Street u2:st="on"><st1:address u2:st="on"><st1:Street w:st="on"><st1:address
 w:st="on">1809 7th Avenue <br>
Suite 1550</st1:address></st1:Street></st1:address></st1:Street><br>
  <st1:place u2:st="on"><st1:City u2:st="on"><st1:place w:st="on"><st1:City
 w:st="on">Seattle</st1:City></st1:place>, <st1:State u2:st="on"><st1:State
 w:st="on">WA</st1:State></st1:State> <st1:PostalCode u2:st="on"><st1:PostalCode
 w:st="on">98101</st1:PostalCode></st1:PostalCode></st1:City></st1:place><br>
  <st1:country-region u2:st="on"><st1:place u2:st="on"><st1:country-region
 w:st="on"><st1:place w:st="on">USA</st1:place></st1:country-region></st1:place></st1:country-region><br>
(206)264-0979 Direct line<br>
(206)264-1909 Main number<br>
(206)299-9127 Fax</span></font><u1:p></u1:p><o:p></o:p></p>
  </div>
  <div>
  <p class="MsoNormal"><font color="gray" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: gray;"><a
 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><u1:p></u1:p><o:p></o:p></p>
  </div>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;"><u1:p>&nbsp;</u1:p><o:p></o:p></span></font></p>
  <p class="MsoNormal" style="margin-bottom: 12pt;"><font color="black"
 face="Times New Roman" size="3"><span style="font-size: 12pt;">Here's
except I found at <a
 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.<o:p></o:p></span></font></p>
  <h2><b><font color="black" face="Times New Roman" size="2"><span
 style="font-size: 10pt;">Adding Packages to an Image&nbsp;</span></font> <o:p></o:p></b></h2>
  <p><font color="black" face="Times New Roman" size="2"><span
 style="font-size: 10pt;">This
I found to be very obscure! There seems to be a peer relationship of
the <b><span style="font-weight: bold;">task-bootstrap.bb</span></b>
and <b><span style="font-weight: bold;">bootstrap-image.bb</span></b>.
  <b><span style="font-weight: bold;">bootstrap-image.bb</span></b>
calls down to <b><span style="font-weight: bold;">task-bootstrap.bb</span></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!
  </span></font><o:p></o:p></p>
  <p><font color="black" face="Times New Roman" size="2"><span
 style="font-size: 10pt;">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><span
 style="font-weight: bold;">bootstrap-image.bb</span></b> is a
controlling recipe
but it is <b><span style="font-weight: bold;">task-bootstrap.bb</span></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;:-( </span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="2"><span style="font-size: 10pt;">The solution is to rebuild the
  <b><span style="font-weight: bold;">task-bootstrap</span></b>
package! When you add
another package to BOOTSTRAP_EXTRA_RDEPENDS, merely run <b><span
 style="font-weight: bold;">bitbake -c rebuild task-bootstrap</span></b>
and then
do a <b><span style="font-weight: bold;">bitbake bootstrap-image</span></b>.
It
seems that <b><span style="font-weight: bold;">task-bootstrap</span></b>
will
build the collection (list) of what goes into the image, then <b><span
 style="font-weight: bold;">bootstrap-imagetask-bootstrap</span></b>
made.
populates it from the list</span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  </div>
  </div>
</blockquote>
</body>
</html>