generic-poky/meta/classes
Richard Purdie cd7b437d4b devshell: Add interactive python shell
Being able to interact with the python context in the Bitbake task execution
environment has long been desireable. This patch introduces such a
mechanism. Executing "bitbake X -c devpyshell" will open a terminal connected
to a python interactive interpretor in the task context so for example you can
run commands like "d.getVar('WORKDIR')"

This version now includes readline support for command history and various other
bug fixes such as exiting cleanly compared to previous versions.

(From OE-Core rev: 36734f34fe6e4b91e293234687e63c02f5b3117e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-28 08:27:00 +01:00
..
allarch.bbclass allarch: Set empty TARGET_PREFIX and TARGET_FPU 2014-01-21 10:20:11 +00:00
archiver.bbclass archiver.bbclass: emit patch series files for original src 2014-03-25 09:55:35 +00:00
autotools-brokensep.bbclass autotools-brokensep: Mark recipes with broken separate build dir support 2014-02-28 14:01:16 +00:00
autotools.bbclass binutils/gcc/gdb: Add TARGET_ARCH to PN for all cross recipes 2014-04-30 16:39:06 +01:00
autotools_stage.bbclass autotools: deprecate autotools_stage class 2010-04-27 17:11:28 +01:00
base.bbclass classes/lib/oe: Fix cross/crosssdk references 2014-05-11 12:27:22 +01:00
bin_package.bbclass bin_package.bbclass: binary package recipe class 2012-09-10 13:01:46 +01:00
binconfig.bbclass *.bbclass (shell): avoid pipe with sed 2014-05-08 13:00:33 +01:00
blacklist.bbclass blacklist.bbclass: Avoid blacklist specific handle in base.bbclass 2013-08-13 23:06:03 +01:00
boot-directdisk.bbclass Globally replace 'base_contains' calls with 'bb.utils.contains' 2014-04-25 17:19:19 +01:00
bootimg.bbclass Globally replace 'base_contains' calls with 'bb.utils.contains' 2014-04-25 17:19:19 +01:00
bugzilla.bbclass classes/conf: Add eventmasks for event handlers 2013-06-14 12:55:47 +01:00
buildhistory.bbclass *.bbclass (shell): avoid pipe with sed 2014-05-08 13:00:33 +01:00
buildstats.bbclass buildstats: use TaskBase time for elapsed time 2014-03-25 09:55:36 +00:00
ccache.bbclass meta: Don't use deprecated bitbake API 2013-09-01 15:51:42 +01:00
chrpath.bbclass chrpath: properly handle rootdir with '..' in path 2014-05-11 12:27:21 +01:00
clutter.bbclass clutter: remove usage of FILESPATH 2013-10-26 15:59:13 +01:00
cmake.bbclass cmake.bbclass: fix note when warning about deprecated variables 2014-01-22 07:20:04 +00:00
cml1.bbclass cml1.bbclass: Add diffconfig task to cml1 2014-02-20 14:28:10 +00:00
copyleft_compliance.bbclass archiver.bbclass: make it can filter the license 2014-03-25 09:55:35 +00:00
copyleft_filter.bbclass archiver.bbclass: make it can filter the license 2014-03-25 09:55:35 +00:00
core-image.bbclass Globally replace 'base_contains' calls with 'bb.utils.contains' 2014-04-25 17:19:19 +01:00
cpan-base.bbclass classes/cpan-base: fix signatures changing when perl is in sysroot 2014-02-17 15:28:58 +00:00
cpan.bbclass cpan.bbclass: Fail unless Makefile.PL generates Makefile 2013-07-29 13:08:59 +01:00
cpan_build.bbclass cpan_build bbclass: do not install module into /usr/share 2013-12-14 09:11:16 +00:00
cross-canadian.bbclass binutils/gcc/gdb: Add TARGET_ARCH to PN for all cross recipes 2014-04-30 16:39:06 +01:00
cross.bbclass cross: Update PKG_CONFIG variables after recent changes 2014-05-02 20:46:58 +01:00
crosssdk.bbclass cross/crosssdl/native/nativesdk: Fix do_packagedata stamps 2013-10-04 18:26:50 +01:00
debian.bbclass package: Create global package file list and use throughout PACKAGEFUNCS 2013-02-01 15:54:02 +00:00
deploy.bbclass sstate: Get rid of crazy name mapping 2013-12-18 17:08:05 +00:00
devshell.bbclass devshell: Add interactive python shell 2014-05-28 08:27:00 +01:00
distro_features_check.bbclass distro_features_check.bbclass: fix searching whole list 2014-05-27 16:11:54 +01:00
distrodata.bbclass distrodata.bbclass: Fix checkpkg functionality 2014-04-29 17:20:12 +01:00
distutils-base.bbclass classes/distutils: Introduce PYTHON_PN 2014-02-02 22:37:38 +00:00
distutils-common-base.bbclass distutils-common-base: Create staticdev pacakge for static libraries 2012-11-21 16:56:00 +00:00
distutils-native-base.bbclass classes/distutils: Introduce PYTHON_PN 2014-02-02 22:37:38 +00:00
distutils-tools.bbclass classes: Add distutils for python3 2014-02-02 22:37:39 +00:00
distutils.bbclass distutils.bbclass: only modify *.py file if it contains path to be removed 2014-05-08 13:00:31 +01:00
distutils3-base.bbclass distutils: Introduce PYTHON_ABI variable 2014-02-02 22:37:39 +00:00
distutils3-native-base.bbclass distutils: Introduce PYTHON_ABI variable 2014-02-02 22:37:39 +00:00
distutils3.bbclass classes: Add distutils for python3 2014-02-02 22:37:39 +00:00
externalsrc.bbclass externalsrc: Fix deltask usage 2013-12-21 09:00:52 +00:00
extrausers.bbclass extrausers.bbclass: avoid infinite loop 2013-11-06 11:02:26 +00:00
fontcache.bbclass fontcache.bbclass: add fontconfig-utils runtime dependency 2014-03-21 12:05:50 +00:00
gconf.bbclass Revert "gconf.bbclass: remove --disable-schemas-install" 2014-01-06 16:30:28 +00:00
gettext.bbclass gettext: Improve USE_NLS handling for nativesdk/crosssdk/cross-canadian 2013-08-23 16:20:11 +01:00
gnome.bbclass gnome: set UNKNOWN_CONFIGURE_WHITELIST 2013-10-29 10:41:37 +00:00
gnomebase.bbclass gnomebase: remove trailing whitespace 2014-03-12 06:05:31 -07:00
grub-efi.bbclass bootimg/grub-efi.bbclass: allow using a different class for EFI images 2014-03-11 09:30:14 -07:00
gsettings.bbclass gsettings.bbclass: fix whitespace 2012-09-05 22:25:23 +01:00
gtk-doc.bbclass gtkdoc: set the default docdir to ${S}, not ${B} 2013-07-10 09:42:01 +01:00
gtk-icon-cache.bbclass Pass the mlprefix to postinst_intercept script 2013-04-29 14:45:10 +01:00
gtk-immodules-cache.bbclass gtk-immodules-cache: fix error message to use correct names 2013-11-14 13:39:48 +00:00
gummiboot.bbclass classes: Add gummiboot class 2014-03-11 09:30:14 -07:00
gzipnative.bbclass gzipnative: Ensure dependencies apply to do_unpack and do_populate_lic 2013-09-22 12:19:43 +01:00
icecc.bbclass icecc: don't create unnecessary 'ice' dirs in sysroots when disabled 2014-04-23 11:43:27 +01:00
image-live.bbclass image*.bbclass, bootimg.bbclass: add image type dependencies 2014-02-20 14:28:10 +00:00
image-mklibs.bbclass image/image-prelink/image-mklibs/sanity: Drop pointless EXPORT_FUNCTIONS 2014-04-01 23:37:01 +01:00
image-prelink.bbclass image/image-prelink/image-mklibs/sanity: Drop pointless EXPORT_FUNCTIONS 2014-04-01 23:37:01 +01:00
image-swab.bbclass classes/image-swab: remove zypper-related references 2013-01-24 20:09:00 +00:00
image-vmdk.bbclass image-vmdk.bbclass: Don't force syslinux timeout 2014-02-20 14:28:13 +00:00
image.bbclass Globally replace 'base_contains' calls with 'bb.utils.contains' 2014-04-25 17:19:19 +01:00
image_types.bbclass cpio rootfs build: Avoid modifying rootfs dir 2014-03-27 09:42:05 +00:00
image_types_uboot.bbclass image_types_uboot: Update to work after recent image_types changes 2012-02-29 18:25:03 +00:00
insane.bbclass insane: Special case kernel modules for x32 targets 2014-03-07 14:58:46 +00:00
insserv.bbclass bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the populate_staging task to populate_sysroot 2009-11-13 12:15:42 +00:00
kernel-arch.bbclass kernel-arch.bbclass: add arm64 support to U-Boot architecture map 2014-03-21 12:05:54 +00:00
kernel-grub.bbclass *.bbclass (shell): avoid pipe with sed 2014-05-08 13:00:33 +01:00
kernel-module-split.bbclass kernel-module-split: Remove extraneous call to depmod from module postinst 2014-01-10 15:16:51 +00:00
kernel-yocto.bbclass kernel-yocto: quote kconfig mode check 2014-05-06 17:59:17 +01:00
kernel.bbclass kernel: don't populate source symbolic link 2014-04-25 17:19:20 +01:00
lib_package.bbclass lib_package.bbclass: Correct comment referring to bin directories. 2013-01-07 11:09:42 +00:00
libc-common.bbclass eglibc: Upgrade from 2.18 -> 2.19 2014-02-18 08:38:51 +00:00
libc-package.bbclass Globally replace oe.utils.contains to bb.utils.contains 2014-04-25 17:19:19 +01:00
license.bbclass image.bbclass, license.bbclass: adjust the name of list_installed_packages() 2014-03-21 12:05:53 +00:00
linux-kernel-base.bbclass kernel.bblass: remove get_kernelmajorversion 2011-07-01 23:34:18 +01:00
logging.bbclass logging: add bb* logging mechanisms for bash recipe functions 2011-04-28 10:45:41 +01:00
meta.bbclass Factor ipkg index and conf file creation into package_ipk.bbclass 2007-09-01 22:17:06 +00:00
metadata_scm.bbclass metadata_scm: Avoid crashing on new svn version layouts 2013-11-24 12:25:36 +00:00
migrate_localcount.bbclass classes/conf: Add eventmasks for event handlers 2013-06-14 12:55:47 +01:00
mime.bbclass mime.bbclass: remove the --disable-update-mimedb 2014-01-06 11:13:56 +00:00
mirrors.bbclass mirrors.bbclass: add ${CPAN_MIRROR} option 2014-05-27 16:11:53 +01:00
module-base.bbclass classes/module_strip: remove 2013-12-12 23:09:15 +00:00
module.bbclass kernel: extract functions for kernel modules to separate bbclass 2013-03-05 13:14:50 +00:00
multilib.bbclass multilib.bbclass: fix Multilib QA Issue 2014-01-28 11:41:21 +00:00
multilib_global.bbclass classes/conf: Add eventmasks for event handlers 2013-06-14 12:55:47 +01:00
multilib_header.bbclass mulitilib_header: Avoid sstate checksum issues for -native recipes 2013-02-14 12:36:08 +00:00
native.bbclass classes/lib/oe: Fix cross/crosssdk references 2014-05-11 12:27:22 +01:00
nativesdk.bbclass nativesdk: Set LIBCOVERRIDE to a value 2013-12-16 12:13:50 +00:00
oelint.bbclass classes: Sync with OE - mainly quoting fixes or other minor updates 2006-11-20 15:19:39 +00:00
own-mirrors.bbclass own-mirrors.bbclass: Bring own-mirrors.bbclass from oe commit 0ef914b250df46a41348479446214575668943fb 2011-03-15 01:19:26 +00:00
package.bbclass package.bbclass: Add CONFFILES to list of package specific variables 2014-04-08 13:59:59 +01:00
package_deb.bbclass package_*.bbclass: Simplify addtask 2014-03-30 10:10:33 +01:00
package_ipk.bbclass package_*.bbclass: Simplify addtask 2014-03-30 10:10:33 +01:00
package_rpm.bbclass package_*.bbclass: Simplify addtask 2014-03-30 10:10:33 +01:00
package_tar.bbclass classes/package_tar: fix conflicts with package_deb / package_ipk 2014-02-25 08:01:09 +00:00
packagedata.bbclass packagedata: Show error when trying to change PE/PV/PR from runtime/pkgdata 2013-06-28 10:01:28 +01:00
packagegroup.bbclass Globally replace 'base_contains' calls with 'bb.utils.contains' 2014-04-25 17:19:19 +01:00
packageinfo.bbclass bitbake.conf/package: Collapse PKGDATA_DIR into a single machine specific directory 2013-09-14 08:21:00 +01:00
patch.bbclass meta: Don't use deprecated bitbake API 2013-09-01 15:51:42 +01:00
perlnative.bbclass base/perlnative/pythonnative/gzipnative: Add a new variable to enable easier handling of native path issues 2012-07-26 14:56:20 +01:00
pixbufcache.bbclass pixbufcache: add error exit in pixbufcache_sstate_postinst 2014-04-24 17:55:13 +01:00
pkgconfig.bbclass pkgconfig: Drop automatic pkgconfig RDEPENDS 2012-10-18 12:13:12 +01:00
populate_sdk.bbclass nativesdk: Switch to using nativesdk as a prefix, not a suffix 2012-09-02 05:52:06 -07:00
populate_sdk_base.bbclass SDK default deploy directory 2014-04-04 12:18:17 +01:00
populate_sdk_deb.bbclass populate_sdk_*: Drop now unneeded recrdeptask flags 2014-03-30 10:10:33 +01:00
populate_sdk_ipk.bbclass populate_sdk_*: Drop now unneeded recrdeptask flags 2014-03-30 10:10:33 +01:00
populate_sdk_rpm.bbclass populate_sdk_*: Drop now unneeded recrdeptask flags 2014-03-30 10:10:33 +01:00
prexport.bbclass utility-tasks/distrodata: Add recideptask flag for fetchall/checkuriall 2013-06-20 13:10:46 +01:00
primport.bbclass classes/conf: Add eventmasks for event handlers 2013-06-14 12:55:47 +01:00
prserv.bbclass prserv: change PRSERV_HOST semantics 2013-01-25 12:42:43 +00:00
ptest.bbclass ptest: Work from PTEST_ENABLED, not DISTRO_FEATURES 2014-05-08 13:00:33 +01:00
python-dir.bbclass distutils: Introduce PYTHON_ABI variable 2014-02-02 22:37:39 +00:00
python3native.bbclass python3native.bbclass: Add python3 abstraction class 2014-02-02 22:37:38 +00:00
pythonnative.bbclass classes/distutils: Introduce PYTHON_PN 2014-02-02 22:37:38 +00:00
qemu.bbclass Revert "qemu.bbclass: Use the correct qemu binary in multilib cases" 2013-04-29 14:45:10 +01:00
qmake2.bbclass qt: update qmake2 class to export qconfig.pri mkspec 2013-06-13 17:38:11 +01:00
qmake_base.bbclass classes/qmake_base: allow parallel make 2013-06-13 17:38:11 +01:00
qt4e.bbclass qt4e.bbclass: export OE_QMAKE_QT_CONFIG 2013-07-02 22:23:51 +01:00
qt4x11.bbclass qt4*.bbclass: disable build qt on mips64 with 64 bits userspace 2013-06-28 10:41:46 +01:00
recipe_sanity.bbclass recipe_sanity.bbclass: avoid error when running 'bitbake -e' 2014-04-23 11:43:27 +01:00
relocatable.bbclass relocatable.bbclass: split it up, to reuse code 2012-08-02 15:28:39 +01:00
report-error.bbclass report-error: Add posting in the public note 2014-04-24 17:55:15 +01:00
rm_work.bbclass rm_work.bbclass: ignore failure for removing pseudo folder 2013-05-24 14:14:48 +01:00
rootfs_deb.bbclass do_rootfs: Add PACKAGE_FEED_URIS as a vardep 2014-03-07 15:05:08 +00:00
rootfs_ipk.bbclass do_rootfs: Add PACKAGE_FEED_URIS as a vardep 2014-03-07 15:05:08 +00:00
rootfs_rpm.bbclass Globally replace 'base_contains' calls with 'bb.utils.contains' 2014-04-25 17:19:19 +01:00
sanity.bbclass sanity: testimage needs DISPLAY set only for qemu targets 2014-04-04 11:53:50 +01:00
scons.bbclass scons bbclass: enable parallel make 2014-01-28 00:52:36 +00:00
sdl.bbclass classes/sdl: remove Opie-specific desktop file/packaging 2012-02-21 17:00:46 +00:00
setuptools.bbclass classes: Add distutils for python3 2014-02-02 22:37:39 +00:00
setuptools3.bbclass classes: Add distutils for python3 2014-02-02 22:37:39 +00:00
sip.bbclass *.bbclass (shell): avoid pipe with sed 2014-05-08 13:00:33 +01:00
siteconfig.bbclass siteconfig: Unbreak after sstate changes some time ago 2014-04-05 00:14:37 +01:00
siteinfo.bbclass classes: add aarch64_be target 2013-10-14 16:55:32 +01:00
spdx.bbclass meta: Don't use deprecated bitbake API 2013-09-01 15:51:42 +01:00
sstate.bbclass classes/lib/oe: Fix cross/crosssdk references 2014-05-11 12:27:22 +01:00
staging.bbclass classes/staging: ensure do_populate_sysroot re-execs on changes to sysroot preprocessing funcs 2014-03-25 09:55:36 +00:00
syslinux.bbclass syslinux.bbclass: Enable additional kernel parameters for syslinux 2014-03-30 10:10:35 +01:00
systemd.bbclass Globally replace oe.utils.contains to bb.utils.contains 2014-04-25 17:19:19 +01:00
terminal.bbclass terminal.bbclass: do not export PS1 2014-01-10 15:16:52 +00:00
testimage-auto.bbclass testimage: add task level lock 2014-03-05 15:50:20 +00:00
testimage.bbclass classes/testimage: if start fails, don't try to stop 2014-04-30 21:52:32 +01:00
texinfo.bbclass Add texinfo.bbclass; recipes that use texinfo utils at build-time inherit it. 2014-05-02 20:46:59 +01:00
tinderclient.bbclass meta/classes: Various python whitespace fixes 2012-08-21 12:15:30 +01:00
toaster.bbclass toaster.bbclass: do not fail on non-existent files 2014-04-19 11:04:40 +01:00
toolchain-scripts.bbclass toolchain-scripts/meta-environment: Further cleanup code duplication 2013-11-06 11:02:27 +00:00
typecheck.bbclass classes/conf: Add eventmasks for event handlers 2013-06-14 12:55:47 +01:00
uboot-config.bbclass classes/uboot-config: ignore doc varflag 2014-03-07 15:05:09 +00:00
update-alternatives.bbclass update-alternatives: We now use u-a in nativesdk so make sure the dependency is present 2014-01-19 16:32:10 +00:00
update-rc.d.bbclass update-rc.d: Handle multilib case for initscripts 2014-05-11 12:27:22 +01:00
useradd-staticids.bbclass useradd{-static}: Ignore useradds on nativesdk 2014-03-21 12:05:49 +00:00
useradd.bbclass useradd{-static}: Ignore useradds on nativesdk 2014-03-21 12:05:49 +00:00
useradd_base.bbclass useradd_base.bbclass: avoid the traffic crowding 2014-04-05 23:24:01 +01:00
utility-tasks.bbclass classes/utility-tasks: make do_listtasks a little more friendly 2014-02-25 08:01:09 +00:00
utils.bbclass Globally replace oe.utils.contains to bb.utils.contains 2014-04-25 17:19:19 +01:00
vala.bbclass vala.bbclass: add dependency on vala 2013-10-30 17:33:12 +00:00
waf.bbclass waf.bbclass: add waf build system class 2013-09-06 23:03:22 +01:00