<?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>9092</bug_id>
          
          <creation_ts>2016-02-10 22:12:59 +0000</creation_ts>
          <short_desc>ca-certificates-native needs to be added into postinst recipes list</short_desc>
          <delta_ts>2016-02-16 21:36:16 +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.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ming Liu">liu.ming50</reporter>
          <assigned_to name="Ming Liu">ming.liu</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>58858</commentid>
    <comment_count>0</comment_count>
    <who name="Ming Liu">liu.ming50</who>
    <bug_when>2016-02-10 22:12:59 +0000</bug_when>
    <thetext>With Build Configuration:
BB_VERSION        = &quot;1.28.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-14.04&quot;
TARGET_SYS        = &quot;x86_64-poky-linux&quot;
MACHINE           = &quot;qemux86-64&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;2.0+snapshot-20160210&quot;
TUNE_FEATURES     = &quot;m64 core2&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;master:3d1932cf71925073caec3bad8724783f998e9c83&quot;
meta-initramfs    
meta-oe           = &quot;master:73854a05565b30a5ca146ac53959c679b27815aa&quot;


With the following steps:
1 Added 2 lines to recipes-core/images/core-image-minimal.bb
IMAGE_FEATURES_append = &quot; read-only-rootfs&quot;
IMAGE_INSTALL_append = &quot; ca-certificates&quot;

2 bitbake core-image-minimal
  bitbake ca-certificates ca-certificates-native -c clean
  bitbake core-image-minimal -c cleansstate
  bitbake core-image-minimal -c rootfs


Then I got the following error:

ERROR: The following packages could not be configured offline and rootfs is read-only: [&apos;100-ca-certificates&apos;]
ERROR: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/mliu3/Desktop/yocto/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.26464
ERROR: Task 6 (/home/mliu3/Desktop/yocto/poky/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code &apos;1&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58859</commentid>
    <comment_count>1</comment_count>
    <who name="Ming Liu">liu.ming50</who>
    <bug_when>2016-02-10 22:20:30 +0000</bug_when>
    <thetext>Patch sent to ML: http://lists.openembedded.org/pipermail/openembedded-core/2015-November/112783.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59128</commentid>
    <comment_count>2</comment_count>
    <who name="Ming Liu">liu.ming50</who>
    <bug_when>2016-02-16 21:35:47 +0000</bug_when>
    <thetext>As of a6426479f6348524a904ba28c16c1e3c8793cb08 patch merged into master.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>