Bug 6212

Summary: package_rpm breaks when building inside a docker container
Product: [Build System, Metadata & Runtime] BitBake Reporter: LetoThe2nd <holzmayr>
Component: bitbakeAssignee: LetoThe2nd <holzmayr>
Status: RESOLVED WORKSFORME QA Contact:
Severity: minor    
Priority: Low CC: jessica.zhang, jinzhou.zjz, joshuagloe, poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
Log of do_roots breaking inside docker with package_rpm none

Description LetoThe2nd 2014-04-23 08:50:42 UTC
Created attachment 1927 [details]
Log of do_roots breaking inside docker with package_rpm

When doing a standard minimal build (core-image-minimal for qemuarm or aemux86) inside a docker container (ubuntu 12.04, only the yocto needed packages installed), do_root fails(log attached). package_deb and package_ipk are fine.

The error messages suggest ists a host pollution problem, where docker kicks in an breaks the attempts to write.
Comment 1 Jessica 2014-04-24 14:49:23 UTC
This is interesting but since you have the setup, it'll be great if you can provide a patch
Comment 2 Joshua Lock 2017-06-13 11:01:55 UTC
We have multiple team members successfully building in Docker containers with package_rpm