Bug 9092 - ca-certificates-native needs to be added into postinst recipes list
Summary: ca-certificates-native needs to be added into postinst recipes list
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.1
Assignee: Ming Liu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-02-10 22:12 UTC by Ming Liu
Modified: 2016-02-16 21:36 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ming Liu 2016-02-10 22:12:59 UTC
With Build Configuration:
BB_VERSION        = "1.28.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "qemux86-64"
DISTRO            = "poky"
DISTRO_VERSION    = "2.0+snapshot-20160210"
TUNE_FEATURES     = "m64 core2"
TARGET_FPU        = ""
meta              
meta-yocto        
meta-yocto-bsp    = "master:3d1932cf71925073caec3bad8724783f998e9c83"
meta-initramfs    
meta-oe           = "master:73854a05565b30a5ca146ac53959c679b27815aa"


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

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: ['100-ca-certificates']
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 '1'
Comment 2 Ming Liu 2016-02-16 21:35:47 UTC
As of a6426479f6348524a904ba28c16c1e3c8793cb08 patch merged into master.