summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* subversion: fix build problem when sysroot contains '-D' or '-I'Chen Qi2014-02-092-0/+33
| | | | | | | | | | | | | | | | | | | | | If sysroot contains '-D' or '-I' characters, the SVN_NEON_INCLUDES and the corresponding CFLAGS will not get the correct value. This will cause build failures. This patch fixes the above problem. [YOCTO #5458] (From OE-Core master rev: 7078397ef39de43244fca7e24683b2a83913cbbf) (From OE-Core rev: 6a0187d6ce57552c9f00f74dc9001ce0400f0608) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: do not replace ccache in the middle of a pathYue Tao2014-02-091-1/+1
| | | | | | | | | | | | | | | | | Python recipe did a sed s/ccache/$(CCACHE) on the Makefile, which replaces all "ccache" including ones that consist of a full path. This leads to build error when building in a project path with "ccache" in its name. Fix it by only replacing "ccache " with "$(CCACHE) ". (From OE-Core master rev: 1181112cf65bc0186807fc59399c5dddcb9f9449) (From OE-Core rev: 3081a1d16d2e1928f11c221c02d92b2c23fa1d85) Signed-off-by: Lei Liu <lei.liu2@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: correct PV variableCristiana Voicu2014-02-091-1/+1
| | | | | | | | | | | (From OE-Core master rev: ceba66859f87904066e67504a53fc8b07f4b1111) (From OE-Core rev: c4fa4b8f42a8d4476e623c014604ffc14a762c24) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-cross-canadian: Fix fortran buildRichard Purdie2014-02-091-0/+1
| | | | | | | | | | | | | When fortran was enabled, builds were failing due to a extra files. For now we can remove these and avoid the build failure. (From OE-Core master rev: 2e60ef7fe63974e443a9ddc25c5eb4249ec37963) (From OE-Core rev: 2c0a74e2a77ffd542cf45868646a054e0952c77a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: Depend on virtual/kernel:do_deployRichard Purdie2014-02-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Now that none of the packagegroups depend on virtual/kernel, we have the problem that MACHINE=qemumips bitbake core-image-minimal doesn't put a kernel into the deploy directory. This breaks many common usecases and user expectations. To avoid this, add a dependency on the kernel deploy to image do_build tasks. This should avoid any circular dependency issues but equally ensure users have their expectations met. [YOCTO #5581] (From OE-Core master rev: fe26b2379ecdbdb56acde8592bc0c2d95092a207) (From OE-Core rev: 444a8a0b235c0c48685fe84f0c37031906d03921) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Conflicts: meta/classes/image.bbclass Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base/gcc-common: Ensure umask setting is consistent for shared workdirRichard Purdie2014-02-092-5/+6
| | | | | | | | | | | | | | | | | gcc has cross and target components with a shared workdir. The unpack umask settings need to match for all of these. We need to use strings in each case to ensure the sstate code matches them correctly. This patch tweaks various things to ensure the change adding the unpack umask change doesn't break the compiler builds. (From OE-Core master rev: 67162438ee9c402b23c32853af9d313949eb6e4a) (From OE-Core rev: 3e8776e3fc09ba11867457e0be6b4c3a4a01e2c6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: Set umask 022 also for do_unpack taskMartin Jansa2014-02-091-0/+1
| | | | | | | | | | | | | | | | | | | | * when git checkouts files from fetched clone it respects system umask and creates files with different permissions, if such files are copied to packages, resulting target images have also different permissions on them. * we need reproducible builds across different builders with different system umask, so set 022 umask [YOCTO #5590] (From OE-Core master rev: c9289c506633ffe5c482000d8d225e45454c064d) (From OE-Core rev: 8ce99fa4e3868450d7339edf5e8e02bd99117893) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xinput-calibrator: add formfactor to RDEPENDSMartin Jansa2014-02-091-1/+1
| | | | | | | | | | | | | | * 30xinput_calibrate.sh is calling ". /etc/formfactor/config" breaking Xsession for images without formfactor (From OE-Core master rev: 181a46da02d6ae74a8d1b5d06c547e0d213767ea) (From OE-Core rev: 33ceb17db1c1cb80492a7d25bc1f95cfe9d7bb76) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: install libraries to right directory when multilib is enabledNick D'Ademo2014-02-091-0/+2
| | | | | | | | | | | | | Explicitly set libdir and shlibdir to ${libdir} in EXTRA_OECONF. Otherwise, default library path of ${prefix}/lib is used which is incorrect in a multilib build. (From OE-Core master rev: e16b6bab8d5286cdf58d808ef4c195127d69a8c8) (From OE-Core rev: 62e98e8f70adbf0b878d8410a801f94eba938ba5) Signed-off-by: Nick D'Ademo <nickdademo@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils 6.9: fix coreutils.texiRobert Yang2014-02-092-0/+376
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is used for fixing coreutils 6.9 (GPLv2+) do_installed failed: [snip] | coreutils.texi:2499: @itemx must follow @item | coreutils.texi:2636: @itemx must follow @item | coreutils.texi:2644: @itemx must follow @item | coreutils.texi:2654: @itemx must follow @item | coreutils.texi:2677: @itemx must follow @item | coreutils.texi:2689: @itemx must follow @item | coreutils.texi:2820: @itemx must follow @item | coreutils.texi:3058: @itemx must follow @item | coreutils.texi:3253: @itemx must follow @item [snip] Use '@item' instead of '@itemx' in several places, as Texinfo 5 refuses to process an '@itemx' that is not preceded by an '@item'. Ensure that node extended names in menus and sectioning are consistent, and that ordering and presence of nodes in menus and in the actual text are consistent as well. [YOCTO #5593] (From OE-Core master rev: 04fab782f42b8f5047390042618f9c841b8c3a96) (From OE-Core rev: dfea78ff2f0479fae436462aa424b3f065c4baf3) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: add PACKAGECONFIG for vnc, libcurl, nss, uuid, curses, gtk+, libcap-ngHongxu Jia2014-02-091-3/+13
| | | | | | | | | | | | | | | | Use PACKAGECONFIG to explicitly address vnc, libcurl, nss, uuid, curses, gtk+, libcap-ng dependencies rather than tested by configure. It avoided potential errors while multiple builds shared a common state_cache. (From OE-Core master rev: 4482af07df26644885bae49b98f5d765a5caa68c) (From OE-Core rev: ea9eda2fc54b9dec0f4bd039bcda039388f0a95d) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: explicitly disable xen supportMing Liu2014-02-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | We don't make use of xen and when building on Ubuntu 13.04 when libxen-dev is installed on the build host you will get errors like the following: | /usr/include/x86_64-linux-gnu/bits/string3.h:81: warning: memset used with constant zero length parameter; this could be due to transposed parameters | /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so: undefined reference to `lzma_alone_decoder@XZ_5.0' | /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so: undefined reference to `lzma_code@XZ_5.0' | /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so: undefined reference to `lzma_stream_decoder@XZ_5.0' | /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so: undefined reference to `lzma_end@XZ_5.0' This change disables xen for both -native and target packages but since it is a PACKAGECONFIG a user could tune this to have xen support in the target package. (From OE-Core master rev: fd638b975aac826d7137fd11db94b64ba82de592) (From OE-Core rev: e0947757829b4e1f953bec7b42b28d2c452442c2) Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: use PACKAGECONFIG to address xfsprogs dependencyMing Liu2014-02-091-0/+1
| | | | | | | | | | | | | To avoid a implicit build result. (From OE-Core master rev: 3e302e94ba5bcbba2736f37c0f67cfaf7fa45c0c) (From OE-Core rev: b94e55928a07e672610e264f934b90649282ed53) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: add missing linux-firmware-iwlwifi-7260-7 packagePaul Eggleton2014-02-091-1/+1
| | | | | | | | | | | | | | The FILES / RDEPENDS lines were added for this package, but not the entry in PACKAGES, so it was never being created. (From OE-Core master rev: 25a75e83550fab0f9d2486b13ec9ab6339b6a8b0) (From OE-Core rev: 70ff14833d770ff25baf86116430ea37b5859f11) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bluez4: added dependency on 'libsndfile1'Enrico Scholz2014-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | bluez4 detects and uses libsndfile1 and the compilation can fail with | sbc/sbctester.c:32:21: fatal error: sndfile.h: No such file or directory | ... | compilation terminated. | make[1]: *** [sbc/sbctester.o] Error 1 in rebuilds (image with libsndfile1 was built, then some change -> bluez4 do_configure runs with libsndfile1 -> libsndfile1 gets removed -> bluez4 do_compile fails). As there is no trivial way to disable its detection and to make it a PACKAGECONFIG option, 'libsndfile1' was put into static DEPENDS. (From OE-Core master rev: b9571256f8996d1eb4b9a09b3b5b862a13f1b414) (From OE-Core rev: 2e747793922aa8dbfd7050e074994b9686e0c9f0) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: add leading space to RRECOMMENDS appendMartin Jansa2014-02-091-2/+2
| | | | | | | | | | | | | | | | * in case update-rc.d is already in RRECOMMENDS it fails with ERROR: Nothing RPROVIDES 'update-rc.dlibnss-mdns' (but meta/recipes-connectivity/avahi/avahi_0.6.31.bb RDEPENDS on or otherwise requires it) (From OE-Core master rev: 70dedb67c2b8b7302dc4c51e8c607e57f61f530a) (From OE-Core rev: 8491f6b78591d611ae93fd6015b38c0eccedc9b2) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* x264: install libraries to right directory when enable multilibKai Kang2014-02-091-0/+1
| | | | | | | | | | | | | | | | | x264 use [EPREFIX/lib] as default libdir. When multlib is enabled that is not right. Packages depends on x264 such as libav configure fails that can't find library x264. Pass the right libdir to configure script to fix it. (From OE-Core master rev: d1deb07d158cf27bce2ee95e2f02b4fd1d00fe21) (From OE-Core rev: baa97fc4baf4c87bb850b88a55144395b5c7e11e) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kconfig-frontends: add python to kconfig-frontends's RDEPENDSHongxu Jia2014-02-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Note: adding Smart RPM DB channel | | Note: to be installed: kconfig-frontends@x86_64 run-postinsts@x86_64 kernel-modules@qemux86_64 packagegroup-core-boot@qemux86_64 | Loading cache... | Updating cache... ######################################## [100%] | | Computing transaction...error: Can't install kconfig-frontends-3.10.0.0-r0.0@x86_64: no package provides /usr/bin/python | | Saving cache... | | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_rootfs (log file is located at tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/temp/do_rootfs/log.do_rootfs.30959) (From OE-Core master rev: f15af9a8d603b2eb3a8433367ddadecd714128d3) (From OE-Core rev: 0415e098d35f163fcfc87c9ca6338ace60b1cc93) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky: Add Fedora-20 to supported distros listRobert Yang2014-01-281-0/+1
| | | | | | | | | | (From meta-yocto rev: cf42610ac26307f28d5b3fea6be8bde223c0ed40) (From meta-yocto rev: aa345747f3ece836c209f2623c21acb294f07e96) 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>
* poky: Add Ubuntu-13.10 to supported distros listRichard Purdie2014-01-281-0/+1
| | | | | | | | | | (From meta-yocto rev: bbde6b42ff2556d090410b49c083609956789eda) (From meta-yocto rev: 99d193f8246a6c306b1b54ef67045907f0f31ca5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: set PREFERRED_PROVIDER and rename runtests_noltp.sh scriptMartin Jansa2014-01-243-1/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ltp installs 2 different runtests_noltp.sh files from different directories into /opt/ltp/testcases/bin/runtests_noltp.sh last one installed wins and causes unexpected changes in buildhistory's files-in-image.txt report, rename them to have unique name as other ltp scripts have. * also define PREFERRED_PROVIDER to resolve note shown when building with meta-oe layer: NOTE: multiple providers are available for ltp (ltp, ltp-ddt) NOTE: consider defining a PREFERRED_PROVIDER entry to match ltp * use patch generated without -M in my builds both versions worked, but Saul reported that it fails to apply with: Applying patch 0001-Rename-runtests_noltp.sh-script-so-have-unique-name.patch patch: **** Only garbage was found in the patch input. Now I've see the same issue on different builder (with Ubuntu 12.04). (From OE-Core master rev: ec3bb2c2203b2e8bafc1a631f623f858779e20b7) (From OE-Core rev: 198623d80d31f19c963e61d03cbcb12dd318dfdf) 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> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: Stop bundle_initramfs thwarting sstate cache and fix raceMike Crowe2014-01-241-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The new do_bundle_initramfs task introduced in 609d5a9ab9e58bb1c2bcc2145399fbc8b701b85a defeats using the sstate cache. The kernel is resurrected from the sstate cache but ends up being built again since do_bundle_initramfs depends on do_compile. The task is no longer nostamp to avoid causing unnecessary rebuilds. The sstate checksum stamps should know when to rebuild. The task now runs before do_deploy and part of the work has been moved to do_deploy where it now writes to ${DEPLOYDIR} rather than ${DEPLOY_DIR_IMAGE} so that the files end up in sstate. The task can also race against do_install since both call into the kernel build system. This is fixed by making do_bundle_initramfs run after do_install (which therefore also fixes the problem that 3baa63b4d588c3262254528b406ede265dd117bf was addressing.) (From OE-Core master rev: 55989cb509340bd265d0ce0d8bfe849681be4616) (From OE-Core rev: e64d2a6d408ac542bdaa42680d10d0fb05b92a60) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "kernel.bbclass: move bundle_initramfs after kernel_link_vmlinux"Mike Crowe2014-01-241-1/+1
| | | | | | | | | | | | | | This reverts commit 3baa63b4d588c3262254528b406ede265dd117bf. It broke builds that aren't using kernel-yocto. (From OE-Core master rev: 81831db1c32afa3346f3ed9f4325ad280e5bb005) (From OE-Core rev: 7d98d619462151db73611b48c5944339c40ae805) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.ent: Fixed broken OE_LISTS_URL.Scott Rifenbark2014-01-211-1/+1
| | | | | | | | | | | This variable was wrong and it was causing six mailing links in the manual set to no resolve. Who knows how long they have been broken. They work now. (From yocto-docs rev: 977f372228e8d1af016c973c4543bdd803bfe546) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.ent: Updated lists.linuxtogo.org with lists.openembedded.orgScott Rifenbark2014-01-211-1/+1
| | | | | | | (From yocto-docs rev: 8391b80060e04bb218ea249795a26d3d106cce7e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-initial.inc: Drop duplicate includeRichard Purdie2014-01-161-2/+0
| | | | | | | | | | There is little point in including the file twice so lets not. The main recipe already included it. (From OE-Core rev: 243c5a38cc4e95f47ba18210fea1b86a7f58b099) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/hoblistmodel: check if vals of packages/recipes names are not NoneCristiana Voicu2014-01-081-2/+6
| | | | | | | | | | | [YOCTO #5053] (Corresponds to BitBake master rev: ba9fe77e37be31e8246431578902e871dd94515e) (Bitbake rev: a1ced88ae46926e28005b83a74eaf89d70dc2b74) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt-manual: Deleted mis-leading sentence from configure section.Scott Rifenbark2014-01-081-4/+1
| | | | | | | | | | | | | A customer reported a wrong and mis-leading sentence in the "Configuring and Running the ADT Installer Script" section. Jessica Zhang pointed this out. I have removed the sentence altogether. Reported-by: Jessica Zhang <jessica.Zhang@intel.com> (From yocto-docs rev: 4b8f882037de3e853d00552af5cff83afac18a66) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.ent, documentation: Updated manual release dates.Scott Rifenbark2014-01-087-7/+7
| | | | | | | | | | | Updated poky.ent to use 2014 as the top-end copyright year. Updated all the Manual Revision History tables to use January 2014 as the 1.5.1 release date. (From yocto-docs rev: 885a89231c664ccbd9032c45584aa19dce7c0b38) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: imagedetailspage: Fix crash with more than 15 layersRichard Purdie2014-01-021-1/+1
| | | | | | | | | | | If you had more than 15 layers the system would crash since one more value is added to one array than the other. This fixes the code so equal numbers of values are added to the arrays and hence doesn't crash when many layers are enabled. (Bitbake rev: ae420d37fd57a567cf3d2d8096cc9aa28ed01385) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: parse/ConfHander/BBHandler/utils: Fix cache dependency bugsRichard Purdie2014-01-024-7/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently bitbake only adds files to its dependency list if they exist. If you add 'include foo.inc' to your recipe and the file doesn't exist, then later you add the file, the cache will not be invalidated. This leads to another bug which is that if files don't exist and then you add them and they should be found first due to BBPATH, again the cache won't invalidate. This patch adds in tracking of files we check for the existence of so that if they are added later, the cache correctly invalidates. This necessitated a new version of bb.utils.which which returns a list of files tested for. The patch also adds in checks for duplicate file includes and for now prints a warning about this. That will likely become a fatal error at some point since its never usually desired to include a file twice. The same issue is also fixed for class inheritance. Now when a class is added which would be found in the usual search path, it will cause the cache to be invalidated. Unfortunately this is old code in bitbake and the patch isn't the neatest since we have to work within that framework. [YOCTO #5611] [YOCTO #4425] (Bitbake rev: 22e6b1c4c4afb27057689bbc94cbdf1f19f93e3d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: data: Fix output inconsistencies for emit_varRichard Purdie2014-01-021-2/+2
| | | | | | | | | | | | | | | | | | VAL = "" (not shown) VAL = " " (shown as "") VAL = " x" (shown as "x") would all show up rather differently to what would be expected in the bitbake -e output. This fixes things so they appear consistently. The output for running some shell functions may also change slightly but shouldn't change in a way that is likely to cause problems. [YOCTO #5507] (Bitbake rev: 9f37afff200d748beddc2a70f55a72c2714e3120) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue/bitbake-worker: Fix dry run fakeroot issuesRichard Purdie2014-01-022-2/+3
| | | | | | | | | | | | | | When using the dry run option (-n), bitbake would still try and fire a specific fakeroot worker. This is doomed to failure since it might well not have been built. Add in some checks to prevent the failures. [YOCTO #5367] (Bitbake rev: 78ae96e667d3fbb8649fe25eb073e15a99d61cc8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsoup-2.4: add intltool-native to DEPENDSPaul Eggleton2013-12-201-1/+1
| | | | | | | | | | | | | | | The configure script looks for this; most of the time dependency chains ensure this is present but we need to be explicit or failures can occur. Reported by Nicolas Dechesne <nicolas.dechesne@linaro.org> (From OE-Core master rev: 22e45ed7d74ceb4a719e7b5889400c20ed4a0783) (From OE-Core rev: e86622a932bbd0acdea67ecfb15c8b06c27353d8) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to dora head revisionyocto-1.5.1.finalyocto-1.5.1dora-10.0.1.finaldora-10.0.1Richard Purdie2013-12-131-1/+1
| | | | | | (From OE-Core rev: 2e9df12e67b3e56ed3c056559aa8eced6444ec93) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: Flip distro to 1.5.1Beth Flanagan2013-12-131-1/+1
| | | | | | | | | DISTRO needs to be flipped for pending point release (From meta-yocto rev: efb1dd56721320f767eb3066567f8caeb32580a2) Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Fixed the reference to the script for icecc class.Scott Rifenbark2013-12-131-3/+3
| | | | | | | (From yocto-docs rev: 51afdedc5c9bb6b689e7cf8771e0889d445f5326) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Reverted a patch that had added sdk-pmsDavid Nystrom2013-12-131-6/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added module and module-base classes.Scott Rifenbark2013-12-131-1/+37
| | | | | | | (From yocto-docs rev: be1e564483299a018e28f1971dbe85f8485c9b83) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Removed "work" from the SDK_DEPLOY directory.Scott Rifenbark2013-12-131-1/+1
| | | | | | | | | The directory is not a temporary thing. (From yocto-docs rev: d40d17ed80ebdb738bca9c86cd1381cd1442e5b8) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edit to SDK_DEPLOY removing "temporary" from directory.Scott Rifenbark2013-12-131-2/+2
| | | | | | | (From yocto-docs rev: a88e4a770b1fe536285269055ba0655c702f0d70) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to gnomebase class.Scott Rifenbark2013-12-131-2/+2
| | | | | | | | | Review comments from Ross. (From yocto-docs rev: 88ce4d4e88671a968d3fee84dd3b8e1b64e84282) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to setuptools class.Scott Rifenbark2013-12-131-1/+1
| | | | | | | | | Review edits from Paul. (From yocto-docs rev: 8089f69979f872b1c756fb1e1703fa0ea6965426) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Minor edits to rootfs* class.Scott Rifenbark2013-12-131-4/+4
| | | | | | | | | Review comments from Paul. (From yocto-docs rev: effc8e811020e00bfd98d065e412db5fe3f78f04) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to GTKIMMODULES_PACKAGES variable.Scott Rifenbark2013-12-131-1/+1
| | | | | | | | | Used a better word to describe the argument list. (From yocto-docs rev: 15f14a3a36d345c655e60bc7a4b7d19c02d26f2c) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to dora head revisionRichard Purdie2013-12-131-1/+1
| | | | | | (From OE-Core rev: d68c267f3387d7fe221d3c5653a66db8b1f78fd8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wpa-supplicant: enable CONFIG_CTRL_IFACE_DBUS_NEWSteve Sakoman2013-12-131-1/+1
| | | | | | | | | | | | | Without this option wifi support in connman will fail: src/technology.c:technology_get() No matching drivers found for wifi (From OE-Core rev: 403e365e433c54633bcc843b32487a766282226e) (From OE-Core rev: 2e532f33c5e97751daa89c9f92c6de8513564be0) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-bsp: Add missing format specifier in bblayers error messageBastien JAUNY2013-12-131-1/+1
| | | | | | | | | | | | | | | | If the build environment is misconfigured (e.g. a bad path for a layer in bblayers.conf) the yocto-bsp script crashes with a standard python error, not very explicit. This fixes the problem. Signed-off-by: Bastien JAUNY <bastien.jauny@gmail.com> (From meta-yocto master rev: 4a8e80b812eebdc1c9570b5d88aa0f3b34824b68) (From meta-yocto rev: 578e06f113d870ec6a4e201458488344ca941e3d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-yocto-bsp: update SRCREVs for 3.10.17 and beagleboard fixesBruce Ashfield2013-12-131-5/+5
| | | | | | | | | | | | | | Updating the BSP SRCREVs to pull in the 3.10.17 core update and fix USB powerup issues on the beagleboard. (From meta-yocto master rev: d82870a9561662919a737dd126a8d26e2b78144a) (From meta-yocto rev: 17403f07a5ec54f867515dc8cb8bd65fd232c6f5) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package-regex: Tweak python-docutils so it works correctlySaul Wold2013-12-131-1/+1
| | | | | | | | | | | (From meta-yocto master rev: 8bd33820b4d1944a9f7730f8e2676d0d45e1cd0b) (From meta-yocto rev: 3b2b8cce34043766e31ba501052f8d1668f4a2b3) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>