summaryrefslogtreecommitdiffstats
path: root/meta
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>
* 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>
* 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>
* 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>
* 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>
* gdb-7.6: fix cygwin check in configure scriptSteffen Sledz2013-12-122-0/+40
| | | | | | | | | | | | | | This is a fix which avoids false positives if the search pattern "lose" is found in path descriptions in comments generated by the preprocessor we hit in our development environment. [gdb Bug #16152] -- https://sourceware.org/bugzilla/show_bug.cgi?id=16152 Upstream-Status: Accepted (From OE-Core rev: 7e2dbda690b480ab05d14353cb038749ce23d58c) Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to dora head revisionRichard Purdie2013-12-121-1/+1
| | | | | | (From OE-Core rev: e638af73a01496e246f1a55d27364861a1f0b0d0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: fixed dependency on icuEnrico Scholz2013-12-122-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Commit 46dcec6fd455584d9b5d0d7ff1e5b36fbe5a2d62 added 'icu' to DEPENDS in qt4-x11 only, but enabled icu globally in qt4.inc. This breaks build of qt4-embedded because this recipe does not have such a DEPENDS but uses qt4.inc: | icu.cpp:42:28: fatal error: unicode/utypes.h: No such file or directory | #include <unicode/utypes.h> | ^ | compilation terminated. | make: *** [icu.o] Error 1 Patch moves the 'icu' dependency into qt4.inc. (From OE-Core rev: adb6e64d69fc947f2c8fa708dcbe854fd2b574f8) (From OE-Core rev: ec35d5b4b3d2eed7a141f2fd41d5ed7215e66dbf) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Cc: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtiff: CVE-2013-4243Baogen Shang2013-12-122-1/+42
| | | | | | | | | | | | | | | | | cve description: Heap-based buffer overflow in the readgifimage function in the gif2tiff tool in libtiff 4.0.3 and earlier allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted height and width values in a GIF image. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-4243 (From OE-Core rev: a2a200a3951cecd7dd43dee360e0260051c97416) Signed-off-by: Baogen Shang <baogen.shang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtiff: CVE-2013-4232Baogen Shang2013-12-122-1/+17
| | | | | | | | | | | | | | | | | cve description: Use-after-free vulnerability in the t2p_readwrite_pdf_image function in tools/tiff2pdf.c in libtiff 4.0.3 allows remote attackers to cause a denial of service (crash) or possible execute arbitrary code via a crafted TIFF image. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-4232 (From OE-Core rev: 60482e45677c467f55950ce0f825d6cb9c121c9c) Signed-off-by: Baogen Shang <baogen.shang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nfs-utils: explicitly rdepend on bashChen Qi2013-12-121-1/+1
| | | | | | | | | | | | | | Scripts in nfs-utils need bash as their interpreter, so if nfs-utils doesn't explicitly rdepend on bash, we would experience build failures if we add nfs-utils to glibc-small images. Add bash to RDEPENDS to solve this problem. (From OE-Core rev: 06c566596a92a309ca228a209f14d03b69a611c9) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtiff: fix CVE-2013-1960Ming Liu2013-12-122-1/+153
| | | | | | | | | | | | | | | | Heap-based buffer overflow in the tp_process_jpeg_strip function in tiff2pdf in libtiff 4.0.3 and earlier allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted TIFF image file. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-1960 (From OE-Core rev: 66387677cbd85ba4a76a254942377621acd68249) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Jeff Polk <jeff.polk@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4-x11-free: depend on ICURoss Burton2013-12-122-2/+2
| | | | | | | | | | | | | | | | | | ICU presence is auto-detected at configure time and until recently (e68850 and d61230) was pulled into most builds through harfbuzz and beecrypt. Now it's floating and this leads to build failures. As in all likelihood the majority of people were building this with ICU enabled, add an explicit dependency. (From OE-Core master rev: 46dcec6fd455584d9b5d0d7ff1e5b36fbe5a2d62) (From OE-Core rev: 034d3e35cce9ee63f6139d19be9b3edec4f97a64) Signed-off-by: Ross Burton <ross.burton@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>
* image-mklibs: ensure sysroot is correctly set when calling gccNicolas Dechesne2013-12-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | [YOCTO #2519] When getting gcc from sstate, it is possible to get a gcc with a bogus sysroot configuration, as discussed in [1] or in [YOCTO #2519]. mklibs script will eventually call gcc, so we need to make sure that it provides gcc with the right sysroot location. [1] http://lists.openembedded.org/pipermail/openembedded-core/2013-September/084159.html (From OE-Core master rev: 3a66dd762e493ad2cda57110be67c3b06628050a) (From OE-Core rev: 7275425524b8bb3d16d5c0c0a62aee5b08359ffd) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> 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>
* syslinux: use cross toolchain to compileLei Liu2013-12-121-1/+1
| | | | | | | | | | | | | | | | syslinux is compling something with host gcc at do_install stage, which leads to some unexpected errors with old gcc on host. Using our cross toolchain instead. (From OE-Core master rev: b0da7ccde5380726acfccf1a96cdf5560edf9159) (From OE-Core rev: 17f851f5c8e2a90f558396654b62a8f0f88f137f) Signed-off-by: Lei Liu <lei.liu2@windriver.com> Signed-off-by: Randy MacLeod <Randy.MacLeod@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>
* util-linux: Package readprofile into it's own packageMark Hatle2013-12-121-0/+3
| | | | | | | | | | | | | | readprofile was missing from the alternative configuration, which was causing readprofile to be packaged into the base util-linux. (From OE-Core master rev: cac08f23aaed87148d1825cca3c7586ab891ef04) (From OE-Core rev: a6fc9e62e848634e715b23f147c88a8710415845) Signed-off-by: Mark Hatle <mark.hatle@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>
* rootfs_*.bbclass: List which post-install scripts can not be runJeffrey C Honig2013-12-123-6/+9
| | | | | | | | | | | | | | | | When preping a read-only rootfs and finding some post-install scripts that can not be run, list the names of said scripts to avoid having to look around the rootfs to find a list. (From OE-Core master rev: 0188120691f433fdccf71b92618115195278c0af) (From OE-Core rev: 2820f7fa411e5ca1cd7df765896b43716418340a) Signed-off-by: Jeffrey C Honig <jeffrey.honig@windriver.com> Signed-off-by: Jeff Polk <jeff.polk@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_rpm.bbclass: Replace -linux-gnun32 with -linux.* in RPM platform fileLei Liu2013-12-121-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | On a multilib system when one of the multibs has a different OS then other multilibs a failure can occur during the install process because RPM assumes all systems have the same OS. When an n32 platform is selected as an alternative multilib, it shows up as mips64_n32-.*-linux-gnun32 in /etc/rpm/platform. This causes problems when the smart tool tries to add a channel for the multilib. RPM archScore call always returns zero for arch "mips64_n32" - after appending default vendor and os, it finds "mips64_n32-wrs-linux" doesn't match any predefined platforms. Fix this by removing the restriction of -gnun32 suffix in platform file. (From OE-Core master rev: d9489c44ee4f195ae1b09f340b9545cddba58145) (From OE-Core rev: f0118b605b3727b5ca5d560094bb4dd2ff29c310) Signed-off-by: Lei Liu <lei.liu2@windriver.com> Signed-off-by: Jeff Polk <jeff.polk@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>
* gst-ffmpeg: fix CVE-2013-3674Ming Liu2013-12-122-1/+28
| | | | | | | | | | | | | | | | | | | The cdg_decode_frame function in cdgraphics.c in libavcodec in FFmpeg before 1.2.1 does not validate the presence of non-header data in a buffer, which allows remote attackers to cause a denial of service (out-of-bounds array access and application crash) via crafted CD Graphics Video data. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-3674 (From OE-Core master rev: f1721553a873b242bc26ad3e4d618aea39dfd507) (From OE-Core rev: d4d908afca1c6ce64f05fabdadfcf86ab990dd0f) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Jeff Polk <jeff.polk@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>
* base.bbclass: Fix incorrect setting of multilib PREFERRED_PROVIDER_virtual_pkgLei Liu2013-12-121-3/+3
| | | | | | | | | | | | | | | | | PREFERRED_PROVIDER_virtual_pkg has been incorrectly set with more than one multilib prefixes. For example, if we have two alternative multilibs lib64 and lib32, PREFERRED_PROVIDER_virtual_pkg will be set to lib32-lib64-pkg or lib64-lib32-pkg, depending on which multilib shows up first in the list. (From OE-Core master rev: 17a432dc059e24ba10d4baec988828c0025a5e46) (From OE-Core rev: e5d8411869a2a018d0c8ab9d0e888027ac4208d5) 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>
* ethtool: Fix ptest compileRichard Purdie2013-12-121-1/+1
| | | | | | | | | | | | | | | buildtest-TESTS is a phony target and does nothing which results in a do_install error since the tests aren't built. Since there isn't a suitable make target but the number of tests are small, hardcode the two to build to unbreak the build when ptest is enabled. (From OE-Core master rev: 5dd8653fdcda5e0e8b4f3c37a46f357bc97ec66c) (From OE-Core rev: b9b213b43c5ff6aa7c04733ce035fc9832065328) 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>
* sysvinit: use ALTERNATIVE to manage suloginChen Qi2013-12-121-1/+4
| | | | | | | | | | | | | | | Busybox also provides sulogin command, so we need to use the ALTERNATIVE mechanism to manage it. (From OE-Core master rev: 8b3a799a87d18b1d113d59b3e7a681db5683e5f8) (From OE-Core rev: 33d7487a92905824ab46f74d7185f84662ddb922) 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>
* license.bbclass: fix missing of license files on ubuntu build hostChen Qi2013-12-121-2/+2
| | | | | | | | | | | | | | | | | | | | | The license_create_manifest function contains bashism, this will lead to unexpected results on ubuntu build host, as sh is linked to dash on ubuntu. Even if COPY_LIC_MANIFEST and COPY_LIC_DIRS are enabled, the license files will still be missing on target. This patch fixes the above problem. [YOCTO #5549] (From OE-Core master rev: 4df9daee5c732c0a20dabe8515577238a1508512) (From OE-Core rev: 159e53f9402f1d1ceed8c6511c5874e199dea6e1) 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>
* image_types: newer btrfs.mkfs needs an empty file to build the disk inSaul Wold2013-12-121-0/+1
| | | | | | | | | | | (From OE-Core master rev: 836396a3450e7bf151956e87bd92f70c5050c995) (From OE-Core rev: 1db74ff0544633c35fe0fdccf17a76ef833be0df) 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: move bundle_initramfs after kernel_link_vmlinuxMing Liu2013-12-121-1/+1
| | | | | | | | | | | | | | | | ${KERNEL_OUTPUT} is being renamed/restored in bundle_initramfs task, so we must ensure bundle_initramfs run after kernel_link_vmlinux where the link of vmlinux is created as the bootable image. (From OE-Core master rev: 3baa63b4d588c3262254528b406ede265dd117bf) (From OE-Core rev: 4acf2eaea963d9b5e3cf547db092f95d192cf2ab) 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>
* initscripts: add missing dmesg.sh to run-level SHans Beckerus2013-12-121-1/+3
| | | | | | | | | | | | | | | | In commit faa8cc6c2a582a32c695f3f2b0d45b6892c769fd dmesg.sh was added to the set of init.d scripts. But the script was never put in any run-level. This patch will add dmesg.sh to run-level S. (From OE-Core master rev: 7d2767d4e27c6d0eaa56f3e126df56e65a5364c9) (From OE-Core rev: fb7a6e0e3c5790415d56d14ec1a5eda5f9e6d039) Signed-off-by: Hans Beckerus <hans.beckerus AT 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>
* udev: remove extra -dev/-dbg packagesWenzong Fan2013-12-121-9/+7
| | | | | | | | | | | | | | | | We don't support multiple -dbg/-dev packages, the package can generate them but the system does not correctly handle them. Just move all devel stuffs into 'udev-dev' and all debug stuffs into 'udev-dbg'. (From OE-Core master rev: 014f7a33f399192268f28acac835551413c4768d) (From OE-Core rev: a700493063efdc3f60fb77e9a4a15d9c89ee79c6) Signed-off-by: Wenzong Fan <wenzong.fan@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>
* grub: add xz RDEPENDSMing Liu2013-12-121-1/+1
| | | | | | | | | | | | | | grub_2.0.0 requires xz to run or an error may occur. (From OE-Core master rev: ffa2877c06c587d4ea56c55bfd0f67a88e42a772) (From OE-Core rev: d3e1dde9ae75faa1015b80da74604c5ae360c3a6) 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>
* flex: fix m4 issue on targetLaurentiu Palcu2013-12-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | Flex needs m4 to run (see below) and, since the create_wrapper introduces a bash dependency on target, give the path to m4 binary in the configure command line. Snippet from the flex documentation: "The macro processor m4 must be installed wherever flex is installed. <...> m4 is only required at the time you run flex." [YOCTO #5329] (From OE-Core master rev: 64030f37b34f75144f53eef42d5822ede79e08bd) (From OE-Core rev: d039150eae579af1bd85000982ef38a6b09bb90d) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.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>