aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-08-24populate_sdk_ext: get rid of buildtoolsChenQi/sdktoolChen Qi
If we do `bitbake buildtools-tarball' and then after one day do `bitbake core-image-minimal -c populate_sdk_ext', we would meet errors like below. | install: cannot stat '/buildarea2/chenqi/poky/build-systemd/tmp/deploy/sdk/ poky-glibc-x86_64-buildtools-tarball-core2-64-buildtools-nativesdk-standalone -1.8+snapshot-20150429.sh': No such file or directory The problem is that the output name for buildtools-tarball has ${DATE} in it. So if populate_sdk_ext task is executed but buildtools-tarball is not rebuilt, the above error appears. In fact, ext SDK does not have to depend on buildtools. This patch removes the buildtools from the ext SDK. After this patch, the ext SDK still works and we can no longer see the buildtools error. [YOCTO #7674] Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2015-08-20devtool: add sdk.py pluginChen Qi
This plugin is only enabled when devtool is used within the extensible SDK. It is used to update the current SDK from a local or remote server. E.g. devtool sdk-update /mnt/sdk-repo/ devtool sdk-update http://mysdkhost/sdk Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2015-08-20populate_sdk_ext: record SDK_TARGETS in devtool.confChen Qi
Record the value of SDK_TARGETS for later use of devtool's sdk plugin for updating SDK. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2015-08-20oe-publish-sdk: add scriptChen Qi
Add a script to publish extensible SDK to a specified destination. e.g. oe-publish-sdk <ext-sdk> <destination> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2015-08-20Extensible SDK: allow for installation without preparing build systemChen Qi
When publishing SDK, what we want is basically its metadata and sstate cache objects. We don't want the SDK to be prepared with running bitbake as it takes time which reproduces meaningless output for the published SDK. So this patch adds an option to allow for SDK to be extracted without preparing the build system. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2015-08-20populate_sdk_ext: don't remove the native qemu dependenciesChen Qi
These dependencies were deliberately removed because it was assumed that they were provided by nativesdk packages. On the one hand, nativesdk packages in extensible SDK don't have these packages; on the other hand, even if we add these nativesdk packages, they are still not useful because we we need runqemu to run correctly. So we don't remove these native qemu dependencies. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2015-08-20populate_sdk_ext: consider custom configuration in local.confChen Qi
Copy the contents of local.conf under TOPDIR into the final generated local.conf. In this way, custom settings are also made into the final local.conf like IMAGE_INSTALL, DISTRO_FEATURES, VIRTUAL-RUNTIME_xxx, etc. Before this change, installing extensible SDK would usually report failure when preparing the build system if the user has custom configuration for DISTRO_FEATURES in local.conf. Also, items in IMAGE_INSTALL_append in local.conf also don't get built correctly. This patch solves the above problem by making use of the bb.utils.edit_metadata. In addition, we check to avoid any setting that might lead to host path bleeding into SDK's configuration. Basically, variables with values starting with '/' are removed. A whitelist mechanism is introduced so that users could specify variables that should not be ignored. The name of the whitelist is SDK_LOCAL_CONF_WHITELIST. The SDK_META_CONF_WHITELIST is removed as it's of no use after this change. Add SDK_INHERIT_BLACKLIST to forbit local.conf in SDK to herit certain classes like 'buildhistory' or 'icecc'. [YOCTO #7616] Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2015-08-20copy_buildsystem: make sure bitbake directory is copiedChen Qi
The previous code assumes that bitbake/ directory is under the core layer. This is the case for Yocto project. But users might clone oe-core and bitbake separately. So we use bb.__file__ to locate the bitbake directory to make sure it's copied into the extensible SDK. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2015-08-19binconfig-disabled: write an message to stderr to help confused developersRoss Burton
Often configure scripts or Makefiles that use the stub scripts written by binconfig-disabled fail mysteriously with no obvious problem. Attempt to solve this by writing an error to stderr which hopefully makes it to the logs. [ YOCTO #8169 ] Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19oeqa/targetbuild: Remove bashismRichard Purdie
Use '.' instead of 'source' so this works with dash as /bin/sh. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19glibc-package: use ${PN} in INSANE_SKIPMartin Jansa
* INSANE_SKIP_${PN}_append_aarch64 is causing following warning in some setups: WARNING: Variable key INSANE_SKIP_${PN} () replaces original key INSANE_SKIP_glibc (). * in worst case this will be applied also for glibc-initial package which is using the same glibc-package.inc, but glibc-initial doesn't create any packages so we should be fine * someone building for aarch64 should confirm verify that this INSANE_SKIP is still needed and cannot be fixed properly it was introduced in: commit aeb6f53dd607ceb0d2265a05c27f751109c73752 Author: Mark Hatle <mark.hatle@windriver.com> Date: Thu Dec 18 16:51:13 2014 +0800 glibc-package: aarch64 enable symlink for ABI compliance aarch64 requires the ld.so to be present in /lib, even if the rest of the libraries are installed into an alternative directory. See: https://sourceware.org/glibc/wiki/ABIList Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19rpm: opendb before rpmverifyscript to avoid null point inputZhixiong Chi
If the command is "rpm -V" and the return value of (headerIsEntry(h, RPMTAG_VERIFYSCRIPT) || headerIsEntry(h, RPMTAG_SANITYCHECK)) located in /lib/verify.c is true, it will call rpmpsmStage function(rpmVerifyScript->rpmpsmScriptStage->rpmpsmStage) and occur segment fault because of null point(rpmtsGetRdb(ts) == NULL and rpmtsGetRdb(ts)->db_txn). So we open rpmdb to avoid bad input when find headerIsEntry true. workflow: main()->rpmcliVerify()->rpmcliArgIter()->rpmQueryVerify()->rpmgiShowMatches()->showVerifyPackage()-> rpmqv.c verify.c query.c query.c verify.c(headerIsEntry) rpmVerifyScript()->rpmpsmScriptStage()->rpmpsmStage()-> rpmtxnCommit(rpmtsGetRdb(ts)->db_txn); verify.c psm.c psm.c psm.c Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19u-boot.inc: Add UBOOT_BINARY sym links for UBOOT_CONFIG typesLee Nipper
An additional use case of UBOOT_CONFIG is when a machine has applicability to boards of the same architecture but different in other ways to require a different UBOOT_BINARY build. The UBOOT_CONFIG default value can be a list of these board types. For example: UBOOT_CONFIG ??= "boardA boardB" UBOOT_CONFIG[boardA] = "boardA_defconfig" UBOOT_CONFIG[boardB] = "boardB_defconfig" Change do_install and do_deploy sections which process a UBOOT_CONFIG list to create short symbolic links to each of the config types for UBOOT_BINARY. This is similar to the links currently being created for SPL_BINARY when it is defined with a UBOOT_CONFIG list. For the above example, and UBOOT_BINARY as u-boot.bin, the additional symbolic links created in the DEPLOYDIR would be u-boot.bin-boardA u-boot.bin-boardB Signed-off-by: Lee Nipper <lee.nipper@linux.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19packagegroup-core-standalone-sdk-target: remove qemuwrapper-crossRobert Yang
Remove qemuwrapper-cross from RDEPENDS, install a cross pkg in sysroots isn't useful, if we really need run qemuwrapper in SDK, we should add it as nativesdk, and it has multilib conflicts when populate_ sdk: error: file /usr/bin/crossscripts/qemuwrapper from install of qemuwrapper-cross-1.0-r0.lib32_x86 conflicts with file from package qemuwrapper-cross-1.0-r0.core2_64 [YOCTO #8089] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19toolchain-shar-extract.sh: add a space in the endRobert Yang
For a clear look when input. [YOCTO #8089] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19tune-octeon: add tune file for MIPS OcteonArmin Kuster
This add MIPS Octeon tune features. Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19binutils: Add MIPS Octeon3Armin Kuster
This add MIPS octeon3 support to binutils. Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19lib/oe/recipeutils: avoid parsing in get_var_files()Paul Eggleton
Let's have the caller do this and then the function is a bit more flexible (e.g. we can choose to parse with bbappends or not); fix up calls to this function appropriately (of which there are only two, both within devtool). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19devtool: fix handling of BBCLASSEXTENDed recipesPaul Eggleton
If a recipe is BBCLASSEXTENDed (e.g. to -native), its PN value and the name of the bbappend will be different; we were assuming them to be the same when reading in the workspace, leading to us seeing the base recipe name everywhere afterwards. Also add a test so we ensure this doesn't regress in future. Fixes [YOCTO #8157]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19devtool: extract: remove patches subdirectory when S == WORKDIRPaul Eggleton
Ensure that the "patches" subdirectory is removed from the right location when S == WORKDIR (e.g. devtool extract makedevs). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19devtool: extract: prevent externalsrc from interfering with extractionPaul Eggleton
In case the user has set up externalsrc outside of devtool, force EXTERNALSRC to blank for the recipe when extracting so that the original source URI is still in SRC_URI and we're still able to extract it. (This isn't a problem with devtool itself because the bbappends within the workspace layer that apply externalsrc are explicitly filtered out when devtool parses a recipe). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19package_deb.bbclass: Allow UTF-8 characters on control filesLeonardo Sandoval
Allow UTF-8 characters on control files. Also handle an expection in case of invalid characters (non UTF-8). [YOCTO #6693] Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19valgrind: build ptests without optimizationsDave Lerner
This commit changes the both CFLAGS and CXXFLAGS when building the valgrind ptest binaries by appending -O0, forcing no optimizations instead of the default -O2. For qemux86-64, this change results in FAIL/PASS ratio improvements from 149/394 to 58/485. It is evident that the expected result files were generated from regression tests binaries built without optimizations. [ YOCTO #8063 ] Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19openssh: Upgrade 6.9p1 -> 7.0p1Roy Li
7.0p1 includes the fix for CVE-2015-5600, and release note is in: http://www.openssh.com/txt/release-7.0 Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19gdk-pixbuf: Security Advisory - gdk-pixbuf - CVE-2015-4491Li Zhou
pixops: Be more careful about integer overflow Integer overflow in the make_filter_table function in pixops/pixops.c in gdk-pixbuf before 2.31.5, as used in Mozilla Firefox before 40.0 and Firefox ESR 38.x before 38.2 on Linux, Google Chrome on Linux, and other products, allows remote attackers to execute arbitrary code or cause a denial of service (heap-based buffer overflow and application crash) via crafted bitmap dimensions that are mishandled during scaling. Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19lz4: update to 131Armin Kuster
Clean up SRC_URI. Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19archiver.bbclass: Run deploy_archives in $WORKDIRClemens Lang
In recipes that are exempt from source code archiving due to COPYLEFT_LICENSE_EXCLUDE, do_deploy_archives does not have a transitive dependency on do_unpack. Given enough parallelism, this means do_deploy_archives can run at the same time or before do_unpack. Because do_deploy_archives did not specify a working directory, its working directory was ${B}, which defaults to ${S}, which may be set by a recipe to a directory that is created by do_unpack. In this case, do_deploy_archives can fail because do_unpack deletes and re-creates the directory and do_deploy_archives cannot change into the non-existent directory. Avoid this problem by explicitly specifying a working directory for do_deploy_archives (and for do_deploy_all_archives as well for good measure). Signed-off-by: Clemens Lang <clemens.lang@bmw-carit.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19uclibc: Upgrade to tip of masterKhem Raj
Drop upstreamed patches convert the rest to git am'able patches Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19lzop: Fix build with gcc5 on ppcKhem Raj
It seems all other architectures provide their own definitions for these functions like __ACC_UA_GET_LE16 and this code is exposed only on ppc this is the typical extern inline ( gnu definition ) version c99 semantics, lets use static inline which works both ways Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19libunistring: Upgrade recipe 0.9.4 -> 0.9.5Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19guile: Specify directories to find proper libunistring, libgmp and libltdlKhem Raj
Just when building on host which doesnt have libunistring on host guile fails the following configure test | configure: error: GNU libunistring is required, please install it. | Configure failed. The contents of all config.log files follows to aid debugging The reason is that its looking for libunistring dev files on build system, so lets point the configure into target sysroot, similar issue exist for libgmp, libltdl detection as well, fixed thusly Get rid of trailing whitespaces while here Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19glibc: Consider adding -Wno-error in cases when not using -O2Khem Raj
glibc has recently turned on Werror globally which is good but then not all option combos are well tested so there still remains cleanup needed when not using -O2, so lets just disable Werror in such cases, until fixed upstream Change-Id: I2d491c360a15b0752c97ff77ee0faaeede6e8d2a Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19canned-wks: added a qemux86* directdisk recipe for wicCristian Iorga
qemu-directdisk.wks creates a raw disk image that a qemux86* machine can boot from. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19image_types.bbclass: allow replacing tar commandPatrick Ohly
Usually, the host's tar command is sufficient. However, special cases like archiving xattrs depend on a modern GNU tar version. The new IMAGE_CMD_TAR makes that possible, with xattrs given as example. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19tar-replacement-native: relocate via NATIVE_PACKAGE_PATH_SUFFIXPatrick Ohly
Building tar-replacement-native as replacement of the host's tar in the standard path was meant to be done manually by a user in preparation for the regular bitbake run. Such a usage has been superseeded by installing the pre-compiled buildutils and might have been broken on hosts which need it by the sanity check for tar >= 1.26. Therefore tar-replacement-native_1.28.bb can be removed in favor of adapting the normal tar recipe such that it installs an opt-in binary under a different path. The special do_install logic is explicitly limited to class-target, instead of making it the default and disabling it (which would be the case for class-native and class-nativesdk). Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19qemu: upgrade to 2.4.0Cristian Iorga
All CVE patches removed, included in release. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-16adt-installer: use DEPLOY_DIR in ANT_DEPLOY expansionDmitry Eremin-Solenikov
Currently adt-installer uses "${TMPDIR}/deploy/sdk/" as a deployment dir. This doesn't interact well with DEPLOY_DIR reassignment. So let's use "${DEPLOY_DIR}/sdk/" instead. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-16mtd-utils: keep xattr support enabledPatrick Ohly
xattrs may be needed by some distros. Support that by compiling in the necessary code, even if it is not used by default. Then .jffs2 images including xattrs can be created with: EXTRA_IMAGECMD_jffs2_append = " --with-xattr" Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-16package_regex.inc: fix regexes for adwaita-icon-theme, cairo and dhcpAlexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-16puzzles: switch svn for git, as upstream has done the sameAlexander Kanavin
Also, drop puzzles_x32_abi_time.patch as it has been merged upstream Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-16tremor: update to 20150107 (svn r19427)Alexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-16quilt: fix the deps for ptestMaxin B. John
quilt ptest requires getopt and perl-module-overloading. [YOCTO #8062] Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-16curl: upgrade to 7.44Maxin B. John
Bump to version 7.44 Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-16libpfm4: Fix GNU_HASH warning.Noor
* Add a patch which updated add LDFLAGS variable to SLDFLAGS in Makefile. Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-16screen: Upgrade 4.0.3 -> 4.3.1Jussi Kukkonen
* License is now GPLv3+ * Remove patches that are already in upstream or not applicable anymore * Add a patchset to enable cross-compiling 4.3.1 (modified from http://savannah.gnu.org/bugs/?43223) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-16glibc: Package libmvec when builtKhem Raj
libmvec is new library in glibc 2.22 and currently turned on by default on x86_64. this helps in packaging it properly when its generated Fixes warning like WARNING: QA Issue: nativesdk-glibc: Files/directories were installed but not shipped in any package: /usr/local/oecore-x86_64/sysroots/x86_64-angstromsdk-linux/lib/libmvec-2.21.90.so Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. [installed-vs-shipped] Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-16glibc: Upgrade 2.21 -> 2.22Khem Raj
- git'ify the OE patches - add_resource_h_to_wait_h.patch - dropped, we do not support that old perf anymore - mips-rld-map-check.patch - Dropped because binutils is fixed for it see https://sourceware.org/ml/binutils/2011-12/msg00112.html - initgroups_keys.patch - Folded into 0026-eglibc-Forward-port-eglibc-options-groups-support.patch Change-Id: Ib8e731b212f52b8ff12e2180babbc19970fb1ef1 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-16openssh: Upgrade 6.8p1 -> 6.9p1Jussi Kukkonen
6.9p1 is primarily a bugfix release. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-16apmd: update to 3.2.2-15Alexander Kanavin
This basically means replacing a "-14" Debian patch with "-15" patch. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-16blktool: update to 4-7Alexander Kanavin
This means replacing a "-6.1" Debian patch with "-7" patch. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>