summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: cooker: fix handling of exceptions during exception handlingPaul Eggleton2012-09-101-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | If an exception occurs during handling another exception we were getting a useless traceback such as the following, after which BitBake froze: ERROR: Command execution failed: Traceback (most recent call last): File "/home/user/poky/poky/bitbake/lib/bb/command.py", line 84, in runAsyncCommand self.cooker.updateCache() File "/home/user/poky/poky/bitbake/lib/bb/cooker.py", line 1207, in updateCache if not self.parser.parse_next(): File "/home/user/poky/poky/bitbake/lib/bb/cooker.py", line 1694, in parse_next logger.error('Unable to parse %s', value.recipe, AttributeError: 'exceptions.TypeError' object has no attribute 'recipe' Fix this to print an actual traceback of the exception and exit gracefully (well, as gracefully as possible under the circumstances). The general fix for [YOCTO #2977]. (Bitbake rev: 675b237a284dff84e972546774b69e2f89afb360) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: fix malformed URL causing a useless tracebackPaul Eggleton2012-09-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The implementation of NoMethodError and MalformedUrl was broken - if you just set self.args in an exception class to a string it treats it as a list and then fails later on with a TypeError due to the number of arguments not matching up. This nasty exception during exception handling was breaking the normal exception flow (fixed separately), which meant that if you had a malformed URL or invalid protocol in SRC_URI you would get the following: ERROR: Command execution failed: Traceback (most recent call last): File "/home/user/poky/poky/bitbake/lib/bb/command.py", line 84, in runAsyncCommand self.cooker.updateCache() File "/home/user/poky/poky/bitbake/lib/bb/cooker.py", line 1207, in updateCache if not self.parser.parse_next(): File "/home/user/poky/poky/bitbake/lib/bb/cooker.py", line 1694, in parse_next logger.error('Unable to parse %s', value.recipe, AttributeError: 'exceptions.TypeError' object has no attribute 'recipe' A specific fix for [YOCTO #2977]. (Bitbake rev: 9d4150d99051d24ff218e8a43664ceaf524b19c7) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/imageconfigurationpage: remove or_label referenceCristiana Voicu2012-09-101-2/+0
| | | | | | | | | | | When or_label was removed, I forgot to remove also the references to it. [YOCTO #3010] (Bitbake rev: 4d208aaedd60f79a4277f501fdbf8c2afc32c250) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/sstatesig.py: add signature data query functionPaul Eggleton2012-09-101-0/+81
| | | | | | | | | | | Add a function that can be used from BitBake code which will find signature data (sigdata/siginfo) files based on specified criteria, and hook it into BitBake as bb.siggen.find_siginfo. (From OE-Core rev: 9f0453c29891e32f8038c4bbc22ada28bfbf818a) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky-tiny: Enable x86-64 to build eglibc correctlySaul Wold2012-09-101-0/+1
| | | | | | | | | | | | | | | There is bug in the eglibc configure scripts that prevent a x86-64 from configuring correctly and finding the smaller library fucntions. This has been reported to the eglibc community via the issues ML [YOCTO #2943] (From meta-yocto rev: 08893d0bf76b31dc020dc24a9268bd07e259a069) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-bsp: remove packagegroup-core-tools-profile.bbappendTom Zanussi2012-09-101-2/+0
| | | | | | | | | | | | The functionality previously added by these bbappends was already handled in task-core-tools-profile.bb (now packagegroup-core-tools-profile.bb), so remove this. (From meta-yocto rev: e999a6639a711f5c9a64c69d6b89fb478566d34a) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu-internal: New qemu calls it qemu-system-i386 for x86Khem Raj2012-09-101-1/+1
| | | | | | | | | | | New qemu calls the x86 system emulator to be qemu-system-i386 which is consistent now so change it in scripts (From OE-Core rev: b1ccf0202ba66f9be76463df177f11719ab589e8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu-git: Move to tip of git past 1.2 releaseKhem Raj2012-09-102-10/+5
| | | | | | | | | | | | There are a lot of armv7 and sh4 fixes that its worth moving to latest version. The patch forward porting can happen later. (From OE-Core rev: 1b91e597f3550c35605d6b15fd958376e3dde93d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Update from 0.15 to 1.2Khem Raj2012-09-1015-841/+54
| | | | | | | | | | Forward port the patches which were not applied upstream (From OE-Core rev: 0c1328a27881f1b3046ed527447608a9fa91b1ea) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add package wget and perl modules.Saul Wold2012-09-101-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | LSB needs wget to download packages but wget provided by busybox doesn't support some options such as '-N'. LSB perl test 4.1.6-2 case all/tst_perlModPresent.pl, ../lib/Class/ISA/t/00_about_verbose and ../lib/Class/ISA/t/01_old_junk.t fail because of lack of these modules, add them to make test pass. File CORE/config.h which is provided by perl-dev and file unicore/version which is provided by perl-doc are required by LSB perl test cases. Add perl-dev and perl-doc to packagegroups-core-lsb. [Yocto #3030 #3031 #3052 #3054 #3055] (From OE-Core rev: ac4a60a1c585bfe5bdce1556303d49bef2594070) Signed-off-by: Kang Kai <kai.kang@windriver.com> Rebased for packagegroup change -sgw These perl libraries are being added directly to OE-Core for 4.1 LSB Complainace, when 5.0 comes out early next year (2013), we will remove these changes. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libi18n-collate-perl: add itKang Kai2012-09-101-0/+22
| | | | | | | | | | | | | | This module is deprecated from perl 5.003_06. But LSB perl test 4.1.6-2 still test it. So add it. [Yocto #3031] (From OE-Core rev: 8228aa1f6bc1ee5ecddd78ce43d5ebfc0eed2d3c) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libfile-checktree-perl: add itKang Kai2012-09-101-0/+33
| | | | | | | | | | | | | | | LSB perl test 4.1.6-2, all/tst_perlModPresent.pl 1 fails with: test 88 'use File::CheckTree;' failed Add it to fix this issue. [Yocto #3031] (From OE-Core rev: af5141135d0888ea1f72cd63c454bc82884ec567) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libenv-perl: add itKang Kai2012-09-101-0/+22
| | | | | | | | | | | | Just add it for LSB 4.1 perl tests. [Yocto #3031] (From OE-Core rev: 16be305db800c976e6241973e0cf176b954de8e4) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libdumpvalue-perl: add itKang Kai2012-09-101-0/+20
| | | | | | | | | | | | | LSB perl test 4.1.6-2 case all/tst_perlModPresent.pl 1 fails with: test 44 'use Dumpvalue;' failed So add libdumpvalue-perl to fix it. (From OE-Core rev: 0141967e4a721586c2c04252aae3b8e3732f53c3) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpod-plainer-perl: add itKang Kai2012-09-101-0/+24
| | | | | | | | | | | | | | | LSB perl test 4.1.6-2 case all/tst_perlModPresent.pl 1 fails with: test 190 'use Pod::Plainer;' failed Add libpod-plainer-perl to fix it. [Yocto #3031] (From OE-Core rev: 0c26ced44326280f65f574c6ffb2dc1392a2f79e) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: package modules Pod-Html and Tie-Hash-NamedCaptureKang Kai2012-09-101-1/+1
| | | | | | | | | | | | | | | | | Package modules Pod-Html and Tie-Hash-NamedCapture. Without module Tie::Hash::NameCapture.pm, call "use English;" will fail. Module Pod::Html is required by LSB perl test 4.1 case all/tst_perlModPresent.pl 1. [Yocto #3031] (From OE-Core rev: e8d4386b48e169f126dd2fa018b3f44c8a42eef8) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libclass-isa-perl: add itKang Kai2012-09-101-0/+32
| | | | | | | | | | | | | perl module Class::ISA is needed by LSB 4.1 perl test, so add it. When LSB 5.0 release, it will be deprecated. But we need it now. [Yocto #3030] (From OE-Core rev: f2e8d7670d926aa88c3c38996d1a216812741dd2) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Use fw_env.config if available.Franklin S. Cooper Jr2012-09-104-8/+14
| | | | | | | | | | * Add support for board specific fw_env.config file if available. (From OE-Core rev: 5b6a8e987f9039aca63d97bc42421b78acab8a3d) Signed-off-by: Franklin S. Cooper Jr <fcooper27jr@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image: allow root login when debug-tweaks is enabledSaul Wold2012-09-101-0/+1
| | | | | | | | | | | | | | | | | This allows root to login over ssh with an empty password just like dropbear when the debug-tweaks are enabled, it's important to disable debug-tweaks for a production system as this will leave open a security hole! Thanks to Marc for the settings. Cc: Marc Ferland <marc.ferland@gmail.com> [Yocto #3078] (From OE-Core rev: 13e6aa8bba6ab1ebba1efa23f94af379a8fcb6a9) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg: make DRI/GLX options respect opengl distro featureRoss Burton2012-09-102-13/+5
| | | | | | | | | | | If the distro doesn't have the opengl feature there's no point building the DRI or GLX support, making the mesa-dri build dependency optional. (From OE-Core rev: 73d02f6b121c8b0ed2d42de0bfd6c227fd4de41f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg-lite: removeRoss Burton2012-09-104-145/+134
| | | | | | | | | | | | | Building xserver-xorg and not installing the DRI and GLX modules (and so not Mesa) results in an increase of 16kb compared to this package. This isn't worth the effort of maintaining two packages. (From OE-Core rev: 586835801a11e514a10228be957713e1ce90dd44) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autoconf: use --warning=cross only if supportedConstantin Musca2012-09-102-1/+36
| | | | | | | | | | | | | Adapt autoconf to pass --warning=cross to automake only if supported. [YOCTO #842] (From OE-Core rev: 16d1c8f076378d0878f332f83b7e1f5fcf16447d) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* machines/x86: Drop redundant glibc configure knobsKhem Raj2012-09-103-12/+0
| | | | | | | | | | nptl and thereby tls are not optional anymore (From OE-Core rev: 1a4b277e47a8d624cde4c73713d036e230f3a523) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kconfig-frontends: Create symlinks for conf and mconfKhem Raj2012-09-101-1/+7
| | | | | | | | | | | eglibc calls out mconf and conf directly so lets create symlinks to point to their kconfig- counterparts (From OE-Core rev: 5857772e285ad6e39b7216bc542189e45f6fdbf7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Enable kconfig for option managementKhem Raj2012-09-104-3/+9
| | | | | | | | (From OE-Core rev: 13e2ccf6f4e71d674583894750f70865ebe5e4d1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.16: Add kconfig infrastructureKhem Raj2012-09-104-1/+1356
| | | | | | | | | | | This will let eglibc use kernel like option management through kconfig (From OE-Core rev: 4282b86072fd5a916d0d12082d6ba575bce691f2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* arch-armv4.inc: On armv4 add --fix-v4bx to linker flags for kernelKhem Raj2012-09-101-0/+1
| | | | | | | | (From OE-Core rev: 2092e08ba81595c6aaedca8237f6717409eb53b6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pixman: ignore NEON, IWMMXT, LOONGSON_MMI variables for class-nativeMartin Jansa2012-09-101-2/+3
| | | | | | | | | | | | | | | | | | | | * pixman-native can have different do_configure sstate checksums if it's built with armv4t machine and armv7a OE @ ~ $ bitbake/bin/bitbake-diffsigs before-mgmt/stamps.1346795706/nokia900/x86_64-linux/pixman-native-*.do_configure.sigdata.* after-mgmt/stamps.1346801508/om-gta02/x86_64-linux/pixman-native-*.do_configure.sigdata.* basehash changed from 27e577de60880a788c7aaba797ef83e0 to c6799807eb3e767daf1e75738fc753f7 Variable NEON value changed from to --disable-arm-neon * so if you start building with different machine then last time (wrt NEON setting) all recipes which depends on pixman-native will be rebuilt too * this explains why sstate-cache-management.sh wanted to remove many native sstate packages when --stamps-dir option was used (see comment 28 in https://bugzilla.yoctoproject.org/show_bug.cgi?id=2897) (From OE-Core rev: 0b466e6677208aeefdfa15aa37bd4681eda166c8) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pixman: merge meta-oe append into oe-coreAndreas Müller2012-09-103-2/+280
| | | | | | | | | | | | * neon configuration settings included * patches were aligned to 0.27.2. (From OE-Core rev: 97c547f3efc4bfd801a24f189ee3f38e5a017fb7) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_rpm.bbclass: fix incremental rpm image generationRobert Yang2012-09-101-2/+2
| | | | | | | | | | | | | | | | | | * Check ${target_rootfs}/etc/passwd rather than ${target_rootfs}${rpmlibdir} to make sure that it has been previously installed. * Remove the "--nodeps" when incremental image generation, it should take care of the dependencies. Still use "--replacefiles --replacepkgs" in case there are conflicts. [YOCTO #3047] (From OE-Core rev: 2b3df2ec7979a49842df172be442a8794fe68fff) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsb: update versionKang Kai2012-09-101-17/+17
| | | | | | | | | | | | | | | | | Update package lsb version to be same with current lsb test suit version. Because when install the suit, it warns that need lsb version >= 3.0 at least. Drop the duplicated creating files under /etc/lsb-release.d. Provides directories /etc/opt and /var/opt that they are required by package lsb-dist-checker in lsb test suit. (From OE-Core rev: 973e615ab4ee325ab568f84e001a5724f4b0dd01) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: updateKang Kai2012-09-101-3/+3
| | | | | | | | | | Update to latest version 20120903 (From OE-Core rev: e14a9921928c774d1817704a0a606d3ac7e4f989) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemuimagetest: modifying the scenario file as per new test casesVeerabrahmam vr2012-09-1010-0/+30
| | | | | | | | | | modified scenario files. (From OE-Core rev: dfd2ead41846c568d251a47c4baa2d9666e0c98f) Signed-off-by: veerabrahmam <veerabrahmamvr@huawei.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemuimagetest: add basic function to check syslogdVeerabrahmam vr2012-09-102-0/+71
| | | | | | | | | | one test case to check syslogd is executing on target. (From OE-Core rev: 9286ea7a4eb85ba559d48135458f3b94da7a3866) Signed-off-by: veerabrahmam <veerabrahmamvr@huawei.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemuimagetest: add basic function to check enough disk spaceVeerabrahmam vr2012-09-102-0/+79
| | | | | | | | | | one test case to check disk space availability. (From OE-Core rev: d7b549a72a91db41d8b7084b4b3efa162a62a880) Signed-off-by: veerabrahmam <veerabrahmamvr@huawei.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemuimagetest: basic function to check bash existsVeerabrahmam vr2012-09-102-0/+70
| | | | | | | | | | | one test case to check bash command availability on qemu target. Signed-off-by: veerabrahmam <veerabrahmamvr@huawei.com> (From OE-Core rev: 357478b624b27fdfce25b6064b0f64717db75fa6) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bin_package.bbclass: binary package recipe classRobert Yang2012-09-101-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is used for the binary package recipe, it's been suggested that it would be a useful feature to be able to easily take an RPM or similar containing a software binary from a 3rd party software vendor and integrate it into an image created by the build system. * Brief introduction - The binary pkg can be .rpm, .deb, .ipk and other formats which can be unpacked by bitbake fetcher. - Let bitbake unpack the bianry package, just like unpack the source package. - Skip the do_configure and do_compile. - Install the files to ${D} - Other steps are similar to the source package's recipe. * Note: - The "subdir" parameter in the SRC_URI is useful for the binary package recipe, so I added an example in the comment. - I have sent a patch to bitbake-devel mailing list to support unpack the .rpm, .ipk, and .deb files. [YOCTO #1592] (From OE-Core rev: 7037f52909b8226d2afed4ac73c902d410afc112) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_rpm.bbclass: fix the arch (replace "-" with "_")Robert Yang2012-09-102-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | rpm can't use the "-" as the arch, which causes problem, e.g., when MACHINE = "beagleboard": * The arch should be armv7a-vfp-neon, but rpm only takes the armv7a, this is incorrect since it is mixed with real arch armv7a. * The nativesdk's arch should be i686-nativesdk (or x86_64-nativesdk), but rpm only takes the i686 (or x86_64), this in incorrect since it is mixed with the arch i686 (or x86_64). Replace "-" with "_" when rpm package and the rootfs generation would fix the problem, I think this is fine since it doesn't change the tune's arch, the package manager doesn't care about the arch's name, but it needs a unify arch system to avoid confusing. This is similar to what we have done on the deb which fixed the arch i486, i586 and so on to i386. [YOCTO #2328] (From OE-Core rev: fc985f511da86400e4fa7d17555216c12eb51666) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distrodata: replace Tab with SpaceSaul Wold2012-09-101-545/+545
| | | | | | | (From OE-Core rev: adb241958f125cc4c74ac5fbfc00674e7cd7305d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/mirrors: remove bogus gnutls mirrorPaul Eggleton2012-09-101-1/+0
| | | | | | | | | | | | | | | | This mirror entry which maps to itself plus a slash, if matched, put the fetcher into a circular loop until the stack space is exhausted. A patch has been sent to fix this issue in BitBake, but we should remove the bogus entry as well. (Note that this entry does not actually trigger the issue with current master because the gnutls recipe now uses GNU_MIRROR instead of ftp.gnutls.org, thus the bogus mirror entry is not matched.) (From OE-Core rev: 0de1827a9601143b090f751ea702fdb65a936b77) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: replace double slashes in paths in encodeurl()Paul Eggleton2012-09-071-0/+3
| | | | | | | | | | | | This ensures that if all a MIRRORS entry does is add a slash, this does not result in a circular loop. Fixes [YOCTO #3073]. (Bitbake rev: 57055d337a2c9997a6e5d5bdabaec396e3e128e9) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: print message when DISPLAY is not setCristiana Voicu2012-09-071-2/+9
| | | | | | | | | | | | | If DISPLAY wasn't set, launching hob has printed a traceback difficult to understand. Now, the exception is caught and it shows a human message. [YOCTO #2596] (Bitbake rev: a41098a2dacbd903422ccdcd1885b0f351c7ddf3) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Hob: change view of 'recipes' and 'packages' tables as ui designLiming An2012-09-074-60/+41
| | | | | | | | | | | | | changed the order of task tables, cancel the 'description' column, add the binb total number indicator, and so on [YOCTO 2195] (Bitbake rev: 6dc3263d60a6d35f9eebfcdbc2665201ee40b953) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mpc8315e-rdb: switch to ppce300c3 tuningBruce Ashfield2012-09-071-1/+1
| | | | | | | | | | | | | | | | It has been pointed out several times that the mpc8315e-rdb is a ppce300c3 board, and should be using a different tuning than it's current ppc603e. This switching the default tuning of the board to the newly introduced ppce300c3 tuning in oe-core. [YOCTO #1192] (From meta-yocto rev: 884e796ea85f7dd064f83c90b439b0e863e28c57) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake-diffsigs: allow specifying task & follow deps recursivelyPaul Eggleton2012-09-072-12/+102
| | | | | | | | | | | | | | | Add the ability to compare the two most recent runs of a specified task, and follow dependent hash changes recursively. This enables you to trace back and find exactly why a task was re-run after the fact. Note that this relies on the metadata providing a function, hooked in as bb.siggen.find_siginfo, which allows searching in the appropriate places to find signature data files. (Bitbake rev: cc70181659c07e04c205e17832846acf1ff31d28) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: lib/bb/siggen.py: make signature dump/compare functions return a listPaul Eggleton2012-09-073-33/+46
| | | | | | | | | | These functions become a little bit more reusable if they return a list containing the output rather than just printing it. (Bitbake rev: a0ad2a947b71abcc0a1244cf139b9e9dfd8ee049) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: lib/bb/siggen.py: insert a colon between class and recipe namePaul Eggleton2012-09-071-1/+1
| | | | | | | | | | | | | | | | | | | before: virtual:nativeautomake_1.12.1.bb.do_compile after: virtual:native:automake_1.12.1.bb.do_compile This separation ensures that the key is readable, and if necessary, parsable. Unfortunately this invalidates previous native sstate signatures with OE-Core - not much that can be done about that; however that occurs frequently during the development cycle so it's par for the course. (Bitbake rev: 5b96c32dad256090e9bda5af0f80c7dbcc90bde8) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: lib/bb/siggen: replace tabs with spacesPaul Eggleton2012-09-071-17/+17
| | | | | | | | | | We had one section of the code mixing tabs with spaces, which is particularly undesirable with python code. (Bitbake rev: 8eaa093b179e03a6003a47220540b1bc73afca17) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: tinfoil: create simple interface for bitbake-based utilitiesPaul Eggleton2012-09-071-99/+47
| | | | | | | | | | | | The code to initialise BitBake within bitbake-layers should be useful for other utilities that need to query configuration or recipe information, so refactor it out into its own class, "Tinfoil" (to continue with our cooking metaphor). (Bitbake rev: e5707e3938ace47c4a8d1fa2e81583fd4dc6b95d) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: crumbs/hig: Save toolchain in settingsBogdan Marinescu2012-09-071-0/+1
| | | | | | | | | | | Toolchain was not saved in the settings dialog ("Output" tab). [YOCTO #2695] (Bitbake rev: f8924b75d6ff7f093d73f4e3c0953e349960d5ff) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>