<?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>12874</bug_id>
          
          <creation_ts>2018-08-08 20:58:36 +0000</creation_ts>
          <short_desc>manpages postinst doesn&apos;t work in nativesdk</short_desc>
          <delta_ts>2018-09-13 16:34:09 +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>2.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.6 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</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>81274</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-08-08 20:58:36 +0000</bug_when>
    <thetext>If I enable api-documentation and build a sdk:

WARNING: core-image-sato-1.0-r0 do_populate_sdk: Intentionally failing postinstall scriptlets of [&apos;kmod-doc&apos;] to defer them to first boot is deprecated.
Please place them into pkg_postinst_ontarget_${PN} ().
If deferring to first boot wasn&apos;t the intent, then scriptlet failure may mean an issue in the recipe, or a regression elsewhere.

This isn&apos;t an intentionally failing postinst as it doesn&apos;t &apos;exit 1&apos; anywhere, so the postinst doesn&apos;t work properly in the context of a SDK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81555</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-09-13 16:34:09 +0000</bug_when>
    <thetext>I tested this locally with current master and it seems the issues were resolved with the various recent postinst changes and other fixes.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>