aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-05-11base-files: make root home mode customisabledankm/base-permissionsDan McGregor
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
2018-05-11base-files: use /proc/self/mounts for /etc/mtabDan McGregor
It should be /proc/self/mounts instead of /proc/mounts. Also switch to using a relative link in base-files, as seems to be the convention in other distributions. Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
2018-05-11base-files: change permissions on /sys and /procDan McGregor
Fedora and Debian use permissions of 555 for /proc and /sys. In addition LXC seems to always mount them 555. Having them be 755 causes permission issues on upgrades inside an lxc container, because the guest does not have the permission to change their modes. So, just bite the bullet and force them to be 555. Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
2018-05-11go-native: use libdir_nativeDan McGregor
Setting staging_libdir to libdir caused unnecessary rebuilds of go-native when switching from a multilib build to a non-multilib build. Switch to libdir_native because it doesn't change based on target configuration. Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
2018-05-11rm_work: Stop appending _setscene to do_image_complete_setscene stampsMike Crowe
Each time I build my image after the first, I end up with a do_image_complete_setscene stamp file with an extra _setscene appended to the name. Eventually, the filenames end up being so long that mv complains and the build fails. It looks like this behaviour was introduced when the special handling was added for do_image_complete in 2ff9d40dc88d43567472218cf3d3faf414398c71. So, let's ensure that the *_setscene* pattern is matched before anything else so that any do_image_complete_setscene stamp file is always ignored and the do_image_complete non-setscene stamp file is moved only once. It's not straightforward to just move *do_image_complete* after the *_setscene* pattern because do_image_complete stamps would then match do_image*. Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-11grub2: fix build with gcc8Martin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-11mesa: ensure all libwayland-egl* files are removedDenys Dmytriyenko
Wayland 1.15+ now ships libwayland-egl by itself, so Mesa should remove its instance. Previous commit 6e5952fcfc13ff4b63c9376bd41a1dbba957f425 only removed .so libraries, but left .la, which resulted in conflict. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-11depmodwrapper-cross: Add kmod-native to DEPENDSHaris Okanovic
Add `DEPENDS += "kmod-native"` to ensure depmod utility is added to recipe-sysroot-native during image build. Without this dependency, image builds where BUILD_IMAGES_FROM_FEEDS=1 have depmodwrapper in recipe-sysroot-native but are missing depmod. Kernel postinst scripts rely on depmod (via depmodwrapper) to index newly installed modules. Signed-off-by: Haris Okanovic <haris.okanovic@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-11util-linux: update to 2.32Armin Kuster
rfkill moved locations, update accordingly refactored avoid_parallel_tests.patch includes security fix: CVE-2018-7738 (score: 7.2) affects: < 2.32-rc1 see changelog for other bugfixes: https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.32/v2.32-ChangeLog Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-11systemd: fix build with util-linux 2.32Ross Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-11systemd: backport patch to fix build when gcrypt is enabledAndrea Galbusera
When gcrypt support is present in PACKAGECONFIG, build fails due to the bug reported in [1]. Since this is already solved upstream, this commit backports the corresponding patch. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893602 Signed-off-by: Andrea Galbusera <gizero@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-11perl: native modules will not trigger build perl for target.Krzysztof Taborski
Currently building perl-native modules triggers build perl for target due to PACKAGES_DYNAMIC regex. This commit will cause, that perl native modules will trigger perl-native build. Signed-off-by: Krzysztof Taborski <taborskikrzysztof@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-11libcap: fix -native and usrmerge buildsMark Asselstine
When attempting to build a -native package which DEPENDS on libcap-native the libcap libraries are not found and the build will fail (for example attempting to build qemu-native with 'PACKAGECONFIG_append = " virtfs"'). It turns out commit 2c9c4a406a0f [libcap: fix (base_)libdir usage] breaks builds of libcap(-native) when $root_prefix is not "". This is because the variables which define $root_prefix are also part of $prefix so you end up with part of the path being used twice, first as part of 'lib=' in do_compile, and secondly as part of 'prefix=' in do_install. When $root_prefix is "" this isn't noticed. By using $baselib we should not re-break the issue which commit 2c9c4a406a0f was fixing but we should avoid doubling down on the paths thus fixing the -native and usrmerge builds. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-11base: improve do_unpack[cleandirs] logicRoss Burton
If a recipe sets S to ${WORKDIR}/ then the S != WORKDIR test doesn't work as expected. Use os.path.normpath() to normalise the paths so string comparison works. Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-11oeqa/selftest/case: fix typoHongxu Jia
s/meta-sefltest/meta-selftest/g Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-11perl: fix CVE-2017-12837Hongxu Jia
https://perl5.git.perl.org/perl.git/commitdiff/96c83ed78aeea1a0496dd2b2d935869a822dc8a5 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-11glibc: Check /etc/ld.so.conf.d/*.conf by defaultTom Rini
The expected modern behavior for dealing with adding ld.so.conf entries is to add a file to /etc/ld.so.conf.d/. In order to do this, ld.so.conf needs to explicitly include that /etc/ld.so.conf.d/*.conf. Make it so. Cc: Khem Raj <raj.khem@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-11distcc-doc_3.2: improve reproducibilityJuro Bystricky
Remove timestamps from metadata of gzip compressed files. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-11libical-dev_2.0: improve reproducibilityJuro Bystricky
Remove build host references from distributed files. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-11oe-buildperf-report: highlight large changes in the HTML reportRoss Burton
If the relative difference is greater than 2%, make the text bold to highlight it. Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-11mesa: Define PYTHON2Khem Raj
Ensure that python2 is not assumed to be python which can point to python3 in some cases, when building gallium-llvm there are scripts which are requiring python2 and wont work with python3 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-11clutter-gst-3.0: upgrade 3.0.24 -> 3.0.26Ross Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-11gst-plugins-good: enable mpg123 and lameAnuj Mittal
Since the last remaining mp3 patents have expired [1] and corresponding commercial flags from recipes for these removed, enable these to be built by default. [1] https://www.iis.fraunhofer.de/en/ff/amm/prod/audiocodec/audiocodecs/mp3.html Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-11gstreamer-libav: upgrade 1.12.4 -> 1.14.0Anuj Mittal
Drop one patch as the change is now present upstream. For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/ Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-11gst-python: upgrade 1.12.4 -> 1.14.0Anuj Mittal
For changes, please see: https://cgit.freedesktop.org/gstreamer/gst-python/tree/ChangeLog Also merge inc/bb since we have only one version now. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-11gst-omx: upgrade 1.12.4 -> 1.14.0Anuj Mittal
For changes, please see: https://cgit.freedesktop.org/gstreamer/gst-omx/tree/ChangeLog Merge inc/bb since we only have one version now. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-11gst-validate: upgrade 1.12.4 -> 1.14.0Anuj Mittal
* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/. * Patch Makefile to fix compilation errors. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-11gstreamer-vaapi: upgrade 1.12.4 -> 1.14.0Anuj Mittal
For changes, please see gstreamer-vaapi specific section at: https://gstreamer.freedesktop.org/releases/1.14/ Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-11gst-rtsp-server: upgrade 1.12.4 -> 1.14.0Anuj Mittal
* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/ * Merge inc/bb since there's only one version now. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-11gst-plugins-ugly: upgrade 1.12.4 -> 1.14.0Anuj Mittal
* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/ * Remove PACKAGECONFIG for lame, mpg123 since those have moved to -good. * Merge inc/bb since there's only one version now. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-11gst-plugins-bad: upgrade 1.12.4 -> 1.14.0Anuj Mittal
* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/ * gst-gl has moved to -good and direct dependencies aren't required. * Remove vulkan patches that have been upstreamed. * Remove obsolete PACKAGECONFIGs. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-11gst-plugins-good: upgrade 1.12.4 -> 1.14.0Anuj Mittal
* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/ * With the expiration of mp3 patents [1], mp3 decoders and encoders have been moved to -plugins-good from -plugins-ugly (also see the release notes). * Move bz2 and zlib to PACKAGECONFIG. * gtk+ plugin has moved to -good from -bad. Enable it by default. * qt plugin has also moved to -good from -bad but it's disabled by default. [1] https://www.iis.fraunhofer.de/en/ff/amm/prod/audiocodec/audiocodecs/mp3.html Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-11gst-plugins-base: upgrade 1.12.4 -> 1.14.0Anuj Mittal
* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/ * OpenGL integration library has moved to -plugins-base, add PACKAGECONFIG. * Remove one patch as that has been fixed in a different way upstream. * Merge inc/bb and refresh patches to get rid of fuzz warnings. * Remove x86 specific cached variables as they're not needed anymore. * Add jpeg to PACKAGECONFIG and enable it by default. * Port gstreamer-gl specific patches from -plugins-bad. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-11gstreamer1.0: upgrade 1.12.4 -> 1.14.0Anuj Mittal
* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/ * Merge inc and bb file since we only have one version now. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-11subversion: misc recipe cleanupAndre McCurdy
- Add default value for PACKAGECONFIG - Combine "inherit autotools" with "inherit pkgconfig gettext" - Drop historical addition of -L${STAGING_LIBDIR} to LDFLAGS - Re-order variables according to OE styleguide Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-09alsa-lib: move contents of alsa-fpu.inc into alsa-lib recipeAndre McCurdy
Merge historical .inc file into the only recipe which uses it. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-09kernel: Permit overriding of KERNEL_IMAGETYPE_FOR_MAKEMike Crowe
Commit a1690131691507bbf5853540229b3ad775b836bf removed the ability of recipes to set KERNEL_IMAGETYPE_FOR_MAKE. Fix that by letting recipes continue to set their own KERNEL_IMAGETYPE_FOR_MAKE if they so wish. They may have been doing so for a while, and don't want to have their carefully-selected value trampled on by kernel.bbclass. This may be required if the recipe itself wants to build one type of kernel, but post-process it into a different type, rather like the vmlinux->vmlinux.gz support provided by kernel.bbclass. Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-09json-c: upgrade to 0.13.1Martin Jansa
* from https://github.com/json-c/json-c/commit/861c1a82868831bf82222f974f05c2af5a975d12 * Bump the major version of the .so library generated up to 4.0 to avoid conflicts because some downstream packagers of json-c had already done their own bump to ".so.3" for a much older 0.12 release. * Add const size_t json_c_object_sizeof() * Avoid invalid free (and thus a segfault) when ref_count gets < 0 * PR#394: fix handling of custom double formats that include a ".0" * Avoid uninitialized variable warnings in json_object_object_foreach * Issue #396: fix build for certain uClibc based systems. * Add a top level fuzz directory for fuzzers run by OSS-Fuzz Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-09maintainers: reassign some Intel maintainersRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-09packagegroup: Do not add libssp to SDKKhem Raj
Libssp is only needed on non-glibc/non-musl systems Add rpcsvc-proto for rpcgen since its not part of glibc anymore Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-09allarch.bbclass: Exclude package_do_shlibs from do_package signatureKhem Raj
shlibs is largely useless for allarch, the particular usecase where it fails is when DISTRO_FEATURE is changing due to libc being different e.g. Variable package_do_shlibs value changed: -DISTRO_FEATURES{ldconfig} = Set +DISTRO_FEATURES{ldconfig} = Unset musl -> glibc or other way around 'ldconfig' gets added or deleted to DISTRO_FEATURE set, neither this distro feature nor the shlibs processing during packaging is of interest to allarch packages which are largely arch independent scripts Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-09ppp: Install net/ppp_defs.h on muslKhem Raj
This header is used by other apps e.g. ippool glibc provides an internal version which it should not Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-09libnsl2: Install into /usr/include and /usr/libKhem Raj
Extend to native and nativesdk variants Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-09perl: Account for libnsl being dropped from glibcKhem Raj
-lnsl needs to be removed even on glibc Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-09watchdog: Use libtirpc even on glibcKhem Raj
We dropped in-tree obsoleted rpc from glibc Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-09tcp-wrapper: Use external libnslKhem Raj
We dropped in-tree obsoleted libnsl from glibc Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-09xinetd: Use libtirpc even on glibcKhem Raj
We dropped in-tree obsoleted rpc from glibc Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-09ltp: Fix build after removing rpc and libnsl in glibcKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-09libnsl: Upgrade to tip beyond 1.2.0 releaseKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-09libtirpc: Upgrade to 1.0.4-tc1Khem Raj
Drop backported patches Redo musl support patch such that it can be applied universally Signed-off-by: Khem Raj <raj.khem@gmail.com>