summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* shadow: add 'util-linux-sulogin' to RDEPENDSChen Qi2015-05-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | If shadow is installed, sulogin from busybox cannot work correctly because it still assumes that /etc/shadow is not there. This leads to the problem when booting into rescue mode in an image with shadow installed but not sulogin from util-linux. To fix this problem, we add 'util-linux-sulogin' to RDEPENDS of shadow. This runtime dependency is specific to OE, because we have to ensure that sulogin can work correctly and sulogin from busybox cannot because FEATURE_SHADOWPASSWORDS is not enabled by default. And we cannot enable it by default for busybox, because that would lead to utilities in busybox to assume the existence of /etc/shadow which is not always true in OE. [YOCTO #6698] (From OE-Core rev: 9b45b990d2fc870df556f05908dcb48b9ebcfc02) (From OE-Core rev: d2e348537786966fd29187ff7fb9ae42614695af) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: split out util-linux-suloginChen Qi2015-05-151-4/+8
| | | | | | | | | | | [YOCTO #6698] (From OE-Core rev: 4bde182ed236243547929dd98763f1c09eddd097) (From OE-Core rev: eeaf4ca1e5fea56fe7472076bc0372f597876fdc) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: add runtime dependency on sedChunrong Guo2015-05-151-0/+1
| | | | | | | | | | This is to suppress the following QA warning: groff-1.22.2: groff requires /bin/sed, but no providers in its RDEPENDS [file-rdeps] (From OE-Core rev: f1e5913bee28f59efb252045a0113cae701d848d) Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools: Fix find races on source directoryRichard Purdie2015-05-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | In a similar way to http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=aa1438b56f30515f9c31b306decef7f562dda81f there are more find races in the autotools class. For recipes with PACKAGES_remove = "${PN}", the find which removes .la files can race against deletion of other directories in WORKDIR e.g.: find: '/home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0-r7/sstate-build-populate_lic': No such file or directory | WARNING: /home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0-r7/temp/run.do_configure.6558:1 exit 1 from | find /home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0-r7 -name \*.la -delete Fix the remaining races in the same way. [YOCTO #7522] (From OE-Core rev: 79770ca14a0cc2f4112fb4d8dc2d8832701b6d5d) (From OE-Core rev: 699e1570e66cb28e4bfd0eb15d41f3af2bed5b62) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxfont: Security Advisory - libxfont - CVE-2015-1804Li Zhou2015-05-152-0/+81
| | | | | | | | | | | | | | | bdfReadCharacters: ensure metrics fit into xCharInfo struct We use 32-bit ints to read from the bdf file, but then try to stick into a 16-bit int in the xCharInfo struct, so make sure they won't overflow that range. (From OE-Core rev: 4dd4b96b6d60246338bb30ede9f3ab1b2e757be9) (From OE-Core rev: 1e2a947e65f5fb6e01459c9ddd6515a7131d92c7) Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxfont: Security Advisory - libxfont - CVE-2015-1803Li Zhou2015-05-152-0/+41
| | | | | | | | | | | | | | bdfReadCharacters: bailout if a char's bitmap cannot be read Previously would charge on ahead with a NULL pointer in ci->bits, and then crash later in FontCharInkMetrics() trying to access the bits. (From OE-Core rev: 2c7a15a074501beb6b8a4c7bdf30604b1a432a6b) (From OE-Core rev: 7827e9756e82c31707ce87d27c7d0b0392fc0812) Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxfont: Security Advisory - libxfont - CVE-2015-1802Li Zhou2015-05-152-0/+41
| | | | | | | | | | | | | | bdfReadProperties: property count needs range check Avoid integer overflow or underflow when allocating memory arrays by multiplying the number of properties reported for a BDF font. (From OE-Core rev: 0ff9f2bf0e44a7b47a98234a12714c780825e286) (From OE-Core rev: ddc4889d7028d0388b1521d49ab1d3b8decba524) Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libarchive: Security Advisory - libarchive - CVE-2015-2304Li Zhou2015-05-152-0/+152
| | | | | | | | | | | | | | | libarchive: Updated libarchive packages fix security vulnerability Alexander Cherepanov discovered that bsdcpio, an implementation of the "cpio" program part of the libarchive project, is susceptible to a directory traversal vulnerability via absolute paths. (From OE-Core master rev: e64a961e9c5e94e643896e4b68b85bd5b4c27470) (From OE-Core rev: c944c1ee3f039979d93022bbbd76f61f57b1577f) Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* less: fix CVE-2014-9488Junling Zheng2015-05-152-1/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An out of bounds read access in the UTF-8 decoding can be triggered with a malformed file in the tool less. The access happens in the function is_utf8_well_formed due to a truncated multibyte character in the sample file. The bug does not crash less, it can only be made visible by running less with valgrind or compiling it with Address Sanitizer. Version 475 of less contains a fix for this issue. The file version.c contains some entry mentioning this issue (without any credit): - v475 3/2/15 Fix possible buffer overrun with invalid UTF-8 The fix is in the file line.c. We derive this patch from: https://blog.fuzzing-project.org/3-less-out-of-bounds-read-access-TFPA-0022014.html Thank Claire Robinson for validating it on Mageia 4 i586. Refer to: https://bugs.mageia.org/show_bug.cgi?id=15567 (From OE-Core master rev: 68994284f3c059b737bfc5afc2600ebd09bdf47f) (From OE-Core rev: 7195d219f7af2b94dffb87a94077ec98dacdcdb0) Signed-off-by: Junling Zheng <zhengjunling@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rsync: backport a patch to fix CVE-2014-9512Roy Li2015-05-152-1/+138
| | | | | | | | | | | | | | rsync 3.1.1 allows remote attackers to write to arbitrary files via a symlink attack on a file in the synchronization path. Backport Complain-if-an-inc-recursive-path-is-not-right-for-i.patch to fix it (From OE-Core master rev: f280b4f28231ea5a416266ae022d6e4c4ea91117) (From OE-Core rev: a42af2e434c01c04af36d6ed7a7a5480a7a255a5) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-devsrc: depends on virtual/kernel:do_installRobert Yang2015-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The linux-yocto.inc may remove the meta dir: do_install_append(){ if [ -n "${KMETA}" ]; then rm -rf ${STAGING_KERNEL_DIR}/${KMETA} fi } Which may cause the error: [snip] find: `./meta/cfg/kernel-cache/bsp/altera-socfpga/0073-FogBugz-116676-Align-clk.c-with-kernel.org.patch': No such file or directory find: `./meta/cfg/kernel-cache/bsp/altera-socfpga/0047-FogBugz-90657-Fix-SD-MMC-driver-for-VT.patch': No such file or directory find: `./meta/cfg/kernel-cache/bsp/altera-socfpga/0006-spi-qspi-cadence-Add-spi-and-qspi-driver.patch': No such file or directory [snip] cpio: ./meta/scripts/kgit-config-cleaner: Cannot stat: No such file or directory cpio: ./meta/scripts/kgit-s2q: Cannot stat: No such file or directory cpio: ./meta/scripts/kgit-clean: Cannot stat: No such file or directory [snip] (From OE-Core master rev: 0866086c6a9d9f518388f2962db784ab15d49330) (From OE-Core rev: ecf26a6e4aaac6d7f24eeb38215365c4c72b81a8) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnu-efi: fix parallel issueRobert Yang2015-05-152-0/+39
| | | | | | | | | | | | | | | | | | | Fixed: Assembler messages: Fatal error: can't create runtime/rtlock.o: No such file or directory Assembler messages: Fatal error: can't create runtime/rtdata.o: No such file or directory Assembler messages: Fatal error: can't create runtime/vm.o: No such file or directory Assembler messages: Fatal error: can't create runtime/efirtlib.o: No such file or directory (From OE-Core master rev: 86d428775c95a900c9b452f03548b56cb980b64c) (From OE-Core rev: a86bc60ac3ef18f22690e1a77578cb991aede9f5) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-cache: improve error handlingKen Sharp2015-05-151-1/+7
| | | | | | | | | | | | | | If an error occurs while the udev cache is being populated, the system is left in a state where udev is stopped. Remedy this with a clean up function to restart udev and remove any intermediate files. (From OE-Core master rev: af911b272ded95884079dc307eeeb1811f0584c9) (From OE-Core rev: 70214bb02bad6a6f0d6f25ff227d6e380c1b9fb3) Signed-off-by: Ken Sharp <ken.sharp@ni.com> Reviewed-by: Ben Shelton <ben.shelton@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-cache: Remove unnecessary tar read from stdinKen Sharp2015-05-151-1/+1
| | | | | | | | | | | | xargs already formats the inputs to tar correctly, so the '-T -' argument to tar is unnecessary. (From OE-Core master rev: d18e1964dede530c5fae6ae349d6a78fa5342382) (From OE-Core rev: d666072445ec5323a7849ae0c80ba9f293a5464b) Signed-off-by: Ken Sharp <ken.sharp@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-utils: Remove double dependency on udevMike Looijmans2015-05-151-1/+1
| | | | | | | | | | | | | | "udev" is already added when PACKAGECONFIG includes it, so it should not be in the DEPENDS list on itself. This caused udev to be built for systems that don't use it. (From OE-Core rev: 2ea67db71ba37285c5d16428ba9629412adcfa47) (From OE-Core rev: 6fb1b306bd1a1ca6ecc6c8d91e0007cc65a6a0d6) Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd 219 -> system 219-stableBruno Bottazzini2015-05-151-7/+3
| | | | | | | | | | | | | | The upstream systemd git repo only contains the main systemd branch that progresses at a quick pace, continuously bringing both bugfixes and new features. Distributions usually prefer basing their releases on stabilized versions that receive the bugfixes but not the features. (From OE-Core master rev: c21bf9d7bb0cb90392ed50a44c57a3d068b88ef9) (From OE-Core rev: c3da0d750ce7b45fee9db3e985f585f5fb2e193d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/toaster: fix bad indentCristian Iorga2015-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | oe-selftest --list-classes crashes because of a bad indent (see below). Fixed. systemd-build$ oe-selftest --list-classes 2015-04-22 12:12:39,141 - selftest - INFO - Listing all available test modules: _sstatetests_noauto (hidden) -- SStateBase -- RebuildFromSState -- -- test_sstate_rebuild -- -- test_sstate_relocation _toaster (hidden) Traceback (most recent call last): File "/mnt/Yo/yoctoproject/poky/scripts/oe-selftest", line 201, in <module> ret = main() File "/mnt/Yo/yoctoproject/poky/scripts/oe-selftest", line 157, in main modlib = importlib.import_module(test) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/mnt/Yo/yoctoproject/poky/meta/lib/oeqa/selftest/_toaster.py", line 438 time.sleep(3) ^ IndentationError: unexpected indent (From OE-Core master rev: 46869abf72c1c5babce49537f221d7a4f53ca820) (From OE-Core rev: f01d4df7568fed5fe2feb0b1e8abb2214b567c07) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_sdk_base: avoid executing empty functionChen Qi2015-05-151-1/+3
| | | | | | | | | | | | | | | | | | `bitbake uninative-tarball' raises the following warning. WARNING: Function doesn't exist This is because SDK_PACKAGING_FUNC is set to "" in its recipe. Anyway, we need to check this variable to avoid executing empty function. [YOCTO #7598] (From OE-Core rev: 4c0ae7cce06de15f6881654ecec7f8bb743ff389) (From OE-Core rev: 7c0c2b3037dfc2790446968572daf5bf0a17e2f8) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uninative-tarball: delete the packagedata taskChen Qi2015-05-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This task is meaningless for uninative-tarball as the package task has been deleted. Besides, sometimes it would cause problems. To reproduce, use the following command. bitbake uninative-tarball -c cleansstate && bitbake uninative-tarball && bitbake uninative-tarball -c clean && bitbake uninative-tarball The error is something like below. File: 'sstate.bbclass', lineno: 33, function: sstate_installpkg 0029: bb.build.exec_func(f, d) 0030: 0031: for state in ss['dirs']: 0032: prepdir(state[1]) *** 0033: os.rename(sstateinst + state[0], state[1]) 0034: sstate_install(ss, d) 0035: 0036: for plain in ss['plaindirs']: 0037: workdir = d.getVar('WORKDIR', True) Exception: OSError: [Errno 2] No such file or directory [YOCTO #7597] (From OE-Core rev: 8f905077aaed3dbeeed04787add1cf725fa87bdc) (From OE-Core rev: e94864c1589986fb8a59ee86cae0fd3b430ebf09) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow: fix `su' behaviourChen Qi2015-05-152-26/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0001-su.c-fix-to-exec-command-correctly.patch is removed. Below is the reason. This patch is introduced to solve the 'su: applet not found' problem when executing `su -l xxx -c env'. The patch references codes of previous release of shadow. However, this patch introduces bug#5359. So it's not correct. Let's first look at the root cause of 'su: applet not found' problem. This problem appears when /bin/sh is provided by busybox. When executing `su -l xxx -c env' command, the following function is invoked. execve("/bin/sh", ["-su", "-c", "env"], [/* 6 vars */]) Note that the argv[0] provided to new executable file (/bin/sh) is "-su". As /bin/sh is a symlink to /bin/busybox. It's /bin/busybox that is executed. In busybox's appletlib.c, it would examine argv[0], try to find an applet that has the same name, and then try to execute the main function of the applet. This logic results in `su' applet from busybox to be executed. However, we default to set 'BUSYBOX_SPLIT_SUID' to "1", so 'su' is not found. Further more, even if we set 'BUSYBOX_SPLIT_SUID' to "0", so that 'su' applet is found. The whole behaviour is still not correct. Because 'su' from shadow takes higher priority than that from busybox, so 'su' from busybox should never be executed on such system unless it's specified clearly by the end user. The logic of busybox's appletlib.c is totally correct from the point of busybox itself. It's an integration problem. To solve the above problem, this patch comment out SU_NAME in /etc/login.defs so that the final function executed in shadow's su is as below. execve("/bin/sh", ["-sh", "-c", "env"], [/* 6 vars */]) [YOCTO #5359] [YOCTO #7137] (From OE-Core rev: 6820f05dad0b4f9b9bbcf7c2a0af8c34f66199ae) (From OE-Core rev: c7ba25a1e2fd36789ad6f55f05b41c3dc9b7f089) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image: zap_empty_root_password doesn't handle passwd file in shadow casetprrt2015-05-151-1/+2
| | | | | | | | | | | | /etc/passwd isn't editted if /etc/shadow exists and should be else it can cause problems with some login providers such as toybox. (From OE-Core rev: 09ac2664fba223111c20c3000af6b8d5cdaabeb1) (From OE-Core rev: ec4dba57eb95e31954dc74dd6489f70575b54d6f) Signed-off-by: tprrt <tprrt@tupi.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: add objarch.h for armebKrishnanjanappa, Jagadeesh2015-05-151-0/+40
| | | | | | | | | | | | | | | ghostscript application fails to fetch objarch.h file while building for armeb. The fetch failure is due to absence of this file in the default set of directories that the OpenEmbedded build system searches (i.e FILESPATH) for patches and files. This patch adds the required objarch.h file for armeb in one of the default locations where OpenEmbedded build system searches. (From OE-Core rev: c520165f8fe7c01865ddb2565908211c0cfd2185) (From OE-Core rev: e56dea7dd588da62d33d33b21f857020d612e9f0) Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/populate_sdk_ext: disable network connectivity checkPaul Eggleton2015-05-151-0/+3
| | | | | | | | | | | | | | Most of the time we shouldn't be downloading anything within the extensible SDK (since it's all pre-built and we have the sstate artifacts) therefore there's really no need for a connectivity check, in fact it may just get in the way. (From OE-Core rev: beaf851ae8aadb5b9e3c0b9840479efcbb05be23) (From OE-Core rev: cc65df3aeb84e53a2608535c81e1e3f4dd9e8bc4) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot.inc: make sure all counter variables are properly unsetCarlos Rafael Giani2015-05-151-0/+5
| | | | | | | | | | | | | | | | The script does "i == j" checks to retrieve the config <-> type pairs from the UBOOT_MACHINE and UBOOT_CONFIG lists. This check however requires both j and i to be initially unset. Ensure this by explicitely unsetting i. This fixes broken u-boot SPL installations with SolidRun machines (the SPL wasn't being installed and deployed.) (From OE-Core rev: 50233dc2544fe8eeee69a5dc07f505db29fc9e0e) (From OE-Core rev: a00cf56b0caf2327bd85b80c7d0db6f4d8620a36) Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-install-efi.sh: fix gummiboot entry installationReinette Chatre2015-05-151-3/+3
| | | | | | | | | | | | | | | | | After selecting the "install" gummiboot option of a Live image we are seeing boot failure resulting from the gummiboot entries not being installed correctly. This seems to be a problem in this init-install-efi.sh script where it incorrectly installs the gummiboot entries into the root filesystem, not the boot partition. We fix it by installing the entries in the boot partition. (From OE-Core master rev: c9b06c79ed8a082d1b385e9f61721aeeda9bf1af) (From OE-Core rev: 5d38c46689c9065992838b58e280886f4091f8fd) Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Acked-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* aspell: inherit binconfig-disabledRobert Yang2015-05-151-1/+3
| | | | | | | | | | | There is a pspell-config. (From OE-Core master rev: 53c8a954e699b3ae3e7a0a2b3860cf7c9ad1288e) (From OE-Core rev: 27bf71420b535678640f8edd0c6bc551bd322f1c) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: fix build for aarch64Koen Kooi2015-05-152-0/+26
| | | | | | | | | | | Upstream added aarch64 support but forgot to update 'make dist' leading to missing files in the tarball. (From OE-Core master rev: a40309f284805e8cda024f7299a676cfdf8f97a5) (From OE-Core rev: fd11110b7d63fce6a1f7a26f123ae7a8ddee3175) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: remove CVE-2014-9645 patch (already upstream in 1.23.x)Andre McCurdy2015-05-152-42/+0
| | | | | | | | | | | | | | | | | | | | The CVE-2014-9645 fix was merged in Busybox prior to the 1.23.0 release [1]. The fix was then reworked in Busybox 1.23.1, in such a way that the original change was no longer required [2]. Although oe-core's CVE-2014-9645 patch still applies cleanly to Busybox 1.23.1 and 1.23.2, applying it partially reverts the second version of the upstream fix. [1] http://git.busybox.net/busybox/commit/modutils/modprobe.c?h=1_23_stable&id=4e314faa0aecb66717418e9a47a4451aec59262b [2] http://git.busybox.net/busybox/commit/modutils/modprobe.c?h=1_23_stable&id=1ecfe811fe2f70380170ef7d820e8150054e88ca (From OE-Core master rev: a753d3d8884b96baad5ed1a03335a81586420b86) (From OE-Core rev: ef1748f26ab246d893f51141caa24dd4ae6b5ec0) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsb: provide lsb-core-ARCHDmitry Eremin-Solenikov2015-05-151-0/+5
| | | | | | | | | | | | | Some lsb packages depend on correct lsb-core-ARCH package being installed (or rather provided) on the target file system. Provide this package name by main lsb package. (From OE-Core master rev: 981109b7388dcd0de9fd2e9cdfe2a920b9f8facb) (From OE-Core rev: 65276d62f655926a82a17f02bb3a4ae0f08e6518) Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* crypto: use bigint in x86-64 perlArmin Kuster2015-05-152-0/+36
| | | | | | | | | | | | | | | | on some hosts openssl fails to build with this error: ghash-x86_64.s: Assembler messages: ghash-x86_64.s:890: Error: junk '.15473355479995e+19' after expression backported fix from community. (From OE-Core master rev: 8230f873921d5c16106e3ebf57053a646bc6ad78) (From OE-Core rev: b981717484c70c6c9bcd6dacb736c2844fa863ed) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: fix an incorrect patch for 0.161Junling Zheng2015-05-154-2/+108
| | | | | | | | | | | | | | | The original uclibc-support.patch is not compatible with elfutils-0.161. It should be corrected through adjusting context. So regenerate a new patch for elfutils-0.161, rename the patch for elfutils-0.148, and put them into respective directories. (From OE-Core master rev: 64acb72e7ec63528073d8290137fe74d3382f876) (From OE-Core rev: d4924543c265ca497d4c419d4571cf1f8ef31d09) Signed-off-by: Junling Zheng <zhengjunling@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-player: Fix typoGary Thomas2015-05-151-1/+1
| | | | | | | | | | | | | | The subtitle (shown in desktop icon) should say Basic media player -not- Basic media plaer (From OE-Core master rev: f672fae1b1647f7a628ba9ba92fd4fab81d91546) (From OE-Core rev: d1f9764375a3f9187d523fa45639731a6619a691) Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error 1.18: simplify tupple handling and add armv8b supportKoen Kooi2015-05-151-6/+2
| | | | | | | | | | | Add a default option to the case statement and remove the duplicates. Also add support for armv8b architectures. (From OE-Core master rev: 8d207e55031c0b93387e728f4312b8cb34ad5b12) (From OE-Core rev: 95a0b9305a17afb9eb317d9d946f721c462e0db6) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ppp: Add extra include dirsKhem Raj2015-05-151-1/+5
| | | | | | | | | | | | | | | | Just run configure, the configure script is not really a autoconf generated script so just run it Include path is needed to be there since the headers from it are used during build in subcomponents Change-Id: Ib1f24fd18bc8564e3c74ab834b7cf0fdf955d0e1 (From OE-Core master rev: c64c9f7ffc88018404afdde373dfd7ef2bdf7ae8) (From OE-Core rev: a11ebe122bc31127bae59a65dbabe9ce5c3f568c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_manager: RpmPM: Fix scriptlet for rpm 4Jean-Benoit MARTIN2015-05-151-2/+4
| | | | | | | | | | | Path of rpm post install script is different between rpm 4 and 5 (From OE-Core master rev: a880669f767532ce3c39eb160fa9deb9fce29677) (From OE-Core rev: cc57a6827d383380b37d9df14ef799b10a62a469) Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pcmciautils: fix for parallel buildRobert Yang2015-05-151-2/+8
| | | | | | | | | | | | | | | | Fixed: Compiling lex_config.c. src/lex_config.l:34:25: fatal error: yacc_config.h: No such file or directory There was a patch for fixing the paralle issue before, so modify the patch again. (From OE-Core master rev: e1193feb30fbbfacb430ccbb9f33cd782f7cb87d) (From OE-Core rev: 0907c61d7b9ad892ae815d68393ed2e30881e289) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kexec-tools: Add support for build with x32 ABI in x86_64Mariano Lopez2015-05-152-1/+115
| | | | | | | | | | | | | | | | | Add autoconf test for detect when build is x32 ABI this enables to test into purgatory Makefile to avoid use -mcmodel=large flag in CC. Add ELFCLASS read and syscall number into kexec, see patch. [YOCTO #7419] (From OE-Core master rev: 7b75430c2e3ffedb9ef4198fabf259b757b9ce5a) (From OE-Core rev: 75e493b82e7ddb2730b0ede9aeb448c62d8bf032) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nss: Fix build in x32 ABIAníbal Limón2015-05-151-0/+4
| | | | | | | | | | | | | | When try to build nss with x32 ABI enabled fails because it need to be specified USE_X32 env var. [YOCTO #7420] (From OE-Core master rev: 2898c2cf94bd690ebfc4ab5f4d220e6ea05aca82) (From OE-Core rev: 9eb690e7ce168bcf97055ba0e5325bd0b0107cb4) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Create connman.service at proper momentJukka Rissanen2015-05-151-4/+2
| | | | | | | | | | | | | | | | | | | ConnMan commit ac332c5d01b0737c18cb58c8ccc67cf6b0427e1d changes how the connman.service file is created from .in file. After that commit, the file is created by Makefile instead of configure. This means that we need to tweak the service file in compile time instead of configure time because the generated file will not be there after the configuration. This commit can be used even with older ConnMan version as the connman.service file is there when the compilation happens. (From OE-Core master rev: 32839103727d92a6580f916b6dd8e4439b2347c8) (From OE-Core rev: 66d8cec7225cae7269c539d9372a1364c9cefc0d) Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Fix native build on i686Gary Thomas2015-05-151-1/+1
| | | | | | | | | | | | Most modern x86 systems return i686 as the system type. This patch handles i486, i586 and i686 correctly. (From OE-Core master rev: 1b24eaa71702c07e525d8a62c08c0983e9917468) (From OE-Core rev: 8951cce6b9c68e3100ab2c568baf5148c1a0221d) Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata: fix postinstMartin Jansa2015-05-151-2/+2
| | | | | | | | | | | | | | * add quotes around possibly empty tz variable * use exit instead of return, because we're not in function and postinst fails: line 9: return: can only `return' from a function or sourced script" (From OE-Core master rev: 87429d37e72b1fd2f329d693b4d1b1229a90e0a2) (From OE-Core rev: ff58b2b6d07725adedddb709000775af8da3c5db) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pango: fix postinstMartin Jansa2015-05-151-4/+6
| | | | | | | | | | | | | | | * merge postinst_prologue with the append in the do_split_packages call Now we can call correct pango-querymodules binary and respect D variable, otherwise we're trying to regenerate it on host which fails: pango-module-basic-fc.postinst: line 17: /usr/bin/pango-querymodules: No such file or directory (From OE-Core master rev: f5d189b80a1fd7187f47678935f9a584ccff8d0a) (From OE-Core rev: 3bbdb42c17222e78e3a4d043f26c9b2dce6d6891) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: add triplet entry to fix build error for armebKrishnanjanappa, Jagadeesh2015-05-152-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | Cross-compling dpkg application for armeb fails with below error during configure task, (snip) configure:23141: checking dpkg cpu type configure:23148: result: armeb configure:23150: WARNING: armeb not found in cputable configure:23162: checking dpkg operating system type configure:23169: result: linux-gnueabi configure:23171: WARNING: linux-gnueabi not found in ostable configure:23183: checking dpkg architecture name configure:23189: error: cannot determine host dpkg architecture -- CUT -- Add the required combination of "gnueabi-linux-armeb" entry in triplet list. (From OE-Core master rev: 63eb33bced1fc1e5451988fc5249ab362fb82615) (From OE-Core rev: 0c83ca720ccfbef6964ac34fedfefa9006c484c4) Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-ffmpeg: fix libav-9.patchKoen Kooi2015-05-151-1/+1
| | | | | | | | | | | | The patch has a stray '>' in an #incude directive leading to build failures when used. (From OE-Core master rev: f2a45c0c1b9878319890fe03f26dd4e0db740091) (From OE-Core rev: 882cc6f7bb50022c2ed428537ffb09fd497de16d) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-ffmpeg: remove bogus patch that leads to build failuresKoen Kooi2015-05-152-31/+0
| | | | | | | | | | | | | '0001-huffyuvdec-check-width-more-completely-avoid-out-of-.patch' patches the internal copy of ffmpeg with a hunk that generates a compile failure because AV_PIX_FMT_YUV422P is undefined. (From OE-Core master rev: 3657e0fc2cd48a08035c7a0ab4da7e6666d2d91d) (From OE-Core rev: b487d0a37536bb412cf332610f692d5eb3c8f3d9) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-ffmpeg: fix internal-libav builds with inherit autotools-brokensepKoen Kooi2015-05-151-1/+1
| | | | | | | | | | | | Building the internal copy of ffmpeg is broken when using S!=B, so inherit autotools-brokensep (From OE-Core master rev: 4ac5d1011fe6b5bba9511416082891e925cbd03c) (From OE-Core rev: 0d118d0216f75221f17644ecd154637288c68c1c) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcap.inc: remove obsolete libnl1 PACKAGECONFIGAndre McCurdy2015-05-151-1/+0
| | | | | | | | | | | | | | | | There's no libnl1 recipe in oe-core (or any other layer in the layer index). Keeping the libnl1 PACKAGECONFIG is likely to cause problems for the libnl PACKAGECONFIG since libnl and libnl1 both use --with-libnl and --without-libnl. (From OE-Core master rev: 4c820481147e9c11160b00f7df7ca8c329b23eac) (From OE-Core rev: c914254e9ec218d590fc77b921dbddf31b2d41c7) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xorg-server: Security Advisory - xorg-server - CVE-2015-0255Li Zhou2015-05-153-0/+256
| | | | | | | | | | | | | | | | | | | | Updated x11-server packages fix security vulnerability: Olivier Fourdan from Red Hat has discovered a protocol handling issue in the way the X server code base handles the XkbSetGeometry request, where the server trusts the client to send valid string lengths. A malicious client with string lengths exceeding the request length can cause the server to copy adjacent memory data into the XKB structs. This data is then available to the client via the XkbGetGeometry request. This can lead to information disclosure issues, as well as possibly a denial of service if a similar request can cause the server to crash (CVE-2015-0255). (From OE-Core master rev: 564e2f9732ac4318bb5923dd1ff771514c9afd2f) (From OE-Core rev: edde2ef38d483888e5daa7c00007cb1b84de6336) Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libffi: Use proper compiler define for linux platformKhem Raj2015-05-152-1/+35
| | | | | | | | | | Change-Id: I8253249a2e1c5e9ded0d028545f21cfdc093c3cd (From OE-Core master rev: f7307ea20c8aa4aed4c38a7c15fb9b3b6b836035) (From OE-Core rev: df99dd90255e46b226f4eea7b3c0d81f548adaf9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libusb-compat: Include sys/types.h in usb.hKhem Raj2015-05-152-1/+33
| | | | | | | | | | | | | | Fixes compile errors when usb.h is included in other packages, it expects sys/types.h to be there, instead it should include it itself Change-Id: Ib49477b7d3f3cd97d65c9578bdc33f2ee33f5a26 (From OE-Core master rev: 577b5c6ce6753b9ae3587da47caf6ecfac358668) (From OE-Core rev: 833165b96b8b51292ad9758a491abce7f380f6de) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>