Currently the bitbake-cookerdaemon.log is placed into cwd. This seems like a
bad idea, we can place it in the build directory alongside the lockfile that
represents the server instead.
(Bitbake rev: 1620dbc48ffb2a882371cf9174a7b12648befc8a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also fix a related test's error message to match what it does.
(From OE-Core rev: 662be652ed39f32c3c7bee6539a9e91af191557e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Placing the layer in meta means the directory is in an unclean state
which may influence other tests. Use our build directory instead
since we 'own' that. This helps keep oe-selftest parallelisation
clean.
(From OE-Core rev: f2d32bdf3f27a9ef62fe3abb7fdd2e04ab84b5f3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current code pokes into do_deploy manifests from do_image_complete when the
do_image_complete task may or may not depend upon the do_deploy tasks in question.
Often it gets lucky, sometimes it results in build failures.
To fix this, split the functionality to its own task which can have the correct
task dependencies. This means the data in BB_TASKDEPDATA is definitive, the other
code can be dropped, as can the IMAGE_EXTRATYPES do_populate_lic dependencies
from image.bbclass.
This fixes bugs which show up as:
NOTE: recipe linux-yocto-4.14.48+gitAUTOINC+d64aec9793_97c8063d2d-r0: task do_deploy: Started
ERROR: core-image-minimal-1.0-r0 do_image_complete: Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:write_deploy_manifest(d)
0003:
File: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/classes/license.bbclass', lineno: 33, function: write_deploy_manifest
0029: 'w+').write(output)
0030:}
0031:
0032:python write_deploy_manifest() {
*** 0033: license_deployed_manifest(d)
0034:}
0035:
0036:python license_create_manifest() {
0037: import oe.packagedata
File: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/classes/license.bbclass', lineno: 191, function: license_deployed_manifest
0187: # It is necessary to mark this will be used for image manifest
0188: man_dic[dep]["IMAGE_MANIFEST"] = True
0189: man_dic[dep]["PN"] = dep
0190: man_dic[dep]["FILES"] = \
*** 0191: " ".join(get_deployed_files(dep_dic[dep]))
0192: with open(os.path.join(lic_dir, dep, "recipeinfo"), "r") as f:
0193: for line in f.readlines():
0194: key,val = line.split(": ", 1)
0195: man_dic[dep][key] = val[:-1]
File: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/classes/license.bbclass', lineno: 289, function: get_deployed_files
0285: """
0286:
0287: dep_files = []
0288: excluded_files = []
*** 0289: with open(man_file, "r") as manifest:
0290: all_files = manifest.read()
0291: for f in all_files.splitlines():
0292: if ((not (os.path.islink(f) or os.path.isdir(f))) and
0293: not os.path.basename(f) in excluded_files):
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build-st-730/tmp/sstate-control/manifest-qemux86_64-linux-yocto.deploy'
ERROR: core-image-minimal-1.0-r0 do_image_complete: Function failed: write_deploy_manifest
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build-st-730/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_complete.50537
NOTE: recipe core-image-minimal-1.0-r0: task do_image_complete: Failed
ERROR: Task (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/recipes-core/images/core-image-minimal.bb:do_image_complete) failed with exit code '1'
NOTE: recipe linux-yocto-4.14.48+gitAUTOINC+d64aec9793_97c8063d2d-r0: task do_deploy: Succeeded
(From OE-Core rev: b54cdaea7844ee3bf0c39eb97cc7c4c17ed5818c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This means the image code is only included in image recipes through
the IMAGE_CLASSES variable.
This sets things up to allow us to fix image deploy dependency problems.
(From OE-Core rev: fd44b8b4b2484f2d35c7a0e749e7dc316d601989)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using 'sub' in one function just confuses things, standardise and fix
formatting of the parameters too.
(From OE-Core rev: a740c638148ed7236c49eed55ae9a15b94e55b9f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
runCmd handles checking exit 0 internally unless specified otherwise and its
error messages are much more useful including the failed command output.
Clean up the unneeded 0 exit code checks in the wic tests.
(From OE-Core rev: 394f7d4efe80e390e2c9b0be5e6d10954395a82b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently this can fail with a message like 127 != 0 which is unhelpful.
If we remove the ignore_status=False, the debugging from runCmd is much
more helpful printing status.output.
Also remove the now unneeded exit code check.
(From OE-Core rev: 1aa7471b11aedc68de5116c461fe73152e3985fd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 6671a4d980c8bef8f402780a308f6c43a25044aa.
This breaks uninative tarball since the call of relocate_sdk.py from uninative.bbclass
wasn't updated to account for this change. It isn't clear what value that code could
pass in and this isn't simple to fix so revert until a better fix can be found
that doesn't break uninative.
(From OE-Core rev: b247392b4ced57cfe694656032f6a6723740a9e8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need this to avoid symbol mismatch issues for binaries that use this
on newer systems which then won't run on older ones where it isn't present.
(From OE-Core rev: 39c1719a32ed5567e3bf2df5c4f9068d0f5a9400)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now we're not reporting the related fields (as of openembedded-core
8658b3677b9f7cb70806061c41570c709086ef05) we shouldn't expect to see
PR reported here since it's not monitored by buildhistory-diff. However,
with a bit of messing about we can check for the exact output that we
should now see as a result of the test changing PR to go backwards.
(From OE-Core rev: f9c233908e6ada208d7abfdfe3ff98c6b278f405)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After this replacement, the parent exception handling works so we don't
need subprocess wrapping with bb.error in the underlying functions.
The underlying contexts also have better module handling so the imports
can be cleaned up.
(From OE-Core rev: aa8260adf53139d776a2affe6118d28b295c1fab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace usage of oe.utils.getstatusoutput() with direct subprocess calls. The
call is just a wraper to the subprocess call of the same name and requires
the caller to handle exceptions themselves. We usually do this badly, failing
to show the output or the command or the return code.
Its much safer to rely on a call like subprocess.check_output() instead.
This also makes it easier to spot and remove cases where shell=True isn't
needed in a later cleanup.
(From OE-Core rev: 9f058857fb692f1251deb43bcaa7ed0120140093)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the compression of sstate objects is single threaded. In the case
of ltp, this takes around 33s. If we add pigz into the list of non-fatal
HOSTTOOLS and then use if it available when building the sstate object,
this time drops to around 6s.
Since pigz is now widely available this is an optimisation we should
utilise.
(From OE-Core rev: 2de56aa0792ec93445130d801936a8ea643fad27)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows the calls to is_elf (which calls file) to happen in parallel
allowing a speedup of do_package and do_populate_sysroot for native
recipes.
(From OE-Core rev: bbe0d3e26484f3f347262d40a8a9d415ce21fb43)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are probably further cleanups needed here but this at least removes
the major code duplication between these two similar funcitons, keeping the
kernel module ".ko" extension check for efficiency to avoid opening and
reading file contents in the general case.
(From OE-Core rev: 7ad0c0d6ab12bebeac097fc0f5210c876dcfe9be)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function is a bit more invasive to add parallelism to but
allows the shlibs analysis to happen in multiple threads. In order
to return values correctly/safely the data types needed tweaking
to avoid lists and use immutable objects.
(From OE-Core rev: b5788fb1f795f2f35d1788d8311e12984ffb2122)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adjust the code so that the splitting of debug symbols from files happens
in parallel. To to this we need to move some path handling code into the
main function and pass more parameters in.
(From OE-Core rev: 9f0c2ed5d44a16e8268ac521236c4752f930f26a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't need any functionality from the shell here, its just extra fork
overhead. Therefore remove it and use subprocess directly.
(From OE-Core rev: bcc03ea19e103f6aa93bada2f49fcc5cc7bc0790)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The command for running dwarfsrcfiles is simple and does not need a subshell
for each execution. By expanding out this function to use check_output()
from subprocess and a list of arguments, the shell overhead can be dropped.
For recipes with lots of files this gives a significant saving.
(From OE-Core rev: 6334129dfbe266602fab70ce445641053a05be6c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current code had broken exception handling due to the use of a
"traceback" variable as well as an import. Use the new library code
for this instead which reduces code duplication and has fixed/improved
exception handling.
The chdir code can be dropped since any directory changes are in other
processes now so there is no need for it here and the code no longer
changes directory.
(From OE-Core rev: bcd47389f4b1fc69d2bb4da01933bfa1fdcae092)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I think this lock dates from before we had sstate for do_packagedata.
Since WORKDIR is recipe specific and we write into WORKDIR, we no longer need
any write locks in the do_packagedata code itself, its handled by the sstate
task lock for the final copy in at the end. The final write lock can be simply
removed.
The only time we need read locking is when actually reading data from the
shared directory. We can therefore reduce the window the lock is held
significantly as well, hence improving the speed of packagedata tasks running
in parallel.
(From OE-Core rev: f7106cdf2190d9ec59132a1cb2bb431d653cd9c5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current methods of spawning processes for parallel execution have
issues around collection of results or exceptions.
Take the code from package_ipk/deb, make it generic, add a results
collection mechanism, fix the exception handling and for it into a
standard library function.
Also add a test case which tests both the success and failure modes
of operation to stop this functionality regressiing again.
In particular, compared to multiprocess_exec, this fork off the parent
approach means we can pass in the datastore and functions work in the
same scope as the parent. This removes some of the complexities
found trying to scale multiprocess_exec to wider use.
(From OE-Core rev: 88f0c214e593a45566df5131bda4c946f5ccc8c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been printing a deprecation warning for a while, now remove it
in favour of wic's efi functionality.
(From OE-Core rev: 1f279cf1ad2f0a20495780b210a987416650f40f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New version adds support for command line options
(-e and -- command) which can be used for launching
programs or running commands through matchbox-terminal.
(From OE-Core rev: e33ca806d34facad035fa387b17f56918648d80b)
Signed-off-by: Devarsh Thakkar <devarsht@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch removes hardcodes added to relocate_sdk.py
during SDK build, making it flexible and reusable.
Now default SDK path is passed to the script as
parameter rather then harcoded inside it.
This allows to reuse this script for multiple
relocations, and adds possibility to relocate
SDK multiple times
(From OE-Core rev: 6671a4d980c8bef8f402780a308f6c43a25044aa)
Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pseudo won't always be in the native sysroot for a recipe, so we
shouldn't be complaining if it isn't there.
(From OE-Core rev: 11efc94742088ec6fbf2a86000e98286b0b529ef)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you pass quoted arguments to oe-run-native, they need to be passed
as-is to the underlying tool. Putting quotes around $@ ensures each
argument is quoted individually.
(From OE-Core rev: a8758653500a2458cd91bf1aa5eb666ad2b45df4)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License changed due to copyright dates being added.
(From OE-Core rev: 079df0021b0819f4b88e20ac8f3350a0f153c6bc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove 0001-canonicalize_file_name-is-specific-to-glibc.patch as upstream has
integrated musl support.
(From OE-Core rev: 4c243b71a0a05acc3b2a8bd327a8c97dcc08d3c5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Relicensed to just GPLv3+, update LICENSE and checksums.
The build dependency for flex should be flex-native.
libmath.h is missing from the tarball (it was present in 1.06) and the
generation rules are not cross-friendly, so delete the rules and copy in a
pre-generated libmath.h.
Remove fix-segment-fault.patch as the fixes are now upstream.
Add PACKAGECONFIG for readline and libedit, defaulting to readline.
(From OE-Core rev: 9862849ba883c110e4d2c57c39ab2c58e9b2d216)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some packages containing shared libraries might be registered
as shlib providers when they shouldn't (for example, the lib is for
their private use and must not generate any dependency).
EXCLUDE_FROM_SHLIBS is targeted at that, but it could be set
for entire recipe only.
This patch allows to set list of packages that are not candidates
for shlib providers.
Variable EXCLUDE_PACKAGES_FROM_SHLIBS is used, e.g.:
EXCLUDE_PACKAGES_FROM_SHLIBS = "glibc-ptest glibc-mtest"
Cc: Andrii Bordunov <aborduno@cisco.com>
(From OE-Core rev: 43be374a6deceeaf105794f034957c65bb6bec72)
Signed-off-by: Oleksii Konoplitskyi <okonopli@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade systemd-boot to 239.
The following patch is removed due to recent fix about meson's cpu family
mapping and validation.
0001-Also-check-i386-i586-and-i686-for-ia32.patch
(From OE-Core rev: ff0b682b807959521c85716296de7a1d26d7d18f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade systemd to 239.
1. Patch Changes
* Rebased Patches
0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch
0003-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch
0006-Make-root-s-home-directory-configurable.patch
0027-remove-nobody-user-group-checking.patch
0011-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch
0013-add-fallback-parse_printf_format-implementation.patch
0014-src-basic-missing.h-check-for-missing-strndupa.patch
0015-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch
0016-src-basic-missing.h-check-for-missing-__compar_fn_t-.patch
0017-Include-netinet-if_ether.h.patch
0019-Do-not-enable-nss-tests-if-nss-systemd-is-not-enable.patch
0022-don-t-use-glibc-specific-qsort_r.patch
0024-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch
0026-Use-uintmax_t-for-handling-rlim_t.patch
0030-fix-missing-of-__register_atfork-for-non-glibc-build.patch
0031-fix-missing-ULONG_LONG_MAX-definition-in-case-of-mus.patch
0001-core-device.c-Change-the-default-device-timeout-to-2.patch
0001-Remove-fstack-protector-flags-to-workaround-musl-bui.patch
* Dropped Patches and Reasons
0001-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch
This patch is dropped because the problem has been fixed by
binutils upstream. And this workaround could be dropped.
https://sourceware.org/bugzilla/show_bug.cgi?id=18548
0007-Revert-rules-remove-firmware-loading-rules.patch
0008-Revert-udev-remove-userspace-firmware-loading-suppor.patch
These two patches are dropped because they are for kernel < 3.7.
But the current minimal requirement of kernel to build systemd
is as below.
REQUIREMENTS:
Linux kernel >= 3.13
Linux kernel >= 4.2 for unified cgroup hierarchy support
So these two patches no long make any sense.
Also remove non-exist firmware-path option
0009-remove-duplicate-include-uchar.h.patch
0010-check-for-uchar.h-in-meson.build.patch
These two patches are dropped because musl has implemented
uchar.h. See commit below from musl repo.
"""
ab9672ae73248f51e30f4553c4b8878525e46383
implement uchar.h (C11 UTF-16/32 conversion) interfaces
"""
0018-check-for-missing-canonicalize_file_name.patch
The above patch is dropped because current systemd does not need
canonicalize_file_name.
0025-Define-_PATH_WTMPX-and-_PATH_UTMPX-if-not-defined.patch
The above patch is dropped because utmp makes no sense in musl.
Check code below from musl.
include/utmp.h:#define _PATH_UTMP "/dev/null/utmp"
And utmp PACKAGECONFIG has been explicitly disabled for musl.
So we don't need this patch.
0032-memfd.patch
0033-basic-macros-rename-noreturn-into-_noreturn_-8456.patch
libmount.patch
0034-Fix-format-truncation-compile-failure-by-typecasting.patch
The above patches are dropped because they are backported patches.
And current systemd has contained these patches.
0036-time-util-fix-build-with-gcc8-Werror-format-truncati.patch
The above patch is dropped because it has been merged and is now
in new version.
* Newly Added Patch
0005-include-gshadow-only-if-ENABLE_GSHADOW-is-1.patch
This patch is added to fix build for musl.
0019-Do-not-disable-buffering-when-writing-to-oom_score_a.patch
This patch is added to fix the following error which caused system
unable to boot up.
systemd-udevd.service: Failed to adjust OOM setting: Invalid argument
dbus.service: Failed to adjust OOM setting: Invalid argument
0020-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch
This patch is added to fix segment fault error on musl systems.
0001-login-use-parse_uid-when-unmounting-user-runtime-dir.patch
This patch is backported to solve a race condition between
user-runtime-dir@xxx.service stop and user deletion.
2. PACKAGECONFIG and Dependency Changes
* Add a new PACKAGECONFIG item 'gshadow'. Enable it by default for glibc
but disable it by default for musl. This is because musl does not provide
gshadow.h.
* Add a new PACKAGECONFIG item 'portabled'. Default to disable it because
it's still experimental, according to the announcement letter.
"""
Currently, the support is still experimental, but this is expected to
change soon. Reflecting this experimental state, the "portablectl" binary
is not installed into /usr/bin yet.
"""
* Change 'kmod' from a hard dependency to a PACKAGECONFIG item. Default
to enable it.
* Change 'acl' from a hard dependency to a PACKAGECONFIG item. Default
to enable it.
* Remove 'readline' from DEPENDS. systemd does not need it.
* Remove 'libcgroup' from DEPENDS. The dependency on libcgroup has been
removed from systemd a long time ago. We now remove this unnecessary
dependency from DEPENDS.
3. update-alternatives changes
The utilities like shutdown, poweroff, etc. are now created as symlinks
at do_install. So there's no need to use update-alternatives mechanism
anymore to create the symlinks now. In addtion, I don't think we now
support multiple init systems at one running system, so there's really
no need to use update-alternatives mechanism here.
Also update the FILES_${PN} to include these files to avoid QA issue.
(From OE-Core rev: 597f4645faf61486eb1d2ab73f3d974460ab9466)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
armv7+ used thumb2 ISA and it compiles fine with thumb2
issues are only when using thumb1 ISA
(From OE-Core rev: c0ef8a91f671f30acd92e2734144f7ddf1acda53)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Add PACKAGECONFIG option for brotli (disable by default)
- Add PACKAGECONFIG option for built-in manpages (disabled by
default). Embedding a copy of the manpages within the curl binary
adds approx 60k of gzipped data and duplicates the contents of the
curl-doc package.
- Add PACKAGECONFIG option for verbose error messages (enabled by
default)
- Disable legacy NTLM http authentication via delegation to the
external winbind ntlm_auth helper (which isn't going to work
without a runtime dependency on samba).
(From OE-Core rev: 0bf3637a07228576d78cf4c71de92781ec143d7f)
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>
In native builds we attempt to turn off i18n but this doesn't work in Meson
yet[1] but as the gettext class reduces dependencies in native builds we need to
add gettext-native to DEPENDS explicitly.
[1] https://github.com/mesonbuild/meson/issues/821
(From OE-Core rev: 964ea8bfc455f6017dc834104d96b8f5aa40a5bc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When wayland and egl both are on then it enables the wayland
plugin which actually fails to build because its not finding wayland-protocol
xml templates in proper location which is recipe sysroot since
we are cross compiling
Fixes build errors e.g.
make[4]: *** No rule to make target `//usr/share/wayland-protocols/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml', needed by `drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h'. Stop.
make[4]: *** Waiting for unfinished jobs....
(From OE-Core rev: ff4762e94faa095abd7175810d1053fdd361058f)
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>
In python3, passing a unicode object to hashlib will result in an
exception that encourages you to encode it first.
(From OE-Core rev: b06a44f1081ea422a365e80bc79b2aeb2783d23f)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The same functionality already exists within bitbake, so avoid
duplicating.
(From OE-Core rev: 978f5a8f16bf5942aad73d761df2a00aeb36339d)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The path variable is used in an error message a few lines later, but was
never defined.
(From OE-Core rev: 863ff90b788f66241860e27e1fd3a791b00984cc)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The string.replace function is removed in python3. Instead, the str
method "replace" should be used instead.
(From OE-Core rev: 8538aabf62d866f36764b4b136ee8575308df690)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- fix CVE-2018-6797, CVE-2018-6798, CVE-2018-6913
- remove patches, which are now included in update
- refresh patches
(From OE-Core rev: c0dac0d600e81054104f7b377f7c266aa83df371)
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>
In Linux,8 bits of the return code and 8 bits of the number of
the killing signal are mixed into a single value on the exit code,
so the exit status offset should be 8. But the autoconf checker
can not determine it while cross compiling, and then it is set to
the default value 0, which will cause generating the wrong exit
code if program exit with an error code.
(From OE-Core rev: e2dea46607a24620d6d2c250efc9b2e95bfd5ad8)
Signed-off-by: Rui Wang <rui.wang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add RDEPEND of gsettings-desktop-schemas to fix below error:
Error: GLib-GIO-ERROR: Settings schema 'org.gnome.desktop.background'
is not installed
This depend was setted in gnome-desktop before, but dropped when we
drop gnome-desktop after upgrade epiphany to 3.28.1.1.
(From OE-Core rev: e81db90870ee373c12849bb41e619a3ac6068d6d)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For the same reasons as the runtime Python test, clean up the SDK test.
Also port from Python 2 to Python 3, as that's what is supported now.
(From OE-Core rev: bead742a3ffc0a53162fb0c36610d74a1422e7b3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently this is three test cases:
1) test_python_exists. Fail if python3 isn't in PATH.
2) test_python_stdout. Run a Python script and check the output is as expected
3) test_python_testfile. Check that a file test_python_stdout wrote to exists.
(1) should be a setup and skip the test module if it isn't present.
(2) and (3) should be merged, there's no point copying over a two line Python
file, and the test doesn't verify that the file doesn't exist in the first
place.
Rewrite the test to check that Python is present in a class setup so the entire
test is skipped if it isn't and do some simple rot13 to verify that bytecode is
being executed correctly.
(From OE-Core rev: a35be5f32b4fe70b18ac1e2eccfd94558cecfbba)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
HTTP is in general more reliable so use that in the SRC_URI.
(From OE-Core rev: 4f3378e0763a94a5daac7169f498177fc6ef4e75)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gtk-play example assumes that GTK's GL support always works if it is
compiled in and first tries to use gtkglsink element which leads to
problems if there are errors while instantiating GL context at a much
later stage. This failure isn't detected and there is no fallback at
this point.
gtkglsink works on wayland though using poky defaults with gtk+3 since
the gdk backend does support egl with wayland but it doesn't with x11.
Disable the gtk plugin to ensure gtk-play just moves on when gtkglsink
isn't present. This was the default when gtk was part of -plugins-bad
before upgrade to 1.14.0.
Fixes [YOCTO #12832]
(From OE-Core rev: cf321fa1f96be789e1e7c8704175f88fb5857576)
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>
* Bump VA-API version to 1.2.0
* Add support for hevc range extension decoding
* Add support for fast intra prediction in HEVC FEI
* Add 10/12-bit YUV render target formats
* Add fourcc code for Y210/Y216/Y410/Y416/RGB565/BGR565
* Add VA_STATUS_ERROR_NOT_ENOUGH_BUFFER
* Add VA_SURFACE_ATTRIB_USAGE_HINT_EXPORT
* Improve documentation
Tested with Intel vaapi driver. There is support for meson available but
its not being packaged as part of release tarball yet.
(From OE-Core rev: d61d417750d4eadf5a00760e9859cb4c3b233cdc)
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>
There's no need to do native- and nativesdk-specific DEPENDS as the
BBCLASSEXTENDs handles those renames for us.
There's no need to have a subset of RDEPENDS for class-native as all with the
new manifest the python-native PROVIDES are complete.
(From OE-Core rev: 3e3c5cc579482041f0233e3e03ace736b62fb364)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An over-ride replaces the original value regardless of whether or
not it's set up with +=. As replacing the original value seems to be
the intention here, drop the += to make it more explicit. Also some
minor recipe formatting tweaks.
(From OE-Core rev: bda531e65bb6cc9f654c333e2f71283eccd17f27)
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>
Instead of decoding every file we open as UTF-8 (with many errors as machine
code isn't UTF-8), convert the build path to the UTF-8 byte representation and
search for that instead.
(From OE-Core rev: ffb52d383bfe413cf31fef13663fe9937a146c76)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The version 5.33 introduced a regression bug for determining the DB file
type. Backport a patch from upstream to fix it.
Before apply the patch:
$ file aliases.db
aliases.db: created: Thu Jan 1 00:38:24 1970, modified: Thu Jan 1 00:00:00 1970
After apply the patch:
$ file aliases.db
aliases.db: Berkeley DB (Btree, version 9, native byte-order)
(From OE-Core rev: 99e50d9e53ab23fc643c46378fa8c36190995335)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we just divide up the free space by the number of partitions
that need to be re-sized. This leads to problems when a user has
explicitly specified a subset of partitions (but not all) that need
to re-sized along with the sizes. As an example, for an image with 3
partitions, if we use:
wic write image.wic /dev/sdb --expand 1:10G
This would lead to paritions 2 and 3 each being re-sized to one thirds
of the free space instead of half.
Change the behavior to use up all the free space.
(From OE-Core rev: a88f1b5d88dbc5fb28be24b9787d73b9e0cdf183)
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>
The UEFI spec implies that GPT partitions should be assumed to be on a 2048
sector boundary (for a 512 byte sector) and the current logic just
divides the free sectors available by the number of partitions that need
re-sizing, which may or may not align and the final result might
overshoot the limits imposed after alignment.
Since we are expanding already aligned partitions, just divide up the
free space in multiples of 2048. Also use the exec_cmd wrapper instead
of the subprocess call directly.
Fixes [YOCTO #12840]
(From OE-Core rev: 5eef63f5afdfbab8e30748cb1bf42bf2e6524759)
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 don't need the texture float patches anymore, as the relevant patents have
expired so this defaults to on now.
(From OE-Core rev: db86b271c98dd50c641374ab6806b47a40ed134b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All values written out to pkgdata are escaped (see write_if_exists() in
package.bbclass). In practice there tend not to be characters that need
escaping except in the scriptlets (pkg_preinst, pkg_postinst, pkg_prerm
and pkg_postrm) where currently we still see the escape codes in the
corresponding files within buildhistory (e.g. \n and \t) and thus also
in the output of buildhistory-diff, hindering proper diffing of changes.
To fix this, when we read values from pkgdata and write them out to
buildhistory, we need to interpret the escape codes by doing the exact
reverse of what we do in package.bbclass.
(From OE-Core rev: c258379181a438cb01728d223b3d05e0ab205941)
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>
The FILELIST field of the package info file in the buildhistory
repository is a space-separated list of all of the files in the package.
If a name of a file packaged by a recipe contains a space character then
of course the result was that we didn't handle its name properly. To fix
that, use quotes around any filename containing spaces and at the other
end use these quotes to extract the proper entries.
Fixes [YOCTO #12742].
(From OE-Core rev: 801b705957dc683030d11393f43407d0b3506b6a)
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>
The original idea here was that changes to certain fields might be able
to be explained if there was a change to another field, for example if
RDEPENDS changed it might be because DEPENDS changed. Thus we were
printing this kind of thing out with each change. Unfortunately in
practice this turned out to be noisy and not particularly useful, so we
might as well remove it.
Fixes [YOCTO #7336].
(From OE-Core rev: 8658b3677b9f7cb70806061c41570c709086ef05)
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>
Building lttng-modules with linux-yocto-dev will cause do_compile
failure:
lttng-modules/2.10.6-r0/lttng-modules-2.10.6/probes/../probes/lttng-tracepoint-event-impl.h:143:6: error: conflicting types for 'trace_btrfs_reserve_extent'
void trace_##_name(_proto);
^~~~~~
The following commit from latest mainline kernel changes some btrfs
functions' prototype.
3dca5c942dac60164e6a6e89172f25b86af07ce7
"btrfs: trace: Remove unnecessary fs_info parameter for btrfs__reserve_extent event class"
This patch backports a commit from upstream to meet the above changes.
51ab0b1da29354375a19f865abcd233dd2178295
"Fix: btrfs: Remove unnecessary fs_info parameter"
(From OE-Core rev: c1daa5c0b89cdfab15d2fa093b021b2ce0937dad)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These platform specifc BSPs were removed from meta-intel and superseded by
intel-core* BSPs.
(From OE-Core rev: a6fd20fc57da3e1910e775f5994bd71bf79934ea)
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>
This allows the user mode flexibility about centrally overriding these
rather than needing to do it on a per recipe basis.
(From OE-Core rev: b0fb5bbd5f62857c32b2e071bcac841f856b1f1b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Checking if the dependency had any failure is unreliable, for example
if the underlying data doesn't get transferred and the list is empty,
success of the dependency is assumed.
Since we now have success data available, change the code to use it.
(From OE-Core rev: 4abba4c30d5a6163a968a119395a679e5e281ab4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This uses the new concurrenttest code to enable parallel test execution
if specified.
(From OE-Core rev: 07d19fb3adab7a8d83ba83d9a16395f70d7b7a47)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This isn't present on modern distros by default and doesn't work with
testtools, needing multiple code paths in the code. Remove it in favour
of finding a better replacement for results collection/analysis.
(From OE-Core rev: 8001d933a8dc86004db014777f094d718086687d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There doesn't appear to be any reason we need this _results indirection
any more so remove it.
(From OE-Core rev: b618261811c48ff3b98eab1b340a8cd09ef183c6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have several options for parallel processing in oeqa, parallel
execution of modules, threading and mulitple processes for the runners.
After much experimentation is appears the most scalable and least
invasive approach is multiple processes using concurrenttestsuite
from testtools. This means we can drop the current threading code
which is only used by the sdk test execution.
oeqa/decorator/depends: Remove threading code
Revert "oeqa/sdk: Enable usage of OEQA thread mode"
This reverts commit adc434c063.
Revert "oeqa/core/tests: Add tests of OEQA Threaded mode"
This reverts commit a4eef558c9.
Revert "oeqa/core/decorator/oetimeout: Add support for OEQA threaded mode"
This reverts commit d3d4ba902d.
(From OE-Core rev: a98ab5e560e73b6988512fbae5cefe9e42ceed53)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows oe-selftest to take a -j option which specifies how much test
parallelisation to use. Currently this is "module" based with each module
being split and run in a separate build directory. Further splitting could
be done but this seems a good compromise between test setup and parallelism.
You need python-testtools and python-subunit installed to use this but only
when the -j option is specified.
See notes posted to the openedmbedded-architecture list for more details
about the design choices here.
Some of this functionality may make more sense in the oeqa core ultimately.
(From OE-Core rev: 326ababfd620ae5ea29bf486b9d68ba3d60cad30)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This improves test parallelism.
(From OE-Core rev: 26e04b23ba1b6942aa7c7df478d41dfe7b73e6e0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only show the output in the failure case.
(From OE-Core rev: 324785a99e3f2449cb443233e7ce224598c02a3b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows better parallelism between the different tests as currently
this block takes the longest time to execute. devtool tests are still
all grouped into the "devtool" module for ease of exection.
This also makes it easier to execute some subset of devtool tests for
testing devtool changes.
(From OE-Core rev: 75148c190dd4823947557e9a07f1722e817c1fea)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently some tests run in buffer mode and some don't. Those that don't can
corrupt stdout/stderr. Switch to using buffer mode everywhere so we're consistent.
If there is useful output on stdout/stderr, it will be displayed if the test
fails.
(From OE-Core rev: 978548c0abde2cb94c2782538552f39bdf2bf630)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
AssertionError: Command 'wic create mkhybridiso --image-name core-image-minimal -o /var/tmp/wic.oe-selftest/' returned non-zero exit status 1:
ERROR: _exec_cmd: gzip -f -9 -c /var/tmp/wic.oe-selftest/tmp.wic.drhn6edm/initrd.cpio > /var/tmp/wic.oe-selftest/tmp.wic.drhn6edm/initrd.cpio.gz returned '1' instead of 0
output: gzip: /var/tmp/wic.oe-selftest/tmp.wic.drhn6edm/initrd.cpio: No such file or directory
This is because in a clean build directory, the initramfs may not be rebuilt.
Add a call to ensure it is built to avoid the error.
(From OE-Core rev: 2a80fa234d31992691a157425e8990db30158fd1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using /var/ leave wic open to races with other processes on the system, use
a subdir of builddir instead to avoid this.
(From OE-Core rev: e07ec908ce7f26143a7bdf0a07a1230c0fd6ac87)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If dbus isn't build first the dbus dependency of dbus-wait can't be detected
through pkgconfig and the test fails:
AssertionError: {'DEPENDS': {'dbus'}} != {}
- {'DEPENDS': {'dbus'}}
+ {} : Some expected variables not found in recipe: {'DEPENDS': {'dbus'}}
Ensure dbus is built and present in the sysroot.
(From OE-Core rev: 28699b4257436fb6079eafe50ca8cab09a2fdd90)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The main setUp function needs to be called and tests are meant to
define setUpLocal. For some reason this one didn't leading to errors
with recent code changes. Fix it.
(From OE-Core rev: aef07f09e224485539d8bc66ddac8bf394e4092a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current code assumes if something isn't a failure of some
kind, it was a pass. When test case IDs weren't matching, this lead
to very confusing output where things would fail, then be listed as
passing.
This adds code to track successes, ensuring we don't end up in this
position again with unmatched entries being listed as UNKNOWN.
(From OE-Core rev: 4374c296d8963e4f6a1aa7bef7983ad0a1c2fcff)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By having a consistent config for the test, a second reparse is avoided
and the test runs slightly faster.
(From OE-Core rev: a910d90dc18f9bc63142ccae2eeadc1feefc756b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If something goes wrong with the test, dep can be undefined. Avoid a
traceback for this and handle it more gracefully.
(From OE-Core rev: 0b74cb42aefe5c1b812fd155784e4c6581e26ce2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can directly compare the test case IDs rather than representations,
then if we're using subunit to split the tests, the comparisions still
work as intended.
(From OE-Core rev: 72e5f46f75454ba4c445c65c1cbc616a9e72fc6e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removing things straight from the live sstate directory is prone to issues
since other builds may be relying on the artefact presence.
Also, cleansstate is very slow on the huge sstate that the autobuilder has
on slow NFS drives. This may well be causing long buildtimes in oe-selftest
as the time taken to remove the artefact by be long.
(From meta-yocto rev: 1ed60bfb46569a8b8c29f24187390ba79686486a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the python3-pygobject package to the latest stable version
Tested on the qemu with core-image-minimal
(From OE-Core rev: 3c22f2080ece178b0cc68ae0b74310f81945ea52)
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>
Update the python{3}-setuptools to the latest stable version
Tested on the qemu with core-image-minimal
(From OE-Core rev: 96971531e0d17a05bfd2b14c95d366f9c499edf9)
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>
Enable the systemd-logind on xserver if the user set systemd as a
DISTRO_CONFIG. If a user is buildling Xorg with systemd then they most
likley want the systemd-logind PACKAGECONFIG set.
(From OE-Core rev: 358c237e2adf5449e33d99ebbdc12670f4bd465e)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we check if the rootfs.img size is greater than 4 GB and use
mcopy to copy it over to a hddimg, a FAT32 volume.
This results in problems when IMAGE_ROOTFS_SIZE is set to be exact 4 GB
(4294967296 bytes). mcopy uses the max offset/file size to be 4294967295
and as a result, it errors out without any warning to the user.
Change the 4 GB check to '-ge' to catch these cases. Since we allow
IMAGE_ROOTFS_SIZE to be in KBs, the maximum allowed is 4194303 KB. Also,
tweaked the error message to refer to wic too.
Fixes [YOCTO #12776]
(From OE-Core rev: 16956dacd4be2c64e5816ccb2b222b5b128838c9)
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>
As of nfs-utils 2.2.1 libnfsidmap has been integrated and isn't an external
requirement anymore.
Also consolidate nfs-utils patches into a single directory.
(From OE-Core rev: 98e8146553c912e869c174674c53e96d8ff01e57)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Use the same defaults as meson does, with few modifications based on
previous EXTRA_OEMESON
* move libpciaccess dependency to new intel PACKAGECONFIG
(From OE-Core rev: dc7d3b2ff79ae324b96a51ec1be557a432ed351d)
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>
Whenever perf got rebuilt, I was consistently getting errors such as
| find: '[...]/perf/1.0-r9/perf-1.0/plugin_mac80211.so': No such file or directory
| find: '[...]/perf/1.0-r9/perf-1.0/plugin_mac80211.so': No such file or directory
| find: find: '[...]/perf/1.0-r9/perf-1.0/libtraceevent.a''[...]/perf/1.0-r9/perf-1.0/libtraceevent.a': No such file or directory: No such file or directory
|
[...]
| find: cannot delete '/mnt/xfs/devel/pil/yocto/tmp-glibc/work/wandboard-oe-linux-gnueabi/perf/1.0-r9/perf-1.0/util/.pstack.o.cmd': No such file or directory
breaking the whole build. The root cause seems to be that the implicit
'make clean' done during do_configure ends up running in parallel, and
thus multiple find commands attempt to stat and/or delete the same
file.
A patch disabling parallelism for the clean target has been ack'ed
upstream (lkml.kernel.org/r/20180705134955.GB3686@krava), but it should
be harmless to pass JOBS=1 even with a fixed kernel. This can be removed
if and when all relevant -stable kernels have that patch.
(From OE-Core rev: bb58203b668df42fd08c2e5fa4a172cf63e37369)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fix the issue with newer kernel-devicetree.bbclass as reported by RP in
http://lists.openembedded.org/pipermail/openembedded-core/2018-July/152594.html
with changes from
http://lists.openembedded.org/pipermail/openembedded-core/2018-July/152560.html
the bbclass no longer creates the dtb files prefixed with
KERNEL_IMAGETYPE_FOR_MAKE:
deploy/images/mpc8315e-rdb/uImage-mpc8315erdb.dtb
use the version less symlink:
-rw-r--r-- 2 bitbake bitbake 9.3K Jul 9 13:30 deploy/images/mpc8315e-rdb/mpc8315erdb--4.15.18+git0+45c256a5ca_0b32edc46d-r0.2-mpc8315e-rdb-20180709125726.dtb
lrwxrwxrwx 2 bitbake bitbake 84 Jul 9 13:30 deploy/images/mpc8315e-rdb/mpc8315erdb.dtb -> mpc8315erdb--4.15.18+git0+45c256a5ca_0b32edc46d-r0.2-mpc8315e-rdb-20180709125726.dtb
lrwxrwxrwx 2 bitbake bitbake 84 Jul 9 13:30 deploy/images/mpc8315e-rdb/mpc8315erdb-mpc8315e-rdb.dtb -> mpc8315erdb--4.15.18+git0+45c256a5ca_0b32edc46d-r0.2-mpc8315e-rdb-20180709125726.dtb
(From meta-yocto rev: 1f8b8d266a3e8dbe7c447d074446c9f27526991e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We should pass the build arguments to setup.py when doing a clean, because
sometimes the arguments are required for setup.py get started.
(From OE-Core rev: f9324af88a99eca28b160fa31aa4516fd397e44b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
$ runqemu qemumips64 core-image-minimal nographic qemuparams="-m 512"
...
[ 0.000000] Call Trace:
[ 0.000000] [<ffffffff801268c0>] clear_page+0x0/0x128
[ 0.000000] [<ffffffff80238158>] get_page_from_freelist+0xab8/0xc00
[ 0.000000] [<ffffffff80238964>] __alloc_pages_nodemask+0xdc/0xf68
[ 0.000000] [<ffffffff80239808>] __get_free_pages+0x18/0x70
[ 0.000000] [<ffffffff80122a4c>] setup_zero_pages+0x1c/0xb8
[ 0.000000] [<ffffffff80c7c998>] mem_init+0x54/0xa0
[ 0.000000] [<ffffffff80c74904>] start_kernel+0x204/0x4d8
[ 0.000000] [<ffffffff8091dfb0>] kernel_entry+0x0/0x40
[ 0.000000] Code: 02002025 1000f8d9 8e634d7c <34860f80> cc9e0000
cc9e0020 cc9e0040 cc9e0060 cc9e0080
[ 0.000000]
[ 0.000000] ---[ end trace 0000000000000000 ]---
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task!
...
OE uses qemumips to simulate a Malta board by default.
As upstream qemu introduced:
https://git.qemu.org/?p=qemu.git;a=commit;h=94c2b6aff43cdfcfdfb552773a6b6b973a72ef0b
The Malta board can support up to 2GiB of RAM which should
be able to boot a Linux kernel built with CONFIG_HIGHMEM
enabled and passing "-m 2048" to QEMU and appending the
following kernel parameters:
...
mem=256M@0x0 mem=256M@0x90000000 mem=1536M@0x20000000
...
But the following commit in kernel broke above mem=X@Y setting
which added the memory as reserved memory area.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=73fbc1eba7ffa3bf0ad12486232a8a1edb4e4411
...
commit 73fbc1eba7ffa3bf0ad12486232a8a1edb4e4411
Author: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Date: Wed Nov 23 14:43:49 2016 +0100
MIPS: fix mem=X@Y commandline processing
...
So remove `mem=*' to disable user-defined physical RAM map
which let kernel itself caculates memory ranges.
Author: Hongxu Jia <hongxu.jia@windriver.com>
[ Merge the two fixes for qemumips32 and qemumips64 into one patch,
and make it support all mips cases ]
(From OE-Core rev: 0220cb34a91658ecc3782ec1a4700dcb5ece37d8)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop redundant setting of S to its default value and re-order
variables to align more closely to the OE style-guide.
(From OE-Core rev: 4871481e66449dd2b054119b37d0baedb166b72c)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* this makes it easier to access these variables from some other bbclass
e.g. sdcard_image-rpi.bbclass in meta-raspberry where we need to know
how some files in deploy are named, but we cannot inherit kernel.bbclass
as it's used in image recipe not kernel recipe
* alternatively we can move these to bitbake.conf like similar image variables are:
meta/conf/bitbake.conf:IMAGE_BASENAME = "${PN}"
meta/conf/bitbake.conf:IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}"
meta/conf/bitbake.conf:IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}"
(From OE-Core rev: 7d0ef0eaa1bfe97015a774c26f5791622e7e8b12)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* use INITRAMFS_BASE_NAME and INITRAMFS_SYMLINK_NAME variables, like
other kernel artifacts are using
* use "${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" instead of
"${PV}-${PR}-${MACHINE}-${DATETIME}" to be consistent with other files
* allow to modify default symlink name with INITRAMFS_SYMLINK_NAME
instead of currently used:
initramfs_symlink_name=${type}-initramfs-${MACHINE}
(From OE-Core rev: 935b9d5a2bd12effad65f69a631ecff96b8bb553)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* add 2 new variables:
KERNEL_DTB_BASE_NAME
KERNEL_DTB_SYMLINK_NAME
instead of reusing KERNEL_IMAGE_SYMLINK_NAME and than expecting that
default value ${MACHINE} was being used in e.g.:
DTB_SYMLINK_NAME=`echo ${symlink_name} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"`
* install normal DTB files only once even if there is multiple entries
in KERNEL_IMAGETYPE_FOR_MAKE and don't prefix them with the type of
the kernel image, use the KERNEL_IMAGETYPE_FOR_MAKE as a prefix only
when installing them bundled with kernel or initramfs image.
* deploy the files from ${D}/${KERNEL_IMAGEDEST}/ instead of kernel
build directory, so that we don't need to call
DTB_PATH=`get_real_dtb_path_in_kernel "${DTB}"`
again in do_deploy
* create all links in do_deploy task, because default KERNEL_DTB_BASE_NAME
like KERNEL_IMAGE_BASE_NAME contains PKGR and PKGR is different in
do_install and do_deploy, because kernel.bbclass calls
meta/classes/kernel.bbclass:do_install[prefuncs] += "package_get_auto_pr"
meta/classes/kernel.bbclass:do_deploy[prefuncs] += "package_get_auto_pr"
* the filenames are a bit different, but with separate variable it
should be easier for other bbclasses which use these DTB files to
find them correctly, just use either the cannonical name
$dtb_base_name.$dtb_ext or $dtb_base_name-${KERNEL_DTB_SYMLINK_NAME}.$dtb_ext
because PKGR (and other PKG* variables) might be different in your
task and kernel.do_deploy task.
* fix DTB files being deployed with incorrect filenames when
KERNEL_IMAGE_SYMLINK_NAME isn't set to ${MACHINE}, e.g. instead of
the default:
-rw-r--r-- 2 bitbake bitbake 1.4K Nov 20 07:41 deploy/images/raspberrypi3-64/Image-1-4.9.59+git0+e7976b2aff-r0.2-lirc-rpi-20171120043031.dtbo
lrwxrwxrwx 2 bitbake bitbake 64 Nov 20 07:41 deploy/images/raspberrypi3-64/Image-lirc-rpi.dtbo -> Image-1-4.9.59+git0+e7976b2aff-r0.2-lirc-rpi-20171120043031.dtbo
lrwxrwxrwx 2 bitbake bitbake 64 Nov 20 07:41 deploy/images/raspberrypi3-64/lirc-rpi.dtbo -> Image-1-4.9.59+git0+e7976b2aff-r0.2-lirc-rpi-20171120043031.dtbo
I was getting:
-rw-r--r-- 2 bitbake bitbake 1348 Nov 20 10:28 deploy/images/raspberrypi3-64/Image-linux-raspberrypi-lirc-rpi.dtbo
lrwxrwxrwx 2 bitbake bitbake 37 Nov 20 10:28 deploy/images/raspberrypi3-64/Image-linux-raspberrypi-lirc-rpi-master-20171120102653.dtbo -> Image-linux-raspberrypi-lirc-rpi.dtbo
lrwxrwxrwx 2 bitbake bitbake 37 Nov 20 10:28 deploy/images/raspberrypi3-64/lirc-rpi.dtbo -> Image-linux-raspberrypi-lirc-rpi.dtbo
and e.g. sdcard_image-rpi.bbclass from meta-raspberrypi:
37e4e18f4a/classes/sdcard_image-rpi.bbclass
was failing in:
mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${DTB_BASE_NAME}.dtb ::${DTB_BASE_NAME}.dtb
because ${KERNEL_IMAGETYPE}-${DTB_BASE_NAME}.dtb doesn't exist in my
build, due to
DTB_SYMLINK_NAME=`echo ${symlink_name} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"`
not replacing whole "${KERNEL_IMAGE_SYMLINK_NAME}" (read ${MACHINE})
with just ${DTB_BASE_NAME}
* with this change applied the deploy dir looks like this:
-rw-r--r-- 2 bitbake bitbake 1.4K Nov 20 15:49 deploy/images/raspberrypi3-64/lirc-rpi-1-4.9.59+git0+e7976b2aff-r0.8-raspberrypi3-64-20171120154716.dtbo
lrwxrwxrwx 2 bitbake bitbake 74 Nov 20 15:49 deploy/images/raspberrypi3-64/lirc-rpi.dtbo -> lirc-rpi-1-4.9.59+git0+e7976b2aff-r0.8-raspberrypi3-64-20171120154716.dtbo
lrwxrwxrwx 2 bitbake bitbake 74 Nov 20 15:49 deploy/images/raspberrypi3-64/lirc-rpi-raspberrypi3-64.dtbo -> lirc-rpi-1-4.9.59+git0+e7976b2aff-r0.8-raspberrypi3-64-20171120154716.dtbo
and works correctly even with DISTRO using different naming scheme
* the sdcard_image-rpi.bbclass still needs to be modified, I've provided
updated version here:
https://github.com/agherzan/meta-raspberrypi/pull/159
* mpc8315e-rdb.conf MACHINE in meta-yocto-bsp also needs small fix:
https://lists.yoctoproject.org/pipermail/poky/2018-July/011436.html
(From OE-Core rev: 1860d9d3c62e2e94cd68a809385873ffd8270b6d)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* just to make it more clear what is local shell variable and what is
replaced by bitbake from the metadata and also to prevent the variable
to be incorrectly expanded by bitbake if someone happens to define
e.g. DTB_BASE_NAME
(From OE-Core rev: 98b0f13f0650d970aac7441e7fcfc1089570785f)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating Paul Gortmaker's -stable 4.12 release, which comprises
the following commits:
b0f63e84c132 Linux 4.12.26
61be5424616e usbnet: fix alignment for frames with no ethernet header
6d0519e75609 tipc: fix memory leak in tipc_accept_from_sock()
8560506d5b7a tipc: call tipc_rcv() only if bearer is up in tipc_udp_recv()
5ceba73f1c24 tcp: remove buggy call to tcp_v6_restore_cb()
450a839e54a6 tcp/dccp: block bh before arming time_wait timer
872d246eaed9 stmmac: reset last TSO segment size after device open
74386d6ee7bf sit: update frag_off info
3df033244a42 s390/qeth: fix GSO throughput regression
b7bd0107008f s390/qeth: fix early exit from error path
7f02573318ba s390/qeth: build max size GSO skbs on L2 devices
3c8a527e0496 rds: Fix NULL pointer dereference in __rds_rdma_map
00c0600c0a35 net: remove hlist_nulls_add_tail_rcu()
193d9a02e802 net: realtek: r8169: implement set_link_ksettings()
8fb1c5e220ee net: qmi_wwan: add Quectel BG96 2c7c:0296
0c2ba29a13d9 net/packet: fix a race in packet_bind() and packet_notifier()
bb06331e9156 net: openvswitch: datapath: fix data type in queue_gso_packets
ea15a664c5b8 usb: gadget: ffs: Forbid usb_ep_alloc_request from sleeping
7f11deffc177 ipmi: Stop timers before cleaning up the module
fb006a18929e fix kcm_clone()
ee82eaf439cc RDMA/cxgb4: Annotate r2 and stag as __be32
b71be191d4ed md: free unused memory after bitmap resize
6d24efc56915 dm raid: fix panic when attempting to force a raid to sync
490fc05683b4 blk-mq: Avoid that request queue removal can trigger list corruption
d9e8cb49aaf1 ide: ide-atapi: fix compile error with defining macro DEBUG
115978628b54 ipvlan: fix ipv6 outbound device
ee2ce344ee06 powerpc/powernv/idle: Round up latency and residency values
0fe4d3f9fb5b afs: Connect up the CB.ProbeUuid
94bdd552d7b1 IB/mlx5: Assign send CQ and recv CQ of UMR QP
aa02d85e4d08 IB/mlx4: Increase maximal message size under UD QP
dd955bcce383 bnxt_re: changing the ip address shouldn't affect new connections
a4b3e59bcb04 f2fs: fix to clear FI_NO_PREALLOC
78f9d39a2735 xfrm: Copy policy family in clone_policy
4577662b6010 atm: horizon: Fix irq release error
d7241b40fe6d kbuild: rpm-pkg: fix jobserver unavailable warning
bffb011d5446 mailbox: mailbox-test: don't rely on rx_buffer content to signal data ready
849ef7edfa4c clk: hi3660: fix incorrect uart3 clock freqency
d561354fe15d clk: uniphier: fix DAPLL2 clock rate of Pro5
eada5db0be6e clk: qcom: common: fix legacy board-clock registration
11ea07285eb4 geneve: fix fill_info when link down
4e0b53bd177a sctp: return error if the asoc has been peeled off in sctp_wait_for_sndbuf
be7cba326d33 sctp: use the right sk after waking up from wait_buf sleep
2c485f6fa3be sctp: do not free asoc when it is already dead in sctp_sendmsg
6e2b427a32da slub: fix sysfs duplicate filename creation when slub_debug=O
e66ebbc23607 zsmalloc: calling zs_map_object() from irq is a bug
dc423eda615d sparc64/mm: set fields in deferred pages
956c73ca6664 block: wake up all tasks blocked in get_request()
1f35bda74d1a dt-bindings: usb: fix reg-property port-number range
412c76f0f9b8 sunrpc: Fix rpc_task_begin trace point
09f79313b317 NFS: Fix a typo in nfs_rename()
a550f7b43f63 dynamic-debug-howto: fix optional/omitted ending line number to be LARGE instead of 0
80f443550f8f lib/genalloc.c: make the avail variable an atomic_long_t
1dfea0e03917 drivers/rapidio/devices/rio_mport_cdev.c: fix resource leak in error handling path in 'rio_dma_transfer()'
4add25bf3dff route: update fnhe_expires for redirect when the fnhe exists
c53ad6cb2f86 route: also update fnhe_genid when updating a route cache
d09b814cd2aa gre6: use log_ecn_error module parameter in ip6_tnl_rcv()
f9ef4cd05462 mac80211_hwsim: Fix memory leak in hwsim_new_radio_nl()
a95269b0e4e5 x86/mpx/selftests: Fix up weird arrays
76e5bd0ae30a coccinelle: fix parallel build with CHECK=scripts/coccicheck
59f2aa43a314 kbuild: pkg: use --transform option to prefix paths in tar
50ce05457e39 irqchip/qcom: Fix u32 comparison with value less than zero
e3fec500f619 ARM: avoid faulting on qemu
602f85aeefb7 crypto: talitos - fix ctr-aes-talitos
73e76cb0ca1f crypto: talitos - fix use of sg_link_tbl_len
f17fe30404de crypto: talitos - fix AEAD for sha224 on non sha224 capable chips
f5fa317606b7 crypto: talitos - fix setkey to check key weakness
519619ec114a crypto: talitos - fix memory corruption on SEC2
e7984cca5abc crypto: talitos - fix AEAD test failures
64d05b5d1d86 bus: arm-ccn: fix module unloading Error: Removing state 147 which has instances left.
e14e213dfd51 bus: arm-ccn: Fix use of smp_processor_id() in preemptible context
63efd55a2c6b bus: arm-ccn: Check memory allocation failure
fd30c25b5596 bus: arm-cci: Fix use of smp_processor_id() in preemptible context
d358187f050b media: dvb: i2c transfers over usb cannot be done from stack
2ae277ebe31f drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU
0792a5a27074 drm/bridge: analogix dp: Fix runtime PM state in get_modes() callback
fdc899328ff3 kdb: Fix handling of kallsyms_symbol_next() return value
08f22e2251fd brcmfmac: change driver unbind order of the sdio function devices
f9a77013fa02 powerpc/64s: Initialize ISAv3 MMU registers before setting partition table
9c6dfd696e5a KVM: s390: Fix skey emulation permission check
092937ce1aae s390: fix compat system call table
4f4b2e279816 s390: always save and restore all registers on context switch
8c54b7d880d4 smp/hotplug: Move step CPUHP_AP_SMPCFD_DYING to the correct place
a2ec325c7d20 iommu/vt-d: Fix scatterlist offset handling
743ac71ece80 ALSA: usb-audio: Fix the missing ctl name suffix at parsing SU
1df6e988ae39 ALSA: usb-audio: Add check return value for usb_string()
974394e57a05 ALSA: usb-audio: Fix out-of-bound error
f4753360efda ALSA: seq: Remove spurious WARN_ON() at timer check
478c2ed7ca1c ALSA: pcm: prevent UAF in snd_pcm_info
b12060cae8c2 btrfs: handle errors while updating refcounts in update_ref_for_cow
ecfc013c7f23 btrfs: fix missing error return in btrfs_drop_snapshot
45822ea3d1bf X.509: fix comparisons of ->pkey_algo
19057ced2699 X.509: reject invalid BIT STRING for subjectPublicKey
a3ad8e49bc26 KEYS: reject NULL restriction string when type is specified
7c2ccfe13faa KEYS: add missing permission check for request_key() destination
664879ff9aef ASN.1: check for error from ASN1_OP_END__ACT actions
4c0e7ec3072d ASN.1: fix out-of-bounds read when parsing indefinite length item
17a6f363daf9 efi/esrt: Use memunmap() instead of kfree() to free the remapping
8dd372dd8845 efi: Move some sysfs files to be read-only by root
97c6b857262f scsi: libsas: align sata_device's rps_resp on a cacheline
eb78a8b8f172 scsi: use dma_get_cache_alignment() as minimum DMA alignment
db4a32fa5cf2 scsi: dma-mapping: always provide dma_get_cache_alignment
1f55442d0992 isa: Prevent NULL dereference in isa_bus driver callbacks
93fdb7dc713e hv: kvp: Avoid reading past allocated blocks from KVP file
d745d533737a pinctrl: armada-37xx: Fix direction_output() callback behavior
ae6add36f3ce iio: adc: meson-saradc: fix the bit_idx of the adc_en clock
50c87ecdb250 iio: adc: cpcap: fix incorrect validation
657257ba13ae iio: health: max30102: Temperature should be in milli Celsius
3da92b4ab2cc virtio: release virtio index when fail to device_register
f6fe0d2777b2 can: peak/pcie_fd: fix potential bug in restarting tx queue
654babccd437 can: usb_8dev: cancel urb on -EPIPE and -EPROTO
bda1dccdda47 can: esd_usb2: cancel urb on -EPIPE and -EPROTO
9ff8eb7ef05b can: ems_usb: cancel urb on -EPIPE and -EPROTO
51e5de2b036b can: mcba_usb: cancel urb on -EPROTO
c94c94a367ef can: kvaser_usb: cancel urb on -EPIPE and -EPROTO
c8474d8798ab can: kvaser_usb: ratelimit errors if incomplete messages are received
1936ba2b0b40 can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback()
bc86162fa81a can: kvaser_usb: free buf in error paths
4a879f2d1636 can: ti_hecc: Fix napi poll return value for repoll
09b06e3f7b1d can: flexcan: fix VF610 state transition issue
f81db8e7d0cb can: peak/pci: fix potential bug when probe() fails
7b747f65c553 can: mcba_usb: fix device disconnect bug
0a3964b0a8d3 usb: f_fs: Force Reserved1=1 in OS_DESC_EXT_COMPAT
d1c24d05d7ec serdev: ttyport: fix tty locking in close
541fbaaf6db7 serdev: ttyport: fix NULL-deref on hangup
a6d00d0df9e5 serdev: ttyport: add missing receive_buf sanity checks
b30e0bedb66b usb: gadget: udc: renesas_usb3: fix number of the pipes
(From OE-Core rev: 5fddf0226efc996f7eeba76f15e3335c9e60c2f3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bumping the -dev kernel to 4.18 in preparation for the next
release kernel.
(From OE-Core rev: 3d7da5d8083b38a9b08fc187a41f8b6691f19091)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating Paul Gortmaker's v4.12.25 -stable queue, which comprises the
following commits:
e61748ef5db0 Linux 4.12.25
c34553e3e8af x86/bugs: Rename SSBD_NO to SSB_NO
4aa9e65a91b9 x86/bugs: Remove x86_spec_ctrl_set()
7283d22a40c4 x86/bugs: Expose x86_spec_ctrl_base directly
60fb8f1bbd46 x86/speculation: Rework speculative_store_bypass_update()
cc8a65725832 x86/cpufeatures: Disentangle SSBD enumeration
4cadf648f802 x86/cpufeatures: Disentangle MSR_SPEC_CTRL enumeration from IBRS
14476a34b4d0 x86/speculation: Use synthetic bits for IBRS/IBPB/STIBP
e66dd0595eac x86/cpu: Make alternative_msr_write work for 32-bit code
32e38eda9958 x86/bugs: Fix the parameters alignment and missing void
5593194735ea x86/bugs: Make cpu_show_common() static
86e7eb199990 x86/bugs: Fix __ssb_select_mitigation() return type
4efd9170a722 Documentation/spec_ctrl: Do some minor cleanups
e074092d9d0a proc: Use underscores for SSBD in 'status'
f57b4be9a391 x86/bugs: Rename _RDS to _SSBD
f395cafed558 x86/speculation: Make "seccomp" the default mode for Speculative Store Bypass
9599751872de seccomp: Move speculation migitation control to arch code
647fb2d84f05 seccomp: Add filter flag to opt-out of SSB mitigation
44d5a1d9fe07 seccomp: Use PR_SPEC_FORCE_DISABLE
9490e71c3074 prctl: Add force disable speculation
ad5b97fe1ab6 x86/bugs: Make boot modes __ro_after_init
cfc00a7877b6 seccomp: Enable speculation flaw mitigations
bc4bf81c64b0 proc: Provide details on speculation flaw mitigations
a41d2136a447 nospec: Allow getting/setting on non-current task
7e17279e72b9 x86/speculation: Add prctl for Speculative Store Bypass mitigation
eea6b1abc91e x86/process: Allow runtime control of Speculative Store Bypass
c8630c28cd28 prctl: Add speculation control prctls
ecefae5ca101 x86/speculation: Create spec-ctrl.h to avoid include hell
4bcdf54612aa x86/bugs/AMD: Add support to disable RDS on Fam[15,16,17]h if requested
6ce1317929a3 x86/bugs: Whitelist allowed SPEC_CTRL MSR values
cd5e5e6f2e39 x86/bugs/intel: Set proper CPU features and setup RDS
d97584229d85 x86/bugs: Provide boot parameters for the spec_store_bypass_disable mitigation
793b7453cfc5 x86/cpufeatures: Add X86_FEATURE_RDS
c6c3cd47ccbb x86/bugs: Expose /sys/../spec_store_bypass
2d92a521bda7 x86/bugs: Read SPEC_CTRL MSR during boot and re-use reserved bits
81865e325abe x86/bugs: Concentrate bug reporting into a separate function
45245a5b9dc4 x86/bugs: Concentrate bug detection into a separate function
05e82d536970 x86/nospec: Simplify alternative_msr_write()
effb0dfecfa2 x86/cpu_entry_area: Sync cpu_entry_area to initial_page_table
89fffee9d555 x86/xen: Zero MSR_IA32_SPEC_CTRL before suspend
76199d7beb0b x86/speculation: Move firmware_restrict_branch_speculation_*() from C to CPP
426210b00b02 x86/speculation: Use IBRS if available before calling into firmware
63904f8a6d41 x86/entry/64: Fix CR3 restore in paranoid_exit()
35cf6a9daf5f x86/cpu: Change type of x86_cache_size variable to unsigned int
7fded60b2cb7 x86/spectre: Fix an error message
343945a16727 x86/speculation: Add <asm/msr-index.h> dependency
eb0f059ee2de nospec: Move array_index_nospec() parameter checking into separate macro
31951a39de73 x86/speculation: Fix up array_index_nospec_mask() asm constraint
344711f16fec x86/entry/64: Remove the unused 'icebp' macro
d4324affaf05 x86/entry/64: Fix paranoid_entry() frame pointer warning
3cadbc9228b4 x86/entry/64: Indent PUSH_AND_CLEAR_REGS and POP_REGS properly
0d561147160c x86/entry/64: Get rid of the ALLOC_PT_GPREGS_ON_STACK and SAVE_AND_CLEAR_REGS macros
22c1269eefa9 x86/entry/64: Use PUSH_AND_CLEAN_REGS in more cases
ac897d25b1d3 x86/entry/64: Introduce the PUSH_AND_CLEAN_REGS macro
226eea037fa6 x86/entry/64: Interleave XOR register clearing with PUSH instructions
120d889cac9f x86/entry/64: Merge the POP_C_REGS and POP_EXTRA_REGS macros into a single POP_REGS macro
2d5eb3888f24 x86/entry/64: Merge SAVE_C_REGS and SAVE_EXTRA_REGS, remove unused extensions
797a6f4444f1 x86/speculation: Clean up various Spectre related details
ff032faca431 KVM/nVMX: Set the CPU_BASED_USE_MSR_BITMAPS if we have a valid L02 MSR bitmap
1aaab2d1a1fd KVM/x86: Reduce retpoline performance impact in slot_handle_level_range(), by always inlining iterator helper methods
dd17c0f5a114 Revert "x86/speculation: Simplify indirect_branch_prediction_barrier()"
add7dd4f1f81 x86/speculation: Correct Speculation Control microcode blacklist again
358f03a9395f x86/speculation: Update Speculation Control microcode blacklist
0307861327c7 x86/mm/pti: Fix PTI comment in entry_SYSCALL_64()
a612b987b028 x86/entry/64/compat: Clear registers for compat syscalls, to reduce speculation attack surface
1b8b432f6dee x86/entry/64: Clear registers for exceptions/interrupts, to reduce speculation attack surface
513e4bbfc32c x86/entry/64: Clear extra registers beyond syscall arguments, to reduce speculation attack surface
(From OE-Core rev: 400c1bd54c0191b96bccfe0d2755995bdfc04fc1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yocto Project reference board such as Minnowboard need IGB module to
enable ethernet networking. It need to bundle together with kernel when
use NFS boot without initramfs.
(From OE-Core rev: f1b97a29a1918d4ae81cf71b026d6f2b82dfeb96)
Signed-off-by: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding a BSP definition to the kernel-cache, creating a tiny branch for
board specific patches and finally setting the machine compatibility in
the linux-yocto-tiny recipe.
This is only the BSP definition and kernel configuration side of things,
more changes are necessary for full tiny distro support on qemumarm.
(From OE-Core rev: 9e88c4923a337ca8279feaa773884a9c26a092f3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If relayd is started after connection attempt from consumerd it will
leave the session in disconnected state and causes the following
inconvenience. This is covered by an upstream feature, see
https://bugs.lttng.org/issues/883. Before it's done, this patches
allows users to reconnect to relayd.
root@localhost:~# lttng enable-event --userspace --all
Error: Events: UST create channel failed (channel channel0, session trace_session)
root@localhost:~# lttng-relayd -b
Warning: No tracing group detected
root@localhost:~# lttng enable-event --userspace --all
Error: Events: UST create channel failed (channel channel0, session trace_session)
(From OE-Core rev: 6f0079a6c3cc8926423cff3a927a78dcecede90d)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Re-order variables to align more closely to the OE style-guide.
(From OE-Core rev: 5c9c61250bb23fd5fd1c18e243cab0d80573b749)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using += with an over-ride can be a source of confusion so try to
avoid the construct in core recipes.
The current usage functions correctly (it over-rides the default, ie
empty, value of EXTRA_OECONF and then PACKAGECONFIG derived options
are subsequently appended), however the += is unnecessary and can be
dropped.
(From OE-Core rev: e255d1aebd0e019f42c2110873ef4779bbbb5974)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using += with an over-ride can be a source of confusion so try to
avoid the construct in core recipes.
The current usage is incorrect and prevents the aarch64 and musl
specific config options from being active together.
(From OE-Core rev: 2a30a9ecab6465892698f7fc9d14a430d8a26f0c)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When SDK is not installed in the default location, openssl will not be
able to find the the openssl.cnf config file:
"WARNING: can't open config file: XXXX/usr/lib/ssl/openssl.cnf"
To fix this, we need to provide the environment variable $OPENSSL_CONF
pointing to the correct config file location.
(From OE-Core rev: b3f148333515efdb746b78c57d62cfbf3321b21e)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
root login is disabled by default for openssh and we can
enable it through IMAGE_FEATURES 'debug-tweaks' or
'allow-empty-password', so change to the same default
behavior for dropbear.
(From OE-Core rev: d3e69fa2fef83015658aa5fa1442bab5a8c3edaa)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"allow root login" should not be bundled in ssh_allow_empty_password,
because some distro may want only one of "allow root login" and "allow
empty password", so split it out into ssh_allow_root_login and add new
imagefeature allow-root-login so they can be controlled separately,
debug-tweaks will still include both of them.
(From OE-Core rev: 1ab494f06a12548a902298afabd0a842161ef10d)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is helpful when exclude a lot of layers. It uses python re, and
supports multiple patterns (separated by space).
(From OE-Core rev: b5170882feb0f3bc2dddc213b6d115dfa87b7cc1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If CONFIG_KLOGD is not enabled, then the related service file should
not be installed, The error message is below:
Cannot add dependency job for unit busybox-klogd.service,
ignoring: Unit busybox-klogd.service failed to load:
No such file or directory.
So we should first check the configuration before we install these
service files.
(From OE-Core rev: c3cc402df996654bf6f838b1e79e16a8bdd6d4d7)
Signed-off-by: Yadi.hu <yadi.hu@windriver.com>
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the example to more current information.
(From yocto-docs rev: 6952824473f820cbe6d02cba9523c023652f68e3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python-distribute is obsolete and is now simply a PROVIDES of python-setuptools,
so use the right name.
The identical change for setuptools3.bbclass was done in 2015 in 8922e60.
(From OE-Core rev: 87e38f0306400609aeac92bc13fd6f41d61e6271)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson uses 'mips' for both big- and little-endian MIPS machines, so map mipsel
to mips.
(From OE-Core rev: 23734432a24da77aa838ad4bdcbcc294cde08348)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a CPU family isn't recognised the first step should be to verify the mapping.
Send the user to a wiki page explaining what to do, instead of directly to the
Meson bug tracker.
(From OE-Core rev: 6c1e880a2bf4799cf451ff20c7ab93c55a755751)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if we do a testsdkext task for the image, it would take
very long time to finish. The time is mostly spent fetching kernel
source via network.
We have done some configuration in auto.conf, trying to make use
of own-mirrors.bbclass to avoid fetching kernel via network.
However, the solution normally does not work. Below is some log
from log.do_fetch.
DEBUG: Fetcher failure: Unable to find file \
file:///path/to/downloads/git2_git.yoctoproject.org.linux-yocto.git.tar.gz \
anywhere.
The tar.gz file is not available. It is generated only if
BB_GENERATE_MIRROR_TARBALLS is set to "1". The default value of
BB_GENERATE_MIRROR_TARBALLS is "0", and according to the manual, users
need choose to set it to "1" only if they are trying to make a source
mirror. So generally, this var's value is "0".
Anyway, we do need to avoid fetching kernel source from network when
doing testsdkext. So set PREMIRRORS in auto.conf to achieve this.
After this change, the time reduces from 4209.131s to 1399.436s on
my local machine.
[YOCTO #12729]
(From OE-Core rev: fd18ddb0664f69d77681590774b0123251a98728)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Minor comment update and re-order variables to align more closely to
the OE style-guide.
(From OE-Core rev: 0b0c294ed3a9f901b9a6afaf984ff4958c327c0e)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using += with an over-ride can be a source of confusion so try to
avoid the construct in core recipes.
In this case, the _darwin over-ride seems to be unmaintained. It was
added in early 2013 but has not been accounted for in subsequent
updates to the recipe and (from inspection) now appears to be broken.
Remove the _darwin over-ride rather than try to debug or fix it.
(From OE-Core rev: 74e87700f4eb8c96aa7db3c722dd122c7e6f4bd6)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using += with an over-ride can be a source of confusion so try to
avoid the construct in core recipes.
In this case, the commit which added the over-ride seems to have been
buggy - the commit message mentions "add to SYSROOT_DIRS" rather than
a correct description of what the change actually did, ie "over-ride
SYSROOT_DIRS":
http://git.openembedded.org/openembedded-core/commit/?id=355e49e19abb3e729c82a6de46ada8da8a257f58
The commit also appears to have been unnecessary as ${sysconfdir} is
appended to SYSROOT_DIRS for -native recipes by default from within
staging.bbclass.
To workaround the bug introduced by the first commit, a subsequent
commit later added ${datadir}/ca-certificates to the over-ride value
(which would not normally be necessary as ${datadir} is included in
the default value of SYSROOT_DIRS - ie the value which was lost due
to being over-ridden):
http://git.openembedded.org/openembedded-core/commit/?id=09bb7718d74573be9a5db4d0737fb14126f6489c
Therefore the fix seem to be to remove the SYSROOT_DIRS over-ride
entirely - the default value of SYSROOT_DIRS set by staging.bbclass
includes both ${datadir} and ${sysconfdir} when building for -native.
(From OE-Core rev: c1f18efda0280644b4a4ce6f2988fb7ada71faf6)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent glibc change removed libnss-nis module from glibc and a new
recipe libnss-nis.bb was added.
After this change, we need to make sure nativesdk-libnss-nis is also
included in buildtools-tarball, otherwise, we may encounter the following
error when using 'tar' command from buildtools-tarball.
tar: relocation error: /lib/x86_64-linux-gnu/libnss_nis.so.2: \
symbol _nsl_default_nss version GLIBC_PRIVATE not defined \
in file libnsl.so.1 with link time reference
This error occured on my ubuntu16.04 host with 'nis' configured in
/etc/nssswitch.conf.
So add nativesdk-libnss-nis to buildtools-tarball to fix this problem.
(From OE-Core rev: f7c703dd43e112b6cd63c7512645a1d418569ad7)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With PATCHTOOL=git patches the changes in the patch_task_postfunc
of the classes/patch. This works OK when the S dir is a Git repo
but doesn't if the source is a tarball.
The while condition in the patch_task_patch_prefunc must be
jailed into the WORKDIR. In the opposite, when you are executing
the recipe out of a Git subtree the function simply fails but when
your recipes are into a Git repo the patch_task_postfunc execute a
commit over your BSP local Git repo adding the changes in an
arbitrary Git repo found in the path from the SOURCE directory to
the '/'. This situation is highly probable in cases like ~home
directories under the control of a .git repo or Yocto BSP which
manage the meta layers as git submodules.
This patch fix the changes introduced in
classes/patch: when PATCHTOOL = "git" double-check the repository
commit: 86ab56b551
Author: Paul Eggleton <paul.eggleton@linux.intel.com>
Date: Tue Dec 5 14:36:58 2017 +1300
classes/patch: when PATCHTOOL = "git" double-check the repository
If a bug is present or the user has set PATCHTOOL = "git" on a source
tree that isn't git, if we try to perform git operations (such as
committing or changing branches) when extracting source, then we might
in fact be running those operations on the metadata repository if the
build directory is underneath, say, poky or OE-Core, and that could
make a mess. Check if the source tree is a git repository and refuse
to continue if it isn't.
(From OE-Core rev: db6ce9d8838b1f9064604654ab579da3e237f361)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This updates CMake to the current stable release and drop many
backported patches in the process.
(From OE-Core rev: d942ec4ff649782d22afe49fd48839dbbfedc871)
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>
base_do_configure() tries to do "make clean" if there is a Makefile present.
For most recipes using distutils there is not a Makefile, but we do know that
"setup.py clean" will work so call that instead.
(From OE-Core rev: b805cefb24566772a2beb5d02036266e45370913)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The distutils class is about to do a clean via "setup.py clean", but numpy
doesn't support this and errors.
(From OE-Core rev: 67ae24ddb2bebbf8b1c455b8968f8c69844afb9d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These binaries can be provided by busybox triggering a conflict in
do_rootfs so update-alternatives needs to know about them to properly
create the symlinks.
(From OE-Core rev: 147da8fe7458a38598845958cb358bb094eba57b)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-Makefile.vulkan.am-explictly-add-lib-expat-to-intel-.patch was fixed a
different way upstream so remove.
0007-dri-i965-Add-missing-time.h-include.patch is now accepted upstream so mark
as backport.
(From OE-Core rev: 8fb143fe69147c32e945e798662d78e606bfe0a0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Removed code for "${D}${exec_prefix}/lib/perl-native/perl" since there is no
such a directory now.
* Fixed perl related code.
(From OE-Core rev: 416a8c241aff0dca6b8b123e52cf8e2d40c74c8d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
with bind 9.11.2+ when the build host has lmdb installed, bind configure looks into
host headers and wrongly interprets that it should be enabling lmdb
disable lmdb to fix
| configure: error: found lmdb include but not library.
(From OE-Core rev: 8c00b32211f25e38c1601ec8de47e6d4729dd49e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 2e7f3b2b9318d1e5395ad58131eafb873f614326.
It was breaking quite common use case that the dtb files are in
some subdirectory and then kernel build fails to build them.
As reported by khem:
http://lists.openembedded.org/pipermail/openembedded-core/2018-July/152578.html
me:
http://lists.openembedded.org/pipermail/openembedded-core/2018-July/152579.html
on raspberrypi3 build:
make[3]: *** No rule to make target 'arch/arm/boot/dts/dwc2.dtbo'. Stop.
arch/arm/Makefile:345: recipe for target 'dwc2.dtbo' failed
make[2]: *** [dwc2.dtbo] Error 2
Makefile:146: recipe for target 'sub-make' failed
and trevor on the IRC:
20:35:49 < tlwoerner> the recent 2e7f3b2b9318d1e5395ad58131eafb873f614326 commit in oe-core seems to cause dragonboard-410c's kernel to fail to build
20:36:26 < tlwoerner> for the dragonboard-410c, KERNEL_DEVICETREE is set to "qcom/apq8016-sbc.dtb" but the build failure is:
20:36:37 < tlwoerner> *** No rule to make target 'arch/arm64/boot/dts/dts/qcom/apq8016-sbc.dtb'. Stop.
20:36:44 < tlwoerner> i.e. the "qcom/" is getting removed
20:37:08 < tlwoerner> oops!!
20:37:33 < tlwoerner> wrong copy&paste, the actual error is:
20:37:36 < tlwoerner> *** No rule to make target 'arch/arm64/boot/dts/apq8016-sbc.dtb'. Stop.
20:37:53 < tlwoerner> i.e., the "qcom/" is being stripped out
(From OE-Core rev: 0d725c76c113dec441a7319a6ee997e4ae8c4c88)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following error message when starting core-image-weston is not
critical as long as the image could start up correctly. So extend
the common_errors list for parselog.py test case to ignore this
message.
logind: cannot setup systemd-logind helper (-61), using legacy fallback
[YOCTO #12835]
(From OE-Core rev: edc244b2f346ad2eb3c90664ec17c904b356b992)
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>
on the host side we are glibc based therefore some native and nativesdk
recipes might need this package even when we target musl based systems
(From OE-Core rev: c939255a88d367d19497184ed64b828f021e5ef4)
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>
* Removed 001-configure-Allow-to-explicitly-disable-nfsidmap.patch,
the nfsidmap is enabled when --enable-nfsv4, so I added a
PACKAGECONFIG[nfsv4], and default is no since keyutils is not in oe-core by
default.
* Removed 0001-include-stdint.h-for-UINT16_MAX-definition.patch and
nfs-utils-1.2.3-sm-notify-res_init.patch since they are already in the
source.
* Taken two patches from git://git.alpinelinux.org/aports to fix build
with musl, and the nfs-utils-musl-res_querydomain.patch is for musl only.
(From OE-Core rev: 0b51ed606b2e7543b50dadae7c0822b0f0de77ef)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is better to return False for None. E.g. checking an undefined
variable returned d.getVar().
(From OE-Core rev: 3048e9fa0df6b1edf79bd1723e0fc022c3332af1)
Signed-off-by: Binghua Guan <freebendy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the PACKAGECONFIG for documentation as it now requires python3-sphinx which is not
provided in any existing recipe.
(From OE-Core rev: 32dded1bd2f6c5cf6437330830399b72f15096c4)
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>
Update to the latest stable version
License-Update: Copyright year updated to include 2018
Remove the alignment patch that is included upstream
(From OE-Core rev: 855020053906478cea164ed254c08bedce48479d)
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>
License-Update: Update checksum for whitespace (CRLF) changes
Update to the latest stable version
(From OE-Core rev: 467321703315f6e50aa8bc0e28cfe56f86c5fab7)
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>
python3-git was updated to the latest stable version
Tested on qemux86-64 using core-image-minimal
(From OE-Core rev: 6aa6f57c4d42d45ce1d3dbdca0e8f38ae31c0fbe)
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>
In the upgrade a large number of Upstream-Status tags were dropped, so add them
back. I'm taking the stand that copying a patch Debian is carrying doesn't
count as a backport.
Remove two Debian-specific patches (one for Hurd, one for kfreebsd) so
we're not carrying useless patches.
Remove two patches that are no longer applied.
(From OE-Core rev: b039b26958655aab496b588f4e41a5dea1bfaac1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I hit
update-alternatives: Error: not linking [...]/rootfs/sbin/fstrim to /bin/busybox.nosuid since [...]/rootfs/sbin/fstrim exists and is not a link
The solution seems to be to tell the alternatives system that util-linux
can also provide fstrim.
(From OE-Core rev: 7b317343a74bb0c31515b28879127972d50d1896)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
go1.10.3 (released 2018/06/05) includes fixes to the go command, and
the crypto/tls, crypto/x509, and strings packages. In particular, it
adds minimal support to the go command for the vgo transition.
(From OE-Core rev: 37f288d783257cb9e6c035aaab1b661b1016b4c3)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
go1.9.7 (released 2018/06/05) includes fixes to the go command, and
the crypto/x509, and strings packages. In particular, it adds minimal
support to the go command for the vgo transition.
(From OE-Core rev: 98d3ec92e8953304db51c73aff7a4e81b97f668c)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
RPM writes each package scriptlet (post-/preinstall) to
/var/tmp/rpm-tmp.XXXXXX --- a lot of files potentially gets created.
When debugging is enabled, these temporary scriptlet files aren't
cleaned up at all and after a while this results in the filesystem
resources are eaten up (like running out of available inodes).
Normally, the temporary files would have been written to the tmp
directory of the target sysroot (which we can easily clean up), but in
this tree, you can't necessarily run the scriptlets.
Fixes [YOCTO #12792]
(From OE-Core rev: ffb0ece83e74797f4c3da3866bb3d691c388a5e5)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These tests are very old and there are better benchmarking systems available
now.
(From OE-Core rev: 516c1d5c2b2875ac103d4b5e8e482f852477dc8f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* The license file is changed to LICENSE.adoc, it is still GPLv3+.
* Removed Revert-Create-man-page-in-the-make-install-from-git-.patch, it was
used for fixing a build failure of no asciidoc, but now there is no such a
failure, so remove it.
* Refreshed 0002-dev.mk.in-fix-file-name-too-long.patch
(From OE-Core rev: b137af6c2dc3d6c21808ecc872fbebbac5f96295)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Rebased Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch
- Removed backport patch 0001-libext2fs-fix-build-failure-in-swapfs.c-on-big-endia.patch
- The LIC_FILES_CHKSUM changed because it updated the address, others are the same
(From OE-Core rev: 2577fbed729ddc8deb7a657dbaa695d5bd7ef20d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This platform is enabled by default but as we override the platform list doesn't
get enabled.
(From OE-Core rev: bff79adccf3b6d7e07abc965af96f9c1d499d309)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop the patch to install tests as the Meson build allows this.
Drop the patch to disable cunit as this predates recipe-specific-sysroots and
isn't required anymore.
As Meson always builds the test suite (instead of building before running it),
add a patch to fix compilation with musl.
(From OE-Core rev: 8dcebad54ded4fa9b3455b674be37ad0b10190d8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson has a defined list of known CPU families but these are not currently
validated, so mistakes in cross files or new architectures are not noticed.
Backport a patch from upstream which warns on unknown architectures, but tweak
it to fatally error instead. When we upgrade to Meson 0.47 the first half of
this patch can be dropped.
(From OE-Core rev: be194a459944dfcc41bae7315643a5d284683efc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Ensure that the PACKAGECONFIG arguments are always in EXTRA_OEMESON
- Log the arguments that are being passed in do_configure.
- Do verbose builds so the compile logs are useful for debugging build problems
(From OE-Core rev: 3112ff268d095a65ecb893dd6ca88a85b0f70446)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A name > 50 chars causes a 500 internal server error and should be warned
to the user but the code to do so currently doesn't work. Fix the logic.
(From OE-Core rev: 844f8d46f522a994dbff00245c4ffb07452577a8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently this code prints things like:
ERROR: OK
which is unhelpful at best. After this change it would print:
ERROR: HTTP Error 500
which at least gives us something to work on.
(From OE-Core rev: 06079240e4eb0a3e1f528f6c8d6f3ea20754afee)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As well as setting RECIPE_SYSROOT we also need to set STAGING_DIR_HOST/TARGET.
(From OE-Core rev: 59a0a05235d80c86251cf45d7142bfc57f2e70d2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this, recipes can't find allarch data files like autoconf-archive.
(From OE-Core rev: 8ae70703f68853a8714a4fb8fa5d959b5e21a02d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LIC_FILES_CHKSUM changed do to updated year
removed:
dont-test-on-host.patch, no longer implemented
drop use-python3-and-fix-install-lib-path.patch, they added the ability to pass in lib dir loctions
drop bind-confgen-build-unix.o-once.patch, fix included in update
Refresh other patches:
add python3 flag for PACKAGECONFIG to pull in python
add new config option --with-eddsa=no (needs openssl support not released)
Python support is disaled by default now.
Acked-by: Martin Hundebøll <mnhu@prevas.dk>
(From OE-Core rev: c37207d0aca5ad1ec2b45813274931be458ee7ed)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
include several CVE fixes.
CVE: CVE-2018-5733
CVE: CVE-2018-5732
LIC_CHKSUM_FILE updated to SPFX format
https://kb.isc.org/article/AA-01571
remove several patches now included in update.
Shared libarary support is now enabled in configure+lt, use it
and revert to autotools-brokensep
Refresh patches
Aligns support with bind 9.11.x
Add libxml2 support to configure.ac+lt
(From OE-Core rev: 7cb42ae87ef929bf7e08c559f09dc224c6e3d314)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The normalize_dtb function was buggy because
it only converted from .dts suffix to .dtb
suffix if the user passed a full source path to
KERNEL_DEVICETREE containing the /dts/ path.
The problem is that if the user did that there
would be a warning.
On the othet hand if user just set the variable
KERNEL_DEVICETREE="file.dts" the bbclass translation
to the respective .dtb target did not occur and
make would fail saying it has no rule to make target
file.dts
This patch decouples the logic of having /dts/ in the
path from the target translation.
(From OE-Core rev: 2e7f3b2b9318d1e5395ad58131eafb873f614326)
Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade webkitgtk from 2.20.2 to 2.20.3.
* update context of 0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch
* remove detect-atomics-during-configure.patch that webkitgtk 2.20.3
contains the commit of better solution, see
https://bugs.webkit.org/show_bug.cgi?id=161900#c9
(From OE-Core rev: 069426b0a7a6848a9290cd2e8cdce941d7e3c08c)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Update debian 0.170 patches and rebase them for 0.172;
- Drop 0001-Use-fallthrough-attribute.patch which was
accepted by upstream;
- Drop 0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch
which was backported from upstream;
(From OE-Core rev: dbbe9c1d1f822cf13a4c16b79bccf6bf5c4b91e4)
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>
If UBOOT_DTB_BINARY is empty, then don't try inserting the U-Boot
signing keys into the DTB. In this configuration the keys are expected
to be already present in U-Boot's DTB.
(From OE-Core rev: a0d74767f7bd18c853df6b0be162363076d8f965)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a function much like shutil.which or bb.utils.which, retaining
shutil.which-like function semantics, bb.utils.which's support for
returning available candidates for signatures, and most importantly,
supports wildcards, returning only the first occurrance of each found
pathname in the search path.
(From OE-Core rev: ca276fe139129eec383d77768ba91b808c462b04)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file_name parameter passed to bb.parse.siggen.invalidate_task
should be a virtual file name instead of a real file name, or else you
will encounter a following error, for instance, when you run:
$ bitbake nativesdk-lzip -c unpack -f
the error arise:
| ERROR: An uncaught exception occurred in runqueue
| if file_name:
| > taintfn = d.stamp[file_name] + '.' + task + '.taint'
| else:
| KeyError: 'virtual:nativesdk:/opt/poky/meta/recipes-extended/lzip/lzip_1.19.bb'
when multilib builds are used on OE.
(Bitbake rev: da37bdad46e11e7ce93ba7a59d58757b769dc16b)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
MACHINE = "qemumips64"
MULTILIBS = "multilib:lib64 multilib:lib32"
DEFAULTTUNE = "mips64-n32"
DEFAULTTUNE_virtclass-multilib-lib64 = "mips64"
DEFAULTTUNE_virtclass-multilib-lib32 = "mips32r2"
bitbake core-image-minimal -c populate_sdk
Results in gcc-cross-canadian-mips failing to build due to the use
of an incorrect sysroot, fix this. All nativesdk pieces should be in
the same sysroot (unprefixed).
(From OE-Core rev: ae48ee6627e6c1c4f1fcc4ead40edc968e64f7fe)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the fixes to other parts of multilib, it was found that the fixup code's
assumptions about the recipe sysroot were incorrect. We need to use the value
calculated earlier in the function.
It turns out there is a rather neat way to do this which cleans up the code
as an added bonus.
(From OE-Core rev: 2c1978fe1a5b72167c49010fbdd39a9e2eefdef8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we're in a multilib context already and want a non-multilib context
this function returned incorrect values.
Try and retain optimisations for the common case not needing to request
a datastore but allow the different multilib/non-multilib combinations
to work too.
This fixes bugs where rootfs generation of a multilib image would
write into incorrect locations, or be unable to find sstate manifest
files due to incorrect data stores being used to expand data.
(From OE-Core rev: af7cd7823a8cc95c9f849498b2416cdb0d4d103e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently there is duplication in the code, we can clean this up
by extending the multilib variants list.
This code also currently fails its its called from an existing multilib
context since its assumes the data store passed in is the non-multilib
case. When building an image, say lib32-core-image-sato, this leads to
incorrect PATH values.
To fix this, we also request a data store for the "" variant allowing
this corner case to be fixed and for the function to correctly return
values for each multilib even when a multilib is already selected.
(From OE-Core rev: cc1c481560b81c223170230430308c7e2f08c812)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if you enable multilib, then build an image, the multilib
recipe sysroot is build in the wrong WORKDIR. If you then clean and
rebuild the image you see "file exists" errors.
This patch ensures the real WORKDIR is used consistently and then
cleans/rebuilds also work correctly.
(From OE-Core rev: c013ae59a158378d06ecf8eb123df0a10bf986b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently this function assumes that no multilib is applied and that
we're applying a multilib. This means if we're in multilib context
and want the non-multilib context we can't obtain it (and no other
function exists for this either).
Improve the function to allow this to be requested.
(From OE-Core rev: 295c5a3d19834a2fac255346d0a373449cfdd776)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a test that creates a layer, adds it to bblayers.conf, then ensure
that it appears properly in bitbake-layers show-layers.
(From OE-Core rev: 828462d2c39fe6f4d188b5eb129f7b2969e1ee18)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of commit 2c5c6e3ff we create multilib variants of intercept
hooks but we did not account for delay_to_first_boot variants.
This was covered up until commit a335e7867, but will now cause
an error.
(From OE-Core rev: 77f7c75481dceec36b7373f277c3bac811de9ef2)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed package recommendations so that the license package of a
recipe is recommended for all packages of a recipe instead of for one
package given by the recipe name.
Pre-patch behaviour results in a missing recommendation when a recipe
does not have a package with the same name.
(From OE-Core rev: 07343ff6282dd18432ecee5d9b80ad1fb86217f1)
Signed-off-by: Alp Özmert <info@ib-oezmert.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the user has set numa in their MACHINE_FEATURES we should enable
NUMA support in the kernel config.
(From OE-Core rev: e999816fec19750c4885e99930113bac21c225c0)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Acked-by: Bruce Ashfield <bruce.ashfield@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: 920dc165abe2484c240b76f95123f5a28f48f9ce)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are going to let runtime test support kernel tests. Now we just add
kernel self-contained sample tests. And we plan to add overall kernel
tests in the future.
This patch is just add kernel samples test which contains about 13 tests
enabled by kernel-sample.scc. So it needs statement,
KERNEL_FEATURES_append += " features/kernel-sample/kernel-sample.scc" in
local.conf.
(From OE-Core rev: be6ef728fd36049ea3822a54909a995bdecf6dd0)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable kernel-sample features by default with the machine of qemu.
(From OE-Core rev: df7213e4799f9147560f61bbd466367ba02fd470)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Config file python3.5m-config conflicts between 32 and 64 bit packages.
Use update-alternatives to add base_libdir as suffix to avoid it.
[YOCTO #12511]
(From OE-Core rev: bbb5e55abd0e628a5b0dae90d5eace0a2483f1fc)
Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When there are spaces in the mount points of devices e.g.:
a partition mounted at "/run/media/My Root Partition-sda1",
the initrd fails to move such mount points over to the
corresponding directories at /media under the real root filesystem,
and the mount points would appear at the same location as they were
mounted on when detected by initrd, for example:
here: "/run/media/My Root Partition-sda1"
instead of here: "/media/My Root Partition-sda1"
This causes issues such as:
* The disks/partitions cannot be formated with any filesystem
using e.g. mkfs.ext4 or mke2fs in general. When tried to do so
by making sure the device is not mounted, it failed with
errors such as:
> /dev/sda1 is apparently in use by the system; will not make a
filesystem here!
> /dev/sda1: Device or resource busy while setting up superblock
* The read/write operations become extremely slow. e.g. Under testing,
it took approx. 2 hours just to copy 700 MB of data to the partition,
and it took more than 40 minutes to delete that data from it.
Same operations took under 5 minutes on a partition that had no
spaces in its mount point (or that was successfully moved to real
root by initrd and appeared under /media instead of /run/media).
This commit fixes such issues by quoting the arguments of failing mount
move commands and by parsing OCT or HEX encoded special characters
such as spaces to ASCII charecters in the mount points as kernel
populates the procfs like so.
(From OE-Core rev: 6f8f984ba363f764e83290b972ec31a90aad1603)
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The path to where the layer was being created was taken verbatim as the
name of the layer when generating the layer.conf and README files from
templates. This causes problems in the layer.conf file because it would
result in strangely named variables like
BBFILE_PATTERN_../my-layer = "..."
Instead of blindly taking the path, use the name of the last component
of the path as the layer name.
Additionally, rework the template files to use python format strings
with named parameters so that the same argument doesn't have to be
repeated multiple times.
[YOCTO #12808]
(From OE-Core rev: 01071c5d524a878d9de4814196cba2f15739796e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's an occasional build race from headers being generated in parallel with
other files which include the headers being compiled. Solve this by adding more
dependencies.
[ YOCTO #12815 ]
(From OE-Core rev: 177f4782e1ffca1eed3c9b102d910239a3dceea4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ccache and openssl don't get on:
| make[1]: Entering directory '/home/prj/yocto/build/tmp/work/core2-64-poky-linux/openssl/1.0.2o-r0/openssl-1.0.2o/crypto'
| ccache: invalid option -- 'D'
Disable the use of ccache in the openssl recipe until someone root-causes this.
[ YOCTO #12810 ]
(From OE-Core rev: 8f9ceebb197dba10f2d08449de2dd64584de06bb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no reason to have that rootfs.img filesystem in the image:
it's not used for anything because both the EFI and legacy boot paths
use the /initrd which contains the same contents as the rootfs.img,
only compressed. It was probably forgotten in there :)
My iso went down from 224 to 94 mb.
Tested using UEFI/legacy boots on CD-roms, usb dongle and qemu VM's.
(From OE-Core rev: 4c784379524cb12807ef87a02ef1514ed45c1cc3)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's really good that OE supports multiple EFI_PROVIDERs and that
commit 9a1709278de87 ("wic: isoimage-isohybrid: use grub-efi from
deploy dir") makes re-use of the grub-efi built image, but we should
still respect the standard otherwise the ISO will not boot, so install
grub images as boot[x64|ia32].efi not ${PN}-boot[x64|ia32].efi.
(From OE-Core rev: 1608129692d92c239b5fb9244b649a32b9009254)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes from 0d8de4ce:
c2d4ba8 drm-legacy: fix poll for flip event, actually exit on user input
56c3917 formats: use weston's egl config matching logic, centralize format
aac3788 Rework default modifier handling
4f7cec0 Use weak functions to handle lack of gbm modifiers
98f31bf cube-tex: make use of modifiers
063ce5c gbm: fix fallback for drivers that don't support modifiers
9dcce71 add MSAA
Also refresh gbm_bo_map/_unmap patch.
(From OE-Core rev: 4cc150f31f84d1cbc82df7d7f8fe045a06a9859e)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Builds keep failing with a race over the generated header file, fix it!
[YOCTO #12828]
(From OE-Core rev: 3db0b1e798797013e3c553c1ce599191da2c3daa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: update COPYING file format
Drop 0001-Replace-__BEGIN_DECLS-and-__END_DECLS.patch and
0002-Remove-funopen.patch since they are already fixed upstream.
Backport 0001-flopen-Add-missing-fcntl.h-include.patch to fix build with
musl.
(From OE-Core rev: 62981e79de16a2352744c4b275f0549b1dafd17a)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Add-P-prompt-into-Usage-info.patch since it is already fixed
upstream.
(From OE-Core rev: 02f8aff020762e77bf49587115f6b8fbc96296c9)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some reason the layer index is expanding HOSTTOOLS before BBINCLUDED is
set so recent changes break it. This adds in a simple workaround to stop it b
reaking allowing the index to function correctly again.
(From OE-Core rev: 40a904bf8bc1279c3da0893c003f740f1d2066c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cleanup the recipes which had been removed from oe-core.
(From OE-Core rev: 2dfbff215f3567252fdfbd5704e6740a30ad41b4)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move packaging rules for cmake -dev files from cmake.bbclass into
bitbake.conf to handle recipes (e.g. harfbuzz 1.8.1) which build with
autotools but also install cmake -dev files.
(From OE-Core rev: 543e39ad5e2baa0f1ece013a89483783e6b15dd9)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
FIXES [YOCTO #12734]
Added a new variable description and created a new
section in the dev-manual.
(From yocto-docs rev: 854e641482171585c96ee5b9387b3e64146072b9)
Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated some links. Also, rewrote the note about the libraries.
It was inaccurate.
(From yocto-docs rev: a0fce0ed36f3d0668e2d211433e7d93fb8833319)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I corrected some wrong information. Provided the correct terminology
for the build host, and provided quotations for supplied values to
be in line with manual writing conventions.
(From yocto-docs rev: 420a7e96e7145dbef31d706cd257059619f71e12)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made several formatting changes for selections. These should
be using quotes and not being formatted in Courier.
(From yocto-docs rev: ec0a2d7e3cfd78fa4e508d5672f1c8265a3600a4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rendered a menu correctly instead of in formatting mode.
(From yocto-docs rev: 7c7da68171dfee037d02fa683c5cba047237fd52)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The step that describes how Eclipse runs the Autotools is too
detailed and can run into problems as Autotools workflow changes.
I made it more general.
(From yocto-docs rev: 5d378a48f7237c620b7fc781b43ee86ea7522432)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed to render fields and items from the dialog in normal
text, not in formatted text.
(From yocto-docs rev: 204750e3e2a2e777207d5f2044e38d5482254c46)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both Neon and Oxygen needed some changes for correct use of the
way we refer to menus and fields.
(From yocto-docs rev: 1cb20243194e61b925df6b0a3b136233f1da8a57)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Used correct formatting for menu items and items fromt the
dialog screens.
(From yocto-docs rev: 9f9d4d65036dc23d193961efb4ae3f236fc8935c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list in the "Configuring the Neon Eclipse Yocto Plug-In
section should be an ordered list and not a bulleted list.
(From yocto-docs rev: 87926b1fb62f3678bd328af3f018f1b17a982092)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I provided similar wordings in places in this section as were provided
in the parallel "oxygen" section.
(From yocto-docs rev: f4fd33d10363ab84f1f76d3e4bf115df45aef77c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed to consolidate a couple steps here. When you add in the
location for the YP Plug-in, it auto-populates the options.
Updated the prose to reflect that.
(From yocto-docs rev: b16963844cd573e5f52289f8948b38a5d4a0f7f1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "Configuring the Neon Eclipse IDE" section needed a bit more
information in the note. Telling the users that if some options
are already installed they will not appear in the list.
(From yocto-docs rev: fbee757f102ee51e4db9fb6bdfd516775de8b5e0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Steps indicated you had to be in a clean directory to unpack the
tarball. This is false. You can be in any directory and unpack the
file. Unpacking it puts all the files into a directory named
"eclipse".
(From yocto-docs rev: 3e2fc8d013b51c1a90a44cf32a6cd69e2ef80a22)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed this step to be more accurate.
(From yocto-docs rev: 1a5c25c57a8f5829a8c3302520661def856adb58)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link was pointing to the Chapter 5 as if it were in a different
manual. The link worked but should have been pointing to the actual
section of the Eclipse flow overview. Fixed it.
(From yocto-docs rev: 4cc906bf383af837855f4c40fc107c77ff6d3ff9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since DISTRO_FEATURES was expanded in the comments, it created
task dependency to the full content of DISTRO_FEATURES, instead
of just the x11 used below. This prevented reuse of sstate-cache
when unrelated feature flags were changed.
(From OE-Core rev: a39830b77f567e2361f1ced49bfdce52591e220c)
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although there may still be specific cases which can benefit from the
ARM instruction set, the Thumb2 instruction set is generally a better
default for armv7a class CPUs. Distros such as Debian and Fedora have
been targeting Thumb2 by default for some time.
Note that setting ARM_INSTRUCTION_SET has no effect unless
TUNE_FEATURES contains "thumb" (which is controlled by the "t" suffix
in DEFAULTTUNE, e.g. armv7vehf-neon -vs- armv7vethf-neon, etc) so out
of tree machine configs may need to update their DEFAULTTUNE to take
advantage of this change.
(From OE-Core rev: c88304a78e528596ca481cabe273749c286c352a)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
package_qa_handle_error() returns True on non-fatal issues and False on
fatal issues. But the current usage has been to do
sane = package_qa_handle_error(...)
which would always reset sanity status to be that of the last issue
identified. This change the assignments to use the &= operator instead:
sane &= package_qa_handle_error(...)
As far as I can tell, this is not a real problem in practice, because
warnings of different levels (WARN_QA, ERROR_QA) does not seem to have
been mixed in a way that triggered this issue.
(From OE-Core rev: 21d015f6c9927598d64c48c925638619b25cf232)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a license file referenced from LIC_FILES_CHKSUM doesn't exist,
insane.bbclass would output an error message, but would continue the
build. This change makes this error fatal (as I suspect has been the
intention).
(From OE-Core rev: da29440633706fb7a346391d97894d6f2cbb0d01)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh 0014-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
to also define GLIBC_DYNAMIC_LINKER relative to SYSTEMLIBS_DIR on riscv.
(From OE-Core rev: 12e859dfb70f8aae40edfd88b143b6c771f4e1a6)
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If SOURCE_DATE_EPOCH is unset (in addition to the existing "0" behaviour)
parse out the top most commit timestamp from the kernel tree to use as the
timestamp.
(From OE-Core rev: 2f0dd67a5a8d4269f5155004d532d8fa972b3223)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When REPRODUCIBLE_TIMESTAMP_ROOTFS is unset and we want to parse one
from git, use COREBASE as the base for the git command so we have a
known repository which we're using. Without this the build may fail
if the current directory is not part of a git repository.
(From OE-Core rev: 1c2197f96d69547e10b74dc722d9a569d9a2b2b6)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although the ARM SWP instruction may exist for ARMv6 and above, it's
not guaranteed to work, especially on SMP systems where it's use may
lead to instability at runtime, etc:
https://community.arm.com/processors/b/blog/posts/locks-swps-and-two-smoking-barriers
Keeping the optimisation for architecture levels which pre-date SMP
(ie <= ARMv5) may be safe, however other distros (Buildroot, Debian,
Fedora, etc) are not doing so and mutex contention is likely to be
less of an issue on uniprocessor systems anyway, so the benefits of
this micro optimisations are not clear. Since OE uses ARMv5 qemu as
a proxy for testing all 32bit ARM architecture levels, it's desirable
to keep the ARMv5 builds aligned with later ARM architecture levels
wherever possible.
(From OE-Core rev: 7aa94abac09be6beb7ce14a2b9a409e934465706)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Systemd mount configuration file must have a name that match the mount
point directory they control. So for instance, if a mount file contains
[Mount]
...
Where=/mnt/my-data
The file must be named `mnt-my\x2ddata.mount`, or systemd will refuse to
honour it.
If this config file contains an [Install] section, it will silently fail
because the unit file is not escaped properly when systemctl is called.
To fix that, make sure paths are escaped through `shlex.quote`.
(From OE-Core rev: bbd9524256461f1bcafd4103edd575e668de76f8)
Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It allows to run program with some namespaces unshared from parent.
(From OE-Core rev: 68e0080a924654245f04cf92c2579abd9e5bc658)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
remove Fix-compilation-for-X32.patch as a solution simular is included in update.
notable changes:
The TLS 1.3 implementation was updated to Draft 28.
The CA certificates list was updated to version 2.24.
refresh patches
fix 32 bit build error nss bug: https://bugzilla.mozilla.org/show_bug.cgi?format=default&id=1459739
(From OE-Core rev: 1ed072515f2a23de75ee56b86d8607c85b42605c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We get fuzz warnings when applying these patches and devtool
reports it
(From OE-Core rev: cb3c0343becc8bb2ebf4e9c12782c509a3d7754d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Entropy is needed earlier in the boot process in some cases, for example
connman can require it, and rgd doesn't require much, so move it earlier
in the boot process, 03 for sysvinit, and before sysinit for systemd.
(From OE-Core rev: 31c9b42aaeef3ad66e05e51b8209e87f2a22f091)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was added as the recipe didn't inherit systemd, but it does inherit
systemd now.
(From OE-Core rev: c70b70f045a5ccf62b19060f3438b38d9914e9a2)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this, the package clutters up the root of /usr/share/doc.
(From OE-Core rev: af4f0d44acef328245dfe1bd102bb5e61293ee2d)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can fail for target, not just native.
(From OE-Core rev: 747c7dc8702d2241475894876d06a2f1f2b29fed)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than trying to construct a string by quoting the files in an
error-prone way, parse $EDITOR to pass a list to subprocess rather than
a string.
(From OE-Core rev: c9fdf3d046606a0becb2e6b566a481c483b9021a)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add an automated test to exercise that fetching a git: recipe...
1) works over git without mirrors
2) fails without git connectivity or mirrors
3) works without git connectivity but with a mirror
(2) is done by setting GIT_PROXY_COMMAND to 'false' which should break any git
network operations.
[ YOCTO #12805 ]
(From OE-Core rev: 13269dfbbc62faef32595343dc78250fdb2a2946)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following error messages appear now and then at boot time.
avahi-daemon/chroot.c: open() failed: No such file or directory
Failed to open /etc/resolv.conf: Invalid argument
The problem is about /etc/resolv.conf. In Yocto's systemd based
systems, it's a symlink to /etc/resolv-conf.systemd which in turn
is a symlink to /run/systemd/resolve/resolv.conf. The systemd-resolved
service handles creation of /run/systemd/resolve/resolv.conf file.
So if avahi-daemon is started before systemd-resolved, the error messages
appear.
Fix this problem by making avahi-daemon start after systemd-resolved.
(From OE-Core rev: 647db1d9eb65b225ffbb6953f796232026bfa935)
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 patch does nothing but reorganizing codes.
avahi.inc is shared by avahi and avahi-ui recipes. Move common things
into it, and move uncommon things out of it.
(From OE-Core rev: 75529d384bfeaf52befccb892cf41f22dc02668b)
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 upstream commit 61f32bff6130a44d077886d38cff89ad161bf177 included in
the release v229 removed the use of the group:
commit 61f32bff6130a44d077886d38cff89ad161bf177
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Feb 1 12:09:34 2016 +0100
tmpfiles: drop /run/lock/lockdev
Hardly any software uses that any more, and better locking mechanisms like
flock() have been available for many years.
Also drop the corresponding "lock" group from sysusers.d/basic.conf.in, as
nothing else is using this.
[...]
diff --git a/sysusers.d/basic.conf.in b/sysusers.d/basic.conf.in
index 823d6cb20..b2dc5ebd4 100644
--- a/sysusers.d/basic.conf.in
+++ b/sysusers.d/basic.conf.in
@@ -19,7 +19,6 @@ g wheel - - -
# Access to certain kernel and userspace facilities
g kmem - - -
-g lock - - -
g tty @TTY_GID@ - -
g utmp - - -
[...]
The upstream documentation doc/UIDS-GIDS.md says that basic.conf.in is "the
precise list of the currently defined groups":
## Special `systemd` GIDs
`systemd` defines no special UIDs beyond what Linux already defines (see
above). However, it does define some special group/GID assignments, which are
primarily used for `systemd-udevd`'s device management. The precise list of the
currently defined groups is found in this `sysusers.d` snippet:
[basic.conf](https://raw.githubusercontent.com/systemd/systemd/master/sysusers.d/basic.conf.in)
It's strongly recommended that downstream distributions include these groups in
their default group databases.
Removing the creation of the group also avoids the need to define a GID
for it when using static ids.
(From OE-Core rev: da3659155cd1825a4a8d3d7c5288b4273714de15)
Signed-off-by: Hannu Lounento <hannu.lounento@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
popt is a library, so it makes no sense for this to be in a "command line"
packagegroup.
(From OE-Core rev: 4af90876914e5f2ccc5b7f833cd43c239c2dac55)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A recipe that doesn't configure, doesn't compile, and just ships a single shell
script certainly does not need to build depend on popt and glib-2.0.
(From OE-Core rev: 8a771f22980f766b71f3ea0825568fc5c669e444)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alioth is dead and the minicom project on Salsa (the replacement for Alioth)
doesn't actually have any files in, so just use the Debian mirror instead.
(From OE-Core rev: b0338efcdabeec79c568c74b6888d7d523e8e9dc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a Debian snapshot mirror from 2018 (specifically, 10th March, the date 9.4
was released) to DEBIAN_MIRRORS.
(From OE-Core rev: f3f394913b4e4a7c601ad1158faaf8b9d493e1c7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alioth is dead so we can't use it for SRC_URI anymore. There is a shadow
repository on GitHub which is the new upstream, but for some reason it is
missing the 4.2.1 tag and tarball that we use. Also 4.2.1 was never uploaded
into Debian itself, so we can't use their mirror network either.
For now point SRC_URI at the Yocto Project source mirror and set
UPSTREAM_CHECK_URI so that we get nagged to upgrade to 4.6.
(From OE-Core rev: b3e246fef166030f327b5a852718ea907ada1759)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous host of chrpath, Alioth, is dead. chrpath hasn't yet moved to
Salsa, so download the tarball from the Debian mirrors.
(From OE-Core rev: a8a2c5ec891286a1e7fd5ebdd33565f9ae3965c2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated package to version 3.79.
The original FTP server, alioth.debian.org has been permanently taken
down by the Debian Project and replaced with salsa.debian.org.
Source: https://wiki.debian.org/Alioth
Also added HOMEPAGE, and BUGTRACKER.
[ tweak URL to work with checkpkg - RB ]
(From OE-Core rev: ee48cb68e5d91ba108cccdabce003233290ba816)
Signed-off-by: Oleksandr Kravchuk <dev@sashko.rv.ua>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Perf is superior in most ways and is preferred.
(From OE-Core rev: bcdaa93dc70411da8876364ae67d0bf2456a3611)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Checksum changed due to updation in documentation. There
are no changes in the license terms.
(From OE-Core rev: e8dfe9799e473e0ba911a0670aa23e8e8d700223)
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>
Update the kernel for v4.14 and v4.15 to include a workaround of
the Ethernet malfunction on edgerouter board when building with gcc8.
(From meta-yocto rev: a503919e72fad9556ab0f51a78b92ef3e0075e97)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently mpc8315e-rdb.conf comes after local.conf during parsing. We should
give local.conf a chance to overwrite the kernel provider assignment, like
other BSPs.
(From meta-yocto rev: c5c70afb0306d96ae63d7a67d658524ed6d91e88)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If uri_find contain parameters then original URI parameters should
be checked against parameters from uri_find instead of parameters
from uri_replace.
(Bitbake rev: 8efa7826a61501589afa33eb698c0ab3a622bf2e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is especially needed when defaulting to hard-float ABI
Fixes errors e.g.
cc1: error: -mfloat-abi=hard: selected processor lacks an FPU
Fixes [YOCTO #12795]
(From OE-Core rev: 85981cbbf0ce48a6d82bc39248afa9540ca858d8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Exception: TypeError: boolean accepts a string, not '<class 'bool'>
is a bit annoying if you pass in True/False. Tweak the function
to make it forgive that situation.
(From OE-Core rev: 147f5a665fe5073027d92e4acac631f15f08f79f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The testimage changes break the autobuilder. The plan is to revert these hacks
but due to various changes happening with the autobuilder, we need these for now
to keep things working until we can move to the new autobuilder codebase.
(From OE-Core rev: 309a02931779f32d1139cc1169a039cbe4638706)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both busybox and coreutils provide mktemp, and the only difference between those
(and standalone mktemp) is that coreutils supports --suffix.
Also mktemp.org has disappeared, so it's fair to assume that the standalone
mktemp (last released in 2010) is dead.
(From OE-Core rev: 59a825ca1e08a7e47fcbc807606103d463280e6c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
the '-delete' action no longer complains about disappeared files
when the '-ignore_readdir_race' option is given, too. That action
will also returns true in such a case now.
(From OE-Core rev: f0808ee03a244be1fb485e0046983a05193b23b6)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License changed since licenses for the bundled linenoise and lz4 codebases
were added. We don't build either of them. Add MIT since utf8proc is MIT
licensed.
Configure to use the internal utf8proc codebase since we have no copy of that in
OE-Core, nor any need to add one.
Add a dependency on lz4 which is now required rather than using the internal
codebase within subversion.
Drop a patch merged upstream.
(From OE-Core rev: 5bb47984af79fe2e8c3ba5bc6895741131f03bcd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The TEST_IMAGE interface has never particularly worked and image testing currently
gets configured manually.
This reworks the interface to better serve the needs of its users, replacing it
with TESTIMAGE_AUTO.
This does away with the need for the separate class due to better bitbake APIs for
changing tasks.
TESTIMAGE_AUTO will automatically boot under qemu any image that is built. It
also adds in dependencies so that any SDK for which testing is requested will
automatically be built first.
The code in bitbake.conf was error prone (e.g. testsdk wasn't considered), this
improves it to standardise on IMAGE_CLASSES as the standard configuration mechanism.
(From OE-Core rev: b34d44f3dfea8254826a46701a4fe3769a900434)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The logic can be improved and the historical NOISO/NOHDD variables
moved into the class and out of common code.
The variables are also then removed in favour of directly controlling
the behaviour from IMAGE_FSTYPES in line with all the other image types.
(From OE-Core rev: a052caed563a09a01f5a3ea1f0477f379c05bee0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Right now the code handling class inherits is spread all over and
its hard to get an idea of what is happening overall. Combine all
the code together to make it clearer. There shoould be no functionality
changes.
(From OE-Core rev: 9b6cda7ff443eebfc5a5a8c9442c93a881807dab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current looping structure is confusing, simplify it a bit
to improve readability. Should be no functionality changes.
(From OE-Core rev: 498065b51b205b43d7dae1008014eba85a8f138c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function is a little obtuse, add more comments about what its
doing and why. Also combine some of the statements where possible
to improve clarity.
(From OE-Core rev: 3e0c22e9bd9757cd458a073a3f043a48184d7bab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Once, there were do_setscene tasks but this hasn't been the case for years,
drop the old code.
(From OE-Core rev: b13a691f1cfc0d68a0f94c343fa3a1b987dbe117)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a reworked version of the issue which 5479654eea
attempted to fix.
"""
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.
"""
Instead of the original approach which broke do_package_setscene, add
an entry to explictly stop the stacking _setscene pieces on do_image_complete.
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: 0f4e734e0ef40076351ed7ff795aac36197e4949)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst this fixes the do_image_complete_setscene append problem, it creates a
new problem since the code can no longer reach the *do_package_setscene.*
code block below it. This breaks builds as per [YOCTO #12765]. Revert this
change in search of a better fix.
This reverts commit 5479654eea.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
always_include_xorg_server.h.patch is merged upstream, so drop it.
disable-x11-dri3.patch was purely to solve determinism issues with the shared sysroot, which
we don't have anymore.
Also remove redundant tarball checksums as this recipe fetches from git.
(From OE-Core rev: a40c5dcdd3f5b05d1a1bb348753a1d9101ef5152)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were shipping the Debian fork of the original code, but that has disappeared
now that Alioth is down. The driver didn't provide anything better than the
kernel and xserver's modesetting driver, so remove it.
(From OE-Core rev: 0e0b5e8abff3b0c30676bcfb76c60388ad2cfafe)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This driver is dead upstream and doesn't appear to provide any advantage over
upstream kernel drivers and xserver's modesetting support.
(From OE-Core rev: 61611dec98e5b13e95bb42500d6b261cdb95feb1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
You can now limit on a task-specific basis the number of threads
a task will use. This is useful for machines that have high
numbers of cores and need to be rate-limited due to various
resource constraints.
(Bitbake rev: 4937ed392fdc4442dd91f644f329dda29f27242c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In runqemu-ifup, ip command is used to add TAP; in runqemu-ifdown,
we should do the reversed logic, using ip command to delete TAP, to
make sure TAP is cleaned up by ourselves.
I can see that in runqemu-ifdown script, 'tunctl -d' and 'iptables'
commands are used to deal with TAP, but these two commands cannot
make sure that the TAP is cleaned up.
runqemu-ifup uses 'ip' to set up TAP, we really need to do the opposite
in runqemu-ifdown.
(From OE-Core rev: 322e41de7f4fb21315bf75f1038314c31ac4754b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add SIGTERM handler so that runqemu could clean things up correctly
when receving such signal.
This problem was originally observed when running testimage. On
some hosts, after running testimage task, the user has to manually
operate on the tap interface (e.g. `sudo ip link del tap0') in order
for the next runqemu command to launch successfully.
The problem is about runqemu, SIGTERM and network manager on the host.
In testimage task, the runqemu process will receive SIGTERM. In such
situation, its cleanup() function is not run, resulting in tap interface
not cleaned up. On some hosts, the network manager will bring down the
tap interface automatically, thus this problem. I saw this problem on
Fedora21.
I think we'd better just clean up the tap interface ourselves.
So this patch adds to runqemu a SIGTERM handler, in which the actual
qemu process is terminated and other things cleaned up.
(From OE-Core rev: 02709d4709c56f9b9095e3555da35b659b03a8a3)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Derive the value for template layer.conf from core layer and add
dependendency on it too.
Fixes [YOCTO #12767]
(From OE-Core rev: 461c305078c40fca8b5382e393e3e8513d4abfa4)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously a warning was printed regardless of context and nature
of the failure, and because it was only a warning, it was mostly ignored.
Now, the following is considered when a failure happens:
1) whether we are installing packages into a target image, or populating
a SDK with host or target packages.
2) whether the failure was due to qemu not supporting the target machine.
Accordingly, warnings, notes, and failures are printed, and postponing
to first boot happens if possible.
(From OE-Core rev: a335e78672b1e1ae3ea6427f6a805218e513bb52)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The variants are needed in particular when executing postinst_intercepts as
those may require running binaries built for different architectures and
against different sets of library paths, when multilib is in use (or nativesdk host
packages are installed), so a single global variant of the script was not working.
I do understand expanding PATH and DEPENDS in this manner is hackish, however
every other approach I could think of is worse.
(From OE-Core rev: 2f31eecc40ea4d0865aa28d65a0ba7d5a629393a)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously only one global variant of the script was created,
which caused numerous issues:
1) multilib was not properly supported due to multilib variants each
needing their own version of the qemu binary and library paths to be set
2) nativesdk was not properly supported for the same reason
This patch also moves setting LD_LIBRARY_PATH directly into the
recipe, as passing it down from other recipes did not work when
said recipes were allarch, and adjusts calls to qemuwrapper from
postinst-intercepts, so that its correct variant is selected.
Also, the various qemu fallbacks in qemuwrapper script are all removed,
as they are no longer necessary.
(From OE-Core rev: d10fd6ae3fe46290c6e3a5250878966d9f12ca3f)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise, there would be a failure at image creation time; avoid
that by postponing to first boot explicitly.
(From OE-Core rev: f3247720dc4b1c49e8fad734e20b17ba55843b97)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has the following benefits:
- consistent with how the other caches are created into target rootfs
- only runs once per package manager transaction, instead of once per every immodule package
- correctly postpones to first boot if qemu is not working; from postinst itself
this would've required special arrangements to avoid what is now a do_rootfs failure.
(From OE-Core rev: cca3c084b6c9bf600d7306e3fe12c4f236b78656)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Originally these ARM specific EXTRA_OECONF options were applied to
both gcc for the target and gcc-cross. That lead to a compromise
being made: gcc on the target was configured to default to an ARM
architecture which was at least compatible with the target (but not
necessarily an exact match) and gcc-cross was configured default to
armv7a for both armv7a and armv7ve (to avoid gcc-cross rebuilds when
switching between the two).
However, when these ARM specific EXTRA_OECONF options were moved from
gcc-configure-common.inc into gcc-target.inc (ie they were made to
apply only to gcc on the target) the compromise no longer needed to
be made.
http://git.openembedded.org/openembedded-core/commit/?id=851937dde81de2a9ef54c5f19a78fb12fb82afd4
(From OE-Core rev: 3c368282741e9de1f96988e127b86a6a01b6a26f)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gobject-introspection hard-codes the install path in the search path
for the typelib repository, pretty much the same way glib behaves for
the gio modules directory. Like for glib, this causes problems when
gobject-introspection-native is restored from sstate with a different
build directory.
Based on the glib fix by Ross Burton <ross.burton@intel.com>.
(From OE-Core rev: e4cee788056133ce0a49bc96e54399bdd7825aa3)
Signed-off-by: Sascha Silbe <x-yo17@se-silbe.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If package management is present opkg/dpkg will bring the original
copy of the postinsts scripts with the metadata and will be able to
handle postinsts just fine. In fact, it is preferred to let package
management handle the postinsts scripts in this case since it will
keep the package managers database up-to-date too. The run-postinsts
scripts will make sure the package manager gets invoked instead of
the scripts directly.
Note: Before commit 5aae19959a44 ("rootfs.py: Change logic to
unistall packages") rootfs.py did not install /etc/$pm-postinsts
too. It is not clear whether that change was intentionally or just
a bug. This commit fixes/reverts that aspect of the commit.
(From OE-Core rev: 4b571c59e3e6bd8b22a63f547a95757aeba5b638)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Start opkg/dpkg as soon as the respective package managers status
file is present, no matter whether /etc/$pm-postinsts exists. This
decouples the implicit link between postinsts scripts in /etc and
the package manager: Currently the package manager is only started
if those scripts are present, although the package manager does not
use those scripts at all! Package managers install their own set of
postinst scripts.
The behavior when using rpm packages stays the same.
Note that using the package managers capability to execute postinst
scripts is preferred for good reasons: It makes sure that the
package managers database reflects that the packages have been
completely installed and configured.
This change allows to drop installation of the postinsts scripts
when package management is present. This will be done in a separate
change.
Note: Before commit 5aae19959a44 ("rootfs.py: Change logic to
unistall packages") rootfs.py did not install /etc/$pm-postinsts
when package management is installed! The change caused YOCTO #8235
which lead to the behavior change of run-postinsts in first place.
(From OE-Core rev: 1af421fcf05457223bf271f3951599b6c150cdff)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OpenEmbedded has a built-in mechanism to run postinst scripts offline
at build time or, if necessary, on first boot (delayed execution). If
the latter is the case and systemd is in use, two services end up
doing the same thing:
- opkg-configure.service starts "opkg configure" directly.
- run-postinsts.service starts "/usr/sbin/run-postinsts" which runs
postinst scripts stored in /etc/ipk-postinsts/ or "opkg configure"
if package management is installed.
Since the run-postinsts.service is also used in cases where no
package management is in use, it is the primary means of handling
postinsts.
Get rid of the opkg-configure.service to avoid duplicate opkg
configure execution.
(From OE-Core rev: 23dcf7ea3af84721fac126a2b2f0f100f7266368)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure that the tests are packaged and can be executed
when ptest is enabled. Also, remove build host specific references
from Makefile.
(From OE-Core rev: d283b0eb909c78b020794ba78e7ec64c3fbee86f)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test cases assume that rpm-doc is built out, as it says it its
comment. This is not always true. And it sometimes results in
following error.
| cls.tc.target.copyTo(test_file, dst)
| UnboundLocalError: local variable 'test_file' referenced before assignment
Change to use base-passwd-doc, as this package is more likely to be
built out than rpm-doc.
(From OE-Core rev: 2e23543b48921182307065c1fa9e8b9d7fbb3cdc)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh the following patch:
0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch
(From OE-Core rev: 4032fd3ae640da8076617403152a30841507db4f)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The checksum value is only calculated if the uninative class is
inherited, so check for inherit before adding it to local.conf
(From OE-Core rev: 3b5b832589d943700b273e3a4d83561be0c47f36)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Indentation using a mix of whitespaces and tabs has been unified in
favor of tabs.
(From OE-Core rev: 3827f1aa4a2bb433e445802c48e32f72932950e6)
Signed-off-by: Dennis Menschel <menschel-d@posteo.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the format "tar.xz" is included in the IMAGE_TYPES bitbake variable
as defined in meta/classes/image_types.bbclass, it should also be
possible to extract a rootfs that has been built using that format.
(From OE-Core rev: f813ca7b085c7ddf76a34932e2b3f5bc3372b239)
Signed-off-by: Dennis Menschel <menschel-d@posteo.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
default-versions.inc is included by defaultsetup.conf which in bitbake.conf
is included after local/machine/distro.conf.
If these are hard assignments distros can's overwrite them.
(From OE-Core rev: b9fb89fb7189e631b615868d567e1eab504ee3c2)
Signed-off-by: Stefan Stanacar <sstncr@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The audit package specifies the following:
UPDATERCPN = "auditd"
However because it is not multilibized, the value "auditd" is used to
search for the package to add the post install script too. In the mutlilib
alternate abi case, that package does not exist. It ends up assigning
the post install script to the lib32-audit-lic package, which
subsequently failes to execute the script due to the initscript it is
trying to turn on is not installed.
(From OE-Core rev: ce99653e1af50d9e8f070ca6ae810908c4c138c6)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's a bug in Meson[1] where it find_program("foo") will fail if foo is
defined in the cross file as a list.
This is causing the Meson build of libdrm to fail, but for this instance we can
work around the problem by only using lists in the cross file if there are
arguments, and just using a string if there are not.
[1] https://github.com/mesonbuild/meson/issues/3737
(From OE-Core rev: 7fd8bc469c2caacc1c2021bd0aa83dd6da7fe1e7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The services and timers are not useful if a repo is not configured.
In OE, we default to have no repo configured. So we default to disable
these units.
The problem was found by the test_systemd_failed runtime test case.
dnf-makecache.service is found to fail. This is due to lack of repo.
Note that as this service is started by the dnf-makecache.timer, it's
possible that test_systemd_failed passes in case the timer is not started
yet.
(From OE-Core rev: c017f5528d1ae6316c9434ffd8702665bfe069f9)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following message from watchdog is not an error.
"error retry time-out = 60 seconds"
Checking watchdog's source codes, we have:
src/watchdog.c: log_message(LOG_INFO, "error retry time-out = %d seconds", retry_timeout);
It's clear this is an info message, so parselogs should ignore it.
(From OE-Core rev: c90dff78310ab1517555c4df39b3e2d2f59ff06d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current init script is installed from source with redhat style.
It does not get configuration from /etc/default/watchdog. We should use
debian style init script.
Write our own script just like what wd_keepalive does.
Also, in the init script, we check the existence of /dev/watchdog to
determine whether to start the daemon or not.
(From OE-Core rev: a31f8dd34e8ea34dfb087ed464575aa390ece09b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to make sure logs are not lost. As long as there's no
strong and vaild reason, we should make daemons start after syslog.
As a side effect, we could check the logs to see if there are
some potential problem. In OE, the 'parselogs' test case could
do it automatically.
(From OE-Core rev: 41e4d728ef92586e2714fa0c136b838c3fda051e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd has internal support for watchdog. See the RuntimeWatchdogSec
in /etc/systemd/system.conf.
We'd better just disable this service by default. If users want to use
watchdog, consider using the systemd one.
(From OE-Core rev: 183c9125e78ae1035894600a66b4ea1fa6a3a532)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch modifies watchdog.conf file. But this file is deliberately
deleted in do_install. The current mechanism in OE is to use another
recipe watchdog-conf to handle watchdog configuration. So the patch
is really useless.
(From OE-Core rev: 80638247143b15a5643f9fcc116d7bc7dcbf3496)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the following line to common_errors list.
Failed to read /var/lib/nfs/statd/state: Success
This message is not harmful, it does not result in rpc.statd starting
failure.
(From OE-Core rev: 0f2c39149941d95fa979ec675f9dc25655886e2c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
And use bitbake variables for install paths to fix nativesdk-openssh
compilation.
(From OE-Core rev: 70470dfa88338cae06670195bb7009cb13098ac2)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When generating the extended SDK, there is a copy step where this class
goes through the layers and other stuff that have been copied to
generate the SDK. The corebase; ie. the folder that contains the core
layer 'meta' is treated in a special way. Unfortunately in our tree, we
have:
sources/meta/meta
| `- core layer
`------- corebase
In populate_sdk_ext's copy_buildsystem, the heuristic to determine which
element of the list returned by copy_bitbake_and_layers is corebase is
fooled by such layout.
In copy_bitbake_and_layers, corebase is already handled specifically and
reliably, so we should let that function tell us which folder is
corebase instead of trying to determine it.
To do so, change the return type of copy_bitbake_and_layers to a tuple
that contains (corebase, copied_layers). It also simplifies the code on
the caller side.
(From OE-Core rev: 5368bc5d0d3606198b93e877bcafcd77bb5f4fd1)
Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's only one user of rsync.inc (meta-gplv2 has its own copy), so
merge the .inc file into the rsync recipe.
(From OE-Core rev: 4e42ad44f1df510a527d199b6ec41541f8939654)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An earlier version of a change was merged from S. Lockwood-Childs
<sjl@vctlabs.com> which made the CFLAGS consistent across native,
nativesdk and target cases. This syncs with a later verison of the
patch to remove duplicate CFLAGS settings and simplify the recipe.
(From OE-Core rev: 604777acfc54d285f315b622bd147ed02d55d6fd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When generating overlay DTB configuration sections, U-Boot doesn't want
the kernel specified again as we already have that in our base DTB. Add
support for this to allow bootm to process overlay configuration sections.
(From OE-Core rev: c0db9776beb4f519079a554a733353c368739dcf)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introduce UBOOT_DTB_LOADADDRESS and UBOOT_DTBO_LOADADDRESS so that you
can set where U-Boot loads full and overlay DTBs. This is required when
using bootm's overlay support to construct the final DTB.
(From OE-Core rev: 05d2230db1d7379494814407fc0d79d7e755d89e)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On high core machines, in do_fetch, it is possible to DDoS your own machine.
A method to limit any arbitrary task type to a certain number of simultaneous
threads is needed. (Similar to how BB_NUMBER_THREADS works in the general
case.) The format of this new limitation is:
do_fetch[number_threads] = "2"
This should be set globally. If it is set in individual recipes it could
result in unpredictable behavior.
Note: a value for number_threads > BB_NUMBER_THREADS will have no effect.
(Bitbake rev: 055865047c63b9c3b213b47a1884924ce0adeda0)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The RunQueueStats:taskCompleted and RunQueueStats:taskSkipped can take
multiple arguments. However, nowehere in bitbake are multiple arguments used.
Change this to match the behavior of the other APIs where it needs to be
called once for each task.
Additionally, these two functions were usually called in tandem, however in
the wrong order. It really doesn't matter as there is no specific preemption
point between the calls. But the taskSkipped should be called first to
increment the 'active' count, and then taskCompleted called to decrement it.
(Bitbake rev: 26d5ea9bb892bd6a2e1fd29a9023e0b0644edc16)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently there is quite some variation between the fetchers in terms
of how they determine the subdirectory within DL_DIR and the base
fetch command to run. Some rely on variables being set externally
(e.g. from bitbake.conf in oe-core), some respect these external
variables but provide fallback defaults and some use only hardcoded
internal values. Try to unify the approach used across the various
fetchers.
(Bitbake rev: efd5e35af4b08501c67e8b30f30d9457f6fdf610)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
alsa-tools is actually a collection of 20 separate tools, each with their own
configure scripts. The dependencies are varied, old, and estoric (FLTK, GTK+ 1, 2,
and 3, PyGTK 2, Qt3).
Instead of maintaining patches to try and pick a subset that builds, use
PACKAGECONFIG and some magic to build what the user requests.
By default we build all the tools which have no dependencies, and the tools
which need GTK+ 2 or GTK+ 3 if the relevant DISTRO_FEATURES are enabled.
Add a patch to fix the build of ld10k1 with musl.
The ncurses build dependency doesn't seem to be checked for, so remove that.
(From OE-Core rev: 83c9405df5748744ef673ac8757bb89d7050ad8d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously sshd_check_keys would create a full set of all possible
sshd host keys, even if sshd_config has been set to only enable
certain key types.
Update sshd_check_keys to only create keys which have been enabled in
sshd_config (with a fallback to creating a full set of key types if
no HostKey options are defined, as before).
(From OE-Core rev: 2303d795ae96f1a60caf145a0ddf100e89c4b5b0)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The openssh sshd init script contains a mix of indent styles, mostly
inherited from the Debian script from which it is derived. Leave the
indent from Debian as-is, but for lines which are OE specific (e.g.
where Debian's log_daemon_msg helper has been replaced with echo)
make the indent consistent with surrounding lines.
(From OE-Core rev: 68fb7d3b06887e0db3eef0ab231ced37cfa4894c)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "ssh-keygen" package no longer seems to be provided by any recipe
in oe-core or meta-oe, so there's no clear reason for the
openssh-keygen package to conflict with it.
(From OE-Core rev: 0c5567847edba6b5ab24ae505d16375397cf4b40)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Openssh takes care of enabling large-file support automatically via
the AC_SYS_LARGEFILE in the configure.ac, so additional help from the
recipe is not required.
Even if it were once required, defining __FILE_OFFSET_BITS (ie with
double leading underscores) looks like a typo and probably never had
any effect anyway?
(From OE-Core rev: 37b1a7bada267b89094ce0c3eb81b1de9f04df8e)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When include conf/distro/include/security_flags.inc, NOPIE flags are
still required for mips64 target builds. Otherwise it fails to build
packages such as glide which inherit go.bbclass:
| .../tmp-glibc/work/mips64-wrs-linux/glide/0.13.1-r0/recipe-sysroot-native/usr/bin/mips64-wrs-linux/../../libexec/mips64-wrs-linux/
| gcc/mips64-wrs-linux/7.3.0/ld: .../tmp-glibc/work/mips64-wrs-linux/glide/0.13.1-r0/go-tmp/go-link-518447869/go.o:
| relocation r_mips_26 against `a local symbol' can not be used when making a shared object; recompile with -fPIC`
Use override 'mipsarch' to set SECURITY_CFLAGS for both mips and mips64.
(From OE-Core rev: 98b24e9268dc444356ce8bd9ddfec6adcce5e02a)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Apply patch from Taras Kondratiuk <takondra@cisco.com> to gcc 8.x too.
Normal gcc-cross has build-id feature enabled by default, so most of
target binaries has build-id. But libc (glibc, musl) doesn't have
build-id, because it is built with gcc-cross-initial.
Build-id is a useful feature, so enable it for gcc-cross-initial too.
(From OE-Core rev: f24308c95853bec5cfc9f0794b111c6afecbe768)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Normal gcc-cross has build-id feature enabled by default, so most of
target binaries has build-id. But libc (glibc, musl) doesn't have
build-id, because it is built with gcc-cross-initial.
Build-id is a useful feature, so enable it for gcc-cross-initial too.
(From OE-Core rev: ba69701dac785a220feffd6118718b1c9e733548)
Signed-off-by: Taras Kondratiuk <takondra@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch isn't needed for musl or glibc, so drop it.
(From OE-Core rev: 46275ed3de30e6095b0d7ef71aad842e5ea9fe30)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
b'Your entry can be found here: http://<snip>'
Now looks like:
Your entry can be found here: http://<snip>
(From OE-Core rev: 4510973fe12a61c21e12b46b8315c56f91eff5b7)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Andrej has kindly stepped up as the busybox maintainer.
(From OE-Core rev: 9102319b85ed097fc63c0b56e3b9242be28ec5ab)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SystemD 237 implements a stricted PIDfile handling that breaks several
daemons [1].
Change the way we start xinetd, mimicing other distros [2].
Fixes:
root@qt5122:~# journalctl -u xinetd
-- Logs begin at Fri 2018-05-25 14:33:29 UTC, end at Mon 2018-06-11 07:33:08 UTC. --
May 25 14:33:31 qt5122 systemd[1]: Starting Xinetd A Powerful Replacement For Inetd...
May 25 14:33:31 qt5122 systemd[1]: xinetd.service: Permission denied while opening PID file or unsafe symlink chain: /var/run/xinetd.pid
Jun 11 07:27:24 qt5122 systemd[1]: xinetd.service: Start operation timed out. Terminating.
Jun 11 07:27:24 qt5122 systemd[1]: xinetd.service: Failed with result 'timeout'.
Jun 11 07:27:24 qt5122 systemd[1]: Failed to start Xinetd A Powerful Replacement For Inetd.
Jun 11 07:31:38 qt5122 systemd[1]: Starting Xinetd A Powerful Replacement For Inetd...
Jun 11 07:31:38 qt5122 systemd[1]: xinetd.service: Permission denied while opening PID file or unsafe symlink chain: /var/run/xinetd.pid
Jun 11 07:33:08 qt5122 systemd[1]: xinetd.service: Start operation timed out. Terminating.
Jun 11 07:33:08 qt5122 systemd[1]: xinetd.service: Failed with result 'timeout'.
Jun 11 07:33:08 qt5122 systemd[1]: Failed to start Xinetd A Powerful Replacement For Inetd.
[1]: https://github.com/systemd/systemd/issues/8085
[2]: e490406367
(From OE-Core rev: eea25f03e4c46cfe0d05df46f8f50e1389179c80)
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add version field in recipe name for example recipe created by
bitbake-layers.
Fixes [YOCTO #12767]
(From OE-Core rev: c62f6b9643d31b465ea0e919882e411a5ed35c56)
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>
By default, we ought to use console="${console},${baudrate}" as
console bootparam as commonly it is left to be passed with the
bootargs.
(From OE-Core rev: 2ce3534b2011cf5516780c9fd7e00bd107619adc)
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>
Inherit manpages to update manual file index caches after installation
for man-pages.
(From OE-Core rev: 72e5e124e565c5a72771c7325a783011aedcab96)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a package installs manual files, it should update manual index cache
after its installation. Add package 'man-db' to RDEPENDS which contains
command 'mandb' to update the cache. And do the update in the post
install scripts.
(From OE-Core rev: 078900f2416202b677471b10b69c8defb0f14c8d)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemu doesn't use autotools, so don't inherit it and just call 'make install'
directly.
No need to alter makefiles anymore, as they appear to respect CFLAGS now.
Remove a chmod of beginend_funcs.sh (a file we patched in, and removed,
many years ago).
(From OE-Core rev: b52a9d108d72ebdf93f2dc51aa6f26ccc890d451)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wayland has moved to GitLab with the result that /releases/ no longer returns a
directory listing, so the upgrade detection doesn't work.
The upgrade detection can scan releases.html just as well, so tell it to look
there.
(From OE-Core rev: 8befb09eb28bb6d8884d2052cd63c2c319eceed1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The handling of the environment setup was moved to the post-relocate
script handler, and so is no longer necessary in the setup script
(From OE-Core rev: 710b93a24df6372abd6d7aa0ede8750cf4bf88b4)
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>
systemd by default sets the system time at boot to the date of its NEWS
file. It provides the option to change that at build time, and some
projects need to come up at a particular date if no RTC is present.
Provide the option to set the time at boot to the epoch instead of the
date of the NEWS file.
(From OE-Core rev: bf1847cd369fe72b8f8e04e2661bb7d2d3524ea2)
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>
Instead of patching Module::Build, maybe Module::Build::Tiny and all other
similar tools, use the official way to tell them which is the target perl
on target.
(From OE-Core rev: f3925216b06ff7fbe21989210f8eb11e16be6631)
(From OE-Core rev: 306435507c4790ec44f30cd3c7fa7d340b441ec4)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These packages use hand-grown makefiles which don't handle cleans as they can
invoke /usr/bin/gmake directly which may not exist. Until new upstream releases
are made (which have ported to automake) set CLEANBROKEN to work around this.
[ YOCTO #12775 ]
(From OE-Core rev: eb924bc684f92fc2d806715872667f241e54b365)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gresource-tool has optional support for using libelf to extract resources from
ELF files, so add a PACKAGECONFIG in case someone wants this.
(From OE-Core rev: 93f08a036343d4df1aefe9793a7a9ab5b296f5b5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It should be RCONFLICTS_${PN} instead of RCONFLICTS_${PN}-syslog.
There's no ${PN}-syslog package.
(From OE-Core rev: 840d04182bc71ae3f6f562f668b9900c5625e1aa)
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>
Set .file section explicitly for .S files to avoid
the linker introduces the host path in symbols for
object files whose source file is .S
Otherwise, there is a host path in the symbols as
below:
$ readelf --wide --symbols /my-build/boost/1.67.0-r0/boost_1_67_0/x86_64-poky-linux/boost/bin.v2/libs/context/build/aca09349fdb84d131321425f6c3a38ed/libboost_context.so.1.67.0
42: 0000000000000000 0 FILE LOCAL DEFAULT ABS /my-build/boost/1.67.0-r0/boost_1_67_0/x86_64-poky-linux/boost/bin.v2/libs/context/build/aca09349fdb84d131321425f6c3a38ed/asm/make_x86_64_sysv_elf_gas.o
[YOCTO #12708]
(From OE-Core rev: 5d785dadf2bd35f4ae7304ab927fda10368377ce)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable use of pread() and enable column metadata API for nativesdk builds.
This brings nativesdk in line with target and native builds.
(From OE-Core rev: 7c8b85e1c3d852975cd5961a297aa939bf4c7fe7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The change "fix hostname conflict with other packages" moved the
hostname util to the list of base_bindir_progs, so do_install_append()
now expects hostname to have been built.
coreutils do_install_append() is shared between target and nativesdk
builds (though not used by native build, see comment) so hostname should
be enabled to build on both of them.
(From OE-Core rev: 57f1f5708306a6121b1172c5163c6566d5bcb89c)
Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since ltp contains x86-64 assembler which uses the
frame-pointer register, it will trigger below error
when build ltp with -fno-omit-frame-pointer on
x86-64.
| cve-2015-3290.c: In function 'child_thread':
| cve-2015-3290.c:416:1: error: bp cannot be used in asm here
And there is also some comment as below in the source
file ltp/20180515-r0/git/testcases/cve/cve-2015-3290.c
* Build with -O2. Don't use -fno-omit-frame-pointer.
So explicitly set -fomit-frame-pointer on x86-64 for
compiler to fix the above build error.
(From OE-Core rev: 3084ff86d61b54011e0647ee17cbba521bafc9df)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch adds the posibility to build using TCLIBC=newlib.
It allows users to build baremetal applications with the use of a
C library.
Newlib is a lightweight C library meant to be used on embedded systems,
it is meant to be easily portable for new platforms and to provide
basic functionality on them, by design, it provides stubs for some of
these core functions declared as weak, so they can be built correctly
and then linked against some other library which provides specifics
about the platform being used if need be, libgloss takes care of these
in some cases, but it can also be extended, this patch also allows the
user to easily add other libraries to it by adding them to
NEWLIB_EXTENDED for this specific reason.
(From OE-Core rev: 9f0570351a7b0877aa50efff5fe9a9ef368cb38f)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch adds makes it possible to build elf for powerpc by adding
this combination to the elf headers machine dictionary, this can be
useful when trying to build baremetal applications where the TARGET_OS=elf
(From OE-Core rev: 6f7ef4f6049fa8f2a8e17abfcf53ccbc22394088)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newlib is a C library that is intended to be used on embedded systems.
It is a conglomeration of several library parts, all under free software
licenses that make them easily usable on embedded products.
Newlib provides a C library alternative that can run on baremetal, mainly
for resource constrained devices.
Libgloss is the BSP part of the C library, which can be easily modified
to port for new hardware platforms.
(From OE-Core rev: fe490ff829440b94124317759d856e2e2daf5047)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes issues with fontforge-native.
(From OE-Core rev: cec85a6fcadc24fd266fa34631cb095e0a773c1a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The step describes the installation process and the intial launch
process. No information exists for describing how you launch
Oxygen from outside the install process. I added a note that
tells where the "eclipse" binary is installed and an example
line to invoke it.
(From yocto-docs rev: dc59410caf18e36497d70ea3c877b4f82f620e2c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided better instructions and accounted for the fact that it
is just this workflow here that is assuming the need for a
YP-built image.
(From yocto-docs rev: a05091768c914817ed262b15d39e7c9b54a5b863)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the "Workflow Using Eclipse" section head to not match so
closely the "Working With Eclipse" section heading. TOC appeared
funny.
Also, updated the step 1 to be more accurate regarding the real
need of having a YP build host and where to go to get information
on setting it up.
(From yocto-docs rev: 1cbca098a2f793bd86b6f73d3d35ce79bdf639f0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found several items that were slightly off after working through the
procedure. Updates to bring it into line with reality.
(From yocto-docs rev: 0f34afe3c37dedda28a1a5714703787a5dfe649d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Expanded this section to contain a figure of the flow and an
example that showcases the ways to override and use SDK
environment and Makefile variables.
(From yocto-docs rev: 834c059c1df4e8328248ea86fa23ca9a397351fa)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Makefile-Based Projects section was expanded to add a useful
example and figure. Added this figure to the sdk-manual and
mega-manual figures folders.
Updated the Makefile to include the new figure as part of the
tar files for each manual.
(From yocto-docs rev: 6261cb55b6393e0d5dce91cdb7c8e6e83849ec0c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Autotools is simpler now as it uses "autoreconf" to one-step a bunch
of the existing tools such as aclocal and autoconf. I updated the
figure to reflect the simpler flow and also the steps that accompany
the figure.
(From yocto-docs rev: 380cb1bb89003229befb4715e875586c798d6735)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I wrote the section to include a flow diagram using "make" and
provided a working example highlighting how to override environment
variables.
(From yocto-docs rev: 00e8e09a51a1f0305317f38975a9d7695c92bdb5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two changes here. One was a note to the "make" step of the
Autotools-based section. I cross-referenced the Makefile section
for information on how SDK installation environment variables
are respected and or overridden when using make variables.
Also, fixed the quotation syntax of the four environment variable
examples used in the "Makefile-Based Projects" section.
(From yocto-docs rev: 5bd4e056496ff3478e213ccd9e49adfe1fac67ab)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New figure for the section on Autotools workflow. The figure
goes in the folders for both the sdk-manual and the
mega-manual.
Updated the Makefile to include the new figure in the tarball
when creating both manuals.
(From yocto-docs rev: ccb2c4b9ebd0b0aaa55b5790eb6a916701e10af4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Did a re-write of this section with better explanations.
I also pulled the bit about passing parameters to the
configure script into the step that talks about that.
(From yocto-docs rev: 79432ba0eb0cc2f6bdb3410fbf99f227fb666b2c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The line used to be "AC_PROG_INSTALL". I did some digging and can't
really figure out why the example is not following the standard
"helloworld" stuff out there all over the internet. So, I have the
user create a configure.in file as follows now:
AC_INIT(hello,0.1)
AM_INIT_AUTOMAKE([foreign])
AC_PROG_CC
AC_CONFIG_FILES(makefile)
AC_OUTPUT
The original was as follows:
AC_INIT(HELLO,0.1)
AM_INIT_AUTOMAKE([foreign])
AC_PROG_CC
AC_PROG_INSTALL
AC_OUTPUT(Makefile)
(From yocto-docs rev: ed86d61178f86df3248b34d52602121c39bd56b5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link was going to a spot from which another link was suggested.
Too many redirections for the reader. Linked to the original place
instead.
(From yocto-docs rev: 9fc383a99ae0a7ff8cae761c0c31b27030f765cf)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Formatting used for the "configure" script created using the
"autoconf" command in the example.
(From yocto-docs rev: dd55ceb2c19f9e013c13e776acf7201c25501ff7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Autotools example called for a "configure.in" file as part
of the "hello-world" example. When working through the example,
a warning occurs saying that the file needs to be "configure.ac".
I changed the example.
(From yocto-docs rev: 7f677e3bbf0331228ed5aed1ace7c55d523d3121)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed to reference a couple terms for first use: "cross-development
toolchain" and "OpenEmbedded build system".
(From yocto-docs rev: 2370c3508574efe05e768f4515fec5b17f0ca177)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed the output to reflect the real command's output. Updated
prose to match (mostly) that used in the similar extensible SDK
sections.
(From yocto-docs rev: fb6c8895f2afda0c43bbaa49870c425e25841ec4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed some poor writing in this section.
(From yocto-docs rev: 5709c2c2c1c37166ec5df1193b58ff82bb10b4c3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed a grammar error and made a few other corrections.
(From yocto-docs rev: 369a22ffe3780fd00514344f1b3b8a944305e320)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a cross-reference to the term "build host". Corrected
a subject/verb grammar error.
(From yocto-docs rev: 8763e333867d0039315f0ca0aa96fdadea676783)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section was poorly organized with a mile long sentence as
the opener. Fixed it.
(From yocto-docs rev: c7624244e40c807d1c3cea80d2eced3cd9948019)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed a few sentences up by providing clearer text.
(From yocto-docs rev: e81984d73c05f2d722bc082a100d01c3cc0173ab)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a cross-reference link to the term "bulid host" and removed
the redundant word "system".
(From yocto-docs rev: 205d6fb6030cecb02301ec9cdc92ac908d250160)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed some prose in various places.
(From yocto-docs rev: f754969eff4c314d9f4c489cca2b3c2f8fd87fff)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates to prose for better understanding.
(From yocto-docs rev: 44a07560845c973a0da4c27969c740d3d712d323)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated various prose for better understanding.
(From yocto-docs rev: ddbd66d7732bbc8b4940c660f8a8c941a5cc4ea2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Poor writing left over in here. Updated some of the prose.
(From yocto-docs rev: 8f71cd997c86610dd62780f74f39dad811098540)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Corrected some prose to be clearer.
(From yocto-docs rev: c73f3d486fab555e6c6ac3dd1f5fbaf4d531ab29)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Took out the $TMPDIR part for the output and left more generically
as "Build Output".
(From yocto-docs rev: 4b0375e3293d67e4b5be433cd6c468532fee5a30)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added more detail at the top for how the local recipe interacts
with the Upstream Source.
(From yocto-docs rev: c1d49a7c00c458b55396c0efc7a329acd870be6c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Minor edits from the read-through.
(From yocto-docs rev: d165438d3d02f3154fc59197d75ab1cb6a285320)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added more detail on how the upstream source or files from
srctree are located.
(From yocto-docs rev: 5eff4b1b68c232071814969b6367188352639f17)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.14 and 4.15 for edgerouter/beaglebone
to fix gcc8 build issues.
(From meta-yocto rev: c5e07b460cf9477181d2dcde8ea93daeeacc9a2e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.12, 4.14 and 4.15.
(From meta-yocto rev: eb025ae398c0042ddc7be75e4ebdeb1fb1344c03)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Making the following commit available to fix mips gcc8 build issues:
commit e25dbfe95302eeaa1a03a828d05c09479574488a
Author: Kevin Hao <kexin.hao@windriver.com>
Date: Mon Jun 11 18:17:54 2018 +0800
MIPS: Use '+=" instead of '=' to avoid the CFLAGS override
We used the CFLAGS_xxx to workaround the gcc 8 build warnings
for some specific file. But CFLAGS_xxx is also used with '=' in
other places of this Makefile. This override the gcc 8 workaround,
so replace all the '=' with '+=" to fix this issue.
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
(From OE-Core rev: 8ab5b439ea82ac775494a0ce7a6f3615b61c94be)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following upstream commit to fix gcc regression:
crypto: aes-generic - fix aes-generic regression on powerpc
commit 6e36719fbe90213fbba9f50093fa2d4d69b0e93c upstream
My last bugfix added -Os on the command line, which unfortunately
caused a build regression on powerpc in some configurations.
I've done some more analysis of the original problem and found
slightly different workaround that avoids this regression and also
results in better performance on gcc-7.0: -fcode-hoisting is an
optimization step that got added in gcc-7 and that for all gcc-7 versions causes
worse performance.
This disables -fcode-hoisting on all compilers that understand the
option. For gcc-7.1 and 7.2 I found the same performance as my previous
patch (using -Os), in gcc-7.0 it was even better. On gcc-8 I could see
no change in performance from this patch. In theory, code hoisting
should not be able make things better for the AES cipher, so leaving it
disabled for gcc-8 only serves to simplify the Makefile
change.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Link: https://www.mail-archive.com/linux-crypto@vger.kernel.org/msg30418.html
Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83356
Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83651
Fixes: 148b974deea9 ("crypto: aes-generic - build with -Os on gcc-7+")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(From OE-Core rev: 69e2b2ce2f499058d48a3b35febc757247e9df69)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will solve the mcpu/march conflicts we get when -mcpu=cortex-a7
is passed on cmdline since it will become incompatible with default
ifuncs in libatomic which is using armv7-a
(From OE-Core rev: 015b0d8ed6aa766e8cc96d10218ac86a28728bf9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest korg -stable for v4.14, which comprises the following
commits:
2c6025ebc7fd Linux 4.14.48
1dd9566d9542 powerpc/mm/slice: Fix hugepage allocation at hint address on 8xx
399e039634a4 powerpc/mm/slice: Enhance for supporting PPC32
b8b23e8926b3 powerpc/mm/slice: create header files dedicated to slices
e14db4feb035 powerpc/mm/slice: Remove intermediate bitmap copy
c95c5f419e57 drm/i915: Disable LVDS on Radiant P845
72571f26757e drm/i915/lvds: Move acpi lid notification registration to registration phase
ffedc7ade784 drm/psr: Fix missed entry in PSR setup time table.
5890358c60e5 intel_th: Use correct device when freeing buffers
792be048cf9c Revert "rt2800: use TXOP_BACKOFF for probe frames"
a7027b7d698e mm/huge_memory.c: __split_huge_page() use atomic ClearPageDirty()
4a1b66bcec03 IB/core: Fix error code for invalid GID entry
bdf1daba5f62 hwtracing: stm: fix build error on some arches
1f8c4ed2dba5 stm class: Use vmalloc for the master map
a70f19b29560 scsi: scsi_transport_srp: Fix shost to rport translation
8a6576219da8 MIPS: prctl: Disallow FRE without FR with PR_SET_FP_MODE requests
f7a36d7ac838 MIPS: ptrace: Fix PTRACE_PEEKUSR requests for 64-bit FGRs
ed5bd13bec35 MIPS: lantiq: gphy: Drop reboot/remove reset asserts
6d67a723ef37 iio: adc: select buffer for at91-sama5d2_adc
838f25e3d9f2 iio:kfifo_buf: check for uint overflow
30ab9366f763 iio:buffer: make length types match kfifo types
d30819abd1c4 iio: ad7793: implement IIO_CHAN_INFO_SAMP_FREQ
a6f81fcb2c39 tcp: avoid integer overflows in tcp_rcv_space_adjust()
96b086a7bfe5 kbuild: clang: disable unused variable warnings only when constant
9b6eda5797b1 platform/chrome: cros_ec_lpc: remove redundant pointer request
a81920c73eb0 ASoC: Intel: sst: remove redundant variable dma_dev_name
bcc9c6f03201 rtlwifi: rtl8192cu: Remove variable self-assignment in rf.c
8524af02d132 drm/amd/powerplay: Fix enum mismatch
074e30a3fc09 dma-buf: remove redundant initialization of sg_table
5a92c6e3e2f3 drm/i915: Always sanity check engine state upon idling
151b144bc602 kbuild: clang: remove crufty HOSTCFLAGS
bc342bc02954 cfg80211: further limit wiphy names to 64 bytes
9808c97d3cb4 selinux: KASAN: slab-out-of-bounds in xattr_getsecurity
c6a95f37d3a0 tracing: Make the snapshot trigger work with instances
8441a0014a29 tracing: Fix crash when freeing instances with event triggers
2be683020be4 Input: elan_i2c_smbus - fix corrupted stack
9a85abc79483 Input: synaptics - add Lenovo 80 series ids to SMBus
9c707c93e179 Input: synaptics - add Intertouch support on X1 Carbon 6th and X280
af504c5a88b3 Input: synaptics - Lenovo Thinkpad X1 Carbon G5 (2017) with Elantech trackpoints should use RMI
88859f6cc5c4 Input: synaptics - Lenovo Carbon X1 Gen5 (2017) devices should use RMI
d1db300b8ffc xfs: detect agfl count corruption and reset agfl
d9a59eac3fd6 xfs: convert XFS_AGFL_SIZE to a helper function
54978daa9dc5 PCI: hv: Fix 2 hang issues in hv_compose_msi_msg()
085fc1967b56 Revert "pinctrl: msm: Use dynamic GPIO numbering"
4cbe6caa4c6c x86/MCE/AMD: Cache SMCA MISC block addresses
5df3a1b9f87b x86/mce/AMD: Carve out SMCA get_block_address() code
6bcf3b066c69 objtool: Fix "noreturn" detection for recursive sibling calls
806a730c0b0b objtool: Detect RIP-relative switch table references, part 2
afb5e5c8a125 objtool: Detect RIP-relative switch table references
2c26d5784e71 objtool: Support GCC 8 switch tables
1bea53df12c4 objtool: Support GCC 8's cold subfunctions
b968dd7650c8 mm: fix the NULL mapping case in __isolate_lru_page()
6a19487d5a93 fix io_destroy()/aio_complete() race
57a3ca783596 Linux 4.14.47
3e496be2038a Revert "vti4: Don't override MTU passed on link creation via IFLA_MTU"
bf4367d790c5 Linux 4.14.46
48aaff1bcde7 Revert "perf record: Fix crash in pipe mode"
ec39812d2117 tools: sync up .h files with the repective arch and uapi .h files
c0f1d9bfd913 perf tools: Add trace/beauty/generated/ into .gitignore
2c2b15bb0e88 Linux 4.14.45
cd95b6e70712 drm/vmwgfx: Set dmabuf_size when vmw_dmabuf_init is successful
829484eb3e00 kdb: make "mdr" command repeat
39958037723a pinctrl: mcp23s08: spi: Fix regmap debugfs entries
bd36ea57d6d5 pinctrl: msm: Use dynamic GPIO numbering
bd1a6e338c1b regulator: of: Add a missing 'of_node_put()' in an error handling path of 'of_regulator_match()'
36016bab698b ARM: dts: porter: Fix HDMI output routing
105479a0278c ARM: dts: imx7d: cl-som-imx7: fix pinctrl_enet
0b7761ec49e4 i40e: Add delay after EMP reset for firmware to recover
be5f9b150b64 regmap: Correct comparison in regmap_cached
253aa8296a5e ARM: dts: at91: tse850: use the correct compatible for the eeprom
ffc1f3ac180c drm: rcar-du: lvds: Fix LVDS startup on R-Car Gen2
e5b5d9be211e drm: rcar-du: lvds: Fix LVDS startup on R-Car Gen3
ce7da8b88f6a netlabel: If PF_INET6, check sk_buff ip header version
b9cd90c15ea7 selftests/net: fixes psock_fanout eBPF test case
6ce500756288 perf tests: Fix dwarf unwind for stripped binaries
dac66c47df6c perf report: Fix memory corruption in --branch-history mode --branch-history
fb872eb1131d perf tests: Use arch__compare_symbol_names to compare symbols
da5329644ad6 perf report: Fix wrong jump arrow
4489f688fc3b perf test: Fix test case inet_pton to accept inlines.
39478b7590d0 x86/apic: Set up through-local-APIC mode on the boot CPU if 'noapic' specified
4c27990631f1 drm/rockchip: Respect page offset for PRIME mmap calls
8755c4061ea9 MIPS: Octeon: Fix logging messages with spurious periods after newlines
f0cf2575cd47 dpaa_eth: fix pause capability advertisement logic
80300e879f9e pinctrl: sh-pfc: r8a7796: Fix MOD_SEL register pin assignment for SSI pins group
46d8696c613b rcu: Call touch_nmi_watchdog() while printing stall warnings
162af93fa251 net: stmmac: call correct function in stmmac_mac_config_rx_queues_routing()
4a856adf2823 audit: return on memory error to avoid null pointer dereference
a548ba4de32e PCMCIA / PM: Avoid noirq suspend aborts during suspend-to-idle
7d5ab9bf4f34 ARM: dts: bcm283x: Fix pin function of JTAG pins
c10dc67e720b ARM: dts: bcm283x: Fix probing of bcm2835-i2s
13b520688d2c power: supply: ltc2941-battery-gauge: Fix temperature units
72662ff1cf85 sh_eth: fix TSU init on SH7734/R8A7740
83e698e4684a ixgbe: prevent ptp_rx_hang from running when in FILTER_ALL mode
504583768092 udf: Provide saner default for invalid uid / gid
cb808972d770 PCI: Add function 1 DMA alias quirk for Marvell 88SE9220
5197a9786fee dpaa_eth: fix SG mapping
602234ea4466 cpufreq: Reorder cpufreq_online() error code path
8a6be5403774 net: stmmac: ensure that the MSS desc is the last desc to set the own bit
a3d4c34cdea9 net: stmmac: ensure that the device has released ownership before reading data
957094fcc06f drm/amdgpu: adjust timeout for ib_ring_tests(v2)
230d616f58a9 drm/amdgpu: disable GFX ring and disable PQ wptr in hw_fini
de9054cdc8d0 ARM: dts: dra71-evm: Correct evm_sd regulator max voltage
ee6f703020ab drm: omapdrm: dss: Move initialization code from component bind to probe
909474cd384c dmaengine: qcom: bam_dma: get num-channels and num-ees from dt
7efeaf6d5193 vfio-ccw: fence off transport mode
fe2fc07d2a31 pinctrl: artpec6: dt: add missing pin group uart5nocts
72678f7a2922 pinctrl: devicetree: Fix dt_to_map_one_config handling of hogs
39c655c5edfe hwrng: stm32 - add reset during probe
259cdaff0e91 watchdog: asm9260_wdt: fix error handling in asm9260_wdt_probe()
87337cb5663c enic: enable rq before updating rq descriptors
b3b26307208e dmaengine: rcar-dmac: Check the done lists in rcar_dmac_chan_get_residue()
e41de468a6f4 dmaengine: pl330: fix a race condition in case of threaded irqs
a64948842d00 block: null_blk: fix 'Invalid parameters' when loading module
f0078d2068b2 tools: hv: fix compiler warnings about major/target_fname
f85634b7b6d0 drm/bridge: sii902x: Retry status read after DDI I2C
3b64e1cf6b92 phy: qcom-qmp: Fix phy pipe clock gating
10626a0c2027 ALSA: vmaster: Propagate slave error
b1ebc21c146b phy: rockchip-emmc: retry calpad busy trimming
1fadfed83913 x86/devicetree: Fix device IRQ settings in DT
5e54596b33f6 x86/devicetree: Initialize device tree before using it
c78e4a47bc4d gfs2: Fix fallocate chunk size
c1dab7872b32 soc: qcom: wcnss_ctrl: Fix increment in NV upload
0a3b66b55a95 arm64: dts: qcom: Fix SPI5 config on MSM8996
b9e852513fca perf/x86/intel: Fix event update for auto-reload
359769ca6d16 perf/x86/intel: Fix large period handling on Broadwell CPUs
ecaa7bd342ad efi/arm*: Only register page tables when they exist
e6e5de32470b cdrom: do not call check_disk_change() inside cdrom_open()
017f2ee20675 perf/x86/intel: Properly save/restore the PMU state in the NMI handler
8f8ebc0ba07c hwmon: (pmbus/adm1275) Accept negative page register values
afcbcb432e84 hwmon: (pmbus/max8688) Accept negative page register values
127b06ef520d drm/panel: simple: Fix the bus format for the Ontat panel
ede5dd7822c6 perf/core: Fix perf_output_read_group()
8ba9b0300c18 max17042: propagate of_node to power supply device
ed6244e8b280 perf/core: Fix installing cgroup events on CPU
82e93a83598b f2fs: fix to check extent cache in f2fs_drop_extent_tree
fc8cf0e7aa37 f2fs: fix to clear CP_TRIMMED_FLAG
393e472db4c8 f2fs: fix to set KEEP_SIZE bit in f2fs_zero_range
d71b8b0d37da cxl: Check if PSL data-cache is available before issue flush request
bf3a501c1dc0 powerpc/powernv/npu: Fix deadlock in mmio_invalidate()
dc81e7182747 powerpc: Add missing prototype for arch_irq_work_raise()
903c66e35fb7 drm/meson: Fix an un-handled error path in 'meson_drv_bind_master()'
b4d7f0dae8c1 drm/meson: Fix some error handling paths in 'meson_drv_bind_master()'
6eaf0dd1d9d5 ipmi_ssif: Fix kernel panic at msg_done_handler
b5c7dedc8426 watchdog: aspeed: Fix translation of reset mode to ctrl register
e2906fc86978 watchdog: dw: RMW the control register
e2b3fa0ce98f PCI: Restore config space on runtime resume despite being unbound
12c663e4f8e4 MIPS: ath79: Fix AR724X_PLL_REG_PCIE_CONFIG offset
2a0bc4ad7c63 net/smc: pay attention to MAX_ORDER for CQ entries
289e6fa33b0b spi: bcm-qspi: fIX some error handling paths
1fae5e92788c regulator: gpio: Fix some error handling paths in 'gpio_regulator_probe()'
9fe2e97e6f2d coresight: Use %px to print pcsr instead of %p
12b29e1cfe6a drm/amdkfd: add missing include of mm.h
739c8e70889a IB/core: Honor port_num while resolving GID for IB link layer
7166fb174758 perf stat: Fix core dump when flag T is used
8cde08971b41 perf top: Fix top.call-graph config option reading
25b69a422b59 KVM: lapic: stop advertising DIRECTED_EOI when in-kernel IOAPIC is in use
982f8f14e704 i2c: mv64xxx: Apply errata delay only in standard mode
8d1b1e7902af cxgb4: Fix queue free path of ULD drivers
1d1646c408f6 ACPICA: acpi: acpica: fix acpi operand cache leak in nseval.c
c827ed01821d ACPICA: Fix memory leak on unusual memory leak
bf9b263b3e75 ACPICA: Events: add a return on failure from acpi_hw_register_read
601ae35b3f19 dt-bindings: add device tree binding for Allwinner H6 main CCU
35a4f782b521 remoteproc: imx_rproc: Fix an error handling path in 'imx_rproc_probe()'
4a092479bb4f bcache: quit dc->writeback_thread when BCACHE_DEV_DETACHING is set
590e13a68177 zorro: Set up z->dev.dma_mask for the DMA API
5e8f4ec7899b IB/mlx5: Set the default active rate and width to QDR and 4X
4a8b1c46af58 cpufreq: cppc_cpufreq: Fix cppc_cpufreq_init() failure path
f69b52965de0 iommu/mediatek: Fix protect memory setting
8c8f0b1f597d drm/vmwgfx: Unpin the screen object backup buffer when not used
791a1ef7df36 ext4: don't complain about incorrect features when probing
1891e0bb60b4 arm: dts: socfpga: fix GIC PPI warning
b5fb65c559ec virtio-net: Fix operstate for virtio when no VIRTIO_NET_F_STATUS
a54e06d490a1 watchdog: aspeed: Allow configuring for alternate boot
cd2399b49de4 ima: Fallback to the builtin hash algorithm
bc72e4fcc12a ima: Fix Kconfig to select TPM 2.0 CRB interface
d7b13824c390 cxgb4: Setup FW queues before registering netdev
aa5a781f59fb ath9k: fix crash in spectral scan
085ec7d554c1 nvme-pci: disable APST for Samsung NVMe SSD 960 EVO + ASUS PRIME Z370-A
7e5487b3990d ath10k: Fix kernel panic while using worker (ath10k_sta_rc_update_wk)
5db7e1bb6a13 watchdog: davinci_wdt: fix error handling in davinci_wdt_probe()
fc7bcbb94027 net/mlx5: Protect from command bit overflow
d018d551e7b2 selftests: Print the test we're running to /dev/kmsg
faace30e6e6a tools/thermal: tmon: fix for segfault
b652092f8e99 rsi: fix kernel panic observed on 64bit machine
31dbd9cfcb23 powerpc/perf: Fix kernel address leak via sampling registers
6a0a9f0ab8a9 powerpc/perf: Prevent kernel address leak to userspace via BHRB buffer
68a38cedff76 hwmon: (nct6775) Fix writing pwmX_mode
dbce9e41161c parisc/pci: Switch LBA PCI bus from Hard Fail to Soft Fail mode
f37519543460 iwlwifi: mvm: check if mac80211_queue is valid in iwl_mvm_disable_txq
6a020bb3c620 m68k: set dma and coherent masks for platform FEC ethernets
80fceaf3f16a intel_th: Use correct method of finding hub
1366b31d1829 iommu/amd: Take into account that alloc_dev_data() may return NULL
6bc2bf6023dd ath10k: advertize beacon_int_min_gcd
9c222c497ba2 ieee802154: ca8210: fix uninitialised data read
c3a2a8782059 powerpc/mpic: Check if cpu_possible() in mpic_physmask()
fc2de796926b ACPI: acpi_pad: Fix memory leak in power saving threads
d023498fef35 drivers: macintosh: rack-meter: really fix bogus memsets
8effa2182d02 xen/acpi: off by one in read_acpi_id()
637b9b187f4e rxrpc: Don't treat call aborts as conn aborts
4a9fabcd3440 rxrpc: Fix Tx ring annotation after initial Tx failure
204bfcda8244 btrfs: qgroup: Fix root item corruption when multiple same source snapshots are created with quota enabled
de00d5729482 btrfs: fix lockdep splat in btrfs_alloc_subvolume_writers
92efba91a792 Btrfs: fix copy_items() return value when logging an inode
d7255626a082 btrfs: tests/qgroup: Fix wrong tree backref level
27a913cc9177 powerpc/64s: sreset panic if there is no debugger or crash dump handlers
305f25c1ed53 net: bgmac: Correctly annotate register space
435290f7a40a net: bgmac: Fix endian access in bgmac_dma_tx_ring_free()
4a6cd791d6c1 sparc64: Make atomic_xchg() an inline function rather than a macro.
22f1bde5d1bf fscache: Fix hanging wait on page discarded by writeback
6d03ff166926 lan78xx: Connect phy early
80b8f3da4912 KVM: VMX: raise internal error for exception during invalid protected mode state
fd97bbca67fc x86/mm: Fix bogus warning during EFI bootup, use boot_cpu_has() instead of this_cpu_has() in build_cr3_noflush()
3aeaeecda057 sched/rt: Fix rq->clock_update_flags < RQCF_ACT_SKIP warning
be6a5ad51a53 powerpc/64s/idle: Fix restore of AMOR on POWER9 after deep sleep
839c27f71376 ocfs2/dlm: don't handle migrate lockres if already in shutdown
9ebe297713af IB/rxe: Fix for oops in rxe_register_device on ppc64le arch
370b3353f4f8 btrfs: Fix possible softlock on single core machines
acfd8e886566 Btrfs: fix NULL pointer dereference in log_dir_items
afef64b10877 Btrfs: bail out on error during replay_dir_deletes
5ade3c9618f6 mm: thp: fix potential clearing to referenced flag in page_idle_clear_pte_refs_one()
8d700626fb57 mm: fix races between address_space dereference and free in page_evicatable
763111d9f337 mm/ksm: fix interaction with THP
378a1e49f9d1 ibmvnic: Zero used TX descriptor counter on reset
d04e5e72dfe9 dp83640: Ensure against premature access to PHY registers after reset
4be06bc0916d perf clang: Add support for recent clang versions
ee7c28b280b8 perf tools: Fix perf builds with clang support
6689a4c7b9ed powerpc/fscr: Enable interrupts earlier before calling get_user()
96fdc64d8eda cpufreq: CPPC: Initialize shared perf capabilities of CPUs
8bff7ca99fda Force log to disk before reading the AGF during a fstrim
28143fe3e3e2 sr: get/drop reference to device in revalidate and check_events
3a0de65acdd9 z3fold: fix memory leak
2ab7738102ad swap: divide-by-zero when zero length swap file on ssd
9c9844d9c9d0 fs/proc/proc_sysctl.c: fix potential page fault while unregistering sysctl table
59bdc587231c x86/mm: Do not forbid _PAGE_RW before init for __ro_after_init
c1af6891982e x86/pgtable: Don't set huge PUD/PMD on non-leaf entries
c527ab91f021 Btrfs: fix loss of prealloc extents past i_size after fsync log replay
f2924e32dcf2 Btrfs: clean up resources during umount after trans is aborted
1908ca222b36 nvme: don't send keep-alives to the discovery controller
145b7e06de33 firmware: dmi_scan: Fix UUID length safety check
d9179b4aa407 sh: fix debug trap failure to process signals before return to user
4ee9130f6423 net: mvneta: fix enable of all initialized RXQs
206199412bae vlan: Fix vlan insertion for packets without ethernet header
34a9a036350f net: Fix untag for vlan packets without ethernet header
235ca6a0330d qede: Do not drop rx-checksum invalidated packets.
78c986bf85b7 hv_netvsc: enable multicast if necessary
28bbb0d963e0 mm/kmemleak.c: wait for scan completion before disabling free
08e9dbd5184e mm/vmstat.c: fix vmstat_update() preemption BUG
d2a5d00dcd85 mm/page_owner: fix recursion bug after changing skip entries
da9ec481d66d mm, slab: memcg_link the SLAB's kmem_cache
0bbd8e2593ad qede: Fix barrier usage after tx doorbell write.
38a85f8214e2 builddeb: Fix header package regarding dtc source links
5b5f4fd97d8f llc: properly handle dev_queue_xmit() return value
25801736ca48 x86/alternatives: Fixup alternative_call_2
06956ca1aab3 perf/x86/intel: Fix linear IP of PEBS real_ip on Haswell and later CPUs
5b3b9ce272a6 net/mlx5: Make eswitch support to depend on switchdev
07af604f00a5 net: dsa: mt7530: fix module autoloading for OF platform drivers
77c18f7ea417 bonding: fix the err path for dev hwaddr sync in bond_enslave
6da5c98d65f0 net: qmi_wwan: add BroadMobi BM806U 2020:2033
e78be20d1122 lan78xx: Set ASD in MAC_CR when EEE is enabled.
373304e44fa9 ARM: 8748/1: mm: Define vdso_start, vdso_end as array
cbecd7187cdf batman-adv: fix packet loss for broadcasted DHCP packets to a server
110a7c19d9d1 batman-adv: fix multicast-via-unicast transmission with AP isolation
bbeb1a42dc58 drm/amdkfd: Fix scratch memory with HWS enabled
629b3a66d5ca selftests: ftrace: Add a testcase for probepoint
04905c21ad69 selftests: ftrace: Add a testcase for string type with kprobe_event
f7ed525fcb56 selftests: ftrace: Add probe event argument syntax testcase
58be6253b003 xfrm: Fix transport mode skb control buffer usage.
49f4a8c52eeb mm, thp: do not cause memcg oom for thp
6ca473201d70 mm/mempolicy.c: avoid use uninitialized preferred_node
5498a2b5795f drm/ast: Fixed 1280x800 Display Issue
c269eb77dc22 net: dsa: Fix functional dsa-loop dependency on FIXED_PHY
bf922554682b net/sched: fix idr leak in the error path of tcf_skbmod_init()
91314c273170 net/sched: fix idr leak in the error path of __tcf_ipt_init()
01a80839635d net/sched: fix idr leak in the error path of tcp_pedit_init()
97689fea3c80 net/sched: fix idr leak in the error path of tcf_act_police_init()
154040a5a869 net/sched: fix idr leak in the error path of tcf_simp_init()
29e36c3099fc net/sched: fix idr leak on the error path of tcf_bpf_init()
f8d93c59c78c RDMA/qedr: Fix QP state initialization race
8ed753eee9bd RDMA/qedr: Fix rc initialization on CNQ allocation failure
90b87707f0f7 RDMA/qedr: fix QP's ack timeout configuration
7245e2d1790b RDMA/ucma: Correct option size check using optlen
405544d5f864 kbuild: make scripts/adjust_autoksyms.sh robust against timestamp races
0839b0ce6eb6 brcmfmac: Fix check for ISO3166 code
4ff78587dea6 perf/cgroup: Fix child event counting bug
92ab37923634 drm/tegra: Shutdown on driver unbind
3a297d091edb iwlwifi: mvm: fix array out of bounds reference
7867e6d82fc9 iwlwifi: mvm: make sure internal station has a valid id
1001e8ec25db iwlwifi: mvm: clear tx queue id when unreserving aggregation queue
4eaa2618051a iwlwifi: mvm: Increase session protection time after CS
b57f0fe6e38b vti6: Fix dev->max_mtu setting
5815901c29c2 vti4: Don't override MTU passed on link creation via IFLA_MTU
34b6ba622ac4 ip_tunnel: Clamp MTU to bounds on new link
e675b292c282 vti4: Don't count header length twice on tunnel setup
87e07eff2772 batman-adv: Fix skbuff rcsum on packet reroute
f31f64b2d253 net/sched: fix NULL dereference in the error path of tcf_sample_init()
6b4a3d4e63f1 batman-adv: fix header size check in batadv_dbg_arp()
99ba9a972870 vlan: Fix out of order vlan headers with reorder header off
01a68a265ef5 net: Fix vlan untag for bridge and vlan_dev with reorder_hdr off
000fe789aa76 iwlwifi: mvm: fix error checking for multi/broadcast sta
ac2b8f5e361f iwlwifi: mvm: Correctly set IGTK for AP
85e5ae55652e iwlwifi: mvm: set the correct tid when we flush the MCAST sta
404cbeb36ef7 xfrm: fix rcu_read_unlock usage in xfrm_local_error
942138f356aa drm/nouveau/bl: fix backlight regression
872398068503 drm/imx: move arming of the vblank event to atomic_flush
418c85ea458a gpu: ipu-v3: prg: avoid possible array underflow
05c401183c2f KVM: arm/arm64: vgic: Add missing irq_lock to vgic_mmio_read_pending
6ef5b2e5241a sunvnet: does not support GSO for sctp
8387fbac8e18 ipv4: lock mtu in fnhe when received PMTU < net.ipv4.route.min_pmtu
7c84e5e9c62c workqueue: use put_device() instead of kfree()
845c2de95786 bnxt_en: Check valid VNIC ID in bnxt_hwrm_vnic_set_tpa().
27eebf0800cf can: m_can: select pinctrl state in each suspend/resume function
27fe367cdde0 can: m_can: change comparison to bitshift when dealing with a mask
533f5f847dfd netfilter: ebtables: fix erroneous reject of last rule
2299285fb181 dmaengine: mv_xor_v2: Fix clock resource by adding a register clock
e2d9442dfe84 lib/test_kmod.c: fix limit check on number of test devices created
21ccc62ec725 selftests/vm/run_vmtests: adjust hugetlb size according to nr_cpus
bad682e26d6a arm64: Relax ARM_SMCCC_ARCH_WORKAROUND_1 discovery
341029c2024b ARM: davinci: fix the GPIO lookup for omapl138-hawk
b7f1129a2c77 hv_netvsc: fix locking during VF setup
b37bc05f44c6 hv_netvsc: fix locking for rx_mode
9241c4f47205 hv_netvsc: fix filter flags
e7f2b054916f xen: xenbus: use put_device() instead of kfree()
9238d1fa3ee6 xen-blkfront: move negotiate_mq to cover all cases of new VBDs
b2709f786741 cxgb4: do not set needs_free_netdev for mgmt dev's
ba5b9b64e883 IB/core: Fix possible crash to access NULL netdev
7ae100c41393 net: smsc911x: Fix unload crash when link is up
a2b2d6ae5a3f net: qcom/emac: Use proper free methods during TX
c6ce72d59cab qed: Free RoCE ILT Memory on rmmod qedr
7538ab34136d fsl/fman: avoid sleeping in atomic context while adding an address
ccf92117d49d fbdev: Fixing arbitrary kernel leak in case FBIOGETCMAP_SPARC in sbusfb_ioctl_helper().
175e365a6662 IB/mlx5: Fix an error code in __mlx5_ib_modify_qp()
5759427a0ca8 IB/mlx4: Include GID type when deleting GIDs from HW table under RoCE
9636bbd409ba IB/mlx4: Fix corruption of RoCEv2 IPv4 GIDs
7b10604ddf51 RDMA/qedr: Fix iWARP write and send with immediate
40fe662649be RDMA/qedr: Fix kernel panic when running fio over NFSoRDMA
87bcb00aa934 ia64/err-inject: Use get_user_pages_fast()
d98ba4f4567d e1000e: allocate ring descriptors with dma_zalloc_coherent
d1355ae4c345 e1000e: Fix check_for_link return value with autoneg off
f766148e47d7 perf record: Fix crash in pipe mode
8997115bf791 ARM: dts: rockchip: Add missing #sound-dai-cells on rk3288
a0cc3c18d34c hv_netvsc: propagate rx filters to VF
ed85935eeafb hv_netvsc: filter multicast/broadcast
c039c53d1952 hv_netvsc: use napi_schedule_irqoff
5f8156fd34cf batman-adv: Fix multicast packet loss with a single WANT_ALL_IPV4/6 flag
73ecd80bca2b watchdog: sbsa: use 32-bit read for WCV
49995a2931bb watchdog: f71808e_wdt: Fix magic close handling
266675ab52db rds: Incorrect reference counting in TCP socket creation
2b6e7f2ff81a iwlwifi: mvm: Correctly set the tid for mcast queue
3f2eb4ded1ec iwlwifi: mvm: Direct multicast frames to the correct station
ef3dfb138159 iwlwifi: mvm: fix "failed to remove key" message
3a0bbca21ca5 iwlwifi: avoid collecting firmware dump if not loaded
233d80617248 iwlwifi: mvm: fix assert 0x2B00 on older FWs
6f970847f0e9 iwlwifi: mvm: Fix channel switch for count 0 and 1
d6bcdf0b14d8 iwlwifi: mvm: fix TX of CCMP 256
d9ed3aed6d83 net: ethtool: don't ignore return from driver get_fecparam method
f03cd5862f55 selftests/powerpc: Skip the subpage_prot tests if the syscall is unavailable
2b103dee283f nvme: pci: pass max vectors as num_possible_cpus() to pci_alloc_irq_vectors
d68e66060488 nvme-pci: Fix EEH failure on ppc
3c84b5aaf7a5 block: display the correct diskname for bio
07d3fb191b5a ceph: fix potential memory leak in init_caches()
010f5ccbf4c4 Btrfs: fix log replay failure after linking special file and fsync
9925eea3225e Btrfs: send, fix issuing write op when processing hole in no data mode
b114296692b0 btrfs: use kvzalloc to allocate btrfs_fs_info
acb162b9cdb6 drm/sun4i: Fix dclk_set_phase
cd2dee1ea6d5 arm64: dts: rockchip: Fix rk3399-gru-* s2r (pinctrl hogs, wifi reset)
5877f41cf8c8 xfrm: Fix ESN sequence number handling for IPsec GSO packets.
30310d407715 drm/amd/amdgpu: Correct VRAM width for APUs with GMC9
5b71573794b0 xen/pirq: fix error path cleanup when binding MSIs
62ee80d3b45b RDMA/bnxt_re: Fix the ib_reg failure cleanup
2bce0d98b9d9 RDMA/bnxt_re: Fix incorrect DB offset calculation
466199b440d9 RDMA/bnxt_re: Unconditionly fence non wire memory operations
b73bc820c4d1 IB/mlx: Set slid to zero in Ethernet completion struct
2a71d94e4f6b ipvs: remove IPS_NAT_MASK check to fix passive FTP
738310e1dbc9 ARC: setup cpu possible mask according to possible-cpus dts property
f7f78191c910 ARC: mcip: update MCIP debug mask when the new cpu came online
50de7f4347cf ARC: mcip: halt GFRC counter when ARC cores halt
e44fe4d2a81b spectrum: Reference count VLAN entries
5a8392f2dc13 mlxsw: spectrum: Treat IPv6 unregistered multicast as broadcast
47a8c89258e5 mlxsw: core: Fix flex keys scratchpad offset conflict
953a64ca3353 net/smc: use link_id of server in confirm link reply
e0a5a0f4749f nvmet: fix PSDT field check in command format
c6885fb45d4e net/tcp/illinois: replace broken algorithm reference link
bb19a6a9b598 gianfar: Fix Rx byte accounting for ndev stats
10c7390ee340 clocksource/drivers/mips-gic-timer: Use correct shift count to extract data
f97c2bf56bb7 powerpc/boot: Fix random libfdt related build errors
9bbedb9742f3 ARM: dts: bcm283x: Fix unit address of local_intc
c43ff936255b ARM: dts: NSP: Fix amount of RAM on BCM958625HR
615bf75c4690 nbd: fix return value in error handling path
d2e2e20bbdd3 sit: fix IFLA_MTU ignored on NEWLINK
2b0fbc2fcd2f ip6_tunnel: fix IFLA_MTU ignored on NEWLINK
29764acd50d3 ip_gre: fix IFLA_MTU ignored on NEWLINK
f07b6505f474 bcache: fix kcrashes with fio in RAID5 backend dev
421c15e803de dmaengine: rcar-dmac: fix max_chunk_size for R-Car Gen3
3c08f8140a9a virtio-gpu: fix ioctl and expose the fixed status to userspace.
8b156a0a49c9 r8152: fix tx packets accounting
9c3e4e41c206 selftests/futex: Fix line continuation in Makefile
784858e73805 qrtr: add MODULE_ALIAS macro to smd
0129ee813ef7 ARM: orion5x: Revert commit 4904dbda41c8.
3ecb681ccf6b xen/pvcalls: fix null pointer dereference on map->sock
6c88c93898ca ceph: fix dentry leak when failing to init debugfs
e080e814deb1 libceph, ceph: avoid memory leak when specifying same option several times
682def914242 clocksource/drivers/fsl_ftm_timer: Fix error return checking
44cb7ed6e5e2 nvme-pci: Fix nvme queue cleanup if IRQ setup fails
588078bb272e batman-adv: Fix netlink dumping of BLA backbones
f03c64fbdd9b batman-adv: Fix netlink dumping of BLA claims
f08cabec0696 batman-adv: Ignore invalid batadv_v_gw during netlink send
8b7e379faf15 batman-adv: Ignore invalid batadv_iv_gw during netlink send
dd20ff0d079d netfilter: ebtables: convert BUG_ONs to WARN_ONs
84fc57f472f9 netfilter: ipt_CLUSTERIP: put config instead of freeing it
596816fabe42 netfilter: ipt_CLUSTERIP: put config struct if we can't increment ct refcount
ff8c6751ecf3 batman-adv: invalidate checksum on fragment reassembly
ee7a88fc775e batman-adv: fix packet checksum in receive path
879a73b10a93 md/raid1: fix NULL pointer dereference
0a4c60471d13 md: fix a potential deadlock of raid5/raid10 reshape
2565b271aed0 fs: dcache: Use READ_ONCE when accessing i_dir_seq
3623c1f37efa fs: dcache: Avoid livelock between d_alloc_parallel and __d_add
ed49851ce15c ARM: dts: imx6dl: Include correct dtsi file for Engicam i.CoreM6 DualLite/Solo RQS
5f95541a0db5 kvm: fix warning for CONFIG_HAVE_KVM_EVENTFD builds
1fe15ab15935 KVM: nVMX: Don't halt vcpu when L1 is injecting events to L2
ce8bdc7aabf9 macvlan: fix use-after-free in macvlan_common_newlink()
a383f44e7a34 arm64: fix unwind_frame() for filtered out fn for function graph tracing
3d82155f8547 mac80211: drop frames with unexpected DS bits from fast-rx to slow path
dff5da4724bb x86/topology: Update the 'cpu cores' field in /proc/cpuinfo correctly across CPU hotplug operations
95e8297ab206 locking/xchg/alpha: Fix xchg() and cmpxchg() memory ordering bugs
4ba4273e7218 x86/intel_rdt: Fix incorrect returned value when creating rdgroup sub-directory in resctrl file system
09897fcbd42a integrity/security: fix digsig.c build error with header file
0b9f26e97f2b regulatory: add NUL to request alpha2
c254a86a333c smsc75xx: fix smsc75xx_set_features()
cc4a2d71cff3 ARM: OMAP: Fix dmtimer init for omap1
90c9ae5943c3 nfs: system crashes after NFS4ERR_MOVED recovery
4b0a3b9a511d arm64: dts: cavium: fix PCI bus dtc warnings
e47c1bf99a14 PKCS#7: fix direct verification of SignerInfo signature
a72612a1c39d selftests/bpf/test_maps: exit child process without error in ENOMEM case
dac5d3a100c6 s390/cio: clear timer when terminating driver I/O
c5b1b2e2185d s390/cio: fix return code after missing interrupt
5df337455c5a s390/cio: fix ccw_device_start_timeout API
aa6eeca7bcd7 powerpc/bpf/jit: Fix 32-bit JIT for seccomp_data access
e1bb3673ae9d soc: imx: gpc: de-register power domains only if initialized
e65cd9a20343 seccomp: add a selftest for get_metadata
32e139dfb684 selftests/memfd: add run_fuse_test.sh to TEST_FILES
305eb32d45f0 bug.h: work around GCC PR82365 in BUG()
14488f25339e kernel/relay.c: limit kmalloc size to KMALLOC_MAX_SIZE
cf15cd63000b virtio_net: fix XDP code path in receive_small()
0e498db68095 md: raid5: avoid string overflow warning
ca353544670d locking/xchg/alpha: Add unconditional memory barrier to cmpxchg()
badacb781dce net/mlx5e: Return error if prio is specified when offloading eswitch vlan push
2e9f41ace36b ibmvnic: Check for NULL skb's in NAPI poll routine
775cc792bb08 RDMA/bnxt_re: Fix system crash during load/unload
c0935f1ef990 RDMA/bnxt_re: Unpin SQ and RQ memory if QP create fails
c5c0632b9c7b arm64: perf: correct PMUVer probing
33b3f7b5af5d drm/meson: fix vsync buffer update
2c6a5cc09b46 drm/exynos: fix comparison to bitshift when dealing with a mask
3f925cc2d399 drm/exynos: g2d: use monotonic timestamps
c5db4c271ca5 md raid10: fix NULL deference in handle_write_completed()
3ed913b61e6a gpu: ipu-v3: prg: fix device node leak in ipu_prg_lookup_by_phandle
9ccb1d53c6ac gpu: ipu-v3: pre: fix device node leak in ipu_pre_lookup_by_phandle
8dcb7ddb2c83 mac80211: Fix sending ADDBA response for an ongoing session
707c81727baa mac80211: Do not disconnect on invalid operating class
f6bfc88f14cc cfg80211: clear wep keys after disconnection
a7f126b2e1ad mac80211: fix calling sleeping function in atomic context
99d4fe95e4f6 mac80211: fix a possible leak of station stats
f49e3a9acc52 mac80211: round IEEE80211_TX_STATUS_HEADROOM up to multiple of 4
020c32a91ee0 xfrm: do not call rcu_read_unlock when afinfo is NULL in xfrm_get_tos
d0d9330fa2a3 s390/dasd: fix handling of internal requests
e08f86697835 md: fix md_write_start() deadlock w/o metadata devices
ca4363bf7cb8 MD: Free bioset when md_run fails
f146c6e6506f rxrpc: Work around usercopy check
54881db3251a NFC: llcp: Limit size of SDP URI
e5ea0a89bf7b iwlwifi: mvm: always init rs with 20mhz bandwidth rates
6e752ba6436b iwlwifi: mvm: fix IBSS for devices that support station type API
8c1cc43e745d iwlwifi: mvm: fix security bug in PN checking
1510627c63b7 ARM: dts: rockchip: Fix DWMMC clocks
23b738ce746a arm64: dts: rockchip: Fix DWMMC clocks
357b528e6b70 IB/uverbs: Fix unbalanced unlock on error path for rdma_explicit_destroy
5b0622bfe637 IB/uverbs: Fix possible oops with duplicate ioctl attributes
cdd37f48d6a0 IB/uverbs: Fix method merging in uverbs_ioctl_merge
44ef222ad099 xhci: workaround for AMD Promontory disabled ports wakeup
94203f213c19 tls: retrun the correct IV in getsockopt
cec7d77a1db8 ibmvnic: Clean RX pool buffers during device close
322d7195572d ibmvnic: Free RX socket buffer in case of adapter error
4431066edd13 ibmvnic: Wait until reset is complete to set carrier on
ddca5c776fff ARM: OMAP1: clock: Fix debugfs_create_*() usage
d615dddc6e0c ARM: OMAP2+: Fix sar_base inititalization for HS omaps
c22e3886fc65 ARM: OMAP3: Fix prm wake interrupt for resume
7ffe100ce67c ARM: OMAP2+: timer: fix a kmemleak caused in omap_get_timer_dt
b2f5d98f3300 selftests: memfd: add config fragment for fuse
b9ddf39dd579 selftests: pstore: Adding config fragment CONFIG_PSTORE_RAM=m
a666ad4bbcfb selftest/vDSO: fix O=
198e26a0efef selftests: sync: missing CFLAGS while compiling
4adc95c5a020 libata: Fix compile warning with ATA_DEBUG enabled
afe088b034b4 arm64: dts: rockchip: correct ep-gpios for rk3399-sapphire
fa4cf9010ed6 arm64: dts: rockchip: fix rock64 gmac2io stability issues
6fc72fd1565b ptr_ring: prevent integer overflow when calculating size
052eb2d6dc61 ARC: Fix malformed ARC_EMUL_UNALIGNED default
0f097096b77a mac80211: mesh: fix wrong mesh TTL offset calculation
49e30752177f MIPS: generic: Fix machine compatible matching
3084902aa9fd powerpc/64s: Add support for a store forwarding barrier at kernel entry/exit
b90a6bddc8af powerpc/64s: Fix section mismatch warnings from setup_rfi_flush()
1618f211f96e powerpc/pseries: Restore default security feature flags on setup
f092a180128e powerpc: Move default security feature flags
a28ff26d5e44 powerpc/pseries: Fix clearing of security feature flags
046e9adae42a powerpc/64s: Wire up cpu_show_spectre_v2()
6e77feadbfbc powerpc/64s: Wire up cpu_show_spectre_v1()
7a62b0f64804 powerpc/pseries: Use the security flags in pseries_setup_rfi_flush()
3bf1695bbb24 powerpc/powernv: Use the security flags in pnv_setup_rfi_flush()
d71a3e0a2d0a powerpc/64s: Enhance the information in cpu_show_meltdown()
ae8afdf604d3 powerpc/64s: Move cpu_show_meltdown()
f2fdeebd8537 powerpc/powernv: Set or clear security feature flags
9ba774cc0f75 powerpc/pseries: Set or clear security feature flags
e2ba26dba530 powerpc: Add security feature flags for Spectre/Meltdown
4c5463a5a374 powerpc/pseries: Add new H_GET_CPU_CHARACTERISTICS flags
d1cb5ff450d3 powerpc/rfi-flush: Call setup_rfi_flush() after LPM migration
123f6d5ccaa2 powerpc/rfi-flush: Differentiate enabled and patched flush types
6af06dcdea08 powerpc/rfi-flush: Always enable fallback flush on pseries
d744f8457f2f powerpc/rfi-flush: Make it possible to call setup_rfi_flush() again
5412a9d91d65 powerpc/rfi-flush: Move the logic to avoid a redo into the debugfs code
bf434b31bad6 powerpc/powernv: Support firmware disable of RFI flush
dff1a7e6c3ae powerpc/pseries: Support firmware disable of RFI flush
2245d95d9f7a powerpc/64s: Improve RFI L1-D cache flush fallback
421e1fadb0b0 x86/kvm: fix LAPIC timer drift when guest uses periodic mode
b3ce16455c4b kvm: x86: IA32_ARCH_CAPABILITIES is always supported
e765fd97e0c2 KVM: x86: Update cpuid properly when CR4.OSXAVE or CR4.PKE is changed
16c463a4ecfa KVM: s390: vsie: fix < 8k check for the itdba
9c5eee605677 KVM/VMX: Expose SSBD properly to guests
058dfcf9c24f kernel/sys.c: fix potential Spectre v1 issue
1da530fe155d kasan: fix memory hotplug during boot
b052960484fd kasan: free allocated shadow memory on MEM_CANCEL_ONLINE
9c7821c67a71 mm/kasan: don't vfree() nonexistent vm_area
afdc490b36b0 ipc/shm: fix shmat() nil address after round-down when remapping
67dd0bad8189 Revert "ipc/shm: Fix shmat mmap nil-page protection"
0472f94cef2e idr: fix invalid ptr dereference on item delete
2a039b93679f sr: pass down correctly sized SCSI sense buffer
a59bd819576d IB/umem: Use the correct mm during ib_umem_release
7a5b3b91f858 IB/hfi1: Use after free race condition in send context error path
df07f2718440 powerpc/64s: Clear PCR on boot
92169a015bdd arm64: lse: Add early clobbers to some input/output asm operands
760e4d7e89a5 drm/vmwgfx: Fix 32-bit VMW_PORT_HB_[IN|OUT] macros
a0f8cbce7b57 xen-swiotlb: fix the check condition for xen_swiotlb_free_coherent
4182f5a075f1 libata: blacklist Micron 500IT SSD with MU01 firmware
21712abb8ba2 libata: Blacklist some Sandisk SSDs for NCQ
f2a3c8bb4d10 mmc: sdhci-iproc: add SDHCI_QUIRK2_HOST_OFF_CARD_ON for cygnus
4da8f20a992c mmc: sdhci-iproc: fix 32bit writes for TRANSFER_MODE register
ebedf0b29047 mmc: sdhci-iproc: remove hard coded mmc cap 1.8v
f440ea85d429 do d_instantiate/unlock_new_inode combinations safely
ba3fbb7afde9 ALSA: timer: Fix pause event notification
fbcede36bbfd aio: fix io_destroy(2) vs. lookup_ioctx() race
b9659ff375cb fs: don't scan the inode cache before SB_BORN is set
1e5edf32e44d affs_lookup(): close a race with affs_remove_link()
2871a701329c KVM: Fix spelling mistake: "cop_unsuable" -> "cop_unusable"
bba75a0ccdb5 MIPS: Fix ptrace(2) PTRACE_PEEKUSR and PTRACE_POKEUSR accesses to o32 FGRs
769fc447cced MIPS: ptrace: Expose FIR register through FP regset
368b70857dd7 MIPS: c-r4k: Fix data corruption related to cache coherence
102b97d6241d Linux 4.14.44
6b73dfbd3cfc rtc: goldfish: Add missing MODULE_LICENSE
6f34e436509e rtc: rp5c01: fix possible race condition
78227b671e0d rtc: tx4939: avoid unintended sign extension on a 24 bit shift
459aa4904ab2 rtc: m41t80: fix race conditions
6266010c3895 rtc: rk808: fix possible race condition
6c1c17116484 rtc: hctosys: Ensure system time doesn't overflow time_t
731d965a587c rtc: snvs: Fix usage of snvs_rtc_enable
8293e6238e03 serial: altera: ensure port->regshift is honored consistently
e10bbc220e1a serial: 8250: Don't service RX FIFO if interrupts are disabled
1c447ea13703 serial: arc_uart: Fix out-of-bounds access through DT alias
db69a1a58844 serial: fsl_lpuart: Fix out-of-bounds access through DT alias
24182ff06635 serial: imx: Fix out-of-bounds access through serial port index
5f53807e751e serial: mxs-auart: Fix out-of-bounds access through serial port index
491e61fe3c53 serial: samsung: Fix out-of-bounds access through serial port index
eb81dd52b425 serial: sh-sci: Fix out-of-bounds access through DT alias
d1e7f966521d serial: xuartps: Fix out-of-bounds access through DT alias
604e648e8bf0 media: cx25821: prevent out-of-bounds read on array card
9b7c44c43946 media: vivid: fix incorrect capabilities for radio
8cfcd5bbb723 media: vb2: Fix videobuf2 to map correct area
81173a58638f media: i2c: adv748x: fix HDMI field heights
93c72937a26b media: v4l: vsp1: Fix display stalls when requesting too many inputs
d600eadf7d80 media: em28xx: Add Hauppauge SoloHD/DualHD bulk models
d62c8d80f84f media: lgdt3306a: Fix a double kfree on i2c device remove
53ba3526baad media: s3c-camif: fix out-of-bounds array access
5ebcb4612748 media: cx23885: Set subdev host data to clk_freq pointer
24858b9c030a media: cx23885: Override 888 ImpactVCBe crystal frequency
1c94830eeea5 media: ov5645: add missing of_node_put() in error path
cc4b4af51c13 media: Don't let tvp5150_get_vbi() go out of vbi_ram_default array
07999bccf2e0 media: dmxdev: fix error code for invalid ioctls
7bc147610d1e clk: samsung: exynos3250: Fix PLL rates
3fabe01cdf75 clk: samsung: exynos5250: Fix PLL rates
90e14be44331 clk: samsung: exynos5433: Fix PLL rates
256499854098 clk: samsung: exynos5260: Fix PLL rates
8f4eef93e1ab clk: samsung: exynos7: Fix PLL rates
264530c6ad12 clk: samsung: s3c2410: Fix PLL rates
573dda18a809 clk: rockchip: Prevent calculating mmc phase if clock rate is zero
04adc8209a9a clk: tegra: Fix pll_u rate configuration
99f29b5c1cc4 clk: hisilicon: mark wdt_mux_p[] as const
2dc1d1a8715e clk: Don't show the incorrect clock phase
a225a3ba3213 clk: rockchip: Fix wrong parent for SDMMC phase clock for rk3228
9311d0b6b466 ASoC: samsung: i2s: Ensure the RCLK rate is properly determined
27cbb1df79c5 ASoC: topology: create TLV data for dapm widgets
fbeec965b8d1 ASoC: samsung: odroid: Fix 32000 sample rate handling
b3bbda7bad73 ASoC: rockchip: rk3288-hdmi-analog: Select needed codecs
98ffb5cf47e4 ASoC: hdmi-codec: Fix module unloading caused kernel crash
48e835f89769 scsi: lpfc: Fix frequency of Release WQE CQEs
8fd4131a9fcc scsi: lpfc: Fix soft lockup in lpfc worker thread during LIP testing
d5d331cdfcb2 scsi: lpfc: Fix issue_lip if link is disabled
a9bcbce385ed scsi: mvsas: fix wrong endianness of sgpio api
5e315f31faef scsi: core: Make SCSI Status CONDITION MET equivalent to GOOD
3de235c7753b scsi: aacraid: Insure command thread is not recursively stopped
10859964e0e1 scsi: iscsi_tcp: set BDI_CAP_STABLE_WRITES when data digest enabled
b1a706fdb5a8 scsi: sd: Keep disk read-only when re-reading partition
2bb6b7decff0 scsi: mpt3sas: Do not mark fw_event workqueue as WQ_MEM_RECLAIM
fbc801716092 scsi: qedi: Fix kernel crash during port toggle
dc6cb0cb91d5 scsi: qla4xxx: skip error recovery in case of register disconnect.
b24fd4cd9491 scsi: aacraid: fix shutdown crash when init fails
942cb7bd774a scsi: qedi: Fix truncation of CHAP name and secret
a9eb1e1031a0 scsi: storvsc: Increase cmd_per_lun for higher speed devices
1ad71103e12e scsi: qla2xxx: Avoid triggering undefined behavior in qla2x00_mbx_completion()
62d16de3109f scsi: mptfusion: Add bounds check in mptctl_hp_targetinfo()
0bf213d90bb2 scsi: sym53c8xx_2: iterator underflow in sym_getsync()
a1ac3da8431a scsi: bnx2fc: Fix check in SCSI completion handler for timed out request
af9930622461 scsi: ufs: Enable quirk to ignore sending WRITE_SAME command
b0ef004e86cf scsi: qla2xxx: Fix memory corruption during hba reset test
59ad4bb71714 scsi: mpt3sas: fix an out of bound write
2b2a92910c19 crypto: inside-secure - fix the invalidation step during cra_exit
c787fb6bdac2 crypto: sunxi-ss - Add MODULE_ALIAS to sun4i-ss
d03a0a61dc82 crypto: inside-secure - fix the extra cache computation
6df26587d22d crypto: inside-secure - fix the cache_len computation
a04b30fd74a1 crypto: inside-secure - do not process request if no command was issued
41b6f0ffb3ac crypto: ccp - don't disable interrupts while setting up debugfs
223ba92a8059 crypto: atmel-aes - fix the keys zeroing on errors
173c55493b81 crypto: inside-secure - wait for the request to complete if in the backlog
43624647a97c staging: lustre: lmv: correctly iput lmo_root
281bb7920cc0 staging: ks7010: Use constants from ieee80211_eid instead of literal ints.
d5ae597ed13d staging: rtl8192u: return -ENOMEM on failed allocation of priv->oldaddr
20b9506df1b4 staging: fsl-dpaa2/eth: Fix incorrect casts
ff8eb22e5bb8 staging: lustre: fix bug in osc_enter_cache_try
bf30d26981a8 staging: bcm2835-audio: Release resources on module_exit()
0fe68f20e09f xhci: Show what USB release number the xHC supports from protocol capablity
0249054e4bfd Bluetooth: btusb: Add device ID for RTL8822BE
e4504b80e012 media: em28xx: USB bulk packet size fix
f5f6bff50f36 media: lgdt3306a: Fix module count mismatch on usb unplug
f3f3442027b5 usb: gadget: composite: fix incorrect handling of OS desc requests
9170c1411eca usb: gadget: udc: change comparison to bitshift when dealing with a mask
b80114337d31 usbip: Correct maximum value of CONFIG_USBIP_VHCI_HC_PORTS
dd5541c7a60d usb: gadget: ffs: Execute copy_to_user() with USER_DS set
7f48c9ddca72 usb: gadget: ffs: Let setup() return USB_GADGET_DELAYED_STATUS
11cb14a19679 usb: dwc2: host: Fix transaction errors in host mode
51250a9357d8 usb: dwc2: hcd: Fix host channel halt flow
db81323e6a5d usb: dwc2: Fix interval type issue
39280c27031b xhci: zero usb device slot_id member when disabling and freeing a xhci slot
55aaef4bd8a0 usb: dwc3: Makefile: fix link error on randconfig
834329c4ad4c usb: dwc3: Update DWC_usb31 GTXFIFOSIZ reg fields
7fb2d2f1b04d usb: dwc3: Add SoftReset PHY synchonization delay
81ba08e69fe2 ALSA: usb-audio: Add native DSD support for Luxman DA-06
d711223606e8 Bluetooth: btusb: Add USB ID 7392:a611 for Edimax EW-7611ULB
89509cdb713f net-usb: add qmi_wwan if on lte modem wistron neweb d18q1
58249157c6ad net/usb/qmi_wwan.c: Add USB id for lt4120 modem
ce04fbcdb39a USB: OHCI: Fix NULL dereference in HCDs using HCD_LOCAL_MEM
e5c8a6d499a1 usb: host: xhci-plat: revert "usb: host: xhci-plat: enable clk in resume timing"
38ed02d85840 ARM: dts: imx7d-sdb: Fix regulator-usb-otg2-vbus node name
5788084ba3cd net: usbnet: fix potential deadlock on 32bit hosts
f7b3f33c79b7 usb: cdc_acm: prevent race at write to acm while system resumes
ee4ed01d4b5c usb: dwc2: Fix dwc2_hsotg_core_init_disconnected()
a3fcccd4a7ef usb: gadget: fsl_udc_core: fix ep valid checks
36d66139a351 usb: gadget: core: Fix use-after-free of usb_request
aefc5ce2342a usb: dwc3: omap: don't miss events during suspend/resume
e8f101ec20c0 usb: dwc3: Undo PHY init if soft reset fails
0cc948e8ddb5 usb: gadget: f_uac2: fix bFirstInterface in composite gadget
0ff6b2cac941 x86/kexec: Avoid double free_page() upon do_kexec_load() failure
f119414a8f8d hfsplus: stop workqueue when fill_super() failed
9f2c35864ad6 cfg80211: limit wiphy names to 128 bytes
360964411d57 loop: fix LOOP_GET_STATUS lock imbalance
c18270ac9f84 loop: don't call into filesystem while holding lo_ctl_mutex
3c017b9fede9 scsi: zfcp: fix infinite iteration on ERP ready list
d827bea2d18c scsi: sg: allocate with __GFP_ZERO in sg_build_indirect()
58442874542f scsi: libsas: defer ata device eh commands to libata
c1a35f5ddf36 s390: use expoline thunks in the BPF JIT
457b944b61e6 s390: extend expoline to BC instructions
a206c82f9bc9 s390: move spectre sysfs attribute code
2a146a9b3240 s390/kernel: use expoline for indirect branches
f1bd3b99607b s390/ftrace: use expoline for indirect branches
0d201ff077a8 s390/lib: use expoline for indirect branches
d7aa3f13e146 s390/crc32-vx: use expoline for indirect branches
e3ad546e6094 s390: move expoline assembler macros to a header
9a38169fb602 s390: add assembler macros for CPU alternatives
131ff238b859 ext2: fix a block leak
ea5ffcd46716 sparc: vio: use put_device() instead of kfree()
c98b38c5ede4 hv_netvsc: Fix net device attach on older Windows hosts
c7da51021c8d hv_netvsc: Ensure correct teardown message sequence order
c5345b11680f hv_netvsc: Split netvsc_revoke_buf() and netvsc_teardown_gpadl()
d8c3e04d3913 hv_netvsc: Use Windows version instead of NVSP version on GPAD teardown
be9c798d0d13 hv_netvsc: common detach logic
905f85c289d7 hv_netvsc: change GPAD teardown order on older versions
9c6439c7b168 hv_netvsc: use RCU to fix concurrent rx and queue changes
1f3ef8a7a3c6 hv_netvsc: disable NAPI before channel close
f9aab25e3326 hv_netvsc: defer queue selection to VF
0ac663c5674a hv_netvsc: fix race in napi poll when rescheduling
99e06589bd5d hv_netvsc: cancel subchannel setup before halting device
0ed8945b3aa6 hv_netvsc: fix error unwind handling if vmbus_open fails
4857dca4dd65 hv_netvsc: only wake transmit queue if link is up
0395570f81fe hv_netvsc: avoid retry on send during shutdown
36a9609cef4a hv_netvsc: Use the num_online_cpus() for channel limit
4c5fef778957 hv_netvsc: empty current transmit aggregation if flow blocked
41f24dbef177 hv_netvsc: preserve hw_features on mtu/channels/ringparam changes
284a58c02eeb hv_netvsc: netvsc_teardown_gpadl() split
6296e73e459d hv_netvsc: Set tx_table to equal weight after subchannels open
ef1c5903cd2a hv_netvsc: Add initialization of tx_table in netvsc_device_add()
b3a303352e51 hv_netvsc: Rename tx_send_table to tx_table
5acc4d1e8fe2 hv_netvsc: Rename ind_table to rx_table
836f8472f1bd hv_netvsc: Fix the real number of queues of non-vRSS cases
099612827aa3 vmxnet3: use DMA memory barriers where required
74327eda43d0 vmxnet3: set the DMA mask before the first DMA map operation
c89d534301a0 tcp: purge write queue in tcp_connect_init()
edabcd0f12ae sock_diag: fix use-after-free read in __sk_free
01a658c1b9d4 packet: in packet_snd start writing at link layer allocation
c02756173e65 net: test tailroom before appending to linear skb
2cedbdda01fe net/smc: check for missing nlattrs in SMC_PNETID messages
8ffa5f978394 net: sched: red: avoid hashing NULL child
53b2dbbee18d net/sched: fix refcnt leak in the error path of tcf_vlan_init()
5ff45c86e90a net/mlx4_core: Fix error handling in mlx4_init_port_info.
047df46d6cef net: Fix a bug in removing queues from XPS map
1dff08485b9e Linux 4.14.43
92a3c944d6d5 x86/bugs: Rename SSBD_NO to SSB_NO
e8837f0a000f KVM: SVM: Implement VIRT_SPEC_CTRL support for SSBD
3f44c1a3c293 x86/speculation, KVM: Implement support for VIRT_SPEC_CTRL/LS_CFG
71179d5dcbb9 x86/bugs: Rework spec_ctrl base and mask logic
d13f068b94a1 x86/bugs: Remove x86_spec_ctrl_set()
987f49474b06 x86/bugs: Expose x86_spec_ctrl_base directly
6befd3a735e0 x86/bugs: Unify x86_spec_ctrl_{set_guest,restore_host}
3e6ab4ca1345 x86/speculation: Rework speculative_store_bypass_update()
8e1c285a050c x86/speculation: Add virtualized speculative store bypass disable support
72f46c229ac2 x86/bugs, KVM: Extend speculation control for VIRT_SPEC_CTRL
b213ab46cde4 x86/speculation: Handle HT correctly on AMD
7f1efb5e74e3 x86/cpufeatures: Add FEATURE_ZEN
bbc0d1c33566 x86/cpufeatures: Disentangle SSBD enumeration
8e0836d1413b x86/cpufeatures: Disentangle MSR_SPEC_CTRL enumeration from IBRS
b1d1984f3898 x86/speculation: Use synthetic bits for IBRS/IBPB/STIBP
b1a6028c2374 KVM: SVM: Move spec control call after restore of GS
bd2059282934 x86/cpu: Make alternative_msr_write work for 32-bit code
5a53a5fefb73 x86/bugs: Fix the parameters alignment and missing void
f69c4dd36766 x86/bugs: Make cpu_show_common() static
4fbc01632e77 x86/bugs: Fix __ssb_select_mitigation() return type
8dc742f930cc Documentation/spec_ctrl: Do some minor cleanups
43c47eb2a274 proc: Use underscores for SSBD in 'status'
89ba80e61a39 x86/bugs: Rename _RDS to _SSBD
0f18f44ce076 x86/speculation: Make "seccomp" the default mode for Speculative Store Bypass
61dfdc12ff35 seccomp: Move speculation migitation control to arch code
9939db75cd5b seccomp: Add filter flag to opt-out of SSB mitigation
d829fcceb8f5 seccomp: Use PR_SPEC_FORCE_DISABLE
20d036a2e223 prctl: Add force disable speculation
c024722ffecd x86/bugs: Make boot modes __ro_after_init
87895ae1e9b2 seccomp: Enable speculation flaw mitigations
dd88d569eeff proc: Provide details on speculation flaw mitigations
7d1254a1489c nospec: Allow getting/setting on non-current task
d8553911627a x86/speculation: Add prctl for Speculative Store Bypass mitigation
704609d39680 x86/process: Allow runtime control of Speculative Store Bypass
33f6a06810cb prctl: Add speculation control prctls
81c3c2b5917a x86/speculation: Create spec-ctrl.h to avoid include hell
97224b3da698 x86/KVM/VMX: Expose SPEC_CTRL Bit(2) to the guest
716bfae3b3f4 x86/bugs/AMD: Add support to disable RDS on Fam[15,16,17]h if requested
fa2f1c65246d x86/bugs: Whitelist allowed SPEC_CTRL MSR values
128e69909f7c x86/bugs/intel: Set proper CPU features and setup RDS
65f747a6b108 x86/bugs: Provide boot parameters for the spec_store_bypass_disable mitigation
832b579e1e83 x86/cpufeatures: Add X86_FEATURE_RDS
c6dc89dd04e3 x86/bugs: Expose /sys/../spec_store_bypass
94ae9d262843 x86/bugs, KVM: Support the combination of guest and host IBRS
7c9b4959cda4 x86/bugs: Read SPEC_CTRL MSR during boot and re-use reserved bits
3ce1634f6165 x86/bugs: Concentrate bug reporting into a separate function
69dc73805969 x86/bugs: Concentrate bug detection into a separate function
8410540f5aaf x86/nospec: Simplify alternative_msr_write()
671c9a69f426 btrfs: fix reading stale metadata blocks after degraded raid1 mounts
7ea5cff55c45 btrfs: Fix delalloc inodes invalidation during transaction abort
0d670384af3c btrfs: Split btrfs_del_delalloc_inode into 2 functions
1d16f615bb7d btrfs: fix crash when trying to resume balance without the resume flag
f9b02febeabf btrfs: property: Set incompat flag if lzo/zstd compression is set
de1f96cc4a30 Btrfs: send, fix invalid access to commit roots due to concurrent snapshotting
59bbb5ca4d95 Btrfs: fix xattr loss after power failure
ca477b42aeaa ARM: 8772/1: kprobes: Prohibit kprobes on get_user functions
bd4aeb75dab5 ARM: 8770/1: kprobes: Prohibit probing on optimized_callback
14b4cfb5ab54 ARM: 8769/1: kprobes: Fix to use get_kprobe_ctlblk after irq-disabed
6986750cb57c tick/broadcast: Use for_each_cpu() specially on UP kernels
a697b90ef09e x86/mm: Drop TS_COMPAT on 64-bit exec() syscall
5f3ca3928e08 ARM: 8771/1: kprobes: Prohibit kprobes on do_undefinstr
e5cefe3570a0 efi: Avoid potential crashes, fix the 'struct efi_pci_io_protocol_32' definition for mixed mode
83a39c0e4adb x86/pkeys: Do not special case protection key 0
359b8ff3281c x86/pkeys: Override pkey when moving away from PROT_EXEC
a6565fdd90cb s390: remove indirect branch from do_softirq_own_stack
ce2e68b3c260 s390/qdio: don't release memory in qdio_setup_irq()
56130d932232 s390/cpum_sf: ensure sample frequency of perf event attributes is non-zero
c568bdf37b6e s390/qdio: fix access to uninitialized qdio_q fields
e2266ea100ea drm/i915/gen9: Add WaClearHIZ_WM_CHICKEN3 for bxt and glk
fc170bda2283 mm: don't allow deferred pages with NEED_PER_CPU_KM
572e2385ae35 radix tree: fix multi-order iteration race
f6c0f020ee5b lib/test_bitmap.c: fix bitmap optimisation tests to report errors correctly
5b86f020a789 drm: Match sysfs name in link removal to link creation
094595ce5701 powerpc/powernv: Fix NVRAM sleep in invalid context when crashing
f4f05f62d3d1 i2c: designware: fix poll-after-enable regression
f9882808e355 netfilter: nf_socket: Fix out of bounds access in nf_sk_lookup_slow_v{4,6}
d233f8d5bdd3 netfilter: nf_tables: can't fail after linking rule into active rule list
321bc88ec098 netfilter: nf_tables: free set name in error path
bca7faea5410 tee: shm: fix use-after-free via temporarily dropped reference
9a19a93bddb3 tracing/x86/xen: Remove zero data size trace events trace_xen_mmu_flush_tlb{_all}
d2dee2253be8 vfio: ccw: fix cleanup if cp_prefetch fails
92ce74164efa powerpc: Don't preempt_disable() in show_cpuinfo()
27ea98a4c50c KVM: arm/arm64: VGIC/ITS: protect kvm_read_guest() calls with SRCU lock
b6f6d8bfe779 KVM: arm/arm64: VGIC/ITS save/restore: protect kvm_read_guest() calls
b7f0fc1f0615 spi: bcm-qspi: Always read and set BSPI_MAST_N_BOOT_CTRL
d18c3d2304de spi: bcm-qspi: Avoid setting MSPI_CDRAM_PCS for spi-nor master
45804b0e3cb3 spi: pxa2xx: Allow 64-bit DMA
50c0e85887bf ALSA: control: fix a redundant-copy issue
6283fcc9b93a ALSA: hda: Add Lenovo C50 All in one to the power_save blacklist
13fe9058ed09 ALSA: usb: mixer: volume quirk for CM102-A+/102S+
e842726eccf3 usbip: usbip_host: fix bad unlock balance during stub_probe()
ec0c93951ecb usbip: usbip_host: fix NULL-ptr deref and use-after-free errors
5cd4dd77782e usbip: usbip_host: run rebind from exit when module is removed
cf3bcc3231ad usbip: usbip_host: delete device from busid_table after rebind
a3d5f6ecba99 usbip: usbip_host: refine probe and disconnect debug msgs to be useful
d88700f79448 Linux 4.14.42
5c9a9508de30 proc: do not access cmdline nor environ from file-backed areas
7a4eda600d77 l2tp: revert "l2tp: fix missing print session offset info"
036bbd584b0b xfrm: fix xfrm_do_migrate() with AEAD e.g(AES-GCM)
b0e5b437ecfd btrfs: Take trans lock before access running trans in check_delayed_ref
d2d85f8d2249 xfrm: Use __skb_queue_tail in xfrm_trans_queue
73cda9030380 scsi: aacraid: Correct hba_send to include iu_type
59afc1841b70 udp: fix SO_BINDTODEVICE
8151fe6861a0 nsh: fix infinite loop
66fefcabae5e net/mlx5e: Allow offloading ipv4 header re-write for icmp
cb9e5a0817f4 ipv6: fix uninit-value in ip6_multipath_l3_keys()
19bf346ca705 hv_netvsc: set master device
6ecec17f71f5 net/mlx5: Avoid cleaning flow steering table twice during error flow
eac1ab609be0 net/mlx5e: TX, Use correct counter in dma_map error flow
b047794cc36c net: sched: fix error path in tcf_proto_create() when modules are not configured
f6294114ade4 bonding: send learning packets for vlans on slave
2eca993ddc83 bonding: do not allow rlb updates to invalid mac
f754c9c88045 tg3: Fix vunmap() BUG_ON() triggered from tg3_free_consistent().
413d2627692d tcp: ignore Fast Open on repair mode
3cfe95a0eb02 tcp_bbr: fix to zero idle_restart only upon S/ACKed data
bf2f3bae31a2 sctp: use the old asoc when making the cookie-ack chunk in dupcook_d
4dce9afc2d35 sctp: remove sctp_chunk_put from fail_mark err path in sctp_ulpevent_make_rcvmsg
d3d4d69d9bbd sctp: handle two v4 addrs comparison in sctp_inet6_cmp_addr
f6c962d27d1a sctp: fix the issue that the cookie-ack with auth can't get processed
3b54f1fd8770 sctp: delay the authentication for the duplicated cookie-echo chunk
30ffa967adc3 rds: do not leak kernel memory to user land
2753ebb4e96c r8169: fix powering up RTL8168h
2bb66a711cc8 qmi_wwan: do not steal interfaces from class drivers
c1ce5f359066 openvswitch: Don't swap table in nlattr_set() after OVS_ATTR_NESTED is found
8e1b8e327903 net/tls: Fix connection stall on partial tls record
3ac0f3e0b823 net/tls: Don't recursively call push_record during tls_write_space callbacks
78ac65e8e940 net: support compat 64-bit time in {s,g}etsockopt
b2a4d52fae0d net_sched: fq: take care of throttled flows before reuse
6a5b0444e703 net sched actions: fix refcnt leak in skbmod
1abd8c5fea11 net/mlx5: E-Switch, Include VF RDMA stats in vport statistics
57e0a9f2174e net/mlx5e: Err if asked to offload TC match on frag being first
edc0c15f6f61 net/mlx4_en: Verify coalescing parameters are in range
2213a18303a2 net/mlx4_en: Fix an error handling path in 'mlx4_en_init_netdev()'
6b10014800ce net: ethernet: ti: cpsw: fix packet leaking in dual_mac mode
1029fb466b44 net: ethernet: sun: niu set correct packet size in skb
1e22ffab52c0 llc: better deal with too small mtu
a7aea8e27359 ipv4: fix memory leaks in udp_sendmsg, ping_v4_sendmsg
c751af522989 ipv4: fix fnhe usage by non-cached routes
91c2d70192c7 dccp: fix tasklet usage
2c13a91e0fc5 bridge: check iface upper dev when setting master via ioctl
ece94a76618e 8139too: Use disable_irq_nosync() in rtl8139_poll_controller()
3f07ecbec151 Linux 4.14.41
e8bbbd11e637 KVM: x86: remove APIC Timer periodic/oneshot spikes
5138dd0db530 KVM: PPC: Book3S HV: Fix handling of large pages in radix page fault handler
82e91e07e654 perf/x86: Fix possible Spectre-v1 indexing for x86_pmu::event_map()
7093d5d0caa7 perf/core: Fix possible Spectre-v1 indexing for ->aux_pages[]
6467123872a1 perf/x86/msr: Fix possible Spectre-v1 indexing in the MSR driver
4e4bb64df800 perf/x86/cstate: Fix possible Spectre-v1 indexing for pkg_msr
df2c71fb5c04 perf/x86: Fix possible Spectre-v1 indexing for hw_perf_event cache_*
bd05324cdd3a tracing/uprobe_event: Fix strncpy corner case
bb0b090d836a sched/autogroup: Fix possible Spectre-v1 indexing for sched_prio_to_weight[]
f2a42c6bca67 smb3: directory sync should not return an error
57e2ce8bbace nvme: add quirk to force medium priority for SQ creation
db433f83a81f thermal: exynos: Propagate error value from tmu_read()
33df2f8a8c87 thermal: exynos: Reading temperature makes sense only when TMU is turned on
4aa9ef8a29ad Bluetooth: btusb: Only check needs_reset_resume DMI table for QCA rome chipsets
4fcd0333b21e Bluetooth: btusb: Add Dell XPS 13 9360 to btusb_needs_reset_resume_table
9ddc1d27a913 Revert "Bluetooth: btusb: Fix quirk for Atheros 1525/QCA6174"
99e9acc27033 cpufreq: schedutil: Avoid using invalid next_freq
64a03d3b240f PCI / PM: Check device_may_wakeup() in pci_enable_wake()
89d5c4eb8105 PCI / PM: Always check PME wakeup capability for runtime wakeup support
e2023117b877 atm: zatm: Fix potential Spectre v1
cc21a603273c net: atm: Fix potential Spectre v1
87aa17ca56b9 drm/atomic: Clean private obj old_state/new_state in drm_atomic_state_default_clear()
969d4595f4a8 drm/atomic: Clean old_state/new_state in drm_atomic_state_default_clear()
34a21b17abd6 drm/nouveau: Fix deadlock in nv50_mstm_register_connector()
b2e01797216d drm/i915: Fix drm:intel_enable_lvds ERROR message in kernel log
2b2b00374a54 drm/vc4: Fix scaling of uni-planar formats
d2901e247b10 can: hi311x: Work around TX complete interrupt erratum
ad25cf42f4c7 can: hi311x: Acquire SPI lock on ->do_get_berr_counter
d0ca84d74f9f can: kvaser_usb: Increase correct stats counter in kvaser_usb_rx_can_msg()
4636b4e25112 ceph: fix rsize/wsize capping in ceph_direct_read_write()
2270dfcc4b12 mm, oom: fix concurrent munlock and oom reaper unmap, v3
8ee7dabb311d mm: sections are not offlined during memory hotremove
21fb6d8bc504 z3fold: fix reclaim lock-ups
899997129276 tracing: Fix regex_match_front() to not over compare the test string
586d02c1479f dm integrity: use kvfree for kvmalloc'd memory
3b93fff8f452 libata: Apply NOLPM quirk for SanDisk SD7UB3Q*G1001 SSDs
d1d5c31fc3a5 rfkill: gpio: fix memory leak in probe error path
a7ea57b025b1 gpio: fix error path in lineevent_create
28534d29479d gpio: fix aspeed_gpio unmask irq
0f40bb84e25e gpioib: do not free unrequested descriptors
ef7c4825fe5f compat: fix 4-byte infoleak via uninitialized struct field
50ed0188af8d arm64: Add work around for Arm Cortex-A55 Erratum 1024718
ca0ecba3ddf3 KVM: PPC: Book3S HV: Fix VRMA initialization with 2MB or 1GB memory backing
f768d0f981e6 KVM: PPC: Book3S HV: Fix guest time accounting with VIRT_CPU_ACCOUNTING_GEN
c51eb7379dfa KVM: PPC: Book3S HV: Fix trap number return from __kvmppc_vcore_entry
683b4520d07e bdi: Fix oops in wb_workfn()
6b5a99167a79 bdi: wake up concurrent wb_shutdown() callers.
8c12bd91b597 tcp: fix TCP_REPAIR_QUEUE bound checking
108cd022c59b perf: Remove superfluous allocation error check
17ffa29c3556 memcg: fix per_node_info cleanup
ac91ff2a5f12 inetpeer: fix uninit-value in inet_getpeer
566804864cd9 soreuseport: initialise timewait reuseport field
154ff3e04015 ipv4: fix uninit-value in ip_route_output_key_hash_rcu()
09e45996b3e7 dccp: initialize ireq->ir_mark
f9327803193a net: fix uninit-value in __hw_addr_add_ex()
5652aed1de29 net: initialize skb->peeked when cloning
ced9763b911d net: fix rtnh_ok()
bf2ecb934603 netlink: fix uninit-value in netlink_sendmsg
1b6d0db7ed22 crypto: af_alg - fix possible uninit-value in alg_bind()
19042316b9e1 kcm: Call strp_stop before strp_done in kcm_attach
725f5ae1a695 netfilter: ebtables: don't attempt to allocate 0-sized compat array
88c43b469db5 ipvs: fix rtnl_lock lockups caused by start_sync_thread
(From OE-Core rev: 625ab268d598b13b822ffc1cabb6d3452068b29a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a fragment to the various kernels to support QA testing
of samples.
(From OE-Core rev: 98f78e3e3d65085c000bdfcf890ea498520c0075)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following kern-tools commit:
tools/merge_config.sh: add CR after each fragment
If a fragment file doesn't contain a CR at the end, two config
options may be merged on the same line in the result file, leading to
misconfiguration.
This patch adds a CR after each fragment to ensure that config
options are well separated in the result file.
Bug-AGL: SPEC-1475
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
(From OE-Core rev: c36727f2cad6c2d51aff8da6e2acd5642afe9848)
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With recent kernels (i.e. 4.17+) the configuration phase of the kernel
will check for capabilities/options of the compiler for CVE and other
mitigation support.
For a general kernel, we want to ensure that CC is fully defined when
the config targets are invoked (so the proper compiler will be checked).
For linux-yocto, we also need to specify the compiler/tools dependencies
for the configme task since it executes before configure and hence the
main kernel build DEPENDS will not always be in the sysroot before it
executes. Without those dependencies the kernel will be incorrectly
configured (i.e. bison is missing) or the configuration will fail the
mitigation tests.
[YOCTO #12757]
(From OE-Core rev: ff1bdd75d50f0ebac3d599e461685ace29559a82)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit 6e36719fbe9 [crypto: aes-generic - fix aes-generic regression on
powerpc] addresses a build regression by 4.14-stable. So we cherry pick
it onto our branches while it works through the -stable process.
(From OE-Core rev: 01a4a4e24a2b61229be32f8852b2d5bc28c5689c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating v4.15 to the final korg -stable for the v4.15 series. It comprises
the following commits:
a8ec862fd39d Linux 4.15.18
c4f45cf301e6 ovl: set lower layer st_dev only if setting lower st_ino
9def916c750d rtl8187: Fix NULL pointer dereference in priv->conf_mutex
7a2a6d71eed4 Bluetooth: hci_bcm: Treat Interrupt ACPI resources as always being active-low
154b354f3171 Bluetooth: Fix connection if directed advertising and privacy is used
4eb2f39266ac getname_kernel() needs to make sure that ->name != ->iname in long case
84f086ee4e6a mm/gup_benchmark: handle gup failures
7e255357ef66 get_user_pages_fast(): return -EFAULT on access_ok failure
4d03a2e6b9b6 s390/compat: fix setup_frame32
e025da42c8e6 s390/ipl: ensure loadparm valid flag is set
0d4e77fe0659 s390/qdio: don't merge ERROR output buffers
f3eae28761c3 s390/qdio: don't retry EQBS after CCQ 96
4f2217cbe648 nfit: fix region registration vs block-data-window ranges
3adc135469c8 block/loop: fix deadlock after loop_set_status
9d8a3dc99219 apparmor: fix resource audit messages when auditing peer
93d36bc65698 apparmor: fix display of .ns_name for containers
5f7dc7d33ed3 apparmor: fix logging of the existence test for signals
b88779931388 scsi: qla2xxx: Fix small memory leak in qla2x00_probe_one on probe failure
e4e64ce3fbc4 nfsd: fix incorrect umasks
f6b213293ed9 hugetlbfs: fix bug in pgoff overflow checking
004f2df3ae48 xen: xenbus_dev_frontend: Fix XS_TRANSACTION_END handling
ff37d99aebb3 ovl: fix lookup with middle layer opaque dir and absolute path redirects
645840a17612 blk-mq: don't keep offline CPUs mapped to hctx 0
01e12511b9e9 blk-mq: order getting budget and driver tag
3e0b25015e05 lib: fix stall in __bitmap_parselist()
a8ce442c67ff nvme: Skip checking heads without namespaces
c5f1f15ab5f1 block: Change a rcu_read_{lock,unlock}_sched() pair into rcu_read_{lock,unlock}()
54e869fce691 f2fs: fix heap mode to reset it back
418a68e55acb sunrpc: remove incorrect HMAC request initialization
1ff02d3465dc x86/apic: Fix signedness bug in APIC ID validity checks
84ad0b9e121f ath9k: Protect queue draining by rcu_read_lock()
70146f28e419 hwmon: (ina2xx) Fix access to uninitialized mutex
717b489baaf0 x86/mce/AMD: Get address from already initialized block
ab0ed342375f perf/core: Fix use-after-free in uprobe_perf_close()
aa9cf90591f8 KVM: PPC: Book3S HV: trace_tlbie must not be called in realmode
02c74a999d69 PCI: hv: Fix 2 hang issues in hv_compose_msi_msg()
b5f7ba13889a PCI: hv: Serialize the present and eject work items
4d12fdda9978 Drivers: hv: vmbus: do not mark HV_PCIE as perf_device
ed7308bce0a2 parisc: Fix HPMC handler by increasing size to multiple of 16 bytes
2cad1487248d parisc: Fix out of array access in match_pci_device()
351b3d90c18d ipmi: Fix some error cleanup issues
9bb8f59e6ba0 media: v4l: vsp1: Fix header display list status check in continuous mode
2276552990c4 media: v4l2-compat-ioctl32: don't oops on overlay
44f9357a588e lan78xx: Correctly indicate invalid OTP
a6f8bdd9b583 vhost: Fix vhost_copy_to_user()
5c877c58589f ip_gre: clear feature flags when incompatible o_flags are set
a818b1e8182e l2tp: fix race in duplicate tunnel detection
186fab54f609 l2tp: fix races in tunnel creation
d6b25a259ef9 vhost: fix vhost_vq_access_ok() log check
f76f647e536b slip: Check if rstate is initialized before uncompressing
89a990000cd5 rds: MP-RDS may use an invalid c_path
14fb3c646653 cdc_ether: flag the Cinterion AHS8 modem by gemalto as WWAN
17da5b1d0a46 netfilter: ipset: Missing nfnl_lock()/nfnl_unlock() is added to ip_set_net_exit()
7b3f3fa2bdeb drm/i915/edp: Do not do link training fallback or prune modes on EDP
b22a1fa1b34f Linux 4.15.17
9e6ee870ad5a net/mlx4_core: Fix memory leak while delete slave's resources
94f1b8485ce3 vhost_net: add missing lock nesting notation
a17ab0a5c81c team: move dev_mc_sync after master_upper_dev_link in team_port_add
0f9e7b328bff route: check sysctl_fib_multipath_use_neigh earlier than hash
13ed54d5252e vhost: validate log when IOTLB is enabled
2030a5c0ab13 net/mlx5e: Fix traffic being dropped on VF representor
2b9260fb6f35 net/mlx4_en: Fix mixed PFC and Global pause user control requests
e2b83b778065 strparser: Fix sign of err codes
73a697b3ef62 net/sched: fix NULL dereference on the error path of tcf_skbmod_init()
39eab2e79f81 net/sched: fix NULL dereference in the error path of tunnel_key_init()
d6bda9865d4c net/mlx5e: Sync netdev vxlan ports at open
75744bdbce5f net/mlx5e: Don't override vport admin link state in switchdev mode
5dfa4fb5cd26 ipv6: sr: fix seg6 encap performances with TSO enabled
d0f3ccf5293c nfp: use full 40 bits of the NSP buffer address
9d49e497222c net/sched: fix NULL dereference in the error path of tcf_sample_init()
e95cdaee3d7d net/mlx5e: Fix memory usage issues in offloading TC flows
07c70edfbefd net/mlx5e: Avoid using the ipv6 stub in the TC offload neigh update path
5075e98fb92f net/sched: fix NULL dereference in the error path of tcf_vlan_init()
a61bf7ba7f9f net_sched: fix a missing idr_remove() in u32_delete_key()
8c09a81ed1b9 net/mlx5e: Set EQE based as default TX interrupt moderation mode
34eb1263d97f vti6: better validate user provided tunnel names
4fba1a669a9a ip6_tunnel: better validate user provided tunnel names
efcc90fcf90a ip6_gre: better validate user provided tunnel names
c64153772333 ipv6: sit: better validate user provided tunnel names
bc4718fcee7c ip_tunnel: better validate user provided tunnel names
764975439e8b net: fool proof dev_valid_name()
b9c36c30ccac bonding: process the err returned by dev_set_allmulti properly in bond_enslave
1999253e11b6 bonding: move dev_mc_sync after master_upper_dev_link in bond_enslave
4021b1a4ef73 bonding: fix the err path for dev hwaddr sync in bond_enslave
088d65ddf9c5 vrf: Fix use after free and double free in vrf_finish_output
51c6ba0d8d71 vlan: also check phy_driver ts_info for vlan's real device
25d45c0fd16c vhost: correctly remove wait queue during poll failure
3407271beb99 sky2: Increase D3 delay to sky2 stops working after suspend
7e72ce101da8 sctp: sctp_sockaddr_af must check minimal addr length for AF_INET6
9db59791e2b7 sctp: do not leak kernel memory to user space
cb2b72372ab2 r8169: fix setting driver_data after register_netdev
3b1c6b30170e pptp: remove a buggy dst release in pptp_connect()
db714a1ff359 net/sched: fix NULL dereference in the error path of tcf_bpf_init()
c7aea3ee65f1 net sched actions: fix dumping which requires several messages to user space
ae4d4eb29e54 net/mlx5e: Verify coalescing parameters in range
7102de5aef56 netlink: make sure nladdr has correct size in netlink_connect()
bbf5fab136f6 net/ipv6: Increment OUTxxx counters after netfilter hook
e3b4bc07821c net/ipv6: Fix route leaking between VRFs
202f1915fa1d net: fix possible out-of-bound read in skb_network_protocol()
7dd65ec55e31 net: dsa: Discard frames from unused ports
14fed02e94a8 lan78xx: Crash in lan78xx_writ_reg (Workqueue: events lan78xx_deferred_multicast_write)
dad8b0244bac ipv6: the entire IPv6 header chain must fit the first fragment
30d032b72d06 arp: fix arp_filter on l3slave devices
fea978223b59 x86/microcode: Fix CPU synchronization routine
32bfd224e9d6 x86/microcode: Attempt late loading only when new microcode is present
8e1161f94614 x86/microcode: Synchronize late microcode loading
7bc523cc535e x86/microcode: Request microcode on the BSP
194ed6edd93f x86/microcode/intel: Look into the patch cache first
399c019ea77c x86/microcode: Do not upload microcode if CPUs are offline
1089ac9dda39 x86/microcode/intel: Writeback and invalidate caches before updating microcode
1c1f5b2cd2cf x86/microcode/intel: Check microcode revision before updating sibling threads
abb00ec05909 x86/microcode: Get rid of struct apply_microcode_ctx
5cea945c5a3b x86/CPU: Check CPU feature bits after microcode upgrade
1a6150b2bad3 x86/CPU: Add a microcode loader callback
e280980606e7 x86/microcode: Propagate return value from updating functions
d3839c26e68d drm/i915/cnp: Properly handle VBT ddc pin out of bounds.
1710c3baec14 drm/i915/cnp: Ignore VBT request for know invalid DDC pin.
87ef4d6fc6b0 thermal: int3400_thermal: fix error handling in int3400_thermal_probe()
452aecd060f2 tcmu: release blocks for partially setup cmds
46279ed31169 perf tools: Fix copyfile_offset update of output offset
feb5c349feb5 crypto: aes-generic - build with -Os on gcc-7+
50dbed12aaa7 mtd: mtd_oobtest: Handle bitflips during reads
dad8f5220c5d Input: goodix - disable IRQs while suspended
d7c122fd723f ibmvnic: Don't handle RX interrupts when not up.
82c353ad3da1 sdhci: Advertise 2.0v supply on SDIO host controller
55a0ef8d9d71 x86/gart: Exclude GART aperture from vmcore
6a68ef47bea6 gpio: thunderx: fix error return code in thunderx_gpio_probe()
27fac1611fdd RDMA/cma: Fix rdma_cm path querying for RoCE
ce87afbbada6 scsi: megaraid_sas: unload flag should be set after scsi_remove_host is called
458419bb8429 scsi: megaraid_sas: Error handling for invalid ldcount provided by firmware in RAID map
edde080c5e33 PM / domains: Don't skip driver's ->suspend|resume_noirq() callbacks
3018e3d5171e cxgb4vf: Fix SGE FL buffer initialization logic for 64K pages
b2320552d1f5 drm/amd/powerplay: fix memory leakage when reload (v2)
70557b7f58db i40evf: don't rely on netif_running() outside rtnl_lock()
6e80af54604d Bluetooth: hci_bcm: Make shutdown and device wake GPIO optional
d8d843fe374b Bluetooth: hci_bcm: Validate IRQ before using it
e34b75c7db20 Bluetooth: hci_bcm: Mandate presence of shutdown and device wake GPIO
3ca4e49e9be7 uio_hv_generic: check that host supports monitor page
f0e9997e06a5 EDAC, mv64x60: Fix an error handling path
7018cb0149d1 serdev: Fix serdev_uevent failure on ACPI enumerated serdev-controllers
3af99e83a278 block, bfq: put async queues for root bfq groups too
a551b16c4903 tty: n_gsm: Allow ADM response in addition to UA for control dlci
13ba69ddf542 blk-mq: fix kernel oops in blk_mq_tag_idle()
1aa0564aae9e net/mlx5e: IPoIB, Use correct timestamp in child receive flow
d4beec7ede2a scsi: libsas: initialize sas_phy status according to response of DISCOVER
a8e93148d4e6 scsi: libsas: fix error when getting phy events
c16490ba27bb scsi: libsas: fix memory leak in sas_smp_get_phy_events()
614361530f03 net: Fix netdev_WARN_ONCE macro
088ebc83060e scsi: libsas: Use dynamic alloced work to avoid sas event lost
eead4cd85fe3 bcache: segregate flash only volume write streams
9390f52f68a8 bcache: stop writeback thread after detaching
18303da51818 bcache: ret IOERR when read meets metadata error
2300dbc6d1f3 net: hns3: fix for changing MTU
dfa20d9d7fa9 net: hns3: Fix an error macro definition of HNS3_TQP_STAT
f55dc2a4c18d net: hns3: Fix a loop index error of tqp statistics query
4434e6f5820f net: hns3: Fix an error of total drop packet statistics
c8de98d55dc4 net/mlx5: Fix race for multiple RoCE enable
717df1176636 wl1251: check return from call to wl1251_acx_arp_ip_filter
eb49779a13d9 rt2x00: do not pause queue unconditionally on error path
14d7f455a4da power: supply: axp288_charger: Properly stop work on probe-error / remove
c9ec5c8ac418 ASoC: Intel: sst: Fix the return value of 'sst_send_byte_stream_mrfld()'
b00f942fef90 staging: lustre: disable preempt while sampling processor id.
731edfbaf9e5 perf report: Fix a no annotate browser displayed issue
4c4f48c3e5d7 tpm: return a TPM_RC_COMMAND_CODE response if command is not implemented
0a592432e6e9 nvme_fcloop: fix abort race condition
513f897ed6e5 nvme_fcloop: disassocate local port structs
9d0b9e874ecf pinctrl: baytrail: Enable glitch filter for GPIOs used as interrupts
ab0ba11b94b5 nvme-fabrics: don't check for non-NULL module in nvmf_register_transport
2c624d6fede9 nvme-fabrics: protect against module unload during create_ctrl
3d4d30ecc250 backlight: tdo24m: Fix the SPI CS between transfers
3f9ae3bb4dca blk-mq: fix race between updating nr_hw_queues and switching io sched
f86fd0585e8e blk-mq: avoid to map CPU into stale hw queue
5be1bc32b82d IB/rdmavt: Allocate CQ memory on the correct node
a5a2a6bd5d4a powernv-cpufreq: Add helper to extract pstate from PMSR
618d78622811 arm64: asid: Do not replace active_asids if already 0
a257594a30d3 gpio: label descriptors using the device name
b2b11aebe49e crypto: crypto4xx - perform aead icv check in the driver
56d3fab6bc64 vfb: fix video mode and line_length being set when loaded
7f12c3f9eec6 mac80211: Fix setting TX power on monitor interfaces
110909d7a0c9 ACPI: EC: Fix debugfs_create_*() usage
03e965ebd983 irqchip/gic-v3: Fix the driver probe() fail due to disabled GICC entry
c97d465daddd irqchip/ompic: fix return value check in ompic_of_init()
f885f0701f6d scsi: mpt3sas: Proper handling of set/clear of "ATA command pending" flag.
f212235717ed scsi: libiscsi: Allow sd_shutdown on bad transport
f4fecf24ae66 RDMA/hns: Update the usage of sr_max and rr_max field
311b60b294b4 spi: sh-msiof: Fix timeout failures for TX-only DMA transfers
902dae240b4a IB/ipoib: Fix for notify send CQ failure messages
3ca14535c781 drm/msm: Fix NULL deref in adreno_load_gpu
70a6a6877a88 ASoC: Intel: cht_bsw_rt5645: Analog Mic support
df85cc29794a ASoC: Intel: Skylake: Disable clock gating during firmware and library download
4577c7f85eda media: videobuf2-core: don't go out of the buffer range
a8d3eea33c25 clk: sunxi-ng: a83t: Add M divider to TCON1 clock
e0870e5401ee f2fs: fix lock dependency in between dio_rwsem & i_mmap_sem
bde6301dbf14 hwmon: (ina2xx) Make calibration register value fixed
2bddcdd33e3a RDMA/cma: Mark end of CMA ID messages
7f0880203e52 thermal/drivers/hisi: Remove bogus const from function return type
a696e385ac75 selftests/net: fix bugs in address and port initialization
abf63e3cb1a8 net_sch: red: Fix the new offload indication
ffc544a91a0f gpiolib: don't dereference a desc before validation
ebc5545383f7 PM / devfreq: Fix potential NULL pointer dereference in governor_store
34e1b76c57d0 clk: divider: fix incorrect usage of container_of
5218e11fbd2f watchdog: dw_wdt: add stop watchdog operation
3a0289a45385 VFS: close race between getcwd() and d_move()
827fe75987f1 IB/mlx5: Report inner RSS capability
b644c41acce1 net/mlx4_en: Change default QoS settings
965736ee654d ACPI / video: Default lcd_only to true on Win8-ready and newer machines
ce6b782c6f38 rds; Reset rs->rs_bound_addr in rds_add_bound() failure path
e78a6e9aee5b l2tp: fix missing print session offset info
d8ffa7dfceb5 net: hns3: add Asym Pause support to phy default features
353900b83514 net: hns3: fix for getting auto-negotiation state in hclge_get_autoneg
4edd8be70f11 net: hns3: free the ring_data structrue when change tqps
295c02ce3322 perf evsel: Enable ignore_missing_thread for pid option
88d7e9f141c3 perf evsel: Fix swap for samples with raw data
9ab8894f195d perf probe: Add warning message if there is unexpected event name
ef0fa7a1ec6e perf probe: Find versioned symbols from map
2dffefdf975a thermal: power_allocator: fix one race condition issue for thermal_instances list
4dfb698be2a5 ipv6: Reinject IPv6 packets if IPsec policy matches after SNAT
542f2cc70fe6 Bluetooth: Add a new 04ca:3015 QCA_ROME device
7ee903fb3a1b ARM: dts: ls1021a: add "fsl,ls1021a-esdhc" compatible string to esdhc node
9f8a75a2299e clk: meson: mpll: use 64-bit maths in params_from_rate
be7835d54626 i40iw: Validate correct IRD/ORD connection parameters
551ace11e153 i40iw: Correct Q1/XF object count equation
c2f3d4bf8e4b i40iw: Fix sequence number for the first partial FPDU
49859d3c5536 Linux 4.15.16
b36c97615b98 Revert "ip6_vti: adjust vti mtu according to mtu of lower device"
f4c360885236 Revert "cpufreq: Fix governor module removal race"
2dae6069c488 Revert "ARM: dts: omap3-n900: Fix the audio CODEC's reset pin"
0dd269e2a25b Revert "ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin"
657fda9505c8 Fix slab name "biovec-(1<<(21-12))"
8282afd8abee net: hns: Fix ethtool private flags
84c68b621e90 ARM: dts: DRA76-EVM: Set powerhold property for tps65917
3d07d9f2eebb vt: change SGR 21 to follow the standards
48eaa5be295c Input: i8042 - enable MUX on Sony VAIO VGN-CS series to fix touchpad
fd50992f99c2 Input: i8042 - add Lenovo ThinkPad L460 to i8042 reset list
ec46704f08e8 Input: ALPS - fix TrackStick detection on Thinkpad L570 and Latitude 7370
9abdc666b793 Revert "base: arch_topology: fix section mismatch build warnings"
f1fcba111d9e staging: comedi: ni_mio_common: ack ai fifo error interrupts.
21f07630e75f Btrfs: fix unexpected cow in run_delalloc_nocow
e847da275f04 crypto: x86/cast5-avx - fix ECB encryption when long sg follows short one
860783c283c8 crypto: arm,arm64 - Fix random regeneration of S_shipped
493601f76734 crypto: ccp - return an actual key size from RSA max_size callback
7abca04ef3a0 crypto: caam - Fix null dereference at error path
48b9d82caba8 crypto: ahash - Fix early termination in hash walk
4010d75d2eb4 crypto: talitos - fix IPsec cipher in length
05c93fe33f94 crypto: testmgr - Fix incorrect values in PKCS#1 test vector
c3c97a9f2f52 crypto: inside-secure - fix clock management
7bc247d1fd68 crypto: talitos - don't persistently map req_ctx->hw_context and req_ctx->buf
27036ade0732 crypto: lrw - Free rctx->ext with kzfree
5afddba2aaae parport_pc: Add support for WCH CH382L PCI-E single parallel port card.
39fd6d094397 media: usbtv: prevent double free in error case
9b664c6a9f68 /dev/mem: Avoid overwriting "err" in read_mem()
3cde7e2ccec6 mei: remove dev_err message on an unsupported ioctl
29361c257631 serial: 8250: Add Nuvoton NPCM UART
ffed9ae46844 USB: serial: cp210x: add ELDAT Easywave RX09 id
b8541b3dc59c USB: serial: ftdi_sio: add support for Harman FirmwareHubEmulator
6693f178c9ab USB: serial: ftdi_sio: add RT Systems VX-8 cable
b5abde6ca2d2 bitmap: fix memset optimization on big-endian systems
7b2dcf7cc456 drm/i915/dp: Write to SET_POWER dpcd to enable MST hub.
886125faf5d1 Bluetooth: Fix missing encryption refresh on Security Request
8f723a276a4d phy: qcom-ufs: add MODULE_LICENSE tag
a192706b71fa netfilter: x_tables: add and use xt_check_proc_name
7ab7e3e2a0d4 netfilter: drop template ct when conntrack is skipped.
c16c62bb4d9f l2tp: fix races with ipv4-mapped ipv6 addresses
dd19573992b5 netfilter: bridge: ebt_among: add more missing match size checks
8f4ed22f6b5e netfilter: x_tables: make allocation less aggressive
5bb3f4acc8aa percpu: add __GFP_NORETRY semantics to the percpu balancing path
c7f2bd1850a8 xfrm: Refuse to insert 32 bit userspace socket policies on 64 bit systems
94f84ba56f3d net: xfrm: use preempt-safe this_cpu_read() in ipcomp_alloc_tfms()
e13d781171fb ipv6: fix possible deadlock in rt6_age_examine_exception()
b2bf2cb68880 RDMA/ucma: Introduce safer rdma_addr_size() variants
f55b41ce03a7 RDMA/ucma: Check that device exists prior to accessing it
c0cbbca14176 RDMA/ucma: Check that device is connected prior to access it
c88aaa5ab28a RDMA/rdma_cm: Fix use after free race with process_one_req
5eb56dd0ba03 RDMA/ucma: Ensure that CM_ID exists prior to access it
0b17ac3f080d RDMA/ucma: Fix use-after-free access in ucma_close
a6474d6ef156 RDMA/ucma: Check AF family prior resolving address
7df65ad1d45a xfrm_user: uncoditionally validate esn replay attribute struct
abb971a27ed5 partitions/msdos: Unable to mount UFS 44bsd partitions
cc842a34bfb2 powerpc/64s: Fix i-side SLB miss bad address handler saving nonvolatile GPRs
f8e68e8f8db5 powerpc/64s: Fix lost pending interrupt due to race causing lost update to irq_happened
5c0b4a907396 powerpc/mm: Workaround Nest MMU bug with TLB invalidations
d657375f3616 powerpc/mm: Add tracking of the number of coprocessors using a context
b61312ebb1c9 i2c: i2c-stm32f7: fix no check on returned setup
19254443adf9 ipc/shm.c: add split function to shm_vm_ops
f2fb59601631 ceph: only dirty ITER_IOVEC pages for direct read
9b5b7c382e11 perf/hwbp: Simplify the perf-hwbp code, fix documentation
a408b211f579 x86/platform/uv/BAU: Add APIC idt entry
740aa1579526 ALSA: pcm: potential uninitialized return values
4321a749661b ALSA: pcm: Use dma_bytes as size parameter in dma_mmap_coherent()
5891c83b01ad ALSA: usb-audio: Add native DSD support for TEAC UD-301
6aa2e5ddc3cd mtd: nand: atmel: Fix get_sectorsize() function
e80deb59802c mtd: jedec_probe: Fix crash in jedec_read_mfr()
26692e9a0aaf ARM: dts: sun6i: a31s: bpi-m2: add missing regulators
acc7f0201fc3 ARM: dts: sun6i: a31s: bpi-m2: improve pmic properties
955901702381 ARM: 8746/1: vfp: Go back to clearing vfp_current_hw_state[]
37496fe93169 ARM: OMAP: Fix SRAM W+X mapping
ae0a11b2bd33 Linux 4.15.15
ab58638491e1 team: Fix double free in error path
a21aaaf921ab skbuff: Fix not waking applications when errors are enqueued
0a5c5886c3b4 qede: Fix qedr link update
71aa561fa21b net: systemport: Rewrite __bcm_sysport_tx_reclaim()
347de2ecf61b net: Only honor ifindex in IP_PKTINFO if non-0
ffa24344d004 netlink: avoid a double skb free in genlmsg_mcast()
b471f6727288 net/iucv: Free memory obtained by kzalloc
24f6021c26ef net: fec: Fix unbalanced PM runtime calls
fbc1ee88e866 net: ethernet: ti: cpsw: add check for in-band mode setting with RGMII PHY interface
41d133c01d20 net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred
8e903f508390 l2tp: do not accept arbitrary sockets
f1c344162052 ipv6: fix access to non-linear packet in ndisc_fill_redirect_hdr_option()
5df0f40809d4 dccp: check sk for closed state in dccp_sendmsg()
01a82ba817fc dpaa_eth: remove duplicate increment of the tx_errors counter
8e84c72fe1b7 dpaa_eth: increment the RX dropped counter when needed
d50884855ed0 dpaa_eth: remove duplicate initialization
e9b0efd5940c dpaa_eth: fix error in dpaa_remove()
5b10a404419f soc/fsl/qbman: fix issue in qman_delete_cgr_safe()
2a00d08da9ff s390/qeth: on channel error, reject further cmd requests
e992c8b81cd0 s390/qeth: lock read device while queueing next buffer
4b6cd4820c66 s390/qeth: when thread completes, wake up all waiters
657a7148bd4b s390/qeth: free netdevice when removing a card
aac53ed860ee net: Fix hlist corruptions in inet_evict_bucket()
5eb1b63557d8 net: use skb_to_full_sk() in skb_update_prio()
7d7d04a6e6d5 ieee802154: 6lowpan: fix possible NULL deref in lowpan_device_event()
a69b268ae27d sch_netem: fix skb leak in netem_enqueue()
b6b64dea97e0 kcm: lock lower socket in kcm_attach
b1bb7e6aa293 test_rhashtable: add test case for rhltable with duplicate objects
93589a0ae7e7 rhashtable: Fix rhlist duplicates insertion
8b24af17d5fc ppp: avoid loop in xmit recursion detection code
a1209e98ff49 net sched actions: return explicit error when tunnel_key mode is not specified
37c446138df8 ipv6: Reflect MTU changes on PMTU of exceptions for MTU-less routes
9401d455a739 net: phy: Tell caller result of phy_change()
33dcdffc31e5 mlxsw: spectrum_buffers: Set a minimum quota for CPU port traffic
af1ba7e5e0cd ipv6: sr: fix scheduling in RCU when creating seg6 lwtunnel state
68e01f404461 ipv6: sr: fix NULL pointer dereference when setting encap source address
7340d647447f ipv6: old_dport should be a __be16 in __ip6_datagram_connect()
812cb9e2340d net: ipv6: keep sk status consistent after datagram connect failure
f09036d3d61c macvlan: filter out unsupported feature flags
2076d28a639e devlink: Remove redundant free on error path
9c94855066d3 net: phy: relax error checking when creating sysfs link netdev->phydev
956c93369149 sysfs: symlink: export sysfs_create_link_nowarn()
986468a18f78 qed: Fix non TCP packets should be dropped on iWARP ll2 connection
960058fe1963 tcp: purge write queue upon aborting the connection
10849a12c052 qed: Fix MPA unalign flow in case header is split across two packets.
cce2b12ee5af openvswitch: meter: fix the incorrect calculation of max delta_t
1759a5455f7d net: dsa: Fix dsa_is_user_port() test inversion
0ba3b3aac901 Linux 4.15.14
9c5ee9934c90 bpf, x64: increase number of passes
18a9e4d888d6 bpf: skip unnecessary capability check
700082a54165 kbuild: disable clang's default use of -fmerge-all-constants
c7674a71bc38 staging: android: ion: Zero CMA allocated memory
e8689b8bbae9 iio: imu: st_lsm6dsx: introduce conf_lock mutex
0757dce21913 iio: imu: st_lsm6dsx: fix endianness in st_lsm6dsx_read_oneshot()
b7a6e26b331d iio: ABI: Fix name of timestamp sysfs file
b844443b8e89 perf/x86/intel/uncore: Fix multi-domain PCI CHA enumeration bug on Skylake servers
190e67640d20 perf/x86/intel: Don't accidentally clear high bits in bdw_limit_period()
a002966e849b trace/bpf: remove helper bpf_perf_prog_read_value from tracepoint type programs
e623ff1aceff perf/core: Fix ctx_event_type in ctx_resched()
f736f6560e04 perf stat: Fix CVS output format for non-supported counters
b42e3e521999 perf/x86/intel/uncore: Fix Skylake UPI event format
7d4e27d30070 hwmon: (k10temp) Add temperature offset for Ryzen 1900X
1a0d6102cd02 hwmon: (k10temp) Only apply temperature offset if result is positive
591b6ad1ddbc x86/boot/64: Verify alignment of the LOAD segment
b3d1a5bc0e47 x86/build/64: Force the linker to use 2MB page size
8c42170a40fb kvm/x86: fix icebp instruction handling
ab26ea17a6dc posix-timers: Protect posix clock array access against speculation
cd7abf600406 x86/efi: Free efi_pgd with free_pages()
279ebed98bb2 x86/vsyscall/64: Use proper accessor to update P4D entry
1e4ed1727e2a selftests/x86/ptrace_syscall: Fix for yet more glibc interference
69a71b6b418c x86/entry/64: Don't use IST entry for #BP stack
64c98ba6ddb5 tty: vt: fix up tabstops properly
dfde88160d7b can: cc770: Fix use after free in cc770_tx_interrupt()
89fc6c01aae9 can: cc770: Fix queue stall & dropped RTR reply
f543d85120e1 can: cc770: Fix stalls on rt-linux, remove redundant IRQ ack
f29397c91e05 can: ifi: Check core revision upon probe
717885b66fb8 can: ifi: Repair the error handling
4f39b4fd443c can: peak/pcie_fd: remove useless code when interface starts
054317e751c7 can: peak/pcie_fd: fix echo_skb is occupied! bug
9a6730ae707b staging: ncpfs: memory corruption in ncp_read_kernel()
7b6f657ad598 mtd: nand: fsl_ifc: Read ECCSTAT0 and ECCSTAT1 registers for IFC 2.0
7cc7ee831a35 mtd: nand: fsl_ifc: Fix eccstat array overflow for IFC ver >= 2.0.0
1d65c538a1e1 mtd: nand: fsl_ifc: Fix nand waitfunc return value
a49c7c336348 mtdchar: fix usage of mtd_ooblayout_ecc()
9b474cd0749d tracing: probeevent: Fix to support minus offset from symbol
d2e051d5d636 rtlwifi: rtl8723be: Fix loss of signal
8c210a84ed36 brcmfmac: fix P2P_DEVICE ethernet address generation
6b7ece4accf1 libnvdimm, {btt, blk}: do integrity setup before add_disk()
0cb158fadfd5 ACPI / watchdog: Fix off-by-one error at resource assignment
b0b2d4f74b72 acpi, numa: fix pxm to online numa node associations
517f745e5e64 module: propagate error in modules_open()
c8f7955b5493 mm/vmscan: wake up flushers for legacy cgroups too
01592437b0ec drm: udl: Properly check framebuffer mmap offsets
1554edbbb723 drm: Reject getfb for multi-plane framebuffers
f6b53a429e65 drm/amd/display: Add one to EDID's audio channel count when passing to DC
fa81f6281879 drm/amd/display: We shouldn't set format_default on plane as atomic driver
19f2fd88d999 drm/radeon: Don't turn off DP sink when disconnected
5001c04d08bb drm/vmwgfx: Fix a destoy-while-held mutex problem.
b7c3cc858b02 drm/vmwgfx: Fix black screen and device errors when running without fbdev
f981611c4ae3 Revert "mm: page_alloc: skip over regions of invalid pfns where possible"
d3d155da63b9 mm/shmem: do not wait for lock_page() in shmem_unused_huge_shrink()
29c11d86b74f mm/thp: do not wait for lock_page() in deferred_split_scan()
babe10f62b6b mm/khugepaged.c: convert VM_BUG_ON() to collapse fail
63da3be586bb x86/mm: implement free pmd/pte page interfaces
0454e2fad930 mm/vmalloc: add interfaces to free unmapped page table
6104f7df1e22 h8300: remove extraneous __BIG_ENDIAN definition
e0fdb5385c4b hugetlbfs: check for pgoff value overflow
2800f9c188c7 media: tegra-cec: reset rx_buf_cnt when start bit detected
0f44e9da465e nfsd: remove blocked locks on client teardown
401c02d7c9b5 cgroup: fix rule checking for threaded mode switching
6823e0efcb01 sched, cgroup: Don't reject lower cpu.max on ancestors
aa0832d01611 libata: Modify quirks for MX100 to limit NCQ_TRIM quirk to MU01 version
85fd780b26aa libata: Make Crucial BX100 500GB LPM quirk apply to all firmware versions
a3121f28e584 libata: Apply NOLPM quirk to Crucial M500 480 and 960GB SSDs
a51206d6a1c3 libata: Enable queued TRIM for Samsung SSD 860
2cd5b672744b libata: disable LPM for Crucial BX100 SSD 500GB drive
3c23829899da libata: Apply NOLPM quirk to Crucial MX100 512GB SSDs
0f849a36c2c3 libata: don't try to pass through NCQ commands to non-NCQ devices
25af1a9219d6 libata: remove WARN() for DMA or PIO command without data
b679d0e7d685 libata: fix length validation of ATAPI-relayed SCSI commands
7ec32f585fef Bluetooth: btusb: Fix quirk for Atheros 1525/QCA6174
a7f0ce743bfe Bluetooth: btusb: Add Dell OptiPlex 3060 to btusb_needs_reset_resume_table
ee1195515988 Bluetooth: btusb: Remove Yoga 920 from the btusb_needs_reset_resume_table
6c927e37a857 pinctrl: samsung: Validate alias coming from DT
98bb0e40fa7f Drivers: hv: vmbus: Fix ring buffer signaling
8fe98b2177a9 RDMA/mlx5: Fix crash while accessing garbage pointer and freed memory
808176cd9eeb clk: sunxi-ng: a31: Fix CLK_OUT_* clock ops
c3c66b380218 clk: bcm2835: Protect sections updating shared registers
318078995410 clk: bcm2835: Fix ana->maskX definitions
cb5cfed66ebc lockdep: fix fs_reclaim warning
b5f2a5c3c09c ahci: Add PCI-id for the Highpoint Rocketraid 644L card
23a6254a4ddf PCI: Add function 1 DMA alias quirk for Highpoint RocketRAID 644L
5b863a4deb8b mmc: dw_mmc: fix falling from idmac to PIO mode when dw_mci_reset occurs
8049c2c413da mmc: dw_mmc: exynos: fix the suspend/resume issue for exynos5433
b4a2de90aeb6 mmc: dw_mmc: Fix the DTO/CTO timeout overflow calculation for 32-bit systems
40888f31f9cf mmc: block: fix updating ext_csd caches on ioctl call
836b7527a839 mmc: core: Disable HPI for certain Micron (Numonyx) eMMC cards
1e0ca4f53915 mmc: core: Fix tracepoint print of blk_addr and blksz
b49428a00020 ALSA: hda/realtek - Always immediately update mute LED with pin VREF
291bebca94a0 ALSA: hda/realtek - Fix Dell headset Mic can't record
953434bdd33e ALSA: hda/realtek - Fix speaker no sound after system resume
1082b81751dd ALSA: hda - Force polling mode on CFL for fixing codec communication
33cc51d03b60 ALSA: aloop: Fix access to not-yet-ready substream via cable
66ef51a5c402 ALSA: aloop: Sync stale timer before release
771782b6fb94 ALSA: usb-audio: Fix parsing descriptor of UAC2 processing unit
32e6d1ee98ab iio: adc: meson-saradc: unlock on error in meson_sar_adc_lock()
e1db7d19c6fa iio: st_pressure: st_accel: pass correct platform data to init
805a995cb8a3 iio: chemical: ccs811: Corrected firmware boot/application mode transition
f047d3d7f86d MIPS: lantiq: ase: Enable MFD_SYSCON
ea8cbb7cc71b MIPS: lantiq: Enable AHB Bus for USB
6b26df694632 MIPS: lantiq: Fix Danube USB clock
2dcbf520510c MIPS: ralink: Fix booting on MT7621
fb43da3ac012 MIPS: ralink: Remove ralink_halt()
(From OE-Core rev: 7dd52d9e39109d8b24227163857595f17be16f4d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable releases for 4.14, which comprise the
following commits:
fc72a4171174 Linux 4.14.40
27f29dbceb3c tracing: Fix bad use of igrab in trace_uprobe.c
d86aaca9cea2 irqchip/qcom: Fix check for spurious interrupts
bd2088d1d77a platform/x86: asus-wireless: Fix NULL pointer dereference
87fa7da673b4 usb: musb: trace: fix NULL pointer dereference in musb_g_tx()
303e99bde8dc usb: musb: host: fix potential NULL pointer dereference
ec6de93fab50 USB: serial: option: adding support for ublox R410M
3f0c247910d0 USB: serial: option: reimplement interface masking
0e548f5abae9 USB: Accept bulk endpoints with 1024-byte maxpacket
425a02545d5e usb: dwc3: gadget: Fix list_del corruption in dwc3_ep_dequeue
0cc49bb627ad USB: serial: visor: handle potential invalid device configuration
0799a0ea96e4 errseq: Always report a writeback error once
b4f6e858433e test_firmware: fix setting old custom fw path back on exit, second try
43b3ba6ece54 drm/bridge: vga-dac: Fix edid memory leak
df9703e7e72a drm/vmwgfx: Fix a buffer object leak
758f3340b803 iw_cxgb4: Atomically flush per QP HW CQEs
d7683a5c8c94 IB/hfi1: Fix NULL pointer dereference when invalid num_vls is used
79181a45aa9a IB/hfi1: Fix loss of BECN with AHG
7f185bc79bb9 IB/hfi1: Fix handling of FECN marked multicast packet
b5ebbbc72671 IB/mlx5: Use unlimited rate when static rate is not supported
a27293f2f6e1 NET: usb: qmi_wwan: add support for ublox R410M PID 0x90b2
14ad51557092 RDMA/mlx5: Protect from shift operand overflow
be855252ebce RDMA/mlx5: Fix multiple NULL-ptr deref errors in rereg_mr flow
3ae1bf368135 RDMA/ucma: Allow resolving address w/o specifying source address
38a65e753503 RDMA/cxgb4: release hw resources on device removal
bd9ca962eeb0 xfs: prevent creating negative-sized file via INSERT_RANGE
b68c7af0b2e7 rtlwifi: cleanup 8723be ant_sel definition
fcd835be6c17 rtlwifi: btcoex: Add power_on_setting routine
10579ed39e20 Input: atmel_mxt_ts - add touchpad button mapping for Samsung Chromebook Pro
894937021946 Input: leds - fix out of bound access
2c698f7b169a scsi: target: Fix fortify_panic kernel exception
f4438b15755e tracepoint: Do not warn on ENOMEM
bd0e2aec5686 ALSA: aloop: Add missing cable lock to ctl API callbacks
4e3460ae33c6 ALSA: aloop: Mark paused device as inactive
9581fff37b1a ALSA: dice: fix kernel NULL pointer dereference due to invalid calculation for array index
dfe7f043bcfc ALSA: seq: Fix races at MIDI encoding in snd_virmidi_output_trigger()
e5e9a770cec2 ALSA: pcm: Check PCM state at xfern compat ioctl
5f6e6d063ac1 ALSA: hda - Fix incorrect usage of IS_REACHABLE()
c1e76c30079d USB: serial: option: Add support for Quectel EP06
c8a622ed9e53 ACPI / button: make module loadable when booted in non-ACPI mode
63d9df9eb7a5 crypto: talitos - fix IPsec cipher in length
e9caf1e1d5d4 percpu: include linux/sched.h for cond_resched()
6a3c946b205f net: don't call update_pmtu unconditionally
3a928a262c1c geneve: update skb dst pmtu on tx path
7d6240f0fb85 Linux 4.14.39
7fddff51f245 powerpc/eeh: Fix race with driver un/bind
e5a290c4ff77 arm/arm64: KVM: Add PSCI version selection API
a2066aa76a7a tick/sched: Do not mess with an enqueued hrtimer
922e5129eb01 x86/microcode: Do not exit early from __reload_late()
7c6bcaac737f x86/microcode/intel: Save microcode patch unconditionally
b319531024d9 x86/smpboot: Don't use mwait_play_dead() on AMD systems
ce911a5b1fea x86/ipc: Fix x32 version of shmid64_ds and msqid64_ds
8e99c881e497 tools/lib/subcmd/pager.c: do not alias select() params
d1f1f7771a6a objtool, perf: Fix GCC 8 -Wrestrict error
bf1d7023c901 drm/i915: Enable display WA#1183 from its correct spot
559121f5a165 drm/amdgpu: set COMPUTE_PGM_RSRC1 for SGPR/VGPR clearing shaders
79340bda01ab rtc: opal: Fix OPAL RTC driver OPAL_BUSY loops
20b0f757da3b cpufreq: powernv: Fix hardlockup due to synchronous smp_call in timer interrupt
3a5465d0b61d earlycon: Use a pointer table to fix __earlycon_table stride
9922fd0c681f fpga-manager: altera-ps-spi: preserve nCONFIG state
7563d6f2be58 libceph: validate con->state at the top of try_write()
c2bc3eb5599f libceph: reschedule a tick in finish_hunting()
76f7b52b5bf0 libceph: un-backoff on tick when we have a authenticated session
b02bbcce8ea3 ASoC: fsl_esai: Fix divisor calculation failure at lower ratio
674d38ea1850 crypto: drbg - set freed buffers to NULL
a32a944a60c8 powerpc/powernv/npu: Do a PID GPU TLB flush when invalidating a large address range
f2acc8dc0644 powerpc/mm: Flush cache on memory hot(un)plug
5a5ea3401799 KVM: arm/arm64: Close VMID generation race
0ddb53a67cbd ARM: socfpga_defconfig: Remove QSPI Sector 4K size force
f671ee8de31a ARM: amba: Don't read past the end of sysfs "driver_override" buffer
23abff7b984f ARM: amba: Fix race condition with driver_override
bcd73c772ec1 ARM: amba: Make driver_override output consistent with other buses
1a6e0a900bce PCI: aardvark: Fix PCIe Max Read Request Size setting
6b3751e249ff PCI: aardvark: Use ISR1 instead of ISR0 interrupt in legacy irq mode
f0ae21a86eb5 PCI: aardvark: Set PIO_ADDR_LS correctly in advk_pcie_rd_conf()
e90b89088a10 PCI: aardvark: Fix logic in advk_pcie_{rd,wr}_conf()
fd0485e2cc7b ANDROID: binder: prevent transactions into own process.
bddabeb71f3f vfio: ccw: process ssch with interrupts disabled
be10336a9072 bfq-iosched: ensure to clear bic/bfqq pointers when preparing request
b23b4174275d scsi: sd: Defer spinning up drive while SANITIZE is in progress
a5f4276787d6 kobject: don't use WARN for registration failures
6840b774dc4d mtd: rawnand: tango: Fix struct clk memory leak
f69cd2d30a80 mtd: cfi: cmdset_0002: Do not allow read/write to suspend erase block.
204e0761846b mtd: cfi: cmdset_0001: Workaround Micron Erase suspend bug.
1de1ad0c2c42 mtd: cfi: cmdset_0001: Do not allow read/write to suspend erase block.
6c677c5968aa mtd: spi-nor: cadence-quadspi: Fix page fault kernel panic
3d4612bf62c8 ALSA: hda/realtek - change the location for one of two front mics
53c4197a2d7e ALSA: hda/realtek - Update ALC255 depop optimize
c9df23efe5cc ALSA: hda/realtek - Add some fixes for ALC233
d680a34d82b6 ALSA: hda: Hardening for potential Spectre v1
bda3aba8c0a1 ALSA: seq: oss: Hardening for potential Spectre v1
4a52a2127240 ALSA: seq: oss: Fix unbalanced use lock for synth MIDI device
30ddc329d562 ALSA: core: Report audio_tstamp in snd_pcm_sync_ptr
00e0495d8327 ALSA: pcm: Return negative delays from SNDRV_PCM_IOCTL_DELAY.
6ab1a94d17db ALSA: control: Hardening for potential Spectre v1
9d57d45965dd ALSA: rme9652: Hardening for potential Spectre v1
f8616ffbb78d ALSA: hdspm: Hardening for potential Spectre v1
8f1705268fd2 ALSA: asihpi: Hardening for potential Spectre v1
b67a05364e5d ALSA: opl3: Hardening for potential Spectre v1
19baecfc1105 ALSA: hda - Skip jack and others for non-existing PCM streams
d03fbe62e173 ALSA: dice: fix error path to destroy initialized stream data
ba9c9886a40d ALSA: dice: fix OUI for TC group
545906124041 tty: Use __GFP_NOFAIL for tty_ldisc_get()
877f418171af tty: Avoid possible error pointer dereference at tty_ldisc_restore().
6a50af86a62b tty: n_gsm: Fix DLCI handling for ADM mode if debug & 2 is not set
6ba9a47d1fc5 tty: n_gsm: Fix long delays with control frame timeouts in ADM mode
4854b9665c81 tty: Don't call panic() at tty_ldisc_init()
c0ed8ece4ef3 drm/virtio: fix vq wait_event condition
998d43ce034b virtio_console: reset on out of memory
e9287108acce virtio_console: move removal code
75fc6f2d39bf virtio_console: drop custom control queue cleanup
6b1c41a0f718 virtio_console: free buffers after reset
4217a339b37d virtio_console: don't tie bufs to a vq
7ae93ff136a0 virtio: add ability to iterate over vqs
cf7405f67543 ALSA: usb-audio: Skip broken EU on Dell dock USB-audio
e6d2055ba32f USB: Increment wakeup count on remote wakeup.
c59dc4d13519 usb: core: Add quirk for HP v222w 16GB Mini
333909311d70 usb: typec: ucsi: Increase command completion timeout value
f310eb70657e USB: serial: cp210x: add ID for NI USB serial console
747120e77100 USB: serial: ftdi_sio: use jtag quirk for Arrow USB Blaster
8f30aa32b716 USB: serial: simple: add libtransistor console
0b932b1ca9da xhci: Fix USB ports for Dell Inspiron 5775
64abd2428e54 Revert "xhci: plat: Register shutdown for xhci_plat"
b792b1f7d01c usbip: vhci_hcd: check rhport before using in vhci_hub_control()
4abe5b775a16 usbip: vhci_hcd: Fix usb device and sockfd leaks
944edaf13dee usbip: usbip_host: fix to hold parent lock for device_attach() calls
470bf16ae1ab usbip: usbip_event: fix to not print kernel pointer address
76dbabb38a18 random: rate limit unseeded randomness warnings
ffc5b50a2b53 random: fix possible sleeping allocation from irq context
812b51a63000 random: set up the NUMA crng instances after the CRNG is fully initialized
ae0db58dabe5 ext4: fix bitmap position validation
b39430ea0687 ext4: add validity checks for bitmap block numbers
55cc3bb0a6c7 ext4: add MODULE_SOFTDEP to ensure crc32c is included in the initramfs
4a3674acbf8b ext4: set h_journal if there is a failure starting a reserved handle
1a538cb0879d ext4: prevent right-shifting extents beyond EXT_MAX_BLOCKS
a87463f7420c Linux 4.14.38
3e4915873cff ACPI / video: Only default only_lcd to true on Win8-ready _desktops_
c371fe019001 s390/uprobes: implement arch_uretprobe_is_alive()
5dad51054d8a s390/dasd: fix IO error for newly defined devices
3b5c2e1d163a s390/cio: update chpid descriptor after resource accessibility event
a75bf6f71744 tracing: Fix missing tab for hwlat_detector print format
d82923c017de block/swim: Fix IO error at end of medium
06dc2e919593 block/swim: Fix array bounds check
8c37ac3c04e7 block/swim: Select appropriate drive on device open
cdb0d5fa2528 block/swim: Rename macros to avoid inconsistent inverted logic
f359e87feb88 block/swim: Remove extra put_disk() call from error path
b7100feb26d2 block/swim: Don't log an error message for an invalid ioctl
0dd9146a2291 block/swim: Check drive type
43f8a4f2c8b2 m68k/mac: Don't remap SWIM MMIO region
75b98294e09a fsnotify: Fix fsnotify_mark_connector race
68c09d548bfc cdrom: information leak in cdrom_ioctl_media_changed()
f4df47e36ac0 scsi: mptsas: Disable WRITE SAME
77df079be9b4 commoncap: Handle memory allocation failure.
540e7b5be492 Revert "mm/hmm: fix header file if/else/endif maze"
a252b9732243 arm64: dts: rockchip: remove vdd_log from rk3399-puma
fcc347bc1e34 microblaze: Setup dependencies for ASM optimized lib functions
5787b55b5019 s390: correct module section names for expoline code revert
f836b34fb056 s390: correct nospec auto detection init order
fce1bf054f0b s390: add sysfs attributes for spectre
68cb884e1228 s390: report spectre mitigation via syslog
719b84c9aec2 s390: add automatic detection of the spectre defense
ea1bbd53f055 s390: move nobp parameter functions to nospec-branch.c
6cdc4b21d219 s390/entry.S: fix spurious zeroing of r0
74a93ae5c328 s390: do not bypass BPENTER for interrupt system calls
6288e169a25e s390: Replace IS_ENABLED(EXPOLINE_*) with IS_ENABLED(CONFIG_EXPOLINE_*)
1d966a6aded3 KVM: s390: force bp isolation for VSIE
b609eb65f315 s390: introduce execute-trampolines for branches
0bd4c47c2026 s390: run user space and KVM guests with modified branch prediction
43cccd87c184 s390: add options to change branch prediction behaviour for the kernel
c257f81b6d45 s390/alternative: use a copy of the facility bit mask
2ae89b86a77f s390: add optimized array_index_mask_nospec
2ae8b68382ce s390: scrub registers on kernel entry and KVM exit
ea5566fecd03 KVM: s390: wire up bpb feature
37e79747128b s390: enable CPU alternatives unconditionally
b44533a06fd8 s390: introduce CPU alternatives
55c80adf0d0e virtio_net: fix adding vids on big-endian
d86aacaaf9d2 virtio_net: split out ctrl buffer
16c36a2c7632 net: ethernet: ti: cpsw: fix tx vlan priority mapping
7814c479de7a llc: fix NULL pointer deref for SOCK_ZAPPED
543a60112f01 llc: hold llc_sap before release_sock()
4c2c574cf6ed net: sched: ife: check on metadata length
388f3d9708fc net: sched: ife: handle malformed tlv length
75020d6319ee tcp: clear tp->packets_out when purging write queue
da499024f6fe net: sched: ife: signal not finding metaid
2f781ebfb08f strparser: Fix incorrect strp->need_bytes value.
109feb04c851 amd-xgbe: Only use the SFP supported transceiver signals
9a66123182a6 strparser: Do not call mod_delayed_work with a timeout of LONG_MAX
346ba2f22107 amd-xgbe: Improve KR auto-negotiation and training
29b623b60549 sctp: do not check port in sctp_inet6_cmp_addr
f42036e8051e amd-xgbe: Add pre/post auto-negotiation phy hooks
dd997151740f vlan: Fix reading memory beyond skb->tail in skb_vlan_tagged_multi
88b7895e7c6d pppoe: check sockaddr length in pppoe_connect()
ed2ba25f6d50 tipc: add policy for TIPC_NLA_NET_ADDR
6da813d79cfa packet: fix bitfield update race
70a615d7daa0 team: fix netconsole setup over team
07cb0b54d7d9 net/smc: fix shutdown in state SMC_LISTEN
7b4f4d759c8e team: avoid adding twice the same option to the event list
012e5e5b6991 net: fix deadlock while clearing neighbor proxy table
d5387e66388f tcp: md5: reject TCP_MD5SIG or TCP_MD5SIG_EXT on established sockets
7c2352520e51 net: af_packet: fix race in PACKET_{R|T}X_RING
b76d3f3309cf tcp: don't read out-of-bounds opsize
cb225e80c9a3 llc: delete timers synchronously in llc_sk_free()
15efa783286c net: validate attribute sizes in neigh_dump_table()
dbf57fd1e05e l2tp: check sockaddr length in pppol2tp_connect()
c7a936b1dd0f KEYS: DNS: limit the length of option strings
a370d8a3aaf2 ipv6: sr: fix NULL pointer dereference in seg6_do_srh_encap()- v4 pkts
8d34c6773459 ipv6: add RTA_TABLE and RTA_PREFSRC to rtm_ipv6_policy
e0286ea0846c bonding: do not set slave_dev npinfo before slave_enable_netpoll in bond_enslave
5f50186dd810 Revert "ath10k: send (re)assoc peer command when NSS changed"
781eeb7af2bd tpm: add retry logic
f6891ec29c59 tpm: tpm-interface: fix tpm_transmit/_cmd kdoc
ac5881b7814d tpm: cmd_ready command can be issued only after granting locality
3b38734ed9fe i40e: Fix attach VF to VM issue
00c54b354411 drm: bridge: dw-hdmi: Fix overflow workaround for Amlogic Meson GX SoCs
94c0308279ec Revert "pinctrl: intel: Initialize GPIO properly when used through irqchip"
753be7e83bb8 Linux 4.14.37
f606893fbbc6 mac80211_hwsim: fix use-after-free bug in hwsim_exit_net
679833ea1822 Revert "KVM: X86: Fix SMRAM accessing even if VM is shutdown"
75dceb6872b3 RDMA/mlx5: Fix NULL dereference while accessing XRC_TGT QPs
01e71c218219 perf: Return proper values for user stack errors
66038084560d perf: Fix sample_max_stack maximum check
5bcf16944454 netfilter: x_tables: limit allocation requests for blob rule heads
764f2162d97a netfilter: compat: reject huge allocation requests
8d92d5336539 netfilter: compat: prepare xt_compat_init_offsets to return errors
82b68ecde5d0 netfilter: x_tables: add counters allocation wrapper
fab0b3ce67a5 netfilter: x_tables: cap allocations at 512 mbyte
89f3232c394e alarmtimer: Init nanosleep alarm timer on stack
76cd54fa70ce RDMA/core: Reduce poll batch for direct cq polling
de16dfcc510d irqchip/gic-v3: Change pr_debug message to pr_devel
4032cd4fd3ae cpumask: Make for_each_cpu_wrap() available on UP as well
c834b955d3f0 irqchip/gic-v3: Ignore disabled ITS nodes
2d8d8d23c485 perf test: Fix test trace+probe_libc_inet_pton.sh for s390x
74cd9414788c powerpc/powernv: IMC fix out of bounds memory access at shutdown
c74e004c6273 locking/qspinlock: Ensure node->count is updated before initialising node
5350cb0111d2 x86/platform/UV: Fix GAM Range Table entries less than 1GB
288b373264c5 powerpc/mm/hash64: Zero PGD pages on allocation
f4d6e4598a29 vfs/proc/kcore, x86/mm/kcore: Fix SMAP fault when dumping vsyscall user page
c064b7c1d203 PM / wakeirq: Fix unbalanced IRQ enable for wakeirq
afa0ce071488 ACPI / EC: Restore polling during noirq suspend/resume phases
85bd5c686fe9 bpf: fix rlimit in reuseport net selftest
ee5fe4bdcf2a net: stmmac: discard disabled flags in interrupt status register
26bebd5a7865 SUNRPC: Don't call __UDPX_INC_STATS() from a preemptible context
f58e4ecb9b2e KVM: PPC: Book3S HV: Fix handling of secondary HPTEG in HPT resizing code
d6b00490a04d tools/libbpf: handle issues with bpf ELF objects containing .eh_frames
327aac8ccbc5 net: Extra '_get' in declaration of arch_get_platform_mac_address
0b1fa241dd86 svcrdma: Fix Read chunk round-up
e781fff7b78f rxrpc: Don't put crypto buffers on the stack
c5ce9e5b57cc selftests/ftrace: Add some missing glob checks
ae9c78af577f cpufreq: intel_pstate: Enable HWP during system resume on CPU0
c4c9fd55899f bcache: return attach error when no cache set exist
4c8e0270dc7a bcache: fix for data collapse after re-attaching an attached device
311e31419b72 bcache: fix for allocator and register thread race
f89edd17aff4 bcache: properly set task state in bch_writeback_thread()
05921c492fdb cifs: silence compiler warnings showing up with gcc-8.0.0
4b95781cb6f3 PM / domains: Fix up domain-idle-states OF parsing
05e52e5bd103 proc: fix /proc/*/map_files lookup
4ec317a41d80 arm64: spinlock: Fix theoretical trylock() A-B-A with LSE atomics
693b9589c297 RDS: IB: Fix null pointer issue
a8e7a4e24374 bpf: sockmap, fix leaking maps with attached but not detached progs
05c062c3685e xen/grant-table: Use put_page instead of free_page
70f3461c23ff xen-netfront: Fix race between device setup and open
2f79b5e52d46 perf evsel: Fix period/freq terms setup
b1f9f9fb3f99 MIPS: Generic: Support GIC in EIC mode
76e3ea2f9563 perf record: Fix period option handling
f938c2acc829 MIPS: TXx9: use IS_BUILTIN() for CONFIG_LEDS_CLASS
3e01c16d8751 bpf: fix selftests/bpf test_kmod.sh failure when CONFIG_BPF_JIT_ALWAYS_ON=y
74abca65f1e4 ACPI / scan: Use acpi_bus_get_status() to initialize ACPI_TYPE_DEVICE devs
f920e914801c ACPI / bus: Do not call _STA on battery devices with unmet dependencies
51939996acde ACPI: processor_perflib: Do not send _PPC change notification if not ready
573cb560b4ed firmware: dmi_scan: Fix handling of empty DMI strings
ee06ed9ba518 x86/dumpstack: Avoid uninitlized variable
423505471f5e x86/power: Fix swsusp_arch_resume prototype
074372c8124c netfilter: ipv6: nf_defrag: Kill frag queue on RFC2460 failure
2cd5100363b7 s390/eadm: fix CONFIG_BLOCK include dependency
eb41efa13865 drm/nouveau/pmu/fuc: don't use movw directly anymore
fd370b8e65e3 IB/core: Map iWarp AH type to undefined in rdma_ah_find_type
f63bb02694f0 IB/ipoib: Fix for potential no-carrier state
8f96d408a954 IB/hfi1: Fix for potential refcount leak in hfi1_open_file()
5ceae7690f0d IB/hfi1: Re-order IRQ cleanup to address driver cleanup race
73027d80d67e blk-mq: fix discard merge with scheduler attached
6eddea4ba5cc openvswitch: Remove padding from packet before L3+ conntrack processing
3b1d9626fc58 mm/fadvise: discard partial page if endbyte is also EOF
1f9c87e25158 mm: pin address_space before dereferencing it while isolating an LRU page
8054b87fccd4 mm: thp: use down_read_trylock() in khugepaged to avoid long block
6acb8818eff4 sparc64: update pmdp_invalidate() to return old pmd value
78185a93d42d asm-generic: provide generic_pmdp_establish()
305e56756da7 mm/mempolicy: add nodes_empty check in SYSC_migrate_pages
6cab60ac6a0a mm/mempolicy: fix the check of nodemask from user
a7fbc7f3134a ocfs2: return error when we attempt to access a dirty bh in jbd2
a66174eb4a14 ocfs2/acl: use 'ip_xattr_sem' to protect getting extended attribute
66aaeed2796e ocfs2: return -EROFS to mount.ocfs2 if inode block is invalid
710b5124aac6 fs/dax.c: release PMD lock even when there is no PMD support in DAX
cc0600dae30f x86/kvm/vmx: do not use vm-exit instruction length for fast MMIO when running nested
d757c3a9cf4a kvm: Map PFN-type memory regions as writable (if possible)
a6a25002e6d8 tcp_nv: fix potential integer overflow in tcpnv_acked
ad10785a706e netfilter: x_tables: fix pointer leaks to userspace
2b7cc93682ac x86/hyperv: Check for required priviliges in hyperv_init()
cdf635a66c5b gianfar: prevent integer wrapping in the rx handler
67fa8bfff771 ntb_transport: Fix bug with max_mw_size parameter
d810c548157f RDMA/mlx5: Avoid memory leak in case of XRCD dealloc failure
0bddd43ac200 powerpc/numa: Ensure nodes initialized for hotplug
0caebc381032 powerpc/numa: Use ibm,max-associativity-domains to discover possible nodes
b086dd2d79d9 samples/bpf: Partially fixes the bpf.o build
64e5e46cdd8b i40e: fix reported mask for ntuple filters
1ec85fe4e259 i40e: program fragmented IPv4 filter input set
7addb3e4ad3d ixgbe: don't set RXDCTL.RLPML for 82599
27eb641f2368 jffs2: Fix use-after-free bug in jffs2_iget()'s error handling path
19b3638ce460 RDMA/uverbs: Use an unambiguous errno for method not supported
827aab45cb16 crypto: artpec6 - remove select on non-existing CRYPTO_SHA384
592ea370bf1c device property: Define type of PROPERTY_ENRTY_*() macros
c5fda2b8610b tty: serial: exar: Relocate sleep wake-up handling
519a7119527c x86/hyperv: Stop suppressing X86_FEATURE_PCID
9a1dda252663 fm10k: fix "failed to kill vid" message for VF
0e7a0c139cbf igb: Clear TXSTMP when ptp_tx_work() is timeout
187bf28199d8 igb: Allow to remove administratively set MAC on VFs
048af64fd48f ASoC: rockchip: Use dummy_dai for rt5514 dsp dailink
f25ba4f6be4a blk-mq-debugfs: don't allow write on attributes with seq_operations set
a42ebbdae0a5 KVM: s390: vsie: use READ_ONCE to access some SCB fields
48d441324a58 platform/x86: thinkpad_acpi: suppress warning about palm detection
b9d78055c6ae i40evf: ignore link up if not running
09f6d65db13b i40evf: Don't schedule reset_task when device is being removed
7c7ae4ed2fcd bpf: test_maps: cleanup sockmaps when test ends
c6c6e38aeff2 block: Set BIO_TRACE_COMPLETION on new bio during split
f2e73df302f3 nfp: fix error return code in nfp_pci_probe()
8591958413bf HID: roccat: prevent an out of bounds read in kovaplus_profile_activated()
6a5505da41fa Input: stmfts - set IRQ_NOAUTOEN to the irq flag
8afed2798e50 scsi: fas216: fix sense buffer initialization
800fda575b11 scsi: devinfo: fix format of the device list
a09881cfb713 f2fs: avoid hungtask when GC encrypted block if io_bits is set
889177d172d3 RDMA/cma: Check existence of netdevice during port validation
48b8839d91a4 Btrfs: raid56: fix race between merge_bio and rbio_orig_end_io
ebe064401f07 Btrfs: fix unexpected EEXIST from btrfs_get_extent
c231cec825a9 btrfs: fail mount when sb flag is not in BTRFS_SUPER_FLAG_SUPP
d91bb7c6988b Btrfs: fix scrub to repair raid6 corruption
db6d651eccde btrfs: Fix out of bounds access in btrfs_search_slot
a4909c8518f7 Btrfs: set plug for fsync
fb5d97a19fc3 ipmi/powernv: Fix error return code in ipmi_powernv_probe()
afadc440a1cc mac80211_hwsim: fix possible memory leak in hwsim_new_radio_nl()
18004e6f26ec kconfig: Fix expr_free() E_NOT leak
0f511f3dda8c kconfig: Fix automatic menu creation mem leak
8bf116b258c2 kconfig: Don't leak main menus during parsing
9f2df99f9eb0 watchdog: sp5100_tco: Fix watchdog disable bit
ebf5ffca1bf2 PCI: Add dummy pci_irqd_intx_xlate() for CONFIG_PCI=n build
c212c855a09d MIPS: Fix clean of vmlinuz.{32,ecoff,bin,srec}
81fbb7e26ea1 nfs: Do not convert nfs_idmap_cache_timeout to jiffies
35ceddc59cd4 IB/cq: Don't force IB_POLL_DIRECT poll context for ib_process_cq_direct
58bc0fd8434d spi: a3700: Clear DATA_OUT when performing a read
5bb5b9c68192 net: stmmac: dwmac-meson8b: propagate rate changes to the parent clock
5bfa11c96192 net: stmmac: dwmac-meson8b: fix setting the RGMII TX clock on Meson8b
2a71a742f09b ubifs: Fix uninitialized variable in search_dh_cookie()
a1dfcb01e374 blk-mq: turn WARN_ON in __blk_mq_run_hw_queue into printk
2e102fe86ede dm mpath: return DM_MAPIO_REQUEUE on blk-mq rq allocation failure
223ed638e937 dm thin: fix documentation relative to low water mark threshold
e9c8a5fa078c iommu/vt-d: Use domain instead of cache fetching
6ec6bd8ec2e3 powerpc: System reset avoid interleaving oops using die synchronisation
bc5fddf315f8 iommu/exynos: Don't unconditionally steal bus ops
77d17d0e8934 perf record: Fix failed memory allocation for get_cpuid_str
1fe5e88c389a tools lib traceevent: Fix get_field_str() for dynamic strings
4e63115b6b9d perf callchain: Fix attr.sample_max_stack setting
448bcd67b4c5 tools lib traceevent: Simplify pointer print logic and fix %pF
0eda4d03ef4c perf unwind: Do not look just at the global callchain_param.record_mode
f3a7d11834f3 scsi: qla2xxx: Fix warning in qla2x00_async_iocb_timeout()
f3ce194cae63 i40iw: Zero-out consumer key on allocate stag for FMR
b3b2ca24d9f7 i40iw: Free IEQ resources
0d5ef8956c84 Input: synaptics - reset the ABS_X/Y fuzz after initializing MT axes
0d9a46ae3204 libbpf: Makefile set specified permission mode
d925c3087422 Input: psmouse - fix Synaptics detection when protocol is disabled
03fdc4ef7a67 PCI: Add function 1 DMA alias quirk for Marvell 9128
c45ab4fb384c selftest: ftrace: Fix to pick text symbols for kprobes
342d9092a501 xprtrdma: Fix backchannel allocation of extra rpcrdma_reps
79f2ced39657 platform/x86: dell-laptop: Filter out spurious keyboard backlight change events
80bd91ab9ad8 KVM: s390: use created_vcpus in more places
a5a8ca753c0c tracing/hrtimer: Fix tracing bugs by taking all clock bases and modes into account
e0a1cec3db0a netfilter: ipv6: nf_defrag: Pass on packets to stack per RFC2460
ddf09f2a0896 KVM: PPC: Book3S HV: Enable migration of decrementer register
b7b27e19e374 RDMA/core: Clarify rdma_ah_find_type
8e40eae185f8 kvm: x86: fix KVM_XEN_HVM_CONFIG ioctl
3f3017fa1540 ASoC: au1x: Fix timeout tests in au1xac97c_ac97_read()
d3222cfc0b58 ALSA: hda - Use IS_REACHABLE() for dependency on input
4e7284b34c78 ACPI / LPSS: Do not instiate platform_dev for devs without MMIO resources
7a420b5d95a5 NFSv4: always set NFS_LOCK_LOST when a lock is lost.
239c948e3266 x86/tsc: Allow TSC calibration without PIT
4a5d70332d57 firewire-ohci: work around oversized DMA reads on JMicron controllers
1f52b0c64215 usb: musb: Fix external abort in musb_remove on omap2430
de4c4914cce2 usb: musb: call pm_runtime_{get,put}_sync before reading vbus registers
43de32cdf0f4 usb: musb: fix enumeration after resume
829239740c12 drm/i915/bxt, glk: Increase PCODE timeouts during CDCLK freq changing
5c825627d4e5 drm/i915: Fix LSPCON TMDS output buffer enabling from low-power state
6312eff3c70e drm/i915: Do no use kfree() to free a kmem_cache_alloc() return value
8e0489cf4d09 drm/i915/audio: Fix audio detection issue on GLK
c53f225fd792 drm/i915/gvt: throw error on unhandled vfio ioctls
325abf3db041 drm/vc4: Fix memory leak during BO teardown
08641a24d4e7 x86/tsc: Prevent 32bit truncation in calc_hpet_ref()
c6aaaaa4d62a clocksource/imx-tpm: Correct -ETIME return condition check
b8d4055372b5 x86/acpi: Prevent X2APIC id 0xffffffff from being accounted
f6edc45e21c3 btrfs: fix unaligned access in readdir
240a52868485 cifs: do not allow creating sockets except with SMB1 posix exensions
d6949f48093c Linux 4.14.36
7c9b87a78a17 writeback: safer lock nesting
071ff203d962 media: staging: lirc_zilog: incorrect reference counting
e7a08ffb2d89 Revert "media: lirc_zilog: driver only sends LIRCCODE"
8caa4c5fde76 iwlwifi: add a bunch of new 9000 PCI IDs
0c61952c3d19 iwlwifi: add shared clock PHY config flag for some devices
30593709f80d net: dsa: Discard frames from unused ports
90a32d1f0ec9 mm/filemap.c: fix NULL pointer in page_cache_tree_insert()
5e7575c6690a autofs: mount point create should honour passed in mode
d4d49cb1c20a Don't leak MNT_INTERNAL away from internal mounts
085125572a45 rpc_pipefs: fix double-dput()
0bb4a6f2ff1a orangefs_kill_sb(): deal with allocation failures
bb5def77d0a1 hypfs_kill_super(): deal with failed allocations
c780ac96e120 jffs2_kill_sb(): deal with failed allocations
22ec5ee71086 drm/i915: Correctly handle limited range YCbCr data on VLV/CHV
4bddb1209a6d mmc: sdhci-pci: Only do AMD tuning for HS200
28f46dee49d3 fanotify: fix logic of events on child
a2a9d0190f99 udf: Fix leak of UTF-16 surrogates into encoded strings
f86815184c47 powerpc/lib: Fix off-by-one in alternate feature patching
ce3b0b0589a8 powerpc/xive: Fix trying to "push" an already active pool VP
49a52f7d9274 powerpc/eeh: Fix enabling bridge MMIO windows
a5f6e787b9b0 MIPS: memset.S: Fix clobber of v1 in last_fixup
6da34ca1ca3e MIPS: memset.S: Fix return of __clear_user from Lpartial_fixup
7b34760dc682 MIPS: memset.S: EVA & fault support for small_memset
23f5562852b9 MIPS: uaccess: Add micromips clobbers to bzero invocation
1da964d421da HID: wacom: bluetooth: send exit report for recent Bluetooth devices
0e159a9e1823 HID: hidraw: Fix crash on HIDIOCGFEATURE with a destroyed device
27840bc4ebb2 HID: input: fix battery level reporting on BT mice
90936d903c2f random: add new ioctl RNDRESEEDCRNG
d152fcc17314 random: crng_reseed() should lock the crng instance that it is modifying
7b6b1f3a1923 random: use a different mixing algorithm for add_device_randomness()
6e513bc20ca6 random: fix crng_ready() test
8036cdaa1b13 ALSA: hda/realtek - adjust the location of one mic
adc02ac60919 ALSA: hda/realtek - set PINCFG_HEADSET_MIC to parse_flags
11e9bed2b971 ALSA: hda - New VIA controller suppor no-snoop path
fcf38cf55e28 ALSA: rawmidi: Fix missing input substream checks in compat ioctls
43b3e7915edd ALSA: line6: Use correct endpoint type for midi output
bdc6f4c3db08 drm/radeon: Fix PCIe lane width calculation
110b72d9351f drm/radeon: add PX quirk for Asus K73TK
791469d6b882 drm/rockchip: Clear all interrupts before requesting the IRQ
f188464e3d54 drm/amdgpu/si: implement get/set pcie_lanes asic callback
f056e3339741 drm/amdgpu: Fix PCIe lane width calculation
57e56826611a drm/amdgpu/sdma: fix mask in emit_pipeline_sync
c73d9e350085 drm/amdgpu: Fix always_valid bos multiple LRU insertions.
674b6963cec2 drm/amdgpu: Add an ATPX quirk for hybrid laptop
312d02879f9f ALSA: pcm: Fix endless loop for XRUN recovery in OSS emulation
157113cb7c89 ALSA: pcm: Fix mutex unbalance in OSS emulation ioctls
048747b04842 ALSA: pcm: Return -EBUSY for OSS ioctls changing busy streams
bd889a82fb01 ALSA: pcm: Avoid potential races between OSS ioctls and read/write
4d2ea307ffa1 ALSA: pcm: Use ERESTARTSYS instead of EINTR in OSS emulation
2ccdea040e81 vfio/pci: Virtualize Maximum Read Request Size
23a63d96e015 watchdog: f71808e_wdt: Fix WD_EN register read
28fe0fba29f2 dt-bindings: clock: mediatek: add binding for fixed-factor clock axisel_d4
ecb67e92d42e thermal: imx: Fix race condition in imx_thermal_probe()
c9b200ce2be5 pwm: rcar: Fix a condition to prevent mismatch value setting to duty
ff18ffb1f81d clk: bcm2835: De-assert/assert PLL reset signal when appropriate
dc7a428ae26f clk: mediatek: fix PWM clock source by adding a fixed-factor clock
d8b6fdbe513d clk: fix false-positive Wmaybe-uninitialized warning
37d8947c0b07 clk: mvebu: armada-38x: add support for missing clocks
f13b4a61989f PCI: Mark Broadcom HT1100 and HT2000 Root Port Extended Tags as broken
4b684fbbc58e mmc: tmio: Fix error handling when issuing CMD23
e5e2841e20ff mmc: jz4740: Fix race condition in IRQ mask update
180d28f824ce iommu/vt-d: Fix a potential memory leak
5a999c2bef68 um: Use POSIX ucontext_t instead of struct ucontext
f57f3f346d05 um: Compile with modern headers
dc0f00327452 ring-buffer: Check if memory is available before allocation
4171ea2471a1 nfit: skip region registration for incomplete control regions
5520091356b0 nfit, address-range-scrub: fix scrub in-progress reporting
b68b77c935dd libnvdimm, namespace: use a safe lookup for dimm device name
45980ba59916 libnvdimm, dimm: fix dpa reservation vs uninitialized label area
a43d8e0ee79d tpm: self test failure should not cause suspend to fail
c1edd3b19f30 cxl: Fix possible deadlock when processing page faults from cxllib
156b45ed2207 dmaengine: at_xdmac: fix rare residue corruption
e99ca1ee070d IB/srp: Fix completion vector assignment algorithm
fe71b03e6983 IB/srp: Fix srp_abort()
0bb5579128e6 ALSA: pcm: Fix UAF at PCM release via PCM timer access
d3b14a66e14b RDMA/rxe: Fix an out-of-bounds read
28ce82e3c8b1 RDMA/mlx5: Protect from NULL pointer derefence
b140d9468870 RDMA/ucma: Don't allow setting RDMA_OPTION_IB_PATH without an RDMA device
79fbd052ea63 dm crypt: limit the number of allocated pages
e7793f2a2ac8 ext4: add extra checks to ext4_xattr_block_get()
9703952178f1 ext4: add bounds checking to ext4_xattr_find_entry()
598e04ae2fc4 ext4: move call to ext4_error() into ext4_xattr_check_block()
b2623d816656 ext4: don't allow r/w mounts if metadata blocks overlap the superblock
26dbb30c58ff ext4: always initialize the crc32c checksum driver
8e0e94683f84 ext4: fail ext4_iget for root directory if unallocated
a57eb14b740e ext4: limit xattr size to INT_MAX
5058b70d2118 ext4: protect i_disksize update by i_data_sem in direct write path
bd499f553849 ext4: don't update checksum of new initialized bitmaps
73297f13a003 ext4: pass -ESHUTDOWN code to jbd2 layer
09439481998a ext4: eliminate sleep from shutdown ioctl
7ebcea259682 ext4: shutdown should not prevent get_write_access
867175f94485 jbd2: if the journal is aborted then don't allow update of the log tail
6151a5a45fc4 block: use 32-bit blk_status_t on Alpha
7044bf9ef6c8 extcon: intel-cht-wc: Set direction and drv flags for V5 boost GPIO
b0afd9d1cb5a random: use a tighter cap in credit_entropy_bits_safe()
439e8b2dcab1 irqchip/gic: Take lock when updating irq type
283637785763 thunderbolt: Prevent crash when ICM firmware is not running
5ae695df59e1 thunderbolt: Resume control channel after hibernation image is created
7a4a66c504fb thunderbolt: Serialize PCIe tunnel creation with PCI rescan
6f40f6ee22b9 thunderbolt: Wait a bit longer for ICM to authenticate the active NVM
73b969f6a920 ASoC: topology: Fix kcontrol name string handling
7e23ef535073 ASoC: ssm2602: Replace reg_default_raw with reg_default
1b3d2e7a3409 soc: mediatek: fix the mistaken pointer accessed when subdomains are added
3f306336cdee HID: core: Fix size as type u32
f671ac7a5317 HID: Fix hid_report_len usage
25b6ee378dc4 powerpc/powernv: Fix OPAL NVRAM driver OPAL_BUSY loops
7c854f2e1ff0 powerpc/powernv: define a standard delay for OPAL_BUSY type retry loops
a55d2c9d42f9 powerpc/kexec_file: Fix error code when trying to load kdump kernel
fa99a3470e91 powerpc/kprobes: Fix call trace due to incorrect preempt count
3df05fcf8911 powerpc/64: Fix smp_wmb barrier definition use use lwsync consistently
1699bd03742d powerpc/64: Call H_REGISTER_PROC_TBL when running as a HPT guest on POWER9
f4eff13a2780 powerpc/64s: Fix dt_cpu_ftrs to have restore_cpu clear unwanted LPCR bits
c3baeca67d85 powerpc/powernv: Handle unknown OPAL errors in opal_nvram_write()
693b03f9b185 CIFS: fix sha512 check in cifs_crypto_secmech_release
7a55d160b730 CIFS: add sha512 secmech
0910e2804f2e CIFS: refactor crypto shash/sdesc allocation&free
fd5cc02cbef9 i2c: i801: Restore configuration at shutdown
44ff2389a840 i2c: i801: Save register SMBSLVCMD value only once
d6b3a5c87d45 HID: i2c-hid: fix size check and type usage
70dbed63a96d smb3: Fix root directory when server returns inode number of zero
bf895b2a637d fix smb3-encryption breakage when CONFIG_DEBUG_SG=y
fdbd79540520 cifs: fix memory leak in SMB2_open()
59d3a952e4f3 usb: dwc3: gadget: never call ->complete() from ->ep_queue()
093dcb929c8e usb: dwc3: pci: Properly cleanup resource
30e9a1cddc4d usb: dwc3: prevent setting PRTCAP to OTG from debugfs
f7f9187a110e USB:fix USB3 devices behind USB3 hubs not resuming at hibernate thaw
96dc465173a1 USB: gadget: f_midi: fixing a possible double-free in f_midi
a2b540651d8c ACPI / hotplug / PCI: Check presence of slot itself in get_slot_status()
d6e98387b2e9 ACPI / video: Add quirk to force acpi-video backlight on Samsung 670Z5E
3dac1fe2719d regmap: Fix reversed bounds check in regmap_raw_write()
666d1084c13d xen-netfront: Fix hang on device removal
e7b00dc28275 x86/xen: Delay get_cpu_cap until stack canary is established
fcd054c733cf media: vsp1: Fix BRx conditional path in WPF
2fb28b075f80 media: vivid: check if the cec_adapter is valid
9864a1ef8679 media: atomisp_fops.c: disable atomisp_compat_ioctl32
9629964f032c spi: Fix unregistration of controller with fixed SPI bus number
e4ff723039dc spi: Fix scatterlist elements size in spi_map_buf
faddb17685f9 spi: atmel: init FIFOs before spi enable
38866e866121 ARM: dts: at91: sama5d4: fix pinctrl compatible string
c57b7e1a150e ARM: dts: exynos: Fix IOMMU support for GScaler devices on Exynos5250
838ea3802e9d ARM: dts: at91: at91sam9g25: fix mux-mask pinctrl property
958d6e41888f arm: dts: mt7623: fix USB initialization fails on bananapi-r2
2106cd34635e ARM: EXYNOS: Fix coupled CPU idle freeze on Exynos4210
326e61ce9761 ARM: dts: da850-lego-ev3: Fix battery voltage gpio
8f1a2803e4c2 KVM: arm/arm64: vgic-its: Fix potential overrun in vgic_copy_lpi_list
8fdbba69cb34 ARM64: dts: meson: reduce odroid-c2 eMMC maximum rate
7732495c599c usb: gadget: udc: core: update usb_ep_queue() documentation
aea6c0b4aee8 phy: allwinner: sun4i-usb: poll vbus changes on A23/A33 when driving VBUS
334d8f201ef5 usb: musb: gadget: misplaced out of bounds check
20eaa393fcd3 mm, slab: reschedule cache_reap() on the same CPU
703eee654360 ipc/shm: fix use-after-free of shm file via remap_file_pages()
c25ef6220fac resource: fix integer overflow at reallocation
f659e7e79f52 fs/reiserfs/journal.c: add missing resierfs_warning() arg
6337067b2ab6 task_struct: only use anon struct under randstruct plugin
28cb085f1598 mm/hmm: hmm_pfns_bad() was accessing wrong struct
963722d031e5 mm/hmm: fix header file if/else/endif maze
e84e6914ccb4 mm/ksm.c: fix inconsistent accounting of zero pages
577b4eb23811 ubi: Reject MLC NAND
7ade852714de ubi: Fix error for write access
bf3fbf54a9ae ubi: fastmap: Don't flush fastmap work on detach
09844df06087 ubifs: Check ubifs_wbuf_sync() return code
f1e90bf95e55 cpufreq: CPPC: Use transition_delay_us depending transition_latency
9427a4aecf23 tty: make n_tty_read() always abort if hangup is in progress
672f07d8274b Linux 4.14.35
9a0a509839f3 nfsd: fix incorrect umasks
61534984904e hugetlbfs: fix bug in pgoff overflow checking
0319ce67b793 xen: xenbus_dev_frontend: Fix XS_TRANSACTION_END handling
80f509d4919d ovl: fix lookup with middle layer opaque dir and absolute path redirects
5ee935daaaeb blk-mq: don't keep offline CPUs mapped to hctx 0
a333a284fff2 lib: fix stall in __bitmap_parselist()
f9e66750d4bd f2fs: fix heap mode to reset it back
e4fa275b8fdd sunrpc: remove incorrect HMAC request initialization
3d06535693a3 ath9k: Protect queue draining by rcu_read_lock()
aa3bfa29fcd5 hwmon: (ina2xx) Fix access to uninitialized mutex
360ecf51864e x86/mce/AMD: Get address from already initialized block
c81968e93aca x86/mce/AMD, EDAC/mce_amd: Enumerate Reserved SMCA bank type
0ee4f31673af x86/mce/AMD: Pass the bank number to smca_get_bank_type()
99971efd7d9a x86/MCE: Report only DRAM ECC as memory errors on AMD systems
a2813b4cfe3b rtl8187: Fix NULL pointer dereference in priv->conf_mutex
9e483bc229f5 Bluetooth: hci_bcm: Treat Interrupt ACPI resources as always being active-low
f58ef38ef1a8 Bluetooth: Fix connection if directed advertising and privacy is used
c3efeaa3b154 getname_kernel() needs to make sure that ->name != ->iname in long case
adea72f0e570 get_user_pages_fast(): return -EFAULT on access_ok failure
3da5723b4f05 s390/ipl: ensure loadparm valid flag is set
c6c8e42071dc s390/qdio: don't merge ERROR output buffers
b6366b15a267 s390/qdio: don't retry EQBS after CCQ 96
3a6771e2fb32 nfit: fix region registration vs block-data-window ranges
51a9580d67a2 block/loop: fix deadlock after loop_set_status
54b990ede4c3 apparmor: fix resource audit messages when auditing peer
a0358f605283 apparmor: fix display of .ns_name for containers
1d0d8beb35cd apparmor: fix logging of the existence test for signals
b18daa09fefe scsi: qla2xxx: Fix small memory leak in qla2x00_probe_one on probe failure
0ed20e4b52af x86/MCE/AMD: Define a function to get SMCA bank type
8e52e2f41c43 radeon: hide pointless #warning when compile testing
6f22be4ba787 perf/core: Fix use-after-free in uprobe_perf_close()
674e18de7bde perf intel-pt: Fix timestamp following overflow
4039579fca38 perf intel-pt: Fix error recovery from missing TIP packet
0733facf3be9 perf intel-pt: Fix sync_switch
ff295906bd9b perf intel-pt: Fix overlap detection to identify consecutive buffers correctly
42b53a13ecac KVM: PPC: Book3S HV: trace_tlbie must not be called in realmode
5661d43b03c5 PCI: hv: Serialize the present and eject work items
a160105b5503 Drivers: hv: vmbus: do not mark HV_PCIE as perf_device
abd9fd4a3b04 parisc: Fix HPMC handler by increasing size to multiple of 16 bytes
08be2c1b6bb6 parisc: Fix out of array access in match_pci_device()
4d167edf0f6a media: v4l: vsp1: Fix header display list status check in continuous mode
e7a4d7c2fe38 media: v4l2-compat-ioctl32: don't oops on overlay
c0e0cd653e6a lan78xx: Correctly indicate invalid OTP
2ea541eb4064 vhost: Fix vhost_copy_to_user()
e240ffd5a3be vhost: fix vhost_vq_access_ok() log check
381ebff25898 slip: Check if rstate is initialized before uncompressing
427b8a146973 rds: MP-RDS may use an invalid c_path
856d5d075a92 cdc_ether: flag the Cinterion AHS8 modem by gemalto as WWAN
073e82701bc0 netfilter: ipset: Missing nfnl_lock()/nfnl_unlock() is added to ip_set_net_exit()
ffebeb0d7c37 Linux 4.14.34
fdae5b620566 net/mlx4_core: Fix memory leak while delete slave's resources
9fdeb33e1913 vhost_net: add missing lock nesting notation
8c316b625705 team: move dev_mc_sync after master_upper_dev_link in team_port_add
233ba28e1862 route: check sysctl_fib_multipath_use_neigh earlier than hash
2f8aa659d4c0 vhost: validate log when IOTLB is enabled
72b880f43990 net/mlx5e: Fix traffic being dropped on VF representor
9408bceb0649 net/mlx4_en: Fix mixed PFC and Global pause user control requests
477c73abf26a strparser: Fix sign of err codes
1c71bfe84deb net/sched: fix NULL dereference on the error path of tcf_skbmod_init()
a19024a3f343 net/sched: fix NULL dereference in the error path of tunnel_key_init()
e096c8bf4fb8 net/mlx5e: Sync netdev vxlan ports at open
baab1f0c4885 net/mlx5e: Don't override vport admin link state in switchdev mode
1ec7966ab7db ipv6: sr: fix seg6 encap performances with TSO enabled
e52a45bb392f nfp: use full 40 bits of the NSP buffer address
ddf79878f1e0 net/mlx5e: Fix memory usage issues in offloading TC flows
9282181c1cc5 net/mlx5e: Avoid using the ipv6 stub in the TC offload neigh update path
b9c6ddda3805 vti6: better validate user provided tunnel names
109dce20c6ed ip6_tunnel: better validate user provided tunnel names
72363c63b070 ip6_gre: better validate user provided tunnel names
a7309cad9c2e ipv6: sit: better validate user provided tunnel names
6816295fe958 ip_tunnel: better validate user provided tunnel names
048a64fbc229 net: fool proof dev_valid_name()
77b9fc371d4d bonding: process the err returned by dev_set_allmulti properly in bond_enslave
22ab1f8751fa bonding: move dev_mc_sync after master_upper_dev_link in bond_enslave
d7e7ab42581e bonding: fix the err path for dev hwaddr sync in bond_enslave
65c42a2d475d vrf: Fix use after free and double free in vrf_finish_output
09cb8267add5 vlan: also check phy_driver ts_info for vlan's real device
4f288c97b5c5 vhost: correctly remove wait queue during poll failure
c5fc4dc51cb0 sky2: Increase D3 delay to sky2 stops working after suspend
3fdd43709d70 sctp: sctp_sockaddr_af must check minimal addr length for AF_INET6
3f80d01bbd87 sctp: do not leak kernel memory to user space
c17f6594abfa r8169: fix setting driver_data after register_netdev
a7c8900c1fc2 pptp: remove a buggy dst release in pptp_connect()
21563c4df30e net/sched: fix NULL dereference in the error path of tcf_bpf_init()
cd19a9b12ab4 net sched actions: fix dumping which requires several messages to user space
787b940625ca netlink: make sure nladdr has correct size in netlink_connect()
7948bc92791b net/ipv6: Increment OUTxxx counters after netfilter hook
d1b820bd98a1 net/ipv6: Fix route leaking between VRFs
589a3f305185 net: fix possible out-of-bound read in skb_network_protocol()
629eeaaccb23 lan78xx: Crash in lan78xx_writ_reg (Workqueue: events lan78xx_deferred_multicast_write)
52f0a5ff60e4 ipv6: the entire IPv6 header chain must fit the first fragment
cdd74d6ac80e arp: fix arp_filter on l3slave devices
8413a3a63d37 x86/microcode: Fix CPU synchronization routine
c81d7069dcd6 x86/microcode: Attempt late loading only when new microcode is present
b0b1ac38e018 x86/microcode: Synchronize late microcode loading
509df2b865f1 x86/microcode: Request microcode on the BSP
d2725848230d x86/microcode/intel: Look into the patch cache first
e87c2b553a35 x86/microcode: Do not upload microcode if CPUs are offline
1707112c82fa x86/microcode/intel: Writeback and invalidate caches before updating microcode
170f8ec16c22 x86/microcode/intel: Check microcode revision before updating sibling threads
22cc8816d013 x86/microcode: Get rid of struct apply_microcode_ctx
35da0d504a98 x86/CPU: Check CPU feature bits after microcode upgrade
00ba4bcf4b92 x86/CPU: Add a microcode loader callback
962e6b2d1665 x86/microcode: Propagate return value from updating functions
b6a11be5c433 crypto: arm64/aes-ce-cipher - move assembler code to .S file
f1b46925f59e objtool: Add Clang support
5dff63583f0d thermal: int3400_thermal: fix error handling in int3400_thermal_probe()
bc166ca4234c tcmu: release blocks for partially setup cmds
6a88a999c45d perf tools: Fix copyfile_offset update of output offset
7cae67e31292 crypto: aes-generic - build with -Os on gcc-7+
3847b9e016df mtd: mtd_oobtest: Handle bitflips during reads
88f6f0490f8c Input: goodix - disable IRQs while suspended
c427d7e44a32 ibmvnic: Don't handle RX interrupts when not up.
62eaf7e149a5 sdhci: Advertise 2.0v supply on SDIO host controller
997901406c0a x86/gart: Exclude GART aperture from vmcore
4aafb8cdcc11 gpio: thunderx: fix error return code in thunderx_gpio_probe()
cfafed12f459 RDMA/cma: Fix rdma_cm path querying for RoCE
15dfb9baba2c scsi: megaraid_sas: unload flag should be set after scsi_remove_host is called
70077054384d scsi: megaraid_sas: Error handling for invalid ldcount provided by firmware in RAID map
b432f980596c cxgb4vf: Fix SGE FL buffer initialization logic for 64K pages
d017aeb58a3e i40evf: don't rely on netif_running() outside rtnl_lock()
d96a094c987f uio_hv_generic: check that host supports monitor page
28b35f9aa0c0 EDAC, mv64x60: Fix an error handling path
effbffc91da3 block, bfq: put async queues for root bfq groups too
4ed8692bb2d6 tty: n_gsm: Allow ADM response in addition to UA for control dlci
8976d64b2f0f blk-mq: fix kernel oops in blk_mq_tag_idle()
b728b7e24fbc scsi: libsas: initialize sas_phy status according to response of DISCOVER
f890a23603e3 scsi: libsas: fix error when getting phy events
8644d14c3240 scsi: libsas: fix memory leak in sas_smp_get_phy_events()
fad9bcb1176b bcache: segregate flash only volume write streams
ef60904109f4 bcache: stop writeback thread after detaching
71468ce63dc9 bcache: ret IOERR when read meets metadata error
b20482cebfb2 net: hns3: fix for changing MTU
be6a161e1302 net: hns3: Fix an error macro definition of HNS3_TQP_STAT
611abba6eb68 net: hns3: Fix a loop index error of tqp statistics query
5669ec0b9588 net: hns3: Fix an error of total drop packet statistics
35a9ebd920aa net/mlx5: Fix race for multiple RoCE enable
46d19334ca40 wl1251: check return from call to wl1251_acx_arp_ip_filter
f722a6a61179 rt2x00: do not pause queue unconditionally on error path
1530dcc90331 power: supply: axp288_charger: Properly stop work on probe-error / remove
87b9099cf141 ASoC: Intel: sst: Fix the return value of 'sst_send_byte_stream_mrfld()'
89deb4ad015b staging: lustre: disable preempt while sampling processor id.
01ff15fcf466 perf report: Fix a no annotate browser displayed issue
3b3fb4be7ca1 tpm: return a TPM_RC_COMMAND_CODE response if command is not implemented
f0504bf54b4d nvme_fcloop: fix abort race condition
39ede1fd200f nvme_fcloop: disassocate local port structs
5391891c0a46 pinctrl: baytrail: Enable glitch filter for GPIOs used as interrupts
dd3e1a4e769e backlight: tdo24m: Fix the SPI CS between transfers
fb1ef85d5885 blk-mq: fix race between updating nr_hw_queues and switching io sched
eaa077800ff6 blk-mq: avoid to map CPU into stale hw queue
cf4c90693651 IB/rdmavt: Allocate CQ memory on the correct node
da5e12ab599a powernv-cpufreq: Add helper to extract pstate from PMSR
1f1e5ca1c737 gpio: label descriptors using the device name
e985dcf4fa1b vfb: fix video mode and line_length being set when loaded
bb23fbd8fb06 mac80211: Fix setting TX power on monitor interfaces
74f5124bc3ff ACPI: EC: Fix debugfs_create_*() usage
04568f4df228 irqchip/gic-v3: Fix the driver probe() fail due to disabled GICC entry
b5d2cafbe359 scsi: mpt3sas: Proper handling of set/clear of "ATA command pending" flag.
3807b6fec674 scsi: libiscsi: Allow sd_shutdown on bad transport
978c2812b805 spi: sh-msiof: Fix timeout failures for TX-only DMA transfers
1d65600e9722 ASoC: Intel: cht_bsw_rt5645: Analog Mic support
522371c28210 ASoC: Intel: Skylake: Disable clock gating during firmware and library download
543d317db8be media: videobuf2-core: don't go out of the buffer range
6e7b07606bfe clk: sunxi-ng: a83t: Add M divider to TCON1 clock
bd4a96921d8b hwmon: (ina2xx) Make calibration register value fixed
ddc09c522035 RDMA/cma: Mark end of CMA ID messages
7743aa143055 selftests/net: fix bugs in address and port initialization
b72d39b1da82 PM / devfreq: Fix potential NULL pointer dereference in governor_store
e6bc3a4b0c23 clk: divider: fix incorrect usage of container_of
1cf98fd005f5 watchdog: dw_wdt: add stop watchdog operation
db470ce8c6ee VFS: close race between getcwd() and d_move()
87a25a385832 net/mlx4_en: Change default QoS settings
378259c7d0a2 ACPI / video: Default lcd_only to true on Win8-ready and newer machines
ea620e414bde rds; Reset rs->rs_bound_addr in rds_add_bound() failure path
ab4ac0fc4712 l2tp: fix missing print session offset info
fcb762cb4b5c net: hns3: fix for getting auto-negotiation state in hclge_get_autoneg
f7b0ea2245a0 net: hns3: free the ring_data structrue when change tqps
93b8f4a2302b perf evsel: Enable ignore_missing_thread for pid option
d606bac136ec perf probe: Add warning message if there is unexpected event name
3efc86f667fc perf probe: Find versioned symbols from map
ea40afb5c379 thermal: power_allocator: fix one race condition issue for thermal_instances list
fd78be4b37cc ipv6: Reinject IPv6 packets if IPsec policy matches after SNAT
78728d84f338 Bluetooth: Add a new 04ca:3015 QCA_ROME device
2e9a8b6a7d52 ARM: dts: ls1021a: add "fsl,ls1021a-esdhc" compatible string to esdhc node
800ffac10754 clk: meson: mpll: use 64-bit maths in params_from_rate
fbd4d9046a1a i40iw: Validate correct IRD/ORD connection parameters
c5cd3cc217a9 i40iw: Correct Q1/XF object count equation
0bc82eae1256 i40iw: Fix sequence number for the first partial FPDU
b867b7a7e590 Linux 4.14.33
6bc3a54e06c6 Revert "ip6_vti: adjust vti mtu according to mtu of lower device"
cfbed9b55636 Revert "cpufreq: Fix governor module removal race"
a99aaeccdefd Revert "ARM: dts: omap3-n900: Fix the audio CODEC's reset pin"
118118eb3818 Revert "ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin"
92e3d3f67d79 Fix slab name "biovec-(1<<(21-12))"
b31397c9b945 net: hns: Fix ethtool private flags
9b47e99ac970 ARM: dts: DRA76-EVM: Set powerhold property for tps65917
52dcf4a6afbc vt: change SGR 21 to follow the standards
8ac678a4b363 Input: i8042 - enable MUX on Sony VAIO VGN-CS series to fix touchpad
4043155add40 Input: i8042 - add Lenovo ThinkPad L460 to i8042 reset list
ac72f0080c1a Input: ALPS - fix TrackStick detection on Thinkpad L570 and Latitude 7370
0d3f8c0217f9 Revert "base: arch_topology: fix section mismatch build warnings"
a59779368b33 staging: comedi: ni_mio_common: ack ai fifo error interrupts.
4be89529c013 Btrfs: fix unexpected cow in run_delalloc_nocow
62532640c8e1 crypto: x86/cast5-avx - fix ECB encryption when long sg follows short one
b5a888390998 crypto: arm,arm64 - Fix random regeneration of S_shipped
ee54953ecd47 crypto: ccp - return an actual key size from RSA max_size callback
056f3bd2399b crypto: caam - Fix null dereference at error path
c3657fd0c15f crypto: ahash - Fix early termination in hash walk
ad35fdc00a7c crypto: testmgr - Fix incorrect values in PKCS#1 test vector
41e960b042fc crypto: inside-secure - fix clock management
77827f3d63d0 crypto: lrw - Free rctx->ext with kzfree
3c6096ca8e49 parport_pc: Add support for WCH CH382L PCI-E single parallel port card.
1f17d5033fe3 media: usbtv: prevent double free in error case
5f834dd24bae /dev/mem: Avoid overwriting "err" in read_mem()
66a65ca5b8fd mei: remove dev_err message on an unsupported ioctl
cbf733ca587c serial: 8250: Add Nuvoton NPCM UART
c0aed3667b3d USB: serial: cp210x: add ELDAT Easywave RX09 id
f4d01432eeda USB: serial: ftdi_sio: add support for Harman FirmwareHubEmulator
e1e87ebd5b79 USB: serial: ftdi_sio: add RT Systems VX-8 cable
ac5a36bb6957 bitmap: fix memset optimization on big-endian systems
52a0c9a14f52 usb: dwc2: Improve gadget state disconnection handling
87a97ab15e44 Bluetooth: Fix missing encryption refresh on Security Request
cf88ae752cd3 phy: qcom-ufs: add MODULE_LICENSE tag
839a4c3b4a48 netfilter: x_tables: add and use xt_check_proc_name
2a55ad7440e6 netfilter: drop template ct when conntrack is skipped.
b0850604cc5d l2tp: fix races with ipv4-mapped ipv6 addresses
bbfbc396f076 netfilter: bridge: ebt_among: add more missing match size checks
546ade704a98 netfilter: x_tables: make allocation less aggressive
72682b162dae percpu: add __GFP_NORETRY semantics to the percpu balancing path
dffe655ddb48 xfrm: Refuse to insert 32 bit userspace socket policies on 64 bit systems
a6232ffa2a02 net: xfrm: use preempt-safe this_cpu_read() in ipcomp_alloc_tfms()
b0d95e686f45 RDMA/ucma: Introduce safer rdma_addr_size() variants
4fbf77d7a9fe RDMA/ucma: Check that device exists prior to accessing it
4dba68fd1dfe RDMA/ucma: Check that device is connected prior to access it
6c2c0da62b5d RDMA/rdma_cm: Fix use after free race with process_one_req
4cd0242812a9 RDMA/ucma: Ensure that CM_ID exists prior to access it
ac895355571a RDMA/ucma: Fix use-after-free access in ucma_close
123f9f8981d2 RDMA/ucma: Check AF family prior resolving address
25fd02ea40db xfrm_user: uncoditionally validate esn replay attribute struct
ac2cb9f3de88 partitions/msdos: Unable to mount UFS 44bsd partitions
0726ba0491ca powerpc/64s: Fix i-side SLB miss bad address handler saving nonvolatile GPRs
4c6d2518e1fe powerpc/64s: Fix lost pending interrupt due to race causing lost update to irq_happened
834a06e59896 i2c: i2c-stm32f7: fix no check on returned setup
f025072cbfe3 ipc/shm.c: add split function to shm_vm_ops
f00a344718dd ceph: only dirty ITER_IOVEC pages for direct read
ca04476df8fd perf/hwbp: Simplify the perf-hwbp code, fix documentation
b276b3465531 x86/platform/uv/BAU: Add APIC idt entry
58eaa556bd0a ALSA: pcm: potential uninitialized return values
17c9ea37cb60 ALSA: pcm: Use dma_bytes as size parameter in dma_mmap_coherent()
ba0b1c7761b4 ALSA: usb-audio: Add native DSD support for TEAC UD-301
be0fdc488672 mtd: nand: atmel: Fix get_sectorsize() function
e9eddb705648 mtd: jedec_probe: Fix crash in jedec_read_mfr()
67356ab6e6a9 ARM: dts: sun6i: a31s: bpi-m2: add missing regulators
46e10c38af0c ARM: dts: sun6i: a31s: bpi-m2: improve pmic properties
d377d3d041b7 ARM: 8746/1: vfp: Go back to clearing vfp_current_hw_state[]
a4941a5fbcf0 ARM: OMAP: Fix SRAM W+X mapping
9a2e216d9e89 Linux 4.14.32
bba757a2c128 s390/qeth: on channel error, reject further cmd requests
e52456422017 s390/qeth: lock read device while queueing next buffer
dd5ec7314030 s390/qeth: when thread completes, wake up all waiters
b469bdd0f511 s390/qeth: free netdevice when removing a card
299902b581ea dpaa_eth: remove duplicate increment of the tx_errors counter
5bf75fca4367 dpaa_eth: increment the RX dropped counter when needed
dde9b6a83797 dpaa_eth: remove duplicate initialization
5bbb99d2fde0 dpaa_eth: fix error in dpaa_remove()
29cd9c2d1f42 soc/fsl/qbman: fix issue in qman_delete_cgr_safe()
43d8f3c5d3ad team: Fix double free in error path
329f4710f89c skbuff: Fix not waking applications when errors are enqueued
e90e9771d9a3 qede: Fix qedr link update
c6841b478e6b net: systemport: Rewrite __bcm_sysport_tx_reclaim()
474aa5149753 net: Only honor ifindex in IP_PKTINFO if non-0
06d3f43d52bb netlink: avoid a double skb free in genlmsg_mcast()
2980f37b6111 net/iucv: Free memory obtained by kzalloc
a14b791d9863 net: fec: Fix unbalanced PM runtime calls
9cdb0f25fbb4 net: ethernet: ti: cpsw: add check for in-band mode setting with RGMII PHY interface
89142a0e0b70 net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred
2d5b0ed04c5a l2tp: do not accept arbitrary sockets
18c647456ac9 ipv6: fix access to non-linear packet in ndisc_fill_redirect_hdr_option()
91d27e0c3025 dccp: check sk for closed state in dccp_sendmsg()
946b9671ac02 net: Fix hlist corruptions in inet_evict_bucket()
4ff5078b0396 net: use skb_to_full_sk() in skb_update_prio()
f6cdb675ca0a ieee802154: 6lowpan: fix possible NULL deref in lowpan_device_event()
f77ff13a06c1 sch_netem: fix skb leak in netem_enqueue()
515bc34124f3 kcm: lock lower socket in kcm_attach
07cf9d303c7c rhashtable: Fix rhlist duplicates insertion
090da7ced80b ppp: avoid loop in xmit recursion detection code
28b488f7cb3a net sched actions: return explicit error when tunnel_key mode is not specified
2274d77c3675 net: phy: Tell caller result of phy_change()
42cf2a1e5ac4 mlxsw: spectrum_buffers: Set a minimum quota for CPU port traffic
dbad5abd2b16 ipv6: sr: fix scheduling in RCU when creating seg6 lwtunnel state
cb4963b49426 ipv6: sr: fix NULL pointer dereference when setting encap source address
5defa8c9269a ipv6: old_dport should be a __be16 in __ip6_datagram_connect()
a8f02befc87d net: ipv6: keep sk status consistent after datagram connect failure
82fb817863e3 macvlan: filter out unsupported feature flags
b51eb57dac9c devlink: Remove redundant free on error path
67a1dc567567 net: phy: relax error checking when creating sysfs link netdev->phydev
223c54244252 sysfs: symlink: export sysfs_create_link_nowarn()
497166d63780 qed: Fix non TCP packets should be dropped on iWARP ll2 connection
e44c1733059c tcp: purge write queue upon aborting the connection
dbbf2d1e4077 tcp: reset sk_send_head in tcp_write_queue_purge
9861e6647c85 Linux 4.14.31
7514cd2f6d21 bpf, x64: increase number of passes
b4e02202a0ba bpf: skip unnecessary capability check
3e1130970ec3 kbuild: disable clang's default use of -fmerge-all-constants
3fdc6f0d1484 x86/pkeys/selftests: Rename 'si_pkey' to 'siginfo_pkey'
d6e6e57e6045 usb: xhci: Fix potential memory leak in xhci_disable_slot()
4208d820ed23 usb: xhci: Disable slot even when virt-dev is null
213b332c71a9 staging: lustre: ptlrpc: kfree used instead of kvfree
26023c977975 staging: android: ion: Zero CMA allocated memory
af00a24c9ea2 iio: imu: st_lsm6dsx: fix endianness in st_lsm6dsx_read_oneshot()
c7d20ac820ad iio: ABI: Fix name of timestamp sysfs file
294a6268bf16 perf/x86/intel/uncore: Fix multi-domain PCI CHA enumeration bug on Skylake servers
59dbc2a44921 perf/x86/intel: Don't accidentally clear high bits in bdw_limit_period()
227e2f91f0c9 perf/core: Fix ctx_event_type in ctx_resched()
b69902a42097 perf stat: Fix CVS output format for non-supported counters
d244e5897c1f perf/x86/intel/uncore: Fix Skylake UPI event format
5fb252cad61f drm/syncobj: Stop reusing the same struct file for all syncobj -> fd
a9b385a59b1f x86/boot/64: Verify alignment of the LOAD segment
faf470583a57 x86/build/64: Force the linker to use 2MB page size
06b281015054 kvm/x86: fix icebp instruction handling
f7fbe38cc55b posix-timers: Protect posix clock array access against speculation
b08952bbc171 x86/efi: Free efi_pgd with free_pages()
373ccbd6eb03 x86/vsyscall/64: Use proper accessor to update P4D entry
852d9679a778 selftests/x86/ptrace_syscall: Fix for yet more glibc interference
5a29ce2b9880 x86/entry/64: Don't use IST entry for #BP stack
3832d40ef22e tty: vt: fix up tabstops properly
5c955c3cfb58 can: cc770: Fix use after free in cc770_tx_interrupt()
63affa180c7d can: cc770: Fix queue stall & dropped RTR reply
b3ab7e3dee87 can: cc770: Fix stalls on rt-linux, remove redundant IRQ ack
18f29aa5b55d can: ifi: Check core revision upon probe
8a731531d08f can: ifi: Repair the error handling
e7dc75584302 can: peak/pcie_fd: remove useless code when interface starts
74f08b1e0de8 can: peak/pcie_fd: fix echo_skb is occupied! bug
2a2b9ef30926 staging: ncpfs: memory corruption in ncp_read_kernel()
3f3a6707770a mtd: nand: fsl_ifc: Read ECCSTAT0 and ECCSTAT1 registers for IFC 2.0
1aa0e4115330 mtd: nand: fsl_ifc: Fix eccstat array overflow for IFC ver >= 2.0.0
91ff3795b188 mtd: nand: fsl_ifc: Fix nand waitfunc return value
84f7a040cf04 mtdchar: fix usage of mtd_ooblayout_ecc()
70001527f446 tracing: probeevent: Fix to support minus offset from symbol
1a697e6ef91b rtlwifi: rtl8723be: Fix loss of signal
7964c00a4a7e brcmfmac: fix P2P_DEVICE ethernet address generation
865a0221c7e2 libnvdimm, {btt, blk}: do integrity setup before add_disk()
7fbddfb00176 ACPI / watchdog: Fix off-by-one error at resource assignment
8f860adbb3d8 acpi, numa: fix pxm to online numa node associations
b8b8151806ff mm/vmscan: wake up flushers for legacy cgroups too
c8deec718121 drm: udl: Properly check framebuffer mmap offsets
fc1142a8ca2d drm: Reject getfb for multi-plane framebuffers
b53d42b4ab92 drm/radeon: Don't turn off DP sink when disconnected
19246741a6df drm/vmwgfx: Fix a destoy-while-held mutex problem.
4be50a9fe670 drm/vmwgfx: Fix black screen and device errors when running without fbdev
99b6ead444cf Revert "mm: page_alloc: skip over regions of invalid pfns where possible"
f5dad0409a72 mm/shmem: do not wait for lock_page() in shmem_unused_huge_shrink()
b6b6783c8097 mm/thp: do not wait for lock_page() in deferred_split_scan()
8b8b5c4f7f3a mm/khugepaged.c: convert VM_BUG_ON() to collapse fail
5bbd932ff58f x86/mm: implement free pmd/pte page interfaces
acdb4981644c mm/vmalloc: add interfaces to free unmapped page table
04d47fc40367 h8300: remove extraneous __BIG_ENDIAN definition
1e8628443ede hugetlbfs: check for pgoff value overflow
797bfd05d404 nfsd: remove blocked locks on client teardown
aa0533f4f7b2 cgroup: fix rule checking for threaded mode switching
2b4bb9f3869b libata: Modify quirks for MX100 to limit NCQ_TRIM quirk to MU01 version
65ab5809b48d libata: Make Crucial BX100 500GB LPM quirk apply to all firmware versions
596d0a8e7c77 libata: Apply NOLPM quirk to Crucial M500 480 and 960GB SSDs
01b6d6839a28 libata: Enable queued TRIM for Samsung SSD 860
603f0168c1ef libata: disable LPM for Crucial BX100 SSD 500GB drive
3962dd60a67b libata: Apply NOLPM quirk to Crucial MX100 512GB SSDs
5e67e65d21d0 libata: don't try to pass through NCQ commands to non-NCQ devices
cd47a2ccc602 libata: remove WARN() for DMA or PIO command without data
8745d2063d28 libata: fix length validation of ATAPI-relayed SCSI commands
15a4417cc652 Bluetooth: btusb: Fix quirk for Atheros 1525/QCA6174
cd3141c02404 Bluetooth: btusb: Add Dell OptiPlex 3060 to btusb_needs_reset_resume_table
3a64bcc3e67a Bluetooth: btusb: Remove Yoga 920 from the btusb_needs_reset_resume_table
b64ffeecfbdd pinctrl: samsung: Validate alias coming from DT
a1da0548a932 Drivers: hv: vmbus: Fix ring buffer signaling
8f59abbdeb9d RDMA/mlx5: Fix crash while accessing garbage pointer and freed memory
9efd9903f561 clk: sunxi-ng: a31: Fix CLK_OUT_* clock ops
55306d632ab8 clk: bcm2835: Protect sections updating shared registers
2eb67f85d55b clk: bcm2835: Fix ana->maskX definitions
ef006d43bc61 lockdep: fix fs_reclaim warning
a05b610534a9 ahci: Add PCI-id for the Highpoint Rocketraid 644L card
8f5f582cabd7 PCI: Add function 1 DMA alias quirk for Highpoint RocketRAID 644L
aa26895af31b mmc: dw_mmc: fix falling from idmac to PIO mode when dw_mci_reset occurs
a592984e03e6 mmc: dw_mmc: exynos: fix the suspend/resume issue for exynos5433
23a8825aea65 mmc: dw_mmc: Fix the DTO/CTO timeout overflow calculation for 32-bit systems
72439a30c096 mmc: block: fix updating ext_csd caches on ioctl call
39254113845c mmc: core: Disable HPI for certain Micron (Numonyx) eMMC cards
fcc71c97a384 mmc: core: Fix tracepoint print of blk_addr and blksz
856da5e097e0 ALSA: hda/realtek - Always immediately update mute LED with pin VREF
7a42d11ab86e ALSA: hda/realtek - Fix Dell headset Mic can't record
dc9d942e45c0 ALSA: hda/realtek - Fix speaker no sound after system resume
8d49f5625eda ALSA: hda - Force polling mode on CFL for fixing codec communication
88079d335aac ALSA: aloop: Fix access to not-yet-ready substream via cable
1fcbcfff716f ALSA: aloop: Sync stale timer before release
3aa7360be333 ALSA: usb-audio: Fix parsing descriptor of UAC2 processing unit
2b706310e520 iio: adc: meson-saradc: unlock on error in meson_sar_adc_lock()
d1138478e071 iio: st_pressure: st_accel: pass correct platform data to init
f81b0e627b67 iio: chemical: ccs811: Corrected firmware boot/application mode transition
ea26b66f10cb MIPS: lantiq: ase: Enable MFD_SYSCON
124532fc3c28 MIPS: lantiq: Enable AHB Bus for USB
8b23936074d9 MIPS: lantiq: Fix Danube USB clock
e73ac1875971 MIPS: ralink: Fix booting on MT7621
fb45c56ebd0f MIPS: ralink: Remove ralink_halt()
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
(From OE-Core rev: 6ddaf2e408fa733214a5ff9a5b9ef171304f02a5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Qemu now builds with libsdl2, so update the local.conf.sample to reflect this.
(From meta-yocto rev: 5e187b5b3dc69f0e8e5a2956e7fe997e62cb48c9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although the submodules' histories have been fetched during the
do_fetch() phase, the mechanics used to clone the workdir copy
of the repo haven't been transferring the actual .git/modules
directory from the repo fetched into downloads/ during the
fetch task.
Fix that, and for good measure also explicitly tell Git to avoid
hitting the network during do_unpack() of the submodules.
[YOCTO #12739]
(Bitbake rev: 11b6a5d5c1b1bb0ce0c5bb3983610d13a3e8f84a)
Signed-off-by: Matt Hoosier <matt.hoosier@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent patches were applied which removed a function which set the xx
variable. This means xx can be uninitalised and prerm functions can fail.
This adjusts the patch to ensure the xx value isn't used in such a way.
(From OE-Core rev: 23f15c63777020f5d43b070a1eb2bcf246c19ff8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test works by excluding curl-dev which curl-staticdev depends upon.
When static libraries aren't disabled, this leads to an odd looking test
failure.
Simply exclude curl-staticdev as well in case its enabled to make sure
the test always works.
(From OE-Core rev: 0a77f4b680332a692abf0231e397fab44c59bde3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The freedesktop.org.xml data and the update-mime-database tool are both GPLv2 as
per COPYING, so change LICENSE to GPLv2.
test-mime-magic.c is LGPLv2+ but we don't install that so isn't relevant.
(From OE-Core rev: 4ca838097c43755e19f8ffc66436f9ad773fcd39)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following patches have made it to upstream:
* 0001-configure-Fix-default-value-of-without-numa-switch-i.patch
* 0001-configure-add-knob-to-control-numa-support.patch
* 0003-Add-knob-to-control-tirpc-support.patch
* 0010-replace-__BEGIN_DECLS-and-__END_DECLS.patch
* 0040-safe_macros-make-is_fuse-return-zero-if-fs_type-is-N.patch
These patches have been refreshed in order to apply cleanly
and without any fuzz:
* 0004-build-Add-option-to-select-libc-implementation.patch
* 0008-Check-if-__GLIBC_PREREQ-is-defined-before-using-it.patch
* 0021-Define-_GNU_SOURCE-for-MREMAP_MAYMOVE-definition.patch
* 0028-rt_sigaction.h-Use-sighandler_t-instead-of-__sighand.patch
* 0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch
This next patch was added to the set of patches that make LTP
build with musl:
* 0040-read_all-Define-FNM_EXTMATCH-if-not-already-like-und.patch
(From OE-Core rev: 331b08516b9b15b9d50d6cade3c9a676bdcefef2)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, we can't build meson into SDKs because we don't autogenerate
the required meson.cross file.
Enable this by using the post-relocate hooks and generating a
meson.cross file based on the SDK environment passed into the
post-relocate hook.
(From OE-Core rev: aabb846b165fec218024a7a57f3c9fdaa2514179)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add patches to enable meson to handle being wrapped with a shell script. This
will enable us to do so for supporting the SDK, which requires us to setup env
vars and point to a meson.cross file inside the SDK.
These patches are all merged upstream, so we can drop them soon.
(From OE-Core rev: f80567874c8c30e43d39599dd73dd4a67eff8103)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's useful for the post-relocate scripts to be able to see the SDK
environment, for example to see the values of CC, CXX etc. in order to
dynamically generate toolchain files.
To enable this, source the SDK environment script prior to calling the
relocate scripts.
(From OE-Core rev: adcf69ee3310171580c28e141fec6997b1f06da4)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, if a post-relocate script fails, it fails silently. We should
be louder about this, as it likely indicates a broken SDK.
Print a message if a post-relocate script fails.
(From OE-Core rev: 369b5f3f98f8455c79731621cc669ad1948e2022)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, we look only for scripts matching *.sh, which means we can't
write post-relocate scripts in other languages.
Expand this to allow any type of script.
(From OE-Core rev: 5569a6ec6d3c4358719350cac88afa69a76097a8)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A function is uses a mix of spaces and tabs. The rest of the file
uses tabs, so switch to tabs uniformly.
(From OE-Core rev: 693daaac7399a5a7665cd3bcbc915ff93db36db5)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The origins of the patch date back to early 2005 (prior to the start
of git history in oe-core) to fix a hardcoded limit on the maximum
size of remote host keys:
http://familiar.handhelds.narkive.com/b1VGg2bI/problem-w-dropbear-ssh
The hardcoded limit was fixed upstream in dropbear 0.47:
736f370dce
The patch has therefore been obsolete since then. It went unnoticed
until now as the patch has continued to apply - it modifies a value
which is not used.
(From OE-Core rev: 17072ffc1e765edd45bc1174378fb666185e5643)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As I will be leaving Intel, this address will no longer be valid,
so swap it for my personal one for now.
(From OE-Core rev: 1d4f8b0b3f30f27b19fc91638d8d00e9545c1270)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As I will be leaving Intel, this address will no longer be valid,
so swap it for my personal one for now.
(From OE-Core rev: 08c9db07560b85dc24f27e2aa1542b17101751e5)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As I will be leaving Intel, this address will no longer be valid,
so swap it for my personal one for now.
(From OE-Core rev: ea58ff101e28dfda3410de66d775df3d8a1e5a96)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default we now build our own libSDL, so don't ship libsdl in the self-hosted group.
(From OE-Core rev: 992c7023ad42e493f80d2ff4a035944f81140896)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sdl1 since qemu-2.12.0 depends on x11 in DISTRO_FEATURES, switch to sdl2
(From OE-Core rev: b90aaf0ca1bd82cca2f13164407881c53f15739c)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* drop "fdt sdl" listed twice in PACKAGECONFIG
* keep all 3 disabled by default
* spice, usbredir recipes will eventually be in meta-networking layer
(you can use jansa/spice branch from meta-openembedded-contrib repository)
* virglrenderer recipe will eventually be in oe-core layer
(you can use jansa/qemu branch from openembedded-core-contrib repository)
(From OE-Core rev: ebb6ef1dbc7e03a4b7030b3056bd0fa59fdd047b)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* drop patches which are now included upstream
* revert "linux-user: fix mmap/munmap/mprotect/mremap/shma" which is
causing
0010-linux-user-Fix-webkitgtk-hangs-on-32-bit-x86-target.patch
to stop working and qemu-i386 hanging during gobject-introspection in
webkitgtk when building for qemux86 with musl
(From OE-Core rev: e9d6e09bb51a857ce248f45124548d338a350ba1)
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>
Support for variables suffixed with package names, e.g., PKGV_foo, was
removed in commit 3d2c87c4, which broke support for recipes that set
other versions on their packages than what is in ${PV}.
(From OE-Core rev: 38f8284212370999e1e7b0f6559f7cd786e80d1a)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, when dropbear was started via its init script, relocation
of DROPBEAR_RSAKEY_DIR to support read-only rootfs was handled at
run time from within the init script.
Update the init script to take advantage of the read-only rootfs
config setup by read_only_rootfs_hook() and therefore be consistent
with startup under systemd (where relocation of DROPBEAR_RSAKEY_DIR
is handled by the read_only_rootfs_hook() at build time).
(From OE-Core rev: 4990f87b2f6a8b30c8d1c767636e7f5527f595ba)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the maximum number of open file descriptors is much greater than the
usual 1024 (for example inside a Docker container), the performance
drops significantly.
This was reported upstream in:
https://bugzilla.redhat.com/show_bug.cgi?id=1537564
which resulted in:
https://github.com/rpm-software-management/rpm/pull/444
The pull request above has now been integrated and this commit contains
a backport of its three patches, which together change the behavior of
rpm so that its performance is now independent of the maximum number of
open file descriptors.
(From OE-Core rev: 7feed9ccfc4e656c6264f07e13d7e9ef69bdfb06)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 6f1822e5f1eaafd8bc46e999de730c1fcca77f3a.
This patch only solved a part of the problem.
(From OE-Core rev: 78c4eb6ea4230a4f9199aa3fa7b84d2aea465b95)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- fix multiple lzma segmentation faults
- patch includes multiple fixing commits
- test-cases have been removed due to binary data
(From OE-Core rev: e865e5056235a9b4e3911d4c734a3ffa71bb9e62)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running testimage task for core-image-sato-sdk, the following
error appeared.
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x82 at position 0: invalid start byte
Checking the codes, I found it's caused by setting a 1024 limit for the
read method of the StreamReader object.
Comments from the manual:
"""
The chars argument indicates the number of decoded code points or bytes to
return. The read() method will never return more data than requested, but
it might return less, if there is not enough available.
"""
When running `systemctl status --full' on target, this error occurs.
This patch increase the bytes limit to 4096 to fix the error.
(From OE-Core rev: f1fad60ae3be4450aca6058d5665fb10a9148b44)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
testimage-auto is expected to run testimage task's codes automatically.
But in fact, it's currently missing some codes, including testimage_sanity
and create_rpm_index.
This leads to the problem of unexpected runtime failure of test_dnf_makecache.
The error message is as below.
RESULTS - dnf.DnfRepoTest.test_dnf_makecache - Testcase 1744: ERROR
This error is caused by the fact that create_rpm_index is not executed
before running the tests.
There's no reason why such codes should not be in testimage_main, so
move them into it.
(From OE-Core rev: fa7ba486ded13907f63f9300f66350ba2835a3f7)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A list of tools are added to HOSTTOOLS depending on if we inherit
testimage or not. Unfortunately, if we use TEST_IMAGE variable to
automate the test, these tools are not added to HOSTTOOLS.
Modify the condition to also check TEST_IMAGE to fix the above problem.
Also, change to use if...else... instead of list index for such setting.
(From OE-Core rev: 263f8ad612674b0b47cd980212556332c17cb370)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test_file_connman should be executed only when 'lib32-connman' is
installed and 'connman' is not installed.
When lib32-connman and connman are both installed, the /usr/sbin/connmand
could be from connman or lib32-connman, depending on the installation
order. What we want to check is the connmand command from lib32-connman,
so we need to make sure that connman is not there to cause chaos.
(From OE-Core rev: bc6839394c06bb695b92b2183337e7381da1e86c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1) The test cases use 'readelf' command to do the check. This command
is from binutils. So skip the test if the needed binutils package is
not installed.
The related error message in log.do_testimage is like below.
Output: sh: readelf: not found
2) The test case tests /lib/libc.so.6 from lib32-libc6. So skip the test
if lib32-libc6 is not installed.
The related error message in log.do_testimage is like below.
Output: readelf: Error: 'lib/libc.so.6': No such file
(From OE-Core rev: eae929a5c224f5c3468d6a0466d1bbb3f678a5a1)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test case should only run when rpm package is installed.
So skip it if rpm package is not installed. This fixes:
RESULTS - rpm.RpmBasicTest.test_rpm_help - Testcase 1059: FAILED
(From OE-Core rev: bb909a60c04248d015d988e4454f0a11b1c287da)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The var might not be set, resulting in unexpected error.
RESULTS - multilib.MultilibTest.test_check_multilib_libc - Testcase 1593: ERROR
The above error is due to MULTILIBS being not set, which is the default
for OE. This patch fixes this problem.
Also, the debugging message in skipIfNotInDataVar is currently confusing.
Instead of
DEBUG: Checking if 'MULTILIBS' value is in 'multilib:lib32' to run the test
it should be
DEBUG: Checking if 'MULTILIBS' value contains 'multilib:lib32' to run the test
This patch also fixes it.
(From OE-Core rev: 3f5c678664a2bba43d99508779dc2ce227cf52a2)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having 'auto' in TEST_SUITES will also run the 'dnf' test cases,
so also check it to determine whether to create rpm index or not.
This is to fix the following error when TEST_SUITES = "auto".
RESULTS - dnf.DnfRepoTest.test_dnf_makecache - Testcase 1744: ERROR
(From OE-Core rev: c1f4177848d25a9121f2a85da655ee414cd424b1)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test is to test the behaviour of PACKAGE_FEED_URIS is correct or not.
If it's not even set, it makes no sense to do such test. So skip this
test if PACKAGE_FEED_URIS is not set.
(From OE-Core rev: 37e3d9d91cc0c8d0dac48463a888c692f4648f66)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use 'cls' instead of 'obj' to better reflect that registerDecorator
actually serves as a class decorator.
(From OE-Core rev: e06e4c859e8be5225d80806a2ebe175f0b152fe1)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OETestFilter is a subclass of OETestDecorator. It wants to make
use of @abstractmethod decorator. But such decorator requires
metaclass to be ABCMeta to have effect. So add it now to achieve
the designed behaviour.
Comments from python's manual:
"""
Using this decorator requires that the class's metaclass is ABCMeta
or is derived from it.
"""
(From OE-Core rev: 28c4fafb2322ea8c37bcd7710f22f46ef552a902)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current behaviour of TEST_SUITES is very confusing.
setting: TEST_SUITES = ""
result: Execute all test cases.
setting: TEST_SUITES = "some_case_not_exist"
result: Error out with 'Empty test suite' message.
The expected behaviour of TEST_SUITES should be:
1. when 'auto' is in it, execute as many test cases as possible
2. when no valid test case is specified, error out and give user message
The first one is implemented by a previous patch.
The second one is fixed in this patch.
Also add debug message to show test cases to be executed. This is
for easier debugging.
(From OE-Core rev: 909568821fbad8a6a7034b10a2dc349a210fdfc6)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In previous OEQA, having 'auto' in TEST_SUITES results in executing
as many test cases as possible.
This behaviour is broken for now. From the codes in core/loader.py,
I can see that it tries to use another keyword 'all'. But in fact,
it does not work.
I've checked the current manual. The manual says using 'auto'.
Below is the current information in manual.
"""
Alternatively, you can provide the "auto" option to have all applicable
tests run against the image.
TEST_SUITES_append = " auto"
"""
So we should restore this behaviour. This patch does so.
Also, output warning message is some module is named as 'auto', as this
is a reserved keyword.
(From OE-Core rev: a65460a063a958cc887c756db5f7ab18e3f5a8c1)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure that we're able to use the initrd value specified in the wks
file when using grub-efi bootloader with bootimg-efi wic plugin.
Fixes [YOCTO #12689]
(From OE-Core rev: f1d5bb1f21e11714357aff4ae7e52421e3756c5a)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of showing that command 'None' was found, show the name of
actual command that wasn't found on the host machine or at the native
sysroot path provided by user.
(From OE-Core rev: 3157ebb131e01e74689b1f87a35278350f315e7d)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, $HOME/.local is being added into sys.path in the Python SDK
causing subtle host contamination. Suppress this by exporting
PYTHONNOUSERSITE = "1" as documented in PEP 370.
This issue occurred in the past for python*-native and was fixed
similarly in OE-core commit 8fe9fb4d5a61dcbcb3fc5b9ee0234cc135af873f
("python*native.bbclass: suppress user site dirs").
(From OE-Core rev: 0dc36439cb9fe1cea50bed59da6302f78372a30b)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The native override is specified in two different places, so let's move
it into a function to reduce code duplication.
(From OE-Core rev: c455ec4a12d4966524da9436722476aa2d428765)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Let this be dictated by the module parameter value being set by qemu
machine configuration.
(From OE-Core rev: c40b241e8d40c8bc1c9e6065b12e260662f5bba4)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When runqemu is invoked with an image type (wic, hddimg etc) as a parameter,
the kernel value and command line parameters from qemuboot.conf
are ignored and not passed to qemu cmdline.
As an example, when using:
$ runqemu wic kvm
It results in no network interface and video mode warnings when qemu is up because
the -kernel and -append options were not passed.
Change qemu conf to use qemux86-directdisk.wks that supplies the kernel parameters
that are appended to the bootloader configuration when generating qemu wic
images instead of relying on qemuboot.conf.
Fixes [YOCTO #12224]
(From OE-Core rev: 3b79d9a78816d2eb70fe54ca6cd086d94c115f05)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We ship the open posix test suite already but it isn't compiled.
Let's build it and make it ready to use on the device.
(From OE-Core rev: 79b22a2539b7dec762523ca544e27b9cce7ee81e)
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, ASNEEDED was appended to TARGET_LDFLAGS from
as-needed.inc via tcmode-default.inc and so may not have been enabled
for external toolchain builds or other configurations which over-ride
TCMODE (ie builds which do not include tcmode-default.inc).
Include ASNEEDED in TARGET_LDFLAGS directly from bitbake.conf to
ensure that the optimisation is applied to all builds (and for
consistency with the way that TARGET_LINK_HASH_STYLE is handled).
(From OE-Core rev: 996bcb143cb8755cadb986e084b5f24e3ffdb03b)
Signed-off-by: Andre McCurdy <armccurdy@gmail.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).
Re-apply change, which was previously merged and then reverted to
avoid conflicts with a distcc version update.
(From OE-Core rev: d902a5f72b8a3b3f74e7716cc967fa53f8751b68)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Usually, the debugfs' (-dbg.tar.*) work follow is:
1) Install regular rootfs to dir_foo
2) Install debugfs (-dbg.tar.*) to the same dir_foo
So we need to allow installing the debugfs on top of the rootfs.
(From OE-Core rev: c54147b286d72d7c4f8ca55a5a62f5d27bd5364a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After installing an image from an iso, booting the system using
the legacy boots makes the grub prompt wait for an enter.
This is not desirable since many of this devices are embedded
devices that should start by them self without user entry.
(From OE-Core rev: f6d85426e48d458d0835d4fd3314ce53ab92bd38)
Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add package for rtl8168 firmware which is required by Realtek
Ethernet Controller.
(From OE-Core rev: e5315d5d820cb1b164c75a0cab3804f6c69b5ba9)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when powerpc64:
$ bitbake <image> -ctestsdk
[snip]
checking whether printf supports %p... configure: error: cannot run test program while cross compiling
See `config.log' for more details.
test_cvs (oeqa.sdk.buildcvs.BuildCvsTest) ... FAIL
[snip]
The cvs_cv_func_printf_ptr is already in powerpc32-linux.
(From OE-Core rev: cbba73baf94cd0ee99d010abab79140cd5e4b99e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running bitbake command with Python 3.6.5 always result in
import error causing by the change of distutils module.
This patch replaces the method to search executable in PATH by
"/usr/bin/env <command>".
(Bitbake rev: bd9a1b063633af2936ba1dd87b19202424900151)
Signed-off-by: Tzu Hsiang Lin <t9360341@ntut.org.tw>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When installing the SDK to a non-default path, running "rpm --showrc" from the
sdk will produce the following error:
error: Unable to open /opt/windriver/wrlinux-small/10.17.41/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/rpm/rpmrc for reading: No such file or directory.
Fix this by adding wrappers that dynamically export the RPM_CONFIGDIR,
RPM_ETCCONFIGDIR and MAGIC environment variables, pointing to the proper
sdk locations.
(From OE-Core rev: 760103cdaed3e820888d8984ec0b76cfc831d534)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix below errors while pam is enabled on target:
root@qemux86:~# newusers
newusers: PAM: Authentication failure
root@qemux86:~# chpasswd
chpasswd: PAM: Authentication failure
The configs copied from "chgpasswd" which command works with pam.
(From OE-Core rev: f6efc1dbd1f3a0f68ee731ff2b5a5d798ecf2cf8)
Signed-off-by: Hu <yadi.hu@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Correct the command location in ptest scripts such as
update the line "#!/bin/awk -f" to "#!/usr/bin/awk -f" in the
file /usr/lib64/gawk/ptest/test/fcall_exit2.awk belongs
to package gawk-ptest and the line "#!/usr/local/bin/gawk -f"
to "#!/usr/bin/gawk -f" in the file
/usr/lib64/gawk/ptest/test/fnarydel.awk
(From OE-Core rev: 66aa9f1424202a583acd168182ae13ea68e2ab15)
Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When 'opengl' is not set in DISTRO_FEATURES, ${libdir}/pkgconfig is an
empty directory and cause installed-vs-shipped error.
(From OE-Core rev: 9e373fec2013c5b2f9297e8f88317628ba9b7dce)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update shadow to change ownership of /var/spool/mail from root:root to
root:mail and permission from 0755 to 0775 just as in most popular
distributions such as fedora and debian(It also set setgid bit in debian
but we don't need it).
(From OE-Core rev: b3ab5fe359c38cdd5cd86cb8ffe076d7a2baac18)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf is failing to build for me since this oe-core commit:
commit 9b38c824961fc9dce51bda95c25dac91a69fc64f
Author: Hongxu Jia <hongxu.jia@windriver.com>
Date: Tue Apr 24 11:33:47 2018 +0800
perf: make a copy of kernel source to perf workdir
the problem is that perf sources in kernel older than 4.8 (in my case
4.4) are depending on the "global" include headers outside tools
directory, e.g. swab.h in:
kernel-source/tools$ git grep swab.h
perf/MANIFEST:include/linux/swab.h
perf/MANIFEST:include/uapi/linux/swab.h
perf/util/include/asm/byteorder.h:#include "../../../../include/uapi/linux/swab.h"
this was resolved in 4.8 with:
commit 7e3f36411342a54f1981fa97b43550b8406a3d69
Author: Arnaldo Carvalho de Melo <acme@redhat.com>
Date: Mon Jul 18 17:42:16 2016 -0300
perf tools: Remove tools/perf/util/include/asm/byteorder.h
Not used anymore. This also stops include linux/swab.h directly
from the kernel sources, remove that reference from the MANIFEST.
and few more changes to make tools/include more complete and standalone:
tools/include in 4.15:
asm asm-generic linux tools trace uapi
tools/include in 4.4:
asm asm-generic linux tools
but copying the include header even for kernels which don't really
need it doesn't add big overhead, so just copy include to perf sources
for all kernels.
(From OE-Core rev: 19fb2d11a8bb3c6dfdd5edc1b9155d642dc0f5e0)
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>
i2cget, i2cset, i2cdump and i2cdetect may also be provided by Busybox
when CONFIG_I2CGET, CONFIG_I2CSET, CONFIG_I2CDUMP and CONFIG_I2CDETECT
are enabled respectively.
Busybox has a priority of 50.
Prior to the patch building core-image-minimal with
IMAGE_INSTALL_append = " busybox"
IMAGE_INSTALL_append = " i2c-tools"
in local.conf produced the warnings
WARNING: core-image-minimal-1.0-r0 do_rootfs: busybox.postinst returned 1, marking as unpacked only, configuration required on target.
WARNING: core-image-minimal-1.0-r0 do_rootfs: Intentionally failing postinstall scriptlets of ['busybox'] to defer them to first boot is deprecated. Please place them into pkg_postinst_ontarget_${PN} ().
If deferring to first boot wasn't the intent, then scriptlet failure may mean an issue in the recipe, or a regression elsewhere.
Details of the failure are in /path/to/poky/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.
WARNING: core-image-minimal-1.0-r0 do_rootfs: [log_check] core-image-minimal: found 1 warning message in the logfile:
[log_check] WARNING: Intentionally failing postinstall scriptlets of ['busybox'] to defer them to first boot is deprecated. Please place them into pkg_postinst_ontarget_${PN} ().
where log.do_rootfs contained
update-alternatives: Error: not linking /path/to/poky/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs/usr/sbin/i2cget to /bin/busybox.nosuid since /path/to/poky/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs/usr/sbin/i2cget exists and is not a link
and similarly for i2cset, i2cdump and i2cdetect when a workspace layer
created by devtool contained
cat workspace/appends/busybox_%.bbappend
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append = " file://i2c.cfg"
and
cat workspace/appends/busybox/i2c.cfg
CONFIG_I2CGET=y
CONFIG_I2CSET=y
CONFIG_I2CDETECT=y
CONFIG_I2CDUMP=y
(From OE-Core rev: 391f0fb76c286734cc9be57b825efe02b6999faf)
Signed-off-by: Hannu Lounento <hannu.lounento@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was undocumented, and it's better to just always enable
full debug output, as this allows immediate generation of logs
with full diagnostics when things go not as expected.
Also, change the output of dnf from note to debug level; this
does not affect what is written to log file, but does reduce the
verbosity of bitbake -v.
(From OE-Core rev: 9128fd1396729a71b4832a597cf070c2be922d63)
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>
Drop upstreamed patch.
Add a patch to correctly set LDFLAGS for one of the libraries and Python bindings.
Add dependencies to build Python bindings
(directly inheriting setuptools3 class does not work,
as the build is Makefile-managed) and a snippet to install them.
Also add a patch to allow specifying where they are installed
(to avoid hardcoded /usr/lib default).
(From OE-Core rev: a2b9834ec9b817e32772ddc27bc6b55fab33670c)
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>
Currently we have local.conf included before qemu.inc, and ${DISTRO}.conf
after qemu.inc. They both possibly specify their expected kernel providers.
To let other config files override it in real use, this commit changes
kernel provider assignment to ??= .
(From OE-Core rev: 07e06abeb6b7ae5047c4b70818cd8873302e4940)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Dropped 0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch,
because an equivalent patch is included in the new release.
License-Update: FSF address updated
(From OE-Core rev: 35076031c76089b9acec9d256ac2b4345f9f918b)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Daniel Stone (3):
drm/atomic: Refuse to add invalid objects to requests
headers: Sync with drm-next
headers: Update README
Dylan Baker (1):
meson: don't use compiler.has_header
Emil Velikov (1):
Revert "libdrm: intel/Android.mk: Filter libdrm_intel library requirements on x86/x86_64"
Eric Engestrom (13):
freedreno: add missing symbols to symbol-check
meson: use pkg-config to detect libatomic_ops
meson: make it easy to add headers to check
meson: detect alloca.h
meson,configure: always define HAVE_OPEN_MEMSTREAM
meson,configure: always define HAVE_VISIBILITY
meson,configure: always define UDEV
meson: replace `if(compiles) have=true` with `have=compiles`
meson,configure: include config.h automatically
meson: drop unneeded dependency to libudev
meson: move line to allow using `config` earlier
meson: drop unnecessary variable
xf86drmMode: merge successive mutually-exclusive #ifs
Gowtham Tammana (1):
omap: add Android build support
Inki Dae (1):
tests: fix memory leak issue
James Zhu (1):
tests/amdgpu: add vce mv tests support and sets
John Stultz (3):
libdrm: intel/Android.mk: Filter libdrm_intel library requirements on x86/x86_64
libdrm: Use readdir instead of readdir_r to avoid build warnings
libdrm: gralloc_handle.h: Fix build issue with Android
Marek Olšák (1):
Revert "amdgpu:support 16 ibs per submit for PAL/SRIOV"
Matt Atwood (1):
Intel: Add a Kaby Lake PCI ID
Michel Dänzer (1):
amdgpu: Deinitialize vamgr_high{,_32}
Paulo Zanoni (1):
intel: add support for ICL 11
Qiang Yu (1):
amdgpu:support 16 ibs per submit for PAL/SRIOV
Rex Zhu (1):
headers: sync up amdgpu_drm.h with drm-next
Rob Clark (2):
freedreno: add fd_pipe refcounting
bump version for release
Rodrigo Vivi (1):
intel/intel_chipset.h: Sync Cannonlake IDs.
Sabre Shao (1):
drm/amdgpu: Remove IB count checking
Satyajit (1):
libdrm: amdgpu: Adding DRM_RDWR flag in amdgpu_bo_export
Seung-Woo Kim (1):
tests/exynos: remove dead condition
Stefan Schake (1):
android: Add missing include exports
Tomasz Figa (1):
intel: Do not use libpciaccess on Android
Xiaojie Yuan (1):
amdgpu: enlarge the maximum number of cards supported
(From OE-Core rev: 805c362871b1a03fbee941b628f2e8aca0f4bb51)
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>
Minor release primary fixes are
* get it building with gcc8
* Fixes for riscv64
drop local gcc8 support patch which is not needed now
(From OE-Core rev: b02ac5dd2dc27fe742cb7f20a12090eda3190c84)
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>
wireless-tools have been obsolete and superseded by iw for a very long time.
I've checked that images continue to boot and the graphical connman frontend
is still able to list wireless networks; there is no evidence that
wireless-tools are needed by anything.
[YOCTO #12727]
(From OE-Core rev: f1978b7e1d68bd7813ae048ff9a37716618a473c)
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>
Updating to include Paul Gortmaker's latest round of stable updates, which
comprise the following commits:
dc2f71a08d7a Linux 4.12.24
4cab262afa69 iio: adc: ti-ads1015: add 10% to conversion wait time
89f573e6f136 tools include: Do not use poison with C++
d4f418739d68 kprobes/x86: Disable preemption in ftrace-based jprobes
28861253362b perf test attr: Fix ignored test case result
12c60baac963 staging: fsl-mc/dpio: Fix incorrect comparison
43e1cab01765 serial: imx: Update cached mctrl value when changing RTS
6122e955f082 usbip: tools: Install all headers needed for libusbip development
c1fce3e6296c serial: sh-sci: suppress warning for ports without dma channels
444cfc461e20 sysrq : fix Show Regs call trace on ARM
0040e82b1a65 usb: xhci: Return error when host is dead in xhci_disable_slot()
e1667a3749da staging: fsl-dpaa2/eth: Account for Rx FD buffers on error path
7e22cbc6bd55 usb: mtu3: fix error return code in ssusb_gadget_init()
c528464afcea EDAC, sb_edac: Fix missing break in switch
e207a0c6a285 clocksource/drivers/arm_arch_timer: Validate CNTFRQ after enabling frame
c3c5783f9303 serial: 8250: Preserve DLD[7:4] for PORT_XR17V35X
ca7b446eff2f PCI: dra7xx: Create functional dependency between PCIe and PHY
7897f75fc207 usb: phy: tahvo: fix error handling in tahvo_usb_probe()
c240911c41c3 mmc: sdhci-msm: fix issue with power irq
97227123b5f0 mmc: tmio: check mmc_regulator_get_supply return value
05ce425fa841 spi: spi-axi: fix potential use-after-free after deregistration
42f90afc67e4 spi: sh-msiof: Fix DMA transfer size check
c652d0d523bf staging: rtl8188eu: avoid a null dereference on pmlmepriv
3dc08560ab63 serial: 8250_fintek: Fix rs485 disablement on invalid ioctl()
d57c00699295 m68k: fix ColdFire node shift size calculation
df74b0c1e0b4 staging: greybus: loopback: Fix iteration count on async path
96be1d656724 x86/entry/64: Don't use IST entry for #BP stack (part #2)
8e3f9a001776 selftests/x86/ldt_get: Add a few additional tests for limits
0d0517d16bc5 s390/pci: do not require AIS facility
778bf06a0661 PM / Domains: Fix genpd to deal with drivers returning 1 from ->prepare()
bd4084ce13d2 s390: vfio-ccw: Do not attempt to free no-op, test and tic cda.
fd6fe520a496 ima: fix hash algorithm initialization
83cd72f27843 usb: host: fix incorrect updating of offset
4ab295bc9cdf USB: usbfs: Filter flags passed in from user space
d8ce9fecf049 USB: Fix off by one in type-specific length check of BOS SSP capability
dc9843bd9e72 USB: core: Add type-specific length check of BOS descriptors
ab95f86f0fac usb: xhci: fix panic in xhci_free_virt_devices_depth_first
c1b551b8718a xhci: Don't show incorrect WARN message about events for empty rings
8412154c096c USB: ulpi: fix bus-node lookup
10d2d61bff44 usb: hub: Cycle HUB power when initialization fails
da44857edd20 powerpc/kprobes: Fix call trace due to incorrect preempt count
67482fcb1f0a powerpc/kprobes: Disable preemption before invoking probe handler for optprobes
6f745a984365 powerpc/jprobes: Disable preemption when triggered through ftrace
3fefceeaca8e USB: serial: usb_debug: add new USB device id
9c971e7d3a9f USB: serial: option: add Quectel BG96 id
cc01c484eee9 serial: 8250_pci: Add Amazon PCI serial device ID
d16393b7a9d8 usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub
7a0ac9cc347c uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices
52c2b20403f0 s390/runtime instrumentation: simplify task exit handling
04dd38b88979 drm/fsl-dcu: enable IRQ before drm_atomic_helper_resume()
f363e7cdb4f6 drm/fsl-dcu: avoid disabling pixel clock twice on suspend
2845e7d136c8 drm/i915: Prevent zero length "index" write
79413d6f2f6f drm/i915: Don't try indexed reads to alternate slave addresses
f5cc8d6842e6 drm/i915/gvt: Correct ADDR_4K/2M/1G_MASK definition
1fab446c5b5a drm/i915: Fix false-positive assert_rpm_wakelock_held in i915_pmic_bus_access_notifier v2
708262ebbebc md: forbid a RAID5 from having both a bitmap and a journal.
40219fc4a45b e1000e: fix the use of magic numbers for buffer overrun issue
9bbd7fc437e0 include/linux/compiler-clang.h: handle randomizable anonymous structs
13782a203fb8 drm/amd/pp: fix typecast error in powerplay.
dd1ab1b7a09e drm/ttm: once more fix ttm_buffer_object_transfer
1e1df0b0eb71 drm/hisilicon: Ensure LDI regs are properly configured.
e10ca648a294 drm/panel: simple: Add missing panel_simple_unprepare() calls
28fb6325953c drm/radeon: fix atombios on big endian
0f7ff143e866 drm/tilcdc: Precalculate total frametime in tilcdc_crtc_set_mode()
00debaff36fb drm/amdgpu: Remove check which is not valid for certain VBIOS
53543b5a5062 drm/amdgpu: Properly allocate VM invalidate eng v2
6095ee5e76ed drm/amdgpu: correct reference clock value on vega10
8544b664f20e Revert "drm/radeon: dont switch vt on suspend"
3b28b8cd6364 nvme-pci: add quirk for delay before CHK RDY for WDC SN200
2c1ae94e88ee hwmon: (jc42) optionally try to disable the SMBUS timeout
8fcaaeed325c bcache: recover data from backing when data is clean
027fe49240fa bcache: only permit to recovery read error when cache device is clean
3746f4374ee2 bcache: Fix building error on MIPS
72ea117f664e cxl: Check if vphb exists before iterating over AFU devices
8ee52dd3b01a i2c: i801: Fix Failed to allocate irq -2147483648 error
ab7ae0720406 eeprom: at24: check at24_read/write arguments
1025c12d637b eeprom: at24: correctly set the size for at24mac402
32aba2ddc564 eeprom: at24: fix reading from 24MAC402/24MAC602
ec5216d0e845 mmc: core: prepend 0x to OCR entry in sysfs
a64429e1d089 mmc: core: prepend 0x to pre_eol_info entry in sysfs
32f6d6221e55 mmc: core: Do not leave the block driver in a suspended state
fa455ca7acc6 arm64: module-plts: factor out PLT generation code for ftrace
d9c2c353dc61 s390: revert ELF_ET_DYN_BASE base changes
5c10828c07be lockd: lost rollback of set_grace_period() in lockd_down_net()
91ed144855d5 crypto: skcipher - Fix skcipher_walk_aead_common
0ff5af74c047 nfsd: fix panic in posix_unblock_lock called from nfs4_laundromat
b187299249a2 nfsd: Fix another OPEN stateid race
2e36e8a92541 nfsd: Fix stateid races between OPEN and CLOSE
237c8c16013d btrfs: clear space cache inode generation always
e6eedfd1ca3f mm/hugetlb: fix NULL-pointer dereference on 5-level paging machine
b19cd2bae194 autofs: revert "autofs: take more care to not update last_used on path walk"
9c0369beda80 device-dax: implement ->split() to catch invalid munmap attempts
0d73cfed1391 platform/x86: hp-wmi: Fix tablet mode detection for convertibles
(From OE-Core rev: 5f5603c33368d7b0143aeb77a95bed90bb92cb51)
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>
Updating the -dev kernel to v4.17+. We also tweak the License checksum
in the -dev kernel since SPDX headers have been inserted upstream and
that has changed the hash value.
(From OE-Core rev: 851734af3ddf19c92e7c82c321adf9da988746b5)
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>
Integrating the -stable updates from Paul Gortmake that comprise the following
commits:
6e83f40c507e Linux 4.12.23
55e376304f1b e1000e: fix buffer overrun while the I219 is processing DMA transactions
3882bb678dd8 e1000e: Fix return value test
167170375055 e1000e: Fix error path in link detection
47722947f954 ARM64: dts: meson-gxl: Add alternate ARM Trusted Firmware reserved memory zone
1dbaaa42b464 media: v4l2-ctrl: Fix flags field on Control events
c7c9d8c465d7 [media] cx231xx-cards: fix NULL-deref on missing association descriptor
6ee1ead888a3 media: rc: check for integer overflow
6f70063599b3 media: Don't do DMA on stack for firmware upload in the AS102 driver
ef4c54828c1d powerpc/64s/hash: Allow MAP_FIXED allocations to cross 128TB boundary
d308f45eb9e7 powerpc/64s/hash: Fix fork() with 512TB process address space
61c9dab21d03 powerpc/64s/hash: Fix 128TB-512TB virtual address boundary case allocation
40744bdf965e powerpc/64s/hash: Fix 512T hint detection to use >= 128T
c5866bd94f03 powerpc/64s/radix: Fix 128TB-512TB virtual address boundary case allocation
49e9f537eb43 powerpc/signal: Properly handle return value from uprobe_deny_signal()
fb991189ca1f parisc: Fix validity check of pointer size argument in new CAS implementation
ae519d5e90b9 ixgbe: Fix skb list corruption on Power systems
2a827971bc99 fm10k: Use smp_rmb rather than read_barrier_depends
b1222f423f70 i40evf: Use smp_rmb rather than read_barrier_depends
61d3820d1146 ixgbevf: Use smp_rmb rather than read_barrier_depends
8c40cc266d42 igbvf: Use smp_rmb rather than read_barrier_depends
d05a14e4483e igb: Use smp_rmb rather than read_barrier_depends
9062b3d8fadd i40e: Use smp_rmb rather than read_barrier_depends
bb0ddf274e82 spi-nor: intel-spi: Fix broken software sequencing codes
11604df811a9 IB/srp: Avoid that a cable pull can trigger a kernel crash
7a2f561b9470 IB/hfi1: Fix incorrect available receive user context count
305382ae2297 IB/cm: Fix memory corruption in handling CM request
9792edc692f1 IB/CM: Create appropriate path records when handling CM request
0624d71dcd6f IB/srpt: Do not accept invalid initiator port names
ff4035fcfb4d svcrdma: Preserve CB send buffer across retransmits
f18fd397f0c1 libnvdimm, namespace: make 'resource' attribute only readable by root
91d9aa084602 libnvdimm, region : make 'resource' attribute only readable by root
ea9427658840 libnvdimm, namespace: fix label initialization to use valid seq numbers
c0bcae085da8 libnvdimm, pfn: make 'resource' attribute only readable by root
aa91e16e2756 libnvdimm, dimm: clear 'locked' status on successful DIMM enable
eca24c2a944d clk: ti: dra7-atl-clock: fix child-node lookups
104ab8491706 SUNRPC: Fix tracepoint storage issues with svc_recv and svc_rqst_status
a6579fafe2b9 dax: fix general protection fault in dax_alloc_inode
b4f77dd3db27 dax: fix PMD faults on zero-length files
12b2a43aa1b0 lockd: double unregister of inetaddr notifiers
f2fa2903113c irqchip/gic-v3: Fix ppi-partitions lookup
c08ddb437ddb genirq: Track whether the trigger type has been set
fc12863e2ba3 raid1: prevent freeze_array/wait_all_barriers deadlock
3c56a460c8bf block: Fix a race between blk_cleanup_queue() and timeout handling
1e28e345115e p54: don't unregister leds when they are not initialized
937209dd49f8 mailbox: bcm-flexrm-mailbox: Fix FlexRM ring flush sequence
73d36ccc25ad mtd: nand: mtk: fix infinite ECC decode IRQ issue
886c51dad821 mtd: nand: Fix writing mtdoops to nand flash.
684797376fd0 mtd: nand: omap2: Fix subpage write
b58d7cba2730 target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK
8412e7db941c target: Fix quiese during transport_write_pending_qf endless loop
7c302f595f4b target: Fix caw_sem leak in transport_generic_request_failure
cc36f84ff1f0 target: Fix QUEUE_FULL + SCSI task attribute handling
41411af9e8ad target: fix null pointer regression in core_tmr_drain_tmr_list
8734ebeb8106 iscsi-target: Fix non-immediate TMR reference leak
2e2bc1186a08 iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref
6de2abbd4c31 scsi: lpfc: Fix oops if nvmet_fc_register_targetport fails
2000b870234f scsi: lpfc: Fix FCP hba_wqidx assignment
01f0e334995a scsi: lpfc: Fix crash receiving ELS while detaching driver
020ccb98ef75 scsi: lpfc: fix pci hot plug crash in list_add call
9b58a782f5a4 scsi: lpfc: fix pci hot plug crash in timer management routines
e316d92e10ac scsi: sd_zbc: Fix sd_zbc_read_zoned_characteristics()
f98e27e575f1 net/9p: Switch to wait_event_killable()
8be417a79efc fs/9p: Compare qid.path in v9fs_test_inode
2e349fe9c2bb fix a page leak in vhost_scsi_iov_to_sgl() error recovery
c0697b079ae5 mfd: lpc_ich: Avoton/Rangeley uses SPI_BYT method
2ace5971b1c1 ASoC: sun8i-codec: Set the BCLK divider
c7316d6679de ASoC: sun8i-codec: Fix left and right channels inversion
2eb91e439cdf ASoC: sun8i-codec: Invert Master / Slave condition
0a116d482fa8 ALSA: hda/realtek - Fix ALC700 family no sound issue
1505048e3ff8 ALSA: hda: Fix too short HDMI/DP chmap reporting
1a1f798bfb30 ALSA: timer: Remove kernel warning at compat ioctl error paths
1051d7755bda ALSA: usb-audio: Add sanity checks in v2 clock parsers
199cd7823763 ALSA: usb-audio: Fix potential out-of-bound access at parsing SU
cf7d9d2b53dc ALSA: usb-audio: Add sanity checks to FE parser
aba17bf44d13 ALSA: pcm: update tstamp only if audio_tstamp changed
29259072ec04 ext4: prevent data corruption with journaling + DAX
97da4f9039cb ext4: prevent data corruption with inline data + DAX
5ddf166442c3 ext4: fix interaction between i_size, fallocate, and delalloc after a crash
9ed0b612fb77 ata: fixes kernel crash while tracing ata_eh_link_autopsy event
9d238de93426 fsnotify: fix pinning group in fsnotify_prepare_user_wait()
5b981d854914 fsnotify: pin both inode and vfsmount mark
91b0d40827a2 fsnotify: clean up fsnotify_prepare/finish_user_wait()
99a127e4a587 md/bitmap: revert a patch
b11cb870192e Bluetooth: btqcomsmd: Add support for BD address setup
cd4c4ed7d2a0 md: don't check MD_SB_CHANGE_CLEAN in md_allow_write
96e829f152c7 rtlwifi: fix uninitialized rtlhal->last_suspend_sec time
7d43a23c6689 rtlwifi: rtl8192ee: Fix memory leak when loading firmware
ef7cb0278073 nfsd: deal with revoked delegations appropriately
b6996af90c58 NFS: revalidate "." etc correctly on "open".
76d4c8adb264 NFS: Avoid RCU usage in tracepoints
78e607a16574 nfs: Fix ugly referral attributes
43f950f570f7 NFS: Revert "NFS: Move the flock open mode check into nfs_flock()"
52e54c5dc1d3 NFS: Fix typo in nomigration mount option
930ac0de39d5 isofs: fix timestamps beyond 2027
70fb63a15260 fanotify: fix fsnotify_prepare_user_wait() failure
568131ebc640 bcache: check ca->alloc_thread initialized before wake up it
4739cc25fe6a libceph: don't WARN() if user tries to add invalid key
f5e35be74237 eCryptfs: use after free in ecryptfs_release_messaging()
8fa715eede18 fscrypt: lock mutex before checking for bounce page pool
e880aa103552 nilfs2: fix race condition that causes file system corruption
0eb9f2d0c80d autofs: fix careless error in recent commit
7724ca25f299 autofs: don't fail mount for transient error
020cd1b07344 rt2x00usb: mark device removed when get ENOENT usb error
728ec449a62c MIPS: math-emu: Fix final emulation phase for certain instructions
e67e9e160afb MIPS: BCM47XX: Fix LED inversion for WRT54GSv1
b7fc80471672 MIPS: Fix an n32 core file generation regset support regression
695a30121f31 MIPS: dts: remove bogus bcm96358nb4ser.dtb from dtb-y entry
649b942f5f21 dm: discard support requires all targets in a table support discards
9a77250fe32f dm: fix race between dm_get_from_kobject() and __dm_destroy()
0f222c2c6239 MIPS: pci: Remove KERN_WARN instance inside the mt7620 driver
badd13d39a0d dm: allocate struct mapped_device with kvzalloc
1ea71c17d132 ovl: Put upperdentry if ovl_check_origin() fails
20f908eac772 dm bufio: fix integer overflow when limiting maximum cache size
21e0f5780760 dm mpath: remove annoying message of 'blk_get_request() returned -11'
84370754991c dm crypt: allow unaligned bv_offset
c27aa7e405c2 dm cache: fix race condition in the writeback mode overwrite_bio optimisation
463a9e155dab dm integrity: allow unaligned bv_offset
fa7ebbb65fac ALSA: hda: Add Raven PCI ID
571d0222e808 PCI: Apply Cavium ThunderX ACS quirk to more Root Ports
86602f1c5aac PCI: Set Cavium ACS capability quirk flags to assert RR/CR/SV/UF
fc037283c8a7 PCI/ASPM: Use correct capability pointer to program LTR_L1.2_THRESHOLD
f56bf6a0bd36 PCI/ASPM: Account for downstream device's Port Common_Mode_Restore_Time
03a249b08df1 PM / OPP: Add missing of_node_put(np)
2c1211c2edc9 nbd: don't start req until after the dead connection logic
01d54a192605 nbd: wait uninterruptible for the dead timeout
7bc2c995f8db net: mvneta: fix handling of the Tx descriptor counter
504d2a22b3af MIPS: ralink: Fix typo in mt7628 pinmux function
2f51d995b2b7 MIPS: ralink: Fix MT7628 pinmux
55cc724a945f ARM: 8721/1: mm: dump: check hardware RO bit for LPAE
884c853ff37b ARM: 8722/1: mm: make STRICT_KERNEL_RWX effective for LPAE
c6a032594344 arm64: Implement arch-specific pte_access_permitted()
8420a2afdea5 x86/entry/64: Fix entry_SYSCALL_64_after_hwframe() IRQ tracing
95f53ae99256 lib/mpi: call cond_resched() from mpi_powm() loop
a5d620687584 sched: Make resched_cpu() unconditional
188ec06978ac serdev: fix registration of second slave
9a6630779ac1 cpufreq: schedutil: Reset cached_raw_freq when not in sync with next_freq
12da4fd9af22 ACPI / EC: Fix regression related to triggering source of EC event handling
1925155cbaf8 s390/disassembler: correct disassembly lines alignment
3bbfc892e348 s390/disassembler: increase show_code buffer size
f2dd6d7f4453 s390/disassembler: add missing end marker for e7 table
e4d2498802cf s390/guarded storage: fix possible memory corruption
c1de5b04dff3 s390/runtime instrumention: fix possible memory corruption
1156f0d1e7b9 s390/noexec: execute kexec datamover without DAT
893ce3be12b7 s390: fix transactional execution control register handling
e883dcdf2291 lguest: disable it vs. removing it.
40bda3ef7bfd x86/entry/64: Don't use IST entry for #BP stack
7414e2e34e6f kvm/x86: fix icebp instruction handling
32ec5903cbbe perf/hwbp: Simplify the perf-hwbp code, fix documentation
cc46dc546e06 media: usbtv: prevent double free in error case
ffe911e1acac ALSA: seq: Make ioctls race-free
(From OE-Core rev: cd10e3be03a5c7c8c0e376c3e35fcba6d064a6db)
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>
Paul Gortmaker released another 4.12-stable that comprises the following
changes:
23dcfbfbca0a Linux 4.12.22
d4879ce5efb7 arm64: Kill PSCI_GET_VERSION as a variant-2 workaround
77915e1a7544 arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support
b06fbedb6e14 arm/arm64: smccc: Implement SMCCC v1.1 inline primitive
1f400b388a20 arm/arm64: smccc: Make function identifiers an unsigned quantity
f5d3afa3aecc firmware/psci: Expose SMCCC version through psci_ops
4c69d3a66e60 firmware/psci: Expose PSCI conduit
cfec930a45f8 arm64: KVM: Add SMCCC_ARCH_WORKAROUND_1 fast handling
9e9697733818 arm64: KVM: Report SMCCC_ARCH_WORKAROUND_1 BP hardening support
2a8574eb6e3f arm/arm64: KVM: Turn kvm_psci_version into a static inline
2c79f828dfed arm64: KVM: Make PSCI_VERSION a fast path
042626a87234 arm/arm64: KVM: Advertise SMCCC v1.1
48a9e563e528 arm/arm64: KVM: Implement PSCI 1.0 support
28283de68052 arm/arm64: KVM: Add smccc accessors to PSCI code
33d47367626b arm/arm64: KVM: Add PSCI_VERSION helper
82ca1dcebf95 arm/arm64: KVM: Consolidate the PSCI include files
efb7c6b5b7f9 arm64: KVM: Increment PC after handling an SMC trap
b720b7837ed8 arm64: Branch predictor hardening for Cavium ThunderX2
6f2750c7a1c9 arm64: Implement branch predictor hardening for Falkor
b56fa11959a7 arm64: Implement branch predictor hardening for affected Cortex-A CPUs
5eb80f970c49 arm64: cputype: Add missing MIDR values for Cortex-A72 and Cortex-A75
cf45e77d8106 arm64: entry: Apply BP hardening for suspicious interrupts from EL0
e9c2f25bf62d arm64: entry: Apply BP hardening for high-priority synchronous exceptions
b4f51ebd0fc3 arm64: KVM: Use per-CPU vector when BP hardening is enabled
e8f7c5ba8c70 arm64: Move BP hardening to check_and_switch_context
e2c124fa14e1 arm64: Add skeleton to harden the branch predictor against aliasing attacks
ddd305f0fdf8 arm64: Move post_ttbr_update_workaround to C code
204d987e7143 drivers/firmware: Expose psci_get_version through psci_ops structure
8880e6380d91 arm64: cpufeature: Pass capability structure to ->enable callback
48017c15187b arm64: Run enable method for errata work arounds on late CPUs
cf64258fb122 arm64: cpufeature: __this_cpu_has_cap() shouldn't stop early
7d550f8cb119 arm64: futex: Mask __user pointers prior to dereference
b9d01590df34 arm64: uaccess: Mask __user pointers for __arch_{clear, copy_*}_user
1b74ca827ed3 arm64: uaccess: Don't bother eliding access_ok checks in __{get, put}_user
41b08b7c365b arm64: uaccess: Prevent speculative use of the current addr_limit
1736debe11ef arm64: entry: Ensure branch through syscall table is bounded under speculation
84e4780beea5 arm64: Use pointer masking to limit uaccess speculation
d77d4c9aa433 arm64: Make USER_DS an inclusive limit
b96ab81a6468 arm64: Implement array_index_mask_nospec()
21eb21937d8e arm64: barrier: Add CSDB macros to control data-value prediction
da1217a79997 arm64: idmap: Use "awx" flags for .idmap.text .pushsection directives
c20b48f5b7a3 arm64: entry: Reword comment about post_ttbr_update_workaround
15d4d37f7709 arm64: Force KPTI to be disabled on Cavium ThunderX
3489abd67e33 arm64: kpti: Add ->enable callback to remap swapper using nG mappings
b154d9be8c6f arm64: mm: Permit transitioning from Global to Non-Global without BBM
1610bb019302 arm64: kpti: Make use of nG dependent on arm64_kernel_unmapped_at_el0()
250a3a64585f arm64: Turn on KPTI only on CPUs that need it
32da2aa26b97 arm64: cputype: Add MIDR values for Cavium ThunderX2 CPUs
93d290bbe8f1 arm64: kpti: Fix the interaction between ASID switching and software PAN
923618230c12 arm64: mm: Introduce TTBR_ASID_MASK for getting at the ASID in the TTBR
51218390beb6 arm64: capabilities: Handle duplicate entries for a capability
630cf7161fca arm64: Take into account ID_AA64PFR0_EL1.CSV3
4b7ebe5c3644 arm64: Kconfig: Reword UNMAP_KERNEL_AT_EL0 kconfig entry
e09f32469091 arm64: Kconfig: Add CONFIG_UNMAP_KERNEL_AT_EL0
8202169d678a arm64: use RET instruction for exiting the trampoline
414d9eabda3d arm64: kaslr: Put kernel vectors address in separate data page
fce92f180168 arm64: entry: Add fake CPU feature for unmapping the kernel at EL0
83584a583bff arm64: tls: Avoid unconditional zeroing of tpidrro_el0 for native tasks
4732b98b6400 arm64: cpu_errata: Add Kryo to Falkor 1003 errata
85dacaa58475 arm64: erratum: Work around Falkor erratum #E1003 in trampoline code
bb0fa2f9cece arm64: entry: Hook up entry trampoline to exception vectors
df7f7308d5f0 arm64: entry: Explicitly pass exception level to kernel_ventry macro
14bcc912ca7e arm64: mm: Map entry trampoline into trampoline and kernel page tables
c30f47afaa64 arm64: entry: Add exception trampoline page for exceptions from EL0
21b891bf770f arm64: mm: Invalidate both kernel and user ASIDs when performing TLBI
09e8df92ba8e arm64: mm: Add arm64_kernel_unmapped_at_el0 helper
6832da386e60 arm64: mm: Allocate ASIDs in pairs
bfd2ff25b585 arm64: mm: Fix and re-enable ARM64_SW_TTBR0_PAN
1e4477930e5e arm64: mm: Rename post_ttbr0_update_workaround
1e1890551573 arm64: mm: Remove pre_ttbr0_update_workaround for Falkor erratum #E1003
0223b2589432 arm64: mm: Move ASID from TTBR0 to TTBR1
9fe82f4ebdc3 arm64: mm: Temporarily disable ARM64_SW_TTBR0_PAN
199f832ebf00 arm64: mm: Use non-global mappings for kernel space
e9b0e14af7e3 arm64: move TASK_* definitions to <asm/processor.h>
cab5207f57fd brd: remove unused brd_mutex
7522521435a4 arm/syscalls: Optimize address limit check
797f169015c5 Revert "arm/syscalls: Check address limit on user-mode return"
3056c8f5be3a syscalls: Use CHECK_DATA_CORRUPTION for addr_limit_user_check
74116ef5625a arm64: add VMAP_STACK overflow detection
0d82fd80a2d1 arm64: add on_accessible_stack()
c38502bc1472 arm64: add basic VMAP_STACK support
c3a53247c1ff arm64: use an irq stack pointer
73dcb6d84040 arm64: assembler: allow adr_this_cpu to use the stack pointer
344a8e142697 arm64: factor out entry stack manipulation
59c4a6fb5606 efi/arm64: add EFI_KIMG_ALIGN
1a5300c6063f arm64: move SEGMENT_ALIGN to <asm/memory.h>
3969d302c52f arm64: clean up irq stack definitions
f030f0edba48 arm64: clean up THREAD_* definitions
1f3c78245a4a arm64: factor out PAGE_* and CONT_* definitions
8a5bc40e0c93 arm64: kernel: remove {THREAD,IRQ_STACK}_START_SP
deba543af0b8 fork: allow arch-override of VMAP stack alignment
774f64ce7b0f arm64: remove __die()'s stack dump
7342855775d5 arm64: unwind: remove sp from struct stackframe
553dbcbcff1d arm64: unwind: reference pt_regs via embedded stack frame
926b0fe43412 arm64: unwind: disregard frame.sp when validating frame pointer
da32ad8b5c11 arm64: unwind: avoid percpu indirection for irq stack
eac4e8ecdd77 arm64: move non-entry code out of .entry.text
b341e176374e arm64: consistently use bl for C exception entry
3cdad1f0b9d0 arm64: Add ASM_BUG()
01ace65c9150 arm64/vdso: Support mremap() for vDSO
8050b6ba63cb arm64: Handle trapped DC CVAP
0ee09d69dc93 arm64: Expose DC CVAP to userspace
704046e3e554 arm64: Convert __inval_cache_range() to area-based
b40935f19c73 arm64: mm: Fix set_memory_valid() declaration
29530b5b549e arm64: Abstract syscallno manipulation
f9f1c9d7d767 arm64: syscallno is secretly an int, make it official
ab69949ffe23 x86/tracing: Build tracepoints only when they are used
03793940e25c x86/tracing: Disentangle pagefault and resched IPI tracing key
2822852ed8a5 x86/idt: Clean up the i386 low level entry macros
d5654eb18f73 x86/idt: Remove the tracing IDT completely
0d38071a05e7 x86/smp: Use static key for reschedule interrupt tracing
4ef6e0f37891 x86/smp: Remove pointless duplicated interrupt code
40b216cec86d x86/mce: Remove duplicated tracing interrupt code
03f41cf538fd x86/irqwork: Get rid of duplicated tracing interrupt code
418b9a493901 x86/apic: Remove the duplicated tracing versions of interrupts
5be95f8dfffe x86/irq: Get rid of duplicated trace_x86_platform_ipi() code
bd936c5d828a x86/apic: Remove the duplicated tracing version of local_timer_interrupt()
f4971407abbb x86/traps: Simplify pagefault tracing logic
2f436623b2c3 x86/tracing: Introduce a static key for exception tracing
4395735bf0a9 arm64/syscalls: Check address limit on user-mode return
3e1d12839e05 arm/syscalls: Check address limit on user-mode return
649cd48799ef x86/syscalls: Check address limit on user-mode return
8fe35f321cd3 audit: fix memleak in auditd_send_unicast_skb.
4b1e889a4dd0 arm64: ptrace: Flush user-RW TLS reg to thread_struct before reading
75a382c72d50 arm64: Add dump_backtrace() in show_regs
(From OE-Core rev: 9edeb4733e4a49d11febadc0e282c68c05e39575)
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>
We need to skip this testcase when gettext is not available. Otherwise,
we will have the following error at configure.
error: possibly undefined macro: AM_NLS
(From OE-Core rev: ccc10e95c9fcdabcf4ae5e6f9cc34c1d632b4654)
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>
One of the uses of externalsrc is to enable iterative editing and
rebuilding of source files during development. In such situations,
disabling Automake dependency tracking can lead to sources not being
rebuilt even though files they depend on have been modified.
(From OE-Core rev: af2f802d5b59203a887982af83252565b8078085)
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>
autotools.bbclass adds --disable-dependency-tracking to the configure
command line by default, so there's no need for individual recipes to
do so.
Also make some minor recipe formatting cleanups.
(From OE-Core rev: 2f0f9b7f0b209798a74ee7fc8eafde5a109364b9)
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>
autotools.bbclass adds --disable-dependency-tracking to the configure
command line by default, so there's no need for individual recipes to
do so.
(From OE-Core rev: 14910c5a215f434b2df47ca38902192f04f6b38a)
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>
Replace the previous (incomplete) workaround with better solution
backported from upstream.
(From OE-Core rev: b038a6e418d723a0a413219e9882cdd7f3804625)
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>
* update to version 3.3
* Remove 0001-zeroconf-Include-fcntl.h.patch since it's
included in v3.3
* Add update-distcc-symlinks into FILES.
(From OE-Core rev: dea59aab5d785d4f892cc26a8ea06eb4a6c554b3)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
* Correct upstream SRC_URI and SRCREV to v3.3
* Correct default to fix starting distccd service failed
It caused by upstream commit:
920e8b922a
...
commit 920e8b922addea8c54e68cc29c1416753f532f78
Author: Shawn Landden <slandden@gmail.com>
Date: Mon Feb 26 11:29:14 2018 -0800
daemon: warn when masquerade is not setup
...
Add option --make-me-a-botnet to disable the warning.
* Use localhost to replace 192.168.7.0/24 which is inappropriate for runqemu slirp.
[YOCTO #12741]
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>
Had to update the figure to use "Upstream Source" labels and
fix a wrong "devtool edit-recipe" command. That new figure went into
both figures folders for the sdk-manual and mega-manual areas.
Provideds some cleaner wording.
(From yocto-docs rev: 6225d04dd0551a840d929b752225064a222962bc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I changed the way we handle the list of exported variables resulting
from running the *.sh installation script. Rather than list them
all out (they were getting to be quite numerous), I am referencing a
few as examples and recommending the user look at the actual *.sh file
if they would like to examine the entire list.
(From yocto-docs rev: ce2c1491f4f0991cad5f8d4a220a102adb024624)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some Minor edits to this section. Also, a scrub of the list of variables
exported when running the install script. The list is out of date and
is missing many variables. I noted these in comments for now and will
add them in later.
(From yocto-docs rev: 739a2ca42ee798625492ddb51a32ad09f80aa960)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The text had not been updated to include the many architectures
now supported in the Index of Releases toolchain directories.
I added the list of architectures.
Renamed the section to a more appropriate section heading.
Verified the example and put in the latest output.
(From yocto-docs rev: a567f5101d230ef1fa4428e9c6905e9e23bd5855)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12628]
The syntax for MACHINE_EXTRA_RRECOMMENDS was off in the machine.conf
example. I have removed that leading space, which should not have
been there. This matches the actual file in poky now.
(From yocto-docs rev: 11e38c4c2b23f9a8ae9a0655a07af1a5682c24b8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This chapter only had the stuff about submitting a defect against
YP and making a change to YP. I moved that information into the
common tasks chapter as it is "how-to" information. Removal of this
chapter alse required that the mega-manual.xml file be updated to
not include the chapter.
(From yocto-docs rev: 4421b1585c21a6f7862525ba972f7e765626066e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Renamed to "Speeding Up a Build" and moved out of the setting up
chapter to the common tasks chapter. Fixed a couple links in the
ref-manual.
(From yocto-docs rev: c53fddd353230c8ef1abc21c7a2d2b1f492f034a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section is now organized under the parent "Building" section in
the common tasks chapter.
(From yocto-docs rev: bc1bc9965cda547e45ff09a1c9e77be5e8c0a3d9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section is now organized inside the parent "Building" section
in the common tasks chapter.
(From yocto-docs rev: 71be83e1ebfd2ad8606bddf852a4c06ab7d7c53d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section is now part of the building parent section. I have moved
it there in the common tasks chapter.
(From yocto-docs rev: a9fccb1bca8e18169d93416c7a6e17723bcf01c7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section now belongs under the parent "building" section in the
common tasks chapter.
(From yocto-docs rev: dad6029b9b45fd6ec564894ba101991fd8a2162e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a "building" topic. I moved it beneath the new parent
"building" section.
(From yocto-docs rev: 0426f0dd6871c8063476945b93743ffc5cfc0856)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I had a section on building an image up in chapter that talks about
getting set up to use YP. I moved the build section to a new parent
section that will hold topics on building various things. I renamed
the section to "Building a Simple Image". I had to fix several links
in the sdk-manual, overview-manual, and dev-manual.
(From yocto-docs rev: c119fc7c6148e7b08acad374fe2981842e9462a3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed to "Locating Yocto Project Source Files". I am moving the
sections on cloning repositories out from under this section.
(From yocto-docs rev: 3889aadab9b603097b6cc5b7afb9d0066021106c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "Setting Up the Development Host to Use the Yocto Project" title
changed to "Preparing the Build Host". Fixed links in a lot of
other manual.
(From yocto-docs rev: 00e487e01a0e2a16f5b8d786b3124cbe5115b38b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section was in the chapter on the open source development
environment. It is better suited to be in a newly named chapter
"Setting Up to Use the Yocto Project". I have moved it.
(From yocto-docs rev: 028f8f7a1b93a023a99ffadb01b0da699b4081c2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The chapter was not the best given the new nature of the manual. I added
better introductory wording.
(From yocto-docs rev: cb4695575c0105e0cd5e50c2132e98553babe147)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section on licensing in the overview-manual was really "how-to"
information. I moved this to a new section in the dev-manual for
"working with licenses". I fixed some references in the ref-manual and
in the bsp-guide as well.
(From yocto-docs rev: f150a1ea2da900aae88fc5fa60f4115cc213ba2d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12517]
Added some qualifying information for how to generate a list of tap
devices to enable runtime tests on QEMU.
(From yocto-docs rev: 4359a355944f6cf4ec1e14ecbedc690ef37ff743)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Wayland and Weston topic moved from the overview-manual to
the dev-manual. The topic was really a "how-to" topic and not
a concepts topic.
(From yocto-docs rev: b0f20a67c99590c48d595f4e572339bb5b6b83b3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Wayland and Weston topic moved from the overview-manual to the
dev-manual. The lone link to this topic was in the ref-images
chapter. I updated the link.
(From yocto-docs rev: 6c335f8d3618e3285f91fe20aea33a1c1f1c0ddf)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two sections at the end of the shared state concepts section
in the overview-manual are really task sections. I took those
and created a couple new sections in the dev-manual to house
those topics.
(From yocto-docs rev: 86382e7873d796f44554c8e04d3bd8091d350f51)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed "OpenEmbedded" in the string "OpenEmbedded build system."
(From yocto-docs rev: d44b370b0fb993c32c9dfe3515188fa9e7ff2437)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added the line with "stamp-extra-info" flag to the example from
the deploy.bbclass. This line was missing or it had been added
since the original writing of this section.
(From yocto-docs rev: 50f5482c2132235962d4ab48d0d7263628df1728)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I made some small edits to this section.
(From yocto-docs rev: a2cc355c1bdfbf10f86f8d4994cc81dfb12d8f87)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that 2.5 has released, I replaced the ENTITY variable used for
the moving month and year with the actual release month and year
(i.e. May 2018).
(From yocto-docs rev: 2d6e8ddce4fce0c405d2aea69cea2a5b262410f7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added more realistic information on how this variable is set.
(From yocto-docs rev: 47e6cb7d00eeb8001c4a53c13600feb5ef4d4660)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added the descriptions for the SDK_HOST_MANIFEST and
SDK_TARGET_MANIFEST variables.
(From yocto-docs rev: 212d6c5b3290016431604e67dfb27a1408ac0463)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added the manifest files to the figure and the associated variables.
Also added the test files.
(From yocto-docs rev: cfba55462d1c37ef2ff6454890da64a40f9c3607)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I needed to add some italic formatting for variable type strings.
(From yocto-docs rev: afc6d2d10081f9e9d940075c03b3e704b37cf13b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated with a few minor wording changes. Tried to get a little
more active from some of the passive wording.
(From yocto-docs rev: 7dcd8117e3ea40d4b3c1ee5c3b1ea3c2bd29893a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The note about the TAR backend not working was changed to soften
the warning. It has "limited functionality" rather than
"broken".
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
General improvements to both sections.
(From yocto-docs rev: 977fdeaf1258613c3dfc41d78c8125fdba9b2a24)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The figure for image generation of the BitBake process
needed some enhancing.
(From yocto-docs rev: fc978663a7962d1515d4f47abe8ae522b9e24ce1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The image needed a little bit of clean up.
(From yocto-docs rev: d4fb680be194b7f9b192e06f0081a09504649633)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rewrite included the "do_populate_sysroot" task and a bunch of
STAGING_DIR_* variables.
(From yocto-docs rev: 53484d4982a41f83ac9355aada46526b5d05f64a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
More changes to the "analysis-for-package-splitting.png" figure.
I needed to work in "do_populate_sysroot" task and several
STAGING_DIR_* variables.
(From yocto-docs rev: fcb88024a7dfff1b6cca49770f67bf4c1f548362)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The stage of the BitBake workflow is really "Configuration, Compilation,
and Staging". I updated the title to be such.
(From yocto-docs rev: 4aab6d001119aa8c52e09ef0f6f66694719add29)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This variable plays a much smaller role since recipe-specific
sysroots were implemented. I have rewritten the description to say
that STAGING_DIR helps construct the recipe-sysroots directory.
(From yocto-docs rev: c1ad18abe67111738efc18725c4f7706b55738cb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The figure had the wrong hierarchy for the "image", "recipe-sysroot",
and "recipe-sysroot-native" folders. Moved out a level.
(From yocto-docs rev: e1f45b666b1cd589cee9c9ae6dba01467b991ef9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a reference to the STAGING_DIR_HOST variable, which is part of the
default directory used as the shared, global-state directory holding
data generated during the packaging process.
(From yocto-docs rev: d68dcec327e96f1da0879681dcde43d4f1769af0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section needed some verbiage tweaks. Nothing major. Just a
few modifications to help clarify some areas.
(From yocto-docs rev: 9deabf424387fd1441882ce8cf28ea69421ea237)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "configuration-compile-autoreconfig.png" figure was badly
out of date. It was not showing the two sysroot directories
and did not use the $BPN variable. I have updated the figure
and placed in both the overview-manual/figures area and the
mega-manual/figures area.
(From yocto-docs rev: dba3b2b65f18870229dcb3dbcb8fadc099165894)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Re-oredered the four options to be alphabetical.
(From yocto-docs rev: 7976ee05c935fd6c24abea99f71436003656cc73)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added some key references to the patching areas of discussion across
the manual set.
(From yocto-docs rev: f198529b3072a4a03fd368ea307e8e004c46a344)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file:// protocol is primarily used for digging out patch files that
are local with the metadata (layer). I put a link in the paragraph that
is talking about them to the "Patching" section in the overview-manual.
(From yocto-docs rev: 18a7b4b81d192fb2cfd96763de4cfabd61c3a0ea)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mentioned the role of SRC_URI earlier in the description as it is key.
Replaced "some_recipe" with "some_package" as the emphisis is not on
the recipe at that point in the example.
(From yocto-docs rev: f7f86941fdf866a693386335374f835078db3ddf)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added detail for the step one. Clearer.
(From yocto-docs rev: ef95d547180ce53fade7a3764f8d362422472c7a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I found this section a bit loosely worded and could result in
confusion to a user ramping up with YP. I have done an extensive
rewrite focusing on exact wordings.
(From yocto-docs rev: af64c07d259e06fb13572fc224636ed240037b57)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added more content to this task description to help describe how
patching is performed and how the task uses the "apply" parameter
that can be provided with the SRC_URI variable.
(From yocto-docs rev: 6717a3326b0005f6a57be4cc026693b7cd9e8d08)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section presents a deep dive into the patching phase of the
build process. I removed the vague "apply=yes" reference and added
more references for the reader to read and learn about patching.
The bit about the SRC_URI parameters (i.e. "apply") is going to be
covered in the do_patch documentation since that is the task that
handles that stuff.
(From yocto-docs rev: 5a2c98543ccc9ed24d16bb9442b674532940c0da)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a new feature (task) to the list of available features you
can use with the variable. The "task" feature saves output file
signatures for sstate tasks.
(From yocto-docs rev: 0669580ce40c46f0b5f8204a6b00e11f725a383c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The paragraph at the end of the section about the file
hierarchies is better cast as a note.
(From yocto-docs rev: 4e8a33be61ea1ea5db12fc5fc97832393213fb5d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The figure had a bad "PN" variable being used in the "S" directory.
This needed to be changed to "BPN".
(From yocto-docs rev: beafc55eb3646ecb96929e44538de952207f0b76)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The figure was incorrect. Replaced the PN variable with BPN for
the "S" directory.
(From yocto-docs rev: 440edcdae932a83b6c32b51e85d97178a77b4bed)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I scrubbed through this section and provided much better
explanations of the inside workings of BitBake fetching source
with building recipes. During that, I fixed an error where
the PN variable was being used rather than the BPN variable.
(From yocto-docs rev: 5765987259ac46f140e099d8e1da2ab33f006d36)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided a more complete and clear description.
(From yocto-docs rev: 65505debfb82536e7e2d4ff7e5bc14c6af1a7cf6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added a link to the BUILD_ARCH variable. The variable is part
of the glossary but for some reason there was no link to it.
I also added a note for a link to the SDK_ARCH variable, which
was described inline. By convention, I do not like to link to
variables inline as the underlining used to indicate a link messes
with with underscore characters that are usually a part of a
varible's name.
(From yocto-docs rev: a2f487141375ee7ce226eece85424e709ddc67a3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed some wordings to accomodate reviewer feedback.
(From yocto-docs rev: 6de69db7ae5bbbe5e6e7f0b5f6b9b1326f3f5f6a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section had a new bullet added for talking about one instance
of Toaster web server to track and capture multiple command-line
builds.
Also, provided better wording surrounding shutting down Toaster.
(From yocto-docs rev: 9dbe242bf90860afabc9ab218992d2b81aaf8896)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As suggested in a recent mail thread by Martin Jansa, there are cases in
which QEMU under KVM will crash because of CPU feature incompatibilities
between compiled binaries and the host CPU under which qemu is run.
Although this is hard to fully escape, we should document the issue to
help people work around it. I have taked Martin's suggested patch
and did some rewording for the new section.
(From yocto-docs rev: 6c625fcf631a82529bc58ec8fb0c18dbe13188d2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The step for getting toaster to create the database schema,
default data, and gather the statically-served files changed.
I updated with the proper steps.
(From yocto-docs rev: 2c3f7ac7f9419c32147be860897984d391a0e930)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The links to the DATABASES, SECRET_KEY, and STATIC_ROOT
were bad. They were pointing to old dated software. I updated the
links.
Also, added a couple new sections. One is how to start a
Toaster environment without its web server. The other is how
to start a Toaster environment without a build server.
(From yocto-docs rev: afe2708014600c0a86c649f6533dd1f6317fe742)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This month and date is always jumping around. I decided to add a
variable so that I only need to to update that when a release date
changes.
signed-off by: Scott Rifenark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the layer-input.png and source-input.png figures.
Had to trim them so they were tighter in the figure. Also,
updated some context in the source-input.png figures.
(From yocto-docs rev: cad644af48b0a1cb2baeb8d2649b9aa7ccbdeda5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "Metadata, Machine Configuratrion, and Policy Configuration"
section discusses the three types of layers fed into the OpenEmbedded
build system workflow figure. I updated the figures and text
supporting this discussion. The figure had to be moved to the
mega-manual/figures folder also.
(From yocto-docs rev: 39dd671333f7b3df616920aab08e01c926deca1c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No need to escape out quote characters in a .sed file. Also, using
the @ character is cleaner.
(From yocto-docs rev: f87ca83a6faf5b772d719cd03d6fa0a9b21174bb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section was pretty out of date. I have updated many areas
of the text.
(From yocto-docs rev: 640cdc7fb9d4f93c86b907d631e4f90b261d5ea1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bblayers.conf example files were out of date. Updated them.
(From yocto-docs rev: fd5d75604a3ad66e56c421634f349dce3e38f609)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This image was out of date. I updated it.
(From yocto-docs rev: feb287a72201363c43607508d2e8f1da3993f93f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I removed the less than pretty build process figure and swapped
in the more aesthetically pleasing one. Also, am refering to
the figure as the "general workflow figure".
(From yocto-docs rev: 093f1337131bc658d6afd1b56fb3661a76751aad)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
That figure is no longer used in the manual set. The newer,
more aesthetically pleasing one is.
(From yocto-docs rev: 853567672533777aa5d9baa3969d08673a8dd71f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This version of the figure was not as cool looking as the other
version, which is preferred. I have removed it.
(From yocto-docs rev: ed0346b00ee6b47d90efedd1dd69e4a92a42afe9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section was really sparse for being in the concepts chapter of
this manual. I added some more text to it.
(From yocto-docs rev: 9369ba5292126957f89f8b96e06bc2492825c54b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I changed the "Metadata (Recipes)" title to simply "Recipes".
It is less confusing since the term "Metadata" is in general recipes,
classes, and configurations. Provdided a few small edits elsewhere
in the section.
(From yocto-docs rev: 566b54f58ca7859bf860f25e433bff4b429c2507)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The term "OpenEmbedded build system" was being introduced with just a
link. Apparently, that is not enough for marketing. I added a
clause with some more information about it.
(From yocto-docs rev: e7a3a581d44e21976c3f6fe19330e19af1ae0773)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section titled "Development Concepts" is really mis-titled.
It is more about the OpenEmbedded Build System. So, I renamed the
section "OpenEmbedded Build System Concepts." There were a couple
links all within the overview-manual. No other place in the YP
doc set linked to that heading.
(From yocto-docs rev: 889eaf3373a80ca0978ee79ecd2ff26aefb9025b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Softened the opening paragraph so it was not introducing any special
terms right off the bat. Renamed the section on the hardware layer
to configuring the build for specific hardware. Put in a link to
"build host" and used that term throughout.
(From yocto-docs rev: a324cb2f9c499dc8d68d1d87265930c308cbebb7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the "Challenges" section, the bullet item about YP's steep
learning curve referenced the "what I wish I'd Known" and
"Transitioning to a Custom Environment for Systems Development"
docs. I added links to these.
(From yocto-docs rev: 627042de38495f79d512c6b98c46193b1de0db47)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "License Manifest" bullet needed a link to the License
stuff in the dev-manual.
(From yocto-docs rev: 6350d68a6c1c5432fd833930437b4e5fe502033b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bullet "Releases According to a Strict Schedule" bullet
mentions the release cycle. I added a link to that section.
(From yocto-docs rev: c206c31d20aabe657863fc05274e2d533cdf7252)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a link into the concepts area for sstate.
(From yocto-docs rev: ac395452c3a2f34fb9775c77051b526e39fd9b4c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "Widely Adopted Across the Industry" bullet item did not
have good links to the YP home page. Added them in.
(From yocto-docs rev: 8695f3e2bcc2a0d37dd8e6b113639628bffdf4b2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file was stretching beyond the rendered display window such
that part of the Yocto Logo was missing. Also had to place the
updated .PNG file in the mega-manual/figures folder.
(From yocto-docs rev: 5b73c54fcb2c3f60aee2ff7dc19c4aad102aa505)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed wording to be clear about how PACKAGE_ARCH is being set
when based on the Freescale MACHINE_SUBARCH variable.
(From yocto-docs rev: 76c4ad514e44755f1d4dcec61bb0a74c1b77243e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a section on adding a machine layer. Used Altera as an
example. Also, added a section on creating a general layer.
(From yocto-docs rev: fc36f006bd483a5c26d2b79a18431d16ec27dc00)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the section that talks about building an image for multiple
machines, there was a bullet item on managing granular level
packaging. It had an old example that used the "daisy" release
that showed how to share packages and re-use binaries. I replaced
the example with a discussion of Freescale's "fsl-dynamic-packagearch"
class, which does this type of sharing.
(From yocto-docs rev: ddc224d6d1fe172292dfd0a17f743a1e0a4cabe6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The method for accessing the YP Release Notes for YP 2.5 forward
is to go to the "DOWNLOADS" page of the main YP website and then
click on the "RELEASE INFORMATION" button. No longer does a user
need a simple URL. I updated the two spots in manual where this
information existed for accessing Release Notes.
(From yocto-docs rev: 1e171d3add1048fb81c5a05a11c8ddbaf88e0ecd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ENTITY was used in two places. I have updated those areas to
give the user new instructions to reach the Release Notes. As of
YP 2.5, we do not have a simple URL that can be used for the
Release Notes. The user must go to the "DOWNLOADS" page of the
main YP website and click the "RELEASE INFORMATION" button.
(From yocto-docs rev: 1c7cdd328baad9a317f4f4f9554999d80d1eb24c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I updated the first example in the section telling how to build out
a Wic image. I could not get the example to run so I used Stephano's
output.
(From yocto-docs rev: 6b4595215d6c24e3efb89288a7547f79ca3e59b7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided a link to the YP implementation of Bugzilla. Added a final
paragraph noting the Bugzilla website if you want general information
on Bugzilla.
(From yocto-docs rev: 78c99c8f42edfee377431cacc10b9ccd4b25c4cf)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Link was not going to the top of the chapter.
(From yocto-docs rev: 52da20604a54d16645b4bb4e5e9efa748a00d2f5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed redundant link to CFLAGS in the TARGET_CFLAGS variable
description.
Removed redundant link to CPPFLAGS in the TARGET_CPPFLAGS
variable description.
(From yocto-docs rev: aa95485d44f92b831cd111dbc5bf75526d239db4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The wording to two links (one a variable and one a section in a
different manual) was ambiguous. I added phrasing to remove that
issue.
(From yocto-docs rev: 3b70b4287ca8b2583e0ef559125f1531a2bb6a67)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed the link to WORKDIR to begin with. Also, removed the
<filename> formatting that was within the example, which is buried
in a <literallayout> tag set. Doing that screws up the formatting.
(From yocto-docs rev: 0d13dabaa13e5426da35b5d8147f51efa349b5bb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added "class" as a modifier after refering to the "populate_sdk_base"
class.
Removed link to the TMPDIR variable in an in-line example.
(From yocto-docs rev: 7733a4464ba2893a2363f47996f48587a86eaa82)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several redundant links and wordings in this description.
(From yocto-docs rev: bb9dd8ab6ef9cad387cdddada4f2be093551e38a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A migration item had taken the original section for the target of
the link out. I had not changed it.
(From yocto-docs rev: 10cfaee50455bf10450540f1b381d33f9babf985)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two instances where links were going into the kernel-dev manual
but the manual title was not being used in the text. Added it.
(From yocto-docs rev: 1922f8c79d1667db1fc9b5fe57030302469ca09c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link was to a chapter in the existing manual. I do not
include the manual title when that is the case.
(From yocto-docs rev: 1b7c65b4a2dde3f5d069cb5edc75728492639870)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Link was going to TARGET_PREFIX.
(From yocto-docs rev: 424e8ea3168ab2e910919e6f70fc0b16332ca4f7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I replaced the "<" and ">" constructs with the tags
<replaceable> and </replaceable>. This is the preferred formatting
for user-supplied values.
(From yocto-docs rev: 1fc32486483c545671ffb2142b553da75dbe54fe)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the BBMASK variable, a link to Python documentation was
going to a specific 2.6 release. That release was probably the
most recent when the BBMASK variable was initially documented.
Python has many releases now (e.g. 3.6.5). I re-worded the
description to be more generic and sent the user to the general
Python release area. They can pick a release from that URL.
(From yocto-docs rev: 154aedf79625f37997bec18dba933c514072708e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed the first link to the BB_DISKMON_WARNINTERVAL variable.
The variable was linked later in the text. No need to link
the output version of the variable... clunky looking.
(From yocto-docs rev: ec6cfc85ba2f1e2fc763b6b7c918a21cec00e203)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed wording so I could reference the proper name of the
LABELS variable.
(From yocto-docs rev: 05e5f287bde8219d1f8125d71fd48a36a422009a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The actual title of the sdk-manual does not include the word
"Manual". So, the reference to the book should terminate with the
word "manual" in lower case.
(From yocto-docs rev: 41bc85776f0b172fc243b6e5a5ca13b72e8399e5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link was just going to the top of the section. I added an ID tag
to the actual host-user-contaminated test within that insane.bbclass
description. Now, the user is linked right to that test.
(From yocto-docs rev: b1e5b5a1876e211a8c57bfa727fa9031cfe5e0ac)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The focus of the discussion here is on the DEPLOYDIR variable.
Having the link to the variable DEPLOY_DIR adds clutter to it all.
Removed that link.
(From yocto-docs rev: 8561c70fcff88adc82c7c5998d2539d40b314888)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Took out stange parenthetical construct and the links to the B and
S variables. Links were redundant. The construct was weird.
(From yocto-docs rev: 9cd2bf116bd89288a93944359a4809e68fa61f7b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A "naked" reference to the bsp-guide was split across two lines
in the *.xml file. This splitting causes the link to not be
processed correctly by the mega-manual.sed script. I joined the
two lines to fix the link.
(From yocto-docs rev: e31b4d2210b5c246f3e822fbe8950a625e08ca98)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Missing this conventional part of the reference contextual diatribe.
(From yocto-docs rev: 5468ebf21bc9166de35e9b7016eef06ed586e5c3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Trying to get back to a standard of using an actual link for only
the first occurrence of a variable in any given section.
(From yocto-docs rev: 68d80a5dd8481f938892473c4671a9c436e80c8f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the migration section, an older name for the bitbake-user-manual
was being used in the text for a cross-reference. I replaced it
with the current and correct name.
(From yocto-docs rev: 3f466b59a3138984cceae12ac58c84ec3cda4432)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the migration section, an older flavor of the title to the
sdk-manual was being used. This of course was not processed
correctly by the mega-manual.sed script. I fixed the title so
it is now processed correctly.
(From yocto-docs rev: 1f9fa699bb14f96a7c9ccab314a7d72e6a93dda6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The terms.xml chapter had a link to the toaster-manual where the
string to the manual was not matching the string used in the
mega-manual.sed file. Consequently, the link was not being processed
correctly. This type of link should not be a link in the mega-manual
because the target is to the manual in general. Fixed the string
of the toaster-manual to match what is being used in the mega-manual.
(From yocto-docs rev: 44042847db10b15f8694199162ad96dea44d21bc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The areas were found scrubbing the mega-manual. These were minor
fixes.
(From yocto-docs rev: aaa460be3f4a446c091d66a17ca6c010f335ccc4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I was using the "/cgit/cgit.cgi/" string as part of the link to
the source repos, which uses the ENTITY "&YOCTO_GIT_URL;". That
ENTITY is all that is necessary to get the link to work. I removed
the other stuff.
(From yocto-docs rev: f9a63c2cc824ef05230f614e933d178469890e97)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Fixed the name of the "do_compile" task so that it was not
referenced as "do_compile()".
2. Fixed a link to the Source Repositories so that the link
used the ENTITY for the YP Git area and not a full-blown
hard-coded path.
(From yocto-docs rev: 4b8d0e61f3f3017954d36ed196a08fb0a04909dc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "end" part of "linkend" was missing.
(From yocto-docs rev: 9411033faa6f71a52080c2f35a2af2f725399c7b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found a link to the old kernel-manual in the reference manual.
This manual is not used. I changed the link to use the proper
ENTITY value and also removed the old one from poky.ent.
(From yocto-docs rev: f1377989ab4a85827f5aaab9b19c4fb3c10567ca)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found a link going to the "kernel-manual" manual, which is no
longer used. Changed to "kernel-dev". This was a fix so that
I was using the proper ENTITY in the poky.ent file.
(From yocto-docs rev: 787ee10c7764ffd6adfbd8ddb304ac686bf3e95f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Link was going to the right place but had an old chapter title
name.
(From yocto-docs rev: 57a5d25180429a97d47678c0782198623bc06eef)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found several instances of this being referred to as the
"OpenEmbedded Metadata Index". Changed to "OpenEmbedded Layer
Index".
(From yocto-docs rev: 60fb601be324a350cd4d51b199915e6b72e2f9b0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Had "Toaster Manual" in the cross-reference so it was not resolving
correctly when processed by mega-manual.sed.
(From yocto-docs rev: c99ce4a706df55e97388b45620ed2a503cb8312d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nobody provided a figure for me for this section, which would
have been nice. So, I have generalized the text to work
without that detail.
(From yocto-docs rev: 7570167196c26c9eb08e97d1350a715bff37c75f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I was using the ENTITY with "cgit/cgi"/ appended to the end.
The appended part is not necessary. Removed it.
(From yocto-docs rev: 64593694d62c99cbe2897804c04fea24110ee861)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using the "@" character to de-specialize the "/" character.
This change makes the file more readable.
(From yocto-docs rev: d15c9ce6cc365768677cdd40a8859bb96aad7dc4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found some mangled links in various spots that were causing the
mega-manual.sed file issues.
(From yocto-docs rev: 405a92f934bf7e209f3b8a543e63a1b4c693af29)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
this file was accidentally dropped during all the manual
reording operations. I have restored it.
(From yocto-docs rev: 5c1244f18ede1af0a540687cfb5d9071fbb3c1c0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Minor wordings based on Stephano's feedback.
(From yocto-docs rev: 4aa7aa0e9c7d8e554771743ecabdf0e64f3884e0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This involved changing the root manual folder from
"getting-started" to "overview-manual".
Also, every link using the ENTITY "YOCTO_DOCS_GS_URL" was
changed to "YOCTO_DOCS_OM_URL". Most manuals had several
occurrences of these links.
The makefile needed updating to process the new manual
and not process the old "getting-started" manual.
(From yocto-docs rev: 1abf64e56e9096258038ae37b787a81bf786bb3b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the script to process the overview-manual strings
found in the mega-manual. These changed due to the folder
chaning from "getting-started" to "overview-manual".
Additionally, I discovered a single occurrence of a linked
reference to the mega-manual that was in the mega-manual.
This is not ideal. That link needs to be a link in the
ref-manual where it originates. However, the link in the
mega-manual should not link to itself. That link needed
processing just like all top-level book links in the
mega-manual. The link should be removed. I added a single
substitution operation at the end of the file to handle this
lone case within the mega-manual.
(From yocto-docs rev: 57ebdb1cb10a4df0d69316d1f116d7804199ae90)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The variabe for the "getting-started" manual goes away and is
replaced by this one for the new "overview-manual."
(From yocto-docs rev: 45fc9beac6db4c40c3660fc9e54cc11e9c1f96c4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found a link to a deprecated "overview" manual. Replaced it with
the proper ENTITY to the getting-started manual.
Removed the ENTITY to the old "overview" manual.
(From yocto-docs rev: 891e4902052743833c422e6a557c93de42ed892d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Throughout the documentation, the manual "Getting Started With
Yocto Project" was used. The manual now is called "Yocto Project
Overview and Concepts Manual".
(From yocto-docs rev: f47d10029487420cbeb292f680084b63be0ec7e9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The concepts-manual is going away for 2.5. I have fixed all the
links across the YP documentation set that were cross-referencing
into the concepts-manual so they now cross-reference into the
getting-started manual, where that concepts chapter will live
post 2.4x.
(From yocto-docs rev: e9145e9e7fef882a13c982d34514a94f864b3c12)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No longer part of set from 2.5 on.
(From yocto-docs rev: edf059871a201179e8dab90746eb7e9eece65eb9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not need these chapters any longer. The manual is going away
and these chapters were organizational for the book and do not
provide any new information for the getting-started.
(From yocto-docs rev: 47e64fbee86960009968478099e9399f673bda9d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
these chapters were sucked into the getting-started manual but
now are no longer even needed there. The chapters are
organizational for the old concepts-manual and provide nothing
for the getting-started.
(From yocto-docs rev: dd97d06039e3fd6bcbbccafa99f4d29ce041ae70)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This chapter in now in the getting-started manual.
(From yocto-docs rev: 206c4e2117cc3b404c81ac66f391cee68db4a1c2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This manual will not exist. I deleted the two lines that process
links in the mega-manual for the concepts-manual
(From yocto-docs rev: 49530e16b19b8f24782c15fe7daf68e0e0444e39)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The two chapters have been integrated into the current
getting-started manual. Concepts manual is no longer in
existence.
(From yocto-docs rev: f8ee299901acb61d0e638ce9e36f30c5924f36d4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed the YOCTO_DOCS_CM_URL from the mix of things. The manual
will not exist.
(From yocto-docs rev: d97df11478566654d95f02b6fe61eaa0068afb5f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This manual will not see existance. I put the list of .png files
from this manual into the existing getting-started manual as that is
where the topics will now go.
(From yocto-docs rev: 22c2de06baf96120cbc830540e818599ce0ac07b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed all the references to the top-level of the old
concepts-manual. These references are references that do not
have a "#" target. They just reference the manual in general.
(From yocto-docs rev: 5b33f3c119807532aa6feb2d010c9c9f780a26d8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The concepts-manual is going away for 2.5. It is being sucked back
into the getting-started from where it came after originally being
moved out of the ref-manual. I have moved all the figures from the
concepts-manual to the figures folder of the getting-started
manual.
(From yocto-docs rev: 6a95ab558964f2833d6b214791be94cb87305926)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link to the appendix was referencing Appendix C instead of
Appendix D.
(From yocto-docs rev: b8b4ffe14f74ef0a76289258ae17a3843363397d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The step in the general Eclipse IDE workflow has a step that tells
the user to "Create and Build Your Application." I had a sentence
in that step that suggested if you were not using Eclipse to follow
some sort of procedure. The whole idea of this flow is to be
working within Eclipse. I removed that sentence.
(From yocto-docs rev: 83c35e9bb7190464af840822f5dd66d84e15ec64)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list headings were not conforming to the capitalization rules
for lists used in the YP manual set, which is significant words
are capitalized in a bolded item of a bulletted or numbered list.
(From yocto-docs rev: af60763b7daccb6af22b4761f6b8370ea1956714)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some minor updates here. Mainly, bring a list into conformance
for use of capitalization in the bolded item heads.
(From yocto-docs rev: a9c9bb36caa146b0ff8338cb1fad850d75a64997)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the various fields for what goes into the name of one
of these *.sh files pulled from the download sites.
(From yocto-docs rev: 4b326ae834d50607062c2f29c27fccd496489eb6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The note was written such that it appears some performance tools
were just recently deprecated with this release of the Eclipse
Yocto Project plug-in. This is not the case. I updated the
note wording to simply state that those tools are deprecated
with the plug-in.
(From yocto-docs rev: 4e8aa076ec009c71d7ceeda5c64a617e1c2696fb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made sure that each first occurrence in a chapter used the
"tm" mark.
(From yocto-docs rev: b7b21441b5fc009b8161902a10cfe1863d87b8a8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added wording to note that the rootfs might be compressed
depending on the IMAGE_FSTYPES setting, which would have to
actually do compression. Also, fixed examples of "do_image_type"
and "do_image_ext4" so that there is no "[depends]" as part
of the example.
(From yocto-docs rev: 18ecdc6dd8722212c94000950841a4c06d3e48aa)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some inconsistencies in the links to the concepts-manual existed.
I fixed these throughout the YP manual set.
(From yocto-docs rev: ad7f840bb6f4a5248ef455b98ce9b35197e07e1a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was inconsistent use when referencing the getting-started
manual. The manual's name does not include the word
"Manual". So, I cleaned this up across the manual set and
also in the mega-manual.sed file, which was incorrectly
processing the links to that manual that do not target a
specific section.
(From yocto-docs rev: 0f5321416f7ec50cb6c96cccb7c87ef191a25367)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found a few links that were not using the correct wording when
referencing a section to the dev-manual. Also, fixed one link
that was assuming a section outside the dev-manual when the
link was to a section inside the dev-manual.
(From yocto-docs rev: 7a577b135e1a01d6a9924ba89733e46d029c6cca)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The escaping of the double quote characters is not necessary
in the mega-manual.sed file, which processes the links in that
large HTML document. I have removed them.
Authored-by: Aurelio Jargas <aurelio@aurelio.net>
(From yocto-docs rev: 640a52c74750b9148116171cfa8a2cca388f6d7c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Throughout the manual set, I made sure that "OpenEmbedded-Core"
and "OE-Core" appear with the hyphens.
(From yocto-docs rev: 1f570df3eccb74b9e2e60af94c0e0dd48e1489e9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using "OpenEmbedded-Core" rather than "OpenEmbedded Core" in the
text. The term as also fixed to reflect this change. Also,
use of the phrase "OpenEmbedded-Core project" or "OE-Core project"
is not desirable. Changing project to version.
(From yocto-docs rev: ec226fcd92847c96ea2e11d34513b597a35c9825)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original QS (yocto-project-qs) has been retired for the YP
sumo (2.5) release. The manual has been replaced with the
brief, two-page quick build document (brief-yoctoprojectqs).
I needed to create a new title figure for the manual to include
as part of the mega-manual (bypqs-title.png). The figure was
added to the figures folder of both the bried-yoctoprojectqs
and mega-manual book folders. I also removed the old
ypqs-title.png file that was used for the original QS.
Updated the stylesheet doc for the brief build to include a
style using the new title .PNG file.
Updated the mega-manual.xml file to include the brief doc and
exclude the original QS.
(From yocto-docs rev: aadec4a70fa89e4dcd233c337d8971c8353ee26d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated section IDs for the new Using Eclipse Neon
Appendix and Chapter 5 Working Within Eclipse (Oxygen).
Changed one link found in reference manual.
(From yocto-docs rev: d767007cf4151127063d1992a4e11e90437ae2da)
Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original Yocto Project Quick Start is being retired for the
YP 2.5 release (sumo). I have purged all the various references
from the YP manual set and replaced them with references to the
appropriate doc. The references were mainly into the YP
dev-manual for setting up the host or for building an image.
There were a few references into the new "Yocto Project Quick
Build" document for overviewing manual-type references.
(From yocto-docs rev: 11c0ab693962f16f87f1e21f33dd5c6ca6a6f895)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This information was merged into the BitBake User Manual.
(From yocto-docs rev: eb68d4429aed652e4ca10c1ab55d3a815d453d6f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For conserving disk space during builds, I added a new section
that tells how to add "rm_work" to your local.conf file.
This information was part of the original YP Quick Start
and was not carried forward into the new brief build
document.
(From yocto-docs rev: 719d70587d908390a134559472d57ce7fced6aae)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed the title to "Yocto Project Quick Build" from "My First
Yocto Project Build", which sound a bit too much like "My first
little Pony."
(From yocto-docs rev: c797590d3cd341a9c492c7af49a927e1d241184e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The latter has been deprecated.
(From yocto-docs rev: 1f0f423f89d7727aace64b2cfe0b11b0a4bbc7e3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the discussion on this variable in the BeagleBone
example. Took out an older "Xloader" term.
Also, fixed a link to the u-boot.inc file.
(From yocto-docs rev: 5a41c6e7ed6ee6432f7f2c15642f5f98460a1a83)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tip box shows how to ure the mirrors for the most recent
release and the most recent release minus one. I set these
up to use variables rather than hardcoded releases.
(From yocto-docs rev: ad47deb8ac1fc074ed3fdf3627609ac3ab38e92b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Useful for providing the release version of the current
release minus one.
(From yocto-docs rev: c5970a4c52a333156336a564ae488b808a73a880)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided a bullet item to the Getting Started manual in the
"Where to Go Next" section.
(From yocto-docs rev: ce4edc521d19b3c8025e950061cc962ca88fa29e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I did some re-wording to account for when the user does a web
search for a manual and the search returns an ancient version
of the manual. Many times the user is oblivious of this fact
and is trying to use a version of the docs that don't come close
to matching the version of the YP.
(From yocto-docs rev: 1cbe06cefda2b35584a8365564e01888d229d0b3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Created detailed example using the BeagleBone BSP.
(From yocto-docs rev: 7701dc2bd94ae7ee3e4aee37ac97174ad445d286)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a final paragraph that provides some cross-referencing to
the sections that describe how to use Wic and to the Wic
reference chapter.
Also, shortened the DOC info line.
(From yocto-docs rev: 4ba5d0119caa3696187537f5b4cc9c64ca00e205)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a link to the "getty" term.
(From yocto-docs rev: d21fe1ea33353e15c135af7fc302ffe636310541)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added minor edits to clarify that we are talking about an
image type.
(From yocto-docs rev: 14c906aa539d127c88d71d7fb3e628fc225cbd52)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the explanation of the layer.conf file. I am going
to use this section as the definitive section that explains
the layer.conf file.
(From yocto-docs rev: 4c70c7467f0ca5cf2346ef8d10bde437b971d2d2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added information to the list of variables used in the
layer.conf file to specify LAYERSERIES_COMPAT.
(From yocto-docs rev: c41ff41e75b654d5d7df8c2a1e83ba5525490285)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For step 3 on creating the layer, I put in wording to make sure
the user does not create a layer in the cloned poky directory.
(From yocto-docs rev: 1a0d1d0c0cdfa77c6df005d0294d11a02ca3770c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Best practices dictate that the use not create a layer in the
poky repo. So, I updated the example to move the user to a
top-level directory first and then create the layer.
(From yocto-docs rev: 81ab8b0f393f90785880aec7685c4c431cb7ad87)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Created a new variable description in the glossary. This
variable is used in the layer.conf file and needed to be
documented.
(From yocto-docs rev: 5c514c0e90ca920bdf183b1f9449a06b906235ca)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Many examples in the YP set use the latest release code name
as part of a list and then the "minus-1" code name is literally
typed in. I think it is time to have a couple ENTITY variables
in poky.ent that will fill in the last release for these examples.
(From yocto-docs rev: 7421d6a0ae85503b205537f08cfd23e28747d835)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed [YOCTO #12417]
Deleted the appendix.xml file.
Updated the mega manual .xml file to not include
the Mars appendix file.
Updated the sdk-manual.xml file to not include the
Mars appendix file.
(From yocto-docs rev: e7752c3db1aec8d5143e78aab44ec5afaaaf9c76)
Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set the context variable to NULL when evaluating EXSLT functions.
Fixes potential use-after-free errors or memory leaks.
Fixes bug 792580
(From OE-Core rev: a997bcd3f985b65141f9b7a497581da2fd7afc10)
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>
PACKAGECONFIG 'gtk' is enabled by default for gstreamer1.0-plugins-good
and it makes gstreamer1.0-plugins-good depends on package gtk+3 which
requires any distro feature in ${GTK3DISTROFEATURES}. When none distro
feature is enabled from ${GTK3DISTROFEATURES}, it causes error:
| ERROR: Nothing PROVIDES 'gtk+3' (but .../meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.14.0.bb
| DEPENDS on or otherwise requires it)
| gtk+3 was skipped: one of '['x11', 'wayland']' needs to be in DISTRO_FEATURES
So enable PACKAGECONFIG gtk conditionally for gstreamer1.0-plugins-good.
(From OE-Core rev: a36c1e514d43854b22da75a2ec4c8069a6eaab27)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a package name exists in runtime-rprovides, lookup-recipe and
package-info would finish after printing information about that
package even if more packages were specified.
(From OE-Core rev: 32c2a2ddb1614f978f511dfccb6cc3e9398df841)
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>
Currently if KERNEL_IMAGETYPES contains both vmlinux and vmlinux.gz,
KERNEL_IMAGETYPE_FOR_MAKE will end up containing two copies of
vmlinux, which will result in two calls to "make vmlinux" from
kernel_do_compile().
Avoid duplicating vmlinux in KERNEL_IMAGETYPE_FOR_MAKE plus some
minor non-functional updates to formatting and comments.
(From OE-Core rev: 80455a0b6cce6d12a5b32194d0cad2e4c7f71599)
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>
ICECC_PATH wasn't being preserved in the environment when it was
reinitialized. This prevented toolchain installs from being able to use
icecream by setting ICECC_PATH when icecc isn't in $PATH
(From OE-Core rev: c245ab9bee536c7b6af026a5eda02ae0695567b3)
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>
Building on a host OS other than a recent version of Linux is not
recommended or supported. Drop the historical _build-${BUILD_OS}
over-ride to avoid giving the impression that other host OS's might
be supported.
(From OE-Core rev: 428fc39356cb77830de9e0d3f1dbd00f5868290a)
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 long standing quirk, _forcevariable is documented as being the
highest priority over-ride.
(From OE-Core rev: b3598b8f1ed1cdc7849e1e4f30d618e87e1bf582)
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>
diffstat checks variable CC. If options '-I', '-U' or '-D' is included
in CC, variable CC will be wrongly filtered and only such as
'mips64-wrsmllibn32-linux-gnun32-gcc' left. It shows warning message
during configure:
| checking $CC variable...broken
| configure: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options
Disable such check for OE.
(From OE-Core rev: c330036e1e6151246b736f88f7412e9e4ac38d5f)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libsdl isn't a key part of the Sato desktop, remove it and let it be installed
by dependencies if required.
(From OE-Core rev: e54b641a8de962b7df861f0ee7490e6da4ddebe9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These dependencies are in the x11 PACKAGECONFIG and will magically transform for
nativesdk builds.
(From OE-Core rev: 5e55efce4f7ecb3fcb219a15dcbc031f0f233cb1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove instrospection related tweaks as dbus-glib no longer needs
this xml file.
Remove the installation of session.conf. This file is installed into
recipe-sysroot-native directory, which makes no sense.
(From OE-Core rev: a75114195b7a49a1e76099cc09b941f6247d8a46)
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>
There doesn't seem to be a clear reason to have two separate
variables to hold whitelisted GPLv3 recipes. Both variables are
treated the same, so adding a recipe to LGPLv2_WHITELIST_GPL-3.0 is
already equivalent to adding it to WHITELIST_GPL-3.0.
Anyone needing to whitelist a GPLv3 recipe should now just use
WHITELIST_GPL-3.0.
(From OE-Core rev: d4dea76fbe9765d489e3e522a9d2c22049610c7b)
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>
If package management has been disabled then we've already removed all the
state, and running 'dnf clean all' again will simply recreate a lot of the
files.
(From OE-Core rev: 4524068ad2248b37fb08a24828d018e2f7e6a761)
(From OE-Core rev: f23332dc6a0c5b49246b4d17ec4e6fcad0cb7d47)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If package management is disabled we remove the state and configuration for the
package manager after the rootfs has been populated. This list wasn't complete
and the DNF/RPM configuration files were left behind.
As we've added files to the list (and not just directories), expand the
backup/restore package management state code to handle this.
(From OE-Core rev: c8a6422457b4d29e6afd1e193b8b921287472137)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For mirrors or premirrors defined like: "http://.*/.* http://somewhere.org"
fetching ends with errors because function fetch2/__init__.py:encodeurl()
creates url like "http://somewhere.orgsomefile.tar.gz".
It happens because function fetch2/__init__.py:decodeurl()
for url "http://somewhere.org" returns
['http', 'somewhere.org', '', '', '', {}]
and then in function fetch2/__init__.py:uri_replace()
variable result_decode will be
['http', 'somewhere.org', 'somefile.tar.gz', '', '', {}]
(because of line: result_decoded[loc] = os.path.join(result_decoded[loc], basename))
for which encodeurl returns "http://somewhere.orgsomefile.tar.gz".
In addition for mirror "http://.*/.* http://somewhere.org/"
everything works fine.
(Bitbake rev: d822ae24ef5485e550804cbd9130ebd73b2aa48e)
Signed-off-by: Jakub Dębski <jdebski@enigma.com.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating a local git repo clone currently results in multiple calls
to self._contains_ref(), some of which appear to be redundant and can
be eliminated by minor tweaks to the logic in download().
Also drop redundant calls to os.path.exists(ud.clonedir) before
self.need_update(), since need_update() includes its own built-in
check for the existance of ud.clonedir.
(Bitbake rev: 61b0df5523afc8f805043f3adc9c106690e6f133)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
2018-04-13 16:58:06 +01:00
1355 changed files with 29695 additions and 34849 deletions
@@ -38,7 +38,7 @@ from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
<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>
Permission is granted to copy, distribute and/or modify this document under
the terms of the <ulinktype="http"url="http://creativecommons.org/licenses/by-sa/2.0/uk/">Creative Commons Attribution-Share Alike 2.0 UK: England & Wales</ulink> as published by Creative Commons.
</para>
<!--
<note><title>Manual Notes</title>
<itemizedlist>
<listitem><para>
For the latest version of this document associated with
You can find more information on adding layers in the
"<ulinkurl='&YOCTO_DOCS_DEV_URL;#adding-a-layer-using-the-bitbake-layers-script'>Adding a Layer Using the <filename>bitbake-layers</filename> Script</ulink>"
section.
</para></listitem>
</orderedlist>
Completing these steps has added the
<filename>meta-altera</filename> layer to your Yocto Project
development environment and configured it to build for the
"cyclone5" machine.
<note>
The previous steps are for demonstration purposes only.
If you were to attempt to build an image for the
"cyclone5" build, you should read the Altera
<filename>README</filename>.
</note>
</para>
</section>
<sectionid='creating-your-own-general-layer'>
<title>Creating Your Own General Layer</title>
<para>
Maybe you have an application or specific set of behaviors you
subdirectory with a <filename>layer.conf</filename>
configuration file, a <filename>recipes-example</filename>
subdirectory that contains an <filename>example.bb</filename>
recipe, a licensing file, and a <filename>README</filename>.
</para>
<para>
The following commands run the tool to create a layer named
<filename>meta-mylayer</filename> in the
<filename>poky</filename> directory:
<literallayoutclass='monospaced'>
$ cd ~/poky
$ bitbake-layers create-layer meta-mylayer
NOTE: Starting bitbake server...
Add your new layer with 'bitbake-layers add-layer meta-mylayer'
</literallayout>
For more information on layers and how to create them, 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.
</para>
</section>
<sectionid='brief-where-to-go-next'>
<title>Where To Go Next</title>
@@ -321,6 +444,17 @@
introductory and fundamental concepts are useful for
the beginner.
</para></listitem>
<listitem><para>
<emphasis>Yocto Project Overview and Concepts Manual:</emphasis>
The
<ulinkurl='&YOCTO_DOCS_OM_URL;'>Yocto Project Overview and Concepts Manual</ulink>
is a great place to start to learn about the
Yocto Project.
This manual introduces you to the Yocto Project and its
development environment.
The manual also provides conceptual information for
section in the Yocto Project Development Tasks Manual.
</para>
<para>
@@ -187,7 +187,7 @@
<emphasis>Set Up the Build Environment:</emphasis>
Be sure you are set up to use BitBake in a shell.
See the
"<ulinkurl='&YOCTO_DOCS_DEV_URL;#setting-up-the-development-host-to-use-the-yocto-project'>Setting Up the Development Host to Use the Yocto Project</ulink>"
"<ulinkurl='&YOCTO_DOCS_DEV_URL;#setting-up-the-development-host-to-use-the-yocto-project'>Preparing the Build Host</ulink>"
section in the Yocto Project Development Tasks Manual for information
on how to get a build host ready that is either a native
Linux machine or a machine that uses CROPS.
@@ -340,7 +340,7 @@
It is also intended that it will be be simple to extract
information and convert it to other formats if required.
The OpenEmbedded build system, through its standard
can directly accept the format described as a layer.
The BSP layer captures all the hardware-specific details
in one place using a standard format, which is useful
@@ -953,7 +953,7 @@
<para>
You can find more information on what your append file
should contain in the
"<ulinkurl='&YOCTO_DOCS_KERNEL_URL;#creating-the-append-file'>Creating the Append File</ulink>"
"<ulinkurl='&YOCTO_DOCS_KERNEL_DEV_URL;#creating-the-append-file'>Creating the Append File</ulink>"
section in the Yocto Project Linux Kernel Development
Manual.
</para>
@@ -1012,7 +1012,7 @@
to Support Development Using the Yocto
Project</emphasis>:
See the
"<ulinkurl='&YOCTO_DOCS_DEV_URL;#setting-up-the-development-host-to-use-the-yocto-project'>Setting Up the Development Host to Use the Yocto Project</ulink>"
"<ulinkurl='&YOCTO_DOCS_DEV_URL;#setting-up-the-development-host-to-use-the-yocto-project'>Preparing the Build Host</ulink>"
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.