summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
...
* useradd.bbclass: add dependency on base-filesRoss Burton2014-02-091-0/+2
| | | | | | | | | | | | | | | | Packages that use useradd.bbclass should have a dependency on base-files so that the /etc/skel directory is populated. Without this dependency base-files may or may not be installed when the postinst runs, and the skel content may or may not be copied. (From OE-Core master rev: 556368ba8a1f933a86b69be024bd0711d4bfe0a3) (From OE-Core rev: c5756a0041837d030429a8a1ecd30cd5f7082137) 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>
* openssl.inc: Install c_rehash utility with opensslmykhani2014-02-091-1/+6
| | | | | | | | | | | | | | | c_rehash utility is not being installed with openssl.It conveniently generates hash and symbolic links based on it for CA certificates stored locally for SSL based server authentication (From OE-Core master rev: 3c2f9cf615c964e8303fd3e225ea7dd7b5485155) (From OE-Core rev: fdf04f50dfa3bd8861cb08c80ae149dddce4aa58) Signed-off-by: Yasir-Khan <yasir_khan@mentor.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-4.8/libstdc++-v3: disable sdtRobert Yang2014-02-091-6/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | We may meet such an error when building gcc/libstdc++-v3: gcc-4.8.1/libstdc++-v3/libsupc++/unwind-cxx.h:41:21: fatal error: sys/sdt.h: No such file or directory We already have a patch to disable the sdt for gcc, we also need disable it for libstdc++-v3. BTW, we need edit both configure.ac and configure to make them keep compatible. NOTE, this commit edit the patch gcc-4.8/0031-Disable-sdt.patch directly. [YOCTO #5657] (From OE-Core master rev: 32854af3cc6c0626620e827dc1915f61c51250b8) (From OE-Core rev: 718932dda21323607fe2bff459babbebcae302c5) 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>
* xz: make the LICENSE info more accurateChristopher Larson2014-02-091-1/+16
| | | | | | | | | | | (From OE-Core master rev: fb9b12121f97f59d92ec2b8fdbe0e68f336f0576) (From OE-Core rev: c560ada1bc2aa127b7dd7bf10722c90c10c7dcc4) Signed-off-by: Christopher Larson <kergoth@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>
* gcc-crosssdk.inc: Fix missing dependencies (such as libmpc-native)Richard Purdie2014-02-091-1/+1
| | | | | | | | | | | | Without this sstate builds can fail with missing dependencies. (From OE-Core master rev: f92ebf78d94cb8f4010f8d444d1d0336c1fb1341) (From OE-Core rev: ffff0c8ba6df643f9da307d675aa2ff91d62c46d) 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-libc-headers: fix MIPS klibc build errorBruce Ashfield2014-02-092-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | As reported by Andrea Adami, klibc fails to build for MIPS with the 3.10 libc-headers commit ca044f9a [UAPI: fix endianness conditionals in linux/raid/md_p.h] is the root cause of the breakage. This is fixed in the kernel source itself, but we must also carry the change in the linux-libc-headers recipe, until we update past the 3.13 kernel. With this change, we can again build klibc for mips, with no impact on the rest of the system. cc: Andrea Adami <andrea.adami@gmail.com> (From OE-Core master rev: f2f8a2a05cbfff7e1d5d979ec1b9f4f371579fb9) (From OE-Core rev: 45dbd265e08e69cbc95625d57e9b0c0cb5b0b225) Signed-off-by: Bruce Ashfield <bruce.ashfield@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>
* icu: CVE-2013-2924Yue Tao2014-02-092-0/+34
| | | | | | | | | | | | | | | | | | | | Use-after-free vulnerability in International Components for Unicode (ICU), as used in Google Chrome before 30.0.1599.66 and other products, allows remote attackers to cause a denial of service or possibly have unspecified other impact via unknown vectors. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-2924 (From OE-Core master rev: 36e2981687acc5b7a74f08718d4578f92af4dc8b) (From OE-Core rev: ab2d452fd9e177017c57d411ebb61728845f97bf) Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> 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>
* acpid: CVE-2011-1159Yue Tao2014-02-092-1/+12
| | | | | | | | | | | | | | | | | | | | acpid.c in acpid before 2.0.9 does not properly handle a situation in which a process has connected to acpid.socket but is not reading any data, which allows local users to cause a denial of service (daemon hang) via a crafted application that performs a connect system call but no read system calls. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-1159 (From OE-Core master rev: e7b2b84dece29d16b8f05daf962b69e78dd64cb3) (From OE-Core rev: 56f1ea2cd8eeb189ee345f215deb5867a77cd0a1) Signed-off-by: Yue Tao <yue.tao@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> 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>
* xinetd: CVE-2013-4342Li Wang2014-02-092-0/+33
| | | | | | | | | | | | | | | | | | | | | | xinetd does not enforce the user and group configuration directives for TCPMUX services, which causes these services to be run as root and makes it easier for remote attackers to gain privileges by leveraging another vulnerability in a service. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-4342 the patch come from: https://bugzilla.redhat.com/attachment.cgi?id=799732&action=diff (From OE-Core master rev: c6ccb09cee54a7b9d953f58fbb8849fd7d7de6a9) (From OE-Core rev: 478b7f533c6664f1e4cab9950f257d927d32bb28) Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> 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>
* multilib: Ensure we map the SYSTEMD_PACKAGES variableRoy Li2014-02-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | If we don't do this, systemd.bbclase will complain to unable to find multilib packages since PACKAGES is expand with mlprefix, but SYSTEMD_PACKAGES is not, like in ntp.inc: $grep PACKAGES meta-oe/meta-networking/recipes-support/ntp/ntp.inc PACKAGES += "ntpdate sntp ${PN}-tickadj ${PN}-utils" SYSTEMD_PACKAGES = "${PN} ntpdate sntp" $ $bitbake ntp ERROR: ntpdate does not appear in package list, please add it ERROR: sntp does not appear in package list, please add it $ (From OE-Core master rev: 84f1d3252c369dff06a517baa4fd7fe274782e40) (From OE-Core rev: 5748342f445d4233af838a6a65449a5d1baeb3c2) Signed-off-by: Roy Li <rongqing.li@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>
* nativesdk.bbclass: support nativesdk to override with the PACKAGES_DYNAMIC ↵Hongxu Jia2014-02-091-0/+1
| | | | | | | | | | | | | | | | | | | | statement While compiling nativesdk-mtools, there was failure: ... Nothing PROVIDES 'nativesdk-glibc-gconv-ibm850'. Close matches: ... This patch supports nativesdk to override with the PACKAGES_DYNAMIC statement [YOCTO #5623] (From OE-Core master rev: 315367ea9526186d5836c64867ce0cd40d9d8412) (From OE-Core rev: a2f8a7e2fb868b8dc00d1f50fffb5744d4d34e72) 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>
* license.bbclass: fix copying license directories failedHongxu Jia2014-02-091-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | For each recipe, it populated license files to ${LICENSE_DIRECTORY}/${PN}, such as kernel's license dir was ${LICENSE_DIRECTORY}/kernel-3.10.17-yocto-standard; In do_rootfs task, it copied license directories from ${LICENSE_DIRECTORY}/ ${pkg}, and ${pkg} was listed in ${INSTALLED_PKGS}; We got ${INSTALLED_PKGS} by rpm query, such as the kernel were 'kernel-*', but the kernel's PN was linux-yocto, so searching ${LICENSE_DIRECTORY}/ kernel-* failed. Copied license directories from ${LICENSE_DIRECTORY}/${PN} fixed this issue. [YOCTO #5572] (From OE-Core master rev: 8968f9a3461912c8de217135f3691c86e2a58e86) (From OE-Core rev: 49a8573e8645830c7fce5fba9dd0b1c97b09e181) Signed-off-by: Hongxu Jia <hongxu.jia@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: add bash and python to qemu's RDEPENDSHongxu Jia2014-02-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Note: adding Smart RPM DB channel | | Note: to be installed: qemu@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 qemu-1.5.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.21373) (From OE-Core master rev: 44806d40a8061a3dbab4cc19d1200c032781e0b4) (From OE-Core rev: 95e983f84add8a618258c73844e360631d0511a2) Signed-off-by: Hongxu Jia <hongxu.jia@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 explicit dependency on bison-nativeJackie Huang2014-02-091-1/+1
| | | | | | | | | | | | | | | | grub requires bison and it will fail to configure on the host without bison installed, add the dependency to fix it. (From OE-Core master rev: a1510c1a8e6b8a652ae65b7e3910501f1055f87f) (From OE-Core rev: 6f6e292a102e8ae8d607bb9dac4f3d3e2bced1ea) Signed-off-by: Jackie Huang <jackie.huang@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>
* cogl-1.0: explicitly disable cairoAndreas Oberritter2014-02-091-0/+1
| | | | | | | | | | | | | - Cairo was auto-detected, but not listed as a dependency. (From OE-Core master rev: 33bcc9361fa732c36d92128c7f23a308f455297c) (From OE-Core rev: 9ed692eb20fed4ff9d9c39435000535df5a67286) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> 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>
* pulseaudio: fix RDEPENDS traversal for consolekitChristopher Larson2014-02-091-1/+5
| | | | | | | | | | | | | | | | Include the console-kit module in PACKSGES explicitly so bitbake can map to the RDEPENDS we define for it in this recipe, and thereby ensure that when adding the console-kit module to an image, we also get the necessary consolekit package produced. (From OE-Core master rev: 7e7ff7d1e5e86f097ef40befcf00dd28657e26f8) (From OE-Core rev: 029b225cd7491a1efdc42593460a57d9eb865427) Signed-off-by: Christopher Larson <kergoth@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>
* ptest: ensure do_install_ptest_base task runs in fakeroot contextRoss Burton2014-02-091-0/+5
| | | | | | | | | | | | | | As this task is installing files into $D it needs to run inside pseudo so that special permissions and owners are preserved. (From OE-Core master rev: 64f0a0bc408d8e32d5e795aeb9fffee0539f5e22) (From OE-Core rev: dbfc8b977dd9c8223568bbaf58e236461d6adcf6) 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>
* populate_sdk: verify executable or dynamically linked libraryyzhu12014-02-091-1/+1
| | | | | | | | | | | | | | | | When toolchain directory is changed to execute mode, some non-executable files or empty files are sorted. This will result in some errors. Thus when sorting executable files or dynamically linked library, additional conditions are to exclude non-executable files or empty files. (From OE-Core master rev: c9d56308bfa9ee7f4a9b22eae86390626ddc1c35) (From OE-Core rev: 7565b6220e596687ee97cf06256a7065a55bb297) 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>
* cairo: add/use packageconfig for valgrind supportChristopher Larson2014-02-091-0/+1
| | | | | | | | | | | | | | It was currently autodetecting. (From OE-Core master rev: 68fc138d172d491e16d5e6f2fc21fc779c04b92f) (From OE-Core rev: f6496a471d8944357067c7573d23f612f3af1f72) Signed-off-by: Christopher Larson <kergoth@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>
* python, python-native: fix PARALLEL_MAKEINST failureChristopher Larson2014-02-093-0/+21
| | | | | | | | | | | | | | | | | | When using make -j with the 'install' target, it's possible for altbininstall (which normally creates BINDIR) and libainstall (which doesn't, though it installs python-config there) to race, resulting in a failure due to attempting to install python-config into a nonexistent BINDIR. Ensure it also exists in the libainstall target. (From OE-Core master rev: 54da47f3ddc1c009594744793060ffd09db3ad11) (From OE-Core rev: 4766c03a208f37276b4778a4edc20e1e19faebeb) Signed-off-by: Christopher Larson <kergoth@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>
* 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>