summaryrefslogtreecommitdiffstats
path: root/meta/classes/devshell.bbclass
AgeCommit message (Collapse)Author
2013-02-19devshell.bbclass: Allow running devshell and fakeroot togetherRichard Purdie
Currently its hard to run a devshell complete with fakeroot context. This patch allows the fakeroot flag on the task to do this, as with any other task. Since we may need to start X terminal applications, we need to only start the fakeroot session on the final command, hence the hoops this code jumps through. As always with fakeroot, you can break out and run a command without the fake permissions with syntax like "PSEUDO_UNLOAD=1 <command>" [YOCTO #3374] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-10Rework how the devshell functionsChris Larson
In the new implementation, each known terminal is defined as a class in oe.terminal, as a subclass of bb.process.Popen. terminal.bbclass wraps this functionality, providing the metadata pieces. It obeys the OE_TERMINAL variable, which is a 'choice' typed variable. This variable may be 'auto', 'none', or any of the names of the defined terminals. When using 'auto', or requesting an unsupported terminal, we attempt to spawn them in priority order until we get one that's available on this system (and in the case of the X terminals, has DISPLAY defined). The 'none' value is used when we're doing things like automated builds, and want to ensure that no terminal is *ever* spawned, under any circumstances. Current available terminals: gnome konsole xterm rxvt screen Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-03-01Ensure Bash is used when spawning terminalsJoshua Lock
We rely on Bashisms when spawning a terminal so ensure that bash is used when using devshell and menuconfig. Fixes [BUGID #119] Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-12-09devshell: Clean up devshell code so this task doesn't polute the global ↵Richard Purdie
namespace Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-23devshell.bbclass: export the FAKEROOTENV so it can be accessed within the ↵Richard Purdie
devshell task Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-18devshell.bbclass: Merge tweaks from OE.devRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2008-05-21devshell.bbclass: Export needed variablesRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4526 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-17devshell.bbclass: Sync with OE since this no longer works at properly ↵Richard Purdie
without this change git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2738 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-20classes: Sync with OE - mainly quoting fixes or other minor updatesRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@885 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-31devshell.bbclass: Run after do_patchRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@684 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-30devshell: Convert to its own class and add to poky.conf by default. Export ↵Richard Purdie
EXTRA_OEMAKE to devshell. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@683 311d38ba-8fff-0310-9ca6-ca027cbcb966