We cleaned up the metadata so this can be enabled again.
(From OE-Core rev: 9611485bba03ef77ff31121e3b1da7cd57990c3e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This repository is infrequently updated and doesn't really release, so just
watch for new commits.
(From OE-Core rev: 77237b92895806de1586fc5395a03669201a411b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
packages like fontforge-native fail with mysterious errors like
| ../../git/inc/gwwiconv.h:44:21: error: conflicting types for ‘gww_iconv_close’
| #define iconv_close gww_iconv_close
| ^~~~~~~~~~~~~~~
| ../../git/inc/gwwiconv.h:37:13: note: previous declaration of ‘gww_iconv_close’ was here
| extern void gww_iconv_close( gww_iconv_t cd);
| ^~~~~~~~~~~~~~~
The reason behind this is that a check for iconv fails during native
configure run, the check fails because the autoconf test to check for iconv
pokes for these gconv's in test runs before declaring iconv support successful.
Therefore when uninative is active the package fails to build but when
uninative is inactive all works fine. this patch fixes that
(From OE-Core rev: b4f5ed7a8bb2f76ab4a50b3f0073a9d18a51923e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the contract lib which implements contract
programming (a.k.a., Design by Contract or DbC) [1]
for the C++ programming language.
(From OE-Core rev: 53756087222a12646c4e63dba5c91df16c873111)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade sudo to 1.8.23.
The license checksum changes but the actual license does not.
The /var/run/sudo directory has changed to /run/sudo, change
do_install_append according to avoid error.
(From OE-Core rev: abd809670ea4048551d20c11da95203536250001)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
matchbox-panel enables the battery plugin only if the
acpi/apm machine features are enabled,
so enable the battery applet in the session script
under the same conditions.
This avoids the 'Failed to load applet "battery"' warning at runtime,
in case these machine features are not defined.
(From OE-Core rev: 34b5d507d62ef501fe771bd38cf45d25785dbc90)
Signed-off-by: Eran Matityahu <eran.m@variscite.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As seen in GCC's gcc/config/aarch64/aarch64.c, -fPIC with large
code model is unsupported. This fixes the "sorry, unimplemented"
errors when building with compilers defaulting to -fPIC.
(From OE-Core rev: d0971200ffe226ade76273ff73be4fa5511a2baa)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The _virtclass-XXX over-rides are problematic in that they are higher
priority than _forcevariable, which is documented as being the
highest priority over-ride.
Since they are now obsolete (replaced by _class-native and
_class-nativesdk) drop them entirely rather than try to fix their
priority.
(From OE-Core rev: c5aa33ac483618bc23fbaccb0a18853186f9155d)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
(From OE-Core rev: f3d223304e52b9be946e5bd849075147147cbbb3)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
Also misc minor recipe cleanup (re-order variables to follow the OE
style guide, etc).
(From OE-Core rev: d3653e8525e048d9968b949dbff5304c1fd94480)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
(From OE-Core rev: b7b63b2681a1de0ecb0e09612913370cb9934d38)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
(From OE-Core rev: a4c29153c7ffef024b31e7e3a197a09758a7beb4)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
Also misc minor recipe cleanup (re-order variables to follow the OE
style guide, etc).
(From OE-Core rev: 5e7d337fd538325e5f69de5b409eb8e36bb5e007)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
Also misc minor recipe cleanup (re-order variables to follow the OE
style guide, etc).
(From OE-Core rev: c4ceaaea207e15bafd4261c33fd20fdf66d50c7d)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
Also misc minor recipe cleanup (re-order variables to follow the OE
style guide, etc).
(From OE-Core rev: 6c08a062c151c2d2562016434f6f2125f2959fa6)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some backported patches fix multiple CVEs and list the corresponding
identifiers on multiple lines, rather than on a single line.
cve-check.bbclass yields false positive warnings when CVE IDs are
presented on multiple lines because re.search() returns only
the first match.
An example of this behavior may be found when running do_cve_check() on
the wpa-supplicant recipe while in the rocko branch. Only CVE-2017-13077
is reported to be patched by commit de57fd8, despite the patch including
fixes for a total of 9 CVEs.
This is resolved by iterating over all regular expression matches,
rather than just the first.
(From OE-Core rev: 8fb70ce2df66fc8404395ecbe66a75d0038f22dd)
Signed-off-by: Jon Szymaniak <jon.szymaniak.foss@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
compression.ca is down, so use the Milestone page on Launchpad as that is also
where we download the tarball from.
(From OE-Core rev: d669fbd183e03952e1900535328f16185248fc1f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcc8 is detecting string truncations when swig is
used in other packages
(From OE-Core rev: 828ae03da4468b4c672f71e1b4cac9b8fff73d2d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Check 19 lines of gpg-error.h.in only, more lines are not representing license text
Drop upstreamed patch
(From OE-Core rev: 9d26c595f648a8375ac92c2923b1cce3a1217c53)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: af1ba0dfc904c78e3e030b9d81806f8269e66c56)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: FSF address updated in hdsploader/COPYING and ld10k1/COPYING.LIB
Fix built with clang along the way
Package python dependent tools into a separate package
(From OE-Core rev: 2a39c8529332c4ea0f8edcac7cfdfb410ca3fb5b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Installing xz and busybox together may cause conflicts for xz, xzcat,
unxz, and their lzma variants. In the default configuration, xzcat is
silently replaced with a symlink to busybox. If busybox is compiled with
CONFIG_XZ=y, its postinst fails during do_rootfs.
Using update-alternatives to xz handles these conflicts properly.
(From OE-Core rev: e48cd8423562d4b03bdf55ba04873b7582f12452)
Signed-off-by: Allen Wild <allenwild93@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid collision of e2fsprogs provided tune2fs, mke2fs and mkfs.ext2
commands with corresponding BusyBox provided applets in case both
packages are installed to same rootfs, by adding these commands to
update-alternatives scope
(From OE-Core rev: 81dc858a24cc5b5dc547356eb22f00dde9801b6f)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream release notes:
Changes for version 1.74 - 2018-04-22
avoid 'uninitialized' warning in URI::File when host has no domain name set (PR#53, thanks Shoichi Kaji!)
(From OE-Core rev: 346afbee122a3e0642d552cd5b762e6f0b5a7957)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly:
North Korea switches back to +09 on 2018-05-05.
The main format uses negative DST again, for Ireland etc.
'make tarballs' now also builds a rearguard tarball.
New 's' and 'd' suffixes in SAVE columns of Rule and Zone lines.
Changes to past and future time stamps
North Korea switches back from +0830 to +09 on 2018-05-05.
(Thanks to Kang Seonghoon, Arthur David Olson, Seo Sanghyeon,
and Tim Parenti.)
Bring back the negative-DST changes of 2018a, except be more
compatible with data parsers that do not support negative DST.
Also, this now affects historical time stamps in Namibia and the
former Czechoslovakia, not just Ireland. The main format now uses
negative DST to model time stamps in Europe/Dublin (from 1971 on),
Europe/Prague (1946/7), and Africa/Windhoek (1994/2017). This
does not affect UT offsets, only time zone abbreviations and the
tm_isdst flag. Also, this does not affect rearguard or vanguard
formats; effectively the main format now uses vanguard instead of
rearguard format. Data parsers that do not support negative DST
can still use data from the rearguard tarball described below
(From OE-Core rev: f717eeff2d4823163cb72fb79101220cc48b3286)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to build procedure
The command 'make tarballs' now also builds the tarball
tzdataVERSION-rearguard.tar.gz, which is like tzdataVERSION.tar.gz
except that it uses rearguard format intended for trailing-edge
data parsers.
Changes to data format and to code
The SAVE column of Rule and Zone lines can now have an 's' or 'd'
suffix, which specifies whether the adjusted time is standard time
or daylight saving time. If no suffix is given, daylight saving
time is used if and only if the SAVE column is nonzero; this is
the longstanding behavior. Although this new feature is not used
in tzdata, it could be used to specify the legal time in Namibia
1994-2017, as opposed to the popular time (see below).
Changes to past time stamps
From 1994 through 2017 Namibia observed DST in winter, not summer.
That is, it used negative DST, as Ireland still does. This change
does not affect UTC offsets; it affects only the tm_isdst flag and
the abbreviation used during summer, which is now CAT, not WAST.
Although (as noted by Michael Deckers) summer and winter time were
both simply called "standard time" in Namibian law, in common
practice winter time was considered to be DST (as noted by Stephen
Colebourne). The full effect of this change is only in vanguard
format; in rearguard and main format, the tm_isdst flag is still
zero in winter and nonzero in summer.
In 1946/7 Czechoslovakia also observed negative DST in winter.
The full effect of this change is only in vanguard format; in
rearguard and main formats, it is modeled as plain GMT without
daylight saving. Also, the dates of some 1944/5 DST transitions
in Czechoslovakia have been changed.
(From OE-Core rev: aeb3d295581908ca9a9d8f1705f70b49b2de32e3)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead, first check if we need to do anything at all during first boot,
and if so, either postpone to first boot via pkg_postinst_ontarget()
when running on host, or run the necessary setup code when running on target.
(From OE-Core rev: 16df1717c3813ba773e0dfa2d1db471816d8b99b)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's possible that downloading file from updateserver fails. In
this case, we should error out instead of continue.
We have users reporting unexpected behavior of 'devtool sdk-update'.
When an invalid url is supplied, e.g., `devtool sdk-update http://invalid',
the program reports 'Note: Already up-to-date'.
This is obviously not expected. We should error out in such case.
(From OE-Core rev: 449564783dfb162536a2f772b3a8704973221e0f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Static PIE doesn't work entirely right in GCC 7, for example ldconfig on ARM
with the flags enabled will something segfault during initialisation.
To mitigate this until we have GCC 8 integrated, don't enable static PIE.
(From OE-Core rev: 5f64946b8740a5d944f48ec430470265703bfe5e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add test cases to test “exclude” and “installroot“ options, also modify
the logic of filtering packages on the feed to have all the packages
needed by the tests.
[YOCTO #10744]
(From OE-Core rev: 1121806603c6f621d084b692216f3f616a0768dc)
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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*.
(From OE-Core rev: f04e6bd144deb0c8fe2742f66b18904b6619a502)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: 7a1d0f532bb2a6772e24a9fd4515bd1f3ab15324)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: d693457f9de92e4e8b61881638787e831f0ca197)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: 7dd9772eca6df52db09b65537fdf689f1aa3fd8f)
Signed-off-by: Krzysztof Taborski <taborskikrzysztof@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 2c9c4a406a [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
2c9c4a406a was fixing but we should avoid doubling down on the
paths thus fixing the -native and usrmerge builds.
(From OE-Core rev: b46c55c3b9db5d8f2080ae2611294a5b24efe4a4)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: 06aaafd14f3c8e27faeea0a514f80e1ff5eb4deb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
(From OE-Core rev: 1f03019356e3712435dbe4ed9f359992b0ad4578)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the relative difference is greater than 2%, make the text bold to highlight
it.
(From OE-Core rev: 500e28311248713d4772480b81b10777390da909)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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
(From OE-Core rev: c693b7ec8914460c891a5fb8bd36fb9401e62ac0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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.
(From OE-Core rev: 5e95178996185976adf2f2d91550fa7ff0e82f54)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- 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
(From OE-Core rev: 10cb7bccc2452375b363ba82bf1be2ee0cb0e8e2)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: 38abd26fe7de321e0f1fc4895f754f34dee90f6c)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* from 861c1a8286
* 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
(From OE-Core rev: bb9a62acaf9aa1691ce276bf037ba35b6c924276)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Libssp is only needed on non-glibc/non-musl systems
Add rpcsvc-proto for rpcgen since its not part of glibc
anymore
(From OE-Core rev: 70c1154163761253346fb477ff362af6a838be09)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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
(From OE-Core rev: 06602d56d1d311562144eafe459fcea36931a34c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This header is used by other apps e.g. ippool
glibc provides an internal version which it should not
(From OE-Core rev: fe24a5d24cb2f6af9b5dd20089e36afe99e88ea1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-lnsl needs to be removed even on glibc
(From OE-Core rev: 1d1e2f2c44aa6d02458cec720bee2818cbaa31ff)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported patches
Redo musl support patch such that it
can be applied universally
(From OE-Core rev: 94c23613724073f8def71bc9e76d7fd7a9f318ad)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will substitute the glibc nis module which
has been removed
Skip for non-glibc systems
(From OE-Core rev: cabef0916d860449bfbcc4ff596ec9f0029849e9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is no longer needed as gcc provided libssp
is not built
(From OE-Core rev: 6d025fe137e835ef2388f402d8d58728e62ed280)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libssp is implemented fully in glibc as well as in musl
so we really do not need the gcc version of this library
except may be for mingw, where we keep it enabled anyway
gcc in OE is built with the knowledge that C library
already provides libssp implementation, we should therefore
not need the gcc implementation of same.
libssp_nonshared piece is a detail which is needed when gcc
is the compiler, in glibc this is part of libc_nonshared.a
already and libc_nonshared.a is linked always when linking
with -lc becuase libc.so in glibc is actually a linker script
GROUP ( /usr/lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /usr/lib/ld-linux-x86-64.so.2 ) )
which automatically links in the needed runtime bits, this however
is not the case for musl, where core SSP APIs are implemented in full
but compiler specific runtime isn't, for this we add a new package
called libssp_nonshared which generate the needed runtime stub
and gcc is already carrying patch to link to libssp_nonshared.a
on musl
This should fix a long standing problem where static PIE executable
were not buildable with OE since it was conflicting SSP implementation
one from C library and the other one from gcc and we end up with
duplicate symbol errors during linking.
Backport a patch from trunk which enhances enable|disable-libssp
to not only disable building libssp but also not emit the gcc
specs to use it for subsequent linking when stack-protector options
are used on compiler cmdline
(From OE-Core rev: 6c14f99936f8c8c9b9d9f40a6b0c69675ea9a566)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libssp-nonshared is required on musl since
it does not implement the gcc runtime piece of
libssp, which actually it a gcc optimization to
reach to __stack_chk_fail
(From OE-Core rev: 72e254e99682aa0e2d01f20f50d9fbdeb77529b3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libssp-nonshared is a minimal gcc runtime piece which is needed
on non-glibc systems which do implement libssp APIs in libc
Use PIE flags to compile libssp_nonshared.a so it works with
security flags on as well
(From OE-Core rev: ddfab4d021d4daa5aefcd9cdd89d349bbd4b6869)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When trying to build meta-toolchain using TCLIBC = "baremetal"
bitbake throws an error due to a mising dependency:
ERROR: Nothing PROVIDES 'virtual/crypt'
glibc PROVIDES virtual/crypt but was skipped:
PREFERRED_PROVIDER_virtual/libc set to musl, not glibc
musl PROVIDES virtual/crypt but was skipped:
PREFERRED_PROVIDER_virtual/i586-poky-elf-libc-for-gcc set to baremetal,
not musl
libxcrypt PROVIDES virtual/crypt but was skipped: Recipe only applies in
nativesdk case for now
This is caused by the changes on commit:
29f65bda6d
nativesdk-glibc: Split glibc and libcrypt to use libxcrypt instead
This is where the concept of virtual/crypt was introduced.
This patch adds virtual/crypt to ASSUME_PROVIDED on tclibc-baremetal,
providing the missing wiring to build meta-toolchain on baremetal
correctly.
(From OE-Core rev: 26a93d2bf7504bf5f3adb085ed2882ae1b1a3701)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new version contains an option to exclude certain tests to
run, example:
$ ptest-runner -e "perl"
(From OE-Core rev: e529b8a68741992a21be874b62c0ea37f51d6a19)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 1.9.6 fixes a number of issues since 1.9.4 release, mainly:
go1.9.5 (released 2018/03/28) includes fixes to the compiler, go
command, and net/http/pprof package.
go1.9.6 (released 2018/05/01) includes fixes to the compiler and go
command.
(From OE-Core rev: d4abc33c81f7aa33c432ead92ae16df01ebe36c8)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a minor release that fixes many important issues found since
1.10.1 release.
(From OE-Core rev: 844f3191cd3d8746b7b31cff83e7655958226520)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If alsa-utils configure is not passed a --with-udev-rules-dir option then
it defaults to using /lib/udev/rules.d. This meant that the hard-coded use
of ${D}/lib in do_install in 262e69c9c7acf0beb7bb6b96299e3c993c906434
worked correctly to remove the unwanted rules.
Subsequently, 0a4372705a030ca54ed420cdfec33d46ab93499c changed do_install
to use ${nonarch_base_libdir}, claiming to fix this in the usrmerge case.
This means that if udev is not present in PACKAGECONFIG and usrmerge is
present in DISTRO_FEATURES then the alsa-utils build system will install
the rules in ${D}/lib/udev/rules.d but do_install will attempt to remove
${D}/usr/lib, resulting in something like:
rmdir: failed to remove '.../tmp-glibc/work/i586-oe-linux/alsa-utils/1.1.5-r0/image/usr/lib': No such file or directory
To fix this, let's just tell configure to install the rules in a specific
known location when udev is disabled. This location can then easily be
cleaned up in do_install without doing any harm if udev is enabled.
Tested both with and without usrmerge in DISTRO_FEATURES and with and
without udev in PACKAGECONFIG.
(From OE-Core rev: 022b644e6ba2caa0b32ce3323621c07f78166234)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Cc: Phil Blundell <pb@pbcl.net>
Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If some other per value option was present than 'skip' or 'nick' then
a KeyError would occur. Ignoring such options matches the behaviour of
the old, Perl-based glib-mkenums.
(From OE-Core rev: ca6c82255fbf0ce359b6205c442e165219a3216e)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This isn't used by anything in oe-core (or in common use in general, only one
package in Debian depends on it), so remove it from oe-core.
(From OE-Core rev: 11ee7989b2f0709119c450819cd66bad70082a93)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove the backported patch 0001-Fix-a-strange-assert-typo-how-was-this-released-with.patch
* Remove the patch 0002-Don-t-set-up-m32-m64-we-do-that-ourselves.patch
as it already rewritten gcc to use toolset.flags again
as below:
commit 12decb3ce680031b915f69902795eec47224fc7d
Author: Steven Watanabe <steven@providere-consulting.com>
Date: Mon Jan 1 12:51:43 2018 -0700
Rewrite gcc to use toolset.flags again.
* Remove the hardcoded parallel build limit as the
mechanism already changed as below commit:
commit 316e26ca718afc65d6170029284521392524e4f8
Author: Steven Watanabe <steven@providere-consulting.com>
Date: Wed Apr 26 14:22:06 2017 -0600
Remove fixed limit to -j. Fixes#189.
* execunix.c: Replace select with poll.
* execnt.c: Use RegisterWaitForSingleObject when the number of jobs exceeds MAXIMUM_WAIT_OBJECTS.
Reference: 316e26ca71 (diff-c88fe8afebc632d0bef2bd5985137af2)
(From OE-Core rev: 358cf46ea4d01b7ad8c355fa103d4a6922cc0a88)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SSTATECLEANFUNCS mechanism was introduced to solve user/group
deletion problem. After RSS mechanism was introduced, there's no
need to do so.
There was a patch to remove these obsolete codes for useradd.bbclass,
but the codes in sstate.bbclass were not removed. So clean it up.
(From OE-Core rev: 215b83ce892a7002ed0b1bd7b82a08e67ae15121)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The gcc "corei7" CPU type was last documented in gcc 4.8.x and has
been undocumented from gcc 4.9.x onwards:
https://gcc.gnu.org/onlinedocs/gcc-4.8.5/gcc/i386-and-x86-64-Options.htmlhttps://gcc.gnu.org/onlinedocs/gcc-4.9.4/gcc/i386-and-x86-64-Options.html
Although it still seems to be accepted by gcc 7.x, it's likely to be
deprecated and removed at some point. To preempt that, switch the
corei7 TUNE_CCARGS -march CPU type to "nehalem", which is the closest
replacement (and matches the CPU type already being passed to qemu).
Since the tune-corei7.inc include file is intended to cover a range
of CPUs from Nehalem onwards, switch the TUNE_CCARGS -mtune option
from "corei7" to "generic", which instructs gcc to produce code
optimized for the most common IA32/AMD64/EM64T processors.
(From OE-Core rev: 8d2f51e9b8d5b27fc61d148a6dd5f6ef5715d6e6)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's only one user of tar.inc (meta-gplv2 has its own copy), so
merge the .inc file into the tar recipe.
(From OE-Core rev: cce7b627f9046c15dde49c001481003cee33fc9c)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add mtd-utils-tests package which includes the test suites mtd-tests,
ubi-tests, fs-tests, etc.
These test suites are useful for verifying flash features or stress
testing.
(From OE-Core rev: 612d0468e34ca922b42a1176ab1e2feef72a2a13)
Signed-off-by: Martin Lund <malu@gomspace.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During Qemu guest migration, a destination process invokes ps2
post_load function. In that, if 'rptr' and 'count' values were
invalid, it could lead to OOB access or infinite loop issue.
Add check to avoid it.
(From OE-Core rev: 0d8f68fe43b4da1a0d356fe6bedb52b8f2a02081)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since perf contaminates linux shared workdir, it probably caused
kernel-devsrc compile failure at world build.
...
|0 blocks
|cpio: ./tools/perf/arch/arm/util/sedr7ORqk: Cannot stat:
No such file or directory
|0 blocks
...
cpio tried to find a file at ${S}/tools/perf and failed
if the input list is not valid.
Make a copy of kernel shared source directory into a perf workdir
could fix the issue.
Drop `Fix for rebuilding' which is obsolete
[YOCTO #10880]
(From OE-Core rev: 9b38c824961fc9dce51bda95c25dac91a69fc64f)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Redefiine regen-all in Makefile to invoke regen-importlib after
building other regen- targets. Change the recipe to not build it
before regen-all. This avoids trying to build it multiple times,
which can occasionally fail.
(From OE-Core rev: 72d62c9af07bf34bb8fbb3958742eb592985acc2)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have some tasks depending on image's do_image_complete task, and we
are also using WKS files to generate partitioned images, but now there
is lacking a inter dependency between do_image_wic and
do_image_complete, so we have to depend on both of them.
Fixed by adding the dependency.
(From OE-Core rev: e3a25f06f2cde701415f4130a43c9b3895d42f10)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add missing target and image for aarch64, as the current revision is
already fully compatible with ARMv8.
(From OE-Core rev: 43dc32aa00c87f62dcf9a857d4e32469ce27c9e9)
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid collision of mtd-utils and mtd-utils-ubifs provided binaries
with identically named BusyBox provided applets in case packages
are installed to same rootfs, by adding relevant binaries to
update-alternatives scope
(From OE-Core rev: a9d8a8b27fc4bc6bdaa9133efd87430813a13212)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building SDK via populate_sdk for qemuarm64 with multilib
enabled, we would have conflict about bits/floatn.h at populate_sdk
time.
file /usr/include/asm/bpf_perf_event.h conflicts between attempted installs of lib32-linux-libc-headers-dev-4.15.7-r0.armv7vehf_vfp and linux-libc-headers-dev-4.15.7-r0.aarch64
file /usr/include/asm/kvm_para.h conflicts between attempted installs of lib32-linux-libc-headers-dev-4.15.7-r0.armv7vehf_vfp and linux-libc-headers-dev-4.15.7-r0.aarch64
Apply oe_multilib_header on these header files to fix the problem.
(From OE-Core rev: 89b4e77129990b842e2ca917b98473ec58205e88)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building SDK via populate_sdk for qemuarm64 with multilib
enabled, we would have conflict about bits/floatn.h at populate_sdk
time.
file /usr/include/bits/floatn.h conflicts between attempted ins
talls of libc6-dev-2.27-r0.aarch64 and lib32-libc6-dev-2.27-r0.armv7vehf_vfp
Apply oe_multilib_header on this header file to fix the problem.
(From OE-Core rev: 650c59c8b6796cf4797ca1860be85f6ccf50bcd2)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid collision of propcs provided w binary with BusyBox-provided
applet in case both are installed to same rootfs, by adding w to
update-alternatives scope via bindir_progs variable
(From OE-Core rev: de4206c6fd0c3be77d71958f532604b65a4dd5be)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its trying to build NATIVE llvm-config which is
already built with llvm-native so we do not need
to rebuild it
Drop setting NINJA_STATUS explicitly, its no longer
needed, on the contrary it hinders the task status
update
(From OE-Core rev: f8393b2b4bc5fbd972be00cb17d0c574ae8deff9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using 'basename' to strip the prefix fails when using multiarch style paths.
(From OE-Core rev: c61c416a6504f7e8885df3c94c839d1031920a1c)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipe wants to install libs into base_libdir, but uses "basename $libdir" to derive that. That breaks in a multiarch setup. Use the proper variable and remove the inline python usage.
(From OE-Core rev: 6427bcae42fb9ec05ccfd5b63db6bc3ee2afcd4f)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Native.bbclass needs to fixup both base_libdir and libdir to handle things like multiarch. This fixes wic and ext4.* image failures during do_rootfs where mkfs.ext4 can't find its libraries.
(From OE-Core rev: 464dad0dc93aeeedd34d90c2f06596060ec135fd)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- update dropbear to version 2018.76
- refresh and drop obsolete patches
- add option to use localoptions.h header file
- do not use harden stuff, which leads to QA warning
(From OE-Core rev: ec050b666ec3684918fd9dc564d2dce9a8d6a8ef)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was only in oe-core for RPM5, but RPM4 doesn't use it.
(From OE-Core rev: fb8ca4225f3e26bfc46cf6c06d55df72684c47c6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing in oe-core is using this now as xz can do multithreaded compression, so
remove it.
(From OE-Core rev: 0c705d112736c90f6a9051c435d430f6aeb4842a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In multiarch /usr/include and /usr/lib/<tuple/ are not on the same level anymore. This change will pass a correct includedir, but a wrong libdir, but the linker picks it up anyway.
Tested on multiarch and regular build.
(From OE-Core rev: 9a02cd981eee8b1cd488373659a8a610962309e3)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Wayland
- add an input method based on the text protocol
* File chooser
- Stop activating without double-click
* Bugs fixed:
710888 GtkInfoBar not shown after calling gtk_widget_show
743975 Better deprecation information for GtkStatusIcon
775546 gdkscreen-x11: Don't try to calculate a refresh rate for RandR 1.3
794008 GtkListBoxRow signal poorly documented
(From OE-Core rev: e967f1b77bbcbdb5bca4ef86740496f0e4934fa1)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Checksum of LEGAL file updated for changes to
upstream URL and addition of Wayback Machine url
(From OE-Core rev: 98f889ca4a07c54165d3d983582639951b8ef32e)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add PACKAGECONFIG for btpclient (BTP client for qualification testing)
(From OE-Core rev: d3c855b4afeb6bd98d64185e2fab3c1671b0c953)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add RISC-V support
* Convert atomic_ops_malloc.c and tests to valid C++ code
* Eliminate 'function is never used' cppcheck warning for
* load_before_cas
* Eliminate 'using argument that points at uninitialized var' cppcheck
* error
* Fix 'AO_pt_lock undefined' error if cross-compiling manually (MinGW)
* Fix public headers inclusion from clients C++ code
* Remove gcc/nios2.h file (include gcc/generic.h directly for nios2)
* Support MIPS rel6
(From OE-Core rev: 053a61ef23981e23c9ab25b7900787a842f304c3)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the meson flags to make sure that introspection files are built
when it is enabled.
(From OE-Core rev: 31dfa9983e8793977936f52ec860b1476ec37e18)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
convert to meson build and provide flags for introspection and
documentation.
(From OE-Core rev: d06b0f899f840fb1a9b15584e6cf272a6f7f2562)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xcalibrate was replaced with other xinput touchscreen protocols,
drop this remaining remnant.
(From OE-Core rev: a1cf2b40b5bf0ead10d3bff155467d4f559e1b73)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The extensions patch was merged upstream and is no longer needed.
(From OE-Core rev: 1e89528b259e784e2e8d526dc2e0357eccddfd1c)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3.22.0 -> 3.23.0
Includes optimizations and fixes for issues detected by OSSFuzz
(From OE-Core rev: b478af4cd9c1cb0cab35b0160f7df3f31ca7358b)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. convert to meson build
2. inherit gnomebase and associated cleanup
3. add libxml2 to DEPENDS list
(From OE-Core rev: 13b717f7cf05aa2f8b1bed27c5dc6ec91b9179e1)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Convert to meson build
2. Remove the following patch made obsolete by moving to meson:
0001-build-Add-with-systemduserunitdir.patch
3. Provide meson flags for introspection and documentation
(From OE-Core rev: 0e1f4b0f0339fa5afd674c8f67dfe35f58cdf77e)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh the following patch:
0001-Don-t-use-AC_CANONICAL_HOST.patch
(From OE-Core rev: 5954f4a078c179563f31ec237fccde146c04e0d0)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Rebase pkgconfig.patch
- Fix regression on arm64 due to invalid use of va_list
License-Update: copyright years
(From OE-Core rev: 4a59b8a3d81ce6391da59f0aced763d0c16f73eb)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Xorg upstream have replaced the individual xorg proto repositories with one
master repository. This converts to the new system.
The only one not included is calibrateproto which was depreciated entirely
and replaced be xinput. We can drop this entirely.
(From OE-Core rev: 460a2b27af8d023b27703b491331c8cbe7aad0ff)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
patch 0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch remove
as it is included in update
(From OE-Core rev: 486b85ced3d309978558cf01dece4f5c1982013e)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
drop patches included in update
(From OE-Core rev: f5341f043ed63db717c74677ff831fd5de7ce7ef)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE changed do to updating copyrige date
(From OE-Core rev: 20e589f0cdae0b062231891f8597c4d90110ceee)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For example, core-image-sato skipped the test alltogether, as it
no longer pulls in Python 2.x at all.
(From OE-Core rev: 5ad0fe9ac6b6362011a17afaa7bee8e788093915)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported 0001-idn-fix-printf-format-security-warnings.patch and
gcc7-compatibility.patch.
Refresh a couple other patches.
(From OE-Core rev: 04d879344e1f45d4d5212996bb1535a3f4ebc545)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop upstreamed 0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch
Add ftw-subdir-walk.patch as it resolves the RECIPE_NO_UPDATE_REASON.
Add --disable-zstd as libzstd isn't provided in oe-core.
Fix wic testcase, as the minimal fs size is now bigger.
(From OE-Core rev: 94b645aa77a4193371e8c77ddc477ec00d858961)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove:
generic-arch-dectection-for-padding-defines.patch (was a backport)
libaio_fix_for_x32.patch (is patching source code that no longer exists)
Rebase:
00_arches.patch (drop the arm bits, as they no longer exist upstream either)
(From OE-Core rev: a3d27ff5763d331c4d6c8b815af5624103311544)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: copyright years updated, added terms for Google double-conversion
(From OE-Core rev: b5797e80ccfa080bc1e57c5fb1f2f4a39d0266cf)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebase 0001-Disable-libseccomp-sycall-filtering-mechanism.patch
Remove 0001-configure.ac-Remove-gnome-common-macro-calls.patch as
the lines it removes are no longer in upstream code.
(From OE-Core rev: 39c78dbc67acd3e5cc6a38d11a5a26e0a0c72d61)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebase patches, remove a couple of upstreamed patches.
Add an option to enable woff2 font library (not currently packaged by oe).
(From OE-Core rev: 182f096210d74d44dd452f2b3f09ec0c3c75f074)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream release notes:
1.00 15 Feb 2018 Grant McLean
- Add makefile dependency to fix order of build steps RT#62289 (patch from
Ed J)
(From OE-Core rev: d11d124ed641aac9934433116e4b7a2b1806d79b)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the wtmp and btmp definitions had been moved from logrotate.conf
to logrotate.d in this release, we also need to install them to
/etc/logrotate.d/.
Also update oeqa runtime logrotate test case.
(From OE-Core rev: 5b4aedd6b18b6ba6ca1bcd460a0b51ced41656cd)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: The checksum of LIC_FILES_CHKSUM has been changed due to
time update of copyright LICENCE to 2018. The content of LICENCE has no
change.
(From OE-Core rev: 7e3b2e462172a8fd457e50726b9cd167736d2347)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the python{3}-setuptools to the latest stable version
Tested on the qemu with core-image-minimal
(From OE-Core rev: 43b3a293c34e8bfc047bd61a2b4ce3b3586f0d71)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix RDEPENDS
Upstream release notes:
2.25 2018-03-18 16:18:24+13:00 Pacific/Auckland
- disable entity expansion when using XML::Parser, for more secure default
behaviour (patch from Ray Morris)
- call to XML::Parser constructor is now in its own method to ease overriding
License-Update: update year to 2018
(From OE-Core rev: d549289fa518a44274911d0959945196bbff930f)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Drop bash-memleak-bug-fix-for-builtin-command-read.patch which has
been accepted since 4.4.17
(From OE-Core rev: ec6da604012b54769db3371a8ed9ac0be4c9d0e6)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Rebase 0001, 0002
2. Fix [already-stripped] QA Issue
Since the following commit add, it strip executables which
are installed by default.
...
commit 087eaf92c621098927f3f98e3652411de48f8b6b
Author: Sven Joachim <svenjoac@gmx.de>
Date: Sun Jan 21 08:01:41 2018 +0100
Import upstream patch 20180120
20180120
+ build-fix in picsmap.c for stdint.h existence.
+ add --disable-stripping option to configure scripts.
...
(From OE-Core rev: 09bc55eeb41a6e06438b35e5456c66198d549b92)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When packaging a node application, a `NameError` can be thrown in create_npm.py if an optional npm dependency does not
support Linux.
(From OE-Core rev: 8293201d98d368d6322eaa960fb3e7cee2ba9368)
Signed-off-by: Sarah Marsh <sarah.marsh@arm.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Where /bin/sh is dash, the recent toolchain scripts change fails as the $(pwd)
usage in oe-init-build-env doesn't function correctly. Fix this by saving
and restoring the cwd and calling the script within its own directory.
This fixes meta-ide-support on dash based systems.
(From OE-Core rev: dceca6d34071b4cbef9e28bbf19dc12f5d925525)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The environment setup script generated in the build directory sets the PATH
variable by expanding ${PATH} which would have host paths filtered. Sourcing
this script to run runqemu will not work as it complains host stty (/bin/stty)
cannot be found.
To resolve this, the script no longer expands ${PATH} during generation time,
instead it will now source oe-init-build-env to initialize the build
environment so that all host paths will be preserved. Also be sure to prepend
STAGING_BINDIR_TOOLCHAIN to the PATH variable so that the toolchain from the
build directory can be found.
[YOCTO #12695]
(From OE-Core rev: a64a144096c0637387244b89ed22f4b5352b2522)
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prevent movefile from falsely setting the source file's owner and
permissions on the destination directory instead of the destination
file when moving between devices.
This bug caused the last file moved into a directory to dictate the
directory's owner and permissions.
(Bitbake rev: 82ea737a0b42a8b53e11c9cde141e9e9c0bd8c40)
Signed-off-by: Mattias Hansson <mattias.hansson@axis.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow debugsource listing using dwarfsourcefiles to fail for static
libraries when the archive content is not as expected.
(From OE-Core rev: e2235b7567a9aba474cda4cdc20cc9bfffc63711)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running the make.bash script to build the host-side
tools, make sure that cgo is using CFLAGS and LDFLAGS for
the build host, rather than those for the target.
[YOCTO #12704]
(From OE-Core rev: b1783e423444e0432d2653fbd00c18d119d82647)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* the pseudo.log is significantly shorter with this revision
fddbe85 Fix symlink following errors
3a48dc4 Fix one more stray slash
691a230 Less chatty debugging
0c053e5 Change copyright default.
(From OE-Core rev: 935542f96c0706a6c5f9b0a77fce175733995f49)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PACKAGELOCK is there to protect readers of PKGDATA_DIR from writes and files
changing whilst they're being read. With various changes to the codebase,
the lock code has become confused as the files are now written by the sstate
code in do_packagedata, not in do_package directly any longer.
This change cleans up the code so read sites take the shared lock (anything in
do_package), write sites take the full lock (do_packagedata sstate).
The lock from do_package sstate is no longer needed since it doesn't write
outside WORKDIR.
(From OE-Core rev: d46cadbbb42aa71f9436d640891d6ccc8f8e3618)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When specifying several -fdebug-prefix-map command line options to
gcc, they are evaluated right to left (last one first).
Normally, the order is irrelevant. However, when we try to map both:
recipe-sysroot-native
recipe-sysroot
the order matters. With the original order most of our debug packages contain
incorrect debug symbols.
Take for example /usr/bin/.debug/setfacl from acl-dbg:
$ strings setfacl | grep native
...
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
Reordering the fdebug-prefix-map arguments will give us the correct paths:
/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
Note there may be additional an incorrect paths, such as:
/usr/src/debug/glibc/2.27-r0/recipe-sysroot-native/usr/lib/x86_64-poky-linux.gcc-cross-initial-x86_64/gcc/x86_64-poky-linux/7.3.0/include
But that one needs to be fixed in the recipe for glibc.
(From OE-Core rev: 593ffffc3baf064b982891d61dacebd08aed3e96)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mingw build was broken by the commit:
"glib-2.0/glib.inc: apply MLPREFIX renaming to all package classes"
When building for mingw, we encounter build errors such as:
mv: cannot stat '<builddir>/<...>/usr/libexec/gio-querymodules': No such file or directory
The mingw file that exists is "gio-querymodules.exe" instead of "gio-qeurymodules".
The fix is to append the names of executables by an OS specific EXEEXT.
[YOCTO #12679]
(From OE-Core rev: 1f53140528d79c38d4f3a82cd0a03bd0ddc87275)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This changes the output of "wic create mkefidisk -e core-image-sato" from:
The following build artifacts were used to create the image(s):
ROOTFS_DIR: /media/build1/poky/build/tmp.wic.ybraavmb/rootfs_copy
to:
The following build artifacts were used to create the image(s):
ROOTFS_DIR: /media/build1/poky/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/rootfs
which s much less confusing for the user.
[YOCTO #12564]
(From OE-Core rev: a4941af2d3624aecc5dcd7ff54b7ea8c9e9dee8b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test shouldn't have merged yet since we don't run portmap/rpcbind
on the autobuilder infrastructure and the test therefore cannot succeed.
We need to document this, set it up, then enable the test. The test itself
is fine and good to have so its left in the code but disabled for now.
(From OE-Core rev: 9640af873d490c5d22b70e32d918c2db37371d21)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"package.bbclass: Include dbgsrc for static libs" introduced a regression
on mingw, fix this by excluding on that TARGETOS.
(From OE-Core rev: 305dda730738a8fb3789047b06fcc45d10212aa3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
QA team were testing qemu boot image and shutdown on each
qemu architecture manually. Add automated test to test qemu boot on
ext4 and nfs, finally check that it can shutdown properly.
(From OE-Core rev: 1df5f2dff832528905ff6fcf1d324619fb3d307f)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The debugsource must be added from the package providing the static
lib, because any package using that lib does not have access to the
source code.
Fixes [YOCTO #12558]
(From OE-Core rev: eefa5ba35663fabe1f3f8cf7f1ff126d51240613)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lsusb can also be provided by busybox (CONFIG_LSUSB), so use
update-alternatives to handle the conflict.
(From OE-Core rev: 3c9ab895f937a7e232780c7cb697e102b5f9aaa8)
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While compiling openssl with option `no-des', it caused the openssh
build failure
...
cipher.c:85:41: error: 'EVP_des_ede3_cbc' undeclared here (not in a function);
...
OpenSSL configured that way defines OPENSSL_NO_DES to disable des
(From OE-Core rev: 08a5cda85594fca8b352841a26131bfac39c8417)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its possible some dynamic runtime library in the dependency chain may
come from sstate and link to libraries which need the libc from
uninative. If we don't do this and binaries are run at do_install time
they would fail to find the symbols from the later libc. Examples:
cmake-native do_install:
bin/cmake: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by TOPDIR/tmp/work/x86_64-linux/cmake-native/3.10.3-r0/recipe-sysroot-native/usr/lib/libexpat.so.1)
dbus-native do_install:
tmp/work/x86_64-linux/dbus-native/1.12.2-r0/build/bus/.libs/lt-dbus-daemon: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/build/build/tmp/work/x86_64-linux/dbus-native/1.12.2-r0/recipe-sysroot-native/usr/lib/libexpat.so.1)
This issue is resolved when the interpreter is changed at sstate unpack
time but this isn't soon enough to avoid issues at compile/install time.
By specifing which dynamic linker/loader to use at compile time, this
race window is removed entirely.
(From OE-Core rev: 35867ee035030ab76fc9ccdb0eb1c3f80126301c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have a problem when for example, a glibc 2.27 based system builds some
library like libpopt-native and puts it into sstate then it is reused
on a pre glibc-2.27 system to build something which depends on popt like
rpm-native. This results in an error like:
recipe-sysroot-native/usr/lib/libpopt.so: undefined reference to `glob@GLIBC_2.27'
In the past we've had this problem with new symbols like getrandom and
getentropy, here its with a more complex symbol where there is an old
version and a newer version.
We've looked into various options, basically we cannot link against our
uninative libc/ld.so since we don't have the right headers or compiler
link libraries. The compiler doesn't allow you to switch in a new set
either, even if we did want to ship them. Shipping a complete compiler,
dev headers and libs also isn't an option.
On the other hand if we follow the ld man page, it does say:
"""
The reasons for allowing undefined symbol references in shared libraries
specified at link time are that:
- A shared library specified at link time may not be the same as the one
that is available at load time, so the symbol might actually be
resolvable at load time.
"""
which is exactly this case. By the time the binary runs, it will use
our uninative loader and libc and the symbol will be available.
Therefore we basically have a choice, we get weird intermittent bugs,
we drop uninative entirely, or we pass this option.
If we pass the option, we can drop the other workarounds too.
(From OE-Core rev: 75a62ede393bf6b4972390ef5290d50add19341a)
(From OE-Core rev: d18bf7fa8e80d6cfaf3fdbe1ab06eec84b954432)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We just ran into an issue where tar failed to build on one server setup
but built everywhere else just fine.
It was running makeinfo to regenerate some docs files and makeinfo was too
old for the host it was running on. There was no dependency on makeinfo-native
as it was not meant to be regenerating the docs.
It was being regenerated as a date from a timestamp used in the docs
was different in Asian timezones than in the other timezones our builds
were being tested in.
I added an entry to https://wiki.yoctoproject.org/wiki/TipsAndTricks/
about how this was debugged.
As such, lets default to setting and exporting TZ to 'UTC' as was already
pioneered by the reproducibile builds work. This makes the builds
deterministic.
[YOCTO #12665]
(From OE-Core rev: 2a90ae7a3286724ff9e3615c4dbf56038f703810)
(From OE-Core rev: e31f31f81efe4b60938b724bece2a03c7c74a68d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This includes the libxcrypt change which allows uninative to work on fedora28.
(From OE-Core rev: 4b27ab6487a54b42a52aa16e98ea4d19fa62b5ae)
(From OE-Core rev: 0685eb697f1dfa3b858b6e594cbd8e6070b4fbb8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The isELF function works by running:
result = file <pathname>
if 'ELF' in result
By default 'file' will prepend the result with the path name of the file
that is being checked. This usually works fine, such as:
$ file /home/foo/openembedded-core/meta/classes/package.bbclass
/home/foo/openembedded-core/meta/classes/package.bbclass: Python script, ASCII text executable, with very long lines
However, if the path includes 'ELF', ELF will end up in the result, and then
the check will return positive.
$ file /home/ELF/openembedded-core/meta/classes/package.bbclass
/home/ELF/openembedded-core/meta/classes/package.bbclass: Python script, ASCII text executable, with very long lines
This will then result in the isELF coming back true, and possibly causing the
checks that use isELF, such as the 'is it already stripped' check, to do the
incorrect thing.
Adding the '-b' option to file will result in the path being omitted in the
result:
$ file /home/ELF/openembedded-core/meta/classes/package.bbclass
Python script, ASCII text executable, with very long lines
(From OE-Core rev: 5a324e9b2cf6378f8eaa4e394f9cb36d4e2680ac)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit 5159ddcb62 string length test
performed against pi_dir has effectively never been able to succeed.
Change this to rather test if pi_dir is not an existing directory. By
doing we remove the chance of seeing the following console error message
during first boot to a pristine rootfs:
'ls: /etc/ipk-postinsts: No such file or directory'
(From OE-Core rev: b1600ec8991dfbd3b73d209b9c620a171c5b13c4)
Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Conditionally support binary reproducibility of rootfs images.
If REPRODUCIBLE_TIMESTAMP_ROOTFS is specified then:
1. set /etc/timestamp to a reproducible value
2. set /etc/version to a reproducible value
3. set /etc/gconf: set mtime in all %gconf.xml to reproducible values
The reproducible value is taken from the variable REPRODUCIBLE_TIMESTAMP_ROOTFS.
[YOCTO #11176]
[YOCTO #12422]
(From OE-Core rev: 11e45082ad00b9c172e59bf6b2a76dd613773f5a)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
initramfs-framework is more modular and expandable. This change was
proposed in commit 28fc6ba761ed4a47efa7c43e7f7dff5e2fe72b5e
"core-image-minimal-initramfs: use initramfs-framework by default" but
reverted due to the selftests runqemu.RunqemuTests.test_boot_machine_iso
and runqemu.RunqemuTests.test_boot_deploy_hddimg failing. Since then,
the kinks have been worked out, and missing functionality that had been
missed (non-EFI installation module) has been added.
Since the PACKAGE_INSTALL variable was getting so long with all these
individual modules getting added, I also introduced a new
INITRAMFS_SCRIPTS variable to the core-image-minimal-initramfs recipe.
This variable makes the recipe look much cleaner, and also allows easier
replacement or additions to the scripts.
Fixes [YOCTO #10987].
(From OE-Core rev: 882ae0dcce2d96a7c286fc23b22b07972d3d8f93)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch chardev-connect-socket-to-a-spawned-command.patch calls
"socketpair". This function is missing in mingw, so the patch
needs to be modified accordingly (by conditional compilation using
_WIN32 macro where appropriate), otherwise we end up with a broken
mingw build.
While it is possible to simply remove the whole patch for mingw build
(via a .bbappend file in meta-mingw), it makes more sense to modify
the patch itself.
(From OE-Core rev: 2d955bb53a8ee36c0a648c23293139612f33f97b)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add groff to RDEPENDS_${PN}, otherwise, the 'man' command cannot
work correctly on target.
(From OE-Core rev: 199d8d53261e22971bd094ddf3318855d539e6be)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is not a problem right now but if we
were to use -fstack-protector-all this can
cause build errors
(From OE-Core rev: 271831133358b3231808e8fe7aa2817e41d98e2f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add runtime test for stap to test basic SystemTap
operations: can compile very basic module and run on
target device.
Note we disable (-DSTP_NO_VERREL_CHECK) SystemTap
additional kernel release check since during OE testing
mismatching kernel-devsrc and kernels are used.
(From OE-Core rev: 659d19fcddb7edaca8f5221148d479e73304b430)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Modern systemtap builds fine for MIPS and aarch64, so don't exclude it from this
packagegroup.
(From OE-Core rev: 01658c4e978182a31dc7e2cd4f525066b479c2f9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemtap uses obstack.h and FTW_SKIP_SUBTREE, both of which are GNU extensions
in glibc.
(From OE-Core rev: 80286cb2e979097800a51801c92e015421482daa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* with RSS used in pyro this script isn't very useful anymore
* RSS makes sure that the dependencies are almost always deterministic
the only case known to me where dependencies are different based on
what was already built in TMPDIR are runtime dependencies resolved
by shlibs code in package.bbclass (which is using global pkgdata, not
specific to given recipe and its RSS) as described here:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=9217#c4
but for this case it's not worth running complete test-dependencies.sh
runs
(From OE-Core rev: ac582a8f856de8dde6a04d9c1da58618b80559b6)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It appears that sometimes xserver-nodm.service is starting before
display driver finished loading causing the following failure in
Xorg log:
(EE) open /dev/dri/card0: No such file or directory
The introduced by this patch is to restart the service,
hopefully the display driver will finish loading.
(From OE-Core rev: c3935f11f2807ef73f224b6690886d863788310d)
Signed-off-by: Ramon Fried <rfried@codeaurora.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If valgrind-ptest is installed, we will get the some prelink error
like below at do_image:
.../usr/sbin/prelink: /usr/lib64/valgrind/ptest/memcheck/tests/wrap7:\
Could not find one of the dependencies: \
.../usr/sbin//prelink-rtld: error \
while loading shared libraries: wrap7so.so: cannot open shared \
object file: No such file or directory
The wrap7 needs to link the shared object in the path
/usr/lib64/valgrind/ptest/memcheck/tests, but it fails.
So we correct the path for ptest.
(From OE-Core rev: 1ec0c977c55ae2c38252e1807dc15c56007d30dc)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For the time being, there is a serious bug[1] in Go 1.10 when it comes to
use the shared runtime support which cases problems in multiple projects.
1. https://github.com/golang/go/issues/24640
It is still unclear if the problem arises from a bug inside the
compiler itself or it makes a real problem more visible. Either way,
using 1.10 as default seems to be a risk so we are changing back to
1.9 for now.
Refs: [YOCTO: #12631]
(From OE-Core rev: c5b5055d2dc04317a7a64c150046a6435a6805c2)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump the version number for force remotes to use a newly generated
environment, since the old one potentially had a few bugs
(From OE-Core rev: 6c3b2ac41f3412ebce8364df637d64e34daab8a6)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Improve reporting when the icecream environment cannot be created by
assigning the flock call a specific error number when the lock fails so
it can be distinguished from environment creation errors.
(From OE-Core rev: 563448a7a3ca87cc07528c18f8047913e0468e7a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ICECC_ENV_DEBUG variable can be set in local.conf to pass additional
debugging options to the Icecream toolchain creation script.
(From OE-Core rev: be913284bb34ebf4a71770646044603a2a27d01b)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It can often be useful to include additional debugging tools the
toolchain such as strace. Add an option to include an arbitrary path.
(From OE-Core rev: 1fc1e3d59afd292ff8f7c4e1f64324134b73b8f4)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Shared libraries sometimes (frequently?) don't have a program
interpreter specified. The previous code would fail to find the library
dependencies in these cases because no interpreter could be found.
Commonly, this meant that if a library depends on another library, it
might not be included toolchain because dependency scanning stops with
the first one.
Instead, capture the program interpreter from the program or library
that starts the dependency chain and use that interpreter to get all of
the dependencies in the chain, recursively.
Additionally, if no interpreter can be found, fallback to using ldd
(From OE-Core rev: 4f55e61e9e3dd921bd71a127580dc5fc71d7b339)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some newer libraries and programs use RUNPATH to specify the library
search path. These executables were being skipped by the rpath fixup
code because it was grepping the ELF header for RPATH only. A more
correct solution is to ask patchelf to report the rpath, as that tool
will properly report either RPATH or RUNPATH as appropriate.
(From OE-Core rev: d1e88ad01df9b6419e02f632b1ba288d4cc3b2bf)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Modifies the icecc-create-env script so that it can log output to a log
file. In addition, a --debug flag is added that allows verbose logging.
Finally, the silent flag was removed since it was never used in
icecc.bbclass
(From OE-Core rev: 3d0bd786fd79967cf8754d022044df311dd8ad3e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In some circumstances, gconf isn't able to save configurations
because ~/.config folder aka root_dir doesn't exist.
For example when saving settings using matchbox-appearance,
the following error is shown:
GConf Error: Configuration server couldn't be contacted: D-BUS error:
Can't overwrite existing read-only value: Value for
`/desktop/poky/interface/font_name' set in a read-only source at the
front of your configuration path
This issue was not seen before because ~/.config directory is shared
between several packages and one of those packages usually creates it
by the time gconf wants to use it.
This patch makes sure that gconf creates the .config directory if it
doesn't exist, along with the gconf directory inside it.
[YOCTO #12632]
(From OE-Core rev: 4d16fa05e47ccc8425ebb085c295d7d8dca6b2e6)
Signed-off-by: Alejandro Hernandez <alejandr@xilinx.com>
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
/mmeeks/bootchart.git is redirecting to /xrmx/bootchart.git so update SRC_URI to
match.
(From OE-Core rev: c4208f0ef0753a4615cf9dbcfb305f638b262f50)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The python3 installation in the SDK did not include the minimum set
of modules to be functional, particularly in the case where Python
is brought in through dependencies. Rather than requiring the user
to explicitly add the modules, it's better to pull in the modules
through RRECOMMENDS. Note that the Python 2 recipe already does
this.
(From OE-Core rev: 5a88e59e488248b7ec53b072f934052b96c78a51)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Author: Juro Bystricky <juro.bystricky@intel.com>
Date: Fri Mar 30 10:14:05 2018 -0700
modpost: srcversion sometimes incorrect
"srcversion" field inserted into module modinfo section contains a
sum of the source files which made it. However, this field can
be incorrect. Building the same module can end up having inconsistent
srcversion field eventhough the sources remain the same.
This can be reproduced by building modules in a deeply nested directory,
but other factors contribute as well.
The reason for incorrect srcversion is that some source files can be
simply silently skipped from the checksum calculation due to limited
buffer space for line parsing.
This patch addresses two issues:
1. Allocates a larger line buffer (32k vs 4k).
2. Issues a warning if a line length exceeds the line buffer.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
(From OE-Core rev: 7d92ed3dcd8c4b5f7cde2f521569c792d55fae65)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I guess not many people are building linux-yocto-tiny for
v4.15, given that I managed to mangle the name of the recipe
when I introduced it.
[YOCTO #12640]
(From OE-Core rev: 6c1ddbbb0eb9c86646fcb99520e4747cfcd2b418)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.15+ already has the following dependencies:
DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
DEPENDS += "openssl-native util-linux-native"
Updates to 4.14 via the -stable releases have also introduced the same
dependencies to 4.14's "make scripts". As such, we bring the same lines
into 4.14 to restore the ability to build scripts.
(From OE-Core rev: 148fd7a5bfea5d18952355a294e6d36ca82291d2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xz has native support for threaded compression now and SDK creation was the only
part of oe-core which is using pixz instead of xz.
Not only does this remove pixz-native from the SDK dependencies, but in my
limited testing xz -T0 is slightly faster and produces smaller archives than
pixz for the same input.
(From OE-Core rev: ce1cfa57d9828c0898f52e736f671ce8db534031)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since pigz is no longer a drop-in replacement for gzip (oe-core 1624b7b) the
image creation has been using gzip instead of pigz, despite still depending on
pigz-native. Fix this by invoking pigz explicitly.
(From OE-Core rev: 214fa7fe3b162162d2fa8b31eec28bedd86fcc7d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [#YOCTO 12030]
Updated the "Task Checksums and Setscene" section to provide a bit
of user information around the bitbake-dumpsigs use that lets a
user examine signatures and inputs that determine if a do_compile
task is indeed supposed to be run.
Added more explanation of how a user can examine signatures used
to determine if a do_compile task is indeed supposed to be run.
(Bitbake rev: 103bbc6642261cd5da038ba2071621919ee01253)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made sure that the terms "OpenEmbedded-Core" and "OE-Core"
are used as such throughout the manual.
(Bitbake rev: 677e58f8616a4bf58772e54d2313af3885a3b110)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware contains ${PN}-license package since this commit:
commit 1ee083da0730408fffdbbf5f29abc299c0e61be9
Author: Jackie Huang <jackie.huang@windriver.com>
Date: Mon Apr 13 10:17:21 2015 +0800
linux-firmware: fix the mess of licenses
* LICENSE_CREATE_PACKAGE functionality in license.bbclass when enabled
adds new package with suffix:
LICENSE_PACKAGE_SUFFIX ??= "-lic"
but then it checks if ${PN}-${LICENSE_PACKAGE_SUFFIX} is included
in PACKAGES before adding it and when found it shows:
WARNING: linux-firmware-1_0.0+gitAUTOINC+4c0bf113a5-r0 do_package: linux-firmware-lic package already existed in linux-firmware.
and doesn't add the ${PN}-lic to PACKAGES and causes another warning:
WARNING: linux-firmware-1_0.0+gitAUTOINC+4c0bf113a5-r0 do_package: QA Issue: linux-firmware: Files/directories were installed but not shipped in any package:
/usr
/usr/share
/usr/share/licenses
/usr/share/licenses/linux-firmware
that's because it was searching ${PN}-lic in PACKAGES as a string
so it found ${PN}-lic as a substring of ${PN}-license, add a split
to search in an list
(From OE-Core rev: 9b9897fc034819385a9d4ce591cc79dd458f3f24)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* add it to allow older distributions e.g. Ubuntu 14.04 with gcc 4.8
to build this, otherwise it fails with:
../git/gen-des-tables.c: In function 'write_table_u8':
../git/gen-des-tables.c:307:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (size_t i = 0; i < m; i++)
^
(From OE-Core rev: 2591741896a6a267ceca9519f21bd39b5b196559)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add option for dbus in configure.ac, and explicitly build without dbus
for rpm-native.
Previously, the rpm recipe tries to prevent rpm-native from attempting
to inhibit shutdown via session dbus by appending '--disable-plugins'
to EXTRA_OECONF in case of native.
However, some layer may need some functionality via plugin support. And
when it enables it, we would meet the following warning at rootfs time.
Unable to get systemd shutdown inhibition lock: Socket name too long
As plugins/systemd_inhibit.c is the only place that's related to this
dependency, we can be sure that dbus is really not needed for rpm-native.
(From OE-Core rev: 815ccef2d5bef1e46c51916e694d0974aee394a9)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since ${SSTATE_ARCHS} now contains ${PACKAGE_EXTRA_ARCHS} there is no
longer any need to add those extra architectures to the list of
architectures handled in get_deployed_dependencies().
(From OE-Core rev: e55e6df4f1434458cdfa0e2d3610b48119e5a782)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes sure files provided by packages that use any of the extra
architectures defined using ${PACKAGE_EXTRA_ARCHS} are cleaned from
tmp/sysroot-components when sstate_eventhandler2() executes.
Without this, changing a package from using one of the extra
architectures to another architecture would lead to files being
leftover in tmp/sysroot-components, which could later be picked up
when creating the RSS for another package rather than the files that
belonged to the updated package.
(From OE-Core rev: b959b3bd92aa2939d407800fc4167b0535fd4674)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this change, there will be two sstate index files in
tmp/sstate-control for any machine that contains a dash in the
name.
(From OE-Core rev: 29e7799bdb3773c40492e01448e0c614ed44583d)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fedora28[1] has decided to go ahead and use libxcrypt to replace libcrypt from glibc
despite the change not having merged into glibc upstream yet. This breaks the use of
uninative in OE on fedora28 since binaries there are now using new symbols only found
in libxcrypt. libxcrypt is meant to be backwards compatible with libcrypt but not the
reverse.
Since this will impact OE in the next release cycle, this changes nativesdk only
to use this new model and adds libxcrypt to work in that case. This allows us to
build a uninative which is compatible with fedora28 and previous other OSes.
In order to work, recipes will now need to depend on virtual/crypt where they use
libcrypt since its now a separate library and we can't depend on it from glibc to
preseve backwards compatibility since glibc needs to build first. For now, only the
problematic nativesdk recipes have been fixed up. For target use, the default
provider remains glibc for now. Assuming this change is merged into upstream glibc,
we will need to roll this change out for the target but we will do this in the next
release cycle when we can better deal with the resulting bugs.
[1] https://fedoraproject.org/wiki/Changes/Replace_glibc_libcrypt_with_libxcrypt
Original patch from Charles-Antoine Couret <charles-antoine.couret@essensium.com>,
tweaked by RP to add virtual provides, SkipRecipe for libxcrypt and other minor
tweaks.
(From OE-Core rev: c1573cb7faeb296fe7077a60d02443d5ed5bded0)
Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@essensium.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we see warnings if LAYERSERIES_COMPAT is unset, the auto generated
code from devtool needs to set this to avoid warnings which break
various tests.
(From OE-Core rev: f65ebfeda0bfbac78e4a2a6609ba654ca38a8b0e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we see warnings if LAYERSERIES_COMPAT is unset, the auto generated
code from devtool/oeqa needs to set this to avoid warnings which break
various tests.
(From OE-Core rev: 27568410ebb0d40db3428550704f35199df0e034)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alejandro asked this be reverted as the patch causes more problems
than it solves.
This reverts commit 5d288d286e.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add Perl's patch submitted to upstream to be compiled along with glibc with libcrypt split.
(From OE-Core rev: 79703d83790a2973fefdb0e12e125b5f17e98cdf)
Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@essensium.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although the package will get an automatic prefix "kernel-module", so
the package kernel-module-hello does exist, populating rootfs can
generate an error:
- nothing provides kernel-module-hello ...
This is quite unfortunate, as this recipe is used as a sample.
Adding RPROVIDES_${PN} += "kernel-module-hello" to the recipe fixes
the problem.
[YOCTO #12641]
(From OE-Core rev: ca17a7bbea5f5454da43545d544ff7772d83ac19)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New crosstap python implementation is total replacement for
crosstap shell script, that has superseding capabilities.
New script support cross compiling of SystemTap scripts
for user-land, by using supplied image rootfs. Whereas old
script could only deal with scripts against kernel. New script
has more complex logic and additional capabilities.
As invocation interface new script support old "legacy"
mode and provides alternative new regular options interface
to access additional functionality.
(From OE-Core rev: 1cbbcf26e0a9ca6e0b34a89512bf75dbae8bfaf0)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For details on issues fixed please look at commit message of individual
patches.
Upstream-Status: Backport [systemtap@sourceware.org]
(From OE-Core rev: 5aa93de3a79c8691e74e982d3d4b0099b04f5555)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For cases when systemap module compilation happens on host in
cross-compilation mode, and it is desirable to minimize systemtap
presense on target we need to have just smallest possible set of
utilties that are required to run compiled modules.
Introduce new "translator" PACKAGECONFIG, if it is not set
it would mean that just minimal set of run-time utilities will
be included in the package.
For run-time only systemtap build variant use
PACKAGECONFIG_pn-systemtap = "" or
PACKAGECONFIG_pn-systemtap = "monitor"
Suggested-by: Taras Kondratiuk <takondra@cisco.com>
(From OE-Core rev: a22b8140c6924eb3b3cd7b5bea66a4d3ed413807)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is IMAGE_GEN_DEBUGFS="1" variable that enables build of
additional rootfs-dbg and additional archive that contains
complimentary symbols files for a given image. But the issue
with this resulting directory and tarball that before use it
has to be combined with original image content. It is required
since all cross debugging tools like gdb, perf, and systemtap
need file system that contains both target executables/libraries
and their symbols. Those tools need to find executable/library
first and through it debuglink note find corresponding symbols
file.
image-combined-dbg when added to USER_CLASSES just copies
final resulting rootfs back into rootfs-dbg creating combined
target and debug symbols rootfs that can be used for debugging
directly.
(From OE-Core rev: 7ccb077f51c9232de70e5c6f9897fd9986e3be9d)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since v7.51.0, libidn2 is the only available option, libidn
support was dropped.
The configure option was renamed as of v7.53.0
Therefore, curl unconditionally tries to build against libidn2,
which in particular is a problem for curl-native, as that might
or might not build against the build-machine's libidn2 now,
which furthermore causes problems when trying to share sstate
between multiple build machines.
We therefore see the following in the config log:
...
checking whether to build with libidn2... (assumed) yes
...
checking for libidn2 options with pkg-config... no
configure: IDN_LIBS: "-lidn2"
configure: IDN_LDFLAGS: ""
configure: IDN_CPPFLAGS: ""
configure: IDN_DIR: ""
checking if idn2_lookup_ul can be linked... yes
checking idn2.h usability... yes
checking idn2.h presence... yes
checking for idn2.h... yes
...
IDN support: enabled (libidn2)
...
even though this recipe tries to disable that.
While libidn2 isn't available in OE, this change at least:
* prevents curl-native to silently build against libidn2 if
that is installed on build machine, even if not requested
* alerts people who use the PACKAGECONFIG option that it's
not actually doing what they intend to do
(From OE-Core rev: 705eaea991622bdbb2ee83eefa8df8e665e3efe4)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
aarch64 has been supported since GCC 5.1, sparc has been supported
since 4.9, and S390 since 7.1.
(From OE-Core rev: a2cbb5dc4c6191ca343dc4211abde693dc1a579a)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
aarch64 has been supported since GCC 5.1, sparc has been supported
since 4.9, and S390 since 7.1.
Also mark as broken entirely with musl.
(From OE-Core rev: 7d90d2a70f0184ad715e9917d3e7aa096cf98f79)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We'd like layers to set this variable so that we know which layers are compatible
with which others, even if the branch is a generic un-updated "master" branch.
Start printing a warning to highlight this issue.
(Bitbake rev: cca81e33b58c390dcf5cc3a31555a43b79177166)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also set LAYERSERIES_COMPAT for core (we're compatible with ourself).
(From OE-Core rev: 4aa43cd844781a07a2dbf17f21ed35c6a0100d02)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adpat to the upgrade from 5.0 -> 6.0.
(From OE-Core rev: dc52f9cf343df4c2d77bee0e47004466321e7edb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since gnomebase class already inherits autotools and pkgconfig,
there is no need to repeat it here.
(From OE-Core rev: bae5ced6eba78f1903e15d7f9dd7afc3c06e8955)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since gnomebase class already inherits autotools,
there is no need to repeat it here.
(From OE-Core rev: 9a514311fa062fa3f8bccc4c47e907f88221024a)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since gnomebase class already inherits autotools and pkgconfig,
there is no need to repeat it here.
(From OE-Core rev: 301d153781c7ddb6e38178c56f960e18d62788ab)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since gnomebase class already inherits autotools and pkgconfig,
there is no need to repeat it here.
(From OE-Core rev: 2eb7ba6cb68e171c880bcb1fc614f1ae6b300e4f)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PRINC is no longer used and removed from documentation:
commit 7baadd86ee
Author: Scott Rifenbark <scott.m.rifenbark@intel.com>
Date: Mon May 18 09:25:51 2015 -0600
ref-manual: Removed PRINC entry from the glossary
(From OE-Core rev: b15089b014b95a8730f622ca4959b42ed15cb175)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When archiving a kernel, if S is ${WORKDIR}/git, then
${WORKDIR}/git is in fact a soft link into work-shared,
and the archive contains just the soft link. Fix by
archiving the real directory.
(From OE-Core rev: 564204dd6b73697ef4b6c17243067892876cc323)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Special handling for kernel source in work-shared was
incorrectly limited to kernel-yocto.bbclass instead
of kernel.bbclass.
(From OE-Core rev: b8c5680a67888d43540366a40bd0c501e926ac31)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we have postinst intercept execution working for SDK generation,
adding MLPREFIX again makes sense in all cases, as the intercepts do require
that it is there.
This reverts commit 4ffb728df4.
(From OE-Core rev: 0792540170b6150a0c5fe8586bb8012affc3f90e)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When it was something else than /usr/libexec (e.g. when
installing native SDK packages), things broke down.
(From OE-Core rev: d99e819a6cbde6d1116c434ddba4c5f8eca7e6d8)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously this wasn't done, and so any packages installed from
populate_sdk would not have the postinsts fully executed
(particularly generation of various caches via running nativesdk or target
binaries with qemu wasn't working).
[YOCTO #12630]
(From OE-Core rev: a484ff072eea3f47de2c3348048201249cefa46b)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows running the intercepts when creating SDKs, which previously
wasn't possible, as SDK code does not use the rootfs class, and calls
into PackageManager methods directly.
(From OE-Core rev: f830388c5e9125f385a42acd7365d1235967b57c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will allow handling postinst_intercepts when populating SDKs (which
use PackageManager class directly, and do not utilize RootFS class).
(From OE-Core rev: 9454fd328040fd58c981d028a74fcf181bde8e89)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will be useful when also moving postinst_intercept handling to
package manager class from rootfs class.
(From OE-Core rev: a4cd69bdd5b9dfa1125887f4d9038d41996e39c7)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its use required a script from an external repo which hasn't been updated
in 4 years, the recipe itself is out of date (doesn't install all
intercepts), and there is no oe-selftest or documentation for this.
If anyone still wants this, please do it in a separate layer.
(From OE-Core rev: 1fbae102fde54c9e7a0d74a4cda9900cd17640d6)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list of patches in SRC_URI was restructured in 49aae1d7, and left
a comment about patches from Debian hanging without context. Move and
reword it to make it remain useful.
There was also a leftover comment that referred to two .h files and
do_configure_prepend() that were removed in f960c026.
(From OE-Core rev: 80a702db442674e16a450a120972eeee4cbcb29a)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, RPM_SIGN_PACKAGES is not defined. Add gpgcheck=0 to
oe-remote-repo.repo file, otherwise dnf will complain during
install operation on target
Note, RPM_SIGN_PACKAGES is set only when you inherit sign_rpm explicitly
(From OE-Core rev: 002a71eaa7606828c399972d8fd35e19e7b71929)
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This version has been published at April 03, 2018, and it is a bugfix
only release.
The release includes several important fixes that were made as part of
18.0.1 development cycle. Full list of bug fixes can be see online at:
https://www.mesa3d.org/relnotes/17.3.8.html
(From OE-Core rev: 782fb864349d4f5c07a38f0e117659bfb841d3c2)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As introduced by a56fb90dc3 ('base.bbclass
wipe ${S} before unpacking source') the base.bbclass uses a python
anonymous function to set the 'do_unpack' varflag 'cleandirs' to either
'${S}' or '${S}/patches' depending on equality of '${S}' and '${WORKDIR}'.
Not that this only differs from the way almost all other recipes set or
modify a tasks 'cleandirs' flag, it also has a significant impact on the
kernel.bbclass (and possibly further ones) and causes incorrect
behavior for rebuilds triggered by source modification, e.g. by a change
of the defconfig file for a kernel build.
The kernel.bbclass tries to extend do_unpack[cleandirs]:
| do_unpack[cleandirs] += " ${S} ${STAGING_KERNEL_DIR} ${B} ${STAGING_KERNEL_BUILDDIR}"
As python anonymous functions are evaluated at the very end of recipe
parsing, the d.setVarFlag('do_unpack', 'cleandirs', '${S}') statement in
base.bbclass will overwrite every modification to cleandirs that is done
as shown for the kernel class above.
As a result of this, a change to a kernels 'defconfig' will lead to an
updated defconfig file in ${WORKDIR}, but as ${B} never gets cleaned and
${B}/.config still exists, it will not be copied to ${B}/.config and
thus not find its way in the build kernel.
This is a severe issue for the kernel development and build process!
This patch changes setting of the cleandirs varflag in base.bbclass to
a simple variable assignment as almost all other recipes do it. This now
again allows overwriting or appending the varflag with common methods
such as done in kernel.bbclass.
This issue affects morty, pyro, rocko and master.
(From OE-Core rev: 20901b9783220aa6e7adae4951c531919c20859b)
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's possible that a trailing or extra slash somewhere in the external
source path could result in the directory not being removed from
cleandirs; it's also possible that a cleandirs entry is somewhere
underneath the source tree and that tree should never have parts of it
deleted by the build system. Use oe.path.is_path_parent() (which makes
paths absolute before checking them) to find out if any path in
cleandirs is anywhere underneath the external source path, and drop it
if it is.
(From OE-Core rev: 87ec0fb470274d980f8553a85f778809c269c5d7)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the existing oe.recipeutils.split_var_value() function to split the
unexpanded value of the cleandirs varflag, in case it contains python
expressions - we don't want to split the expression itself as the chunks
will not expand properly individually and we can miss something that
expands to the source tree (and thus it can get deleted, the avoidance
of which is the whole point of this code).
(From OE-Core rev: 611cee69d7300a4746edd752c9557af60e7beecc)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix typo in sulogin-path setting. It should be ${base_sbindir} instead of
just {base_sbindir}.
(From OE-Core rev: c168f6fe35ada66f7d6d6b5151fa248230c38676)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When uninative is activated (poky's default) internal datastore variables are modified (NATIVELSBSTRING and SSTATEPOSTUNPACKFUNCS) to enable uninative
support. This is happening after parsing is done at the beginning of the build. On the next bitbake call the recipe would be parsed if the two
variables above were not added to the parsing whitelist BB_HASHCONFIG_WHITELIST.
The fix is to add these two variables to the recipe parsing whitelist BB_HASHCONFIG_WHITELIST, this is done at recipe parsing time, only when
uninative.bbclass is used.
(From OE-Core rev: 75bb95ada98ef129d2fa48568f27dddb078c852c)
Signed-off-by: Cuero Bugot <cbugot@sierrawireless.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a couple of prints to get a nicer log, and creates a
small summary or report after checking every module, it
makes it more feasible for adoption, easier to debug why
a module ended at a certain package and see how the
manifest was created.
(From OE-Core rev: 4c2af72f51a7bf187615fc0b3a229d25c3e191e9)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is not using autoconf completely, therefore there
is no autoreconf happening, so when we depend on latest
gnu-config changes e.g. new architectures like riscv
the build does not see them and fails.
Installing these files from native sysroot helps
(From OE-Core rev: 2624f400af6e51f6f3379f9f119b8f81c75a014b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Define cpu type for Qemu in QEMU_EXTRAOPTIONS.
Otherways Qemu will emulate some virtual qemu32/64 processor,
which has very basic set of features, and programs built
for later CPU may crash, due to lack of new features (e.g. SSSE3).
(From OE-Core rev: 11f4fdcafed1383e5b6c2e634c670d19124e537a)
Signed-off-by: Ruslan Ruslichenko <rruslich@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It can be installed to some non standard path in which
case build will be broken.
As python2.7 is specified in HOSTTOOLS we can rely
that it is present in the PATH, so no need to hardcode
it to /usr/bin.
(From OE-Core rev: a200d22b26aded093289cb9150b3f05f76578c83)
Signed-off-by: Ruslan Ruslichenko <rruslich@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A flaw was found when I run:
$ recipetool create "ssh://git@xxx.xxx:7999/xxx.git"
the url turned out to be: "git://git@xxx.xxx/7999/xxx.git;protocol=ssh"
after parsing, the port number was parsed as part of the path, this is
definitely wrong and lead to fetching failures.
This issue could be fixed in reformat_git_uri, by filtering out port
numbers when formatting ":".
(From OE-Core rev: 4290e04b69360b5e1da9f37166015e30f66cb335)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
,----[ Changes in 3.10.3 ]
| Brad King (1):
| CMake 3.10.3
|
| Craig Scott (1):
| GoogleTest: Rename TIMEOUT parameter to avoid clash
|
| Sebastian Holtermann (1):
| Autogen: Fix for the empty source file crash in 3.10.2
|
| Tianhao Chai (1):
| ccmake: fix status line buffer overflow on very wide terminals
`----
(From OE-Core rev: ae230e1f858f83d1ff063554b49bd3ee1f880f76)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set KBUILD_BUILD_VERSION=1 to avoid build version being incremented on
every build. It is visible in the output of "cat /proc/version" after
the hash character.
(From OE-Core rev: 7fa32ee42c3320e9e2b24ef747e43484b719f617)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With multi kernel support in the installer we can exceed this limit.
Calculate a sane size by checking the size of the original boot
partition minus some objects we know won't be installed, plus some extra
space for users.
In addition, in the common case where only one small kernel is present
to be installed, we actually get a smaller boot partition with less
wasted space.
Also add VIRTUAL-RUNTIME_base-utils to RDEPENDS where these scripts are
used, as they're needed for the du command.
[YOCTO #12583].
(From OE-Core rev: 2ca601bef44a07512c93b8452cf9001dce402617)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of assuming order has changed if no package has been added or
removed, loop through packages to check if order has changed. This will
prevent the script from falsely reporting "changed order" if a version
has increased.
Fixes [YOCTO #12334]
(From OE-Core rev: 77d701c5fb5961bd818810a4d4cb3a9bd2432fae)
Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change includes several bug fixes and improvements, including better path
handling (the existance of . and .. for files), handling of the sticky bit, and
syscall renameat2 handling and interception through syscall() which was breaking
coreutils mv operations on fedora27.
[YOCTO #12594]
[YOCTO #12379]
[YOCTO #11643]
(From OE-Core rev: ddbcb88849d5c07a4cbbdc90fa1ab4d369476f8a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These spaces aren't needed and are confusing people. Remove them.
(From meta-yocto rev: 36d20206b73d2efbf72353030b786483eb8749b6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a fr_FR locale is found, it is automatically tested. The test
will fail if the locale is UTF-8, as the test blindly assumes
(and expects) a non-UTF fr_FR locale.
The remedy is to skip the test.
[YOCTO #12215]
(From OE-Core rev: 4cedddb83623c79980b354642dfeaf78218ca4b7)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the sqlite3 files ended up in python3-misc incorrectly,
this is caused becuse we couldnt add the whole ${libdir}/python3/sqlite3
folder on the package because we also have another sqlite3-tests
package that needs to include another folder from that directory.
This patch not only fixes the do_create_manifest script to handle this
situation, but also patches the manifest (created using the script)
which also fixes a hiddn runtime dependency that we wouldn't have seen.
(From OE-Core rev: 3324cb31670f33ffe193e550e3b3da8380b3c8c9)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have a couple of python modules that contain folders themselves,
for that reason they also contain a __pycache__ folder inside those
directories, since we include the whole folder in the manifest, the
pycache directories end up with the files and not the cache files.
This patch catches that and adds the directories to the correct
structure.
(From OE-Core rev: df9401e7e69ce162e257e827d67eb217666e532d)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the change from assuming kernels will be named "vmlinuz"
everywhere, to instead using KERNEL_IMAGETYPE, we require that
KERNEL_IMAGETYPE is set to something. Instead of setting the default in
multiple individual files, set it in default-distrovars.inc.
x86(-64) arches get bzImage as the default. Others get zImage as per
meta/conf/documentation.conf.
Also set KERNEL_IMAGETYPES, as we will eventually be switching away from
KERNEL_IMAGETYPE.
Thanks to Andre McCurdy <armccurdy@gmail.com> for the arch defaults
part.
(From OE-Core rev: a57d784211a39587538094425ee0246e9ddfbf9d)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a minor release that fixes many important issues found since
1.10 release.
(From OE-Core rev: 7068024c1ee8a3ec03904d50860fc42d7c421f87)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
update-ca-certificates symlinks (trusted) certificates
from $CERTSDIR or $LOCALCERTSDIR into $ETCCERTSDIR.
update-ca-certificates can call hook scripts installed
into /etc/ca-certificates/update.d. Those scripts are
passed the pem file in /etc/ssl/certs/ that was added or
removed in this run and those pem files are absolute
symlinks into $CERTSDIR or $LOCALCERTSDIR at the moment.
When running update-ca-certificates during image build
time, they thusly all point into the host's file system,
not into the $SYSROOT. This means:
* the host's file system layout must match the one
produced by OE, and
* it also means that the host must have installed the same
(or more) certificates as the target in $CERTSDIR and
$LOCALCERTSDIR
This is a problem when wanting to execute hook scripts,
because they all need to be taught about $SYSROOT, and
behave differently depending on whether they're called
at image build time, or on the target, as otherwise they
will be trying to actually read the host's certificates
from $CERTSDIR or $LOCALCERTSDIR.
This also is a problem when running anything else during
image build time that depends on the trusted CA
certificates.
Changing the symlink to be relative solves all of these
problems. At the same time, we have to make sure to add
$CERTSDIR to SYSROOT_DIRS, so that the symlinks are still
valid when somebody DEPENDS on ca-certificates-native. As
a side-effect, this also fixes a problem in meta-java,
where some recipes (e.g. openjdk-8-native) try to access
certificates from $CERTSDIR to generate the java trustStore
at build time.
Do so.
Upstream-Status: Inappropriate [OE-specific]
(From OE-Core rev: 09bb7718d74573be9a5db4d0737fb14126f6489c)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also set the default kernel of these BSPs to v4.15.
(From meta-yocto rev: 4c35cdf84b24104c341b986dd3e04323aca894c4)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recipes which use a shared workdir (e.g. gcc-runtine and libgcc) can
race over temporary files causing interesting build failures.
Using B instead of S avoids this problem.
[YOCTO #12605]
(From OE-Core rev: d6c13a5ff441f7076eb327c0d0b747bd7603db0f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The multilib version would race against then non-ml version leading
to all kinds of odd build failures.
(From OE-Core rev: 6bb70bd3857edb8cb6cc1317f57b899a89be2653)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Kernels which use tools/objtool can now fail when building external modules
due to objtool being missing, the generated files can also cause problems
for kernel-devsrc.
Ensure objtool is generated in make-mod-scripts by also calling
"make prepare".
For devsrc, delete the generated binaries since they'd be native
binaries and unsuitable for the target.
The oeqa kernel module tests also need to have the additional "make prepare"
step added.
(From OE-Core rev: 52fd2993784b4218f5df4f343e7da45d964df305)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the sqlite3 module was in python3-misc by accident, move the files
into python3-sqlite3 where they belong.
(From OE-Core rev: f06a8d20560b8e93cf875ee58eddda0a976e7b14)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fies security warnings
| sign.c:86:31: error: 'sprintf' may write a terminating nul past the end of the destination [-Werror=format-overflow=]
| sprintf(fullfn, "%s/%s", tree, tempfn);
(From OE-Core rev: 7171e96f3a5f54c63674cf5282aea31bcb9cd7f9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If ${libdir} is a subdirectory of ${prefix}/lib, e.g. /usr/lib/aarch64-linux, the cleanup logic will delete libc.so.
This bit of code was added in 2012 (git show b744f4cc) to remove /usr/lib/locale, this commit makes it remove that directory recursively and afterwards remove /usr/lib, erroring out if it's non-empty.
Tested with a plain (/usr/lib), a 64-bit (/usr/lib64) and a multiarch (/usr/lib/aarch64-linux) build. I strongly suspect this whole bit of cleanup isn't needed anymore, but my testing is too limited to be certain.
(From OE-Core rev: d8f4c7794f15f7071ee8e621d7964cb4b4134630)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
patch 0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch remove
as it is included in update
(From OE-Core rev: 3f203582ac646f96e6b86ec4b19721e7a78d55f8)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After we switched to RSS, this script was not working for a long time.
'bitbake package-index' can do the same thing and works well. So remove
this script.
(From OE-Core rev: 94fea92f5e7f7c0765e89743a1586b22186a16cd)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg stable updates comprising the following commits:
eb666a896f99 Linux 4.15.13
7717224bbcbb RDMA/ucma: Don't allow join attempts for unsupported AF family
93462def6848 RDMA/ucma: Fix access to non-initialized CM_ID object
7ea20f4df7fc clk: migrate the count of orphaned clocks at init
f73d0b37846a RDMA/core: Do not use invalid destination in determining port reuse
f8ea417273f2 serial: 8250_pci: Don't fail on multiport card class
719f7ae076e0 RDMA/vmw_pvrdma: Fix usage of user response structures in ABI file
bd6281eb9113 IB/mlx5: Fix out-of-bounds read in create_raw_packet_qp_rq
23896b7c08f5 IB/mlx5: Fix integer overflows in mlx5_ib_create_srq
f9496d45cd87 dmaengine: ti-dma-crossbar: Fix event mapping for TPCC_EVT_MUX_60_63
e36bb4076f37 hwrng: core - Clean up RNG list when last hwrng is unregistered
233f5fee86c3 crypto: artpec6 - set correct iv size for gcm(aes)
dbb1b3477bc0 clk: si5351: Rename internal plls to avoid name collisions
39888ce9ff0a clk: axi-clkgen: Correctly handle nocount bit in recalc_rate()
3a99b645e127 clk: Don't touch hardware when reparenting during registration
17e583cba3b6 clk: at91: pmc: Wait for clocks when resuming
a6d04b465659 nfsd4: permit layoutget of executable-only files
140cb7a3de12 ARM: dts: aspeed-evb: Add unit name to memory node
114355528fcd RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS
2b7453a76bac scsi: lpfc: Fix issues connecting with nvme initiator
bfcb0d5e7dc7 scsi: lpfc: Fix SCSI LUN discovery when SCSI and NVME enabled
cef86432a08e soc: qcom: smsm: fix child-node lookup
70559f800f62 ip_gre: fix potential memory leak in erspan_rcv
09d5f2bb8fc7 ip_gre: fix error path when erspan_rcv failed
813b2dad2cb5 ip6_vti: adjust vti mtu according to mtu of lower device
7a77ba6b6900 iommu/vt-d: clean up pr_irq if request_threaded_irq fails
424d4a6a5ebd pinctrl: rockchip: enable clock when reading pin direction register
35e54f441f0e pinctrl: Really force states during suspend/resume
f64b3c51d512 clk: use round rate to bail out early in set_rate
b96b31ce0517 dt-bindings: display: panel: Fix compatible string for Toshiba LT089AC29000
48228438f263 clk: check ops pointer on clock register
887fa839ee74 media: davinci: fix a debug printk
10843b30c385 PCI: rcar: Handle rcar_pcie_parse_request_of_pci_ranges() failures
61cbbb4f20d1 PCI: endpoint: Fix find_first_zero_bit() usage
d306bb6c7952 PCI: designware-ep: Fix ->get_msi() to check MSI_EN bit
29a84f9707b1 coresight: Fix disabling of CoreSight TPIU
71b009c13528 pty: cancel pty slave port buf's work in tty_release
e7b4a5ba3259 drm/omap: DMM: Check for DMM readiness after successful transaction commit
eafa4cd4d112 mmc: sdhci-xenon: wait 5ms after set 1.8V signal enable
a9b4a01508a9 omapdrm: panel: fix compatible vendor string for td028ttec1
00aa57830cb5 vgacon: Set VGA struct resource types
18e595d70f17 PCI/ASPM: Calculate LTR_L1.2_THRESHOLD from device characteristics
3c4ffeae6510 bpf/cgroup: fix a verification error for a CGROUP_DEVICE type prog
3a23663bda89 iser-target: avoid reinitializing rdma contexts for isert commands
20dbecabd107 IB/umem: Fix use of npages/nmap fields
4d529564d326 RDMA/cma: Use correct size when writing netlink stats
f333c18b5434 IB/ipoib: Avoid memory leak if the SA returns a different DGID
80ac31ac404a rtc: ac100: Fix multiple race conditions
1835bd639fa7 media: s5p-mfc: Fix lock contention - request_firmware() once
e9f486d7a859 sfp: fix non-detection of PHY
b03b5f94dcf4 sfp: fix EEPROM reading in the case of non-SFF8472 SFPs
1d40cdd339cb net: phy: meson-gxl: check phy_write return value
f9e0be9def10 /dev/mem: Add bounce buffer for copy-out
176fb28073c9 mmc: block: fix logical error to avoid memory leak
ca6b159fd207 mmc: avoid removing non-removable hosts during suspend
75157d4e4d15 drm/tilcdc: ensure nonatomic iowrite64 is not used
73f483aa65d6 dmaengine: zynqmp_dma: Fix race condition in the probe
c78feb5f451c platform/chrome: Use proper protocol transfer function
449c24e264d9 watchdog: Fix kref imbalance seen if handle_boot_enabled=0
3122d2f18ed9 watchdog: Fix potential kref imbalance when opening watchdog
68c1248b9a2d cros_ec: fix nul-termination for firmware build info
0a607a064565 serial: 8250_dw: Disable clock on error
42c35b150365 tty: goldfish: Enable 'earlycon' only if built-in
ccf304a6607a qmi_wwan: set FLAG_SEND_ZLP to avoid network initiated disconnect
7bc49ffb1067 media: [RESEND] media: dvb-frontends: Add delay to Si2168 restart
784d1114823c ath10k: handling qos at STA side based on AP WMM enable/disable
db80bd4d5f62 media: bt8xx: Fix err 'bt878_probe()'
06647fbb496e rtlwifi: always initialize variables given to RT_TRACE()
3104c12838b2 rtlwifi: rtl_pci: Fix the bug when inactiveps is enabled.
b5817721ecea libbpf: prefer global symbols as bpf program name source
340f5832b6a6 spi: sh-msiof: Avoid writing to registers from spi_master.setup()
7f5739939eb3 tcp: allow TLP in ECN CWR
df365ce541c4 hv_netvsc: Fix the TX/RX buffer default sizes
8fbec85ecd00 hv_netvsc: Fix the receive buffer size limit
3669331be6fd RDMA/iwpm: Fix uninitialized error code in iwpm_send_mapinfo()
be176a5c98e7 IB/ipoib: Warn when one port fails to initialize
09a00a4b1e8b drm/msm: fix leak in failed get_pages
aa5397213cc1 media: c8sectpfe: fix potential NULL pointer dereference in c8sectpfe_timer_interrupt
3cb311196e5f cpufreq: longhaul: Revert transition_delay_us to 200 ms
e16154e6868b Bluetooth: btqcomsmd: Fix skb double free corruption
b646aada058d Bluetooth: hci_qca: Avoid setup failure on missing rampatch
5ec3e522c556 drm/amdgpu: use polling mem to set SDMA3 wptr for VF
bcaf449b5809 staging: android: ashmem: Fix possible deadlock in ashmem_ioctl
1d60b7802104 scsi: megaraid_sas: Do not use 32-bit atomic request descriptor for Ventura controllers
cfc8d40be91d Linux 4.15.12
c3306c7f8f97 phy: phy-brcm-usb-init: Power down USB 3.0 PHY when XHCI disabled
5fb7cf9b1ca0 phy: phy-brcm-usb-init: DRD mode can cause crash on startup
048fd682b2b8 phy: phy-brcm-usb-init: Some Low Speed keyboards fail on 7271
43bcdded80fd phy: phy-brcm-usb: Fix two DT properties to match bindings doc
2007a7097ce1 usb: gadget: udc: renesas_usb3: fix oops in renesas_usb3_remove()
95918af96116 usb: dwc3: of-simple: fix oops by unbalanced clk disable call
b9fac2b8326d usb: dwc3: core: Power-off core/PHYs on system_suspend in host mode
cad33fd60fde usb: dwc3: Fix GDBGFIFOSPACE_TYPE values
41d3763d9942 USB: gadget: udc: Add missing platform_device_put() on error in bdc_pci_probe()
f21951e27402 dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding
7e9122d4e1af usb: dwc2: fix STM32F7 USB OTG HS compatible
bb5159f40c22 scsi: qla2xxx: Fix crashes in qla2x00_probe_one on probe failure
0bbf2aa0f9e2 scsi: qla2xxx: Fix logo flag for qlt_free_session_done()
84f1972c3c5d scsi: qla2xxx: Fix NULL pointer access for fcport structure
1675cbb32906 scsi: qla2xxx: Fix smatch warning in qla25xx_delete_{rsp|req}_que
71103f2b9fd2 btrfs: Fix memory barriers usage with device stats counters
005155e22a0b btrfs: remove spurious WARN_ON(ref->count < 0) in find_parent_nodes
7a42df9f0394 btrfs: Fix use-after-free when cleaning up fs_devs with a single stale device
ce1ac9c8ebe0 btrfs: alloc_chunk: fix DUP stripe size handling
d0505842848e btrfs: add missing initialization in btrfs_check_shared
fef1dad2a985 btrfs: Fix NULL pointer exception in find_bio_stripe
428da4f87e1d xfs: preserve i_rdev when recycling a reclaimable inode
1c7453ec86ce nvme: fix subsystem multiple controllers support check
69f0542a7bef irqchip/gic-v3-its: Ensure nr_ites >= nr_lpis
fdb574d9a7e0 RDMAVT: Fix synchronization around percpu_ref
0b68e9ccaf0b fs/aio: Use RCU accessors for kioctx_table->table[]
b5b8b8be7808 fs/aio: Add explicit RCU grace period when freeing kioctx
2fa76b885ece lock_parent() needs to recheck if dentry got __dentry_kill'ed under it
9c7b569aec95 KVM: arm/arm64: vgic: Don't populate multiple LRs with the same vintid
3bf14279499c kvm: arm/arm64: vgic-v3: Tighten synchronization for guests using v2 on v3
885310132995 KVM: arm/arm64: Reset mapped IRQs on VM reset
1368ba16c8e6 KVM: arm/arm64: Reduce verbosity of KVM init log
ad3edd3c4047 fs: Teach path_connected to handle nfs filesystems with multiple roots.
ab2660381a80 drm/amdgpu/dce: Don't turn off DP sink when disconnected
fa2192eea5c0 drm/radeon: fix prime teardown order
d747af9a681f drm/amdgpu: fix prime teardown order
69b9106f97ce drm/nouveau/mmu: ALIGN_DOWN correct variable
ba753a894a53 drm/nouveau/bl: Fix oops on driver unbind
18d8a34ac890 ALSA: seq: Clear client entry before deleting else at closing
1d63f1fc63f4 ALSA: seq: Fix possible UAF in snd_seq_check_queue()
cdcecd3415a1 ALSA: hda - Revert power_save option default value
eb0e7a1f5687 ALSA: pcm: Fix UAF in snd_pcm_oss_get_formats()
bf724633cfda parisc: Handle case where flush_cache_range is called with no context
d7d57946c5f5 x86/mm: Fix vmalloc_fault to use pXd_large
4abf8650d693 KVM: x86: Fix device passthrough when SME is active
da0812b49895 x86/speculation: Remove Skylake C2 from Speculation Control microcode blacklist
8449802675b3 x86/speculation, objtool: Annotate indirect calls/jumps for objtool on 32-bit kernels
7a73ba591708 x86/vm86/32: Fix POPF emulation
cfb3f12e5a01 selftests/x86/entry_from_vm86: Add test cases for POPF
673d00d2cc16 selftests/x86/entry_from_vm86: Exit with 1 if we fail
733307cf6ba6 x86/cpufeatures: Add Intel PCONFIG cpufeature
a21fcb396718 x86/cpufeatures: Add Intel Total Memory Encryption cpufeature
51d480eafd15 Linux 4.15.11
ddfd9b3a41ae drm/i915/glk: Disable Guc and HuC on GLK
5ae4953dc072 dmaengine: qcom_hidma: check pending interrupts
7aeb9a55a385 IB/mlx5: revisit -Wmaybe-uninitialized warning
41ba470820b3 ima: relax requiring a file signature for new files with zero length
45ecf3400006 locking/locktorture: Fix num reader/writer corner cases
a95958907b4a rcutorture/configinit: Fix build directory error message
0ff7ed13f2a7 ipvlan: add L2 check for packets arriving via virtual devices
f00f5f5598cc Fix misannotated out-of-line _copy_to_user()
b19715a17b62 mmc: mmc_test: Ensure command queue is disabled for testing
be5494a8f85b ASoC: nuc900: Fix a loop timeout test
03f6344f6981 crypto: caam/qi - use correct print specifier for size_t
64d5680d3b4d mac80211: remove BUG() when interface type is invalid
0fca555446a1 mac80211_hwsim: enforce PS_MANUAL_POLL to be set after PS_ENABLED
d7b6747b2198 agp/intel: Flush all chipset writes after updating the GGTT
5123e87faf12 arm64: dts: renesas: salvator-common: Add EthernetAVB PHY reset
5f426784d0b4 powerpc/64: Don't trace irqs-off at interrupt return to soft-disabled context
3d1d39090fda powerpc/modules: Don't try to restore r2 after a sibling call
77592d6abc1b drm/amdkfd: Fix memory leaks in kfd topology
26ef25f35b9b veth: set peer GSO values
e8abc1292671 net: sched: drop qdisc_reset from dev_graft_qdisc
ae8cafc2813e virtio_net: Disable interrupts if napi_complete_done rescheduled napi
33964687ffd1 media: davinci: vpif_capture: add NULL check on devm_kzalloc return value
1ed91b10c4e4 media: cpia2: Fix a couple off by one bugs
b85bea6de405 dm raid: fix raid set size revalidation
3e8cbf84d434 media: vsp1: Prevent suspending and resuming DRM pipelines
74b1383a2a32 staging: fsl-dpaa2/eth: Fix access to FAS field
83810e8aa67a clk: renesas: r8a77970: Add LVDS clock
d641b64a0fcf scsi: dh: add new rdac devices
151c46ea1a6b scsi: devinfo: apply to HP XP the same flags as Hitachi VSP
a60c9f5bdf0a scsi: core: scsi_get_device_flags_keyed(): Always return device flags
d6549484c1bc bnxt_en: Don't print "Link speed -1 no longer supported" messages.
fd92108e8970 spi: sun6i: disable/unprepare clocks on remove
fedc177b4267 tools/usbip: fixes build with musl libc toolchain
1a1aa7f83d9f ath10k: fix invalid STS_CAP_OFFSET_MASK
2dc42ad1a816 mwifiex: cfg80211: do not change virtual interface during scan processing
eb0bd8399f30 clk: qcom: msm8916: fix mnd_width for codec_digcodec
736e6ed8e417 bnxt_en: Uninitialized variable in bnxt_tc_parse_actions()
196c8a893cc3 drm/amdgpu: fix amdgpu_sync_resv v2
d43f79d8bfa3 drm/amdgpu:fix virtual dce bug
84afaae95878 iwlwifi: mvm: avoid dumping assert log when device is stopped
7024c04ba773 perf annotate: Fix objdump comment parsing for Intel mov dissassembly
7090ac4bc551 perf annotate: Fix unnecessary memory allocation for s390x
4bc53614a08f pinctrl: sh-pfc: r8a7795-es1: Fix MOD_SEL1 bit[25:24] to 0x3 when using STP_ISEN_1_D
dc061955ca09 pinctrl: sh-pfc: r8a7791: Add can_clk function
4bccfe79cd4d drm/sun4i: Fix format mask in DE2 driver
e5e6a10251f8 pwm: stmpe: Fix wrong register offset for hwpwm=2 case
42957cf0a77d scsi: ses: don't ask for diagnostic pages repeatedly during probe
7d6f70a8758a scsi: lpfc: Fix crash during driver unload with running nvme traffic
9280348b2696 drm/amdgpu:fix random missing of FLR NOTIFY
eff913587989 KVM: X86: Restart the guest when insn_len is zero and SEV is enabled
a853301f77b5 cpufreq: Fix governor module removal race
b545efb25a3f ath10k: update tdls teardown state to target
4971e6535840 iio: health: max30102: Add power enable parameter to get_temp function
b0fdcac4f68d iio: adc: ina2xx: Shift bus voltage register to mask flag bits
056c35957ea2 drm/etnaviv: make THERMAL selectable
3079e5ffa141 power: supply: ab8500_charger: Bail out in case of error in 'ab8500_charger_init_hw_registers()'
4e074cd9323a power: supply: ab8500_charger: Fix an error handling path
fadaf4240360 power: supply: sbs-message: double left shift bug in sbsm_select()
8a7474805a53 bpf: fix stack state printing in verifier log
e99d334f6d7f leds: pm8058: Silence pointer to integer size warning
b116b9ca82d8 xfrm: Fix xfrm_replay_overflow_offload_esn
52e0006fb425 userns: Don't fail follow_automount based on s_user_ns
daf8ff677a34 mtd: nand: ifc: update bufnum mask for ver >= 2.0.0
c91a50176871 ARM: dts: omap3-n900: Fix the audio CODEC's reset pin
cc578825b46e ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin
8215dde215a2 net: thunderx: Set max queue count taking XDP_TX into account
df2bc9f0c7d9 mtd: nand: fix interpretation of NAND_CMD_NONE in nand_command[_lp]()
71dc53969aa9 gpiolib: don't allow OPEN_DRAIN & OPEN_SOURCE flags simultaneously
3c1133294733 net: xfrm: allow clearing socket xfrm policies.
8aa7072cc386 perf report: Fix -D output for user metadata events
ccf7f3f1bfe2 rtc: brcmstb-waketimer: fix error handling in brcmstb_waketmr_probe()
82e2dc52e103 net: ieee802154: adf7242: Fix bug if defined DEBUG
d0426ddc5a59 drm/vblank: Fix vblank timestamp debugs
6e3b18f9ef52 test_firmware: fix setting old custom fw path back on exit
2067278ed4a1 crypto: cavium - fix memory leak on info
b58c90c3a2c1 crypto: keywrap - Add missing ULL suffixes for 64-bit constants
f8ed29310ff5 crypto: ecc - Fix NULL pointer deref. on no default_rng
4fc44467b7d4 crypto: chelsio - Fix an error code in chcr_hash_dma_map()
fc82675c04f8 sched: Stop resched_cpu() from sending IPIs to offline CPUs
55a6c1e2842a sched: Stop switched_to_rt() from sending IPIs to offline CPUs
ccacabf0e911 dt-bindings: serial: Add common rs485 binding for RTS polarity
038f81410b9f USB: ledtrig-usbport: fix of-node leak
661d71fec957 typec: tcpm: fusb302: Resolve out of order messaging events
c702f9b72820 staging: rtl8822be: fix missing null check on dev_alloc_skb return
6fe526b2e82b drm/amdgpu: fix get_max_engine_clock_in_mhz
8c57c57a7d79 ARM: dts: exynos: Correct Trats2 panel reset line
941a8e4061b5 clk: meson: gxbb: fix wrong clock for SARADC/SANA
2037f15e1d02 ARM: dts: koelsch: Move cec_clock to root node
1320369874e0 iwlwifi: mvm: rs: don't override the rate history in the search cycle
bc7f19a1687d HID: elo: clear BTN_LEFT mapping
7b341f3287da KVM: PPC: Book3S HV: Fix typo in kvmppc_hv_get_dirty_log_radix()
6f97dd22c852 video/hdmi: Allow "empty" HDMI infoframes
e0749d1e1f10 dma-buf/fence: Fix lock inversion within dma-fence-array
df0204154557 drm/edid: set ELD connector type in drm_edid_to_eld()
c15aa9a93c05 KVM: PPC: Book3S HV: Avoid shifts by negative amounts
21764b41f1c8 HID: multitouch: Only look at non touch fields in first packet of a frame
6f6444502fa9 spi: imx: Fix failure path leak on GPIO request error correctly
d1cc4fe3e8b7 drm/panel: rpi-touchscreen: propagate errors in rpi_touchscreen_i2c_read()
ae53e57f5911 gfs2: Fixes to "Implement iomap for block_map" (2)
105cd2ef03be gfs2: Clean up {lookup,fillup}_metapath
7a4fe65843fd Revert "btrfs: use proper endianness accessors for super_copy"
3cd0aa9f35fe dm mpath: fix passing integrity data
701ba5478225 earlycon: add reg-offset to physical address before mapping
c3a2fe0fc8a0 serial: core: mark port as initialized in autoconfig
16415f03eb6e serial: 8250_pci: Add Brainboxes UC-260 4 port serial device
306c08c6d659 usb: dwc3: Fix lock-up on ID change during system suspend/resume
11e2d13d3f9e usb: gadget: f_fs: Fix use-after-free in ffs_fs_kill_sb()
b42aa204e111 usb: usbmon: Read text within supplied buffer size
5d4203a6d5a2 usb: quirks: add control message delay for 1b1c:1b20
1fc47d0380b5 usbip: vudc: fix null pointer dereference on udc->lock
b2029b7dbe6b USB: storage: Add JMicron bridge 152d:2567 to unusual_devs.h
aa05ee5fa75b scsi: sd_zbc: Fix potential memory leak
c9ff6a8a1e0f staging: android: ashmem: Fix lockdep issue during llseek
1c5bfd980303 staging: comedi: fix comedi_nsamples_left.
8e6c082909d5 uas: fix comparison for error code
2667d707c420 tty/serial: atmel: add new version check for usart
60003884f6c4 serial: sh-sci: prevent lockup on full TTY buffers
a0972dac1125 xhci: fix endpoint context tracer output
a0722d7b9d67 xhci: Fix front USB ports on ASUS PRIME B350M-A
73848b68f99b usb: host: xhci-rcar: add support for r8a77965
b7beb59aa066 ASoC: rt5651: Fix regcache sync errors on resume
aa6655a68f0a ASoC: wm_adsp: For TLV controls only register TLV get/set
9afc3ec1f2e7 ASoC: sgtl5000: Fix suspend/resume
6b57662274bd ASoC: sun4i-i2s: Fix RX slot number of SUN8I
699f7359e599 x86: Treat R_X86_64_PLT32 as R_X86_64_PC32
df57458873da Linux 4.15.10
2aaa158bc127 NFS: Fix unstable write completion
0fa7083df399 pNFS: Prevent the layout header refcount going to zero in pnfs_roc()
ff32fd5e2dce NFS: Fix an incorrect type in struct nfs_direct_req
085bac793f1c scsi: qla2xxx: Fix memory leak in dual/target mode
0e7a62c3cfb6 scsi: qla2xxx: Fix system crash in qlt_plogi_ack_unref
bf4ec02855d9 scsi: qla2xxx: Remove aborting ELS IOCB call issued as part of timeout.
33d13a80a374 scsi: qla2xxx: Defer processing of GS IOCB calls
b57851dc489f scsi: qla2xxx: Clear loop id after delete
ef5b3c623eec scsi: qla2xxx: Fix scan state field for fcport
f7b257f9e10a scsi: qla2xxx: Replace fcport alloc with qla2x00_alloc_fcport
3629d122f770 scsi: qla2xxx: Fix abort command deadlock due to spinlock
c6247675c8b2 scsi: qla2xxx: Fix PRLI state check
9a1e9130f25f scsi: qla2xxx: Fix Relogin being triggered too fast
41929d9b2363 scsi: qla2xxx: Relogin to target port on a cable swap
3ab51d1da782 scsi: qla2xxx: Fix NPIV host cleanup in target mode
6c609c375ca6 scsi: qla2xxx: Fix login state machine stuck at GPDB
1bb465e619eb scsi: qla2xxx: Serialize GPNID for multiple RSCN
99e33bd8bdfa scsi: qla2xxx: Retry switch command on time out
b40e693ce7b5 scsi: qla2xxx: Fix re-login for Nport Handle in use
e947c1c575aa scsi: qla2xxx: Skip IRQ affinity for Target QPairs
9685a797a564 scsi: qla2xxx: Move session delete to driver work queue
b340fe8a83f6 scsi: qla2xxx: Fix gpnid error processing
96a18fc96c22 scsi: qla2xxx: Fix system crash for Notify ack timeout handling
5858d59b8629 x86/xen: Calculate __max_logical_packages on PV domains
218ce9890104 tpm: only attempt to disable the LPC CLKRUN if is already enabled
9e49b027f787 tpm: remove unused variables
191f9cb91d12 tpm: delete the TPM_TIS_CLK_ENABLE flag
8fa99a629bd7 tpm: Keep CLKRUN enabled throughout the duration of transmit_cmd()
f84cbaff9004 tpm_tis: Move ilb_base_addr to tpm_tis_data
baf882cbcc43 netfilter: use skb_to_full_sk in ip6_route_me_harder
e8cd5a8ea2dd netfilter: ipv6: fix use-after-free Write in nf_nat_ipv6_manip_pkt
d0a52c094d57 netfilter: bridge: ebt_among: add missing match size checks
5c06b89df419 netfilter: ebtables: CONFIG_COMPAT: don't trust userland offsets
36dabaf091e7 netfilter: IDLETIMER: be syzkaller friendly
8ba14bacf620 netfilter: nat: cope with negative port range
4260816d4785 netfilter: x_tables: fix missing timer initialization in xt_LED
ea2699504d33 netfilter: xt_hashlimit: fix lock imbalance
cbd6bb0e28c9 netfilter: ipt_CLUSTERIP: fix a race condition of proc file creation
ec6b058c5431 netfilter: add back stackpointer size checks
831b5146892e watchdog: hpwdt: Remove legacy NMI sourcing.
52769861e99b watchdog: hpwdt: fix unused variable warning
af1537404670 watchdog: hpwdt: Check source of NMI
2ade2293099d watchdog: hpwdt: SMBIOS check
7e9c540258af x86/kprobes: Fix kernel crash when probing .entry_trampoline code
d9f1b1fd3728 objtool: Fix 32-bit build
58e0bb003523 objtool: Fix another switch table detection issue
d5f6877f0af8 objtool, retpolines: Integrate objtool with retpoline support more closely
871caad2a47b objtool: Add module specific retpoline rules
40693bd709b5 objtool: Add retpoline validation
e1861c9e9568 objtool: Use existing global variables for options
90dbf1101e65 x86/mm/sme, objtool: Annotate indirect call in sme_encrypt_execute()
8882e40f66ed x86/boot, objtool: Annotate indirect jump in secondary_startup_64()
2425b3ea0afa x86/paravirt, objtool: Annotate indirect calls
468e2a80446c x86/speculation: Move firmware_restrict_branch_speculation_*() from C to CPP
d9a1668e7535 x86/speculation, objtool: Annotate indirect calls/jumps for objtool
5d2055f00ca3 x86/retpoline: Support retpoline builds with Clang
f7d74d9aa741 x86/speculation: Use IBRS if available before calling into firmware
4049a8836273 Revert "x86/retpoline: Simplify vmexit_fill_RSB()"
f1c9e2394888 x86-64/realmode: Add instruction suffix
071ee9dbac4a x86/LDT: Avoid warning in 32-bit builds with older gcc
108d29575df1 x86/IO-APIC: Avoid warning in 32-bit builds
c7cbca42ac4a x86/asm: Improve how GEN_*_SUFFIXED_RMWcc() specify clobbers
a6e01bb7e6e0 x86/mm: Remove stale comment about KMEMCHECK
93e18c11ff91 x86/entry/64: Use 'xorl' for faster register clearing
e76bc364ce66 x86/entry: Reduce the code footprint of the 'idtentry' macro
0a58c796685c nospec: Include <asm/barrier.h> dependency
392fa7504294 nospec: Kill array_index_nospec_mask_check()
7a676d14cc09 MIPS: CPC: Map registers using DT in mips_cpc_default_phys_base()
b1d0c4b8e92e dt-bindings: Document mti,mips-cpc binding
25285f83f127 scsi: qla2xxx: Fix recursion while sending terminate exchange
7142b10b87d5 scsi: qla2xxx: Fix NULL pointer crash due to probe failure
8c4ae767a189 ALSA: hda: add dock and led support for HP ProBook 640 G2
245b88be66ce ALSA: hda: add dock and led support for HP EliteBook 820 G3
34ef89ff1759 ALSA: hda - Fix a wrong FIXUP for alc289 on Dell machines
6fc2d5416fda ALSA: seq: More protection for concurrent write and ioctl races
4271b3a41813 ALSA: seq: Don't allow resizing pool in use
27fb3754587a ALSA: hda/realtek - Make dock sound work on ThinkPad L570
ade62f0b3cf9 ALSA: hda/realtek - Fix dock line-out volume on Dell Precision 7520
6751bbdcc95a ALSA: hda/realtek: Limit mic boost on T480
7436dc94195d ALSA: hda/realtek - Add headset mode support for Dell laptop
c09ba221370b ALSA: hda/realtek - Add support headset mode for DELL WYSE
031fd7b4ed4a x86/spectre_v2: Don't check microcode versions when running under hypervisors
eaf9b6377a6e perf tools: Fix trigger class trigger_on()
291a0c2764e4 x86/MCE: Serialize sysfs changes
f89515c2e039 x86/MCE: Save microcode revision in machine check records
c56e9870f927 bcache: don't attach backing with duplicate UUID
dca776a05c50 bcache: fix crashes in duplicate cache device register
9fc9e1ed7335 IB/mlx5: Fix incorrect size of klms in the memory region
ca75c1477c2d dm bufio: avoid false-positive Wmaybe-uninitialized warning
b2171934ddc4 kbuild: Handle builtin dtb file names containing hyphens
822996a14a2f Revert "nvme: create 'slaves' and 'holders' entries for hidden controllers"
4a60df94905a IB/core: Fix missing RDMA cgroups release in case of failure to register device
88bf8f7eb708 arm64: mm: fix thinko in non-global page table attribute check
718a44de2712 KVM: s390: fix memory overwrites when not using SCA entries
4e5d6d3cc5e4 virtio_ring: fix num_free handling in error case
49de2e7b6670 loop: Fix lost writes caused by missing flag
342c720d9a4f Documentation/sphinx: Fix Directive import error
920a9205d268 mm/memblock.c: hardcode the end_pfn being -1
0b683939d50a lib/bug.c: exclude non-BUG/WARN exceptions from report_bug()
e9f84db183af bug: use %pB in BUG and stack protector failure
9f30ff6fa1a4 Revert "Input: synaptics - Lenovo Thinkpad T460p devices should use RMI"
1bceb2ec8956 Input: matrix_keypad - fix race when disabling interrupts
ed800b0773b1 PCI: dwc: Fix enumeration end when reaching root subordinate
77e2735ad398 MIPS: OCTEON: irq: Check for null return on kzalloc allocation
df441ada39cd MIPS: ath25: Check for kzalloc allocation failure
3eaedec0cd82 MIPS: BMIPS: Do not mask IPIs during suspend
809a9bf143f7 ovl: redirect_dir=nofollow should not follow redirect for opaque lower
75d0d16e1cda drm/amdgpu:Always save uvd vcpu_bo in VM Mode
b6ce72324e14 drm/amdgpu:Correct max uvd handles
83756e094108 drm/amdgpu: fix KV harvesting
692f415886d3 drm/radeon: fix KV harvesting
871aee09c102 drm/amdgpu: Notify sbios device ready before send request
adcdc9dd593d drm/amdgpu: used cached pcie gen info for SI (v2)
8679c019d168 drm/amd/display: Default HDMI6G support to true. Log VBIOS table error.
dd18defa55e4 drm/amd/powerplay: fix power over limit on Fiji
98bb81bb0f7b drm/radeon: insist on 32-bit DMA for Cedar on PPC64/PPC64LE
fde4dbd2a6cb drm/amd/display: check for ipp before calling cursor operations
80167d87e14f Revert "drm/radeon/pm: autoswitch power state when in balanced mode"
6cd6ec67d323 drm/amd/powerplay/vega10: allow mclk switching with no displays
8b6db1eed6d8 drm/amd/powerplay/smu7: allow mclk switching with no displays
f3d86614c99d drm/nouveau: prefer XBGR2101010 for addfb ioctl
273b6c8deabe drm/amdgpu: Fix deadlock on runtime suspend
ae78cada27a5 drm/radeon: Fix deadlock on runtime suspend
edf309e744c0 drm/nouveau: Fix deadlock on runtime suspend
51b269211a8c drm: Allow determining if current task is output poll worker
72bfcad05183 workqueue: Allow retrieval of current task's work struct
0adf0556bebd drm/i915: Always call to intel_display_set_init_power() in resume_early.
9e2d259c4e02 scsi: qla2xxx: Fix NULL pointer crash due to active timer for ABTS
44d646d03785 scsi: core: Avoid that ATA error handling can trigger a kernel hang or oops
a7423bbfb0d1 drm/i915/perf: fix perf stream opening lock
d723c32a04ca drm/i915: Try EDID bitbanging on HDMI after failed read
24791fc09ea3 drm/i915: Update watermark state correctly in sanitize_watermarks
5b79f7227aac drm/i915: Disable DC states around GMBUS on GLK
281a7778a32b drm/i915: Clear the in-use marker on execbuf failure
3ea5145064e2 drm/i915: Fix rsvd2 mask when out-fence is returned
47f84ed164c9 drm/i915/audio: fix check for av_enc_map overflow
35a66d32de2c drm/i915: Check for fused or unused pipes
b7e042c88b2c regulator: stm32-vrefbuf: fix check on ready flag
644ec8e097e9 net/smc: fix NULL pointer dereference on sock_create_kern() error path
bf18bf8d610f mac80211_hwsim: don't use WQ_MEM_RECLAIM
0a1c56f01811 IB/uverbs: Improve lockdep_check
056700807d82 bpf: cpumap: use GFP_KERNEL instead of GFP_ATOMIC in __cpu_map_entry_alloc()
45c0604dbeae RDMA/mlx5: Fix integer overflow while resizing CQ
1414d3fd4616 RDMA/ucma: Check that user doesn't overflow QP state
5d07104bc91b RDMA/ucma: Limit possible option size
3eae9e93d492 Linux 4.15.9
c0d3435d7fa0 KVM: x86: fix backward migration with async_PF
fa1f98c84c6b scsi: mpt3sas: wait for and flush running commands on shutdown/unload
2928c03a245f scsi: mpt3sas: fix oops in error handlers after shutdown/unload
6ff2082e4544 bpf, ppc64: fix out of bounds access in tail call
bc9d150b9bf1 bpf: allow xadd only on aligned memory
8c4626bf15ba bpf: add schedule points in percpu arrays management
18fa1b102cc2 bpf, arm64: fix out of bounds access in tail call
5882764e48ed bpf, x64: implement retpoline for tail call
519f40bb7fc9 bpf: fix rcu lockdep warning for lpm_trie map_free callback
f154de29a46b bpf: fix memory leak in lpm_trie map_free callback function
da43a222a759 bpf: fix mlock precharge on arraymaps
968369e0e44d Linux 4.15.8
ddf33af2f815 platform/x86: dell-laptop: fix kbd_get_state's request value
344fb4360638 md: only allow remove_and_add_spares when no sync_thread running.
f946a7289f2c powerpc/64s/radix: Boot-time NULL pointer protection using a guard-PID
39f428ebf4f1 ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux
6dcd8259f418 ARM: dts: LogicPD SOM-LV: Fix I2C1 pinmux
97086e143e20 ACPI / bus: Parse tables as term_list for Dell XPS 9570 and Precision M5530
f1bf982a4fea KVM/x86: remove WARN_ON() for when vm_munmap() fails
21043b0e128e KVM: x86: fix vcpu initialization with userspace lapic
100b8cbd68b1 KVM/VMX: Optimize vmx_vcpu_run() and svm_vcpu_run() by marking the RDMSR path as unlikely()
16f7730b611a KVM: x86: move LAPIC initialization after VMCS creation
2ccf7f43562b KVM/x86: Remove indirect MSR op calls from SPEC_CTRL
1b7168079777 KVM: mmu: Fix overlap between public and private memslots
0a5e830dc933 KVM: X86: Fix SMRAM accessing even if VM is shutdown
4c1a4f2e0f9f ARM: kvm: fix building with gcc-8
f83ed2a349e6 ARM: mvebu: Fix broken PL310_ERRATA_753970 selects
2dc5b6bbd897 ARM: dts: rockchip: Remove 1.8 GHz operation point from phycore som
6e5bcbc089fc ARM: orion: fix orion_ge00_switch_board_info initialization
d95636d18120 x86/mm: Fix {pmd,pud}_{set,clear}_flags()
f48c77b42e12 nospec: Allow index argument to have const-qualified type
adfc51106c08 KVM: s390: consider epoch index on TOD clock syncs
b06b16f7ca6b KVM: s390: consider epoch index on hotplugged CPUs
35b8a4dfde70 KVM: s390: provide only a single function for setting the tod (fix SCK)
96819fb1cfee KVM: s390: take care of clock-comparator sign control
1c7cfc790da1 EDAC, sb_edac: Fix out of bound writes during DIMM configuration on KNL
9b144500e91c media: m88ds3103: don't call a non-initalized function
ced72e7e3fdc blk-mq: don't call io sched's .requeue_request when requeueing rq to ->dispatch
edd27ed8978b tcp: revert F-RTO extension to detect more spurious timeouts
34ffbd0f604c tcp: revert F-RTO middle-box workaround
46884f60c4ec s390/qeth: fix IPA command submission race
5df9e78c3dff s390/qeth: fix IP address lookup for L3 devices
f99053f7b122 Revert "s390/qeth: fix using of ref counter for rxip addresses"
6e757a122107 s390/qeth: fix double-free on IP add/remove race
50f613e92572 s390/qeth: fix IP removal on offline cards
c3238669b34f s390/qeth: fix overestimated count of buffer elements
1818aac9f31b s390/qeth: fix SETIP command handling
841c19a5cc54 s390/qeth: fix underestimated count of buffer elements
549ddc83ad5e l2tp: fix tunnel lookup use-after-free race
08ffa7bbb46e l2tp: fix race in pppol2tp_release with session object destroy
18bdaefc715b l2tp: fix races with tunnel socket close
8a319b57cc5c l2tp: don't use inet_shutdown on ppp session destroy
bb364485dfa2 l2tp: don't use inet_shutdown on tunnel destroy
333502ffcfee tcp: tracepoint: only call trace_tcp_send_reset with full socket
8421bd1de6af net: phy: Restore phy_resume() locking assumption
4f217494ee7a net/mlx5: Fix error handling when adding flow rules
bbc06dee4ac6 cxgb4: fix trailing zero in CIM LA dump
dec498f1c88e virtio-net: disable NAPI only when enabled during XDP set
fad7f95c5a30 tuntap: disable preemption during XDP processing
85e1944293c7 tuntap: correctly add the missing XDP flush
12b552b1f7b7 tcp: purge write queue upon RST
069018b93412 netlink: put module reference if dump start fails
acc97d6c2bb5 mlxsw: spectrum_router: Do not unconditionally clear route offload indication
58cea8e8f1c0 cls_u32: fix use after free in u32_destroy_key()
ba34386c3a5f amd-xgbe: Restore PCI interrupt enablement setting on resume
c5f3a16c047d tls: Use correct sk->sk_prot for IPV6
7e7a3ddb1a47 net/mlx5e: Verify inline header size do not exceed SKB linear size
738d0533e316 bridge: Fix VLAN reference count problem
e7b63f0b9981 sctp: fix dst refcnt leak in sctp_v6_get_dst()
fcff1213761a net: ipv4: Set addr_type in hash_keys for forwarded case
11cc4753e279 mlxsw: spectrum_router: Fix error path in mlxsw_sp_vr_create
6fe1cee8331d sctp: do not pr_err for the duplicated node in transport rhlist
76d0b2028297 net/sched: cls_u32: fix cls_u32 on filter replace
b933df76437b net_sched: gen_estimator: fix broken estimators based on percpu stats
03bbd6797f0b net/mlx5e: Fix loopback self test when GRO is off
edb7471e93d2 doc: Change the min default value of tcp_wmem/tcp_rmem.
3f62339aa796 tcp_bbr: better deal with suboptimal GSO
5c783a7f0203 rxrpc: Fix send in rxrpc_send_data_packet()
f3d48615d322 tcp: Honor the eor bit in tcp_mtu_probe
88ff57617d0d net: phy: fix phy_start to consider PHY_IGNORE_INTERRUPT
0ef5cb5705f2 net/mlx5e: Specify numa node when allocating drop rq
1b1a55b29fe2 mlxsw: spectrum_switchdev: Check success of FDB add operation
c7cf3921eb5f sctp: fix dst refcnt leak in sctp_v4_get_dst
9b8444159a4c net/mlx5e: Fix TCP checksum in LRO buffers
1e4661b4d107 udplite: fix partial checksum initialization
4fadd1aa760e sctp: verify size of a new chunk in _sctp_make_chunk()
9b7006aabf2b ppp: prevent unregistered channels from connecting to PPP units
f15602876538 net: sched: report if filter is too large to dump
70ecf3334923 netlink: ensure to loop over all netns in genlmsg_multicast_allns()
9784795d3f03 net: ipv4: don't allow setting net.ipv4.route.min_pmtu below 68
30535af95cf2 net: fix race on decreasing number of TX queues
214284730b09 net: ethernet: ti: cpsw: fix net watchdog timeout
21e6097dd04a net: amd-xgbe: fix comparison to bitshift when dealing with a mask
adf7429c2267 ipv6 sit: work around bogus gcc-8 -Wrestrict warning
6811b97ecd35 hdlc_ppp: carrier detect ok, don't turn off negotiation
16883c9d55c1 fib_semantics: Don't match route with mismatching tclassid
842874ee8ec1 bridge: check brport attr show in brport_show
1b89874c3856 x86/cpu_entry_area: Sync cpu_entry_area to initial_page_table
64982714bc3f x86/platform/intel-mid: Handle Intel Edison reboot correctly
d7445fa22a11 x86/xen: Zero MSR_IA32_SPEC_CTRL before suspend
6450d9cd79e9 direct-io: Fix sleep in atomic due to sync AIO
1fa58410574b dax: fix vma_is_fsdax() helper
1666ac0ce06f cpufreq: s3c24xx: Fix broken s3c_cpufreq_init()
483c2bdccca7 vfio: disable filesystem-dax page pinning
eef09bb03fcb block: pass inclusive 'lend' parameter to truncate_inode_pages_range
ea402611ed03 block: kyber: fix domain token leak during requeue
8882f981b717 block: fix the count of PGPGOUT for WRITE_SAME
e4c2c02c50b3 btrfs: use proper endianness accessors for super_copy
9a13579b3034 parisc: Hide virtual kernel memory layout
4aa930d5820a parisc: Fix ordering of cache and TLB flushes
24316676e3c7 parisc: Reduce irq overhead when run in qemu
60e756984554 parisc: Use cr16 interval timers unconditionally on qemu
ee5e1ffab408 timers: Forward timer base before migrating timers
4ee6ac4141dd mmc: dw_mmc: Fix out-of-bounds access for slot's caps
500fb6fc6f76 mmc: dw_mmc: Factor out dw_mci_init_slot_caps
d9aedd0eeff7 mmc: dw_mmc: Avoid accessing registers in runtime suspended state
89c12efb97e7 mmc: dw_mmc-k3: Fix out-of-bounds access through DT alias
77a4aeb4ce78 mmc: sdhci-pci: Fix S0i3 for Intel BYT-based controllers
05d161055a54 ALSA: hda - Fix pincfg at resume on Lenovo T470 dock
953cadb747c1 ALSA: hda: Add a power_save blacklist
b7b0967e09f8 ALSA: x86: Fix missing spinlock and mutex initializations
a2eeb5a466e4 ALSA: control: Fix memory corruption risk in snd_ctl_elem_read
9d1e69dd320d ALSA: usb-audio: Add a quirck for B&W PX headphones
45bc38a35106 tpm_tis: fix potential buffer overruns caused by bit glitches on the bus
97277fda41a5 tpm_i2c_nuvoton: fix potential buffer overruns caused by bit glitches on the bus
a46deb414510 tpm_i2c_infineon: fix potential buffer overruns caused by bit glitches on the bus
e47b9cb5a31b tpm: fix potential buffer overruns caused by bit glitches on the bus
3f0ef47f20be tpm: st33zp24: fix potential buffer overruns caused by bit glitches on the bus
fdfcd0ace151 ixgbe: fix crash in build_skb Rx code path
eeef553eef5e Bluetooth: btusb: Use DMI matching for QCA reset_resume quirking
7ef82fc6dd01 powerpc/pseries: Enable RAS hotplug events later
c58c4d2d192d platform/x86: dell-laptop: Allocate buffer on heap rather than globally
5263849bc9e7 ipmi_si: Fix error handling of platform device
d3b7976e60c6 hrtimer: Ensure POSIX compliance (relative CLOCK_REALTIME hrtimers)
816433b1879a vsprintf: avoid misleading "(null)" for %px
(From OE-Core rev: 6af2a2914264c67310ec874035b8a01c941e9615)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable releases for v4.14, which comprise the
following commits:
de8cdc557231 Linux 4.14.30
5019b23699f4 RDMA/vmw_pvrdma: Fix usage of user response structures in ABI file
957435b566c9 kbuild: fix linker feature test macros when cross compiling with Clang
e82496fbe3a0 RDMA/ucma: Don't allow join attempts for unsupported AF family
ce3e82c0630f RDMA/ucma: Fix access to non-initialized CM_ID object
712b442c68c2 clk: migrate the count of orphaned clocks at init
02db484a0583 RDMA/core: Do not use invalid destination in determining port reuse
8b0c4a2e04f7 serial: 8250_pci: Don't fail on multiport card class
00fb52a3828d IB/mlx5: Fix out-of-bounds read in create_raw_packet_qp_rq
cf1eb16eef13 IB/mlx5: Fix integer overflows in mlx5_ib_create_srq
3748694f1b91 scsi: mpt3sas: wait for and flush running commands on shutdown/unload
9d72b2696e0a scsi: mpt3sas: fix oops in error handlers after shutdown/unload
0493d72ee4d6 dmaengine: ti-dma-crossbar: Fix event mapping for TPCC_EVT_MUX_60_63
e618ff1ac59c crypto: artpec6 - set correct iv size for gcm(aes)
53555c8fc8a2 clk: si5351: Rename internal plls to avoid name collisions
fa97cdb4c71e clk: axi-clkgen: Correctly handle nocount bit in recalc_rate()
9e9d9b1a3dbf clk: Don't touch hardware when reparenting during registration
24c92f975cb2 clk: at91: pmc: Wait for clocks when resuming
14d920fc4579 nfsd4: permit layoutget of executable-only files
1de82078a0c0 ARM: dts: aspeed-evb: Add unit name to memory node
e434a6eaed8c RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS
7b7e076f8cad scsi: lpfc: Fix issues connecting with nvme initiator
1626beb0b5d8 scsi: lpfc: Fix SCSI LUN discovery when SCSI and NVME enabled
6f4649f3bef8 soc: qcom: smsm: fix child-node lookup
f1f225794a41 ip_gre: fix potential memory leak in erspan_rcv
9cd6c84e9377 ip_gre: fix error path when erspan_rcv failed
e6cfc525163e ip6_vti: adjust vti mtu according to mtu of lower device
f2b32ce1ccef iommu/vt-d: clean up pr_irq if request_threaded_irq fails
915bd53d68f6 pinctrl: rockchip: enable clock when reading pin direction register
130e535210ba pinctrl: Really force states during suspend/resume
06299bd0cf73 media: davinci: fix a debug printk
fea718819c69 PCI: rcar: Handle rcar_pcie_parse_request_of_pci_ranges() failures
e1645629785b PCI: endpoint: Fix find_first_zero_bit() usage
194b5ce11968 PCI: designware-ep: Fix ->get_msi() to check MSI_EN bit
d67d7bf8f12d coresight: Fix disabling of CoreSight TPIU
f16a65befe74 pty: cancel pty slave port buf's work in tty_release
728e120d1786 drm/omap: DMM: Check for DMM readiness after successful transaction commit
9967208b4f6c mmc: sdhci-xenon: wait 5ms after set 1.8V signal enable
83a2960ff6d1 omapdrm: panel: fix compatible vendor string for td028ttec1
f7eda23c2990 vgacon: Set VGA struct resource types
58668d153baf iser-target: avoid reinitializing rdma contexts for isert commands
a3e4b8fe6479 IB/umem: Fix use of npages/nmap fields
251695a39f05 RDMA/cma: Use correct size when writing netlink stats
a4ac7cb593ad IB/ipoib: Avoid memory leak if the SA returns a different DGID
9766562956fd rtc: ac100: Fix multiple race conditions
badf37254bc7 media: s5p-mfc: Fix lock contention - request_firmware() once
639dab36edbd sfp: fix non-detection of PHY
1a6610de8c1b sfp: fix EEPROM reading in the case of non-SFF8472 SFPs
1b485793ce84 net: phy: meson-gxl: check phy_write return value
ea60e54b22aa /dev/mem: Add bounce buffer for copy-out
79a49fcc0768 mmc: block: fix logical error to avoid memory leak
9dd93e524955 mmc: avoid removing non-removable hosts during suspend
c1326c691f4d drm/tilcdc: ensure nonatomic iowrite64 is not used
e2a6f2967f67 dmaengine: zynqmp_dma: Fix race condition in the probe
f4a0f85594ba platform/chrome: Use proper protocol transfer function
71233e2541a4 watchdog: Fix kref imbalance seen if handle_boot_enabled=0
08b810901020 watchdog: Fix potential kref imbalance when opening watchdog
008029510ac8 cros_ec: fix nul-termination for firmware build info
79c3f5cf466d serial: 8250_dw: Disable clock on error
f1be26620373 tty: goldfish: Enable 'earlycon' only if built-in
5ff0741646fd qmi_wwan: set FLAG_SEND_ZLP to avoid network initiated disconnect
a9a14b17f72c media: [RESEND] media: dvb-frontends: Add delay to Si2168 restart
057ee30417e5 ath10k: handling qos at STA side based on AP WMM enable/disable
824f8613ea62 media: bt8xx: Fix err 'bt878_probe()'
2159db50a572 rtlwifi: always initialize variables given to RT_TRACE()
9f180c6db58e rtlwifi: rtl_pci: Fix the bug when inactiveps is enabled.
9854881c225a spi: sh-msiof: Avoid writing to registers from spi_master.setup()
6467b3e25447 hv_netvsc: Fix the TX/RX buffer default sizes
8dc11c413557 hv_netvsc: Fix the receive buffer size limit
e53e85d5082c RDMA/iwpm: Fix uninitialized error code in iwpm_send_mapinfo()
4df82a41e819 drm/msm: fix leak in failed get_pages
b3cff08483d0 media: c8sectpfe: fix potential NULL pointer dereference in c8sectpfe_timer_interrupt
b453f9d8c55e cpufreq: longhaul: Revert transition_delay_us to 200 ms
e59e19dc4086 Bluetooth: btqcomsmd: Fix skb double free corruption
5b58533858e3 Bluetooth: hci_qca: Avoid setup failure on missing rampatch
23081c335df9 staging: android: ashmem: Fix possible deadlock in ashmem_ioctl
23e73e2ab4d2 scsi: megaraid_sas: Do not use 32-bit atomic request descriptor for Ventura controllers
809607940362 Linux 4.14.29
f2216e3e1d64 usb: dwc3: Fix GDBGFIFOSPACE_TYPE values
3914aae2ae24 USB: gadget: udc: Add missing platform_device_put() on error in bdc_pci_probe()
c209d68794e6 scsi: qla2xxx: Fix crashes in qla2x00_probe_one on probe failure
91cb90636e03 scsi: qla2xxx: Fix logo flag for qlt_free_session_done()
31de69d5c9b8 scsi: qla2xxx: Fix NULL pointer access for fcport structure
8cdd1908c174 scsi: qla2xxx: Fix smatch warning in qla25xx_delete_{rsp|req}_que
1a8902505673 btrfs: Fix memory barriers usage with device stats counters
d35115930d84 btrfs: remove spurious WARN_ON(ref->count < 0) in find_parent_nodes
cb6945546b52 btrfs: Fix use-after-free when cleaning up fs_devs with a single stale device
0136bd7238b2 btrfs: alloc_chunk: fix DUP stripe size handling
7e7fbff126d1 btrfs: add missing initialization in btrfs_check_shared
e625797168ce btrfs: Fix NULL pointer exception in find_bio_stripe
e01cf461f1d0 irqchip/gic-v3-its: Ensure nr_ites >= nr_lpis
1f4b6d083dc6 RDMAVT: Fix synchronization around percpu_ref
cd21b3400bc1 fs/aio: Use RCU accessors for kioctx_table->table[]
076c7c06801a fs/aio: Add explicit RCU grace period when freeing kioctx
b071bce3ff7e lock_parent() needs to recheck if dentry got __dentry_kill'ed under it
e693f1331c4c KVM: arm/arm64: vgic: Don't populate multiple LRs with the same vintid
b85437d007f4 kvm: arm/arm64: vgic-v3: Tighten synchronization for guests using v2 on v3
2ffe95e3aa1e KVM: arm/arm64: Reduce verbosity of KVM init log
0481f001d9c1 fs: Teach path_connected to handle nfs filesystems with multiple roots.
690291bccba9 drm/amdgpu/dce: Don't turn off DP sink when disconnected
1a50b5f07acf drm/radeon: fix prime teardown order
b4a9192c74ad drm/amdgpu: fix prime teardown order
bdbd0a2082d5 drm/nouveau/bl: Fix oops on driver unbind
3d1ef6fbdc22 ALSA: seq: Clear client entry before deleting else at closing
0609022631b3 ALSA: seq: Fix possible UAF in snd_seq_check_queue()
c0cafa62d780 ALSA: hda - Revert power_save option default value
5ee6abaa5370 ALSA: pcm: Fix UAF in snd_pcm_oss_get_formats()
a9cf8b6fe73b parisc: Handle case where flush_cache_range is called with no context
6fcb523eafa0 x86/mm: Fix vmalloc_fault to use pXd_large
4b428e9998c1 KVM: x86: Fix device passthrough when SME is active
732f9a89fc1e x86/speculation: Remove Skylake C2 from Speculation Control microcode blacklist
76aaa3978252 x86/speculation, objtool: Annotate indirect calls/jumps for objtool on 32-bit kernels
68ce99300659 x86/vm86/32: Fix POPF emulation
602e52e66fbe selftests/x86/entry_from_vm86: Add test cases for POPF
102c51c63494 selftests/x86: Add tests for the STR and SLDT instructions
6d3789cafd00 selftests/x86: Add tests for User-Mode Instruction Prevention
9ad561690f83 selftests/x86/entry_from_vm86: Exit with 1 if we fail
4cf4908d1d4e x86/cpufeatures: Add Intel PCONFIG cpufeature
828ba3c7fd5a x86/cpufeatures: Add Intel Total Memory Encryption cpufeature
42b96e19dddd Linux 4.14.28
1c8b6717a268 drm/i915/glk: Disable Guc and HuC on GLK
e09475d69826 dmaengine: qcom_hidma: check pending interrupts
4f33fcc68abe IB/mlx5: revisit -Wmaybe-uninitialized warning
fd6170bf4381 ima: relax requiring a file signature for new files with zero length
c02dd004559c locking/locktorture: Fix num reader/writer corner cases
09e59383eb1c rcutorture/configinit: Fix build directory error message
17c8c5998857 ipvlan: add L2 check for packets arriving via virtual devices
0ced0c46b418 Fix misannotated out-of-line _copy_to_user()
4117e8971923 mmc: mmc_test: Ensure command queue is disabled for testing
b45ccc79b04a ASoC: nuc900: Fix a loop timeout test
00be5b299063 crypto: caam/qi - use correct print specifier for size_t
8077cba5b1f0 mac80211: remove BUG() when interface type is invalid
f6ae26c08033 mac80211_hwsim: enforce PS_MANUAL_POLL to be set after PS_ENABLED
9bece8dda367 agp/intel: Flush all chipset writes after updating the GGTT
4df57c45f762 arm64: dts: renesas: salvator-common: Add EthernetAVB PHY reset
9281b0856dcd powerpc/64: Don't trace irqs-off at interrupt return to soft-disabled context
d744153d67fd powerpc/modules: Don't try to restore r2 after a sibling call
12848af16f9e drm/amdkfd: Fix memory leaks in kfd topology
30d45938f2a5 veth: set peer GSO values
a80de288d6c5 net: sched: drop qdisc_reset from dev_graft_qdisc
127bda4b0912 virtio_net: Disable interrupts if napi_complete_done rescheduled napi
623f21858691 media: davinci: vpif_capture: add NULL check on devm_kzalloc return value
b6b70d70331f media: cpia2: Fix a couple off by one bugs
8834a75d8acb dm raid: fix raid set size revalidation
77ec30a0b35e media: vsp1: Prevent suspending and resuming DRM pipelines
32097005dd78 scsi: dh: add new rdac devices
97b8a9a87832 scsi: devinfo: apply to HP XP the same flags as Hitachi VSP
a60a3523b398 scsi: core: scsi_get_device_flags_keyed(): Always return device flags
677794fb0ca2 bnxt_en: Don't print "Link speed -1 no longer supported" messages.
564030343299 spi: sun6i: disable/unprepare clocks on remove
4309a1e0d1c3 tools/usbip: fixes build with musl libc toolchain
9c0a007d1efc ath10k: fix invalid STS_CAP_OFFSET_MASK
0c2fa288cfc3 mwifiex: cfg80211: do not change virtual interface during scan processing
1a7e2b546b0f clk: qcom: msm8916: fix mnd_width for codec_digcodec
6d6a5eae5600 drm/amdgpu:fix virtual dce bug
bd301e538bd6 iwlwifi: mvm: avoid dumping assert log when device is stopped
e6fb81cb22b7 perf annotate: Fix objdump comment parsing for Intel mov dissassembly
f9b186caa071 perf annotate: Fix unnecessary memory allocation for s390x
9334b702531d pinctrl: sh-pfc: r8a7795-es1: Fix MOD_SEL1 bit[25:24] to 0x3 when using STP_ISEN_1_D
162ee473a0cb pinctrl: sh-pfc: r8a7791: Add can_clk function
81a16b68d254 drm/sun4i: Fix format mask in DE2 driver
5dc7257b7ca7 pwm: stmpe: Fix wrong register offset for hwpwm=2 case
65722e73086d scsi: ses: don't ask for diagnostic pages repeatedly during probe
5d8c64ea75f3 drm/amdgpu:fix random missing of FLR NOTIFY
0049457bfde6 cpufreq: Fix governor module removal race
bde5c6dca065 ath10k: update tdls teardown state to target
6af44accf4ff iio: health: max30102: Add power enable parameter to get_temp function
975486d1f138 iio: adc: ina2xx: Shift bus voltage register to mask flag bits
cb334409bb02 drm/etnaviv: make THERMAL selectable
893bfd501781 power: supply: ab8500_charger: Bail out in case of error in 'ab8500_charger_init_hw_registers()'
487d43596072 power: supply: ab8500_charger: Fix an error handling path
7579edac03e6 leds: pm8058: Silence pointer to integer size warning
ab3db1af4210 xfrm: Fix xfrm_replay_overflow_offload_esn
5aac93adff9c userns: Don't fail follow_automount based on s_user_ns
926b261b1ed5 mtd: nand: ifc: update bufnum mask for ver >= 2.0.0
2f1f60c4b903 ARM: dts: omap3-n900: Fix the audio CODEC's reset pin
0ed43f944a40 ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin
5132282f9c4b net: thunderx: Set max queue count taking XDP_TX into account
4ab1fcc7a5f7 mtd: nand: fix interpretation of NAND_CMD_NONE in nand_command[_lp]()
bd174cd107d0 net: xfrm: allow clearing socket xfrm policies.
f113f794410a rtc: brcmstb-waketimer: fix error handling in brcmstb_waketmr_probe()
31a0f4502108 net: ieee802154: adf7242: Fix bug if defined DEBUG
00c7a2690dcc test_firmware: fix setting old custom fw path back on exit
919ba939de1a crypto: cavium - fix memory leak on info
90cf769aeb5a crypto: ecc - Fix NULL pointer deref. on no default_rng
cebb9043093e sched: Stop resched_cpu() from sending IPIs to offline CPUs
9c2825526d96 sched: Stop switched_to_rt() from sending IPIs to offline CPUs
872181a79b35 USB: ledtrig-usbport: fix of-node leak
b9faab6a01e9 typec: tcpm: fusb302: Resolve out of order messaging events
dc3173bf6ccb staging: rtl8822be: fix missing null check on dev_alloc_skb return
0e2685fef97d drm/amdgpu: fix get_max_engine_clock_in_mhz
dc743e973895 ARM: dts: exynos: Correct Trats2 panel reset line
7299cd29f12c clk: meson: gxbb: fix wrong clock for SARADC/SANA
9ac03f5260e4 ARM: dts: koelsch: Move cec_clock to root node
cc218843b44d iwlwifi: mvm: rs: don't override the rate history in the search cycle
f0ab595c2de0 HID: elo: clear BTN_LEFT mapping
addf1ae9fcb2 HID: multitouch: Only look at non touch fields in first packet of a frame
d2bbda4c374c video/hdmi: Allow "empty" HDMI infoframes
182c594668e7 dma-buf/fence: Fix lock inversion within dma-fence-array
e19df194b50e drm/edid: set ELD connector type in drm_edid_to_eld()
2b0509fa4afe Revert "btrfs: use proper endianness accessors for super_copy"
d916e453942b dm mpath: fix passing integrity data
dbacf552cdbf earlycon: add reg-offset to physical address before mapping
0da58aed9edc serial: core: mark port as initialized in autoconfig
099d055f8ab9 serial: 8250_pci: Add Brainboxes UC-260 4 port serial device
e52fb772cb1d usb: dwc3: Fix lock-up on ID change during system suspend/resume
99d7fb05c1e9 usb: gadget: f_fs: Fix use-after-free in ffs_fs_kill_sb()
59b0613d3f40 usb: usbmon: Read text within supplied buffer size
42b8dfefbb1b usb: quirks: add control message delay for 1b1c:1b20
d4f0bf4525fd usbip: vudc: fix null pointer dereference on udc->lock
f8187fd2aeda USB: storage: Add JMicron bridge 152d:2567 to unusual_devs.h
6de9ee2f3020 staging: android: ashmem: Fix lockdep issue during llseek
4c2d71dd0f90 staging: comedi: fix comedi_nsamples_left.
fdd0f1b2efc7 uas: fix comparison for error code
3c8e0474f543 tty/serial: atmel: add new version check for usart
a6a8916de0db serial: sh-sci: prevent lockup on full TTY buffers
d03fbfded594 xhci: fix endpoint context tracer output
d7c3836cd166 xhci: Fix front USB ports on ASUS PRIME B350M-A
490869f59f58 usb: host: xhci-rcar: add support for r8a77965
92d770524625 ASoC: rt5651: Fix regcache sync errors on resume
57e2eb2d13db ASoC: wm_adsp: For TLV controls only register TLV get/set
90442512a6c6 ASoC: sgtl5000: Fix suspend/resume
577ad1c9bcfd ASoC: sun4i-i2s: Fix RX slot number of SUN8I
a971fc44c94b x86: Treat R_X86_64_PLT32 as R_X86_64_PC32
6bccf8962b78 net: phy: Restore phy_resume() locking assumption
76fbc152cd8c net: phy: fix resume handling
9b1fb9cc922d Linux 4.14.27
24e955e59100 x86/kprobes: Fix kernel crash when probing .entry_trampoline code
e8be8ff1f757 objtool: Fix 32-bit build
a617f2e36d67 objtool: Fix another switch table detection issue
c3b9f72606ac objtool, retpolines: Integrate objtool with retpoline support more closely
a69898c9eb0a objtool: Add module specific retpoline rules
3945bbe1525f kbuild: move cc-option and cc-disable-warning after incl. arch Makefile
6288eb92cae8 kbuild: Set KBUILD_CFLAGS before incl. arch Makefile
cfe39acafbaf kbuild: re-order the code to not parse unnecessary variables
e6993149fa4d objtool: Add retpoline validation
8c2768139ffb objtool: Use existing global variables for options
f9be9ef91a14 x86/mm/sme, objtool: Annotate indirect call in sme_encrypt_execute()
4d840d9a1742 x86/boot, objtool: Annotate indirect jump in secondary_startup_64()
6fceef2e7feb x86/paravirt, objtool: Annotate indirect calls
5065490489ee x86/speculation: Move firmware_restrict_branch_speculation_*() from C to CPP
945e3d00ecdc x86/speculation, objtool: Annotate indirect calls/jumps for objtool
e76a9431f21a x86/retpoline: Support retpoline builds with Clang
c3ffdb5a2ed4 x86/speculation: Use IBRS if available before calling into firmware
a66fe0437d85 Revert "x86/retpoline: Simplify vmexit_fill_RSB()"
8cb411344339 x86-64/realmode: Add instruction suffix
cd9547e51503 x86/LDT: Avoid warning in 32-bit builds with older gcc
e793e30063b9 x86/asm: Improve how GEN_*_SUFFIXED_RMWcc() specify clobbers
c507f00d2b5e x86/mm: Remove stale comment about KMEMCHECK
5f9d19a6c9e1 x86/entry/64: Use 'xorl' for faster register clearing
b690fda31a47 x86/entry: Reduce the code footprint of the 'idtentry' macro
2e19277e1df5 nospec: Include <asm/barrier.h> dependency
bebe3994ddaf nospec: Kill array_index_nospec_mask_check()
dc2f0da8350e MIPS: CPC: Map registers using DT in mips_cpc_default_phys_base()
20b4c7f86df9 dt-bindings: Document mti,mips-cpc binding
608d96fc43a3 scsi: qla2xxx: Fix recursion while sending terminate exchange
8540351ee8a4 scsi: qla2xxx: Fix NULL pointer crash due to probe failure
3deecffb1b78 ALSA: hda: add dock and led support for HP ProBook 640 G2
f2ba41eb6290 ALSA: hda: add dock and led support for HP EliteBook 820 G3
818b447d14e4 ALSA: hda - Fix a wrong FIXUP for alc289 on Dell machines
6d3a7dcba8c5 ALSA: seq: More protection for concurrent write and ioctl races
d9c724729d0d ALSA: seq: Don't allow resizing pool in use
7b4e500bada3 ALSA: hda/realtek - Make dock sound work on ThinkPad L570
816ee317d8a2 ALSA: hda/realtek - Fix dock line-out volume on Dell Precision 7520
3c69eccc1ab1 ALSA: hda/realtek: Limit mic boost on T480
37872f84cc2d ALSA: hda/realtek - Add headset mode support for Dell laptop
2c269a2557a9 ALSA: hda/realtek - Add support headset mode for DELL WYSE
c5bd1ad601d1 x86/spectre_v2: Don't check microcode versions when running under hypervisors
c192a793f056 perf tools: Fix trigger class trigger_on()
5c1c405d3936 x86/MCE: Serialize sysfs changes
859334041d04 x86/MCE: Save microcode revision in machine check records
c6a1c0caf2d0 bcache: don't attach backing with duplicate UUID
14c2230b83bc bcache: fix crashes in duplicate cache device register
f1833eb13078 IB/mlx5: Fix incorrect size of klms in the memory region
525673339fb1 dm bufio: avoid false-positive Wmaybe-uninitialized warning
ffced04184f5 kbuild: Handle builtin dtb file names containing hyphens
e3a8c7b5d707 IB/core: Fix missing RDMA cgroups release in case of failure to register device
c1badd7b65c4 arm64: mm: fix thinko in non-global page table attribute check
3da2a62a61d1 KVM: s390: fix memory overwrites when not using SCA entries
583cc79b7380 virtio_ring: fix num_free handling in error case
5f9113db06a4 loop: Fix lost writes caused by missing flag
7f18a19b2113 Documentation/sphinx: Fix Directive import error
88b3e6acbae0 mm/memblock.c: hardcode the end_pfn being -1
d50cb5cedb6f lib/bug.c: exclude non-BUG/WARN exceptions from report_bug()
89d3fccd8bab Input: matrix_keypad - fix race when disabling interrupts
91e019af29cd PCI: dwc: Fix enumeration end when reaching root subordinate
d90bb7c6806b MIPS: OCTEON: irq: Check for null return on kzalloc allocation
e06fe5925771 MIPS: ath25: Check for kzalloc allocation failure
26f1a4666090 MIPS: BMIPS: Do not mask IPIs during suspend
6c6f1e60b5e4 drm/amdgpu:Always save uvd vcpu_bo in VM Mode
783fd8eb86fc drm/amdgpu:Correct max uvd handles
e919af14fa17 drm/amdgpu: fix KV harvesting
f641c63d750a drm/radeon: fix KV harvesting
755e5527e57f drm/amdgpu: Notify sbios device ready before send request
20f3ff9738c0 drm/amdgpu: used cached pcie gen info for SI (v2)
26078a2d862d drm/amd/powerplay: fix power over limit on Fiji
9c1192dcb7ba drm/radeon: insist on 32-bit DMA for Cedar on PPC64/PPC64LE
1dd93412438e Revert "drm/radeon/pm: autoswitch power state when in balanced mode"
cfc381d215af drm/amd/powerplay/vega10: allow mclk switching with no displays
396ff3687674 drm/amd/powerplay/smu7: allow mclk switching with no displays
9b9a82c0e2e1 drm/nouveau: prefer XBGR2101010 for addfb ioctl
e6a23183d800 drm/amdgpu: Fix deadlock on runtime suspend
9c1508eff805 drm/radeon: Fix deadlock on runtime suspend
8c13b37c887d drm/nouveau: Fix deadlock on runtime suspend
c261d5a4e5bf drm: Allow determining if current task is output poll worker
363e3fd5fa49 workqueue: Allow retrieval of current task's work struct
0547d1135081 drm/i915: Always call to intel_display_set_init_power() in resume_early.
07b749546521 scsi: qla2xxx: Fix NULL pointer crash due to active timer for ABTS
4dbc3e4d8b28 scsi: core: Avoid that ATA error handling can trigger a kernel hang or oops
2e5033364e0d drm/i915/perf: fix perf stream opening lock
c16a67695cd6 drm/i915: Try EDID bitbanging on HDMI after failed read
d3accc34d793 drm/i915: Update watermark state correctly in sanitize_watermarks
7b3f881e41c5 drm/i915: Disable DC states around GMBUS on GLK
492056f2944e drm/i915: Clear the in-use marker on execbuf failure
f306b12928b9 drm/i915: Fix rsvd2 mask when out-fence is returned
4b26a307391f regulator: stm32-vrefbuf: fix check on ready flag
bba05fb6a13b net/smc: fix NULL pointer dereference on sock_create_kern() error path
e0486b303556 IB/uverbs: Improve lockdep_check
dbfed071633c RDMA/mlx5: Fix integer overflow while resizing CQ
01b8c0e36063 RDMA/ucma: Check that user doesn't overflow QP state
9b2d784a39d4 RDMA/ucma: Limit possible option size
7b7574e9b209 NFS: Fix unstable write completion
e131a6d68cd5 pNFS: Prevent the layout header refcount going to zero in pnfs_roc()
2bca2c58d83b NFS: Fix an incorrect type in struct nfs_direct_req
29060ff7c1ed scsi: qla2xxx: Fix memory leak in dual/target mode
0393270e9e58 scsi: qla2xxx: Fix system crash in qlt_plogi_ack_unref
e62c1051a4fd scsi: qla2xxx: Remove aborting ELS IOCB call issued as part of timeout.
f5ff7098d906 scsi: qla2xxx: Defer processing of GS IOCB calls
1bc43df12141 scsi: qla2xxx: Clear loop id after delete
21e4e9c6d8ab scsi: qla2xxx: Fix scan state field for fcport
0b42928ca54c scsi: qla2xxx: Replace fcport alloc with qla2x00_alloc_fcport
11739154e650 scsi: qla2xxx: Fix abort command deadlock due to spinlock
4929c452336c scsi: qla2xxx: Fix PRLI state check
f92ec32f33ba scsi: qla2xxx: Fix Relogin being triggered too fast
1411448e0a1b scsi: qla2xxx: Fix NPIV host cleanup in target mode
4274e4a3bee9 scsi: qla2xxx: Fix login state machine stuck at GPDB
585f4ebd9e66 scsi: qla2xxx: Serialize GPNID for multiple RSCN
a6d50e89f119 scsi: qla2xxx: Retry switch command on time out
8e6cbe51afee scsi: qla2xxx: Fix re-login for Nport Handle in use
fae72a271001 scsi: qla2xxx: Skip IRQ affinity for Target QPairs
2cd1f76b293e scsi: qla2xxx: Move session delete to driver work queue
e0be82d7801a scsi: qla2xxx: Fix gpnid error processing
f58abb5bbd23 scsi: qla2xxx: Fix system crash for Notify ack timeout handling
7b6f41b7377a tpm: only attempt to disable the LPC CLKRUN if is already enabled
30c3b70e8d83 tpm: remove unused variables
1ef7d99cc897 tpm: delete the TPM_TIS_CLK_ENABLE flag
7cea3381216a tpm: Keep CLKRUN enabled throughout the duration of transmit_cmd()
f1bb2393fcd0 tpm_tis: Move ilb_base_addr to tpm_tis_data
9131a1b3d9c8 netfilter: use skb_to_full_sk in ip6_route_me_harder
39f154faecc2 netfilter: ipv6: fix use-after-free Write in nf_nat_ipv6_manip_pkt
2d7e07003950 netfilter: bridge: ebt_among: add missing match size checks
eaa06bfba8ea netfilter: ebtables: CONFIG_COMPAT: don't trust userland offsets
c89e04e5c06e netfilter: IDLETIMER: be syzkaller friendly
53f94e6110aa netfilter: nat: cope with negative port range
ab737b02b2fd netfilter: x_tables: fix missing timer initialization in xt_LED
2a7ebc07a153 netfilter: xt_hashlimit: fix lock imbalance
4514a597aa43 netfilter: ipt_CLUSTERIP: fix a race condition of proc file creation
638c2e4eff89 netfilter: add back stackpointer size checks
310f286ded5f ASoC: Intel: kbl: fix jack name
314b54aae2ad ASoC: Intel: Skylake: Fix jack name format substitution
c116baf79f0e ARM: omap2: hide omap3_save_secure_ram on non-OMAP3 builds
77fbdd1e2a0c watchdog: hpwdt: Remove legacy NMI sourcing.
41da51dbc372 watchdog: hpwdt: fix unused variable warning
d40d7b332592 watchdog: hpwdt: Check source of NMI
9a07f4a6befc watchdog: hpwdt: SMBIOS check
31c4bc6e01e5 kbuild: move "_all" target out of $(KBUILD_SRC) conditional
96427a5164f3 Linux 4.14.26
dc6fb79de47d KVM: x86: fix backward migration with async_PF
a91064ff43a2 bpf, ppc64: fix out of bounds access in tail call
3e272a8cd57a bpf: allow xadd only on aligned memory
e1760b3563fb bpf: add schedule points in percpu arrays management
03549a3476e1 bpf, arm64: fix out of bounds access in tail call
7e657aa3b4f7 bpf, x64: implement retpoline for tail call
853223c2caf4 bpf: fix rcu lockdep warning for lpm_trie map_free callback
62a2caa5027f bpf: fix memory leak in lpm_trie map_free callback function
d9fd73c60bc9 bpf: fix mlock precharge on arraymaps
8773f9bfa9e8 Linux 4.14.25
df11c2268c39 nvme-rdma: don't suppress send completions
9474d8fa7ac4 md: only allow remove_and_add_spares when no sync_thread running.
4df591f704a2 ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux
2b8446579c1b ARM: dts: LogicPD SOM-LV: Fix I2C1 pinmux
b2190cc39184 ACPI / bus: Parse tables as term_list for Dell XPS 9570 and Precision M5530
b95f8ca8d719 KVM/x86: remove WARN_ON() for when vm_munmap() fails
615462370ab6 KVM/x86: Fix wrong macro references of X86_CR0_PG_BIT and X86_CR4_PAE_BIT in kvm_valid_sregs()
db98acd6f859 PCI/ASPM: Deal with missing root ports in link state handling
b4830f3ad9c5 KVM: x86: fix vcpu initialization with userspace lapic
1f17daea7026 KVM/VMX: Optimize vmx_vcpu_run() and svm_vcpu_run() by marking the RDMSR path as unlikely()
03d62460c731 KVM: x86: move LAPIC initialization after VMCS creation
0d62a56dc454 KVM/x86: Remove indirect MSR op calls from SPEC_CTRL
7135aaf3ed63 KVM: mmu: Fix overlap between public and private memslots
1ebf9ab6c4a0 KVM: X86: Fix SMRAM accessing even if VM is shutdown
f925158cb0d2 KVM: x86: extend usage of RET_MMIO_PF_* constants
e0c7b2b16666 ARM: kvm: fix building with gcc-8
fc6be8bc1216 ARM: mvebu: Fix broken PL310_ERRATA_753970 selects
4c02f0164b0e ARM: dts: rockchip: Remove 1.8 GHz operation point from phycore som
8dc356e5b936 ARM: orion: fix orion_ge00_switch_board_info initialization
b20d1086410a x86/mm: Fix {pmd,pud}_{set,clear}_flags()
656772cb7233 nospec: Allow index argument to have const-qualified type
81a158d21498 KVM: s390: consider epoch index on TOD clock syncs
dbab3751bcc7 KVM: s390: consider epoch index on hotplugged CPUs
58a5d1ac69a7 KVM: s390: provide only a single function for setting the tod (fix SCK)
c09ea9a8da5b KVM: s390: take care of clock-comparator sign control
bd3ead457638 EDAC, sb_edac: Fix out of bound writes during DIMM configuration on KNL
1ba2b9e01dbf media: m88ds3103: don't call a non-initalized function
ccddee811eba blk-mq: don't call io sched's .requeue_request when requeueing rq to ->dispatch
c5f32462f0df s390/qeth: fix IPA command submission race
eae17c406390 s390/qeth: fix IP address lookup for L3 devices
87c4789f452d Revert "s390/qeth: fix using of ref counter for rxip addresses"
56f662db7f56 s390/qeth: fix double-free on IP add/remove race
027637104ddf s390/qeth: fix IP removal on offline cards
fa4919e37f8e s390/qeth: fix overestimated count of buffer elements
128c7e692333 s390/qeth: fix SETIP command handling
fcdfb9d80dc9 s390/qeth: fix underestimated count of buffer elements
99a781947c2a virtio-net: disable NAPI only when enabled during XDP set
5134b919cc2c tuntap: disable preemption during XDP processing
1903344b6320 tuntap: correctly add the missing XDP flush
abb4a8b870b5 tcp: purge write queue upon RST
eec434c573e7 netlink: put module reference if dump start fails
abd7663b5d1c mlxsw: spectrum_router: Do not unconditionally clear route offload indication
ebadf888288c cls_u32: fix use after free in u32_destroy_key()
fb8a84cb9f6a amd-xgbe: Restore PCI interrupt enablement setting on resume
e7b316ac78e2 net/mlx5e: Verify inline header size do not exceed SKB linear size
cbd173b8105c bridge: Fix VLAN reference count problem
00ec3b0ca32f sctp: fix dst refcnt leak in sctp_v6_get_dst()
97ba6e5ff684 net: ipv4: Set addr_type in hash_keys for forwarded case
73cb791fe41c mlxsw: spectrum_router: Fix error path in mlxsw_sp_vr_create
0ab87ec99e99 tcp: revert F-RTO extension to detect more spurious timeouts
cc8dadb8c0f4 tcp: revert F-RTO middle-box workaround
36728a6b39c1 sctp: do not pr_err for the duplicated node in transport rhlist
54d6bc97b4c9 net/sched: cls_u32: fix cls_u32 on filter replace
a01550d778a4 net_sched: gen_estimator: fix broken estimators based on percpu stats
5b5be45ed1f2 net/mlx5e: Fix loopback self test when GRO is off
ff01f118d168 doc: Change the min default value of tcp_wmem/tcp_rmem.
d6a76199e851 tcp_bbr: better deal with suboptimal GSO
f0a04a0e1ab4 rxrpc: Fix send in rxrpc_send_data_packet()
17634603d494 tcp: Honor the eor bit in tcp_mtu_probe
dcb5da20ee3f net: phy: fix phy_start to consider PHY_IGNORE_INTERRUPT
f26693d38760 net/mlx5e: Specify numa node when allocating drop rq
2229dd5dd6c6 mlxsw: spectrum_switchdev: Check success of FDB add operation
9f02a069bfdd sctp: fix dst refcnt leak in sctp_v4_get_dst
bf014cc18a3c net/mlx5e: Fix TCP checksum in LRO buffers
fecb84a83f84 udplite: fix partial checksum initialization
1fc74a57a8ae sctp: verify size of a new chunk in _sctp_make_chunk()
5775f7876467 ppp: prevent unregistered channels from connecting to PPP units
795f3deff199 net: sched: report if filter is too large to dump
60b28d5ef3e3 netlink: ensure to loop over all netns in genlmsg_multicast_allns()
3bcf69f8e786 net: ipv4: don't allow setting net.ipv4.route.min_pmtu below 68
f80c28a585b5 net: fix race on decreasing number of TX queues
da260080c2e3 net: ethernet: ti: cpsw: fix net watchdog timeout
94870df33c9b net: amd-xgbe: fix comparison to bitshift when dealing with a mask
c3d7d3a099f6 ipv6 sit: work around bogus gcc-8 -Wrestrict warning
2cdc12a498fc hdlc_ppp: carrier detect ok, don't turn off negotiation
4a5048e7fdeb fib_semantics: Don't match route with mismatching tclassid
4c13e689e5f0 bridge: check brport attr show in brport_show
71978491bb66 x86/cpu_entry_area: Sync cpu_entry_area to initial_page_table
f70befc397a6 x86/platform/intel-mid: Handle Intel Edison reboot correctly
e521a723fd3f x86/xen: Zero MSR_IA32_SPEC_CTRL before suspend
93e1f7fc77e6 direct-io: Fix sleep in atomic due to sync AIO
0ba6c33b3287 dax: fix vma_is_fsdax() helper
3379a37a7409 cpufreq: s3c24xx: Fix broken s3c_cpufreq_init()
d5168ce35434 vfio: disable filesystem-dax page pinning
7f43f610c4bb block: kyber: fix domain token leak during requeue
17644a0bbb19 block: fix the count of PGPGOUT for WRITE_SAME
eae6179f5539 btrfs: use proper endianness accessors for super_copy
dabf89052e8e parisc: Fix ordering of cache and TLB flushes
47e7fc96cddc parisc: Reduce irq overhead when run in qemu
90c3f0d36000 parisc: Use cr16 interval timers unconditionally on qemu
6b218ed6bd07 timers: Forward timer base before migrating timers
ec274a65154a mmc: dw_mmc: Fix out-of-bounds access for slot's caps
e03d46a156d9 mmc: dw_mmc: Factor out dw_mci_init_slot_caps
4d5123a0b37c mmc: dw_mmc: Avoid accessing registers in runtime suspended state
cb65fc21f387 mmc: dw_mmc-k3: Fix out-of-bounds access through DT alias
33b42aa617d1 mmc: sdhci-pci: Fix S0i3 for Intel BYT-based controllers
e2c3f7270218 ALSA: hda - Fix pincfg at resume on Lenovo T470 dock
34516912bfd7 ALSA: hda: Add a power_save blacklist
e5e9a08e151f ALSA: x86: Fix missing spinlock and mutex initializations
a2102a155f3d ALSA: control: Fix memory corruption risk in snd_ctl_elem_read
ebc24a828a2f ALSA: usb-audio: Add a quirck for B&W PX headphones
e5966192439e tpm_tis_spi: Use DMA-safe memory for SPI transfers
fbb6fba47c05 tpm: constify transmit data pointers
f8e331c508c2 tpm_tis: fix potential buffer overruns caused by bit glitches on the bus
37dfbccd4b22 tpm_i2c_nuvoton: fix potential buffer overruns caused by bit glitches on the bus
e9951ab03f51 tpm_i2c_infineon: fix potential buffer overruns caused by bit glitches on the bus
648b62fda1a3 tpm: fix potential buffer overruns caused by bit glitches on the bus
703fca31ac31 tpm: st33zp24: fix potential buffer overruns caused by bit glitches on the bus
972b19e615a2 ixgbe: fix crash in build_skb Rx code path
971039cc4da1 Bluetooth: btusb: Use DMI matching for QCA reset_resume quirking
(From OE-Core rev: 22ab6e95a31ca10e14d1dfab8119e87e125505d4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit for the 4.12+ kernels:
Author: Nathan Rossi <nathan@nathanrossi.com>
Date: Wed Mar 21 00:10:02 2018 +1000
features/wifi: Add WiFi driver fragments for various vendors/interfaces
This change adds WiFi driver configuration fragments. The fragments are
split into vendor and interface files to allow for easy selection of
drivers for specific interface types (USB, PCI, SDIO) which is useful
for BSPs with specific interfaces. The specific vendor/interface config
fragments can be included by specific BSPs in its .scc files.
However .scc files (wifi-*.scc) are provided to allow enabling interface
specific or all interfaces drivers via KERNEL_FEATURES or inclusion via
other .scc files. And wifi-common.scc is provided to enable the base
config options required for all WiFi drivers, which is done to ensure
correct configuration for default no config setups (e.g.
linux-yocto-tiny).
This patch only enables a limited set of drivers, which is based on what
the common-pc-wifi.cfg fragment sets as well as some additional drivers,
that primarily appear in USB WiFi devices.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This gives us a much better granularity of drivers and a good baseline for
future improvements.
The 4.12 fragments are also slightly re-organized on top of this commit
to avoid patch failures when including the new frags.
(From OE-Core rev: c24d6863768a64b2c1632d5202790689a1164694)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits to fix the ethernet on the mpc8315e-rdb:
12f3957167b0 net: phy: realtek: Use the dummy stubs for MMD register access for rtl8211b
c986bc511c18 net: phy: Add general dummy stubs for MMD register access
(From OE-Core rev: 6dd68cddc3536c11b9f868fde34a745256648c25)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Via the -stable updates, and other configuration changes the 4.12 kernel has the
same dependency on openssl headers as 4.14+.
So we add the same DEPENDS line that we already have in newer kernels to avoid the
following error:
| HOSTCC scripts/sign-file
| build/tmp/work-shared/qemux86-64/kernel-source/scripts/sign-file.c:25:30: fatal error: openssl/opensslv.h: No such file or directory
| compilation terminated.
| scripts/Makefile.host:107: recipe for target 'scripts/sign-file' failed
| make[3]: *** [scripts/sign-file] Error 1
| make[3]: *** Waiting for unfinished jobs....
(From OE-Core rev: 80f6840baecb8b161f6443f3dd1af4e70b5e5221)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was removed in the bitbake repository back in 2010 (bitbake
revision 24857e2ceb405916b0b0b3e75c6c2375a909b9ba) - it's not clear
to me what happened, but for some reason the file remained in the poky
repository. However it does not appear that it has been used since then
and the reasons for removing even more valid now than they were then -
the code has moved on even further, we have memory resident bitbake
server, and if we were to re-implement this we would do it in a
different way. Drop the file and bring us back in sync with the bitbake
repo.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix typo in shutdown code to kill threads when "kill -0" is not enough.
Use the '--noreload' flag for 'runserver' so that there are no extra
and unaccounted threads.
[YOCTO #12555]
(Bitbake rev: 256990943075e89cb9aee2bc6488344b6783e07b)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Explicitly capture and ignore errors when trying to load the optional
'custom.xml' fixture file.
[YOCTO #12554]
(Bitbake rev: 132458939d3987ebc58685397714af3d6d5cd8fd)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian anonscm service in Alioth is shutdown and thus
fetching sources fails.
https://wiki.debian.org/Alioth
"Alioth is broken, and there is nobody around to fix it. Don't ask the remaining people who give it life support to implement fixes and changes. It is being replaced by a cocktail of ?GitLab (see Salsa), read-only repos and keep-alive mechanisms. See below for more information."
https://wiki.debian.org/Salsa
"What is Salsa?
Salsa is the name of a collaborative development server for Debian based on the gitlab software. Salsa is supposed to provide the necessary tools for package maintainers, packaging teams and other Debian related individuals and groups for collaborative development.
What is the status of Salsa?
After various discussions about the future of Alioth, the Alioth Sprint in August 2017 gave birth to the initial setup of the the upcoming Salsa service. The productive weekend resulted in a working prototype and was launched as a beta in December 2017. It left its beta status in January 2018."
(From OE-Core rev: 08ff7b42d8b7d06ef61255185c95e900ada8769b)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian anonscm service in Alioth is shutdown and thus
fetching ca-certificates sources fails.
https://wiki.debian.org/Alioth
"Alioth is broken, and there is nobody around to fix it. Don't ask the remaining people who give it life support to implement fixes and changes. It is being replaced by a cocktail of ?GitLab (see Salsa), read-only repos and keep-alive mechanisms. See below for more information."
(From OE-Core rev: fc20ff2003cee7ee3b78ba3bc236a60a8caabc35)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian anonscm service in Alioth is shutdown and thus
fetching ncurses sources fails.
https://wiki.debian.org/Alioth
"Alioth is broken, and there is nobody around to fix it. Don't ask the remaining people who give it life support to implement fixes and changes. It is being replaced by a cocktail of ?GitLab (see Salsa), read-only repos and keep-alive mechanisms. See below for more information."
(From OE-Core rev: 8fab5794218445ddb3e8f73a74fa3f130e7c42f6)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport fix from qemu mainline for intermediate qemuarm64 hang
issue. Root caused in OE environment, issue with aarch64 qemu
logic of executing instructions that reenabe interrupts. See patch
commit message for more details.
Upstream-Status: Backport
(From OE-Core rev: aa33945fc7cf7bfa859c4091bcfa2695c422849b)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Apparently there are recipes in the wild which generate files with
filenames containing '$' characters - which cause errors during
packaging.
Instead of adding another special case to escape '$' characters when
constructing the command passed to oe.utils.getstatusoutput(), switch
to using single quotes to quote the path - and therefore make isELF()
consistent with the way filenames and paths are quoted by every other
caller of oe.utils.getstatusoutput() in oe-core.
(From OE-Core rev: 7877761534b0c2492da6289e9f2269d41b6ed464)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although get_filesystem_id() is a private API and never gets passed
a path containing spaces or other special characters, etc, quote the
path anyway for consistency.
(From OE-Core rev: 1a9878cdb1cdb807c47e852b780c8ef9b93a214e)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix non-void function 'fix_options' should return a value.
Add function prototype to tcpd.c and miscd.c.
(From OE-Core rev: 01590c04e875968a7137a67d1683c503a6bad396)
Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With 4.15 kernel systemtap needs update to address systemtap module
compilation issues. It is fixed in later version of systemtap by
PR22551.
Upstream-Status: Backport
(From OE-Core rev: 7425d03729507ac5aff3c75ba20e749beaf3a3d5)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use ext4 filesystem instead of ext3 when using the live image to install
on target. wic defaults to ext4 as well.
(From OE-Core rev: db6c3d681807cfef098ead1db098f5268e1eb055)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix RDEPENDS
* Upstream v1.12_9 is a development version, not a stable release
* Add UPSTREAM_CHECK_REGEX skip development releases
* Drop anonymous python function to "fix" version, which breaks
auto-upgrade-helper (AUH)
* Use LICENSE file for checksum rather than ephemeral META.yml
* License remains the same
Fixes: [YOCTO #12581]
License-Update: use LICENSE file for checksum
(From OE-Core rev: 613fa79adff798e29ec7f72bff6f060a1832bc89)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pseudo is using a custom configure script that detects if it shall build with
extended file attribute support or not. The check is done by simply calling
'getfattr' provided by attr-native which is not part of the dependency list.
Due to the recent changes (recipe specific sysroot & cleanup of $PATH) this
call fails now when the recipe is being build for the first time (at least
when being build for nativesdk case). Explicitly setting up a dependency to
attr-native just to satisfy configure would be wrong also since the real
dependency is to attr/nativesdk-attr which are already part of the dependency
list (see DEPENDS). Therefore bypass the test in the configure by explicitly
enabling xattr using a configure option available in any case.
(From OE-Core rev: a7381eb16ba2183ed990a009bb8e82b4702f3d98)
Signed-off-by: Andreas Kaufmann <andreas.kaufmann.79@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 'glamor' PACKAGECONFIG in xserver-xorg creates a dependency on libgbm
which can be satisfied in some cases by mesa, in others by blobs such as mali.
(From OE-Core rev: 5f8050722169a931b8e9078b8757216ba7a84506)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mesa only PROVIDES these features if they are enabled via PACKAGECONFIG.
Therefore make the PROVIDES conditional depending on whether or not these
features have been enabled.
(From OE-Core rev: 8b1e57eb8c959c0f0a5d9a7e0c2e0811c515ea08)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
replace_glibc_check_with_linux.patch was accepted upstream with
modifications.
(From OE-Core rev: 94cf27ebc5d3e3fafa85f3bb1ca54f606bb411ad)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This version has been published at March 21, 2018, and it is a bugfix
only release. It includes several important fixes that were made as
part of 18.0.0 development cycle.
Full list of bug fixes can be see online at:
https://www.mesa3d.org/relnotes/17.3.7.html
(From OE-Core rev: 3601c079e15f3570b9b90cd8775e4e90175d1bb5)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This string is now being presented as "bsp_root_name" in the YP
manual set. A BSP name is essentially "meta-bsp_root_name".
It was being presented in the manual set as "meta-bsp_name",
which is not technically correct.
(From yocto-docs rev: 9ad25836b2b3ca79aa3430be014871f50205cf9e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed the way we refer to a BSP name. It is really
"meta-<bsp_root_name>" rather than "meta-<bsp_name>". The
name is the whole string and not just the root name.
Also added a tip on ordering the layers in the BBLAYERS
variable in the bblayers.conf file. Order is important.
(From yocto-docs rev: 9c56238295f5631c496377616ea98b860253e6f7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a layer that contains other layers
(From yocto-docs rev: 0cd1881c18e8a63d5f2f078b03fe4e89fd9c75b5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reality dictates that the YP does not treat layer naming consistently.
Layers are talked about as the "meta-whatever" layer and never the
"whatever" layer. However, the tooling sometimes appends or uses
just the "whatever" part of the layer name. A good example is the
meta-yocto-bsp configuration file. All the variables in there use
just the root name of a layer's name. In the manuals, I had been
distinguishing the layer name as just the "whatever" part sans
"meta-". I talked about the convention of using "meta-" in front
of layer names, etc. Well, this is confusing in light of how everyone
says a layer's name is "meta-whatever". So, I fixed all this up.
(From yocto-docs rev: 79e52f6ccf4246fc69a460ce9d3a4a18720a9442)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Split this section into two sections: one for creating the layer
using bitbake-layers create-layer and one for adding the layer
to bblayers.conf using bitbake-layers add-layer.
Needed to update some references in the yocto-project-qs and
kernel-dev manuals.
(From yocto-docs rev: 741a29b0cbeaaeaa0ac9155036ace2623938aee3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12419]
In the section on runtime package management, I created a "Tip"
box to tell the user about using a location for the package
index information outside of the "deploy" area of the hosts
build directory.
(From yocto-docs rev: 2aee814d3d3ed4052fca332693d5416907ae640e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided some key links to help clarify content.
(From yocto-docs rev: 8d27b9946dad89729d30497bcc4de26b9a5c87d9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12419]
This section was unclear and needed some work. I added text to
help clear things up.
(From yocto-docs rev: 54358a39a5710dbd0cbcfe8dafd2f641ec3863ef)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added the fact that this variable is really optional. If you
don't use it then you are setting up a package feed URI that
will include all supported arcchitectures for the package.
Using it means you are setting up specific URIs for specific
architectures.
Added a "Tip" note box to show how you can use the variable
to whitelist architectures.
(From yocto-docs rev: 009f3551aa61aaf6459fd24105a2e06511b59da3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I created a two-bullet "Caution" note to highlight the stuff a
user needs to be aware of that can cause problems.
(From yocto-docs rev: 553bc13e5fd350adb15400afe170e587965929db)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I took out the sections at the end of the manual that talked
about the yocto-kernel tool. This tool is no longer maintained
and there is no equivalent tool. I also fixed the yocto-bsp
tool to be the bitbake-layers tool. This involved some
consolidation of sections.
I fixed some links in the kernel-dev and toaster-manual.
(From yocto-docs rev: 20cda99b301b6327d816c4a4cfb3511ad25c987c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated this section with minor edits.
(From yocto-docs rev: 1bc1dcda5fbab4a66737653164222f4fc5a7289c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section had several out-of-date items. They are all up
to date now.
(From yocto-docs rev: 247f3eceeccc645a1b556aea433d4cf66399e962)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made changes to sync the raspberrypi BSP example to what is
really in the source directories. It was pretty out of date.
Made some minor edits to the sections describing the framework
of the BSP.
(From yocto-docs rev: b222d0988cb365cb1943ee1857e5cfd6b9fe173a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Applied some edits to make the section more up-to-date. Dumped
minnow as a BSP example for raspberrypi.
(From yocto-docs rev: a40515bad28d07d736e1ddd1832c19b074749d53)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added more relevant information around the discussion of BSP
layers.
(From yocto-docs rev: 8ca439b0bbfdcf390edb723fd12e8a00d90024e3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The example that creates a layer using bitbake-layers had old
output. Updated it.
(From yocto-docs rev: c58d738a59f113f8fffe0fc40b22e06b9d96cb6f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reference to tools to help upgrade now exists with the
creation of the section in the dev-manual that talks about how to
upgrade recipes. I converted the bullet item here in the QS to
point to the actual section.
(From yocto-docs rev: b3d8895fefb99799a7c06abff5cc1604530ee36a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Did some rewriting to add some references to other sections
in the manual set. Did some other minor clean up.
(From yocto-docs rev: 7e7be31e96a0e73e230b8596b2431716f254e027)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the devtool add -h output.
Updated the devtool --help output.
Fixed wording for the "attic" file associated with the figure
of the workspace area.
(From yocto-docs rev: bc53d9a1236ba2545c112256e886729b08b507de)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided a bit of rationale on why and when you use this command.
Put in several links to help the reader get to related areas where
command use is explained.
(From yocto-docs rev: 7b30f29bfa15dd15f1388bb856e2047be55e7fb9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Section covers AUH, devtool and manual. Still need to add
manual.
(From yocto-docs rev: 56f04b1fcc8673e20df6d8f5c65120b03cad31e7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Had to update the umbrella YP figure and the Poky figure. The
figures changed on the website so this gets them back in sync.
(From yocto-docs rev: f7f1a689a847ab4a01106eadacfccb4bec6c4b01)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ERROR: distcc-3.2-r0 do_fetch: Fetcher failure: Unable to find revision d8b18df3e9dcbe4f092bed565835d3975e99432c in branch 3.2 even from upstream
ERROR: distcc-3.2-r0 do_fetch: Fetcher failure for URL: 'git://github.com/distcc/distcc.git;branch=3.2'. Unable to fetch URL from any source.
ERROR: distcc-3.2-r0 do_fetch: Function failed: base_do_fetch
[v2]
upstream deleted the branch and the hash no longer exists.
Took the git snapshot from yocto and created a copy on my github.
There was no offical 3.2 release, only rc versions.
(From OE-Core rev: aee44c6b1c36fb1c1f760fec60087933d1e8ea79)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before, waf.bbclass would fail to catch FileNotFoundError. Now, it will
catch this error and say that waf doesn't exist.
Fixes [YOCTO 12553]
(From OE-Core rev: f8321dedec7abe392f7e49ff8eee0640463adae5)
Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setup environment for builds requiring binary reproducibility.
Determine and export SOURCE_DATE_EPOCH per each recipe.
This is a crucial step to achieve binary reproducibility.
The value for this variable (timestamp) is obtained after source code for
a recipe has been unpacked, but before it is patched. If the code sources
come from a GIT repo, we get the timestamp from the top commit. (GIT repo
does not preserve file mktime timestamps). Otherwise, if GIT repo is not
present, we try to get mtime from known files such as NEWS, ChangeLog, etc.
If this also fails, we go through all files and get the timestamp from the
youngest one. We create an individual timestamp for each recipe.
The timestamp is stored in the file '__source_date_epoch.txt' (in the folder
source-date-epoch_). Later on, each task reads this file and sets
the exported value of SOURCE_DATE_EPOCH to the value found in the file.
Uasge:
INHERIT += "reproducible_build"
[YOCTO#11178]
[YOCTO#11179]
(From OE-Core rev: cc438ac7711dedbe05d654e99af9316c9215b02e)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was the default behavior with autotools, but is not with meson.
Otherwise, udev package will pull in the rest of systemd even
that is not desired.
[YOCTO #12618]
(From OE-Core rev: 7409d2d48b69adcdf039fb4aa8bd9ed62460daa9)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When systemd was upgraded from 234 to 237, the PACKAGECONFIG item
'resolved' is changed to 'resolve', this is because meson_options.txt
uses the word 'resolve' instead of 'resolved'.
However, this causes trouble for users. Backward compatibility is obviously
more important, because we might have bbappend files in other layers
using this PACKAGECONFIG item.
So change the name back to 'resolved'.
(From OE-Core rev: da7fc569e547b4105b00c11a0b41b70230bacc50)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In out-of-tree builds gtk-doc's setup-build target copies all the content from
$srcdir to $builddir. However, if some of this content is regenerated at
configure time this can happen:
1) configure writes new build/version.xml
2) make compile copies content, including the tarball's src/version.xml
to build/version.xml, and generates gtk-doc.
3) make install notices build/version.xml is older than configure.status,
so regenerates gtk-doc.
gtk-doc generation is a slow process at the best of times, so doing it twice
isn't good.
(From OE-Core rev: 9ea9d61f26a942dbbc90070b40ba0209021a4b46)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
termlib needs to be disabled on some targets e.g. mingw
this change paves the way for doing that. Functionally
it does not change anything for other platforms
(From OE-Core rev: 88f33e1e5ba4f85093f60a296cba3ee1c1341c43)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These variables force runtime tests during configure
they are already cached for other architectures
(From OE-Core rev: 7a0e456d9dcfe9d9d9a0dbd24a6083c8d40516ff)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To use 'glide' this class does the integration and reduces code
duplication.
(From OE-Core rev: e0dbcdc2ca0b05b6b062a0ec1496204bb2122fbf)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fails for nativesdk-shadow with:
pwconv: /etc/passwd.29063: No such file or directory
pwconv: cannot lock /etc/passwd; try again later.
(From OE-Core rev: c292945611d9f825051ac4938bb22a7d42fff994)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wrong revision of this patch, where the commit message didn't match
with the default PACKAGECONFIG value, was merged to master, update
it to avoid confusion
* it got enabled by default, but without the dependency on libidn in:
commit 5997981fa2c22609a88b8cbb595dbf7758b2f7c2
Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
AuthorDate: Thu Feb 1 20:02:08 2018 +0200
Subject: iputils: update to 20161105
* https://github.com/iputils/iputils/blob/master/RELNOTES.old
mentiones that IDN was enabled by default in:
[s20160308] and surprisingly the same in [s20150815]
but there are no release notes for s20151218 version we were using until
now, don't know how it really relates to [s20150815].
* but there are some issues with libidn as described in:
f3a461603e
so disable it by default.
(From OE-Core rev: d5cf9fdc57b6e9237126c92a6d92a31099d007c9)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following perl module packages were removed from oe-core
with commit: 30fb4c8f329fe3aa3c528ffeba60ee7d702e873e
- libclass-isa-perl
- libenv-perl
- libdumpvalue-perl
- libfile-checktree-perl
- libi18n-collate-perl
- libpod-plainer-perl
Remove these from the maintainers list
Fixes: [Yocto #12582]
(From OE-Core rev: 9eafd2d8bff2cb4949ee83bf7c5505bfcbad93d4)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian and Fedora both carry this patch, and the xf86-video-modesetting
driver seems better on recent hardware.
As an example, on a NUC6CAYS, the x11perf -aa10text and -rgb10text tests
see around a 20x increase.
[YOCTO #12019]
[YOCTO #12390]
(From OE-Core rev: 2e4934d5d4b2745ffcd76020b307b9021f8d8853)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade systemd-boot to 237.
As systemd has dropped autotools support, fix configure and compile
failures related to meson.
(From OE-Core rev: 086308aa2a5e332de6f00ed397c4a55d132f158f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the 'fstack-protector' and 'fstack-protector-strong' flags
as a workaround to fix the following error when building for qemux86
and qemuppc with musl.
undefined reference to `__stack_chk_fail_local'
(From OE-Core rev: 4871d3c2b6dd6c07a2adcfbc9ecfb22e4afa2d0d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade systemd to 237.
Note that this version has dropped autotools support.
The following patches are rebased:
0004-Use-getenv-when-secure-versions-are-not-available.patch
0005-binfmt-Don-t-install-dependency-links-at-install-tim.patch
0007-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch
0015-Revert-udev-remove-userspace-firmware-loading-suppor.patch
0018-check-for-uchar.h-in-configure.patch
0019-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch
0001-add-fallback-parse_printf_format-implementation.patch
0002-src-basic-missing.h-check-for-missing-strndupa.patch
0007-check-for-missing-canonicalize_file_name.patch
0008-Do-not-enable-nss-tests.patch
0010-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch
0011-nss-mymachines-Build-conditionally-when-HAVE_MYHOSTN.patch
The following backported patches are dropped:
0001-core-evaluate-presets-after-generators-have-run-6526.patch
0001-main-skip-many-initialization-steps-when-running-in-.patch
0001-meson-update-header-file-to-detect-memfd_create.patch
0003-fileio-include-sys-mman.h.patch
The following patch is dropped as autotools support is dropped:
0002-configure.ac-Check-if-memfd_create-is-already-define.patch
The following patches are newly added to fix problems:
0027-remove-nobody-user-group-checking.patch
0028-add-missing-FTW_-macros-for-musl.patch
0030-fix-missing-of-__register_atfork-for-non-glibc-build.patch
0031-fix-missing-ULONG_LONG_MAX-definition-in-case-of-mus.patch
Other changes are mostly autotools/meson related.
This new version has dropped ptest support, as there's no easy
way to do this in the framework of meson.
(From OE-Core rev: 906230a73b3ccfa4afd2a19a6b0aa18cd1d5fa08)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fixes:
WARNING: libsolv-0.6.33-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to
incorrectly applied patches.
The context lines in the patches can be updated with devtool:
devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>
Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.htmlhttps://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch
0001-Add-fallback-fopencookie-implementation.patch
patching file ext/CMakeLists.txt
patching file ext/solv_xfopen.c
Hunk #1 succeeded at 12 with fuzz 1 (offset -1 lines).
Hunk #2 succeeded at 25 (offset -18 lines).
Hunk #3 succeeded at 34 (offset -18 lines).
Hunk #4 succeeded at 46 (offset -18 lines).
patching file ext/solv_xfopen_fallback_fopencookie.c
patching file ext/solv_xfopen_fallback_fopencookie.h
Now at patch 0001-Add-fallback-fopencookie-implementation.patch
(From OE-Core rev: 388a6cdef0a993d781141f7c375a198f4c4ab808)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* it got enabled by default, but without the dependency on libidn in:
commit 5997981fa2c22609a88b8cbb595dbf7758b2f7c2
Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
AuthorDate: Thu Feb 1 20:02:08 2018 +0200
Subject: iputils: update to 20161105
* https://github.com/iputils/iputils/blob/master/RELNOTES.old
mentiones that IDN was enabled by default in:
[s20160308] and surprisingly the same in [s20150815]
but there are no release notes for s20151218 version we were using until
now, don't know how it really relates to [s20150815].
* but there are some issues with libidn as described in:
f3a461603e
so disable it by default.
* fails with:
| In file included from ping_common.c:1:0:
| ping.h:39:10: fatal error: idna.h: No such file or directory
| #include <idna.h>
| ^~~~~~~~
* Easiest way to reproduce this failure is to remove libidn from gnutls
PACKAGECONFIG or to use gnutls which doesn't have libidn PACKAGECONFIG
at all (like the one in meta-gplv2).
* First it leads to following QA issue:
http://errors.yoctoproject.org/Errors/Build/53212/
ERROR: iputils-s20161105-r0 do_package_qa: QA Issue: iputils-ping rdepends on libidn, but it isn't a build dependency, missing libidn in DEPENDS or PACKAGECONFIG? [build-deps]
ERROR: iputils-s20161105-r0 do_package_qa: QA Issue: iputils-traceroute6 rdepends on libidn, but it isn't a build dependency, missing libidn in DEPENDS or PACKAGECONFIG? [build-deps]
ERROR: iputils-s20161105-r0 do_package_qa: QA run found fatal errors.
Please consider fixing them.
ERROR: iputils-s20161105-r0 do_package_qa: Function failed:
do_package_qa
ERROR: Logfile of failure stored in: /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/iputils/s20161105-r0/temp/log.do_package_qa.7627
ERROR: Task (/OE/build/oe-core/openembedded-core/meta/recipes-extended/iputils/iputils_s20161105.bb:do_package_qa) failed with exit code '1'
* But if you cleansstate iputils as well (after removing libidn from
gnutls PACKAGECONFIG) to empty iputils RSS, then you get the error about
missing idna.h:
http://errors.yoctoproject.org/Errors/Build/53213/
* Adding the libidn dependency explicitly in iputils recipe fixes the
issue.
(From OE-Core rev: 97defe35051ff86f665547bb6b6497c83b7027a6)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some architectures e.g. riscv gcc does not add -D_REENTRANT
when enabling pthreads. Help it here by adding these options
while gcc gets fixed
(From OE-Core rev: 856aa732cac62a2c45473bcc91f7d0c423c52f81)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since watchdog and watchdog-keepalive packages can't be installed
together, move wd_keepalive.service to watchdog-keepalive package.
Remove the inter-dependencies of watchdog and wd_keepalive
services as well.
[YOCTO #12565]
(From OE-Core rev: 1d09eacc78ff44df54d6ace26702f4d9bf9e639c)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
perf needs audit-python to be able to show syscall names and for
'perf trace' to work.
Enable dependency on audit-python if present in PACKAGECONFIG. It's
disabled by default since audit as of now is in meta-selinux.
Fixes [YOCTO #3343]
Fixes [YOCTO #3358]
(From OE-Core rev: c386abacae89a148e77ffa51630c7917e90406f9)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LZ4 format currently used by the Linux kernel is the 'legacy' format.
In order to avoid creating an image that can't be used as a compressed
initial ramdisk with Linux kernel, rename lz4_legacy to lz4.
[YOCTO #12461]
[YOCTO #12149]
(From OE-Core rev: 0c62a9b272d381bd5a16cfef19ecd1a15f521473)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* --no-signature saves unnecessary .patch modifications when executed on
host with different git version
* --no-numbered saves unnecessary .patch modifications when number of the
applied patches is changed (the number is still in the filename so the
order how they should be applied is still preserved)
* both options exist for very long time, I've tested them with git 1.9.1
from Ubuntu 14.04 and I'm quite sure they were available even in much
older releases, so there shouldn't be any issue on relatively new sanity
tested distros
(From OE-Core rev: ad76fa92c3a5be38962aff09df070ffd9756f777)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Kernel v4.14 and newer contain the following in their Makefile:
HOST_LFS_LDFLAGS := $(shell getconf LFS_LDFLAGS)
HOSTLDFLAGS := $(HOST_LFS_LDFLAGS)
This breaks our menuconfig, because it can no longer find ncurses if its
not on the host machine. This can be seen in linux-yocto-dev, for
example:
[clsulliv@clsulliv build]$ bitbake virtual/kernel -c menuconfig
GEN ./Makefile
HOSTLD scripts/kconfig/mconf
/home/clsulliv/yocto/poky/build/tmp/hosttools/ld: cannot find -lncurses
/home/clsulliv/yocto/poky/build/tmp/hosttools/ld: cannot find -ltinfo
collect2: error: ld returned 1 exit status
make[3]: *** [scripts/Makefile.host:99: scripts/kconfig/mconf] Error 1
make[2]: *** [/home/clsulliv/yocto/poky/build/tmp/work-shared/intel-corei7-64/kernel-source/Makefile:504: menuconfig] Error 2
make[1]: *** [Makefile:146: sub-make] Error 2
make: *** [Makefile:24: __sub-make] Error 2
Command failed.
Press any key to continue...
Fix this by setting HOSTLDFLAGS to ${BUILD_LDFLAGS} in our
'make menuconfig' command.
(From OE-Core rev: 6afe8e211bfb3deb359194488f34a2c56f4b5ef6)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the python{3}-setuptools to the latest stable version
Tested on the qemu with core-image-minimal
(From OE-Core rev: 8422880acf65802dbaa08238ae9e63670ed49ff3)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
None of the test suite works, so something quite fundamental broke.
[ YOCTO #12606 ]
This reverts commit 406ea737f1.
(From OE-Core rev: 72a0b56757da98fcbf42bebb2f376738c68d3834)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provide a way to make readline dependency optional in case someone
might want to use BSD alternative editline instead.
Using editline would need some changes though (python issue13501).
(From OE-Core rev: 9b12a3f031373ad0696409e4f933b1a585ea7f1f)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nativesdk package has a special arrangement where the same thing is done
in do_install(). It was assumed (in the comment) that postinsts don't run when
installing nativesdk packages, but this was incorrect: they are run, but
any failures were previously silently ignored. Now this missing failure reporting has
been fixed, and so we get to see the failures.
(From OE-Core rev: 8ebb695c1429f8d57d655072a362a4f176258699)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LayerError doesn't exist and will lead to an error when this failure
code path is hit.
(From OE-Core rev: 7780482772d005c77825dc3e99e63f00911156bf)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We allow to set LINKER_HASH_STYLE to be empty so this would fail
since --with-linker-hash-style needs an argument and cant be empty
(From OE-Core rev: e176ab07d1afbb5d7e80d39d49b0f68738509c18)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a crash when generating a txt report and the two commits to be
compared were not consecutive (but there were some tested commits
between them).
(From OE-Core rev: f3afd2c47f4c740df52dfd80e208ce721d5ebf6e)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits:
60b649971940 x86/hibernate/64: Mask off CR3's PCID bits in the saved CR3
cec3c008ec8f drm/i915/cfl: Coffee Lake works on Kaby Lake PCH.
073873cb152c brd: remove unused brd_mutex
912c53b1b346 audit: fix memleak in auditd_send_unicast_skb.
(From OE-Core rev: 3c14c6612c48d46677837f5f4c31cfd1a6ff6174)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following commit:
Author: California Sullivan <california.l.sullivan@intel.com>
Date: Wed Feb 17 16:47:10 2016 -0800
ktypes: add developer ktype
The developer ktype enables EMBEDDED, EXPERT, and DEBUG_KERNEL,
opening up more kernel options and setting some defaults.
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Was created to address the kernel footprint related issues that are related
to many of the kernel debug options.
When this commit was merged, it re-enabled CONFIG_DEBUG_KERNEL for the
standard kernel, since it includes the systemtap fragment. The correct thing
to do is to move systemtap properly into the developer kernel type.
For now, you can build the developer kernel type, or add the developer kernel
configuration fragment via a bbappend, and you'll have a functional systemtap.
[YOCTO #12603]
(From OE-Core rev: ad8f68e9831c57fde62f7b1942bfa9e1307f113d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe-core commit: 45afadf0b6 fixed the pip problem with purelib for
python2, even though the the patch stated it was for python3. This
patch addresses the purelib problem for python3.
If you install the package python3-pip you will have a pip3 binary
where you can see the problem on the device easily where the modules
install into the incorrect area and are not able to be referenced by
python3 at all.
Example error:
pip3 install imutils
pip3 list |grep imutils || echo ERROR no imutils
ERROR no imutils
python3 -c 'import imutils'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named 'imutils'
(From OE-Core rev: 54e0b3bfc132613902418be148a900b10f6d9e38)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
My attempt at only inheriting python3native if it was needed was broken and
didn't work, so back it out and always inherit.
(From OE-Core rev: eb08ce66cf7ca6dbdb51fb9b9725267606fba6b9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The gtk-doc class already calls gtkdocize, so we don't need to do it again
(From OE-Core rev: 14c6e4fd793e037d801a81c6581e0642ef61ab0c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This provides ability to surgically override qemu for certain
machines which are provided by external layers.
(From OE-Core rev: a5beb77bde547c3fdfd0bac75618ab70e9da6b81)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ncurses doesn't honour ${libdir} for terminfo, so try more options to remove it.
(From OE-Core rev: 17fd322e925cf492b22c75e296d5fee31e3511db)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipes were using 'basename' to turn '/usr/lib' into 'lib', which breaks when libdir is '/usr/lib/tuple', leading to libraries ending up in '/usr/tuple', which isn't in FILES_*. Change the logic to use sed to strip the prefix instead.
(From OE-Core rev: e58d5521c7bae8daafdac85754545be176550a02)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If glibc is newer on the host than in uninative, the failure mode is
pretty nasty for clusters where the sstate is shared, including the Yocto
Project autobuilder.
This check aborts the use of uninative in such scenarios where a newer
glibc version appears and avoids corruption of sstate caches.
We use ldd to check the glibc version since that is included in libc-bin
(or equivalent) which locales use so it should always be present.
(From OE-Core rev: d6f6101cd0ae92e8ad2dec0bcb6db5044726edf9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building world means recipes that are excluded from world build for whatever
reason get skipped from the manifests, which isn't useful. Instead building
universe and pass -k so that the expected dependency failures are not fatal.
(From OE-Core rev: 2d798f9f56fbd7cd20de4b797a476ad24c214ff3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we have recipe-specific-sysroots we don't need to exclude recipes from
world builds because they conflict with other recipes, as they'll all be built
with their own sysroots.
(From OE-Core rev: b2f3ac4d994a1921791f6bd0cdb3591586733694)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When rebuilding iproute2, many such instances of the following build failure
occur:
| make[1]: Entering directory '.../iproute2/4.14.1-r0/iproute2-4.14.1/lib'
| Makefile:1: ../config.mk: No such file or directory
| make[1]: *** No rule to make target '../config.mk'. Stop.
(From OE-Core rev: f2e56f6e0da27c70781e51b5486ca6c731013f1c)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When rebuilding btrfs-tools, we would sometimes meet the following error.
Makefile:43: *** Makefile.inc not generated, please configure first.
Set CLEANBROKEN to "1" to solve this problem.
(From OE-Core rev: 4e2687ef9e649c8c1dc4011d2e7c05dfbba56fb8)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the python{3}-setuptools to the latest stable version
Tested on the qemu with core-image-minimal
(From OE-Core rev: 106239a250488508f5c3593d9c8c3d4f70ff0ba3)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ignoring patch context increases the chances of patches being
applied incorrectly. Depending on what code is being patched, this can go
completely unnoticed and create subtle bugs, sometimes with security implications.
Please see here for a specific example:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
On the other hand, we cannot simply force all patch context to match exactly:
doing this would break a lot of recipes suddenly, across all layers.
So let's try a softer approach: issue a warning, and gently update
patches over a longer span of time. When most of the warnings are eliminated,
we can start enforcing a strict patch application policy.
I do understand that this patch creates a lot of warnings all of a sudden, however
I believe the problem does need to be addressed. All of oe-core recipes have their
context already fixed.
Sample warning:
WARNING: vulkan-1.0.61.1-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:
devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>
Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored).
Details:
Applying patch demos-Don-t-build-tri-or-cube.patch
patching file demos/CMakeLists.txt
Hunk #1 succeeded at 63 (offset 2 lines).
Hunk #2 succeeded at 76 with fuzz 1 (offset 2 lines).
[YOCTO #10450]
(From OE-Core rev: 5133fd46bccf14e21680f8d94e952914edccb113)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test runs a scriptlet that has an intentionally failing command in the middle
and checks for two things:
1) that bitbake does warn the user about the failure
2) that scriptlet execution stops at that point.
The test is run for all three package types: rpm, deb, ipk.
(From OE-Core rev: 865fafb0dff19d27bd417c28c95fb8fdf0326a2b)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously this was done only for rpm packages; now also ipk/deb scriptlet
failures are reported.
In the future this will become a hard error, but it can't yet happen
due to the legacy 'exit 1' way of deferring scriptlet execution to first boot which
needs a deprecation period.
(From OE-Core rev: a36671faf6e0b7623185b0e22814a786d5444592)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows catching errors in the scriptlets which would otherwise
go unnoticed, e.g. this sequence:
====
bogus_command
proper_command
====
would work just fine without any visible warnings or errors.
This was previously done only for rpm packages; this patch replaces
the rpm-specific tweak with one that works for all package types.
(From OE-Core rev: a0aa12e1d0ea9064b8dd816d4e82238df765506b)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Should also fix build on new build hosts where
with glibc 2.27 rpc support is dropped in favor
of libtirpc
(From OE-Core rev: 86f4c68c76098d6735b4cb640996d748b8ff82fb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Improve reproducible build of:
openssl-staticdev
openssl-dbg
libcrypto
There are two main causes that prevent reproducible build, both related to
the generated file "buildinf.h":
1. "buildinf.h" contains build host CFLAGS, containing various build
host references. We need to pass sanitized CFLAGS to the script
generating this file ("mkbuildinf.pl". )
2. We also need to modify the script "mkbuildinf.pl" itsel in order to
generate a build timestamp based on SOURCE_DATE_EPOCH, if present in
the environment.
(From OE-Core rev: 6c556ed3553d8f5e75d65cd7db92b26df43846b7)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before, explode_dep_versions2 would sort the OrderedDict before
returning. This function will still sort the OrderedDict by default, but
will now have the option to return the OrderedDict unsorted. This option will
allow us to check if the order of the package list has changed.
(Bitbake rev: 39d6a30a28f66c599e18beddbd847f40dcff623c)
Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Export environmental variables needed for binary reproducibility with consistent values.
This class can be used either directly via:
INHERIT += "reproducible_build_simple"
or can be inherited by a more complex/complete bbclass, for example a bblass which
will crack SOURCE_DATE_EPOCH for each recipe.
(From OE-Core rev: 5c2685c5ee2f8210a36b9a8591491b6af0482084)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace the occurences of BUILD_REPRODUCIBLE_BINARIES with expanded
values ${BUILD_REPRODUCIBLE_BINARIES} so the variable does not need to be
exported.
(From OE-Core rev: 27f87bbc8395a2481ef808465a62d213a6b678ac)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now distros are starting to ship glibc 2.27 we need a uninatve version
which contains glibc 2.27 which is in the 1.8 version.
(From OE-Core rev: 0a1a1daac661046b0bf287b63267d58e0ab03e8e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 7b1dfc0f67905435906ae806987e945134311045)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 9a0465bd26a8359c8b432595589a13f295f2de2d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 268186429d10047796a4801baf95ae8a8f722658)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 8d4dd42cf39ac33e2479cb4f9f833701d68cea62)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: cecd562742c94f223c92bf5426148967fc9a8054)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 0666146a9f12c90e2b5f9fd3b03b21429fb9327c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 77fb72c76c8a5b2229a32f36a913a3293e9d2b56)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 0cff8ae54066b25ffbe1efaa3f0a1d84aa89ebe1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 625be3dd6e3069333a3c94ca8f23129b23e4425b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 3277e60b6eefb3a1c858462bc89244f6577dca52)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 9c762156d5eab1582fdd1f5000e80a0a67d46152)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 53f2bbba35c63afa14c5fcb33b83b0ee061840ca)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: df9b991d1f453aae4dca5558f10fd23e866778dc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 8820d4ffa493d49212f4d8f2665d15c7070a7477)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 561e89baf77741dfa5af9c645f7c471cd7b3880b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 040b4bb125e28750e089f631c1debb088bb3bc9f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 93fca640e97643f94ef4f4a5d96c30c971058ec9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 9f58bd731f33b90849d7d0cb8153dcfedf336ff4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 9f77858360b33de6c4f66638fea8a8051fb6208f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 44e650f961888b75797da8ecc23654f672c5fae6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: a5c1069d2c0570186792d61151e1865642afd73a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 8a5c1328c4ea63443a92813c54bd2229c9959ff9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: ca733ba0e28d6d4c199e149ce8ae428397dfa51f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 87118e6a2ed6da1ceaf484c326ec6d0ac8c1b8be)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 00677e03156228f752476520911c19d4156db8da)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to patch fuzz, it was applied again, so the same code sequence was
repeated twice. Not sure if that caused any bugs, but certainly wasn't
the right thing to do.
(From OE-Core rev: e3a50788bfeabbde226e280803a01dd7f765b2bc)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 6a83aca280fece30fd7c17f32f07f592f6300c6c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 7baba7a19c5610a63ccbfd6a2238667772b32118)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 3d33f83ffa8ba2a36a03489b16292d3132f0eb27)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 6c0329389ffd82552c9302d70c8b2a1dfc94ce00)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 7e8273cb55df71eaaf2cd50db076b73229ef7566)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 7d56245a4859727f85dc5ae6f881d0783dee1ce1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is very useful for updating patch context so that any fuzz is eliminated.
Simply issue:
devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>
Without this flag, devtool will not deem the commits in the workspace
different to patches in the layer, even if the commits have different,
up-to-date context line in them.
(From OE-Core rev: 7e1d1887be8faaaab9996fca9a3fd750aeb7b62f)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly, this was causing 'devtool modify' to erroneously add those
.orig files into commits. This was getting in the way, if the goal
was to amend/update those existing patches.
(From OE-Core rev: f4f3406c3bd9599d7a19275475d52bda4c42f2ab)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some architectures e.g. riscv gcc does not add -D_REENTRANT
when enabling pthreads. Help it here by adding these options
while gcc gets fixed
(From OE-Core rev: 784f4418259fe441060c134a7dcf305f4e0d4e2d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href=\"http://cgit.openembedded.org/openembedded-core/log/?h=rocko\">OpenEmbedded Rocko</a> branch.</field>
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href=\"http://cgit.openembedded.org/openembedded-core/log/?h=sumo\">OpenEmbedded Sumo</a> branch.</field>
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href=\"http://cgit.openembedded.org/openembedded-core/log/\">OpenEmbedded master</a> branch.</field>
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href=\"http://cgit.openembedded.org/openembedded-core/log/?h=rocko\">OpenEmbedded Rocko</a> branch.</field>
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=rocko">Yocto Project Rocko branch</a>.</field>
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=sumo">Yocto Project Sumo branch</a>.</field>
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/">Yocto Project Master branch</a>.</field>
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=rocko">Yocto Project Rocko branch</a>.</field>
"<ulinkurl='&YOCTO_DOCS_DEV_URL;#creating-a-general-layer-using-the-bitbake-layers-script'>Creating a General Layer Using the <filename>bitbake-layers</filename> Script</ulink>"
section in the Yocto Project Development Tasks
Manual.
@@ -360,7 +360,7 @@
Developer's Guide, respectively.
For information on how to use the
<filename>bitbake-layers create-layer</filename>
command, see the
command to quickly set up a layer, see the
"<ulinkurl='&YOCTO_DOCS_DEV_URL;#creating-a-general-layer-using-the-bitbake-layers-script'>Creating a General Layer Using the <filename>bitbake-layers</filename> Script</ulink>"
section in the Yocto Project Development Tasks
Manual.
@@ -489,7 +489,8 @@
See the
"<ulinkurl='&YOCTO_DOCS_DEV_URL;#creating-a-general-layer-using-the-bitbake-layers-script'>Creating a General Layer Using the <filename>bitbake-layers</filename> Script</ulink>"
section in the Yocto Project Development Tasks Manual for
information on how to use this script.
information on how to use this script to quick set up a
new layer.
</note>
</para>
@@ -1224,18 +1225,6 @@
the
"<linklinkend='getting-ready-for-traditional-kernel-development'>Getting Ready for Traditional Kernel Development</link>"
Section.
</para>
<para>
Although this example uses Git and shell commands to generate the
patch, you could use the <filename>yocto-kernel</filename> script
found in the <ulinkurl='&YOCTO_DOCS_REF_URL;#source-directory'>Source Directory</ulink>
under <filename>scripts</filename> to add and manage kernel
patches and configuration.
See the "<ulinkurl='&YOCTO_DOCS_BSP_URL;#managing-kernel-patches-and-config-items-with-yocto-kernel'>Managing kernel Patches and Config Items with yocto-kernel</ulink>"
section in the Yocto Project Board Support Packages (BSP)
You can read more on the <filename>devtool upgrade</filename>
workflow in the
"<ulinkurl='&YOCTO_DOCS_SDK_URL;#sdk-devtool-use-devtool-upgrade-to-create-a-version-of-the-recipe-that-supports-a-newer-version-of-the-software'>Use <filename>devtool upgrade</filename> to Create a Version of the Recipe that Supports a Newer Version of the Software</ulink>"
section in the Yocto Project Application Development and the
Extensible Software Development Kit (eSDK) Manual.
For steps on how to add a general layer for software,
<emphasis>Create a Layer for Software:</emphasis>
For steps on how to create a general layer for software,
see the
"<ulinkurl='&YOCTO_DOCS_DEV_URL;#creating-a-general-layer-using-the-bitbake-layers-script'>Creating a General Layer Using the <filename>bitbake-layers</filename> Script</ulink>"
section in the Yocto Project Development Tasks Manual.
@@ -1060,11 +1061,14 @@
section in the Yocto Project Development Tasks Manual
for more information.
</para></listitem>
<listitem><pararole='writernotes'>
<listitem><para>
<emphasis>Auto Upgrade Tools:</emphasis>
This is a step suggested by Richard.
I don't know what this is and need help with this
bullet item.
Tools exits to help ease upgrading recipe versions.
if bb.utils.vercmp_string(d.getVar("UNINATIVE_MAXGLIBCVERSION"), glibcver) < 0:
raise RuntimeError("Your host glibc verson (%s) is newer than that in uninative (%s). Disabling uninative so that sstate is not corrupted." % (glibcver, d.getVar("UNINATIVE_MAXGLIBCVERSION")))
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.