summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* perf: fix build for v5.5+Bruce Ashfield2020-01-161-0/+1
| | | | | | | | | | | | | | In kernel 5.5+ there are python3 scripts that explicitly use /usr/bin/python3 as the interpreter. That will find the host python and produce undefined results. We add that interpreter path to our substitutions to ensure that our sysroot variant is used. (From OE-Core rev: 103316d50d4947b3c3500eb5cbc4845702a62d22) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-dev: bump to v5-5-rcXBruce Ashfield2020-01-161-1/+1
| | | | | | | (From OE-Core rev: 40de75663cfe37c543362022c8e454adade7066b) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* curl: upgrade 7.67.0 -> 7.68.0Pierre-Jean Texier2020-01-161-3/+3
| | | | | | | | | | | | | | | See full changelog https://curl.haxx.se/changes.html#7_68_0 The hash of the license is updated because the copyright year was updated in COPYING file: -Copyright (c) 1996 - 2019, Daniel Stenberg, <daniel@haxx.se>, and many +Copyright (c) 1996 - 2020, Daniel Stenberg, <daniel@haxx.se>, and many (From OE-Core rev: 887b16b653140b6ce6293863334b1d000ec6a9ed) Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Upgrade 2020.01-rc5 -> 2020.01Alex Kiernan2020-01-163-118/+1
| | | | | | | | | Also drop unreferenced (already merged) patches. (From OE-Core rev: 7b1440dff8129a997400cd7d4b5372455ddd1fe4) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemuboot-mips: Enable cirrus VGA deviceKhem Raj2020-01-161-0/+3
| | | | | | | | | | | | This helps in booting weston images ( core-image-weston ) with fbdev backend, without this westons initialization of fbdev backend fails because it does not get correct frame buffer settings and exits pre-maturely (From OE-Core rev: d95b03ae45b36a9b127ef639322e61b21c328d87) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Fix hardcoded paths with dots in namesAlex Kiernan2020-01-161-1/+1
| | | | | | | | | | | | b4087338be09 ("glib-2.0: Fix hardcoded paths in checksums") fixed embedded paths in task hashes, but if these paths included dots then these were flattened when COREBASE was computed. Fix this by resolving our filenames before replacing the path segments with COREBASE. (From OE-Core rev: 05c514bfdd0f3201f6a516c9dc93dff0592e23db) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0: Enable debug in buildsKhem Raj2020-01-161-0/+1
| | | | | | | | | | | | | | | | Packages like gst-shark needs this option to be on Fixes | checking whether the GStreamer debugging system is enabled... no | configure: error: Tracers require GStreamer debug support. Rebuild GStreamer core with --enable-gst-debu g. (From OE-Core rev: d826022100da5f84e668207b1631fd061accd50b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0: set the name of the test suite for ptestsAlexander Kanavin2020-01-161-0/+2
| | | | | | | | | | Otherwise gnome-desktop-testing-runner starts testing everything unrelated as well (e.g. glib). (From OE-Core rev: 8eee101a63880dc5286bb9043da1427592828c4e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0: decouple check and tests optionsAlexander Kanavin2020-01-161-1/+3
| | | | | | | | | | Some plugins such as gstreamer1.0-plugins-base refuse to build if check is not enabled (which was the case when ptests were disabled). (From OE-Core rev: ccca0304cf5ee36fc5f79b12ff0578f2ad22c4ed) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer: Remove unused common files and patchesCarlos Rafael Giani2020-01-166-256/+0
| | | | | | | | | | | gst-plugins-package.inc gstreamer1.0-plugins.inc got replaced by gstreamer1.0-plugins-packaging.inc and gstreamer1.0-plugins-common.inc, respectively. (From OE-Core rev: 238080ed896ea817a23aab2f25c246832ab9c7b3) Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-validate: Move recipe specific patch to dedicated subdirectoryCarlos Rafael Giani2020-01-161-0/+0
| | | | | | | | | | | This does not belong in files/, since that subdirectory is where patches that aren't recipe specific are located. This patch however is gst-validate specific. (From OE-Core rev: 70a6eda4ddc071cfb3ad26817a609d054ea8a222) Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-rtsp-server: Transition to meson based buildCarlos Rafael Giani2020-01-162-13/+46
| | | | | | | | | | * 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch is a fix for GIR support in the meson.build file. (From OE-Core rev: 63217812467f4d225c80c145edbbceca1dc8efc0) Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-omx: Transition to meson based buildCarlos Rafael Giani2020-01-161-13/+2
| | | | | | | | | | | | | * Removed autotools/M4 specific bits from recipe. * gettext, gtk-doc, and valgrind support is no longer present in gst-omx, and arguably never really was (because they were present in the "common" git submodule that is no longer being used in meson base builds). (From OE-Core rev: cc56078e2bb793829610225a3f9d66a4454b6880) Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-vaapi: Transition to meson based buildsCarlos Rafael Giani2020-01-162-42/+17
| | | | | | | | | | * Removed autotools/M4 related patch 0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch. (From OE-Core rev: 5dc07f58832483ae44e8bfb6c3aa1787d607b8f3) Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-libav: Transition to meson based buildsCarlos Rafael Giani2020-01-166-211/+14
| | | | | | | | | | | | | meson based builds exclusively rely on external FFmpeg builds. The internal copy was added at a time when stable FFmpeg releases did not exist. They do nowadays, so the internal copy is not needed anymore. As a result, large portions of the recipe are unnecessary, since they set up the internal copy. Same goes for the patches and the zlib/bzip2/xz dependendencies. (From OE-Core rev: ab9316367d6c22f7f2d45db41bb7c8ef28e58168) Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-ugly: Transition to meson based buildsCarlos Rafael Giani2020-01-161-12/+11
| | | | | | | | | | | | * Removed autotools/M4 related patch 0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch. * gettext handling now part of gstreamer1.0-plugins-common.inc. (From OE-Core rev: 6e25fcfe56248bef9881c0a81236ccd7c6331681) Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-bad: Transition to meson based buildsCarlos Rafael Giani2020-01-163-165/+141
| | | | | | | | | | | | | | | | | | | | | | * Removed autotools/M4 related patch 0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch. * configure-allow-to-disable-libssh2.patch got replaced by the -Dcurl-ssh2 option. * 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch is a fix for GIR support in the meson.build file. * New "closedcaption" packageconfigs added. * Removed "flite" packageconfig since flite-alsa was removed from meta-openembedded due it being old and abandoned. * gettext handling now part of gstreamer1.0-plugins-common.inc. (From OE-Core rev: fec739c764aed866b073f240086ca193dfe2f495) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-good: Transition to meson based buildsCarlos Rafael Giani2020-01-161-41/+38
| | | | | | | | | | | | | | | | | | * Removed autotools/M4 related patch 0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch. * gtk-doc support is handled here, not in gstreamer1.0-plugins-common.inc, since unlike with autotools, only some plugin set packages use gtk-doc. * zlib is no longer optional, and glib anyway depends on zlib, therefore it gets added to the DEPENDS list. * gettext handling now part of gstreamer1.0-plugins-common.inc. (From OE-Core rev: 10a824383fee1060f6335ceffedf48e165b6d5a2) Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-base: Transition to meson based buildsCarlos Rafael Giani2020-01-169-502/+329
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * OpenGL packageconfigs now work differently. There are separate ones for OpenGL API/platform/window system selection. The meson.build script expects the selected ones as comma separated lists. For example, like "-Dgl_api=opengl,gles2". The variables OPENGL_APIS / OPENGL_PLATFORMS / OPENGL_WINSYS are whitespace-separated lists (which is the OE norm) of the respective packageconfigs. .bbappend files can then extend these lists with additional possible configs. "Possible" means that the target can support those packageconfigs. This does not immediately add them to the PACKAGECONFIG variable - this still has to be done manually. The get_opengl_cmdline_list() goes through these lists, and for each entry, checks if it is contained in the PACKAGECONFIG variable. If so, they get added to the comma separated lists that are passed to meson. For example, a Raspberry Pi layer could add "dispmanx" to OPENGL_WINSYS. * The "ivorbis" packageconfig got renamed to "tremor", since that is the name of the OE recipe, and now also the name of the meson option. * 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch and 0002-meson-Add-variables-for-gir-files.patch are backported fixes for GIR support in the meson.build files. * make-gio_unix_2_0-dependency-configurable.patch removed because it is no longer useful to have. * link-with-libvchostif.patch removed because the flags it changed are no longer present in the meson.build scripts. If the related issue reappears, a similar patch can be applied again. * 0003-riff-add-missing-include-directories-when-calling-in.patch removed since the entire gst riff library has been excluded from GObject introspection due to naming convention issues. * Removed a number of autotool/M4 related patches and recipe lines. * gtk-doc support is handled here, not in gstreamer1.0-plugins-common.inc, since unlike with autotools, only some plugin set packages use gtk-doc. * zlib is no longer optional, and glib anyway depends on zlib, therefore it gets added to the DEPENDS list. * gettext handling now part of gstreamer1.0-plugins-common.inc. (From OE-Core rev: 20614408dc4e0593f2cce2e342d5b8a15f182c14) Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0: Transition to meson based buildsCarlos Rafael Giani2020-01-165-56/+404
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Moved 0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch from files/ to gstreamer1.0/ since it is gstreamer1.0 recipe specific. * Removed M4 specific patches: - 0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch - gtk-doc-tweaks.patch - add-a-target-to-compile-tests.patch * Added patches: - 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch Backport for enabling GIR support in meson based cross compilation - 0002-meson-Add-valgrind-feature.patch Make valgrind support configurable to be able to control it through a "valgrind" packageconfig - 0003-meson-Add-option-for-installed-tests.patch Add support for installable tests and for generating .test and shell scripts which can be used with the gnome-desktop-testing suite runner * PTest support: By default, GStreamer does not allow for installing tests, and requires meson to run its unit tests. The 0003 patch fixes this by installing the binaries themselves and by generating accompanying .test and shell scripts. The scripts set up the required environment files and then call the test binaries. The .test file list the shell scripts as Exec= command line. (From OE-Core rev: 0db7ba34ca41b107042306d13a6f0162885c123b) Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer: Add common .inc files for meson based recipesCarlos Rafael Giani2020-01-163-0/+138
| | | | | | | | | | | | | | | | * gstreamer1.0-plugins-common.inc The old gstreamer1.0-plugins.inc file, adapted for meson * gstreamer1.0-plugins-packaging.inc The old gst-plugins-package.inc file, adapted for meson * gstreamer1.0-ptest.inc Common code for meson based PTest support; autogenerates the run-ptest file and is designed to use the gnome-desktop-testing suite runner (which is why the .inc files inherits from ptest-gnome) (From OE-Core rev: 075aa7a617d38d6a698cee97dcb7550e72741eb5) Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue: Use a set for the setscene tasks listRichard Purdie2020-01-131-2/+2
| | | | | | | | | | This should give performance improvements to functions using this list of tasks (sets are used for most of the other code for this reason, not sure why this wasn't a set in the first place). (Bitbake rev: f5daef68703481a3c243dfecc7de404e6ebfdbb6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: knotty: Be consistent when creating/updating progress barsPeter Kjellerstedt2020-01-131-6/+6
| | | | | | | | | | | | | | | When creating a new progress bar (using BBProgress), a colon was appended to the supplied message. However, when updating the message, no colon was appended. Change this so that the colon is instead part of the widgets that make up the progress bar so that it does not matter when and how the message is updated, it always displays the same. (Bitbake rev: 08f35c04f6e1ce4c4ca5c2bef4cd8a192e12e682) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: knotty: Hide the footer if a process progress bar is shownPeter Kjellerstedt2020-01-131-1/+4
| | | | | | | | | | | | With the introduction of the hash equivalence server, the progress bar for "Checking sstate mirror object availability" is shown repeatedly while the tasks are being executed. If the footer is not hidden then, it will be moved up one line every time, creating a messy interface. (Bitbake rev: 56b5ec4c2b3e658e73ca6c3a12feeb96df0977fb) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: fix typo in Upstream-StatusRoss Burton2020-01-131-1/+1
| | | | | | | (From OE-Core rev: b6d4150f9c74f25a4022a3fa0bd489a8e85deb77) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add missing Upstream-StatusRoss Burton2020-01-131-0/+1
| | | | | | | (From OE-Core rev: 66d4314c12831cfdbe14130db204fa99e3c77f5e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-build-perf-report: Avoid buildstats warningRichard Purdie2020-01-131-6/+14
| | | | | | | | | | | | | | | | | When a comparision branch is set we see warnings. If two branches are used, look for buildstats information from both to avoid this kind of warning: INFO: Parsing buildstats from 'refs/notes/buildstats/perf-centos7.yoctoproject.org/master-next/qemux86' WARNING: Buildstats not found for perf-centos7.yoctoproject.org/master/qemux86/56808-g08220028e52992dcba667fc97bf3afe8be1949fb/0 WARNING: Buildstats not found for perf-centos7.yoctoproject.org/master/qemux86/56808-g08220028e52992dcba667fc97bf3afe8be1949fb/1 INFO: Buildstats were missing for some test runs, please run 'git fetch origin refs/notes/buildstats/perf-centos7.yoctoproject.org/master-next/qemux86:refs/notes/buildstats/perf-centos7.yoctoproject.org/master-next/qemux86' and try again (the warning is due to stats being looked for in both branches, choose the other branch and different warnings would be shown) (From OE-Core rev: af58c18fcd0451540dd77ee862956b2b9dee17c4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate: Improve move into place op and touch fileRichard Purdie2020-01-131-1/+5
| | | | | | | | | | | | | | | | | Depending on the kernel and coreutils version, mv operations test for existence of files and can potentially race. It also leads to the file always changing which leads to potential problems if using and NFS share and there are other readers. Using ln instead means we don't overwrite the file if it already exists meaning other readers aren't disrupted and should work more reliably on NFS which is used for sstate on the autobuilder. Since we're not overwriting files, touch the file to show activity as would have been done it it were reused from sstate. (From OE-Core rev: d8e9a22a4e23616ad01627c1e472296b1e26f13c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toaster.bbclass: Correct pkgdatadir path in toaster_package_dumpdata()Peter Kjellerstedt2020-01-111-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 692b2046 (package: Fix race between do_package and do_packagedata), the path used for do_packagedata[sstate-inputdirs] was changed from "${PKGDESTWORK}" to "${WORKDIR}/pkgdata-pdata-input". This commit adapts the path used for pkgdatadir in toaster_package_dumpdata() accordingly to avoid setscene errors like: ERROR: libgcc-9.2.0-r0 do_packagedata_setscene: Error executing a python function in exec_python_func() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_python_func() autogenerated', lineno: 2, function: <module> 0001: *** 0002:toaster_package_dumpdata(d) 0003: File: 'meta/classes/toaster.bbclass', lineno: 130, function: toaster_package_dumpdata 0126: lpkgdata = {} 0127: datadir = os.path.join(pkgdatadir, 'runtime') 0128: 0129: # scan and send data for each generated package *** 0130: for datafile in os.listdir(datadir): 0131: if not datafile.endswith('.packaged'): 0132: lpkgdata = _toaster_load_pkgdatafile(datadir, 0133: # Fire an event containing the pkg data 0134: bb.event.fire(bb.event.MetadataEvent( Exception: FileNotFoundError: [Errno 2] No such file or directory: 'tmp/work/mips32r2el-nf-poky-linux/libgcc/9.2.0-r0/pkgdata/runtime' (From OE-Core rev: 5a0f6f631b86f7107aa72453b6d23f32ba39f713) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Fix hardcoded paths in checksumsRichard Purdie2020-01-111-1/+2
| | | | | | | | | | The expansion by this function, recently added by the meson site handling code was causing hardcoded paths to become embedded in the tash hashes. Avoid this (and hence avoid eSDK failures which exposed this). (From OE-Core rev: 83899aad423cd36cea7ab2ea210feae5b3359823) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-extsdk-toolchain: Mark as nostampRichard Purdie2020-01-111-0/+3
| | | | | | | | | | | | This recipe needs to generate the latest hashes. With unihash we may not rebuild as previous dependencies may be marked as equivalent. eSDK which uses this is nostamp already, mark this task as nostamp also for the same reason. (From OE-Core rev: e8cfc8525c5d903ee876eafd56521f4a7325a6f5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib: support target/os/libc-specific Meson cross filesRoss Burton2020-01-117-7/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Build systems have a common problem that some tests can only be done by executing a piece of test code (compared to just compiling or linking test code). In a cross-compilation the execution of this code isn't possible and the Meson solution to this is to allow 'cross properties' to be specified in the cross files. GLib has a number of these, for example determining the direction the stack grows, whether /proc/self/cmdline exists, or the behaviour of snprintf(). Previously we'd passed values for these to the Glib build for target builds, but this misses out nativesdk builds (which are also cross-compiled) and the fact that some of these values are specific to the platform, some are specific to the host OS, and some are specific to the libc implementation. This problem has already been solved for autotools with the siteinfo class, which turns the target platform/OS/libc variables into filenames (such as common common-linux common-glibc). We can look for these in FILESDIR and use them as cross files. Assuming that there are no problems with this appoach it can be moved into meson.bbclass so that all Meson recipes can use it for their cross files. (From OE-Core rev: 5acd9cbc9d5c6355010775250fb25f043441c5cd) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Let weston run without pam on distros without pamKhem Raj2020-01-113-30/+6
| | | | | | | | | | | | | | | | | When pam is not part of distro, user specific XDG_* environment variables are not available since PAMName=login is in-effective and as a result weston can not start because it direly needs XDG_RUNTIME_DIR defined, therefore launching weston directly in systemd service will not work, therefore call the helper script weston-start, which is also used with sysvinit extend enabling fbdev backend fallback to all qemu machines Reported-by: Marek Vasut <marex@denx.de> (From OE-Core rev: ae66cf5e03f04361aad2bd8784fb7d42e0f0bb08) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site: musl and glibc have working mktime()André Draszik2020-01-112-0/+2
| | | | | | | | | | | | | | | This coreutils (gnulib) test tests for various bugs that only exist in ancient versions. It defaults to assuming buggy behaviour with its own implementation when cross-compiling. musl and recent glibc (2.29) are not affected. (From OE-Core rev: 65d38cc1ce5a106c4c2e5068b8440eb6e5a2b33e) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site: strtod() works in glibc / muslAndré Draszik2020-01-112-0/+3
| | | | | | | | | | | | | | | | autoconf has a test for strtod(), which assumes non-working when cross-compiling, but it does work in both musl and recent glibc. coreutils (gnulib) does some additional tests on top of that, but assumes working glibc when >= 2.8 when cross compiling. It doesn't know about musl where the additional tests also work, though. (From OE-Core rev: c8429f707d9ac785f295492470ec8b9ff56c043b) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site: set nanosleep() behaviour for glibc / muslAndré Draszik2020-01-112-0/+2
| | | | | | | | | | | | | | | | As per coreutils' (gnulib's) autotools test, nanosleep() misbehaves on glibc (2.29), and works fine on musl. During cross-compile, recent coreutils assume brokenness when compiling for linux, which pessimises musl. Set the correct result for musl, and for coherency reasons, also specify the result for glibc. (From OE-Core rev: 4522648758dc59f5ece736a0c1c0e95dcc7dafd1) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site: on linux, link(2) doesn't follow symlinksAndré Draszik2020-01-111-0/+1
| | | | | | | | | (but gnulib / coreutils assumes yes when cross-compiling) (From OE-Core rev: e1a20bed0d1c6b5fc64c9200fcd8ce2496ce3e08) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site: on linux, pipes are fifos with max link count of 1André Draszik2020-01-111-0/+1
| | | | | | | (From OE-Core rev: 13aa567ac1c2c5232378bb9de0bb4ccf04f8c2ac) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site: musl and glibc have working utimes()André Draszik2020-01-112-0/+2
| | | | | | | | | | This coreutils / gnulib autoconf test is for a broken glibc implementation of utimes from 2003-07-12 to 2003-09-17. (From OE-Core rev: a60ca6048cc3a4fef862b128a842c70ac0cd2253) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site: linux supports NULL in utime()André Draszik2020-01-111-0/+1
| | | | | | | | | to set the file to the current time (From OE-Core rev: 530e01e79e9674d0049b183dc23491eb886b066b) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site: musl and glibc have working getgroups()André Draszik2020-01-112-0/+2
| | | | | | | | | | | | | | | | | | recent coreutils (gnulib) assume yes when cross-compiling for gnu (glibc), but don't know about musl. For coherence, just set the result to yes for both. Note that the old coreutils (from meta-gplv2) doesn't assume anything and instead that recipe hard-codes to yes. So behaviour with yocto when using meta-gplv2 is actually better than when using the latest version (when using musl). This patch rectifies this shortcoming. (From OE-Core rev: 692fe85264e599eb659456bd2eebf5f12a1cd30f) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site: set getcwd() test result for abort()-bug for glibc / muslAndré Draszik2020-01-112-0/+2
| | | | | | | | | | | | This coreutils (gnulib) test checks for an abort() that existed in glibc before 2.4.90-10 (in 2006) in certain conditions. Neither libraries exhibit this problem today. (From OE-Core rev: 506c3b5adaa2fdffa051d83fb99efc00e432156b) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site: set getcwd() behaviour for long paths for glibc / muslAndré Draszik2020-01-112-0/+2
| | | | | | | | | | | | | | | | | | | | In glibc, getcwd() handles long file names properly, on musl, getcwd() only works up to PATH_MAX directory depths. Configuring the autotools (gnulib) test result here allows coreutils to compile more optimised code for both platforms, rather than being pessimistic and re-implementing everything itself. The difference in behaviour is because both do the kernel getcwd syscall (which only supports up to PATH_MAX), but glibc implements fallbacks for longer paths, while musl doesn't. (From OE-Core rev: 525e33cf99983ee4bc3cf1822364123551aa7c83) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site: musl and glibc have glibc compatible getcwd()André Draszik2020-01-112-0/+2
| | | | | | | | | | I.e. allocate memory for the pointer returned when the first argument is NULL. (From OE-Core rev: fe148da36af2dc086e05e2ebc1c088f1b5485de2) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site: linux supports unlink() of executing programAndré Draszik2020-01-111-0/+1
| | | | | | | | | I.e. shared text that is being executed. (From OE-Core rev: 1370742d20aaa1a17f3e242ea9bb54df944b6416) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site: musl and glibc have glibc compatible calloc()André Draszik2020-01-112-0/+2
| | | | | | | | | | calloc (N, S) returns non-NULL when N*S is zero, and returns NULL when N*S overflows. (From OE-Core rev: ba2bc4b6529013a303dd67abe944ceb619e7466c) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site: musl and glibc have working mkstemp()André Draszik2020-01-112-0/+2
| | | | | | | | | | their mkstemp() passes all tests from the gnulib m4 macro gl_FUNC_MKSTEMP. (From OE-Core rev: 2b0905d25fa295fc868bf6df1da89283b9dc1f45) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site: musl has working memcmp()André Draszik2020-01-111-0/+1
| | | | | | | | | I.e. a memcmp() that is 8bit clean (like glibc). (From OE-Core rev: d938ca1b8bc715047d771907c6ea4a1c9aa6594f) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site: linux has working chown()André Draszik2020-01-111-0/+1
| | | | | | | | | I.e. a chown() that works when given -1 as uid / gid (From OE-Core rev: 226b8b2b1b565ef019b442ad3bf1f5d86704e1d2) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Update inittabKhem Raj2020-01-111-4/+8
| | | | | | | | | | | Add stdin/stdout/stderr symlinks in case when not using hotplug Disable ctrl+alt+del, not used much Mount swap if defined (From OE-Core rev: b1799bd40dfa3b244ddf2b7fba1fb4dc1f9a7394) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>