Bug 3374

Summary: Make image devshell environment more like do_rootfs
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: configurationAssignee: Richard Purdie <richard.purdie>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: Medium+ CC: mihai.lindner, sgw
Version: 1.4   
Target Milestone: 1.4 M5   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Paul Eggleton 2012-11-01 15:57:14 UTC
It would be useful if the environment in the devshell for images was closer to what it is in do_rootfs since that's probably the kind of environment you'll want for testing things within the image devshell; for example, currently PSEUDO_UNLOAD and PSEUDO_DISABLED are set so you have to unset these if you want to use pseudo (and set PSEUDO_LOCALSTATEDIR so it points into the rootfs).
Comment 1 Richard Purdie 2013-03-03 11:54:08 UTC
Patches for discussion on the mailing list. Main pieces merged, just final enabling needed.
Comment 3 Mihai Lindner 2013-04-09 16:43:59 UTC
root $ whoami
root

root $ id
uid=0(root) gid=0(root) groups=0(root)

root $ PSEUDO_DISABLED=1 whoami
mihai

root $ PSEUDO_DISABLED=1 id
uid=1000(mihai) gid=1000(mihai) groups=1000(mihai)

With "master:b49ddeb11c0319b7ece278fd7cef6b0223114ca9".