Bug 3374 - Make image devshell environment more like do_rootfs
Summary: Make image devshell environment more like do_rootfs
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: configuration (show other bugs)
Version: 1.4
Hardware: All Multiple
: Medium+ enhancement
Target Milestone: 1.4 M5
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-11-01 15:57 UTC by Paul Eggleton
Modified: 2013-04-09 16:43 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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".