Bug 119

Summary: Ensure the correct (bash) shell is used when spawning shells
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Joshua Lock - Disabled <josh>
Component: meta-yoctoAssignee: Joshua Lock - Disabled <josh>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Low CC: jessica.zhang, poky.bs.watcher, poky.watcher, sgw
Version: 0.9   
Target Milestone: 1.0 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Joshua Lock - Disabled 2010-07-16 05:03:07 UTC
running on a system with SHELL set to something other than bash (i.e. fish) causes issues when spawning a shell.
Comment 1 Saul Wold 2010-08-25 09:28:13 UTC
Is this being fixed as part of Checksumming??  If so, can you mark it as accepted and comment it.

Thanks
   Sau!
Comment 2 Richard Purdie 2011-02-22 03:17:09 UTC
Checksumming doesn't specifically fix this. We currently don't force any particular shell for the build and probably should.
Comment 3 Joshua Lock - Disabled 2011-02-23 03:22:24 UTC
Patch resolution should always spawn with bash as meta/lib/oe/patch.py sets SHELLCMDS to bash:

os.environ['SHELLCMDS'] = "bash --rcfile " + rcfile

Which leaves the devshell and kernel classes spawning terminals with the default shell.

I'm working on a patch.
Comment 4 Joshua Lock - Disabled 2011-02-24 07:59:55 UTC
My patch has been merged to master.

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=6d261a50bac760b55e33c303e9f3f2214338eb4f
Comment 5 Joshua Lock - Disabled 2011-07-25 08:21:50 UTC
Verify fixed