summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* glib-2.0: Fix unpackaged files warningRichard Purdie2012-02-241-1/+4
| | | | | | | | | | WARNING: For recipe glib-2.0, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/gio WARNING: /usr/lib/gio/modules (From OE-Core rev: a85f283ffae5407b23532ce2262142ee2d986af2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cracklib: Fix unpackaged files warning by disabling autodetected pythonRichard Purdie2012-02-241-1/+3
| | | | | | | | | | WARNING: For recipe cracklib, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/python2.7 WARNING: /usr/lib/python2.7/site-packages (From OE-Core rev: f9b184b9454da8374de7351af8619d0201d6f843) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgcrypt: Fix unpackaged file warningRichard Purdie2012-02-241-0/+3
| | | | | | | | | WARNING: For recipe libgcrypt, the following files/directories were installed but not shipped in any package: WARNING: /usr/sbin (From OE-Core rev: db3d5baa07ce8c81d229fdea4d80671768efa7a3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* readline: Add a patch to remove the redundant rpath linker optionRichard Purdie2012-02-243-1/+23
| | | | | | | | | | | | | This resolves the QA warnings: WARNING: QA Issue: readline: /work/x86_64-poky-linux/readline-6.2-r0/packages-split/readline/usr/lib/libhistory.so.6.2 contains probably-redundant RPATH /usr/lib WARNING: QA Issue: readline: /work/x86_64-poky-linux/readline-6.2-r0/packages-split/readline/usr/lib/libreadline.so.6.2 contains probably-redundant RPATH /usr/lib WARNING: QA Issue: readline: /work/x86_64-poky-linux/readline-6.2-r0/packages-split/readline/usr/lib/libreadline.so.6 contains probably-redundant RPATH /usr/lib WARNING: QA Issue: readline: /work/x86_64-poky-linux/readline-6.2-r0/packages-split/readline/usr/lib/libhistory.so.6 contains probably-redundant RPATH /usr/lib (From OE-Core rev: fe8661cd30b02dd8ea9bf172479f372c919c36a7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libusb-compat: Address unpackaged files warningRichard Purdie2012-02-241-2/+2
| | | | | | | | | WARNING: For recipe libusb-compat, the following files/directories were installed but not shipped in any package: WARNING: /lib/libusb.la (From OE-Core rev: 019747e5fe834092731cdb2987d9c6e1f7fd1cc1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libusb1: Address unpackaged files warningRichard Purdie2012-02-241-2/+2
| | | | | | | | | WARNING: For recipe libusb1, the following files/directories were installed but not shipped in any package: WARNING: /lib/libusb-1.0.la (From OE-Core rev: 3155ace4bd2c9ba0ecb0db4c65778601eb5ed186) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Fix LICENSE fieldRichard Purdie2012-02-241-2/+2
| | | | | | | | | | | This addresses the warning: WARNING: rpm: No generic license file exists for: LGPL in any provider WARNING: rpm: No generic license file exists for: 2.1 in any provider (From OE-Core rev: 2345f788c9206b87804292c0afdd73f565784d45) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Fix package warningRichard Purdie2012-02-241-0/+1
| | | | | | | | | WARNING: For recipe eglibc, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/locale (From OE-Core rev: d8c24378c6813036fcf9bc88cac919c3443c1446) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_tracking_fields: fix typosSaul Wold2012-02-231-2/+2
| | | | | | | (From OE-Core rev: 1034e798cbab0bd16e35db6ae750f146fc8689c1) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* task-self-hosted: make the package lists alphabeticalDexuan Cui2012-02-231-18/+18
| | | | | | | | | This patch makes no actual change to the functionality of the recipe. (From OE-Core rev: 0dff62c849650f3fa51ce80979b4d80dcc0d36f1) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* task-self-hosted: remove duplicate packagesDexuan Cui2012-02-231-11/+0
| | | | | | | | | | | | The package names are specified more than once. We only need to keep one for each of them, so let's remove the duplicated ones. This patch makes no actual change to the functionality of the recipe. (From OE-Core rev: 121a1499a81706366acc0081272a6bff634d4d62) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* A script to clean obsolete sstate cache filesRobert Yang2012-02-231-0/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There would be many obsolete cache files in the SSTATE_DIR after several builds, this script can remove the obsolete one for a pkg, only leave the up to date one. Here is the help text: sstate-cache-management.sh <OPTION> Options: --help, -h Display this help and exit. --cache-dir=<sstate cache dir> Specify sstate cache directory, will use the environment variable SSTATE_CACHE_DIR if it is not specified. --remove-duplicated Remove the duplicated sstate cache files of one package, only the newest one would be kept. [YOCTO #1682] (From OE-Core rev: 7c99ef6d2173b14e1109a540ee5ae47b56d707e7) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: Move libcrypto to base_libdirAndrei Gherzan2012-02-232-2/+10
| | | | | | | | | | | | | | | | This fix is for dhclient. It needs libcrypto at runtime and if libcrypto is in libdir, it's path can be inaccessible on systems where /usr is on nfs for example or dhclient is needed before /usr is mounted. (From OE-Core rev: 01ea85f7f6c53c66c76d6f832518b28bf06ec072) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> [Fix comment to from /usr -> /lib - sgw] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* boot-directdisk: Use correct SYSLINUX_TIMEOUT and SYSLINUX_ROOT instead of ↵Saul Wold2012-02-231-2/+4
| | | | | | | | | APPEND (From OE-Core rev: 1284230ad554f8607cb02b054fdd74017ae7c861) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image-live: fix SYSLINUX_TIME and add SYSLINUX_ROOT instead of APPENDSaul Wold2012-02-231-2/+2
| | | | | | | (From OE-Core rev: e03d5cbdfc39a835576b16a0beeea6858e983f56) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types: add vmdk type to use with VMwareSaul Wold2012-02-231-1/+4
| | | | | | | (From OE-Core rev: c18e6d444929c32a714b3e46f21567867e48814c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* syslinux: add SYSLINUX_ROOT to APPEND lineSaul Wold2012-02-231-0/+1
| | | | | | | | | | By prepending the SYSLINUX_ROOT to the APPEND line, will allow a sane default to be set for the various syslinux images (From OE-Core rev: 47f53bc7998aa8390f846e939b6a7f6df3789777) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* syslinux: Use SYSLINUX_TIMEOUT and SYSLINUX_PROMPT to configure syslinuxSaul Wold2012-02-231-5/+5
| | | | | | | | | | | | | | | | | | | syslinux allows you to set TIMEOUT and PROMPT variables, when PROMPT is 0, the "boot:" is not displayed uless one presses CTRL or SHIFT during startup. TIMEOUT is in 1/10th of seconds, and a value of 0 for TIMEOUT will disable the timeout mechanism. In bitbake, recipes had set TIMEOUT (not SYSLINUX_TIMEOUT) incorrectly, other patches fix this issues. We are adding SYSLINUX_PROMPT to enable/disable the "boot:" prompt in syslinux. See http://www.syslinux.org/wiki/index.php/SYSLINUX for more details (From OE-Core rev: be04e3b2e13c1a7e1cd5416771b72a80ec52b8ad) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ppp: Fix rp-pppoe plugin compilationYauhen Kharuzhy2012-02-232-1/+56
| | | | | | | | | | | | rp-pppoe plugin was broken due linux headers changes: pppd has own copy of if_pppol2tp.h file which is included from <linux/if_pppox.h>. Add patch from Debian for struct pppol2tpv3_addr definition. (From OE-Core rev: bc2581aff2a859b414c8097514527a9b5b0ab2a6) Signed-off-by: Yauhen Kharuzhy <yauhen.kharuzhy@promwad.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mpeg2dec: depend on libx11 conditionallyAndreas Oberritter2012-02-231-1/+1
| | | | | | | | | | | * mpeg2dec currently doesn't build if x11 is unavailable, due to an unconditional dependency on libx11. However, libx11 is not required to build mpeg2dec. (From OE-Core rev: 6ebbeeb0bcd29aec25e2c437d0bc95dd78d62f82) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-plugins-base: depend on libx11 and libxv conditionallyAndreas Oberritter2012-02-231-1/+2
| | | | | | | | | | | | * gst-plugins-base currently doesn't build if x11 is unavailable, due to unconditional dependencies on libx11 and libxv. However, they are not required to build gst-plugins-base. (From OE-Core rev: 668ebf38a5b9b0dbd0f6f1a0ebfafb04afbcbf07) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: Cope with ${libdir} and ${base_libdir} being the sameMike Crowe2012-02-231-4/+6
| | | | | | | | | | ${libdir} and ${base_libdir} may be the same. If they are don't try and move files onto themselves. (From OE-Core rev: 992604c533c9f3c2133cfa87c1121d43a508ec4a) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: don't create /etc/defaultAndreas Oberritter2012-02-232-2/+1
| | | | | | | | | | * It's not used by the recipe and its creation currently depends on CONFIG_HWCLOCK=y. (From OE-Core rev: cd59c2fcefa6aeacf78a63c5c9a623a4d77c0941) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Remove empty ${lindir}dbus-1.0/test directory as we don't build testsAndrei Gherzan2012-02-231-1/+4
| | | | | | | | | This empty directory generates a QA warning of unshippped files/dirs. (From OE-Core rev: d3573ae136c532d3cf537ef05c22f163275f4f41) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: e2initrd_helper was moved in libdir but not packaged correctly in ↵Andrei Gherzan2012-02-231-1/+1
| | | | | | | | | | | | FILES_libext2fs The new install path of e2initrd_helper is %{libdir}. FILES_libext2fs modified accordigly to avoid QA warnings. (From OE-Core rev: 31684b34f3521e97dbfd35ff961960b9792ef657) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nspr: Add patch in order to remove rpath from binariesAndrei Gherzan2012-02-232-1/+28
| | | | | | | | | This patch was created in order to avoid QA warnings. (From OE-Core rev: 16b8a25ec03b9e9f360290263593b9f8f92bb9e1) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nspr: Compile nspr with testsAndrei Gherzan2012-02-231-4/+131
| | | | | | | | | | 1. Compile package tests suite 2. Add tests to -dev rpm as it needs dev libraries (From OE-Core rev: c78db5086091e09e510fcd275918aee0949483c1) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nspr: Integrate version 4.8.9Andrei Gherzan2012-02-232-0/+48
| | | | | | | | (From OE-Core rev: cbe6eced99566129c575b43a58cdde2ac669a741) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dhcp: Update to 4.2.3-P2Andrei Gherzan2012-02-2310-16/+39
| | | | | | | | | | | | | | 1. Update to 4.2.3-P2 2. From 4.2.0 final release, -lcrypto check was removed and we compile static libraries from bind that are linked to libcrypto. This is why i added a patch in order to add -lcrypto to LIBS. 3. Add openssl in DEPENDS as we need libcrypto from this package 4. Drop installing /var/lib/dhcp/ as it is handled in pkg_postinst (From OE-Core rev: 1cd882c47865a501d5401bad44e1c7f460ce2699) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools.bbclass: Don't copy into non-existant directoryAndreas Oberritter2012-02-231-1/+1
| | | | | | | | | | | | | | | | * If configure.ac contains AM_GNU_GETTEXT and po/Makefile.in.in doesn't exist, autotools_do_configure() copies a local version of Makefile.in.in to this location. If the directory 'po' doesn't exist, the function aborts. * This patch verifies that the directory exists before copying a file to it. This fixes libcddb, which uses AM_GNU_GETTEXT, but has no 'po' directory. (From OE-Core rev: ba175bdfe85d701298d28e5190e55207420a24e8) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wireless-tools: remove ldconfig call from install-libsMartin Jansa2012-02-232-2/+22
| | | | | | | | | * and drop apply=yes param as it's not needed (From OE-Core rev: ca343882f8e95b49b18b234000e387c879cf5885) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: Make /etc/timestamp consistent again.Gary Thomas2012-02-233-4/+4
| | | | | | | | | | | | | | | | | Commit cc8695 changed the way timestamps were handled and added some extra munging to be able to compare them reliably. This change makes the timestamp value the same everywhere and simplifies how the check to set the system clock based on the timestamp is done. Also, if the value stored in /etc/timestamp is newer [at all] than the current system time, set the system clock from the stored value, down to the minute, not just the day. (From OE-Core rev: 5aab6653c9afa05e7c1b3ccd6bd34aec05c2a6f8) Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xorg-lib: don't build libs unless requested by DISTRO_FEATURESAndreas Oberritter2012-02-232-5/+6
| | | | | | | | | | | | | | * If 'x11' is not set in DISTRO_FEATURES, then skip all recipes using xorg-lib-common.inc instead of only those using libx11.inc. * One exception: pixman, which is not only used by xorg, but also by cairo. (From OE-Core rev: a101bc85adcc915f151348107e850b8998a395b0) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: remove ldconfig call from install-libsMartin Jansa2012-02-232-2/+32
| | | | | | | (From OE-Core rev: 6a74c2050de4540deaf4e855bdf7aec4518f648a) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate.bbclass: add *_config to SSTATE_SCAN_FILESMartin Jansa2012-02-231-1/+1
| | | | | | | | | * e.g. mysql5 has mysql_config not mysql-config (From OE-Core rev: aebdffc93ba8446bbd4e20263f0f75d4d4460c47) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: add apr_rules.mk to SSTATE_SCAN_FILESMartin Jansa2012-02-231-0/+2
| | | | | | | (From OE-Core rev: 9db1f3b13c7e7f37c41f6a4fabdb2fc0c5ebc227) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl 1.2.14: regenerate patch so it applies with 'patch' as well as 'git ↵Koen Kooi2012-02-231-9/+18
| | | | | | | | | | | apply' The '@@ -, +, @@' part upsets plain 'patch' (From OE-Core rev: 949f4dc6f2bd59aa3e2c782fee87f07438aebd21) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstatesig.py: Move package exclusion list to the layer configRichard Purdie2012-02-232-4/+7
| | | | | | | | | | | | | its desireable for other layers to be able to append to the list of packages with 'safe ABI's which are excluded from the sstate signatures. I can't emphasise enough how careful you need to be with this list, anything excluded here needs to be things which don't change interface and are consistent between different machines. (From OE-Core rev: 5adef35691a956c3071c0a1ed1caf6b58d1ec5a1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstatesig.py: Add handling for machine specific module dependenciesRichard Purdie2012-02-231-6/+20
| | | | | | | | | | | | | | | | | | Adding dependencies on machine specific recipes from generic packages causes a rebuild of the generic package per machine if using signatures for the stamp files which is unacceptable. We need to declare that RRECOMMENDS on kernel-module-* are safe and that we shouldn't care about these machine specific dependencies from a stamp perspective. This change adds code which does this. It depends on a change in bitbake to expose the dataCache object which can be used to make the calculations we need to allow this to work correctly. (From OE-Core rev: 91fc672756d45086cdf4e9c6de8e920dcd8cd14e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: add Makefile to SSTATE_SCAN_FILESMartin Jansa2012-02-231-0/+1
| | | | | | | | | | | | | | | | | | * it contains sysroot specific paths, this is from om-gta04 sysroot and notice nokia900 ./usr/lib/python2.7/config/Makefile:CC= arm-oe-linux-gnueabi-gcc -march=armv7-a -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ --sysroot=/OE/shr-core/tmp-eglibc/sysroots/nokia900 ./usr/lib/python2.7/config/Makefile:CXX= arm-oe-linux-gnueabi-g++ -march=armv7-a -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ --sysroot=/OE/shr-core/tmp-eglibc/sysroots/nokia900 ./usr/lib/python2.7/config/Makefile:LDFLAGS=-L. -L/OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed ./usr/lib/python2.7/config/Makefile:LIBDIR= /OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/lib ./usr/lib/python2.7/config/Makefile:INCLUDEDIR= /OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/include ./usr/lib/python2.7/config/Makefile:CONFIG_ARGS= '--build=x86_64-linux' '--host=arm-oe-linux-gnueabi' '--target=arm-oe-linux-gnueabi' '--prefix=/usr' '--exec_prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/libexec' '--datadir=/usr/share' '--sysconfdir=/etc' '--sharedstatedir=/com' '--localstatedir=/var' '--libdir=/usr/lib' '--includedir=/OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/include' '--oldincludedir=/usr/include' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--disable-silent-rules' '--disable-dependency-tracking' \ '--with-libtool-sysroot=/OE/shr-core/tmp-eglibc/sysroots/nokia900' '--with-threads' '--with-pymalloc' '--with-cyclic-gc' '--without-cxx' '--with-signal-module' '--with-wctype-functions' '--enable-shared' 'build_alias=x86_64-linux' 'host_alias=arm-oe-linux-gnueabi' 'target_alias=arm-oe-linux-gnueabi' 'CC=arm-oe-linux-gnueabi-gcc -march=armv7-a -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__ --sysroot=/OE/shr-core/tmp-eglibc/sysroots/nokia900' 'CFLAGS=-O2 -pipe -g -feliminate-unused-debug-types' 'LDFLAGS=-L. -L/OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/lib-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed' 'CPPFLAGS=' 'CPP=arm-oe-linux-gnueabi-gcc -E --sysroot=/OE/shr-core/tmp-eglibc/sysroots/nokia900 -march=armv7-a -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -D__SOFTFP__' ./usr/lib/python2.7/config/Makefile: $(RUNSHARED) /OE/shr-core/tmp-eglibc/sysroots/nokia900/usr/libexec/oah/translate ./$(BUILDPYTHON) -E -tt $(TESTPROG) -uall $(TESTOPTS) (From OE-Core rev: bf1628286987ad6b4a762b0aeb6aece4a51e7255) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/utils.py: use bb.utils.vercmp_stringAndreas Oberritter2012-02-231-1/+1
| | | | | | | | | | | | Fixes the following warning: | WARNING: .../meta/lib/oe/utils.py:31: DeprecationWarning: Call to deprecated function bb.vercmp_string: Please use bb.utils.vercmp_string instead. | result = bb.vercmp(d.getVar(variable,True), checkvalue) (From OE-Core rev: 925a9729afaa9cd498661f7f363112c974b023a2) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: change for adding progress bar in Hob2.Shane Wang2012-02-234-29/+73
| | | | | | | | | | | | | The changes include: - Clean some events in event.py - Fire essential events for Hob2 to handle with more information. - knotty changes (Bitbake rev: 9ede881620c501574f014e600cea6947ea908ac2) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* command.py: add resolve option for generateTargetsTree APIDongxiao Xu2012-02-232-13/+56
| | | | | | | | | | | | | | | Currently we have generateTargetsTree API, which is used to get dependency information. However in that tree, there will be "virtual/xxx" in depends fields. Therefore we add the resolve option to replace it with its real providers. Besides, for packages that provided by multiple recipes, we will find their preverred provider. (Bitbake rev: 28501612efdfc6ee47576cc90deb6e897883e7f5) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* command.py: Add a new API triggerEvent()Dongxiao Xu2012-02-231-0/+6
| | | | | | | | | | This functions enables the client to request triggering specific event from bitbake server. (Bitbake rev: 45da6d709a69697158fae92e1c0c0a6ac8f30831) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* command.py: add new API to get the cpu count on the serverShane Wang2012-02-232-0/+10
| | | | | | | | | Add a new API in command.py to get the cpu count in order to set the appropriate default BB_NUMBER_THREADS and PARALLEL_MAKE variables. (Bitbake rev: 335047b2e440e65713e88fabb24b47a9c82f939b) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Add client socket info for BitBakeServerConnectionDongxiao Xu2012-02-232-5/+6
| | | | | | | | | | In server/client split model, the client will bind to a specific address and port. We need to pass the values to BitBakeServerConnection(). (Bitbake rev: c8e19c5c389efc06696084c6f9439ba75472c5b7) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: add -B option to bind with interfaceDongxiao Xu2012-02-232-6/+17
| | | | | | | | | | When start bitbake as a server only process, we need to assign certain interface to it. (Bitbake rev: 95b97d2dc6466ea3d99371f5b5bd68f6f3c99074) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* event.py: Add new events RequestPackageInfo and PackageInfoDongxiao Xu2012-02-231-0/+13
| | | | | | | | | | | | RequestPackageInfo is triggered by GUI client to request the available package information. PackageInfo event is to pass package information back to GUI. (Bitbake rev: 9020c2d4476766f63ff7e024bbd99043d06feefc) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cache: Use configuration's hash value to validate cacheDongxiao Xu2012-02-233-21/+36
| | | | | | | | | | | | | | | Previously we use the file time stamp to judge if a cache is valid. Here this commit introduce a new method, which calculates the total hash value for a certain configuration's key/value paris, and tag it into cache filename, for example, bb_cache.dat.xxxyyyzzz. This mechanism also ensures the cache's correctness if user dynamically setting variables from some frontend GUI, like HOB. (Bitbake rev: 1c1df03a6c4717bfd5faab144c4f8bbfcbae0b57) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: add file and line number to ParseErrorPaul Eggleton2012-02-235-16/+26
| | | | | | | | | | | Ensure that a file and line number are reported for ParseError where possible. This helps particularly in the case of inherit and require which previously did not report either of these upon failure. (Bitbake rev: f588ba69622a2df35417ced184e56c79ac1b40d5) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>