summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-12-04fixup kmeta reduxpaule/devtool31aPaul Eggleton
2017-12-04fixup devtool kernel testPaul Eggleton
2017-12-04fixup kmetaPaul Eggleton
2017-12-04oe-selftest: devtool: add test for multiple source treesPaul Eggleton
Add two synthetic tests for devtool modify + devtool finish: first with multiple source trees side-by-side, and second to test with one as a subdirectory of the main source tree. These also test devtool finish's recently added dry-run option as well as that it picks up uncommitted changes (also a recent improvement). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2017-12-04devtool: fix handling of linux-yocto after multisrc changesPaul Eggleton
If the kernel metadata repository has been set up by devtool modify along with the source, we need to ensure it isn't overwritten and it can be found by the kernel git tools. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2017-12-04devtool: support extracting multiple source treesPaul Eggleton
If you have multiple source trees being extracted to the work directory within a recipe (e.g. you have two tarballs referred to in SRC_URI) and one isn't being extracted into the other, then devtool failed to extract all the sources because it only took the source tree that S pointed into. To fix this, we need to take a look at the work directory after do_unpack and see if there are any additional subdirectories; if so we need to put the main source tree in a subdirectory and put the additional subdirectories next to it. We also ensure that symlinks from the work directory get created at the end of do_unpack to point to these (so that references in the recipe continue to work). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2017-12-01lib/oe/recipeutils: allow patch_recipe_file() to be re-calledPaul Eggleton
If patch_recipe_file() is called with output redirection on the same file twice in succession, then we don't want to wipe out the changes the first call made so we need to be reading in the redirected file if it exists instead of the original one. This is important to enable devtool finish to work with multiple source trees within the same recipe. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2017-12-01devtool: modify: pick up commits from previously created source treePaul Eggleton
If you use devtool modify, then devtool reset, keep the source tree and then devtool modify on the same recipe with the -n option to re-use the existing source tree, we should pick up the commit hashes properly from the source tree so that later on devtool finish has these to compare to the commits in the tree at that time. We also need to be careful the second time around that we only get the original commits rather than the current HEAD which may be the result of user changes (hence using "devtool-patched", the tag that was placed at the original HEAD). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2017-12-01devtool: extract: fix usage with kern-tools-nativePaul Eggleton
The kern-tools-native recipe as it currently stands is unusual in that it fetches source from a repository but sets S = "${WORKDIR}" which causes some problems. First you get a failure because we're calling "git commit" unconditionally even if there are no local files, and there aren't any in this case which means the commit fails. After that's fixed, we hit another problem where "recipe-sysroot-native" subdirectory appears in the extracted source tree. We don't want that so exclude it from copying. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2017-12-01lib/oe/recipeutils: add .txz extension to archive listPaul Eggleton
Prompted by bitbake commit 2ba8a6b25ccc12e7b543e8450121e5311c7a701d, add .txz to the list of archives used within get_recipe_local_files() here as well. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2017-12-01revert broken check patchPaul Eggleton
2017-12-01classes/patch: remove unused variablePaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2017-12-01devtool: extract: check the repository and error out if not presentPaul Eggleton
If a bug is present it's possible that the source tree is not a git repository and thus if we tried to perform git operations (such as committing or changing branches) when extracting source, then we might in fact be running those operations on the metadata repository if the build directory is underneath, say, poky or OE-Core, and that could make a mess. Check if the source tree is a git repository and refuse to continue if it isn't. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2017-12-01devtool: deploy-target: don't specify ssh/scp port unless user doesPaul Eggleton
If the user doesn't specify a port then we should avoid specifying one on the ssh/scp command line in case the user has configured one for the host they are connecting to, which was being overridden unnecessarily. Fixes [YOCTO #12381]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2017-12-01devtool: finish: fix erroneously creating bbappend for relative pathsPaul Eggleton
After OE-Core rev 5e3fe00a0233d563781849a44f53885b4e924a9c we call os.path.abspath() on the original layer path, but we later compare that to the destination layer path. If that layer path isn't absolute but is effectively the same path, it should be writing to the original recipe but because we weren't making it absolute we were writing a bbappend instead. Call os.path.abspath() on the destination path as well to avoid that. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2017-12-01devtool: reset: delete bbappend file if _check_preserve() doesn'tPaul Eggleton
If the .devtool_md5 file doesn't contain a reference to the bbappend file (e.g. because devtool was interrupted before it could write that out) then _check_preserve() won't delete it, so we need to delete it separately because otherwise the recipe won't actually be reset. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2017-12-01devtool: refactor return for _extract_source()Paul Eggleton
Use a namedtuple to return information to the caller, since I've been expanding that information we should avoid having to change all of the calling code each time. Additionally, it turned out that a bunch of the callers were checking for None being returned in the initial_rev value, but that's no longer possible, so tidy up the calling code. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2017-12-01acpica: drop NATIVE_INSTALL_WORKSPaul Eggleton
This variable hasn't been used in a very long time, no need to be setting it here. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2017-11-30usbutils: remove uclibc-specific patchRoss Burton
This patch is only needed for uclibc, which we don't support in oe-core anymore. (From OE-Core rev: addf309165059a113a6d02ea5fb29a0f495c1485) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30e2fsprogs: remove aclocal/acinclude danceRoss Burton
Upstream has fixed their use of aclocal.m4 vs acinclude.m4, so now we can remove some hacks that were previously required. (From OE-Core rev: 502cdfe3dd5ea3cd70937c92ff1bd8d6faa829eb) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30libxslt: update to 1.1.32Alexander Kanavin
(From OE-Core rev: b515861a16c25b6cc0350812343f08d7d1e384eb) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30harfbuzz: update to 1.7.0Alexander Kanavin
(From OE-Core rev: a9afbccca79a383929020299b50e8582e52664cd) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30icu: update to 60.1Alexander Kanavin
Rebase a couple of patches. LICENSE checksum change due to typo fix. (From OE-Core rev: d4a76a51762d094d6f4fc016c52a6817c7f92637) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30libpciaccess: update to 0.14Alexander Kanavin
(From OE-Core rev: 2fd9c9f19438496b86187d0d0a29f164de1ed0a8) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30expect: update to 5.45.3Alexander Kanavin
(From OE-Core rev: 08bd3f5a3fbd69520dfde8499b22a0fbb5977a80) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30btrfs-tools: update to 4.13.3Alexander Kanavin
(From OE-Core rev: d00e9a20cb38943b4586c8532f94fd40c291faea) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30gnome-desktop3: Update to 3.26.2Alexander Kanavin
Add a patch to disable libseccomp (not currently used in Yocto). (From OE-Core rev: fdbfab3bd75838513ccca0f2b4b65606a3147c4c) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30gstreamer1.0-plugins: disable introspection on mips64Alexander Kanavin
The failure is weird and difficult to diagnoze, so disable the introspection for now: qemu-mips64: error while loading shared libraries: .../recipe-sysroot/usr/lib/libgthread-2.0.so.0: ELF file data encoding not little-endian Note that it shows up only for one specific library (gstaudio), and only on mips64. Introspection data for other libraries is generated just fine. (From OE-Core rev: 4cfe09598c1ec1ffd108acdfd0f4cce1b8688895) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30dtc: update to 1.4.5Alexander Kanavin
Also fix upstream check and disable newly added python2-only bindings (as there is no clear need for them and python 2 is deprecated). Add a backported patch to address format errors when compiling. (From OE-Core rev: 8737b88f0da61af25ab9731acd9f2c3821170cdb) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30glib-networking: update to 2.54.1Alexander Kanavin
(From OE-Core rev: 0b91fc6650de386c672f49b4c8ba1dd9a6cef6f2) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30glib-2.0: update to 2.54.2Alexander Kanavin
LGPL version has been updated from 2.0 to 2.1, adjust the checksums accordingly. Rebase various patches. A few tools have been rewritten from perl (or C) to python, so add a patch that avoids hardcoding the python path in the shebang, and remove previous patching with sed. (From OE-Core rev: eef7883587acc933d6f34b559ec03ff84d18573b) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30libcheck: fix upstream version checkAlexander Kanavin
(From OE-Core rev: 6e23418c69fade223c4a83425865714e901e6da4) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30python3-pycairo: fix upstream version checkAlexander Kanavin
(From OE-Core rev: 3959c7117514ebd6066169b14c260ebba3641a04) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30i2c-tools: fix upstream version checkAlexander Kanavin
(From OE-Core rev: f487aa4cde61751f6dc787315ed7ac86f3ac59ac) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30python-scons: fix upstream version checkAlexander Kanavin
(From OE-Core rev: f7593743ebb9ecb321c436659a0a1b12907282b7) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30oe-core: take UPSTREAM_CHECK_COMMITS into use where possibleAlexander Kanavin
This greatly reduces the amount of recipes for which upstream version check fails: from about 30 to about 8. (From OE-Core rev: bb9066670a6096aa4134bebc84132b4eb3964b6d) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30distrodata.bbclass: make upstream version check more useful for git upstreamsAlexander Kanavin
Specifically: 1) remove +git${SRCPV} stuff from comparison and output; it's just unnecessary clutter; 2) write the commit id of the latest version tag into the output; this saves quite a bit of trouble of manually checking what that commit id is when doing version updates; 3) when UPSTREAM_CHECK_COMMITS is set, ignore the tags altogether; instead check if the latest commit is different to the one we use, and if so, report that the recipe can be updated to said commit (which is also written into the output, as in 2). Multiple recipes are failing the upstream check because they never issue tags, now we can fix them. (From OE-Core rev: 591d57877d3d3e659d78c0ed33f4c515e3f6f8fb) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30sudo: improve reproducibilityJuro Bystricky
Delete various build host references from the internally generated file sudo_usage.h. The references get compiled into executables, which leads to non-reproducible builds. The removed references (configure options) were only used as part of the sudo "usage", and even then only when ran as root. (From OE-Core rev: 090eb9efdb2204673b1d569582813ea8860c8570) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30x11perf: improve reproducibilityJuro Bystricky
Remove build host refeences. (From OE-Core rev: 7eedafd32a24cfdc33d791b2bf5a5d5c36c48e2f) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30grub-efi_2.02.bb: improve reproducibilityJuro Bystricky
Remove several build host references from modinfo.sh files. (From OE-Core rev: 6e4182b7c540e22f25ea8bfd16b0e2b2c8eb9f82) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30libogg: upgrade to 1.3.3Maxin B. John
1.3.2 -> 1.3.3 (From OE-Core rev: 0c5398ae4ff9bb56f6d907708abe6cecaf528ace) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30libnsl2: fix installed-vs-shipped QA issueJackie Huang
Fix the installed-vs-shipped QA issue: | WARNING: libnsl2-1.0.5+gitAUTOINC+dfa2f31352-r0 do_package: QA Issue: libnsl2: Files/directories were installed but not shipped in any package: /usr/lib64/nsl/libnsl.a (From OE-Core rev: 2e6636b23dde2c1b547f98373a2f49e617c37a9f) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30nss: pay attention to CFLAGSJoe Slater
nss ignores CFLAGS so we suggest them via CC. (From OE-Core rev: 95b65eefe7eb001752a37d1015bbf9be63bfd6bb) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30libinput: update to 1.8.4Denys Dmytriyenko
(From OE-Core rev: cf77a7be0209e2121747ba2fbf1622d164fe4c67) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30qemu.inc: let linux-yocto-rt also provide nfs server kernel moduleMing Liu
In case some users want to use linux-yocto-rt as the preferred kernel. (From OE-Core rev: bb0e574d3c74b6cd2d7e41933e0e28c91f0a411b) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30ca-certificates: Add /etc to SYSROOT_DIRSPatrick Vacek
For recipes that depend on native ca-certificates.crt, /etc should be added to the list of directories that automatically populate the sysroot, otherwise the file may not be there. (From OE-Core rev: 355e49e19abb3e729c82a6de46ada8da8a257f58) Signed-off-by: Patrick Vacek <patrick@advancedtelematic.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30lighttpd: update to 1.4.48Alexander Kanavin
Refresh the pcre pkg-config patch. (From OE-Core rev: 01ff1c5929ef9293097da00b810ab94ceaf4a0dd) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30initramfs-framework: add install moduleCalifornia Sullivan
The non-EFI counterpart for installation was previously missing for initramfs-framework. This simply puts the normal install script in the correct location for initramfs-framework to make use of it. Partial fix for [YOCTO #12346]. (From OE-Core rev: f9d7cf30b12cbc5f642a11c0511dc1dc3ccf1aa5) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30initramfs-module-install-efi: update summaryCalifornia Sullivan
Note that this is an installation option for EFI systems. (From OE-Core rev: 366ddd22245a72df4c8e561761c6df8a6654bba6) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-30initramfs-module-install-efi: point to original copy and delete new fileCalifornia Sullivan
There is no need to maintain two of the exact same files. (From OE-Core rev: 49ba882be9e28a51651a543779e6f02d33861393) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>