summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-11-19devtool: fix devtool upgrade with reproducible_builds classpaule/devtool-rb-fixPaul Eggleton
If the reproducible_build class is inherited then there may be a "source-date-epoch" subdirectory in a fetched source tree; devtool upgrade was not expecting that in the upgraded source. Take a small snippet of code from recipetool create which already handles this, and make it a shared function that can be used in both places. Additionally, fix an assumption that the source is always in a subdirectory in the cleanup code that blocked debugging this. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2019-11-19poky: Default to reproducible buildsRichard Purdie
(From meta-yocto rev: d3fcde8f890ddb896267f44429c64f206fac1e9c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19bitbake: fetch2/clearcase: Fix warnings from python 3.8Richard Purdie
bitbake/lib/bb/fetch2/clearcase.py:148: SyntaxWarning: "is" with a literal. Did you mean "=="? if command is 'mkview': bitbake/lib/bb/fetch2/clearcase.py:155: SyntaxWarning: "is" with a literal. Did you mean "=="? elif command is 'rmview': bitbake/lib/bb/fetch2/clearcase.py:159: SyntaxWarning: "is" with a literal. Did you mean "=="? elif command is 'setcs': Python 3.8 is quite correct and we so mean "==" here, fix it to avoid the warnings. (Bitbake rev: 1fab03f6e10eaa13b8a89ce0b2f9fe8ce5157189) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19bitbake: utils: also use mmap for SHA256 and SHA1, for performanceRoss Burton
md5_file() uses a mmap() window to improve performance when hashing files, so refactor the code and do the same for SHA1 and SHA256. (Bitbake rev: ecf87437ff796e17c3e4f210b5803b0136a9e8a4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19bitbake: tests: add test for the hashing functionsRoss Burton
Add a basic test for bb.utils.md5_file() etc. (Bitbake rev: e944d02fe678f7c6b05c62419f8bceb0709f3037) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19glib-2.0: upgrade 2.62.1 -> 2.62.2Anuj Mittal
(From OE-Core rev: b1a14b7fef6c300fa6be35c81e9d8832a5ff75b0) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19stress-ng: upgrade 0.10.08 -> 0.10.10Anuj Mittal
(From OE-Core rev: ac16fbfaef644a3d9186af7eac9b791d8cb40745) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19sqlite3: upgrade 3.30.0 -> 3.30.1Anuj Mittal
(From OE-Core rev: 7f52b67726987228eb3e2c60be143fe3a083d615) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19libsolv: upgrade 0.7.6 -> 0.7.8Anuj Mittal
(From OE-Core rev: a00c6f1a5c2c56882684c2cf053de658a02a721d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19harfbuzz: upgrade 2.6.1 -> 2.6.4Anuj Mittal
(From OE-Core rev: 73be54ba07a8af7dd7d5e11f1717ed085d6b708c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19rng-tools: upgrade 6.7 -> 6.8Anuj Mittal
(From OE-Core rev: 96ab34c5dcecd0da74c2c5cde18429cd558e7433) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19webkitgtk: Remove clang specific optionKhem Raj
This should be no longer needed. if needed then meta-clang might be better suited (From OE-Core rev: 3b5dab6ff22e210de13726947338d5cc3f41d1de) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19selftest: check that 'devtool upgrade' correctly drops backported patchesAlexander Kanavin
There was a regression in this functionality that went unnoticed due to lack of tests. (From OE-Core rev: f6c6be089231d35caa3432f1cf250fdce50dfe84) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19cairo: the component is dual licensedAlexander Kanavin
Somehow, over the years, no one noticed that cairo does in fact offer a choice between mpl and lgpl, but the COPYING makes it clear: https://gitlab.freedesktop.org/cairo/cairo/blob/1.16/COPYING (From OE-Core rev: b5e6950869661bb35992a22953261cbd689332df) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19cve-check: fetch CVE data once at a time instead of in a single callRoss Burton
This code used to construct a single SQL statement that fetched the NVD data for every CVE requested. For recipes such as the kernel where there are over 2000 CVEs to report this can hit the variable count limit and the query fails with "sqlite3.OperationalError: too many SQL variables". The default limit is 999 variables, but some distributions such as Debian set the default to 250000. As the NVD table has an index on the ID column, whilst requesting the data CVE-by-CVE is five times slower when working with 2000 CVEs the absolute time different is insignificant: 0.05s verses 0.01s on my machine. (From OE-Core rev: de98a3a2ef5b42d15fccd7ea734577eaa00c85b4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19cve-check: neaten get_cve_infoRoss Burton
Remove obsolete Python 2 code, and use convenience methods for neatness. (From OE-Core rev: d29b3e269672b96fbcf3ca1554f9ea1f6ae60700) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19cve-check: rewrite look to fix false negativesRoss Burton
A previous optimisation was premature and resulted in false-negatives in the report. Rewrite the checking algorithm to first get the list of potential CVEs by vendor:product, then iterate through every matching CPE for that CVE to determine if the bounds match or not. By doing this in two stages we can know if we've checked every CPE, instead of accidentally breaking out of the scan too early. (From OE-Core rev: fd38d6f4496488cdff9f1cac1e3deac8411475a2) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19cve-update-db-native: clean up proxy handlingRoss Burton
urllib handles adding proxy handlers if the proxies are set in the environment, so call bb.utils.export_proxies() to do that and remove the manual setup. (From OE-Core rev: 35a38aeae8798216ad40b4c7372b14518fa32c24) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19cve-update-db-native: add an index on the CVE ID columnRoss Burton
Create an index on the PRODUCTS table which contains a row for each CPE, drastically increasing the performance of lookups for a specific CVE. (From OE-Core rev: cbf4487c4695d97b4e778d53435e734316827f3b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19cve-update-db-native: don't hardcode the database nameRoss Burton
Don't hardcode the database filename, there's a variable for this in cve-check.bbclass. (From OE-Core rev: 5b34da4b804ba48f5cfdebbbb3ad46236f91862f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19sysstat: upstream version check is working againAlexander Kanavin
As upstream has released a new stable version, the exception is no longer needed. (From OE-Core rev: 565b492e22a871bad0e25259f8722d5ac61b7b8c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19vala: upgrade 0.46.3 -> 0.46.4Alexander Kanavin
(From OE-Core rev: 57d78d047c76be82a98d01a1378a2258f7f8d971) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19mpg123: upgrade 1.25.12 -> 1.25.13Alexander Kanavin
(From OE-Core rev: 411b619711e941e2e3683dada4519db9ae10f0fe) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19Revert "devtool/standard.py: Not filtering devtool workspace for devtool finish"Alexander Kanavin
This reverts commit 41d225f4a37d02e9f79bdbfb79caac8cd3d291ce. Unfortunately this change broke 'devtool upgrade' functionality, causing 'devtool finish' to write out an upgraded recipe that no longer includes the original upstream source in SRC_URI. (From OE-Core rev: 34005d6ce75e554eaa4b556ae866acd5a55e7bd7) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19libxslt: update to 1.1.34Alexander Kanavin
Drop backported patches. (From OE-Core rev: 1e81ba94a45078e4c9b26c3d17cdce859e23a767) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19psmisc: update to 23.3Alexander Kanavin
(From OE-Core rev: dfb94905a3f61f53da49489597c34ff7809d4dff) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19btrfs-tools: upgrade 5.3 -> 5.3.1Alexander Kanavin
(From OE-Core rev: 8692d0f134919d746617109183973172d978afc9) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19librepo: upgrade 1.10.6 -> 1.11.0Alexander Kanavin
(From OE-Core rev: b3c590acbc46f7a5f66b8f3d0daf43bfa3d977ee) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19tiff: update to 4.1.0Alexander Kanavin
Drop backported patches. (From OE-Core rev: e8075c4ccb5bebc162cf04bc6ec4f96f464744bf) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19oe-selftest: extend virgl gtk test to also check the SDL optionAlexander Kanavin
(From OE-Core rev: 9854fac64e7126add489816dae5b7a7bd458a7f7) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19runqemu: add options that enable virgl with the SDL frontendAlexander Kanavin
(From OE-Core rev: 217a4dd862281d053a18a3cdbc34fd11f3d6a48c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19python: update to 2.7.17Alexander Kanavin
Drop backports, rebase a couple of patches. This is the second last release of py 2.x; upstream support ends on 1 January 2020, there will be one final 2.x afterwards. Note that the only thing that still needs python 2.x in oe-core is u-boot; when the next u-boot update arrives, we should find out where the py3 migration is for that component before merging the update. (From OE-Core rev: 3de8f8b31378dabd58b8be927a4e5a4a36bafb58) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19recipetool/create: Fix to work with reproducible_buildsRichard Purdie
The extra diretory created by reproducibile_builds was confusing recipetool and hence devtool. Ignore this directory to restore the correct behaviour and allow it to work with the class. (From OE-Core rev: 21e6d85f117cf4e3ddfaebad2a46754beb4c30bd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19oeqa/devtool: Avoid unbound variable errorsRichard Purdie
inherits can be unset resulting in: UnboundLocalError: local variable 'inherits' referenced before assignment which can mask real errors. Avoid this. (From OE-Core rev: edade24ff202254df905d5a23accc7160f12e7ed) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19bind: Whitelist CVE-2019-6470Adrian Bunk
(From OE-Core rev: 3c9a0e50947066ef8326914281faa3e005f2ce6a) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19cdrtools-native: Don't set uid/gid during installPaul Barker
This is a native recipe so won't be installed as root. If the string 'root' is part of the username then the install script can get tricked into thinking we are root (regardless of the actual uid or permissions) resulting in attempts to run chown/chgrp inappropriately. (From OE-Core rev: be8e3f6a63b7c7eddf8e3ab1681e651ab62d31a5) Signed-off-by: Paul Barker <paul@betafive.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19/oeqa/manual/compliance-test: remove obsolete testArmin Kuster
ltpstress was removed in Oct 2018 https://github.com/linux-test-project/ltp/commit/e752f7c19674d9b2f7d37aed123561a3f6410e97#diff-5231627fc8640e0adb955f9e69c3c08d Remove LTP stress tests ltpstress.sh runs stress.part[1-3]. But these runtest files just duplicate definitions: * stress.part1: fs, mm, nfs * stress.part2: ipc, math, nptl * stress.part3: net.multicast, pty, syscalls The definitions are outdated anyway. There is no point trying to keep them sync. (From OE-Core rev: ce99bad3071007ff527632abb1833aaf1b23b4ad) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19oeqa/manual/compliance-test: move crashme to runtimeArmin Kuster
[v3] remove fork12 from crashme. runs forever missed in v2 resend (From OE-Core rev: 6010d0f716eab97380007a50e1729689a8d2e28a) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19oeqa/manual/compliance-test: remove crashme testsArmin Kuster
(From OE-Core rev: 6853c1e8ab09aef7c5024fada494bb27cf0b8035) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19manual/bsd-hw: remove bash testsArmin Kuster
done as part of IncompatibleLicensePerImageTests (From OE-Core rev: 356ce0c2a96f9515eb1ebc765f354877632bd7ea) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19oeqa/manual/bsp-hw: remove usb and SDmicro testsArmin Kuster
(From OE-Core rev: 7e16ee25db0ba2f2c058b689ed69f59e0d764ee8) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19oeqa/manual/bsp-hw: move storage tests to runtimeArmin Kuster
move usb mount, r/w and umount tests to runtime move SD card mount, r/w and umount tests to runtim (From OE-Core rev: e5030aa6aea491602ab3930a0081d0f1cf23a4c6) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19oeqa/manual/bsp-hw: remove reboot testArmin Kuster
(From OE-Core rev: 94b946e7ca3672c5f513751bbbfaa9e75f37ca28) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19oeqa/runtime/boot: add reboot testArmin Kuster
(From OE-Core rev: 93c6b88ea52ecd8a0d4beba5bf0aab0d6aac3db2) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19oeqa/manual/bsp-hw: remove rpm -ivh testArmin Kuster
done via runtime def test_rpm_install(self): (From OE-Core rev: cbd63cc4f77b07558eb60966793e11ac8083bc11) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19boost: fix build for x32Anuj Mittal
Commit: d336110b94 boost: update to 1.67.0 dropped the patch that ensured boost doesn't over-ride the architecture flags set by us resulting in errors: | build/tmp/work/x86_64_x32-poky-linux-gnux32/boost/1.69.0-r0/recipe-sysroot/usr/include/bits/long-double.h:44:10: fatal error: bits/long-double-64.h: No such file or directory | #include <bits/long-double-64.h> | ^~~~~~~~~~~~~~~~~~~~~~~ | compilation terminated. Remove the relevant part from gcc.jam again to ensure we are passing them correctly again. Fixes [YOCTO #13598] (From OE-Core rev: 71781c6c30aa8152c7c21fd38862d4d2b4202e63) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19mesa: Upgrade to 19.2.4Alistair Francis
Upgrade mesa and mesa-gl to 19.2.4. The license hash change was a trivial new line removal. The glx-tls option was removed as it isn't included in the meson.build file. It has been replaced with 'use-elf-tls' instead. I have backported the asm removal as an attempt to fix the musl build issue. (From OE-Core rev: 42671204ede483873379ecbf36b80f9a35118d21) Signed-off-by: Alistair Francis <alistair@alistair23.me> Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19wic: rm with -r flag supportChee Yang Lee
wic currently unable to remove non-empty directory in ext* partition. enable wic rm to remove non-empty directory and all the sub-content with -r flag. update help documents for 'wic rm'. [YOCTO #12404] (From OE-Core rev: 24a6b85ee7cb9de8900eb5cda9a7af4aee67be28) Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19selftest/wic: test wic rm with -r flagChee Yang Lee
selftest to make sure wic rm with -r flag for ext partition could remove directory and all its content. (From OE-Core rev: 3fa312d766559f683ec11cf1107a8f8b4bfa875c) Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-19systemd: remove ${PN}-xorg-xinitrcKai Kang
In 50-systemd-user.sh which is packaged to sub-package ${PN}-xorg-xinitrc, it exports environment variables DISPLAY and XAUTHORITY to systemd. It fails to start systemd services which require these environment variables such as thunar.service: root@qemux86-64:~# systemctl --user status thunar ● thunar.service - Thunar file manager Loaded: loaded (/usr/lib/systemd/user/thunar.service; disabled; vendor preset: enabled) Active: inactive (dead) Docs: man:Thunar(1) Nov 14 07:47:29 qemux86-64 systemd[352]: Starting Thunar file manager... Nov 14 07:47:29 qemux86-64 Thunar[873]: cannot open display: Nov 14 07:47:29 qemux86-64 systemd[352]: thunar.service: Main process exited, code=exited, status=1/FAILURE Nov 14 07:47:29 qemux86-64 systemd[352]: thunar.service: Failed with result 'exit-code'. Nov 14 07:47:29 qemux86-64 systemd[352]: Failed to start Thunar file manager. It is not convenient to make all such kind of packages require package ${PN}-xorg-xinitrc, so remove the sub-package and merge the only file provided by it to main package. No recipe depends on ${PN}-xorg-xinitrc in oe-core and meta-openembedded now, so no need to set rprovides for it. (From OE-Core rev: 19174717c59ca48d0ffdeca367694fc49cc85039) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>