summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-11-10webkitgtk: fix build with ICU 68.1nextRoss Burton
ICU 68.1 doesn't expose TRUE/FALSE macros anymore, so backport a patch to fix the build from upstream. Signed-off-by: Ross Burton <ross.burton@arm.com>
2020-11-10poky-tiny: enable section removalSinan Kaya
Use GCC sections flags so that unused sections can be garbage collected at link time. (From meta-yocto rev: 2593b6a3cb3f6fe41affd6ec7c58659b5c50ae38) Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10poky/conf-notes.txt: mention more important images than just satoAlexander Kanavin
(From meta-yocto rev: c9321f75f1f830d5a3f2831f4cbdbffdcbc82bf0) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10overview-manual-concepts: Fix the compiler bootstrap processRichard Purdie
gcc-cross-initial and glibc-inital were removed a while ago and this flow is incorrect anyway. Fix it to match what happens (adding libgcc and libgcc-initial which are now important in this context). (From yocto-docs rev: 047bff2b79c7742abc19d549b78c175dd3b5a8f5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10libical: backport a patch to fix build with ICU 68.1Ross Burton
(From OE-Core rev: 23a6742e2837161ab141349ea28a212e0e5cd2bf) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10openssl: Add c_rehash to misc package and add perl runtime dependencyFederico Pellegrin
The following changes since commit f075071761172c69f8ae2be5868d51ef9ef646e7: conf: update for release 3.2 (2020-11-09 13:16:13 +0000) are available in the Git repository at: git://push.yoctoproject.org/poky-contrib fedepell/bug14083 Federico Pellegrin (1): openssl: Add c_rehash to misc package and add perl runtime dependency c_rehash implemented in perl is back (in history was moved to shell for some time), so handle it inside the -misc package so just that one will carry the heavy runtime dependency on perl and not the whole openssl package. Note: in misc there were already before a few perl files (tsget.pl and CA.pl) so the added perl dependency will fix those too. [YOCTO #14083] (From OE-Core rev: dfd7951e686ce5d30894b2cb573498daf2133e61) Signed-off-by: Federico Pellegrin <fede@evolware.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10add new extrausers command passwd-expireJoseph Reynolds
This enhances extrausers with a new passwd-expire command that causes a local user's password to be expired as if the `passwd --expire` command was run, so the password needs to be changed on initial login. Example: EXTRA_USERS_PARAMS += " useradd ... USER; passwd-expire USER;" Tested: on useradd accounts When configured with Linux-PAM, console login prompts for and can successfully change the password. OpenSSH server works. Dropbear SSH server notes the password must be changed but does not offer a password change dialog and rejects the login request. (From OE-Core rev: c7f72a0be7a3bafffa1b05b2bf743fd59628a339) Signed-off-by: Joseph Reynolds <joseph-reynolds@charter.net> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10iproute2: upgrade 5.8.0 -> 5.9.0zangrc
0001-devlink.c-add-missing-include.patch Removed since this is included in 5.9.0. (From OE-Core rev: 261c357173e8922515ae21c9003aabd3f67926cd) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10python3: Update manifestAlejandro Hernandez Samaniego
Update the python3-manifest to match the files installed by the new version of python3. - Kept tkinter the way it was although tk isnt part of OE-Core - Made typing part of python3-core - Update other packages with new dependencies such as filecmp and dataclasses. (From OE-Core rev: 274caae98a15072ca88f5d6bbac67a6610d3cbb4) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10wayland-utils: introduce a recipeAlexander Kanavin
wayland-utils contains wayland-info utility which deprecates and replaces weston-info from weston. (From OE-Core rev: 9fbfd1597625137db401af66c9f0753c1ca808e2) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10weston-init: fall back to fbdev under x32Alexander Kanavin
Otherwise, there's a crash in swrast - the same issue as with X11. (From OE-Core rev: b10777d6be27f5d8546b354a4abdba65889b1051) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10weston-init: correctly start under systemdAlexander Kanavin
Several issues are addressed: 1. weston requires pam when starting under systemd 2. systemd was attempting to launch weston twice (from sysvinit script and from systemd unit file) which caused confusion and errors. 3. runtime test should stop/start weston via systemd only if systemd actually controls system startup, not merely when systemd is present. (From OE-Core rev: 9a5eae1eb6b7c2b8080ed0c84d994cfc3520cc8a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10conf-notes.txt: mention more important images than just satoAlexander Kanavin
(From OE-Core rev: 035fc18943db6162c7c4c7f9c3af8b84d4fb9989) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10icu: upgrade 67.1 -> 68.1zangrc
-License-Update:The address changes are as follows: # Project: http://code.google.com/p/lao-dictionary/ # Dictionary: http://lao-dictionary.googlecode.com/git/Lao-Dictionary.txt # License: http://lao-dictionary.googlecode.com/git/Lao-Dictionary-LICENSE.txt (From OE-Core rev: d15b7de0f97fe86399ae488f60ccd78ca05ce381) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10musl: Update to latest masterKhem Raj
fix erroneous pthread_cond_wait mutex waiter count logic due to typo https://git.musl-libc.org/cgit/musl/log/?qt=range&q=27b2fc9d6db956359727a66c262f1e69995660aa..d91a6cf6e369a79587c5665fce9635e5634ca201 (From OE-Core rev: d0dc3a1f1a2bebe3d7d9b441bdb3819101479cd6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10gcc: Handle duplicate names for variablesKhem Raj
PREFIXVAR is defined in cppdefaults.c as well which shows up as error when LTO is enabled to build gcc, therefore rename the one instance to PREFIXVAR1 (From OE-Core rev: 5c9093a2a0e4374b12b18f04f79bd817af42b208) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10lto.inc: Disable LTO for perfKhem Raj
perf invokes kernel sources, and currently fails in multiple places for now therefore disable LTO for perf (From OE-Core rev: d35a19bf9a5d9067a1685b9bc0ebf8ba1f8a3992) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10puzzles: Check for excessive constant argumentsKhem Raj
Fixes an issue found with LTO builds (From OE-Core rev: 9ff497b6affa7c24f5ea146b86bea4b256de9f10) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10gcc: Do no parameterize LTO configuration flagsKhem Raj
These flags are redundant as LTO now enabled in GCC by default for sometime, Moreover, dropping LTO variable here avoids a conflict with global LTO variable being added for distrowide LTO support (From OE-Core rev: 2ac5da10b59744373f22037ef35db0dff924bf29) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10lto.inc: Disable LTO for xserver-xorgKhem Raj
It ends up with undefined symbol when LTO is enabled Fixes test/xi2/protocol-xiquerydevice.c:345: undefined reference to `GrabButton' (From OE-Core rev: 721ce07bc4cff50681643d3a11a8ad18aeff654d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10weston: Fix linking with LTOKhem Raj
weston uses --no-undefined option during linking which does not work with LTO therefore override it with -z undefs when lto is enabled in distro (From OE-Core rev: 1c600208c7ed4114efa45173c7ab363265792bb7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10libaio: Disable LTOKhem Raj
Libaio uses ASMs to implement symbol versioning which does not work with LTO (From OE-Core rev: 81fd3886b8d18ffb18e51ef6af4b5f2e9fbb6caf) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10lto: Introduce LTOEXTRA variableKhem Raj
Certain packages may need additional flags to enable LTO, therefore LTOEXTRA can be used to pass those flags Add -flto-partition=none for alsa-lib (From OE-Core rev: ac95676bea8fdf444d385188d53624e830876845) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10lto.inc: Add -ffat-lto-objects and -fuse-linker-pluginKhem Raj
This helps to improve LTO and ensure the libs can be linked with non-LTO objects too (From OE-Core rev: 350c96e7b88cdc2882fe09d26f996558834261f0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10python3: Enable lto if its in DISTRO_FEATURESKhem Raj
python3 configure compiles on object file and then greps for strings in it for endianness for target ,when using LTO the .o files are not nomal ELF onjects so this test fails, since we are using --enable-lto to enable this here we dont need to inject extra paths via bitbake anyway therefore reset LTO variable for target (From OE-Core rev: 59eac4fa92bc62101c49981b5ee869ae91ce94b3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10lto: Add global LTO distro policy fileKhem Raj
Distros which want to enable LTO can utilize this file, it only covers packages from OE-Core, other layers should include there own exclusion list for recipe which dont work with LTO Document the needed changes in local.conf.extended (From OE-Core rev: ff33341301c6b3f83a49d6fb2507b1cd82a16f75) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10package management: Allow dynamic loading of PMFredrik Gustafsson
Dynamic loading of package managers will allow other layers to simply add their package manager code in package_manager/ and have bitbake find it according to the package manager configuration. This is useful for adding new (faster) package managers to Open Embedded while not increasing the test scope or require Open Embedded to support more package managers. How this is tested: * Build core-image-minimal with all three package managers * Build the sdk with all three package managers. dpkg fails, but it fails on master as well. * Run the complete test suite, all tests passed except 16 * Run those 16 tests on master and verify that they fail there as well * Fix errors making tests works on master but not with this patch. (From OE-Core rev: e4bb9b4837314a3127aee6dcdaa15866b400f48b) Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10bitbake: tests/arg_parser: add test for default TinfoilConfigParameters 'ui'Chris Laplante
(Bitbake rev: 07fac681f2a4318d1feac383b0212afb7db35221) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10bitbake: tinfoil: use knotty module itself as default 'ui' arg to keep up ↵Chris Laplante
with changes in setup_bitbake (Bitbake rev: ac82be87b42a6b10ee61f9444e834ca3da37042c) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10bitbake: main: fix parsing of intermixed argumentsChris Laplante
use parse_known_args instead of parse_args. Otherwise, argparse incorreclty interprets (for example) 'bitbake -S none world'. (Bitbake rev: 8f1216fe845b737d103c460e235b34a4e55f83a1) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10bitbake: tests/arg_parser: add test for lazy loading of bb.ui modulesChris Laplante
Ensures bb.ui modules are loaded lazily during construction of the 'bitbake' argument parser. (Bitbake rev: ec61926165bc5ad0898676181a95638324f54954) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10bitbake: main: rename list_extension_modules => load_extension_modules to ↵Chris Laplante
clarify its function Also clearly document in docstring that it is the modules themselves that are returned. (Bitbake rev: 5a7531fc52e8050114fc21602ef3a90d02914b6f) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10bitbake: main: group --help options to make them easier to readChris Laplante
(YOCTO #12018) (Bitbake rev: 223d33ca15aea9b98fead447a8acea13db56d085) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10bitbake: main: migrate from optparse to argparseChris Laplante
Modernizes the argument parsing code and opens the door to grouping the options (e.g. YOCTO #12018). (Bitbake rev: 7cfdc9a0df35ddc172a76439ace1dbc1bff1cc3b) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10bitbake: tests/arg_parser: add test for 'bitbake -S none world'Chris Laplante
(Bitbake rev: 33afa36d1f783e7a99e5b10e5384292490bd6926) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10bitbake: tests/arg_parser: add stub for testing arg parsingChris Laplante
(Bitbake rev: 05ab06e8d5292e0da445fc2b387e7feb09fa2665) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10bitbake: cookerdata: tweak to avoid mutable default argumentChris Laplante
(Bitbake rev: 36ee858415866a122784b05f06e2af0c92dfcafd) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10bitbake: bb.ui: delete __init__.py to make bb.ui a namespace packageChris Laplante
This would permit creation of third-party UI modules without having to incorporate them directly into BitBake, with BitBake able to automatically discover them in the same way it finds its built-in UIs. See https://packaging.python.org/guides/packaging-namespace-packages/ (Bitbake rev: 991f92b4d15b0571b6a540964e5216d1b9728539) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-10bitbake: main: extract creation of argument parser into function so it can ↵Chris Laplante
be utilized externally, e.g. by unit tests (Bitbake rev: 9599059672cc4ae88ba212e34336e0325d37bd75) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-09conf: update for release 3.2Nicolas Dechesne
switchers.js: * add 3.2 release * update 'dev' to 3.3 (From yocto-docs rev: f8b5e11bf31f2df9d86abfa5f7fcf7f3d66a4f85) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08bitbake: BBHandler: prompt error when task name contain expressionLee Chee Yang
Task name contain expresion (eg, do_foo_remove_bar) can cause fatal error. Check for naming before addtask. Prompt with understandable error message when expression found in task name. [YOCTO #8805] (Bitbake rev: 5b4a5bb0960386f9c524c220e43a16e60e38964d) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08grub: clean up CVE patchesYongxin Liu
Clean up several patches introduced in commit 6732918498 ("grub:fix several CVEs in grub 2.04"). 1) Add CVE tags to individual patches. 2) Rename upstream patches and prefix them with CVE tags. 3) Add description of reference to upstream patch. (From OE-Core rev: bcb8b6719beaf6625e6b703e91958fe8afba5819) Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08webkitgtk: fix build with x11 enabledMartin Jansa
(From OE-Core rev: e060925735a274164b43db5eb70af29ebf2b046e) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08webkitgtk: fix opengl PACKAGECONFIGMartin Jansa
* ENABLE(OPENGL) was renamed to ENABLE(GRAPHICS_CONTEXT_GL) in r254064: https://github.com/WebKit/webkit/commit/92f9916b4a0d799c3f7be10b69aa53f40a149a2d and https://github.com/WebKit/webkit/commit/b3cb3ba4fa713e23ae27b2a79c14c6735d40d671 but AUH doesn't notice that and builds without opengl in DISTRO_FEATURES are now failing with: | CMake Error at Source/cmake/OptionsGTK.cmake:323 (message): | Either OpenGL or OpenGLES2 is needed for ENABLE_GRAPHICS_CONTEXT_GL. | Call Stack (most recent call first): | Source/cmake/WebKitCommon.cmake:58 (include) | CMakeLists.txt:173 (include) (From OE-Core rev: 82ac2a91ea6adc33f2f10634fe0a3f1ad4d12e66) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08dhcpcd: upgrade 9.3.1 -> 9.3.2Yi Zhao
(From OE-Core rev: daddb89daf8c1048375cd2102b9819f8f1c2e41c) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08dhcpcd: install dhcpcd to /sbin rather than /usr/sbinYi Zhao
The dhcpcd path is hardcoded to /sbin in ifupdown package. Move dhcpcd from /usr/sbin to /sbin to make sure ifup/ifdown can find it when dhcpcd as the dhcp client backend. (From OE-Core rev: ed7cdf95f1dcb3df6e954551f9578a8ac15f2795) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08rt-tests: Enable only for x86/ppc64 architecturesKhem Raj
It needs frc() implementation for oslat, this is new tool added to rt-tests recently, and there is no easy knob to configure it out at present (From OE-Core rev: 44010756b0ae91e0ac7715b7840285d59f991141) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08clutter-gst-3.0: do not call out to host gstreamer plugin scannerAlexander Kanavin
This is host contamination and can also fail for all kinds of reasons when running under usermode qemu. (From OE-Core rev: fb60d0920b660dffb346b2212dc6f8ba2a0b9fde) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08systemd: selinux hook handling to enumerate nexthopPurushottam choudhary
When selinux is enabled, the call of manager_rtnl_enumerate_nexthop() fails. This fix is to facilitate selinux hook handling for enumerating nexthop. In manager_rtnl_enumerate_nexthop() there is a check if "Not supported" is returned by the send_netlink() call. This check expects that -EOPNOTSUPP is returned, the selinux hook seems to return -EINVAL instead. This happens in kernel older than 5.3 (more specificallytorvalds/linux@65ee00a) as it does not support nexthop handling through netlink. And if SELinux is enforced in the order kernel, callingRTM_GETNEXTHOP returns -EINVAL. Thus adding a call in the manager_rtnl_enumerate_nexthop for the extra return -EINVAL. Note: systemd version is different in yocto project (v246.6) and systemd master(v247) and In systemd verison(246.6) mac_selinux_enforcing() function is not declared and defined. (From OE-Core rev: c521df3f0a86521ce78fd5c057293b2c242fba79) Signed-off-by: Purushottam choudhary <purushottam.choudhary@kpit.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08cml1.bbclass: Handle ncurses-native being available via pkg-configNathan Rossi
The linux kernel will by default use pkg-config to get ncurses(w) paths, falling back to absolute path checks otherwise. If the build host does not have ncurses installed this will fail as pkg-config will not search the native sysroot for ncurses. To more all kernel/kconfig sources, inject the equivalent native pkg-config variables similar to what is done by the pkg-config-native script. This only affects the menuconfig python task itself and the oe_terminal call inside it. (From OE-Core rev: abb95c421bb67d452691819e3f63dabd02e2ba37) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>