aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* build-appliance-image: Update to master head revisionRichard Purdie2021-07-201-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildtools-tarball: Add lz4 and ztsd (including pzstd)Richard Purdie2021-07-201-0/+2
| | | | | | | Since we start to require these for builds, we need to include them in buildtools-tarball so that older systems can access them easily. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove redundant ${libdir}/cmake from FILES_${PN}-devRoss Burton2021-07-192-2/+2
| | | | | | | | | Since oe-core 543e39ad "bitbake.conf: handle cmake -dev files packaging with default rules" (June 2018) there's no need for recipes to add ${libdir}/cmake or ${datadir}/cmake to FILES_${PN}-dev themselves. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
* busybox: support mounting swap via labelsRoss Burton2021-07-191-0/+2
| | | | | | | Enable support for swap partitions in the mount-via-label fragment. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
* util-linux: Fix signature of close_range()Khem Raj2021-07-162-0/+63
| | | | | | | | | close_range expects 3 parameters, thus far it was not implemented in glibc so it was hidden but with glibc 2.34+ it will start to show up Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix libseccomp testcase involving __NR_ppollKhem Raj2021-07-162-0/+40
| | | | | | | | Some architectures may not have this syscall Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-rc.d: update SRCREV to pull in fix for non-bash shell supportMarek Vasut2021-07-101-1/+1
| | | | | | | | | | | | This pulls in non-bash shell fix for enable/disable command, upstream commit 8636cf4 ("update-rc.d: Fix enable/disable command"). This way update-rc.d works with e.g. dash shell again. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Changqing Li <changqing.li@windriver.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Disable chfn-chsh on non-target buildsKhem Raj2021-07-101-1/+2
| | | | | | | | | | | | | | | | They are also provided by shadow-native e.g. when building native recipes and packages where they depend on both shadow-native and util-linux-native, this can conflict Enable it only when pam is enabled in distro Fixes ERROR: systemd-1_248.3-r0 do_prepare_recipe_sysroot: The file /usr/bin/chsh is installed by both util-linux-native and shadow-native, aborting Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Fix signature of close_rangeKhem Raj2021-07-102-0/+30
| | | | | | | | | glibc 2.34 provides this function which exposes a latest issue w.r.t. function parameters Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: fix g-file-into modification time testRoss Burton2021-07-072-0/+41
| | | | | | | | | | | | | | | The GFileInfo modification time test assumed that the difference between a modification timestamp in seconds and in microseconds must be greater than 0. Mathmatically, there's a one-in-a-million chance that it will be 0. It turns out that one-in-a-million chances happen approximately once every fortnight on the autobuilder. [ YOCTO 14373 ] Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-testsuite: Fix build failures when directly running recipeRichard Purdie2021-07-071-0/+1
| | | | | | | | | | | If you try and run the glibc-testsuite's build task, you see failures as do_populate_sysroot can't work. We don't have a do_install, get rid of do_populate_sysroot as well. The recipe is not included in world builds by default which is why we don't see the issue more widely. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: rewrite the ptest integrationRoss Burton2021-07-072-41/+7
| | | | | | | | | | | | | | | | | | | | | Instead of duplicating logic, we can use the run.sh that the test suite installs. Unless told otherwise, the util-linux test suite assumes that it is running in a build tree and looks for binaries to run, but we're on target so pass --use-system-commands (drops ~180 skips to tens). Add --show-diff so that debugging can be done from the logs alone. Remove redundant path manipulation that is now done upstream. If PAM is disabled, delete the chfn test: it will run the chfn from shadow which has different output, and the test will fail. [ YOCTO #14244 ] Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: backport test suite fixesRoss Burton2021-07-076-0/+258
| | | | | | | Backport a number of fixes so the test suite passes. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: add missing ptest dependenciesRoss Burton2021-07-071-2/+2
| | | | | | | | | The kernel modules loop and sd-mod are needed for the block device tests. GNU find is used in some tests. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: build chfn and chshRoss Burton2021-07-071-1/+3
| | | | | | | | | | | As we now split util-linux per-binary there's no disadvantage to not building chfn and chsh. This also means that the tests pass instead of failing when the test uses the binaries from shadow. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ldconfig-native: Add RISC-V supportChristoph Muellner2021-06-292-0/+80
| | | | | | | | | | The current version of ldconfig does not support RISC-V. Let's add a patch, that adds the required constant definitions (from upstream glibc) and the necessary case statements. Signed-off-by: Christoph Muellner <cmuellner@linux.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: add tmpdir option into mktemp appletAndrej Valek2021-06-272-2/+84
| | | | | | | | | | - Make mktemp applet compatible with --tmpdir option in ca-certificate update script. Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ifupdown: Skip wrong test itemZqiang2021-06-263-5/+43
| | | | | | | | | Skip wrong testcase(12-15) in testbuild-linux and rebase the patch tweak-ptest-script.patch. Signed-off-by: Zqiang <qiang.zhang@windriver.com> Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: re-enable memory taggingRoss Burton2021-06-261-1/+1
| | | | | | | | | | | | | Now that the performance regressions caused by MTE have been resolved, we can enable memory tagging again. It is safe to globally enable the config as glibc does nothing if it isn't supported on that target. (From OE-Core rev: 5910d46b2a4b4387c12feb447c42864ec6b7828c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
* glibc: backport MTE improvements from masterRoss Burton2021-06-262-0/+1239
| | | | | | | | | | | | | After realising that the MTE support in 2.33 was suboptimal, discussion with upstream revealed that these issues are known and already fixed. They will be in glibc 2.34 which is scheduled for August, so backport the fixes for now. (From OE-Core rev: e5eadbf45b7fb953c557438854b0a96ba740c589) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
* libxcrypt: upgrade 4.4.22 -> 4.4.23wangmy2021-06-263-1/+1
| | | | | | | (From OE-Core rev: 8dca3e42409ae5f81094c4c422ec6e5408f2d219) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
* coreutils: remove NOSTAT_LEAF_OPTIMIZATIONAnders Wallin2021-06-222-0/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | coreutils is using gnulib as a submodule. In the tarball used by the recipe the gnulib source is included. The patch comes from gnulib https://github.com/coreutils/gnulib/commit/47bf2cf3184027c1eb9c1dfeea5c5b8b2d69710d In the next release of coreutils this fix will be included. It caused ‘find’ and ‘du’ to dump core, and it was useful only for obsolescent Linux filesystems anyway. Problem reported in: https://lists.gnu.org/r/bug-gnulib/2020-04/msg00068.html Quite possibly there is still a serious underlying fts bug with tight-loop-check and mutating file systems, but if so this patch should cause the bug to be triggered less often. * lib/fts.c (enum leaf_optimization): Remove NOSTAT_LEAF_OPTIMIZATION, as it’s problematic. (S_MAGIC_REISERFS, S_MAGIC_XFS): Remove; no longer needed. (leaf_optimization): Remove special cases for ReiserFS and XFS. (fts_read): Remove NOSTAT_LEAF_OPTIMIZATION code. * lib/fts_.h (struct _ftsent.fts_n_dirs_remaining): Remove. All uses removed. Signed-off-by: Anders Wallin <anders.wallin@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: do not enable memory tagging on aarch64 just yetAlexander Kanavin2021-06-211-1/+1
| | | | | | | | | | Sadly, it seems to break copy-on-write as reported here: https://lists.openembedded.org/g/openembedded-core/message/153082 (From OE-Core rev: 6891217346128cf529c15192defa096378fc5091) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
* glibc: fix path to place zdump in the tzcode packageTony Battersby2021-06-211-1/+1
| | | | | | | | | | zdump should be included in the tzcode package but is instead included in the glibc-utils package due to an incorrect path in the recipe. https://bugzilla.yoctoproject.org/show_bug.cgi?id=14427 Signed-off-by: Tony Battersby <tonyb@cybernetics.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: backport a patch to address mkswap hangsAlexander Kanavin2021-06-172-0/+30
| | | | | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcompat: Create symlinks to glibc ldso locationsKhem Raj2021-06-171-2/+12
| | | | | | | This ensures the glibc based binaries can find it in right place Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-conf: Prevent systemd-network from managing veth interfacesMatt Spencer2021-06-171-0/+1
| | | | | | | | | | We need to prevent systemd-network from managing veth interface when using platforms like k3s as they control creation and management of the interfaces. Signed-off-by: Matt Spencer <matt.spencer@arm.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ell: upgrade 0.40 -> 0.41Alexander Kanavin2021-06-171-1/+1
| | | | | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: update 2.68.2 -> 2.68.3Alexander Kanavin2021-06-172-2/+2
| | | | | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: update 2.36.2 -> 2.37Alexander Kanavin2021-06-176-98/+28
| | | | | | | | Drop manpages support, as it requires asciidoctor (written in ruby, isn't in oe-core). Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ovmf: update 2021.02 -> 2021.05Alexander Kanavin2021-06-178-192/+163
| | | | | | | Reformat patches using git, so that rebasing them to newer versions is easier. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Set UPSTREAM_CHECK_COMMITSKhem Raj2021-06-141-0/+2
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Do not package glibc loaderKhem Raj2021-06-142-4/+2
| | | | | | | | | This was a ad-hoc solution which did not really work in all cases, now gcompat is provided to deal with glibc based prebuilts, therefore there is no need to provide this package Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcompat: Add recipeKhem Raj2021-06-141-0/+42
| | | | | | | | | | | This is a compat library which helps running pre-compiled binaries which were compiled for glibc but needs to run on musl systems, this is quite common case where pre-existing binaries are supplied and can not be recompiled immediately Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libssp-nonshared: Use a different implementation for __stack_chk_failKhem Raj2021-06-123-50/+46
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2021-06-121-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: install new sysext tool via systemd-extra-utilsLuca Boccassi2021-06-111-0/+1
| | | | | | | New standalone (no new dependency) utility added in v248 Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Add more ugly casts to fix build with muslAndreas Müller2021-06-061-1/+10
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux.inc: Do not modify BPNPeter Kjellerstedt2021-06-011-2/+1
| | | | | | | | | | | | | Changing BPN to be "util-linux" regardless if it is the util-linux recipe or the util-linux-libuuid recipe that is being built was an easy way to allow ${BPN} and ${BP} to be used in the SRC_URI for both recipes. However, it causes problems for native.bbclass where there are expectations that ${BPN} and ${PN} match each other. Use "util-linux" directly in the SRC_URI instead to avoid the problem. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemctl: Stop tracebacks use formated error messagesArmin Kuster2021-06-011-5/+19
| | | | | | | | | | When systemctl fail it would throw an exception and dump a traceback. Lets use a more controlled workflow. [Yocto #14395] Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libucontext: Switch to meson build systemKhem Raj2021-05-312-14/+53
| | | | | | | | | | | | | | | | | cross compiling with meson is easier than the plain makefile build method that libucontext has, there were bunch of problems passing compiler and make variables, compounded by the fact that makefile decided on some compiler flags internally and thought that cflags are synthesized completely in makefile and not passed from environment like OE is doing. As a result some features were not being compiled in e.g. function name aliases were missing meson, on the other hand is cleaner and we have to add a patch to support cpu architecture on meson cmdline, everything else pretty much works out of box Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt: Upgrade 4.4.20 -> 4.4.22Richard Purdie2021-05-313-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ovmf: Fix VLA warnings with GCC 11Khem Raj2021-05-312-0/+52
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expat: set CVE_PRODUCTSteve Sakoman2021-05-281-0/+2
| | | | | | | Upstream database uses both "expat" and "libexpat" to report CVEs Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libucontext: upgrade 0.10 -> 1.1zhengruoqin2021-05-281-2/+2
| | | | | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* images: add ptest images based on core-image-minimalAlexander Kanavin2021-05-282-0/+49
| | | | | | | | | This greatly reduces build times needed for those images, as they no longer need anything graphical, or -dev packages for everything. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest: add newly discovered missing runtime dependencies across recipesAlexander Kanavin2021-05-271-1/+1
| | | | | | | | Making ptest images based on core-image-minimal uncovered quite a few missing depenendcies from various recipes, here they are. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expat: upgrade 2.3.0 -> 2.4.1Andrej Valek2021-05-271-1/+1
| | | | | | | Includes lot of security fixes, especially CVE-2013-0340/CWE-776. Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Enable memory tagging for aarch64Khem Raj2021-05-251-0/+1
| | | | | | | | | | | | | Glibc on aarch64 has a memory tagging option that can be enabled via GLIBC_TUNABLES="glibc.mem.tagging=$SOMETHING" when glibc is built with memory tagging support and the kernel/HW supports MTE. There should be no side effects unless the user turns it on with approprate HW support Linux 5.4 headers and binutils 2.33.1 or newer is needed. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: update 2.68.1 -> 2.68.2Alexander Kanavin2021-05-252-4/+4
| | | | | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>