Bug 5436

Summary: Add the ability to specify static uid / gid pairs to be used by packages at build time for post install scripts
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Mark Hatle <mark.hatle>
Component: coreAssignee: Mark Hatle <mark.hatle>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: meta.mr.watcher, meta.watcher, richard.purdie
Version: 1.6   
Target Milestone: 1.6   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Mark Hatle 2013-10-31 16:58:32 UTC
Currently the order of the packages install affects the resulting passwd/group files.  As the files are installed adduser/addgroup is called and for uid/gid that are not statically defined -- dynamic items are added.

Two installations may result in different non-deterministic behavior.

We would like a way to generate a system with deterministic uid/gid behavior, while still allows the passwd/group file to be dynamically generated based on the content of the image.
Comment 1 Mark Hatle 2013-10-31 16:59:05 UTC
I'm working on an implementation of this feature.
Comment 2 Mark Hatle 2014-02-27 16:18:31 UTC
Implemented in commits:

18c99dac52b746b88cd084eb4c2a2ef0329a6ff3
f35bbba65e3e41f8dea1f9ff872d3a9fbd84bf6d