<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>6937</bug_id>
          
          <creation_ts>2014-11-07 07:04:58 +0000</creation_ts>
          <short_desc>install package &quot;postinst-intercept pointercal-xinput oprofileui avahi&quot; to image failed</short_desc>
          <delta_ts>2016-07-29 02:19:04 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>1.8</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hongxu Jia">hongxu.jia</reporter>
          <assigned_to name="Hongxu Jia">hongxu.jia</assigned_to>
          <cc>liezhi.yang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>46852</commentid>
    <comment_count>0</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2014-11-07 07:04:58 +0000</bug_when>
    <thetext>vim local.conf
...
IMAGE_INSTALL_append = &quot; postinst-intercept pointercal-xinput oprofileui avahi&quot;
...

bitbake core-image-minimal
...
ERROR: avahi not found in the base feeds (qemux86_64 core2-64 x86_64 noarch any all).
...

Here is the analysis:
1. postinst-intercept is only used for nativesdk, so the
postinst-interceptshould be invalid at the recipe parasing
time. We could rename the recipe to nativesdk-postinst-intercept

2. pointercal-xinput is conditionally install file if it
has a contents, so it should allow the package empty.

3. use oprofileui-viewer as oprofileui&apos;s provider

4. use avahi-daemon as avahi&apos;s provider</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49789</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-03-26 09:44:41 +0000</bug_when>
    <thetext>Firstly, its not a reasonable expectation that every recipe name can be added to IMAGE_INSTALL and have things &quot;work&quot;. This simply isn&apos;t the way the system has been designed. If that is an issue I&apos;d like to understand where the requirement has come from.

The postinst issue was dealt with in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=0f5d0e98f6b77a768ee6b77646d0351401d49f0d

The pointercal issue is deliberate as pointed out on the mailing list:

http://git.openembedded.org/meta-openembedded/commit/?id=9477e53e8a8ffde17b558ac436550687db4b86a0

and is meant to be installed as a RRECOMMEND. There is little point in generating a package just for the sake of it.

For avahi and oprofileui, the main packages are simply empty. I&apos;m wondering if we should put a PACKAGES_remove = &quot;${PN}&quot; into those recipes so that those packages aren&apos;t generated?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49790</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-03-26 09:59:40 +0000</bug_when>
    <thetext>Moving to M1, we have a simple plan here for two simple patches and can then get this closed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64630</commentid>
    <comment_count>3</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2016-07-29 02:19:04 +0000</bug_when>
    <thetext>It is not a bug, you can&apos;t install recipe to image, but only package should
be installed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>