Compare commits

...

2548 Commits

Author SHA1 Message Date
Richard Purdie
d854f1b6dc bitbake: server/process: Always place the server logfile in the build directory
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>
2018-07-25 16:48:27 +01:00
Richard Purdie
1b7eccff64 selftest/bbtests: Add test for bitbake execution outside the build directory
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>
2018-07-25 16:48:27 +01:00
Richard Purdie
ce76b71666 selftest/bblayers: Place the test layer directory in builddir
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>
2018-07-25 16:48:27 +01:00
Richard Purdie
ce5cd33a8a license_image: Fix race
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>
2018-07-25 16:48:27 +01:00
Richard Purdie
a6a865ba93 license: Split image license functions to a separate class
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>
2018-07-25 16:48:27 +01:00
Richard Purdie
2dda838683 package: Use subprocess to be consistent with the rest of the class
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>
2018-07-25 16:48:27 +01:00
Richard Purdie
b84b073396 selftest/wic: clean up runCmd error code handling
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>
2018-07-25 16:48:27 +01:00
Richard Purdie
e3dcd61337 selftest/wic: Improve error message for test_fixed_size
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>
2018-07-25 16:48:27 +01:00
Richard Purdie
d8762a1ea7 Revert "relocate_sdk.py: remove hardcoded SDK path"
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>
2018-07-25 16:46:56 +01:00
Richard Purdie
dafacf0453 uninative-tarball: Add nativesdk-libnss-nis to resolve glibc symbol issues
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>
2018-07-24 17:03:45 +01:00
Paul Eggleton
5aef7cd919 oe-selftest: fix for changes to buildhistory-diff
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>
2018-07-24 11:52:27 +01:00
Richard Purdie
34c2bd84ee lib/oe/utils: Drop now unused multiprocess_exec
(From OE-Core rev: f3b30def2cd1c9ede7630489c3949a45b6eba6ed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-24 11:52:27 +01:00
Richard Purdie
adea90740d package/package_manager: multiprocess_exec -> multiprocess_launch
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>
2018-07-24 11:52:27 +01:00
Richard Purdie
1d8924f172 package: Clean up getstatusoutput usage
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>
2018-07-24 11:52:27 +01:00
Richard Purdie
9928614e94 sstate/bitbake.conf: Use pigz if available
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>
2018-07-24 11:52:27 +01:00
Richard Purdie
e1ba46109e package: Call file to determine elf status in parallel
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>
2018-07-24 11:52:27 +01:00
Richard Purdie
069a1c4a15 package: Refactor to remove isElf/is_elf function duplication
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>
2018-07-24 11:52:27 +01:00
Richard Purdie
e0ea2c7378 package: Allow parallel processing of shlib analysis
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>
2018-07-24 11:52:27 +01:00
Richard Purdie
bc6b668e60 package: Allow parallel processing of debug splitting
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>
2018-07-24 11:52:27 +01:00
Richard Purdie
0e6a662ba2 package: Don't use subshell to execute file
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>
2018-07-24 11:52:27 +01:00
Richard Purdie
29482de968 package: Drop subshell usage for dwarfsrcfile generation.
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>
2018-07-24 11:52:27 +01:00
Richard Purdie
3fa835d9bc package_ipk|deb: Use oe.utils.multiprocess_launch
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>
2018-07-24 11:52:27 +01:00
Richard Purdie
2245a94bb8 package: Rework PACKAGELOCK based upon sstate for do_packagedata
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>
2018-07-24 11:52:27 +01:00
Richard Purdie
6d66b57409 utils: Add multiprocess_launch API and testcase
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>
2018-07-24 11:52:27 +01:00
Richard Purdie
4c67ffef2e scripts/contrib/mkefidisk.sh: Remove
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>
2018-07-24 11:52:27 +01:00
Devarsh Thakkar
6cdfd77806 matchbox-terminal: Upgrade to 0.2
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>
2018-07-24 11:52:27 +01:00
Ruslan Bilovol
bf5b43495a relocate_sdk.py: remove hardcoded SDK path
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>
2018-07-24 11:52:27 +01:00
Paul Eggleton
2019f78260 oe-find-native-sysroot: drop message if pseudo is not found
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>
2018-07-24 11:52:26 +01:00
Paul Eggleton
9c20b0df5f oe-run-native: ensure arguments get quoted
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>
2018-07-24 11:52:26 +01:00
Ross Burton
b4317d0ead xf86-input-libinput: upgrade 0.27.1 -> 0.28.0
(From OE-Core rev: afa7aa4c8742c8573d59e80625bd736e5ab56906)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-24 11:52:26 +01:00
Ross Burton
44bc1ba5f5 shared-mime-info: upgrade 1.9 -> 1.10
(From OE-Core rev: bd14918a01af2d88511443b03edf4efe99a61fe6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-24 11:52:26 +01:00
Ross Burton
79f916d92c harfbuzz: upgrade 1.7.5 -> 1.8.4
(From OE-Core rev: a5b52a8d78821eee489f90b0cf4bfa5db7801018)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-24 11:52:26 +01:00
Ross Burton
8056a3dcd2 libinput: upgrade 1.11.0 -> 1.11.2
(From OE-Core rev: 0af305129d7c482fdc0a0312166ef4b1af8a2405)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-24 11:52:26 +01:00
Ross Burton
ad79b00257 pciutils: upgrade 3.5.6 -> 3.6.1
(From OE-Core rev: 2ed00ce1acb19f351149c02f25267b111991e8f7)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-24 11:52:26 +01:00
Ross Burton
fde3ca8b73 strace: upgrade 4.22 -> 4.23
(From OE-Core rev: 71994715714076e7f4dfb29c91da0a4e293b7e53)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-24 11:52:26 +01:00
Ross Burton
6494ab4ab3 xz: upgrade 5.2.3 -> 5.2.4
(From OE-Core rev: 0529b8c88a2cd6c21737023d757f44eebc5a0547)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-24 11:52:26 +01:00
Ross Burton
437a5ace77 sysstat: upgrade 11.7.3 -> 11.7.4
(From OE-Core rev: 8a50ab1ebf1b9b274521c194662d9144f99304fc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-24 11:52:26 +01:00
Ross Burton
2f4009dd57 libgpg-error: upgrade 1.31 -> 1.32
(From OE-Core rev: 9437450e451fe30c7d6ee8c37f1ce804153c31c4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-24 11:52:26 +01:00
Ross Burton
a42ec88902 gnupg: upgrade 2.2.8 -> 2.2.9
(From OE-Core rev: b7da8d50ebc2f44376d352d001371e03f465e3be)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-24 11:52:26 +01:00
Ross Burton
1d1d96e75f btrfs-tools: upgrade 4.16.1 -> 4.17
(From OE-Core rev: 90755fd4ec0303bbf237520dc5237926f70bc3bf)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-24 11:52:26 +01:00
Ross Burton
c441b34e42 libyaml: upgrade to 0.2.1
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>
2018-07-24 11:52:26 +01:00
Ross Burton
b865fb4fcb tcf-agent: upgrade to 1.7.0
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>
2018-07-24 11:52:26 +01:00
Ross Burton
e3af86e98d bc: upgrade to 1.07.1
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>
2018-07-24 11:52:26 +01:00
Oleksii Konoplitskyi
1d8c7fa369 package.bbclass: exclude packages as shlib providers
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>
2018-07-24 11:52:26 +01:00
Chen Qi
b0f2f690a3 systemd-boot: upgrade to 239
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>
2018-07-18 10:18:42 +01:00
Chen Qi
ada8a5d917 systemd: upgrade to 239
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>
2018-07-18 10:18:42 +01:00
Khem Raj
219eed186d musl: Update to latest master
General bug fixes

Full logs
https://git.musl-libc.org/cgit/musl/log/?qt=range&q=193338e619de7c993efa2c0e1a87240bd732c181..9cad27a3dc1a4eb349b6591e4dc8cc89dce32277

(From OE-Core rev: 8a7db51308d62f75fbb2937ae4c79deb592070ba)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-18 10:18:42 +01:00
Khem Raj
b297c1aa4b recipes: Enforce ARM ISA just for arm arches <= armv5
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>
2018-07-18 10:18:42 +01:00
Andre McCurdy
a8ffa4a02c curl: add PACKAGECONFIG options for brotli, built-in manpages, etc
- 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>
2018-07-18 10:18:42 +01:00
Andre McCurdy
732a2d05fd curl: update 7.60.0 -> 7.61.0
https://curl.haxx.se/changes.html#7_61_0

(From OE-Core rev: b26ca91574a88745910d44777bb17ac0616baf3e)

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>
2018-07-18 10:18:42 +01:00
Ross Burton
164785f81a atk: add explicit gettext-native dependency
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>
2018-07-18 10:18:42 +01:00
Khem Raj
ea9d7095a6 mesa: Fix build with wayland and egl
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>
2018-07-18 10:18:42 +01:00
Olof Johansson
a24e8944e7 spdx.bbclass: Encode strings before passing to hashlib
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>
2018-07-18 10:18:42 +01:00
Olof Johansson
83b3e1463a spdx.bbclass: Make use of bb.utils' sha1_file()
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>
2018-07-18 10:18:42 +01:00
Olof Johansson
ae7d14ab44 spdx.bbclass: Fix undefined variable error
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>
2018-07-18 10:18:42 +01:00
Olof Johansson
a60a3c11f4 spdx.bbclass: Replace deprecated string.replace with str.replace
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>
2018-07-18 10:18:42 +01:00
Andrej Valek
c24db0fd6e perl: update to 5.24.4
- 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>
2018-07-18 10:18:42 +01:00
Rui Wang
566e2de017 bash: fix wrong exit status offset
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>
2018-07-18 10:18:42 +01:00
Khem Raj
9d1323af45 packagegroups: Disable unbuildable dependencies for riscv64
This helps with cleaner world build parsing logs

(From OE-Core rev: ab6f5ea9c15e1e928a5a529813a241daafab2036)

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>
2018-07-18 10:18:42 +01:00
Changqing Li
b3f188d541 epiphany: fix epiphany cannot start problem
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>
2018-07-18 10:18:42 +01:00
Ross Burton
ebad780985 oeqa/sdk/python: clean up Python test
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>
2018-07-18 10:18:42 +01:00
Ross Burton
731ce8c760 oeqa/runtime/python: clean up Python test
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>
2018-07-18 10:18:42 +01:00
Ross Burton
c093b40727 gnutls: use HTTP instead of FTP
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>
2018-07-18 10:18:42 +01:00
Anuj Mittal
81fd206d5b gstreamer1.0-plugins-good: disable gtk plugin
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>
2018-07-18 10:18:42 +01:00
Anuj Mittal
e0934aa83b libva-utils: upgrade 2.1.0 -> 2.2.0
* Add vainfo support in Android
* Remove driver specific test cases

(From OE-Core rev: fb7070bdaa87c1b4c3a4330b9fc116354bc81e8a)

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>
2018-07-18 10:18:42 +01:00
Anuj Mittal
ad76eb195b libva: upgrade 2.1.0 -> 2.2.0
* 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>
2018-07-18 10:18:42 +01:00
Joe Slater
90a06269df tiff: security fix CVE-2018-10963
Denial of service described at https://nvd.nist.gov/vuln/detail/CVE-2018-10963.

(From OE-Core rev: d19a9b41d3b2dcba3b102a8289b7787b4b131e96)

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>
2018-07-18 10:18:42 +01:00
Ross Burton
d3c639f5c9 python-setuptools: rationalise dependencies
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>
2018-07-18 10:18:42 +01:00
Andre McCurdy
30ea610d04 python-setuptools.inc: avoid using += with an over-ride
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>
2018-07-18 10:18:42 +01:00
Ross Burton
8df7480d1c insane: optimise buildpath search
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>
2018-07-18 10:18:42 +01:00
Yi Zhao
f92cd3aad0 file: fix regression for determining DB file type
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>
2018-07-18 10:18:42 +01:00
Anuj Mittal
bf7ed1d046 wic/engine: use up all free space when expanding partitions
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>
2018-07-18 10:18:42 +01:00
Anuj Mittal
82756dcac0 wic/engine: fix errors when expanding partitions
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>
2018-07-18 10:18:42 +01:00
Ross Burton
f7792e58a2 mesa: remove hardware float patch
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>
2018-07-18 10:18:42 +01:00
Marek Vasut
48d10a0a91 qemux86*: Add U-Boot machine configuration
Add U-Boot machine configuration for the qemux86 and qemux86-64
to allow building U-Boot on those targets. This in turn allows
the auto-updater to update the U-Boot recipe.

(From OE-Core rev: c9bd7f71b59e1c8e7436d65cd8ad6bfb29051c93)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-18 10:18:42 +01:00
Marek Vasut
9911015b34 u-boot: Upgrade to 2018.07 release
This upgrades the U-Boot from 2018.05 to 2018.07 release.

(From OE-Core rev: ac269c7378e8f98bc433e76cb94a6729407a97b6)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-18 10:18:42 +01:00
Marek Vasut
c7b45c8cdd u-boot: Add missing dependency on flex and bison native
The U-Boot build, in particular the Kconfig, depends on bison and
flex native. Add the missing dependencies.

(From OE-Core rev: 71309a5c91209d4afaee874889fa7eefb266185f)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-18 10:18:41 +01:00
Paul Eggleton
8274ccae0d classes/buildhistory: properly process escaped chars from pkgdata
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>
2018-07-18 10:18:41 +01:00
Paul Eggleton
2e8787593f classes/buildhistory: handle packaged files with names containing spaces
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>
2018-07-18 10:18:41 +01:00
Paul Eggleton
0bbb80d381 lib/oe/buildhistory_analysis: drop related field feature
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>
2018-07-18 10:18:41 +01:00
Martin Jansa
12a3de5689 libdrm: allow to build native and nativesdk
(From OE-Core rev: 8eb5fa3b994be450d43b3d4ff505dec32de1fe3d)

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>
2018-07-18 10:18:41 +01:00
He Zhe
0594089706 lttng-modules: Fix do_compile failure for btrfs related tracepoints
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>
2018-07-18 10:18:41 +01:00
Anuj Mittal
ba598c7db3 oeqa/parselogs: remove references to BSPs that no longer exist
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>
2018-07-18 10:18:41 +01:00
Richard Purdie
dd31a246aa populate_sdk_base: Use default value assignment for SDK_TITLE/SDKEXTPATH
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>
2018-07-18 10:18:41 +01:00
Richard Purdie
928d6159ed oeqa/decorator: Improve reliability
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>
2018-07-18 10:18:41 +01:00
Richard Purdie
da596a2ad6 testsdk: Enable multiprocess execution
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>
2018-07-18 10:18:41 +01:00
Richard Purdie
f5975278e3 oeqa: Remove xmlrunner
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>
2018-07-18 10:18:41 +01:00
Richard Purdie
d9de34ce99 oeqa/runner: Simplify code
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>
2018-07-18 10:18:41 +01:00
Richard Purdie
4e4958cba2 oeqa/core/threaded: Remove in favour of using concurrenttests
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>
2018-07-18 10:18:41 +01:00
Richard Purdie
ebd97e728a oeqa: Add selftest parallelisation support
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>
2018-07-18 10:18:41 +01:00
Richard Purdie
05c32d2de1 oeqa/selftest/wic: Split tests into two class groups
This improves test parallelism.

(From OE-Core rev: 26e04b23ba1b6942aa7c7df478d41dfe7b73e6e0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-16 13:21:35 +01:00
Richard Purdie
b3c379d93e oeqa/sdkbuildproject: Capture output to quieten selftest logs
Only show the output in the failure case.

(From OE-Core rev: 324785a99e3f2449cb443233e7ce224598c02a3b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-16 13:21:35 +01:00
Richard Purdie
a85015b109 devtool: Split tests into multiple classes
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>
2018-07-16 13:21:35 +01:00
Richard Purdie
6b219f64c4 oeqa: Default to buffer mode for tests
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>
2018-07-16 13:21:35 +01:00
Richard Purdie
eacc12c2ec oeqa/selftest/wic: Ensure initramfs exists for test_iso_image
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>
2018-07-16 13:21:35 +01:00
Richard Purdie
5e8367e17f oeqa/selftest/wic: Use a subdir of builddir, not /var/
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>
2018-07-16 13:21:34 +01:00
Richard Purdie
5456a9261d oeqa/selftest/devtool: Ensure dbus is built befoe running test
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>
2018-07-16 13:21:34 +01:00
Richard Purdie
9a53d315ef oeqa/selftest/package: Use setUpLocal, not setUp
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>
2018-07-16 13:21:34 +01:00
Richard Purdie
75d5d0e873 oeqa/runner: Ensure we don't print misleading results output
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>
2018-07-16 13:21:34 +01:00
Richard Purdie
66b0348000 oqqa/selftest/lic_checksum: Avoid cache reparse
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>
2018-07-16 13:21:34 +01:00
Richard Purdie
62865578bf oeqa/selftest/image_tyypedep: Avoid undefined variable failure
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>
2018-07-16 13:21:34 +01:00
Richard Purdie
754cf58700 oeqa/core/runner: Improve test case comparision
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>
2018-07-16 13:21:34 +01:00
Richard Purdie
e6f7c57b55 oeqa/selftest/systemd_boot: Never use cleansstate in QA tests without special handling of SSTATE_DIR
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>
2018-07-15 16:19:05 +01:00
Yi Zhao
69dfa029f1 file: Security fix CVE-2018-10360
CVE-2018-10360: The do_core_note function in readelf.c in libmagic.a in
file 5.33 allows remote attackers to cause a denial of service
(out-of-bounds read and application crash) via a crafted ELF file.

References:
https://nvd.nist.gov/vuln/detail/CVE-2018-10360

Patch from:
a642587a9c

(From OE-Core rev: 22886cf6f37d9a5c6ff90e10e0c17ed7f6321305)

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>
2018-07-15 16:16:16 +01:00
Denys Dmytriyenko
f8b0a5786e wayland-protocols: upgrade 1.14 -> 1.15
(From OE-Core rev: 064455bc88f50d633f2ffe6a74c439d8a87c4fdc)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-15 16:16:16 +01:00
Derek Straka
703812a3f8 python3-pygobject: update to 3.28.3
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>
2018-07-15 16:16:16 +01:00
Derek Straka
3021db034d python*-setuptools: update to 40.0.0
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>
2018-07-15 16:16:16 +01:00
Alistair Francis
6b029c68c8 xorg-xserver: Enable systemd-logind if using systemd
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>
2018-07-15 16:16:16 +01:00
Kristian Amlie
c7443c85c3 grub-efi: Provide target architecture for 32-bit ARM.
(From OE-Core rev: 65f9fb788371a9a08e3b0e6febecb9cc2aaeefe7)

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-15 16:16:16 +01:00
Anuj Mittal
ebbd1e4a94 image-live: fix check for rootfs size with hddimg images
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>
2018-07-15 16:16:16 +01:00
Alistair Francis
a9b91031ec liburcu: Add RISC-V support
(From OE-Core rev: eade50afbc267f2e4c6065745cd786e48332086b)

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>
2018-07-15 16:16:16 +01:00
Ross Burton
7aff75bcc3 nfs-utils: remove libnfsidmap
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>
2018-07-15 16:16:16 +01:00
Anuj Mittal
6ebeeab6a6 perf: add dwarf to PACKAGECONFIG
Enable perf to be built with DWARF support.

Fixes [YOCTO #3359]

(From OE-Core rev: bed3a67932a85d7528179b0a35c21e1b595b6ce7)

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>
2018-07-15 16:16:16 +01:00
Hong Liu
08c2f0581f psmisc:23.0 -> 23.1
Upgrade psmisc from 23.0 to 23.1

(From OE-Core rev: cbaa7fd39a0f64611321077d48d47046f5228fbb)

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-15 16:16:16 +01:00
Hong Liu
eec5f3378f procps:3.3.14 -> 3.3.15
Upgrade procps from 3.3.14 to 3.3.15.

(From OE-Core rev: 19bd5ea331344c213c6d8ecdb47f78cf021c00ca)

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-15 16:16:16 +01:00
Hong Liu
46ac750de6 ethtool:4.16 -> 4.17
Upgrade ethtool from 4.16 to 4.17

(From OE-Core rev: 11dc07b0d2f3b3c0ff9edc5e6aac3da100cbf588)

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-15 16:16:16 +01:00
Martin Jansa
3c16339f73 libdrm: Add PACKAGECONFIG support for all meson options
* 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>
2018-07-15 16:16:16 +01:00
Rasmus Villemoes
8e3fb6ff24 perf: disable parallelism for 'make clean'
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>
2018-07-15 16:16:16 +01:00
Martin Jansa
ce192a5cdc meta-yocto-bsp: mpc8315e-rdb.conf: use mpc8315erdb.dtb without the KERNEL_IMAGETYPE_FOR_MAKE as a prefix
* 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>
2018-07-10 17:33:29 +01:00
Ross Burton
6fbddd24f4 distutils3: pass build arguments when doing a clean
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>
2018-07-10 17:33:00 +01:00
Armin Kuster
ab879ec1cf libxxf86misc: update to 1.0.4
(From OE-Core rev: 326f484ff8c1985baf8a70dfe7139857ec43b289)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-10 17:33:00 +01:00
Armin Kuster
4e1f9fd4dd libxinerama: update to 1.1.4
(From OE-Core rev: bc7a84643c93a8989f95c4673ea3f8dbf8ad274b)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-10 17:33:00 +01:00
Armin Kuster
00164cbd81 libxscrnsaver: update to 1.2.3
(From OE-Core rev: ab1a8048f8d6295a7c5b04a50c526f19c7399294)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-10 17:33:00 +01:00
Armin Kuster
cdbed97897 xf86-input-mouse: update to 1.9.3
drop patch now included in update

(From OE-Core rev: 197fda706d3ac48da7cfa8fe49565bf89ee3034f)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-10 17:33:00 +01:00
Robert Yang
a1c299df71 dwarfsrcfiles: fix typo: debig -> debug
(From OE-Core rev: ba777487e7d26f5a57f7eb2681caad13e19ac931)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-10 17:33:00 +01:00
He Zhe
c68e4c6e3e scripts/runqemu: fix qemumips qemumips64 memory detection kernel panic
$ 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>
2018-07-10 17:33:00 +01:00
Andre McCurdy
78fae8676d openssl_1.1: minor recipe formatting tweaks etc
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>
2018-07-10 17:33:00 +01:00
Ross Burton
7af5e3bad3 meson: improve code style
Use elif for consistency.

(From OE-Core rev: 2ad89f12c9819326b29588a8a6c642aaae990f18)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-10 17:33:00 +01:00
Martin Jansa
d0389bf1cd kernel.bbclass: move variables for kernel artifacts names to separate bbclass
* 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>
2018-07-10 17:33:00 +01:00
Martin Jansa
c159b6249a kernel.bbclass: use the consistent naming schema for initramfs
* 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>
2018-07-10 17:33:00 +01:00
Martin Jansa
c5b70d7155 kernel-devicetree.bbclass: Fix and simplify instalation of DTB files
* 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>
2018-07-10 17:32:59 +01:00
Martin Jansa
85d1f532f3 kernel-devicetree.bbclass: Use lowercase names for shell variables
* 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>
2018-07-10 17:32:59 +01:00
Bruce Ashfield
ea676cbdb8 linux-yocto/4.12: update to v4.12.26
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>
2018-07-10 17:32:59 +01:00
Bruce Ashfield
c800e6dbd2 linux-yocto-dev: bump to 4.18+
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>
2018-07-10 17:32:59 +01:00
Bruce Ashfield
53177e644f linux-yocto/4.12: bump to v4.12.25
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>
2018-07-10 17:32:59 +01:00
Bruce Ashfield
de8a8cf537 linux-yocto: igb.cfg: change igb config from m to y
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>
2018-07-10 17:32:59 +01:00
Bruce Ashfield
2f13188922 linux-yocto: add qemuarm -tiny support
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>
2018-07-10 17:32:59 +01:00
Lei Maohui
be497feac1 linux-libc-headers: To fix build error when enable mutilib on aarch64 Big endian.
(From OE-Core rev: 1c31fa6929fc97e2fb0c4fbfcc66c789c39c1117)

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-10 17:32:59 +01:00
He Zhe
3e610d7e20 lttng-tools: Allow reconnect to relayd
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>
2018-07-09 22:48:39 +01:00
Oleksii Konoplitskyi
f94c0c8e6f initramfs-framework: add nfsrootfs module
nfsrootfs module mounts rootfs via nfs parsing "nfsroot" and "ip" cmdline options.

(From OE-Core rev: d1737f2dabac5e338061863c78a91b4c115365c7)

Signed-off-by: Oleksii Konoplitskyi <okonopli@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-09 22:48:39 +01:00
Andre McCurdy
cfd0c39fbf gobject-introspection: minor recipe formatting tweaks
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>
2018-07-09 22:48:39 +01:00
Andre McCurdy
5f033859e2 gobject-introspection: avoid using += with an over-ride
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>
2018-07-09 22:48:39 +01:00
Andre McCurdy
c4aa9678a8 openssl_1.1: avoid using += with an over-ride
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>
2018-07-09 22:48:39 +01:00
Ovidiu Panait
f9ad66da9f openssl-nativesdk: Fix "can't open config file" warning
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>
2018-07-09 22:48:39 +01:00
Jackie Huang
fbf465c07d dropbear: add default config file to disable root login
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>
2018-07-09 22:48:38 +01:00
Jackie Huang
7c1adcc6d7 rootfs-postcommands: split ssh_allow_empty_password
"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>
2018-07-09 22:48:38 +01:00
Robert Yang
be73d2bf15 oe/copy_buildsystem.py: add SDK_LAYERS_EXCLUDE_PATTERN
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>
2018-07-09 22:48:38 +01:00
Yadi.hu
53ba34d143 busybox: handle syslog
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>
2018-07-09 22:48:38 +01:00
Joshua Watt
9b034e9a83 bitbake: runqueue: Stop on first unsatisfied dependency
(Bitbake rev: 9876b5da1c65bf09a790542cb4057f2d93868cf7)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-09 11:26:56 +01:00
Joshua Watt
53d1027625 bitbake: runqueue: Remove unused variable
(Bitbake rev: 91e5540f53aca93e3489255cfd95feaa0afd0498)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-09 11:26:56 +01:00
Joshua Watt
6b66f22686 bitbake: siggen: Delete trailing whitespace
(Bitbake rev: b2fd783fa23403e8f08d998951b05bcabb458af1)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-09 11:26:56 +01:00
Joshua Watt
714f2f5bae bitbake: runqueue: Remove trailing whitespace
(Bitbake rev: 9b9aecbbb1a3fa67f7d3b1669186c9f4ced3a590)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-09 11:26:56 +01:00
Scott Rifenbark
c7d9010a07 sdk-manual: Updates to section on obtaining the SDK
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>
2018-07-07 10:59:38 +01:00
Ross Burton
b44e88c09b minicom: remove dead URL from UPSTREAM_CHECK_URI
(From OE-Core rev: f57363d307d573554a84443dd774df9549587b94)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-06 22:59:33 +01:00
Joshua Watt
a4c1720eb3 classes/sstate: Remove unused argument
Removes an unused argument to pstaging_fetch()

(From OE-Core rev: ab0eb2bf0db6e7da7c9b9bb4d46621dbf76dcc2a)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-06 22:59:33 +01:00
Joshua Watt
660374adb6 classes/sstate: Remove trailing whitespace
(From OE-Core rev: dc7c181f231db1290ea7d7d5e42476e70a488d73)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-06 22:59:33 +01:00
Joshua Watt
c07d1447a9 sstatesig: Remove trailing whitespace
(From OE-Core rev: 2067172e2e5f90cb321ca124f4f9065ae8ad680f)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-06 22:59:33 +01:00
Ross Burton
c015c70bc2 distro_alias: remove obsolete python-distribute entry
(From OE-Core rev: 2af01bb4c41b3058f4f5e23c1e4ec94e2773e5ad)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-06 22:55:02 +01:00
Ross Burton
b11fc28a1c setuptools.bbclass: depend on python-setuptools
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>
2018-07-06 22:55:02 +01:00
Ross Burton
1276f1755b meson: map mipsel TARGET_ARCH to mips for the cross file
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>
2018-07-06 22:55:02 +01:00
Ross Burton
23899a254e meson: send user to our wiki instead of Meson bug system
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>
2018-07-06 22:55:02 +01:00
Chen Qi
ef98f64b71 testsdk.bbclass: set PREMIRRORS for kernel to speed up test
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>
2018-07-06 22:55:02 +01:00
Andre McCurdy
bf669ec97f quilt.inc: minor recipe formatting tweaks
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>
2018-07-06 22:55:02 +01:00
Andre McCurdy
5fc11ac170 quilt.inc: avoid using += with an over-ride (drop unmaintained darwin support)
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>
2018-07-06 22:55:02 +01:00
Andre McCurdy
616075eca3 ca-certificates: avoid using += with an over-ride
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>
2018-07-06 22:55:02 +01:00
Khem Raj
750835fa1b musl: Upgrade to latest
add kernel 4.17 inferfaces and wire additional syscalls and dladdr fixes

complete change log
https://git.musl-libc.org/cgit/musl/log/?qt=range&q=d5e55ba3320c30310ca1d8938925d5424a652422..193338e619de7c993efa2c0e1a87240bd732c181

(From OE-Core rev: 5646516dafbd2536e30d5f01c9e30fd34fcc7da1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-06 22:55:02 +01:00
Chen Qi
c2ccd089b2 buildtools-tarball: add nativesdk-libnss-nis
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>
2018-07-06 22:55:02 +01:00
Pablo Saavedra
303fb675f2 patch: Jail patch_task_patch_prefunc in classes/patch into the workdir
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>
2018-07-06 22:55:02 +01:00
Otavio Salvador
87b9992ae7 cmake: Update 3.10.3 -> 3.11.4
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>
2018-07-06 22:55:02 +01:00
Armin Kuster
93e9729569 nss: update to 3.38
remove patch now included in release.
includes: CVE-2018-0495

(From OE-Core rev: f0ad38d02da0bbcc1534dcc99d10436675932ed9)

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>
2018-07-06 22:55:02 +01:00
Binghua Guan
2ca8eeeaef curl: support mbedtls in PACKAGECONFIG
(From OE-Core rev: 65b86e87a693fc7a76e163734cd2da56494302c8)

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>
2018-07-06 22:55:02 +01:00
Ross Burton
2d28e8370e distutils: clean the build tree in do_configure
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>
2018-07-06 22:55:02 +01:00
Ross Burton
780565b368 python-numpy: set CLEANBROKEN
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>
2018-07-06 22:55:02 +01:00
Ioan-Adrian Ratiu
78a2bdae65 util-linux.inc: add fallocate & unshare to alternatives
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>
2018-07-06 22:55:01 +01:00
Zhang Xiao
9b7e107140 diffutils-ptest: add runtime dependency on make
(From OE-Core rev: 0ab4fc861cff69acc42446c22f7a7ed2e6128849)

Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-06 22:55:01 +01:00
Ross Burton
e3e8e1f125 mesa: patch cleanup
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>
2018-07-06 22:55:01 +01:00
Robert Yang
5fef9fcd58 git: 2.16.1 -> 2.18.0
* 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>
2018-07-05 11:39:06 +01:00
Khem Raj
27e886edbe bind: Disable lmdb support
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>
2018-07-05 11:39:06 +01:00
Martin Jansa
8b92648246 Revert "kernel-devicetree: Corrected normalize_dtb"
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>
2018-07-05 11:39:06 +01:00
Chen Qi
946a48be9e oeqa/runtime/cases/parselog.py: ignore a message from weston
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>
2018-07-05 11:39:06 +01:00
Khem Raj
fbfacebaa9 libnss-nis: Limit parse skip only for target recipe on musl
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>
2018-07-05 11:39:06 +01:00
Hongxu Jia
956ddcc9d4 libxml2: fix CVE-2017-8872
The htmlParseTryOrFinish function in HTMLparser.c in libxml2 2.9.4
allows attackers to cause a denial of service (buffer over-read) or
information disclosure.

https://bugzilla.gnome.org/show_bug.cgi?id=775200

(From OE-Core rev: dac867dc63af70ae992c50697d2be95c3e7b58bb)

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>
2018-07-05 11:39:06 +01:00
Chunrong Guo
b6bb7e1345 kernel-fitimage: add support for ext2.gz initramfs files
(From OE-Core rev: e2e0c91c2c8229d9ed0958de98b5a9b14c6805d1)

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-05 11:39:06 +01:00
Robert Yang
6a51dbf9bb nfs-utils: 2.1.1 -> 2.3.1
* 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>
2018-07-05 11:39:06 +01:00
Binghua Guan
0996eecb21 oe.types.boolean: treat None as False
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>
2018-07-05 11:39:06 +01:00
Derek Straka
ec9ad3648b python3-dbus: update to latest stable version of 1.2.8
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>
2018-07-05 11:39:06 +01:00
Alex Kiernan
280239af32 bmap-tools: Add python3-fcntl dependency
Add missing python3-fcntl dependency

(From OE-Core rev: 5821db83e5c21a7a85b8675951e4e9c1893e4b26)

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>
2018-07-05 11:39:06 +01:00
Derek Straka
e0cbfaedc4 python: update to version 2.7.15
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>
2018-07-05 11:39:06 +01:00
Derek Straka
1855f7c7b7 python-numpy: update to 1.14.5
Update to the latest stable release

(From OE-Core rev: 3e667be761daaa83e16f67a89f9414620bbe2726)

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>
2018-07-05 11:39:06 +01:00
Derek Straka
3a94936470 python3-pip: update to version 10.0.1
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>
2018-07-05 11:39:06 +01:00
Derek Straka
ea71b6d909 python3-git: update to 2.1.10
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>
2018-07-05 11:39:06 +01:00
Ross Burton
611013a23a mesa: add lost Upstream-Status tag
(From OE-Core rev: 4cb6e5c734341b9d1240814ffecd01f574e3c347)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-05 00:22:08 +01:00
Ross Burton
740b931d39 elfutils: clean up patches
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>
2018-07-05 00:22:08 +01:00
Fabio Berton
3232070931 busybox: Add patch to ignore -c on umount command
Fix error when umounting filesystem on shutdown with a systemd distro.

See more datails here: [https://github.com/systemd/systemd/issues/7786]

(From OE-Core rev: ae23367c85d1a6c84c25736ac3c9a059acbc8dbe)

(From OE-Core rev: 29b1555481a30f9a7eda43f67f3e8ceb5da1b0aa)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-05 00:22:08 +01:00
Rasmus Villemoes
a77a6dad43 util-linux: alternatify fstrim
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>
2018-07-05 00:22:08 +01:00
Otavio Salvador
66aefd4811 go: Update 1.10.2 -> 1.10.3
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>
2018-07-05 00:22:08 +01:00
Otavio Salvador
74f0f46360 go: Update 1.9.6 -> 1.9.7
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>
2018-07-05 00:22:08 +01:00
Olof Johansson
6d3617d0f6 rpm: Avoid leaking temporary scriplet files
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>
2018-07-05 00:22:08 +01:00
Ross Burton
846193422c fstests: remove
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>
2018-07-05 00:22:08 +01:00
Robert Yang
7647d7a019 ccache: 3.3.5 -> 3.4.2
* 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>
2018-07-05 00:22:08 +01:00
Robert Yang
63b40c9008 e2fsprogs: 1.43.8 -> 1.44.2
- 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>
2018-07-05 00:22:08 +01:00
Robert Yang
4604255985 automake: 1.15.1 -> 1.16.1
* Refreshed the following patches:
  - 0001-automake-Add-default-libtool_tag-to-cppasm.patch
  - automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch
  - buildtest.patch
  - new_rt_path_for_test-driver.patch
  - performance.patch
  - python-libdir.patch

(From OE-Core rev: f63a493298de7d0cac36a65dafba5dae06c06a05)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-05 00:22:08 +01:00
Ross Burton
bf760b5d9d mesa: enable surfaceless platform
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>
2018-07-05 00:22:08 +01:00
Ross Burton
0c1437563b libdrm: port to Meson
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>
2018-07-05 00:22:08 +01:00
Ross Burton
e03660f46e meson: validate cpu_family
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>
2018-07-05 00:22:08 +01:00
Ross Burton
5193aedb45 meson: map architecture to correct values in cross file
The cross file specifies the host/target cpu_family, which should be one of a
defined set of values[1] but if it isn't Meson won't complain and instead
recipes may behave unexpectedly.

[1] http://mesonbuild.com/Reference-tables.html#cpu-families

(From OE-Core rev: e33b902a1dc4294dac148715f4d3ca5b0a6ee1b7)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-05 00:22:08 +01:00
Ross Burton
c2ba7177f1 meson: various class improvements
- 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>
2018-07-05 00:22:08 +01:00
Richard Purdie
f2c04b450f send-error-report: Fix test for name > 50 chars
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>
2018-07-04 12:19:13 +01:00
Richard Purdie
83b0109149 send-error-report: Fix dubious error reporting
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>
2018-07-04 12:19:13 +01:00
Richard Purdie
0118f01787 multilib: Tweak previous cross-canadian multilib fix
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>
2018-07-04 00:02:17 +01:00
Richard Purdie
f755066a00 staging: Always use the default sysroot for allarch recipes
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>
2018-07-04 00:02:17 +01:00
Armin Kuster
e9f8826681 bind: update to ESV version 9.11.3
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>
2018-07-04 00:02:17 +01:00
Armin Kuster
c026c365eb dhcp: update 4.4.1
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>
2018-07-04 00:02:17 +01:00
Paulo Neves
396e269c5c kernel-devicetree: Corrected normalize_dtb
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>
2018-07-04 00:02:17 +01:00
Kai Kang
9267988e30 webkitgtk: 2.20.2 -> 2.20.3
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>
2018-07-04 00:02:16 +01:00
Hongxu Jia
8342cc7d2f ghostscript: fix CVE-2018-10194
https://nvd.nist.gov/vuln/detail/CVE-2018-10194

(From OE-Core rev: 4b56d6a61bfe4ca28d1301ae83898a979d3df73a)

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>
2018-07-04 00:02:16 +01:00
Hongxu Jia
2e6e9c02f9 ncurses: 6.1 -> 6.1+20180630
(From OE-Core rev: 397410d6ca6864c9a956b8a1e602b97f57d0031f)

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>
2018-07-04 00:02:16 +01:00
Hongxu Jia
eece28c5a1 libgcrypt: 1.8.2 -> 1.8.3
(From OE-Core rev: c15a7f739a929c3f43f17387c5a950c9d6a02203)

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>
2018-07-04 00:02:16 +01:00
Hongxu Jia
08b3432e9f help2man-native: 1.47.5 -> 1.47.6
(From OE-Core rev: 93b0a04d77b0b513fefaa80fb3fb9334c549a76f)

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>
2018-07-04 00:02:16 +01:00
Hongxu Jia
13542a824b man-pages: 4.14 -> 4.16
(From OE-Core rev: 5d84441e148a43f42697dc7493d6c37c713fe397)

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>
2018-07-04 00:02:16 +01:00
Hongxu Jia
60857bd2d4 elfutils: 0.170 -> 0.172
- 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>
2018-07-04 00:02:16 +01:00
Hongxu Jia
b07db23759 man-db: 2.8.2 -> 2.8.3
(From OE-Core rev: 3e48ac4a65efca1653d6cd69434b0164af4ef39a)

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>
2018-07-04 00:02:16 +01:00
Hongxu Jia
b68ea8b7fe gpgme: 1.10.0 -> 1.11.1
License-Update: copyright years updated 2001-2017 -> 2001-2018

(From OE-Core rev: 82b2a087e4f0f9ff9e602e7b507be94498a7a73b)

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>
2018-07-04 00:02:16 +01:00
Hongxu Jia
29687df30a gnupg: 2.2.5 -> 2.2.8
(From OE-Core rev: 4d09b6a411504be78379dff172ef12620204b89a)

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>
2018-07-04 00:02:16 +01:00
Christopher Larson
c9812c91fe recipetool: add 'edit' subcommand
This edits the recipe and any bbappends for the specified target.

(From OE-Core rev: 7aece42c6b4744c54a8eb05ff90bd3bf4fbb14a3)

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>
2018-07-04 00:02:16 +01:00
Alex Kiernan
bba7c19eeb kernel-fitimage: Make DTB key insertion optional
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>
2018-07-04 00:02:16 +01:00
Alistair Francis
b2a13cef91 nspr: Add RISC-V support
(From OE-Core rev: 47b76dd02007e96fc95099524d43d517daf2aa6e)

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>
2018-07-04 00:02:16 +01:00
Alistair Francis
c33c20733d qemu: Add RISC-V support
(From OE-Core rev: 188f4d258587a8bed9c91922ed8d141dbea4232d)

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>
2018-07-04 00:02:16 +01:00
Christopher Larson
b0527c08d4 oe.path: add which_wild function
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>
2018-07-04 00:02:16 +01:00
Ming Liu
7cb125d7ee bitbake: runqueue.py: Fix a virtual class extension stamps issue
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>
2018-07-02 21:38:06 +01:00
Richard Purdie
9fff2b5a75 multilib: Fix issues with some cross-canadian toolchain sysroots
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>
2018-07-02 21:37:47 +01:00
Richard Purdie
6ca693f284 staging: Improve fixup processing code
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>
2018-07-02 21:37:47 +01:00
Richard Purdie
522d422498 lib/oe/sstatesig: Fix task mappings from multilib<->non-multilib contexts
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>
2018-07-02 21:37:47 +01:00
Richard Purdie
29353297b5 classes/utils: Improve all_multilib_tune_values
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>
2018-07-02 21:37:47 +01:00
Richard Purdie
f1079cd193 staging/image: Fix multilib recipe sysroot issues
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>
2018-07-02 21:37:47 +01:00
Richard Purdie
e9e1107c61 lib/oe/utils: Improve get_multilib_datastore
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>
2018-07-02 21:37:47 +01:00
Joshua Watt
9086a55d25 oe-selftest: Add bitbake-layer create-layer test
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>
2018-07-02 21:37:47 +01:00
Joe Slater
058119da17 postinst-intercepts: do not execute any variant of delay_to_first_boot
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>
2018-07-02 21:37:47 +01:00
Alp Özmert
42b3761274 license: Fix and extend recommendations for license packages.
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>
2018-07-02 21:37:47 +01:00
Alistair Francis
830880a688 recipes-kernel/linux: Enable NUMA Kconfig from MACHINE_FEATURES
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>
2018-07-02 21:37:47 +01:00
Derek Straka
9f3eca4c80 python*-setuptools: update to 39.2.0
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>
2018-07-02 21:37:47 +01:00
Otavio Salvador
9018bea0d1 mesa: Upgrade 18.1.2 -> 18.1.3
This upgrades mesa to the 18.1.3 stable release.

The changes can be found at:

https://www.mesa3d.org/relnotes/18.1.3.html

(From OE-Core rev: 4acdeb1529f5355b2849556e9f4ef302e35d3b0c)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-02 21:37:47 +01:00
Hongzhi.Song
ec2bb22965 oeqa/runtime: Add testcases for kernel sample
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>
2018-07-02 21:37:47 +01:00
Hongzhi.Song
28a1f5cd95 linux-yocto: Enable kernel-sample features for runtime tests
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>
2018-07-02 21:37:47 +01:00
Richard Purdie
0609f4fee3 xtrans: Fix multilib .pc file conflict
Error: Transaction check error:
  file /usr/share/pkgconfig/xtrans.pc from install of lib32-xtrans-dev-1:1.3.5-r0.core2_32 conflicts with file from package xtrans-dev-1:1.3.5-r0.core2_64

[YOCTO #12511]

(From OE-Core rev: e20da6dec99c4d2e6b803b07f8f79af0c54d1396)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-02 21:37:47 +01:00
Zhang Xiao
69b588ea2a python3: fix file conflict when multilib enabled
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>
2018-07-02 21:37:47 +01:00
Arsalan H. Awan
960ab9ef8c initrdscripts/init-live.sh: fix mounts w/ spaces fail to move to real rootfs
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>
2018-06-29 11:07:45 +01:00
Joshua Watt
44b1fe43b0 bitbake-bblayers/create: Fix layer name generation
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>
2018-06-29 11:07:45 +01:00
Ross Burton
1dec2101f9 libsdl2: fix build race
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>
2018-06-29 11:07:45 +01:00
Ross Burton
4205e87a77 libsoup: fix CVE-2018-12910
(From OE-Core rev: 112683815ed1f63a96e845f264a2fd3390c6d01b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-29 11:07:45 +01:00
Ross Burton
0c09b20036 openssl: disable ccache usage
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>
2018-06-29 11:07:45 +01:00
Ioan-Adrian Ratiu
870fbbd5c0 wic: isoimage-isohybrid: debloat image of redundant rootfs
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>
2018-06-29 11:07:45 +01:00
Ioan-Adrian Ratiu
b591fb889b wic: isoimage-isohybrid: fix UEFI spec breakage
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>
2018-06-29 11:07:44 +01:00
Daniel Díaz
417a9b8baa kmscube: Update to master from 2018-06-17
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>
2018-06-29 11:07:44 +01:00
Richard Purdie
d2d84b1f96 mesa: Fix parallel make race
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>
2018-06-29 11:07:44 +01:00
Yi Zhao
f15587a6f4 gnu-efi: update to 3.0.8
(From OE-Core rev: 91dad340e32271d5db681bae34ed5599310e8703)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-29 11:07:44 +01:00
Yi Zhao
01d7d97d2a debianutils: update to 4.8.6
(From OE-Core rev: 706686da448c10071ba7b3f209127f3d19bebfd5)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-29 11:07:44 +01:00
Yi Zhao
4d412d63b2 libbsd: update to 0.9.1
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>
2018-06-29 11:07:44 +01:00
Yi Zhao
65da09ad88 file: update to 5.33
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>
2018-06-29 11:07:44 +01:00
Richard Purdie
c7c64baa41 bitbake.conf: Allow BBINCLUDED to be unset
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>
2018-06-28 12:26:54 +01:00
Yi Zhao
7cf964d611 maintainers.inc: recipes cleanup
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>
2018-06-28 12:26:54 +01:00
Andre McCurdy
3fcec2cfa2 bitbake.conf: handle cmake -dev files packaging with default rules
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>
2018-06-28 12:26:54 +01:00
Kristi Rifenbark
25d3577a61 ref-manual: Removed the do_rm_work_all Task
(From yocto-docs rev: 74a90f766a38c425a6ceb8a50ad24b23460f9640)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-28 09:22:58 +01:00
Kristi Rifenbark
2a74e8fb94 dev-manual, ref-manual: Documented NO_GENERIC_LICENSE
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>
2018-06-28 09:22:57 +01:00
Scott Rifenbark
293183961e sdk-manual: Updates to "Building an SDK Installer" section.
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>
2018-06-28 09:22:57 +01:00
Scott Rifenbark
3658816dec sdk-manual: Updates to the section for locating SDK installers
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>
2018-06-28 09:22:57 +01:00
Scott Rifenbark
9e5a745d98 sdk-manual: Updates to Depolying and Debugging
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>
2018-06-28 09:22:57 +01:00
Scott Rifenbark
bb02c59e0b sdk-manual: Updates to neon section building the project
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>
2018-06-28 09:22:57 +01:00
Scott Rifenbark
0e870635f7 sdk-manual: Updates to configuring the cross-toolchains section.
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>
2018-06-28 09:22:57 +01:00
Scott Rifenbark
197ff097f7 sdk-manual: Updated Neon creating the project section
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>
2018-06-28 09:22:57 +01:00
Scott Rifenbark
48372e1bcc sdk-manual: Updates to configuring targe options sections
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>
2018-06-28 09:22:57 +01:00
Scott Rifenbark
74f4f81f62 sdk-manual: Updates to configuring the cross compiler options
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>
2018-06-28 09:22:57 +01:00
Scott Rifenbark
736e1d7916 sdk-manual: Fixed section capitalization problem.
(From yocto-docs rev: caf927123da995378116a3653232859992e8f8ec)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-28 09:22:57 +01:00
Scott Rifenbark
fa3643f2f5 sdk-manual: Used ordered list for sequence-dependent items.
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>
2018-06-28 09:22:57 +01:00
Scott Rifenbark
ad26f668c2 sdk-manual: Updates to Neon intalling YP plug-in from latest source
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>
2018-06-28 09:22:57 +01:00
Scott Rifenbark
6ee788433d sdk-manual: Updated the step to install the pre-build YP plug-in
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>
2018-06-28 09:22:57 +01:00
Scott Rifenbark
ec9606df06 sdk-manual: Updated steps to configure Neon Eclipse IDE
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>
2018-06-28 09:22:57 +01:00
Scott Rifenbark
1110ef2a9b sdk-manual: Updated the Neon step to unpack the tarball
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>
2018-06-28 09:22:57 +01:00
Scott Rifenbark
f9bfbc700a sdk-manual: Updates to step to download Neon Eclipse.
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>
2018-06-28 09:22:57 +01:00
Scott Rifenbark
9079fee0d2 sdk-manual: Fixed link in the intro section for Neon
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>
2018-06-28 09:22:57 +01:00
Samuli Piippo
9dce78ba8f glib: remove unnecessary dependency to DISTRO_FEATURES
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>
2018-06-28 09:22:35 +01:00
Andre McCurdy
3e7d26e31a arch-armv7a.inc: default to Thumb2 instruction set for armv7a and above
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>
2018-06-28 09:22:35 +01:00
Olof Johansson
16f060c56f insane.bbclass: Don't let warnings make previous errors non-fatal
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>
2018-06-28 09:22:35 +01:00
Olof Johansson
fed27b0945 insane.bbclass: Make missing license file fatal
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>
2018-06-28 09:22:35 +01:00
Zheng Ruoqin
1d2e5eed40 glibc: fix CVE-2018-11237
glibc: fix CVE-2018-11237

(From OE-Core rev: b9b254da08c1db94ac9ded5f67d7e2e82e3b9be7)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-28 09:22:35 +01:00
Ricardo Salveti
ef143b3f16 gcc-8: define GLIBC_DYNAMIC_LINKER relative to SYSTEMLIBS_DIR on riscv
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>
2018-06-28 09:22:35 +01:00
Ross Burton
aa4f9c3cd6 maintainers: assign systemtap to Victor Kanensky
(From OE-Core rev: ec957a03010949a93fbebd3e7b8b924ebc055ef7)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-28 09:22:35 +01:00
Alex Kiernan
8d33b69ed0 kernel: Set SOURCE_DATE_EPOCH to kernel git timestamp if not set
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>
2018-06-28 09:22:35 +01:00
Alex Kiernan
3c46673100 image: Set COREBASE as the git directory for timestamp
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>
2018-06-28 09:22:35 +01:00
Andre McCurdy
9fa6e7d487 db: drop legacy ARM specific SWP based mutex optimisation
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>
2018-06-28 09:22:35 +01:00
Martin Jansa
3f5b5c59e7 mdadm: fix one more issue when building with gcc8
(From OE-Core rev: 1a0ee6b0f194807b9eac1207c43ba3fae4d1f94c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-27 13:55:22 +01:00
Damien Riegel
cd928d3a98 systemd: escape paths passed to shell
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>
2018-06-27 13:55:22 +01:00
Otavio Salvador
1ad7165f7e util-linux: Enable unshare utility
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>
2018-06-27 13:55:22 +01:00
Armin Kuster
1e36258c5a nss: update to 3.37.1
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>
2018-06-27 13:55:21 +01:00
Khem Raj
0507645e3b findutils: Refresh patches with devtool
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>
2018-06-27 13:55:21 +01:00
Zheng Ruoqin
f7b03cebfe update-rc.d: Add nativesdk
Add nativesdk for update-rc.d.

(From OE-Core rev: 94793d08b0087b7f579b2ca5adae3343864e5f66)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-27 13:55:21 +01:00
Zheng Ruoqin
bca21299ab createrepo-c: Add nativesdk
Add nativesdk for createrepo-c.

(From OE-Core rev: 802c4029f90cee3027b6bc62c5201e8b29f02557)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-27 13:55:21 +01:00
Zheng Ruoqin
c8a038a3e6 libnewt-python: Add nativesdk
Add nativesdk for libnewt-python.

(From OE-Core rev: b992be195821e110691434e4a743b753bc04b3c4)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-27 13:55:21 +01:00
Zheng Ruoqin
3a71b8396a libnewt: Add nativesdk
Add nativesdk for libnewt.

(From OE-Core rev: 6414d23cd23fc6ed2d31a7b55fce1be82a09ae67)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-27 13:55:21 +01:00
Zheng Ruoqin
0ad86147b9 slang: add nativesdk
Add nativesdk for slang.

(From OE-Core rev: 458c835fe05279467ab781aab811498ab80f6904)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-27 13:55:21 +01:00
Christopher Larson
7cb64b9fe1 rng-tools: start earlier in the boot process
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>
2018-06-27 13:55:21 +01:00
Christopher Larson
a060ff2871 rng-tools: drop unnecessary INHIBIT_UPDATERCD_BBCLASS
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>
2018-06-27 13:55:21 +01:00
Christopher Larson
3cda7c73a9 dmidecode: correct docdir
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>
2018-06-27 13:55:21 +01:00
Christopher Larson
653c96d8e1 ovmf: set PARALLEL_MAKE for target as well
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>
2018-06-27 13:55:21 +01:00
Christopher Larson
6ba3abd76f console-tools: add missing flex/bison deps
(From OE-Core rev: 369bbf393438ae4a76ab0d1817463c6f735816ea)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-27 13:55:21 +01:00
Christopher Larson
f4c174a580 pcmciautils: depend on bison-native
pcmciautils needs yacc as well as lex.

(From OE-Core rev: dd5208ae22d47504443785daece4bff6331d8904)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-27 13:55:21 +01:00
Christopher Larson
2fe9a05666 oe.scriptutils.run_editor: ditch the error-prone argument quoting
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>
2018-06-27 13:55:21 +01:00
Ross Burton
ea4318b78e oeqa: add Git mirror test
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>
2018-06-27 13:55:21 +01:00
He Zhe
c568e89c3d cryptodev: Fix build errors with v4.17+
Backport from upstream to update internal syscall function usage.
https://github.com/cryptodev-linux/cryptodev-linux
f60aa08c63fc02780554a0a12180a478ca27d49f

(From OE-Core rev: 270a1e9bcf26a43f5cbdc5b901c4c6f79495311d)

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>
2018-06-27 13:55:21 +01:00
Maxin B. John
b5d848199e piglit: upgrade to latest revision
(From OE-Core rev: 15e876ada73fe8e98284d14dec166007b5767f19)

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>
2018-06-27 13:55:21 +01:00
Chen Qi
de8563dcec avahi: fix error at boot time for avahi-daemon.service
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>
2018-06-27 13:55:21 +01:00
Chen Qi
2b152d3658 avahi: reorganize codes
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>
2018-06-27 13:55:21 +01:00
Maxin B. John
19c22fc08a libepoxy: upgrade 1.5.0 -> 1.5.2
Remove upstreamed patch:
        no-tests.patch

(From OE-Core rev: ec9fcdf14d3e2aefc5af1e53a69f056db6ea83f5)

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>
2018-06-27 13:55:21 +01:00
Maxin B. John
42dde16a5c ofono: upgrade 1.23 -> 1.24
(From OE-Core rev: 84980150ff4a2c27acd1f27123f200e03bee8c4b)

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>
2018-06-27 13:55:21 +01:00
Anders Roxell
851c5c197f iproute2: upgrade to release 4.17
(From OE-Core rev: c93dc7dd18a752d9523e11c6c4dce1908b5970b4)

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-27 13:55:21 +01:00
Lei Maohui
caed345be3 nss: Fix build error for aarch64be.
(From OE-Core rev: 2d9a8a5539342faa1827f4902b1095a9f3448c66)

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-27 13:55:21 +01:00
Denys Dmytriyenko
8ea511ec30 mtd-utils: upgrade 2.0.1 -> 2.0.2
(From OE-Core rev: b2cd021887e12d9f5b8ba48d9be3c2f2119c8e2a)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-27 13:55:21 +01:00
Hannu Lounento
8c81752681 systemd: remove the group 'lock'
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>
2018-06-27 13:55:21 +01:00
Ross Burton
eb45228a00 packagegroup-full-cmdline: remove popt
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>
2018-06-27 13:55:21 +01:00
Ross Burton
e7fba1e655 lsbinitscripts: remove spurious build dependencies
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>
2018-06-27 13:55:21 +01:00
Ross Burton
e4628cd1dc minicom: change SRC_URI to use Debian mirrors
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>
2018-06-27 13:55:21 +01:00
Ross Burton
a947ebce96 mirrors: add Debian snapshot mirror for 2018
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>
2018-06-27 13:55:21 +01:00
Ross Burton
9aba67124f shadow: update SRC_URI now Alioth is down
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>
2018-06-27 13:55:21 +01:00
Ross Burton
40e0f186b9 chrpath: Alioth is dead, use DEBIAN_MIRROR
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>
2018-06-27 13:55:21 +01:00
Oleksandr Kravchuk
fce36d3b94 iso-codes: update to 3.79 and fix SRC_URI
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>
2018-06-27 13:55:21 +01:00
Jeremy Puhlman
5269e832c2 atk: Correct multilib conflict in header.
(From OE-Core rev: 088814ef79015d9df0c8c8bc61219507cfe52ad5)

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-27 13:55:21 +01:00
Jeremy Puhlman
e1ea678e0b qemu: CVE-2018-11806 slirp heap buffer overflow
(From OE-Core rev: c03cef42e079e4ed3d1e4f401722778157158bd6)

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-27 13:55:21 +01:00
Ross Burton
faa46ac06b trace-cmd: remove
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>
2018-06-27 13:55:21 +01:00
Maxin B. John
bfd866d47f libunistring: upgrade to 0.9.10
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>
2018-06-27 13:55:21 +01:00
Alejandro Enedino Hernandez Samaniego
85367c093e maintainers: Assign ownership of newlib and libgloss to Alejandro Hernandez
(From OE-Core rev: e38e56e28f2090e2b8013546f4dd76da8d59f766)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-27 12:22:18 +01:00
Kevin Hao
a5d1288804 meta-yocto-bsp: Workaround the Ethernet malfunction on edgerouter when building with gcc8
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>
2018-06-21 09:59:26 +01:00
He Zhe
93c8c17d58 meta-yocto-bsp: mpc8315e-rdb: Change kernel provider assignment to a weaker one
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>
2018-06-21 09:34:40 +01:00
He Zhe
b2bdf63fa6 meta-yocto-bsp: Let yocto BSPs be able to build with linux-yocto-dev
(From meta-yocto rev: 28f141bc0015664c05c2cd33155fefd58def3b59)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-21 09:34:40 +01:00
Nikolai Merinov
070a06ec53 bitbake: fetch2: Use correct check in parameter handling in uri_replace()
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>
2018-06-21 09:34:40 +01:00
Khem Raj
d3139c29e3 gcc-8: Enable fp arch extention when fpu is available
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>
2018-06-21 09:34:40 +01:00
Richard Purdie
6cf9204d3b oe/types: Allow boolean to accept an existing boolean
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>
2018-06-21 09:34:40 +01:00
Ross Burton
160477e043 maintainers: update Intel owners
(From OE-Core rev: b503b1fe9a71f70726c92f46a71fc49615256fce)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-21 09:34:40 +01:00
Ross Burton
2393054565 mesa: add lost Upstream-Status
(From OE-Core rev: 4972faf1bf20f07a1c1f608bc421c6fd05651594)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-21 09:34:40 +01:00
Richard Purdie
1bbcc5931e bitbake.conf/testimage: Add in compatiblity hacks
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>
2018-06-21 09:34:40 +01:00
Richard Purdie
e8a8359641 subversion: Update HOMEPAGE
(From OE-Core rev: 5da1b9c29afc249d5ff7e9514bf996227dc28c7a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-21 09:34:40 +01:00
Ross Burton
674cd5111b mktemp: remove
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>
2018-06-21 09:34:40 +01:00
Otavio Salvador
2e42ded224 mesa: Update 18.1.1 -> 18.1.2
This includes bug fixes for 18.1.x series. For list of changes check:

https://www.mesa3d.org/relnotes/18.1.2.html

(From OE-Core rev: 0cfc7488d67346bdc3975767366220e65f8de7d7)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-21 09:34:40 +01:00
Otavio Salvador
e3bec3951b linux-firmware: upgrade to d114732 revision
Following changes are applied:

d114732 Merge branch 'for-upstreaming-v1.7.2-vsw' of https://github.com/felix-cavium/linux-firmware
fe4a9d4 brcm: update firmware for bcm4356 pcie
a292181 brcm: update firmware for bcm4354 sdio
be1c535 brcm: update firmware for bcm43362 sdio
5ac5ad5 brcm: update firmware for bcm43340 sdio
ec734a3 brcm: update firmware for bcm43430 sdio
ba51e86 Update Cypress license termination clause
1fa9ce3 amdgpu: update vega10 VCE firmware to version 55.3
9489f55 linux-firmware: Update firmware patch for Intel Bluetooth 7265 (D0)
6be4747 linux-firmware:Update firmware patch for Intel Bluetooth 7265 (D1)
4949d88 Merge branch 'master' of https://github.com/vgarodia/linux-firmware
7602644 qcom: add venus firmware files for v5.2
7518922 Update AMD cpu microcode for family 15h
3f8243c linux-firmware: Update firmware patch for Intel Bluetooth 8260
2c4f7c1 qed: Add firmware 8.37.2.0
0e193ca linux-firmware: liquidio: update vswitch firmware to v1.7.2
2a9b2cf Merge branch 'for-upstreaming-v1.7.2' of https://github.com/felix-cavium/linux-firmware
112d300 linux-firmware: Update firmware file for Intel Bluetooth,8265
629a5e0 linux-firmware: Update firmware patch for Intel Bluetooth 7260 (B5/B6)
7035335 linux-firmware: Update firmware patch for Intel Bluetooth 7260 (B3/B4)
c84bd66 linux-firmware: Update firmware file for Intel Bluetooth,9260
897330f linux-firmware:Update firmware patch for Intel Bluetooth 7265 (D1)
e94352c linux-firmware: Update firmware file for Intel Bluetooth,9560
7710151 linux-firmware: Update AMD cpu microcode
be1e8c5 Merge commit 'a6327c5a5f74c3d11da76d0dcb51c6f5db7f8a35' of https://github.com/Netronome/linux-firmware
86d39f8 amdgpu: sync up polaris12 firmware with 18.10 release
b5320a9 amdgpu: sync up polaris11 firmware with 18.10 release
152c924 amdgpu: sync up polaris10 firmware with 18.10 release
0d672f7 amdgpu: sync up vega10 firmware with 18.10 release
30447b1 amdgpu: sync up carrizo firmware with 18.10 release
dd6f936 amdgpu: sync up topaz firmware with 18.10 release
de9c175 amdgpu: sync up stoney firmware with 18.10 release
5e22609 amdgpu: sync up tonga firmware with 18.10 release
499042e amdgpu: sync up fiji firmware with 18.10 release
1db3eec amdgpu: sync up raven firmware with 18.10 release
a6327c5 nfp: Add symlink for Agilio CX 1x40GbE flower firmware
8b78780 nfp: update Agilio SmartNIC flower firmware to rev AOTC-2.9.A.16
d3b6941 linux-firmware: liquidio: update firmware to v1.7.2

License-Update: copyright years updated and filelist updated.
(From OE-Core rev: 6be8744d1b8ee35eb47acd517cfa29b2a7f455d5)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-21 09:34:40 +01:00
Zhixiong Chi
ac6f587692 findutils: make -delete honour the -ignore_readdir_race option
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>
2018-06-21 09:34:40 +01:00
Armin Kuster
4623554463 xkbcomp: update to 1.4.2
(From OE-Core rev: ed26f8ffaf47dccd6fa0f9f1e0421b856e3555f3)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-21 09:34:40 +01:00
Armin Kuster
dde8c03212 xf86-video-vmware: update to 13.3.0
(From OE-Core rev: cdc00f912f3af54d14f3225801bde7b5d0982bb3)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-21 09:34:40 +01:00
Armin Kuster
e6956ca909 xf86-input-evdev: update 2.10.6
(From OE-Core rev: 61f72d40e44ad7f4629623eb4e0f2bbfe0534d53)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-21 09:34:40 +01:00
Armin Kuster
b1b6677fb4 xkeyboard-config: update to 2.24
(From OE-Core rev: 64a3e9c783bba5e26994a4d5c4a753ee4eb0a142)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-21 09:34:40 +01:00
Richard Purdie
dc4d7bb8f7 subversion: 1.9.7 -> 1.10.0
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>
2018-06-21 09:34:40 +01:00
Richard Purdie
5f12e1841a lttng-modules: upgrade 2.10.5 -> 2.10.6
(From OE-Core rev: 3ba2701c2cb837c4c8590604021c4a6c50bf894b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-21 09:34:40 +01:00
Richard Purdie
fae0a9a439 image/testimage: Rework auto image test execution
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>
2018-06-21 09:34:40 +01:00
Richard Purdie
83d791089f image/image-live: Improve handling of live/iso/hddimg types (drop NOISO/NOHDD)
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>
2018-06-21 09:34:40 +01:00
Richard Purdie
25a2244265 image: Combine all the class handling code into a single section
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>
2018-06-21 09:34:40 +01:00
Richard Purdie
52b11deeb9 rm_work: Simplify looping code
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>
2018-06-21 09:34:40 +01:00
Richard Purdie
79f6fa34ae rm_work: Improve code comments
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>
2018-06-21 09:34:40 +01:00
Richard Purdie
3b78eebd09 rm_work: The do_setscene task has not existed for years
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>
2018-06-21 09:34:40 +01:00
Richard Purdie
80443c42fd rm_work: Stop appending _setscene to do_image_complete_setscene stamps
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>
2018-06-21 09:34:40 +01:00
Richard Purdie
2869b56efa Revert "rm_work: Stop appending _setscene to do_image_complete_setscene stamps"
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>
2018-06-21 09:34:40 +01:00
Ross Burton
dbe48de0a5 xf86-video-intel: update dependencies for the tools
(From OE-Core rev: 76a701e71029fb3685f2939ee9066e7f8653f0c2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-21 09:34:40 +01:00
Ross Burton
33d336626d xf86-video-intel: disable DRI 1, enable DRI 3
DRI 1 is only needed for UMS on i810[1], and modern X servers (1.20 onwards)
don't support DRI 1, so disable DRI 1.

However, DRI 3 isn't new and unreliable anymore, so enable support for it.

Also, now that the *proto packages are all part of xorgproto which is a required
DEPENDS, we don't need to mention it over and over.

[1] https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=359477215092ac1b602ad1e2f17a28963d9224c2

(From OE-Core rev: 329364b3b33b1d769bfa6917a51131c64ef77ddf)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-21 09:34:40 +01:00
Ross Burton
f8df11d290 xf86-video-intel: patch cleanup
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>
2018-06-21 09:34:40 +01:00
Ross Burton
55dfcf5808 xf86-video-omapfb: remove
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>
2018-06-21 09:34:40 +01:00
Ross Burton
ebdaf83e01 xf86-video-omap: remove
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>
2018-06-21 09:34:40 +01:00
Scott Rifenbark
d05a268c50 bitbake: bitbake-user-manual: Added "number_threads" varflag
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>
2018-06-19 17:09:17 +01:00
Khem Raj
53dfa673d7 musl: Upgrade to latest
Changelog:
https://git.musl-libc.org/cgit/musl/log/?qt=range&q=941bd884cc0221d051840ce6d21650339e711863..d5e55ba3320c30310ca1d8938925d5424a652422

(From OE-Core rev: b34e86b4ee13d53f09d558e613d5b66c845edde6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:58 +01:00
Otavio Salvador
b77d478b3d mesa: Update 18.0.2 -> 18.1.1
This includes all bugfixes of 18.0.x series and major new
features. For list of changes check:

https://www.mesa3d.org/relnotes/18.1.0.html
https://www.mesa3d.org/relnotes/18.1.1.html

(From OE-Core rev: 8803a6e31a4b64eb9d3c146567375c98972074df)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:58 +01:00
Chen Qi
559f4951e2 runqemu-ifdown: ensure to clean up TAP
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>
2018-06-18 11:07:58 +01:00
Chen Qi
27061a274f runqemu: add SIGTERM handler to make sure things are cleaned up
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>
2018-06-18 11:07:58 +01:00
Anuj Mittal
ffeb85ab80 bitbake-layers/create: add LAYERSERIES_COMPAT
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>
2018-06-18 11:07:58 +01:00
Alexander Kanavin
4699d29ac2 package_manager.py: rework postinst_intercept failures
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>
2018-06-18 11:07:58 +01:00
Alexander Kanavin
bdfca89b80 image.bbclass, populate_sdk_base.bbclass: make all variants of qemuwrapper-cross available in sysroots
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>
2018-06-18 11:07:58 +01:00
Alexander Kanavin
87631af640 qemuwrapper-cross: enable multilib and nativesdk variants of the script
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>
2018-06-18 11:07:58 +01:00
Alexander Kanavin
e67551e80e udev: only run qemu from postinst scripts if qemu usermode is supported
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>
2018-06-18 11:07:58 +01:00
Alexander Kanavin
4f3b7477a3 gtk-immodules-cache.bbclass: convert cache creation to postinst_intercept mechanism
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>
2018-06-18 11:07:58 +01:00
Andre McCurdy
76b414c3cd gcc-target.inc: configure gcc for armv7ve targets to default to armv7ve
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>
2018-06-18 11:07:58 +01:00
Sascha Silbe
9a855aa403 gobject-introspection: relocate typelib repository for native builds
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>
2018-06-18 11:07:58 +01:00
Stefan Agner
261ee18968 rootfs.py: for dpkg/opkg, don't install postinsts if package management is present
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>
2018-06-18 11:07:58 +01:00
Stefan Agner
a7d0346825 run-postinsts: for dpkg/opkg, do not rely on /etc/*-postinsts
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>
2018-06-18 11:07:58 +01:00
Stefan Agner
dcef944e33 opkg: avoid running postinst scripts twice when using systemd
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>
2018-06-18 11:07:58 +01:00
Anuj Mittal
917282c41b gst-validate: upgrade 1.14.0 -> 1.14.1
Bugfixes only. Please see:

https://gstreamer.freedesktop.org/releases/1.14/#1.14.1

(From OE-Core rev: c4cdfc0507bba6edbdd361fd61a95eef8c76bb87)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:58 +01:00
Anuj Mittal
a5402ba7dd gstreamer1.0-rtsp-server: upgrade 1.14.0 -> 1.14.1
Bugfixes only. Please see:

https://gstreamer.freedesktop.org/releases/1.14/#1.14.1

(From OE-Core rev: 62d0d19173532fe4f6e6c3c87774d5c66cab6bfb)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:58 +01:00
Anuj Mittal
181fefbed2 gstreamer1.0-omx: upgrade 1.14.0 -> 1.14.1
Bugfixes only. Please see:

https://gstreamer.freedesktop.org/releases/1.14/#1.14.1

(From OE-Core rev: bfabe0672fce7ba9309dd9bc9c77f592777834cc)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:58 +01:00
Anuj Mittal
12da5ee245 gstreamer1.0-python: upgrade 1.14.0 -> 1.14.1
Bugfixes only. Please see:

https://gstreamer.freedesktop.org/releases/1.14/#1.14.1

(From OE-Core rev: 8a57c84ca4c66140e35e21b3ed43d29b13990928)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:58 +01:00
Anuj Mittal
9c51f290bc gstreamer1.0-libav: upgrade 1.14.0 -> 1.14.1
Bugfixes only. Please see:

https://gstreamer.freedesktop.org/releases/1.14/#1.14.1

(From OE-Core rev: 77fe0eea15730792ece3474828e83b35cbe2a108)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:58 +01:00
Anuj Mittal
99ba6772ae gstreamer1.0-vaapi: upgrade 1.14.0 -> 1.14.1
Bugfixes only. Please see:

https://gstreamer.freedesktop.org/releases/1.14/#1.14.1

(From OE-Core rev: 6f8330d0142b5ecd59c189938117937f667ef1ce)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:58 +01:00
Anuj Mittal
74f7629cf9 gstreamer1.0-plugins-ugly: upgrade 1.14.0 -> 1.14.1
Bugfixes only. Please see:

https://gstreamer.freedesktop.org/releases/1.14/#1.14.1

(From OE-Core rev: 23d2fbc5d525b01f426a64055ff86ddc4f3c0026)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:58 +01:00
Anuj Mittal
0bdb926225 gstreamer1.0-plugins-bad: upgrade 1.14.0 -> 1.14.1
Bugfixes only. Please see:

https://gstreamer.freedesktop.org/releases/1.14/#1.14.1

(From OE-Core rev: 12ff23f94b43b190ea4f9392f7ba9592362a9c50)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:58 +01:00
Anuj Mittal
f0aa326844 gstreamer1.0-plugins-good: upgrade 1.14.0 -> 1.14.1
Bugfixes only. Please see:

https://gstreamer.freedesktop.org/releases/1.14/#1.14.1

(From OE-Core rev: 308a5be3dcd0373bd09db253c15dc39d39b6e48f)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:58 +01:00
Anuj Mittal
ae6734b1f4 gstreamer1.0-plugins-base: upgrade 1.14.0 -> 1.14.1
Bugfixes only. Please see:

https://gstreamer.freedesktop.org/releases/1.14/#1.14.1

Remove a backport patch and rebase one other patch.

(From OE-Core rev: aea86b875ebf9fbc767d231f87bd33aa9ab18efa)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:58 +01:00
Anuj Mittal
c9bd85d503 gstreamer1.0: upgrade 1.14.0 -> 1.14.1
(From OE-Core rev: 82e2deb1eee76c10cf5f2785a8b0198276e0d854)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:57 +01:00
Anuj Mittal
760127420c gstreamer: enable ptest support
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>
2018-06-18 11:07:57 +01:00
Chen Qi
c7fbb0251b oeqa/runtime/cases/rpm.py: change to use base-passwd-doc
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>
2018-06-18 11:07:57 +01:00
Maxin B. John
fa62280e45 xdg-utils: upgrade to 1.1.3
1.1.2 -> 1.1.3

(From OE-Core rev: 749253756a376428a4e1d89ba7c441c947a8fde7)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:57 +01:00
Maxin B. John
1ddec43ce1 bluez5: upgrade to 5.50
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>
2018-06-18 11:07:57 +01:00
Maxin B. John
9ac26a8773 mc: upgrade to 4.8.21
4.8.20 -> 4.8.21

(From OE-Core rev: e1d16cd44630a14e91ff792f4e97d788bb0f2740)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:57 +01:00
Maxin B. John
54cf04b608 vte: upgrade to 0.52.2
0.52.0 -> 0.52.2

(From OE-Core rev: 6054ac4d5924bb8ebf4df929f4d689764df5f38f)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:57 +01:00
Maxin B. John
10cba7cbe0 gtk+3: upgrade to 3.22.30
3.22.29 -> 3.22.30

(From OE-Core rev: a9625b7b2e061c5be869040af41944908d4642ca)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:57 +01:00
Maxin B. John
84cc647832 gtk-icon-utils-native: upgrade to 3.22.30
3.22.29 -> 3.22.30

(From OE-Core rev: 08a67f0b4eb07a006c30c7ba9a52fc453739e63e)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:57 +01:00
Maxin B. John
bf5f7191e9 cronie: upgrade to 1.5.2
1.5.1 -> 1.5.2

(From OE-Core rev: ed376ab653dd7c0500184c7527085120b51448a9)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:57 +01:00
Maxin B. John
2250ba3d1a libsoup-2.4: upgrade to 2.62.2
2.62.0 -> 2.62.2

(From OE-Core rev: a0717d16d89ffc19c5ed5998a3b876fc023eb086)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:57 +01:00
Maxin B. John
54104d06ee libinput: upgrade to 1.11.0
1.9.4 -> 1.11.0

(From OE-Core rev: c17869ee01c423a089dfaef8895bb7ffec6a7d74)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:57 +01:00
Maxin B. John
cfb203eb22 acpid: upgrade to 2.0.29
2.0.28 -> 2.0.29

(From OE-Core rev: 6dc9857562b87b690ffa4e4d9ff57a4e5de4b4be)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:57 +01:00
Jeremy Puhlman
90d6d998ce Only add uninative and checksum if inherited uninative class
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>
2018-06-18 11:07:57 +01:00
Jeremy Puhlman
cc9a768192 Remove libdir specification from xorgproto .pc files
(From OE-Core rev: 8b8eaac3ec9e6f12d78a0be5fa6300c4e58294b7)

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:57 +01:00
Dennis Menschel
81c5374751 runqemu-extract-sdk: fix whitespace errors
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>
2018-06-18 11:07:57 +01:00
Dennis Menschel
959aae0c2b runqemu-extract-sdk: support tar.xz format
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>
2018-06-18 11:07:57 +01:00
Stefan Stanacar
37ae135dc0 default-versions.inc: use weak assignments to allow overwrite
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>
2018-06-18 11:07:57 +01:00
Jeremy Puhlman
927c2669c5 Multilibize the UPDATERCPN variable
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>
2018-06-18 11:07:57 +01:00
Ross Burton
c76ca2c65b meson: only use lists of commands in cross file if required
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>
2018-06-18 11:07:57 +01:00
Chen Qi
0de9ceeafc dnf: default to disable systemd units
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>
2018-06-18 11:07:57 +01:00
Chen Qi
a77b860335 oeqa/runtime/cases/parselogs.py: ignore a message from watchdog
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>
2018-06-18 11:07:57 +01:00
Chen Qi
d200e3196d watchdog: fix init script for sysvinit
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>
2018-06-18 11:07:57 +01:00
Chen Qi
8aee3cce93 watchdog: make init script start after syslog
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>
2018-06-18 11:07:57 +01:00
Chen Qi
459d92e98d watchdog: disable systemd services by default
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>
2018-06-18 11:07:57 +01:00
Chen Qi
1e703e1b05 watchdog: remove the useless watchdog-conf.patch
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>
2018-06-18 11:07:57 +01:00
Chen Qi
d3f4363223 oeqa/runtime/cases/parselogs.py: extend common_errors list
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>
2018-06-18 11:07:57 +01:00
Mikko Rapeli
ad85e224a4 openssh: add nativesdk support
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>
2018-06-18 11:07:57 +01:00
Damien Riegel
7d3ad1405c populate_sdk_ext.bbclass: fix corebase identification
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>
2018-06-18 11:07:57 +01:00
Andre McCurdy
1ecb384c11 rsync: merge rsync.inc into the rsync recipe
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>
2018-06-18 11:07:57 +01:00
Richard Purdie
44b185581d sqlite3: Merge/simplify CFLAGS
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>
2018-06-18 11:07:57 +01:00
Alex Kiernan
4957ec32c2 kernel-fitimage: Add DTBO support for configurations
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>
2018-06-18 11:07:57 +01:00
Alex Kiernan
430774e459 kernel-fitimage: Allow setting of DTB/DTBO relocation address
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>
2018-06-18 11:07:57 +01:00
Khem Raj
3c3545ec78 gcc-8: Fix spurious mcpu/march conflict for xscale
(From OE-Core rev: 00808545041750698f710ef4e0345c80221373b8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:57 +01:00
Andre McCurdy
21c0898d8e gcc8: drop stray uClibc specific patch
The patch was previously removed for gcc7 but came back with gcc8.

  http://git.openembedded.org/openembedded-core/commit/?id=f71bc69e5b7581c53071055b694bb0dbfe4b4a87

(From OE-Core rev: 5f1b9128bd8693b2309c07cfc2de7b8f77c34da1)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18 11:07:57 +01:00
Leonardo Sandoval
0beae3326a site.conf.sample: document oe-git-proxy required tools for HOSTTOOLS
The script oe-git-proxy uses some tools that may not be included
on HOSTTOOLS, thus add the proper documentation.

(From meta-yocto rev: 737702c175691db679d513a05b1800a14da35c74)

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15 17:57:30 +01:00
Mark Hatle
a0cb1021c0 bitbake: runqueue.py: Initial implementation of per task process limits
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>
2018-06-15 17:57:30 +01:00
Mark Hatle
27101e647f bitbake: runqueue.py: Minor cleanup for RunQueueStats and users
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>
2018-06-15 17:57:30 +01:00
Andre McCurdy
7838294271 bitbake: fetch2: unify the way fetchers determine DL_DIR and FETCHCMD
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>
2018-06-15 17:57:30 +01:00
Ross Burton
b054015357 alsa-tools: rewrite packaging
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>
2018-06-15 17:56:25 +01:00
Andre McCurdy
89cbaca359 rootfs-postcommands.bbclass: drop obsolete sshd UseDNS rootfs postprocessing
The sshd UseDNS option has defaulted to "no" since openssh 6.8p1,
so it's no longer necessary to postprocess the rootfs to force the
option:

  https://www.openssh.com/txt/release-6.8

(From OE-Core rev: 0cb4f11614bd3b17db8e6b3516761193cd45d082)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15 17:56:25 +01:00
Andre McCurdy
05881bbf35 openssh: only create sshd host keys which have been enabled
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>
2018-06-15 17:56:25 +01:00
Andre McCurdy
958fd9e6f9 openssh: sync local ssh_config + sshd_config files with upstream 7.7p1
Changes are mostly related to the removal of support for SSH v.1
protocol, which was dropped from openssh sshd in 7.4p1:

  https://www.openssh.com/txt/release-7.4

(From OE-Core rev: b81389c50e0d191e31f71af82d86bfbb37b83acc)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15 17:56:25 +01:00
Andre McCurdy
6c13d5d8d0 openssh: minor indent cleanup for sshd init script
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>
2018-06-15 17:56:25 +01:00
Andre McCurdy
897971dc73 openssh: drop RCONFLICTS for openssh-keygen
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>
2018-06-15 17:56:24 +01:00
Andre McCurdy
72b5d5bb8e openssh: stop adding -D__FILE_OFFSET_BITS=64 to CFLAGS
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>
2018-06-15 17:56:24 +01:00
Kai Kang
95a8753766 goarch.bbclass: set SECURITY_CFLAGS for mips64
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>
2018-06-15 17:56:24 +01:00
Richard Purdie
69fd500156 gcc-8: enable build-id in gcc-cross-initial
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>
2018-06-15 17:56:24 +01:00
Taras Kondratiuk
78ab901b1e gcc: enable build-id in gcc-cross-initial
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>
2018-06-15 17:56:24 +01:00
Ross Burton
0b8d09b2df libdrm: drop uclibc-specific patch
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>
2018-06-15 17:56:24 +01:00
Robert Yang
e4bacbf94a send-error-report: decode response from server
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>
2018-06-15 17:56:24 +01:00
Naresh Kamboju
951fa62bab ltp: fix CVE-2017-5669 test case
Adding CVE-2017-5669 test fix patch which is accepted upstream in LTP repo.

Ref:
cve-2017-5669: shmat() for 0 (or <PAGESIZE with RND flag) has to fail with REMAPs
https://github.com/linux-test-project/ltp/pull/324

Upstream-Status: Accepted [https://github.com/linux-test-project/ltp/pull/324]
(From OE-Core rev: e356cb7e7bfb407c2f3a1bd0f28b5f14beaff882)

Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15 17:56:24 +01:00
Tim Orling
5b0a32a5a7 liberror-perl: upgrade 0.17025 -> 0.17026
* Upstream release notes:
"
May 23 2018 <shlomif@shlomifish.org> (Shlomi Fish)

  Error.pm #0.17026
  - Convert to Dist-Zilla.
"

* Tested on qemux86: all tests pass

(From OE-Core rev: 8a5d5a8422239d45aba73595ee2a2120adf93c84)

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>
2018-06-15 17:56:24 +01:00
Ross Burton
f706c89ca1 maintainers: add Andrej Valek as busybox maintainer
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>
2018-06-15 17:56:24 +01:00
Armin Kuster
9ca68a7db6 busybox: remove myself as maintainer.
(From OE-Core rev: ee4ebba0b4fc1e5c65509170794f79715bc0652f)

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>
2018-06-15 17:56:24 +01:00
Armin Kuster
50804c0663 popt: update SRC_URI
It appears the rpm5.org has been down for some time, switch to fossies

WARNING: popt-native-1.16-r3 do_fetch: Failed to fetch URL http://rpm5.org/files/popt/popt-1.16.tar.gz, attempting MIRRORS if available

(From OE-Core rev: 347ee336dcc94e6fa4e4788117013615b90abd70)

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>
2018-06-15 17:56:24 +01:00
Ricardo Ribalda Delgado
e4b365eb76 xinetd: Fix systemd service for systemd>237
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>
2018-06-15 17:56:24 +01:00
Anuj Mittal
425af487a3 bitbake-blayers/create: add version for example recipe
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>
2018-06-15 17:56:24 +01:00
Otavio Salvador
2138f47802 uboot-extlinux-config.bbclass: Add baudrate in console bootparam
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>
2018-06-15 17:56:24 +01:00
Dengke Du
05a2e21c82 trace-cmd: add PACKAGECONFIG for audit
(From OE-Core rev: f7d62fff09b033b6eee7251a133d05c24c55769e)

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15 17:56:24 +01:00
Zhixiong Chi
d2efd1f20e glibc: fix CVE-2017-18269 and CVE-2018-11236
Backport two CVE patches from the upstream
https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=summary
commit 5460617d1567657621107d895ee2dd83bc1f88f2
commit cd66c0e584c6d692bc8347b5e72723d02b8a8ada

(From OE-Core rev: 398ac946745bbfad55deb382aeafec0be3298819)

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15 17:56:24 +01:00
Kai Kang
15b3b32407 man-pages: inherit manpages
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>
2018-06-15 17:56:24 +01:00
Kai Kang
8c103176e2 manpages.bbclass: Update RDEPENDS and post install scripts
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>
2018-06-15 17:56:24 +01:00
Andre McCurdy
31a87d4d1d cpio: fix CVE-2016-2037
"The cpio_safer_name_suffix function in util.c in cpio 2.11 allows
remote attackers to cause a denial of service (out-of-bounds write)
via a crafted cpio file."

  https://nvd.nist.gov/vuln/detail/CVE-2016-2037

Note that there appear to be two versions of this fix. The original
patch posted to the bug-cpio mailing list [1] is used by Debian [2],
but apparently causes regression [3]. The patch accepted to the
upstream git repo [4] seems to be the most complete fix.

  [1] https://lists.gnu.org/archive/html/bug-cpio/2016-01/msg00005.html
  [2] https://security-tracker.debian.org/tracker/CVE-2016-2037
  [3] https://www.mail-archive.com/bug-cpio@gnu.org/msg00584.html
  [4] http://git.savannah.gnu.org/cgit/cpio.git/commit/?id=d36ec5f4e93130efb24fb9678aafd88e8070095b

(From OE-Core rev: f170288ac706126e69a504a14d564b2e5c3513e4)

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>
2018-06-15 17:56:24 +01:00
Andre McCurdy
a0a395a8c6 cpio: rely on texinfo.bbclass for texinfo-native dependency
(From OE-Core rev: 7dad119dd0ee82b14a82b2a0b5a89f790e3bc007)

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>
2018-06-15 17:56:24 +01:00
Andre McCurdy
b177ee9244 cpio: move contents of cpio_v2.inc into the cpio recipe
Merge contents of cpio_v2.inc into the only recipe which uses it.

(From OE-Core rev: 162ff3871779d646dadc7e7287f4667641d6e612)

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>
2018-06-15 17:56:24 +01:00
Ross Burton
d7c5ae6ea9 qemu: don't inherit autotools
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>
2018-06-15 17:56:24 +01:00
Ross Burton
041041609e wayland: fix upstream release checking
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>
2018-06-15 17:56:24 +01:00
Joshua Watt
2e81bf1b9d icecc-toolchain: Remove environment setup
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>
2018-06-15 17:56:24 +01:00
Dan McGregor
927db5db26 systemd: allow setting time-epoch to epoch
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>
2018-06-15 17:56:24 +01:00
Nicola Lunghi
72f2b9d6c7 Add license file EPL-2.0
it is from:

https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt

And add 'EPL-2.0' to SRC_DISTRIBUTE_LICENSES.

(From OE-Core rev: f045b3d2c62c70a87277596d20bdb8830faa2963)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15 17:56:24 +01:00
Li Wang
c7786c5bb8 rpcbind: add option to make user able to use fixed port number
Add option "-p" to specify fixed port number

(From OE-Core rev: f6f3f7388cefb2833b4240c2c9ddbf8bd201bc61)

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
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>
2018-06-15 17:56:24 +01:00
Hong Liu
61e587b32d wpa-supplicant: fix the bug for PATCHTOOL = "patch"
When switch PATCHTOOL to patch, applying 'key-replay-cve-multiple.patch' failed:

checking file src/ap/ieee802_11.c
checking file src/ap/wpa_auth.c
checking file src/ap/wpa_auth.h
checking file src/ap/wpa_auth_ft.c
checking file src/ap/wpa_auth_i.h
checking file src/common/wpa_common.h
checking file src/rsn_supp/wpa.c
checking file src/rsn_supp/wpa_i.h
checking file src/rsn_supp/wpa.c
Hunk #1 FAILED at 709.
Hunk #2 FAILED at 757.
Hunk #3 succeeded at 840 (offset -12 lines).
Hunk #4 FAILED at 868.
Hunk #5 FAILED at 900.
Hunk #6 FAILED at 924.
Hunk #7 succeeded at 1536 (offset -38 lines).
Hunk #8 FAILED at 2386.
Hunk #9 FAILED at 2920.
Hunk #10 succeeded at 2940 (offset -46 lines).
Hunk #11 FAILED at 2998.
8 out of 11 hunks FAILED
checking file src/rsn_supp/wpa_i.h
Hunk #1 FAILED at 32.
1 out of 1 hunk FAILED
checking file src/common/wpa_common.h
Hunk #1 succeeded at 215 with fuzz 1.
checking file src/rsn_supp/wpa.c
checking file src/rsn_supp/wpa_i.h
checking file src/ap/wpa_auth.c
Hunk #1 succeeded at 1898 (offset -3 lines).
Hunk #2 succeeded at 2470 (offset -3 lines).
checking file src/rsn_supp/tdls.c
checking file wpa_supplicant/wnm_sta.c
checking file src/rsn_supp/wpa.c
Hunk #1 succeeded at 2378 (offset -62 lines).
checking file src/rsn_supp/wpa_ft.c
checking file src/rsn_supp/wpa_i.h
Hunk #1 succeeded at 123 (offset -5 lines).

So split the wpa-supplicant/key-replay-cve-multiple to 8 patches.

(From OE-Core rev: 4e9bc513c22b9a52c48588ef276e2ab7f7781526)

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15 17:56:24 +01:00
Changqing Li
c8a1e372f3 nettle: do the multilib_header magic for nettle-stdint.h and version.h
add multilib support for this receipe, or it will conflicts in mutlilib setting

(From OE-Core rev: ea618e061fa190e4ae647da6466d074b49940395)

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>
2018-06-15 17:56:24 +01:00
Jens Rehsack
a34850f703 cpan_build.bbclass: tell Module::Build the replacement
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>
2018-06-15 17:56:24 +01:00
Ross Burton
73daeda22d cmake: fix Upstream-Status tag spelling
(From OE-Core rev: a734431a7ce36a679dff81822c2fba6f07a09e88)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15 17:56:24 +01:00
Ross Burton
bd0d7c7ed5 attr/acl: disable make clean
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>
2018-06-15 17:56:24 +01:00
Ross Burton
0e4d2a7ce5 glib: add PACKAGECONFIG for libelf
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>
2018-06-15 17:56:24 +01:00
Chen Qi
ae49d379b7 sysklogd: fix typo in RCONFLICTS
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>
2018-06-15 17:56:24 +01:00
Mingli Yu
b4a4cf6122 boost: Improve reproducibility
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>
2018-06-15 17:56:24 +01:00
S. Lockwood-Childs
086610faf0 sqlite3: consistent set of features for nativesdk
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>
2018-06-15 17:56:24 +01:00
S. Lockwood-Childs
5f3a3d4063 coreutils: fix nativesdk install failure
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>
2018-06-15 17:56:24 +01:00
Mingli Yu
834b24d507 ltp: set -fomit-frame-pointer explicitly for x86-64
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>
2018-06-15 17:56:24 +01:00
Alejandro Enedino Hernandez Samaniego
073dbcedf5 tclibc-newlib: Adds a new TCLIBC variant to build with newlib as C library
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>
2018-06-15 17:56:24 +01:00
Alejandro Enedino Hernandez Samaniego
361f7a902d insane.bbclass: Adds powerpc to elf headers machine dictionary
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>
2018-06-15 17:56:24 +01:00
Alejandro Enedino Hernandez Samaniego
ae5e33ddc4 newlib: Adds newlib and libgloss recipes
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>
2018-06-15 17:56:24 +01:00
Richard Purdie
b6dbfabbad yocto-uninative: Update to version 2.1
This fixes issues with fontforge-native.

(From OE-Core rev: cec85a6fcadc24fd266fa34631cb095e0a773c1a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15 17:56:24 +01:00
Scott Rifenbark
73e10835b7 sdk-manual: Updated the note in Eclipse configuration section
Using consistent wording.

(From yocto-docs rev: fad0230d99259aa94ef3d8db30bc81394b8da4ac)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15 11:26:47 +01:00
Scott Rifenbark
6e8b019531 sdk-manual: Updated step to install Oxygen
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>
2018-06-15 11:26:47 +01:00
Scott Rifenbark
ad675cd6a6 sdk-manual: Removed superfluous text from Step 5 of the flow.
(From yocto-docs rev: 3df35b5f313da7d2394c75ac6924f1add7f2af71)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15 11:26:47 +01:00
Scott Rifenbark
190702642b sdk-manual: Updated workflow step on getting the image
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>
2018-06-15 11:26:47 +01:00
Scott Rifenbark
79081fa07c sdk-manual: Updates to Eclipse Workflow section
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>
2018-06-15 11:26:47 +01:00
Scott Rifenbark
6caba4afb8 sdk-manual: Small edits correcting bits and pieces in Eclipse chapter.
(From yocto-docs rev: 3ef3a4c7f424d0f16ab3e8093372210fa2c58be0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15 11:26:47 +01:00
Scott Rifenbark
052c49367b sdk-manual: Edits to the Oxygen section
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>
2018-06-15 11:26:47 +01:00
Scott Rifenbark
402b7ce9df sdk-manual: Updated the "Makefile-Based Projects" section.
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>
2018-06-15 11:26:47 +01:00
Scott Rifenbark
0f3aece52d sdk-manual: Created a new Makefile flow diagram
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>
2018-06-15 11:26:47 +01:00
Scott Rifenbark
0a764481ed sdk-manual: Review edits to the "Autotools-Based Projects" section.
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>
2018-06-15 11:26:47 +01:00
Scott Rifenbark
b15903d61b sdk-manual: Updates to the "Makefile-Based Projects" section.
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>
2018-06-15 11:26:47 +01:00
Scott Rifenbark
e8127d4fc4 sdk-manual: Added cross-reference to Makefile section. Fixed syntax
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>
2018-06-15 11:26:47 +01:00
Scott Rifenbark
31b2696c90 sdk-manual, mega-manual: Added Autotools flow figure
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>
2018-06-15 11:26:47 +01:00
Scott Rifenbark
61a7ab26ee sdk-manual: Updated the Autotools workflow example.
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
9da094bb75 sdk-manual: Changed "configure.ac" file in the autotools-based example
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
8ac16cc0a4 sdk-manual: Updated link to variables set for cross-toolchain script
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
15728cd041 sdk-manual: Updated formatting for "configure" script
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
ca3f701a98 sdk-manual: Replaced "configure.in" with "configure.ac"
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
5b804813fc sdk-manual: Added cross-referencing to "Autotools-Based Projects"
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
0f622b6d64 sdk-manual: Edits to "Running the SDK Environment Setup Script"
Minor edits to this section.

(From yocto-docs rev: 68a6e4cac6cecd14e87d4f05f558d79165761d4d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
3a6a32df97 sdk-manual: Edits to standard SDK intro and install sections
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
4d586da108 sdk-manual: Edits to "Creating a Derivative SDK With Additional Components"
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
bf2a7a31ca sdk-manual: Edits to "Installing Additional Items Into the Extensible SDK"
Minor edits.

(From yocto-docs rev: 3ed2c1026bf03feb03001e00daec55b94d7dc35b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
73d00d17fb sdk-manual: Edits to "Restoring the Target Device to its Original State"
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
d527a5f7ab sdk-manual: Edits to "Packaging" section.
Edits to improve writing.

(From yocto-docs rev: 04d2df37ad718508c7f78a204d0d5e5fff431ce8)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
c0d1ff66ee sdk-manual: Edits to "Sharing Files Between Recipes"
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
130038674a sdk-manual: Edits to "Finding Logs and Work Files"
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
815d829600 sdk-manual: Added links to sample tasks to "Working With Recipes"
(From yocto-docs rev: 6dd62a3f97dc4e70a532faae0055ef7937f40afc)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
6068e017e8 sdk-manual: Edits to "Adding Node.js Modules"
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
54e3cdcc27 sdk-manual: Edits to "Adding Native Tools"
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
54609b038f sdk-manual: Edits to "Adding Makefile-Only Software"
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
73c7e9d229 sdk-manual: Edits to "License Detection"
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
290809334a sdk-manual: Edits to "Dependency Detection and Mapping"
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
5a9e1870db sdk-manual: Edits to "Name and Version"
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
34f381ee26 sdk-manual: Edits to "A Closer look at devtool add" section.
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
11e0ec39fd sdk-manual, mega-manual: Updated devtool add and upgrade figures
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
779f47897d sdk-manual: Changes to the devtool upgrade section.
Edits to improve this section.

(From yocto-docs rev: f062882b3b3cf9c454466fa9d243284d97592bdc)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
d0373e0834 sdk-manual, mega-manual: Updated the devtool upgrade flow diagram.
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
f633c4294b sdk-manual: Edits to the devtool add workflow section.
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>
2018-06-15 11:26:46 +01:00
Scott Rifenbark
ef0fdb9e27 sdk-manual, mega-manual: Updated devtool add flow diagram
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>
2018-06-15 11:26:46 +01:00
Richard Purdie
ddbd7b0cd6 meta-yocto-bsp: bump to the latest linux stable kernel for edgerouter/beaglebone
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>
2018-06-12 23:34:40 +01:00
Kevin Hao
59c723fa96 meta-yocto-bsp: bump to the latest linux stable kernel for the non-x86 BSPs
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>
2018-06-12 23:34:40 +01:00
Anuj Mittal
b1f8f2b370 linux-yocto: update genericx86* SRCREVs for 4.15
Bump to kernel release 4.15.18.

(From meta-yocto rev: 64e3554d2bdaf037fc7ed86ace468ff2f75a698b)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-12 23:34:40 +01:00
Anuj Mittal
90235c156f linux-yocto: update genericx86* SRCREVs for 4.14
Bump to kernel release 4.14.48.

(From meta-yocto rev: f37cf4dbcadabbbc8445b5c51187a59c2e64d3ec)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-12 23:34:39 +01:00
Anuj Mittal
7e9425de94 linux-yocto: update genericx86* SRCREVs for 4.12
Bump to kernel release 4.12.24.

(From meta-yocto rev: a2960aacf413837c168e303a89b80fdbb12d3263)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-12 23:34:39 +01:00
Bruce Ashfield
5da0114973 linux-yocto/4.14/4.15: fix gcc8 mips compilation issues
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>
2018-06-12 23:34:24 +01:00
Bruce Ashfield
0c66724b71 linux-yocto/4.15: crypto: aes-generic - fix aes-generic regression on powerpc
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>
2018-06-12 23:34:24 +01:00
Martin Jansa
982b07cd0c systemd: fix build with gcc8
(From OE-Core rev: b0fdaedc6e9c233f357022b0fb706cb19757f5c4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-12 23:34:24 +01:00
Martin Jansa
ace62c1711 gcc-sanitizers: don't use thumb for armv[45]
* otherwise it fails with:
  sanitizer_linux.s:5749: Error: lo register required -- `ldr ip,[sp],#8'

@ 1538 "../../../../../../../../../work-shared/gcc-8.1.0-r0/gcc-8.1.0/libsanitizer/sanitizer_common/sanitizer_linux.cc" 1
        swi 0x0
cmp r0, #0
bne 1f
ldr r0, [sp, #4]
ldr ip, [sp], #8
blx ip
mov r7, #1
swi 0x0
1:
mov r0, r0

(From OE-Core rev: a292fdf3df51d97fbb78d647cdd7c05125614305)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-12 23:34:24 +01:00
Khem Raj
fddc539217 gcc-runtime_8.1.bb: disable ifuncs in libatomic for arm arch
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>
2018-06-12 23:34:24 +01:00
Khem Raj
bc13d78e3d tcmode-default: Switch to gcc 8.x
(From OE-Core rev: 2fae98cdd2394295d57d5b116e2ee4a14fccb761)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-12 23:34:24 +01:00
Khem Raj
1aca0b8af6 gcc-8: Enabled mspe options for rs6000 ppc backend
(From OE-Core rev: 4677ed76205c8b8d7ac542b442d5bab8fd52539c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-12 23:34:24 +01:00
Khem Raj
12094ce1bf gcc-8: Disable float128 for ppc/musl
(From OE-Core rev: 0685753ed967fb87b0ab4e96fe4d27ebe2e97eb3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-12 23:34:24 +01:00
Khem Raj
63f364fb2a gcc-8: Disable libssp for non mingw targets
(From OE-Core rev: 2c5d24c92b5bd6855e808ff67ab4f51aaa95923a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-12 23:34:24 +01:00
Khem Raj
2c54aee6c1 gcc-8: Add recipes for 8.1 release
(From OE-Core rev: c26156898ca83c96fea100ced9bc1f3d5b974bda)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-12 23:34:24 +01:00
Khem Raj
52a71a394e tune-mips-74k.inc: add tune file for 74kc mips
(From OE-Core rev: ee054e12f6d4c4cbda66ebbc7d09ecad964a84d1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-12 23:34:24 +01:00
Bruce Ashfield
33b8fa0db7 linux-yocto/4.14: update to v4.14.48
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>
2018-06-12 23:34:24 +01:00
Bruce Ashfield
ea38e80ee4 linux-yocto: add kernel sample configuration fragment
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>
2018-06-12 23:34:24 +01:00
Bruce Ashfield
012baeb797 linux-yocto/4.12: gcc8 + platform support
Integrating the following changes to fix gcc8 issues, add perf support
for new platforms, and misc bug fixes:

   7e7ac3f0fda9 perf vendor events intel: Update Goldmont events to V12
   0a384f4a74bb perf intel-pt: Always set no branch for dummy event
   d55c0eebc474 perf intel-pt: Set no_aux_samples for the tracking event
   1f0b8b1b621f perf vendor events: Add Goldmont Plus V1 event file
   6b230bd7967e objtool, perf: Fix GCC 8 -Wrestrict error
   2eb720eab978 tools/lib/subcmd/pager.c: do not alias select() params
   16818d5811b1 clocksource/drivers/arm_arch_timer: Fix mem frame loop initialization
   0924074f300a of: dynamic: fix memory leak related to properties of __of_node_dup
   f6579a9e6a8e debugobjects: Make kmemleak ignore debug objects
   9184d19fa9ba intel-socfpga: dts: improve qspi node for rsu feature
   68846ecd1d27 intel-socfpga: dts: add rsu node to enable rsu driver
   9f174f4e95f7 FogBugz #514234: arm64: dts: stratix10: Add PL330 DMA to Stratix10 dts
   8a97ef8580e8 FogBugz #554835-3: Intel RSU binding documentation
   c850e5570554 FogBugz #554835-1: Add Stratix 10 SoC RSU Driver
   e030a1b198b4 FogBugz #549288-4: dts: add Stratix10 sdram ecc
   c25a3bffb901 FogBugz #549288-3: edac: Add support for Stratix10 SDRAM EDAC
   64430c11c84b FogBugz #549288-2: Add Stratix10 ECC Manager binding
   c34e0d995e50 FogBugz #549288-1: misc: Stratix10 Protected register access defines
   ac8afaba8d13 mtd: spi-nor: cadence-quadspi: Fix page fault kernel panic
   16431863e036 FogBugz #554812: fpga: stratix10: unitialized data
   1ee99e139667 arm64: dts: stratix10: Change pad skew values for EMAC0 PHY driver
   3269b14acb76 FogBugz #251539-2: dts: Add Altera Quad SPI Driver Device Tree Binding
   99a5d81c3ea7 FogBugz #251539-1: Add Altera Quad SPI Driver

(From OE-Core rev: 37410a8ff156530dabdfdc7be4cd575768fa688d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-12 23:34:24 +01:00
Bruce Ashfield
c10fe58682 kern-tools: avoid merge_config concatenation issues
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>
2018-06-12 23:34:24 +01:00
Bruce Ashfield
81e8a52e8e kernel: specify dependencies for compilation for config tasks
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>
2018-06-12 23:34:24 +01:00
Bruce Ashfield
e52755c23c linux-yocto/4.12: fix ppc cryptodev build
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>
2018-06-12 23:34:24 +01:00
Bruce Ashfield
ddd6c6bca8 linux-yocto/4.14/4.15: gcc8 fixes
Integrating Khem's gcc8 kernel patches so that 4.14 and 4.15 can build
with the gcc8 compiler updates.

  51273ff79f4a tools/lib/subcmd/pager.c: do not alias select() params
  b632c05a6263 objtool, perf: Fix GCC 8 -Wrestrict error
  20bc5eb24ac1 mips64: Disable attribute-alias warning
  975042cc72dd mips: Disable attribute-alias warnings
  8632f470f02c powerpc/ptrace: Disable array-bounds warning with gcc8
  59e401ffeda4 powerpc: Disable attribute-alias warnings from gcc8

(From OE-Core rev: eed723d09992c9b89fcb2760f8c95f69c201aa3c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-12 23:34:24 +01:00
Bruce Ashfield
11e32e4a50 linux-yocto/4.15: update to v4.15.18
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>
2018-06-12 23:34:24 +01:00
Bruce Ashfield
af7c232819 linux-yocto/4.14: update to v4.14.30
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>
2018-06-12 23:34:24 +01:00
Ross Burton
fe6e623144 local.conf.sample: update libsdl mentions to libsdl2
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>
2018-06-07 08:53:19 +01:00
Matt Hoosier
8ed0441be0 bitbake: fetch/gitsm: avoid live submodule fetching during unpack()
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>
2018-06-07 08:53:19 +01:00
Richard Purdie
e1e0c06b5d rpm: Fix patch to ensure variables aren't used uninitialised
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>
2018-06-07 08:52:55 +01:00
Richard Purdie
c1d72abe5e oeqa/runtime/dnf: Fix test error when static libs are enabled
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>
2018-06-07 08:52:55 +01:00
Ross Burton
21a9066b1b shared-mime-info: fix license statement
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>
2018-06-07 08:52:55 +01:00
Daniel Díaz
6c19e22c13 ltp: bump to release 20180515
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>
2018-06-07 08:52:55 +01:00
Martin Kelly
e14171cc59 meson: enable nativesdk
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>
2018-06-07 08:52:55 +01:00
Martin Kelly
2a73be1b0e meson: handle exe wrappers
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>
2018-06-07 08:52:55 +01:00
Martin Kelly
aa497e057b toolchain-scripts: pass env to post-relocate
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>
2018-06-07 08:52:55 +01:00
Martin Kelly
27f593ebd2 toolchain-scripts: print post-relocate error
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>
2018-06-07 08:52:55 +01:00
Martin Kelly
d7bd3d6575 toolchain-scripts: allow non-sh post-relocate
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>
2018-06-07 08:52:55 +01:00
Martin Kelly
fa415be194 toolchain-scripts: retab file
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>
2018-06-07 08:52:55 +01:00
Andre McCurdy
7176d4d599 dropbear: drop obsolete patch 0004-fix-2kb-keys.patch
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>
2018-06-07 08:52:55 +01:00
Andre McCurdy
e68613e0b8 openssh: drop sshd support for DSA host keys
DSA keys have been deprecated for some time:

  https://www.gentoo.org/support/news-items/2015-08-13-openssh-weak-keys.html

(From OE-Core rev: e6a1c8c4ef4a1d2add6a7492d43027c4c0682300)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-07 08:52:55 +01:00
Armin Kuster
dd475f1d04 cmake: fix build issue with boost 1.67.0
this fixes a build issue with boost 1.67.0

[Yocto 12762]

(From OE-Core rev: 04f367e27e66105466611bee4d63abc78e0a4725)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-07 08:52:55 +01:00
Armin Kuster
5dbcf72c64 cmake: fix build issue with boost 1.66.0
this fixes a build issue with boost 1.66.0

[Yocto 12762]

(From OE-Core rev: 2ff3d3296deacb9af4d9ad0b92cd7ba5f94b7182)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-07 08:52:55 +01:00
Alexander Kanavin
74e03045a0 maintainers.inc: replace Alex Kanavin's @intel email address with a personal one
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>
2018-06-07 08:52:55 +01:00
Alexander Kanavin
97af751d9f meta: replace Alex Kanavin's @intel email address with a personal one
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>
2018-06-07 08:52:55 +01:00
Alexander Kanavin
ec840e6638 oeqa: replace Alex Kanavin's @intel email address with a personal one
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>
2018-06-07 08:52:55 +01:00
Ross Burton
5c5be2f0e8 packagegroup-self-hosted: remove libsdl
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>
2018-06-07 08:52:55 +01:00
Martin Jansa
e8b2fba751 qemu: use sdl2 instead of sdl1
* 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>
2018-06-07 08:52:55 +01:00
Martin Jansa
484b48b814 qemu: add PACKAGECONFIG for virglrenderer, usb-redir and spice
* 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>
2018-06-07 08:52:55 +01:00
Martin Jansa
f8ec8e89bb qemu: upgrade to 2.12.0
* 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>
2018-06-07 08:52:55 +01:00
Richard Purdie
1c7ad49bfd bitbake: bitbake: Update version to post release 1.39
(Bitbake rev: a6a4dd35e3fd112b9fac6fcefe61253a61b8aa2c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-06 13:35:15 +01:00
Peter Kjellerstedt
90a29096f4 oe-pkgdata-util: package-info: Re-add support for the --extra option
Commit 64d3ce83 broke the --extra option.

(From OE-Core rev: cd195bdf5dd2c8ff03c58a63dcabe88b142d2a9c)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-04 15:15:00 +01:00
Peter Kjellerstedt
3e9b485ba9 oe-pkgdata-util: Make parse_pkgdatafile() support package suffixed vars
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>
2018-06-04 15:15:00 +01:00
Andre McCurdy
762a3f229c dropbear: drop run time detection of read-only rootfs
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>
2018-06-04 15:15:00 +01:00
Peter Kjellerstedt
b7f6638962 rpm: Restore performance in Docker containers
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>
2018-06-04 15:15:00 +01:00
Peter Kjellerstedt
9a773747c2 Revert "rpm: add a patch to help with Docker performance issues"
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>
2018-06-04 15:15:00 +01:00
Andrej Valek
5fa5b47716 busybox: Fix lzma segfaults
- 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>
2018-06-04 15:15:00 +01:00
Andre McCurdy
cbfb14fe10 bitbake.conf: drop redundant -nv from FETCHCMD_wget
Since the addition of progress reporting, the wget fetcher will
over-ride -nv by unconditionally appending "--progress=dot -v" to the
final wget command line.

  http://git.openembedded.org/bitbake/commit/?id=4027649f422ee64b1c4e1ad8d48ac295050afbff

(From OE-Core rev: 69f4f4aa56291e1e507a62d45834df65d699ec51)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-04 15:15:00 +01:00
Chen Qi
6db8b6a777 oeqa/core/target/ssh.py: increase maximum read bytes from 1024 to 4096
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>
2018-06-04 15:15:00 +01:00
Chen Qi
272ef77429 testimage.bbclass: move codes into testimage_main
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>
2018-06-04 15:15:00 +01:00
Chen Qi
a9ddcc4772 bitbake.conf: fix HOSTTOOLS setting related to image testing
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>
2018-06-04 15:15:00 +01:00
Chen Qi
7937e471b6 oeqa/runtime/cases/multilib.py: fix test_file_connman skipping logic
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>
2018-06-04 15:15:00 +01:00
Chen Qi
ce57973fd9 oeqa/runtime/cases/multilib.py: skip if needed packages are not available
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>
2018-06-04 15:15:00 +01:00
Chen Qi
b60954ca5f oeqa/runtime/cases/rpm.py: skip if rpm not available
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>
2018-06-04 15:15:00 +01:00
Chen Qi
395108faac oeqa/core/decorator/data.py: fix skipIfNotInDataVar
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>
2018-06-04 15:15:00 +01:00
Chen Qi
d478a26e5f testimage.bbclass: also check 'auto' to create rpm index
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>
2018-06-04 15:15:00 +01:00
Chen Qi
0a5cccfa24 oeqa/runtime/cases/dnf_runtime.py: skip test if PACKAGE_FEED_URIS is not set
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>
2018-06-04 15:15:00 +01:00
Chen Qi
93bbc30fb9 oeqa/core/decorator/__init__.py: use 'cls' instead of 'obj'
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>
2018-06-04 15:15:00 +01:00
Chen Qi
a233b59fb0 oeqa/core/decorator/__init__.py: set metaclass to ABCMeta
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>
2018-06-04 15:15:00 +01:00
Chen Qi
4afe2567b7 testimage.bbclass: fix behavior of empty TEST_SUITES
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>
2018-06-04 15:15:00 +01:00
Chen Qi
79b6e96682 oeqa/core/loader.py: support the 'auto' keyword
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>
2018-06-04 15:15:00 +01:00
Anuj Mittal
5d9d5b869d wic/bootimg-efi.py: recognize initrd when using grub
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>
2018-06-04 15:15:00 +01:00
Anuj Mittal
ccd8044f33 wic/engine.py: improve error message when required tools are missing
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>
2018-06-04 15:15:00 +01:00
Martin Jansa
dfc9dd521b qemu: refresh patches with devtool and make them applicable with git
(From OE-Core rev: e8fb42f3a54e8b8d68ae216a48534fa745ea99f1)

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>
2018-06-04 15:15:00 +01:00
Armin Kuster
f1eb044403 xf86-input-mouse: add fix for buld fix do for 1.20 xorg-server update
../../xf86-input-mouse-1.9.2/src/mouse.c:824:5: error: implicit declaration of function 'xf86GetOS'; did you mean 'xf86SetDpi'? [-Werror=implicit-function-declaration]
|      xf86GetOS(&osname, NULL, NULL, NULL);
|      ^~~~~~~~~

(From OE-Core rev: 88ce0df3b769f1932b4a9d44e39bf6551c802d9b)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-04 15:15:00 +01:00
Martin Kelly
5e12d1f55f nativesdk-python*: suppress user site dirs
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>
2018-06-04 15:15:00 +01:00
Martin Kelly
34bb960160 meson.bbclass: refactor native override
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>
2018-06-04 15:15:00 +01:00
Anuj Mittal
9481289419 qemux86-directdisk.wks: remove uvesafb.mode_option
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>
2018-06-04 15:15:00 +01:00
Anuj Mittal
693638fd5d qemux86*: change default wic wks to qemux86-directdisk
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>
2018-06-04 15:15:00 +01:00
Fathi Boudra
ae11216d9e ltp: build open posix test suite
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>
2018-06-04 15:15:00 +01:00
Andre McCurdy
c0e328683a bitbake.conf: fix minor typo in comments
(From OE-Core rev: afcf5a6a8eb43c2832928e825566f951705e5529)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-04 15:15:00 +01:00
Andre McCurdy
0a2f61a0d4 bitbake.conf: include ASNEEDED in TARGET_LDFLAGS directly
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>
2018-06-04 15:15:00 +01:00
Andre McCurdy
77a0b5e9a4 bitbake.conf: drop obsolete commented out value for TARGET_LDFLAGS
The commented out value for TARGET_LDFLAGS dates back to the switch
to sysroot enabled toolchains in 2007 and is now obsolete.

  http://git.openembedded.org/openembedded-core/commit/?id=ba2e1f4d933c37b372d6749d64614f2510ee9d7b

(From OE-Core rev: d47245b038d27aa5228052af71d973b9ac1c3a46)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-04 15:14:59 +01:00
Andre McCurdy
b18448902f as-needed.inc: drop ASNEEDED over-ride for openobex
The over-ride has been merged into the openobex recipe in meta-oe:

  http://git.openembedded.org/meta-openembedded/commit/?id=e59a9738c24ccaeac91740d1f67c607d4ee2a217

(From OE-Core rev: 8b207c2445d8c192735e3652c820cb0f5c599c49)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-04 15:14:59 +01:00
Andre McCurdy
0d65601f1a distcc: move ASNEEDED over-ride into the distcc recipe
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>
2018-06-04 15:14:59 +01:00
Robert Yang
072b1ce84d runqemu-extract-sdk: allow install debugfs on rootfs
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>
2018-06-04 15:14:59 +01:00
Catalin Enache
caffc37709 init-install: add timeout for legacy grub
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>
2018-06-04 15:14:59 +01:00
Liwei Song
1afce9d00f linux-firmware: package rtl8168 firmware
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>
2018-06-04 15:14:59 +01:00
Robert Yang
c3eb7b4e9e site/powerpc64-linux: add cvs_cv_func_printf_ptr
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>
2018-06-04 15:14:59 +01:00
Peter Kjellerstedt
bc6c8a0794 poky: Switch to post release name/version
(From meta-yocto rev: f770608c8377c3d33f96064864820fc8fbc3c039)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-03 16:30:43 +01:00
Tzu Hsiang Lin
719d068bde bitbake: fetch2: fix import error for Python 3.6.5
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>
2018-05-29 21:07:46 +01:00
Ovidiu Panait
3b0e1e2275 nativesdk-rpm: Add wrappers for nativesdk support
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>
2018-05-29 21:07:17 +01:00
Yue Tao
c9fc9110be initscripts: Avoid starting rpcbind daemon twice
Check the status before start it to avoid duplicates.

(From OE-Core rev: ca3ef7d1ef9b1f0dc4d3170b1ad20d5f725872a1)

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-29 21:07:17 +01:00
yadi.hu@windriver.com
5256f95d55 shadow: fix pam configs for chpasswd, newusers
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>
2018-05-29 21:07:17 +01:00
Mingli Yu
cad89370d8 at: add libselinux to PACKAGECONFIG
* add libselinux to PACKAGECONFIG for at

(From OE-Core rev: 978309270afc0e3d3fd9c46f68ddf28db99d7416)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-29 21:07:17 +01:00
Li Wang
a7cfa2ee05 gawk: fix command location in ptest script
* 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>
2018-05-29 21:07:17 +01:00
Kai Kang
ed706179de mesa: fix installed-vs-shipped error
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>
2018-05-29 21:07:17 +01:00
Kai Kang
b8483e8bc8 shadow: update ownership and permission of /var/spool/mail
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>
2018-05-29 21:07:17 +01:00
Khem Raj
b9ea2c11be rpcsvc-proto: Update to 1.4
Bring in an important fix
https://bugzilla.redhat.com/show_bug.cgi?id=1559181

(From OE-Core rev: 7bbd094a2380c3fe237ccc1f7099b0b3e4760f7e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-29 21:07:17 +01:00
Khem Raj
43f7ea8d0d systemd: Define basename() for musl
(From OE-Core rev: 167098cdd875a02221ff6d15f443c02c1bcdc33f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-29 21:07:17 +01:00
Khem Raj
bed11ee92a systemd: Fix build with gcc8
(From OE-Core rev: 6a3805f06cd7832d70d5b652ec1be612f5f027e6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-29 21:07:17 +01:00
Martin Jansa
f3515d2d25 perf: fix build with kernel older than 4.8
* 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>
2018-05-29 21:07:16 +01:00
Hannu Lounento
2a092f4aec i2c-tools: use update-alternatives
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>
2018-05-29 21:07:16 +01:00
Alexander Kanavin
ce12d183bb package_manager.py: get rid of ROOTFS_RPM_DEBUG in RpmPM()
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>
2018-05-29 21:07:16 +01:00
Alexander Kanavin
67e74b25d8 btrfs-tools: upgrade 4.15.1 -> 4.16.1
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>
2018-05-29 21:07:16 +01:00
Changhyeok Bae
13b461c4f8 iproute2: upgrade 4.15.0 -> 4.16.0
(From OE-Core rev: 0d5fa036885ad6320fdd79399af463eed8aa0750)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-29 21:07:16 +01:00
He Zhe
af5c776a28 qemu.inc: Change kernel provider assignment to a weaker one
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>
2018-05-29 21:07:16 +01:00
Tanu Kaskinen
ed87f71d15 alsa-utils: 1.1.5 -> 1.1.6
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>
2018-05-29 21:07:15 +01:00
Tanu Kaskinen
d985042e38 alsa-plugins: 1.1.5 -> 1.1.6
License-Update: FSF address updated

(From OE-Core rev: ddeb47741ea8ea3c19391f70e2ba54c3451fc240)

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>
2018-05-29 21:07:15 +01:00
Tanu Kaskinen
071cd6feb1 libvorbis: 1.3.5 -> 1.3.6
Rebased 0001-configure-Check-for-clang.patch.

Removed the backported CVE patches.

License-Update: copyright years refreshed

(From OE-Core rev: d536c0a0e400c27fd7954402195698e2c639338a)

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>
2018-05-29 21:07:15 +01:00
Changhyeok Bae
2dce052962 ethtool: update 4.15 -> 4.16
(From OE-Core rev: 7e76c7b0fbb160a7d775bebf05cd2393c13413dc)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-29 21:07:15 +01:00
Denys Dmytriyenko
3ee7ce7ba5 wayland-protocols: upgrade 1.13 -> 1.14
(From OE-Core rev: 033ee5f262936925999778263e07801d32e442f5)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-29 21:07:15 +01:00
Denys Dmytriyenko
03e0a1f196 lz4: upgrade 1.8.1.2 -> 1.8.2
(From OE-Core rev: 235afa344423188af2a24aa2664c628d5809699b)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-29 21:07:15 +01:00
Denys Dmytriyenko
75d8f81ff3 hdparm: upgrade 9.55 -> 9.56
(From OE-Core rev: 2472be3e644bead030699e186874848e29c43d5c)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-29 21:07:15 +01:00
Otavio Salvador
9751db80a3 libdrm: upgrade 2.4.91 -> 2.4.92
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>
2018-05-29 21:07:15 +01:00
Otavio Salvador
d76f4f7a69 linux-firmware: upgrade to 8fc2d4e5 revision
8fc2d4e Merge git://git.marvell.com/mwifiex-firmware
e1abab6 linux-firmware: update Marvell USB8997 firmware image to add WPA2 vulnerability fix
c38c231 linux-firmware: update Marvell SD8897-B0 firmware image to add WPA2 vulnerability fix
0686ec7 Merge branch 'firmware-update' of https://github.com/intel/opa-firmware
bb7f773 Update Intel OPA hfi1 firmware
397a604 qed: Add firmware 8.33.12.0
40d4117 linux-firmware: Add firmware file for Intel Bluetooth,9560
bf3934f linux-firmware: Add firmware file for Intel Bluetooth,9260
f865934 linux-firmware: Update firmware file for Intel Bluetooth,8265
7dab503 Merge branch 'for-upstream' of git://git.chelsio.net/pub/git/linux-firmware
0caed67 cxgb4: update firmware to revision 1.19.1.0
0783fb9 nfp: add symlink for mixed mode Agilio CX 2x25GbE cards
380957e nfp: update Agilio SmartNIC flower firmware to rev 5701
b562d2f linux-firmware: update wil6210 firmware to 5.2.0.18
c1aa76a linux-firmware: rsi: update firmware images for Redpine 9113 chipset
1621614 Merge tag 'iwlwifi-fw-2018-04-06' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware
50c1323 iwlwifi: update firmwares for 3160, 3168 and 7265
c711ea5 iwlwifi: add some new FW versions and update older ones
8c1e439 amdgpu: update vce firmware for Polaris
31accdf linux-firmware: Add firmware file for Intel Bluetooth,9560
89139e8 linux-firmware: Add firmware file for Intel Bluetooth,9260
58cdb52 linux-firmware: Update firmware file for Intel Bluetooth,8265
9cb49be linux-firmware: Update firmware patch for Intel Bluetooth 8260
a3be6d4 Merge https://github.com/Netronome/linux-firmware into netro

License-Update: new files and version update. Same terms.
(From OE-Core rev: 8c0ee2072d493ecd09284c27fc8d627e3e6c5ae8)

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>
2018-05-29 21:07:15 +01:00
Khem Raj
5174968168 libxcrypt: Upgrade to 4.0.1
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>
2018-05-29 21:07:15 +01:00
Khem Raj
09dc5c8273 webkitgtk: Upgrade to 2.20.2
Backport a patch to fix build

clang 6.0+ driver can correclty detect corss gold linker now

(From OE-Core rev: 10cb11fe911473a3a2f4cb67815ff86141c0ab3c)

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>
2018-05-29 21:07:15 +01:00
Alexander Kanavin
f7137f9490 wireless-tools: remove the recipe
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>
2018-05-29 21:07:14 +01:00
Jibin Xu
960f25795f wget: upgrade 1.19.4 -> 1.19.5
(From OE-Core rev: 5b966e87aba19629408daeff25c1e6883300fb10)

Signed-off-by: Jibin Xu <jibin.xu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-29 21:07:14 +01:00
Khem Raj
027e088a01 acpica: Upgrade to 20180508 release
Drop upstreamed patches

(From OE-Core rev: 74827bb63a237f3768406024bba777e9db8eda63)

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>
2018-05-29 21:07:14 +01:00
Armin Kuster
a2f714f3e5 nss: update to 3.36.1
removed patches included in update:
0001-Bug-1437734-Use-snprintf-in-sign.c-r-ttaubert.patch
nss-build-hacl-poly1305-aarch64.patch

(From OE-Core rev: 9755699275e6290950145685c186082dfcd28a9e)

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>
2018-05-29 21:07:14 +01:00
Armin Kuster
dc1ed54878 xf86-input-libinput: upgrade 0.26.0 -> 0.27.1
(From OE-Core rev: dcd7ce8c3c8b5e9f86886bab5fcc18aed209c26e)

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>
2018-05-29 21:07:14 +01:00
Armin Kuster
a303844f3c libdmx: upgrade 1.1.3 -> 1.1.4
(From OE-Core rev: 11aaf4d5861f903cbed8f09f867690b246106d1f)

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>
2018-05-29 21:07:14 +01:00
Armin Kuster
6dbac6e225 kexec-tools: upgrade 2.0.16 -> 2.0.17
(From OE-Core rev: 8da23d49367f48a195b952b5c2e2f7ce2221a572)

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>
2018-05-29 21:07:14 +01:00
Armin Kuster
1f9bb6c96a openssh: upgrade 7.6p1 -> 7.7p1
(From OE-Core rev: abc729786a6381e0b2c5f13b5dea6afdaada3dc0)

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>
2018-05-29 21:07:14 +01:00
Andre McCurdy
293e0a313d curl: update 7.59.0 -> 7.60.0
https://curl.haxx.se/changes.html#7_60_0

Also refresh 0001-replace-krb5-config-with-pkg-config.patch and drop
configure_ac.patch, which we've apparently been dragging along
unnecessarily for the past 5 years:

  c277bd6ce7

(From OE-Core rev: 4063c1e4b233b28ae14420a83960fd93b437a4a4)

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>
2018-05-29 21:07:14 +01:00
Andre McCurdy
8302bb9cd8 base.bbclass: update obsolete comment about rpm do_unpack dependencies
The previous comment was made obsolete by:

  http://git.openembedded.org/openembedded-core/commit/?id=2f31f1795bc0c85b1646bc7d9596bbe778cb84e5

(From OE-Core rev: 9a9330aebe201078a47441e1ef9a19a659017ba8)

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>
2018-05-29 21:07:14 +01:00
Bruce Ashfield
482317dd14 linux-yoct/4.12: update to v4.12.24
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>
2018-05-29 21:07:14 +01:00
Bruce Ashfield
c69ecba428 linux-yocto-dev: update to v4.17+
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>
2018-05-29 21:07:14 +01:00
Bruce Ashfield
c5cc9122dd linux-yocto/4.12: update to v4.12.23
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>
2018-05-29 21:07:14 +01:00
Bruce Ashfield
87fbc9ebfc linux-yocto/4.12: update to v4.12.22
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>
2018-05-29 21:07:13 +01:00
Chen Qi
f0520721fd oeqa/sdk/cases/buildgalculator.py: skip if gettext not available
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>
2018-05-29 21:07:13 +01:00
Alexander Kanavin
3a22e2c447 meson: update to 0.46.1
(From OE-Core rev: ecd9bae1ace2f2a457890b8a6ae8e2376a736747)

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>
2018-05-29 21:07:13 +01:00
Alexander Kanavin
b0225156f0 openssl: fix upstream version check for 1.0 version
(From OE-Core rev: 50dc3283e39e85912cdbeb9e885dcd22011d4a51)

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>
2018-05-29 21:07:13 +01:00
Alexander Kanavin
9794119e0e rt-tests: fix upstream version check
(From OE-Core rev: 589ac6e789fa06ad333742c22b518bfd2161e232)

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>
2018-05-29 21:07:13 +01:00
Alexander Kanavin
504623d1e6 libidn: upgrade 1.34 -> 1.35
Add autoconf-archive dependency to expand AC_JAVA_OPTIONS and other
java-related macros.

(From OE-Core rev: 52ba8d490733eb5e830717f414531270d88b3df6)

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>
2018-05-29 21:07:13 +01:00
Alexander Kanavin
aaa0808e0e gnome-desktop3: remove the recipe
Epiphany no longer needs it, nothing else does,
and so it will be moved to meta-oe.

(From OE-Core rev: 1e89ec37cac834498a391a0d438dce73acde58ce)

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>
2018-05-29 21:07:13 +01:00
Alexander Kanavin
e99d5512a5 babeltrace: fix upstream version check
(From OE-Core rev: ec68ca923e90effb568aa397677ba39475e39536)

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>
2018-05-29 21:07:13 +01:00
Alexander Kanavin
eeb45f7cfd xz: fix upstream version check
(From OE-Core rev: ea89b1e19b7da490e9d98fbd8c60222d05934c4e)

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>
2018-05-29 21:07:13 +01:00
Alexander Kanavin
50e22b7b31 dtc: upgrade to 1.4.6
Drop upstreamed patch.

(From OE-Core rev: e1b5a1dffeb6d9373b823285912c1220076010cb)

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>
2018-05-29 21:07:13 +01:00
Changqing Li
cc8f888018 gmp: do the multilib_header magic for gmp.h
Add multilib support feature for this recipe

(From OE-Core rev: a2b4552b96c49dbdc9aef4b64820c3ff16dc5bb6)

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>
2018-05-29 21:07:13 +01:00
Andre McCurdy
24882b2416 externalsrc.bbclass: don't configure with --disable-dependency-tracking
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>
2018-05-29 21:07:13 +01:00
Andre McCurdy
b1b506a810 pinentry: let autotools.bbclass handle --disable-dependency-tracking
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>
2018-05-29 21:07:13 +01:00
Andre McCurdy
81260fd536 gstreamer1.0: let autotools.bbclass handle --disable-dependency-tracking
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>
2018-05-29 21:07:12 +01:00
Andre McCurdy
568a1f7491 strace: fix ARM Thumb build with frame pointers enabled
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>
2018-05-29 21:07:12 +01:00
Khem Raj
0781c9fe7b ovmf: Fix build with gcc8
(From OE-Core rev: 278b00ddccb274150ed85e48e984675b40fc9aaa)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-29 21:07:12 +01:00
Marek Vasut
b3588b0ca9 u-boot: Upgrade to 2018.05 release
This upgrades the U-Boot from 2018.03 to 2018.05 release.

(From OE-Core rev: 8e8cea4569ffa8ea81b7e99f98f9dab203614d22)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-29 21:07:12 +01:00
Hongxu Jia
074b2e8c2f distcc: update to 3.3
* 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>
2018-05-29 21:07:12 +01:00
Ross Burton
1bd65698fc Revert "distcc: move ASNEEDED over-ride into the distcc recipe"
This reverts commit 3fbec7916c401b987184f4b25dda39cf355b2a60.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-29 21:07:12 +01:00
Scott Rifenbark
d886fa118c bitbake: bitbake-user-manual: Updated copyright year on title page to 2018
(Bitbake rev: 7799b17e7ac748e3639e5ab1e59b9b9c2a047bf6)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:17:25 +01:00
Scott Rifenbark
e1769a81df sdk-manual: Updated devtool add workflow section.
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>
2018-05-24 17:16:36 +01:00
Scott Rifenbark
933efe0f1c sdk-manual: Edits to section on running the sdk installation script
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>
2018-05-24 17:16:36 +01:00
Scott Rifenbark
985d863023 documentation: Set up the 2.6 version of the docs
poky.ent - Edited for new variables.
<manual>.xml - Manual revision tables updated
mega-manual.sed - swapped out 2.5 for 2.6

(From yocto-docs rev: 2bae8fa18ae82a325785276acdeb1394e110d2cf)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:36 +01:00
Scott Rifenbark
61a8bb03ac sdk-manual: Updates to "Running the Extensible SDK Environment Setup Script"
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>
2018-05-24 17:16:36 +01:00
Scott Rifenbark
63a151b874 sdk-manual: Updated the "Installing the Extensible SDK" section.
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>
2018-05-24 17:16:36 +01:00
Scott Rifenbark
fc99fc952e sdk-manual: Minor edits to the intro chapter.
(From yocto-docs rev: 706b4adfd925d247da2ce7405f12ce1e05666a9e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:36 +01:00
Scott Rifenbark
5d29a2ef27 bsp-guide: Fixed MACHINE_EXTRA_RRECOMMENDS syntax in conf file example
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>
2018-05-24 17:16:36 +01:00
Scott Rifenbark
368474d740 dev-manual: Removed "newbie" chapter.
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>
2018-05-24 17:16:36 +01:00
Scott Rifenbark
9a37a3d568 dev-manual: Moved "Speeding Up the Build" and renamed it.
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>
2018-05-24 17:16:35 +01:00
Kristi Rifenbark
bd4438f4a4 ref-manual: Finalized edits on the 2.5 Migration section
(From yocto-docs rev: 54259a4d4d69be73e7c614baa2a8d87faa2e3ea5)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:35 +01:00
Scott Rifenbark
e1b1f83208 dev-manual: Moved "Building Software from an External Source" section.
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>
2018-05-24 17:16:35 +01:00
Scott Rifenbark
0122aced5f dev-manual: Moved "Building Images for More than One Machine" section.
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>
2018-05-24 17:16:35 +01:00
Scott Rifenbark
bfaf918ec9 dev-manual: Moved "Building a Tiny System"
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>
2018-05-24 17:16:35 +01:00
Scott Rifenbark
16e730e638 dev-manual: Moved "Building an Initial RAM Filesystem (initramfs) Image"
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>
2018-05-24 17:16:35 +01:00
Scott Rifenbark
5c5a8e3d34 dev-manual: Moved "Building Targets with Multiple Configurations"
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>
2018-05-24 17:16:35 +01:00
Scott Rifenbark
cbda3472e3 dev-manual: Moved the "Simple Build" section
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>
2018-05-24 17:16:35 +01:00
Scott Rifenbark
cd9affa635 dev-manual: Pulled cloning sections up into a parent section.
(From yocto-docs rev: 68ef556831f687e25e3f4df068db4ea86bffb3b3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:35 +01:00
Scott Rifenbark
2b56e7d4b9 dev-manual: Updated intro paragraph to exclude removed sections
(From yocto-docs rev: 886ec9153314acbdcfa510806b441ba02c0bdd2d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:35 +01:00
Scott Rifenbark
1fc547845e dev-manual: Changed "Working With Yocto Project Source Files" title
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>
2018-05-24 17:16:35 +01:00
Scott Rifenbark
ea1936fc02 dev-manual: Changed title to remove redundancy
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>
2018-05-24 17:16:34 +01:00
Scott Rifenbark
d38c9ba94a dev-manual: Moved section on setting up a team YP environment
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>
2018-05-24 17:16:34 +01:00
Scott Rifenbark
2228249488 dev-manual: Updated intro chapter
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>
2018-05-24 17:16:34 +01:00
Scott Rifenbark
51c74acdad overview-manual, dev-manual: Moved licensing how-to stuff to dev-manual
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>
2018-05-24 17:16:34 +01:00
Scott Rifenbark
afe2d7cf45 dev-manual: Updated "Enabling Runtime Tests on QEMU"
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>
2018-05-24 17:16:34 +01:00
Scott Rifenbark
88c6050ad2 overview-manual, dev-manual: Moved Wayland and Weston
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>
2018-05-24 17:16:34 +01:00
Scott Rifenbark
c72b126bc0 ref-manual: Chanaged a link to Wayland topic.
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>
2018-05-24 17:16:34 +01:00
Kristi Rifenbark
6da15e51a8 ref-manual: Formatting pass of 2.5 Migration section
(From yocto-docs rev: 50308cc7f04d3fc54c06766f85e15e76a99f0b4b)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:34 +01:00
Scott Rifenbark
3564ddf02c overview-manual, dev-manual: Moved sstate debug tips sections
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>
2018-05-24 17:16:34 +01:00
Scott Rifenbark
dbdc897ca9 overview-manual: Updated "Invalidating Shared State" section
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>
2018-05-24 17:16:34 +01:00
Scott Rifenbark
fd7f63eb57 overview-manual: Updated "Shared State" section.
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>
2018-05-24 17:16:33 +01:00
Scott Rifenbark
ad44dc9b7c overview-manual: Updated "Cross-Development Toolchain Generation"
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>
2018-05-24 17:16:33 +01:00
Scott Rifenbark
50c83e8b70 documentation: Removed release date ENTITY
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>
2018-05-24 17:16:33 +01:00
Kristi Rifenbark
8d751c065d ref-manual: Added 2.5 Migration Section
(From yocto-docs rev: 5d6c1b69e5559eced5142f46421302f61c95404c)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:33 +01:00
Scott Rifenbark
d96c451901 ref-manual: Updated the SDK_OUTPUT variable
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>
2018-05-24 17:16:33 +01:00
Scott Rifenbark
63d56741ed ref-manual: Updated SDK_HOST_MANIFEST variable.
Grammar fix.

(From yocto-docs rev: aa5a60c8e3bf3f243678169b323e7ea5df7a6c19)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:33 +01:00
Scott Rifenbark
cb244d438a overview-manual: Minor edits to the SDK generation section.
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>
2018-05-24 17:16:33 +01:00
Scott Rifenbark
99c4743469 overview-manual, mega-manual: Updated the sdk figure
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>
2018-05-24 17:16:33 +01:00
Scott Rifenbark
2eee77ccf4 overview-manual: Minor wording changes to the "Images" section.
(From yocto-docs rev: a3e825e6086ec7674641658cc956020e3e1cd9dd)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:33 +01:00
Scott Rifenbark
a934764b97 overview-manual, mega-manual: Updated the Images figure
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>
2018-05-24 17:16:33 +01:00
Scott Rifenbark
b20454dbdf overview-manual: Updates to the "Images" section.
Some minor rewrites.

(From yocto-docs rev: 71cbc1c389389ffac9e59faacdc56d3ea05facd7)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:32 +01:00
Scott Rifenbark
6f90c96872 overview-manual: Updates to "Setscene Tasks and Shared State"
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>
2018-05-24 17:16:32 +01:00
Scott Rifenbark
4cd96b295e ref-manual: Updated PACKAGE_CLASSES variable note.
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>
2018-05-24 17:16:32 +01:00
Scott Rifenbark
bd3df79121 overview-manual: Updated text for Image and SDK generation.
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>
2018-05-24 17:16:32 +01:00
Scott Rifenbark
1211c01f82 overview-manual, mega-manual: Updated image generation image
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>
2018-05-24 17:16:32 +01:00
Scott Rifenbark
a35bdbeb06 overview-manual, mega-manual: Updated SDK generation image
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>
2018-05-24 17:16:32 +01:00
Scott Rifenbark
173f158121 overview-manual: Updated the "Package Splitting" section.
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>
2018-05-24 17:16:32 +01:00
Scott Rifenbark
6a70c9db88 overview-manual, mega-manual: Updated package splitting figure
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>
2018-05-24 17:16:32 +01:00
Scott Rifenbark
760e435e32 overview-manual: Changed title for configure/compile section.
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>
2018-05-24 17:16:32 +01:00
Scott Rifenbark
8436b7a6a9 ref-manual: Updated the STAGING_DIR variable description.
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>
2018-05-24 17:16:32 +01:00
Scott Rifenbark
4f8364c056 overview-manual, mega-manual: Updated the config/compile figure
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>
2018-05-24 17:16:31 +01:00
Scott Rifenbark
dd566a4dad overview-manual, mega-manual: Updated the package splitting figure.
Figure was out of date.

(From yocto-docs rev: 5b56862ec39fc05299cd6d468f13f75b74c3b800)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:31 +01:00
Scott Rifenbark
7815287d6b ref-manual: Updated the PKGDATA_DIR variable description
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>
2018-05-24 17:16:31 +01:00
Scott Rifenbark
8a2291f5e7 ref-manual: Updated STAGING_DIR_HOST variable description.
Fixed some grammar issues.

(From yocto-docs rev: 5d19e2102d1251dd4fa561995c29191c1489f7fc)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:31 +01:00
Scott Rifenbark
2029d463a7 overview-manual: Updated the "Configuration and Compilation" section
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>
2018-05-24 17:16:31 +01:00
Scott Rifenbark
380dfcbd8f overview-manual, mega-manual: Updated Config and Compile figure
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>
2018-05-24 17:16:31 +01:00
Scott Rifenbark
6cc546ca61 ref-manual: Revision updates to BUILDHISTORY_FEATURES variable.
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>
2018-05-24 17:16:31 +01:00
Scott Rifenbark
e1774e2023 overview-manual: Small revisions to "Patching" section.
(From yocto-docs rev: 081a60766b67e8822e0c841f3259ff633580149c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:31 +01:00
Scott Rifenbark
0b99c7dd2a ref-manual: Updated the FILESPATH variable description
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>
2018-05-24 17:16:31 +01:00
Scott Rifenbark
b6f84351f3 ref-manual: Added a link to the patching section in the SRC_URI variable
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>
2018-05-24 17:16:30 +01:00
Scott Rifenbark
445e13ae35 ref-manual: Review edits added to do_patch task
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>
2018-05-24 17:16:30 +01:00
Scott Rifenbark
47b7dcd345 sdk-manual, mega-manual: Updated devtool modify workflow diagram
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>
2018-05-24 17:16:30 +01:00
Scott Rifenbark
dd0e423bfd sdk-manual: Updated devtool modify workflow section.
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>
2018-05-24 17:16:30 +01:00
Scott Rifenbark
d77de6b09f ref-manual: Updated do_patch task description
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>
2018-05-24 17:16:30 +01:00
Scott Rifenbark
23d93c7bed overview-manual: Added a link to the do_patch task.
(From yocto-docs rev: 934de6a59cef6a7b80530de1ccbe7006bb196238)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:30 +01:00
Scott Rifenbark
02f9805957 overview-manual: Updated "Patching" section.
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>
2018-05-24 17:16:30 +01:00
Scott Rifenbark
03a7ed331d overview-manual: Increased viewport for patching.png image.
(From yocto-docs rev: fb8419753846e391dfc1b2dd5973eaff7627c57a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:30 +01:00
Peter Kjellerstedt
27fb732a64 ref-manual: Updated the BUILDHISTORY_FEATURES variable description
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>
2018-05-24 17:16:30 +01:00
Scott Rifenbark
8dabbc9ff3 ref-manual: Added "Patching" section reference to do_patch task
(From yocto-docs rev: 48335f99d896994283042752bd9ec4d20bd6d363)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:30 +01:00
Scott Rifenbark
712b171f32 overview-manual: Converted paragraph on figure to note
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>
2018-05-24 17:16:30 +01:00
Scott Rifenbark
bb1f84ea7b overview-manual: Updated the "patching.png" figure
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>
2018-05-24 17:16:29 +01:00
Scott Rifenbark
86bac90936 overview-manual, mega-manual: Updated source-fetching.png figure
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>
2018-05-24 17:16:29 +01:00
Scott Rifenbark
304254e8ea overview-manual: Updated "Source Fetching" section.
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>
2018-05-24 17:16:29 +01:00
Scott Rifenbark
3391d1d8e2 ref-manual: Updated the TARGET_OS variable description
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>
2018-05-24 17:16:29 +01:00
Scott Rifenbark
083353b73b ref-manual: Updated PACKAGE_ARCH variable description.
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>
2018-05-24 17:16:29 +01:00
Scott Rifenbark
5ecdd8ef46 toaster-manual: Updated step 7 of the To "Installation" section
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>
2018-05-24 17:16:29 +01:00
Scott Rifenbark
4756073e84 toaster-manual: Updated "Setting Up Toaster Without a Web Server"
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>
2018-05-24 17:16:29 +01:00
Scott Rifenbark
1ba7ca0ad6 mega-manual: Updated the package-feeds.png file
This image was out of date.

(From yocto-docs rev: 061f2766217a6a3914c14e7bfcf09e2c03f73165)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:29 +01:00
Scott Rifenbark
1177362b09 overview-manual: Updated the package-feeds.png figure
The figure was out of date.

(From yocto-docs rev: ae84cd2a09f81415e22333d179bcd146560b34da)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:29 +01:00
Martin Kelly
8c10e2e2c9 dev-manual: New section in QEMU for workaround under KVM
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>
2018-05-24 17:16:29 +01:00
Scott Rifenbark
a6b54193de toaster-manual: Updated database schema step for Toaster
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>
2018-05-24 17:16:29 +01:00
Scott Rifenbark
8a29ca5d51 toaster-manual: Updated bad links and added two sections
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>
2018-05-24 17:16:29 +01:00
Scott Rifenbark
588e353a1e documentation: Added ENTITY variable to track a release date and year
(From yocto-docs rev: 65a87312f541e2f2b01fa1918f7a12da607fe7ab)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:28 +01:00
Scott Rifenbark
504ee447a0 poky.ent: Added a new variable for the release month and year
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>
2018-05-24 17:16:28 +01:00
Scott Rifenbark
0c245e1774 overview-manual: Updated "Sources" section with minor edits.
(From yocto-docs rev: 7cc11321fec1e9cd17f20129fbb201b7891eaf60)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:28 +01:00
Scott Rifenbark
e7a4c72024 overview-manual, mega-manual: Updated figures
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>
2018-05-24 17:16:28 +01:00
Scott Rifenbark
817625eb24 overview-manual, mega-manual: Updates to layers discussion for build flow
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>
2018-05-24 17:16:28 +01:00
Scott Rifenbark
b8492f45fa eclipse-help.sed: Cleaned up delimiters for readability.
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>
2018-05-24 17:16:28 +01:00
Scott Rifenbark
15353f7d81 overview-manual: Updates to "User Configuration" section.
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>
2018-05-24 17:16:28 +01:00
Scott Rifenbark
d4aa681956 dev-manual: Updated "Enabling Your Layer" section.
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>
2018-05-24 17:16:28 +01:00
Scott Rifenbark
06c575c711 overview-manual, mega-manual: Updated user-configuration.png image
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>
2018-05-24 17:16:28 +01:00
Scott Rifenbark
fa88ecd681 overview-manual: Updates to "OpenEmbedded Build System Concepts"
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>
2018-05-24 17:16:28 +01:00
Scott Rifenbark
3ea2c72bcc Makefile: Removed the old version of the BitBake workflow figure.
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>
2018-05-24 17:16:28 +01:00
Scott Rifenbark
d512c29f58 overview-manual, mega-manual: Removed bitbake workflow figure
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>
2018-05-24 17:16:28 +01:00
Scott Rifenbark
1a39277269 overview-manual: Bolstered the "Layers" section in the concepts chapter.
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>
2018-05-24 17:16:27 +01:00
Scott Rifenbark
5b3d2f32a2 overview-manual: Updates to "Components" section.
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>
2018-05-24 17:16:27 +01:00
Scott Rifenbark
747f5cdbd2 brief-yoctoprojectqs: Removed all references to "OpenEmbedded"
(From yocto-docs rev: fd405db2962d20055ba213e35ed0d13c7672d2e8)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:27 +01:00
Scott Rifenbark
1c5a6f704b brief-yoctoprojectqs: Added clarifying statement for the build system
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>
2018-05-24 17:16:27 +01:00
Scott Rifenbark
917501d060 overview-manual: Changed build workflow title
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>
2018-05-24 17:16:27 +01:00
Scott Rifenbark
3273801afe overview-manual: Added a link to OpenEmbedded-Core
(From yocto-docs rev: c4642a81045a2267ceac967b7668cb64b4db1286)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:27 +01:00
Scott Rifenbark
3f3f0c66b9 overview-manual: Added intro text for the concepts chapter.
(From yocto-docs rev: 6ea1e6f016957da96d6cf8a058ec9c18c9843949)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:27 +01:00
Scott Rifenbark
21cf955f92 brief-yoctoprojectqs: Added reviewer feedback
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>
2018-05-24 17:16:27 +01:00
Scott Rifenbark
6b0b959f1e overview-manual: Removed redundant paragraph.
(From yocto-docs rev: 215ed3598780737feb928bb3b515882c468dbb27)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:27 +01:00
Scott Rifenbark
eecd735518 overview-manual: Updated checkout example for Git based on a tag.
(From yocto-docs rev: ee0021b0db85ced7a36b0f25e1c1e09a0f5b1894)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:27 +01:00
Scott Rifenbark
ee848d0ebd overview-manual: Better wording for a workflow summary paragraph.
(From yocto-docs rev: db3679a4ac22964302e4ff1b16856c25a7ce69fd)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:27 +01:00
Scott Rifenbark
79e26ef05f overview-manual: Fixed wording for use of DOWNLOADS page.
(From yocto-docs rev: 575e33179779ab147b2bfc27183f2b9a25628a5a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:27 +01:00
Scott Rifenbark
077ecef3fb overview-manual: Added clearer instructions for downloading software
(From yocto-docs rev: df16ac0829aaf99841044de99200efdf3a03cb41)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:26 +01:00
Scott Rifenbark
9d7d760daf overview-manual: Grammar fix.
(From yocto-docs rev: 81515d5ba7f26c7b93548a338ca7ab8ce649e387)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:26 +01:00
Scott Rifenbark
0b87a83412 overview-manual: Grammar fix and link to build system added.
(From yocto-docs rev: 3130b38b638c8487032f3732afdd6954ab6bbfad)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:26 +01:00
Scott Rifenbark
09f6888973 overview-manual: Added a link to the "build host" term.
(From yocto-docs rev: e3bdd81857752db01c3404c2eb29792439239fa9)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:26 +01:00
Scott Rifenbark
2b81f82edd overview-manual: Fixed grammar issue.
(From yocto-docs rev: a3075cdd5a3db1883dc358f7ccd6721d89677387)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:26 +01:00
Scott Rifenbark
558c89900f overview-manual: Added link to layers section.
(From yocto-docs rev: 8a9588d27aa86bb194e85dd6bd0c885ce96507e5)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:26 +01:00
Scott Rifenbark
bf6ec42615 overview-manual: Fixed grammar issue.
(From yocto-docs rev: b911f05e5e3ae7161785ca3dd5cea5ffc565b804)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:26 +01:00
Scott Rifenbark
f3d38e9628 overview-manual: Removed redundant text for "build system"
(From yocto-docs rev: 513082f4d63ac618d67d35b886a0347f059a8fe5)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:26 +01:00
Scott Rifenbark
d7a97a61e7 overview-manual: Fixed reference to "chapter" that was "section"
(From yocto-docs rev: d40924637836043fd92a2464f38f3d97c0cbcbb7)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:26 +01:00
Scott Rifenbark
aa870e0071 overview-manual: Fixed link to the matchbox repo.
(From yocto-docs rev: 73ba1ab13a977c15db9d5aa7cd560006e3a4ef70)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:26 +01:00
Scott Rifenbark
153f7df207 overview-manual: Added a link to the Toaster User Manual
(From yocto-docs rev: 5571f28452c3af9a7394924cb2509693a6f8f528)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:26 +01:00
Scott Rifenbark
e546355fac overview-manual: Added a few links to the "Poky" term.
(From yocto-docs rev: 34007b337ae0636156d64464d39470c9f20b78f0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:26 +01:00
Scott Rifenbark
91ddbcf1b9 overview-manual: Added a few links for "OpenEmbedded build system" term.
(From yocto-docs rev: c6c23daac976e69b7e5c1a4b42abcac33b0694e2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:25 +01:00
Scott Rifenbark
f6829fefc9 brief-yoctoprojectqs: Added link to "OpenEmbedded build system" term.
(From yocto-docs rev: a7a5dc58b1f66cf270d737fa6ddd447364cf77c1)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:25 +01:00
Scott Rifenbark
1e58be51bd brief-yoctoprojectqs: Added more detail about layer greatness.
(From yocto-docs rev: 935497e3d3a39cdc5eadcdd790466e3d18a65f25)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:25 +01:00
Scott Rifenbark
51266a5498 overview-manual: Added link to YP Compatible program section.
(From yocto-docs rev: e5361d48c0807ab2f7bc674ec615e432baff2819)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:25 +01:00
Scott Rifenbark
d665d7c828 overview-manual: Added a link to the YP workflow area from "Challenges"
(From yocto-docs rev: cf90be30c3a89a55295060bb4604a468509423ed)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:25 +01:00
Scott Rifenbark
7d1f278d00 overview-manual: Added links to supplemental webpage docs.
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>
2018-05-24 17:16:25 +01:00
Scott Rifenbark
5d8247761d overview-manual: Added link to license information.
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>
2018-05-24 17:16:25 +01:00
Scott Rifenbark
59f84122aa overview-manual: Added link to release cycle
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>
2018-05-24 17:16:25 +01:00
Scott Rifenbark
962cdcd771 overview-manual: Updated "Supports Partial Builds" bullet
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>
2018-05-24 17:16:25 +01:00
Scott Rifenbark
554abf5d94 overview-manual: Added meaningful links to feature bullet
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>
2018-05-24 17:16:25 +01:00
Scott Rifenbark
bb49980a12 overview-manual: Cleaned up other reference paragraph.
(From yocto-docs rev: add845649de2c91489dd2e920865707eb3224243)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:25 +01:00
Scott Rifenbark
34d817ffb7 overview-manual: Added a bullet intro topic for the new concepts chapt.
(From yocto-docs rev: 4b05fd99cfb258c56957fdf864754065a74f407a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:25 +01:00
Scott Rifenbark
33b4b22b68 overview-manual: Updated title .PNG file
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>
2018-05-24 17:16:24 +01:00
Scott Rifenbark
5d6fc98b98 dev-manual: Updated wording for Manage Granular Level Packaging
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>
2018-05-24 17:16:24 +01:00
Scott Rifenbark
74c3203ba2 brief-yoctoprojectqs: Added sections on layers
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>
2018-05-24 17:16:24 +01:00
Scott Rifenbark
b5b17600ea dev-manual: Updated managing granular level packaging discussion.
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>
2018-05-24 17:16:24 +01:00
Scott Rifenbark
41aad59377 dev-manual: Changed Wic example paths to be consistent.
(From yocto-docs rev: 402434dd15f3116307e690ecc09db875ecabded4)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:24 +01:00
Scott Rifenbark
4559692ae1 ref-manual: Updated the sections pointing to the YP Release Notes.
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>
2018-05-24 17:16:24 +01:00
Scott Rifenbark
d058243ffc poky.ent: Deleted the ENTITY for the YP Release Notes
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>
2018-05-24 17:16:24 +01:00
Scott Rifenbark
7319f566ea dev-manual: Updated Wic example
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>
2018-05-24 17:16:24 +01:00
Kristi Rifenbark
0de5332623 sdk-manual: Updated Eclipse Oxygen plugin instructions
(From yocto-docs rev: 860f852b0aa99c9c65175fe5fe5035ea0bd26d63)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:24 +01:00
Scott Rifenbark
b938aae247 toaster-manual: Fixed note formatting in "Useful Commands"
(From yocto-docs rev: 61e26883ed2c3cb82e7853297222d5b1499788f8)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:23 +01:00
Scott Rifenbark
360cb19c41 toaster-manual: Fixed capitalization on "Build Directory" term.
(From yocto-docs rev: a02905ae2ad015d43d5c9b88f9b68e603734bcf4)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:23 +01:00
Scott Rifenbark
003018e073 toaster-manual: Fixed some links.
(From yocto-docs rev: 57c261c94de9ac567321fbe8d80a1d793857d355)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:23 +01:00
Scott Rifenbark
1668e1d44e toaster-manual: Fixed a couple links.
(From yocto-docs rev: fe26835dc9448738be49d08f3e96a464599897e9)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:23 +01:00
Scott Rifenbark
085e6c96df ref-manual: Updated the Bugzilla section
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>
2018-05-24 17:16:23 +01:00
Scott Rifenbark
98affc3ef5 ref-manual: Removed redundant TMPDIR link.
(From yocto-docs rev: d4f09d3d0facdd5045a6c46b9658427227a79efc)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:23 +01:00
Scott Rifenbark
6382d33501 ref-manual: Fixed link to the kickstart chapter
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>
2018-05-24 17:16:23 +01:00
Scott Rifenbark
804ce3031d ref-manual: Fixed TARGET_ARCH formatting.
(From yocto-docs rev: 01d4e8be38514dfd05920305c2fdd71ad1cd4925)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:23 +01:00
Scott Rifenbark
b7ee4ab92d ref-manual: Removed redundant link to CXXFLAGS variable.
(From yocto-docs rev: 67c3b32c5e6d98f530bb27b81847aeb77c1de1d5)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:23 +01:00
Scott Rifenbark
d7d05b717d ref-manual: Removed some redundant links.
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>
2018-05-24 17:16:23 +01:00
Scott Rifenbark
0a340732de ref-manual: Added "class" as part of a link to a class.
(From yocto-docs rev: e6ee6d5b32fa8a9945b23279c3403e14dac7165b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:22 +01:00
Scott Rifenbark
4a64457555 ref-manual: Added "class" as part of a link reference to a class.
(From yocto-docs rev: d563458d4f10ead158c54736098e6c601ed305c3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:22 +01:00
Scott Rifenbark
e1a17f030a ref-manual: Created better wording for link ambiguity
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>
2018-05-24 17:16:22 +01:00
Scott Rifenbark
0bd0b588f5 ref-manual: Removed redundant links to the WORKDIR variable.
(From yocto-docs rev: 9a12678b14d9870b4ef983f5a9b47cfa3184d4a6)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:22 +01:00
Scott Rifenbark
dce3b0a5ef ref-manual: Removed the link to SDK_DIR in the example.
(From yocto-docs rev: 414b74da4afac77f231770f2746f1c2d3947d340)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:22 +01:00
Scott Rifenbark
d13d95ab89 ref-manual: Fixed formatting in SDK_DIR example.
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>
2018-05-24 17:16:22 +01:00
Scott Rifenbark
1797b6f5fd ref-manual: Updated SDK_DEPLOY variable description.
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>
2018-05-24 17:16:22 +01:00
Scott Rifenbark
74cefbb5f7 ref-manual: Removed redundant link to PACKAGES.
(From yocto-docs rev: d9482b43c1166ef2fd663c903a15222c66faf979)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:22 +01:00
Scott Rifenbark
0a166133ff ref-manual: Removed redundant link to the distutils class.
(From yocto-docs rev: 5a097baecff0e0cabf1749abcc3697210ab63b47)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:22 +01:00
Scott Rifenbark
541038201b ref-manual: Removed redundant link to DEPENDS
(From yocto-docs rev: ddd59a0ae4eda76c9e9c284ce9db4428a925e610)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:21 +01:00
Scott Rifenbark
bf2d20e8fa ref-manual: Removed redundant link to OVERRIDES variable.
(From yocto-docs rev: b336d7f504bb931d9b2743ee86ff104080692bec)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:21 +01:00
Scott Rifenbark
c685be48ae ref-manual: Updated PACKAGECONFIG_CONFARGS variable description.
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>
2018-05-24 17:16:21 +01:00
Scott Rifenbark
a219a33178 ref-manual: Removed redundant link to DEPENDS variable.
(From yocto-docs rev: 6ecf6a692d759c783355581e227ff861e9492115)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:21 +01:00
Scott Rifenbark
6ad191158f ref-manual: Fixed broken link.
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>
2018-05-24 17:16:21 +01:00
Scott Rifenbark
0dc75ba3de ref-manual: Fixed capitalization in section title link
(From yocto-docs rev: 945038155d9941dc94001325416221f77726015d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:21 +01:00
Scott Rifenbark
5414ac6875 ref-manual: Added kernel-dev title to links
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>
2018-05-24 17:16:21 +01:00
Scott Rifenbark
19e2b66838 ref-manual: Added title to kernel-dev manual as part of a section link.
(From yocto-docs rev: 5c0cb69ff1a565e037686f344269fe7238ce442e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:21 +01:00
Scott Rifenbark
3be975ec1f ref-manual: Removed redundant link to INITRAMFS_IMAGE
(From yocto-docs rev: 62d835e0841cc19e644e79af22088880ff3eaac7)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:21 +01:00
Scott Rifenbark
f1555ad7fb ref-manual: Removed redundant link to Source Directory
(From yocto-docs rev: 9fb10f4f0ca5bed4804d77a1c224672866ee2b87)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:21 +01:00
Scott Rifenbark
aa46a82e54 ref-manual: Fixed link manual title for BitBake User Manual
(From yocto-docs rev: cad80681e72e7e22c3867961aeefe7f260c20f86)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:20 +01:00
Scott Rifenbark
3ed27b2b58 ref-manual: Removed manual title as part of a cross-reference.
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>
2018-05-24 17:16:20 +01:00
Scott Rifenbark
38ca662531 ref-manual: Fixed broken link to TARGET_VENDOR
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>
2018-05-24 17:16:20 +01:00
Scott Rifenbark
00fcff57d2 ref-manual: Removed redundant FILESEXTRAPATHS link.
(From yocto-docs rev: 74199d4a3d5fe5a9836e363522b052614a542e26)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:20 +01:00
Scott Rifenbark
13aaca36ee ref-manual: Fixed title for BitBake User Manual reference.
(From yocto-docs rev: 73249f903fcb68201937f05216bedd4fc25fb060)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:20 +01:00
Scott Rifenbark
316408a989 ref-manual: Corrected link title in DISTRO_FEATURES_BACKFILL
(From yocto-docs rev: 93c730199bb66fa6909bd0c0a2e75b5cca9534af)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:19 +01:00
Scott Rifenbark
7a91f0b4b6 ref-manual: Removed link to WORKDIR in the D variable description.
(From yocto-docs rev: edf989858c37dcdf19ec99dceb959061bc89be97)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:19 +01:00
Scott Rifenbark
267aa51859 ref-manual: Removed redundant links in COMBINED_FEATURES var.
(From yocto-docs rev: 7328ac66feebed290add2b122e12c2ea567f6bdf)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:19 +01:00
Scott Rifenbark
266ed1c3de ref-manual: Updated example string for BUILDHISTORY_COMMIT_AUTHOR.
I replaced the "&lt;" and "&gt;" 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>
2018-05-24 17:16:19 +01:00
Scott Rifenbark
5a049e572c ref-manual: Provided more relevant link for Python documentation
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>
2018-05-24 17:16:19 +01:00
Scott Rifenbark
adacc7639b ref-manual: Removed redundant link in BB_DISKMONS_DIR variable
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>
2018-05-24 17:16:19 +01:00
Scott Rifenbark
05195def10 ref-manual: Updated APPEPND variable.
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>
2018-05-24 17:16:19 +01:00
Scott Rifenbark
e75b770c92 ref-manual: Updated link to the Build Appliances page on the website.
(From yocto-docs rev: 14c66bc469085e0919e00979c1e01b1908d5f749)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:19 +01:00
Scott Rifenbark
c3e72fc5b1 ref-manual: Removed redundant link for the DISTRO_FEATURES variable.
(From yocto-docs rev: 8d771f67aab1840175783a6d1eaaa2264562c863)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:19 +01:00
Scott Rifenbark
fd5c92afd8 ref-manual: Replaced two old links with general kickstart link
(From yocto-docs rev: 5b875dc8e337aa859115b59591a39ac04a3f9c21)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:18 +01:00
Scott Rifenbark
51d05cee87 ref-manual: Fixed title name in link.
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>
2018-05-24 17:16:18 +01:00
Scott Rifenbark
11fb131e94 ref-manual: Fixed reference context from "section" to "chapter"
(From yocto-docs rev: 47c66cc3d7617cd3d3e77afe73fe38f743bf5513)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:18 +01:00
Scott Rifenbark
f64bb446e0 ref-manual: Removed redundant link to do_unpack task.
(From yocto-docs rev: 759fffef8e9a9d2c4cc76dd2fd41811ec2db946f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:18 +01:00
Scott Rifenbark
9fb35c02b6 ref-manual: Enhanced link to the host-user-contaminated test.
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>
2018-05-24 17:16:18 +01:00
Scott Rifenbark
ac798d5543 ref-manual: Fixed broken link to do_image task.
Had the wrong ID in there.

(From yocto-docs rev: 6d52354b42709867ef61543de6d3b630fd780bab)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:18 +01:00
Scott Rifenbark
9e6c097f74 ref-manual: Removed link to DEPLOY_DIR variable.
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>
2018-05-24 17:16:18 +01:00
Scott Rifenbark
efdb62b770 ref-manual: Removed redundant link to IMAGE_FSTYPES variable.
(From yocto-docs rev: 8b6dbb3259b4875e7443a5ceb55f5d593b2409a2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:18 +01:00
Scott Rifenbark
74e620e060 ref-manual: Removed redundant link to the C/C++ Compiler Cache.
(From yocto-docs rev: 1e7898f584e0ca4f5dcfaef447b70aec36867051)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:18 +01:00
Scott Rifenbark
e387870ac8 ref-manual: Fixed wording on how autotools classes build by default
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>
2018-05-24 17:16:18 +01:00
Scott Rifenbark
36706a55ee ref-manual: Removed redundant link for "Source Direcotory" term.
(From yocto-docs rev: 82ebe64671cf298a8e9c53b2975540542f10b28f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:18 +01:00
Scott Rifenbark
6f9df237c2 ref-manual: Removed redundant link to WORKDIR variable.
(From yocto-docs rev: 66ab70483fe1ab963b6e5e822797b144f787a139)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:18 +01:00
Scott Rifenbark
4108f153fe ref-manual: Removed redundant link to "Build Directory" term
(From yocto-docs rev: 37ddada28753fe89cd56b44b4f1e5896cf71cc23)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:17 +01:00
Scott Rifenbark
3b50981d05 ref-manual: Fixed link to "naked" bsp-guide reference
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>
2018-05-24 17:16:17 +01:00
Scott Rifenbark
5776e0bcd1 ref-manual: Added "section" as part of a reference to the bitbake-user-manual.
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>
2018-05-24 17:16:17 +01:00
Scott Rifenbark
1b2b0a267d ref-manual: Removed several redundant links to variables.
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>
2018-05-24 17:16:17 +01:00
Scott Rifenbark
11c4aa61c1 ref-manual: Removed redundant links to the DISTRO_FEATURES variable.
(From yocto-docs rev: d834e5f5cef520b80e5049b28945cfa1ead3b092)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:17 +01:00
Scott Rifenbark
ade3eec9f4 ref-manual: Fixed bad title for the bitbake-user-manual
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>
2018-05-24 17:16:17 +01:00
Scott Rifenbark
e467a8ceca ref-manual: Fixed bad link to naked sdk-manual
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>
2018-05-24 17:16:17 +01:00
Scott Rifenbark
f5590e221a ref-manual: Fixed bad title string for "Toaster User Manual"
(From yocto-docs rev: 14efbdbbcffea3a301dd220b3336fd11e1878ff8)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:17 +01:00
Scott Rifenbark
a6298bf144 ref-manual: Removed redundant paragraph for links to variables.
(From yocto-docs rev: 32228c3e138d6bd0076b164980e90fdc25c62768)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:17 +01:00
Scott Rifenbark
cf4fd9a7b5 ref-manual: Fixed mis-matched title in link to ptest.
(From yocto-docs rev: d203312ede89d5c7467f8ac8117522c4fc1fd7b5)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:17 +01:00
Scott Rifenbark
4ea244eac3 ref-manual: Removed redundant link to the BAD_RECOMMENDATIONS variable.
(From yocto-docs rev: 27ce95176fcceb95065eee19fecc2a71d88a0984)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:17 +01:00
Scott Rifenbark
869796c0eb ref-manual: Removed redundant link to IMAGE_FEATURES variable.
(From yocto-docs rev: 0ca8dc6aa8e06405e9483398788f4e221408fed7)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:17 +01:00
Scott Rifenbark
2f8bf57204 ref-manual: Fixed a link to a naked manual reference
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>
2018-05-24 17:16:17 +01:00
Scott Rifenbark
63e57d9cb5 ref-manual: Updated buildtools example script
(From yocto-docs rev: f9d46c43a2f5961fb9bda6758f8c2cdeef100281)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:17 +01:00
Scott Rifenbark
78063fa86a ref-manual: Updated example buildtools .sh file.
(From yocto-docs rev: 36fecfc69f60c99a58c86fc3f1890382fb013887)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:16 +01:00
Scott Rifenbark
cef8b0f10f kernel-dev: Fixed a few links throughout manual.
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>
2018-05-24 17:16:16 +01:00
Scott Rifenbark
7b582bc9a0 overview-manual, dev-manual: Cleaned up links to source repos
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>
2018-05-24 17:16:16 +01:00
Scott Rifenbark
ddc6ef5273 kernel-dev: Minor fixes.
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>
2018-05-24 17:16:16 +01:00
Scott Rifenbark
65cb5fdf79 kernel-dev: Fixed link to a section head
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>
2018-05-24 17:16:16 +01:00
Scott Rifenbark
3a24faa4ef kernel-dev: Fixed two broken links from bad syntax.
(From yocto-docs rev: 7d56b5c6d918e8326d66191b857a0030d2533fc6)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:16 +01:00
Scott Rifenbark
da2aa0caf6 bsp-guide: Fixed broken link to Raspberry Pi README.md file.
(From yocto-docs rev: f3d4710eef845ef356072645597b3794cb19d08a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:16 +01:00
Scott Rifenbark
a3db0190df ref-manual, poky.ent: Removed old ENTITY to kernel-manual
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>
2018-05-24 17:16:16 +01:00
Scott Rifenbark
876c9b07b1 bsp-guide: Fixed bad link that was going to old kernel manual
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>
2018-05-24 17:16:16 +01:00
Scott Rifenbark
b3b2d8f39a bsp-guide: Shortened link to the YP Source Repositories.
Removed the /cgit blah blah blah part.

(From yocto-docs rev: 575a0d173d4b8706bc8ee966e6bfafdd96b38cad)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:16 +01:00
Scott Rifenbark
bdd815d253 sdk-manual: Removed redundant link to "Build Directory"
(From yocto-docs rev: 9ce5617e008ce18656cc04608c50186f3d3b05bf)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:16 +01:00
Scott Rifenbark
38fa466ad1 sdk-manual: Scrubbed "Neon" occurrences from the Oxygen chapter.
(From yocto-docs rev: 5c53a75af70a6c6ddaaf5b1d298ea129006f2952)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:15 +01:00
Scott Rifenbark
88b2e34efa sdk-manual: Fixed minor wording problem.
(From yocto-docs rev: 030fa276d1fc462b321e43547a6da03ca05d590e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:15 +01:00
Scott Rifenbark
2d41eb10b2 sdk-manual: Fixed bad title in link.
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>
2018-05-24 17:16:15 +01:00
Scott Rifenbark
affb65b9eb dev-manual: Fixed broken link
(From yocto-docs rev: 4abc25e1b0b93bb232291e0bb51ec89c5e1f66f9)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:15 +01:00
Scott Rifenbark
4694436ff8 dev-manual: Fixed broken link to WORKDIR variable.
(From yocto-docs rev: c239bd40e92cedee6301c176ff96821ea270fc39)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:15 +01:00
Scott Rifenbark
648a39c514 dev-manual: Replaced SERIAL_CONSOLE with SERIAL_CONSOLES
The former is deprecated.

(From yocto-docs rev: 1a1f89d91ceeb35f8cb5c2f9fc42fdb089ffc05c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:15 +01:00
Scott Rifenbark
67d4af220d dev-manual: Fixed broken link to Carna Botnet's article.
(From yocto-docs rev: 1d5e9bfea217051a457c30dcbd890366e9dd7611)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:15 +01:00
Scott Rifenbark
f79d1b9b5a dev-manual: Fixed target for a link.
(From yocto-docs rev: 59697f22f79d07b800d4f3ce2eb2ea41c987802b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:15 +01:00
Scott Rifenbark
6821aebbf0 dev-manual: Removed non-functioning link to EXTERNAL_TOOLCHAIN
(From yocto-docs rev: b0bd0c4d8070adf1439140230700b0de18f884ae)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:15 +01:00
Scott Rifenbark
afdebd2464 poky.ent: Updated some autobuilder ENTITY variables
The location for nightly builds changed to
https://autobuild.yocto.io/pub/nightly/.

I updated the YOCTO_AB_PORT_URL and YOCTO_AB_NIGHTLY_URL
ENTITY variables accordingly

(From yocto-docs rev: 5a80544901ed6f0fd2188e82ac3dab7637d28aa1)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:15 +01:00
Scott Rifenbark
738a83bddb dev-manual: Replaced "BSD" with "BSP" typo. Also small word change.
(From yocto-docs rev: d67856c849c5275a07ee1f87db839cd4d4d9a6f6)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:15 +01:00
Scott Rifenbark
0ee7583e85 documentation: Terminology fix for "OpenEmbedded Layer Index"
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>
2018-05-24 17:16:14 +01:00
Scott Rifenbark
36bfaefddb dev-manual: Removed redundant link.
(From yocto-docs rev: bf64aad87e0248362e9cf9b693cd806ca32873fa)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:14 +01:00
Scott Rifenbark
031b508501 dev-manual: Fixed formatting issue.
(From yocto-docs rev: 4cd711d1305f480068447bac8881212a5b999d34)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:14 +01:00
Scott Rifenbark
2b4c765701 dev-manual: Slight wording change and link to a list of items.
(From yocto-docs rev: 26dd48f6995a1ac8da5ceba124d7795ebe857d53)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:14 +01:00
Scott Rifenbark
6ba0847558 dev-manual: Fixed a broken Gitolite link.
(From yocto-docs rev: 5d900f38079701a2ed8243071bd669bca1d97e1e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:14 +01:00
Scott Rifenbark
183c4ab5c7 dev-manual: Fixed link to Toaster User Manual.
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>
2018-05-24 17:16:14 +01:00
Scott Rifenbark
cfc64279f0 dev-manual: Removed writer note about needing a figure.
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>
2018-05-24 17:16:14 +01:00
Scott Rifenbark
feda259b89 dev-manual: Fixed grammar... missing word.
(From yocto-docs rev: 37cf33513896f2cf9accf801b0847d9f132fc06a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:14 +01:00
Scott Rifenbark
901e63c0f6 documentation: Cleaned up links to the source repositories
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>
2018-05-24 17:16:14 +01:00
Aurelio Jargas
a2cf4fd984 mega-manual.sed: Improved readability
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>
2018-05-24 17:16:14 +01:00
Scott Rifenbark
14ea87e2ee ref-manual: Fixed a link.
(From yocto-docs rev: 79e8ae28a3da4c135227ba44e707a1adde61a24f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:13 +01:00
Scott Rifenbark
d6755387a0 overview-manual: Scrubbed links and fixed a few
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>
2018-05-24 17:16:13 +01:00
Scott Rifenbark
518ef44f61 brief-yoctoprojectqs: Added customization file for eclipse
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>
2018-05-24 17:16:13 +01:00
Scott Rifenbark
5e82a9d95e overview-manual: Review feedback applied
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>
2018-05-24 17:16:13 +01:00
Scott Rifenbark
1b877bc9dd documentation: Updated everything for new overview-manual
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>
2018-05-24 17:16:13 +01:00
Scott Rifenbark
7105c52799 mega-manual.sed: Added overview manual and extra subst.
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>
2018-05-24 17:16:13 +01:00
Scott Rifenbark
c555881ac8 poky.ent: Added YOCTO_DOCS_OM_URL entity
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>
2018-05-24 17:16:12 +01:00
Scott Rifenbark
4fd8b39b24 dev-manual, ref-manual: Fixed two broken links.
(From yocto-docs rev: 1ce02bf1c81629d9e008c05b48c4cddad264bafc)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:12 +01:00
Scott Rifenbark
e5dfa82d45 bsp-guide: Removed redundant word.
(From yocto-docs rev: 199f892100f352f7c190aa3d7bac1b4a5e44dfb2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:12 +01:00
Scott Rifenbark
ea5a161850 brief-yoctoprojectqs: Fixed broken link
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>
2018-05-24 17:16:12 +01:00
Scott Rifenbark
2b9e973910 documentation: Changed getting-started manual titles
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>
2018-05-24 17:16:12 +01:00
Scott Rifenbark
982cce2d2c documentation: Fixed links to old concepts-manual
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>
2018-05-24 17:16:12 +01:00
Scott Rifenbark
b8bdf61ad1 yocto-project-qs: Removed this manual.
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>
2018-05-24 17:16:12 +01:00
Scott Rifenbark
d937581c8a Makefile: Removed yocto-project-qs
This file is not part of 2.5.

(From yocto-docs rev: a0ad3a90869c7dca729cce7db5fb7004e0272211)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:11 +01:00
Scott Rifenbark
ca3325e800 concepts-manual: Removed chapters.
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>
2018-05-24 17:16:11 +01:00
Scott Rifenbark
d1119aaec2 mega-manual: removed chapters from concepts manual
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>
2018-05-24 17:16:11 +01:00
Scott Rifenbark
f522437e13 getting-started: Moved concepts-manual-concepts.xml to getting-started
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>
2018-05-24 17:16:11 +01:00
Scott Rifenbark
890324549b mega-manual.sed: Removed the concepts-manual.
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>
2018-05-24 17:16:11 +01:00
Scott Rifenbark
e30db5ac75 mega-manual: Removed the concepts-manual.
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>
2018-05-24 17:16:11 +01:00
Scott Rifenbark
f32995b20e poky.ent: Removed the ENTITY for the concepts-manual.
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>
2018-05-24 17:16:11 +01:00
Scott Rifenbark
75b90c604b Makefile: Removed concepts-manual
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>
2018-05-24 17:16:11 +01:00
Scott Rifenbark
974c87594b documentation: Removed references to the concepts-manual
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>
2018-05-24 17:16:11 +01:00
Scott Rifenbark
d5951b4892 getting-started: Added figures from old concepts-manual
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>
2018-05-24 17:16:10 +01:00
Kristi Rifenbark
db17061d3b sdk-manual: Updated "Installing the Neon Eclipse IDE"
(From yocto-docs rev: e6e6cd146bb821d544b1b9a43307ecd3034f3e52)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:10 +01:00
Scott Rifenbark
2170916ff9 dev-mnaual: Changed "Dockers" to "Docker"
(From yocto-docs rev: af6bf8474462584b183005ce51fec42efb94e232)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:10 +01:00
Scott Rifenbark
f1df143c49 dev-manual: Fixed grammar error.
(From yocto-docs rev: a0f045418cb378ec07725dfd6de20b5d7ce33239)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:10 +01:00
Scott Rifenbark
6e31e66dcc dev-manual: Corrected "Docker" typo.
(From yocto-docs rev: 5615e6803dbbe64e66cced29f44f1cf9e94fdf38)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:10 +01:00
Scott Rifenbark
7198dde661 sdk-manual: Fixed reference to the Neon Appendix.
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>
2018-05-24 17:16:10 +01:00
Scott Rifenbark
dc5690178e sdk-manual: Removed non-eclipse option for Eclipse flow
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>
2018-05-24 17:16:10 +01:00
Scott Rifenbark
59af2e1787 sdk-manual: Added cross-reference to QEMU Emulator.
(From yocto-docs rev: 97b070efdadaec645df24416d61c184065d4b96b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:10 +01:00
Scott Rifenbark
63e53d7c27 sdk-manual: Formatting change to list.
(From yocto-docs rev: 3f0ead6ce135ae8f92fa9cded676bb558424628c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:10 +01:00
Scott Rifenbark
e210381588 sdk-manual: Fixed capitalization issue in a list.
(From yocto-docs rev: 861ce526456e2ee2f924b57a469e8c8fdb6bb768)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:10 +01:00
Scott Rifenbark
5ce8b42b5f sdk-manual: Updated heads for list on Eclipse development
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>
2018-05-24 17:16:10 +01:00
Scott Rifenbark
95e451e748 sdk-manual: Updates to the "Using SDK Toolchain Directly" chapter
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>
2018-05-24 17:16:10 +01:00
Scott Rifenbark
c847ddc104 sdk-manual: Updated SDK installation script naming explanation.
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>
2018-05-24 17:16:09 +01:00
Scott Rifenbark
0490334469 sdk-manual: Updated note about some tools being deprecated
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>
2018-05-24 17:16:09 +01:00
Scott Rifenbark
20a5fecdb4 sdk-manual: Updated Eclipse trademarking usage
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>
2018-05-24 17:16:09 +01:00
Scott Rifenbark
ede16868be concepts-manual: Updated Image Generation section.
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>
2018-05-24 17:16:09 +01:00
Scott Rifenbark
3f047c748b documentation: Fixed links to concepts-manual.
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>
2018-05-24 17:16:09 +01:00
Scott Rifenbark
aa3275e953 documentation: Fixed "Getting Started" manual links
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>
2018-05-24 17:16:09 +01:00
Scott Rifenbark
ef25f6b950 mega-manual: Fixed various links to the dev-manual
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>
2018-05-24 17:16:08 +01:00
Scott Rifenbark
7306ab1ba2 mega-manual.sed: Improved readability for strings in .sed file
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>
2018-05-24 17:16:08 +01:00
Scott Rifenbark
f91f4b9b36 documentation: Updated "OpenEmbedded-Core" terms.
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>
2018-05-24 17:16:08 +01:00
Scott Rifenbark
cbe4169d4f ref-manual: Updated LAYERSERIES_COMPAT description.
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>
2018-05-24 17:16:08 +01:00
Scott Rifenbark
7d62867874 ref-manual: Updated LAYERSERIES_COMPAT variable description.
Minor re-wordings from review.

(From yocto-docs rev: d4598e7e43a8bafa4ff6ddeec50febcedc41b411)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:08 +01:00
Scott Rifenbark
67158570bc ref-manual: Fixed two grammar errors.
(From yocto-docs rev: 23a0edc13f2306008c0bbb154fb0861f15d4e6de)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:08 +01:00
Scott Rifenbark
c07257d177 mega-manual.sed: Added brief-yoctoprojectqs to the script
(From yocto-docs rev: a5469784ee7815ba43f3b3c0d77cfd7a32c28f2f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:08 +01:00
Scott Rifenbark
a97c05bd3a documentation: Added brief-yoctoprojectqs to mega-manual
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>
2018-05-24 17:16:07 +01:00
Kristi Rifenbark
63168f74d3 sdk-manual: Cleaned up section IDs between Neon and Oxygen
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>
2018-05-24 17:16:07 +01:00
Scott Rifenbark
f2242e613c documentation: Purged the YP Quick Start references from YP set
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>
2018-05-24 17:16:07 +01:00
Scott Rifenbark
35734315dd ref-manual: Deleted the "ref-bitbake.xml" chapter
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>
2018-05-24 17:16:07 +01:00
Scott Rifenbark
21c0019f44 dev-manual: Added new section on conserving disk space
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>
2018-05-24 17:16:07 +01:00
Scott Rifenbark
58af92b17e brief-yoctoprojectqs: Changed title
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>
2018-05-24 17:16:07 +01:00
Scott Rifenbark
1618559cce bsp-guide: Swapped SERIAL_CONSOLES for SERIAL_CONSOLE
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>
2018-05-24 17:16:06 +01:00
Scott Rifenbark
676d72d412 bsp-guide: Updated SPL_BINARY discussion.
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>
2018-05-24 17:16:06 +01:00
Scott Rifenbark
93675b1470 brief-yoctoprojectqs: Updated wording to use ENTITY variables
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>
2018-05-24 17:16:06 +01:00
Scott Rifenbark
253e098ceb poky.ent: Added variables for doc version minus one
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>
2018-05-24 17:16:06 +01:00
Scott Rifenbark
2f7da70a25 brief-yoctoprojectqs: Added link to getting started manual.
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>
2018-05-24 17:16:06 +01:00
Kristi Rifenbark
ae2efdb664 sdk-manual: Fixed duplicate link
(From yocto-docs rev: 53da7ae95f499bcfb80d4f04b834bf6ade71d2ff)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:06 +01:00
Scott Rifenbark
5d7313d298 bsp-guide: Fixed note on title page to have correct title.
(From yocto-docs rev: 30455141776c86def4721e4dbe97b0c0a6e27ddd)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:05 +01:00
Joshua Watt
f2e51380fb ref-manual: Updated the SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS variable
Describes the new wildcard syntax

(From yocto-docs rev: e91db865686e7b1b9b21cb9aea892b0ed8884438)

Signed-off-by: Joshua Watt <jpewhacker@gmail.com>
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:05 +01:00
Scott Rifenbark
7907cb7b6c Documentation: Updated Manual Notes
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>
2018-05-24 17:16:05 +01:00
Scott Rifenbark
fe1419631c bsp-guide: Added new section for creating layer using bitbake-layers
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>
2018-05-24 17:16:05 +01:00
Scott Rifenbark
424f544ecd ref-manual: Added variable description for SPL_BINARY
(From yocto-docs rev: 00e579123540006c364f7751a37e29c74acf361b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:05 +01:00
Scott Rifenbark
dbf6a1f778 ref-manual: Updated the IMAGE_BOOT_FILES varaible.
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>
2018-05-24 17:16:05 +01:00
Scott Rifenbark
2bb3bcf49c ref-manual: Updated SERIAL_CONSOLE and SERIAL_CONSOLES variables.
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>
2018-05-24 17:16:04 +01:00
Scott Rifenbark
efa4b3040d ref-manual: Updated IMAGE_INSTALL variable description.
Minor edits for clarification.

(From yocto-docs rev: fdef057927b7b0dba64b9b7f952108fdb9c97f34)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:04 +01:00
Scott Rifenbark
85976e1d32 ref-manual: Updated EXTRA_IMAGECMD variable.
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>
2018-05-24 17:16:04 +01:00
Scott Rifenbark
b98b5b25f9 dev-manual: Added an id tag for the create layer step.
(From yocto-docs rev: 59b8c053f8fe94cc51ece86733c435ac7085eb57)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:04 +01:00
Scott Rifenbark
6103268a4f dev-manual: Updated the "Create Your Own Layer" section
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>
2018-05-24 17:16:03 +01:00
Scott Rifenbark
d6a396b594 dev-manual: Updated the "Creating Your Own Layer" section.
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>
2018-05-24 17:16:03 +01:00
Scott Rifenbark
feeb4592b7 dev-manual: Updated the "Creating Your Own Layer" section.
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>
2018-05-24 17:16:03 +01:00
Scott Rifenbark
b77905f131 dev-manual: Updated layer creation example to use $HOME directory
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>
2018-05-24 17:16:03 +01:00
Scott Rifenbark
6b8a529dbf ref-manual: Added new variable description LAYERSERIES_COMPAT
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>
2018-05-24 17:16:03 +01:00
Scott Rifenbark
cc24d4b4f8 poky.ent: Added two Minus-1 variables for release code names
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>
2018-05-24 17:16:03 +01:00
Kristi Rifenbark
6ee6a14491 sdk-manual: Added new appendix for Neon
Fixed [YOCTO #12417]

(From yocto-docs rev: 9f6b874740b98c5b3eed1c06dcf5fbe687279ca8)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-24 17:16:02 +01:00
Kristi Rifenbark
840dbbfff9 sdk-manual: Removed Mars Appendix
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>
2018-05-24 17:16:02 +01:00
Dan McGregor
7897fb35a3 libnss-mdns: fix postinst and postrm
Don't blindly add mdns_minimal, instead check for existing
mdns_minimal instances. Fixes continuously appending mdns settings
to nssswitch.conf when upgrading.

(From OE-Core rev: 9da097b0de6425464ebd3f0539b7495b11d139b5)

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>
2018-05-22 13:13:33 +01:00
Andrej Valek
669a89f377 libxslt: Fix handling of RVTs returned from nested EXSLT functions
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>
2018-05-22 13:13:33 +01:00
Kai Kang
46a8d4e847 gstreamer1.0-plugins-good: enable PACKAGECONFIG gtk conditionally
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>
2018-05-22 13:13:33 +01:00
Ross Burton
dfe68bd964 python2: Fix build with gcc8
(From OE-Core rev: 910f68c9c8dc26e12d28ef29e956af63d100f121)

Signed-off-by: Ross Burton <ross.burton@intel.com>
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>
2018-05-22 13:13:33 +01:00
Khem Raj
e51c0c398c gdb: Upgrade to 8.1 release
cache strerror so it does not try to use rpl_* versions

(From OE-Core rev: 02664a8dcd1ebb6cd77248e1b97a78390ea06033)

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>
2018-05-22 13:13:33 +01:00
Peter Kjellerstedt
69eb013587 oe-pkgdata-util: lookup-recipe, package-info: Don't finish prematurely
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>
2018-05-22 13:13:33 +01:00
Andre McCurdy
95a1d7aefa kernel.bbclass: avoid duplicates in KERNEL_IMAGETYPE_FOR_MAKE
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>
2018-05-22 13:13:33 +01:00
Joshua Watt
0124d2d94e toolchain-shar-extract.sh: Preserve ICECC_PATH
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>
2018-05-22 13:13:33 +01:00
Andre McCurdy
8317400450 bitbake.conf: drop obsolete comment referring to the fail-fast over-ride
The comment appears to have been accidentally left behind when the
fail-fast over-ride was removed by:

  http://git.openembedded.org/openembedded-core/commit/?id=83ce96f44516c8a4a44c8c0140949256f8422014

Also update comments to refer to bitbake variables as just variables,
rather than environment variables.

(From OE-Core rev: 819935bba9047ad8af63bd5d1c199fecf96572b2)

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>
2018-05-22 13:13:33 +01:00
Andre McCurdy
fc57f9cce3 bitbake.conf: drop _build-${BUILD_OS} over-ride
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>
2018-05-22 13:13:33 +01:00
Andre McCurdy
2811907b1a bitbake.conf: make libc over-ride lower priority than _forcevariable
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>
2018-05-22 13:13:33 +01:00
Kai Kang
7ccd4a201c diffstat: fix wrong evaluation of CC
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>
2018-05-22 13:13:32 +01:00
Ross Burton
75081c0ab6 packagegroup-core-x11-sato: don't install libsdl
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>
2018-05-22 13:13:32 +01:00
Ross Burton
7a522d7a90 libsdl2: remove redundant DEPENDS
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>
2018-05-22 13:13:32 +01:00
Martin Jansa
4e94199830 libsdl2: allow to build native and nativesdk
* enable x11 in native builds

(From OE-Core rev: cff055403eab8112ef76cd6331682447bcddf760)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-22 13:13:32 +01:00
Marko, Peter
865e34547a sqlite3: upgrade 3.23.0 -> 3.23.1
(From OE-Core rev: 6a90852e7e8fd6d17308d78966e700f17f567898)

Signed-off-by: Marko Peter <peter.marko@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-22 13:13:32 +01:00
Chen Qi
c4efec05ce dbus-glib: upgrade to 0.110
The obsolete '--with-introspect-xml' option is removed.

(From OE-Core rev: c580190826af141660dbbfe20dc7acbdb6bac562)

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>
2018-05-22 13:13:32 +01:00
Chen Qi
5801eed636 dbus-test: upgrade to 1.12.8
(From OE-Core rev: de2e59695486121d8fda43524f62ad5c5db334d2)

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>
2018-05-22 13:13:32 +01:00
Chen Qi
f920cf02f8 dbus: upgrade to 1.12.8
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>
2018-05-22 13:13:32 +01:00
Andre McCurdy
14a5089e81 default-distrovars.inc: drop obsolete LGPLv2_WHITELIST_GPL-3.0
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>
2018-05-22 13:13:32 +01:00
Martin Jansa
a460d97320 perl-ptest: drop runtime dependency on libssp
* We use ssp impl directly from glibc/musl now.

(From OE-Core rev: db883d727fe9d23c6078c5a078ca3cc07fe296db)

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>
2018-05-22 13:13:32 +01:00
Ricardo Ribalda Delgado
5f6bfdbff5 wic: Fix partition files UIDs on multi rootfs images
When a wks makes reference to multiple rootfs, libspeudo data is not
properly chossen. This results in filesystems with invalid UIDs for all
the files.

This can be tested with this .wks file:
part / --source rootfs --fstype=ext4 --rootfs-dir=core-image-base
part /mnt/data1/ --fstype=ext4 --source rootfs --rootfs-dir=core-image-minimal
part /mnt/data2/ --fstype=ext4 --source rootfs --rootfs-dir=core-image-minimal

And this script

$bitbake core-image-minimal core-image-base syslinux
$losetup --partscan --find --read-only --show test*direct
$sudo mount /dev/loop0p1 /mnt
$ls -lan /mnt
otal 40
drwxr-xr-x 18    0    0  1024 May 11 16:11 .
drwxr-xr-x 25    0    0  4096 May  6 06:31 ..
drwxr-xr-x  2 1000 1000  3072 May 11 15:51 bin
drwxr-xr-x  2 1000 1000  1024 May 11 13:59 boot
drwxr-xr-x  2 1000 1000  1024 May 11 13:59 dev
drwxr-xr-x 25 1000 1000  3072 May 11 15:51 etc
drwxr-xr-x  3 1000 1000  1024 May 11 13:59 home
drwxr-xr-x  6 1000 1000  3072 May 11 15:51 lib
drwx------  2    0    0 12288 May 11 16:11 lost+found
drwxr-xr-x  2 1000 1000  1024 May 11 13:59 media
drwxr-xr-x  3 1000 1000  1024 May 11 15:50 mnt
drwxr-xr-x  2 1000 1000  1024 May 11 13:59 proc
drwxr-xr-x  2 1000 1000  1024 May 11 15:51 run
drwxr-xr-x  2 1000 1000  3072 May 11 15:51 sbin
drwxr-xr-x  2 1000 1000  1024 May 11 13:59 sys
drwxr-xr-t  2 1000 1000  1024 May 11 13:59 tmp
drwxr-xr-x 10 1000 1000  1024 May 11 14:54 usr
drwxr-xr-x  8 1000 1000  1024 May 11 14:55 var
$sudo losetup -d /dev/loop0

(From OE-Core rev: 450335ba5e73a375eb9932b4c4cf37979640dbfc)

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>
2018-05-22 13:13:32 +01:00
Ross Burton
99745a4ddb rootfs: only use dnf to cleanup if package management is enabled
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>
2018-05-22 13:13:32 +01:00
Ross Burton
f0fe88b89f package_manager: expand the removal list for RPM
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>
2018-05-22 13:13:32 +01:00
Jakub Dębski
ef7222c6d1 bitbake: fetch2/__init__.py: Fixed handling of uris with empty path
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>
2018-05-22 13:13:19 +01:00
Andre McCurdy
b68ed05be6 bitbake: fetch/git: make fewer calls to _contains_ref() from download()
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>
2018-05-22 13:13:19 +01:00
Khem Raj
13cc30cd7d local.conf.sample.extended: Drop obsolete rpc and libnsl
Use libnsl2 and rpcsvc-proto packages

(From meta-yocto rev: c6cfed5e9fba40d106b5b825f119bd47f59a810d)

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>
2018-05-15 11:07:50 +01:00
Ross Burton
076d8fcdd2 patchreview: don't disable malformed SoB check
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>
2018-05-15 10:56:51 +01:00
Ross Burton
db4965438b gtk+: fix patch headers
(From OE-Core rev: ff6c5746c821ec128f9cae9bacb818d2c51a4049)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-15 10:56:50 +01:00
Ross Burton
079882cb7b swig: fix patch headers
(From OE-Core rev: 83cd7a36c0ea7d1286abd3508a26b85db8760932)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-15 10:56:50 +01:00
Ross Burton
e1b712b8c1 musl-utils: monitor commits for upstream tracking
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>
2018-05-15 10:56:50 +01:00
Khem Raj
b1d326b031 uninative-tarball: Add libjis and euc-jp gconv files
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>
2018-05-15 10:56:50 +01:00
Khem Raj
1eed078c4a libxcrypt: Fix build with gcc8
Reported-by: Martin Jansa <martin.jansa@gmail.com>
(From OE-Core rev: b4aadf55b9e0979108875778c05915f96e0770aa)

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>
2018-05-15 10:56:50 +01:00
Khem Raj
418b9d9ee7 gcc-sanitizers: Package new liblsan objects built with gcc8
Fixes installed-vs-shipped QA errors

Reported-by: Dan McGregor <danismostlikely@gmail.com>
(From OE-Core rev: b5533d58ebee81fa1e1c061f4f78acc9a1a940df)

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>
2018-05-15 10:56:50 +01:00
Mingli Yu
bce155af1f boost: add contract lib
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>
2018-05-15 10:56:50 +01:00
Chen Qi
1773acf394 sysstat: upgrade to 11.7.3
(From OE-Core rev: cbfabe9aeb2d1876a41119df126cdac3034762ab)

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>
2018-05-15 10:56:50 +01:00
Chen Qi
fdfdd89945 gawk: upgrade to 4.2.1
(From OE-Core rev: 86f137436da8a6d4aded66e586ba2b1eff725022)

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>
2018-05-15 10:56:50 +01:00
Martin Jansa
8e3d864944 strace: remove -fno-omit-frame-pointer from DEBUG_OPTIMIZATION when ptest is enabled
* otherwise strace-4.22/tests/inject-nf.c fails to build as discussed here:
  http://lists.openembedded.org/pipermail/openembedded-core/2018-May/150647.html

(From OE-Core rev: 2f8fdf684a5ed52412ee220b55508d42a1888762)

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>
2018-05-15 10:56:50 +01:00
Chen Qi
9ed25b4eb5 sudo: upgrade to 1.8.23
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>
2018-05-15 10:56:50 +01:00
Eran Matityahu
dbdcadb57c matchbox-session-sato: Make the battery applet depend on machine features
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>
2018-05-15 10:56:50 +01:00
Chen Qi
a6abac49bd devtool/upgrade: fix the order of license checksum representation
In most recipes in OE, beginline and endline are before md5 checksum.
We should obey this tradition in devtool's upgrade. Otherwise, we might
see meaningless change just because of the order change.

e.g.
-LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=7765a3d787cb4fed3ccc3c9cee030af9 \
-                    file://plugins/sudoers/redblack.c;beginline=1;endline=41;md5=805782a8466975716f8376b2be9aedde \
-                    file://lib/util/reallocarray.c;beginline=3;endline=16;md5=85b0905b795d4d58bf2e00635649eec6 \
-                    file://lib/util/fnmatch.c;beginline=3;endline=27;md5=67f83ee9bd456557397082f8f1be0efd \
-                    file://lib/util/getcwd.c;beginline=5;endline=27;md5=449af4cc57fc7d46f42090608ba3e681 \
-                    file://lib/util/glob.c;beginline=6;endline=31;md5=5872733146b9eb0deb79e1f664815b85 \
-                    file://lib/util/snprintf.c;beginline=6;endline=34;md5=c82c1b3a5c32e08545c9ec5d71e41e50 \
-                    file://include/sudo_queue.h;beginline=5;endline=27;md5=449af4cc57fc7d46f42090608ba3e681 \
-                    file://lib/util/inet_pton.c;beginline=3;endline=17;md5=3970ab0518ab79cbd0bafb697f10b33a"
+LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=cc4bf2366b059c9598e3947f885931ec \
+                    file://plugins/sudoers/redblack.c;md5=805782a8466975716f8376b2be9aedde;beginline=1;endline=41 \
+                    file://lib/util/reallocarray.c;md5=85b0905b795d4d58bf2e00635649eec6;beginline=3;endline=16 \
+                    file://lib/util/fnmatch.c;md5=67f83ee9bd456557397082f8f1be0efd;beginline=3;endline=27 \
+                    file://lib/util/getcwd.c;md5=449af4cc57fc7d46f42090608ba3e681;beginline=5;endline=27 \
+                    file://lib/util/glob.c;md5=5872733146b9eb0deb79e1f664815b85;beginline=6;endline=31 \
+                    file://lib/util/snprintf.c;md5=c82c1b3a5c32e08545c9ec5d71e41e50;beginline=6;endline=34 \
+                    file://include/sudo_queue.h;md5=449af4cc57fc7d46f42090608ba3e681;beginline=5;endline=27 \
+                    file://lib/util/inet_pton.c;md5=3970ab0518ab79cbd0bafb697f10b33a;beginline=3;endline=17 \
+                    "

After this change, it becomes:
-LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=7765a3d787cb4fed3ccc3c9cee030af9 \
+LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=cc4bf2366b059c9598e3947f885931ec \
                     file://plugins/sudoers/redblack.c;beginline=1;endline=41;md5=805782a8466975716f8376b2be9aedde \
                     file://lib/util/reallocarray.c;beginline=3;endline=16;md5=85b0905b795d4d58bf2e00635649eec6 \
                     file://lib/util/fnmatch.c;beginline=3;endline=27;md5=67f83ee9bd456557397082f8f1be0efd \
@@ -12,7 +12,8 @@ LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=7765a3d787cb4fed3ccc3c9cee030af9 \
                     file://lib/util/glob.c;beginline=6;endline=31;md5=5872733146b9eb0deb79e1f664815b85 \
                     file://lib/util/snprintf.c;beginline=6;endline=34;md5=c82c1b3a5c32e08545c9ec5d71e41e50 \
                     file://include/sudo_queue.h;beginline=5;endline=27;md5=449af4cc57fc7d46f42090608ba3e681 \
-                    file://lib/util/inet_pton.c;beginline=3;endline=17;md5=3970ab0518ab79cbd0bafb697f10b33a"
+                    file://lib/util/inet_pton.c;beginline=3;endline=17;md5=3970ab0518ab79cbd0bafb697f10b33a \
+                    "

(From OE-Core rev: 6c5cc1b298be6aa1e9d378bc8349e11cbf17d300)

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>
2018-05-15 10:56:50 +01:00
Mingli Yu
246b1de954 kexec-tools: Set -fno-PIC on aarch64
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>
2018-05-15 10:56:50 +01:00
Andre McCurdy
a1dda84fe8 native.bbclass: drop _virtclass-native and _virtclass-nativesdk overrides
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>
2018-05-15 10:56:50 +01:00
Andre McCurdy
a087862d02 security_flags.inc: drop obsolete comment
The last ARM specific over-ride was removed in:

  http://git.openembedded.org/openembedded-core/commit/?id=e93765ffb5718b0fce84f0b8123963176dea95e4

but the comment was accidentally left behind.

(From OE-Core rev: efcf629e2d84bacb955201d1960969020796678e)

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>
2018-05-15 10:56:50 +01:00
Andre McCurdy
64f19d7873 rpm: move ASNEEDED over-ride into the rpm recipe
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>
2018-05-15 10:56:50 +01:00
Andre McCurdy
837a2a6f99 puzzles: move ASNEEDED over-ride into the puzzles recipe
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>
2018-05-15 10:56:50 +01:00
Andre McCurdy
f8fa4aab98 pciutils: move ASNEEDED over-ride into the pciutils recipe
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>
2018-05-15 10:56:50 +01:00
Andre McCurdy
08cdb50847 icu: move ASNEEDED over-ride into icu.inc
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>
2018-05-15 10:56:50 +01:00
Andre McCurdy
6c2ae5900d distcc: move ASNEEDED over-ride into the distcc recipe
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>
2018-05-15 10:56:50 +01:00
Andre McCurdy
26cc941cb4 console-tools: move ASNEEDED over-ride into the console-tools recipe
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>
2018-05-15 10:56:50 +01:00
Andre McCurdy
27bf30e3ce babeltrace: move ASNEEDED over-ride into the babeltrace recipe
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>
2018-05-15 10:56:49 +01:00
Andre McCurdy
db57e87e1a tune-corei7.inc: minor comment tweak to align with tune-core2.inc
(From OE-Core rev: 4b11e44f84b1dcf406c84227c29b9c5a67deaf51)

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>
2018-05-15 10:56:49 +01:00
Jon Szymaniak
dd5bf3e4d2 cve-check.bbclass: detect CVE IDs listed on multiple lines
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>
2018-05-15 10:56:49 +01:00
Ross Burton
00cf91aacc pbzip2: fix upstream check URL
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>
2018-05-15 10:56:49 +01:00
Khem Raj
d742dad9a0 swig: Replace strncpy with memcpy
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>
2018-05-15 10:56:49 +01:00
Khem Raj
6d8644569e libgpg-error: Upgrade 1.28 -> 1.31
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>
2018-05-15 10:56:49 +01:00
Khem Raj
56e6f969f6 mdadm: Fix build with gcc8
(From OE-Core rev: 9bba9c2f1721673881fa8b460887ddebffad538e)

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>
2018-05-15 10:56:49 +01:00
Dan McGregor
e2f9287446 go-native: use libdir_native
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>
2018-05-15 10:56:49 +01:00
Ross Burton
9ddb109370 mesa: fix a build race in src/intel/vulkan
(From OE-Core rev: 5681ba2e403afb6cea03662a2aca6b1834567ddc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-15 10:56:49 +01:00
Khem Raj
c53c3181df strace: Upgrade to 4.22
License-Update: Update Copyright years

(From OE-Core rev: 7ab51c619697ad64d69ecf77449c43fe59c3290c)

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>
2018-05-15 10:56:49 +01:00
Khem Raj
8cc24f3595 webkitgtk: Disable using GST_GL if gst does not enable it
(From OE-Core rev: c76f1fe05661bcdff1b59694cba986bc5feaf1c8)

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>
2018-05-15 10:56:49 +01:00
Khem Raj
198fbe90bf alsa-lib: Upgrade to 1.1.6
License-Update: FSF address updated

(From OE-Core rev: e0fff928df0e82cd2c4729771b9e7c73dd79685b)

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>
2018-05-15 10:56:49 +01:00
Khem Raj
4fa8f93e6a alsa-tools: Update to 1.1.6
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>
2018-05-15 10:56:49 +01:00
Khem Raj
d3081fc0a2 pbzip2: Fix C++11 warnings found with clang
(From OE-Core rev: ccc7a422b7b43f68a10ee6ec9aea7e6074a69630)

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>
2018-05-15 10:56:49 +01:00
Chen Qi
20b0c638ba oe-depends-dot: print dependency chains for '--why' option
When using '--why' option, we currently only list elements.
It's better to print out dependency chains. This patch adds
such abitility.

e.g.
  $ oe-depends-dot -k util-linux -w recipe-depends.dot
  Because: packagegroup-core-boot systemd-compat-units systemd shadow core-image-minimal dbus e2fsprogs
  core-image-minimal -> packagegroup-core-boot -> systemd-compat-units -> systemd -> dbus -> shadow -> util-linux
  core-image-minimal -> packagegroup-core-boot -> systemd-compat-units -> systemd -> dbus -> e2fsprogs -> util-linux

(From OE-Core rev: 1115e06599751f776134674d93627cc381a06660)

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>
2018-05-15 10:56:49 +01:00
Andre McCurdy
970f12b7bb gcc7: drop stray uClibc specific patch
The patch seems to have been left behind when other uClibc specific
patches were purged from gcc in:

  http://git.openembedded.org/openembedded-core/commit/?id=ec03023d2165b49a52b83bac1ea2f0bfded7b852

(From OE-Core rev: f71bc69e5b7581c53071055b694bb0dbfe4b4a87)

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>
2018-05-15 10:56:49 +01:00
Allen Wild
3f5af5e1ec xz: use update-alternatives
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>
2018-05-15 10:56:49 +01:00
Niko Mauno
97293e7cde e2fsprogs: Complement update-alternatives scope
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>
2018-05-15 10:56:49 +01:00
Tim Orling
83a4c4b890 liburi-perl: upgrade 1.73 -> 1.74
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>
2018-05-15 10:56:49 +01:00
Armin Kuster
9e7be9f734 tzdata: update to 2018e
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>
2018-05-15 10:56:49 +01:00
Armin Kuster
3aa4cfc16a tzcode-native: updatet to 2018e
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>
2018-05-15 10:56:49 +01:00
Alexander Kanavin
524e84028e sysvinit-inittab: do not use 'exit 1' to postpone to first boot
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>
2018-05-15 10:56:49 +01:00
Alexander Kanavin
a4a556ea67 gtk+: do not look into $HOME when looking for modules
(From OE-Core rev: c8fa5e7299940792a1c4f5255150a4ce8aac7c54)

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>
2018-05-15 10:56:48 +01:00
Chen Qi
c5d7bd3ee9 devtool/sdk.py: error out in case of downloading file failure
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>
2018-05-15 10:56:48 +01:00
Ross Burton
472c86127a security_flags: disable static PIE in glibc
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>
2018-05-15 10:56:48 +01:00
Jose Perez Carranza
cb68e9a2fe runtime/dnf: Add new dnf test cases
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>
2018-05-15 10:56:48 +01:00
Mike Crowe
5479654eea rm_work: Stop appending _setscene to do_image_complete_setscene stamps
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>
2018-05-11 07:49:38 +01:00
Martin Jansa
5e8ba36be5 grub2: fix build with gcc8
(From OE-Core rev: 3eca7aa8196ef8ed682659ff47f3f1e3b2c6867d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-11 07:49:38 +01:00
Denys Dmytriyenko
e975ced728 mesa: ensure all libwayland-egl* files are removed
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>
2018-05-11 07:49:38 +01:00
Haris Okanovic
d83a3f9a3f depmodwrapper-cross: Add kmod-native to DEPENDS
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>
2018-05-11 07:49:38 +01:00
Armin Kuster
8d9d88d662 util-linux: update to 2.32
rfkill moved locations, update accordingly

refactored avoid_parallel_tests.patch

includes security fix:
CVE-2018-7738 (score: 7.2)
affects: < 2.32-rc1

see changelog for other bugfixes:
https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.32/v2.32-ChangeLog

(From OE-Core rev: a7a1e3155287d3bac7ab83e58d53ee2a364f2e29)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-11 07:49:38 +01:00
Ross Burton
6dee5da9db systemd: fix build with util-linux 2.32
(From OE-Core rev: 12b4fc15f6919d7573bea5d913fb805993e8640a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-11 07:49:38 +01:00
Andrea Galbusera
5945fffebc systemd: backport patch to fix build when gcrypt is enabled
When gcrypt support is present in PACKAGECONFIG, build fails due to the bug
reported in [1]. Since this is already solved upstream, this commit backports
the corresponding patch.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893602

(From OE-Core rev: 4f68722e37d28b5fdd30409570405bf65445eef2)

Signed-off-by: Andrea Galbusera <gizero@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-11 07:49:38 +01:00
Krzysztof Taborski
fb08ae8f48 perl: native modules will not trigger build perl for target.
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>
2018-05-11 07:49:38 +01:00
Mark Asselstine
c6e502bc61 libcap: fix -native and usrmerge builds
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>
2018-05-11 07:49:38 +01:00
Ross Burton
06d7df6fe2 base: improve do_unpack[cleandirs] logic
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>
2018-05-11 07:49:38 +01:00
Hongxu Jia
950dce692a oeqa/selftest/case: fix typo
s/meta-sefltest/meta-selftest/g

(From OE-Core rev: e1672e36a653a1d0efb0999c60bf3c56c1983c02)

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>
2018-05-11 07:49:38 +01:00
Hongxu Jia
c9ab512420 perl: fix CVE-2017-12837
https://perl5.git.perl.org/perl.git/commitdiff/96c83ed78aeea1a0496dd2b2d935869a822dc8a5

(From OE-Core rev: bd53256e165f5bb59a28d77a466d71fce39080fa)

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>
2018-05-11 07:49:38 +01:00
Tom Rini
d7fc3484ef glibc: Check /etc/ld.so.conf.d/*.conf by default
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>
2018-05-11 07:49:38 +01:00
Juro Bystricky
a621109868 distcc-doc_3.2: improve reproducibility
Remove timestamps from metadata of gzip compressed files.

(From OE-Core rev: 8d009dd8c3c56601905a156cb06f339dd4a298e6)

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>
2018-05-11 07:49:38 +01:00
Juro Bystricky
26cccb9305 libical-dev_2.0: improve reproducibility
Remove build host references from distributed files.

(From OE-Core rev: 20f2670e755bcbf90b2b6c08192c022fe7e7eaad)

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>
2018-05-11 07:49:38 +01:00
Ross Burton
4d2b500a08 oe-buildperf-report: highlight large changes in the HTML report
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>
2018-05-11 07:49:38 +01:00
Khem Raj
8b58b3ae27 mesa: Define PYTHON2
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>
2018-05-11 07:49:38 +01:00
Ross Burton
0a1a5bd17e clutter-gst-3.0: upgrade 3.0.24 -> 3.0.26
(From OE-Core rev: 01e7dee6c75f6868453d15b35499dd6d57193da9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-11 07:49:38 +01:00
Anuj Mittal
3ba8b22734 gst-plugins-good: enable mpg123 and lame
Since the last remaining mp3 patents have expired [1] and corresponding
commercial flags from recipes for these removed, enable these to be built by default.

[1] https://www.iis.fraunhofer.de/en/ff/amm/prod/audiocodec/audiocodecs/mp3.html

(From OE-Core rev: 819705fcaf73439ce7c848de4ac6da468b79c977)

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>
2018-05-11 07:49:38 +01:00
Anuj Mittal
a49d11ab4f gstreamer-libav: upgrade 1.12.4 -> 1.14.0
Drop one patch as the change is now present upstream. For changes,
please see: https://gstreamer.freedesktop.org/releases/1.14/

(From OE-Core rev: ebf370f6f20147e45f95ca0bca69346fe6411dff)

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>
2018-05-11 07:49:37 +01:00
Anuj Mittal
2856342f95 gst-python: upgrade 1.12.4 -> 1.14.0
For changes, please see: https://cgit.freedesktop.org/gstreamer/gst-python/tree/ChangeLog

Also merge inc/bb since we have only one version now.

(From OE-Core rev: 360493d4065101462194a49940e4024993011a79)

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>
2018-05-11 07:49:37 +01:00
Anuj Mittal
03d219eebd gst-omx: upgrade 1.12.4 -> 1.14.0
For changes, please see: https://cgit.freedesktop.org/gstreamer/gst-omx/tree/ChangeLog
Merge inc/bb since we only have one version now.

(From OE-Core rev: 6e6d51f22996253ad13224adfcbb8db09a67443f)

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>
2018-05-11 07:49:37 +01:00
Anuj Mittal
6b52c84a3f gst-validate: upgrade 1.12.4 -> 1.14.0
* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/.
* Patch Makefile to fix compilation errors.

(From OE-Core rev: 64a27c7f9792126b1ad82571c351c96da6addb02)

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>
2018-05-11 07:49:37 +01:00
Anuj Mittal
19df6ef6f3 gstreamer-vaapi: upgrade 1.12.4 -> 1.14.0
For changes, please see gstreamer-vaapi specific section at:
https://gstreamer.freedesktop.org/releases/1.14/

(From OE-Core rev: bf0b64717511d9f247b0395d5ae5889df2e08950)

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>
2018-05-11 07:49:37 +01:00
Anuj Mittal
c59b001280 gst-rtsp-server: upgrade 1.12.4 -> 1.14.0
* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/
* Merge inc/bb since there's only one version now.

(From OE-Core rev: c4144ec8c7e26593b76297f924cc09cc5a6b674a)

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>
2018-05-11 07:49:37 +01:00
Anuj Mittal
4a291e3e14 gst-plugins-ugly: upgrade 1.12.4 -> 1.14.0
* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/
* Remove PACKAGECONFIG for lame, mpg123 since those have moved to -good.
* Merge inc/bb since there's only one version now.

(From OE-Core rev: ad928dd4493947c40d733c5e0543fea2f166231d)

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>
2018-05-11 07:49:37 +01:00
Anuj Mittal
2f88de553e gst-plugins-bad: upgrade 1.12.4 -> 1.14.0
* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/
* gst-gl has moved to -good and direct dependencies aren't required.
* Remove vulkan patches that have been upstreamed.
* Remove obsolete PACKAGECONFIGs.

(From OE-Core rev: a8667b7f95d62bd09a1a9ed9575327a22e1c7f59)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-11 07:49:37 +01:00
Anuj Mittal
b01fd6106a gst-plugins-good: upgrade 1.12.4 -> 1.14.0
* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/
* With the expiration of mp3 patents [1], mp3 decoders and encoders have been
  moved to -plugins-good from -plugins-ugly (also see the release notes).
* Move bz2 and zlib to PACKAGECONFIG.
* gtk+ plugin has moved to -good from -bad. Enable it by default.
* qt plugin has also moved to -good from -bad but it's disabled by default.

[1] https://www.iis.fraunhofer.de/en/ff/amm/prod/audiocodec/audiocodecs/mp3.html

(From OE-Core rev: 69e1a7006c4408f54381c95e64e52937e8ba05d5)

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>
2018-05-11 07:49:37 +01:00
Anuj Mittal
e7d761c885 gst-plugins-base: upgrade 1.12.4 -> 1.14.0
* 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>
2018-05-11 07:49:37 +01:00
Anuj Mittal
37e1470a9a gstreamer1.0: upgrade 1.12.4 -> 1.14.0
* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/
* Merge inc and bb file since we only have one version now.

(From OE-Core rev: 21229feea228c44f2b3851ddd52d1899931040b2)

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>
2018-05-11 07:49:37 +01:00
Andre McCurdy
1d44f1f157 subversion: misc recipe cleanup
- 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>
2018-05-11 07:49:37 +01:00
Andre McCurdy
800f2d7b3b alsa-lib: move contents of alsa-fpu.inc into alsa-lib recipe
Merge historical .inc file into the only recipe which uses it.

(From OE-Core rev: eb1eacefafcbf69e48f906234f5016ae18f0bdce)

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>
2018-05-11 07:49:37 +01:00
Mike Crowe
0ef7994fd0 kernel: Permit overriding of KERNEL_IMAGETYPE_FOR_MAKE
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>
2018-05-11 07:49:37 +01:00
Martin Jansa
b7fd23f883 json-c: upgrade to 0.13.1
* 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>
2018-05-11 07:49:37 +01:00
Ross Burton
b28f8b5886 maintainers: reassign some Intel maintainers
(From OE-Core rev: 9f568afee706d689838a00579e6252f778796612)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-11 07:49:37 +01:00
Khem Raj
f4c938c474 packagegroup: Do not add libssp to SDK
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>
2018-05-09 10:47:51 +01:00
Khem Raj
f21072d2e6 allarch.bbclass: Exclude package_do_shlibs from do_package signature
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>
2018-05-09 10:47:51 +01:00
Khem Raj
c083cd8308 ppp: Install net/ppp_defs.h on musl
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>
2018-05-09 10:47:51 +01:00
Khem Raj
30394ba0d4 libnsl2: Install into /usr/include and /usr/lib
Extend to native and nativesdk variants

(From OE-Core rev: d3589298f5ae0bdedbc1f265ed964841a9d11cfd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-09 10:47:51 +01:00
Khem Raj
7d29f786f6 perl: Account for libnsl being dropped from glibc
-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>
2018-05-09 10:47:51 +01:00
Khem Raj
fd912fec3e watchdog: Use libtirpc even on glibc
We dropped in-tree obsoleted rpc from glibc

(From OE-Core rev: 6f4814dd3a14faa49b9b501ec2e19f0ff89fd860)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-09 10:47:51 +01:00
Khem Raj
de02e69796 tcp-wrapper: Use external libnsl
We dropped in-tree obsoleted libnsl from glibc

(From OE-Core rev: 434435b589b4f615378293b6d27dfb2e32665084)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-09 10:47:51 +01:00
Khem Raj
1732008c6d xinetd: Use libtirpc even on glibc
We dropped in-tree obsoleted rpc from glibc

(From OE-Core rev: 1df41d0b48291f586f84b6b74003ea888be72e65)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-09 10:47:51 +01:00
Khem Raj
8af23ef768 ltp: Fix build after removing rpc and libnsl in glibc
(From OE-Core rev: 269d285f57886df8985cb730a11561c74d642ff8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-09 10:47:51 +01:00
Khem Raj
668aba5a36 libnsl: Upgrade to tip beyond 1.2.0 release
(From OE-Core rev: 0d387fe24f62c1c9fa1749de67c718255af59fc6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-09 10:47:50 +01:00
Khem Raj
6ef11123ef libtirpc: Upgrade to 1.0.4-tc1
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>
2018-05-09 10:47:50 +01:00
Khem Raj
00a5c6c010 libnss-nis: Add recipe
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>
2018-05-09 10:47:50 +01:00
Khem Raj
6d6c92ce74 rpcsvc-proto: Add recipe
(From OE-Core rev: 290e7111a7b97305715f3db8cc678b9d1cc75726)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-09 10:47:50 +01:00
Khem Raj
cf5be67635 glibc: Drop obsolete rpc and libnsl
use libnsl2 and rpcsvc-proto packages

(From OE-Core rev: 9dc9983901cec364ea57a72b9da1a0396b60663a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-09 10:47:50 +01:00
Khem Raj
d9c21cc88b musl: Upgrade to latest
Changes are here
https://git.musl-libc.org/cgit/musl/log/?qt=range&q=618b18c78e33acfe54a4434e91aa57b8e171df89..941bd884cc0221d051840ce6d21650339e711863

(From OE-Core rev: 89cca383547323492f1c1939ea95fd364d2aa9fe)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-09 10:47:50 +01:00
Khem Raj
b07bbe597d libunwind: Drop adding libssp to linker flags
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>
2018-05-09 10:47:50 +01:00
Khem Raj
de109820c3 gcc-runtime: Disable gcc version of libssp
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>
2018-05-09 10:47:50 +01:00
Khem Raj
8b5c4fea90 musl: Depend on libssp-nonshared
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>
2018-05-09 10:47:50 +01:00
Khem Raj
be600d88c7 libssp-nonshared: Add recipe
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>
2018-05-09 10:47:50 +01:00
Alejandro Enedino Hernandez Samaniego
27dca7d2e9 tclibc-baremetal: Adds virtual/crypt to ASSUME_PROVIDED
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>
2018-05-08 16:14:14 +01:00
Aníbal Limón
69942186ed recipes-support/ptest-runner: Upgrade to v2.2
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>
2018-05-08 16:14:14 +01:00
Alexander Kanavin
e6ef108258 babeltrace: switch over to git
Tarball directory is gone.

(From OE-Core rev: d4319e6d6e10e0af49968704b42b13a4f4e414c5)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-08 16:14:14 +01:00
Alexander Kanavin
96d783fa39 ifupdown: correct the repository location
The old repo is gone.

(From OE-Core rev: f171137579bf3141032d309fa433c14ac9141e43)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-08 16:14:14 +01:00
Alexander Kanavin
a6b62ef9ae meson: update to 0.46.0
Rebase a couple of patches

(From OE-Core rev: dbac12d5eacc945881d472dca492180b62e6f345)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-08 16:14:14 +01:00
Alexander Kanavin
26fba81701 webkitgtk: update to 2.20.1
(From OE-Core rev: 9be9db5fa6f373f16fbe8638d3f7630a24dafcfb)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-08 16:14:14 +01:00
Alexander Kanavin
4c52e22689 procps: update to 3.3.14
(From OE-Core rev: c699a519c708bb7ab3035dfeb7ab8c1b4ecd349d)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-08 16:14:14 +01:00
Alexander Kanavin
23320a2c9a libwebp: update to 1.0.0
--disable-experimental has been removed upstream.

(From OE-Core rev: 1d03368b265e7dad2a7e5f5db15c456b9f4e6e2d)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-08 16:14:14 +01:00
Alexander Kanavin
63ef74ecee gnome-desktop3: update to 3.28.1
(From OE-Core rev: 421c5fa918278ee0211bd2cf315b5c0937440b67)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-08 16:14:14 +01:00
Alexander Kanavin
bc3d4921f0 epiphany: update to 3.28.1.1
(From OE-Core rev: 81cbf2e7892b023c0eb12e77f91a6611d3b3b8fe)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-08 16:14:14 +01:00
Alexander Kanavin
50017440ea pcmanfm: update to 1.3.0
(From OE-Core rev: fa623bb9cd57ff68a3b0334038b7e3f16d43dec5)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-08 16:14:14 +01:00
Alexander Kanavin
9fec5109ae libfm: update to 1.3.0.2
(From OE-Core rev: 3f2961e7d2311c106d92a999bfe8b6af01c0f9bb)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-08 16:14:14 +01:00
Alexander Kanavin
04bbd38668 vala: update to 0.40.4
(From OE-Core rev: c366ad0e392ff189cf3243399dc7ab91989f53fd)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-08 16:14:14 +01:00
Alexander Kanavin
e0592271be ffmpeg: update to 4.0
(From OE-Core rev: d854663834977df144304b966b47c5be24794dca)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-08 16:14:13 +01:00
Alexander Kanavin
4b6837bdfb gobject-introspection: update to 1.56.1
(From OE-Core rev: 4374c8cf1984588b3fbdb8244095270131af8ea0)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-08 16:14:13 +01:00
Richard Purdie
f301a3bc11 settings-daemon: Drop pointless apply=yes in SRC_URI
(From OE-Core rev: ae8b78f2ef5df4b24f8e2294c5e2760367b8bf8d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:06 +01:00
Otavio Salvador
27651730e5 go: Update 1.9.4 -> 1.9.6
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>
2018-05-04 13:28:06 +01:00
Otavio Salvador
7707acbd0c go: Upgrade 1.10.1 -> 1.10.2
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>
2018-05-04 13:28:06 +01:00
Mike Crowe
78b59f3660 alsa-utils: Fix error when removing unwanted udev rules
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>
2018-05-04 13:28:05 +01:00
Otavio Salvador
5f699e314d mesa: Upgrade 17.3.8 -> 18.0.2
This includes changes from Mesa 18.0.0 and 18.0.2 releases.

Mesa 18.0.0 is a new development release and 18.0.1 and 18.0.2 are
bug-fix releases.

You can find release notes here:

  - https://mesa3d.org/relnotes/18.0.0.html
  - https://mesa3d.org/relnotes/18.0.1.html
  - https://mesa3d.org/relnotes/18.0.2.html

Remove patch 0001-st-dri-Initialise-modifier-to-INVALID-for-DRI2.patch
that was applied on upstream.

(From OE-Core rev: c16bc7c9b1526ff4b9496af00ada08aa4109c0ef)

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>
2018-05-04 13:28:05 +01:00
Alexander Kanavin
e6f9ef2aa9 glib-2.0: update to 2.56.1
Remove upstreamed ptest-paths.patch

(From OE-Core rev: 772e6c566b1ba1d27895d78db1d082b3458f41fe)

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>
2018-05-04 13:28:05 +01:00
Peter Kjellerstedt
73206c91d3 glib: Make glib-mkenums ignore unknown per value options
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>
2018-05-04 13:28:05 +01:00
Ross Burton
28e3c374e2 libuser: remove
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>
2018-05-04 13:28:05 +01:00
Kai Kang
a249775600 lame: remove LICENSE_FLAGS
The patent on mp3 format due to expire, so remove LICENSE_FLAGS from
lame recipe.

Ref:
https://bugzilla.gnome.org/show_bug.cgi?id=774252

(From OE-Core rev: ef98095cabeb54bd86c2cb78229a1180c7403d4d)

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>
2018-05-04 13:28:05 +01:00
Mingli Yu
d336110b94 boost: update to 1.67.0
* 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>
2018-05-04 13:28:05 +01:00
Kai Kang
ad2a0b2ef1 mpg123: remove LICENSE_FLAGS
mgp123 is patent free from version 1.25.0, so remove LICENSE_FLAGS.

https://mpg123.de/cgi-bin/news.cgi#2017-05-29

(From OE-Core rev: b0bc82a5f238db82425b3b146e269bc6605cbdce)

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>
2018-05-04 13:28:05 +01:00
Chen Qi
b1b4dd8f76 sstate.bbclass: drop obsolete codes
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>
2018-05-04 13:28:05 +01:00
Andre McCurdy
101c65d59e tune-corei7.inc: update TUNE_CCARGS -march CPU type corei7 -> nehalem
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.html
  https://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>
2018-05-04 13:28:05 +01:00
Andre McCurdy
5c526c37ff tar: control acl PACKAGECONFIG based on acl distro feature
(From OE-Core rev: fa8f3bda2680d9890ff6d2bc0ce9737a4d40b4f7)

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>
2018-05-04 13:28:05 +01:00
Andre McCurdy
b6c35d1c5b tar: merge tar.inc into tar recipe
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>
2018-05-04 13:28:05 +01:00
Martin Lund
d49bfa2eae mtd-utils: Add mtd-utils-tests package
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>
2018-05-04 13:28:05 +01:00
Hongxu Jia
722fbf6c73 qemu: fix CVE-2017-16845
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>
2018-05-04 13:28:05 +01:00
Hong Liu
0e24828643 time:1.8 -> 1.9
Upgrade time from 1.8 to 1.9.

(From OE-Core rev: f6ac06967905686cc3974a3524c89cb74af22a16)

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:05 +01:00
Hongxu Jia
35c75c7773 perf: make a copy of kernel source to perf workdir
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>
2018-05-04 13:28:05 +01:00
Joe Slater
1d708bb185 python3-native: correctly invoke regen-importlib make target
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>
2018-05-04 13:28:05 +01:00
Ming Liu
78c0b21e3d image_types_wic: add do_image_wic before do_image_complete
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>
2018-05-04 13:28:05 +01:00
Ricardo Salveti
c42c908058 grub-efi: add grub target and image for aarch64
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>
2018-05-04 13:28:05 +01:00
Niko Mauno
79dbefbf4a mtd-utils: Complement update-alternatives scope
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>
2018-05-04 13:28:05 +01:00
Chen Qi
2822c25757 linux-libc-headers: multilib_header asm/kvm_para.h and asm/bpf_perf_event.h
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>
2018-05-04 13:28:05 +01:00
Chen Qi
b69c185a67 glibc: use oe_multilib_header on bits/floatn.h
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>
2018-05-04 13:28:05 +01:00
Niko Mauno
5097cf24f0 procps: Complement update-alternatives scope
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>
2018-05-04 13:28:05 +01:00
Khem Raj
51394baea4 llvm: Fix [compile-host-path] QA issue
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>
2018-05-04 13:28:05 +01:00
Khem Raj
a68dd429c2 musl: Upgrade to latest
Changes are here

https://git.musl-libc.org/cgit/musl/log/?qt=range&q=55df09bfccbfe21fc9dd7d8f94550c0ff25ace04..618b18c78e33acfe54a4434e91aa57b8e171df89

(From OE-Core rev: f672f5bc61df914e2b4b3c1ae716e2bb1b6ae459)

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>
2018-05-04 13:28:05 +01:00
Zhixiong Chi
aa5d47925a liburcu: fix multilib header conflict-urcu/config.h
(From OE-Core rev: 362787f252285658c86566db81758d4a3f55e67e)

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:04 +01:00
Zhixiong Chi
b79e1ffa8a npth: fix multilib header conflict-npth.h
(From OE-Core rev: 445644efd08f76762ec980999e9a6e91e4e88598)

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:04 +01:00
Koen Kooi
f03dccc7ec python 2.7: fix multilib patch to accept multiarch style paths
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>
2018-05-04 13:28:04 +01:00
Koen Kooi
2c9c4a406a libcap: fix (base_)libdir usage
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>
2018-05-04 13:28:04 +01:00
Koen Kooi
ab8b5cbfd6 native bbclass: handle base_libdir as well
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>
2018-05-04 13:28:04 +01:00
Andrej Valek
776414fcf9 dropbear: update to 2018.76
- 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>
2018-05-04 13:28:04 +01:00
Marek Vasut
6cc503ed80 u-boot: Upgrade to 2018.03 release
This upgrades the U-Boot from 2018.01 to 2018.03 release and drops
patches accepted upstream, getting the patch count to zero.

(From OE-Core rev: c1d680326cabd10d0940827e8dfdc884f67b1e9a)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:04 +01:00
Ross Burton
c5e230aba9 beecrypt: remove
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>
2018-05-04 13:28:04 +01:00
Denys Dmytriyenko
1b0340b3b8 weston: upgrade to 4.0.0
Official announcement:
https://lists.freedesktop.org/archives/wayland-devel/2018-April/037768.html

Dropped previously backported fix-missing-header.patch and
weston-gl-renderer-Set-pitch-correctly-for-subsampled-textures.patch

Refresh remaining local patches.

Modify 0001-weston-launch-Provide-a-default-version-that-doesn-t.patch with
changes to apply against the new code base.

Support for libunwind was dropped in bb707dc0fe331c9af112a0552b7aa6fde755dd83:
https://cgit.freedesktop.org/wayland/weston/commit/?id=bb707dc0fe331c9af112a0552b7aa6fde755dd83

Extract major version for referring to libweston-4 helper libraries.

(From OE-Core rev: 0cc82a9158f58a37865f3ccc56156c987706f735)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:04 +01:00
Denys Dmytriyenko
8097bf7012 wayland: upgrade to 1.15.0
Official announcement:
https://lists.freedesktop.org/archives/wayland-devel/2018-April/037767.html

| libwayland-egl is now part of libwayland, and will presumably be removed
| from mesa in the not too distant future.

Update mesa recipe by removing corresponding libwayland-egl entries.

(From OE-Core rev: 6e5952fcfc13ff4b63c9376bd41a1dbba957f425)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:04 +01:00
Ross Burton
45247cecfb meta: add missing Signed-off-by and Upstream-Status tags
(From OE-Core rev: 3dfdacb0323eba6e1b5f23deaf5e2e40b1f13dc3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:04 +01:00
Ross Burton
733056f7ba pixz: remove
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>
2018-05-04 13:28:04 +01:00
Koen Kooi
3bcba3406c bind: fix openSSL detection when using multiarch
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>
2018-05-04 13:28:04 +01:00
Maxin B. John
2be3492a94 gtk-icon-utils-native: upgrade to version 3.22.29
3.22.28 -> 3.22.29

(From OE-Core rev: 4c7c3df74e787c1d880c23d7c72de9e1922d8079)

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>
2018-05-04 13:28:04 +01:00
Maxin B. John
812bf587a9 puzzles: upgrade to latest commit
* Fix false-positive completion detection in X Solo.

(From OE-Core rev: a554bf0079489a4f929545af1af0258d74d11d45)

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>
2018-05-04 13:28:04 +01:00
Maxin B. John
342f3c9ec2 gtk+3: upgrade to version 3.22.29
* 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>
2018-05-04 13:28:04 +01:00
Maxin B. John
1d9c7f3c09 ruby: upgrade to version 2.5.1
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>
2018-05-04 13:28:04 +01:00
Maxin B. John
9416cde4bc libsolv: upgrade to version 0.6.34
Bug fix release

(From OE-Core rev: fd5add4fdf777d6fcc89754a46cbc6a94d5eb3fc)

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>
2018-05-04 13:28:04 +01:00
Maxin B. John
02492342ae bluez5: upgrade to version 5.49
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>
2018-05-04 13:28:04 +01:00
Maxin B. John
85a4690f83 libatomic-ops: upgrade to version 7.6.4
* 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>
2018-05-04 13:28:04 +01:00
Alexander Kanavin
364b7ca6c6 gobject-introspection: update to 1.56.0
License-Update: bug tracker link changed

(From OE-Core rev: fbd485b2666cf0212064e2d8b55f44b84108e572)

(From OE-Core rev: c6986821692bb6dd3036075973b1390765dbc993)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:04 +01:00
Anuj Mittal
dabd0c0c11 atk: make sure that introspection is enabled
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>
2018-05-04 13:28:04 +01:00
Maxin B. John
a8eb3f6301 atk: upgrade to version 2.28.1
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>
2018-05-04 13:28:04 +01:00
Richard Purdie
20421f2b4e libxcalibrate: Drop, no users anymore
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>
2018-05-04 13:28:04 +01:00
Armin Kuster
36166dbade libshmfence: update to 1.3
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>
2018-05-04 13:28:04 +01:00
Maxin B. John
5a683ef2b1 libevdev: upgrade to version 1.5.9
1.5.8 -> 1.5.9

(From OE-Core rev: 0ba37befba81ab0caea4f5d51289bb560ea59b8f)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:03 +01:00
Maxin B. John
a6646df0ca sqlite3: upgrade to version 3.23.0
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>
2018-05-04 13:28:03 +01:00
Maxin B. John
6752661043 libsoup-2.4: upgrade to version 2.62.0
2.60.3 -> 2.62.0

(From OE-Core rev: cf4cb9d788797411f555235148650c3a6645fd8c)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:03 +01:00
Maxin B. John
d0dc306752 libusb1: upgrade to version 1.0.22
1.0.21 -> 1.0.22

(From OE-Core rev: 1488b9e6c56ea46b5612352ab9dd16a1ee028f8c)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:03 +01:00
Maxin B. John
d661de4a3b vte: upgrade to version 0.52.0
Removed configuration option "--disable-test-application"
[unknown-configure-option]

(From OE-Core rev: 583a501aa4924ff3d754ff37c7fc739860dd1c8e)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:03 +01:00
Maxin B. John
7d9a875034 ofono: upgrade to version 1.23
1.22 -> 1.23

(From OE-Core rev: f131d2dd268fc84783d7729a9654c0d5ca4ab97c)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:03 +01:00
Maxin B. John
1244333aad at-spi2-atk: upgrade to version 2.26.2
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>
2018-05-04 13:28:03 +01:00
Maxin B. John
4e380d7f4b at-spi2-core: upgrade to version 2.28.0
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>
2018-05-04 13:28:03 +01:00
Maxin B. John
452894f557 adwaita-icon-theme: upgrade to version 3.28.0
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>
2018-05-04 13:28:03 +01:00
Hongxu Jia
76c840c584 libgpg-error: 1.27 -> 1.28
- 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>
2018-05-04 13:28:03 +01:00
Armin Kuster
42885bbdb2 maintainers: update email address
(From OE-Core rev: 80972b50e32fcd5f62200b59df113f753f7143d2)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:03 +01:00
Armin Kuster
4ba923dbac xorg: Replace depreciated *proto depends with xorgproto
This completes the transition to xorgproto.

(From OE-Core rev: 9d236bd40ef8598c78c1ea807d658467700505e2)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:03 +01:00
Armin Kuster
e2b37c8661 xorgproto: Replace individual depreciated xorg proto recipes with xorgproto
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>
2018-05-04 13:28:03 +01:00
Armin Kuster
b8895b625b xf86-video-vesa: update 2.4.0 update
(From OE-Core rev: 9f4fc40ee19c6555dac8c387272775d2722d4291)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:03 +01:00
Armin Kuster
b897b51924 libxcb: update to 1.13
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>
2018-05-04 13:28:03 +01:00
Armin Kuster
40a2c320f9 util-macros: update to 1.19.2
(From OE-Core rev: 182ac556bc924be3841f70a067f96237b2bb4514)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:03 +01:00
Armin Kuster
ac904673bf mkfontscale: update to 1.1.3
(From OE-Core rev: 900f3520b27cae5d7524094c0155e272836e2450)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:03 +01:00
Armin Kuster
5ec4ea91ae curl: update to 7.59.0
(From OE-Core rev: 4c1ed0a1a265add8d856a6d2c6f04562b975c180)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:03 +01:00
Armin Kuster
0971f7f164 xcb-proto: update to 1.13
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>
2018-05-04 13:28:03 +01:00
Armin Kuster
ca0a426953 xset: update to 1.2.4
(From OE-Core rev: 4076dfd181ade68f78ca9e98cac10703bde4fdce)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:03 +01:00
Armin Kuster
7b3df7753a xeyes: update to 1.1.2
(From OE-Core rev: 1b6d051dbb7858f74890616633d76e22d6763a81)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:03 +01:00
Armin Kuster
ea5b9e9c8a gnutls: update to 3.6.2
(From OE-Core rev: 47249a21354f1cf44eb8e46db6e613cf4718bfab)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:03 +01:00
Armin Kuster
b64b3d4899 xwininfo: update to 1.1.4
(From OE-Core rev: 3a0911bef2264416060029f27d9737c840780aa4)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:03 +01:00
Armin Kuster
c842952861 xinit: update to 1.4.0
(From OE-Core rev: 8b2b91ab603199412c9e4f0b0bef4fd1f92ab89b)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:03 +01:00
Armin Kuster
e812522e68 xkbcomp: update to 1.4.1
(From OE-Core rev: c4f61e875861c3c993744979906ddab0e3258e55)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:02 +01:00
Armin Kuster
e9beafa20b xkeypboard-config: update to 2.23.1
(From OE-Core rev: a578659365a6410e4fe05a97c5c3b5dffba5cbed)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:02 +01:00
Armin Kuster
1cc7d4c688 xprop: update to 1.2.3
(From OE-Core rev: 12dd4f9c211101dcb05b61747d5592d1abadb2ed)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:02 +01:00
Armin Kuster
3f5488219e libpcre2: update to 10.31
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>
2018-05-04 13:28:02 +01:00
Alexander Kanavin
1ef125ded6 oeqa/runtime/cases/python: use python 3 rather than python 2
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>
2018-05-04 13:28:02 +01:00
Alexander Kanavin
c292f9ebc5 libsecret: update to 0.18.6
(From OE-Core rev: e3e39e8b22d7b101c7e3d8f6ff6afc4d87af9bea)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:02 +01:00
Alexander Kanavin
8b7b875807 libidn: update to 1.34
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>
2018-05-04 13:28:02 +01:00
Alexander Kanavin
210f9c0ae0 btrfs-tools: update to 4.15.1
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>
2018-05-04 13:28:02 +01:00
Alexander Kanavin
cb448f161a meson: update to 0.45.1
(From OE-Core rev: 8b7e013da561838629a9f93d53dbf4d4415ee856)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:02 +01:00
Alexander Kanavin
a6b11646a1 libaio: update to 0.3.111
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>
2018-05-04 13:28:02 +01:00
Alexander Kanavin
57f065702e babeltrace: update to 1.5.5
(From OE-Core rev: c2d2763f42c38a892809c8c4cdf2d78efa8f07d3)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:02 +01:00
Alexander Kanavin
0f9586023a icu: update to 61.1
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>
2018-05-04 13:28:02 +01:00
Alexander Kanavin
f367f31e94 gtk-doc: update to 1.28
(From OE-Core rev: 22cc8b49e31a121ab48d3ebaae5d0ccfaa4053fa)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:02 +01:00
Alexander Kanavin
531946c136 epiphany: update to 3.28.0.1
Rebase 0002-help-meson.build-disable-the-use-of-yelp.patch.

(From OE-Core rev: 35fb1c0d635bb714e6b46a102bc78e539d8cd3f1)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:02 +01:00
Alexander Kanavin
75857ed35e gnome-desktop3: update to 3.28.0
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>
2018-05-04 13:28:02 +01:00
Alexander Kanavin
787e4e9502 gsettings-desktop-schemas: update to 3.28.0
(From OE-Core rev: 35a4aa5f24f1f8189c0cfdecde0bbc94ab7252ca)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:02 +01:00
Alexander Kanavin
70b86ae68f webkitgtk: update to 2.20.0
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>
2018-05-04 13:28:02 +01:00
Alexander Kanavin
8cbbadd444 bash-completion: update to 2.8
(From OE-Core rev: e974ce6e4d3c54cde5b43c9056c649bb98ed69f5)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:02 +01:00
Alexander Kanavin
56bf3a57c6 gobject-introspection: do not hardcode the current version in the tarball path
(From OE-Core rev: b55b55f097fdd153df96c489f7e172fb618c92cd)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:02 +01:00
Alexander Kanavin
263370b4f7 vala: update to 0.40.2
(From OE-Core rev: 0c29f94d38fa24c72375599325b23c714102d02f)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:02 +01:00
Alexander Kanavin
9162159219 sysprof: add RECIPE_NO_UPDATE_REASON
(From OE-Core rev: 334b833aa2039007543e25fa1df6926c70217214)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:02 +01:00
Alexander Kanavin
cb8116f8f0 gcr: upgrade 3.20.0 -> 3.28.0
(From OE-Core rev: 2d360c5eaf73061fd113875be19e211a900310a8)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:02 +01:00
Alexander Kanavin
6261f8cac5 lighttpd: upgrade 1.4.48 -> 1.4.49
(From OE-Core rev: 741c3222a67f3910c185dc265326717a1f8f92d8)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:02 +01:00
Tim Orling
66baf90a88 libxml-sax-perl: upgrade 0.99 -> 1.00
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>
2018-05-04 13:28:02 +01:00
Yi Zhao
602c7d65bb logrotate: update to 3.14.0
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>
2018-05-04 13:28:02 +01:00
Brad Bishop
7a4684c381 autoconf-archive: update to version to 2018.03.13
2016.09.16 -> 2018.03.13

License-Update: s/http/https/ in the license requires md5sum update.

(From OE-Core rev: ac0bdebcc415f0ad448a41907d4e6a23f4855813)

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:01 +01:00
Andrej Valek
18ddd22163 libpcre: 8.41 -> 8.42
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>
2018-05-04 13:28:01 +01:00
Changhyeok Bae
c2a7441ae1 ethtool: update 4.13 -> 4.15
(From OE-Core rev: 75ae2a49149da1b81476555af744a35c700af53e)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:01 +01:00
Changhyeok Bae
72f7e1d933 iproute2: update 4.14.1 -> 4.15.0
0001-iproute2-de-bash-scripts.patch is applied in upstream repo.

(From OE-Core rev: 59b1eba253d488c2a67ba8a98e937e92271efcc1)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:01 +01:00
Derek Straka
8341cf5a18 python*-setuptools: update to 39.0.1
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>
2018-05-04 13:28:01 +01:00
Derek Straka
e7faba46cc python3-pip: update to version 9.0.3
Update to the latest stable version

(From OE-Core rev: 67db8d72389669cd854e46cbacb3e8b6dfc5a044)

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>
2018-05-04 13:28:01 +01:00
Tim Orling
20c75dafb4 libxml-simple-perl: upgrade 2.24 -> 2.25
* 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>
2018-05-04 13:28:01 +01:00
Yi Zhao
b1c503af65 libcap-ng: update to 0.7.9
Rebase python.patch.

(From OE-Core rev: f98f0e6d8096290fdcc5fc6fc3b15638fa56158f)

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>
2018-05-04 13:28:01 +01:00
Yi Zhao
e5d1c61093 less: update to 530
(From OE-Core rev: 4229cdca14d5cd6b6ab3628c8e31aff5f1fe27a8)

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>
2018-05-04 13:28:01 +01:00
Andrej Valek
ce8d120bfc libxml2: 2.9.7 -> 2.9.8
(From OE-Core rev: de24ead63802523daa19ce8528ac95d9e041eaf8)

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>
2018-05-04 13:28:01 +01:00
Hongxu Jia
49e0838e1d ghostscript: 9.21 -> 9.23
1. Drop backported patches
- CVE-2017-7207.patch
- CVE-2017-5951.patch
- CVE-2017-7975.patch
- CVE-2017-9216.patch
- CVE-2017-9611.patch
- CVE-2017-9612.patch
- CVE-2017-9739.patch
- CVE-2017-9726.patch
- CVE-2017-9727.patch
- CVE-2017-9835.patch
- CVE-2017-11714.patch

2. Rebase to 9.23
- ghostscript-9.15-parallel-make.patch
- ghostscript-9.16-Werror-return-type.patch
- do-not-check-local-libpng-source.patch
- avoid-host-contamination.patch
- mkdir-p.patch
- ghostscript-9.21-prevent_recompiling.patch
- ghostscript-9.02-genarch.patch
- cups-no-gcrypt.patch
- ghostscript-9.21-native-fix-disable-system-libtiff.patch
- base-genht.c-add-a-preprocessor-define-to-allow-fope.patch

3. Add packps from (native to target) to support cross compiling.

4. Add remove-direct-symlink.patch to fix
   do_populate_sysroot failure

(From OE-Core rev: f8b4636472c6784fb78ca09a7dd7ebe53011f631)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:01 +01:00
Hongxu Jia
4b155ccd4b man-db: upgrade 2.8.1 -> 2.8.2
(From OE-Core rev: a1e5d85bd69e58a90253974882fdb70bed10c9c9)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:01 +01:00
Hongxu Jia
38f1d8b32c gnupg: upgrade 2.2.4 -> 2.2.5
(From OE-Core rev: 37b17c45e643171e3cfb9a4b1f84c6f0ee934a94)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:01 +01:00
Hongxu Jia
5e161f4266 bash: 4.4.12 -> 4.4.18
- 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>
2018-05-04 13:28:01 +01:00
Hongxu Jia
401413579f ncureses: 6.0+20171125 -> 6.1
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>
2018-05-04 13:28:01 +01:00
Denys Dmytriyenko
f6cb244907 lz4: upgrade 1.7.4 -> 1.8.1.2
0001-tests-Makefile-don-t-use-LIBDIR-as-variable.patch accepted upstream.

License-Update: rephrased clarification regarding lib/ vs. programs/, tests/ and examples/
97df1c9789

(From OE-Core rev: 633a2ac95b72c685031aa6c76943c2fb073e1921)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:01 +01:00
Denys Dmytriyenko
71826b40f2 hdparm: upgrade 9.53 -> 9.55
(From OE-Core rev: b4468008615256e6c2f47ef7a1fea6665c0cd1b2)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:01 +01:00
Denys Dmytriyenko
1f7283fd0f lzip: upgrade 1.19 -> 1.20
(From OE-Core rev: 64fea1fcd3bd5b63937874cd07498dee66ca3748)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:01 +01:00
Sarah Marsh
d845b9960b recipetool: fixed uncaught NameError exception
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>
2018-05-04 13:28:01 +01:00
Kevin Carli
ea604b4dba tzdata: fix a typo.
(From OE-Core rev: 6e3ea2f17bcd9d942f838ba972338d92e95f65d4)

Signed-off-by: Kevin Carli <k.carli@overkiz.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-04 13:28:01 +01:00
Richard Purdie
f6689c1dae toolchain-scripts/meta-ide-support: Handle dash shells correctly
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>
2018-05-04 13:28:01 +01:00
Chin Huat Ang
00302da399 toolchain-scripts: preserve host path in environment setup script
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>
2018-05-04 13:28:01 +01:00
David Reyna
b6bc5b2840 bitbake: toaster: add 'Sumo' to release selection
Add Sumo (YP-2.5) to the release selection for new projects.

[YOCTO #12713]

(Bitbake rev: 76b17ffcea5c7275c2f9735a058256ba909b1a75)

Signed-off-by: David Reyna <david.reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-26 11:43:26 +01:00
Richard Purdie
da3625c52e build-appliance-image: Update to sumo head revision
(From OE-Core rev: 1b03cdf290c3c8b7f903aef696b0e1bfe763cbe0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-23 17:54:32 +01:00
Richard Purdie
14d62d5c14 poky.conf: Bump version for 2.5 sumo release
(From meta-yocto rev: eb759d24a69da5d649386a333461f4f226920f0d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-23 17:51:10 +01:00
Mattias Hansson
c4338a9420 bitbake: lib/bb/utils: prevent movefile from changing dest dir permissions
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>
2018-04-23 17:26:05 +01:00
Armin Kuster
b90e694017 perl: Security fix CVE-2017-12883
Affects: Perl  < 5.24.3-rc1 and  5.26.x before 5.26.1-RC1

(From OE-Core rev: 60ebf7fcb7bfcef8a8e0cd52e737b082623ff109)

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>
2018-04-23 17:26:05 +01:00
Ola x Nilsson
df08ba32a6 package.bbclass: Make staticlib problems non-fatal
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>
2018-04-23 17:26:05 +01:00
Matt Madison
00fe24fe8c go-runtime_1.9: pass BUILD_ flags to cgo for host-side build
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>
2018-04-23 17:26:05 +01:00
Joshua Watt
d331af97a0 Revert "icecc.bbclass: Improve error reporting"
This reverts commit b28114cf1e.

The "-E" option for flock is not ubiquitously supported, so don't use
it.

(From OE-Core rev: 802a2877a78a44c17f3e142f7d12017a08d09dad)

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>
2018-04-23 17:26:04 +01:00
Martin Jansa
a2a7ce7b68 pseudo: use latest SRCREV
* 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>
2018-04-23 17:26:04 +01:00
Richard Purdie
a67ad9544a package: Fix PACKAGELOCK handling
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>
2018-04-23 17:26:04 +01:00
Juro Bystricky
9da1b6e59a bitbake.conf: re-order DEBUG_PREFIX_MAP
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>
2018-04-23 17:26:04 +01:00
Juro Bystricky
71b4ae2561 glib-2.0/glib.inc: fix broken mingw build
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>
2018-04-20 08:19:46 +01:00
Richard Purdie
b71709b0e2 wic/imager/direct: Ensure correct ROOTFS_DIR is shown
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>
2018-04-20 08:19:46 +01:00
Richard Purdie
91aa78a8cd oeqa/selftest/runqemu: qemu nfs testing not ready for deployment
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>
2018-04-20 08:12:17 +01:00
Richard Purdie
2d93f1c351 package.bbclass: Only try and process static lib debug symbols on targetos != mingw*
"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>
2018-04-20 08:12:17 +01:00
Yeoh Ee Peng
a0edc4917a oe-selftest: runqemu: add tests for qemu boot and shutdown
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>
2018-04-20 08:12:17 +01:00
Ola x Nilsson
47651bd6aa package.bbclass: Include dbgsrc for static libs
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>
2018-04-20 08:12:17 +01:00
Jef Driesen
59b3539e86 bitbake.conf: add scp to HOSTTOOLS_NONFATAL
The scp tool is used by the ssh fetcher.

(From OE-Core rev: 96f6cc7f6a3f7fa4e5cf2b00f0f163eceb904c60)

Signed-off-by: Jef Driesen <jef.driesen@niko.eu>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-20 08:12:17 +01:00
Andre McCurdy
fd5488ba75 package.py: use single quotes for path passed to file in is_elf()
Align package.py is_elf() with recent changes in package.bbclass
isELF():

  http://git.openembedded.org/openembedded-core/commit/?id=7877761534b0c2492da6289e9f2269d41b6ed464

(From OE-Core rev: ab056c7f6065f310be4dd256ceb45f85ff981f69)

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>
2018-04-20 08:12:17 +01:00
Ricardo Salveti
e06ab7c88d usbutils: use update-alternatives for lsusb
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>
2018-04-20 08:12:16 +01:00
Hongxu Jia
06f4699036 openssh: disable ciphers not supported by OpenSSL DES
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>
2018-04-20 08:12:16 +01:00
Richard Purdie
a31792eb28 meta-poky/local.conf.sample: Add sstate mirror example for 2.5
(From meta-yocto rev: c7c5dc19ed6487c597db1f4c5b3a829457ed1a45)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-18 18:57:06 +01:00
Richard Purdie
1b2f8e6de6 uninative: Set the dynamic linker to use at compile time
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>
2018-04-18 18:57:06 +01:00
Richard Purdie
fa742af158 uninative: Add allow-shlib-undefined to BUILD_LDFLAGS and drop other workarounds
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>
2018-04-18 18:57:06 +01:00
Richard Purdie
606ff37690 bitbake.conf: Set and export TZ envvar to UTC
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>
2018-04-18 18:57:06 +01:00
Richard Purdie
60589ead81 yocto-uninative: Update to version 1.9 (fedora28 compatible)
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>
2018-04-18 18:57:06 +01:00
Mark Hatle
49bfeb0a9c package.bbclass: Add '-b' option to file call in isELF
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>
2018-04-18 18:57:06 +01:00
Niko Mauno
5514c292ea run-postinsts: Replace pi_dir variable test
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>
2018-04-18 18:57:06 +01:00
Juro Bystricky
b8ce7d0800 rootfs-postcommands.bbclass: improve binary reproducibility
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>
2018-04-18 18:57:06 +01:00
California Sullivan
53078a00ce core-image-minimal-initramfs: use initramfs-framework for initialization
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>
2018-04-18 18:57:06 +01:00
Juro Bystricky
2a3e8ad0b9 qemu_2.11.1.bb: support mingw build
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>
2018-04-18 18:57:06 +01:00
Chen Qi
6eaf321296 man-db: add groff to RDEPENDS
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>
2018-04-18 18:57:06 +01:00
Khem Raj
22bcd19038 glibc: Set libc_cv_ssp_all to no as well
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>
2018-04-18 18:57:06 +01:00
Ross Burton
fb9e636538 testimage: run systemtap test on SDK images
(From OE-Core rev: f7f26bd0fe7085515bdebf23107ed8647a0c98fe)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-18 18:57:06 +01:00
Victor Kamensky
7e03441c9f oeqa/runtime/stap.py: add runtime test for systemtap
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>
2018-04-18 18:57:06 +01:00
Ross Burton
5f7a0c72c5 packagegroup-core-tools-profile: include systemtap on MIPS and aarch64
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>
2018-04-18 18:57:06 +01:00
Ross Burton
b076e652e7 systemtap: don't build under musl
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>
2018-04-18 18:57:06 +01:00
Martin Jansa
d012a9acdc scripts/test-dependencies.sh: remove
* 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>
2018-04-13 16:58:07 +01:00
Ramon Fried
6f04c728a0 xserver-nodm-init: Respawn service in case of failure
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>
2018-04-13 16:58:07 +01:00
Zhixiong Chi
18fd900468 valgrind: fix the shared object issue while prelink ptest
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>
2018-04-13 16:58:07 +01:00
Otavio Salvador
f6d8c3f885 distro: default: Change Go default version to 1.9
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>
2018-04-13 16:58:07 +01:00
Jackie Huang
16174d9342 patch: fix CVE-2018-1000156
* CVE detail: https://nvd.nist.gov/vuln/detail/CVE-2018-1000156

* upstream tracking: https://savannah.gnu.org/bugs/index.php?53566

* Fix arbitrary command execution in ed-style patches:
  - src/pch.c (do_ed_script): Write ed script to a temporary file instead
    of piping it to ed: this will cause ed to abort on invalid commands
    instead of rejecting them and carrying on.
  - tests/ed-style: New test case.
  - tests/Makefile.am (TESTS): Add test case.

(From OE-Core rev: 6b6ae212837a07aaefd2b675b5b527fbce2a4270)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-13 16:58:07 +01:00
Jackie Huang
31714674e4 patch: fix CVE-2018-6951
* CVE detail: https://nvd.nist.gov/vuln/detail/CVE-2018-6951

* upstream tracking: http://savannah.gnu.org/bugs/?53132

* Fix segfault with mangled rename patch
  - src/pch.c (intuit_diff_type): Ensure that two filenames are specified
    for renames and copies (fix the existing check).

(From OE-Core rev: cdf74e1c67698b2d44a7460ff7d365d6da7b7b96)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-13 16:58:07 +01:00
Joshua Watt
59e51d2ac8 icecc.bbclass: Bump version number
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>
2018-04-13 16:58:07 +01:00
Joshua Watt
b28114cf1e icecc.bbclass: Improve error reporting
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>
2018-04-13 16:58:07 +01:00
Joshua Watt
089cd3bf55 icecc.bbclass: Add ICECC_ENV_DEBUG variable
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>
2018-04-13 16:58:07 +01:00
Joshua Watt
2400cbbfbc icecc-create-env: Add extra tools option
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>
2018-04-13 16:58:07 +01:00
Joshua Watt
f8ba27d135 icecc-create-env: Fix library interpreter usage
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>
2018-04-13 16:58:07 +01:00
Joshua Watt
beb38c1117 icecc-create-env: Fix RUNPATH files
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>
2018-04-13 16:58:07 +01:00
Joshua Watt
57ca83dac1 icecc-create-env: Allow logging to a file
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>
2018-04-13 16:58:07 +01:00
Yue Tao
f91523b22f dhcp: Security Advisory - CVE-2017-3144
Fix CVE-2017-3144

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3144
https://kb.isc.org/article/AA-01541

Patch from:
https://source.isc.org/cgi-bin/gitweb.cgi?p=dhcp.git;a=commitdiff;h=5097bc0559f592683faac1f67bf350e1bddf6ed4

(From OE-Core rev: bcbe9025560dee658c0ead566384e1a8647cebf9)

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
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>
2018-04-13 16:58:07 +01:00
Jaewon Lee
7ec063a3ad gconf: fix saving of settings when config folder doesnt exist
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>
2018-04-13 16:58:07 +01:00
Ross Burton
1ab6bfd0ee bootchart2: update canonical git URL
/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>
2018-04-13 16:58:07 +01:00
Tom Hochstein
4379b29e7e python3: Add recommended modules to nativesdk install
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>
2018-04-13 16:58:07 +01:00
Ross Burton
b452ba687b meta: add missing Signed-off-by and Upstream-Status tags
(From OE-Core rev: 4612441b59fd8264fdd5bd4f3e5d195f6085c94c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-13 16:58:07 +01:00
Bruce Ashfield
9cdfe60127 linux-yocto/4.14/4.15: deterministic srcversion
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>
2018-04-13 16:58:06 +01:00
Bruce Ashfield
a7265ef9d6 linux-yocto-tiny/4.14: fix recipe name
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>
2018-04-13 16:58:06 +01:00
Bruce Ashfield
7425a5d813 linux-yocto/4.14: add elfutils, util-linux and openssl dependencies
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>
2018-04-13 16:58:06 +01:00
Ross Burton
8b50dfcecf populate_sdk_base: use xz -T instead of pixz
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>
2018-04-13 16:58:06 +01:00
Ross Burton
a559ffab30 image_types: use pigz to create .gz files
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
Scott Rifenbark
8dbf71b553 bitbake: bitbake-user-manual: Updated "Task Checksums and Setscene" section
Fixes [#YOCTO 12030]

Updated the "Task Checksums and Setscene" section to provide a bit
of user information around the bitbake-dumpsigs use that lets a
user examine signatures and inputs that determine if a do_compile
task is indeed supposed to be run.

Added more explanation of how a user can examine signatures used
to determine if a do_compile task is indeed supposed to be run.

(Bitbake rev: 103bbc6642261cd5da038ba2071621919ee01253)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-12 22:25:17 +01:00
Scott Rifenbark
adde339596 bitbake: bitbake-user-manual: Updated "OpenEmbedded-Core" term.
Made sure that the terms "OpenEmbedded-Core" and "OE-Core"
are used as such throughout the manual.

(Bitbake rev: 677e58f8616a4bf58772e54d2313af3885a3b110)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-12 22:25:17 +01:00
Martin Jansa
0a0d01addd license.bbclass: be a bit more strict when searching ${PN}-${LICENSE_PACKAGE_SUFFIX} in packages
* linux-firmware contains ${PN}-license package since this commit:
  commit 1ee083da0730408fffdbbf5f29abc299c0e61be9
  Author: Jackie Huang <jackie.huang@windriver.com>
  Date:   Mon Apr 13 10:17:21 2015 +0800

    linux-firmware: fix the mess of licenses
* LICENSE_CREATE_PACKAGE functionality in license.bbclass when enabled
  adds new package with suffix:
  LICENSE_PACKAGE_SUFFIX ??= "-lic"
  but then it checks if ${PN}-${LICENSE_PACKAGE_SUFFIX} is included
  in PACKAGES before adding it and when found it shows:
  WARNING: linux-firmware-1_0.0+gitAUTOINC+4c0bf113a5-r0 do_package: linux-firmware-lic package already existed in linux-firmware.
  and doesn't add the ${PN}-lic to PACKAGES and causes another warning:
  WARNING: linux-firmware-1_0.0+gitAUTOINC+4c0bf113a5-r0 do_package: QA Issue: linux-firmware: Files/directories were installed but not shipped in any package:
  /usr
  /usr/share
  /usr/share/licenses
  /usr/share/licenses/linux-firmware

  that's because it was searching ${PN}-lic in PACKAGES as a string
  so it found ${PN}-lic as a substring of ${PN}-license, add a split
  to search in an list

(From OE-Core rev: 9b9897fc034819385a9d4ce591cc79dd458f3f24)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-10 09:10:36 +01:00
Martin Jansa
1b864151f1 libxcrypt: add -std=gnu99 to BUILD_CPPFLAGS
* add it to allow older distributions e.g. Ubuntu 14.04 with gcc 4.8
  to build this, otherwise it fails with:
  ../git/gen-des-tables.c: In function 'write_table_u8':
  ../git/gen-des-tables.c:307:3: error: 'for' loop initial declarations are only allowed in C99 mode
     for (size_t i = 0; i < m; i++)
     ^

(From OE-Core rev: 2591741896a6a267ceca9519f21bd39b5b196559)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-10 09:10:36 +01:00
Chen Qi
1ed050ae47 rpm: build without dbus for rpm-native
Add option for dbus in configure.ac, and explicitly build without dbus
for rpm-native.

Previously, the rpm recipe tries to prevent rpm-native from attempting
to inhibit shutdown via session dbus by appending '--disable-plugins'
to EXTRA_OECONF in case of native.

However, some layer may need some functionality via plugin support. And
when it enables it, we would meet the following warning at rootfs time.

  Unable to get systemd shutdown inhibition lock: Socket name too long

As plugins/systemd_inhibit.c is the only place that's related to this
dependency, we can be sure that dbus is really not needed for rpm-native.

(From OE-Core rev: 815ccef2d5bef1e46c51916e694d0974aee394a9)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-10 09:10:36 +01:00
Alexander Kanavin
003e908865 yocto-check-layer: add a test for correct setting of LAYERSERIES_COMPAT_collection
[YOCTO #12661]

(From OE-Core rev: 13a80b22f28b81a0082d181674295a0f96111f6b)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-10 09:10:36 +01:00
Peter Kjellerstedt
91782cf429 license.bbclass: Minor simplification of get_deployed_dependencies()
Since ${SSTATE_ARCHS} now contains ${PACKAGE_EXTRA_ARCHS} there is no
longer any need to add those extra architectures to the list of
architectures handled in get_deployed_dependencies().

(From OE-Core rev: e55e6df4f1434458cdfa0e2d3610b48119e5a782)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-10 09:10:36 +01:00
Peter Kjellerstedt
4ea831fb7f sstate.bbclass: Add ${PACKAGE_EXTRA_ARCHS} to SSTATE_ARCHS
This makes sure files provided by packages that use any of the extra
architectures defined using ${PACKAGE_EXTRA_ARCHS} are cleaned from
tmp/sysroot-components when sstate_eventhandler2() executes.

Without this, changing a package from using one of the extra
architectures to another architecture would lead to files being
leftover in tmp/sysroot-components, which could later be picked up
when creating the RSS for another package rather than the files that
belonged to the updated package.

(From OE-Core rev: b959b3bd92aa2939d407800fc4167b0535fd4674)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-10 09:10:36 +01:00
Peter Kjellerstedt
144faeb10c classes: Use ${MACHINE_ARCH} instead of ${MACHINE} for stamp-extra-info task flag
Without this change, there will be two sstate index files in
tmp/sstate-control for any machine that contains a dash in the
name.

(From OE-Core rev: 29e7799bdb3773c40492e01448e0c614ed44583d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-10 09:10:36 +01:00
Richard Purdie
29f65bda6d nativesdk-glibc: Split glibc and libcrypt to use libxcrypt instead
Fedora28[1] has decided to go ahead and use libxcrypt to replace libcrypt from glibc
despite the change not having merged into glibc upstream yet. This breaks the use of
uninative in OE on fedora28 since binaries there are now using new symbols only found
in libxcrypt. libxcrypt is meant to be backwards compatible with libcrypt but not the
reverse.

Since this will impact OE in the next release cycle, this changes nativesdk only
to use this new model and adds libxcrypt to work in that case. This allows us to
build a uninative which is compatible with fedora28 and previous other OSes.

In order to work, recipes will now need to depend on virtual/crypt where they use
libcrypt since its now a separate library and we can't depend on it from glibc to
preseve backwards compatibility since glibc needs to build first. For now, only the
problematic nativesdk recipes have been fixed up. For target use, the default
provider remains glibc for now. Assuming this change is merged into upstream glibc,
we will need to roll this change out for the target but we will do this in the next
release cycle when we can better deal with the resulting bugs.

[1] https://fedoraproject.org/wiki/Changes/Replace_glibc_libcrypt_with_libxcrypt

Original patch from Charles-Antoine Couret <charles-antoine.couret@essensium.com>,
tweaked by RP to add virtual provides, SkipRecipe for libxcrypt and other minor
tweaks.

(From OE-Core rev: c1573cb7faeb296fe7077a60d02443d5ed5bded0)

Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@essensium.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-07 22:34:45 +01:00
Richard Purdie
ff282528be devtool: Ensure added layer sets LAYERSERIES_COMPAT
Now that we see warnings if LAYERSERIES_COMPAT is unset, the auto generated
code from devtool needs to set this to avoid warnings which break
various tests.

(From OE-Core rev: f65ebfeda0bfbac78e4a2a6609ba654ca38a8b0e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-07 22:33:19 +01:00
Richard Purdie
1e1991ae65 devtool/oeqa: Ensure added layers set LAYERSERIES_COMPAT
Now that we see warnings if LAYERSERIES_COMPAT is unset, the auto generated
code from devtool/oeqa needs to set this to avoid warnings which break
various tests.

(From OE-Core rev: 27568410ebb0d40db3428550704f35199df0e034)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-07 11:44:50 +01:00
Richard Purdie
7b0074b79b Revert "python3: fix create_manifest to handle pycache folders"
Alejandro asked this be reverted as the patch causes more problems
than it solves.

This reverts commit 5d288d286e.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-07 11:44:50 +01:00
Charles-Antoine Couret
d5664c3ad4 perl: add patch to solve libcrypt incompatibility
Add Perl's patch submitted to upstream to be compiled along with glibc with libcrypt split.

(From OE-Core rev: 79703d83790a2973fefdb0e12e125b5f17e98cdf)

Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@essensium.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-07 11:44:50 +01:00
Juro Bystricky
5264dbd39d hello-mod_0.1.bb: add RPROVIDES
Although the package will get an automatic prefix "kernel-module", so
the package kernel-module-hello does exist, populating rootfs can
generate an error:
  - nothing provides kernel-module-hello ...

This is quite unfortunate, as this recipe is used as a sample.

Adding RPROVIDES_${PN} += "kernel-module-hello" to the recipe fixes
the problem.

[YOCTO #12641]

(From OE-Core rev: ca17a7bbea5f5454da43545d544ff7772d83ac19)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-07 11:44:50 +01:00
Victor Kamensky
7a39dc3996 crosstap: replace script with new python based implementation
New crosstap python implementation is total replacement for
crosstap shell script, that has superseding capabilities.
New script support cross compiling of SystemTap scripts
for user-land, by using supplied image rootfs. Whereas old
script could only deal with scripts against kernel. New script
has more complex logic and additional capabilities.

As invocation interface new script support old "legacy"
mode and provides alternative new regular options interface
to access additional functionality.

(From OE-Core rev: 1cbbcf26e0a9ca6e0b34a89512bf75dbae8bfaf0)

Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-07 11:44:50 +01:00
Victor Kamensky
77f69397e0 systemtap: support --sysroot option in variety of situations in cross build
For details on issues fixed please look at commit message of individual
patches.

Upstream-Status: Backport [systemtap@sourceware.org]
(From OE-Core rev: 5aa93de3a79c8691e74e982d3d4b0099b04f5555)

Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-07 11:44:50 +01:00
Victor Kamensky
7ca5822635 systemtap: create translator packageconfig
For cases when systemap module compilation happens on host in
cross-compilation mode, and it is desirable to minimize systemtap
presense on target we need to have just smallest possible set of
utilties that are required to run compiled modules.

Introduce new "translator" PACKAGECONFIG, if it is not set
it would mean that just minimal set of run-time utilities will
be included in the package.

For run-time only systemtap build variant use
PACKAGECONFIG_pn-systemtap = "" or
PACKAGECONFIG_pn-systemtap = "monitor"

Suggested-by: Taras Kondratiuk <takondra@cisco.com>
(From OE-Core rev: a22b8140c6924eb3b3cd7b5bea66a4d3ed413807)

Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-07 11:44:50 +01:00
Victor Kamensky
a35416cafd image: add image-combined-dbg helper class
There is IMAGE_GEN_DEBUGFS="1" variable that enables build of
additional rootfs-dbg and additional archive that contains
complimentary symbols files for a given image. But the issue
with this resulting directory and tarball that before use it
has to be combined with original image content. It is required
since all cross debugging tools like gdb, perf, and systemtap
need file system that contains both target executables/libraries
and their symbols. Those tools need to find executable/library
first and through it debuglink note find corresponding symbols
file.

image-combined-dbg when added to USER_CLASSES just copies
final resulting rootfs back into rootfs-dbg creating combined
target and debug symbols rootfs that can be used for debugging
directly.

(From OE-Core rev: 7ccb077f51c9232de70e5c6f9897fd9986e3be9d)

Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-07 11:44:50 +01:00
Victor Kamensky
f08ef6e1b5 Revert "systemtap: Cross compilation fix"
This reverts commit 787bed708676fc04aee2850825e803273152f657.

(From OE-Core rev: 08ab022471eff48e6f43ec8cd47e695d575ee2e3)

Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-07 11:44:50 +01:00
André Draszik
a306bcc427 curl: DEPENDS on libidn2 (not libidn)
Since v7.51.0, libidn2 is the only available option, libidn
support was dropped.
The configure option was renamed as of v7.53.0

Therefore, curl unconditionally tries to build against libidn2,
which in particular is a problem for curl-native, as that might
or might not build against the build-machine's libidn2 now,
which furthermore causes problems when trying to share sstate
between multiple build machines.

We therefore see the following in the config log:
    ...
    checking whether to build with libidn2... (assumed) yes
    ...
    checking for libidn2 options with pkg-config... no
    configure: IDN_LIBS: "-lidn2"
    configure: IDN_LDFLAGS: ""
    configure: IDN_CPPFLAGS: ""
    configure: IDN_DIR: ""
    checking if idn2_lookup_ul can be linked... yes
    checking idn2.h usability... yes
    checking idn2.h presence... yes
    checking for idn2.h... yes
    ...
      IDN support:      enabled (libidn2)
    ...
even though this recipe tries to disable that.

While libidn2 isn't available in OE, this change at least:
* prevents curl-native to silently build against libidn2 if
  that is installed on build machine, even if not requested
* alerts people who use the PACKAGECONFIG option that it's
  not actually doing what they intend to do

(From OE-Core rev: 705eaea991622bdbb2ee83eefa8df8e665e3efe4)

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-07 11:44:50 +01:00
Dan McGregor
6834d00570 packagegroup-core-sdk: update sanitizer lists
aarch64 has been supported since GCC 5.1, sparc has been supported
since 4.9, and S390 since 7.1.

(From OE-Core rev: a2cbb5dc4c6191ca343dc4211abde693dc1a579a)

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-07 11:44:50 +01:00
Dan McGregor
b46caed47b gcc-sanitizers: Update supported architectures
aarch64 has been supported since GCC 5.1, sparc has been supported
since 4.9, and S390 since 7.1.

Also mark as broken entirely with musl.

(From OE-Core rev: 7d90d2a70f0184ad715e9917d3e7aa096cf98f79)

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-07 11:44:50 +01:00
Richard Purdie
312a5a93ca layer.conf: Update LAYERSERIES rocko -> sumo
(From meta-yocto rev: db28e5c97895d2a25098aaac7f0a65d4f2a01866)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-06 11:39:49 +01:00
Richard Purdie
a0f22fd971 bitbake: cookerdata: Issue warning if layer doesn't set LAYERSERIES_COMPAT_x
We'd like layers to set this variable so that we know which layers are compatible
with which others, even if the branch is a generic un-updated "master" branch.

Start printing a warning to highlight this issue.

(Bitbake rev: cca81e33b58c390dcf5cc3a31555a43b79177166)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-06 11:39:49 +01:00
Richard Purdie
0cd8d57ddf layer.conf: Update LAYERSERIES rocko -> sumo
Also set LAYERSERIES_COMPAT for core (we're compatible with ourself).

(From OE-Core rev: 4aa43cd844781a07a2dbf17f21ed35c6a0100d02)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-06 11:39:49 +01:00
Richard Purdie
9ed34e315a mesa: Update to use llvm 6.0
Adpat to the upgrade from 5.0 -> 6.0.

(From OE-Core rev: dc52f9cf343df4c2d77bee0e47004466321e7edb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:08 +01:00
Khem Raj
4880d0f9c8 llvm: Upgrade to 6.0 release
(From OE-Core rev: 67379117375bcc143f636ccd56e548332b19325f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:08 +01:00
Maxin B. John
21f7643939 librsvg: remove duplication in inherit
Since gnomebase class already inherits autotools and pkgconfig,
there is no need to repeat it here.

(From OE-Core rev: bae5ced6eba78f1903e15d7f9dd7afc3c06e8955)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:08 +01:00
Maxin B. John
2ac713540a gcr: remove duplication in inherit
Since gnomebase class already inherits autotools,
there is no need to repeat it here.

(From OE-Core rev: 9a514311fa062fa3f8bccc4c47e907f88221024a)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:07 +01:00
Maxin B. John
bb570816ac libcroco: remove duplication in inherit
Since gnomebase class already inherits autotools and pkgconfig,
there is no need to repeat it here.

(From OE-Core rev: 301d153781c7ddb6e38178c56f960e18d62788ab)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:07 +01:00
Maxin B. John
a195e0471d python3-pygobject: remove duplication in inherit
Since gnomebase class already inherits autotools and pkgconfig,
there is no need to repeat it here.

(From OE-Core rev: 2eb7ba6cb68e171c880bcb1fc614f1ae6b300e4f)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:07 +01:00
Maxin B. John
f4267d9622 documentation.conf: remove obsolete variable
PRINC is no longer used and removed from documentation:

commit 7baadd86ee
Author: Scott Rifenbark <scott.m.rifenbark@intel.com>
Date:   Mon May 18 09:25:51 2015 -0600

 ref-manual: Removed PRINC entry from the glossary

(From OE-Core rev: b15089b014b95a8730f622ca4959b42ed15cb175)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:07 +01:00
Tom Hochstein
a6567a4c21 archiver: Fix archive for linked kernel source
When archiving a kernel, if S is ${WORKDIR}/git, then
${WORKDIR}/git is in fact a soft link into work-shared,
and the archive contains just the soft link. Fix by
archiving the real directory.

(From OE-Core rev: 564204dd6b73697ef4b6c17243067892876cc323)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:07 +01:00
Tom Hochstein
c2eec907cb archiver: Fix build errors for kernels that don't use kernel-yocto.bbclass
Special handling for kernel source in work-shared was
incorrectly limited to kernel-yocto.bbclass instead
of kernel.bbclass.

(From OE-Core rev: b8c5680a67888d43540366a40bd0c501e926ac31)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:07 +01:00
Alexander Kanavin
34afa37f5f glib-2.0/glib.inc: apply MLPREFIX renaming to all package classes
Now that we have postinst intercept execution working for SDK generation,
adding MLPREFIX again makes sense in all cases, as the intercepts do require
that it is there.

This reverts commit 4ffb728df4.

(From OE-Core rev: 0792540170b6150a0c5fe8586bb8012affc3f90e)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:07 +01:00
Alexander Kanavin
243fd5a74d gio-module-cache.bbclass: pass in ${libexecdir}
When it was something else than /usr/libexec (e.g. when
installing native SDK packages), things broke down.

(From OE-Core rev: d99e819a6cbde6d1116c434ddba4c5f8eca7e6d8)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:07 +01:00
Alexander Kanavin
e4b8c2bd20 sdk.py: run postinst intercepts
Previously this wasn't done, and so any packages installed from
populate_sdk would not have the postinsts fully executed
(particularly generation of various caches via running nativesdk or target
binaries with qemu wasn't working).

[YOCTO #12630]

(From OE-Core rev: a484ff072eea3f47de2c3348048201249cefa46b)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:07 +01:00
Alexander Kanavin
b897982679 package_manager.py: do not hardcode the task name when referring to log files
This can be do_rootfs or do_populate_sdk, or anything else.

(From OE-Core rev: e2e05a327e51339d45b53e0276c287ab314e3385)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:07 +01:00
Alexander Kanavin
ae66103939 package_manager.py: move intercept running logic from rootfs class to PackageManager class
This allows running the intercepts when creating SDKs, which previously
wasn't possible, as SDK code does not use the rootfs class, and calls
into PackageManager methods directly.

(From OE-Core rev: f830388c5e9125f385a42acd7365d1235967b57c)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:07 +01:00
Alexander Kanavin
19cd7a1776 package_manager.py: move postinst_intercept dir initialization from RootFS to PackageManager class
This will allow handling postinst_intercepts when populating SDKs (which
use PackageManager class directly, and do not utilize RootFS class).

(From OE-Core rev: 9454fd328040fd58c981d028a74fcf181bde8e89)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:07 +01:00
Alexander Kanavin
b224c4e152 package_manager.py: move target_rootfs property to common ancestor class
This will be useful when also moving postinst_intercept handling to
package manager class from rootfs class.

(From OE-Core rev: a4cd69bdd5b9dfa1125887f4d9038d41996e39c7)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:07 +01:00
Alexander Kanavin
f2a19a7fd1 nativesdk-postinst-intercept: remove the recipe
Its use required a script from an external repo which hasn't been updated
in 4 years, the recipe itself is out of date (doesn't install all
intercepts), and there is no oe-selftest or documentation for this.
If anyone still wants this, please do it in a separate layer.

(From OE-Core rev: 1fbae102fde54c9e7a0d74a4cda9900cd17640d6)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:07 +01:00
Peter Kjellerstedt
c65965123b elfutils: Clean up comments
The list of patches in SRC_URI was restructured in 49aae1d7, and left
a comment about patches from Debian hanging without context. Move and
reword it to make it remain useful.

There was also a leftover comment that referred to two .h files and
do_configure_prepend() that were removed in f960c026.

(From OE-Core rev: 80a702db442674e16a450a120972eeee4cbcb29a)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:07 +01:00
Manjukumar Matha
18ba941eb0 package_manager.py: Skip gpgcheck while using dnf on target
By default, RPM_SIGN_PACKAGES is not defined. Add gpgcheck=0 to
oe-remote-repo.repo file, otherwise dnf will complain during
install operation on target

Note, RPM_SIGN_PACKAGES is set only when you inherit sign_rpm explicitly

(From OE-Core rev: 002a71eaa7606828c399972d8fd35e19e7b71929)

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:07 +01:00
Otavio Salvador
60822a6339 mesa: Upgrade 17.3.7 -> 17.3.8
This version has been published at April 03, 2018, and it is a bugfix
only release.

The release includes several important fixes that were made as part of
18.0.1 development cycle. Full list of bug fixes can be see online at:

  https://www.mesa3d.org/relnotes/17.3.8.html

(From OE-Core rev: 782fb864349d4f5c07a38f0e117659bfb841d3c2)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:07 +01:00
Enrico Jorns
42a513489d base.bbclass: fix do_unpack[cleandirs] varflag handling
As introduced by a56fb90dc3 ('base.bbclass
wipe ${S} before unpacking source') the base.bbclass uses a python
anonymous function to set the 'do_unpack' varflag 'cleandirs' to either
'${S}' or '${S}/patches' depending on equality of '${S}' and '${WORKDIR}'.

Not that this only differs from the way almost all other recipes set or
modify a tasks 'cleandirs' flag, it also has a significant impact on the
kernel.bbclass (and possibly further ones) and causes incorrect
behavior for rebuilds triggered by source modification, e.g. by a change
of the defconfig file for a kernel build.

The kernel.bbclass tries to extend do_unpack[cleandirs]:

| do_unpack[cleandirs] += " ${S} ${STAGING_KERNEL_DIR} ${B} ${STAGING_KERNEL_BUILDDIR}"

As python anonymous functions are evaluated at the very end of recipe
parsing, the d.setVarFlag('do_unpack', 'cleandirs', '${S}') statement in
base.bbclass will overwrite every modification to cleandirs that is done
as shown for the kernel class above.

As a result of this, a change to a kernels 'defconfig' will lead to an
updated defconfig file in ${WORKDIR}, but as ${B} never gets cleaned and
${B}/.config still exists, it will not be copied to ${B}/.config and
thus not find its way in the build kernel.

This is a severe issue for the kernel development and build process!

This patch changes setting of the cleandirs varflag in base.bbclass to
a simple variable assignment as almost all other recipes do it. This now
again allows overwriting or appending the varflag with common methods
such as done in kernel.bbclass.

This issue affects morty, pyro, rocko and master.

(From OE-Core rev: 20901b9783220aa6e7adae4951c531919c20859b)

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:07 +01:00
Paul Eggleton
5e6ffb2adb classes/externalsrc: ensure cleandirs code handles non-absolute paths
It's possible that a trailing or extra slash somewhere in the external
source path could result in the directory not being removed from
cleandirs; it's also possible that a cleandirs entry is somewhere
underneath the source tree and that tree should never have parts of it
deleted by the build system. Use oe.path.is_path_parent() (which makes
paths absolute before checking them) to find out if any path in
cleandirs is anywhere underneath the external source path, and drop it
if it is.

(From OE-Core rev: 87ec0fb470274d980f8553a85f778809c269c5d7)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:07 +01:00
Paul Eggleton
eb37cdd890 classes/externalsrc: handle if cleandirs contains python expressions
Use the existing oe.recipeutils.split_var_value() function to split the
unexpanded value of the cleandirs varflag, in case it contains python
expressions - we don't want to split the expression itself as the chunks
will not expand properly individually and we can miss something that
expands to the source tree (and thus it can get deleted, the avoidance
of which is the whole point of this code).

(From OE-Core rev: 611cee69d7300a4746edd752c9557af60e7beecc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-05 14:49:06 +01:00
Chen Qi
9e3a9637b8 systemd: fix typo in sulogin-path setting
Fix typo in sulogin-path setting. It should be ${base_sbindir} instead of
just {base_sbindir}.

(From OE-Core rev: c168f6fe35ada66f7d6d6b5151fa248230c38676)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-04 08:51:02 +01:00
Cuero Bugot
f5cd91aae0 uninative: add variables to the whitelist so that it does not re-triger recipe parsing
When uninative is activated (poky's default) internal datastore variables are modified (NATIVELSBSTRING and SSTATEPOSTUNPACKFUNCS) to enable uninative
support. This is happening after parsing is done at the beginning of the build. On the next bitbake call the recipe would be parsed if the two
variables above were not added to the parsing whitelist BB_HASHCONFIG_WHITELIST.

The fix is to add these two variables to the recipe parsing whitelist BB_HASHCONFIG_WHITELIST, this is done at recipe parsing time, only when
uninative.bbclass is used.

(From OE-Core rev: 75bb95ada98ef129d2fa48568f27dddb078c852c)

Signed-off-by: Cuero Bugot <cbugot@sierrawireless.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-03 23:53:20 +01:00
Alejandro Enedino Hernandez Samaniego
b9d51eceac python3: Improve logging capabilities for do_create_manifest
Adds a couple of prints to get a nicer log, and creates a
small summary or report after checking every module, it
makes it more feasible for adoption, easier to debug why
a module ended at a certain package and see how the
manifest was created.

(From OE-Core rev: 4c2af72f51a7bf187615fc0b3a229d25c3e191e9)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-03 23:53:20 +01:00
Khem Raj
4f7e90a0af systemtap: Backport a fix for build with gcc8
(From OE-Core rev: b751e865375b325df4083d85af191da4dc3a27ee)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-03 23:53:20 +01:00
Khem Raj
a36e4bb2f8 nasm: Fix pure function warnings
(From OE-Core rev: e3c76fd3db928fc487e86325df299f3f02ef369c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-03 23:53:20 +01:00
Khem Raj
5b85332a0f x264: Use updated gnu-config artifacts
It is not using autoconf completely, therefore there
is no autoreconf happening, so when we depend on latest
gnu-config changes e.g. new architectures like riscv
the build does not see them and fails.

Installing these files from native sysroot helps

(From OE-Core rev: 2624f400af6e51f6f3379f9f119b8f81c75a014b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-03 23:53:20 +01:00
Ruslan Ruslichenko
44bd3b684a tune-core2.inc: add cpu type for qemu
Define cpu type for Qemu in QEMU_EXTRAOPTIONS.
Otherways Qemu will emulate some virtual qemu32/64 processor,
which has very basic set of features, and programs built
for later CPU may crash, due to lack of new features (e.g. SSSE3).

(From OE-Core rev: 11f4fdcafed1383e5b6c2e634c670d19124e537a)

Signed-off-by: Ruslan Ruslichenko <rruslich@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-03 23:53:20 +01:00
Ruslan Ruslichenko
6db7d80443 qemu: do not hardcode python2.7 path
It can be installed to some non standard path in which
case build will be broken.
As python2.7 is specified in HOSTTOOLS we can rely
that it is present in the PATH, so no need to hardcode
it to /usr/bin.

(From OE-Core rev: a200d22b26aded093289cb9150b3f05f76578c83)

Signed-off-by: Ruslan Ruslichenko <rruslich@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-03 23:53:20 +01:00
Ming Liu
6c951c5a5e recipetool: create: fix port number parsing issue
A flaw was found when I run:
$ recipetool create "ssh://git@xxx.xxx:7999/xxx.git"

the url turned out to be: "git://git@xxx.xxx/7999/xxx.git;protocol=ssh"
after parsing, the port number was parsed as part of the path, this is
definitely wrong and lead to fetching failures.

This issue could be fixed in reformat_git_uri, by filtering out port
numbers when formatting ":".

(From OE-Core rev: 4290e04b69360b5e1da9f37166015e30f66cb335)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-03 23:53:20 +01:00
Otavio Salvador
73a6e7dd02 cmake: upgrade 3.10.2 -> 3.10.3
,----[ Changes in 3.10.3 ]
| Brad King (1):
|       CMake 3.10.3
|
| Craig Scott (1):
|       GoogleTest: Rename TIMEOUT parameter to avoid clash
|
| Sebastian Holtermann (1):
|       Autogen: Fix for the empty source file crash in 3.10.2
|
| Tianhao Chai (1):
|       ccmake: fix status line buffer overflow on very wide terminals
`----

(From OE-Core rev: ae230e1f858f83d1ff063554b49bd3ee1f880f76)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-03 23:53:19 +01:00
Andreas Müller
b98f9e75a8 mesa: Prefer dri3 for x11/opengl
Adresses [1]

https://bugzilla.yoctoproject.org/show_bug.cgi?id=12642

(From OE-Core rev: 8509e2e1a87578882b71948ccef3b50ccf1228b3)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-03 23:53:19 +01:00
Andreas Müller
0879ac940b mesa: fix unitialized modifier for DRI2
This came up whith disabled DRI3 on Raspi/VC4 [1] but might be important for other
drivers: It fixes an improper initialization.

[1] https://lists.freedesktop.org/archives/mesa-dev/2018-March/190562.html

(From OE-Core rev: bfd5d2cefd56cb60b51b2bed57cb92dcfd5756c9)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-03 23:53:19 +01:00
Jonathan Liu
4ca75e4226 kernel.bbclass: improve reproducibility
Set KBUILD_BUILD_VERSION=1 to avoid build version being incremented on
every build. It is visible in the output of "cat /proc/version" after
the hash character.

(From OE-Core rev: 7fa32ee42c3320e9e2b24ef747e43484b719f617)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-03 23:53:19 +01:00
California Sullivan
21586e595a initrdscripts: init-install(-efi).sh: don't assume 20M boot partition
With multi kernel support in the installer we can exceed this limit.
Calculate a sane size by checking the size of the original boot
partition minus some objects we know won't be installed, plus some extra
space for users.

In addition, in the common case where only one small kernel is present
to be installed, we actually get a smaller boot partition with less
wasted space.

Also add VIRTUAL-RUNTIME_base-utils to RDEPENDS where these scripts are
used, as they're needed for the du command.

[YOCTO #12583].

(From OE-Core rev: 2ca601bef44a07512c93b8452cf9001dce402617)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-03 23:53:19 +01:00
Amanda Brindle
4cbd560eca buildhistory_analysis.py: Check if RPROVIDES changed order
Instead of assuming order has changed if no package has been added or
removed, loop through packages to check if order has changed. This will
prevent the script from falsely reporting "changed order" if a version
has increased.

Fixes [YOCTO #12334]

(From OE-Core rev: 77d701c5fb5961bd818810a4d4cb3a9bd2432fae)

Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-03 23:53:19 +01:00
Richard Purdie
5b68f72e59 pseudo: Upgrade to latest master
This change includes several bug fixes and improvements, including better path
handling (the existance of . and .. for files), handling of the sticky bit, and
syscall renameat2 handling and interception through syscall() which was breaking
coreutils mv operations on fedora27.

[YOCTO #12594]
[YOCTO #12379]
[YOCTO #11643]

(From OE-Core rev: ddbcb88849d5c07a4cbbdc90fa1ab4d369476f8a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-04-03 23:53:19 +01:00
Richard Purdie
4574ad3438 conf/machine: Drop pointless spaces in MACHINE_EXTRA_RRECOMMENDS
These spaces aren't needed and are confusing people. Remove them.

(From meta-yocto rev: 36d20206b73d2efbf72353030b786483eb8749b6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-31 09:48:43 +01:00
Juro Bystricky
2212687352 libpcre-ptest: skip locale test
If a fr_FR locale is found, it is automatically tested. The test
will fail if the locale is UTF-8, as the test blindly assumes
(and expects) a non-UTF fr_FR locale.
The remedy is to skip the test.

[YOCTO #12215]

(From OE-Core rev: 4cedddb83623c79980b354642dfeaf78218ca4b7)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-31 09:48:43 +01:00
Juro Bystricky
7778831139 libc6-dbg: improve reproducibility
Prevent bison from generating #line comments containing build
host paths references.

[YOCTO #12625]

(From OE-Core rev: 85af760bb7370d001df0ab5915bc9ee7e6c03dfd)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-31 09:48:43 +01:00
Alejandro Enedino Hernandez Samaniego
dc24e256a9 python3: Fix do_create_manifest for python3-sqlite3
Some of the sqlite3 files ended up in python3-misc incorrectly,
this is caused becuse we couldnt add the whole ${libdir}/python3/sqlite3
folder on the package because we also have another sqlite3-tests
package that needs to include another folder from that directory.

This patch not only fixes the do_create_manifest script to handle this
situation, but also patches the manifest (created using the script)
which also fixes a hiddn runtime dependency that we wouldn't have seen.

(From OE-Core rev: 3324cb31670f33ffe193e550e3b3da8380b3c8c9)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-31 09:48:42 +01:00
Alejandro Enedino Hernandez Samaniego
5d288d286e python3: fix create_manifest to handle pycache folders
We have a couple of python modules that contain folders themselves,
for that reason they also contain a __pycache__ folder inside those
directories, since we include the whole folder in the manifest, the
pycache directories end up with the files and not the cache files.

This patch catches that and adds the directories to the correct
structure.

(From OE-Core rev: df9401e7e69ce162e257e827d67eb217666e532d)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-31 09:48:42 +01:00
California Sullivan
dfd5dc1f55 default-distrovars: set default KERNEL_IMAGETYPE(S)
With the change from assuming kernels will be named "vmlinuz"
everywhere, to instead using KERNEL_IMAGETYPE, we require that
KERNEL_IMAGETYPE is set to something. Instead of setting the default in
multiple individual files, set it in default-distrovars.inc.

x86(-64) arches get bzImage as the default. Others get zImage as per
meta/conf/documentation.conf.

Also set KERNEL_IMAGETYPES, as we will eventually be switching away from
KERNEL_IMAGETYPE.

Thanks to Andre McCurdy <armccurdy@gmail.com> for the arch defaults
part.

(From OE-Core rev: a57d784211a39587538094425ee0246e9ddfbf9d)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-31 09:48:42 +01:00
Otavio Salvador
00cd8f2db9 go: Upgrade 1.10 -> 1.10.1
This is a minor release that fixes many important issues found since
1.10 release.

(From OE-Core rev: 7068024c1ee8a3ec03904d50860fc42d7c421f87)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-31 09:48:42 +01:00
André Draszik
20e6d8762b ca-certificates: use relative symlinks from $ETCCERTSDIR
update-ca-certificates symlinks (trusted) certificates
from $CERTSDIR or $LOCALCERTSDIR into $ETCCERTSDIR.
update-ca-certificates can call hook scripts installed
into /etc/ca-certificates/update.d. Those scripts are
passed the pem file in /etc/ssl/certs/ that was added or
removed in this run and those pem files are absolute
symlinks into $CERTSDIR or $LOCALCERTSDIR at the moment.

When running update-ca-certificates during image build
time, they thusly all point into the host's file system,
not into the $SYSROOT. This means:
* the host's file system layout must match the one
  produced by OE, and
* it also means that the host must have installed the same
  (or more) certificates as the target in $CERTSDIR and
  $LOCALCERTSDIR

This is a problem when wanting to execute hook scripts,
because they all need to be taught about $SYSROOT, and
behave differently depending on whether they're called
at image build time, or on the target, as otherwise they
will be trying to actually read the host's certificates
from $CERTSDIR or $LOCALCERTSDIR.

This also is a problem when running anything else during
image build time that depends on the trusted CA
certificates.

Changing the symlink to be relative solves all of these
problems. At the same time, we have to make sure to add
$CERTSDIR to SYSROOT_DIRS, so that the symlinks are still
valid when somebody DEPENDS on ca-certificates-native. As
a side-effect, this also fixes a problem in meta-java,
where some recipes (e.g. openjdk-8-native) try to access
certificates from $CERTSDIR to generate the java trustStore
at build time.

Do so.

Upstream-Status: Inappropriate [OE-specific]
(From OE-Core rev: 09bb7718d74573be9a5db4d0737fb14126f6489c)

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-31 09:48:42 +01:00
Khem Raj
56bd66ee8e mmc-utils: Fix string overflow error
The SRCREV change bring another patch from upstream

b4fe0c8 fix ENH_START_ADDR overflow

(From OE-Core rev: 97dd1b0ab5524fe9cda53f60847f3e3c07cc90a8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-31 09:48:42 +01:00
Kevin Hao
afd8490dcb meta-yocto-bsp: introduce v4.14&v4.15 kernel for non-x86 BSPs
Also set the default kernel of these BSPs to v4.15.

(From meta-yocto rev: 4c35cdf84b24104c341b986dd3e04323aca894c4)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:39 +01:00
Kevin Hao
08a5831905 meta-yocto-bsp: bump to the latest v4.12 stable kernel for the non-x86 BSPs
(From meta-yocto rev: 08884dc6ed749da5e7f73c9045a56d2dd53827bb)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:39 +01:00
Anuj Mittal
3ecefc861d linux-yocto: update genericx86* SRCREVs for 4.15
Bump to stable kernel release 4.15.13.

(From meta-yocto rev: 5c9a1efdf7d563fd73660e6caf8c17db1fd6b32d)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:39 +01:00
Anuj Mittal
44702b3c30 linux-yocto: update genericx86* SRCREVs for 4.14
Bump to stable kernel release 4.14.30

(From meta-yocto rev: 88be67e699c4a9e4277f3977f3525b9c3b3ff101)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:39 +01:00
Anuj Mittal
37797874d7 linux-yocto: update genericx86* SRCREVs for 4.12
Bump to stable kernel release 4.12.21.

(From meta-yocto rev: de49fbc8dda014ab26294ff97955d545dd09123c)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:39 +01:00
Richard Purdie
080a2138db package_rpm: set _builddir to B not S
Recipes which use a shared workdir (e.g. gcc-runtine and libgcc) can
race over temporary files causing interesting build failures.

Using B instead of S avoids this problem.

[YOCTO #12605]

(From OE-Core rev: d6c13a5ff441f7076eb327c0d0b747bd7603db0f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:18 +01:00
Richard Purdie
6b96d9ff73 multilib: Don't extend make-mod-scripts as a multilib version doesn't make any sense
The multilib version would race against then non-ml version leading
to all kinds of odd build failures.

(From OE-Core rev: 6bb70bd3857edb8cb6cc1317f57b899a89be2653)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:18 +01:00
Richard Purdie
0f85563eac make-mod-scripts/kernel-devsrc: Fix objtool issues
Kernels which use tools/objtool can now fail when building external modules
due to objtool being missing, the generated files can also cause problems
for kernel-devsrc.

Ensure objtool is generated in make-mod-scripts by also calling
"make prepare".

For devsrc, delete the generated binaries since they'd be native
binaries and unsuitable for the target.

The oeqa kernel module tests also need to have the additional "make prepare"
step added.

(From OE-Core rev: 52fd2993784b4218f5df4f343e7da45d964df305)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:18 +01:00
Ross Burton
3a51d2c808 python3: consolidate sqlite3 files
Some of the sqlite3 module was in python3-misc by accident, move the files
into python3-sqlite3 where they belong.

(From OE-Core rev: f06a8d20560b8e93cf875ee58eddda0a976e7b14)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:18 +01:00
Khem Raj
9280c47662 nss: Use snprintf in sign.c
Fies security warnings
| sign.c:86:31: error: 'sprintf' may write a terminating nul past the end of the destination [-Werror=format-overflow=]
|          sprintf(fullfn, "%s/%s", tree, tempfn);

(From OE-Core rev: 7171e96f3a5f54c63674cf5282aea31bcb9cd7f9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:18 +01:00
Ross Burton
b9a1af507b qemu: actually use the aarch64 patch
(From OE-Core rev: 590c2f13325c3f8906850c6e3b71f2fac8ed6336)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:18 +01:00
Alexander Kanavin
81407cf84e openssl: update 1.1.0g -> 1.1.0h
Please see this security advisory:
https://www.openssl.org/news/secadv/20180327.txt

Remove 0001-Remove-test-that-requires-running-as-non-root.patch
(issue fixed upstream)
Remove 0001-aes-asm-aes-armv4-bsaes-armv7-.pl-make-it-work-with-.patch
(backport)

License-Update: copyright years

(From OE-Core rev: 96d5e9c186fb83f1b5d9b38ace0b1222c3c04c54)

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>
2018-03-30 00:31:18 +01:00
Alexander Kanavin
51088f1bcd openssl: update 1.0.2n -> 1.0.2o
Please see this security advisory:
https://www.openssl.org/news/secadv/20180327.txt

License-Update: copyright years

(From OE-Core rev: 13542282e34c078296c46a98721b31ed9a69a980)

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>
2018-03-30 00:31:18 +01:00
Alexander Kanavin
5ba7622e37 linux-libc-headers: refresh 0001-libc-compat.h-fix-some-issues-arising-from-in6.h.patch
It's only applied with musl and so was missed in the big batch.

(From OE-Core rev: 47698efc7c5f0ee307732004aef93e260fb20a03)

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>
2018-03-30 00:31:18 +01:00
Koen Kooi
826a04a188 glibc-package: fix locale cleanup logic
If ${libdir} is a subdirectory of ${prefix}/lib, e.g. /usr/lib/aarch64-linux, the cleanup logic will delete libc.so.

This bit of code was added in 2012 (git show b744f4cc) to remove /usr/lib/locale, this commit makes it remove that directory recursively and afterwards remove /usr/lib, erroring out if it's non-empty.

Tested with a plain (/usr/lib), a 64-bit (/usr/lib64) and a multiarch (/usr/lib/aarch64-linux) build. I strongly suspect this whole bit of cleanup isn't needed anymore, but my testing is too limited to be certain.

(From OE-Core rev: d8f4c7794f15f7071ee8e621d7964cb4b4134630)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:18 +01:00
Armin Kuster
697e36fb75 nspr: update to 4.19
patch 0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch remove
as it is included in update

(From OE-Core rev: 3f203582ac646f96e6b86ec4b19721e7a78d55f8)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:18 +01:00
Armin Kuster
a5463fc07f nss: update to 3.35
(From OE-Core rev: d136548ad7aef23021eac6af2ffc6317f36bd1c5)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:18 +01:00
Yi Zhao
4ab3e6f1a1 scripts/oe-setup-rpmrepo: remove the script
After we switched to RSS, this script was not working for a long time.
'bitbake package-index' can do the same thing and works well. So remove
this script.

(From OE-Core rev: 94fea92f5e7f7c0765e89743a1586b22186a16cd)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:18 +01:00
Bruce Ashfield
0cbc20c6ce linux-yocto/4.15: update to v4.15.13
Integrating the korg stable updates comprising the following commits:

eb666a896f99 Linux 4.15.13
7717224bbcbb RDMA/ucma: Don't allow join attempts for unsupported AF family
93462def6848 RDMA/ucma: Fix access to non-initialized CM_ID object
7ea20f4df7fc clk: migrate the count of orphaned clocks at init
f73d0b37846a RDMA/core: Do not use invalid destination in determining port reuse
f8ea417273f2 serial: 8250_pci: Don't fail on multiport card class
719f7ae076e0 RDMA/vmw_pvrdma: Fix usage of user response structures in ABI file
bd6281eb9113 IB/mlx5: Fix out-of-bounds read in create_raw_packet_qp_rq
23896b7c08f5 IB/mlx5: Fix integer overflows in mlx5_ib_create_srq
f9496d45cd87 dmaengine: ti-dma-crossbar: Fix event mapping for TPCC_EVT_MUX_60_63
e36bb4076f37 hwrng: core - Clean up RNG list when last hwrng is unregistered
233f5fee86c3 crypto: artpec6 - set correct iv size for gcm(aes)
dbb1b3477bc0 clk: si5351: Rename internal plls to avoid name collisions
39888ce9ff0a clk: axi-clkgen: Correctly handle nocount bit in recalc_rate()
3a99b645e127 clk: Don't touch hardware when reparenting during registration
17e583cba3b6 clk: at91: pmc: Wait for clocks when resuming
a6d04b465659 nfsd4: permit layoutget of executable-only files
140cb7a3de12 ARM: dts: aspeed-evb: Add unit name to memory node
114355528fcd RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS
2b7453a76bac scsi: lpfc: Fix issues connecting with nvme initiator
bfcb0d5e7dc7 scsi: lpfc: Fix SCSI LUN discovery when SCSI and NVME enabled
cef86432a08e soc: qcom: smsm: fix child-node lookup
70559f800f62 ip_gre: fix potential memory leak in erspan_rcv
09d5f2bb8fc7 ip_gre: fix error path when erspan_rcv failed
813b2dad2cb5 ip6_vti: adjust vti mtu according to mtu of lower device
7a77ba6b6900 iommu/vt-d: clean up pr_irq if request_threaded_irq fails
424d4a6a5ebd pinctrl: rockchip: enable clock when reading pin direction register
35e54f441f0e pinctrl: Really force states during suspend/resume
f64b3c51d512 clk: use round rate to bail out early in set_rate
b96b31ce0517 dt-bindings: display: panel: Fix compatible string for Toshiba LT089AC29000
48228438f263 clk: check ops pointer on clock register
887fa839ee74 media: davinci: fix a debug printk
10843b30c385 PCI: rcar: Handle rcar_pcie_parse_request_of_pci_ranges() failures
61cbbb4f20d1 PCI: endpoint: Fix find_first_zero_bit() usage
d306bb6c7952 PCI: designware-ep: Fix ->get_msi() to check MSI_EN bit
29a84f9707b1 coresight: Fix disabling of CoreSight TPIU
71b009c13528 pty: cancel pty slave port buf's work in tty_release
e7b4a5ba3259 drm/omap: DMM: Check for DMM readiness after successful transaction commit
eafa4cd4d112 mmc: sdhci-xenon: wait 5ms after set 1.8V signal enable
a9b4a01508a9 omapdrm: panel: fix compatible vendor string for td028ttec1
00aa57830cb5 vgacon: Set VGA struct resource types
18e595d70f17 PCI/ASPM: Calculate LTR_L1.2_THRESHOLD from device characteristics
3c4ffeae6510 bpf/cgroup: fix a verification error for a CGROUP_DEVICE type prog
3a23663bda89 iser-target: avoid reinitializing rdma contexts for isert commands
20dbecabd107 IB/umem: Fix use of npages/nmap fields
4d529564d326 RDMA/cma: Use correct size when writing netlink stats
f333c18b5434 IB/ipoib: Avoid memory leak if the SA returns a different DGID
80ac31ac404a rtc: ac100: Fix multiple race conditions
1835bd639fa7 media: s5p-mfc: Fix lock contention - request_firmware() once
e9f486d7a859 sfp: fix non-detection of PHY
b03b5f94dcf4 sfp: fix EEPROM reading in the case of non-SFF8472 SFPs
1d40cdd339cb net: phy: meson-gxl: check phy_write return value
f9e0be9def10 /dev/mem: Add bounce buffer for copy-out
176fb28073c9 mmc: block: fix logical error to avoid memory leak
ca6b159fd207 mmc: avoid removing non-removable hosts during suspend
75157d4e4d15 drm/tilcdc: ensure nonatomic iowrite64 is not used
73f483aa65d6 dmaengine: zynqmp_dma: Fix race condition in the probe
c78feb5f451c platform/chrome: Use proper protocol transfer function
449c24e264d9 watchdog: Fix kref imbalance seen if handle_boot_enabled=0
3122d2f18ed9 watchdog: Fix potential kref imbalance when opening watchdog
68c1248b9a2d cros_ec: fix nul-termination for firmware build info
0a607a064565 serial: 8250_dw: Disable clock on error
42c35b150365 tty: goldfish: Enable 'earlycon' only if built-in
ccf304a6607a qmi_wwan: set FLAG_SEND_ZLP to avoid network initiated disconnect
7bc49ffb1067 media: [RESEND] media: dvb-frontends: Add delay to Si2168 restart
784d1114823c ath10k: handling qos at STA side based on AP WMM enable/disable
db80bd4d5f62 media: bt8xx: Fix err 'bt878_probe()'
06647fbb496e rtlwifi: always initialize variables given to RT_TRACE()
3104c12838b2 rtlwifi: rtl_pci: Fix the bug when inactiveps is enabled.
b5817721ecea libbpf: prefer global symbols as bpf program name source
340f5832b6a6 spi: sh-msiof: Avoid writing to registers from spi_master.setup()
7f5739939eb3 tcp: allow TLP in ECN CWR
df365ce541c4 hv_netvsc: Fix the TX/RX buffer default sizes
8fbec85ecd00 hv_netvsc: Fix the receive buffer size limit
3669331be6fd RDMA/iwpm: Fix uninitialized error code in iwpm_send_mapinfo()
be176a5c98e7 IB/ipoib: Warn when one port fails to initialize
09a00a4b1e8b drm/msm: fix leak in failed get_pages
aa5397213cc1 media: c8sectpfe: fix potential NULL pointer dereference in c8sectpfe_timer_interrupt
3cb311196e5f cpufreq: longhaul: Revert transition_delay_us to 200 ms
e16154e6868b Bluetooth: btqcomsmd: Fix skb double free corruption
b646aada058d Bluetooth: hci_qca: Avoid setup failure on missing rampatch
5ec3e522c556 drm/amdgpu: use polling mem to set SDMA3 wptr for VF
bcaf449b5809 staging: android: ashmem: Fix possible deadlock in ashmem_ioctl
1d60b7802104 scsi: megaraid_sas: Do not use 32-bit atomic request descriptor for Ventura controllers
cfc8d40be91d Linux 4.15.12
c3306c7f8f97 phy: phy-brcm-usb-init: Power down USB 3.0 PHY when XHCI disabled
5fb7cf9b1ca0 phy: phy-brcm-usb-init: DRD mode can cause crash on startup
048fd682b2b8 phy: phy-brcm-usb-init: Some Low Speed keyboards fail on 7271
43bcdded80fd phy: phy-brcm-usb: Fix two DT properties to match bindings doc
2007a7097ce1 usb: gadget: udc: renesas_usb3: fix oops in renesas_usb3_remove()
95918af96116 usb: dwc3: of-simple: fix oops by unbalanced clk disable call
b9fac2b8326d usb: dwc3: core: Power-off core/PHYs on system_suspend in host mode
cad33fd60fde usb: dwc3: Fix GDBGFIFOSPACE_TYPE values
41d3763d9942 USB: gadget: udc: Add missing platform_device_put() on error in bdc_pci_probe()
f21951e27402 dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding
7e9122d4e1af usb: dwc2: fix STM32F7 USB OTG HS compatible
bb5159f40c22 scsi: qla2xxx: Fix crashes in qla2x00_probe_one on probe failure
0bbf2aa0f9e2 scsi: qla2xxx: Fix logo flag for qlt_free_session_done()
84f1972c3c5d scsi: qla2xxx: Fix NULL pointer access for fcport structure
1675cbb32906 scsi: qla2xxx: Fix smatch warning in qla25xx_delete_{rsp|req}_que
71103f2b9fd2 btrfs: Fix memory barriers usage with device stats counters
005155e22a0b btrfs: remove spurious WARN_ON(ref->count < 0) in find_parent_nodes
7a42df9f0394 btrfs: Fix use-after-free when cleaning up fs_devs with a single stale device
ce1ac9c8ebe0 btrfs: alloc_chunk: fix DUP stripe size handling
d0505842848e btrfs: add missing initialization in btrfs_check_shared
fef1dad2a985 btrfs: Fix NULL pointer exception in find_bio_stripe
428da4f87e1d xfs: preserve i_rdev when recycling a reclaimable inode
1c7453ec86ce nvme: fix subsystem multiple controllers support check
69f0542a7bef irqchip/gic-v3-its: Ensure nr_ites >= nr_lpis
fdb574d9a7e0 RDMAVT: Fix synchronization around percpu_ref
0b68e9ccaf0b fs/aio: Use RCU accessors for kioctx_table->table[]
b5b8b8be7808 fs/aio: Add explicit RCU grace period when freeing kioctx
2fa76b885ece lock_parent() needs to recheck if dentry got __dentry_kill'ed under it
9c7b569aec95 KVM: arm/arm64: vgic: Don't populate multiple LRs with the same vintid
3bf14279499c kvm: arm/arm64: vgic-v3: Tighten synchronization for guests using v2 on v3
885310132995 KVM: arm/arm64: Reset mapped IRQs on VM reset
1368ba16c8e6 KVM: arm/arm64: Reduce verbosity of KVM init log
ad3edd3c4047 fs: Teach path_connected to handle nfs filesystems with multiple roots.
ab2660381a80 drm/amdgpu/dce: Don't turn off DP sink when disconnected
fa2192eea5c0 drm/radeon: fix prime teardown order
d747af9a681f drm/amdgpu: fix prime teardown order
69b9106f97ce drm/nouveau/mmu: ALIGN_DOWN correct variable
ba753a894a53 drm/nouveau/bl: Fix oops on driver unbind
18d8a34ac890 ALSA: seq: Clear client entry before deleting else at closing
1d63f1fc63f4 ALSA: seq: Fix possible UAF in snd_seq_check_queue()
cdcecd3415a1 ALSA: hda - Revert power_save option default value
eb0e7a1f5687 ALSA: pcm: Fix UAF in snd_pcm_oss_get_formats()
bf724633cfda parisc: Handle case where flush_cache_range is called with no context
d7d57946c5f5 x86/mm: Fix vmalloc_fault to use pXd_large
4abf8650d693 KVM: x86: Fix device passthrough when SME is active
da0812b49895 x86/speculation: Remove Skylake C2 from Speculation Control microcode blacklist
8449802675b3 x86/speculation, objtool: Annotate indirect calls/jumps for objtool on 32-bit kernels
7a73ba591708 x86/vm86/32: Fix POPF emulation
cfb3f12e5a01 selftests/x86/entry_from_vm86: Add test cases for POPF
673d00d2cc16 selftests/x86/entry_from_vm86: Exit with 1 if we fail
733307cf6ba6 x86/cpufeatures: Add Intel PCONFIG cpufeature
a21fcb396718 x86/cpufeatures: Add Intel Total Memory Encryption cpufeature
51d480eafd15 Linux 4.15.11
ddfd9b3a41ae drm/i915/glk: Disable Guc and HuC on GLK
5ae4953dc072 dmaengine: qcom_hidma: check pending interrupts
7aeb9a55a385 IB/mlx5: revisit -Wmaybe-uninitialized warning
41ba470820b3 ima: relax requiring a file signature for new files with zero length
45ecf3400006 locking/locktorture: Fix num reader/writer corner cases
a95958907b4a rcutorture/configinit: Fix build directory error message
0ff7ed13f2a7 ipvlan: add L2 check for packets arriving via virtual devices
f00f5f5598cc Fix misannotated out-of-line _copy_to_user()
b19715a17b62 mmc: mmc_test: Ensure command queue is disabled for testing
be5494a8f85b ASoC: nuc900: Fix a loop timeout test
03f6344f6981 crypto: caam/qi - use correct print specifier for size_t
64d5680d3b4d mac80211: remove BUG() when interface type is invalid
0fca555446a1 mac80211_hwsim: enforce PS_MANUAL_POLL to be set after PS_ENABLED
d7b6747b2198 agp/intel: Flush all chipset writes after updating the GGTT
5123e87faf12 arm64: dts: renesas: salvator-common: Add EthernetAVB PHY reset
5f426784d0b4 powerpc/64: Don't trace irqs-off at interrupt return to soft-disabled context
3d1d39090fda powerpc/modules: Don't try to restore r2 after a sibling call
77592d6abc1b drm/amdkfd: Fix memory leaks in kfd topology
26ef25f35b9b veth: set peer GSO values
e8abc1292671 net: sched: drop qdisc_reset from dev_graft_qdisc
ae8cafc2813e virtio_net: Disable interrupts if napi_complete_done rescheduled napi
33964687ffd1 media: davinci: vpif_capture: add NULL check on devm_kzalloc return value
1ed91b10c4e4 media: cpia2: Fix a couple off by one bugs
b85bea6de405 dm raid: fix raid set size revalidation
3e8cbf84d434 media: vsp1: Prevent suspending and resuming DRM pipelines
74b1383a2a32 staging: fsl-dpaa2/eth: Fix access to FAS field
83810e8aa67a clk: renesas: r8a77970: Add LVDS clock
d641b64a0fcf scsi: dh: add new rdac devices
151c46ea1a6b scsi: devinfo: apply to HP XP the same flags as Hitachi VSP
a60c9f5bdf0a scsi: core: scsi_get_device_flags_keyed(): Always return device flags
d6549484c1bc bnxt_en: Don't print "Link speed -1 no longer supported" messages.
fd92108e8970 spi: sun6i: disable/unprepare clocks on remove
fedc177b4267 tools/usbip: fixes build with musl libc toolchain
1a1aa7f83d9f ath10k: fix invalid STS_CAP_OFFSET_MASK
2dc42ad1a816 mwifiex: cfg80211: do not change virtual interface during scan processing
eb0bd8399f30 clk: qcom: msm8916: fix mnd_width for codec_digcodec
736e6ed8e417 bnxt_en: Uninitialized variable in bnxt_tc_parse_actions()
196c8a893cc3 drm/amdgpu: fix amdgpu_sync_resv v2
d43f79d8bfa3 drm/amdgpu:fix virtual dce bug
84afaae95878 iwlwifi: mvm: avoid dumping assert log when device is stopped
7024c04ba773 perf annotate: Fix objdump comment parsing for Intel mov dissassembly
7090ac4bc551 perf annotate: Fix unnecessary memory allocation for s390x
4bc53614a08f pinctrl: sh-pfc: r8a7795-es1: Fix MOD_SEL1 bit[25:24] to 0x3 when using STP_ISEN_1_D
dc061955ca09 pinctrl: sh-pfc: r8a7791: Add can_clk function
4bccfe79cd4d drm/sun4i: Fix format mask in DE2 driver
e5e6a10251f8 pwm: stmpe: Fix wrong register offset for hwpwm=2 case
42957cf0a77d scsi: ses: don't ask for diagnostic pages repeatedly during probe
7d6f70a8758a scsi: lpfc: Fix crash during driver unload with running nvme traffic
9280348b2696 drm/amdgpu:fix random missing of FLR NOTIFY
eff913587989 KVM: X86: Restart the guest when insn_len is zero and SEV is enabled
a853301f77b5 cpufreq: Fix governor module removal race
b545efb25a3f ath10k: update tdls teardown state to target
4971e6535840 iio: health: max30102: Add power enable parameter to get_temp function
b0fdcac4f68d iio: adc: ina2xx: Shift bus voltage register to mask flag bits
056c35957ea2 drm/etnaviv: make THERMAL selectable
3079e5ffa141 power: supply: ab8500_charger: Bail out in case of error in 'ab8500_charger_init_hw_registers()'
4e074cd9323a power: supply: ab8500_charger: Fix an error handling path
fadaf4240360 power: supply: sbs-message: double left shift bug in sbsm_select()
8a7474805a53 bpf: fix stack state printing in verifier log
e99d334f6d7f leds: pm8058: Silence pointer to integer size warning
b116b9ca82d8 xfrm: Fix xfrm_replay_overflow_offload_esn
52e0006fb425 userns: Don't fail follow_automount based on s_user_ns
daf8ff677a34 mtd: nand: ifc: update bufnum mask for ver >= 2.0.0
c91a50176871 ARM: dts: omap3-n900: Fix the audio CODEC's reset pin
cc578825b46e ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin
8215dde215a2 net: thunderx: Set max queue count taking XDP_TX into account
df2bc9f0c7d9 mtd: nand: fix interpretation of NAND_CMD_NONE in nand_command[_lp]()
71dc53969aa9 gpiolib: don't allow OPEN_DRAIN & OPEN_SOURCE flags simultaneously
3c1133294733 net: xfrm: allow clearing socket xfrm policies.
8aa7072cc386 perf report: Fix -D output for user metadata events
ccf7f3f1bfe2 rtc: brcmstb-waketimer: fix error handling in brcmstb_waketmr_probe()
82e2dc52e103 net: ieee802154: adf7242: Fix bug if defined DEBUG
d0426ddc5a59 drm/vblank: Fix vblank timestamp debugs
6e3b18f9ef52 test_firmware: fix setting old custom fw path back on exit
2067278ed4a1 crypto: cavium - fix memory leak on info
b58c90c3a2c1 crypto: keywrap - Add missing ULL suffixes for 64-bit constants
f8ed29310ff5 crypto: ecc - Fix NULL pointer deref. on no default_rng
4fc44467b7d4 crypto: chelsio - Fix an error code in chcr_hash_dma_map()
fc82675c04f8 sched: Stop resched_cpu() from sending IPIs to offline CPUs
55a6c1e2842a sched: Stop switched_to_rt() from sending IPIs to offline CPUs
ccacabf0e911 dt-bindings: serial: Add common rs485 binding for RTS polarity
038f81410b9f USB: ledtrig-usbport: fix of-node leak
661d71fec957 typec: tcpm: fusb302: Resolve out of order messaging events
c702f9b72820 staging: rtl8822be: fix missing null check on dev_alloc_skb return
6fe526b2e82b drm/amdgpu: fix get_max_engine_clock_in_mhz
8c57c57a7d79 ARM: dts: exynos: Correct Trats2 panel reset line
941a8e4061b5 clk: meson: gxbb: fix wrong clock for SARADC/SANA
2037f15e1d02 ARM: dts: koelsch: Move cec_clock to root node
1320369874e0 iwlwifi: mvm: rs: don't override the rate history in the search cycle
bc7f19a1687d HID: elo: clear BTN_LEFT mapping
7b341f3287da KVM: PPC: Book3S HV: Fix typo in kvmppc_hv_get_dirty_log_radix()
6f97dd22c852 video/hdmi: Allow "empty" HDMI infoframes
e0749d1e1f10 dma-buf/fence: Fix lock inversion within dma-fence-array
df0204154557 drm/edid: set ELD connector type in drm_edid_to_eld()
c15aa9a93c05 KVM: PPC: Book3S HV: Avoid shifts by negative amounts
21764b41f1c8 HID: multitouch: Only look at non touch fields in first packet of a frame
6f6444502fa9 spi: imx: Fix failure path leak on GPIO request error correctly
d1cc4fe3e8b7 drm/panel: rpi-touchscreen: propagate errors in rpi_touchscreen_i2c_read()
ae53e57f5911 gfs2: Fixes to "Implement iomap for block_map" (2)
105cd2ef03be gfs2: Clean up {lookup,fillup}_metapath
7a4fe65843fd Revert "btrfs: use proper endianness accessors for super_copy"
3cd0aa9f35fe dm mpath: fix passing integrity data
701ba5478225 earlycon: add reg-offset to physical address before mapping
c3a2fe0fc8a0 serial: core: mark port as initialized in autoconfig
16415f03eb6e serial: 8250_pci: Add Brainboxes UC-260 4 port serial device
306c08c6d659 usb: dwc3: Fix lock-up on ID change during system suspend/resume
11e2d13d3f9e usb: gadget: f_fs: Fix use-after-free in ffs_fs_kill_sb()
b42aa204e111 usb: usbmon: Read text within supplied buffer size
5d4203a6d5a2 usb: quirks: add control message delay for 1b1c:1b20
1fc47d0380b5 usbip: vudc: fix null pointer dereference on udc->lock
b2029b7dbe6b USB: storage: Add JMicron bridge 152d:2567 to unusual_devs.h
aa05ee5fa75b scsi: sd_zbc: Fix potential memory leak
c9ff6a8a1e0f staging: android: ashmem: Fix lockdep issue during llseek
1c5bfd980303 staging: comedi: fix comedi_nsamples_left.
8e6c082909d5 uas: fix comparison for error code
2667d707c420 tty/serial: atmel: add new version check for usart
60003884f6c4 serial: sh-sci: prevent lockup on full TTY buffers
a0972dac1125 xhci: fix endpoint context tracer output
a0722d7b9d67 xhci: Fix front USB ports on ASUS PRIME B350M-A
73848b68f99b usb: host: xhci-rcar: add support for r8a77965
b7beb59aa066 ASoC: rt5651: Fix regcache sync errors on resume
aa6655a68f0a ASoC: wm_adsp: For TLV controls only register TLV get/set
9afc3ec1f2e7 ASoC: sgtl5000: Fix suspend/resume
6b57662274bd ASoC: sun4i-i2s: Fix RX slot number of SUN8I
699f7359e599 x86: Treat R_X86_64_PLT32 as R_X86_64_PC32
df57458873da Linux 4.15.10
2aaa158bc127 NFS: Fix unstable write completion
0fa7083df399 pNFS: Prevent the layout header refcount going to zero in pnfs_roc()
ff32fd5e2dce NFS: Fix an incorrect type in struct nfs_direct_req
085bac793f1c scsi: qla2xxx: Fix memory leak in dual/target mode
0e7a62c3cfb6 scsi: qla2xxx: Fix system crash in qlt_plogi_ack_unref
bf4ec02855d9 scsi: qla2xxx: Remove aborting ELS IOCB call issued as part of timeout.
33d13a80a374 scsi: qla2xxx: Defer processing of GS IOCB calls
b57851dc489f scsi: qla2xxx: Clear loop id after delete
ef5b3c623eec scsi: qla2xxx: Fix scan state field for fcport
f7b257f9e10a scsi: qla2xxx: Replace fcport alloc with qla2x00_alloc_fcport
3629d122f770 scsi: qla2xxx: Fix abort command deadlock due to spinlock
c6247675c8b2 scsi: qla2xxx: Fix PRLI state check
9a1e9130f25f scsi: qla2xxx: Fix Relogin being triggered too fast
41929d9b2363 scsi: qla2xxx: Relogin to target port on a cable swap
3ab51d1da782 scsi: qla2xxx: Fix NPIV host cleanup in target mode
6c609c375ca6 scsi: qla2xxx: Fix login state machine stuck at GPDB
1bb465e619eb scsi: qla2xxx: Serialize GPNID for multiple RSCN
99e33bd8bdfa scsi: qla2xxx: Retry switch command on time out
b40e693ce7b5 scsi: qla2xxx: Fix re-login for Nport Handle in use
e947c1c575aa scsi: qla2xxx: Skip IRQ affinity for Target QPairs
9685a797a564 scsi: qla2xxx: Move session delete to driver work queue
b340fe8a83f6 scsi: qla2xxx: Fix gpnid error processing
96a18fc96c22 scsi: qla2xxx: Fix system crash for Notify ack timeout handling
5858d59b8629 x86/xen: Calculate __max_logical_packages on PV domains
218ce9890104 tpm: only attempt to disable the LPC CLKRUN if is already enabled
9e49b027f787 tpm: remove unused variables
191f9cb91d12 tpm: delete the TPM_TIS_CLK_ENABLE flag
8fa99a629bd7 tpm: Keep CLKRUN enabled throughout the duration of transmit_cmd()
f84cbaff9004 tpm_tis: Move ilb_base_addr to tpm_tis_data
baf882cbcc43 netfilter: use skb_to_full_sk in ip6_route_me_harder
e8cd5a8ea2dd netfilter: ipv6: fix use-after-free Write in nf_nat_ipv6_manip_pkt
d0a52c094d57 netfilter: bridge: ebt_among: add missing match size checks
5c06b89df419 netfilter: ebtables: CONFIG_COMPAT: don't trust userland offsets
36dabaf091e7 netfilter: IDLETIMER: be syzkaller friendly
8ba14bacf620 netfilter: nat: cope with negative port range
4260816d4785 netfilter: x_tables: fix missing timer initialization in xt_LED
ea2699504d33 netfilter: xt_hashlimit: fix lock imbalance
cbd6bb0e28c9 netfilter: ipt_CLUSTERIP: fix a race condition of proc file creation
ec6b058c5431 netfilter: add back stackpointer size checks
831b5146892e watchdog: hpwdt: Remove legacy NMI sourcing.
52769861e99b watchdog: hpwdt: fix unused variable warning
af1537404670 watchdog: hpwdt: Check source of NMI
2ade2293099d watchdog: hpwdt: SMBIOS check
7e9c540258af x86/kprobes: Fix kernel crash when probing .entry_trampoline code
d9f1b1fd3728 objtool: Fix 32-bit build
58e0bb003523 objtool: Fix another switch table detection issue
d5f6877f0af8 objtool, retpolines: Integrate objtool with retpoline support more closely
871caad2a47b objtool: Add module specific retpoline rules
40693bd709b5 objtool: Add retpoline validation
e1861c9e9568 objtool: Use existing global variables for options
90dbf1101e65 x86/mm/sme, objtool: Annotate indirect call in sme_encrypt_execute()
8882e40f66ed x86/boot, objtool: Annotate indirect jump in secondary_startup_64()
2425b3ea0afa x86/paravirt, objtool: Annotate indirect calls
468e2a80446c x86/speculation: Move firmware_restrict_branch_speculation_*() from C to CPP
d9a1668e7535 x86/speculation, objtool: Annotate indirect calls/jumps for objtool
5d2055f00ca3 x86/retpoline: Support retpoline builds with Clang
f7d74d9aa741 x86/speculation: Use IBRS if available before calling into firmware
4049a8836273 Revert "x86/retpoline: Simplify vmexit_fill_RSB()"
f1c9e2394888 x86-64/realmode: Add instruction suffix
071ee9dbac4a x86/LDT: Avoid warning in 32-bit builds with older gcc
108d29575df1 x86/IO-APIC: Avoid warning in 32-bit builds
c7cbca42ac4a x86/asm: Improve how GEN_*_SUFFIXED_RMWcc() specify clobbers
a6e01bb7e6e0 x86/mm: Remove stale comment about KMEMCHECK
93e18c11ff91 x86/entry/64: Use 'xorl' for faster register clearing
e76bc364ce66 x86/entry: Reduce the code footprint of the 'idtentry' macro
0a58c796685c nospec: Include <asm/barrier.h> dependency
392fa7504294 nospec: Kill array_index_nospec_mask_check()
7a676d14cc09 MIPS: CPC: Map registers using DT in mips_cpc_default_phys_base()
b1d0c4b8e92e dt-bindings: Document mti,mips-cpc binding
25285f83f127 scsi: qla2xxx: Fix recursion while sending terminate exchange
7142b10b87d5 scsi: qla2xxx: Fix NULL pointer crash due to probe failure
8c4ae767a189 ALSA: hda: add dock and led support for HP ProBook 640 G2
245b88be66ce ALSA: hda: add dock and led support for HP EliteBook 820 G3
34ef89ff1759 ALSA: hda - Fix a wrong FIXUP for alc289 on Dell machines
6fc2d5416fda ALSA: seq: More protection for concurrent write and ioctl races
4271b3a41813 ALSA: seq: Don't allow resizing pool in use
27fb3754587a ALSA: hda/realtek - Make dock sound work on ThinkPad L570
ade62f0b3cf9 ALSA: hda/realtek - Fix dock line-out volume on Dell Precision 7520
6751bbdcc95a ALSA: hda/realtek: Limit mic boost on T480
7436dc94195d ALSA: hda/realtek - Add headset mode support for Dell laptop
c09ba221370b ALSA: hda/realtek - Add support headset mode for DELL WYSE
031fd7b4ed4a x86/spectre_v2: Don't check microcode versions when running under hypervisors
eaf9b6377a6e perf tools: Fix trigger class trigger_on()
291a0c2764e4 x86/MCE: Serialize sysfs changes
f89515c2e039 x86/MCE: Save microcode revision in machine check records
c56e9870f927 bcache: don't attach backing with duplicate UUID
dca776a05c50 bcache: fix crashes in duplicate cache device register
9fc9e1ed7335 IB/mlx5: Fix incorrect size of klms in the memory region
ca75c1477c2d dm bufio: avoid false-positive Wmaybe-uninitialized warning
b2171934ddc4 kbuild: Handle builtin dtb file names containing hyphens
822996a14a2f Revert "nvme: create 'slaves' and 'holders' entries for hidden controllers"
4a60df94905a IB/core: Fix missing RDMA cgroups release in case of failure to register device
88bf8f7eb708 arm64: mm: fix thinko in non-global page table attribute check
718a44de2712 KVM: s390: fix memory overwrites when not using SCA entries
4e5d6d3cc5e4 virtio_ring: fix num_free handling in error case
49de2e7b6670 loop: Fix lost writes caused by missing flag
342c720d9a4f Documentation/sphinx: Fix Directive import error
920a9205d268 mm/memblock.c: hardcode the end_pfn being -1
0b683939d50a lib/bug.c: exclude non-BUG/WARN exceptions from report_bug()
e9f84db183af bug: use %pB in BUG and stack protector failure
9f30ff6fa1a4 Revert "Input: synaptics - Lenovo Thinkpad T460p devices should use RMI"
1bceb2ec8956 Input: matrix_keypad - fix race when disabling interrupts
ed800b0773b1 PCI: dwc: Fix enumeration end when reaching root subordinate
77e2735ad398 MIPS: OCTEON: irq: Check for null return on kzalloc allocation
df441ada39cd MIPS: ath25: Check for kzalloc allocation failure
3eaedec0cd82 MIPS: BMIPS: Do not mask IPIs during suspend
809a9bf143f7 ovl: redirect_dir=nofollow should not follow redirect for opaque lower
75d0d16e1cda drm/amdgpu:Always save uvd vcpu_bo in VM Mode
b6ce72324e14 drm/amdgpu:Correct max uvd handles
83756e094108 drm/amdgpu: fix KV harvesting
692f415886d3 drm/radeon: fix KV harvesting
871aee09c102 drm/amdgpu: Notify sbios device ready before send request
adcdc9dd593d drm/amdgpu: used cached pcie gen info for SI (v2)
8679c019d168 drm/amd/display: Default HDMI6G support to true. Log VBIOS table error.
dd18defa55e4 drm/amd/powerplay: fix power over limit on Fiji
98bb81bb0f7b drm/radeon: insist on 32-bit DMA for Cedar on PPC64/PPC64LE
fde4dbd2a6cb drm/amd/display: check for ipp before calling cursor operations
80167d87e14f Revert "drm/radeon/pm: autoswitch power state when in balanced mode"
6cd6ec67d323 drm/amd/powerplay/vega10: allow mclk switching with no displays
8b6db1eed6d8 drm/amd/powerplay/smu7: allow mclk switching with no displays
f3d86614c99d drm/nouveau: prefer XBGR2101010 for addfb ioctl
273b6c8deabe drm/amdgpu: Fix deadlock on runtime suspend
ae78cada27a5 drm/radeon: Fix deadlock on runtime suspend
edf309e744c0 drm/nouveau: Fix deadlock on runtime suspend
51b269211a8c drm: Allow determining if current task is output poll worker
72bfcad05183 workqueue: Allow retrieval of current task's work struct
0adf0556bebd drm/i915: Always call to intel_display_set_init_power() in resume_early.
9e2d259c4e02 scsi: qla2xxx: Fix NULL pointer crash due to active timer for ABTS
44d646d03785 scsi: core: Avoid that ATA error handling can trigger a kernel hang or oops
a7423bbfb0d1 drm/i915/perf: fix perf stream opening lock
d723c32a04ca drm/i915: Try EDID bitbanging on HDMI after failed read
24791fc09ea3 drm/i915: Update watermark state correctly in sanitize_watermarks
5b79f7227aac drm/i915: Disable DC states around GMBUS on GLK
281a7778a32b drm/i915: Clear the in-use marker on execbuf failure
3ea5145064e2 drm/i915: Fix rsvd2 mask when out-fence is returned
47f84ed164c9 drm/i915/audio: fix check for av_enc_map overflow
35a66d32de2c drm/i915: Check for fused or unused pipes
b7e042c88b2c regulator: stm32-vrefbuf: fix check on ready flag
644ec8e097e9 net/smc: fix NULL pointer dereference on sock_create_kern() error path
bf18bf8d610f mac80211_hwsim: don't use WQ_MEM_RECLAIM
0a1c56f01811 IB/uverbs: Improve lockdep_check
056700807d82 bpf: cpumap: use GFP_KERNEL instead of GFP_ATOMIC in __cpu_map_entry_alloc()
45c0604dbeae RDMA/mlx5: Fix integer overflow while resizing CQ
1414d3fd4616 RDMA/ucma: Check that user doesn't overflow QP state
5d07104bc91b RDMA/ucma: Limit possible option size
3eae9e93d492 Linux 4.15.9
c0d3435d7fa0 KVM: x86: fix backward migration with async_PF
fa1f98c84c6b scsi: mpt3sas: wait for and flush running commands on shutdown/unload
2928c03a245f scsi: mpt3sas: fix oops in error handlers after shutdown/unload
6ff2082e4544 bpf, ppc64: fix out of bounds access in tail call
bc9d150b9bf1 bpf: allow xadd only on aligned memory
8c4626bf15ba bpf: add schedule points in percpu arrays management
18fa1b102cc2 bpf, arm64: fix out of bounds access in tail call
5882764e48ed bpf, x64: implement retpoline for tail call
519f40bb7fc9 bpf: fix rcu lockdep warning for lpm_trie map_free callback
f154de29a46b bpf: fix memory leak in lpm_trie map_free callback function
da43a222a759 bpf: fix mlock precharge on arraymaps
968369e0e44d Linux 4.15.8
ddf33af2f815 platform/x86: dell-laptop: fix kbd_get_state's request value
344fb4360638 md: only allow remove_and_add_spares when no sync_thread running.
f946a7289f2c powerpc/64s/radix: Boot-time NULL pointer protection using a guard-PID
39f428ebf4f1 ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux
6dcd8259f418 ARM: dts: LogicPD SOM-LV: Fix I2C1 pinmux
97086e143e20 ACPI / bus: Parse tables as term_list for Dell XPS 9570 and Precision M5530
f1bf982a4fea KVM/x86: remove WARN_ON() for when vm_munmap() fails
21043b0e128e KVM: x86: fix vcpu initialization with userspace lapic
100b8cbd68b1 KVM/VMX: Optimize vmx_vcpu_run() and svm_vcpu_run() by marking the RDMSR path as unlikely()
16f7730b611a KVM: x86: move LAPIC initialization after VMCS creation
2ccf7f43562b KVM/x86: Remove indirect MSR op calls from SPEC_CTRL
1b7168079777 KVM: mmu: Fix overlap between public and private memslots
0a5e830dc933 KVM: X86: Fix SMRAM accessing even if VM is shutdown
4c1a4f2e0f9f ARM: kvm: fix building with gcc-8
f83ed2a349e6 ARM: mvebu: Fix broken PL310_ERRATA_753970 selects
2dc5b6bbd897 ARM: dts: rockchip: Remove 1.8 GHz operation point from phycore som
6e5bcbc089fc ARM: orion: fix orion_ge00_switch_board_info initialization
d95636d18120 x86/mm: Fix {pmd,pud}_{set,clear}_flags()
f48c77b42e12 nospec: Allow index argument to have const-qualified type
adfc51106c08 KVM: s390: consider epoch index on TOD clock syncs
b06b16f7ca6b KVM: s390: consider epoch index on hotplugged CPUs
35b8a4dfde70 KVM: s390: provide only a single function for setting the tod (fix SCK)
96819fb1cfee KVM: s390: take care of clock-comparator sign control
1c7cfc790da1 EDAC, sb_edac: Fix out of bound writes during DIMM configuration on KNL
9b144500e91c media: m88ds3103: don't call a non-initalized function
ced72e7e3fdc blk-mq: don't call io sched's .requeue_request when requeueing rq to ->dispatch
edd27ed8978b tcp: revert F-RTO extension to detect more spurious timeouts
34ffbd0f604c tcp: revert F-RTO middle-box workaround
46884f60c4ec s390/qeth: fix IPA command submission race
5df9e78c3dff s390/qeth: fix IP address lookup for L3 devices
f99053f7b122 Revert "s390/qeth: fix using of ref counter for rxip addresses"
6e757a122107 s390/qeth: fix double-free on IP add/remove race
50f613e92572 s390/qeth: fix IP removal on offline cards
c3238669b34f s390/qeth: fix overestimated count of buffer elements
1818aac9f31b s390/qeth: fix SETIP command handling
841c19a5cc54 s390/qeth: fix underestimated count of buffer elements
549ddc83ad5e l2tp: fix tunnel lookup use-after-free race
08ffa7bbb46e l2tp: fix race in pppol2tp_release with session object destroy
18bdaefc715b l2tp: fix races with tunnel socket close
8a319b57cc5c l2tp: don't use inet_shutdown on ppp session destroy
bb364485dfa2 l2tp: don't use inet_shutdown on tunnel destroy
333502ffcfee tcp: tracepoint: only call trace_tcp_send_reset with full socket
8421bd1de6af net: phy: Restore phy_resume() locking assumption
4f217494ee7a net/mlx5: Fix error handling when adding flow rules
bbc06dee4ac6 cxgb4: fix trailing zero in CIM LA dump
dec498f1c88e virtio-net: disable NAPI only when enabled during XDP set
fad7f95c5a30 tuntap: disable preemption during XDP processing
85e1944293c7 tuntap: correctly add the missing XDP flush
12b552b1f7b7 tcp: purge write queue upon RST
069018b93412 netlink: put module reference if dump start fails
acc97d6c2bb5 mlxsw: spectrum_router: Do not unconditionally clear route offload indication
58cea8e8f1c0 cls_u32: fix use after free in u32_destroy_key()
ba34386c3a5f amd-xgbe: Restore PCI interrupt enablement setting on resume
c5f3a16c047d tls: Use correct sk->sk_prot for IPV6
7e7a3ddb1a47 net/mlx5e: Verify inline header size do not exceed SKB linear size
738d0533e316 bridge: Fix VLAN reference count problem
e7b63f0b9981 sctp: fix dst refcnt leak in sctp_v6_get_dst()
fcff1213761a net: ipv4: Set addr_type in hash_keys for forwarded case
11cc4753e279 mlxsw: spectrum_router: Fix error path in mlxsw_sp_vr_create
6fe1cee8331d sctp: do not pr_err for the duplicated node in transport rhlist
76d0b2028297 net/sched: cls_u32: fix cls_u32 on filter replace
b933df76437b net_sched: gen_estimator: fix broken estimators based on percpu stats
03bbd6797f0b net/mlx5e: Fix loopback self test when GRO is off
edb7471e93d2 doc: Change the min default value of tcp_wmem/tcp_rmem.
3f62339aa796 tcp_bbr: better deal with suboptimal GSO
5c783a7f0203 rxrpc: Fix send in rxrpc_send_data_packet()
f3d48615d322 tcp: Honor the eor bit in tcp_mtu_probe
88ff57617d0d net: phy: fix phy_start to consider PHY_IGNORE_INTERRUPT
0ef5cb5705f2 net/mlx5e: Specify numa node when allocating drop rq
1b1a55b29fe2 mlxsw: spectrum_switchdev: Check success of FDB add operation
c7cf3921eb5f sctp: fix dst refcnt leak in sctp_v4_get_dst
9b8444159a4c net/mlx5e: Fix TCP checksum in LRO buffers
1e4661b4d107 udplite: fix partial checksum initialization
4fadd1aa760e sctp: verify size of a new chunk in _sctp_make_chunk()
9b7006aabf2b ppp: prevent unregistered channels from connecting to PPP units
f15602876538 net: sched: report if filter is too large to dump
70ecf3334923 netlink: ensure to loop over all netns in genlmsg_multicast_allns()
9784795d3f03 net: ipv4: don't allow setting net.ipv4.route.min_pmtu below 68
30535af95cf2 net: fix race on decreasing number of TX queues
214284730b09 net: ethernet: ti: cpsw: fix net watchdog timeout
21e6097dd04a net: amd-xgbe: fix comparison to bitshift when dealing with a mask
adf7429c2267 ipv6 sit: work around bogus gcc-8 -Wrestrict warning
6811b97ecd35 hdlc_ppp: carrier detect ok, don't turn off negotiation
16883c9d55c1 fib_semantics: Don't match route with mismatching tclassid
842874ee8ec1 bridge: check brport attr show in brport_show
1b89874c3856 x86/cpu_entry_area: Sync cpu_entry_area to initial_page_table
64982714bc3f x86/platform/intel-mid: Handle Intel Edison reboot correctly
d7445fa22a11 x86/xen: Zero MSR_IA32_SPEC_CTRL before suspend
6450d9cd79e9 direct-io: Fix sleep in atomic due to sync AIO
1fa58410574b dax: fix vma_is_fsdax() helper
1666ac0ce06f cpufreq: s3c24xx: Fix broken s3c_cpufreq_init()
483c2bdccca7 vfio: disable filesystem-dax page pinning
eef09bb03fcb block: pass inclusive 'lend' parameter to truncate_inode_pages_range
ea402611ed03 block: kyber: fix domain token leak during requeue
8882f981b717 block: fix the count of PGPGOUT for WRITE_SAME
e4c2c02c50b3 btrfs: use proper endianness accessors for super_copy
9a13579b3034 parisc: Hide virtual kernel memory layout
4aa930d5820a parisc: Fix ordering of cache and TLB flushes
24316676e3c7 parisc: Reduce irq overhead when run in qemu
60e756984554 parisc: Use cr16 interval timers unconditionally on qemu
ee5e1ffab408 timers: Forward timer base before migrating timers
4ee6ac4141dd mmc: dw_mmc: Fix out-of-bounds access for slot's caps
500fb6fc6f76 mmc: dw_mmc: Factor out dw_mci_init_slot_caps
d9aedd0eeff7 mmc: dw_mmc: Avoid accessing registers in runtime suspended state
89c12efb97e7 mmc: dw_mmc-k3: Fix out-of-bounds access through DT alias
77a4aeb4ce78 mmc: sdhci-pci: Fix S0i3 for Intel BYT-based controllers
05d161055a54 ALSA: hda - Fix pincfg at resume on Lenovo T470 dock
953cadb747c1 ALSA: hda: Add a power_save blacklist
b7b0967e09f8 ALSA: x86: Fix missing spinlock and mutex initializations
a2eeb5a466e4 ALSA: control: Fix memory corruption risk in snd_ctl_elem_read
9d1e69dd320d ALSA: usb-audio: Add a quirck for B&W PX headphones
45bc38a35106 tpm_tis: fix potential buffer overruns caused by bit glitches on the bus
97277fda41a5 tpm_i2c_nuvoton: fix potential buffer overruns caused by bit glitches on the bus
a46deb414510 tpm_i2c_infineon: fix potential buffer overruns caused by bit glitches on the bus
e47b9cb5a31b tpm: fix potential buffer overruns caused by bit glitches on the bus
3f0ef47f20be tpm: st33zp24: fix potential buffer overruns caused by bit glitches on the bus
fdfcd0ace151 ixgbe: fix crash in build_skb Rx code path
eeef553eef5e Bluetooth: btusb: Use DMI matching for QCA reset_resume quirking
7ef82fc6dd01 powerpc/pseries: Enable RAS hotplug events later
c58c4d2d192d platform/x86: dell-laptop: Allocate buffer on heap rather than globally
5263849bc9e7 ipmi_si: Fix error handling of platform device
d3b7976e60c6 hrtimer: Ensure POSIX compliance (relative CLOCK_REALTIME hrtimers)
816433b1879a vsprintf: avoid misleading "(null)" for %px

(From OE-Core rev: 6af2a2914264c67310ec874035b8a01c941e9615)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:18 +01:00
Bruce Ashfield
b2eb8c5d87 linux-yocto/4.14: update to v4.14.30
Integrating the korg -stable releases for v4.14, which comprise the
following commits:

   de8cdc557231 Linux 4.14.30
   5019b23699f4 RDMA/vmw_pvrdma: Fix usage of user response structures in ABI file
   957435b566c9 kbuild: fix linker feature test macros when cross compiling with Clang
   e82496fbe3a0 RDMA/ucma: Don't allow join attempts for unsupported AF family
   ce3e82c0630f RDMA/ucma: Fix access to non-initialized CM_ID object
   712b442c68c2 clk: migrate the count of orphaned clocks at init
   02db484a0583 RDMA/core: Do not use invalid destination in determining port reuse
   8b0c4a2e04f7 serial: 8250_pci: Don't fail on multiport card class
   00fb52a3828d IB/mlx5: Fix out-of-bounds read in create_raw_packet_qp_rq
   cf1eb16eef13 IB/mlx5: Fix integer overflows in mlx5_ib_create_srq
   3748694f1b91 scsi: mpt3sas: wait for and flush running commands on shutdown/unload
   9d72b2696e0a scsi: mpt3sas: fix oops in error handlers after shutdown/unload
   0493d72ee4d6 dmaengine: ti-dma-crossbar: Fix event mapping for TPCC_EVT_MUX_60_63
   e618ff1ac59c crypto: artpec6 - set correct iv size for gcm(aes)
   53555c8fc8a2 clk: si5351: Rename internal plls to avoid name collisions
   fa97cdb4c71e clk: axi-clkgen: Correctly handle nocount bit in recalc_rate()
   9e9d9b1a3dbf clk: Don't touch hardware when reparenting during registration
   24c92f975cb2 clk: at91: pmc: Wait for clocks when resuming
   14d920fc4579 nfsd4: permit layoutget of executable-only files
   1de82078a0c0 ARM: dts: aspeed-evb: Add unit name to memory node
   e434a6eaed8c RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS
   7b7e076f8cad scsi: lpfc: Fix issues connecting with nvme initiator
   1626beb0b5d8 scsi: lpfc: Fix SCSI LUN discovery when SCSI and NVME enabled
   6f4649f3bef8 soc: qcom: smsm: fix child-node lookup
   f1f225794a41 ip_gre: fix potential memory leak in erspan_rcv
   9cd6c84e9377 ip_gre: fix error path when erspan_rcv failed
   e6cfc525163e ip6_vti: adjust vti mtu according to mtu of lower device
   f2b32ce1ccef iommu/vt-d: clean up pr_irq if request_threaded_irq fails
   915bd53d68f6 pinctrl: rockchip: enable clock when reading pin direction register
   130e535210ba pinctrl: Really force states during suspend/resume
   06299bd0cf73 media: davinci: fix a debug printk
   fea718819c69 PCI: rcar: Handle rcar_pcie_parse_request_of_pci_ranges() failures
   e1645629785b PCI: endpoint: Fix find_first_zero_bit() usage
   194b5ce11968 PCI: designware-ep: Fix ->get_msi() to check MSI_EN bit
   d67d7bf8f12d coresight: Fix disabling of CoreSight TPIU
   f16a65befe74 pty: cancel pty slave port buf's work in tty_release
   728e120d1786 drm/omap: DMM: Check for DMM readiness after successful transaction commit
   9967208b4f6c mmc: sdhci-xenon: wait 5ms after set 1.8V signal enable
   83a2960ff6d1 omapdrm: panel: fix compatible vendor string for td028ttec1
   f7eda23c2990 vgacon: Set VGA struct resource types
   58668d153baf iser-target: avoid reinitializing rdma contexts for isert commands
   a3e4b8fe6479 IB/umem: Fix use of npages/nmap fields
   251695a39f05 RDMA/cma: Use correct size when writing netlink stats
   a4ac7cb593ad IB/ipoib: Avoid memory leak if the SA returns a different DGID
   9766562956fd rtc: ac100: Fix multiple race conditions
   badf37254bc7 media: s5p-mfc: Fix lock contention - request_firmware() once
   639dab36edbd sfp: fix non-detection of PHY
   1a6610de8c1b sfp: fix EEPROM reading in the case of non-SFF8472 SFPs
   1b485793ce84 net: phy: meson-gxl: check phy_write return value
   ea60e54b22aa /dev/mem: Add bounce buffer for copy-out
   79a49fcc0768 mmc: block: fix logical error to avoid memory leak
   9dd93e524955 mmc: avoid removing non-removable hosts during suspend
   c1326c691f4d drm/tilcdc: ensure nonatomic iowrite64 is not used
   e2a6f2967f67 dmaengine: zynqmp_dma: Fix race condition in the probe
   f4a0f85594ba platform/chrome: Use proper protocol transfer function
   71233e2541a4 watchdog: Fix kref imbalance seen if handle_boot_enabled=0
   08b810901020 watchdog: Fix potential kref imbalance when opening watchdog
   008029510ac8 cros_ec: fix nul-termination for firmware build info
   79c3f5cf466d serial: 8250_dw: Disable clock on error
   f1be26620373 tty: goldfish: Enable 'earlycon' only if built-in
   5ff0741646fd qmi_wwan: set FLAG_SEND_ZLP to avoid network initiated disconnect
   a9a14b17f72c media: [RESEND] media: dvb-frontends: Add delay to Si2168 restart
   057ee30417e5 ath10k: handling qos at STA side based on AP WMM enable/disable
   824f8613ea62 media: bt8xx: Fix err 'bt878_probe()'
   2159db50a572 rtlwifi: always initialize variables given to RT_TRACE()
   9f180c6db58e rtlwifi: rtl_pci: Fix the bug when inactiveps is enabled.
   9854881c225a spi: sh-msiof: Avoid writing to registers from spi_master.setup()
   6467b3e25447 hv_netvsc: Fix the TX/RX buffer default sizes
   8dc11c413557 hv_netvsc: Fix the receive buffer size limit
   e53e85d5082c RDMA/iwpm: Fix uninitialized error code in iwpm_send_mapinfo()
   4df82a41e819 drm/msm: fix leak in failed get_pages
   b3cff08483d0 media: c8sectpfe: fix potential NULL pointer dereference in c8sectpfe_timer_interrupt
   b453f9d8c55e cpufreq: longhaul: Revert transition_delay_us to 200 ms
   e59e19dc4086 Bluetooth: btqcomsmd: Fix skb double free corruption
   5b58533858e3 Bluetooth: hci_qca: Avoid setup failure on missing rampatch
   23081c335df9 staging: android: ashmem: Fix possible deadlock in ashmem_ioctl
   23e73e2ab4d2 scsi: megaraid_sas: Do not use 32-bit atomic request descriptor for Ventura controllers
   809607940362 Linux 4.14.29
   f2216e3e1d64 usb: dwc3: Fix GDBGFIFOSPACE_TYPE values
   3914aae2ae24 USB: gadget: udc: Add missing platform_device_put() on error in bdc_pci_probe()
   c209d68794e6 scsi: qla2xxx: Fix crashes in qla2x00_probe_one on probe failure
   91cb90636e03 scsi: qla2xxx: Fix logo flag for qlt_free_session_done()
   31de69d5c9b8 scsi: qla2xxx: Fix NULL pointer access for fcport structure
   8cdd1908c174 scsi: qla2xxx: Fix smatch warning in qla25xx_delete_{rsp|req}_que
   1a8902505673 btrfs: Fix memory barriers usage with device stats counters
   d35115930d84 btrfs: remove spurious WARN_ON(ref->count < 0) in find_parent_nodes
   cb6945546b52 btrfs: Fix use-after-free when cleaning up fs_devs with a single stale device
   0136bd7238b2 btrfs: alloc_chunk: fix DUP stripe size handling
   7e7fbff126d1 btrfs: add missing initialization in btrfs_check_shared
   e625797168ce btrfs: Fix NULL pointer exception in find_bio_stripe
   e01cf461f1d0 irqchip/gic-v3-its: Ensure nr_ites >= nr_lpis
   1f4b6d083dc6 RDMAVT: Fix synchronization around percpu_ref
   cd21b3400bc1 fs/aio: Use RCU accessors for kioctx_table->table[]
   076c7c06801a fs/aio: Add explicit RCU grace period when freeing kioctx
   b071bce3ff7e lock_parent() needs to recheck if dentry got __dentry_kill'ed under it
   e693f1331c4c KVM: arm/arm64: vgic: Don't populate multiple LRs with the same vintid
   b85437d007f4 kvm: arm/arm64: vgic-v3: Tighten synchronization for guests using v2 on v3
   2ffe95e3aa1e KVM: arm/arm64: Reduce verbosity of KVM init log
   0481f001d9c1 fs: Teach path_connected to handle nfs filesystems with multiple roots.
   690291bccba9 drm/amdgpu/dce: Don't turn off DP sink when disconnected
   1a50b5f07acf drm/radeon: fix prime teardown order
   b4a9192c74ad drm/amdgpu: fix prime teardown order
   bdbd0a2082d5 drm/nouveau/bl: Fix oops on driver unbind
   3d1ef6fbdc22 ALSA: seq: Clear client entry before deleting else at closing
   0609022631b3 ALSA: seq: Fix possible UAF in snd_seq_check_queue()
   c0cafa62d780 ALSA: hda - Revert power_save option default value
   5ee6abaa5370 ALSA: pcm: Fix UAF in snd_pcm_oss_get_formats()
   a9cf8b6fe73b parisc: Handle case where flush_cache_range is called with no context
   6fcb523eafa0 x86/mm: Fix vmalloc_fault to use pXd_large
   4b428e9998c1 KVM: x86: Fix device passthrough when SME is active
   732f9a89fc1e x86/speculation: Remove Skylake C2 from Speculation Control microcode blacklist
   76aaa3978252 x86/speculation, objtool: Annotate indirect calls/jumps for objtool on 32-bit kernels
   68ce99300659 x86/vm86/32: Fix POPF emulation
   602e52e66fbe selftests/x86/entry_from_vm86: Add test cases for POPF
   102c51c63494 selftests/x86: Add tests for the STR and SLDT instructions
   6d3789cafd00 selftests/x86: Add tests for User-Mode Instruction Prevention
   9ad561690f83 selftests/x86/entry_from_vm86: Exit with 1 if we fail
   4cf4908d1d4e x86/cpufeatures: Add Intel PCONFIG cpufeature
   828ba3c7fd5a x86/cpufeatures: Add Intel Total Memory Encryption cpufeature
   42b96e19dddd Linux 4.14.28
   1c8b6717a268 drm/i915/glk: Disable Guc and HuC on GLK
   e09475d69826 dmaengine: qcom_hidma: check pending interrupts
   4f33fcc68abe IB/mlx5: revisit -Wmaybe-uninitialized warning
   fd6170bf4381 ima: relax requiring a file signature for new files with zero length
   c02dd004559c locking/locktorture: Fix num reader/writer corner cases
   09e59383eb1c rcutorture/configinit: Fix build directory error message
   17c8c5998857 ipvlan: add L2 check for packets arriving via virtual devices
   0ced0c46b418 Fix misannotated out-of-line _copy_to_user()
   4117e8971923 mmc: mmc_test: Ensure command queue is disabled for testing
   b45ccc79b04a ASoC: nuc900: Fix a loop timeout test
   00be5b299063 crypto: caam/qi - use correct print specifier for size_t
   8077cba5b1f0 mac80211: remove BUG() when interface type is invalid
   f6ae26c08033 mac80211_hwsim: enforce PS_MANUAL_POLL to be set after PS_ENABLED
   9bece8dda367 agp/intel: Flush all chipset writes after updating the GGTT
   4df57c45f762 arm64: dts: renesas: salvator-common: Add EthernetAVB PHY reset
   9281b0856dcd powerpc/64: Don't trace irqs-off at interrupt return to soft-disabled context
   d744153d67fd powerpc/modules: Don't try to restore r2 after a sibling call
   12848af16f9e drm/amdkfd: Fix memory leaks in kfd topology
   30d45938f2a5 veth: set peer GSO values
   a80de288d6c5 net: sched: drop qdisc_reset from dev_graft_qdisc
   127bda4b0912 virtio_net: Disable interrupts if napi_complete_done rescheduled napi
   623f21858691 media: davinci: vpif_capture: add NULL check on devm_kzalloc return value
   b6b70d70331f media: cpia2: Fix a couple off by one bugs
   8834a75d8acb dm raid: fix raid set size revalidation
   77ec30a0b35e media: vsp1: Prevent suspending and resuming DRM pipelines
   32097005dd78 scsi: dh: add new rdac devices
   97b8a9a87832 scsi: devinfo: apply to HP XP the same flags as Hitachi VSP
   a60a3523b398 scsi: core: scsi_get_device_flags_keyed(): Always return device flags
   677794fb0ca2 bnxt_en: Don't print "Link speed -1 no longer supported" messages.
   564030343299 spi: sun6i: disable/unprepare clocks on remove
   4309a1e0d1c3 tools/usbip: fixes build with musl libc toolchain
   9c0a007d1efc ath10k: fix invalid STS_CAP_OFFSET_MASK
   0c2fa288cfc3 mwifiex: cfg80211: do not change virtual interface during scan processing
   1a7e2b546b0f clk: qcom: msm8916: fix mnd_width for codec_digcodec
   6d6a5eae5600 drm/amdgpu:fix virtual dce bug
   bd301e538bd6 iwlwifi: mvm: avoid dumping assert log when device is stopped
   e6fb81cb22b7 perf annotate: Fix objdump comment parsing for Intel mov dissassembly
   f9b186caa071 perf annotate: Fix unnecessary memory allocation for s390x
   9334b702531d pinctrl: sh-pfc: r8a7795-es1: Fix MOD_SEL1 bit[25:24] to 0x3 when using STP_ISEN_1_D
   162ee473a0cb pinctrl: sh-pfc: r8a7791: Add can_clk function
   81a16b68d254 drm/sun4i: Fix format mask in DE2 driver
   5dc7257b7ca7 pwm: stmpe: Fix wrong register offset for hwpwm=2 case
   65722e73086d scsi: ses: don't ask for diagnostic pages repeatedly during probe
   5d8c64ea75f3 drm/amdgpu:fix random missing of FLR NOTIFY
   0049457bfde6 cpufreq: Fix governor module removal race
   bde5c6dca065 ath10k: update tdls teardown state to target
   6af44accf4ff iio: health: max30102: Add power enable parameter to get_temp function
   975486d1f138 iio: adc: ina2xx: Shift bus voltage register to mask flag bits
   cb334409bb02 drm/etnaviv: make THERMAL selectable
   893bfd501781 power: supply: ab8500_charger: Bail out in case of error in 'ab8500_charger_init_hw_registers()'
   487d43596072 power: supply: ab8500_charger: Fix an error handling path
   7579edac03e6 leds: pm8058: Silence pointer to integer size warning
   ab3db1af4210 xfrm: Fix xfrm_replay_overflow_offload_esn
   5aac93adff9c userns: Don't fail follow_automount based on s_user_ns
   926b261b1ed5 mtd: nand: ifc: update bufnum mask for ver >= 2.0.0
   2f1f60c4b903 ARM: dts: omap3-n900: Fix the audio CODEC's reset pin
   0ed43f944a40 ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin
   5132282f9c4b net: thunderx: Set max queue count taking XDP_TX into account
   4ab1fcc7a5f7 mtd: nand: fix interpretation of NAND_CMD_NONE in nand_command[_lp]()
   bd174cd107d0 net: xfrm: allow clearing socket xfrm policies.
   f113f794410a rtc: brcmstb-waketimer: fix error handling in brcmstb_waketmr_probe()
   31a0f4502108 net: ieee802154: adf7242: Fix bug if defined DEBUG
   00c7a2690dcc test_firmware: fix setting old custom fw path back on exit
   919ba939de1a crypto: cavium - fix memory leak on info
   90cf769aeb5a crypto: ecc - Fix NULL pointer deref. on no default_rng
   cebb9043093e sched: Stop resched_cpu() from sending IPIs to offline CPUs
   9c2825526d96 sched: Stop switched_to_rt() from sending IPIs to offline CPUs
   872181a79b35 USB: ledtrig-usbport: fix of-node leak
   b9faab6a01e9 typec: tcpm: fusb302: Resolve out of order messaging events
   dc3173bf6ccb staging: rtl8822be: fix missing null check on dev_alloc_skb return
   0e2685fef97d drm/amdgpu: fix get_max_engine_clock_in_mhz
   dc743e973895 ARM: dts: exynos: Correct Trats2 panel reset line
   7299cd29f12c clk: meson: gxbb: fix wrong clock for SARADC/SANA
   9ac03f5260e4 ARM: dts: koelsch: Move cec_clock to root node
   cc218843b44d iwlwifi: mvm: rs: don't override the rate history in the search cycle
   f0ab595c2de0 HID: elo: clear BTN_LEFT mapping
   addf1ae9fcb2 HID: multitouch: Only look at non touch fields in first packet of a frame
   d2bbda4c374c video/hdmi: Allow "empty" HDMI infoframes
   182c594668e7 dma-buf/fence: Fix lock inversion within dma-fence-array
   e19df194b50e drm/edid: set ELD connector type in drm_edid_to_eld()
   2b0509fa4afe Revert "btrfs: use proper endianness accessors for super_copy"
   d916e453942b dm mpath: fix passing integrity data
   dbacf552cdbf earlycon: add reg-offset to physical address before mapping
   0da58aed9edc serial: core: mark port as initialized in autoconfig
   099d055f8ab9 serial: 8250_pci: Add Brainboxes UC-260 4 port serial device
   e52fb772cb1d usb: dwc3: Fix lock-up on ID change during system suspend/resume
   99d7fb05c1e9 usb: gadget: f_fs: Fix use-after-free in ffs_fs_kill_sb()
   59b0613d3f40 usb: usbmon: Read text within supplied buffer size
   42b8dfefbb1b usb: quirks: add control message delay for 1b1c:1b20
   d4f0bf4525fd usbip: vudc: fix null pointer dereference on udc->lock
   f8187fd2aeda USB: storage: Add JMicron bridge 152d:2567 to unusual_devs.h
   6de9ee2f3020 staging: android: ashmem: Fix lockdep issue during llseek
   4c2d71dd0f90 staging: comedi: fix comedi_nsamples_left.
   fdd0f1b2efc7 uas: fix comparison for error code
   3c8e0474f543 tty/serial: atmel: add new version check for usart
   a6a8916de0db serial: sh-sci: prevent lockup on full TTY buffers
   d03fbfded594 xhci: fix endpoint context tracer output
   d7c3836cd166 xhci: Fix front USB ports on ASUS PRIME B350M-A
   490869f59f58 usb: host: xhci-rcar: add support for r8a77965
   92d770524625 ASoC: rt5651: Fix regcache sync errors on resume
   57e2eb2d13db ASoC: wm_adsp: For TLV controls only register TLV get/set
   90442512a6c6 ASoC: sgtl5000: Fix suspend/resume
   577ad1c9bcfd ASoC: sun4i-i2s: Fix RX slot number of SUN8I
   a971fc44c94b x86: Treat R_X86_64_PLT32 as R_X86_64_PC32
   6bccf8962b78 net: phy: Restore phy_resume() locking assumption
   76fbc152cd8c net: phy: fix resume handling
   9b1fb9cc922d Linux 4.14.27
   24e955e59100 x86/kprobes: Fix kernel crash when probing .entry_trampoline code
   e8be8ff1f757 objtool: Fix 32-bit build
   a617f2e36d67 objtool: Fix another switch table detection issue
   c3b9f72606ac objtool, retpolines: Integrate objtool with retpoline support more closely
   a69898c9eb0a objtool: Add module specific retpoline rules
   3945bbe1525f kbuild: move cc-option and cc-disable-warning after incl. arch Makefile
   6288eb92cae8 kbuild: Set KBUILD_CFLAGS before incl. arch Makefile
   cfe39acafbaf kbuild: re-order the code to not parse unnecessary variables
   e6993149fa4d objtool: Add retpoline validation
   8c2768139ffb objtool: Use existing global variables for options
   f9be9ef91a14 x86/mm/sme, objtool: Annotate indirect call in sme_encrypt_execute()
   4d840d9a1742 x86/boot, objtool: Annotate indirect jump in secondary_startup_64()
   6fceef2e7feb x86/paravirt, objtool: Annotate indirect calls
   5065490489ee x86/speculation: Move firmware_restrict_branch_speculation_*() from C to CPP
   945e3d00ecdc x86/speculation, objtool: Annotate indirect calls/jumps for objtool
   e76a9431f21a x86/retpoline: Support retpoline builds with Clang
   c3ffdb5a2ed4 x86/speculation: Use IBRS if available before calling into firmware
   a66fe0437d85 Revert "x86/retpoline: Simplify vmexit_fill_RSB()"
   8cb411344339 x86-64/realmode: Add instruction suffix
   cd9547e51503 x86/LDT: Avoid warning in 32-bit builds with older gcc
   e793e30063b9 x86/asm: Improve how GEN_*_SUFFIXED_RMWcc() specify clobbers
   c507f00d2b5e x86/mm: Remove stale comment about KMEMCHECK
   5f9d19a6c9e1 x86/entry/64: Use 'xorl' for faster register clearing
   b690fda31a47 x86/entry: Reduce the code footprint of the 'idtentry' macro
   2e19277e1df5 nospec: Include <asm/barrier.h> dependency
   bebe3994ddaf nospec: Kill array_index_nospec_mask_check()
   dc2f0da8350e MIPS: CPC: Map registers using DT in mips_cpc_default_phys_base()
   20b4c7f86df9 dt-bindings: Document mti,mips-cpc binding
   608d96fc43a3 scsi: qla2xxx: Fix recursion while sending terminate exchange
   8540351ee8a4 scsi: qla2xxx: Fix NULL pointer crash due to probe failure
   3deecffb1b78 ALSA: hda: add dock and led support for HP ProBook 640 G2
   f2ba41eb6290 ALSA: hda: add dock and led support for HP EliteBook 820 G3
   818b447d14e4 ALSA: hda - Fix a wrong FIXUP for alc289 on Dell machines
   6d3a7dcba8c5 ALSA: seq: More protection for concurrent write and ioctl races
   d9c724729d0d ALSA: seq: Don't allow resizing pool in use
   7b4e500bada3 ALSA: hda/realtek - Make dock sound work on ThinkPad L570
   816ee317d8a2 ALSA: hda/realtek - Fix dock line-out volume on Dell Precision 7520
   3c69eccc1ab1 ALSA: hda/realtek: Limit mic boost on T480
   37872f84cc2d ALSA: hda/realtek - Add headset mode support for Dell laptop
   2c269a2557a9 ALSA: hda/realtek - Add support headset mode for DELL WYSE
   c5bd1ad601d1 x86/spectre_v2: Don't check microcode versions when running under hypervisors
   c192a793f056 perf tools: Fix trigger class trigger_on()
   5c1c405d3936 x86/MCE: Serialize sysfs changes
   859334041d04 x86/MCE: Save microcode revision in machine check records
   c6a1c0caf2d0 bcache: don't attach backing with duplicate UUID
   14c2230b83bc bcache: fix crashes in duplicate cache device register
   f1833eb13078 IB/mlx5: Fix incorrect size of klms in the memory region
   525673339fb1 dm bufio: avoid false-positive Wmaybe-uninitialized warning
   ffced04184f5 kbuild: Handle builtin dtb file names containing hyphens
   e3a8c7b5d707 IB/core: Fix missing RDMA cgroups release in case of failure to register device
   c1badd7b65c4 arm64: mm: fix thinko in non-global page table attribute check
   3da2a62a61d1 KVM: s390: fix memory overwrites when not using SCA entries
   583cc79b7380 virtio_ring: fix num_free handling in error case
   5f9113db06a4 loop: Fix lost writes caused by missing flag
   7f18a19b2113 Documentation/sphinx: Fix Directive import error
   88b3e6acbae0 mm/memblock.c: hardcode the end_pfn being -1
   d50cb5cedb6f lib/bug.c: exclude non-BUG/WARN exceptions from report_bug()
   89d3fccd8bab Input: matrix_keypad - fix race when disabling interrupts
   91e019af29cd PCI: dwc: Fix enumeration end when reaching root subordinate
   d90bb7c6806b MIPS: OCTEON: irq: Check for null return on kzalloc allocation
   e06fe5925771 MIPS: ath25: Check for kzalloc allocation failure
   26f1a4666090 MIPS: BMIPS: Do not mask IPIs during suspend
   6c6f1e60b5e4 drm/amdgpu:Always save uvd vcpu_bo in VM Mode
   783fd8eb86fc drm/amdgpu:Correct max uvd handles
   e919af14fa17 drm/amdgpu: fix KV harvesting
   f641c63d750a drm/radeon: fix KV harvesting
   755e5527e57f drm/amdgpu: Notify sbios device ready before send request
   20f3ff9738c0 drm/amdgpu: used cached pcie gen info for SI (v2)
   26078a2d862d drm/amd/powerplay: fix power over limit on Fiji
   9c1192dcb7ba drm/radeon: insist on 32-bit DMA for Cedar on PPC64/PPC64LE
   1dd93412438e Revert "drm/radeon/pm: autoswitch power state when in balanced mode"
   cfc381d215af drm/amd/powerplay/vega10: allow mclk switching with no displays
   396ff3687674 drm/amd/powerplay/smu7: allow mclk switching with no displays
   9b9a82c0e2e1 drm/nouveau: prefer XBGR2101010 for addfb ioctl
   e6a23183d800 drm/amdgpu: Fix deadlock on runtime suspend
   9c1508eff805 drm/radeon: Fix deadlock on runtime suspend
   8c13b37c887d drm/nouveau: Fix deadlock on runtime suspend
   c261d5a4e5bf drm: Allow determining if current task is output poll worker
   363e3fd5fa49 workqueue: Allow retrieval of current task's work struct
   0547d1135081 drm/i915: Always call to intel_display_set_init_power() in resume_early.
   07b749546521 scsi: qla2xxx: Fix NULL pointer crash due to active timer for ABTS
   4dbc3e4d8b28 scsi: core: Avoid that ATA error handling can trigger a kernel hang or oops
   2e5033364e0d drm/i915/perf: fix perf stream opening lock
   c16a67695cd6 drm/i915: Try EDID bitbanging on HDMI after failed read
   d3accc34d793 drm/i915: Update watermark state correctly in sanitize_watermarks
   7b3f881e41c5 drm/i915: Disable DC states around GMBUS on GLK
   492056f2944e drm/i915: Clear the in-use marker on execbuf failure
   f306b12928b9 drm/i915: Fix rsvd2 mask when out-fence is returned
   4b26a307391f regulator: stm32-vrefbuf: fix check on ready flag
   bba05fb6a13b net/smc: fix NULL pointer dereference on sock_create_kern() error path
   e0486b303556 IB/uverbs: Improve lockdep_check
   dbfed071633c RDMA/mlx5: Fix integer overflow while resizing CQ
   01b8c0e36063 RDMA/ucma: Check that user doesn't overflow QP state
   9b2d784a39d4 RDMA/ucma: Limit possible option size
   7b7574e9b209 NFS: Fix unstable write completion
   e131a6d68cd5 pNFS: Prevent the layout header refcount going to zero in pnfs_roc()
   2bca2c58d83b NFS: Fix an incorrect type in struct nfs_direct_req
   29060ff7c1ed scsi: qla2xxx: Fix memory leak in dual/target mode
   0393270e9e58 scsi: qla2xxx: Fix system crash in qlt_plogi_ack_unref
   e62c1051a4fd scsi: qla2xxx: Remove aborting ELS IOCB call issued as part of timeout.
   f5ff7098d906 scsi: qla2xxx: Defer processing of GS IOCB calls
   1bc43df12141 scsi: qla2xxx: Clear loop id after delete
   21e4e9c6d8ab scsi: qla2xxx: Fix scan state field for fcport
   0b42928ca54c scsi: qla2xxx: Replace fcport alloc with qla2x00_alloc_fcport
   11739154e650 scsi: qla2xxx: Fix abort command deadlock due to spinlock
   4929c452336c scsi: qla2xxx: Fix PRLI state check
   f92ec32f33ba scsi: qla2xxx: Fix Relogin being triggered too fast
   1411448e0a1b scsi: qla2xxx: Fix NPIV host cleanup in target mode
   4274e4a3bee9 scsi: qla2xxx: Fix login state machine stuck at GPDB
   585f4ebd9e66 scsi: qla2xxx: Serialize GPNID for multiple RSCN
   a6d50e89f119 scsi: qla2xxx: Retry switch command on time out
   8e6cbe51afee scsi: qla2xxx: Fix re-login for Nport Handle in use
   fae72a271001 scsi: qla2xxx: Skip IRQ affinity for Target QPairs
   2cd1f76b293e scsi: qla2xxx: Move session delete to driver work queue
   e0be82d7801a scsi: qla2xxx: Fix gpnid error processing
   f58abb5bbd23 scsi: qla2xxx: Fix system crash for Notify ack timeout handling
   7b6f41b7377a tpm: only attempt to disable the LPC CLKRUN if is already enabled
   30c3b70e8d83 tpm: remove unused variables
   1ef7d99cc897 tpm: delete the TPM_TIS_CLK_ENABLE flag
   7cea3381216a tpm: Keep CLKRUN enabled throughout the duration of transmit_cmd()
   f1bb2393fcd0 tpm_tis: Move ilb_base_addr to tpm_tis_data
   9131a1b3d9c8 netfilter: use skb_to_full_sk in ip6_route_me_harder
   39f154faecc2 netfilter: ipv6: fix use-after-free Write in nf_nat_ipv6_manip_pkt
   2d7e07003950 netfilter: bridge: ebt_among: add missing match size checks
   eaa06bfba8ea netfilter: ebtables: CONFIG_COMPAT: don't trust userland offsets
   c89e04e5c06e netfilter: IDLETIMER: be syzkaller friendly
   53f94e6110aa netfilter: nat: cope with negative port range
   ab737b02b2fd netfilter: x_tables: fix missing timer initialization in xt_LED
   2a7ebc07a153 netfilter: xt_hashlimit: fix lock imbalance
   4514a597aa43 netfilter: ipt_CLUSTERIP: fix a race condition of proc file creation
   638c2e4eff89 netfilter: add back stackpointer size checks
   310f286ded5f ASoC: Intel: kbl: fix jack name
   314b54aae2ad ASoC: Intel: Skylake: Fix jack name format substitution
   c116baf79f0e ARM: omap2: hide omap3_save_secure_ram on non-OMAP3 builds
   77fbdd1e2a0c watchdog: hpwdt: Remove legacy NMI sourcing.
   41da51dbc372 watchdog: hpwdt: fix unused variable warning
   d40d7b332592 watchdog: hpwdt: Check source of NMI
   9a07f4a6befc watchdog: hpwdt: SMBIOS check
   31c4bc6e01e5 kbuild: move "_all" target out of $(KBUILD_SRC) conditional
   96427a5164f3 Linux 4.14.26
   dc6fb79de47d KVM: x86: fix backward migration with async_PF
   a91064ff43a2 bpf, ppc64: fix out of bounds access in tail call
   3e272a8cd57a bpf: allow xadd only on aligned memory
   e1760b3563fb bpf: add schedule points in percpu arrays management
   03549a3476e1 bpf, arm64: fix out of bounds access in tail call
   7e657aa3b4f7 bpf, x64: implement retpoline for tail call
   853223c2caf4 bpf: fix rcu lockdep warning for lpm_trie map_free callback
   62a2caa5027f bpf: fix memory leak in lpm_trie map_free callback function
   d9fd73c60bc9 bpf: fix mlock precharge on arraymaps
   8773f9bfa9e8 Linux 4.14.25
   df11c2268c39 nvme-rdma: don't suppress send completions
   9474d8fa7ac4 md: only allow remove_and_add_spares when no sync_thread running.
   4df591f704a2 ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux
   2b8446579c1b ARM: dts: LogicPD SOM-LV: Fix I2C1 pinmux
   b2190cc39184 ACPI / bus: Parse tables as term_list for Dell XPS 9570 and Precision M5530
   b95f8ca8d719 KVM/x86: remove WARN_ON() for when vm_munmap() fails
   615462370ab6 KVM/x86: Fix wrong macro references of X86_CR0_PG_BIT and X86_CR4_PAE_BIT in kvm_valid_sregs()
   db98acd6f859 PCI/ASPM: Deal with missing root ports in link state handling
   b4830f3ad9c5 KVM: x86: fix vcpu initialization with userspace lapic
   1f17daea7026 KVM/VMX: Optimize vmx_vcpu_run() and svm_vcpu_run() by marking the RDMSR path as unlikely()
   03d62460c731 KVM: x86: move LAPIC initialization after VMCS creation
   0d62a56dc454 KVM/x86: Remove indirect MSR op calls from SPEC_CTRL
   7135aaf3ed63 KVM: mmu: Fix overlap between public and private memslots
   1ebf9ab6c4a0 KVM: X86: Fix SMRAM accessing even if VM is shutdown
   f925158cb0d2 KVM: x86: extend usage of RET_MMIO_PF_* constants
   e0c7b2b16666 ARM: kvm: fix building with gcc-8
   fc6be8bc1216 ARM: mvebu: Fix broken PL310_ERRATA_753970 selects
   4c02f0164b0e ARM: dts: rockchip: Remove 1.8 GHz operation point from phycore som
   8dc356e5b936 ARM: orion: fix orion_ge00_switch_board_info initialization
   b20d1086410a x86/mm: Fix {pmd,pud}_{set,clear}_flags()
   656772cb7233 nospec: Allow index argument to have const-qualified type
   81a158d21498 KVM: s390: consider epoch index on TOD clock syncs
   dbab3751bcc7 KVM: s390: consider epoch index on hotplugged CPUs
   58a5d1ac69a7 KVM: s390: provide only a single function for setting the tod (fix SCK)
   c09ea9a8da5b KVM: s390: take care of clock-comparator sign control
   bd3ead457638 EDAC, sb_edac: Fix out of bound writes during DIMM configuration on KNL
   1ba2b9e01dbf media: m88ds3103: don't call a non-initalized function
   ccddee811eba blk-mq: don't call io sched's .requeue_request when requeueing rq to ->dispatch
   c5f32462f0df s390/qeth: fix IPA command submission race
   eae17c406390 s390/qeth: fix IP address lookup for L3 devices
   87c4789f452d Revert "s390/qeth: fix using of ref counter for rxip addresses"
   56f662db7f56 s390/qeth: fix double-free on IP add/remove race
   027637104ddf s390/qeth: fix IP removal on offline cards
   fa4919e37f8e s390/qeth: fix overestimated count of buffer elements
   128c7e692333 s390/qeth: fix SETIP command handling
   fcdfb9d80dc9 s390/qeth: fix underestimated count of buffer elements
   99a781947c2a virtio-net: disable NAPI only when enabled during XDP set
   5134b919cc2c tuntap: disable preemption during XDP processing
   1903344b6320 tuntap: correctly add the missing XDP flush
   abb4a8b870b5 tcp: purge write queue upon RST
   eec434c573e7 netlink: put module reference if dump start fails
   abd7663b5d1c mlxsw: spectrum_router: Do not unconditionally clear route offload indication
   ebadf888288c cls_u32: fix use after free in u32_destroy_key()
   fb8a84cb9f6a amd-xgbe: Restore PCI interrupt enablement setting on resume
   e7b316ac78e2 net/mlx5e: Verify inline header size do not exceed SKB linear size
   cbd173b8105c bridge: Fix VLAN reference count problem
   00ec3b0ca32f sctp: fix dst refcnt leak in sctp_v6_get_dst()
   97ba6e5ff684 net: ipv4: Set addr_type in hash_keys for forwarded case
   73cb791fe41c mlxsw: spectrum_router: Fix error path in mlxsw_sp_vr_create
   0ab87ec99e99 tcp: revert F-RTO extension to detect more spurious timeouts
   cc8dadb8c0f4 tcp: revert F-RTO middle-box workaround
   36728a6b39c1 sctp: do not pr_err for the duplicated node in transport rhlist
   54d6bc97b4c9 net/sched: cls_u32: fix cls_u32 on filter replace
   a01550d778a4 net_sched: gen_estimator: fix broken estimators based on percpu stats
   5b5be45ed1f2 net/mlx5e: Fix loopback self test when GRO is off
   ff01f118d168 doc: Change the min default value of tcp_wmem/tcp_rmem.
   d6a76199e851 tcp_bbr: better deal with suboptimal GSO
   f0a04a0e1ab4 rxrpc: Fix send in rxrpc_send_data_packet()
   17634603d494 tcp: Honor the eor bit in tcp_mtu_probe
   dcb5da20ee3f net: phy: fix phy_start to consider PHY_IGNORE_INTERRUPT
   f26693d38760 net/mlx5e: Specify numa node when allocating drop rq
   2229dd5dd6c6 mlxsw: spectrum_switchdev: Check success of FDB add operation
   9f02a069bfdd sctp: fix dst refcnt leak in sctp_v4_get_dst
   bf014cc18a3c net/mlx5e: Fix TCP checksum in LRO buffers
   fecb84a83f84 udplite: fix partial checksum initialization
   1fc74a57a8ae sctp: verify size of a new chunk in _sctp_make_chunk()
   5775f7876467 ppp: prevent unregistered channels from connecting to PPP units
   795f3deff199 net: sched: report if filter is too large to dump
   60b28d5ef3e3 netlink: ensure to loop over all netns in genlmsg_multicast_allns()
   3bcf69f8e786 net: ipv4: don't allow setting net.ipv4.route.min_pmtu below 68
   f80c28a585b5 net: fix race on decreasing number of TX queues
   da260080c2e3 net: ethernet: ti: cpsw: fix net watchdog timeout
   94870df33c9b net: amd-xgbe: fix comparison to bitshift when dealing with a mask
   c3d7d3a099f6 ipv6 sit: work around bogus gcc-8 -Wrestrict warning
   2cdc12a498fc hdlc_ppp: carrier detect ok, don't turn off negotiation
   4a5048e7fdeb fib_semantics: Don't match route with mismatching tclassid
   4c13e689e5f0 bridge: check brport attr show in brport_show
   71978491bb66 x86/cpu_entry_area: Sync cpu_entry_area to initial_page_table
   f70befc397a6 x86/platform/intel-mid: Handle Intel Edison reboot correctly
   e521a723fd3f x86/xen: Zero MSR_IA32_SPEC_CTRL before suspend
   93e1f7fc77e6 direct-io: Fix sleep in atomic due to sync AIO
   0ba6c33b3287 dax: fix vma_is_fsdax() helper
   3379a37a7409 cpufreq: s3c24xx: Fix broken s3c_cpufreq_init()
   d5168ce35434 vfio: disable filesystem-dax page pinning
   7f43f610c4bb block: kyber: fix domain token leak during requeue
   17644a0bbb19 block: fix the count of PGPGOUT for WRITE_SAME
   eae6179f5539 btrfs: use proper endianness accessors for super_copy
   dabf89052e8e parisc: Fix ordering of cache and TLB flushes
   47e7fc96cddc parisc: Reduce irq overhead when run in qemu
   90c3f0d36000 parisc: Use cr16 interval timers unconditionally on qemu
   6b218ed6bd07 timers: Forward timer base before migrating timers
   ec274a65154a mmc: dw_mmc: Fix out-of-bounds access for slot's caps
   e03d46a156d9 mmc: dw_mmc: Factor out dw_mci_init_slot_caps
   4d5123a0b37c mmc: dw_mmc: Avoid accessing registers in runtime suspended state
   cb65fc21f387 mmc: dw_mmc-k3: Fix out-of-bounds access through DT alias
   33b42aa617d1 mmc: sdhci-pci: Fix S0i3 for Intel BYT-based controllers
   e2c3f7270218 ALSA: hda - Fix pincfg at resume on Lenovo T470 dock
   34516912bfd7 ALSA: hda: Add a power_save blacklist
   e5e9a08e151f ALSA: x86: Fix missing spinlock and mutex initializations
   a2102a155f3d ALSA: control: Fix memory corruption risk in snd_ctl_elem_read
   ebc24a828a2f ALSA: usb-audio: Add a quirck for B&W PX headphones
   e5966192439e tpm_tis_spi: Use DMA-safe memory for SPI transfers
   fbb6fba47c05 tpm: constify transmit data pointers
   f8e331c508c2 tpm_tis: fix potential buffer overruns caused by bit glitches on the bus
   37dfbccd4b22 tpm_i2c_nuvoton: fix potential buffer overruns caused by bit glitches on the bus
   e9951ab03f51 tpm_i2c_infineon: fix potential buffer overruns caused by bit glitches on the bus
   648b62fda1a3 tpm: fix potential buffer overruns caused by bit glitches on the bus
   703fca31ac31 tpm: st33zp24: fix potential buffer overruns caused by bit glitches on the bus
   972b19e615a2 ixgbe: fix crash in build_skb Rx code path
   971039cc4da1 Bluetooth: btusb: Use DMI matching for QCA reset_resume quirking

(From OE-Core rev: 22ab6e95a31ca10e14d1dfab8119e87e125505d4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:18 +01:00
Bruce Ashfield
4b4f293abc linux-yocto/4.12: intel-socfpga, intel-pmc-core and ish support for CoffeeLake board
Integrating a series of mainline backports to allow better 4.12 support
for the coffeelake board:

   97e710ef0545 driver: clk: socfpga: remove unused variable
   2852089a6b7f x86/cpu: Add Cannonlake to Intel family
   1af96090b1f4 ACPI / LPIT: Export lpit_read_residency_count_address()
   1e85b644ad5e ACPI / LPIT: Add Low Power Idle Table (LPIT) support
   3b931f776349 platform/x86: intel_pmc_core: Special case for Coffeelake
   5666379331a9 platform/x86: intel_pmc_core: Add CannonLake PCH support
   de9e9e9518ee platform/x86: intel_pmc_core: Read base address from LPIT
   f422abd33358 platform/x86: intel_pmc_core: Remove unused header file
   ec1ca0048923 platform/x86: intel_pmc_core: Convert to ICPU macro
   f894e2c0cfff platform/x86: intel_pmc_core: Substitute PCI with CPUID enumeration
   ce7b50cc047d platform/x86: intel_pmc_core: Refactor debugfs entries
   c9ca0426c9c8 platform/x86: intel_pmc_core: Fix file permission warnings
   17294194d03c platform/x86: intel_pmc_core: Change driver to a module
   7f142e82c8f0 platform/x86: intel_pmc_core: Fix kernel doc for pmc_dev
   d095df17ddf4 platform/x86: intel_pmc_core: Remove unused variable
   cdfd431ccc3d platform/x86: intel_pmc_core: Remove unused EXPORTED API
   c54edf864c58 platform/x86: intel_pmc_core: Make the driver PCH family agnostic
   5302f0bfbaed HID: intel-ish-hid: Enable Cannon Lake and Coffee Lake laptop/desktop
   7e5cc39c3f61 HID: intel-ish-hid: Enable Gemini Lake ish driver
   b00e0e88689f HID: intel-ish-hid: Enable Cannon Lake ish driver

(From OE-Core rev: 0b53601c0e8a87e336dadd6854c19cdb2e1f6b55)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:18 +01:00
Bruce Ashfield
af167d4948 linux-yocto/meta: improve wifi driver granularity
Integrating the following commit for the 4.12+ kernels:

   Author: Nathan Rossi <nathan@nathanrossi.com>
   Date:   Wed Mar 21 00:10:02 2018 +1000

    features/wifi: Add WiFi driver fragments for various vendors/interfaces

    This change adds WiFi driver configuration fragments. The fragments are
    split into vendor and interface files to allow for easy selection of
    drivers for specific interface types (USB, PCI, SDIO) which is useful
    for BSPs with specific interfaces. The specific vendor/interface config
    fragments can be included by specific BSPs in its .scc files.

    However .scc files (wifi-*.scc) are provided to allow enabling interface
    specific or all interfaces drivers via KERNEL_FEATURES or inclusion via
    other .scc files. And wifi-common.scc is provided to enable the base
    config options required for all WiFi drivers, which is done to ensure
    correct configuration for default no config setups (e.g.
    linux-yocto-tiny).

    This patch only enables a limited set of drivers, which is based on what
    the common-pc-wifi.cfg fragment sets as well as some additional drivers,
    that primarily appear in USB WiFi devices.

    Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

This gives us a much better granularity of drivers and a good baseline for
future improvements.

The 4.12 fragments are also slightly re-organized on top of this commit
to avoid patch failures when including the new frags.

(From OE-Core rev: c24d6863768a64b2c1632d5202790689a1164694)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:17 +01:00
Bruce Ashfield
2fca0f53ab mpc8315e-rdb: fix broken ethernet
Integrating the following commits to fix the ethernet on the mpc8315e-rdb:

  12f3957167b0 net: phy: realtek: Use the dummy stubs for MMD register access for rtl8211b
  c986bc511c18 net: phy: Add general dummy stubs for MMD register access

(From OE-Core rev: 6dd68cddc3536c11b9f868fde34a745256648c25)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:17 +01:00
Bruce Ashfield
7a03bc53fd linux-yocto/4.12: add ssl and utils native dependencies
Via the -stable updates, and other configuration changes the 4.12 kernel has the
same dependency on openssl headers as 4.14+.

So we add the same DEPENDS line that we already have in newer kernels to avoid the
following error:

   |   HOSTCC  scripts/sign-file
   | build/tmp/work-shared/qemux86-64/kernel-source/scripts/sign-file.c:25:30: fatal error: openssl/opensslv.h: No such file or directory
   | compilation terminated.
   | scripts/Makefile.host:107: recipe for target 'scripts/sign-file' failed
   | make[3]: *** [scripts/sign-file] Error 1
   | make[3]: *** Waiting for unfinished jobs....

(From OE-Core rev: 80f6840baecb8b161f6443f3dd1af4e70b5e5221)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:17 +01:00
Bruce Ashfield
14a42e9658 linux-yocto/4.12: update to v4.12.21
Integrating Paul Gortmaker's stable update to 4.12, this includes CVE
fixes for meltdown and spectre:

   3bb926457832 Linux 4.12.21
   76781f72ce64 lguest: disable it vs. removing it.
   6ab3176bb365 x86/speculation: Fix typo IBRS_ATT, which should be IBRS_ALL
   efa97ecdf026 x86/pti: Mark constant arrays as __initconst
   a4d9aaf35e28 x86/spectre: Simplify spectre_v2 command line parsing
   1dbde4da259a x86/retpoline: Avoid retpolines for built-in __init functions
   7f3a7b69b0f7 x86/paravirt: Remove 'noreplace-paravirt' cmdline option
   ebeddfbee13f x86/speculation: Use Indirect Branch Prediction Barrier in context switch
   7e0a7c84eb35 x86/cpuid: Fix up "virtual" IBRS/IBPB/STIBP feature bits on Intel
   bf0c4c3f38f6 x86/spectre: Fix spelling mistake: "vunerable"-> "vulnerable"
   f4d4ccfdf361 x86/spectre: Report get_user mitigation for spectre_v1
   12f20abacd8b nl80211: Sanitize array index in parse_txq_params
   7686c72bfd9c vfs, fdtable: Prevent bounds-check bypass via speculative execution
   a3d62741fc9b x86/syscall: Sanitize syscall table de-references under speculation
   0b99c598274c x86/get_user: Use pointer masking to limit speculation
   bf532304a22f x86/uaccess: Use __uaccess_begin_nospec() and uaccess_try_nospec
   04584b001618 x86/usercopy: Replace open coded stac/clac with __uaccess_{begin, end}
   5a64c3ccd99d x86: Introduce __uaccess_begin_nospec() and uaccess_try_nospec
   9bbc24f34f03 x86: Introduce barrier_nospec
   b55fd06d6fe0 x86: Implement array_index_mask_nospec
   79a2efa3e0f5 array_index_nospec: Sanitize speculative array de-references
   e9046d054bb9 Documentation: Document array_index_nospec
   0078d6b103f9 x86/asm: Move 'status' from thread_struct to thread_info
   46afe23798a3 x86/entry/64: Push extra regs right away
   4213246ab7a8 x86/entry/64: Remove the SYSCALL64 fast path
   026a59b9de37 x86/spectre: Check CONFIG_RETPOLINE in command line parser
   a345c5f7a1b6 x86/mm: Fix overlap of i386 CPU_ENTRY_AREA with FIX_BTMAP
   999e3eca6861 x86/speculation: Simplify indirect_branch_prediction_barrier()
   c7acab78a24c x86/retpoline: Simplify vmexit_fill_RSB()
   be5c3f1101f7 x86/cpufeatures: Clean up Spectre v2 related CPUID flags
   7addf309d0e0 x86/cpu/bugs: Make retpoline module warning conditional
   b7c17f71e9cc x86/bugs: Drop one "mitigation" from dmesg
   af16629cc1da x86/nospec: Fix header guards names
   ebfadec0c9dc x86/alternative: Print unadorned pointers
   2e4bcf1ccaa9 x86/speculation: Add basic IBPB (Indirect Branch Prediction Barrier) support
   332de1ac4373 x86/cpufeature: Blacklist SPEC_CTRL/PRED_CMD on early Spectre v2 microcodes
   79a2a1ba23e7 x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdown
   d29069565618 x86/msr: Add definitions for new speculation control MSRs
   114a7b0f431c x86/cpufeatures: Add AMD feature bits for Speculation Control
   2d5755e9daac x86/cpufeatures: Add Intel feature bits for Speculation Control
   3f5d9b428f05 x86/cpufeatures: Add CPUID_7_EDX CPUID leaf
   2f1b883356ca module/retpoline: Warn about missing retpoline in module
   8c935f65cf6a KVM: VMX: Make indirect call speculation safe
   79c0d980e610 KVM: x86: Make indirect calls in emulator speculation safe
   956ca31407ab x86/retpoline: Remove the esp/rsp thunk
   de8cd92003c6 x86/mm/64: Fix vmapped stack syncing on very-large-memory 4-level systems
   f2846896cd75 x86/microcode: Fix again accessing initrd after having been freed
   badb7498ab69 x86/retpoline: Optimize inline assembler for vmexit_fill_RSB
   750d9c97cede x86/pti: Document fix wrong index
   8d759c94307d kprobes/x86: Disable optimizing on the function jumps to indirect thunk
   59a3c4dc0ab9 kprobes/x86: Blacklist indirect thunk functions for kprobes
   2eef7eab7aea retpoline: Introduce start/end markers of indirect thunk
   a37c55916910 x86/mce: Make machine check speculation protected
   3aab76cd9d88 x86/tsc: Fix erroneous TSC rate on Skylake Xeon
   b129f5955cd5 x86/tsc: Future-proof native_calibrate_tsc()
   7639b8268579 x86/mm/pkeys: Fix fill_sig_info_pkey
   b19a92bb0f18 x86/cpufeature: Move processor tracing out of scattered features
   eb5a1177e60b x86/retpoline: Add LFENCE to the retpoline/RSB filling RSB macros
   ed114eb7be88 x86/retpoline: Fill RSB on context switch for affected CPUs
   70d519c9f97c x86/kasan: Panic if there is not enough memory to boot
   01e21b5f7c9c x86/retpoline: Remove compile time warning
   8ca1b5f8a9f4 x86,perf: Disable intel_bts when PTI
   6f037d7eaeaa security/Kconfig: Correct the Documentation reference for PTI
   b8c74586d251 x86/pti: Fix !PCID and sanitize defines
   8e24a4722756 selftests/x86: Add test_vsyscall
   c3d9420f23cf x86/retpoline: Fill return stack buffer on vmexit
   dd182d455654 x86/retpoline/irq32: Convert assembler indirect jumps
   d592a8a2c5f5 x86/retpoline/checksum32: Convert assembler indirect jumps
   0f3df59f16d3 x86/retpoline/xen: Convert Xen hypercall indirect jumps
   c0459b479a22 x86/retpoline/ftrace: Convert ftrace assembler indirect jumps
   11edfaeadbd1 x86/retpoline/entry: Convert entry assembler indirect jumps
   bf4c91a3b74f x86/retpoline/crypto: Convert crypto assembler indirect jumps
   2b243b8623a5 x86/spectre: Add boot time option to select Spectre v2 mitigation
   8ab0d792e81c x86/retpoline: Add initial retpoline support
   f2f4c0853dba x86/pti: Make unpoison of pgd for trusted boot work for real
   7495fd5400e6 x86/alternatives: Fix optimize_nops() checking
   8b932f131e26 sysfs/cpu: Fix typos in vulnerability documentation
   299b4adfed2e x86/cpu/AMD: Use LFENCE_RDTSC in preference to MFENCE_RDTSC
   32996f3a0a81 x86/cpu/AMD: Make LFENCE a serializing instruction
   10ffc3c2b2f7 x86/mm/pti: Remove dead logic in pti_user_pagetable_walk*()
   9e1201731d4b x86/tboot: Unbreak tboot with PTI enabled
   728d879e5c6b x86/cpu: Implement CPU vulnerabilites sysfs functions
   aeba317a23de sysfs/cpu: Add vulnerability folder
   83e59b5d52bf x86/cpufeatures: Add X86_BUG_SPECTRE_V[12]
   f7845c2cbd6e x86/Documentation: Add PTI description
   16331e2c3b06 x86/pti: Unbreak EFI old_memmap
   5723b0260415 kdump: Write the correct address of mem_section into vmcoreinfo
   50d02826dfc0 mm/sparse.c: wrong allocation for mem_section
   d3cbfb481af2 mm/sparsemem: Fix ARM64 boot crash when CONFIG_SPARSEMEM_EXTREME=y

(From OE-Core rev: 607b443f2abb915d4d12d6483b26030734983288)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-30 00:31:17 +01:00
Paul Eggleton
ba54521c67 lib/bb/shell.py: drop
This was removed in the bitbake repository back in 2010 (bitbake
revision 24857e2ceb405916b0b0b3e75c6c2375a909b9ba) - it's not clear
to me what happened, but for some reason the file remained in the poky
repository. However it does not appear that it has been used since then
and the reasons for removing even more valid now than they were then -
the code has moved on even further, we have memory resident bitbake
server, and if we were to re-implement this we would do it in a
different way. Drop the file and bring us back in sync with the bitbake
repo.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:59:37 +01:00
David Reyna
844314844e bitbake: Toaster: fix shutdown and extra threads
Fix typo in shutdown code to kill threads when "kill -0" is not enough.
Use the '--noreload' flag for 'runserver' so that there are no extra
and unaccounted threads.

[YOCTO #12555]

(Bitbake rev: 256990943075e89cb9aee2bc6488344b6783e07b)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:52:34 +01:00
David Reyna
2f110a55dc bitbake: toaster: do not fail on optional 'custom.xml' file
Explicitly capture and ignore errors when trying to load the optional
'custom.xml' fixture file.

[YOCTO #12554]

(Bitbake rev: 132458939d3987ebc58685397714af3d6d5cd8fd)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:52:34 +01:00
Ross Burton
f500504b81 bitbake: fetch2/git: log exception if ls-remote fails
(Bitbake rev: 8212446de11c0e370c55f88cde86334b760cd939)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:51:52 +01:00
Ross Burton
d04792b2ed bitbake: tests/fetch: state which upstream failed
(Bitbake rev: 21098de09ee2f7a9f0b3f895bf2ffbdeb8c9ded5)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:51:52 +01:00
Sascha Silbe
e694d3773a gitignore: ignore bitbake documentation build products
Missed the bitbake manual the last time around because it's in a
different directory.

Signed-off-by: Sascha Silbe <x-yo17@se-silbe.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:50:25 +01:00
akuster@mvista.com
bc1095b245 tzdata: update to 2018d
(From OE-Core rev: af7ca3e3596784c5837e9bd339cc7114883ce67a)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:09:52 +01:00
akuster@mvista.com
299a0e58d9 tzcode-native: update to 2018d
(From OE-Core rev: 257a61425075aaace928ce1e2303cd0de2127203)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:09:52 +01:00
Armin Kuster
7755e9ea78 ltp: add rdepend for procps
ps: invalid option -- 'e'
BusyBox v1.27.2 (2018-03-17 09:07:25 PDT) multi-call binary.

Usage: ps

(From OE-Core rev: 4bf2d47f7773ffec278192eb337c14953f85e858)

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>
2018-03-28 12:09:52 +01:00
Mikko Rapeli
f6cbf2eadd mirrors.bbclass: change Debian anonscm to salsa
Debian anonscm service in Alioth is shutdown and thus
fetching sources fails.

https://wiki.debian.org/Alioth

"Alioth is broken, and there is nobody around to fix it. Don't ask the remaining people who give it life support to implement fixes and changes. It is being replaced by a cocktail of ?GitLab (see Salsa), read-only repos and keep-alive mechanisms. See below for more information."

https://wiki.debian.org/Salsa

"What is Salsa?

Salsa is the name of a collaborative development server for Debian based on the gitlab software. Salsa is supposed to provide the necessary tools for package maintainers, packaging teams and other Debian related individuals and groups for collaborative development.

What is the status of Salsa?

After various discussions about the future of Alioth, the Alioth Sprint in August 2017 gave birth to the initial setup of the the upcoming Salsa service. The productive weekend resulted in a working prototype and was launched as a beta in December 2017. It left its beta status in January 2018."

(From OE-Core rev: 08ff7b42d8b7d06ef61255185c95e900ada8769b)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:09:52 +01:00
Mikko Rapeli
1fe6ca8206 ca-certificates: change SRC_URI from Debian anonscm to salsa
Debian anonscm service in Alioth is shutdown and thus
fetching ca-certificates sources fails.

https://wiki.debian.org/Alioth

"Alioth is broken, and there is nobody around to fix it. Don't ask the remaining people who give it life support to implement fixes and changes. It is being replaced by a cocktail of ?GitLab (see Salsa), read-only repos and keep-alive mechanisms. See below for more information."

(From OE-Core rev: fc20ff2003cee7ee3b78ba3bc236a60a8caabc35)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:09:52 +01:00
Mikko Rapeli
d3268538d2 ncurses: change SRC_URI from Debian anonscm to salsa
Debian anonscm service in Alioth is shutdown and thus
fetching ncurses sources fails.

https://wiki.debian.org/Alioth

"Alioth is broken, and there is nobody around to fix it. Don't ask the remaining people who give it life support to implement fixes and changes. It is being replaced by a cocktail of ?GitLab (see Salsa), read-only repos and keep-alive mechanisms. See below for more information."

(From OE-Core rev: 8fab5794218445ddb3e8f73a74fa3f130e7c42f6)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:09:52 +01:00
Victor Kamensky
6ce015360c qemu: fix qemuarm64 intermediate kernel hang in raid6_select_algo func
Backport fix from qemu mainline for intermediate qemuarm64 hang
issue. Root caused in OE environment, issue with aarch64 qemu
logic of executing instructions that reenabe interrupts. See patch
commit message for more details.

Upstream-Status: Backport
(From OE-Core rev: aa33945fc7cf7bfa859c4091bcfa2695c422849b)

Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:09:52 +01:00
Andre McCurdy
e092acd524 package.bbclass: use single quotes for path passed to file in isELF()
Apparently there are recipes in the wild which generate files with
filenames containing '$' characters - which cause errors during
packaging.

Instead of adding another special case to escape '$' characters when
constructing the command passed to oe.utils.getstatusoutput(), switch
to using single quotes to quote the path - and therefore make isELF()
consistent with the way filenames and paths are quoted by every other
caller of oe.utils.getstatusoutput() in oe-core.

(From OE-Core rev: 7877761534b0c2492da6289e9f2269d41b6ed464)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:09:52 +01:00
Andre McCurdy
d1b305e40c sanity.bbclass: quote path passed to stat in get_filesystem_id()
Although get_filesystem_id() is a private API and never gets passed
a path containing spaces or other special characters, etc, quote the
path anyway for consistency.

(From OE-Core rev: 1a9878cdb1cdb807c47e852b780c8ef9b93a214e)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:09:52 +01:00
Khem Raj
5c8972f320 glibc: Replace strncpy with memccpy to fix -Wstringop-truncation.
(From OE-Core rev: 1c8887ec629516333cbe3736bc0f9d24fb08dffe)

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>
2018-03-28 12:09:51 +01:00
Khem Raj
af243c0078 glibc-2.27: Update to bring in 2.27 bug fixes since release
Here is full list of fixes

https://sourceware.org/git/?p=glibc.git;a=shortlog;h=df3ff4e49d4ee3cbbdaeb0b1cb5dc2344c08be98;hp=23158b08a0908f381459f273a984c6fd328363cb

(From OE-Core rev: 48cbc4d7f671af3787835cfd491bbe99169b5924)

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>
2018-03-28 12:09:51 +01:00
Oleksiy Obitotskyy
e9f8571df4 tcp-wrappers: Fix build with clang
Fix non-void function 'fix_options' should return a value.
Add function prototype to tcpd.c and miscd.c.

(From OE-Core rev: 01590c04e875968a7137a67d1683c503a6bad396)

Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:09:51 +01:00
Victor Kamensky
42716486fa systemtap: bring in PR22551 fix that addresses build against 4.15 kernel issue
With 4.15 kernel systemtap needs update to address systemtap module
compilation issues. It is fixed in later version of systemtap by
PR22551.

Upstream-Status: Backport
(From OE-Core rev: 7425d03729507ac5aff3c75ba20e749beaf3a3d5)

Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:09:51 +01:00
Victor Kamensky
402c551bec systemtap: supports mips starting with version 3.1
(From OE-Core rev: 3e098ef3424e1126aa4b0ecc29e1941efba687b7)

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>
2018-03-28 12:09:51 +01:00
Khem Raj
f67a0bae8b elfutils: Fix gcc compile time alignment errors
Allow devtool to organize the SRC_URI

(From OE-Core rev: 49aae1d75ff1c6a9643c30a8cc5776a2ffa83dd3)

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>
2018-03-28 12:09:51 +01:00
Anuj Mittal
442ec58c90 initrdscripts: format rootfs partition as ext4
Use ext4 filesystem instead of ext3 when using the live image to install
on target. wic defaults to ext4 as well.

(From OE-Core rev: db6c3d681807cfef098ead1db098f5268e1eb055)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:09:51 +01:00
Tim Orling
fbf3b0cab7 libxml-namespacesupport: use stable v1.12 release; inherit ptest-perl
* Fix RDEPENDS
* Upstream v1.12_9 is a development version, not a stable release
* Add UPSTREAM_CHECK_REGEX skip development releases
* Drop anonymous python function to "fix" version, which breaks
  auto-upgrade-helper (AUH)
* Use LICENSE file for checksum rather than ephemeral META.yml
* License remains the same

Fixes: [YOCTO #12581]

License-Update: use LICENSE file for checksum

(From OE-Core rev: 613fa79adff798e29ec7f72bff6f060a1832bc89)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:09:51 +01:00
Andreas Kaufmann
044ad48c53 pseudo: explicitly enable xattr support
Pseudo is using a custom configure script that detects if it shall build with
extended file attribute support or not. The check is done by simply calling
'getfattr' provided by attr-native which is not part of the dependency list.
Due to the recent changes (recipe specific sysroot & cleanup of $PATH) this
call fails now when the recipe is being build for the first time (at least
when being build for nativesdk case). Explicitly setting up a dependency to
attr-native just to satisfy configure would be wrong also since the real
dependency is to attr/nativesdk-attr which are already part of the dependency
list (see DEPENDS). Therefore bypass the test in the configure by explicitly
enabling xattr using a configure option available in any case.

(From OE-Core rev: a7381eb16ba2183ed990a009bb8e82b4702f3d98)

Signed-off-by: Andreas Kaufmann <andreas.kaufmann.79@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:09:51 +01:00
Trevor Woerner
39e0d1f0e4 virtual/libgbm: create
The 'glamor' PACKAGECONFIG in xserver-xorg creates a dependency on libgbm
which can be satisfied in some cases by mesa, in others by blobs such as mali.

(From OE-Core rev: 5f8050722169a931b8e9078b8757216ba7a84506)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:09:51 +01:00
Trevor Woerner
2b2a9149a6 mesa.inc: make PROVIDES conditional on PACKAGECONFIG
Mesa only PROVIDES these features if they are enabled via PACKAGECONFIG.
Therefore make the PROVIDES conditional depending on whether or not these
features have been enabled.

(From OE-Core rev: 8b1e57eb8c959c0f0a5d9a7e0c2e0811c515ea08)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:09:51 +01:00
Maxin B. John
f2465cd3fb mesa: update Upstream-Status of a patch
replace_glibc_check_with_linux.patch was accepted upstream with
modifications.

(From OE-Core rev: 94cf27ebc5d3e3fafa85f3bb1ca54f606bb411ad)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:09:51 +01:00
Otavio Salvador
094c167924 mesa: Upgrade 17.3.6 -> 17.3.7
This version has been published at March 21, 2018, and it is a bugfix
only release. It includes several important fixes that were made as
part of 18.0.0 development cycle.

Full list of bug fixes can be see online at:

 https://www.mesa3d.org/relnotes/17.3.7.html

(From OE-Core rev: 3601c079e15f3570b9b90cd8775e4e90175d1bb5)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:09:51 +01:00
Scott Rifenbark
80c7ca2c28 kernel-dev: Clean up of "bsp_name" placeholder.
This string is now being presented as "bsp_root_name" in the YP
manual set.  A BSP name is essentially "meta-bsp_root_name".
It was being presented in the manual set as "meta-bsp_name",
which is not technically correct.

(From yocto-docs rev: 9ad25836b2b3ca79aa3430be014871f50205cf9e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:13 +01:00
Scott Rifenbark
ce8c96481e bsp-guide: Updated BSP terminolgy and BBLAYERS ordering
Fixed the way we refer to a BSP name.  It is really
"meta-<bsp_root_name>" rather than "meta-<bsp_name>".  The
name is the whole string and not just the root name.

Also added a tip on ordering the layers in the BBLAYERS
variable in the bblayers.conf file.  Order is important.

(From yocto-docs rev: 9c56238295f5631c496377616ea98b860253e6f7)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:13 +01:00
Scott Rifenbark
dcde1a9e33 ref-manual: Added term "container layer"
This is a layer that contains other layers

(From yocto-docs rev: 0cd1881c18e8a63d5f2f078b03fe4e89fd9c75b5)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:13 +01:00
Scott Rifenbark
b3732ab1aa dev-manual: Cleaned up layer naming terminology
Reality dictates that the YP does not treat layer naming consistently.
Layers are talked about as the "meta-whatever" layer and never the
"whatever" layer.  However, the tooling sometimes appends or uses
just the "whatever" part of the layer name.  A good example is the
meta-yocto-bsp configuration file.  All the variables in there use
just the root name of a layer's name.  In the manuals, I had been
distinguishing the layer name as just the "whatever" part sans
"meta-".  I talked about the convention of using "meta-" in front
of layer names, etc.  Well, this is confusing in light of how everyone
says a layer's name is "meta-whatever".  So, I fixed all this up.

(From yocto-docs rev: 79e52f6ccf4246fc69a460ce9d3a4a18720a9442)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:13 +01:00
Scott Rifenbark
fcbe72179c documentation: Updated the section on creating a general script
Split this section into two sections: one for creating the layer
using bitbake-layers create-layer and one for adding the layer
to bblayers.conf using bitbake-layers add-layer.

Needed to update some references in the yocto-project-qs and
kernel-dev manuals.

(From yocto-docs rev: 741a29b0cbeaaeaa0ac9155036ace2623938aee3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:13 +01:00
Scott Rifenbark
955e49c134 dev-manual: Created tip for using server outside of build area
Fixes [YOCTO #12419]

In the section on runtime package management, I created a "Tip"
box to tell the user about using a location for the package
index information outside of the "deploy" area of the hosts
build directory.

(From yocto-docs rev: 2aee814d3d3ed4052fca332693d5416907ae640e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:12 +01:00
Scott Rifenbark
4fda1ea353 dev-manual: Updates to the section on creating a layer
Provided some key links to help clarify content.

(From yocto-docs rev: 8d27b9946dad89729d30497bcc4de26b9a5c87d9)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:12 +01:00
Scott Rifenbark
c0c1befbe9 dev-manual: Sanity edit through the layer creation section
(From yocto-docs rev: 91cda82ca148c56c18f059eeaa656d3561aed26d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:12 +01:00
Scott Rifenbark
e5702bce4a dev-manual: Completed rewrite of runtime package management
Fixes [YOCTO #12419]

This section was unclear and needed some work.  I added text to
help clear things up.

(From yocto-docs rev: 54358a39a5710dbd0cbcfe8dafd2f641ec3863ef)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:12 +01:00
Scott Rifenbark
8986a6f589 ref-manual: Updated PACKAGES_FEED_ARCHS variable
Added the fact that this variable is really optional.  If  you
don't use it then you are setting up a package feed URI that
will include all supported arcchitectures for the package.
Using it means you are setting up specific URIs for specific
architectures.

Added a "Tip" note box to show how you can use the variable
to whitelist architectures.

(From yocto-docs rev: 009f3551aa61aaf6459fd24105a2e06511b59da3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:12 +01:00
Scott Rifenbark
a2ed012df7 ref-manual: Updated the IMAGE_INSTALL variable description.
I created a two-bullet "Caution" note to highlight the stuff a
user needs to be aware of that can cause problems.

(From yocto-docs rev: 553bc13e5fd350adb15400afe170e587965929db)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:12 +01:00
Scott Rifenbark
ed80131abf bsp-guide: Review edits to the kernel layer.
Minor corrections.

(From yocto-docs rev: f7fa509b461d4b187f7f91c184b2de3c619de5a3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:12 +01:00
Scott Rifenbark
52e525544d yocto-project-qs: Added "cd poky" step after cloning example.
(From yocto-docs rev: 3a05201aabc4633ffead17a01ed36cd25529595e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:12 +01:00
Scott Rifenbark
4c6c816da3 getting-started: Review updates for minor wordings and links
(From yocto-docs rev: 51dc5dd5362a8e6d6d558a566554bec34764227f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:12 +01:00
Scott Rifenbark
fdd79ab4cb bsp-guide: Removed deprecated tool sections
I took out the sections at the end of the manual that talked
about the yocto-kernel tool.  This tool is no longer maintained
and there is no equivalent tool.  I also fixed the yocto-bsp
tool to be the bitbake-layers tool.  This involved some
consolidation of sections.

I fixed some links in the kernel-dev and toaster-manual.

(From yocto-docs rev: 20cda99b301b6327d816c4a4cfb3511ad25c987c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:12 +01:00
Scott Rifenbark
7f141cf9a0 bsp-guide: Minor edits to the licensing section.
(From yocto-docs rev: a7d13e2e9f9a947e65f969422202f04784724063)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:12 +01:00
Scott Rifenbark
c130396f00 bsp-guide: Updates to Reqs and Recommeds for released BSPs
Updated this section with minor edits.

(From yocto-docs rev: 1bc1dcda5fbab4a66737653164222f4fc5a7289c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:12 +01:00
Scott Rifenbark
c8b2ba7523 bsp-guide: Updated the section on developing a BSP
This section had several out-of-date items.  They are all up
to date now.

(From yocto-docs rev: 247f3eceeccc645a1b556aea433d4cf66399e962)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:12 +01:00
Scott Rifenbark
dff40ea5cc bsp-guide: Fixed link to section.
Wrong title used in link.

(From yocto-docs rev: aa42a8752af97aaa4f16c89059eef63700ea48f4)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:12 +01:00
Scott Rifenbark
bb0b966827 bsp-guide: Updated BSP development flow figure.
This figure was out of date.

(From yocto-docs rev: 8b649ab3c4667a45f263818c2532b18f2dae9464)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:12 +01:00
Scott Rifenbark
776ac4c220 bsp-guide: Scrubbed the BSP structure section.
Made changes to sync the raspberrypi BSP example to what is
really in the source directories.  It was pretty out of date.

Made some minor edits to the sections describing the framework
of the BSP.

(From yocto-docs rev: b222d0988cb365cb1943ee1857e5cfd6b9fe173a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:12 +01:00
Scott Rifenbark
ae64a41af5 bsp-guide: Edits to "Preparing Your Build Host to Work with BSP Layers"
Applied some edits to make the section more up-to-date.  Dumped
minnow as a BSP example for raspberrypi.

(From yocto-docs rev: a40515bad28d07d736e1ddd1832c19b074749d53)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:11 +01:00
Scott Rifenbark
4c4076add1 bsp-guide: General edits to "BSP Layers" section
Added more relevant information around the discussion of BSP
layers.

(From yocto-docs rev: 8ca439b0bbfdcf390edb723fd12e8a00d90024e3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:11 +01:00
Scott Rifenbark
54737f81cc dev-manual: Updated example output for creating layer
The example that creates a layer using bitbake-layers had old
output.  Updated it.

(From yocto-docs rev: c58d738a59f113f8fffe0fc40b22e06b9d96cb6f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:11 +01:00
Scott Rifenbark
4ae67cc01a dev-manual: Review edits to manual upgrades for recipes.
(From yocto-docs rev: 05307788395cb16af95e89592bda070be6c1a397)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:11 +01:00
Scott Rifenbark
cfe25e8410 yocto-project-qs: Replaced AUH red-text with real cross-reference.
This reference to tools to help upgrade now exists with the
creation of the section in the dev-manual that talks about how to
upgrade recipes.  I converted the bullet item here in the QS to
point to the actual section.

(From yocto-docs rev: b3d8895fefb99799a7c06abff5cc1604530ee36a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:11 +01:00
Scott Rifenbark
6cb930c0ea dev-manual: Added section on manually upgrading recipes
(From yocto-docs rev: b5515ad6f4b5653095e338114607dd11a11181df)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:11 +01:00
Scott Rifenbark
1fccc4d2ee getting-started, dev-manual: Updated verbiage around new YP website.
(From yocto-docs rev: 033c7771ff1dfabf9f6ef9b6cb88a18f471e0c76)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:11 +01:00
Scott Rifenbark
bf839ab5d6 getting-started, mega-manual: Updated YP website page image.
(From yocto-docs rev: 7c0d710a20246c305a0131f030696b036b950774)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:11 +01:00
Scott Rifenbark
cf40ca7f5d sdk-manual: Updates to the devtool upgrade flow section.
Did some rewriting to add some references to other sections
in the manual set.  Did some other minor clean up.

(From yocto-docs rev: 7e7be31e96a0e73e230b8596b2431716f254e027)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:11 +01:00
Scott Rifenbark
7e87668bee ref-manual: Updated devtool sections
Updated the devtool add -h output.
Updated the devtool --help output.
Fixed wording for the "attic" file associated with the figure
  of the workspace area.

(From yocto-docs rev: bc53d9a1236ba2545c112256e886729b08b507de)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:11 +01:00
Scott Rifenbark
51347f576a ref-manual: Updated the section on devtool upgrade
Provided a bit of rationale on why and when you use this command.
Put in several links to help the reader get to related areas where
command use is explained.

(From yocto-docs rev: 7b30f29bfa15dd15f1388bb856e2047be55e7fb9)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:11 +01:00
Scott Rifenbark
47e92cd753 dev-manual: Added section on upgrading recipes.
Section covers AUH, devtool and manual.  Still need to add
manual.

(From yocto-docs rev: 56f04b1fcc8673e20df6d8f5c65120b03cad31e7)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:11 +01:00
Scott Rifenbark
96f4ac3d6c getting-started, mega-manual: Updated two figures
Had to update the umbrella YP figure and the Poky figure.  The
figures changed on the website so this gets them back in sync.

(From yocto-docs rev: f7f1a689a847ab4a01106eadacfccb4bec6c4b01)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:41:11 +01:00
Armin Kuster
36427fd37e distcc: Change SRC_URI
ERROR: distcc-3.2-r0 do_fetch: Fetcher failure: Unable to find revision d8b18df3e9dcbe4f092bed565835d3975e99432c in branch 3.2 even from upstream
ERROR: distcc-3.2-r0 do_fetch: Fetcher failure for URL: 'git://github.com/distcc/distcc.git;branch=3.2'. Unable to fetch URL from any source.
ERROR: distcc-3.2-r0 do_fetch: Function failed: base_do_fetch

[v2]
upstream deleted the branch and the hash no longer exists.

Took the git snapshot from yocto and created a copy on my github.
There was no offical 3.2 release, only rc versions.

(From OE-Core rev: aee44c6b1c36fb1c1f760fec60087933d1e8ea79)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:40:42 +01:00
Amanda Brindle
b6b6e006f7 waf.bbclass: Throw error if waf doesn't exist
Before, waf.bbclass would fail to catch FileNotFoundError. Now, it will
catch this error and say that waf doesn't exist.

Fixes [YOCTO 12553]

(From OE-Core rev: f8321dedec7abe392f7e49ff8eee0640463adae5)

Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:40:42 +01:00
Juro Bystricky
cf6f3c023c reproducible_build.bbclass: support for binary reproducibility
Setup environment for builds requiring binary reproducibility.
Determine and export SOURCE_DATE_EPOCH per each recipe.
This is a crucial step to achieve binary reproducibility.
The value for this variable (timestamp) is obtained after source code for
a recipe has been unpacked, but before it is patched. If the code sources
come from a GIT repo, we get the timestamp from the top commit. (GIT repo
does not preserve file mktime timestamps). Otherwise, if GIT repo is not
present, we try to get mtime from known files such as NEWS, ChangeLog, etc.
If this also fails, we go through all files and get the timestamp from the
youngest one. We create an individual timestamp for each recipe.
The timestamp is stored in the file '__source_date_epoch.txt' (in the folder
source-date-epoch_). Later on, each task reads this file and sets
the exported value of SOURCE_DATE_EPOCH to the value found in the file.

Uasge:

INHERIT += "reproducible_build"

[YOCTO#11178]
[YOCTO#11179]

(From OE-Core rev: cc438ac7711dedbe05d654e99af9316c9215b02e)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:40:42 +01:00
Alexander Kanavin
7cd6442613 systemd: link udev statically with systemd internal libraries
This was the default behavior with autotools, but is not with meson.
Otherwise, udev package will pull in the rest of systemd even
that is not desired.

[YOCTO #12618]

(From OE-Core rev: 7409d2d48b69adcdf039fb4aa8bd9ed62460daa9)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:40:42 +01:00
Chen Qi
7d5acd8573 systemd: change PACKAGECONFIG 'resolve' back to 'resolved'
When systemd was upgraded from 234 to 237, the PACKAGECONFIG item
'resolved' is changed to 'resolve', this is because meson_options.txt
uses the word 'resolve' instead of 'resolved'.

However, this causes trouble for users. Backward compatibility is obviously
more important, because we might have bbappend files in other layers
using this PACKAGECONFIG item.

So change the name back to 'resolved'.

(From OE-Core rev: da7fc569e547b4105b00c11a0b41b70230bacc50)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:40:42 +01:00
Andreas Müller
4fb30daa96 externalsrc: do not call make clean for recipes with CLEANBROKEN = "1" set
ERROR: distrho-ports-0.0.0+git999-r0 do_buildclean: oe_runmake failed
ERROR: distrho-ports-0.0.0+git999-r0 do_buildclean: Function failed: do_buildclean
ERROR: Logfile of failure stored in: <...>/temp/log.do_buildclean.17285
Log data follows:
| DEBUG: Executing shell function do_buildclean
| NOTE: make clean
| make clean -C libs/drowaudio
| make[1]: Entering directory '/home/a.mueller/data/oe-core/workspace/sources/distrho-ports/libs/drowaudio'
| make clean -C build-drowaudio
| make[2]: Entering directory '/home/a.mueller/data/oe-core/workspace/sources/distrho-ports/libs/drowaudio/build-drowaudio'
| make[2]: *** No rule to make target 'clean'.  Stop.
| make[2]: Leaving directory '/home/a.mueller/data/oe-core/workspace/sources/distrho-ports/libs/drowaudio/build-drowaudio'
| make[1]: *** [Makefile:7: clean] Error 2
| make[1]: Leaving directory '/home/a.mueller/data/oe-core/workspace/sources/distrho-ports/libs/drowaudio'
| make: *** [Makefile:73: clean] Error 2
| ERROR: oe_runmake failed

(From OE-Core rev: 21fa28d8faf33b2717e38886352238dd360ef346)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:40:42 +01:00
Ross Burton
ed2dc5f03a gtk-doc: don't regenerate gtk-doc in do_install
In out-of-tree builds gtk-doc's setup-build target copies all the content from
$srcdir to $builddir. However, if some of this content is regenerated at
configure time this can happen:

1) configure writes new build/version.xml
2) make compile copies content, including the tarball's src/version.xml
   to build/version.xml, and generates gtk-doc.
3) make install notices build/version.xml is older than configure.status,
   so regenerates gtk-doc.

gtk-doc generation is a slow process at the best of times, so doing it twice
isn't good.

(From OE-Core rev: 9ea9d61f26a942dbbc90070b40ba0209021a4b46)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:40:42 +01:00
Anuj Mittal
dea2b82250 librepo: disable building of tests and docs
Also remove libcheck dependency which was required only for tests.

(From OE-Core rev: cde1b85d402f5999814de4022e3b6ddc90b4604a)

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>
2018-03-25 09:40:42 +01:00
Khem Raj
d772780ee0 ncurses: Abstract out termlib
termlib needs to be disabled on some targets e.g. mingw
this change paves the way for doing that. Functionally
it does not change anything for other platforms

(From OE-Core rev: 88f33e1e5ba4f85093f60a296cba3ee1c1341c43)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:40:42 +01:00
Khem Raj
12392552b2 systemd: Fix build failures with glibc 2.27 + kernels without memfd
Backport a fix that is needed for systemd to build with latest glibc
and kernel being old.

see
https://github.com/systemd/systemd/issues/8099

(From OE-Core rev: 169d061b313ebb91bf18f09d998a42c4ae165bf8)

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>
2018-03-25 09:40:42 +01:00
Khem Raj
4a84bff9a6 site/risc-v: Cache common variables to build libIDL
These variables force runtime tests during configure
they are already cached for other architectures

(From OE-Core rev: 7a0e456d9dcfe9d9d9a0dbd24a6083c8d40516ff)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:40:42 +01:00
Otavio Salvador
e317745665 glide.bbclass: Add class to easy Glide use
To use 'glide' this class does the integration and reduces code
duplication.

(From OE-Core rev: e0dbcdc2ca0b05b6b062a0ec1496204bb2122fbf)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:40:42 +01:00
Martin Jansa
3727598586 shadow.inc: run postinst only for target
* fails for nativesdk-shadow with:
  pwconv: /etc/passwd.29063: No such file or directory
  pwconv: cannot lock /etc/passwd; try again later.

(From OE-Core rev: c292945611d9f825051ac4938bb22a7d42fff994)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:40:42 +01:00
Martin Jansa
3786bf8d69 iputils: change default PACKAGECONFIG to disable libidn
* wrong revision of this patch, where the commit message didn't match
  with the default PACKAGECONFIG value, was merged to master, update
  it to avoid confusion

* it got enabled by default, but without the dependency on libidn in:
  commit 5997981fa2c22609a88b8cbb595dbf7758b2f7c2
  Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
  AuthorDate: Thu Feb 1 20:02:08 2018 +0200
  Subject: iputils: update to 20161105

* https://github.com/iputils/iputils/blob/master/RELNOTES.old
  mentiones that IDN was enabled by default in:
  [s20160308] and surprisingly the same in [s20150815]
  but there are no release notes for s20151218 version we were using until
  now, don't know how it really relates to [s20150815].

* but there are some issues with libidn as described in:
  f3a461603e
  so disable it by default.

(From OE-Core rev: d5cf9fdc57b6e9237126c92a6d92a31099d007c9)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:40:42 +01:00
Tim Orling
fac6432870 maintainers.inc: drop lsb4 perl modules no longer in core
The following perl module packages were removed from oe-core
with commit: 30fb4c8f329fe3aa3c528ffeba60ee7d702e873e
  - libclass-isa-perl
  - libenv-perl
  - libdumpvalue-perl
  - libfile-checktree-perl
  - libi18n-collate-perl
  - libpod-plainer-perl

Remove these from the maintainers list

Fixes: [Yocto #12582]

(From OE-Core rev: 9eafd2d8bff2cb4949ee83bf7c5505bfcbad93d4)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:40:42 +01:00
Maxin B. John
fd4730a44b maintainers: remove obsolete entries
Delete entries of removed packages.

(From OE-Core rev: 8076e0bcad1e7676a3747c489b0a8c76821bbcdc)

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>
2018-03-25 09:40:42 +01:00
Tanu Kaskinen
21c85626a5 libvorbis: CVE-2018-5146
Prevent out-of-bounds write in codebook decoding. The bug could allow
code execution from a specially crafted Ogg Vorbis file.

References:
https://www.debian.org/security/2018/dsa-4140
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5146

(From OE-Core rev: 1f01ce76c76d63f5ffe96baf518e670ae01c4d12)

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>
2018-03-25 09:40:42 +01:00
Tanu Kaskinen
399200d3a3 libvorbis: CVE-2017-14632
Xiph.Org libvorbis 1.3.5 allows Remote Code Execution upon freeing
uninitialized memory in the function vorbis_analysis_headerout() in
info.c when vi->channels<=0, a similar issue to Mozilla bug 550184.

References:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-14632

(From OE-Core rev: 5786e39e040f241f6bade29ba2ce61b7715e1b66)

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>
2018-03-25 09:40:42 +01:00
Tanu Kaskinen
d345c67168 libvorbis: CVE-2017-14633
In Xiph.Org libvorbis 1.3.5, an out-of-bounds array read vulnerability
exists in the function mapping0_forward() in mapping0.c, which may lead
to DoS when operating on a crafted audio file with vorbis_analysis().

References:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-14633

(From OE-Core rev: db6c0df30acdb9973f9bd4297a5fce4725c0720d)

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>
2018-03-25 09:40:41 +01:00
California Sullivan
be7511a33d xserver-xorg: import distro patch to use modesetting driver on newer hardware
Debian and Fedora both carry this patch, and the xf86-video-modesetting
driver seems better on recent hardware.

As an example, on a NUC6CAYS, the x11perf -aa10text and -rgb10text tests
see around a 20x increase.

[YOCTO #12019]
[YOCTO #12390]

(From OE-Core rev: 2e4934d5d4b2745ffcd76020b307b9021f8d8853)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-25 09:40:41 +01:00
Yi Zhao
7a80996355 tiff: Security fixes
Fix CVE-2017-99935, CVE-2017-18013, CVE-2018-5784

References:
https://nvd.nist.gov/vuln/detail/CVE-2017-9935
https://nvd.nist.gov/vuln/detail/CVE-2017-18013
https://nvd.nist.gov/vuln/detail/CVE-2018-5784

Patches from:
CVE-2017-9935:
3dd8f6a357
CVE-2017-18013:
c6f41df7b5
CVE-2018-5784:
473851d211

(From OE-Core rev: 798b6b4b3ce370264d036e555185a99ce3aa97b7)

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>
2018-03-25 09:40:41 +01:00
Chen Qi
f49ee61422 systemd-boot: upgrade to 237
Upgrade systemd-boot to 237.

As systemd has dropped autotools support, fix configure and compile
failures related to meson.

(From OE-Core rev: 086308aa2a5e332de6f00ed397c4a55d132f158f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-20 09:59:33 +00:00
Chen Qi
aacaf836ba systemd: fix build failure for qemux86 and qemuppc with musl
Remove the 'fstack-protector' and 'fstack-protector-strong' flags
as a workaround to fix the following error when building for qemux86
and qemuppc with musl.

  undefined reference to `__stack_chk_fail_local'

(From OE-Core rev: 4871d3c2b6dd6c07a2adcfbc9ecfb22e4afa2d0d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-20 09:59:33 +00:00
Chen Qi
40db00818e systemd: upgrade to 237
Upgrade systemd to 237.

Note that this version has dropped autotools support.

The following patches are rebased:
0004-Use-getenv-when-secure-versions-are-not-available.patch
0005-binfmt-Don-t-install-dependency-links-at-install-tim.patch
0007-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch
0015-Revert-udev-remove-userspace-firmware-loading-suppor.patch
0018-check-for-uchar.h-in-configure.patch
0019-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch
0001-add-fallback-parse_printf_format-implementation.patch
0002-src-basic-missing.h-check-for-missing-strndupa.patch
0007-check-for-missing-canonicalize_file_name.patch
0008-Do-not-enable-nss-tests.patch
0010-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch
0011-nss-mymachines-Build-conditionally-when-HAVE_MYHOSTN.patch

The following backported patches are dropped:
0001-core-evaluate-presets-after-generators-have-run-6526.patch
0001-main-skip-many-initialization-steps-when-running-in-.patch
0001-meson-update-header-file-to-detect-memfd_create.patch
0003-fileio-include-sys-mman.h.patch

The following patch is dropped as autotools support is dropped:
0002-configure.ac-Check-if-memfd_create-is-already-define.patch

The following patches are newly added to fix problems:
0027-remove-nobody-user-group-checking.patch
0028-add-missing-FTW_-macros-for-musl.patch
0030-fix-missing-of-__register_atfork-for-non-glibc-build.patch
0031-fix-missing-ULONG_LONG_MAX-definition-in-case-of-mus.patch

Other changes are mostly autotools/meson related.

This new version has dropped ptest support, as there's no easy
way to do this in the framework of meson.

(From OE-Core rev: 906230a73b3ccfa4afd2a19a6b0aa18cd1d5fa08)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-20 09:59:33 +00:00
Maxin B. John
0748f2c4d5 libsolv: refresh the patches
fixes:

WARNING: libsolv-0.6.33-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to
incorrectly applied patches.
The context lines in the patches can be updated with devtool:

devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch
0001-Add-fallback-fopencookie-implementation.patch
patching file ext/CMakeLists.txt
patching file ext/solv_xfopen.c
Hunk #1 succeeded at 12 with fuzz 1 (offset -1 lines).
Hunk #2 succeeded at 25 (offset -18 lines).
Hunk #3 succeeded at 34 (offset -18 lines).
Hunk #4 succeeded at 46 (offset -18 lines).
patching file ext/solv_xfopen_fallback_fopencookie.c
patching file ext/solv_xfopen_fallback_fopencookie.h

Now at patch 0001-Add-fallback-fopencookie-implementation.patch

(From OE-Core rev: 388a6cdef0a993d781141f7c375a198f4c4ab808)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-20 09:59:32 +00:00
Martin Jansa
4e05a42b93 iputils: add PACKAGECONFIG for libidn and disable it by default
* it got enabled by default, but without the dependency on libidn in:
  commit 5997981fa2c22609a88b8cbb595dbf7758b2f7c2
  Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
  AuthorDate: Thu Feb 1 20:02:08 2018 +0200
  Subject: iputils: update to 20161105

* https://github.com/iputils/iputils/blob/master/RELNOTES.old
  mentiones that IDN was enabled by default in:
  [s20160308] and surprisingly the same in [s20150815]
  but there are no release notes for s20151218 version we were using until
  now, don't know how it really relates to [s20150815].

* but there are some issues with libidn as described in:
  f3a461603e
  so disable it by default.

* fails with:
  | In file included from ping_common.c:1:0:
  | ping.h:39:10: fatal error: idna.h: No such file or directory
  |  #include <idna.h>
  |           ^~~~~~~~

* Easiest way to reproduce this failure is to remove libidn from gnutls
  PACKAGECONFIG or to use gnutls which doesn't have libidn PACKAGECONFIG
  at all (like the one in meta-gplv2).

* First it leads to following QA issue:
  http://errors.yoctoproject.org/Errors/Build/53212/
  ERROR: iputils-s20161105-r0 do_package_qa: QA Issue: iputils-ping rdepends on libidn, but it isn't a build dependency, missing libidn in DEPENDS or PACKAGECONFIG? [build-deps]
  ERROR: iputils-s20161105-r0 do_package_qa: QA Issue: iputils-traceroute6 rdepends on libidn, but it isn't a build dependency, missing libidn in DEPENDS or PACKAGECONFIG? [build-deps]
  ERROR: iputils-s20161105-r0 do_package_qa: QA run found fatal errors.
  Please consider fixing them.
  ERROR: iputils-s20161105-r0 do_package_qa: Function failed:
  do_package_qa
  ERROR: Logfile of failure stored in: /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/iputils/s20161105-r0/temp/log.do_package_qa.7627
  ERROR: Task (/OE/build/oe-core/openembedded-core/meta/recipes-extended/iputils/iputils_s20161105.bb:do_package_qa) failed with exit code '1'

* But if you cleansstate iputils as well (after removing libidn from
  gnutls PACKAGECONFIG) to empty iputils RSS, then you get the error about
  missing idna.h:
  http://errors.yoctoproject.org/Errors/Build/53213/

* Adding the libidn dependency explicitly in iputils recipe fixes the
  issue.

(From OE-Core rev: 97defe35051ff86f665547bb6b6497c83b7027a6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-20 09:59:32 +00:00
Alexander Kanavin
dad8f073e3 package-index: index also subdirectories when using rpm
Previously only the top-level index was created, which did not
work if PACKAGE_FEED_ARCHS whitelisting (or explicitly listing
architectures in dnf repo files by hand) was in use:
https://lists.yoctoproject.org/pipermail/yocto/2018-March/040327.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=12419

[YOCTO #12419]

(From OE-Core rev: f2a568ddb22f38114fdbc1d389c7556386ebb1fa)

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>
2018-03-20 09:59:32 +00:00
Alexander Kanavin
c256b715e6 glibc: fix upstream version check
Exclude x.y.90* pre-release versions in particular.

(From OE-Core rev: 3fa440b0d8090135a66f6ddbd0db77c94760686e)

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>
2018-03-20 09:59:32 +00:00
Khem Raj
35b28399d5 dpkg: Backport riscv support
Refresh patches with devtool

(From OE-Core rev: 6d21977c9d1cf00b102a58e28797250b9a853caf)

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>
2018-03-20 09:59:32 +00:00
Khem Raj
9a6b5496a4 mtd-utils: Explicitly add pthread options to cflags
Some architectures e.g. riscv gcc does not add -D_REENTRANT
when enabling pthreads. Help it here by adding these options
while gcc gets fixed

(From OE-Core rev: 856aa732cac62a2c45473bcc91f7d0c423c52f81)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-20 09:59:32 +00:00
Otavio Salvador
abc0655bae linux-firmware: upgrade to 4c0bf11 revision
License-Update: new releases and copyright years updated.
(From OE-Core rev: cf757ca67325415a26555c67a098f168453339a4)

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>
2018-03-20 09:59:32 +00:00
Maxin B. John
c3c336f106 watchdog: remove interdependencies of watchdog and wd_keepalive
Since watchdog and watchdog-keepalive packages can't be installed
together, move wd_keepalive.service to watchdog-keepalive package.

Remove the inter-dependencies of watchdog and wd_keepalive
services as well.

[YOCTO #12565]

(From OE-Core rev: 1d09eacc78ff44df54d6ace26702f4d9bf9e639c)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-20 09:59:32 +00:00
Ross Burton
eeafb85124 opkg-utils: use multithreaded xz when building packages
(From OE-Core rev: 369c43cca4f00272e0f9eb8b939f38f00dc43cc3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-20 09:59:32 +00:00
Anuj Mittal
da4e855060 perf: enable support for libaudit
perf needs audit-python to be able to show syscall names and for
'perf trace' to work.

Enable dependency on audit-python if present in PACKAGECONFIG. It's
disabled by default since audit as of now is in meta-selinux.

Fixes [YOCTO #3343]
Fixes [YOCTO #3358]

(From OE-Core rev: c386abacae89a148e77ffa51630c7917e90406f9)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-20 09:59:32 +00:00
Maxin B. John
f6f688842b image_types.bbclass: Rename lz4_legacy to lz4
LZ4 format currently used by the Linux kernel is the 'legacy' format.

In order to avoid creating an image that can't be used as a compressed
initial ramdisk with Linux kernel, rename lz4_legacy to lz4.

[YOCTO #12461]
[YOCTO #12149]

(From OE-Core rev: 0c62a9b272d381bd5a16cfef19ecd1a15f521473)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-20 09:59:32 +00:00
Martin Jansa
00b23ae2aa patch.py: Use git format-patch with --no-signature --no-numbered params
* --no-signature saves unnecessary .patch modifications when executed on
  host with different git version
* --no-numbered saves unnecessary .patch modifications when number of the
  applied patches is changed (the number is still in the filename so the
  order how they should be applied is still preserved)
* both options exist for very long time, I've tested them with git 1.9.1
  from Ubuntu 14.04 and I'm quite sure they were available even in much
  older releases, so there shouldn't be any issue on relatively new sanity
  tested distros

(From OE-Core rev: ad76fa92c3a5be38962aff09df070ffd9756f777)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-20 09:59:32 +00:00
Ross Burton
11032bebe8 package_manager: format pydoc comments properly
(From OE-Core rev: b2770ec717d2b3cfc475c0cf7fa372fdb2f691a9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-20 09:59:32 +00:00
California Sullivan
d5075b648b kernel.bbclass: set HOSTLDFLAGS in KCONFIG_CONFIG_COMMAND
Kernel v4.14 and newer contain the following in their Makefile:

HOST_LFS_LDFLAGS := $(shell getconf LFS_LDFLAGS)
HOSTLDFLAGS  := $(HOST_LFS_LDFLAGS)

This breaks our menuconfig, because it can no longer find ncurses if its
not on the host machine. This can be seen in linux-yocto-dev, for
example:

[clsulliv@clsulliv build]$ bitbake virtual/kernel -c menuconfig

  GEN     ./Makefile
  HOSTLD  scripts/kconfig/mconf
/home/clsulliv/yocto/poky/build/tmp/hosttools/ld: cannot find -lncurses
/home/clsulliv/yocto/poky/build/tmp/hosttools/ld: cannot find -ltinfo
collect2: error: ld returned 1 exit status
make[3]: *** [scripts/Makefile.host:99: scripts/kconfig/mconf] Error 1
make[2]: *** [/home/clsulliv/yocto/poky/build/tmp/work-shared/intel-corei7-64/kernel-source/Makefile:504: menuconfig] Error 2
make[1]: *** [Makefile:146: sub-make] Error 2
make: *** [Makefile:24: __sub-make] Error 2
Command failed.
Press any key to continue...

Fix this by setting HOSTLDFLAGS to ${BUILD_LDFLAGS} in our
'make menuconfig' command.

(From OE-Core rev: 6afe8e211bfb3deb359194488f34a2c56f4b5ef6)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-20 09:59:32 +00:00
Derek Straka
6a8ef3d5a4 python-numpy: update to 1.14.2
Update to the latest stable release

(From OE-Core rev: 0f31b37d1233867e5dfdd126b98d5017df602888)

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>
2018-03-20 09:59:31 +00:00
Derek Straka
83707d9d15 python3-pip: update to 9.0.2
Update to the latest stable release

(From OE-Core rev: 998ac44d8be496c852a41fa112f997362db7da4f)

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>
2018-03-20 09:59:31 +00:00
Derek Straka
36fa6cc835 python3-pygobject: update to 3.28.1
Update to the latest stable release

Tested in qemux86-64 running core-image-minimal

(From OE-Core rev: aa33df15dca690b6556794b604cb99bd13dbce72)

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>
2018-03-20 09:59:31 +00:00
Derek Straka
a3d931d7aa python*-setuptools: update to 39.0.0
Update the python{3}-setuptools to the latest stable version

Tested on the qemu with core-image-minimal

(From OE-Core rev: 8422880acf65802dbaa08238ae9e63670ed49ff3)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-20 09:59:31 +00:00
Khem Raj
887f583c45 python-numpy: Fix build for riscv64
(From OE-Core rev: d33b321bce110fae8e5730f507be70f33d91fe22)

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>
2018-03-20 09:59:31 +00:00
Derek Straka
d91238016e python3-native: update to version 3.5.5 to fix security issues
License-Update: checksum change is due to bump in copyright year

Resolves CVE-2017-1000158 and other potential security issues

See https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-5-final

(From OE-Core rev: e19df4b40d76cdae65a26fb08efc17542e0e86b9)

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>
2018-03-20 09:59:31 +00:00
Alexander Kanavin
066700462a python3-native: fix build races in 'make regen-all'
Python 2.x and target Python 3.x do not have this issue.

[YOCTO #12596]

(From OE-Core rev: 5bfba3d09cfabb3a1895dcf9921801df318d804c)

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>
2018-03-20 09:59:31 +00:00
Joe Slater
649d23696f gnome-desktop: do not assume time_t is long
Replace use of atol() to set a time_t variable.

(From OE-Core rev: 022866aa0ea6d7a8963d05bb10881e8d97bdf442)

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>
2018-03-20 09:59:31 +00:00
Ross Burton
38e0189fae Revert "lttng-tools: Upgrade 2.9.5 -> 2.10.2"
None of the test suite works, so something quite fundamental broke.

[ YOCTO #12606 ]

This reverts commit 406ea737f1.

(From OE-Core rev: 72a0b56757da98fcbf42bebb2f376738c68d3834)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-20 09:59:31 +00:00
Huang Qiyu
42a0e944a4 slang: 2.3.1a -> 2.3.2
Upgrade slang from 2.3.1a to 2.3.2.

(From OE-Core rev: 3972c93142c4adfd3227b8d7d9a6b25774ce6929)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-20 09:59:31 +00:00
Anuj Mittal
41163179d4 python3: add readline to PACKAGECONFIG
Provide a way to make readline dependency optional in case someone
might want to use BSD alternative editline instead.

Using editline would need some changes though (python issue13501).

(From OE-Core rev: 9b12a3f031373ad0696409e4f933b1a585ea7f1f)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-20 09:59:31 +00:00
Alexander Kanavin
f2103873bd ca-certificates: run postinst script only for -target package
Nativesdk package has a special arrangement where the same thing is done
in do_install(). It was assumed (in the comment) that postinsts don't run when
installing nativesdk packages, but this was incorrect: they are run, but
any failures were previously silently ignored. Now this missing failure reporting has
been fixed, and so we get to see the failures.

(From OE-Core rev: 8ebb695c1429f8d57d655072a362a4f176258699)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-20 09:59:31 +00:00
Alexander Kanavin
de3e16b675 libpng: fix upstream version check
Sourceforge for some reason claims an older version is 'the latest'.

(From OE-Core rev: 612075ddebd40af4f9908028e40bd6a46a2a4d63)

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>
2018-03-20 09:59:31 +00:00
Alexander Kanavin
c996eaaf23 distcc: remove UPSTREAM_VERSION_UNKNOWN
Upstream has finally released a new version.

(From OE-Core rev: 5d7683c7d86abd101bcee0c06cceff4ba3ee8593)

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>
2018-03-20 09:59:31 +00:00
Anuj Mittal
c37053857d checklayer: remove reference to undefined class
LayerError doesn't exist and will lead to an error when this failure
code path is hit.

(From OE-Core rev: 7780482772d005c77825dc3e99e63f00911156bf)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-20 09:59:31 +00:00
Khem Raj
cef09e9c0e gcc: Do not use --with-linker-hash-style if LINKER_HASH_STYLE is empty
We allow to set LINKER_HASH_STYLE to be empty so this would fail
since --with-linker-hash-style needs an argument and cant be empty

(From OE-Core rev: e176ab07d1afbb5d7e80d39d49b0f68738509c18)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-20 09:59:31 +00:00
Mark Hatle
4c13568fa4 gcc: backport patch to fix ICE in MIPS64 target in G++
Backport a patch to fix an ICE when compiling for MIPS64.

(From OE-Core rev: eaa35d43dc1490f53aa1aece948d1542048460b6)

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>
2018-03-20 09:59:31 +00:00
Ross Burton
674cdda1b9 buildperf: measure the size of core-image-sato rootfs
(From OE-Core rev: c94271d87d16323f920891344642f76dfb3c994f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-16 03:42:09 -07:00
Markus Lehtonen
dec7f4f17d scripts/oe-build-perf-report: fix comparing arbitrary commits
Fix a crash when generating a txt report and the two commits to be
compared were not consecutive (but there were some tested commits
between them).

(From OE-Core rev: f3afd2c47f4c740df52dfd80e208ce721d5ebf6e)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-16 03:42:09 -07:00
Bruce Ashfield
0fd6d0dd00 linux-yocto/4.12: backport bugfixes for x86
Integrating the following commits:

  60b649971940 x86/hibernate/64: Mask off CR3's PCID bits in the saved CR3
  cec3c008ec8f drm/i915/cfl: Coffee Lake works on Kaby Lake PCH.
  073873cb152c brd: remove unused brd_mutex
  912c53b1b346 audit: fix memleak in auditd_send_unicast_skb.

(From OE-Core rev: 3c14c6612c48d46677837f5f4c31cfd1a6ff6174)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:20 -07:00
Bruce Ashfield
7cff54121d maintainers: add maintainer for make-mod-scripts
I introduced the recipe, so I get to fix any bugs!

(From OE-Core rev: 010b3556d56d9520821f8b13a386c5ee23d3892f)

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>
2018-03-15 06:27:20 -07:00
Bruce Ashfield
6b4fab7588 linux-yocto/4.14/4.15: revert "features/systemtap/systemtap.cfg: enable CONFIG_KERNEL_DEBUG"
The following commit:

   Author: California Sullivan <california.l.sullivan@intel.com>
   Date:   Wed Feb 17 16:47:10 2016 -0800

       ktypes: add developer ktype

       The developer ktype enables EMBEDDED, EXPERT, and DEBUG_KERNEL,
       opening up more kernel options and setting some defaults.

      Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
      Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

Was created to address the kernel footprint related issues that are related
to many of the kernel debug options.

When this commit was merged, it re-enabled CONFIG_DEBUG_KERNEL for the
standard kernel, since it includes the systemtap fragment. The correct thing
to do is to move systemtap properly into the developer kernel type.

For now, you can build the developer kernel type, or add the developer kernel
configuration fragment via a bbappend, and you'll have a functional systemtap.

[YOCTO #12603]

(From OE-Core rev: ad8f68e9831c57fde62f7b1942bfa9e1307f113d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:20 -07:00
Alexander Kanavin
655b58c620 btrfs-tools: add RECIPE_NO_UPDATE_REASON
(From OE-Core rev: a158b458d63622a3cd1605124c380d2a130beda9)

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>
2018-03-15 06:27:20 -07:00
Jason Wessel
9390f907a9 python3: Fix purelib install and runtime paths
oe-core commit: 45afadf0b6 fixed the pip problem with purelib for
python2, even though the the patch stated it was for python3.  This
patch addresses the purelib problem for python3.

If you install the package python3-pip you will have a pip3 binary
where you can see the problem on the device easily where the modules
install into the incorrect area and are not able to be referenced by
python3 at all.

Example error:
   pip3 install imutils
   pip3 list |grep imutils || echo ERROR no imutils
      ERROR no imutils
   python3 -c 'import imutils'
     Traceback (most recent call last):
       File "<string>", line 1, in <module>
     ImportError: No module named 'imutils'

(From OE-Core rev: 54e0b3bfc132613902418be148a900b10f6d9e38)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:20 -07:00
Khem Raj
a6a96feb18 insane.bbclass: Fix typos in 32bit risc-v machine type
(From OE-Core rev: 33d79f19dd3a2b5777e07fbf75ec4635d08e60e8)

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>
2018-03-15 06:27:19 -07:00
Khem Raj
eb263b79dc insane.bbclass: add support for RISC-V baremetal
(From OE-Core rev: 9b30e805e769b6c8c12a9aba072f7df066b19179)

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>
2018-03-15 06:27:19 -07:00
Ross Burton
3f2fe7a734 gtk-doc: use --srcdir instead of cd
(From OE-Core rev: 1bf1cf24f520960d3d10b0b71d665107953dba54)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:19 -07:00
Ross Burton
29c6083d1f gtk-doc: always inherit python3native
My attempt at only inheriting python3native if it was needed was broken and
didn't work, so back it out and always inherit.

(From OE-Core rev: eb08ce66cf7ca6dbdb51fb9b9725267606fba6b9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:19 -07:00
Zhang Xiao
508ab8b836 libgpg-error: Fix multilib header conflict - pg-error.h and gpgrt.h
Header file conflict between 32-bit and 64-bit versions.

(From OE-Core rev: 66b0f977cc1809616b78939f8096330e7c8a94de)

Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:19 -07:00
Zhang Xiao
5ae4806529 tiff: Fix multilib header conflict - tiffconf.h
Header file conflict between 32-bit and 64-bit versions.

(From OE-Core rev: 53f320797765b5f184a83cd065f9b5e454ee14e3)

Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:19 -07:00
Zhang Xiao
1cab8ef694 valgrind: Fix multilib header conflict - valgrind/config.h
Header file conflict between 32-bit and 64-bit versions.

(From OE-Core rev: 6084879306db61c347b6f01f3bb64de327a9052d)

Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:19 -07:00
Ross Burton
0728b89b56 kmod: don't call gtkdocize twice
The gtk-doc class already calls gtkdocize, so we don't need to do it again

(From OE-Core rev: 14c6e4fd793e037d801a81c6581e0642ef61ab0c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:19 -07:00
Ross Burton
5c0c9b37da maintainers: remove obsolete entry
(From OE-Core rev: 75bcc718f1c2234d313941d6d9639f46d17fae63)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:19 -07:00
Ross Burton
2e86184de2 build-recipe-list: improvements
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:19 -07:00
Khem Raj
8f26f62471 risc-v: Pin oldest kernel to 4.15 for the new kid
(From OE-Core rev: fd3d98fd5690dab391c27a71e26f74e0f9a25f3a)

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>
2018-03-15 06:27:19 -07:00
Khem Raj
2712b33e85 site/riscv: Shunt the realloc configure test for startup-notification
(From OE-Core rev: c1d22fe95ea132275237854681c938d9238579cf)

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>
2018-03-15 06:27:19 -07:00
Khem Raj
acb88c7afe pcmanfm: Drop COMPATIBLE_HOST setting
We have all core architectures in there its almost redundant

(From OE-Core rev: 5cc89d3c595072c42f28db54a43db119b763e28b)

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>
2018-03-15 06:27:19 -07:00
Khem Raj
3f18c643f3 tcmode-default.inc: Define QEMUVERSION and softly pin it
This provides ability to surgically override qemu for certain
machines which are provided by external layers.

(From OE-Core rev: a5beb77bde547c3fdfd0bac75618ab70e9da6b81)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:19 -07:00
Derek Straka
24baf608d7 python-numpy: reorganize numpy recipes to use a common .inc file to reduce duplication
(From OE-Core rev: 38edecc64d76e3228cc2d7d5447d57b85e784ac2)

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>
2018-03-15 06:27:19 -07:00
Koen Kooi
79716684b4 ncurses: fix deletion of /usr/lib/terminfo
Ncurses doesn't honour ${libdir} for terminfo, so try more options to remove it.

(From OE-Core rev: 17fd322e925cf492b22c75e296d5fee31e3511db)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:19 -07:00
Koen Kooi
4712f75761 openssl: fix libdir logic to allow multiarch style paths
The recipes were using 'basename' to turn '/usr/lib' into 'lib', which breaks when libdir is '/usr/lib/tuple', leading to libraries ending up in '/usr/tuple', which isn't in FILES_*. Change the logic to use sed to strip the prefix instead.

(From OE-Core rev: e58d5521c7bae8daafdac85754545be176550a02)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:19 -07:00
Koen Kooi
dc47156387 ncurses: fix do_install failure when base_libdir has more than one level
Other sections of the .inc already use mkdir -p, so use it here as well.

(From OE-Core rev: 62434e5021b99391a0c129a40bf943465a19e7ce)

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>
2018-03-15 06:27:19 -07:00
Richard Purdie
cc02a00d27 uninative: Add compatiblity version check
If glibc is newer on the host than in uninative, the failure mode is
pretty nasty for clusters where the sstate is shared, including the Yocto
Project autobuilder.

This check aborts the use of uninative in such scenarios where a newer
glibc version appears and avoids corruption of sstate caches.

We use ldd to check the glibc version since that is included in libc-bin
(or equivalent) which locales use so it should always be present.

(From OE-Core rev: d6f6101cd0ae92e8ad2dec0bcb6db5044726edf9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:19 -07:00
Ross Burton
215293c51e build-recipe-list: build universe instead of world
Building world means recipes that are excluded from world build for whatever
reason get skipped from the manifests, which isn't useful.  Instead building
universe and pass -k so that the expected dependency failures are not fatal.

(From OE-Core rev: 2d798f9f56fbd7cd20de4b797a476ad24c214ff3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:19 -07:00
Ross Burton
a5c274b451 meta: remove some EXCLUDE_FROM_WORLD assignments
Now that we have recipe-specific-sysroots we don't need to exclude recipes from
world builds because they conflict with other recipes, as they'll all be built
with their own sysroots.

(From OE-Core rev: b2f3ac4d994a1921791f6bd0cdb3591586733694)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:19 -07:00
Trevor Woerner
960b58eae3 iproute2: fix rebuild failures
When rebuilding iproute2, many such instances of the following build failure
occur:

	| make[1]: Entering directory '.../iproute2/4.14.1-r0/iproute2-4.14.1/lib'
	| Makefile:1: ../config.mk: No such file or directory
	| make[1]: *** No rule to make target '../config.mk'.  Stop.

(From OE-Core rev: f2e56f6e0da27c70781e51b5486ca6c731013f1c)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:19 -07:00
Chen Qi
fb50eb6ef0 btrfs-tools: set CLEANBROKEN to 1 to avoid rebuild failure
When rebuilding btrfs-tools, we would sometimes meet the following error.

  Makefile:43: *** Makefile.inc not generated, please configure first.

Set CLEANBROKEN to "1" to solve this problem.

(From OE-Core rev: 4e2687ef9e649c8c1dc4011d2e7c05dfbba56fb8)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:19 -07:00
Derek Straka
127263bf72 python3: update to version 3.5.5 to fix security issues
License-Update: checksum change is due to bump in copyright year

Resolves CVE-2017-1000158 and other potential security issues

See https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-5-final

(From OE-Core rev: 4a27d50e4e8db87d005aca9d976fe8e674952777)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:18 -07:00
Derek Straka
e3dfa35cab python*-setuptools: update to 38.5.2
Update the python{3}-setuptools to the latest stable version

Tested on the qemu with core-image-minimal

(From OE-Core rev: 106239a250488508f5c3593d9c8c3d4f70ff0ba3)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:18 -07:00
Alexander Kanavin
cc97bc0812 lib/oe/patch.py: add a warning if patch context was ignored
Ignoring patch context increases the chances of patches being
applied incorrectly. Depending on what code is being patched, this can go
completely unnoticed and create subtle bugs, sometimes with security implications.

Please see here for a specific example:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450

On the other hand, we cannot simply force all patch context to match exactly:
doing this would break a lot of recipes suddenly, across all layers.

So let's try a softer approach: issue a warning, and gently update
patches over a longer span of time. When most of the warnings are eliminated,
we can start enforcing a strict patch application policy.

I do understand that this patch creates a lot of warnings all of a sudden, however
I believe the problem does need to be addressed. All of oe-core recipes have their
context already fixed.

Sample warning:

WARNING: vulkan-1.0.61.1-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored).
Details:
Applying patch demos-Don-t-build-tri-or-cube.patch
patching file demos/CMakeLists.txt
Hunk #1 succeeded at 63 (offset 2 lines).
Hunk #2 succeeded at 76 with fuzz 1 (offset 2 lines).

[YOCTO #10450]

(From OE-Core rev: 5133fd46bccf14e21680f8d94e952914edccb113)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:18 -07:00
Alexander Kanavin
6827053895 oe-selftest: add a test for failing package post-installation scriptlets
The test runs a scriptlet that has an intentionally failing command in the middle
and checks for two things:
1) that bitbake does warn the user about the failure
2) that scriptlet execution stops at that point.

The test is run for all three package types: rpm, deb, ipk.

(From OE-Core rev: 865fafb0dff19d27bd417c28c95fb8fdf0326a2b)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:18 -07:00
Alexander Kanavin
cd005e2d5b meta/lib/oe/package_manager.py: warn about failing scriptlets for all package types
Previously this was done only for rpm packages; now also ipk/deb scriptlet
failures are reported.

In the future this will become a hard error, but it can't yet happen
due to the legacy 'exit 1' way of deferring scriptlet execution to first boot which
needs a deprecation period.

(From OE-Core rev: a36671faf6e0b7623185b0e22814a786d5444592)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:18 -07:00
Alexander Kanavin
c64a57d2ec package.bbclass: run pre/post installation/removal scriptlets using sh -e
This allows catching errors in the scriptlets which would otherwise
go unnoticed, e.g. this sequence:
====
bogus_command
proper_command
====
would work just fine without any visible warnings or errors.

This was previously done only for rpm packages; this patch replaces
the rpm-specific tweak with one that works for all package types.

(From OE-Core rev: a0aa12e1d0ea9064b8dd816d4e82238df765506b)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:18 -07:00
Richard Purdie
6d71fdbf20 unfs3: Fix libtirpc usage for unfs3-native version
(From OE-Core rev: e37c4f1ff2b440b0a232b0482c136cc9f7b24e0f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:18 -07:00
Khem Raj
961c26101f libtirpc: Extend to native and nativesdk recipes
(From OE-Core rev: 49d5d53c64ea18b897908c23764d1817bec64775)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:18 -07:00
Khem Raj
636d1be38f unfs3: Fix build with musl
Should also fix build on new build hosts where
with glibc 2.27 rpc support is dropped in favor
of libtirpc

(From OE-Core rev: 86f4c68c76098d6735b4cb640996d748b8ff82fb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:18 -07:00
Juro Bystricky
459f177c9e openssl_1.0.2n: improve reproducibility
Improve reproducible build of:

openssl-staticdev
openssl-dbg
libcrypto

There are two main causes that prevent reproducible build, both related to
the generated file "buildinf.h":

1. "buildinf.h" contains build host CFLAGS, containing various build
   host references.  We need to pass sanitized CFLAGS to the script
   generating this file ("mkbuildinf.pl". )

2. We also need to modify the script "mkbuildinf.pl" itsel in order to
   generate a build timestamp based on SOURCE_DATE_EPOCH, if present in
   the environment.

(From OE-Core rev: 6c556ed3553d8f5e75d65cd7db92b26df43846b7)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 06:27:18 -07:00
Amanda Brindle
58b5f8a221 bitbake: utils.py: Add option for explode_dep_versions2 to return unsorted
Before, explode_dep_versions2 would sort the OrderedDict before
returning. This function will still sort the OrderedDict by default, but
will now have the option to return the OrderedDict unsorted. This option will
allow us to check if the order of the package list has changed.

(Bitbake rev: 39d6a30a28f66c599e18beddbd847f40dcff623c)

Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15 03:39:42 -07:00
Juro Bystricky
04575dfdbc dbus-test-ptest: improve reproducibility
Remove build host references from additional files.

(From OE-Core rev: 073d8d001033471d7fe44f52212c72a6c3541313)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-12 15:06:32 -07:00
Juro Bystricky
a5644b6811 reproducible_build_simple.bbclass: simple environment for reproducible binaries
Export environmental variables needed for binary reproducibility with consistent values.

This class can be used either directly via:
INHERIT += "reproducible_build_simple"

or can be inherited by a more complex/complete bbclass, for example a bblass which
will crack SOURCE_DATE_EPOCH for each recipe.

(From OE-Core rev: 5c2685c5ee2f8210a36b9a8591491b6af0482084)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-12 15:06:32 -07:00
Juro Bystricky
98e852983c classes/recipes: Use expanded BUILD_REPRODUCIBLE_BINARIES value
Replace the occurences of BUILD_REPRODUCIBLE_BINARIES with expanded
values ${BUILD_REPRODUCIBLE_BINARIES} so the variable does not need to be
exported.

(From OE-Core rev: 27f87bbc8395a2481ef808465a62d213a6b678ac)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-12 15:06:32 -07:00
Richard Purdie
5350ee3177 yocto-uninative: Upgrade to 1.8 version with glibc 2.27
Now distros are starting to ship glibc 2.27 we need a uninatve version
which contains glibc 2.27 which is in the 1.8 version.

(From OE-Core rev: 0a1a1daac661046b0bf287b63267d58e0ab03e8e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:02 -07:00
Alexander Kanavin
6c1f8b957d lsbinitscripts: update to 9.79
Switch to github as pkgs.fedoraproject.org is down.

(From OE-Core rev: d3a6d7895f8f68042aa5b6c3ce0dcc915f330bd6)

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>
2018-03-11 06:27:01 -07:00
Alexander Kanavin
52b6a85533 mklibs-native: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 7b1dfc0f67905435906ae806987e945134311045)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:01 -07:00
Ross Burton
5e9bd58874 attr: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 9a0465bd26a8359c8b432595589a13f295f2de2d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:01 -07:00
Ross Burton
016c527bed libunwind: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 268186429d10047796a4801baf95ae8a8f722658)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:01 -07:00
Ross Burton
1caae443ee libtiff: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 8d4dd42cf39ac33e2479cb4f9f833701d68cea62)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:01 -07:00
Ross Burton
fffb52a49b cryptodev: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: cecd562742c94f223c92bf5426148967fc9a8054)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:01 -07:00
Ross Burton
795934f307 blktrace: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 0666146a9f12c90e2b5f9fd3b03b21429fb9327c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:01 -07:00
Ross Burton
631e06643b xorg-xserver: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 77fb72c76c8a5b2229a32f36a913a3293e9d2b56)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:01 -07:00
Alexander Kanavin
5dfe5f9573 acpica: remove unnecesary no-werror.patch
It became out of date (missing newly added files), and seems no longer necessary for builds.

(From OE-Core rev: 54ca13f0dae8707a7fcbaa308dd797619defb823)

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>
2018-03-11 06:27:01 -07:00
Ross Burton
216ad55704 mesa: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 0cff8ae54066b25ffbe1efaa3f0a1d84aa89ebe1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:01 -07:00
Ross Burton
48614ce3ce drm: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 625be3dd6e3069333a3c94ca8f23129b23e4425b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:01 -07:00
Ross Burton
c47e5edb67 gtk-doc: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 3277e60b6eefb3a1c858462bc89244f6577dca52)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:01 -07:00
Ross Burton
7ef4dd124e gnome: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 9c762156d5eab1582fdd1f5000e80a0a67d46152)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:01 -07:00
Ross Burton
cb8d69d28b sysstat: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 53f2bbba35c63afa14c5fcb33b83b0ee061840ca)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:01 -07:00
Ross Burton
4adcf277bc rpcbind: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: df9b991d1f453aae4dca5558f10fd23e866778dc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:01 -07:00
Ross Burton
3c02fc2788 newt: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 8820d4ffa493d49212f4d8f2665d15c7070a7477)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:01 -07:00
Ross Burton
3f93bc6932 net-tools: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 561e89baf77741dfa5af9c645f7c471cd7b3880b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:01 -07:00
Ross Burton
24229c4769 ltp: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 040b4bb125e28750e089f631c1debb088bb3bc9f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:01 -07:00
Ross Burton
8467b0602b ethtool: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 93fca640e97643f94ef4f4a5d96c30c971058ec9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:01 -07:00
Ross Burton
8b2c0db9a0 cups: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 9f58bd731f33b90849d7d0cb8153dcfedf336ff4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:00 -07:00
Ross Burton
541711cc33 tcf-agent: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 9f77858360b33de6c4f66638fea8a8051fb6208f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:00 -07:00
Ross Burton
a857e9a6e8 ruby: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 44e650f961888b75797da8ecc23654f672c5fae6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:00 -07:00
Alexander Kanavin
0fffb6a8d8 qemu: drop already applied glibc-2.25.patch
Due to patch fuzz it was applied again in a different place.

(From OE-Core rev: c1596c6a26bc099a5f27f8a7f9feb7d07bd30cd5)

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>
2018-03-11 06:27:00 -07:00
Ross Burton
81995e2a0e qemu: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: a5c1069d2c0570186792d61151e1865642afd73a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:00 -07:00
Ross Burton
a2fdf7fb08 python: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 8a5c1328c4ea63443a92813c54bd2229c9959ff9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:00 -07:00
Ross Burton
2a0f0adf05 opkg-utils: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: ca733ba0e28d6d4c199e149ce8ae428397dfa51f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:00 -07:00
Ross Burton
19e4de6eba m4: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 87118e6a2ed6da1ceaf484c326ec6d0ac8c1b8be)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:00 -07:00
Ross Burton
bc2d5c5c1c i2c-tools: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 00677e03156228f752476520911c19d4156db8da)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:00 -07:00
Alexander Kanavin
70d20398c4 gcc: drop patch that is already upstream
Due to patch fuzz, it was applied again, so the same code sequence was
repeated twice. Not sure if that caused any bugs, but certainly wasn't
the right thing to do.

(From OE-Core rev: e3a50788bfeabbde226e280803a01dd7f765b2bc)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:00 -07:00
Ross Burton
1aff4b01aa e2fsprogs: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 6a83aca280fece30fd7c17f32f07f592f6300c6c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:00 -07:00
Alexander Kanavin
60681b118a openssl: drop openssl-1.0.2a-x32-asm.patch
The patch was applied in a completely incorrect spot (due to fuzz),
no one noticed or complained. Meanwhile upstream says the issue
has been resolved differently:
https://rt.openssl.org/Ticket/Display.html?id=3759&user=guest&pass=guest

(From OE-Core rev: 325e516b59e677dc8e2c5756589fa8037b3e9392)

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>
2018-03-11 06:27:00 -07:00
Ross Burton
5a78036d08 openssl: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 7baba7a19c5610a63ccbfd6a2238667772b32118)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:00 -07:00
Ross Burton
7187b63c19 iproute2: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 3d33f83ffa8ba2a36a03489b16292d3132f0eb27)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:00 -07:00
Ross Burton
b308fd1181 avahi: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 6c0329389ffd82552c9302d70c8b2a1dfc94ce00)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:00 -07:00
Ross Burton
6116dbfcec u-boot: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 7e8273cb55df71eaaf2cd50db076b73229ef7566)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:00 -07:00
Alexander Kanavin
ecba98085f pcmciautils: drop duplicate chunk from pcmciautils-018/makefile_race.patch
The new rule was patched into the makefile twice.

(From OE-Core rev: c52228f4d0711ab7d75f9f860f637c6351dccd63)

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>
2018-03-11 06:27:00 -07:00
Ross Burton
0b94280064 pciutils: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 7d56245a4859727f85dc5ae6f881d0783dee1ce1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:00 -07:00
Alexander Kanavin
8cec60990e devtool: add --force-patch-refresh to 'modify' and 'finish' commands
This is very useful for updating patch context so that any fuzz is eliminated.
Simply issue:

devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>

Without this flag, devtool will not deem the commits in the workspace
different to patches in the layer, even if the commits have different,
up-to-date context line in them.

(From OE-Core rev: 7e1d1887be8faaaab9996fca9a3fd750aeb7b62f)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:27:00 -07:00
Alexander Kanavin
7dce685fe4 meta/lib/oe/patch.py: do not leave .orig files if a patch isn't perfectly matching
Particularly, this was causing 'devtool modify' to erroneously add those
.orig files into commits. This was getting in the way, if the goal
was to amend/update those existing patches.

(From OE-Core rev: f4f3406c3bd9599d7a19275475d52bda4c42f2ab)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:26:59 -07:00
Khem Raj
a3e8538a38 liburcu: Explicitly add pthread options to cflags
Some architectures e.g. riscv gcc does not add -D_REENTRANT
when enabling pthreads. Help it here by adding these options
while gcc gets fixed

(From OE-Core rev: 784f4418259fe441060c134a7dcf305f4e0d4e2d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-11 06:26:59 -07:00
Khem Raj
25e442ce10 recipes: Disable lttng for riscv
(From OE-Core rev: 1e4e58d51498101e1e1b36fd4c3ad51052c15a6a)

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>
2018-03-11 06:26:59 -07:00
Khem Raj
c1e73aab77 packagegroup-core-sdk: Disable SANITIZERS for riscv64
Dont build yet

(From OE-Core rev: fa47b5e61839ae2f67f00998792a88726359af89)

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>
2018-03-11 06:26:59 -07:00
Richard Purdie
1169ee6acc e2fsprogs: Add comment on why touch is needed
Commit b32f3b655189fd89dcfce084b6fda0d379300f75 added this code
but we could do with a commit so people realise why its there.

(From OE-Core rev: e4da78229f0bd67fd34928eafe48dbdc9e8da050)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 11:10:13 -08:00
Alexander Kanavin
3beb837234 perl: remove perl-enable-gdbm.patch
The change was already present in upstream, so we just applied it
again (see bug 10450 for why).

(From OE-Core rev: 549b52d6d16ff80f1adf246e69c3adcc792d1211)

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>
2018-03-09 09:17:04 -08:00
Ross Burton
b2f7a5fbf5 perl: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: ddb2be68c713361b1024b33080bf7c160337dbe1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:04 -08:00
Ross Burton
fe9e4bbee7 python: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 0b25fcee333e6207a8596d26adfa65fec85c26df)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:04 -08:00
Alexander Kanavin
e5f5aa5604 python-numpy: update to 1.14.1
Drop backported 0001-BUG-fix-infinite-loop-when-creating-np.pad-on-an-emp.patch.

Drop 0001-BUG-fix-infinite-loop-when-creating-np.pad-on-an-emp.patch as
upstream is using os.path.basename() instead now.

License-Update: License.txt file was update to list licenses of individual components;
not all of them are 3-clause BSD.

(From OE-Core rev: c70d1c07e4e697156bd49c43e2cc800f3085b182)

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>
2018-03-09 09:17:04 -08:00
Ross Burton
d1d088db28 irda-utils: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: a3221aa92fa4423da3b70b8d673cf68be08ad922)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:04 -08:00
Ross Burton
d71a037bc4 zlib: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 10ae328607511e7092a9e6f75c8f382b7e3dd27b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:04 -08:00
Ross Burton
9528afa1f2 util-linux: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 16c27f3bb7b99193a88949eb85f3a3da725f3a6c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:04 -08:00
Ross Burton
ac91e7084f ppp: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 9f2ce622866c9766dc861561671ebb3f1c407e0b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:03 -08:00
Ross Burton
50178323e6 syslinux: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 05b59a502a03b4077208b83a4823e2012146671a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:03 -08:00
Ross Burton
9a260d32c1 mtd-utils: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: ee40781cc12d06912457316211a08ec65e059339)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:03 -08:00
Ross Burton
ed9924f814 intltool: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 1fa0faebd24740556816042f54d399baf84731b2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:03 -08:00
Ross Burton
08e76acbaf automake: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: d29d95e627b2303b835a705cb7d55d1e41ddb0a7)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:03 -08:00
Ross Burton
98e78f2e49 apt: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: a70103a6e400caaa87e1d36a7e59be7f3059a3bb)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:03 -08:00
Alexander Kanavin
e49ac3eabb iptables: drop unnecessary patches
These were adding definitions for the second time
(see bug #10450 for why) or adding an include that isn't anymore
necessary for musl builds.

(From OE-Core rev: bed5ea53c74c4b444b2145e7a83ca9fd44ea30ec)

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>
2018-03-09 09:17:03 -08:00
Ross Burton
72d33a8bd5 tcp-wrappers: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 33f90716bc9890492cc04c4abfe5506f5555d06a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:03 -08:00
Ross Burton
17ba4f4f6a parted: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: fa3180007502affabbe57cb6366be18fbb9e94f8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:03 -08:00
Ross Burton
b65741860f libpam: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 994e43acc67efeb33d859be071609daa844e9b77)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:03 -08:00
Ross Burton
12190f1779 mdadm: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 3c3f76677759156b8cd87659fb4fefb46eb87d13)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:03 -08:00
Ross Burton
712b3c172e libidn: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 8d4e250383f08e3cd53db809d718910048b9021b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:03 -08:00
Alexander Kanavin
f749fd990c ghostscript: drop incorrectly applied patch
The patch was adding a change to the source file that was already there,
so the lines of code were repeated twice. This didn't create a bug or a
security issue, but it may well have.

Long story:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450

(From OE-Core rev: 1fc1a5f392ec6773cd520cbbd19b58931c6a2d66)

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>
2018-03-09 09:17:03 -08:00
Ross Burton
4fb2ba48f2 ghostscript: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 49437de120ffdf26396fb295254f51ccc204560a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:03 -08:00
Ross Burton
1de8b49c69 ethtool: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 4ff1dbbd33b31212e8ba2bb9f269c80b5f08566c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:03 -08:00
Ross Burton
3dc8a2bef3 bash: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 33dadb98c10fdf04d9ed9b6ba57de6257873bcea)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:03 -08:00
Ross Burton
1d93df6fdd at: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 9d0c090466f97a894660e8f42b3a35a7dcd57f56)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:03 -08:00
Ross Burton
cce01dc991 xset: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 020ef81aa072c79f427111e5057d29ded849c48c)

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>
2018-03-09 09:17:03 -08:00
Ross Burton
56b56aef12 clutter: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 385d26b7f0aeb6085bd7d96332b760057bd24537)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:03 -08:00
Ross Burton
07dd613a66 wayland: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 320f03b8492e5259c45e7c59b62571d5a827ee59)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:02 -08:00
Ross Burton
b2998df084 lttng-ust: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: c6ec48b718ae674a5b362a3dbfe02420a569ad30)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:02 -08:00
Ross Burton
8b11f872de dtc: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 7c337dbd59a6f7c9bd06131e5c0ad0de51e1d1e5)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:02 -08:00
Ross Burton
0275093054 kmod: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: c94152fee766297b355fec7f6d3d4d8ba7ae5f86)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:02 -08:00
Ross Burton
27cb6b5543 gstreamer: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 923a55e5e3aaab7f11122751e1344b0d535569c0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:02 -08:00
Ross Burton
e53eebb49d libtiff: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 65155f3719051aae2a2e716c719b78ee7ca1bb29)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:02 -08:00
Ross Burton
438685084d libksba: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: f413ae03a61ad8593cc3c0dda11f2bb02cd96c25)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:02 -08:00
Ross Burton
aa0c57f6a5 libffi: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 7ae4ce08071c02beaf09675c2c1ed70617b797dd)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:02 -08:00
Ross Burton
63fe020e5e gnutls: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: ca9c8fe634ca91fe1825fae7ebb0d00021ca480b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:02 -08:00
Ross Burton
c43ff6a8b2 gmp: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 9adf817a638229d69d866fd6f8f48ee23caa6864)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:02 -08:00
Ross Burton
d1b6e1892d libical: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 91e54d9967d8237abf0cc9aab408bad9bbb4c0b7)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:02 -08:00
Ross Burton
e109e6bd7f nspr: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 684a2533a2b25b900e12f7da912a2c729d60b69d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:02 -08:00
Ross Burton
00cb0ff014 serf: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: e88a184fbefa69233e0cc86134808bce7b06d6cf)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:02 -08:00
Ross Burton
1059e17036 shared-mime-info: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: f42195493b85fbd9bdc1ae0089084669c8cd558d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:02 -08:00
Ross Burton
f38a6e35e2 grub: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 856a70cf6ca9137d5c07c2aa9ef447032589504d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:02 -08:00
Ross Burton
a2a243b49b expat: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: c74da9f2a5bd5a42f6c5791aeb4cc45973369818)

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>
2018-03-09 09:17:02 -08:00
Pascal Bach
cf4232212e kbd: avoid conflict with busybox
showkey can also be provided by busybox

(From OE-Core rev: cddf0a6233cfae1f069c617213b93d4945197eec)

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-09 09:17:02 -08:00
Bruce Ashfield
128dd9ec60 kernel: make copying of crtsavres.o conditional
As of the 4.13 kernel, there are configuration + linker combinations
that do not need (or build) crtsavres.o for ppc64 targets. The commit
of interest is:

    commit efe0160cfd40a99c052a00e174787c1f4158a9cd
    Author: Nicholas Piggin <npiggin@gmail.com>
    Date:   Fri May 12 01:56:52 2017 +1000

        powerpc/64: Linker on-demand sfpr functions for modules

        For final link, the powerpc64 linker generates fpr save/restore
        functions on-demand, placing them in the .sfpr section. Starting with
        binutils 2.25, these can be provided for non-final links with
        --save-restore-funcs. Use that where possible for module links.

        This saves about 200 bytes per module (~60kB) on powernv defconfig
        build.

        Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
        Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

As such, our arch test for crtsavres.o is not enough, we add a secondary
existence check before trying the copy.

[YOCTO #12576]

(From OE-Core rev: af58819253a2d4526dc8871a17e1492bd1d92951)

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>
2018-03-08 15:28:04 -08:00
Jason Wessel
0fa0baed74 python3: Fix install purelib to make pip3-python work properly
The oe-core version of python3 patches the purelib use directory to
the system libdir so as to make it work with multilibs properly inside
the patch fix_for_using_different_libdir.patch with:

-        'purelib': '{base}/lib/python{py_version_short}/site-packages',
+        'purelib': '{base}/'+sys.lib+'/python{py_version_short}/site-packages',

The problem is that this broke the pip3-python package because the
install directory is out of sync when using a multilib version of
python.  When ever a module is installed with pip3 install that is a
purelib it will get installed to a location that python3 will never
reference and cause random failures.

This patch fixes the purelib install directory to match the purelib
use directory for externally managed python modules when using
multilibs.

(From OE-Core rev: 45afadf0b652922f9e60c5a778acd3612da83306)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-08 10:39:33 -08:00
Niko Mauno
0d4459e708 package_manager.py: Explicit complementary fail
When running bitbake -c populate_sdk <image_name>, it is expected that
packages matching SDKIMAGE_INSTALL_COMPLEMENTARY name mask (unless
declared in PACKAGE_EXCLUDE_COMPLEMENTARY) are installed to resulting
SDK. Underlying mechanism issues a package manager install call for set
of complementary packages. However the mechanism doesn't seem to inform
the user all too obviously in case the package manager command behind
install_complementary() method fails -- and since it is combined with
attempt_only=True option, user might end up wondering why several *-dev,
*-dbg packages are missing from resulting SDK.

Improve associated install() method behaviour in affected OpkgPM and
DpkgPM classes so that a problematic state of affairs becomes directly
obvious for bitbake user, resulting in shell output like:

  WARNING: someimage-1.0-r0 do_populate_sdk: Unable to install packages.
  Command '...' returned 1:
  Collected errors:
   * Solver encountered 1 problem(s):
   * Problem 1/1:
   *   - package somepkg-dev-1.0-r0.x86 requires somepkg = 1.0-r0, but
         none of the providers can be installed
   *
   * Solution 1:
   *   - allow deinstallation of someotherpkg-1.1-r1.x86

   *   - do not ask to install a package providing somepkg-dev

   * Solution 2:
   *   - do not ask to install a package providing somepkg-dev

(From OE-Core rev: 2502bd591c37bf532d02dc6b37fc1e8b5224fb0a)

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>
2018-03-08 10:39:33 -08:00
Bruce Ashfield
8e3839ce26 linux-yocto/4.12: warning: drm/i915/cfl: Coffee Lake works on Kaby Lake PCH
Integrating the following warning backport:

    commit eb371933cf4d3495d0899880b2e0e252ce9db517 upstream.

    Coffee Lake CPU on Kaby Lake PCH is possible.
    It does exist, and it does work.

    The only missed case was this warning here noticed
    by Wendy who could get one system with this configuration
    and reported the issue for us:

    Hardware Configuration
    Board ID KBL S DDR4 UDIMM EV CRB
    Processor    Intel® Processor code named Coffee Lake S, (6+2), 6 cores 12 threads, GT2, A0 (Internal) (QNJ4)

    [ 3.220585] WARNING: CPU: 10 PID: 206 at drivers/gpu/drm/i915/i915_drv.c:340 i915_driver_load+0x1210/0x1660 [i915]
    [ 3.221312] Modules linked in: hid_generic usbhid i915 i2c_algo_bit drm_kms_helper e1000e syscopyarea sysfillrect sysimgblt nvme fb_sys_fops ptp ahci i2c_hid drm pps_core nvme_core libahci wmi hid video
    [ 3.222050] CPU: 10 PID: 206 Comm: systemd-udevd Not tainted 4.13.0-rc5-intel-next+ #1
    [ 3.222706] Hardware name: Intel Corporation Kabylake Client platform/KBL S DDR4 UDIMM EV CRB, BIOS KBLSE2R1.R00.X089.P00.1705051000 05/05/2017

    Cc: Wendy Wang <wendy.wang@intel.com>
    Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
    Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
    Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20170821235056.9015-1-rodrigo.vivi@intel.com
    Signed-off-by: Liwei Song <liwei.song@windriver.com>

(From OE-Core rev: 62acf087dca83ff094b1c0300b5752978807ca17)

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>
2018-03-08 10:39:33 -08:00
Bruce Ashfield
a7c9bc7020 linux-yocto: aufs and systemtap
Integrating a configuration change for systemtap:

  features/systemtap/systemtap.cfg: enable CONFIG_KERNEL_DEBUG

And porting the aufs warning fix to 4.14 and 4.15:

  aufs: fix compile warning

(From OE-Core rev: db2a8c827332c0837d029e99b210036218f8f9dc)

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>
2018-03-08 10:39:33 -08:00
Bruce Ashfield
3a8cce8b5c linux-yocto/4.12: memleak and build warning fixes
Integrating the warning/leak fixes:

  73873cb152c brd: remove unused brd_mutex
  912c53b1b346 audit: fix memleak in auditd_send_unicast_skb.

(From OE-Core rev: 4aec8f304216d5427f22d4a72f9f39be097513cb)

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>
2018-03-08 10:39:33 -08:00
Bruce Ashfield
266b2d16fc linux-yocto/4.12: fix aufs compile warning
From: "Kexin(Casey) Chen" <Casey.Chen@windriver.com>

   Forward port linux-yocto-4.8's patch to fix the build warning.

       http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.8/commit/?h=standard/base&id=7e0dd2f2b0971f0e3191e1ddc088e09eb9855567

   fs/aufs/debug.h:95:19: warning: comparison of constant '0'
   with boolean expression is always false [-Wbool-compare]
      if (unlikely((e) < 0)) \
                    ^

   fs/aufs/vdir.c:852:2: note: in expansion of macro 'AuTraceErr'
      AuTraceErr(!valid);
      ^~~~~~~~~~

   In expansion of AuTraceErr(!valid), comparison of (!valid)
   and constant '0' always passes unlikely(x) false. function
   'static int seek_vdir(struct file *file, struct dir_context *ctx)'
   is to find whether there is a valid vd_deblk following ctx->pos.
   return 1 means valid, 0 for not. Change to AuTraceErr(valid - 1)
   makes more sense.

   Signed-off-by: Kexin(Casey) Chen <Casey.Chen@windriver.com>
   Signed-off-by: Dengke Du <dengke.du@windriver.com>

(From OE-Core rev: 1ba624ec410b13da9645efe7bc72908195c08259)

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>
2018-03-08 10:39:33 -08:00
Bruce Ashfield
b4992cf036 linux-yocto/4.14: update to v4.14.24
Updating the korg stable release which comprises the following commits:

   6e4548ea58e6 Linux 4.14.24
   ab5d9d1751bc net: sched: fix use-after-free in tcf_block_put_ext
   ac2be03ba64f net_sched: get rid of rcu_barrier() in tcf_block_put_ext()
   1c8e7e61cbdf net: sched: crash on blocks with goto chain action
   b6b42b3d2d95 net: sched: fix crash when deleting secondary chains
   bc44a1bbd131 arm64: dts: marvell: mcbin: add comphy references to Ethernet ports
   d8cf635c9142 arm64: dts: marvell: add comphy nodes on cp110 master and slave
   27245fc6f7a8 powerpc/pseries: Enable RAS hotplug events later
   60190108f7e2 MIPS: Implement __multi3 for GCC7 MIPS64r6 builds
   819cbaae314e mlxsw: pci: Wait after reset before accessing HW
   3d23aaff9e55 nfp: always unmask aux interrupts at init
   e69660fdecda of_mdio: avoid MDIO bus removal when a PHY is missing
   83d9e9c211fe net: gianfar_ptp: move set_fipers() to spinlock protecting area
   00c840f3b51c sctp: make use of pre-calculated len
   413e58ac3d84 sctp: add a ceiling to optlen in some sockopts
   cd659881219d xen/gntdev: Fix partial gntdev_mmap() cleanup
   5aee2c142e3d xen/gntdev: Fix off-by-one error when unmapping with holes
   197faf0c3a14 SolutionEngine771x: fix Ether platform data
   f5ac846ba15f mdio-sun4i: Fix a memory leak
   84ada11975b7 xen-netfront: enable device after manual module load
   0e29d0bac356 bnxt_en: Fix the 'Invalid VF' id check in bnxt_vf_ndo_prep routine.
   a74e2cb46cdb bnxt_en: Fix population of flow_type in bnxt_hwrm_cfa_flow_alloc()
   4a33ecfb67b9 x86/platform/intel-mid: Revert "Make 'bt_sfi_data' const"
   fa10314f23bc nvme-fabrics: initialize default host->id in nvmf_host_default()
   5e1311a13449 powerpc/pseries: Make RAS IRQ explicitly dependent on DLPAR WQ
   9024bb7e27d2 leds: core: Fix regression caused by commit 2b83ff96f51d
   be2b86901a34 bpf: sockmap missing NULL psock check
   5ac98131312a ia64, sched/cputime: Fix build error if CONFIG_VIRT_CPU_ACCOUNTING_NATIVE=y
   7e3acce11e08 block: drain queue before waiting for q_usage_counter becoming zero
   91c12917d4a8 wcn36xx: Fix dynamic power saving
   3f39cc7fe90b can: flex_can: Correct the checking for frame length in flexcan_start_xmit()
   0f258cc64f4e mac80211: mesh: drop frames appearing to be from us
   c38bd3a9fe11 nl80211: Check for the required netlink attribute presence
   d66a35c2a1fa net: ena: unmask MSI-X only after device initialization is completed
   aae87222cc9c i40e: don't remove netdev->dev_addr when syncing uc list
   0f51f3cf99df i40e/i40evf: Account for frags split over multiple descriptors in check linearize
   1edfa41adb10 uapi libc compat: add fallback for unsupported libcs
   5c9da1201713 x86/efi: Fix kernel param add_efi_memmap regression
   935454915c33 RDMA/netlink: Fix locking around __ib_get_device_by_index
   7cbd67344e05 drm/ttm: check the return value of kzalloc
   d31d0cf5a980 NET: usb: qmi_wwan: add support for YUGA CLM920-NC5 PID 0x9625
   49a8f703725e e1000: fix disabling already-disabled warning
   f22fec25935d macvlan: Fix one possible double free
   4d3d428c56a0 xfs: quota: check result of register_shrinker()
   4def40b2ee02 xfs: quota: fix missed destroy of qi_tree_lock
   ba28394c579b IB/ipoib: Fix race condition in neigh creation
   67851c9381a1 IB/mlx4: Fix mlx4_ib_alloc_mr error flow
   9d27ab346384 Input: xen-kbdfront - do not advertise multi-touch pressure support
   4132ec352700 ip6_tunnel: allow ip6gre dev mtu to be set below 1280
   d4727e485a1d btrfs: Fix flush bio leak
   4c6652a08139 s390/dasd: fix wrongly assigned configuration data
   622ded58410c afs: Fix missing error handling in afs_write_end()
   4ebaea9e65d2 genirq: Guard handle_bad_irq log messages
   1fd2d40b4667 IB/mlx5: Fix mlx5_ib_alloc_mr error flow
   c2acc8859138 led: core: Fix brightness setting when setting delay_off=0
   6b800ce9ee84 perf/x86/intel: Plug memory leak in intel_pmu_init()
   2f4c6c045305 bnx2x: Improve reliability in case of nested PCI errors
   9f00176d7c5e tg3: Enable PHY reset in MTU change path for 5720
   2c0d89a27335 tg3: Add workaround to restrict 5762 MRRS to 2048
   575650b6566b tipc: fix tipc_mon_delete() oops in tipc_enable_bearer() error path
   831923622a59 tipc: error path leak fixes in tipc_enable_bearer()
   cbc3dbfe4f37 netfilter: nf_tables: fix potential NULL-ptr deref in nf_tables_dump_obj_done()
   cdbde4c04c5c crypto: inside-secure - fix request allocations in invalidation path
   7cc6e8415d23 crypto: inside-secure - free requests even if their handling failed
   0971f188da94 crypto: inside-secure - per request invalidation
   0653ba0580ae arm64: dts: renesas: ulcb: Remove renesas, no-ether-link property
   22d5e20c6a55 lib/mpi: Fix umul_ppmm() for MIPS64r6
   36d0a678fb25 crypto: af_alg - Fix race around ctx->rcvused by making it atomic_t
   99b329b4611a ARM: dts: ls1021a: fix incorrect clock references
   8164587e5262 RDMA/vmw_pvrdma: Call ib_umem_release on destroy QP path
   831c169c9bac i915: Reject CCS modifiers for pipe C on Geminilake
   8a5c84b1055a netfilter: uapi: correct UNTRACKED conntrack state bit number
   b7b0385937fa scsi: storvsc: Fix scsi_cmd error assignments in storvsc_handle_error
   e2f52fa3f8d6 netfilter: nf_tables: fix chain filter in nf_tables_dump_rules()
   def8d0ae4ac9 xen/balloon: Mark unallocated host memory as UNUSABLE
   caca324f9373 ASoC: rsnd: fixup ADG register mask
   43da2bcade2a net/mlx5: Stay in polling mode when command EQ destroy fails
   a2cfb1c664c3 net/mlx5: Cleanup IRQs in case of unload failure
   9a472c211291 net/mlx5e: Fix ETS BW check
   11be1c24a60d net: stmmac: Fix bad RX timestamp extraction
   06dcd2d77a01 net: stmmac: Fix TX timestamp calculation
   3eeac1d10a1b ip6_tunnel: get the min mtu properly in ip6_tnl_xmit
   5dc4cbcfb5f2 ip6_gre: remove the incorrect mtu limit for ipgre tap
   212ea3380bbb ip_gre: remove the incorrect mtu limit for ipgre tap
   4699beb77127 vxlan: update skb dst pmtu on tx path
   26e6b9f0be83 net: arc_emac: fix arc_emac_rx() error paths
   9b72f8c448ec net: mediatek: setup proper state for disabled GMAC on the default
   c7f40ff40061 x86-64/Xen: eliminate W+X mappings
   54c153a0847b staging: ion: Fix ion_cma_heap allocations
   d61a373f4344 cgroup: Fix deadlock in cpu hotplug path
   56d80186a5ac ASoC: nau8825: fix issue that pop noise when start capture
   3cf652bedcb9 spi: atmel: fixed spin_lock usage inside atmel_spi_remove
   52a63f35cd70 mac80211_hwsim: Fix a possible sleep-in-atomic bug in hwsim_get_radio_nl
   647ed111f78f x86/stacktrace: Make zombie stack traces reliable
   e095ecaec6d9 xfrm: Reinject transport-mode packets through tasklet
   e677319068b0 drm/nouveau/pci: do a msi rearm on init
   0b9aeeb6070e net: phy: xgene: disable clk on error paths
   ac4dc9f1af33 sget(): handle failures of register_shrinker()
   60f1c1f27992 sctp: fix the issue that a __u16 variable may overflow in sctp_ulpq_renege
   c8b8dd735938 x86/asm: Allow again using asm.h when building for the 'bpf' clang target
   ba9443c55f36 ARM: 8731/1: Fix csum_partial_copy_from_user() stack mismatch
   ae3471f65a04 parisc: Reduce thread stack to 16 kb
   4b2e0f099619 ipv6: icmp6: Allow icmp messages to be looped back
   6de1b002a29f mtd: nand: brcmnand: Zero bitflip is not an error
   f485259011ad mtd: nand: gpmi: Fix failure when a erased page has a bitflip at BBM
   14862bfbffd9 net: usb: qmi_wwan: add Telit ME910 PID 0x1101 support
   043309fb5106 net: aquantia: Fix hardware DMA stream overload on large MRRS
   dabd233b757d net: aquantia: Fix actual speed capabilities reporting
   fbd047ffcccf nvme: check hw sectors before setting chunk sectors
   a1aef5ce2abe nvme-fc: remove double put reference if admin connect fails
   4d9f62729178 phy: cpcap-usb: Fix platform_get_irq_byname's error checking.
   959f6a0906d5 dmaengine: fsl-edma: disable clks on all error paths
   7cfa95893cbb scsi: aacraid: Fix I/O drop during reset
   647a37ec1a17 mm/frame_vector.c: release a semaphore in 'get_vaddr_frames()'
   7edaa9afb923 exec: avoid gcc-8 warning for get_task_comm
   f92679fee6ad hrtimer: Ensure POSIX compliance (relative CLOCK_REALTIME hrtimers)
   267ef1d33284 Linux 4.14.23
   ac3d021048be microblaze: fix endian handling
   9ce9f4e4a543 m32r: fix endianness constraints
   821e97898016 drm/i915/breadcrumbs: Ignore unsubmitted signalers
   1f0ffdc67108 drm/amdgpu: add new device to use atpx quirk
   4517799bf655 drm/amdgpu: Avoid leaking PM domain on driver unbind (v2)
   14fdf4448277 drm/amdgpu: add atpx quirk handling (v2)
   30537deb089c drm/amdgpu: only check mmBIF_IOV_FUNC_IDENTIFIER on tonga/fiji
   46c1e4023b58 drm/amdgpu: Add dpm quirk for Jet PRO (v2)
   68de83c13b30 drm/amdgpu: disable MMHUB power gating on raven
   8ac8aa5eba0e drm: Handle unexpected holes in color-eviction
   5c9beaf3aca7 drm/cirrus: Load lut in crtc_commit
   faf1a75046cb usb: renesas_usbhs: missed the "running" flag in usb_dmac with rx path
   51aba4e16ccc usb: gadget: f_fs: Use config_ep_by_speed()
   6e936140e0d7 usb: gadget: f_fs: Process all descriptors during bind
   7551ff0ab230 Revert "usb: musb: host: don't start next rx urb if current one failed"
   7e402ea2cdc2 usb: ldusb: add PIDs for new CASSY devices supported by this driver
   a1e8aa2176d2 usb: dwc3: ep0: Reset TRB counter for ep0 IN
   49e18b2ba887 usb: dwc3: gadget: Set maxpacket size for ep0 IN
   1075f6078692 usb: host: ehci: use correct device pointer for dma ops
   3b5061ec6fca drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA
   f74ddc2e6152 Add delay-init quirk for Corsair K70 RGB keyboards
   21aadb063e70 arm64: cpufeature: Fix CTR_EL0 field definitions
   6842a512ad16 arm64: Disable unhandled signal log messages by default
   96e99291728f arm64: Remove unimplemented syscall log message
   7e8407d1462d usb: ohci: Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()
   85c3d26bd754 ohci-hcd: Fix race condition caused by ohci_urb_enqueue() and io_watchdog_func()
   50f80b646a2b PCI/cxgb4: Extend T3 PCI quirk to T4+ devices
   4a665d628f93 irqchip/mips-gic: Avoid spuriously handling masked interrupts
   bc4704f507cd irqchip/gic-v3: Use wmb() instead of smb_wmb() in gic_raise_softirq()
   62160e348e89 mm, swap, frontswap: fix THP swap if frontswap enabled
   7a14562d6e2c x86/oprofile: Fix bogus GCC-8 warning in nmi_setup()
   0b82d316fa5b Kbuild: always define endianess in kconfig.h
   6315213f0a78 iio: adis_lib: Initialize trigger before requesting interrupt
   9dc4030c87b7 iio: buffer: check if a buffer has been set up when poll is called
   1b985a6e8d4d iio: srf08: fix link error "devm_iio_triggered_buffer_setup" undefined
   f4f94e9baeba iio: adc: stm32: fix stm32h7_adc_enable error handling
   2492eca0a05b RDMA/uverbs: Sanitize user entered port numbers prior to access it
   84205f964bcc RDMA/uverbs: Fix circular locking dependency
   aaa1915e3d2c RDMA/uverbs: Fix bad unlock balance in ib_uverbs_close_xrcd
   f3d66d43500c RDMA/uverbs: Protect from command mask overflow
   da768ed845a5 RDMA/uverbs: Protect from races between lookup and destroy of uobjects
   606f74e3d01b extcon: int3496: process id-pin first so that we start with the right status
   29e76b211e92 PKCS#7: fix certificate blacklisting
   1a1f7f726bd8 PKCS#7: fix certificate chain verification
   99b2095ac71e X.509: fix NULL dereference when restricting key with unsupported_sig
   dcb04cc79483 X.509: fix BUG_ON() when hash algorithm is unsupported
   fa465cd56813 i2c: bcm2835: Set up the rising/falling edge delays
   3e1d63cc7a5f i2c: designware: must wait for enable
   ebaefbdaf552 cfg80211: fix cfg80211_beacon_dup
   2f9eed6e3772 MIPS: Drop spurious __unused in struct compat_flock
   4fc16629e9bc scsi: ibmvfc: fix misdefined reserved field in ibmvfc_fcp_rsp_info
   53c86c2d90c6 xtensa: fix high memory/reserved memory collision
   9428e622eca7 MIPS: boot: Define __ASSEMBLY__ for its.S build
   b3aff5c3b2a1 kconfig.h: Include compiler types to avoid missed struct attributes
   35d75b7bfc67 arm64: mm: don't write garbage into TTBR1_EL1 register
   485595768d89 netfilter: drop outermost socket lock in getsockopt()
   55b195735142 Linux 4.14.22
   c902ff1e4b25 vmalloc: fix __GFP_HIGHMEM usage for vmalloc_32 on 32b systems
   eff339b5d250 mei: me: add cannon point device ids for 4th device
   06320148eecd mei: me: add cannon point device ids
   95c085388397 crypto: s5p-sss - Fix kernel Oops in AES-ECB mode
   fc4cb30f2cd5 drm/i915: fix intel_backlight_device_register declaration
   68a2a5204760 crypto: talitos - fix Kernel Oops on hashing an empty file
   e94fc847bd6e hippi: Fix a Fix a possible sleep-in-atomic bug in rr_close
   385aeea71289 powerpc/perf/imc: Fix nest-imc cpuhotplug callback failure
   473900cd523a PCI: rcar: Fix use-after-free in probe error path
   73974676f802 xen: XEN_ACPI_PROCESSOR is Dom0-only
   8babb5320885 platform/x86: dell-laptop: Fix keyboard max lighting for Dell Latitude E6410
   721d4b02495c x86/mm/kmmio: Fix mmiotrace for page unaligned addresses
   d91c3f2e540f mm/early_ioremap: Fix boot hang with earlyprintk=efi,keep
   abe8e59ab2f2 usb: dwc3: of-simple: fix missing clk_disable_unprepare
   98b35258b394 usb: dwc3: gadget: Wait longer for controller to end command processing
   58d3cc9687f5 dmaengine: jz4740: disable/unprepare clk if probe fails
   4826773306b5 drm/vc4: Release fence after signalling
   645ad410dcbd ASoC: rsnd: ssi: fix race condition in rsnd_ssi_pointer_update
   06078bd640c3 drm/armada: fix leak of crtc structure
   20db5b3e3da3 xfrm: Fix stack-out-of-bounds with misconfigured transport mode policies.
   1840744a7f2e IB/mlx4: Fix RSS hash fields restrictions
   8edeefab9ef2 spi: sun4i: disable clocks in the remove function
   e8e50037b6de ASoC: rockchip: disable clock on error
   5be88596c7b0 staging: ccree: Uninitialized return in ssi_ahash_import()
   30fe9f094c17 clk: fix a panic error caused by accessing NULL pointer
   03e82f2b2157 netfilter: xt_bpf: add overflow checks
   c232fd3d7034 xfrm: Fix xfrm_input() to verify state is valid when (encap_type < 0)
   05fc2b8ba00a dmaengine: at_hdmac: fix potential NULL pointer dereference in atc_prep_dma_interleaved
   27e2830b3115 dmaengine: ioat: Fix error handling path
   249d9f3ef5e9 scsi: bfa: fix type conversion warning
   e748a5ea4ff2 scsi: bfa: fix access to bfad_im_port_s
   dd079e26a0e4 scsi: lpfc: Use after free in lpfc_rq_buf_free()
   9b8ffbead22d gianfar: Disable EEE autoneg by default
   f2f12ea19fae 509: fix printing uninitialized stack memory when OID is empty
   9c65a55722ac net: dsa: mv88e6xxx: Unregister MDIO bus on error path
   0ef99ba03888 net: dsa: mv88e6xxx: Fix interrupt masking on removal
   74875198a68e net: ethernet: arc: fix error handling in emac_rockchip_probe
   f04764307af8 virtio_net: fix return value check in receive_mergeable()
   64313a130c3d brcmfmac: Avoid build error with make W=1
   90b0805d6085 btrfs: Fix possible off-by-one in btrfs_search_path_in_tree
   27b0dc31686b Btrfs: disable FUA if mounted with nobarrier
   8edc5b9772d0 btrfs: Fix quota reservation leak on preallocated files
   a59eb84df2b7 locking/lockdep: Fix possible NULL deref
   0aeed5daaf62 net: qualcomm: rmnet: Fix leak on transmit failure
   8172a467adae KVM: VMX: fix page leak in hardware_setup()
   034ddb54c33e VSOCK: fix outdated sk_state value in hvs_release()
   8001a37b83c4 net_sched: red: Avoid illegal values
   e428e8ce3a00 net_sched: red: Avoid devision by zero
   6e95c4f92177 gianfar: fix a flooded alignment reports because of padding issue.
   4bbd45c38ed6 nfp: fix port stats for mac representors
   45f9e44667c1 ARM: dts: Fix elm interrupt compiler warning
   29c9acbc7463 s390/dasd: prevent prefix I/O error
   dfb48332d602 s390/virtio: add BSD license to virtio-ccw
   0b028b06afc9 PM / runtime: Fix handling of suppliers with disabled runtime PM
   8b9d371a8c01 powerpc/perf: Fix oops when grouping different pmu events
   30791140de21 m68k: add missing SOFTIRQENTRY_TEXT linker section
   ae5a0acea273 ipvlan: Add the skb->mark as flow4's member to lookup route
   b35e7321347a bnxt_en: Need to unconditionally shut down RoCE in bnxt_shutdown
   9537ff76fa06 scripts/kernel-doc: Don't fail with status != 0 if error encountered with -none
   b0d049e91314 iio: fix kernel-doc build errors
   4c5ae538b3da iio: proximity: sx9500: Assign interrupt from GpioIo()
   567c1f767ef4 md/raid1/10: add missed blk plug
   86659fbb32a5 phylink: ensure we take the link down when phylink_stop() is called
   778e7124f71d sfp: fix RX_LOS signal handling
   7a7bcee6d73c sctp: only update outstanding_bytes for transmitted queue when doing prsctp_prune
   559be170a470 md/raid5: correct degraded calculation in raid5_error
   2ded534c9074 IB/core: Init subsys if compiled to vmlinuz-core
   1ffc1b361ac2 RDMA/cma: Make sure that PSN is not over max allowed
   f917b1c60e4a i40iw: Correct ARP index mask
   03f23424aa2b i40iw: Do not free sqbuf when event is I40IW_TIMER_TYPE_CLOSE
   f10f5b89c136 i40iw: Allocate a sdbuf per CQP WQE
   97ef3a5027b0 KVM: arm/arm64: Fix spinlock acquisition in vgic_set_owner
   2117bba3cfbb meson-gx-socinfo: Fix package id parsing
   844dfa1b4188 IB/hfi1: Initialize bth1 in 16B rc ack builder
   04521caaea96 pinctrl: sunxi: Fix A64 UART mux value
   b1f0445d07f3 pinctrl: sunxi: Fix A80 interrupt pin bank
   073cd31e2fd1 gpio: davinci: Assign first bank regs for unbanked case
   4c194e5b0d90 gpio: 74x164: Fix crash during .remove()
   d4ec37fab600 net: mvpp2: allocate zeroed tx descriptors
   801f3b0c40da media: ov13858: Select V4L2_FWNODE
   b8c033b1f4bf media: s5k6aa: describe some function parameters
   2dc548c0671d trace/xdp: fix compile warning: 'struct bpf_map' declared inside parameter list
   49a3efa81147 kvm: arm: don't treat unavailable HYP mode as an error
   c05bbe5dc862 pinctrl: denverton: Fix UART2 RTS pin mode
   6f8a0b09520b perf test: Fix test 21 for s390x
   8b6c6ab154b9 perf bench numa: Fixup discontiguous/sparse numa nodes
   7efaeefce5c9 perf top: Fix window dimensions change handling
   984d85a69da9 perf: Fix header.size for namespace events
   475e6b835d8c perf test shell: Fix check open filename arg using 'perf trace' on s390x
   863b61caaeb8 perf annotate: Do not truncate instruction names at 6 chars
   182d948c7ae9 perf help: Fix a bug during strstart() conversion
   bfb3906919d1 perf record: Fix -c/-F options for cpu event aliases
   761036954596 ARM: dts: am437x-cm-t43: Correct the dmas property of spi0
   a1fd303e1e41 ARM: dts: am4372: Correct the interrupts_properties of McASP
   c601b98e14df ARM: dts: logicpd-somlv: Fix wl127x pinmux
   90e4395ca72d ARM: dts: logicpd-som-lv: Fix gpmc addresses for NAND and enet
   104df4374d5d ARM: dts: Fix omap4 hang with GPS connected to USB by using wakeupgen
   17e712b1294a ARM: AM33xx: PRM: Remove am33xx_pwrdm_read_prev_pwrst function
   b59a1da647f1 ARM: OMAP2+: Fix SRAM virt to phys translation for save_secure_ram_context
   2ba11e4309b5 serdev: fix receive_buf return value when no callback
   371cf4043b29 usb: build drivers/usb/common/ when USB_SUPPORT is set
   c276379fa715 usbip: keep usbip_device sockfd state in sync with tcp_socket
   d74450a91a4a staging: iio: ad5933: switch buffer mode to software
   5ccf5138bd10 staging: iio: adc: ad7192: fix external frequency setting
   6648ab4f03c0 staging: fsl-mc: fix build testing on x86
   b46af094b82a binder: replace "%p" with "%pK"
   047ba51a55e3 binder: check for binder_thread allocation failure in binder_poll()
   95f9c2edcbae staging: android: ashmem: Fix a race condition in pin ioctls
   441b5d10e460 ANDROID: binder: synchronize_rcu() when using POLLFREE.
   129926c3756a ANDROID: binder: remove WARN() for redundant txn error
   f6b581e3db4a dn_getsockoptdecnet: move nf_{get/set}sockopt outside sock lock
   80b1c636a72b arm64: dts: add #cooling-cells to CPU nodes
   225fcdd0e33b ARM: 8743/1: bL_switcher: add MODULE_LICENSE tag
   52d4c1978cb4 video: fbdev/mmp: add MODULE_LICENSE
   1f4f5777e5fa ASoC: ux500: add MODULE_LICENSE tag
   14b2ad0bb2fa net_sched: gen_estimator: fix lockdep splat
   701ba0df9520 net: avoid skb_warn_bad_offload on IS_ERR
   83ee02de2c8d rds: tcp: atomically purge entries from rds_tcp_conn_list during netns delete
   c64534f82608 rds: tcp: correctly sequence cleanup on netns deletion.
   6e12516df136 netfilter: xt_RATEEST: acquire xt_rateest_mutex for hash insert
   be6c08bf9aea netfilter: xt_cgroup: initialize info->priv in cgroup_mt_check_v1()
   516c855cf514 netfilter: on sockopt() acquire sock lock only in the required scope
   2852a7dd15fe netfilter: ipt_CLUSTERIP: fix out-of-bounds accesses in clusterip_tg_check()
   f25f048d3bde netfilter: x_tables: avoid out-of-bounds reads in xt_request_find_{match|target}
   6609d112229f netfilter: x_tables: fix int overflow in xt_alloc_table_info()
   4249e8af8108 kcov: detect double association with a single task
   7b5ec5505945 KVM: x86: fix escape of guest dr6 to the host
   2cc50a1946e6 blk_rq_map_user_iov: fix error override
   2c565a9538a1 staging: android: ion: Switch from WARN to pr_warn
   747ad3d31592 staging: android: ion: Add __GFP_NOWARN for system contig heap
   392e03283a3d crypto: x86/twofish-3way - Fix %rbp usage
   9bae74042eb1 media: pvrusb2: properly check endpoint types
   ca181454e726 selinux: skip bounded transition processing if the policy isn't loaded
   116df867dbc1 selinux: ensure the context is NUL terminated in security_context_to_sid_core()
   b517942f5126 ptr_ring: try vmalloc() when kmalloc() fails
   6688494804d8 ptr_ring: fail early if queue occupies more than KMALLOC_MAX_SIZE
   73e6a383d150 ALSA: bcd2000: Add a sanity check for invalid EPs
   b43a3e21937c ALSA: caiaq: Add a sanity check for invalid EPs
   90bca3712acb ALSA: line6: Add a sanity check for invalid EPs
   8c666e6471ac drm: Require __GFP_NOFAIL for the legacy drm_modeset_lock_all
   3587188ad596 dnotify: Handle errors from fsnotify_add_mark_locked() in fcntl_dirnotify()
   90f9a1ff1e8e blktrace: fix unlocked registration of tracepoints
   2df0d6de5eff sctp: set frag_point in sctp_setsockopt_maxseg correctly
   4d4d55665f32 xfrm: check id proto in validate_tmpl()
   70c5e41f4734 xfrm: Fix stack-out-of-bounds read on socket policy lookup.
   d6b36a2616ab RDMA/netlink: Fix general protection fault
   846666fad8d7 KVM/x86: Check input paging mode when cs.l is set
   7880fc541566 mm,vmscan: Make unregister_shrinker() no-op if register_shrinker() failed.
   8e754b4ec589 xfrm: skip policies marked as dead while rehashing
   e8370258ca0b xfrm: fix rcu usage in xfrm_get_type_offload
   85c31887a20d xfrm: don't call xfrm_policy_cache_flush while holding spinlock
   201941360944 esp: Fix GRO when the headers not fully in the linear part of the skb.
   447f1170c23b mac80211_hwsim: validate number of different channels
   b9e441e2e634 cfg80211: check dev_set_name() return value
   ddf0936b9eef bpf: mark dst unknown on inconsistent {s, u}bounds adjustments
   6c0b71202f83 kcm: Only allow TCP sockets to be attached to a KCM mux
   44890e9ff771 kcm: Check if sk_user_data already set in kcm_attach
   ed25667f3303 vhost: use mutex_lock_nested() in vhost_dev_lock_vqs()
   ebf7d035c39a usb: core: Add a helper function to check the validity of EP type in URB
   58056a531e44 Linux 4.14.21
   e506ac1dab86 ovl: hash directory inodes for fsnotify
   f1a81c0eab38 ASoC: acpi: fix machine driver selection based on quirk
   9a2b3777bd53 mmc: sdhci-of-esdhc: fix the mmc error after sleep on ls1046ardb
   44e47693e3a6 mmc: sdhci-of-esdhc: fix eMMC couldn't work after kexec
   ffe075e233bb mmc: sdhci-of-esdhc: disable SD clock for clock value 0
   11785a9ece1b media: r820t: fix r820t_write_reg for KASAN
   bbd577fec485 ARM: dts: Delete bogus reference to the charlcd
   5782df0a58b6 arm: dts: mt2701: Add reset-cells
   011c19041424 arm: dts: mt7623: Update ethsys binding
   7367af9cf0e4 ARM: dts: s5pv210: add interrupt-parent for ohci
   34aac3426553 arm64: dts: msm8916: Add missing #phy-cells
   361bd5be7b84 ARM: pxa/tosa-bt: add MODULE_LICENSE tag
   f5eab7c3d100 ARM: dts: exynos: fix RTC interrupt for exynos5410
   dcdc01c2edd4 Bluetooth: BT_HCIUART now depends on SERIAL_DEV_BUS
   875758d79d8f scsi: core: check for device state in __scsi_remove_target()
   26f8c38bb466 x86/mm, mm/hwpoison: Don't unconditionally unmap kernel 1:1 pages
   e4ea7c12229c usb: Move USB_UHCI_BIG_ENDIAN_* out of USB_SUPPORT
   ac98d5a624fe mvpp2: fix multicast address filter
   7466294dad89 ALSA: seq: Fix racy pool initializations
   ec5a08abefe6 ALSA: usb: add more device quirks for USB DSD devices
   e1b13eb16c98 ALSA: usb-audio: add implicit fb quirk for Behringer UFX1204
   de3e81917564 ALSA: hda/realtek: PCI quirk for Fujitsu U7x7
   81ae4f7479f9 ALSA: hda/realtek - Enable Thinkpad Dock device for ALC298 platform
   5640397f06ad ALSA: hda/realtek - Add headset mode support for Dell laptop
   8f65cd77c97c ALSA: usb-audio: Fix UAC2 get_ctl request with a RANGE attribute
   c0cf529a8f4d ALSA: hda - Fix headset mic detection problem for two Dell machines
   bc74262f3a65 mtd: nand: vf610: set correct ooblayout
   8a8c9588c289 9p/trans_virtio: discard zero-length reply
   61c07810bf2e Btrfs: fix unexpected -EEXIST when creating new inode
   f30c7d95b4eb Btrfs: fix use-after-free on root->orphan_block_rsv
   1371798b92c8 Btrfs: fix btrfs_evict_inode to handle abnormal inodes correctly
   9a701c4fa563 Btrfs: fix extent state leak from tree log
   fda3bb933b33 Btrfs: fix crash due to not cleaning up tree log block's dirty bits
   c766cb48771b Btrfs: fix deadlock in run_delalloc_nocow
   f6318abd3a54 dm: correctly handle chained bios in dec_pending()
   c8d0f63c1585 iscsi-target: make sure to wake up sleeping login worker
   4cbb9fdf133c target/iscsi: avoid NULL dereference in CHAP auth error path
   0528a533f368 blk-wbt: account flush requests correctly
   67154fb80121 xprtrdma: Fix BUG after a device removal
   84b41e3708ac xprtrdma: Fix calculation of ri_max_send_sges
   848dd9bf5154 drm/qxl: reapply cursor after resetting primary
   dc0b764a7c1a qxl: alloc & use shadow for dumb buffers
   851e2ea82303 arm64: proc: Set PTE_NG for table entries to avoid traversing them twice
   ff59e379234b rtlwifi: rtl8821ae: Fix connection lost problem correctly
   753fc48e595a mpls, nospec: Sanitize array index in mpls_label_ok()
   294975841483 tracing: Fix parsing of globs with a wildcard at the beginning
   29b4af70409c seq_file: fix incomplete reset on read from zero offset
   0f0fd0073911 xenbus: track caller request id
   a2fd6c095033 xen: Fix {set,clear}_foreign_p2m_mapping on autotranslating guests
   0569dd9beef4 rbd: whitelist RBD_FEATURE_OPERATIONS feature bit
   3711b5c568cd console/dummy: leave .con_font_get set to NULL
   6e6fd5b4ea9d video: fbdev: atmel_lcdfb: fix display-timings lookup
   c77b38855036 PCI: keystone: Fix interrupt-controller-node lookup
   8c125f391333 PCI: iproc: Fix NULL pointer dereference for BCMA
   990bb6eb9ec2 PCI: Disable MSI for HiSilicon Hip06/Hip07 only in Root Port mode
   524a886aa8c9 MIPS: Fix incorrect mem=X@Y handling
   f4f261974c6b MIPS: Fix typo BIG_ENDIAN to CPU_BIG_ENDIAN
   1f21cd46caca mm: Fix memory size alignment in devm_memremap_pages_release()
   568c61facce6 mm: hide a #warning for COMPILE_TEST
   ef7fd28b1137 ext4: correct documentation for grpid mount option
   2e38988253c1 ext4: save error to disk in __ext4_grp_locked_error()
   4d4d103a1b7e ext4: fix a race in the ext4 shutdown path
   879bcbe0913f jbd2: fix sphinx kernel-doc build warnings
   598b21708ec0 Revert "apple-gmux: lock iGP IO to protect from vgaarb changes"
   e7cedb56ae9a mlx5: fix mlx5_get_vector_affinity to start from completion vector 0
   723cc3aeba9b Revert "mmc: meson-gx: include tx phase in the tuning process"
   e8012ff87793 mmc: bcm2835: Don't overwrite max frequency unconditionally
   a1341cac93fa mmc: sdhci: Implement an SDHCI-specific bounce buffer
   e96a21989974 mbcache: initialize entry->e_referenced in mb_cache_entry_create()
   c3bdd547042f rtc-opal: Fix handling of firmware error codes, prevent busy loops
   a29adc04cb6d drm/radeon: adjust tested variable
   808700475218 drm/radeon: Add dpm quirk for Jet PRO (v2)
   254d48c8cc3b arm64: Add missing Falkor part number for branch predictor hardening
   e4a6d687e5d9 drm/ast: Load lut in crtc_commit
   dc2b0e41fc5e drm/amd/powerplay: Fix smu_table_entry.handle type
   b51521c9a191 drm/qxl: unref cursor bo when finished with it
   15cdc016f109 drm/ttm: Fix 'buf' pointer update in ttm_bo_vm_access_kmap() (v2)
   f02c3f7f6d30 drm/ttm: Don't add swapped BOs to swap-LRU list
   6c0398cfebf5 x86/entry/64: Fix CR3 restore in paranoid_exit()
   231d0c70be74 x86/cpu: Change type of x86_cache_size variable to unsigned int
   7d7ebee6ce11 x86/spectre: Fix an error message
   325cbb04dc61 x86/cpu: Rename cpu_data.x86_mask to cpu_data.x86_stepping
   73f231c7ee69 selftests/x86/mpx: Fix incorrect bounds with old _sigfault
   208beef6d8f2 x86/mm: Rename flush_tlb_single() and flush_tlb_one() to __flush_tlb_one_[user|kernel]()
   d6d0c0a618a1 kmemcheck: rip it out for real
   f369f1486116 kmemcheck: rip it out
   b9870f85817e kmemcheck: remove whats left of NOTRACK flags
   ae63fd26b2d8 kmemcheck: stop using GFP_NOTRACK and SLAB_NOTRACK
   2abfcdf8e77d kmemcheck: remove annotations
   1fed58f610b5 x86/speculation: Add <asm/msr-index.h> dependency
   8b4cdbbb29d4 nospec: Move array_index_nospec() parameter checking into separate macro
   9d4cb4dc7a11 x86/speculation: Fix up array_index_nospec_mask() asm constraint
   41d315482500 x86/debug: Use UD2 for WARN()
   4e0067c22d6b x86/debug, objtool: Annotate WARN()-related UD2 as reachable
   842a0d95ef16 objtool: Fix segfault in ignore_unreachable_insn()
   410d273ecc8e selftests/x86: Disable tests requiring 32-bit support on pure 64-bit systems
   8520ea2a0438 selftests/x86: Do not rely on "int $0x80" in single_step_syscall.c
   cf4db6342da4 selftests/x86: Do not rely on "int $0x80" in test_mremap_vdso.c
   e6eced764e1a selftests/x86/pkeys: Remove unused functions
   3eb95d5187a3 selftests/x86: Clean up and document sscanf() usage
   301e6fe0915c selftests/x86: Fix vDSO selftest segfault for vsyscall=none
   5cf7b883bcba x86/entry/64: Remove the unused 'icebp' macro
   bdcf05c64a64 x86/entry/64: Fix paranoid_entry() frame pointer warning
   a816dd2fa2dc x86/entry/64: Indent PUSH_AND_CLEAR_REGS and POP_REGS properly
   de66c3a3b0a6 x86/entry/64: Get rid of the ALLOC_PT_GPREGS_ON_STACK and SAVE_AND_CLEAR_REGS macros
   bd25388691c0 x86/entry/64: Use PUSH_AND_CLEAN_REGS in more cases
   3ce4863a44ff x86/entry/64: Introduce the PUSH_AND_CLEAN_REGS macro
   47d9c905ae7a x86/entry/64: Interleave XOR register clearing with PUSH instructions
   bb6873552764 x86/entry/64: Merge the POP_C_REGS and POP_EXTRA_REGS macros into a single POP_REGS macro
   51209eec238f x86/entry/64: Merge SAVE_C_REGS and SAVE_EXTRA_REGS, remove unused extensions
   d10d0bb86d97 x86/entry/64: Clear registers for exceptions/interrupts, to reduce speculation attack surface
   e578fedba81e PM: cpuidle: Fix cpuidle_poll_state_init() prototype
   c59cce7943df PM / runtime: Update links_count also if !CONFIG_SRCU
   2efd067aa4ef x86/speculation: Clean up various Spectre related details
   a15bdf6579b2 KVM/nVMX: Set the CPU_BASED_USE_MSR_BITMAPS if we have a valid L02 MSR bitmap
   07a3a99ed7f9 X86/nVMX: Properly set spec_ctrl and pred_cmd before merging MSRs
   474bd0b82e24 KVM/x86: Reduce retpoline performance impact in slot_handle_level_range(), by always inlining iterator helper methods
   bdc69a2ffa01 Revert "x86/speculation: Simplify indirect_branch_prediction_barrier()"
   b7451cb6159a x86/speculation: Correct Speculation Control microcode blacklist again
   d5a1b559235a x86/speculation: Update Speculation Control microcode blacklist
   372ed448263d x86/mm/pti: Fix PTI comment in entry_SYSCALL_64()
   b973685e70c3 powerpc/mm/radix: Split linear mapping on hot-unplug
   14d87b710338 crypto: sun4i_ss_prng - convert lock to _bh in sun4i_ss_prng_generate
   b3d33c5f296b crypto: sun4i_ss_prng - fix return value of sun4i_ss_prng_generate
   fff8ad7c18a2 compiler-gcc.h: __nostackprotector needs gcc-4.4 and up
   045e5161abfc compiler-gcc.h: Introduce __optimize function attribute
   ec35f83de1c8 x86/entry/64/compat: Clear registers for compat syscalls, to reduce speculation attack surface
   2bc19b518cb2 x86/entry/64: Clear extra registers beyond syscall arguments, to reduce speculation attack surface
   43d38b079ca7 x86: PM: Make APM idle driver initialize polling state
   41fd295d90a7 x86/xen: init %gs very early to avoid page faults with stack protector
   04f048fad32e x86/kexec: Make kexec (mostly) work in 5-level paging mode
   0fe1e5ec1c27 x86/gpu: add CFL to early quirks
   ba86431b7b58 drm/i915/kbl: Change a KBL pci id to GT2 from GT1.5
   cc2759b7bb7c drm/i915: add GT number to intel_device_info
   ce6ec5b8dc5a arm: spear13xx: Fix spics gpio controller's warning
   349d03cb5378 arm: spear13xx: Fix dmas cells
   b1637c1236d0 arm: spear600: Add missing interrupt-parent of rtc
   cbcc2ff13af5 arm: dts: mt7623: fix card detection issue on bananapi-r2
   be1965486122 ARM: dts: nomadik: add interrupt-parent for clcd
   9be4b2f6d024 ARM: dts: STi: Add gpio polarity for "hdmi,hpd-gpio" property
   34d58f7ccb65 ARM: lpc3250: fix uda1380 gpio numbers
   bd4200936367 arm64: dts: msm8916: Correct ipc references for smsm
   27f97375fcb8 s390: fix handling of -1 in set{,fs}[gu]id16 syscalls
   f25dfc9359cc dma-buf: fix reservation_object_wait_timeout_rcu once more v2
   40be210c830e powerpc: Fix DABR match on hash based systems
   3b09911d3beb powerpc/xive: Use hw CPU ids when configuring the CPU queues
   892674b5058a powerpc/mm: Flush radix process translations when setting MMU type
   4386f223b418 powerpc/numa: Invalidate numa_cpu_lookup_table on cpu remove
   5b98d31481f9 powerpc/radix: Remove trace_tlbie call from radix__flush_tlb_all
   2e7e8bd8f195 ocfs2: try a blocking lock before return AOP_TRUNCATED_PAGE
   1ec4c78e3444 mwifiex: resolve reset vs. remove()/shutdown() deadlocks
   62def1d604a5 PM / devfreq: Propagate error from devfreq_add_device()
   37efa60e1670 swiotlb: suppress warning when __GFP_NOWARN is set
   8e56a935a4b7 cpufreq: powernv: Dont assume distinct pstate values for nominal and pmin
   75a3f11c7bad RDMA/rxe: Fix rxe_qp_cleanup()
   571cb36fac2f RDMA/rxe: Fix a race condition in rxe_requester()
   7b4e8a46d4cf RDMA/rxe: Fix a race condition related to the QP error state
   7dd2dbdd4606 kselftest: fix OOM in memory compaction test
   9c2e7a048d19 selftests: seccomp: fix compile error seccomp_bpf
   1d6eb826e65d IB/core: Avoid a potential OOPs for an unused optional parameter
   d40ad865704b IB/core: Fix ib_wc structure size to remain in 64 bytes boundary
   18c0ee900c8d IB/core: Fix two kernel warnings triggered by rxe registration
   ade57e9031fa IB/mlx4: Fix incorrectly releasing steerable UD QPs when have only ETH ports
   5a4255467cd8 IB/qib: Fix comparison error with qperf compare/swap test
   7a748f0bb2e4 IB/umad: Fix use of unprotected device pointer
   e99306bb4f67 scsi: smartpqi: allow static build ("built-in")
   b6f2efb86440 tracing: Prevent PROFILE_ALL_BRANCHES when FORTIFY_SOURCE=y
   7e83b2ff485c Linux 4.14.20
   1dbdcf117b22 scsi: cxlflash: Reset command ioasc
   5fc77964eaa9 scsi: lpfc: Fix crash after bad bar setup on driver attachment
   ce6faf10fd65 rcu: Export init_rcu_head() and destroy_rcu_head() to GPL modules
   c561093ed684 scsi: core: Ensure that the SCSI error handler gets woken up
   b470fb7b7910 ftrace: Remove incorrect setting of glob search field
   d9ef40037443 devpts: fix error handling in devpts_mntget()
   dff5406432ff mn10300/misalignment: Use SIGSEGV SEGV_MAPERR to report a failed user copy
   c7aee3941e1e ovl: take mnt_want_write() for removing impure xattr
   e822be750270 ovl: fix failure to fsync lower dir
   9fc03876355a acpi, nfit: fix register dimm error handling
   f232bfdcdd76 ACPI: sbshc: remove raw pointer from printk() message
   a51421b4cb09 drm/i915: Avoid PPS HW/SW state mismatch due to rounding
   812245b4dbf6 arm64: dts: marvell: add Ethernet aliases
   2a3d3015a73c objtool: Fix switch-table detection
   4063cd5683ce btrfs: Handle btrfs_set_extent_delalloc failure in fixup worker
   2617e62c2f12 lib/ubsan: add type mismatch handler for new GCC/Clang
   5a5df7771064 lib/ubsan.c: s/missaligned/misaligned/
   c87806a8e565 clocksource/drivers/stm32: Fix kernel panic with multiple timers
   392640fd18f8 blk-mq: quiesce queue before freeing queue
   c846868070d0 pktcdvd: Fix a recently introduced NULL pointer dereference
   030dcf7d1af3 pktcdvd: Fix pkt_setup_dev() error path
   f04fe1192e56 pinctrl: sx150x: Add a static gpio/pinctrl pin range mapping
   5219eedf2d5e pinctrl: sx150x: Register pinctrl before adding the gpiochip
   89cad3fa5491 pinctrl: sx150x: Unregister the pinctrl on release
   688d1b8c4721 pinctrl: mcp23s08: fix irq setup order
   05c9297f3405 pinctrl: intel: Initialize GPIO properly when used through irqchip
   bed938ba673c EDAC, octeon: Fix an uninitialized variable warning
   e68d638e4931 xtensa: fix futex_atomic_cmpxchg_inatomic
   12ab9e1e8d61 alpha: fix formating of stack content
   bef0563f39cd alpha: fix reboot on Avanti platform
   371c5ada2af7 alpha: Fix mixed up args in EXC macro in futex operations
   90d17505219a alpha: osf_sys.c: fix put_tv32 regression
   632a537b3c6b alpha: fix crash if pthread_create races with signal delivery
   16256f265880 signal/sh: Ensure si_signo is initialized in do_divide_error
   34ad59099ead signal/openrisc: Fix do_unaligned_access to send the proper signal
   765ae618ad9f ipmi: use dynamic memory for DMI driver override
   fed016a79b42 Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a "rewritten" version
   2a2ee0c1fee7 Revert "Bluetooth: btusb: fix QCA Rome suspend/resume"
   ed72fcf64362 Bluetooth: btsdio: Do not bind to non-removable BCM43341
   0e4ac4aed9f9 HID: quirks: Fix keyboard + touchpad on Toshiba Click Mini not working
   703b37d84598 pipe: fix off-by-one error when checking buffer limits
   a125e9a42302 pipe: actually allow root to exceed the pipe buffer limits
   75526a9bd3f4 kernel/relay.c: revert "kernel/relay.c: fix potential memory leak"
   838f9cc948b0 kernel/async.c: revert "async: simplify lowest_in_progress()"
   7e54b58285e1 fs/proc/kcore.c: use probe_kernel_read() instead of memcpy()
   ebe2ba53851e media: cxusb, dib0700: ignore XC2028_I2C_FLUSH
   7a401e25f0a5 media: ts2020: avoid integer overflows on 32 bit machines
   ad91b2e392be media: dvb-frontends: fix i2c access helpers for KASAN
   062cd3463c17 kasan: rework Kconfig settings
   e186d8bfdabd kasan: don't emit builtin calls when sanitization is off
   d16919a3fe2d Btrfs: raid56: iterate raid56 internal bio with bio_for_each_segment_all
   e06f7b686daa watchdog: imx2_wdt: restore previous timeout after suspend+resume
   b897f1dc780e ASoC: skl: Fix kernel warning due to zero NHTL entry
   4562bfdeac87 ASoC: rockchip: i2s: fix playback after runtime resume
   e747a02d9fcf KVM: PPC: Book3S PR: Fix broken select due to misspelling
   985bf3991342 KVM: arm/arm64: Handle CPU_PM_ENTER_FAILED
   be54d79b43fd KVM: PPC: Book3S HV: Drop locks before reading guest memory
   88b64450cc0a KVM: PPC: Book3S HV: Make sure we don't re-enter guest without XIVE loaded
   fe90a3a6f881 KVM: nVMX: Fix bug of injecting L2 exception into L1
   6bad51166f87 KVM: nVMX: Fix races when sending nested PI while dest enters/leaves L2
   7dffdb31ad13 arm: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls
   f37a798e7724 crypto: sha512-mb - initialize pending lengths correctly
   f428567e005f crypto: caam - fix endless loop when DECO acquire fails
   1a4834092539 media: v4l2-compat-ioctl32.c: make ctrl_is_pointer work for subdevs
   ad01b40bb9be media: v4l2-compat-ioctl32.c: refactor compat ioctl32 logic
   b3f69836c92b media: v4l2-compat-ioctl32.c: don't copy back the result for certain errors
   efabe94f8a0d media: v4l2-compat-ioctl32.c: drop pr_info for unknown buffer type
   a20ab4df701b media: v4l2-compat-ioctl32.c: copy clip list in put_v4l2_window32
   f1b572d34648 media: v4l2-compat-ioctl32.c: fix ctrl_is_pointer
   3df119772466 media: v4l2-compat-ioctl32.c: copy m.userptr in put_v4l2_plane32
   16c25072560f media: v4l2-compat-ioctl32.c: avoid sizeof(type)
   a38becb087b2 media: v4l2-compat-ioctl32.c: move 'helper' functions to __get/put_v4l2_format32
   0b7d6ac53606 media: v4l2-compat-ioctl32.c: fix the indentation
   2b991eeb5cfb media: v4l2-compat-ioctl32.c: add missing VIDIOC_PREPARE_BUF
   2d280dab382e media: v4l2-ioctl.c: don't copy back the result for -ENOTTY
   ea96d8f676dd media: v4l2-ioctl.c: use check_fmt for enum/g/s/try_fmt
   2f00eb279088 crypto: hash - prevent using keyed hashes without setting key
   8d906d183bce crypto: hash - annotate algorithms taking optional key
   b806c0cc4c73 crypto: poly1305 - remove ->setkey() method
   16210524c424 crypto: mcryptd - pass through absence of ->setkey()
   ed7b0af0ca02 crypto: cryptd - pass through absence of ->setkey()
   b8b32e2e68f0 crypto: hash - introduce crypto_hash_alg_has_setkey()
   449704d3ba6f ahci: Add Intel Cannon Lake PCH-H PCI ID
   53c5963da843 ahci: Add PCI ids for Intel Bay Trail, Cherry Trail and Apollo Lake AHCI
   e985f7c8ac38 ahci: Annotate PCI ids for mobile Intel chipsets as such
   650d3d8512c6 kernfs: fix regression in kernfs_fop_write caused by wrong type
   f1e31607e73d NFS: Fix a race between mmap() and O_DIRECT
   1c38ad2f26d8 NFS: reject request for id_legacy key without auxdata
   60017643c210 NFS: commit direct writes even if they fail partially
   6421f29eb8af NFS: Fix nfsstat breakage due to LOOKUPP
   3d03af006438 NFS: Add a cond_resched() to nfs_commit_release_pages()
   3ac2d17a6ed3 nfs41: do not return ENOMEM on LAYOUTUNAVAILABLE
   ace34428faa6 nfs/pnfs: fix nfs_direct_req ref leak when i/o falls back to the mds
   068e53f9b192 ubifs: free the encrypted symlink target
   e9a35f8b73f1 ubi: block: Fix locking for idr_alloc/idr_remove
   5793f39de7f6 ubi: fastmap: Erase outdated anchor PEBs during attach
   c94c39ac85f1 ubi: Fix race condition between ubi volume creation and udev
   7eb52a6889e9 mtd: nand: sunxi: Fix ECC strength choice
   16d11602c83b mtd: nand: Fix nand_do_read_oob() return value
   4527b0887bc5 mtd: nand: brcmnand: Disable prefetch by default
   0763f0418bb5 mtd: cfi: convert inline functions to macros
   c584c903bae9 arm64: Kill PSCI_GET_VERSION as a variant-2 workaround
   dbca45b99655 arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support
   ac63fdb4a2b2 arm/arm64: smccc: Implement SMCCC v1.1 inline primitive
   37dc3e6c117e arm/arm64: smccc: Make function identifiers an unsigned quantity
   908ad7a1484d firmware/psci: Expose SMCCC version through psci_ops
   906a9f396cc8 firmware/psci: Expose PSCI conduit
   6db26ad1dc46 arm64: KVM: Add SMCCC_ARCH_WORKAROUND_1 fast handling
   e47273d08623 arm64: KVM: Report SMCCC_ARCH_WORKAROUND_1 BP hardening support
   2cfe8929f624 arm/arm64: KVM: Turn kvm_psci_version into a static inline
   98be7165d9f7 arm64: KVM: Make PSCI_VERSION a fast path
   45e2061147c3 arm/arm64: KVM: Advertise SMCCC v1.1
   4ba100aa94a0 arm/arm64: KVM: Implement PSCI 1.0 support
   ce15f32d4884 arm/arm64: KVM: Add smccc accessors to PSCI code
   4efa1a863a12 arm/arm64: KVM: Add PSCI_VERSION helper
   591862b56000 arm/arm64: KVM: Consolidate the PSCI include files
   0b3512fa7b0a arm64: KVM: Increment PC after handling an SMC trap
   402aeac58753 arm64: Branch predictor hardening for Cavium ThunderX2
   9b26a45c34e4 arm64: Implement branch predictor hardening for Falkor
   48993dfa1af8 arm64: Implement branch predictor hardening for affected Cortex-A CPUs
   3317097b2b4a arm64: cputype: Add missing MIDR values for Cortex-A72 and Cortex-A75
   48c3538c3578 arm64: entry: Apply BP hardening for suspicious interrupts from EL0
   6b47a8256a56 arm64: entry: Apply BP hardening for high-priority synchronous exceptions
   aab3306701f1 arm64: KVM: Use per-CPU vector when BP hardening is enabled
   9107ac4ea3da arm64: Move BP hardening to check_and_switch_context
   5bee81c98029 arm64: Add skeleton to harden the branch predictor against aliasing attacks
   c10e4aa77814 arm64: Move post_ttbr_update_workaround to C code
   f91f190708b2 drivers/firmware: Expose psci_get_version through psci_ops structure
   be53742befea arm64: cpufeature: Pass capability structure to ->enable callback
   9da836a476fe arm64: Run enable method for errata work arounds on late CPUs
   da1f67921d2f arm64: cpufeature: __this_cpu_has_cap() shouldn't stop early
   d9ef050f2895 arm64: futex: Mask __user pointers prior to dereference
   ba32050d308a arm64: uaccess: Mask __user pointers for __arch_{clear, copy_*}_user
   28d8886d985c arm64: uaccess: Don't bother eliding access_ok checks in __{get, put}_user
   1ccaee9dea60 arm64: uaccess: Prevent speculative use of the current addr_limit
   7a51d7d2f7f7 arm64: entry: Ensure branch through syscall table is bounded under speculation
   2e985d2647a0 arm64: Use pointer masking to limit uaccess speculation
   535357c9d3e9 arm64: Make USER_DS an inclusive limit
   0a532ea3ef14 arm64: Implement array_index_mask_nospec()
   6afdaf109c34 arm64: barrier: Add CSDB macros to control data-value prediction
   1449a173a2ee arm64: idmap: Use "awx" flags for .idmap.text .pushsection directives
   8703f27d7c5d arm64: entry: Reword comment about post_ttbr_update_workaround
   e39247ca1714 arm64: Force KPTI to be disabled on Cavium ThunderX
   2feb36ebe450 arm64: kpti: Add ->enable callback to remap swapper using nG mappings
   ee28fed5ccc6 arm64: mm: Permit transitioning from Global to Non-Global without BBM
   69288201803a arm64: kpti: Make use of nG dependent on arm64_kernel_unmapped_at_el0()
   c98c8c235856 arm64: Turn on KPTI only on CPUs that need it
   7aca19ea5a45 arm64: cputype: Add MIDR values for Cavium ThunderX2 CPUs
   fedf5a743cf2 arm64: kpti: Fix the interaction between ASID switching and software PAN
   0b2995145ea4 arm64: mm: Introduce TTBR_ASID_MASK for getting at the ASID in the TTBR
   5385e5fe9724 arm64: capabilities: Handle duplicate entries for a capability
   83ae3355bdfb arm64: Take into account ID_AA64PFR0_EL1.CSV3
   5e319f4533bf arm64: Kconfig: Reword UNMAP_KERNEL_AT_EL0 kconfig entry
   332e0288200f arm64: Kconfig: Add CONFIG_UNMAP_KERNEL_AT_EL0
   68a65ce7039a arm64: use RET instruction for exiting the trampoline
   3882b5f63f3c arm64: kaslr: Put kernel vectors address in separate data page
   7fafcbb04f94 arm64: entry: Add fake CPU feature for unmapping the kernel at EL0
   2843ade2dad2 arm64: tls: Avoid unconditional zeroing of tpidrro_el0 for native tasks
   4e29f25b2bc1 arm64: cpu_errata: Add Kryo to Falkor 1003 errata
   15a511c0cbd1 arm64: erratum: Work around Falkor erratum #E1003 in trampoline code
   6472f1a3a54f arm64: entry: Hook up entry trampoline to exception vectors
   86200f218f98 arm64: entry: Explicitly pass exception level to kernel_ventry macro
   63d13760abd7 arm64: mm: Map entry trampoline into trampoline and kernel page tables
   78422a7b5160 arm64: entry: Add exception trampoline page for exceptions from EL0
   d6c414013bb4 arm64: mm: Invalidate both kernel and user ASIDs when performing TLBI
   53b13950886c arm64: mm: Add arm64_kernel_unmapped_at_el0 helper
   a8bad38cff23 arm64: mm: Allocate ASIDs in pairs
   00ff7de671f8 arm64: mm: Fix and re-enable ARM64_SW_TTBR0_PAN
   95ce0d51f9a8 arm64: mm: Rename post_ttbr0_update_workaround
   4445cb04410f arm64: mm: Remove pre_ttbr0_update_workaround for Falkor erratum #E1003
   d26f0a5dc6a6 arm64: mm: Move ASID from TTBR0 to TTBR1
   59f47f9dcdcd arm64: mm: Temporarily disable ARM64_SW_TTBR0_PAN
   78299fafcd78 arm64: mm: Use non-global mappings for kernel space
   63380839c575 arm64: move TASK_* definitions to <asm/processor.h>
   dd24d173b50a media: hdpvr: Fix an error handling path in hdpvr_probe()
   2bd6279a4a8c media: dvb-usb-v2: lmedm04: move ts2020 attach to dm04_lme2510_tuner
   fd31a38d268f media: dvb-usb-v2: lmedm04: Improve logic checking of warm start
   e5e1e153ecd4 dccp: CVE-2017-8824: use-after-free in DCCP code
   050b86b5bf20 drm/i915: Fix deadlock in i830_disable_pipe()
   50018d09843c drm/i915: Redo plane sanitation during readout
   19d8e5122fef drm/i915: Add .get_hw_state() method for planes
   d9c3131f2ab4 sched/rt: Up the root domain ref count when passing it around via IPIs
   9c41a8453c82 sched/rt: Use container_of() to get root domain in rto_push_irq_work_func()
   fea5349eb88b KVM MMU: check pending exception before injecting APF
   4c54eab372f8 arm64: Add software workaround for Falkor erratum 1041
   0b69ec336d3d arm64: Define cputype macros for Falkor CPU
   fd7467f82e58 watchdog: gpio_wdt: set WDOG_HW_RUNNING in gpio_wdt_stop
   e94a7de2a3d2 sched/wait: Fix add_wait_queue() behavioral change
   69373cdc4ae4 dmaengine: dmatest: fix container_of member in dmatest_callback
   7adf1d63ef65 cpufreq: mediatek: add mediatek related projects into blacklist
   4126cdb73193 CIFS: zero sensitive data when freeing
   be6874b4d480 cifs: Fix autonegotiate security settings mismatch
   061df7705a53 cifs: Fix missing put_xid in cifs_file_strict_mmap
   b4a9ffad9702 powerpc/pseries: include linux/types.h in asm/hvcall.h
   8caab9edccf5 watchdog: indydog: Add dependency on SGI_HAS_INDYDOG
   1722fe372784 Linux 4.14.19
   d2aeb4e2bd8d Revert "x86/alternative: Print unadorned pointers"
   22f16a74c474 scsi: storvsc: missing error code in storvsc_probe()
   f18046f7a50a kernel/exit.c: export abort() to modules
   c5c91d830507 arch: define weak abort()
   3a570cfe785a crypto: tcrypt - fix S/G table for test_aead_speed()
   68a9f19264fd media: soc_camera: soc_scale_crop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
   1bf81cff1bad media: mtk-vcodec: add missing MODULE_LICENSE/DESCRIPTION
   981f20bc7595 soreuseport: fix mem leak in reuseport_add_sock()
   456add4c9bd3 ipv6: Fix SO_REUSEPORT UDP socket with implicit sk_ipv6only
   c04818abad46 tcp_bbr: fix pacing_gain to always be unity when using lt_bw
   1da27118f419 rocker: fix possible null pointer dereference in rocker_router_fib_event_work
   07ca93e3176b net: ipv6: send unsolicited NA after DAD
   799a34d5b048 Revert "defer call to mem_cgroup_sk_alloc()"
   b9b70c876a7a vhost_net: stop device during reset owner
   6d35430fdaf4 tcp: release sk_frag.page in tcp_disconnect
   e8513f250d1b r8169: fix RTL8168EP take too long to complete driver initialization.
   a7c2cf702a40 qmi_wwan: Add support for Quectel EP06
   fcee7812ea05 qlcnic: fix deadlock bug
   166f27322f8c net: igmp: add a missing rcu locking section
   2726946dfcd2 ip6mr: fix stale iterator
   806d61d66900 kbuild: rpm-pkg: keep spec file until make mrproper
   abc5896b7785 .gitignore: move *.dtb and *.dtb.S patterns to the top-level .gitignore
   bafda5d37527 .gitignore: sort normal pattern rules alphabetically

(From OE-Core rev: bde0254a52f0827e15cdc66b91bef7c8ab03ea76)

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>
2018-03-08 10:39:33 -08:00
Bruce Ashfield
f73dcd454e linux-yocto/4.15: update to v4.15.7
Updating the latest korg -stable release which comprises the following
commits:

   cb4a115a4286 Linux 4.15.7
   59e0ae1b9ae2 microblaze: fix endian handling
   39c51864410f drm/i915/breadcrumbs: Ignore unsubmitted signalers
   5d1641bd28b2 arm64: __show_regs: Only resolve kernel symbols when running at EL1
   6e0535b574bb drm/amdgpu: add new device to use atpx quirk
   ae05bb741e26 drm/amdgpu: Avoid leaking PM domain on driver unbind (v2)
   c3a0168def90 drm/amdgpu: add atpx quirk handling (v2)
   2511a10a9dbd drm/amdgpu: only check mmBIF_IOV_FUNC_IDENTIFIER on tonga/fiji
   569773e885c2 drm/amdgpu: Add dpm quirk for Jet PRO (v2)
   7cb1e932f2cf drm/amdgpu: fix VA hole handling on Vega10 v3
   73dec25a4996 drm/amdgpu: disable MMHUB power gating on raven
   86688e436e53 drm: Handle unexpected holes in color-eviction
   d9076e2789f0 drm/atomic: Fix memleak on ERESTARTSYS during non-blocking commits
   ef6ffb8e7991 drm/cirrus: Load lut in crtc_commit
   5434769e09e1 usb: renesas_usbhs: missed the "running" flag in usb_dmac with rx path
   ebf22ef5bc85 usb: gadget: f_fs: Use config_ep_by_speed()
   1e77103e4e95 usb: gadget: f_fs: Process all descriptors during bind
   84bfcffa2d58 Revert "usb: musb: host: don't start next rx urb if current one failed"
   d1ff52d9f255 usb: ldusb: add PIDs for new CASSY devices supported by this driver
   e2ea80c1081a usb: phy: mxs: Fix NULL pointer dereference on i.MX23/28
   3501a1fa4bd6 usb: dwc3: ep0: Reset TRB counter for ep0 IN
   9cd92bc0d940 usb: dwc3: gadget: Set maxpacket size for ep0 IN
   c1ee06ccaf56 usb: host: ehci: use correct device pointer for dma ops
   41be2f2884dd drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA
   9431fcfe77f2 Add delay-init quirk for Corsair K70 RGB keyboards
   fe2d410a67ac arm64: cpufeature: Fix CTR_EL0 field definitions
   4a9aa807845d arm64: Disable unhandled signal log messages by default
   b1acbe1b5159 arm64: Remove unimplemented syscall log message
   4834cd5ef556 usb: ohci: Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()
   4f2b3914d480 ohci-hcd: Fix race condition caused by ohci_urb_enqueue() and io_watchdog_func()
   bb9e6cb9619e net: thunderbolt: Run disconnect flow asynchronously when logout is received
   4843b408d3b3 net: thunderbolt: Tear down connection properly on suspend
   c36b2464868c PCI/cxgb4: Extend T3 PCI quirk to T4+ devices
   f08f5d7546b7 irqchip/mips-gic: Avoid spuriously handling masked interrupts
   ca6ecf020c19 irqchip/gic-v3: Use wmb() instead of smb_wmb() in gic_raise_softirq()
   2db8fd089da9 uapi/if_ether.h: move __UAPI_DEF_ETHHDR libc define
   c6a18ffe270d mm: don't defer struct page initialization for Xen pv guests
   9b28096ae042 mm, swap, frontswap: fix THP swap if frontswap enabled
   df70880eeca8 x86/oprofile: Fix bogus GCC-8 warning in nmi_setup()
   b380245d86d7 x86/apic/vector: Handle vector release on CPU unplug correctly
   1df9e416e647 Kbuild: always define endianess in kconfig.h
   c6ddec4b894e iio: adis_lib: Initialize trigger before requesting interrupt
   57a6624e6b66 iio: buffer: check if a buffer has been set up when poll is called
   141c7b5d62b4 iio: srf08: fix link error "devm_iio_triggered_buffer_setup" undefined
   ea69364997ac iio: adc: stm32: fix stm32h7_adc_enable error handling
   2220b31092c0 RDMA/uverbs: Sanitize user entered port numbers prior to access it
   dbc8529d0075 RDMA/uverbs: Fix circular locking dependency
   b949544f2389 RDMA/uverbs: Fix bad unlock balance in ib_uverbs_close_xrcd
   a79527b04d36 RDMA/uverbs: Protect from command mask overflow
   11c371ca4206 RDMA/uverbs: Protect from races between lookup and destroy of uobjects
   7f55f13e7c96 genirq/matrix: Handle CPU offlining proper
   44975af306a6 extcon: int3496: process id-pin first so that we start with the right status
   7bd04bd1fb3e PKCS#7: fix certificate blacklisting
   4a89879bc4c9 PKCS#7: fix certificate chain verification
   a689f00971b8 X.509: fix NULL dereference when restricting key with unsupported_sig
   ffc21f450fad X.509: fix BUG_ON() when hash algorithm is unsupported
   1af6a6727347 i2c: bcm2835: Set up the rising/falling edge delays
   13f741a22d4f i2c: designware: must wait for enable
   f2543a626feb cfg80211: fix cfg80211_beacon_dup
   53b7097c9a65 MIPS: Drop spurious __unused in struct compat_flock
   6f935322d866 scsi: ibmvfc: fix misdefined reserved field in ibmvfc_fcp_rsp_info
   e8e48b394b64 xtensa: fix high memory/reserved memory collision
   0bbdb97ac3b8 MIPS: boot: Define __ASSEMBLY__ for its.S build
   a7aa0b5c9bf9 kconfig.h: Include compiler types to avoid missed struct attributes
   174f49dedc13 arm64: mm: don't write garbage into TTBR1_EL1 register
   d7ef969797fd netfilter: drop outermost socket lock in getsockopt()
   1a7aef62b47b Linux 4.15.6
   0e6f5f6c2367 vmalloc: fix __GFP_HIGHMEM usage for vmalloc_32 on 32b systems
   fc3a0d7d6b81 mei: me: add cannon point device ids for 4th device
   772639d52fa5 mei: me: add cannon point device ids
   0f00b6feadde crypto: s5p-sss - Fix kernel Oops in AES-ECB mode
   52718d497940 usbip: keep usbip_device sockfd state in sync with tcp_socket
   f0537b3962ad xhci: fix xhci debugfs errors in xhci_stop
   11474eb609f4 xhci: xhci debugfs device nodes weren't removed after device plugged out
   99cfcdcbfb38 xhci: Fix xhci debugfs devices node disappearance after hibernation
   177b1a5bc8fe xhci: Fix NULL pointer in xhci debugfs
   3ee8ad9e5267 staging: iio: ad5933: switch buffer mode to software
   6991325a52af staging: iio: adc: ad7192: fix external frequency setting
   07bf5bad3f80 staging: fsl-mc: fix build testing on x86
   008fdd7c3915 binder: replace "%p" with "%pK"
   52f381e126bc binder: check for binder_thread allocation failure in binder_poll()
   664b80469038 staging: android: ashmem: Fix a race condition in pin ioctls
   3dd13985a916 ANDROID: binder: synchronize_rcu() when using POLLFREE.
   87340f840952 ANDROID: binder: remove WARN() for redundant txn error
   8f2f8993e0f6 dn_getsockoptdecnet: move nf_{get/set}sockopt outside sock lock
   58fde5229c07 arm64: dts: add #cooling-cells to CPU nodes
   0d899f5a7699 ARM: 8743/1: bL_switcher: add MODULE_LICENSE tag
   fa913592b110 video: fbdev/mmp: add MODULE_LICENSE
   0813c6ee1936 ASoC: ux500: add MODULE_LICENSE tag
   31903777ab86 soc: qcom: rmtfs_mem: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
   3d32de924430 net_sched: gen_estimator: fix lockdep splat
   78739d2c45ac net: avoid skb_warn_bad_offload on IS_ERR
   2e980be6c7aa rds: tcp: atomically purge entries from rds_tcp_conn_list during netns delete
   8dfca224fe21 rds: tcp: correctly sequence cleanup on netns deletion.
   d7159107d7f9 netfilter: xt_RATEEST: acquire xt_rateest_mutex for hash insert
   d13e612e713c netfilter: xt_cgroup: initialize info->priv in cgroup_mt_check_v1()
   ff225999c603 netfilter: on sockopt() acquire sock lock only in the required scope
   8b73f446d3c0 netfilter: ipt_CLUSTERIP: fix out-of-bounds accesses in clusterip_tg_check()
   7d666621792e netfilter: x_tables: avoid out-of-bounds reads in xt_request_find_{match|target}
   41e28eddda46 netfilter: x_tables: fix int overflow in xt_alloc_table_info()
   660e0b97128d kcov: detect double association with a single task
   a009a6388cea KVM: x86: fix escape of guest dr6 to the host
   53712962126d blk_rq_map_user_iov: fix error override
   831a8a1297d1 staging: android: ion: Switch from WARN to pr_warn
   ea4ce12b88fc staging: android: ion: Add __GFP_NOWARN for system contig heap
   97fe1b796e9d crypto: x86/twofish-3way - Fix %rbp usage
   78fb902b9f52 media: pvrusb2: properly check endpoint types
   c31124234485 selinux: skip bounded transition processing if the policy isn't loaded
   81563ac61f54 selinux: ensure the context is NUL terminated in security_context_to_sid_core()
   62da989fd52d ptr_ring: try vmalloc() when kmalloc() fails
   62a273a47514 ptr_ring: fail early if queue occupies more than KMALLOC_MAX_SIZE
   de03f1a1c9e3 tun: fix tun_napi_alloc_frags() frag allocator
   a6c3a2a21072 Linux 4.15.5
   b5d3e87c0750 mmc: sdhci-of-esdhc: fix the mmc error after sleep on ls1046ardb
   772b28fb3f5d mmc: sdhci-of-esdhc: fix eMMC couldn't work after kexec
   c95e8f5945e4 media: r820t: fix r820t_write_reg for KASAN
   0431ae716f64 ARM: dts: Delete bogus reference to the charlcd
   d9f944934e5d arm: dts: mt2701: Add reset-cells
   76e1e2047cad arm: dts: mt7623: Update ethsys binding
   7dcebff41eb2 ARM: dts: s5pv210: add interrupt-parent for ohci
   98ada11202a3 arm64: dts: msm8916: Add missing #phy-cells
   384ba356723f ARM: pxa/tosa-bt: add MODULE_LICENSE tag
   f62971e74494 ARM: dts: exynos: fix RTC interrupt for exynos5410
   86fa1cc9eeed x86/mm, mm/hwpoison: Don't unconditionally unmap kernel 1:1 pages
   adea9deed20b usb: Move USB_UHCI_BIG_ENDIAN_* out of USB_SUPPORT
   528e50bc160b mvpp2: fix multicast address filter
   3b8e84c8373d ALSA: seq: Fix racy pool initializations
   4da52e138918 ALSA: usb: add more device quirks for USB DSD devices
   4aacd757d564 ALSA: usb-audio: add implicit fb quirk for Behringer UFX1204
   7a9a09e9c65c ALSA: hda/realtek: PCI quirk for Fujitsu U7x7
   6957300758e4 ALSA: hda/realtek - Enable Thinkpad Dock device for ALC298 platform
   24b0a5ee21c9 ALSA: hda/realtek - Add headset mode support for Dell laptop
   9030db8eef39 ALSA: usb-audio: Fix UAC2 get_ctl request with a RANGE attribute
   937a479700dd ALSA: hda - Fix headset mic detection problem for two Dell machines
   88ee6a8cff16 mtd: nand: vf610: set correct ooblayout
   2463f6dc6787 9p/trans_virtio: discard zero-length reply
   42708d88eb16 Btrfs: fix unexpected -EEXIST when creating new inode
   a4a9f48768c2 Btrfs: fix use-after-free on root->orphan_block_rsv
   ab4ccd42455a Btrfs: fix btrfs_evict_inode to handle abnormal inodes correctly
   8228c6702d01 Btrfs: fix extent state leak from tree log
   06c8273f434c Btrfs: fix crash due to not cleaning up tree log block's dirty bits
   3a695ffd7d33 Btrfs: fix deadlock in run_delalloc_nocow
   917f5807f0a5 dm: correctly handle chained bios in dec_pending()
   a4cd422f3105 iscsi-target: make sure to wake up sleeping login worker
   7d772e3a730d target/iscsi: avoid NULL dereference in CHAP auth error path
   b5291a94daab blk-wbt: account flush requests correctly
   d301a3f8ab11 xprtrdma: Fix BUG after a device removal
   e154c64806f8 xprtrdma: Fix calculation of ri_max_send_sges
   ded318a8634b arm64: proc: Set PTE_NG for table entries to avoid traversing them twice
   802061188f09 rtlwifi: rtl8821ae: Fix connection lost problem correctly
   1e6c184e415e mpls, nospec: Sanitize array index in mpls_label_ok()
   95f92d0a0ca9 tracing: Fix parsing of globs with a wildcard at the beginning
   2931553cea57 seq_file: fix incomplete reset on read from zero offset
   54de83d07a18 xenbus: track caller request id
   a616290d6a5d xen: Fix {set,clear}_foreign_p2m_mapping on autotranslating guests
   f831b1c82feb rbd: whitelist RBD_FEATURE_OPERATIONS feature bit
   221d3ee83504 console/dummy: leave .con_font_get set to NULL
   c3817658ceef video: fbdev: atmel_lcdfb: fix display-timings lookup
   335d3af5fe8a PCI: keystone: Fix interrupt-controller-node lookup
   ff4d8f0acd98 PCI: pciehp: Assume NoCompl+ for Thunderbolt ports
   e930e724e0b5 PCI: iproc: Fix NULL pointer dereference for BCMA
   b5cbe36dcee9 PCI: Disable MSI for HiSilicon Hip06/Hip07 only in Root Port mode
   c39240eeac9f MIPS: Fix incorrect mem=X@Y handling
   701241f406bc MIPS: CPS: Fix MIPS_ISA_LEVEL_RAW fallout
   a258db30df67 MIPS: Fix typo BIG_ENDIAN to CPU_BIG_ENDIAN
   3291fcf983a2 mm: Fix memory size alignment in devm_memremap_pages_release()
   327b199512b4 mm: hide a #warning for COMPILE_TEST
   efb5d2d65820 ext4: correct documentation for grpid mount option
   e1dab5d7ea9f ext4: save error to disk in __ext4_grp_locked_error()
   385daa60a706 ext4: fix a race in the ext4 shutdown path
   08d8ce8cc0de jbd2: fix sphinx kernel-doc build warnings
   c71989fe3730 Revert "apple-gmux: lock iGP IO to protect from vgaarb changes"
   1ae2c3ae98b8 mlx5: fix mlx5_get_vector_affinity to start from completion vector 0
   da40ab64894b Revert "mmc: meson-gx: include tx phase in the tuning process"
   25ca7976fa79 mmc: bcm2835: Don't overwrite max frequency unconditionally
   f56ed42361d2 mmc: sdhci: Implement an SDHCI-specific bounce buffer
   ecfb5cd05789 mbcache: initialize entry->e_referenced in mb_cache_entry_create()
   daa21b8dbc29 rtc-opal: Fix handling of firmware error codes, prevent busy loops
   e5394e1050a1 x86/smpboot: Fix uncore_pci_remove() indexing bug when hot-removing a physical CPU
   f7bbb8cc9ef5 drm/radeon: adjust tested variable
   3f08088bd77e drm/radeon: Add dpm quirk for Jet PRO (v2)
   186f99730498 arm64: Add missing Falkor part number for branch predictor hardening
   a69091bf7e21 drm: Check for lessee in DROP_MASTER ioctl
   6098f2b5d190 drm/ast: Load lut in crtc_commit
   ca1c50fb1ace drm/amd/powerplay: Fix smu_table_entry.handle type
   a8c0779fbff8 drm/qxl: reapply cursor after resetting primary
   f80082e5edf6 drm/qxl: unref cursor bo when finished with it
   ce0f840e7072 drm/ttm: Fix 'buf' pointer update in ttm_bo_vm_access_kmap() (v2)
   5c73538a5312 drm/ttm: Don't add swapped BOs to swap-LRU list
   08f4c47a9415 x86/entry/64: Fix CR3 restore in paranoid_exit()
   738bd3107bdd x86/cpu: Change type of x86_cache_size variable to unsigned int
   ceb5eab28159 x86/spectre: Fix an error message
   7d6446416778 x86/cpu: Rename cpu_data.x86_mask to cpu_data.x86_stepping
   76f0b81aaef6 selftests/x86/mpx: Fix incorrect bounds with old _sigfault
   3786b49d8260 x86/mm: Rename flush_tlb_single() and flush_tlb_one() to __flush_tlb_one_[user|kernel]()
   00ef27460aa2 x86/speculation: Add <asm/msr-index.h> dependency
   ca05b6adda6f nospec: Move array_index_nospec() parameter checking into separate macro
   5dd2e45e8121 x86/speculation: Fix up array_index_nospec_mask() asm constraint
   9a01e5477fa4 x86/debug: Use UD2 for WARN()
   f7c4d5f9c5b3 x86/debug, objtool: Annotate WARN()-related UD2 as reachable
   636aaf1b6d84 objtool: Fix segfault in ignore_unreachable_insn()
   b2fceb82f99d selftests/x86: Disable tests requiring 32-bit support on pure 64-bit systems
   9b580b1c4eb8 selftests/x86: Do not rely on "int $0x80" in single_step_syscall.c
   16446615747e gfs2: Fixes to "Implement iomap for block_map"
   c67f48ee85e4 selftests/x86: Do not rely on "int $0x80" in test_mremap_vdso.c
   dd64b34f50c9 selftests/x86: Fix build bug caused by the 5lvl test which has been moved to the VM directory
   a703766238d1 selftests/x86/pkeys: Remove unused functions
   c34c85d1fda8 selftests/x86: Clean up and document sscanf() usage
   2547dc25e49f selftests/x86: Fix vDSO selftest segfault for vsyscall=none
   639a0bc5556b x86/entry/64: Remove the unused 'icebp' macro
   59ec9d8596c7 x86/entry/64: Fix paranoid_entry() frame pointer warning
   fc0a1888a19e x86/entry/64: Indent PUSH_AND_CLEAR_REGS and POP_REGS properly
   1bbd8cc75975 x86/entry/64: Get rid of the ALLOC_PT_GPREGS_ON_STACK and SAVE_AND_CLEAR_REGS macros
   dee24cc0d177 x86/entry/64: Use PUSH_AND_CLEAN_REGS in more cases
   9b45975b10af x86/entry/64: Introduce the PUSH_AND_CLEAN_REGS macro
   6a783fb001df x86/entry/64: Interleave XOR register clearing with PUSH instructions
   a03cd0b454bd x86/entry/64: Merge the POP_C_REGS and POP_EXTRA_REGS macros into a single POP_REGS macro
   edfd139e92a7 x86/entry/64: Merge SAVE_C_REGS and SAVE_EXTRA_REGS, remove unused extensions
   c32edeec8de8 x86/entry/64: Clear registers for exceptions/interrupts, to reduce speculation attack surface
   d952c8406449 platform/x86: wmi: fix off-by-one write in wmi_dev_probe()
   779335757a39 PM: cpuidle: Fix cpuidle_poll_state_init() prototype
   6804856af9a8 PM / runtime: Update links_count also if !CONFIG_SRCU
   8453b536660f x86/speculation: Clean up various Spectre related details
   c587622856c0 KVM/nVMX: Set the CPU_BASED_USE_MSR_BITMAPS if we have a valid L02 MSR bitmap
   d765b10e7419 X86/nVMX: Properly set spec_ctrl and pred_cmd before merging MSRs
   f1a374a629ca KVM/x86: Reduce retpoline performance impact in slot_handle_level_range(), by always inlining iterator helper methods
   ae2fbb44c78a Revert "x86/speculation: Simplify indirect_branch_prediction_barrier()"
   737281fefceb x86/speculation: Correct Speculation Control microcode blacklist again
   66c27c3873f6 x86/speculation: Update Speculation Control microcode blacklist
   3e33ab3ca43f x86/mm/pti: Fix PTI comment in entry_SYSCALL_64()
   d5a6896dd598 powerpc/mm/radix: Split linear mapping on hot-unplug
   067e114886eb crypto: sun4i_ss_prng - convert lock to _bh in sun4i_ss_prng_generate
   e0ec77b5bedd crypto: sun4i_ss_prng - fix return value of sun4i_ss_prng_generate
   0a7130d20c14 compiler-gcc.h: __nostackprotector needs gcc-4.4 and up
   05ae7a5dd4e3 compiler-gcc.h: Introduce __optimize function attribute
   19af2585aa36 x86/entry/64/compat: Clear registers for compat syscalls, to reduce speculation attack surface
   4d94b7f11bbc x86/entry/64: Clear extra registers beyond syscall arguments, to reduce speculation attack surface
   19228d4e49f3 mm, memory_hotplug: fix memmap initialization
   7cdd5cf281ce x86: PM: Make APM idle driver initialize polling state
   ef1761edcea2 x86/xen: init %gs very early to avoid page faults with stack protector
   26913c7c71bb x86/kexec: Make kexec (mostly) work in 5-level paging mode
   15c8d36723f5 x86/gpu: add CFL to early quirks
   9159658a6441 arm: spear13xx: Fix spics gpio controller's warning
   2429d573bc20 arm: spear13xx: Fix dmas cells
   17823ed21725 arm: spear600: Add missing interrupt-parent of rtc
   a3eae21e25b2 arm: dts: mt7623: fix card detection issue on bananapi-r2
   578a06516a49 ARM: dts: nomadik: add interrupt-parent for clcd
   52cfc570e8e8 ARM: dts: STi: Add gpio polarity for "hdmi,hpd-gpio" property
   8d2ca011bd8b ARM: lpc3250: fix uda1380 gpio numbers
   665129cf7fbb arm64: dts: msm8916: Correct ipc references for smsm
   916d0961f318 s390: fix handling of -1 in set{,fs}[gu]id16 syscalls
   0154ce677dc9 dma-buf: fix reservation_object_wait_timeout_rcu once more v2
   1963cbbf9152 powerpc/xive: Use hw CPU ids when configuring the CPU queues
   804c8aaff6dd powerpc/mm: Flush radix process translations when setting MMU type
   dfff7773e02e powerpc/numa: Invalidate numa_cpu_lookup_table on cpu remove
   40cbe0f92116 powerpc/vas: Don't set uses_vas for kernel windows
   676fafcce904 powerpc/kernel: Block interrupts when updating TIDR
   8119b8ed2062 powerpc/radix: Remove trace_tlbie call from radix__flush_tlb_all
   07028908f181 trace_uprobe: Display correct offset in uprobe_events
   6c5244c54902 ocfs2: try a blocking lock before return AOP_TRUNCATED_PAGE
   3455777ab90e mwifiex: resolve reset vs. remove()/shutdown() deadlocks
   0db649a48778 PM / devfreq: Propagate error from devfreq_add_device()
   ed77f6599252 swiotlb: suppress warning when __GFP_NOWARN is set
   819905fc8458 cpufreq: powernv: Dont assume distinct pstate values for nominal and pmin
   872ebeef0faf RDMA/rxe: Fix rxe_qp_cleanup()
   fe8220f6a95c RDMA/rxe: Fix a race condition in rxe_requester()
   30a032e09618 RDMA/rxe: Fix a race condition related to the QP error state
   5a5fbae808a8 kselftest: fix OOM in memory compaction test
   1e0802f65fcb selftests: seccomp: fix compile error seccomp_bpf
   e42e049c0248 IB/core: Avoid a potential OOPs for an unused optional parameter
   e9e368446931 IB/core: Fix ib_wc structure size to remain in 64 bytes boundary
   17890e8494f2 IB/core: Fix two kernel warnings triggered by rxe registration
   7ff37378d884 IB/mlx4: Fix incorrectly releasing steerable UD QPs when have only ETH ports
   9f298cc55e14 IB/qib: Fix comparison error with qperf compare/swap test
   d4473f8c2fa5 IB/umad: Fix use of unprotected device pointer
   d5610050475e scsi: smartpqi: allow static build ("built-in")
   bb61956d9d9f Linux 4.15.4
   f246c4e6d286 rcu: Export init_rcu_head() and destroy_rcu_head() to GPL modules
   8b159566ab29 scsi: cxlflash: Reset command ioasc
   5dbe7be7e522 scsi: lpfc: Fix crash after bad bar setup on driver attachment
   3dcf4935d1df scsi: core: Ensure that the SCSI error handler gets woken up
   d73763b92944 ftrace: Remove incorrect setting of glob search field
   4d5d5e9612e7 devpts: fix error handling in devpts_mntget()
   8ec68ce24fd1 mn10300/misalignment: Use SIGSEGV SEGV_MAPERR to report a failed user copy
   2433367ce69e ovl: hash directory inodes for fsnotify
   06b4cf20d166 ovl: take mnt_want_write() for removing impure xattr
   65989bff55e8 ovl: take mnt_want_write() for work/index dir setup
   fc103afa3390 ovl: fix failure to fsync lower dir
   e14a5067b13c ovl: force r/o mount when index dir creation fails
   74ef3034525a acpi, nfit: fix register dimm error handling
   1a9b65ce3165 ACPI: sbshc: remove raw pointer from printk() message
   a18ff97b8fff drm/i915: Avoid PPS HW/SW state mismatch due to rounding
   7217671ff5ad arm64: dts: marvell: add Ethernet aliases
   e8217faccb47 objtool: Fix switch-table detection
   1396715adadb lib/ubsan: add type mismatch handler for new GCC/Clang
   157bb32f826c lib/ubsan.c: s/missaligned/misaligned/
   7a8ca66b3b26 clocksource/drivers/stm32: Fix kernel panic with multiple timers
   83cfeb15b960 blk-mq: quiesce queue before freeing queue
   b3e1e2d54d4f pktcdvd: Fix a recently introduced NULL pointer dereference
   7a6938e21159 pktcdvd: Fix pkt_setup_dev() error path
   d4d9ac623f3c pinctrl: sx150x: Add a static gpio/pinctrl pin range mapping
   12cbc6636acf pinctrl: sx150x: Register pinctrl before adding the gpiochip
   c56a74735860 pinctrl: sx150x: Unregister the pinctrl on release
   178e4288c014 pinctrl: mcp23s08: fix irq setup order
   25484773c7a9 pinctrl: intel: Initialize GPIO properly when used through irqchip
   787229894896 genirq: Make legacy autoprobing work again
   141fce350f00 EDAC, octeon: Fix an uninitialized variable warning
   36ea5adbf38e xtensa: fix futex_atomic_cmpxchg_inatomic
   aa38e58d15ab alpha: fix formating of stack content
   aa117ce7d303 alpha: fix reboot on Avanti platform
   3bbebfe82495 alpha: Fix mixed up args in EXC macro in futex operations
   c3135742ca71 alpha: osf_sys.c: fix put_tv32 regression
   190d1ab5450c alpha: fix crash if pthread_create races with signal delivery
   24faada95fbe signal/sh: Ensure si_signo is initialized in do_divide_error
   cce3b22f14dd signal/openrisc: Fix do_unaligned_access to send the proper signal
   4574b506d634 ipmi: use dynamic memory for DMI driver override
   457ad223c59d Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a "rewritten" version
   7ac3d11aba75 Revert "Bluetooth: btusb: fix QCA Rome suspend/resume"
   ea0c164b5895 Bluetooth: btsdio: Do not bind to non-removable BCM43341
   062b49f817aa HID: quirks: Fix keyboard + touchpad on Toshiba Click Mini not working
   f877972bcf62 pipe: fix off-by-one error when checking buffer limits
   4f361f601c04 pipe: actually allow root to exceed the pipe buffer limits
   b4ae624fc003 kernel/relay.c: revert "kernel/relay.c: fix potential memory leak"
   c84c68fc2321 kernel/async.c: revert "async: simplify lowest_in_progress()"
   20819e0cdfa8 fs/proc/kcore.c: use probe_kernel_read() instead of memcpy()
   c578f7ee61fe media: cxusb, dib0700: ignore XC2028_I2C_FLUSH
   1bddff4ff67e media: vivid: fix module load error when enabling fb and no_error_inj=1
   cefbd21480dd media: ts2020: avoid integer overflows on 32 bit machines
   de87fcee48bc media: dt-bindings/media/cec-gpio.txt: mention the CEC/HPD max voltages
   ec1eeaf5b6c1 media: dvb-frontends: fix i2c access helpers for KASAN
   2058517f456c media: dvb_frontend: be sure to init dvb_frontend_handle_ioctl() return code
   b6de976631b2 kasan: rework Kconfig settings
   6d5dd742cbf5 kasan: don't emit builtin calls when sanitization is off
   5e2dee3fc6e0 Btrfs: raid56: iterate raid56 internal bio with bio_for_each_segment_all
   04f417b0312c btrfs: Handle btrfs_set_extent_delalloc failure in fixup worker
   51611b5d19a5 afs: Fix server list handling
   a0a594704ff3 afs: Fix missing cursor clearance
   8b690011c27d afs: Need to clear responded flag in addr cursor
   da89b2d752e9 afs: Add missing afs_put_cell()
   03a7be790fc9 watchdog: imx2_wdt: restore previous timeout after suspend+resume
   16c4b6e0c064 ASoC: compress: Correct handling of copy callback
   5711cf9b8908 ASoC: skl: Fix kernel warning due to zero NHTL entry
   3a042d14100f ASoC: rockchip: i2s: fix playback after runtime resume
   6bd298ee74d8 ASoC: acpi: fix machine driver selection based on quirk
   8000c0f57633 KVM: PPC: Book3S PR: Fix broken select due to misspelling
   47415812fec3 KVM: arm/arm64: Handle CPU_PM_ENTER_FAILED
   703f0395362a KVM: PPC: Book3S HV: Drop locks before reading guest memory
   0e46778efc9f KVM: PPC: Book3S HV: Make sure we don't re-enter guest without XIVE loaded
   8285c292436c KVM: nVMX: Fix bug of injecting L2 exception into L1
   5cb7e6931e52 KVM: nVMX: Fix races when sending nested PI while dest enters/leaves L2
   8d3bb572ef44 arm: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls
   e76a4b126d1e crypto: talitos - fix Kernel Oops on hashing an empty file
   97905e9cf76a crypto: sha512-mb - initialize pending lengths correctly
   bde50164e671 crypto: caam - fix endless loop when DECO acquire fails
   d971cb5f5fbd media: v4l2-compat-ioctl32.c: make ctrl_is_pointer work for subdevs
   76db969a3bbf media: v4l2-compat-ioctl32.c: refactor compat ioctl32 logic
   11fe1040030e media: v4l2-compat-ioctl32.c: don't copy back the result for certain errors
   1cc643ab48ee media: v4l2-compat-ioctl32.c: drop pr_info for unknown buffer type
   2b14d31a951e media: v4l2-compat-ioctl32.c: copy clip list in put_v4l2_window32
   4e364b677035 media: v4l2-compat-ioctl32.c: fix ctrl_is_pointer
   9c15a21a0737 media: v4l2-compat-ioctl32.c: copy m.userptr in put_v4l2_plane32
   e5294484a664 media: v4l2-compat-ioctl32.c: avoid sizeof(type)
   991030bd0aa7 media: v4l2-compat-ioctl32.c: move 'helper' functions to __get/put_v4l2_format32
   dc9a62adcd76 media: v4l2-compat-ioctl32.c: fix the indentation
   d57714a7c0f2 media: v4l2-compat-ioctl32.c: add missing VIDIOC_PREPARE_BUF
   fc174e6cbdee media: v4l2-ioctl.c: don't copy back the result for -ENOTTY
   1113a74590b4 media: v4l2-ioctl.c: use check_fmt for enum/g/s/try_fmt
   46e8d06e423c crypto: hash - prevent using keyed hashes without setting key
   cec606a62e01 crypto: hash - annotate algorithms taking optional key
   b5e994037f37 crypto: poly1305 - remove ->setkey() method
   a3b6f7d313af crypto: mcryptd - pass through absence of ->setkey()
   f034d24fcef8 crypto: cryptd - pass through absence of ->setkey()
   927a0dd1c4de crypto: hash - introduce crypto_hash_alg_has_setkey()
   d53f47c224c1 ahci: Add Intel Cannon Lake PCH-H PCI ID
   bd3b3e9b0520 ahci: Add PCI ids for Intel Bay Trail, Cherry Trail and Apollo Lake AHCI
   d714ff511458 ahci: Annotate PCI ids for mobile Intel chipsets as such
   8d94a30179ca kernfs: fix regression in kernfs_fop_write caused by wrong type
   0e61f8b07b57 nfsd: Detect unhashed stids in nfsd4_verify_open_stid()
   782b4e79ceaa NFS: Fix a race between mmap() and O_DIRECT
   0645878a34d0 NFS: reject request for id_legacy key without auxdata
   60af9d47409c NFS: commit direct writes even if they fail partially
   6d301c957faf NFS: Fix nfsstat breakage due to LOOKUPP
   09f453630a5c NFS: Add a cond_resched() to nfs_commit_release_pages()
   4be335576eca nfs41: do not return ENOMEM on LAYOUTUNAVAILABLE
   d2a7f7a32d70 nfs/pnfs: fix nfs_direct_req ref leak when i/o falls back to the mds
   79fca845f0e4 ubifs: free the encrypted symlink target
   973f83fab1b1 ubi: block: Fix locking for idr_alloc/idr_remove
   155e260ffa14 ubi: fastmap: Erase outdated anchor PEBs during attach
   85f7a399a372 ubi: Fix race condition between ubi volume creation and udev
   edb72dea6d46 mtd: nand: sunxi: Fix ECC strength choice
   ed538bc15951 mtd: nand: Fix nand_do_read_oob() return value
   b39c718d1a37 mtd: nand: brcmnand: Disable prefetch by default
   4ea0377d0dcc mtd: cfi: convert inline functions to macros
   d60ada32f9c1 arm64: Kill PSCI_GET_VERSION as a variant-2 workaround
   e301ef818938 arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support
   1b3173cc0818 arm/arm64: smccc: Implement SMCCC v1.1 inline primitive
   5fa82723fa1b arm/arm64: smccc: Make function identifiers an unsigned quantity
   eadba98b0dd9 firmware/psci: Expose SMCCC version through psci_ops
   5195a21d5ba0 firmware/psci: Expose PSCI conduit
   4a345e5e8731 arm64: KVM: Add SMCCC_ARCH_WORKAROUND_1 fast handling
   7a1b576877dd arm64: KVM: Report SMCCC_ARCH_WORKAROUND_1 BP hardening support
   8b423ee88829 arm/arm64: KVM: Turn kvm_psci_version into a static inline
   d18561857b79 arm64: KVM: Make PSCI_VERSION a fast path
   68894ca72b4d arm/arm64: KVM: Advertise SMCCC v1.1
   9aecea071f02 arm/arm64: KVM: Implement PSCI 1.0 support
   bfc67e088515 arm/arm64: KVM: Add smccc accessors to PSCI code
   038a0579029d arm/arm64: KVM: Add PSCI_VERSION helper
   bf9708a5df1e arm/arm64: KVM: Consolidate the PSCI include files
   a2843529c774 arm64: KVM: Increment PC after handling an SMC trap
   2458a525a4a9 arm64: Branch predictor hardening for Cavium ThunderX2
   d2a40a765e31 arm64: Implement branch predictor hardening for Falkor
   5152c0c11ccc arm64: Implement branch predictor hardening for affected Cortex-A CPUs
   df65d7b1c194 arm64: cputype: Add missing MIDR values for Cortex-A72 and Cortex-A75
   40ad0b937384 arm64: entry: Apply BP hardening for suspicious interrupts from EL0
   9444427e9f43 arm64: entry: Apply BP hardening for high-priority synchronous exceptions
   9a7a2f40da4a arm64: KVM: Use per-CPU vector when BP hardening is enabled
   7c2108a2db49 arm64: Move BP hardening to check_and_switch_context
   24f07bba953d arm64: Add skeleton to harden the branch predictor against aliasing attacks
   e8b634e69ce3 arm64: Move post_ttbr_update_workaround to C code
   4f26eef7f241 drivers/firmware: Expose psci_get_version through psci_ops structure
   4506169a1e1e arm64: cpufeature: Pass capability structure to ->enable callback
   2e780011c8fd arm64: Run enable method for errata work arounds on late CPUs
   68330fdd469b arm64: cpufeature: __this_cpu_has_cap() shouldn't stop early
   835662c5bd55 arm64: futex: Mask __user pointers prior to dereference
   15814374752a arm64: uaccess: Mask __user pointers for __arch_{clear, copy_*}_user
   9ca9d1c25789 arm64: uaccess: Don't bother eliding access_ok checks in __{get, put}_user
   e11038f4c1c7 arm64: uaccess: Prevent speculative use of the current addr_limit
   cf6df3266a91 arm64: entry: Ensure branch through syscall table is bounded under speculation
   4d4e58257ef5 arm64: Use pointer masking to limit uaccess speculation
   2a8a65a284c8 arm64: Make USER_DS an inclusive limit
   a17d329d36c8 arm64: Implement array_index_mask_nospec()
   83c5e4e3c634 arm64: barrier: Add CSDB macros to control data-value prediction
   ed6cfd54cc9b perf: arm_spe: Fail device probe when arm64_kernel_unmapped_at_el0()
   eefd900d3450 arm64: idmap: Use "awx" flags for .idmap.text .pushsection directives
   b87b5ce113e1 arm64: entry: Reword comment about post_ttbr_update_workaround
   ccb60ecfe878 arm64: Force KPTI to be disabled on Cavium ThunderX
   173358a49173 arm64: kpti: Add ->enable callback to remap swapper using nG mappings
   1e41ebd20f59 arm64: mm: Permit transitioning from Global to Non-Global without BBM
   3fb3a06fb821 arm64: kpti: Make use of nG dependent on arm64_kernel_unmapped_at_el0()
   56e4bdb0a3e9 arm64: Turn on KPTI only on CPUs that need it
   cb132ae43a2a arm64: cputype: Add MIDR values for Cavium ThunderX2 CPUs
   e7a062e77db3 arm64: kpti: Fix the interaction between ASID switching and software PAN
   7036e5f6774e arm64: mm: Introduce TTBR_ASID_MASK for getting at the ASID in the TTBR
   e0b74ca82f28 arm64: capabilities: Handle duplicate entries for a capability
   f39015ae7127 arm64: Take into account ID_AA64PFR0_EL1.CSV3
   14a756c2fda0 arm64: Kconfig: Reword UNMAP_KERNEL_AT_EL0 kconfig entry
   8c17f836255d arm64: Kconfig: Add CONFIG_UNMAP_KERNEL_AT_EL0
   feace1c8f6eb arm64: use RET instruction for exiting the trampoline
   6eac605e7103 arm64: kaslr: Put kernel vectors address in separate data page
   064607a4fd29 arm64: entry: Add fake CPU feature for unmapping the kernel at EL0
   0b5deee12ce7 arm64: tls: Avoid unconditional zeroing of tpidrro_el0 for native tasks
   a5ed8761f801 arm64: cpu_errata: Add Kryo to Falkor 1003 errata
   26ce07109300 arm64: erratum: Work around Falkor erratum #E1003 in trampoline code
   89685f858b8f arm64: entry: Hook up entry trampoline to exception vectors
   3117e455eee9 arm64: entry: Explicitly pass exception level to kernel_ventry macro
   3f14b03dde8c arm64: mm: Map entry trampoline into trampoline and kernel page tables
   a1f8eeab0e78 arm64: entry: Add exception trampoline page for exceptions from EL0
   392bb3ba6865 arm64: mm: Invalidate both kernel and user ASIDs when performing TLBI
   68e3fee6ea5c arm64: mm: Add arm64_kernel_unmapped_at_el0 helper
   75802ca67d6b arm64: mm: Allocate ASIDs in pairs
   9c3ad6e6b827 arm64: mm: Fix and re-enable ARM64_SW_TTBR0_PAN
   fc29c581cdf3 arm64: mm: Rename post_ttbr0_update_workaround
   e5b604c97b91 arm64: mm: Remove pre_ttbr0_update_workaround for Falkor erratum #E1003
   9586273ff1f8 arm64: mm: Move ASID from TTBR0 to TTBR1
   2c8c2e969339 arm64: mm: Temporarily disable ARM64_SW_TTBR0_PAN
   541214369fcb arm64: mm: Use non-global mappings for kernel space
   2eeaddcc139b media: hdpvr: Fix an error handling path in hdpvr_probe()
   2d1073cfbe78 media: dvb-usb-v2: lmedm04: move ts2020 attach to dm04_lme2510_tuner
   20f3bae5957e media: dvb-usb-v2: lmedm04: Improve logic checking of warm start
   410179dfc2b8 sched/rt: Up the root domain ref count when passing it around via IPIs
   74adee6d7b79 sched/rt: Use container_of() to get root domain in rto_push_irq_work_func()
   8709b63f2ebc Revert "drm/i915: mark all device info struct with __initconst"
   bf8b6ada9508 watchdog: gpio_wdt: set WDOG_HW_RUNNING in gpio_wdt_stop
   5577da97bd3f ssb: Do not disable PCI host on non-Mips
   a52b839c8d65 dmaengine: dmatest: fix container_of member in dmatest_callback
   76eac767a85b cpufreq: mediatek: add mediatek related projects into blacklist
   6cb0b894e128 CIFS: zero sensitive data when freeing
   44fe87e83650 cifs: Fix autonegotiate security settings mismatch
   a0f967b072c9 cifs: Fix missing put_xid in cifs_file_strict_mmap
   e4fb3fda25d6 watchdog: indydog: Add dependency on SGI_HAS_INDYDOG

(From OE-Core rev: 9740c4b037a43801516af93fac0345b740592d35)

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>
2018-03-08 10:39:32 -08:00
Bruce Ashfield
240c3db54d linux-libc-headers: update to 4.15.7
While we don't normally follow all the -stable updates for libc-headers, there
was one userspace header that was broken in the 4.15 cycle, and it has now
been fixed in -stable.

The offending header breaks the build for several packages, so we update to
pick up this change:

   Author: Hauke Mehrtens <hauke@hauke-m.de>
   Date:   Mon Feb 12 23:59:51 2018 +0100

       uapi/if_ether.h: move __UAPI_DEF_ETHHDR libc define

       commit da360299b6734135a5f66d7db458dcc7801c826a upstream.

       This fixes a compile problem of some user space applications by not
       including linux/libc-compat.h in uapi/if_ether.h.

       linux/libc-compat.h checks which "features" the header files, included
       from the libc, provide to make the Linux kernel uapi header files only
          provide no conflicting structures and enums. If a user application mixes
       kernel headers and libc headers it could happen that linux/libc-compat.h
       gets included too early where not all other libc headers are included
       yet. Then the linux/libc-compat.h would not prevent all the
       redefinitions and we run into compile problems.
       This patch removes the include of linux/libc-compat.h from
       uapi/if_ether.h to fix the recently introduced case, but not all as this
       is more or less impossible.

       It is no problem to do the check directly in the if_ether.h file and not
       in libc-compat.h as this does not need any fancy glibc header detection
       as glibc never provided struct ethhdr and should define
       __UAPI_DEF_ETHHDR by them self when they will provide this.

       The following test program did not compile correctly any more:

       #include <linux/if_ether.h>
       #include <netinet/in.h>
       #include <linux/in.h>

       int main(void)
       {
           return 0;
       }

       Fixes: 6926e041a892 ("uapi/if_ether.h: prevent redefinition of struct ethhdr")
       Reported-by: Guillaume Nault <g.nault@alphalink.fr>
       Cc: <stable@vger.kernel.org> # 4.15
       Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
       Signed-off-by: David S. Miller <davem@davemloft.net>
       Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

We also add a new muslc patch to adjust the ethhdr change in the uapi. As is
suggested in the kernel commit, we can protect musl directly in if_ether itself.

(From OE-Core rev: 1718a2dbabd05e51717b17327d531948faa64659)

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>
2018-03-08 10:39:32 -08:00
Khem Raj
be2982a630 systemd: Explicitly add hidden attribute to __start_BUS_ERROR_MAP and __stop_BUS_ERROR_MAP
These symbols appear in dynsyms of libsystemd.so and musl loader
doesnt like it

Error relocating /mnt/a/oe/build/tmp/work/i586-bec-linux-musl/avahi/0.7-r0/recipe-sysroot//lib/libsystemd.so.0: __start_BUS_ERROR_MAP: symbol not found
Error relocating /mnt/a/oe/build/tmp/work/i586-bec-linux-musl/avahi/0.7-r0/recipe-sysroot//lib/libsystemd.so.0: __stop_BUS_ERROR_MAP: symbol not found

[YOCTO #12577]

(From OE-Core rev: a54b025bfde774353aa278ca78fa0116c52b6d71)

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>
2018-03-08 10:39:32 -08:00
Anuj Mittal
ba9d8c5a39 buildhistory: remove duplicate renames
In cases when a package like qemu might have files with same names
in multiple directories, the rename logic might go wrong and create
multiple rename pair for a single directory.

Make sure that we process each rename pair once. Also, don't print
FILELIST as part of PKGSIZE to ensure that it gets printed only once
when reporting package changes.

Fixes [YOCTO #12559]

(From OE-Core rev: cff000c43d6e9a183911338951026dfbef88f838)

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>
2018-03-08 10:39:32 -08:00
Ola x Nilsson
551cb1f373 libcgroup: Various fixes
* Use PACKAGECONFIG for pam instead of two bb.utils.contains
* Add leading whitespace to EXTRA_OEMAKE_append_libc_musl
* Usr lnr in do_install_append rather than a sed generated
  ../-sequence.

(From OE-Core rev: 02416e0d007c6c0f8c01a1e1fe0485b21087ec00)

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>
2018-03-08 10:39:32 -08:00
Mike Crowe
f1318b0421 util-linux: Remove kill from native install
util-linux installs kill as ${base_bindir}/kill. coreutils installs kill as
${bindir}/kill. If base_bindir and bindir are the same (as they are in
meta-micro) then this causes a conflict for recipes that depend on
util-linux-native and coreutils-native.

This means that in the unlikely event that a recipe needs to run kill
during the build, it will need to depend on coreutils-native.

core-image-sato built successfully for me with this change.

(From OE-Core rev: 5569e6ef3ef646fa498f59b8dae1d5d34d0bb9c3)

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>
2018-03-08 10:39:32 -08:00
youngseok
8715b5f311 libpng: Upgrade 1.6.32 -> 1.6.34
License-Update: License file changes are due to updates in Version and Copyright date

(From OE-Core rev: cdf16bb9751603fdb0340c03ef43f193918d31df)

Signed-off-by: youngseok <earwigz32@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-08 10:39:32 -08:00
Huang Qiyu
e5969c7ec7 patch:2.7.5 -> 2.7.6
Upgrade patch from 2.7.5 to 2.7.6.

(From OE-Core rev: e5dcd58e5b2ef0b8e2bbe90e9bb1cede4e76bf75)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-08 10:39:32 -08:00
Huang Qiyu
6c99444c76 iptables: 1.6.1 -> 1.6.2
Upgrade iptables from 1.6.1 to 1.6.2.

(From OE-Core rev: 1bca3f22d48d138086752e61569ddc9cf8e9cf79)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-08 10:39:32 -08:00
Otavio Salvador
3c198a52ba libdrm: 2.4.90 -> 2.4.91
This is a minor release, announced in March 5th, 2018, which includes
following changes:

,----
| Andrey Grodzovsky (1):
|      amdgpu: Fix mistake in initial hole size calculation.
|
| Christian König (3):
|      amdgpu: mostly revert "use the high VA range if possible v2"
|      amdgpu: add AMDGPU_VA_RANGE_HIGH
|      amdgpu: fix "add AMDGPU_VA_RANGE_HIGH"
|
| Chunming Zhou (1):
|      test/amdgpu: disable bo eviction test by default
|
| Eric Engestrom (1):
|      meson: add configuration summary
|
| Heiko Becker (1):
|      *-symbol-check: Don't hard-code nm executable
|
| Igor Gnatenko (1):
|      meson: do not use cairo/valgrind if disabled
|
| Jonathan Gray (1):
|      meson/configure.ac: pthread-stubs not present on OpenBSD
|
| Marek Olšák (2):
|      meson: bump the version number
|      RELEASING: mention meson
|
| Michel Dänzer (1):
|      tests/amdgpu: Fix misspellings of "suite"
|
| Rob Clark (2):
|      freedreno: add interface to get buffer address
|      bump version for release
|
| Rob Herring (4):
|      android: revert making handle magic and version members const
|      android: fix mis-named alloc_handle_t
|      android: add helper to convert buffer_handle_t to gralloc_handle_t ptr
|      android: fix gralloc_handle_create() problems
|
| Thierry Reding (2):
|      drm/fourcc: Fix fourcc_mod_code() definition
|      drm/tegra: Sanitize format modifiers
`----

(From OE-Core rev: eef14164fb663d722234dbaf98611cf7ff0043d9)

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>
2018-03-08 10:39:32 -08:00
Maxin B. John
12cb35e4da libsolv: update to version 0.6.33
0.6.32 -> 0.6.33

* new Selection.clone() method in the bindings
* new pool.parserpmrichdep() method in the bindings
* fix bad assignment in solution refinement that led to a memory leak
* use license tag instead of doc in the spec file [bnc#1082318]

(From OE-Core rev: 57a4c4bc5fddf920af2745d7d9ff87a76bdd9807)

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>
2018-03-08 10:39:32 -08:00
Maxin B. John
1260b3f259 libunistring: update version to 0.9.9
License-Update: checksum change is due to bump in copyright year
to 2018.

(From OE-Core rev: 1ab66475eb296dd0edab13d32eb1b47e600e38f9)

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>
2018-03-08 10:39:32 -08:00
Andre McCurdy
3a7f48ebcb flex: create separate package for libfl
Target binaries linked with libfl currently generate a runtime
dependency on the entire flex package (and therefore m4 and bison
too). Copy Debian's approach and create a separate package for libfl.

(From OE-Core rev: 1bc6ad19d56498847dc95cce0ea371ba77eff143)

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>
2018-03-08 10:39:32 -08:00
Daniel Díaz
83cd2b3e77 gdb: Add signed-off-by tag to patch
A patch went in (in 4aaf747) without a proper signed-off-by
because the project (in its upstream repository) does not use
Git.

This will take care of that before spreading the patch to
other branches.

(From OE-Core rev: b8ddb0c8d79b969fff40e0fdfbeeef214a338ebe)

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:52 -08:00
Ross Burton
ffa658dc8f gtk-doc: inherit classes only if gtk-doc is enabled
Respect GTKDOC_ENABLED when inheriting python3native and DEPENDing on
qemu-native, as they're not needed when disabled.

python3native is required as otherwise the host Python is most likely used which
may or may not have python3-six installed (a requirement of gtk-doc).

(From OE-Core rev: b93386b22e1dc78b2917652dac4ad02745a99989)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:52 -08:00
Ross Burton
f0ccd96a64 libfm: fix dependencies
libfm uses glib-gettextize so explicitly depend on glib-2.0-native.

Instead of depending on gettext-native, inherit gettext.

(From OE-Core rev: 9c367c92df0ca8afe0a75b066fdc9e21560d57ff)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:52 -08:00
Manjukumar Matha
1f9d6427f4 valgrind: Mask CPUID support in HWCAP on aarch64
valgrind currently does not know anything about the CPUID flag added to
the HWCAP auxv entry in kernel 4.11+

At runtime it will fails like this:

ARM64 front end: branch_etc
disInstr(arm64): unhandled instruction 0xD5380001
disInstr(arm64): 1101'0101 0011'1000 0000'0000 0000'0001 ==2082==
valgrind: Unrecognised instruction at address 0x4014e64.

This patch is a workaround by masking all HWCAP. This patch is dervied
from https://bugzilla.redhat.com/show_bug.cgi?id=1464211

(From OE-Core rev: cdeb3d530af6cec1959c986aff3d6906939c8918)

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:52 -08:00
Jason Wessel
22318836f6 package_manager.py: Print offending package instead of non-sense trace
If you have a package that does not generate a manifest due to using a
noexec rule, the package name should be printed so the problem can be
tracked down.  With out the patch you get an error that makes it look
more like the package_manager is broken as shown below.

oe-core/meta/lib/oe/package_manager.py', lineno: 534, function: create_packages_dir
     0530:
     0531:    for dep in rpmdeps:
     0532:        c = taskdepdata[dep][0]
     0533:        manifest, d2 = oe.sstatesig.find_sstate_manifest(c, taskdepdata[dep][2], taskname, d, multilibs)
 *** 0534:        if not os.path.exists(manifest):
     0535:            continue
     0536:        with open(manifest, "r") as f:
     0537:            for l in f:
     0538:                l = l.strip()
File: '/usr/lib/python3.5/genericpath.py', lineno: 19, function: exists
     0015:# This is false for dangling symbolic links on systems that support them.
     0016:def exists(path):
     0017:    """Test whether a path exists.  Returns False for broken symbolic links"""
     0018:    try:
 *** 0019:        os.stat(path)
     0020:    except OSError:
     0021:        return False
     0022:    return True
     0023:
Exception: TypeError: stat: can't specify None for path argument

(From OE-Core rev: 21924fdba286e5962b1680601664dc0491527e25)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:51 -08:00
Ross Burton
e42aad1a75 usbutils: drop upstreamed patch
This has been fixed upstream since 008, albeit slightly differently so the patch
continued to apply.

(From OE-Core rev: e65ec7a68de6a0d409a5750b2fbd7ebca9acf5a3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:51 -08:00
Ross Burton
68956c3a86 libpcre: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: eb7632f593b81066da4de44bc001974d6726a118)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:51 -08:00
Ross Burton
261b8ddf5b vulkan: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 453a433768bff76e4d3ad9bf40fd9d8210b0950e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:51 -08:00
Ross Burton
e6a66da9a9 xproto: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: a9f9ca73840d1e6911e496a32ee862a724615b50)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:51 -08:00
Ross Burton
709552d96a libxcb: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 4a3d8806d25e146be40eaf640bc6da8bdd1b6e05)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:51 -08:00
Ross Burton
d2a270bf69 libaio: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: e3e8c2ec038c95d8203c4886ef46aec6b0741837)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:51 -08:00
Ross Burton
e164b46c30 lsb: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: fc856d4539a13f1ea6bf7ce347e9ca85577ecfb8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:51 -08:00
Ross Burton
da5622b7a9 screen: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: e0a363d3374738d1bc8a0889dade83d2c35ef964)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:51 -08:00
Ross Burton
3cc4408f3a sysstat: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 4a0c9bb514ff3d6966f1da480cd48c076403f58d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:51 -08:00
Ross Burton
a6ca00f2af unzip: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: b45ce6dbbd459ecc96eae76b5695927dbda1dbb4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:51 -08:00
Ross Burton
d8de33b0c2 watchdog: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 7c8e3b9bd26b35654f3bd24bbb8d86b8c6e34a67)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:51 -08:00
Ross Burton
8a21fa144c sysklogd: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: a441306ce9de4ca1cc07dfb8aa330e8d6d67e651)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:51 -08:00
Ross Burton
62fe2aa492 btrfs-tools: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: d7696f5f89ac94b5cae13c5e07d6d4c7133c3ed9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:51 -08:00
Ross Burton
3c3505d588 elfutils: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 2526fcfac8e360d5d27f5ebe26608df470b3b84b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:51 -08:00
Ross Burton
da839dce3a ccache: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 4bfeaf65d3f48174d27af09ac4279c1c91bf4104)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:51 -08:00
Ross Burton
0b60cf4cd7 flex: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: a17860995731ab1e327bf88953fa3ed4641b584e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:51 -08:00
Ross Burton
2cf3698b06 mtools: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 24674afaf90491e898bfd2c12992a1b5c5e8d2f4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:51 -08:00
Ross Burton
6aa6a4699a squashfs-tools: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 319de7e44f9fc853b53f2628abaf640d8241f615)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:51 -08:00
Ross Burton
f8e48db172 iproute2: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: f369e9dce9dc2bcd89b2492545112da78aca690e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:50 -08:00
Ross Burton
bbb425141e neard: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 1aa6e504b21d1e7290d81af8fc7863053269a196)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:50 -08:00
Ross Burton
9e6be8b149 nfs-utils: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 0902bef12c815f302f04fa28606ece4b014260d6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:50 -08:00
Ross Burton
5b63a64f7f dropbear: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 18300f8faa5050178efcd22f2db843f9b3f3bb0f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:50 -08:00
Ross Burton
46a2d5ef5c kbd: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: b1fa565ffa02796eaa55f5ac6700f1a932d62957)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:50 -08:00
Ross Burton
395a4c8aee libxml: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: d71d6854fadc96fc3c75617af3beba02952fdef6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:50 -08:00
Ross Burton
9fc1378a53 ovmf: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 68d567bd64debc3dfb37df3c814287549da56a3b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:50 -08:00
Ross Burton
4a566242ab gtk+: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 7ac8688c9fce49a005cbe9afe028453f6fea4e79)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:50 -08:00
Ross Burton
1ac7ffcbdf gobject-introspection: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 5a72d04296cc7aea5893cba29c6da1cf1469911b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:50 -08:00
Ross Burton
25c3d4e31d dbus-glib: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 9f15e5256eb79c8cfc4b3a4e11617eeb5f38edea)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:50 -08:00
Ross Burton
c141184cc7 dbus: remove upstreamed patch
(From OE-Core rev: 887afb4cf326cf3ad37761343db9e898dbcad2f5)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:50 -08:00
Lars Persson
e5f258cece util-linux: add taskset to alternatives list
The taskset command is provided by both busybox and util-linux.

(From OE-Core rev: 83a36fb20f8cb0e45295cb71b76e74af3986f993)

Signed-off-by: Lars Persson <larper@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:43:11 -08:00
Daniel Díaz
4678ab168f gdb: fix header ordering for TRAP_HWBKPT
This error can appear in gdb/nat/linux-ptrace.c because of
the order in which some headers are processed:
| In file included from ../../gdb-7.11.1/gdb/nat/linux-ptrace.c:20:0:
| ../../gdb-7.11.1/gdb/nat/linux-ptrace.h:175:22: error: expected identifier before numeric constant
|  # define TRAP_HWBKPT 4
|                       ^
| Makefile:2357: recipe for target 'linux-ptrace.o' failed
| make[2]: *** [linux-ptrace.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory '/oe/build/tmp-rpb-glibc/work/aarch64-linaro-linux/gdb/7.11.1-r0/build-aarch64-linaro-linux/gdb'
| Makefile:8822: recipe for target 'all-gdb' failed
| make[1]: *** [all-gdb] Error 2
| make[1]: Leaving directory '/oe/build/tmp-rpb-glibc/work/aarch64-linaro-linux/gdb/7.11.1-r0/build-aarch64-linaro-linux'
| Makefile:846: recipe for target 'all' failed
| make: *** [all] Error 2

A patch from GDB's current master solves the issue.

(From OE-Core rev: 4aaf747099714ec11158571527396ed9e818729e)

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:43:11 -08:00
Fathi Boudra
23afd66b01 glibc: add missing TRAP_BRANCH/TRAP_HWBKPT definitions
Patch submitted upstream, pending to be merged:
https://sourceware.org/bugzilla/show_bug.cgi?id=21286

(From OE-Core rev: 11ebb5054e5ec1171ade90249e3a30ac8174a35a)

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:43:11 -08:00
Juro Bystricky
071489bb39 e2fsprogs_1.43.8.bb: improve reproducibility
Various builds of e2fsprogs 1.43.7 package locales which may or may
not have POT-Creation-Date removed. There is no obvious pattern, it
affects different locales each time, the build being non-deterministic.

The root cause was tracked to non-deterministic time stamps (as GIT does
not preserve file mktime), so some "make" rules sometimes fired, sometimes
did not.

The remedy is to explicitly "touch" files that cause non-deterministic build.

[YOCTO #12516]

(From OE-Core rev: b32f3b655189fd89dcfce084b6fda0d379300f75)

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>
2018-03-06 06:43:11 -08:00
Daniel Díaz
eee3ee5c5b kmscube: Add patch for missing GBM function
Some implementations of GBM, like the one included with
libMali, do not have gbm_bo_map() nor gbm_bo_unmap().
This patch enables kmscube to work with those implementations
even if it doesn't work as great.

(From OE-Core rev: 54615151da5e8c77c803947ce5760d06c1691c58)

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:43:10 -08:00
Chen Qi
d1e6aa57f7 meson.bbclass: fix to build for more projects
We should use the value of CC for the c compiler setting in cross
compilation configuration file for meson. For example, if we only
use ${HOST_PREFIX}gcc instead of ${CC}, we would meet the following
do_compile failure for systemd.

  cc1: fatal error: linux/capability.h: No such file or directory

Do the same change for LD, AR, NM, STRIP and READELF.

(From OE-Core rev: 177bd96a531fcc85e62baff04aba327e2bccee07)

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>
2018-03-06 06:43:10 -08:00
Tim Orling
40cdf6dd78 libconvert-asn1-perl: inherit ptest-perl
* Enable ptest using new ptest-perl.bbclass

(From OE-Core rev: 04f49bc0f9c56ef9b6970891058c200968c5ded9)

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>
2018-03-06 06:43:10 -08:00
Ioan-Adrian Ratiu
4d9519951c dtc: add rdepends_${PN}-misc = diffutils
Needed by dtdiff which calls `diff` to display its result.

(From OE-Core rev: ace8b318038389c07694ae5234811ce92982ddc8)

Signed-off-by: Ioan-Adrian Ratiu <adi@adirat.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:43:10 -08:00
Ioan-Adrian Ratiu
0302d02482 diffutils: allow native & nativesdk builds
Required by the new dtc rdepends to avoid errors like this:

ERROR: Required build target 'ionel-rpi-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['ionel-rpi-image', 'nativesdk-packagegroup-sdk-host', 'nativesdk-qemu', 'nativesdk-dtc', 'nativesdk-diffutils']

(From OE-Core rev: dc3829f31bcc7522e8eb457623a74655a738c0d9)

Signed-off-by: Ioan-Adrian Ratiu <adi@adirat.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:43:10 -08:00
Khem Raj
160e7b0875 godep.bbclass: Add helper class to enable go-dep tool
Many go packages can take advantage of dep tool since
they manage their own dependencies, this class helps
in using go dep tool for such packages

(From OE-Core rev: 9bea8313b0dd5a6af08d15ee8634fe2ef9ee0f75)

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>
2018-03-06 06:43:10 -08:00
Matt Madison
c0d1858705 tcmode-default.inc: add settings for go
to allow GOVERSION to be set for using an older
go toolchain.

(From OE-Core rev: 10193150381b1088a5de627aed0ad1d052a3955d)

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>
2018-03-06 06:43:10 -08:00
Matt Madison
b949ac0f5e go-runtime: remove unneeded nativesdk override, rename variable
since GO_LDFLAGS is also used by the dist tool, and it's confusing
to use a variable with the same name (but not exported, so unused
by make.bash/dist).

(From OE-Core rev: b5ee166307ea095c77237e06744dff6810800bad)

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>
2018-03-06 06:43:10 -08:00
Matt Madison
98fb2735cc packagegroup-go-sdk-target: add go-runtime-staticdev
to allow go programs to be linked either statically or
dynamically when cross-compiling with the SDK.

(From OE-Core rev: d2201447692940a5b21977fc28e6b944e3a53d3c)

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>
2018-03-06 06:43:10 -08:00
Matt Madison
8701fe54a8 go: disable PIE CFLAGS for nativesdk and cross-canadian builds
The statically-linked Go code in the toolchain is not compatible
with PIE, so disable its use in the C compiler during the
toolchain build.

(From OE-Core rev: cc7b179917c715b29822200fe91ecd755a5750e6)

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>
2018-03-06 06:43:10 -08:00
Matt Madison
3ffafcd9cf go.bbclass, goarch.bbclass: update SECURITY_CFLAGS
With go1.10 the NOPIE flags are only required for
MIPS target builds, and are now incompatible for
the other architectures.

(From OE-Core rev: f2ff90eb7d27a2f69f5948fa8c301de30f5c8132)

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>
2018-03-06 06:43:10 -08:00
Matt Madison
020915eb9b go: move common settings to go-common.inc
Eliminate some redundancy in the recipes by moving
some commonly-used variable settings to the common
include file.  Also removed a duplicate inherit
from go-target.inc that was already in go-common.inc.

(From OE-Core rev: e72d2a7b7ee7913095a35ae92c3ca364de00c8a7)

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>
2018-03-06 06:43:10 -08:00
Matt Madison
58472bc7d0 goarch.bbclass: disable shared runtime for nativesdk builds
While useful on embedded devices for saving disk space, use
of shared runtime in Go is not the usual practice, so disable
it for nativesdk builds.  We don't use it for native builds,
either, so this makes the SDK match the native environment
more closely.

(From OE-Core rev: fde7017f9735c0d317023022817b28771df53109)

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>
2018-03-06 06:43:10 -08:00
Matt Madison
13fd7abbe0 go.bbclass: ptest cleanup and improvements
* Don't enable verbose test output (-test.v)
  by default, as it generates too much noise
  for automated results parsing

* Override do_install_ptest_base in the bbclass,
  so recipes can provide their own modifications
  with do_install_ptest.

* Improve the generated run-ptest script to better
  handle large numbers of tests, and to generate
  'status: test name' output similar to Automake
  tests.

* Install all non-vendored 'testdata' directories
  from the source into the ptest package, as some
  packages share test data among multiple tests.

(From OE-Core rev: 11037462d80cefbee90a69e6a8a95895375ed6da)

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>
2018-03-06 06:43:10 -08:00
Matt Madison
02b8eae8c7 go.bbclass: don't stage test data with sources
Any directory in a Go package's source tree called
'testdata' contains test data, and isn't necessary
for building.

Some packages include ELF files and other binaries
as test data, and staging them in the sysroot and
-dev package leads to unnecessary QA warnings.

(From OE-Core rev: b013db7ab58d4d56ad5c6e54a3a32df31aaf8809)

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>
2018-03-06 06:43:10 -08:00
Matt Madison
b6ff2564e9 go.bbclass: remove debug-related commands
The 'go env' in the do_compile function and
the set -x/+x in the do_install_ptest function
were used for debugging the bbclass, and aren't
really needed.

(From OE-Core rev: 351e9fc39408e094bbb4beedf51221adc8afd143)

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>
2018-03-06 06:43:10 -08:00
Matt Madison
29af62dfa0 go.bbclass: rename GO_TMPDIR -> GOTMPDIR
and export it. Go 1.10 now supports using this
separate variable locating its temporary files.

TMPDIR is still set, for compatibility with go1.9;
that can be dropped once 1.9 is retired.

(From OE-Core rev: ce9d70ae2f9981bf5b42641922c34c1ed54eeca3)

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>
2018-03-06 06:43:10 -08:00
Matt Madison
dc2e108efe go: set GOMIPS envrionment variable
Go 1.10 adds support for selecting hard/soft float
object code through the GOMIPS environment variable.

(From OE-Core rev: f3cabc92dca3408da18f04e4af4051fba1f63c14)

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>
2018-03-06 06:43:10 -08:00
Matt Madison
7a4ca89b55 go: update go 1.9 -> go 1.10
* Patches and recipes reworked for go 1.10's significant
  changes to its bootstrap and build steps.

* Update go1.4 source tarball used for go-native
  bootstrapping to the version recommended
  in the current go documentation

* Remove test data from installed sources to eliminate
  some packaging QA warnings

* Set GOCACHE to 'off' to disable 1.10's build caching
  in the go recipes and bbclass

* Update go_do_compile to compile both static and
  dynamic objects dynamic linking is in use, since
  go1.10's build tool is pickier about this

(From OE-Core rev: 4fd749ca6450a4870be1c1e13802f084b6eb0db6)

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>
2018-03-06 06:43:10 -08:00
Alexander Kanavin
26227695b3 expect: upgrade 5.45.3 -> 5.45.4
(From OE-Core rev: 064900f87a179a1e5b37dfc9313baab6351e7875)

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>
2018-03-06 06:43:10 -08:00
California Sullivan
ff9a4d5989 maintainers.inc: add myself as -bootconf recipe maintainer
(From OE-Core rev: 8f596d485bcbf877432532d55b35575d683f2488)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:43 -08:00
California Sullivan
5e039c33d9 systemd-boot-cfg.bbclass: Don't reference or set OVERRIDES
There's no need to add to the local copy of overrides and then not do
anything with it.

Now that this function is being used in package creation it was causing
sstate issues as well, as MACHINE is always in OVERRIDES, so something
trivial such as the name of the MACHINE would cause the hash to change.

(From OE-Core rev: 24ddc80fc39291d9952b8e3bd37d66c1c4376e6b)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:42 -08:00
California Sullivan
3449ae0f5d grub-efi-cfg.bbclass: Don't reference or set OVERRIDES
There's no need to add to the local copy of overrides and then not do
anything with it.

Now that this function is being used in package creation it was causing
sstate issues as well, as MACHINE is always in OVERRIDES, so something
trivial such as the name of the MACHINE would cause the hash to change.

(From OE-Core rev: 56ab83611d9737b42f05586d2c45d5c438cfc293)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:42 -08:00
California Sullivan
7e9b658196 selftests: Add test case for booting a generic EFI boot partition image
Simple test case that adds 'efi' to MACHINE_FEATURES, sets WKS_FILE to
"efi-bootdisk.wks.in", installed required boot items, and attempts to
boot the wic image.

Quick check to make sure that the feature actually works.

(From OE-Core rev: 192c8738f4a8d0f82848a440acf24a1892f2ce93)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:42 -08:00
California Sullivan
24c88e544b layer.conf: add -bootconf recipes to SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS
The bootloaders depend on these to be functional in the non-deploy case,
but changes in them don't require rebuilding of the packages.

(From OE-Core rev: e102f771dee8d07320ffaf8f39288c5a73626364)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:42 -08:00
California Sullivan
8451fd7139 init-install.sh: support multiple kernels and don't assume vmlinuz
Since kernels will not necessarily be installed as vmlinuz anymore,
don't assume that's its name for either the bootloader config or the
copy of the kernel.

Also, allow installing multiple kernels by searching for common kernel
names.

(From OE-Core rev: 5d66a4ce7f2595e75fe2af62c11ee957540ca067)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:42 -08:00
California Sullivan
32925a582f packagegroup-core-boot: add kernel for EFI systems
Previously this wasn't needed because the kernel was added at image
creation time to the boot partition. Now that the boot partition is
created from the /boot/ partition of the rootfs, it needs to be
installed there.

(From OE-Core rev: dfdd840e0092face44c73f21f06adf15002b5741)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:42 -08:00
California Sullivan
8cc106d403 systemd-boot: add package that installs to boot
If the EFI_PROVIDER is systemd-boot, install as boot(x64|ia32) as per
convention. If its not the EFI_PROVIDER, install as
systemd-boot(x64|ia32), as to not collide with other possible
bootloaders.

(From OE-Core rev: 551925bc49707821d0d621369fd33fde6b836d8c)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:42 -08:00
California Sullivan
00acdebbed systemd-boot*.bbclass: Don't use vmlinuz
We can't guarantee vmlinuz anymore. Use KERNEL_IMAGETYPE instead.

(From OE-Core rev: cceb4266f3e70382e171c3a338c10d9730c9dc3f)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:42 -08:00
California Sullivan
b84b422340 systemd: add systemd-bootconf recipe
Reuses our systemd-boot-cfg bbclass to generate systemd-boot
configuration files.

(From OE-Core rev: 8bf86db982b4304c47b1d83ea8b2fc63eaa64b20)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:42 -08:00
California Sullivan
dbe0736341 systemd-boot.bbclass: break out configuration creation
This class is useful on its own and can be used to create configuration
recipes.

(From OE-Core rev: 5d14ff6e25d3b334d4cc9363a6ddeb16f4c2911d)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:42 -08:00
California Sullivan
49c638264c syslinux.bbclass: don't use vmlinuz
We can't guarantee the kernel will be named vmlinuz anymore. Use
KERNEL_IMAGETYPE instead.

(From OE-Core rev: 8e9a5350e51d4c3be5417e55e4fd1428f49f3d8b)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:42 -08:00
California Sullivan
93e0e5f5fc init-install-efi.sh: Update to support installing multiple kernels
We can no longer rely on the kernel having a static name of "vmlinuz".
This means we can't use it as a sentinel value in our sed commands, and
we can't just copy vmlinuz to the boot directory.

Instead, we'll use "root=" as the sentinel value for our sed commands,
and we'll search for common kernel names to copy into our boot
directory.

(From OE-Core rev: 3d67edb695368bfa5917dca2aab6a8dc4c437efc)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:42 -08:00
California Sullivan
46bb764616 wic: add wks file to make use of exclude-path functionality
Using --exclude-path and a wks.in file we can create an image that takes
the /boot/ directory for the boot partition, has an empty /boot/
directory in the rootfs partition. The boot partition gets mounted to
/boot/ after startup.

(From OE-Core rev: db904053e8ee80fb6930c5e7e22287927e0f25e2)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:42 -08:00
California Sullivan
b6e36c0197 grub-efi*.bbclass: don't reference vmlinuz
Rather than renaming the kernel to vmlinuz and assuming the name is
vmlinuz in the grub.cfg, copy to ${KERNEL_IMAGETYPE} and also use that
value in the grub.cfg file.

(From OE-Core rev: d37be17527b354fddb3a5740d0197c590d620f42)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:42 -08:00
California Sullivan
9703185a83 live-vm-common.bbclass: Don't use vmlinuz or VM_DEFAULT_KERNEL
I can't find VM_DEFAULT_KERNEL used anywhere else, and we should not be
statically installing the kernel as vmlinuz.

(From OE-Core rev: 5493bb5ba4b4520f944d38b214a3d53a5282e0be)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:42 -08:00
California Sullivan
bfd48060e3 packagegroup-core-boot: add bootloader to EFI systems
Since the bootloader is now installed instead of added at image creation
time, this is necessary for booting.

Also set the default to grub-efi. This is done because a default of
grub-efi is already used by live-vm-common.bbclass, and in the event
that EFI_PROVIDER isn't defined errors would occur.

(From OE-Core rev: d8a670726fb6b2553c792a1c66346f975f040135)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:42 -08:00
California Sullivan
3afd4a5fa0 grub-efi: if installed and EFI_PROVIDER, install as bootx64 or bootia32
This way we could theoretically support multiple bootloaders, and we
keep the convention of boot(x64|ia32).

(From OE-Core rev: 8d158bb4382fd4ef31d37ea5558e07d5eb33145e)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:42 -08:00
California Sullivan
531f7b4445 grub-efi: install to /boot/
Since /boot/ will be recipe/package controlled now we can't just deploy.

(From OE-Core rev: f9c3405a99f3c0fd922d21bea7bb0bd0dd3a2ab2)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:42 -08:00
California Sullivan
067ef24d2e grub: create recipe for configuration
This makes use of the grub-efi-cfg bbclass that was split out to create
a grub.cfg file just like the old one.

(From OE-Core rev: eff14ba3e49d77bfc8167a19a0f58563270f2a51)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:42 -08:00
California Sullivan
a9921f64a7 grub-efi.bbclass: split out configuration portion
This part is useful on its own, whereas the whole class together is
specific for image-live.

(From OE-Core rev: 8daf2c544eb40d97d99a41627ddc5529c0e23f3c)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:35:42 -08:00
Khem Raj
00ab4a3a54 glibc: Compile using thumb2 for arch > armv5 if user chooses
For arm we enforce ARM mode regardless of ARM_INSTRUCTION_SET
choice from config metadata, glibc works fine with thumb2 for
armv7+ so limit the restriction to armv5 and lower, tested on
rpi3 works equally well as arm mode glibc and sheds about 0.5MB
in size for main package alone. Other glibc build packages also
gets smaller

ARM:    2696   KiB     libc6
Thumb2: 2132   KiB     libc6

(From OE-Core rev: a22b97aff811566399765d755daffddb28f82857)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:19:18 -08:00
Tim Orling
41f638fad9 maintainers.inc: self-assign recipes from recipes-extended/perl
In prior round, the perl module recipes in recipes-extended/perl
were inadvertantly overlooked.

(From OE-Core rev: a5a7b255b15290257cc032e0155338ab85595e4c)

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>
2018-03-06 06:19:18 -08:00
Tim Orling
a5a7ab8320 maintainers: self-assign perl module maintainership
Also, take over the other recipes that were just enabled for
ptest:
  - liberror-perl
  - liburi-perl
  - libxml-parser-perl
  - libxml-perl
  - libxml-simple-perl

(From OE-Core rev: 7758debbf1bd814606307dd8b8200a9504bb5701)

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>
2018-03-06 06:19:18 -08:00
Tim Orling
ff748ed826 libxml-sax-perl: inherit ptest-perl
* Enable ptest by inheriting new ptest-perl.bbclass
* Install testfiles/ into PTEST_PATH

(From OE-Core rev: 79e1d94e6c08610971c66637a59149b8b9c0ab72)

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>
2018-03-06 06:19:18 -08:00
Tim Orling
fc723b156b libxml-sax-base-perl: inherit ptest-perl
* Enable ptest by inheriting new ptest-perl.bbclass

(From OE-Core rev: f593f9eedcb3e96b1904bc8250ce9353130de62b)

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>
2018-03-06 06:19:18 -08:00
Tim Orling
3fff020bc3 libtimedate-perl: inherit ptest-perl
* Enable pteset with new ptest-perl.bbclass

(From OE-Core rev: ee6ce738dcc5fe5ae0117c8b9b86c5ce3d498648)

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>
2018-03-06 06:19:18 -08:00
Khem Raj
5d793654b7 libsdl2: Upgrade 2.0.7 -> 2.0.8
License checksum changed due to copyright year changes see commit

a9072159b2 (diff-21c55fa400e4d25aed3a755371e32151)

(From OE-Core rev: 09e29d744af0f325fcabd44e15b4f30908d4bd00)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:19:18 -08:00
Tim Orling
0230177d6d libxml-simple-perl: inherit ptest-perl
* Enable ptest by inheriting new ptest-perl.bbclass

(From OE-Core rev: 1a188a72e0c927e25015049055291ba672e9ee6b)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:19:18 -08:00
Tim Orling
649d3aaf2c libxml-perl: inherit ptest-perl
* Enable ptest by inheriting new ptest-perl.bbclass

(From OE-Core rev: f61c8724c89d08fcfe93dc8958147594b2c607b1)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:19:18 -08:00
Tim Orling
9d325d257e libxml-parser-perl: inherit ptest-perl
* Enable ptest by inheriting new ptest-perl.bbclass

(From OE-Core rev: ba0fb1a51f181d56974dcfd70b3156dfed740edb)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:19:18 -08:00
Tim Orling
d0256e5470 liburi-perl: inherit ptest-perl
* Enable ptest by inheriting new ptest-perl.bbclass
* Remove t/cwd.t and t/file.t which require "-T"
  (taint) command line option as they will fail.

(From OE-Core rev: e88c7fc244c6abe3148f60c8988234342c351dfb)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:19:18 -08:00
Tim Orling
85b3207a34 liberror-perl: inherit ptest-perl
* Enable ptest by inheriting new ptest-perl.bbclass

(From OE-Core rev: f9398daec484c031c37c22f6c67c19c31716c218)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:19:18 -08:00
Tim Orling
8a0727360d libtest-needs-perl: add 0.002005
Skip tests when modules not available

* Dependency for ptest of liburi-perl

(From OE-Core rev: 2735e7bfe20a31497a6b975c67ac689eccd5950e)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:19:18 -08:00
Tim Orling
d41bcbdebf meta/classes: add ptest-perl.bbclass
* Enable easier testing of perl modules
  - Installs t/* to PTEST_PATH
  - Uses common run-ptest script

(From OE-Core rev: aeffa15350252489c62cd221b2e0548043fec548)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:19:18 -08:00
Ross Burton
dc7ec9b8e0 populate_sdk_base: depend on nativesdk-glibc-locale
If we're building a SDK and we're using glibc so may be installing locales,
add a build-dependency on natiesdk-glibc-locale so the locales we need will
exist.

(From OE-Core rev: 8d6869a0a89d8cf3c6e57723fab2750ba2c885db)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:19:18 -08:00
Ross Burton
420e9919c8 sdk: only install locales if we're using glibc
Using glibc-locale to install locales only makes sense if we're using glibc.

(From OE-Core rev: 8fc80734053645fa893694dfe33ddaee99aa9a1a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:19:18 -08:00
Ross Burton
977c4f8a44 testexport-tarball: sync with buildtools-tarball
This is basically a copy/paste of buildtools-tarball so copy some of the
recent changes to buildtools across.

(From OE-Core rev: bb10cec25e3683de4fda11e66f827c882488cb1a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:19:18 -08:00
Ross Burton
be18eff139 xcb-proto: solve python cache collision
Because I didn't really want python3-native to be at the bottom of the
entire X11 stack this recipe jumps through a small hoop to use the host
Python to run some modules it installs into the sysroot.

The Makefile compiles the Python module, which is good as the cache file
is recorded in the sstate manifest so when the package is removed from the
sysroot all of it is removed.

However in an enviroment where the sstate is shared between multiple hosts
it is possible that a different Python is used and this will generate a
new cache when the code is executed, which is not recorded in the manifest.
Eventually you'll end up with ownerless cache files in a sysroot which
conflict with the same file coming from a sstate upgrade.

Solve this with a SSTATE_INST_POSTRM which is ran when sstate is removed
to ensure that there are no Python cache files left behind.

[ YOCTO #11809 ]

(From OE-Core rev: 6f6a2b5ff7ec23bd3782f0c3521f3576101cbc9d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:19:18 -08:00
Denys Dmytriyenko
bd5424f5b0 maintainers.inc: add myself as maintainer for the new busybox-inittab
(From OE-Core rev: ba2eb6237497494e3ec0296485ded61b024c5ba7)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 21:23:03 +00:00
Denys Dmytriyenko
2564712363 layer.conf: add busybox-inittab to SIGGEN_EXCLUDERECIPES_ABISAFE
Similar to sysvinit-inittab

(From OE-Core rev: a673d5bbf7e4db6de9a5151df041e6c5db7e413e)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 21:23:03 +00:00
Denys Dmytriyenko
55baf5b707 busybox: separate inittab into own package, due to SERIAL_CONSOLES being machine-specific
* Create busybox-inittab recipe to produce machine-specific package with /etc/inittab
  and necessary getty calls for a machine, based on SERIAL_CONSOLES, similar to how
  sysvinit-inittab was done

* Since CONFIG_FEATURE_USE_INITTAB is controlled by VIRTUAL-RUNTIME_init_manager, make
  main busybox package RDEPENDS on busybox-inittab when init_manager is set to busybox

(From OE-Core rev: afb09abd2f0f7555ba156260a87fd3867f591310)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 21:23:03 +00:00
Richard Purdie
4e884c8723 bitbake: cooker: Fix environment double key expansion issue
The base configuration needs key expansion and anon python execution,
the parsed configurations do not. Fix this consistently, its been
broken and causing double key expansion for a while, only relised
when we started double anonymous python exeution too.

(Bitbake rev: 6138897de5ac6becf3bff56ce7a78f3ec208fcdf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:35:42 +00:00
Richard Purdie
c2381e3a69 bitbake: cooker: Run registered anonymous python before displaying environment
The output of bitbake -e can differ from what actually is used due
to anonymous python making changes to the data store. Execute any
anonymous python added in the base configuration to make things
more consistent.

(Bitbake rev: bcdc2f73e3b4a10b1e479c2891f251d9507a9e30)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:35:42 +00:00
Richard Purdie
20a93757a3 bitbake: parse/ast: Abstract anonymous function execution into a function
This allows us to call this code from other contexts without
duplicating it.

(Bitbake rev: c6be487f9bd5d95915f2495d555b9f539adb1d44)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:35:42 +00:00
Richard Purdie
be4c9df542 base: Handle backfilling in anonymous python code, not event handler
Handling of backfilling is trickier than you'd think. We need this to execute
early enough that the user will see the changes in bitbake -e and other output
yet late enough that the virtclass extensions have changed the tunes before
it executes.

It makes more sense to execute this at anonymous python time now bitbake -e
correctly handles this and that unbreaks multilib corruption of these variables.

[YOCTO #12373]

(From OE-Core rev: cefd312541019c1bb0132f41334df58971fd81ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:35:42 +00:00
Richard Purdie
49f7c2cd87 image: Remove the do_package_write_* tasks
Now we're filtering tasks in the rpm indexing code so that tasks can only
see the packages they really depend upon, having noexec package_write tasks
around is causing problems since the tasks exist but don't have manifests.

Removing the tasks entirely solves this problem and streamlines the
task execution graph too.

(From OE-Core rev: 027445cd88a4e706bdfe83bb4ff2c21e2186982a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:35:42 +00:00
Richard Purdie
1a992fd418 base: Don't print LICENSE warning for non-recipe context
Now bitbake is executing anonymous python fragments in bitbake -e,
ensure we don't show the error in that context (where PN would be
unchanged from default).

(From OE-Core rev: 79240b3af32c7fa44751752e9e8f2ff832439643)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:35:42 +00:00
Yeoh Ee Peng
2bce61ee41 oeqa/runtime/opkg.py: add runtime test for opkg
Add runtime test for opkg to test that it can install ipk
package from remote source.

[YOCTO# 11488]

(From OE-Core rev: 9dd4af2b70f58540b2799823957aff3413068126)

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>
2018-03-04 11:35:42 +00:00
Yeoh Ee Peng
5a351c2aaa oeqa/runtime/apt.py: add runtime test for apt
Add runtime test for apt to test that it can install deb
package from remote source.

[YOCTO# 11488]

(From OE-Core rev: f380fa77d69051212fdf7dff97da611e884d05d2)

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>
2018-03-04 11:35:42 +00:00
Khem Raj
6a80053628 tclibc-musl.inc: Add needed libc deps for musl for on-device SDK
(From OE-Core rev: bd06d6c5f95e810e383d4346a5181ff36b4da7b3)

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>
2018-03-04 11:35:42 +00:00
Khem Raj
8006a9c95b maintainers: Add myself for musl-utils
(From OE-Core rev: d1ebf70a10299b11b5281721ee67560fad4fbcda)

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>
2018-03-04 11:35:42 +00:00
Khem Raj
59d70a95b3 musl-utils: Add package
This contains getconf, getent and iconv glibc compat utils

(From OE-Core rev: 5e7735553b8cd96b74d2454e85d78fbd0175a675)

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>
2018-03-04 11:35:42 +00:00
Khem Raj
ce2a11c25c musl: Rename files/ directory to musl/
Since it holds musl specific patches, name it so

(From OE-Core rev: 02d66e49c27e9cc32a1e2fff11ccb1653af223b7)

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>
2018-03-04 11:35:42 +00:00
Khem Raj
4372294637 bsd-headers: Move next to musl recipes
This helps communicate the dependency a bit better

(From OE-Core rev: 220d7451f65cb2e32a06503e36075889c63b0bd9)

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>
2018-03-04 11:35:42 +00:00
Andrej Valek
d7d3d341d2 busybox: fix CVE-2017-15873
(From OE-Core rev: 91829d07cdeb42e213500e053e20a9db68848d2e)

Signed-off-by: Radovan Scasny <radovan.scasny@siemens.com>
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>
2018-03-04 11:35:42 +00:00
Anuj Mittal
615e700f7a perf: fix packaging of scripting modules
Make sure that python and perl scripts are packaged in the correct rpm.

(From OE-Core rev: c648d946647141350b12b3aaca99eaa433c60cd7)

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>
2018-03-04 11:35:42 +00:00
Juro Bystricky
e76cba5ae1 libjpeg-turbo: improve reproducibility
Build date ends up embbedded in binary images, breaking reproducibility
of jpeg-tools and libturbojpeg. To enable reproducible builds, build date can be
specified during configuration, via "--with_build_date=<date>".
If SOURCE_DATE_EPOCH is specified we configure libjpeg-turbo with this value as
build date. Although the build date is a generic string, we keep it in the same
format YYYYMMDD.

[YOCTO #12526]

(From OE-Core rev: 46a39fe9fa2bc8f58ec822434b9ace9ab5572c82)

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>
2018-03-04 11:35:42 +00:00
Ross Burton
5925bfe412 ttf-bitstream-vera: cleanup recipe
(From OE-Core rev: f1f09f16911c4d9c6510aaa0acf88b100a08fa27)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:35:41 +00:00
Ross Burton
da2e820471 libepoxy: improve musl patch
dlvsym() is used by the libepoxy test suite, but this is glibc-specific and
isn't present in musl.

Instead of adding an option to control whether dlvsym is available (which could
be detected by Meson), as we don't install the test suite simply add an option
to disable the entire test suite (and submit the patch upstream).

Also remove the build dependency on util-macros as that is a remnant of the
autotools build.

(From OE-Core rev: 80cee6088fa60eb5197f8ed9d135986b8e7d471a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:35:41 +00:00
Francesco Giancane
824525d94b libepoxy: update to version 1.5.0
libepoxy 1.4.3 did not compile successfully because of
implicit symbol definitions and link-time errors.

Patch to disable 'dlvsym' has also been forward-ported
to be applicable to version 1.5.0.
The patch 'Add-fallback-definition-for-EGL-CAST.patch' is
mainline now; thus it can be safely removed.
Also, the patch
0001-Define-MESA_EGL_NO_X11_HEADERS-before-including-eglp.patch
is no longer required since mainline fixed this too.

(From OE-Core rev: b72154eccfbcc178a2c09c7c7d4cd0264d4cf0f6)

Signed-off-by: Francesco Giancane <francescogiancane8@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:35:41 +00:00
Alexander Kanavin
2aa530f24a trace-cmd: update to 2.7
(From OE-Core rev: aa27334fc1f7f59268e10086007df7b276653791)

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>
2018-03-04 11:35:41 +00:00
Alexander Kanavin
9b8767a667 meson: upgrade 0.44.0 -> 0.44.1
(From OE-Core rev: b91fd0aec7c92c07625c797f973b35b3985568b6)

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>
2018-03-04 11:35:41 +00:00
Alexander Kanavin
e923fe7dfa vala: upgrade 0.38.6 -> 0.38.8
(From OE-Core rev: c34b72ca133150a2eba0011fc0fe3efc7e6dd965)

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>
2018-03-04 11:35:41 +00:00
Alexander Kanavin
c89db29fa7 epiphany: upgrade 3.26.5.1 -> 3.26.6
(From OE-Core rev: 715a35eb4720ccab80c1c49f3f8d0e848917c8a2)

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>
2018-03-04 11:35:41 +00:00
Alexander Kanavin
40d61125e6 ffmpeg: upgrade 3.4.1 -> 3.4.2
(From OE-Core rev: 6fd25762853f0cc9b8517c9de13443c3d5710219)

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>
2018-03-04 11:35:41 +00:00
Alexander Kanavin
fabbc9aeb1 mpg123: upgrade 1.25.8 -> 1.25.10
(From OE-Core rev: 18562fc706d2c4de31fd701a6bbb2d5893ee850f)

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>
2018-03-04 11:35:41 +00:00
Alexander Kanavin
ba9eed7fd9 strace: use strace.io as the tarball location
As explained here:
https://sourceforge.net/projects/strace/files/

(From OE-Core rev: 68a3534f998b99d357d1a44bc0c07a185a08826f)

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>
2018-03-04 11:35:41 +00:00
Alexander Kanavin
bcbc7bbc4f latencytop: remove recipe
Last commit and release were in 2009; website is down; it's a dead project.

(From OE-Core rev: 36aae56e7f86a4d5ce93e4528e7dcc42f60c705e)

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>
2018-03-04 11:35:41 +00:00
Martin Jansa
a51236a244 libpam: be more strict about user's sanity
* replace do_pam_sanity function with distro_features_check inherit
* fixes:
  WARNING: libpam-1.3.0-r5 do_pam_sanity: Building libpam but 'pam' isn't in DISTRO_FEATURES, PAM won't work correctly
  in world builds and prevents user to build libpam at all without pam
  in DISTRO_FEATURES, I don't see any users of this which wouldn't respect
  pam in DISTRO_FEATURES
* only libuser is depending on libpam without respecting DISTRO_FEATURES
* there are few recipes in meta-oe layers depending on libpam without
  respecting DISTRO_FEATURES, I've sent patch for them:
  samba, openwsman, pam-ssh-agent-auth, sblim-sfcb, passwdqc, python-pam, smbnetfs
  and omxplayer in meta-raspberrypi, I've sent PR for that one:
  https://github.com/agherzan/meta-raspberrypi/pull/192
* poky-lsb will need to add pam to DISTRO_FEATURES in order to build
  packagegroup-core-lsb

(From OE-Core rev: c9e7a276859d38aaa03845ee09428f62760ad147)

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>
2018-03-04 11:35:41 +00:00
Maxin B. John
52de574e0d openssh: remove unused patch
Remove unused patch:
        0001-openssh-Fix-syntax-error-on-x32.patch

(From OE-Core rev: a752aa31fc8f3a3d283381b7235710af4ece16d8)

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>
2018-03-04 11:35:41 +00:00
Alexander Kanavin
d50b9c511e pseudo: update to latest master
Dropped patches:
0001-Use-epoll-API-on-Linux.patch replaced by
http://git.yoctoproject.org/cgit/cgit.cgi/pseudo/commit/?id=0a3e435085046f535074f498a3de75a7704fb14c
(also add --enable-epoll to configure options)

b6b68db896f9963558334aff7fca61adde4ec10f.patch merged upstream

efe0be279901006f939cd357ccee47b651c786da.patch merged upstream

fastopreply.patch replaced by
http://git.yoctoproject.org/cgit/cgit.cgi/pseudo/commit/?id=449c234d3030328fb997b309511bb54598848a05

toomanyfiles.patch rebased

(From OE-Core rev: 7c3df6782bbd5b623dcb6ee8a9bc914926640cdd)

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>
2018-03-04 11:35:41 +00:00
Ross Burton
f0a5815732 glib: no need to depend on python3native
The glib build doesn't appear to use python3native, so remove it to streamline
build dependencies.

(From OE-Core rev: e3a68ae0477f527b13a9551f9b0ecad4f37130a9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:35:41 +00:00
Bruce Ashfield
c2feb21a5d linux-yocto/4.12: add stratix10 SoC development board
Integrating the patches to introduce support for  stratix10 SOC, which
comprises the following commits:

   22f73c1fe991 drivers: ethernet: stmmac: keep Ethernet clock in enable status on Stratix10 platform
   c3ceae6df341 drivers: ethernet: stmmac: improve phy control during ethernet suspend/resume
   883d8df59543 drivers: ethernet: stmmac: set delay_us value as 0
   063b17881fed arm64: dts: stratix10: add interrupt-parent property in root node
   e991516fa777 arm64: dts: stratix10: correct PMU interrupt number
   555f51414098 arm64: dts: stratix10: add alias for i2c1
   a5dd201f0e8c arm64: dts: stratix10: control FPGA IO from linux kernel
   67e763e631bd mtd: spi-nor: add support for mt25qu02g serial flash
   6068e35ed261 arm64: dts: stratix10: enable qspi feature
   2d019c47939c arm64: dts: stratix10: add USB ECC reset bit
   d9b9d63a6417 FogBugz #516572: add clock to USB nodes
   f4bca65baf07 arm64: dts: stratix10: enable USB on the devkit
   1ed12c04eac6 arm64: dts: stratix10: remove phy node for usb
   b9b8f08f50ca usb: dwc2: add optional usb ecc reset bit
   7a04b5cba903 usb: dwc2: disable erroneous overcurrent condition
   aac3bd2a2e23 dts: stratix10_socdk: enable gpio1 and leds
   9807c107b1c3 arm64: dts: stratix10: fix interrupt number for gpio1
   cbd264cde6bc arm64: dts: stratix10: add gpio header
   f91f7117ef93 gpio: gpio-dwapb: add optional reset
   3aa90a6801aa mtd: spi-nor: Allow Cadence QSPI support for ARM64
   3bb156eb80b6 FogBugz #495013-1: dts: stratix10: Add QSPI support for Stratix10
   81981997697b reset: socfpga: fix for 64-bit compilation
   882cc1f9800d FogBugz #491967-5: dts: stratix10: add ltc2497
   d7b3bc0833a6 FogBugz #492768: Revert "i2c: dw: temporary workaround for i2c clocks"
   60711b82517f arm64: dts: stratix10: add reset property for various peripherals
   f9aeefce1310 arm64: stratix10: add the 'altr,modrst-off' property
   e65b02b3b5b7 arm64: stratix10: include the reset manager bindings
   7ffbb161ee30 reset: socfpga: build the reset-socfpga for Stratix10 SOC
   95197b89dd72 FogBugz #493310: dts: use the clocks for the timers and uarts
   c6ec92c9222a FogBugz #493306: mark the l4_sp_clk as a critical clock
   7caf335dd0fa FogBugz #492768: i2c: dw: temporary workaround for i2c clocks
   b247b5ed60c0 FogBugz #491967-2: dts: stratix10: enable i2c
   b0ea5bac0b3a FogBugz #492420: fix up the correct order of parents for noc_clk
   c81d19a6683b arm64: dts: stratix10: add ethernet/sdmmc support to S10 devkit
   00d6740c9ec9 FogBugz #491251: temporary remove PSCI node
   789aabac6e9d arm64: dts: fix up the gic register for the Stratix10 platform
   9504049ea576 FogBugz #488936-2: Add clocks to emac/sdmmc node
   8ad32e880376 FogBugz #488936-1: dts: bringup SoCFPGA Stratix10 devkit
   f826ccc79752 FogBugz #488843-2: add clock driver for Stratix10 SOC
   56594bb54083 FogBugz #488843-1: dts: clock bindings for the SoCFPGA Stratix10
   2a25f1e19487 FogBugz #488851: dts: use spin-table for SMP
   d36f9d7f16c3 net: stmmac: Adjust dump offset of DMA registers for ethtool
   50eb2994beea Revert "FogBugz #470510: Update stratix10_swvp.dts file for S10 SoC Simics/VP"
   9cc3c6bc11a7 net: stmmac: Add additional registers for dwmac1000_dma ethtool
   4b12474ecb09 FogBugz #470512: Update stratix10_swvp.dts file for S10 SoC Simics/VP
   2e1cf1b70e9a FogBugz #468942-2: Modify QSPI read_delay for Arria10.
   a2baa4e9366e FogBugz #454145: Update stratix10_swvp.dts file for S10 SoC VP
   352eccb9c28e dt-bindings: reset: Add reset manager offsets for Stratix10
   4951f51f6650 FogBugz #458420-2: ARM: dts: add lcd character panel
   52625560a859 FogBugz #458420-1: dts: arria10 socdk: add max1619
   a7926b2fe419 ARM: dts: socfpga: set the i2c frequency
   af2c59f5810f FogBugz #374571: Fix Sysid driver hotplug support.
   b1d136a8001d FogBugz #284482-2: A10 cache coherency is different than A5/C5.
   8dc53e9000e6 FogBugz #284482-1: A10 cache coherency is different than A5/C5.
   cf59a2fb8882 FogBugz #408870: add debugfs interface for fpga config complete timeout
   a2a924222a02 FogBugz #421690: use a unique name to register freeze controller
   db0c754560cb FogBugz #403389-1: Altera Partial Reconfiguration IP Core
   2b11bb966e23 FogBugz #412211: fpga: fix fpga mgr debugfs for module
   546b85ceb86f FogBugz #411427: fpga: memory leaks in fpga manager debugfs
   186529660ef2 FogBugz #405628-1: fpga: doc: add config complete timeout
   e97cb7797091 FogBugz #404467: add missing binding documentation
   9454b288338e FogBugz #411698-3: hwmon: Add Altera A10-SR power supply alarms
   181766fbe257 FogBugz #411698-2: Add Altera A10-SR power supply alarms
   995c713ce65a FogBugz #408205: fix printf format error
   ff30a92ebff5 FogBugz #398879-2: fpga mgr debugfs
   46856886744c FogBugz #398879-1: fpga: doc: documentation for FPGA debugfs
   559f1b2b61f1 FogBugz #365525-3: socfpga: dts: remove fpga image specific info
   6ac61db6de48 ARM: DT: Enable symbols when CONFIG_OF_OVERLAY is used
   784a7fe5585c OF: DT-Overlay configfs interface (v7)
   dcc6ae577325 FogBugz #334039: enable SMP for the Stratix10 SWVP
   83c3f4a2b7dc FogBugz #332965: missing Makefile to build Stratix10 SWVP dts
   5604a2ed0cd1 FogBugz #331066: misc: altera_hwmutex: remove redundant unused of_match_ptr
   e5ad2362d2bc FogBugz #331067: misc: altera_hwmutex: remove .owner
   fdcb3fa5a3a5 FogBugz #332657-2: Stratix 10 Software Virtual Platform
   d64f00ea688a FogBugz #332657-1: Stratix 10 Software Virtual Platform
   86026fe01b25 FogBugz #299928: arria10 swvp: add device tree
   146f064db340 devicetree: net: micrel-ksz90x1.txt: correct documentation
   71244d32db2b TRCom NAND board device tree.
   bb328948b0b5 FogBugz #184650: Cleanup Altera license headers.
   8e855ce4b0c2 misc: sysid: use IS_ERR and PTR_ERR to check for error
   d5e88e198db0 misc: hwmutex: use IS_ERR and PTR_ERR to check for error
   8e7d24910197 FogBugz #236669: Add a Kconfig for ILC driver
   790e85ef4b28 misc: ilc: replace devm_request_and_ioremap with devm_ioremap_and_resource
   1025d2218b88 misc: sysid: replace devm_request_and_ioremap with devm_ioremap_and_resource
   0b1dbbb5a411 misc: hwmutex: replace devm_request_and_ioremap with devm_ioremap_resource
   f78ea9d901c6 FogBugz #240546: Move VIP driver into FB hardware folder
   56c37d32951b FogBugz #177284: add Altera VIP framebuffer driver
   c006613bfc15 FogBugz #229601: newhaven lcd: fix kbuild test robot warnings
   a20f46e5560c FogBugz #101176: add sys entry to set lcd module brightness
   effc29afd46a FogBugz #125882: lcd module needs time to process commands.
   ffab5da4edbf FogBugz #118160: support tilde character on newhaven lcd module
   c72219530e09 FogBugz #114479: load custom character for backslash
   0eb518db5832 FogBugz #107683: handle backspace better in lcd driver
   c62a261496fc tty: newhaven_lcd: Remove devinit and devexit
   717f3b73f7c7 FogBugz #102358: i2c newhaven lcd driver uses faulty hyphen
   394b437bac51 FogBugz #100586: Set lcd backlight brightness to max
   3754d6b77c1b FogBugz #84276: lcd driver on i2c
   115230c21271 FogBugz #143478: drivers/misc: Move sysid from arch to drivers
   8e28bdd388c4 FogBugz #178225: Add Altera interrupt latency counter driver
   095297e45627 FogBugz #144109: Remove extra lines from license header
   6534e0969ae2 FogBugz #143451: Fix mutex compatible string
   8eb7914d1532 FogBugz #138162: Add Altera hardware mutex driver
   075f0367ff60 FogBugz #184646: Turn on all peripheral clocks for a system reboot
   d695a0616fda FogBugz #172665: Sample driver for DMA transfer to FPGA soft IP (FIFO)
   f7b3f6418bbc FogBugz #143478: arch/arm: Move sysid from arch to drivers
   1dd2f4af39a0 ARM: socfpga: Turn on ARM errata for L2 cache
   40146055677a mm/sparsemem: Fix ARM64 boot crash when CONFIG_SPARSEMEM_EXTREME=y

(From OE-Core rev: 06c9f43fc018cc35bb0ffef133d6f53eb2964e26)

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>
2018-03-04 11:35:41 +00:00
Bruce Ashfield
1a5a0b409b linux-yocto/4.14/4.15: yaffs2 fixes
Integrating the following fixes for yaffs2:

  9f9649fffac9 yaffs2: Adjust the timer callback and init functions
  0ef24a829eee yaffs2: include rawnand.h instead of nand.h

(From OE-Core rev: 079024ffd828a933d64fadef744dd16e681dd166)

Signed-off-by: Kevin Hao <kexin.hao@windriver.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>
2018-03-04 11:35:41 +00:00
Huang Qiyu
d3534c018f mesa: 17.3.5 -> 17.3.6
Upgrade mesa form 17.3.5 to 17.3.6.

(From OE-Core rev: 11504a13530f483c1955d0f28f92d510885e4cee)

Signed-off-by: HuangQiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:35:41 +00:00
Bhargava Sreekantappa Gayathri
8b8445461a webkitgtk_2.16.6.bb: Remove gl3.h header reference
GLES 2 application cannot use gl3.h header files, remove including gl3.h
when OpenGLESv2 is enabled in webkitgtk

(From OE-Core rev: 23d6bd1a3b97db624eac4ad6650a1e4298ade7a2)

Signed-off-by: Bhargava Sreekantappa Gayathri <bhargava.sreekantappa-gayathri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:35:41 +00:00
Joshua Watt
bc326572ee maintainers: Change icecc-create-env maintainer
(From OE-Core rev: d939ba92445cb646983744f08e62288e05d3ac0a)

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>
2018-03-04 11:35:41 +00:00
Khem Raj
90d66dc252 musl: Upgrade to 1.1.19 release point
Changes from the current commit

https://git.musl-libc.org/cgit/musl/log/?qt=range&q=628cf979b249fa76a80962e2eefe05073216a4db..55df09bfccbfe21fc9dd7d8f94550c0ff25ace04

Summary of this release
http://www.openwall.com/lists/musl/2018/02/22/2

Author list has been enhanced no changes to license itself

https://git.musl-libc.org/cgit/musl/commit/?id=1366b3c5e6d89d5ba90dd41fe5bf0246c5299b84

(From OE-Core rev: 605a1825ca83d108ee3a9c342f8117e4df5b0876)

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>
2018-03-04 11:35:40 +00:00
Paulo Neves
2327e0f585 wic: Set a miniumum FAT16 volume size.
Set a miniumum FAT16 volume size because images are
not valid to parted if this minimum value is not respected.

The value set is determined experimentally forr a logical
sector size of 512. This fixed my local problem but, there
may be better solutions.

(From OE-Core rev: f7dfb4d43247d3c13a4e0a3853007d63b9512b83)

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:35:40 +00:00
Paulo Neves
5796b037d5 wic: partition plugin wrongly assumes it is rootfs
The partition plugin is used as the base for other plugins.
One of the methods the plugins use, is the prepare_rootfs
method.

The prepare_rootfs method wrongly assumes that the value
ROOTFS_SIZE from bitbake datastore is relevant to every
invocation of prepare_rootfs, which it clearly is not, for
example in the bootimg-partition case.

This commit adds an optional argument to prepare_rootfs
where a caller can tell prepare_rootfs if it is an actual
rootfs and whether related rootfs information retrieved from
bitbake is valid. The default behavior of this optional
argument is to assume that the invocation is an actual
rootfs, to maintain compatibility with previous
implementations.

(From OE-Core rev: 654d72d55194ec41bc1aacfcc6b2c8c9a305b042)

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:35:40 +00:00
Parthiban Nallathambi
8eb7e66246 wic: Add post operation hook for SourcePlugin
do_post_partition hook is needed if some operations like security signing
the parition needs to be done. source plugins can make use of this to implement
post operatiosn in do_post_partition. do_post_partition is called after
do_prepare_partition if present.

(From OE-Core rev: 5055489b9ab3fda32a285d0d165d080d11a4d432)

Signed-off-by: Parthiban Nallathambi <pn@denx.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:35:40 +00:00
Justin Bronder
088b3b8c4c kernel-yocto: check git config during checkout
Initialize the git config prior creating a git repository in a plain
directory.

(From OE-Core rev: 0e3a9bed988b5fd4de770fe8cd1160b9f6c8c365)

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:35:40 +00:00
Maxin B. John
8557475e37 pkgconf: revert changes to pkg-config-wrapper
To maintain the status quo, revert changes to pkgconf wrappers.
This helps to keep it compatible with freedesktop.org pkg-config.

(From OE-Core rev: 8ee8eb8a15e0e4a652df3fe77805d9cffa02ed22)

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>
2018-03-04 11:35:40 +00:00
Oleksandr Kravchuk
28ddb2d05c libmpc: upgrade to 1.1.0
(From OE-Core rev: 44540602f5e4fa5769b6cd34a625581fff8e94d9)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:35:40 +00:00
Anuj Mittal
357b000cd3 gstreamer-rtsp-server: remove unnecessary dependencies
libcheck dep was removed from gst-rtsp-server some time back [1].

Disable building of examples and tests and remove dep on libcgroup which
was needed, if present, to build only one specific example.

[1] https://cgit.freedesktop.org/gstreamer/gst-rtsp-server/commit?id=43ec4e7c786227b85aec06599c3955626e241a01

(From OE-Core rev: d6002209804a4c604b31514dfe5ee1a9bc642030)

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>
2018-03-04 11:35:40 +00:00
Mark Hatle
ae354a1900 gcc: Fix internal compiler error for PPC test case "gcc.dg/vmx/7d-02.c"
Fix an internal compiler error on PPC from building a specific test:

$ $CC -S 7d-02.c
7d-02.c: In function â:
7d-02.c:11:5: internal compiler error: in copy_to_mode_reg, at explow.c:612
     vec_st(v, i*16,p);
     ^~~~~~

The failure appears to happen on all optimizations levels as well.

(From OE-Core rev: dd4aaf3965b57fcfbf668ab09ac75ccd9e3b3a04)

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>
2018-03-04 11:35:40 +00:00
Mark Hatle
82f139e003 gcc: Fix test case issue when SSE is not enabled
Whenever "-mno-sse" is used, "-mfpmath" should be set to 387.

The test case should be modified accordingly as below:

/* { dg-additional-options "-mno-sse -mfpmath=387 " { target { i?86-*-* x86_64-*-* } } } */

Original patch from: RAGHUNATH LOLUR <raghunath.lolur@kpit.com>

(From OE-Core rev: 978b804b92b069f8f5a75f3390697e94a1bf907f)

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>
2018-03-04 11:35:40 +00:00
André Draszik
02fa98e663 cmake: refactor compile and install for easier re-use
cmake_do_compile() and cmake_do_install() basically do the
same, except they use a different --target, and at the
moment this is copy/pasted code with a minor modification.

Other recipes which e.g. might want to support compilation
as part of ptest have to do the same. This is a bit
inconvenient.

By factoring out all of this into a common helper,
cmake_runcmake_build(), this is easily re-used. An
(imaginary) recipe can compile ptest support simply by
using
  cmake_runcmake_build --target buildtest-TESTS
(assuming such a build target exists).

Also, this now is very similar to oe_runmake().

(From OE-Core rev: 7620dafe7358f017a8cd558b480af73896768f04)

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:35:40 +00:00
Joshua Watt
10a51d758f icecc: Remove several getVar() expand arguments
Several of the calls to getVar() were either superfluously passing
True for the expand argument, or were wrongly passing False

(From OE-Core rev: a7b0f7605f62420d7c9b9d5ef2e03c5cc5c81d03)

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>
2018-03-04 11:35:40 +00:00
Otavio Salvador
80c2d5086a u-boot-mkimage: Add dependency on dtc
The dtc is used when generating images which use Device Tree and we
must use the OE version to avoid relying on the host one.

Reported-by: Renato Caldas <rm.santos.caldas@gmail.com>
(From OE-Core rev: 14ee34e85f2b4768fb4488f8e708e678b0e23d5d)

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>
2018-03-04 11:35:40 +00:00
Alejandro del Castillo
2a8d728681 opkg-utils: upgrade to version 0.3.6
0.3.5 -> 0.3.6

Patches:
 - Add support for tar versions that don't support --sort
 - Use local time when setting the modication time on the archives

(From OE-Core rev: fd551c5ad4c82f295470f278c524d55562a67a28)

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:35:40 +00:00
Alejandro del Castillo
795b4b4563 opkg: upgrade to version 0.3.6
0.3.5 -> 0.3.6

(From OE-Core rev: 151094f603ad817a5106360d1f51656fbe271121)

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-04 11:35:40 +00:00
Robert Yang
424ac46c17 git: 2.15.0 -> 2.16.1
Add /usr/share/git-core/templates/hooks/fsmonitor-watchman.sample to PERLTOOLS to fix:
ERROR: git-2.16.1-r0 do_package_qa: QA Issue: /usr/share/git-core/templates/hooks/fsmonitor-watchman.sample contained in package git requires /usr/bin/perl, but no providers found in RDEPENDS_git? [file-rdeps]
ERROR: git-2.16.1-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.

(From OE-Core rev: d8a93d75c75bf8df40f3e167eca2fcef4f76e240)

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>
2018-03-04 11:35:40 +00:00
Anuj Mittal
b0d9ce473f kbd: build tests only when ptest is enabled
Also include the libcheck dependency only when tests are to be built.

(From OE-Core rev: f4fbdc8cc19be843f733701fc6fa2ac8cf5c3699)

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>
2018-03-04 11:35:40 +00:00
Anuj Mittal
823ca27a79 bluez5: remove dependency on libcheck
It was removed a while back and isn't needed anymore.

https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=292a37990cf0b9517135a4d58c8c1df6b9123cb4

(From OE-Core rev: da8c86e75f5c70be6c18aa278c7b4dcfbd3aec49)

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>
2018-03-04 11:35:40 +00:00
Scott Rifenbark
65f945574a brief-yoctoprojectqs: Updated tip to mention the index of all sstate
(From yocto-docs rev: c8fac47e6bf0a610cb5ec190b1c8ae67c78d1044)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:26 +00:00
Scott Rifenbark
2d19694b58 dev-manual: Changed heading for mirror and pre-fectch section
The old heading was dangerously close to a heading in the
previous chapter.  I altered this heading to target more
specifically the content.

(From yocto-docs rev: 797bef2256308531f02e35dc0ef8b1d9cbaff935)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:26 +00:00
Scott Rifenbark
19916cfdab dev-manual: Added MACHINE conf qualifier to virtual provider
Needed to call out that using the include file is actually
using a MACHINE configuration file in this case.

(From yocto-docs rev: b33838d4711e0c55c6cf78e7491ce97bc9fd519f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:26 +00:00
Scott Rifenbark
cc8b81abd6 getting-started: Added cross-reference to the "My First Build" doc
(From yocto-docs rev: 42da5337d498f537613dc71a43c7c92ccb38f682)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:26 +00:00
Scott Rifenbark
937a672368 poky.ent: Added an ENTITY for the "my first build" paper.
(From yocto-docs rev: 9dcdaa67697fd301917d9f2cefd0e3eafb9e373a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:26 +00:00
Scott Rifenbark
e267a8641e Makefile: Set params to suppress numbering in quick build doc.
(From yocto-docs rev: a7a744c01a6ea1550d900d6f53b5d6a774eeeeaa)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:26 +00:00
Scott Rifenbark
0a8957fa94 brief-yoctoprojectqs: Removed Manual notes from title page
This document is not a manual.  We are not going to list it as
a full-blown manual.  It does not need the "Manual Notes" part
in the title page.

(From yocto-docs rev: 23267dea9a90dda33d646fcfc3e8b7a1c919adea)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:26 +00:00
Scott Rifenbark
e815381e94 brief-yoctoprojectqs: Added "tip" to use mirrors to speed build.
(From yocto-docs rev: 4088481f081e4746da4a774648a59d6ec31439b7)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:26 +00:00
Scott Rifenbark
2036d809ab concepts-manual: Added a section on "Layers"
The section briefly introduces layers but leaves the real
explanation to the section in the getting-started manual,
which this section references.

(From yocto-docs rev: 9b3957a5d7c3a2f6b41ec26205ae31f3b2d05643)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:26 +00:00
Scott Rifenbark
54c9794f0b concepts-manual: Updated how the general build figure is referenced
this figure had been being referred to as the YP build process.
However, it is really more of the OpenEmbedded build system process.
Basically, what goes on during a build.  I changed the way the
general figure is referred to.

(From yocto-docs rev: 1cb79b04182bd660b37637d9cec7d6edf33fc292)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:25 +00:00
Kristi Rifenbark
cdf4f79a5d dev-manual: Fixed checkout by tag example
(From yocto-docs rev: 70cf6e2eb2f9999f1d1b24c3897106e7e8f3e93f)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:25 +00:00
Scott Rifenbark
1fda08bc4e brief-yoctoprojectqs: Updated reference to wiki for Proxy issues.
(From yocto-docs rev: 0618e0bebc69f13ce0cd2a120d2a141b5e77e115)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:25 +00:00
Scott Rifenbark
4759fa8830 brief-yoctoprojectqs: Slight wording change regarding Poky meaning.
(From yocto-docs rev: 2363aa3bb45b6683208b71399996031e7d47a6c1)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:25 +00:00
Scott Rifenbark
5a3e97bf8c .gitignore: Added html, pdf, tgz, and eclipse types to ignore
This is for the brief-yoctoprojectqs article.

(From yocto-docs rev: 7237c9a36e855eee9056650455a4b6f3d2412961)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:25 +00:00
Scott Rifenbark
92ee38410f brief-yoctoprojectqs, Makefile: New "First Build" article.
I have created an brief article in the form of current YP docs
that is a pared down version of the Quick Start (pre 2.5 release).
The article fills a gap for a short (2-page), process-oriented
article that steps the user through an initial build using YP.

I had to make changes to the Makefile to support building the new
article.

(From yocto-docs rev: 47aace60cea4a892ae1efabb050b240c6abdaec9)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:25 +00:00
Scott Rifenbark
efc08b7b6f concepts-manual: Changed wording for simplicity.
(From yocto-docs rev: 7725507cc1648e41d5928651217379217bdcd35b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:25 +00:00
Scott Rifenbark
c6f2b40f1d concepts-manual, dev-manual: Moved the virtual providers to dev-manual
This topic was deemed unfit for concepts so I moved it to the
dev-manual and rewrote it to be "Using Virtual Providers".

(From yocto-docs rev: df7d48ac4fcf7ece75681ccf0bbb5699f7ff5ea6)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:25 +00:00
Scott Rifenbark
bb4ab5a653 ref-manual: Updated PREFERRED_PROVIDER variable
Provided more details in the explanation and fixed a link to the
section on using virtual providers.

(From yocto-docs rev: ace74e24f001b83c9177266b0a6f15ce96dd04b0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:25 +00:00
Kristi Rifenbark
e701fdeeba ref-manual: Updated partition command options
Fixed [YOCTO #11525]

Created a note for more explanation for how the
mount program understands the PARTUUID syntax
used with --use-uuid. Added four missing options.

(From yocto-docs rev: d8adf537d305dd55e841dd993c36ee60b5896adb)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:25 +00:00
Scott Rifenbark
35549a7a45 dev-manual, concepts-manual: Moved x32 section
I had split up the section on x32 into a concept piece and a "how-to"
piece earlier in order to satisfy outside pressure to isolate all
"how-to" stuff in the dev-manual.  Doing this put a "conceptual" blurb
about x32 in the new concepts-manual.  It has been decided that x32
is not a concept.  It really does not fit into the ref-manual either.
So, I have re-combined the intro blurb of the x32 stuff back as the
beginning piece of the "Usingt x32 psABI" section in the dev-manual.

(From yocto-docs rev: 6e8240cc1a90a8d78ff456d3138c525eceea3ee3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:25 +00:00
Scott Rifenbark
505a31c1a1 dev-manual: Updated Bmaptool section.
Provided a better flow and a bit more explanation of what Bmaptool
provides.

(From yocto-docs rev: 9a02cd7281038031fc4cdea98f114b9c318947a7)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:25 +00:00
Scott Rifenbark
01658a83d7 dev-manual: Updated oe-run-native and dd examples for Wic
I changed the path to not list "build/" as the example assumes
the user is already in that directory.

(From yocto-docs rev: c3ab6a9e53f48005de73977238c8af3e2061db8b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:25 +00:00
Scott Rifenbark
422c6488d3 getting-started: Updated front matter that introduces manual.
(From yocto-docs rev: 6809363f7596938e40f2685c68c0537857fa055b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:25 +00:00
Scott Rifenbark
52331ef4d0 getting-started: Edits to the Git section.
(From yocto-docs rev: d1512e2f9e17be58dcd8c64ce7911d6ee1ebc12c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:25 +00:00
Scott Rifenbark
30ad0a8896 getting-started: Applied some minor edits to the Git workflow section.
(From yocto-docs rev: 15eb983db02b352fd70de6cb3ef2c63e82fa4420)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:25 +00:00
Scott Rifenbark
841458c70c getting-started: Added Host Development Section
Section to describe the key nature of the host development system
and its role and preparation requirements for use in the Yocto
Project development environment.

(From yocto-docs rev: 379659af343ba84f9c8fc2f47474659e06219c53)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:24 +00:00
Scott Rifenbark
e21faa4a9c dev-manual: Updated Wic example using existing kickstart file.
(From yocto-docs rev: a1f25bd6aae35e4c052e348949bea332b9203c20)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:24 +00:00
Scott Rifenbark
3461d890d3 getting-started: Created "Some Basic Terms" section.
This section contains some fundamental terms people decided were
important enough to have in this getting-started manual.

(From yocto-docs rev: 42bfa0d8fc0a61c26f6b2f4b9e285c06255e8b8d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:24 +00:00
Scott Rifenbark
6f488928cb ref-manual: Updated some terms in the "Terms" chapter.
(From yocto-docs rev: c00be16a858ece1d3b02d554ec202088f78a2d1d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:24 +00:00
Scott Rifenbark
189851f9d6 getting-started: Added section on BB workflow
New section called "The OpenEmbedded Build System Workflow".
This section presents the tried and true flow block figure
that shows what happens when you fire off a build.

(From yocto-docs rev: 5b4313ba87a2ccd139f2b980f4cf097700421cf4)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:24 +00:00
Scott Rifenbark
68823387c3 getting-started, mega-manual: Added reference distro poky section
Added the new section "Reference Embedded Distribution (Poky)"
section to the getting-started manual.  The new section required
a new figure.  I had to add the figure to the figures folder of
both the getting-started and mega-manual books.  Updates to the
Makefile to include the new figure as part the tarfiles created
for each book.

(From yocto-docs rev: e5f44e17d4c1e55b6f229cc3745727e439b5bcb7)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:24 +00:00
Kristi Rifenbark
a70b32c5a0 ref-manual, dev-manual: Removed fetchall and checkuriall tasks
Fixed [YOCTO #12547]

ref-manual:
Removed fetchall and checkuriall tasks.

dev-manual:
Replaced "bitbake -c fetchall target" command with
'bitbake -c target --runall="fetch"'.

(From yocto-docs rev: 6d5cad8755e8817d50a9f88cb18115f43bb0b54a)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:24 +00:00
Scott Rifenbark
2c0d16904d ref-manual: Updated phonetic pronounciation of Poky.
It is Pock-ee with the emphasis on Pock.

(From yocto-docs rev: fd0accf40a9324060562b75ba9d3b078daf458f6)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:24 +00:00
Scott Rifenbark
c46b027622 getting-started: Added "Development Methods" section
This section introduces the ways a developer can use the Yocto
Project.  They can use BitBake from a Linux shell, they can
got through CROPS, they can use Toaster, and they can use the
Eclipse IDE.  The section overviews these possibilities.

(From yocto-docs rev: 95af6303364f94f91c94fd0bd1890b4e6351048e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:24 +00:00
Kristi Rifenbark
afb5009c3b sdk-manual: Replaced eclipse-poky repo name to eclipse-yocto
Fixed [YOCTO #12546]

(From yocto-docs rev: 6fa7fb663d8a9067ddec783424cf0da81e875669)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:24 +00:00
Scott Rifenbark
324da65885 getting-started: Created Components and Tools section
New content that leverages off the same information from the new
website.

(From yocto-docs rev: 1d5bf1501a1d0efe388dc5f4a7f741a272c6301c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03 08:35:24 +00:00
Khem Raj
8ec37c0811 glibc: Enable static PIE support when security_flags are enabled
(From OE-Core rev: 8e4ece7bf0b09275a34ce8e7cc3e1e54a366c361)

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>
2018-03-01 22:18:47 +00:00
Ross Burton
de4b8febd8 sdk: generate locale archive and remove packages
(From OE-Core rev: c6f1010a47df33b40320aa5784181b659a3254d7)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:18:47 +00:00
Ross Burton
2f56415059 populate_sdk: install UTF-8 locales in SDKs
As glibc 2.27 can't read older locale-archives, SDKs using glibc 2.27 on hosts
using glibc earlier than 2.27 won't be able to find any locales, so bitbake
won't start and Python can't use UTF-8.

So by default install all locales into the SDK.  Special-case Extensible SDKs by
installing no locales as they ship glibc in a buildtools, and that will have the
locales.

Locale installation requires cross-localedef, so add that to DEPENDS.

Also remove the explicit en_US addition in buildtools-tarball as it is now
redundant.

(From OE-Core rev: 96896568d197cd06302713c24c0f7d91bfaea6c1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:18:47 +00:00
Ross Burton
03b758892b sdk: install specified locales into SDK
(From OE-Core rev: 9b1c3dbe79f67d3b46e0f90a73bce6c61f094a50)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:18:47 +00:00
Ross Burton
8994767745 package-manager: add install_glob()
(From OE-Core rev: 8d1b530c82de386d4183f5673c060b9d416a3835)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:18:47 +00:00
Ross Burton
b194e2f15f package_manager: improve install_complementary
- No need to use bb.utils.which() as subprocess will search $PATH
- Clarity flow by moving the install inside the try/except

(From OE-Core rev: f4d22b7195dd8f08fe26dd353c7e860208e87d6a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:18:47 +00:00
Ross Burton
307c07fb8d cross-localedef-native: add way to specify which locale archive to write
localedef has no way to specify which locale archive to use, and the
compile-time default isn't useful as it points to the work directory.

Add support to read an environmental variable for the path, and don't fail to
write a new locale archive.

(From OE-Core rev: bf0f205a3c3714926649bd69db29e4df1c0ea112)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:18:47 +00:00
Ross Burton
d402a2a071 glibc: relocate locale paths in nativesdk
nativesdk is built with a specific prefix but this will be different at install
time, however glibc hard-codes the path to locale files. Expand these strings to 4K and move them to a magic segment which we can relocate when the SDK is installed.

(From OE-Core rev: 59e0679378aac27c4fea0b06721e0a184a93c100)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:18:47 +00:00
Ross Burton
51b681cb3d glibc: don't use host locales in nativesdk
(From OE-Core rev: d7ded85766852689a0d774c896a11d0609004ab2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:18:47 +00:00
Ross Burton
7d06f1fc26 default-distrovars: don't rename locales for nativesdk
(From OE-Core rev: 909da982c74b2ed931a65dda248557cb18f773e0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:18:47 +00:00
Ross Burton
bcdfc5c993 glibc: Upgrade to 2.27 release
(From OE-Core rev: 7c9faaee307585dbab569b4aa0a386658372af4e)

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>
2018-03-01 22:18:46 +00:00
Juro Bystricky
2d3e099497 dbus-test_1.12.2: various fixes
The result of running dbus-test-ptest was a series of
various segfaults, interpreted as FAILs. This was a direct consequence
of the test suite loading the installed shared library libdbus-1.so, not the
one built along the test suite.

While we normally want to test against the installed libraries, we cannot
do this in this case as the test suite expects a library that is configured/compiled
differently from the installed one. We could configure the installed library
identically as the test suite expects, (and there should be no issues), however
this is not desirable for performance reasons.

Hence we need to use the library built along with the test suite.
Of course, running the test suite against its own library does not
test the installed library, however they are both built from the same
sources so that can give us some kind of indication.

The following changes were made:

1. Configure the test library as close as possible to the installed one,
   with some additional configuration options that are needed for testing.
   (Use dbus_1.12.2.bb recipe as a template)
2. Include the shared libraries in the package, use LD_LIBRARY_PATH during
   testing to load them instead of the installed ones.
3. Add a few more tests. (There are still some additional tests built that
   are not used, but they would have to be special-cased).
4. When evaluating the test results, differentiate between "FAIL" and "SKIP"

[YOCTO #10841]
[YOCTO #12277]

(From OE-Core rev: 5d148aa9c3c338fabab1e60e2ca64d09c9b8477f)

(From OE-Core rev: 0828850fd09f738572ae8259384af07eeb81182b)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:18:46 +00:00
Ross Burton
bdb026db90 package.bbclass: fetch PRIVATE_LIBS twice as we iterate twice
The shlibs detection/handling iterates the package list twice, but PRIVATE_LIBS
is only fetched in the first loop which means the second loop only considers the
value set.

(From OE-Core rev: 8c90c0081c38b33c99655f806cbe668600c170cc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:18:46 +00:00
Richard Purdie
4bc71faf76 bitbake: runqueue: Ensure only recursive task dependencies are pruned
If a standalone tasks adds a dependency on X:do_build, the code in runqueue would
currently remove it if that do_build was part of an image recipe which uses
recrdeptask on do_build.

Such individual tasks shouldn't do this, therefore tweak the recursive reference code
to only process recurseive tasks, not all tasks.

(Bitbake rev: 4cfca360891e1ed876a9c19487b4f6210686af26)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:14:12 +00:00
Richard Purdie
4604ab6198 meta-world-pkgdata: This recipe is machine specific, mark as such
The recipe depends on many machine specific tasks and should be marked
as machine specific itself. This fixes signature tests after some dependency
issues were fixed at the bitbake level which exposed that issue.

(From OE-Core rev: 4889704fed9ec205eb964b9e8ee7ff384e5c741d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:13:56 +00:00
Paul Eggleton
80feb637a4 devtool: search: tweak help text
* We now match on more than just target recipes, so don't specify that
  only target recipes are searched.
* We're printing the SUMMARY value in addition to the name, so mention
  that so it's clear where that text is coming from.
* Remind users that they should use quotes around the keyword to avoid
  shell expansion when using regular expressions.

(From OE-Core rev: cc68971557fe065e59ff47657f650051eb85db3c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:13:56 +00:00
Paul Eggleton
e8c7c36c60 devtool: search: also look in recipe cache
If pkgdata isn't present or is incomplete, then you get either a
traceback or you don't see the results you were hoping for. The recipe
cache that bitbake collects during startup contains some useful
information for each recipe that we could search through as well, and
we can access it easily using tinfoil's all_recipes() API function,
so add some code that does that. (We still show a warning if pkgdata
isn't present, as there are certain dynamic packages that are generated
at packaging time that won't show up in the cache).

One side-effect of this is that we will start showing non-target
recipes - that's actually a good thing, since seeing those is useful,
however we exclude nativesdk recipes when in the eSDK to avoid confusion
since nativesdk isn't directly applicable there.

Fixes [YOCTO #12356].

(From OE-Core rev: b8406383886d09a80a9a002150dcf364fa9902d7)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:13:56 +00:00
Paul Eggleton
2f48cb606b lib/oe/recipeutils: add .txz extension to archive list
Prompted by bitbake commit 2ba8a6b25ccc12e7b543e8450121e5311c7a701d,
add .txz to the list of archives used within get_recipe_local_files()
here as well.

(From OE-Core rev: 28466586f4777f11f0a29ed5ebe9734a4e15920e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:13:56 +00:00
Paul Eggleton
3bb00af9ab devtool: deploy-target: don't specify ssh/scp port unless user does
If the user doesn't specify a port then we should avoid specifying one
on the ssh/scp command line in case the user has configured one for the
host they are connecting to, which was being overridden unnecessarily.

Fixes [YOCTO #12381].

(From OE-Core rev: f1020eef09fada7ef2231d5528576553f3f6bfe1)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:13:56 +00:00
Paul Eggleton
0465558e83 devtool: finish: fix erroneously creating bbappend for relative paths
After OE-Core rev 5e3fe00a0233d563781849a44f53885b4e924a9c we call
os.path.abspath() on the original layer path, but we later compare that
to the destination layer path. If that layer path isn't absolute but is
effectively the same path, it should be writing to the original recipe
but because we weren't making it absolute we were writing a bbappend
instead. Call os.path.abspath() on the destination path as well to avoid
that.

(From OE-Core rev: a85a78dcf226d160e9b504bfa67b306a9175ac29)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:13:56 +00:00
Paul Eggleton
e295135ba1 devtool: reset: delete bbappend file if _check_preserve() doesn't
If the .devtool_md5 file doesn't contain a reference to the bbappend
file (e.g. because devtool was interrupted before it could write that
out) then _check_preserve() won't delete it, so we need to delete it
separately because otherwise the recipe won't actually be reset.

(From OE-Core rev: 751d27600a3df18d96baaa48696acf33ee964bec)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:13:56 +00:00
Paul Eggleton
2f40a87424 devtool: fix poor handling of upgraded BBCLASSEXTENDed recipes
Fix two aspects of handling BBCLASSEXTENDed targets (e.g.
openssl-native) that have been run through "devtool upgrade":

* Fix recipe name not showing up in "devtool status"
* Fix "devtool reset" not deleting empty directories under the recipe
  directory within the workspace, which may lead to problems if you
  subsequently run "devtool upgrade" on the same target again

(From OE-Core rev: 56e04260d64de9c5b83893d97cf41b7ea9a45878)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:13:56 +00:00
Paul Eggleton
9b49883f2f lib/oe/path: implement is_path_parent()
In a few places we have checks to see path B is the parent of path A, by
adding / to the end of the path B and then seeing if path A starts with
the suffixed path B. Unfortunately there are two potential flaws:
(1) path A needs to be suffixed with / as well or the directory itself
won't match (semantics perhaps, but in a lot of scenarios returning True
is correct); (2) you need to run os.path.abspath() on both paths first
or you will wrongly return False for some relative paths where you
should return True. Let's solve this once and for all by writing a
function that takes care of these and put it in oe.path.

(From OE-Core rev: dd3d4b0367272a5826a9a51afa26f426dd003e5d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:13:56 +00:00
Enrico Scholz
98aff12d9c oe-init-env: search 'bitbake' outside of oe-core
atm, 'oe-init-build-env' expects 'bitbake' to be within the OE core git
repository.  This complicates the project setup because you have to
manage the 'bitbake' directory or symlink manually (or specify the
bitbake location explicitly).

Looking for 'bitbake' outside the main git repository will ease project
management significantly.  Now, you can put everything into git submodules,
clone the project with

| git clone --recursive ...

and continue immediately with

| ..../oe-init-build-env

E.g. when you had previously

| .
| |-- build/
| `-- sources/
|     `-- org.openembedded.core/
|         `-- bitbake -> ../bitbake

(where 'bitbake' must be created manually after cloning the project),
you can have now

| .
| |-- build/
| `-- sources/
|     |-- bitbake/
|     `-- org.openembedded.core/

which is completely managed by 'git'.

Patch adds $OEROOT/.. to the search path for 'bitbake'

(From OE-Core rev: 5b3afc9cfe38a9fb435fbe5fcabc59b9a60f4657)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:13:56 +00:00
Joshua Watt
4118603777 sstatesig: Move hardcoded native tools
Now that SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS supports the wildcard syntax,
these exclusions no longer need to be hardcoded

(From OE-Core rev: 891ca3c891f2ed5476442442bd9784ba10b9a94d)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:13:56 +00:00
Joshua Watt
c3582d3669 sstatesig: Add recipe wildcard
The special string "*" on the left hand side of the dependency
specification matches all recipes except the one on the right hand side.

(From OE-Core rev: 526855f6573317ced913f39e878beac1d5d294de)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:13:56 +00:00
Nicolas Dechesne
3b0bb3b5a4 linux-firmware: fix typo
(From OE-Core rev: 6dddf0151d486c474cbf522ced8c5ad96ae290fd)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:13:56 +00:00
Joshua Watt
629619dce7 sstatesig: Ignore icecc-create-env in task sigs
Changes to the icecc-create-env recipe should not cause all recipes to
rebuild just because the have inherited icecc.

(From OE-Core rev: b088a9c34c34c4bda54d93907e04972d3f8ba5a1)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:13:56 +00:00
Joshua Watt
6497ebc0d6 icecc.bbclass: Ignore more icecream vars in hashes
Changing ICECC_ENV_VERSION or select variables that the user can set to
control the behavior of icecc should not cause recipes to rebuild

(From OE-Core rev: b2c64414bbc357d35c1b076840bfc6ede3c90754)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:13:55 +00:00
Maxin B. John
d5182b3529 puzzles: upgrade to latest revision
License-Update: checksum change is due to standardization of
character encoding of source tree on UTF-8

1. Remove upstreamed patch:
        0001-signpost-Add-paranthesis-to-remove-doubt-about-prece.patch
2. Bump PE to prevent version going backwards

(From OE-Core rev: 5e39466587e5e3546b44dca1e3216097713c285e)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:13:55 +00:00
Maxin B. John
eac885c618 piglit: upgrade to current git master
Upgrade to revision:
4ce0887e2f7f848d2be2e435a2d0f3c80e44ea3b

remove backported patch:
        0001-tests-egl-egl-context-priority.c-Use-piglit_egl_get_.patch

(From OE-Core rev: fa724345831253a2a2379b9fccc116d32a3d18d3)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:13:55 +00:00
Maxin B. John
805fb404eb webkit: add missing Upstream-Status to patch
Add missing Upstream-Status to the following patch:
        0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch

Upstream-Status is fetched from the first commit of the patch:
commit id: 700b846ba0

(From OE-Core rev: 5d6ad884f9d6b17b2e5ac4e6b00c7ed3e65a9710)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:13:55 +00:00
Richard Purdie
3eff72cc1f sstatesig/staging/package_manager: Create common sstate manifest code
Create a common function for locating task manifest files rather than
several implementations with missing pieces.

(From OE-Core rev: 68150bac7444f089f19c789e9f6602d59f605d7a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:13:55 +00:00
Richard Purdie
6a07697a6d package_manager: Filter to only rpms we depend upon
Currently do_rootfs gets to see all rpms in the deploy directory. This filters
that view to only rpms which the image recipe has actual depends upon which
potentially removes some sources of confusion in the image construction.

This makes builds more reproducibile and also fixes contamination issues
where dnf picks up packages it shouldn't be able to 'see'.

[YOCTO #12039]

(From OE-Core rev: 85e72e129362db896b0d368077033e4a2e373cf9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01 22:13:55 +00:00
Anuj Mittal
1b7a9d4f63 buildhistory-diff: honour report_all flag
Make sure that we're passing a bool value. Without this, buildhistory
shows all the output for all the keys/fields when it shouldn't be by
default.

(From OE-Core rev: b30153a15715a83c0f9a7d7d1883a15404992a19)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:35:59 +00:00
Bruce Ashfield
0b1ca745f5 linux-yocto-dev: update to v4.16-rcX
(From OE-Core rev: 59285b324f6d9ed270b0bef209ef5da22a620a83)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:35:59 +00:00
Ross Burton
1bcbe159aa sstatetests: pass the right files when comparing sigfiles
(From OE-Core rev: 65cc20690e7827df3d84ebea6357eebabb668f50)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:31:48 +00:00
Robert Yang
180513fea4 time: 1.7 -> 1.8
* Remove debian.patch which is already in the source.
* License-Update: The license is changed to GPLv3, and move v2 one to meta-gplv2.
* Merge time.inc into time_1.8.bb.

(From OE-Core rev: c17e1a1c4e0c227efc848a7dec1a00a29080e917)

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>
2018-02-24 10:31:48 +00:00
Khem Raj
6ccc45aed5 binutils: Upgrade to 2.30 release
Additionally cherry-pick

5ffeba4a09 Revert "PowerPC PLT speculative execution barriers"
b01452b1d4 [PR22764][LD][AARCH64]Allow R_AARCH64_ABS16 and R_AARCH64_ABS32 against absolution symbol or undefine symbol in shared object.
a985e9b9de Import patch from mainline to remove PROVODE qualifiers around definitions of __CTOR_LIST__ and __DTOR_LIST__ in PE linker scripts.
eec4607fc5 Add support for DWARF-4 line number tables.

(From OE-Core rev: c708506eb9dbb4b817f563fbaacb80eee0b5b301)

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>
2018-02-24 10:31:48 +00:00
Khem Raj
06a1b9be8a glibc: Update to tip of 2.26
This will make it easy to backport to rocko if needed after 2.27 is landed in master
plus it fixes the aarch64 build issue seen with binutils 2.30

(From OE-Core rev: 774e372d95c9082766477ea6dbfcd10c48ac4658)

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>
2018-02-24 10:31:48 +00:00
Anuj Mittal
389fcc6c40 libva-utils: upgrade to 2.1.0
Major changes:

* Refine gtest conformance cases
* vp9enc: add support low power mode
* vavpp: add support for RGBA/RGBX surface
* vainfo: add support new profile/entrypoint pairs

(From OE-Core rev: a289787a80099d5029daab84625453cd3e2471b1)

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>
2018-02-24 10:31:48 +00:00
Anuj Mittal
1226d1b737 libva: upgrade to 2.1.0
Major changes:

* Bump VA-API version to 1.1.0
* Add API for multi-frame processing
* Add entrypoint VAEntrypointStats for Statistics
* Add data structures for HEVC FEI support
* Add new attributes for decoding/encoding/video processing
* Add new VPP filter for Total Color Correction
* Add blending interface in VPP
* Add rotation interface in VPP
* Add mirroring interface in VPP
* Add Chroma siting flags in VPP
* Add new color standard definitions
* Add new interface for exporting surface
* Add message callbacks for drivers to use

(From OE-Core rev: f8c01917594892be366580873618fa20272d2423)

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>
2018-02-24 10:31:48 +00:00
Jason Wessel
4e3d3c122f logging.bbclass: Enclose the tr string in quotes
On some linux hosts image recipes will fail to build as follows:

ERROR: build-essential-0.3-r0 do_image_ext3: Usage: bbdebug [123] "message"
ERROR: build-essential-0.3-r0 do_image_ext3: Function failed: do_image_ext3 (log file is located at /opt/build/tmp/work/intel_corei7_64-wrs-linux/build-essential/0.3-r0/temp/log.do_image_ext3.43744)
ERROR: Logfile of failure stored in: /opt/build/tmp/work/intel_corei7_64-wrs-linux/build-essential/0.3-r0/temp/log.do_image_ext3.43744
ERROR: Task (/opt/layers/meta-overc/meta-build/recipes-core/images/build-essential_0.3.bb:do_image_ext3) failed with exit code '1'

Running with bitbake -v -v -v -D we get in the log file:
+ bbdebug 1 Executing 'dd if=/dev/zero of=/opt/build/tmp/work/intel_corei7_64-wrs-linux/build-essential/0.3-r0/deploy-build-essential-image-complete/build-essential-intel-corei7-64-20180220190510.rootfs.ext3 seek=484486 count=0 bs=1024'
+ USAGE='Usage: bbdebug [123] "message"'
+ '[' 3 -lt 2 ']'
+ DBGLVL=1
+ shift
++ echo 1

++ echo 1
++ tr -d t

++ tr -d t
+ NONDIGITS=1
+ '[' 1 ']'
+ bbfatal 'Usage: bbdebug [123] "message"'

The debug output tells us that the NONDIGITS check failed to remove
the digits using the tr expression.  Enclosing the expression in
quotes causes it to work properly.

(From OE-Core rev: 9e6d283aa9c77685f55a62fa220226d9149ecd7a)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:31:48 +00:00
Ross Burton
e15ce3ff0a mpfr: merge bb/inc and fix license
Merge the bb/inc as there's no reason to split them.

Remove redundant S assignment.

Fix the LICENSE assignment to LGPLv3+.  The source of mpfr is Lesser GPL v3 or
higher, the GPL is assigned to some test data that isn't shipped.

(From OE-Core rev: b2911fe96d5a03f4cc0c5835d59c499108f39310)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:31:48 +00:00
Ross Burton
3abf75f923 xcb-proto: don't compile for Python 2
Remove the do_install_append to create the Python 2 pyc files, as nothing in the
build is using Python 2 anymore (libxcb is the only user, and that uses Python
3).

Also use variables instead of a patch to control what Python binary and path the
modules are installed to.

(From OE-Core rev: c27c60fe012bf42ea3b22fc1b4496450dc68b50b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:31:48 +00:00
Ross Burton
a63aa5c0e4 libpthread-stubs: clean up recipe
No need to inherit pkgconfig as configure doesn't use it, remove commented
DEPENDS which clearly came from another recipe, stop deploying an empty PN.

(From OE-Core rev: 1ae5ede208c82733293492a6eb836ff8b1197f4e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:31:47 +00:00
Maxin B. John
281e2b8cab librsvg: provide RECIPE_NO_UPDATE_REASON
Rustification of librsvg from version 2.41.0 onwards creates the need
for Rust compiler to build it. We need to push the upgrade of
librsvg until we have Rust support in oe-core.

(From OE-Core rev: 8eaa38ce7d16478710a73a72ef3dfdd2ba105d8e)

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>
2018-02-24 10:31:47 +00:00
Maxin B. John
251b430ec7 gtk-icon-utils-native: upgrade to version 3.22.28
3.22.26 -> 3.22.28

(From OE-Core rev: 0811ff49f32b7ab0a4b1a061e2d1ef357c821cc0)

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>
2018-02-24 10:31:47 +00:00
Maxin B. John
1c7307614a gtk+3: upgrade to version 3.22.28
3.22.26 -> 3.22.28

Bug-fix release

(From OE-Core rev: c9230f8b19a186273ce8771580beefb6b988ae3d)

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>
2018-02-24 10:31:47 +00:00
Maxin B. John
70a6314269 glib-2.0: upgrade to version 2.54.3
2.54.2 -> 2.54.3

Remove upstreamed patch:
        1. glib-mkenums-replace-and-warn-decoding.patch

(From OE-Core rev: 4ab5c5d8b0691b123857677b01781f4018b7b80b)

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>
2018-02-24 10:31:47 +00:00
Otavio Salvador
d6cd82a5a1 mesa: Upgrade 17.3.3 -> 17.3.5
The 17.3.5 release, published in February 19th, 2018 to fix a critical
regression from 17.3.4 release. They fix a number of issues since
17.3.3 release.

The release notes can be seen at:

  https://www.mesa3d.org/relnotes/17.3.4.html
  https://www.mesa3d.org/relnotes/17.3.5.html

(From OE-Core rev: 350ff6b0151afcca3a6e233d4840d41052bd826a)

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>
2018-02-24 10:31:47 +00:00
Peter Kjellerstedt
eaa9356744 meson.bbclass: Add support for nativesdk
We need to use the meson.cross file when building for nativesdk.
Additionally, we need to trick meson's sanity tests, just as it is
done for target builds.

(From OE-Core rev: abcb330c462c2c06d36f8f3681a6bd07d562c1fe)

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>
2018-02-24 10:31:47 +00:00
Anuj Mittal
b487251b86 gst-validate: inherit upstream-version-is-even
gst-validate follows GStreamer versioning. Inherit class to make
sure development releases aren't marked as latest.

(From OE-Core rev: 0e45643f24222ea221869e7282489660bac22c6b)

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>
2018-02-24 10:31:47 +00:00
Ross Burton
f5fed8115a libtirpc: refresh patches
(From OE-Core rev: 1b674cc1df9e919d61ad45668b0dd3221b9b3544)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:31:47 +00:00
Ross Burton
baf263e40f libtirpc: stop dropping in NIS headers
libtirpc prior to 1.0.2 assumed that the system provided nis.h but this isn't
always true.  Until now we've been using a tarball of the missing files from
Gentoo, but libtirpc 1.0.2 added a copy of nis.h to the sources so this isn't
required anymore.

(From OE-Core rev: a6e786e7c8bed33fa269aac99724df606829ec6f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:31:47 +00:00
Denys Dmytriyenko
20e4d309e1 kernel.bbclass: explicitly depend on bison-native for deterministic builds
Explicitly depend on bison-native for deterministic builds, as it is required
for the build:

|   HOSTCC  scripts/basic/fixdep
|   GEN     ./Makefile
|   HOSTCC  scripts/kconfig/conf.o
|   YACC    scripts/kconfig/zconf.tab.c
| /bin/sh: bison: command not found
| scripts/Makefile.lib:217: recipe for target 'scripts/kconfig/zconf.tab.c' failed

In most cases, this dependency comes indirectly via toolchain dependencies,
specifically binutils-cross, which pulls bison-native. Different setups,
such as with external toolchain, would expose this problem, since correct
dependency is not marked explicitly.

(From OE-Core rev: d26b700553fe8fa21c2e42b04e11bb380d94ef36)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:31:47 +00:00
Joshua Watt
3294e0e79a icecc.bbclass: Remove icecream from uninative
The icecream native tools should not be included in uninative tarballs
even though it is nativesdk

(From OE-Core rev: fd87ebd7e8906e047620c2d4afa62337b5521e6f)

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>
2018-02-24 10:31:47 +00:00
Joshua Watt
b803bbcad2 icecc.bbclass: Add environment version
Adds a version to the environment which can be used to invalidate any
previous environments on the remote compile nodes

(From OE-Core rev: 9bda79af100293ea3cb986dd501e0be028f2f04c)

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>
2018-02-24 10:31:47 +00:00
Joshua Watt
dbf9346eaf icecc.bbclass: Fix combining with ccache
Fixes the case where ccache is enabled along with Icecream. In these
cases, there is the danger that Icecream will accidentally add the
ccache executable to the toolchain, which prevents it from working. In
particular, Fedora enables ccache by default via symbolic links in PATH.

(From OE-Core rev: 09ba173f56dcd7299a07d4dac3633fe7818f7282)

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>
2018-02-24 10:31:46 +00:00
Martin Jansa
1f334a3df0 nativesdk-icecc-toolchain: Fix LIC_FILES_CHKSUM md5
(From OE-Core rev: 008a023f0c66a5b2e3127407d748a925996c6248)

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>
2018-02-24 10:31:46 +00:00
Ross Burton
12e7c34583 maintainers: update for change to icecc-create-env recipe name
(From OE-Core rev: 80ff8507a292da5adf354ed9faecff81d6b0aa91)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:31:46 +00:00
Jagadeesh Krishnanjanappa
e3644b3a71 libunwind: Fix multilib header conflict - libunwind.h
libunwind.h conflicts between 32-bit and 64-bit versions

This patch solves below error:
-- snip --
file /usr/include/libunwind.h conflicts between attempted installs of libunwind-dev-1.2-r0.core2_64 and lib32-libunwind-dev-1.2-r0.i586
-- snip --

(From OE-Core rev: 6fdaf90fe9b8b2360f5a93752745bf248f9e289d)

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:31:46 +00:00
Maxin B. John
237a7d08af libsolv: upgrade to version 0.6.32
0.6.31 -> 0.6.32

(From OE-Core rev: 47bcb610a1dac0e118c5ec756a748865c93bec4d)

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>
2018-02-24 10:31:46 +00:00
Maxin B. John
430a04d442 mmc-utils: Upgrade to latest revision
updates:

mmc-utils: manpage: fix arguments for TH macro
mmc-utils: remove unused #includes
mmc-utils: move offsetof from mmc.h to only user
mmc-utils: expand .gitignore
mmc-utils: make use of dependency information
mmc-utils: drop unused header
mmc-utils: drop macro CHECK

(From OE-Core rev: 4f363b4a6ed6953ffb26ba30f371a710e1ebc67a)

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>
2018-02-24 10:31:46 +00:00
Konstantin Shemyak
2e07b1c0bb cve-check-tool: correctly exported web proxies
The binary 'cve-check-update' downloads the CVE database from the Internet.
If the system is behind a web proxy, the download fails, as proxy-related
variables are not exported.
In turn, 'cve-check-tool' does not connect to the network and correspondingly
does not need exported proxies.

Exported all proxy-related environment variables to 'cve-check-update' and
removed the unneeded export from 'cve-check-tool'.

(From OE-Core rev: 17db210975c740aff12732c511cf4fb32b507365)

Signed-off-by: Konstantin Shemyak <konstantin.shemyak@ge.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:31:46 +00:00
Maxin B. John
6c0c3220aa pkgconf: upgrade to version 1.4.2
pkgconf improved compatibility with freedesktop.org pkg-config.
So, we don't need to unset PKG_CONFIG_SYSROOT_DIR in wrappers.

(From OE-Core rev: bff4ad7d6f62131a9b91a4063600e6f3edb8843c)

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>
2018-02-24 10:31:46 +00:00
Oleksandr Kravchuk
da70697fc3 curl: upgrade to 7.58.0
(From OE-Core rev: 9763c9d649a22f9024d832eb625bee35b583e717)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:31:46 +00:00
Oleksandr Kravchuk
98b0176d9a libmpc: fix SRC_URI
(From OE-Core rev: 462021964a79a6c940cbce80a31a2ea3283e797c)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:31:46 +00:00
Otavio Salvador
d6caabd827 libdrm: Upgrade 2.4.89 -> 2.4.90
The 2.4.90 was announced in Feb 17th 2018 and had following changes
are listed:

,----
| Andrey Grodzovsky (2):
|       amdgpu: Update deadlock test to not assert on ECANCELED
|       amdgpu: Fix segfault in deadlock test.
|
| Anuj Phogat (1):
|       intel: Add more Coffeelake PCI IDs
|
| Bas Nieuwenhuizen (1):
|       drm: Fix 32-bit drmSyncobjWait.
|
| Christian König (5):
|       amdgpu: fix 32bit VA manager max address
|       headers: sync up amdgpu_drm.h with drm-next
|       amdgpu: use the high VA range if possible v2
|       test/amdgpu: fix compiler warnings
|       amdgpu: fix high VA mask
|
| Christoph Haag (1):
|       meson: fix the install path of amdgpu.ids
|
| Chunming Zhou (5):
|       fix return value for syncobj wait
|       amdgpu: fix inefficient vamgr algorithm
|       amdgpu: clean up non list code path for vamgr
|       tests/amdgpu: add bo eviction test
|       amdgpu: clean up non list code path for
|       vamgr v2
|
| Dylan Baker (7):
|       Add meson build system
|       autotools: Include meson.build files in tarball
|       README: Add note about meson
|       meson: set proper pkg-config version for
|       libdrm_freedreno
|       meson: set the minimum version correctly
|       meson: fix libdrm_nouveau pkgconfig include directories
|       meson: include headers in root directory in ext_libdrm
|
| Emil Velikov (1):
|       tests/amdgpu: add missing config.h include
|
| Eric Engestrom (25):
|       remove unnecessary double-semicolon
|       tests/amdgpu: add parentheses to make operation priority explicit
|       tests/amdgpu: drop unused variables
|       tests/util: fix signed/unsigned comparisons
|       tests/util: drop unused parameters
|       tests/etnaviv: drop unused `return 0`
|       meson: add missing HAVE_RADEON
|       configure: remove unused HAVE_CUNIT define
|       configure: remove unused HAVE_INSTALL_TESTS define
|       meson,configure: remove unused HAVE_OMAP define
|       meson,configure: remove unused HAVE_TEGRA define
|       meson,configure: remove unused HAVE_FREEDRENO define
|       meson,configure: remove unused HAVE_ETNAVIV define
|       meson,configure: always define HAVE_{INTEL,VMWGFX,NOUVEAU,EXYNOS,VC4,RADEON}
|       always define HAVE_FREEDRENO_KGSL
|       always define HAVE_CAIRO
|       always define HAVE_VALGRIND
|       meson: sort HAVE_* defines
|       xf86atomic: fix -Wundef warning
|       meson: cleanup whitespace
|       meson,configure: add warning when using undefined preprocessor tokens
|       xf86drmHash: remove always-false #if guards
|       configure: always define HAVE_LIBDRM_ATOMIC_PRIMITIVES and HAVE_LIB_ATOMIC_OPS
|       exynos/tests: use #ifdef for never-defined token
|       meson,configure: turn undefined preprocessor tokens warnings into errors
|
| Hawking Zhang (3):
|       tests/amdgpu: execute write linear on all the available rings
|       tests/amdgpu: execute const fill on all the available rings
|       tests/amdgpu: execute copy linear on all the available rings
|
| Marek Olšák (2):
|       amdgpu: add amdgpu_query_sw_info for querying high bits of 32-bit address space
|       configure.ac: bump version to 2.4.90
|
| Michel Dänzer (7):
|       amdgpu: Don't print error message if parse_one_line returned -EAGAIN
|       amdgpu: Don't dereference device_handle after
|       amdgpu_device_deinitialize
|       amdgpu: Symlink .editorconfig to tests/amdgpu
|       amdgpu: Disable deadlock test suite by default for SI ASICs
|       amdgpu: Disable VM test suite by default for SI ASICs
|       Revert "amdgpu: clean up non list code path for vamgr"
|       amdgpu: Add amdgpu_query_sw_info to amdgpu-symbol-check
|
| Rob Clark (1):
|       freedreno: clamp priority based on # of rings
|
| Robert Foss (5):
|       android: Move gralloc handle struct to libdrm
|       android: Add version variable to gralloc_handle_t
|       android: Mark gralloc_handle_t magic variable as const
|       android: Remove member name from gralloc_handle_t
|       android: Change gralloc_handle_t members to be fixed width
|
| Seung-Woo Kim (2):
|       amdgpu: fix not to add amdgpu.ids when building without amdgpu
|       modetest: Fix to check return value of asprintf()
`----

(From OE-Core rev: d4a16bab687cc27473ec22e727f23bb4106322a3)

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>
2018-02-24 10:31:46 +00:00
Otavio Salvador
d87f108f40 mtd-utils: Bump revision to 1bfee866
This bumps the version to 2.0.1 release plus some more changes.

The following patches were merged upstream:

 - 0001-Fix-build-with-musl.patch
 - 010-fix-rpmatch.patch
 - fix-armv7-neon-alignment.patch

The `mtd-utils-fix-corrupt-cleanmarker-with-flash_erase--j-command.patch`
patch has been removed as the issue seems to have been addressed
in the Linux MTD subsystem. The discussion can be seen at:

 http://lists.infradead.org/pipermail/linux-mtd/2011-August/037320.html

Also a research to see if any other distribution had a similar patch
included and they don't. So there is no clear need to keep diverging
from upstream.

See the logs below:

,----[ Changes from 2.0.0 -> 2.0.1 ]
| 81049e5 Release mtd-utils-2.0.1
| 4458ad6 mtd-utils: tests: Avoid using less than two blocks in nandpagetest
| 76a55b1 mtd-utils: ubinfo: add parameter check
| 454a3d0 mkfs-ubifs: fix inclusion of uuid.h
| df913e4 mtd-utils: tests: Add Erased Pages Bit Flip Test
| f8bc7d9 Add const modifier to read only strings and string constants
| a7c8cb3 Silence warnings about unused arguments
| e511691 Remove unused variables and functions
| ca517e8 Eliminate warnings about missing prototypes
| 3029b65 Enable compiler warnings
| 9eae306 Move libfec declarations to public header in global include directory
| 022ce62 Use autoconf header detection correctly for libmissing
| 1a3e3af Restructure autoconf configure.ac
| e772dc8 Replace defunct ubifs_assert
| b0b1bc5 mtd-utils: tests: Fix nandbiterrs Failure Check
| 76e27a7 ubi-utils: Return error code if command line option is unknown
| b8e785a nor-utils: Return error code if command line option is unknown
| 12e27a1 jffsX-utils: Return error code if command line option is unknown
| 9a357ee ftl_format: Use return directly to leave main function
| 6890608 flashcp: Drop exit code defines
| ccffc10 Use defines for exit code values
| 871c2f1 mkfs.ubifs: Add support for symlinks in device table
| c0972a5 libiniparser: remove unused function needing float
| 5c57076 libubi.c: add klibc specific fixes for ioctl
| dede98f Return correct error number in ubi_get_vol_info1
| a2eeedb Fix libmtd behaviour if MTD is not present on the system
| 4dab9be Fix build with musl
| 82839c3 Replace rpmatch() usage with checking first character of line
| 7d026a8 Fix alignment trap triggered by NEON instructions
| d7e8612 mtd-utils: Support jffs2 flash-erase for large OOB (>32b)
| fc7aa01 ubi: tests: Speedup io_paral by using rand_r()
| fdec8a4 ubi: tests: Support up to 65k NAND page size
| d600419 ubi: tests: Replace variable-length array with malloc()
| 1710e0c Remove README.udev from ubi-tests extra dist
| e3e010c ubirename: trivial fixes to the help text
| 1fed9b4 Remove UDEV_SETTLE_HACK
| 22089b0 mtd-utils: serve_image: Use PRIdoff_t as format specifier.
| 5a80691 mtd-utils: Fix format specifier definitions for off_t and loff_t.
| 44558d1 nanddump: Add --skip-bad-blocks-to-start option
| 2fc8058 nandwrite: Add --skip-bad-blocks-to-start option
| 6df83fd nandwrite: fix/cleanup bad block skipping
| 7b8981a nandwrite: replace erase loop with mtd_erase_multi
| dffaa1d nandwrite: add stricter sanity checking for blockalign
`----

,----[ Changes from 2.0.1 -> 9c61735 ]
| 9c61735 mtd: unittests: Stop testing stat() calls
| daef4f1 mtd: unittests: Decode arg size from ioctl request
| fd0b70b mtd: unittests: Use proper unsigned long type for ioctl requests
| c75d104 ubi-utils: ubiformat.c: convert to integer arithmetic
| 61afcc6 mtd-utils: common.c: convert to integer arithmetic
| 6766178 Run unit test programs through "make check"
| 098e91a mtd: tests: Fix check on ebcnt in nandpagetest
| 9cfb02c libscan: fix a comment typo in libscan.h
| 7086393 libmtd: fix a comment typo in dev_node2num
| 3c54e4e ubi-utils: ubicrc32: process command line arguments first
| ce50e6d nandbiterrs: Fix copy & paste fail
| 03dafe3 Enable further warning flags, address new warnings
| 0555cb2 jittertest: Use the appropriate versions of abs()
| 475bf70 Mark or fix switch cases that fall through
| cb2fcfc Add no-return attribute to usage() style functions
| 81fd176 Remove self-assignments of unused paramters
| 3b421ab mkfs.ubifs: ignore EOPNOTSUPP when listing extended attributes
| 030a63b tests: checkfs: Remove unused source file from makefiles
| 40dd609 misc-utils: initialize "ip" in docfdisk to NULL
| 94f6573 ubi-tests: io_update: fix missleading indentation
| afba4fc mkfs.ubifs: Apply squash-uids to the root node
| 3a34784 Add ctags files to .gitignore
`----

(From OE-Core rev: af5fd7146d178fdcbb7949280db1bbc4647003db)

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>
2018-02-24 10:31:46 +00:00
Armin Kuster
20ba50bc8c siteinfo: add aarch64_illp32 decode
(From OE-Core rev: 8f9d6f92edb5682a7f2012af6466dbcd19e2e422)

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>
2018-02-24 10:31:46 +00:00
Armin Kuster
ed551d23d7 update-rc.d: QA regression.
I noticed many new QA warning with arm64 mulitlib
suspicious values 'initd-functions-dev' in RRECOMMENDS [multilib]

I believe this is a regression via commit
http://cgit.openembedded.org/openembedded-core/commit/meta/classes/update-rc.d.bbclass?id=cdcebd81c872cb7386c658998e27cf24e1d0447c

(From OE-Core rev: 223119dc96d2e37e3788df630d1995bf56dc156a)

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>
2018-02-24 10:31:46 +00:00
Otavio Salvador
d96f1d2379 go-dep: Upgrade 0.3.2 -> 0.4.1
The release was announced in Jan 24th 2018 and provides a number of
features and bug fixes.

The 0.4.1 restores the `dep prune` command support, which was dropped
on 0.4.0, so existing scripts will continue to work. That said, it is
advisable to change the scripts to use the new features of `dep
ensure` as `dep prune` will be removed in future.

(From OE-Core rev: d8467f2ce7e3ca2277108e388690b79789790839)

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>
2018-02-24 10:31:45 +00:00
Joshua Watt
c4172f3f76 utils.py: Fix parallel_make limit
parallel_make_argument() was incorrectly taking the maximum of the limit
and the calculated value instead of the minimum.

(From OE-Core rev: 45205be547967c84dff96403c3a6825a62e3ca6a)

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>
2018-02-24 10:31:45 +00:00
Alistair Francis
704d0b114d recipes-devtools: Bump QEMU to 2.11.1
Bump the QEMU version to the bug fix release of 2.11.1 and remove the
patches that are no longer required.

(From OE-Core rev: da7fa8a15dfafd07e5956b69996d99880596c333)

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:31:45 +00:00
Manjukumar Matha
f9c90755eb webkitgtk_2.18.6.bb: Fix configure failure for aarch64 build
Fix configure failure for aarch64

| -- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics - Failed
| -- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always
| -- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always -Success
| CMake Error at Source/cmake/OptionsCommon.cmake:42 (WEBKIT_PREPEND_GLOBAL_COMPILER_FLAG):
|   Unknown CMake command "WEBKIT_PREPEND_GLOBAL_COMPILER_FLAG".
| Call Stack (most recent call first):
|   Source/cmake/WebKitCommon.cmake:58 (include)
|   CMakeLists.txt:166 (include)

(From OE-Core rev: 86b38c9b1def872a5bbabb842e33a12eb83b275c)

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:31:45 +00:00
Otavio Salvador
a63b504f9b cmake: Upgrade 3.10.1 -> 3.10.2
This is a minor stable update to CMake. This includes following
changes:

,----
| c1e087a9d CMake 3.10.2
| d592bfc9f Autogen: Ignore not existing source files in cmMakefile
| d49986b3b KWIML: Backport RISC-V update to CMake 3.10
| 9417a6d32 FindPostgreSQL: Add support for PG10
| 683e9023a Autogen: Fix for problematic nested list separator
| 9b4d31dc7 cmGraphVizWriter: Updated to create and follow dependers for
|           interface targets
`----

(From OE-Core rev: 798dba6fb3e16d3041b01faecfd32c787c142ee8)

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>
2018-02-24 10:31:45 +00:00
Otavio Salvador
4632a4511c go: Upgrade 1.9 to 1.9.4 stable release
The 1.9.4 fixes a number of issues in the Go compiler and is important
to get in before we start working on 1.10 inclusion.

 - go1.9.1 (released 2017/10/04) includes two security fixes.

 - go1.9.2 (released 2017/10/25) includes fixes to the compiler,
   linker, runtime, documentation, go command, and the crypto/x509,
   database/sql, log, and net/smtp packages. It includes a fix to a
   bug introduced in Go 1.9.1 that broke go get of non-Git
   repositories under certain conditions.

 - go1.9.3 (released 2018/01/22) includes fixes to the compiler,
   runtime, and the database/sql, math/big, net/http, and net/url
   packages.

 - go1.9.4 (released 2018/02/07) includes a security fix to “go get”.

(From OE-Core rev: 150d9d3215bf5d3a21c3f141d4ce837557c5f9f1)

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>
2018-02-24 10:31:45 +00:00
Khem Raj
70acbc6de4 eglinfo-fb: Pass -DMESA_EGL_NO_X11_HEADERS to cxxflags
This helps in compiling on graphics drivers which use
this define to differentiate between eglfs and x11 headers
e.g. mali or mesa

(From OE-Core rev: 2638482c3b2a5766d2a1377a589245664140e270)

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>
2018-02-24 10:31:45 +00:00
Denys Dmytriyenko
ee997e9c54 openssl: remove patch from 1.0.2m left behind after update to 1.0.2n
(From OE-Core rev: 2ccbd281c267d93ab1af854f603f988fc8dd0231)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:31:45 +00:00
Huang Qiyu
188f161939 sudo: 1.8.21P1 -> 1.8.22
1.Upgrade sudo from 1.8.21P1 to 1.8.22.
2.Update the checksum of LIC_FILES_CHKSUM.
  The following content is appended to doc/LICENSE, plugins/sudoers/redblack.c.

    Todd C. Miller <Todd.Miller@courtesan.com> -> Todd C. Miller <Todd.Miller@sudo.ws>

(From OE-Core rev: 05e8601dcbf6ba8500696d874c483f9ac8df71fa)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:31:45 +00:00
Alexander Kanavin
3bbf10c364 oe-selftest: add a test for recipes without maintainers
'bitbake -c checkpkg world' is moved to class initializer to avoid
it being run twice in a row.

The no-maintainers test checks only oe-core recipes, as other layers
may be be configured, and assigning maintainership to specific people via
maintainers.inc is known to be used only in oe-core.

(From OE-Core rev: ac6a72aab19e04adb2fa2b9932a9427d1b6fbb46)

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>
2018-02-24 10:31:45 +00:00
Alexander Kanavin
6bb3595ec5 oe-selftest: fix tests to reflect man->man-db transition
Rather than apply a patch twice, an incorrect patch is applied
(as the new man-db recipe does not have any patches yet).

(From OE-Core rev: a8bf4da183824caa5fceaf7546db52daa05f8662)

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>
2018-02-24 10:31:45 +00:00
Alexander Kanavin
d9046f8fd8 man-db: replace the outdated man implementation
Until now oe-core has been using a well obsolete implementation of man.

Man-db on the other hand is used by all modern Linux distros, is actively
maintained, has a standard build system, and does not require 30 patches
to build.

(From OE-Core rev: 69e549a841a1681f927667f5017a1cd669ac9914)

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>
2018-02-24 10:31:45 +00:00
Alexander Kanavin
c2f4f93da2 libpipeline: add a recipe
This is a hard dependency of man-db, which will be added in the following commit.

(From OE-Core rev: 22b0a56b596bb303c99b4bcfcc64ff019534142c)

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>
2018-02-24 10:31:45 +00:00
Alexander Kanavin
d594496190 image-live.bbclass: drop support for compressed ISO images
While modern Linux kernels still support it, the userspace tools
haven't been updated in over a decade. Also, squashfs provides
both better performance, and better compression ratio:

https://elinux.org/Squash_Fs_Comparisons

(From OE-Core rev: 9443981d3934b366e39404719486d2b34d8a9d73)

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>
2018-02-24 10:31:45 +00:00
Alexander Kanavin
1dd146d5ac pax: remove the recipe
The situation with pax (vs. tar and cpio) is perfectly described here:
https://xkcd.com/927/

The only reason pax is still around, kind of, is because both POSIX and LSB
mandate it. Outside of those documents, it's not used by anyone.

Meanwhile, the upstream URI we've been taking it from went down, and rather
than seek an alternative source, I just went ahead and removed the recipe.

(From OE-Core rev: a62a7e11274c4965e122ed5bf01024cae8437af0)

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>
2018-02-24 10:31:45 +00:00
Alexander Kanavin
0e469a5c4e devtool: fix upstream version check for devtool-test-local recipe
(From OE-Core rev: d3ce46246fbb40153f6aa7c07898eb449ef3b0f0)

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>
2018-02-24 10:31:45 +00:00
Alexander Kanavin
bdd9eeb341 cryptodev: switch SRC_URI to git
One of the tarball mirrors is down; the other is blocked by Intel's corporate proxy
for being deemed 'suspicious' (the same problem might pop up in other
companies as well). Let's just take the source from github.

(From OE-Core rev: 69f60f6ef9061760643d6b4e378052ddad424754)

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>
2018-02-24 10:31:44 +00:00
Derek Straka
5fcbfe8efd python3-dbus: update to version 1.2.6
License-Update: Checksum updated for added clarification to licenses
in other directories and verified the license terms remain the same

(From OE-Core rev: a6e8e789413c8f953fca2ad0c2591dea0993ccd1)

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>
2018-02-24 10:31:44 +00:00
Derek Straka
3629ba986b python*-setuptools: update to 38.5.1
Update the python{3}-setuptools to the latest stable version

Tested on the qemu with core-image-minimal

(From OE-Core rev: 1753025597a9053922155bb98511a33cab6057a7)

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>
2018-02-24 10:31:44 +00:00
Bruce Ashfield
dfb9ffbafd make-mod-scripts: add build requirements for external modules
Newer kernels (4.14/v4.15+) have dependencies for the build of
modules (and hence external modules). Without these dependencies
explicitly in the build chain, you can end up with build failures like:

  work-shared/qemux86/kernel-source/scripts/extract-cert.c:21:25: fatal
  error: openssl/bio.h: No such file or directory
  |  #include <openssl/bio.h>
  |                          ^
  | compilation terminated.
  | make[2]: *** [scripts/extract-cert] Error 1
  | make[1]: *** [scripts] Error 2

To ensure that these headers are in place, and that the scripts use
our build environment flags, we add a dependency on openssl-native
and use oe_make to invoke the build.

Older kernels have no issues with the extra dependency, so there's no
need to make this conditional.

(From OE-Core rev: 916cb2029d3c97bf12ebf03832b9ba980451dbcf)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:31:44 +00:00
Joe Slater
bb5a8acd65 make-mod-scripts: change how some kernel module tools are built
Remove do_make_scripts() from module-base.bbclass and put
functionality in a recipe.  This will build the scripts only
once instead of each time an external module is built.

[YOCTO #12228]

(From OE-Core rev: ea12c46fe8748fb6606c603d463075a8624e6563)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-24 10:31:44 +00:00
Alexander Kanavin
2f030dfc08 nativesdk-qemu-helper: add a missing nativesdk-python3-logging dependency
[YOCTO #12545]

(From OE-Core rev: 6e5dbb53a7cbd05baf07de62b1abc88dccfd4cb9)

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>
2018-02-22 16:02:23 +00:00
Richard Purdie
ec03a3a008 documentation.conf: Remove references to tasks which were removed
The fetchall and checkuriall tasks were removed, remove the doc strings for them.

(From OE-Core rev: 709b60a5e34a22aadb6dca7b888c010de8e6e4a4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-20 22:25:10 +00:00
Richard Purdie
21931e30d6 oeqa/buildperf/base: Fix fetchall reference to use runall bitbake option
The fetchall task was removed, use its replacement bitbake option.

(From OE-Core rev: e228d16248d879534c4587d9d9c9fe356e13494d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-20 22:25:10 +00:00
Richard Purdie
c2e722f6a6 scripts/contrib/build-perf-test: Fix fetchall reference to use runall
(From OE-Core rev: 028ab7eb11f78c02900389197eace81824e6553f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-20 22:25:10 +00:00
Scott Rifenbark
34abc2ca48 bitbake: bitbake-user-manual: Added cross reference to "Layers" section.
(Bitbake rev: 34da85efb4cf76389f97d233571f79b733986ede)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-20 21:41:18 +00:00
Kristi Rifenbark
e5946b39c1 bitbake: bitbake-user-manual: Updated BitBake help output due to runall command-line options.
Fixed [YOCTO #12547]

(Bitbake rev: 80de8c2369da5856b68458774ea63730063fcfa3)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-20 17:51:10 +00:00
Bruce Ashfield
68512b7416 linux-yocto/4.12: fix qemuarm64 boot failure
The -stable update to 4.12 needs one more commit to fix the boot of
qemuarm64. This will be part of the next 4.12 -stable series, but for
now, we merge the patch directly.

  40146055677a mm/sparsemem: Fix ARM64 boot crash when CONFIG_SPARSEMEM_EXTREME=y

(From OE-Core rev: 4911e9c539b98bde0246ea4f8dc823c50951195e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-20 14:56:11 +00:00
Anuj Mittal
df78c6a5af linux-yocto: introduce 4.15 bbappend for genericx86* BSPs
Sync with stable kernel release 4.15.3 in oe-core.

(From meta-yocto rev: b86dc8e9954b30202ac09ece96a2a3dc55f429b9)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-20 12:02:30 +00:00
Anuj Mittal
a0773dfe35 linux-yocto: introduce 4.14 bbappend for genericx86* BSPs
Sync with stable kernel release 4.14.19 in oe-core.

(From meta-yocto rev: f58ff02412b0b22e4e7cfe55f578a5e3e5b971c6)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-20 12:02:30 +00:00
Anuj Mittal
ce09f38cf3 linux-yocto: update genericx86* SRCREVs for v4.12
Bump to stable kernel release 4.12.20

(From meta-yocto rev: a3d67bf445f07b374ad47c2489706a3d50a7e474)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-20 12:02:30 +00:00
Bruce Ashfield
b2d17f2319 linux-yocto/4.12: update to v4.12.20
Updating to Paul Gortmaker's 4.12.20 release, which comprises
the following commits:

   26041ea62c10 Linux 4.12.20
   80da9fc42759 kvm: x86: fix RSM when PCID is non-zero
   94ff73e84af3 x86/pti: Rename BUG_CPU_INSECURE to BUG_CPU_MELTDOWN
   1c6aaef6e08f x86/alternatives: Add missing '\n' at end of ALTERNATIVE inline asm
   a14ac5bc4953 x86/tlb: Drop the _GPL from the cpu_tlbstate export
   a95cc558c4ba x86/events/intel/ds: Use the proper cache flush method for mapping ds buffers
   e94e2440d266 x86/kaslr: Fix the vaddr_end mess
   ec2c4771ab78 x86/mm: Map cpu_entry_area at the same place on 4/5 level
   21390d1cf697 x86/mm: Set MODULES_END to 0xffffffffff000000
   a657f6bde81f x86/process: Define cpu_tss_rw in same section as declaration
   f0ca9ecfacd8 x86/pti: Switch to kernel CR3 at early in entry_SYSCALL_compat()
   882c46ebc1eb x86/pti: Make sure the user/kernel PTEs match
   0920dd036f51 x86/cpu, x86/pti: Do not enable PTI on AMD processors
   2832199b24b5 x86/pti: Enable PTI by default
   abe84bdf0450 mm/mprotect: add a cond_resched() inside change_pmd_range()
   79c74e87dd70 kernel/acct.c: fix the acct->needcheck check in check_free_space()
   8097b1b3ed8e x86/espfix/64: Fix espfix double-fault handling on 5-level systems
   1a698b5094c6 x86/decoder: Fix and update the opcodes map
   3bc0a0230c85 x86/idt: Load idt early in start_secondary
   96523a6b3c9f x86/ldt: Make LDT pgtable free conditional
   0930c225b7fd x86/ldt: Plug memory leak in error path
   7b392c0fd57c x86/mm: Remove preempt_disable/enable() from __native_flush_tlb()
   a569be19aca4 x86/smpboot: Remove stale TLB flush invocations
   171c680cd430 x86/ldt: Make the LDT mapping RO
   b20a4e9c0824 x86/mm/dump_pagetables: Allow dumping current pagetables
   4cb373d5878c x86/mm/dump_pagetables: Check user space page table for WX pages
   419aaf9950b0 x86/mm/dump_pagetables: Add page table directory to the debugfs VFS hierarchy
   f2ea744855ef x86/mm/pti: Add Kconfig
   21ee6ef0b6da x86/dumpstack: Indicate in Oops whether PTI is configured and enabled
   4792df02eaa2 x86/mm: Clarify the whole ASID/kernel PCID/user PCID naming
   079aafe7e55e x86/mm: Use INVPCID for __native_flush_tlb_single()
   f82db33b19f6 x86/mm: Optimize RESTORE_CR3
   156823d62b52 x86/mm: Use/Fix PCID to optimize user/kernel switches
   3c6ddf8979d7 x86/mm: Abstract switching CR3
   842c1304aa61 x86/mm: Allow flushing for future ASID switches
   54ccd28274b7 x86/pti: Map the vsyscall page if needed
   05347c693d0a x86/pti: Put the LDT in its own PGD if PTI is on
   86aa46082664 x86/mm/64: Make a full PGD-entry size hole in the memory map
   bd91c7622d4b x86/events/intel/ds: Map debug buffers in cpu_entry_area
   f2a19cac5364 x86/cpu_entry_area: Add debugstore entries to cpu_entry_area
   788856fff986 x86/mm/pti: Map ESPFIX into user space
   2946dc511e38 x86/mm/pti: Share entry text PMD
   8f01f3ca70af x86/entry: Align entry text section to PMD boundary
   419ac1b145f8 x86/mm/pti: Share cpu_entry_area with user space page tables
   43ac2d12a830 x86/mm/pti: Force entry through trampoline when PTI active
   c0226c119bb4 x86/mm/pti: Add functions to clone kernel PMDs
   0de21941f44c x86/mm/pti: Populate user PGD
   dc46e9eafde8 x86/mm/pti: Allocate a separate user PGD
   a3293057588e x86/mm/pti: Allow NX poison to be set in p4d/pgd
   b51aa0399145 x86/mm/pti: Add mapping helper functions
   66d1447e7cd8 x86/pti: Add the pti= cmdline option and documentation
   399981179cc2 x86/mm/pti: Add infrastructure for page table isolation
   ff4703d2378d x86/mm/pti: Prepare the x86/entry assembly code for entry/exit CR3 switching
   6eb83fa9c76d x86/mm/pti: Disable global pages if PAGE_TABLE_ISOLATION=y
   0cbc392772c6 x86/cpufeatures: Add X86_BUG_CPU_INSECURE
   bb426b09a2b3 nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick()
   f8da34e6aea2 ring-buffer: Do no reuse reader page if still in use
   f56cc813891f ring-buffer: Mask out the info bits when returning buffer page length
   99df0a6bd678 x86/cpu_entry_area: Prevent wraparound in setup_cpu_entry_area_ptes() on 32bit
   dd6eac2b6f66 init: Invoke init_espfix_bsp() from mm_init()
   fc78bbdec893 x86/cpu_entry_area: Move it out of the fixmap
   b73f4c11bfb7 x86/cpu_entry_area: Move it to a separate unit
   90383f5be7ac x86/mm: Create asm/invpcid.h
   f7938aecc9e1 x86/mm: Put MMU to hardware ASID translation in one place
   21c7af3777f8 x86/mm: Remove hard-coded ASID limit checks
   546fe7d48686 x86/mm: Move the CR3 construction functions to tlbflush.h
   029ed77f57b6 x86/mm: Add comments to clarify which TLB-flush functions are supposed to flush what
   c786774ceccb x86/mm: Remove superfluous barriers
   f0c8c4bd2347 x86/mm: Use __flush_tlb_one() for kernel memory
   c1d18bf3f32b x86/microcode: Dont abuse the TLB-flush interface
   cba3ab6a6841 x86/uv: Use the right TLB-flush API
   8a7c2006beba x86/entry: Rename SYSENTER_stack to CPU_ENTRY_AREA_entry_stack
   d6a432d4d3a0 x86/doc: Remove obvious weirdnesses from the x86 MM layout documentation
   07e8a63c2c4f x86/mm/64: Improve the memory map documentation
   1dddc45476c4 x86/ldt: Prevent LDT inheritance on exec
   93439585326e x86/ldt: Rework locking
   315b737482ac arch, mm: Allow arch_dup_mmap() to fail
   3cd977c67053 x86/vsyscall/64: Warn and fail vsyscall emulation in NATIVE mode
   e5667337a507 x86/vsyscall/64: Explicitly set _PAGE_USER in the pagetable hierarchy
   4664833b9c38 x86/mm/dump_pagetables: Make the address hints correct and readable
   9ed67a029dd7 x86/mm/dump_pagetables: Check PAGE_PRESENT for real
   0f9f378903ae x86/Kconfig: Limit NR_CPUS on 32-bit to a sane amount
   358a83a1de54 x86/cpufeatures: Make CPU bugs sticky
   ae16a824dd62 x86/paravirt: Provide a way to check for hypervisors
   93231925335a x86/paravirt: Dont patch flush_tlb_single
   3e9cf8fb4db0 x86/entry/64: Make cpu_entry_area.tss read-only
   47cb726a9600 x86/entry: Clean up the SYSENTER_stack code
   ff29cda6c2f2 x86/entry/64: Remove the SYSENTER stack canary
   33e8a0a90105 x86/entry/64: Move the IST stacks into struct cpu_entry_area
   8aa71a5cdc32 x86/entry/64: Create a per-CPU SYSCALL entry trampoline
   077a04534cc4 x86/entry/64: Return to userspace from the trampoline stack
   698892158210 x86/entry/64: Use a per-CPU trampoline stack for IDT entries
   7df5dc38dc29 x86/espfix/64: Stop assuming that pt_regs is on the entry stack
   7b6d319e2616 x86/entry/64: Separate cpu_current_top_of_stack from TSS.sp0
   e75df8aedce8 x86/entry: Remap the TSS into the CPU entry area
   0e0055bbeb2a x86/entry: Move SYSENTER_stack to the beginning of struct tss_struct
   d9e17c57f62a x86/dumpstack: Handle stack overflow on all stacks
   b6645c3c626e x86/entry: Fix assumptions that the HW TSS is at the beginning of cpu_tss
   99a47d22f1fa x86/kasan/64: Teach KASAN about the cpu_entry_area
   0863f76db090 x86/mm/fixmap: Generalize the GDT fixmap mechanism, introduce struct cpu_entry_area
   3b825a015513 x86/entry/gdt: Put per-CPU GDT remaps in ascending order
   8e905774d607 x86/dumpstack: Add get_stack_info() support for the SYSENTER stack
   ca02a72c9150 x86/entry/64: Allocate and enable the SYSENTER stack
   4eec07ec7a5c x86/irq/64: Print the offending IP in the stack overflow warning
   a7b282cd43ba x86/irq: Remove an old outdated comment about context tracking races
   d2408cf269d1 x86/entry/64/paravirt: Use paravirt-safe macro to access eflags
   6a99c031df60 x86/mm/kasan: Don't use vmemmap_populate() to initialize shadow
   b3f96767d068 locking/barriers: Convert users of lockless_dereference() to READ_ONCE()
   c1763d787577 locking/barriers: Add implicit smp_read_barrier_depends() to READ_ONCE()
   756428416ce0 perf/x86: Enable free running PEBS for REGS_USER/INTR
   2eecb0acd97a x86: Make X86_BUG_FXSAVE_LEAK detectable in CPUID on AMD
   493513aefcc5 x86/cpufeature: Add User-Mode Instruction Prevention definitions
   019141d42ebe drivers/misc/intel/pti: Rename the header file to free up the namespace
   871d6926064c x86/xen: Fix xen head ELF annotations
   d20c9ba72b8f x86/boot: Annotate verify_cpu() as a callable function
   d32d0f94a7ee x86/head: Fix head ELF function annotations
   18f077dfae1c x86/head: Remove unused 'bad_address' code
   d5d921a047b9 x86/head: Remove confusing comment
   f6dd6567d09d kernel/signal.c: remove the no longer needed SIGNAL_UNKILLABLE check in complete_signal()
   cf2791ad9e53 kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel_only() signals
   2071cfd700f6 kernel/signal.c: protect the traced SIGNAL_UNKILLABLE tasks from SIGKILL
   806424fd3065 kvm, mm: account kvm related kmem slabs to kmemcg
   9575a6ffb4b7 x86/virt: Add enum for hypervisors to replace x86_hyper
   e8baad3e5158 x86/virt, x86/platform: Merge 'struct x86_hyper' into 'struct x86_platform' and 'struct x86_init'
   cb995fcf5ae2 x86/mm/64: Rename the register_page_bootmem_memmap() 'size' parameter to 'nr_pages'
   c94b6dded6eb x86/xen: Drop 5-level paging support code from the XEN_PV code
   119347a0ef41 x86/xen: Provide pre-built page tables only for CONFIG_XEN_PV=y and CONFIG_XEN_PVH=y
   199e4741c8b9 x86/kasan: Use the same shadow offset for 4- and 5-level paging
   1c5ea732a936 mm/sparsemem: Allocate mem_section at runtime for CONFIG_SPARSEMEM_EXTREME=y
   8915a13ca5a4 mm, x86/mm: Fix performance regression in get_user_pages_fast()
   66ea32e385a8 x86/insn-eval: Add a utility function to get register offsets
   7ce86fc1e901 x86/insn-eval: Do not BUG on invalid register type
   c958c84cf7c2 x86/mpx, x86/insn: Relocate insn util functions to a new insn-eval file
   8d8f073eaa31 x86/mpx: Do not use SIB.base if its value is 101b and ModRM.mod = 0
   ec1786527e7f x86/mpx: Do not use SIB.index if its value is 100b and ModRM.mod is not 11b
   897aeabaf3c1 x86/mpx: Use signed variables to compute effective addresses
   bdc345828604 x86/mpx: Simplify handling of errors when computing linear addresses
   d35dbe818a6a ptrace,x86: Make user_64bit_mode() available to 32-bit builds
   ef02e49ac1a7 x86/boot: Relocate definition of the initial state of CR0
   1542a015ace2 x86/mm: Relocate page fault error codes to traps.h
   7edfe87940e2 selftests/x86/ldt_gdt: Run most existing LDT test cases against the GDT as well
   be33b76702d9 selftests/x86/ldt_gdt: Add infrastructure to test set_thread_area()
   738b110511ba selftests/x86/ldt_gdt: Robustify against set_thread_area() and LAR oddities
   1f9e12c2e81e x86/cpufeatures: Fix various details in the feature definitions
   14fe162f996f x86/cpufeatures: Re-tabulate the X86_FEATURE definitions
   be9780fb7a30 x86/build: Beautify build log of syscall headers
   601a71aa8028 x86/mm: Define _PAGE_TABLE using _KERNPG_TABLE
   6a9dda277c24 bitops: Revert cbe96375025e ("bitops: Add clear/set_bit32() to linux/bitops.h")
   c3e13e28aa72 x86/cpuid: Replace set/clear_bit32()
   a87fa3721441 x86/cpufeatures: Enable new SSE/AVX/AVX512 CPU features
   8bf58a744e9a x86/cpuid: Prevent out of bound access in do_clear_cpu_cap()
   5dd037e50e83 x86/fpu: Remove the explicit clearing of XSAVE dependent features
   691bb62c5c87 x86/fpu: Make XSAVE check the base CPUID features before enabling
   384a2d7af44d x86/fpu: Parse clearcpuid= as early XSAVE argument
   36381d76b645 x86/cpuid: Add generic table for CPUID dependencies
   50c6c061f4d6 bitops: Add clear/set_bit32() to linux/bitops.h
   4ef351ff7bab x86/fpu/debug: Remove unused 'x86_fpu_state' and 'x86_fpu_deactivate_state' tracepoints
   cc2b5786a84b x86/entry/64: Shorten TEST instructions
   d26fc8d39309 x86/traps: Use a new on_thread_stack() helper to clean up an assertion
   f475d79e9115 x86/entry/64: Remove thread_struct::sp0
   ee2f1a81b613 x86/entry/32: Fix cpu_current_top_of_stack initialization at boot
   a69652f6e628 x86/entry/64: Remove all remaining direct thread_struct::sp0 reads
   f7945199711d x86/entry/64: Stop initializing TSS.sp0 at boot
   3476ab68a9bf x86/xen/64, x86/entry/64: Clean up SP code in cpu_initialize_context()
   c2e6ce4b2921 x86/entry: Add task_top_of_stack() to find the top of a task's stack
   45c4053bf8d4 x86/entry/64: Pass SP0 directly to load_sp0()
   1acf96028d04 x86/entry/32: Pull the MSR_IA32_SYSENTER_CS update code out of native_load_sp0()
   ab80fe6f16d3 x86/entry/64: De-Xen-ify our NMI code
   d067fb259523 xen, x86/entry/64: Add xen NMI trap entry
   13ead6fcd2ab x86/entry/64: Remove the RESTORE_..._REGS infrastructure
   6793d49993e4 x86/entry/64: Use POP instead of MOV to restore regs on NMI return
   ba46462c7964 x86/entry/64: Merge the fast and slow SYSRET paths
   905d20dd5054 x86/entry/64: Use pop instead of movq in syscall_return_via_sysret
   99bc33079304 x86/entry/64: Shrink paranoid_exit_restore and make labels local
   3c16e0932979 x86/entry/64: Simplify reg restore code in the standard IRET paths
   4fc1d8b76f21 x86/entry/64: Move SWAPGS into the common IRET-to-usermode path
   f32123527bed x86/entry/64: Split the IRET-to-user and IRET-to-kernel paths
   3b475309f976 x86/entry/64: Remove the restore_c_regs_and_iret label
   f3bd88849f88 x86/asm: Don't use the confusing '.ifeq' directive
   d36e0d395ca2 x86/entry: Use SYSCALL_DEFINE() macros for sys_modify_ldt()
   ca024e7d1862 x86/asm: Remove unnecessary \n\t in front of CC_SET() from asm templates
   dcc5f2f8c5db x86/mm/64: Remove the last VM_BUG_ON() from the TLB code
   c01d65a2df94 x86/mm: Flush more aggressively in lazy TLB mode
   71570531a921 x86/mm/32: Load a sane CR3 before cpu_init() on secondary CPUs
   7896047cb4de x86/mm/32: Move setup_clear_cpu_cap(X86_FEATURE_PCID) earlier
   557c6cb2e892 x86/mm/64: Stop using CR3.PCID == 0 in ASID-aware code
   bdf06611e863 x86/mm: Factor out CR3-building code
   28dfb0cf1cd6 x86/mm/64: Initialize CR4.PCIDE early
   c45360a1779f x86/mm: Get rid of VM_BUG_ON in switch_tlb_irqs_off()
   50522881fb0b x86/mm: Document how CR4.PCIDE restore works
   d8fa770e4331 x86/mm: Reinitialize TLB state on hotplug and resume
   223590ce02fa x86/xen: Get rid of paravirt op adjust_exception_frame
   9148019af215 x86/mm, mm/hwpoison: Clear PRESENT bit for kernel 1:1 mappings of poison pages
   93753465c1fb x86/mm/dump_pagetables: Speed up page tables dump for CONFIG_KASAN=y
   866ec7bd5055 x86/mm: Implement PCID based optimization: try to preserve old TLB entries using PCID
   0ca4a0dcd2b1 x86/mpx: Do not allow MPX if we have mappings above 47-bit
   69fa7265508d x86/mm/dump_pagetables: Fix printout of p4d level
   172774bfa3ef x86/boot: Add early cmdline parsing for options with arguments
   47c915550f9e x86/mm: Enable CR4.PCIDE on supported systems
   4bda31395beb x86/mm: Add the 'nopcid' boot option to turn off PCID
   ae3c78546a4d x86/mm: Disable PCID on 32-bit kernels
   a506eb1a28ee x86/mm: Stop calling leave_mm() in idle code
   8d640d568fc8 x86/mm: Rework lazy TLB mode and TLB freshness tracking
   6856a6907443 x86/mm: Track the TLB's tlb_gen and update the flushing algorithm
   75309cc8a392 x86/mm: Give each mm TLB flush generation a unique ID
   90d8521ed090 x86/xen/64: Rearrange the SYSCALL entries
   cd77afb4a51a x86/asm: Add suffix macro for GEN_*_RMWcc()
   5d4c36800831 x86/entry/64: Refactor IRQ stacks and make them NMI-safe
   9b1ff5eeadc1 irq: Make the irqentry text section unconditional
   2df8e4dd8ad5 x86: provide an init_mem_mapping hypervisor hook
   03a415bbc469 x86/kasan: don't allocate extra shadow memory
   e5881507ab4b x86/mm: Delete a big outdated comment about TLB flushing
   2612885620dc x86/mm: Don't reenter flush_tlb_func_common()
   8c33de3d1431 x86/mm: Remove reset_lazy_tlbstate()
   22e8e068200a x86/ldt: Simplify the LDT switching logic
   306b70104b69 x86/boot/64: Put __startup_64() into .head.text
   6785f222adc3 x86/mm: Add support for 5-level paging for KASLR
   3591558ac071 x86/mm: Make kernel_physical_mapping_init() support 5-level paging
   e93998d5a995 x86/mm: Add sync_global_pgds() for configuration with 5-level paging
   8d08f0f9511a x86/boot/64: Add support of additional page table level during early boot
   08ef52fc8c27 x86/boot/64: Rename init_level4_pgt and early_level4_pgt
   8e3d8cc05bab x86/boot/64: Rewrite startup_64() in C
   40029728da7c x86/boot/compressed: Enable 5-level paging during decompression stage
   9f9cc4499abe x86/boot/efi: Define __KERNEL32_CS GDT on 64-bit configurations
   f56c74bc479b x86/asm: Fix comment in return_from_SYSCALL_64()
   37edb519e13e x86/mm: Split read_cr3() into read_cr3_pa() and __read_cr3()
   ae39e66a6c22 x86/ldt: Rename ldt_struct::size to ::nr_entries
   8e9fceb46493 mm/vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP
   73c1f133b39a x86/mm, KVM: Teach KVM's VMX code that CR3 isn't a constant
   6652b39ab9a7 x86/mm: Be more consistent wrt PAGE_SHIFT vs PAGE_SIZE in tlb flush code
   5f8577a5dfcb x86/mm: Rework lazy TLB to track the actual loaded mm
   0444036bd674 x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) SMP code
   a8c7f8a7a0b3 x86/mm: Use new merged flush logic in arch_tlbbatch_flush()
   d47f84368847 x86/mm: Refactor flush_tlb_mm_range() to merge local and remote cases
   5a32e49af880 x86/mm: Change the leave_mm() condition for local TLB flushes
   c2c97859bbc5 x86/mm: Pass flush_tlb_info to flush_tlb_others() etc
   30210c7c83b5 mm, x86/mm: Make the batched unmap TLB flush API more generic
   a56dacbe25a0 x86/mm: Reduce indentation in flush_tlb_func()
   4e69fbba04b0 x86/mm: Reimplement flush_tlb_page() using flush_tlb_mm_range()

(From OE-Core rev: 6a13b0c1e78a671563252a59351d7c1061664087)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-19 23:48:33 +00:00
Bruce Ashfield
438372592d linux-yocto/4.14: update to v4.14.19
Integrating the korg -stable release with the following change summary:

   1722fe372784 Linux 4.14.19
   d2aeb4e2bd8d Revert "x86/alternative: Print unadorned pointers"
   22f16a74c474 scsi: storvsc: missing error code in storvsc_probe()
   f18046f7a50a kernel/exit.c: export abort() to modules
   c5c91d830507 arch: define weak abort()
   3a570cfe785a crypto: tcrypt - fix S/G table for test_aead_speed()
   68a9f19264fd media: soc_camera: soc_scale_crop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
   1bf81cff1bad media: mtk-vcodec: add missing MODULE_LICENSE/DESCRIPTION
   981f20bc7595 soreuseport: fix mem leak in reuseport_add_sock()
   456add4c9bd3 ipv6: Fix SO_REUSEPORT UDP socket with implicit sk_ipv6only
   c04818abad46 tcp_bbr: fix pacing_gain to always be unity when using lt_bw
   1da27118f419 rocker: fix possible null pointer dereference in rocker_router_fib_event_work
   07ca93e3176b net: ipv6: send unsolicited NA after DAD
   799a34d5b048 Revert "defer call to mem_cgroup_sk_alloc()"
   b9b70c876a7a vhost_net: stop device during reset owner
   6d35430fdaf4 tcp: release sk_frag.page in tcp_disconnect
   e8513f250d1b r8169: fix RTL8168EP take too long to complete driver initialization.
   a7c2cf702a40 qmi_wwan: Add support for Quectel EP06
   fcee7812ea05 qlcnic: fix deadlock bug
   166f27322f8c net: igmp: add a missing rcu locking section
   2726946dfcd2 ip6mr: fix stale iterator
   806d61d66900 kbuild: rpm-pkg: keep spec file until make mrproper
   abc5896b7785 .gitignore: move *.dtb and *.dtb.S patterns to the top-level .gitignore
   bafda5d37527 .gitignore: sort normal pattern rules alphabetically

(From OE-Core rev: 15032fc79149a62d68120be67478ea47ba8ca117)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-19 23:48:33 +00:00
Bruce Ashfield
3de07043a4 linux-yocto/4.15: update to v4.15.3
Integrating the korg -stable updates that comprise the following
changes:

   e6e2d12fa46b Linux 4.15.3
   b78dc2478714 crypto: tcrypt - fix S/G table for test_aead_speed()
   65a4a2157f0b gpio: uniphier: fix mismatch between license text and MODULE_LICENSE
   222090655dbb media: tegra-cec: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
   bc87735cb005 media: soc_camera: soc_scale_crop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
   fe70ce28670e media: mtk-vcodec: add missing MODULE_LICENSE/DESCRIPTION
   25de2482a958 net: sched: fix use-after-free in tcf_block_put_ext
   41551c14bf0d net_sched: get rid of rcu_barrier() in tcf_block_put_ext()
   4c92abe86a20 soreuseport: fix mem leak in reuseport_add_sock()
   07055dd6c806 ipv6: Fix SO_REUSEPORT UDP socket with implicit sk_ipv6only
   ce6fa12a7ba5 cls_u32: add missing RCU annotation.
   a742a89695ce tcp_bbr: fix pacing_gain to always be unity when using lt_bw
   759f8b0b3ad8 rocker: fix possible null pointer dereference in rocker_router_fib_event_work
   d19a4d19ccab net: ipv6: send unsolicited NA after DAD
   b22b76fbd802 Revert "defer call to mem_cgroup_sk_alloc()"
   81259f3592f8 ipv6: change route cache aging logic
   513f3cc3d1d3 ipv6: addrconf: break critical section in addrconf_verify_rtnl()
   cb0fddba2081 vhost_net: stop device during reset owner
   f76c9a0fbf5b tcp: release sk_frag.page in tcp_disconnect
   b0acbef9edb2 r8169: fix RTL8168EP take too long to complete driver initialization.
   514377344c30 qmi_wwan: Add support for Quectel EP06
   da1761bde55f qlcnic: fix deadlock bug
   ca89dee1eb41 net: igmp: add a missing rcu locking section
   6555d5440ba2 ip6mr: fix stale iterator
   db22ec452bb4 Linux 4.15.2
   35314545f115 fpga: region: release of_parse_phandle nodes after use
   b796d30928fe serial: core: mark port as initialized after successful IRQ change
   bad75ea552a8 KVM/SVM: Allow direct access to MSR_IA32_SPEC_CTRL
   6d45809fe88f KVM/VMX: Allow direct access to MSR_IA32_SPEC_CTRL
   3d6e862c967f KVM/VMX: Emulate MSR_IA32_ARCH_CAPABILITIES
   4659554aecb0 KVM/x86: Add IBPB support
   f13d17517fd0 KVM/x86: Update the reverse_cpuid list to include CPUID_7_EDX
   9e4d1de59c95 x86/speculation: Fix typo IBRS_ATT, which should be IBRS_ALL
   d13d4d2a597a x86/pti: Mark constant arrays as __initconst
   28cf1d82995c x86/spectre: Simplify spectre_v2 command line parsing
   76e36defe096 x86/retpoline: Avoid retpolines for built-in __init functions
   9ec4cfcef13f x86/kvm: Update spectre-v1 mitigation
   b399b9864988 KVM: VMX: make MSR bitmaps per-VCPU
   6e337065e6de x86/paravirt: Remove 'noreplace-paravirt' cmdline option
   061c8e740e90 x86/speculation: Use Indirect Branch Prediction Barrier in context switch
   9a417b0fe093 x86/cpuid: Fix up "virtual" IBRS/IBPB/STIBP feature bits on Intel
   7aa1a1703133 x86/spectre: Fix spelling mistake: "vunerable"-> "vulnerable"
   bdfaac0f1811 x86/spectre: Report get_user mitigation for spectre_v1
   d583ef2659da nl80211: Sanitize array index in parse_txq_params
   64dab840017d vfs, fdtable: Prevent bounds-check bypass via speculative execution
   fecca4925b89 x86/syscall: Sanitize syscall table de-references under speculation
   31d4cf78bb3d x86/get_user: Use pointer masking to limit speculation
   d193324bd64f x86/uaccess: Use __uaccess_begin_nospec() and uaccess_try_nospec
   bd74e76bfd3d x86/usercopy: Replace open coded stac/clac with __uaccess_{begin, end}
   fa46638b0bbf x86: Introduce __uaccess_begin_nospec() and uaccess_try_nospec
   7ec7f5580122 x86: Introduce barrier_nospec
   d9f24681fd02 x86: Implement array_index_mask_nospec
   8a1c71c817f7 array_index_nospec: Sanitize speculative array de-references
   a35f71001b40 Documentation: Document array_index_nospec
   6adfc96f74dc x86/asm: Move 'status' from thread_struct to thread_info
   6a35b18b3dca x86/entry/64: Push extra regs right away
   dd9708c3dbac x86/entry/64: Remove the SYSCALL64 fast path
   6ff25f602b37 x86/spectre: Check CONFIG_RETPOLINE in command line parser
   62c00e6122a6 x86/mm: Fix overlap of i386 CPU_ENTRY_AREA with FIX_BTMAP
   dd1256185482 objtool: Warn on stripped section symbol
   1e7c7191e892 objtool: Add support for alternatives at the end of a section
   0603b3626273 objtool: Improve retpoline alternative handling
   3dcc78148a15 KVM: VMX: introduce alloc_loaded_vmcs
   81e19f12d180 KVM: nVMX: Eliminate vmcs02 pool
   b053d9d2926b ASoC: pcm512x: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
   793cc747e390 pinctrl: pxa: pxa2xx: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
   39e8aa5b30d6 iio: adc/accel: Fix up module licenses
   c7faead761c5 auxdisplay: img-ascii-lcd: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
   0f6e6bce69d9 x86/speculation: Simplify indirect_branch_prediction_barrier()
   058840da8002 x86/retpoline: Simplify vmexit_fill_RSB()
   24516e9a2e3f x86/cpufeatures: Clean up Spectre v2 related CPUID flags
   d815b3ac3a14 x86/cpu/bugs: Make retpoline module warning conditional
   b63521664040 x86/bugs: Drop one "mitigation" from dmesg
   88106347fcd4 x86/nospec: Fix header guards names
   739050a47dc6 x86/alternative: Print unadorned pointers
   c96b2819eb8f x86/speculation: Add basic IBPB (Indirect Branch Prediction Barrier) support
   727eca64fb2b x86/cpufeature: Blacklist SPEC_CTRL/PRED_CMD on early Spectre v2 microcodes
   bcfd19e90a7d x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdown
   c32525a0ee28 x86/msr: Add definitions for new speculation control MSRs
   c11a94aef481 x86/cpufeatures: Add AMD feature bits for Speculation Control
   6acd374af3f3 x86/cpufeatures: Add Intel feature bits for Speculation Control
   ad35224462a1 x86/cpufeatures: Add CPUID_7_EDX CPUID leaf
   2ce5583273b2 module/retpoline: Warn about missing retpoline in module
   96e1c36869e3 KVM: VMX: Make indirect call speculation safe
   be88e936a27d KVM: x86: Make indirect calls in emulator speculation safe
   d55dce9083d0 Linux 4.15.1
   d4374d0a85e5 x86/efi: Clarify that reset attack mitigation needs appropriate userspace
   589aadd6577b Input: synaptics-rmi4 - do not delete interrupt memory too early
   e66aa9b5cedf Input: synaptics-rmi4 - unmask F03 interrupts when port is opened
   d7e9ad33f4a9 test_firmware: fix missing unlock on error in config_num_requests_store()
   b82021cb0001 iio: chemical: ccs811: Fix output of IIO_CONCENTRATION channels
   ce868fb5d84b iio: adc: stm32: fix scan of multiple channels with DMA
   bac4bf53ca7c spi: imx: do not access registers while clocks disabled
   68c610bf1e38 serial: imx: Only wakeup via RTSDEN bit if the system has RTS/CTS
   150becd9a389 serial: 8250_dw: Revert "Improve clock rate setting"
   c0dbcbb52e8c serial: 8250_uniphier: fix error return code in uniphier_uart_probe()
   970aeba3f3e5 serial: 8250_of: fix return code when probe function fails to get reset
   4e45815fcd38 mei: me: allow runtime pm for platform with D0i3
   76ee8f3d7af2 android: binder: use VM_ALLOC to get vm area
   7654cae54337 ANDROID: binder: remove waitqueue when thread exits.
   fe188a034ead usb/gadget: Fix "high bandwidth" check in usb_gadget_ep_match_desc()
   5f9ec18949c5 usb: uas: unconditionally bring back host after reset
   05ebcaef21aa usb: f_fs: Prevent gadget unbind if it is already unbound
   16d643ddaa3b USB: serial: simple: add Motorola Tetra driver
   7ec7c9e0abda usbip: list: don't list devices attached to vhci_hcd
   053cef5ae90a usbip: prevent bind loops on devices attached to vhci_hcd
   327b34d402aa USB: serial: io_edgeport: fix possible sleep-in-atomic
   6b5cd469cffb CDC-ACM: apply quirk for card reader
   af6e0b55ee7c USB: cdc-acm: Do not log urb submission errors on disconnect
   167c2b3bb56d USB: serial: pl2303: new device id for Chilitag
   f09196b83366 usb: option: Add support for FS040U modem
   3e1995ed770e tty: fix data race between tty_init_dev and flush of buf
   e880bc8b35f8 staging: ccree: fix fips event irq handling build
   d3a65e371e24 staging: ccree: NULLify backup_info when unused
   c857988cb332 staging: lustre: separate a connection destroy from free struct kib_conn
   5a313f217cdd scsi: storvsc: missing error code in storvsc_probe()
   a63f24a621bd scsi: aacraid: Fix hang in kdump
   623130d4173a scsi: aacraid: Fix udev inquiry race condition
   bbaf9ef523bf ima/policy: fix parsing of fsuuid
   50b1c3e02986 igb: Free IRQs when device is hotplugged
   7981935860a3 mtd: nand: denali_pci: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
   2db691195247 gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE
   397b9b19bfbd gpio: iop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
   14fe41dd0295 power: reset: zx-reboot: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
   c08a3601eadd HID: wacom: Fix reporting of touch toggle (WACOM_HID_WD_MUTE_DEVICE) events
   a952547e89fc HID: wacom: EKR: ensure devres groups at higher indexes are released
   cc5daa4b691b crypto: af_alg - whitelist mask and type
   66ae99ca89cb crypto: sha3-generic - fixes for alignment and big endian operation
   e02e32d0b7b2 crypto: inside-secure - avoid unmapping DMA memory that was not mapped
   cb06c7a568b0 crypto: inside-secure - fix hash when length is a multiple of a block
   13f2e2db18a8 crypto: aesni - Fix out-of-bounds access of the AAD buffer in generic-gcm-aesni
   eef10a3e99c7 crypto: aesni - Fix out-of-bounds access of the data buffer in generic-gcm-aesni
   8a393aecc4d7 crypto: aesni - add wrapper for generic gcm(aes)
   799cdd8acd71 crypto: aesni - fix typo in generic_gcmaes_decrypt
   c862ace9b73d crypto: aesni - handle zero length dst buffer
   436bcaa6bc35 crypto: ecdh - fix typo in KPP dependency of CRYPTO_ECDH
   7bccfc3bccae ALSA: hda - Reduce the suspend time consumption for ALC256
   5e5a8be02370 gpio: Fix kernel stack leak to userspace
   b98fe1634c13 gpio: stmpe: i2c transfer are forbiden in atomic context
   70f19ee8b455 tools/gpio: Fix build error with musl libc
   ed3bbbc84f13 Bluetooth: hci_serdev: Init hci_uart proto_lock to avoid oops

(From OE-Core rev: f91f60e916387e61335494dc444aedbaeb07c7dc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-19 23:48:33 +00:00
Bruce Ashfield
cb820e01d5 linux-yocto/4.14: add -rt and update to v4.4.18
Integrating the preempt-rt patch to v4.14 and also updating the -stable
version to 4.14.18 to pickup the following fixes:

   81d0cc85caab Linux 4.14.18
   8d1ed7d4e1ce fpga: region: release of_parse_phandle nodes after use
   a252f37c5f8b serial: core: mark port as initialized after successful IRQ change
   f6d90612c96c KVM/SVM: Allow direct access to MSR_IA32_SPEC_CTRL
   4a82531c96a2 KVM/VMX: Allow direct access to MSR_IA32_SPEC_CTRL
   0716f551d5a2 KVM/VMX: Emulate MSR_IA32_ARCH_CAPABILITIES
   d395d69de67e KVM/x86: Add IBPB support
   8f7c4d52a0e8 KVM/x86: Update the reverse_cpuid list to include CPUID_7_EDX
   4c8298c1fdd3 x86/speculation: Fix typo IBRS_ATT, which should be IBRS_ALL
   6dd1f6989a54 x86/pti: Mark constant arrays as __initconst
   ebaf2271a024 x86/spectre: Simplify spectre_v2 command line parsing
   838dbae0acd0 x86/retpoline: Avoid retpolines for built-in __init functions
   6f6eb84b14ac x86/kvm: Update spectre-v1 mitigation
   7f8da2c8a191 KVM: VMX: make MSR bitmaps per-VCPU
   ad368e5b2d56 x86/paravirt: Remove 'noreplace-paravirt' cmdline option
   7a3f12294da4 x86/speculation: Use Indirect Branch Prediction Barrier in context switch
   85543d7613c4 x86/cpuid: Fix up "virtual" IBRS/IBPB/STIBP feature bits on Intel
   c962dfa4aca0 x86/spectre: Fix spelling mistake: "vunerable"-> "vulnerable"
   863b308dbb19 x86/spectre: Report get_user mitigation for spectre_v1
   c9daf8144642 nl80211: Sanitize array index in parse_txq_params
   98116c32d3b4 vfs, fdtable: Prevent bounds-check bypass via speculative execution
   003513404120 x86/syscall: Sanitize syscall table de-references under speculation
   edaf1538d3a5 x86/get_user: Use pointer masking to limit speculation
   5f40de41ccae x86/uaccess: Use __uaccess_begin_nospec() and uaccess_try_nospec
   2406eb9f4568 x86/usercopy: Replace open coded stac/clac with __uaccess_{begin, end}
   31c5b332189e x86: Introduce __uaccess_begin_nospec() and uaccess_try_nospec
   437ac7b6868d x86: Introduce barrier_nospec
   4820d42835b2 x86: Implement array_index_mask_nospec
   478742cf80b7 array_index_nospec: Sanitize speculative array de-references
   e72041f70c3c Documentation: Document array_index_nospec
   fb9f2d9ab83d x86/asm: Move 'status' from thread_struct to thread_info
   90522d30b223 x86/entry/64: Push extra regs right away
   8459ebcbd6ec x86/entry/64: Remove the SYSCALL64 fast path
   74ae346691dd x86/spectre: Check CONFIG_RETPOLINE in command line parser
   04e073072d14 x86/mm: Fix overlap of i386 CPU_ENTRY_AREA with FIX_BTMAP
   23a4ca4e749a objtool: Warn on stripped section symbol
   3e04e09855c5 objtool: Add support for alternatives at the end of a section
   a358df03279e objtool: Improve retpoline alternative handling
   92f4b68ed14c KVM: VMX: introduce alloc_loaded_vmcs
   2e9521197f08 KVM: nVMX: Eliminate vmcs02 pool
   76f06358ec40 ASoC: pcm512x: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
   bc484da3e18c pinctrl: pxa: pxa2xx: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
   ce094a80f019 iio: adc/accel: Fix up module licenses
   c8aa5cd906a5 auxdisplay: img-ascii-lcd: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
   9f8955f96bd5 x86/speculation: Simplify indirect_branch_prediction_barrier()
   52d78bce4965 x86/retpoline: Simplify vmexit_fill_RSB()
   7f3e0daa9e12 x86/cpufeatures: Clean up Spectre v2 related CPUID flags
   249b1f7a7f09 x86/cpu/bugs: Make retpoline module warning conditional
   91ff9a75f360 x86/bugs: Drop one "mitigation" from dmesg
   b955239cf4ea x86/nospec: Fix header guards names
   67eb59b8ecfb x86/alternative: Print unadorned pointers
   dbbbafce5380 x86/speculation: Add basic IBPB (Indirect Branch Prediction Barrier) support
   0fd222b19766 x86/cpufeature: Blacklist SPEC_CTRL/PRED_CMD on early Spectre v2 microcodes
   d9b47a41160c x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdown
   a65710dc584c x86/msr: Add definitions for new speculation control MSRs
   15ee82be40b6 x86/cpufeatures: Add AMD feature bits for Speculation Control
   343c91242d09 x86/cpufeatures: Add Intel feature bits for Speculation Control
   76c4bd53969b x86/cpufeatures: Add CPUID_7_EDX CPUID leaf
   86b5b1eb18aa module/retpoline: Warn about missing retpoline in module
   c927726674c7 KVM: VMX: Make indirect call speculation safe
   76bee09efb89 KVM: x86: Make indirect calls in emulator speculation safe
   4ce354deed2c x86/retpoline: Remove the esp/rsp thunk
   d6eded6c9453 powerpc/64s: Allow control of RFI flush via debugfs
   517bdccc3af6 powerpc/64s: Wire up cpu_show_meltdown()
   16d3d10d29f7 scripts/faddr2line: fix CROSS_COMPILE unset error
   0146985addc3 Linux 4.14.17
   04178b1709b6 x86/efi: Clarify that reset attack mitigation needs appropriate userspace
   01ab9886ea78 Input: synaptics-rmi4 - do not delete interrupt memory too early
   fced3c99e726 Input: synaptics-rmi4 - unmask F03 interrupts when port is opened
   aad757b65717 test_firmware: fix missing unlock on error in config_num_requests_store()
   0db5de4f4e18 iio: chemical: ccs811: Fix output of IIO_CONCENTRATION channels
   e2d4cdb7b8a4 iio: adc: stm32: fix scan of multiple channels with DMA
   cfd96cbd607a spi: imx: do not access registers while clocks disabled
   e6e7d6baa61a serial: imx: Only wakeup via RTSDEN bit if the system has RTS/CTS
   24293a3970e1 serial: 8250_uniphier: fix error return code in uniphier_uart_probe()
   aa33208b5a6f serial: 8250_of: fix return code when probe function fails to get reset
   e00c5c771877 mei: me: allow runtime pm for platform with D0i3
   86eda3864a70 android: binder: use VM_ALLOC to get vm area
   7a3cee43e935 ANDROID: binder: remove waitqueue when thread exits.
   2ba5966eddef usb/gadget: Fix "high bandwidth" check in usb_gadget_ep_match_desc()
   e0096f93aa42 usb: uas: unconditionally bring back host after reset
   75816a439f65 usb: f_fs: Prevent gadget unbind if it is already unbound
   1c226267c225 USB: serial: simple: add Motorola Tetra driver
   d00a0442a99e usbip: list: don't list devices attached to vhci_hcd
   aa7cdae765cf usbip: prevent bind loops on devices attached to vhci_hcd
   9a24d3f8c566 USB: serial: io_edgeport: fix possible sleep-in-atomic
   34b812ca3038 CDC-ACM: apply quirk for card reader
   ca7964983ca4 USB: cdc-acm: Do not log urb submission errors on disconnect
   bfc372036b41 USB: serial: pl2303: new device id for Chilitag
   947914111303 usb: option: Add support for FS040U modem
   3c538ad93546 tty: fix data race between tty_init_dev and flush of buf
   eb6de1af2e72 staging: ccree: fix fips event irq handling build
   fad7da7b638a staging: ccree: NULLify backup_info when unused
   7a4b5ee973cf staging: lustre: separate a connection destroy from free struct kib_conn
   c065b9947b05 KVM: x86: emulate #UD while in guest mode
   e9273b08d4fb drm/vc4: Move IRQ enable to PM path
   c789cfe0ae72 staging: rtl8188eu: Fix incorrect response to SIOCGIWESSID
   0479bc01767f usb: gadget: don't dereference g until after it has been null checked
   aafb1a7eb0f7 x86/xen: Support early interrupts in xen pv guests
   99a8cad9c1b2 media: usbtv: add a new usbid
   504b902b36a9 ARM: dts: NSP: Fix PPI interrupt types
   12f165f4418a ARM: dts: NSP: Disable AHCI controller for HR NSP boards
   c67fa169456e iwlwifi: fix access to prph when transport is stopped
   99f3d5f37e58 iwlwifi: mvm: fix the TX queue hang timeout for MONITOR vif type
   6c27a40c9e18 scsi: ufs: ufshcd: fix potential NULL pointer dereference in ufshcd_config_vreg
   39527e909ea5 scsi: aacraid: Prevent crash in case of free interrupt during scsi EH path
   612959943e40 perf/core: Fix memory leak triggered by perf --namespace
   773a1c5baad2 xfs: Properly retry failed dquot items in case of error during buffer writeback
   4e506f41705c xfs: ubsan fixes
   4a96f3d05668 drm/omap: displays: panel-dpi: add backlight dependency
   345dc6d499d8 drm/omap: Fix error handling path in 'omap_dmm_probe()'
   464711a74ce3 drm/bridge: tc358767: fix 1-lane behavior
   340c9a4ba303 drm/bridge: tc358767: fix AUXDATAn registers access
   b536eb986e45 drm/bridge: tc358767: fix timing calculations
   0106381870a4 drm/bridge: tc358767: fix DP0_MISC register set
   859bacc13cbb drm/bridge: tc358767: filter out too high modes
   6d734363f2c5 drm/bridge: tc358767: do no fail on hi-res displays
   345f165a31b8 drm/bridge: Fix lvds-encoder since the panel_bridge rework.
   b2ba0bd34695 kmemleak: add scheduling point to kmemleak_scan()
   bf6a04c3ffe1 scripts/faddr2line: extend usage on generic arch
   ca4b61373ee8 SUNRPC: Allow connect to return EHOSTUNREACH
   8f8b2c79c4a3 quota: Check for register_shrinker() failure.
   600c904b919a net: ethernet: xilinx: Mark XILINX_LL_TEMAC broken on 64-bit
   575c548137f8 drm/amdgpu: don't try to move pinned BOs
   f730601cdead xfs: fortify xfs_alloc_buftarg error handling
   95a7d23415b7 nvme-pci: fix NULL pointer dereference in nvme_free_host_mem()
   f268e508aeb2 Btrfs: incremental send, fix wrong unlink path after renaming file
   b27440626674 bnxt_en: Fix an error handling path in 'bnxt_get_module_eeprom()'
   c25d803a3b7d net: phy: marvell10g: fix the PHY id mask
   5e60a297e78d net: mvpp2: fix the txq_init error path
   606592f53b87 quota: propagate error from __dquot_initialize
   1271aeb0027c hwmon: (pmbus) Use 64bit math for DIRECT format values
   02cfbaa6cd42 lockd: fix "list_add double add" caused by legacy signal interface
   156c80d4e197 race of lockd inetaddr notifiers vs nlmsvc_rqst change
   631db7f3895b nfsd: check for use of the closed special stateid
   e0849eb97066 grace: replace BUG_ON by WARN_ONCE in exit_net hook
   3bd364d156b1 nfsd: Ensure we check stateid validity in the seqid operation checks
   5f71ff510631 nfsd: CLOSE SHOULD return the invalid special stateid for NFSv4.x (x>0)
   c900ee9118d7 auxdisplay: img-ascii-lcd: Only build on archs that have IOMEM
   0ffb252208a2 xen-netfront: remove warning when unloading module
   53c045c6d07d i2c: i2c-boardinfo: fix memory leaks on devinfo
   30ac846da360 xfs: log recovery should replay deferred ops in order
   1eccdbd4836a xfs: always free inline data before resetting inode fork during ifree
   40ba283e2602 KVM: Let KVM_SET_SIGNAL_MASK work as advertised
   809981870b66 Btrfs: fix list_add corruption and soft lockups in fsync
   2ce1bbfb5e67 KVM: VMX: Fix rflags cache during vCPU reset
   2f1b5183aee3 KVM: X86: Fix softlockup when get the current kvmclock
   9a447435afab reiserfs: remove unneeded i_version bump
   14a4e9f6bde8 sctp: set sender next_tsn for the old result with ctsn_ack_point plus 1
   55f3de731c0b sctp: avoid flushing unsent queue when doing asoc reset
   d4c72a410f3b sctp: only allow the asoc reset when the asoc outq is empty
   928066e61940 btrfs: fix deadlock when writing out space cache
   841211271ecc mac80211: fix the update of path metric for RANN frame
   e23090a7d8f0 mac80211: use QoS NDP for AP probing
   093a5cb46d05 drm/rockchip: dw-mipi-dsi: fix possible un-balanced runtime PM enable
   9be97a9abe9e openvswitch: fix the incorrect flow action alloc size
   dd45c5e5be07 nvme-rdma: don't complete requests before a send work request has completed
   120c41af36df uapi: fix linux/kfd_ioctl.h userspace compilation errors
   b15f53b46d88 drm/amdkfd: Fix SDMA oversubsription handling
   64aca9911a10 drm/amdkfd: Fix SDMA ring buffer size calculation
   a595f190fc6b drm/amdgpu: Fix SDMA load/unload sequence on HWS disabled mode
   f9f175778bb9 bcache: check return value of register_shrinker
   1392633bafde rxrpc: Fix service endpoint expiry
   b89372f234a8 rxrpc: Provide a different lockdep key for call->user_mutex for kernel calls
   92c131bebf47 rxrpc: The mutex lock returned by rxrpc_accept_call() needs releasing
   e2443fb287cc s390: fix alloc_pgste check in init_new_context again
   2e194c9c5596 null_blk: fix dev->badblocks leak
   d290178f00d4 cpufreq: Add Loongson machine dependencies
   cb78d818c30d ACPI / bus: Leave modalias empty for devices which are not present
   82b90de5b111 s390/zcrypt: Fix wrong comparison leading to strange load balancing
   18c128456eac s390/topology: fix compile error in file arch/s390/kernel/smp.c
   71686d2a1759 nvmet-fc: correct ref counting error when deferred rcv used
   93a4bcf2c425 nvme-pci: avoid hmb desc array idx out-of-bound when hmmaxd set.
   128dc55f891c nvme-pci: disable APST on Samsung SSD 960 EVO + ASUS PRIME B350M-A
   7af5f9137c93 nvme-loop: check if queue is ready in queue_rq
   db2044fc4230 nvme-fc: check if queue is ready in queue_rq
   26bd01c1affe nvme-fabrics: introduce init command check for a queue that is not alive
   d46e961f056a KVM: nVMX: Fix vmx_check_nested_events() return value in case an event was reinjected to L2
   b689fc5b79d5 KVM: x86: ioapic: Preserve read-only values in the redirection table
   408a26510739 KVM: x86: ioapic: Clear Remote IRR when entry is switched to edge-triggered
   b501603be9df KVM: x86: ioapic: Fix level-triggered EOI and IOAPIC reconfigure race
   f0a3691bf2e5 KVM: x86: fix em_fxstor() sleeping while in atomic
   5e7c270a1e60 KVM: nVMX: Fix mmu context after VMLAUNCH/VMRESUME failure
   4f5500a63455 KVM: X86: Fix operand/address-size during instruction decoding
   df54fc5c28d2 KVM: x86: Don't re-execute instruction when not passing CR2 value
   fbd81f09793b KVM: x86: emulator: Return to user-mode on L1 CPL=0 emulation failure
   d003b4bfda3b KVM: nVMX/nSVM: Don't intercept #UD when running L2
   f1881befacbe cpupower : Fix cpupower working when cpu0 is offline
   1d285c0440fe cpupowerutils: bench - Fix cpu online check
   71341a8a7037 Btrfs: bail out gracefully rather than BUG_ON
   9a8215c0a91e btrfs: Fix transaction abort during failure in btrfs_rm_dev_item
   08bb42086b3e drm/vc4: Account for interrupts in flight
   bdf19237e16f VFS: Handle lazytime in do_mount()
   d7fec01990e6 scsi: aacraid: Fix hang in kdump
   791274e77395 scsi: aacraid: Fix udev inquiry race condition
   516868c59d82 ima/policy: fix parsing of fsuuid
   80baea0e6cf3 igb: Free IRQs when device is hotplugged
   e6a5fe318036 mtd: nand: denali_pci: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
   bf8c4b3dd7bf gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE
   925e26b922c5 gpio: iop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
   aecad437fd70 power: reset: zx-reboot: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
   c76133afb903 HID: wacom: Fix reporting of touch toggle (WACOM_HID_WD_MUTE_DEVICE) events
   e3f7e6f2e033 HID: wacom: EKR: ensure devres groups at higher indexes are released
   f41c8a003196 crypto: af_alg - whitelist mask and type
   b9788e278cec crypto: sha3-generic - fixes for alignment and big endian operation
   199d97815d32 crypto: inside-secure - avoid unmapping DMA memory that was not mapped
   bb9eec7b301e crypto: inside-secure - fix hash when length is a multiple of a block
   5ca02df01602 crypto: aesni - Fix out-of-bounds access of the AAD buffer in generic-gcm-aesni
   f898a39985a3 crypto: aesni - Fix out-of-bounds access of the data buffer in generic-gcm-aesni
   265502fe9ab6 crypto: aesni - add wrapper for generic gcm(aes)
   e704e550cb7b crypto: aesni - Use GCM IV size constant
   cffaf2b6b179 crypto: gcm - add GCM IV size constant
   e50f1d7c0d07 crypto: aesni - fix typo in generic_gcmaes_decrypt
   6b3dcff7ca7e crypto: aesni - handle zero length dst buffer
   299218276576 crypto: ecdh - fix typo in KPP dependency of CRYPTO_ECDH
   a5ba0b372da3 ALSA: hda - Reduce the suspend time consumption for ALC256
   c5845e025423 gpio: Fix kernel stack leak to userspace
   460c5b9745b8 gpio: stmpe: i2c transfer are forbiden in atomic context
   636124c8699b tools/gpio: Fix build error with musl libc
   00251aedef31 KVM: x86: Fix CPUID function for word 6 (80000001_ECX)
   d5e06a186721 loop: fix concurrent lo_open/lo_release
   d383a4277b75 futex: Fix OWNER_DEAD fixup

(From OE-Core rev: 045e5f71a3237609f2276e8c620de60b53a34475)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-19 23:48:33 +00:00
Bruce Ashfield
437a508122 linux-yocto/4.15: add build dependencies
Some required build dependencies were missed when the -rt variant
for linux-yocto was created. We add them here to match the 4.15
recipe. Eventually, these can be placed in a common location and
included automatically.

(From OE-Core rev: 5aa88f8eecb083d22b4c6ac1f2114054705f98e8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-19 23:48:32 +00:00
Anders Roxell
02641ef12d ltp: fix knob to control numa support
Reported-by: Yi Zhao <yi.zhao@windriver.com>
(From OE-Core rev: cf355518a479b75f3cbf57770ba0f699f85678d8)

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:41 +00:00
Denys Dmytriyenko
e4eae4ce34 wayland-protocols: upgrade to 1.13
(From OE-Core rev: 9603f352a7d0c1e262d3bac0d6c137cf370dee15)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:41 +00:00
Maxin B. John
f4ed0b2a67 libinput: fix upstream version check
Skip RC releases for libinput which follow the pattern: x.x.9xx

(From OE-Core rev: b9ee35c9572afe610e0debba52dbd2de984d12fe)

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>
2018-02-16 18:05:41 +00:00
Maxin B. John
22b5ced5c3 fontconfig: fix upstream version check
In the case of fontconfig, version x.x.9x are release candidates
for next version.

(From OE-Core rev: 6e14211b9dba6703aedf0a79100070430a47549c)

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>
2018-02-16 18:05:41 +00:00
Maxin B. John
edab86235d harfbuzz: upgrade to version 1.7.5
1.7.4 -> 1.7.5

(From OE-Core rev: 677dbfab85162b54eb0eada1e54ffe064288e1b9)

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>
2018-02-16 18:05:40 +00:00
Maxin B. John
d9b07b640b libevdev: upgrade to version 1.5.8
Bug fix release. Supports new keycodes in linux 4.15 headers

(From OE-Core rev: a0edf6df471bf1993c93b8fbb9a6dfd36264f839)

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>
2018-02-16 18:05:40 +00:00
Alexander Kanavin
10f37113c9 maintainers.inc: add missing entries
(From OE-Core rev: fe4fb8b282279e5ecbaf5b5d0b3b9e46c24973c9)

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>
2018-02-16 18:05:40 +00:00
Chang Rebecca Swee Fun
81bfe329bc maintainers.inc: change ownership
Taking ownership on recipes related to boot and base setup.

(From OE-Core rev: 2f3bcc07379093a524c35f3f3f5caacc8a9c733f)

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Huang Qiyu
a0dd49c956 strace: 4.19 -> 4.20
Upgrade strace from 4.19 to 4.20.

(From OE-Core rev: 2fcad6cbc8a3b50812b3f970f541e8ffe03819b9)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Ross Burton
83402fb9cb json-glib: fix native build
Meson can't be told to disable gettext support like autotools can, so for now we
need to force NLS on for the json-glib-native build.

https://github.com/mesonbuild/meson/issues/821 is the upstream Meson bug.

(From OE-Core rev: 1d66481027bcb48deb4e7a89d889ee1b1d16cb40)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Richard Purdie
049027e16d nasm: Upgrade 2.13.02 -> 2.13.03
(From OE-Core rev: a1e732fac218e6620fe5b515b5b3f3b139bea76d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Richard Purdie
406ea737f1 lttng-tools: Upgrade 2.9.5 -> 2.10.2
The kmod option was changed in configure so PACAGECONFIG is tweaked
accordingly.

(From OE-Core rev: de1bc2b80cf1a75822d0dde521073a890d2f1d22)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Randy MacLeod
81b5154aaf package.bbclass: fix typos
All typos were in comments but some of these comments end up in run/log files.
The typos can be annoying when searching the log files so they're worth
fixing with ispell.

(From OE-Core rev: defffa3ba772d1643649591f6de96a4263570200)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Maxin B. John
bcf9c49f15 swig.inc: inherit pkgconfig
swig uses pkg-config for pcre detection

(From OE-Core rev: 960169f70448c5f7194d85be8212c4f659068ad2)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Maxin B. John
20b7f2c535 python3-pygobject: remove unused patches
Remove the following patches that are no-longer used in python3-pygobject:
 1. 0001-configure.ac-Don-t-use-gnome-common-macros.patch
 2. 0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch

(From OE-Core rev: ff229db47c520d77ca50a10c802ef9343b58efb9)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Joshua Watt
96a87ced10 externalsrc.bbclass: Suppress git errors
Suppress any warnings git might generate when searching for a valid git
directory, as there are use cases where the directory is expected to not
exist and the warning is superfluous

(From OE-Core rev: 66011996e1a8b738b31466fccad9973f8b48f71d)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Anders Roxell
17dd9c4a1b ltp: fix fanotify06 test
(From OE-Core rev: 514ffed6a2d42f0a1c40c906e7502cfd7e590a0f)

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Justin Bronder
4f61b2ad2a rxvt-unicode: add missing pkgconfig
The configure script uses pkg-config in RXVT_CHECK_MODULES and falls
back to disabling features that were enabled in EXTRA_OECONF if
pkg-config isn't found.

(From OE-Core rev: 50368960cde75803e3873ad1b37ecb00e92ad4ae)

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Sean Nyekjaer
c4ca3c4a5c site/common-linux: coreutils: get the uptime program to work
coreutils configure script needs to know whether /proc/uptime is
available, but this is not possible in a cross-compilation
context. This leads to an uptime program that fails to work on the
target, as it has been compiled without /proc/uptime reading support.

This commit fixes that by telling coreutils at configure time that
/proc/uptime will be available on the target (which seems to be a
reasonable assumption on Linux systems).

This commit is made with great inspiration from Thomas Petazzoni's
patch to buildroot to fix the same issue.

(From OE-Core rev: 199b661c0699eb31df5bc73f2e3dce6a2db4585d)

Signed-off-by: Sean Nyekjaer <sean.nyekjaer@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Joshua Watt
feded5fe27 utils.py: add parallel make helpers
The code to extract the integer number of parallel build threads and
construct a new argument from them has started to be copied in multiple
locations, so create two new helper utilities to aid recipes.

The first helper (parallel_make()) extracts the integer number of
parallel build threads from PARALLEL_MAKE. The second
(parallel_make_argument()) does the same and then puts the result back
into a format string, optionally clamping it to some maximum value.

Additionally, rework the oe-core recipes that were manually doing this
to use the new helper utilities.

(From OE-Core rev: ccd1142d22b31ed85d8823b1bc9e11ccfd72b61f)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Ross Burton
c723f7c92a gstreamer: set CVE_PRODUCT
The CVE database stores all GStreamer issues under the catch-all product
'gstreamer', which none of our recipes match.  Set CVE_PRODUCT to 'gstreamer' in
the core library: this isn't ideal but is far better than not scanning for any.

(From OE-Core rev: 7c15c595f4f51fa33e9d5ed1ef03bad9cd167eb4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Ross Burton
4ae1f081a5 classes: don't scan for CVEs in images or packagegroups
There's no point even looking in the database for these, so unset CVE_PRODUCT.

(From OE-Core rev: f47da3e91541d75e1213dd9cf1f89ed16f21141a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Ross Burton
df1ead11d2 db: set correct product and version for CVE matches
We may ship db 5.3.28, but the CVE database knows this as oracle_berkeley_db
11.2.5.3.28.

(From OE-Core rev: f348cd641416d2750dfec8e19bd01e7ae9f809aa)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Ross Burton
325096cd2a cve-check: short-circuit checking if CVE_PRODUCT isn't set
For some recipes is is meaningless to do a CVE check, for example packagegroups
or images.  Check that CVE_PRODUCT is set and short-circuit the scan if it
isn't.

(From OE-Core rev: d1e7cb5c9e0d5d253b6bb5c968fa58944ea42d06)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Ross Burton
4873716c0c cve-check: allow recipes to override their version
For reasons which I don't understand, the Berkeley DB tarball is version 5.3.28
but in CVE reports the version is 11.2.5.3.28.

To handle this allow recipes to override their version as well as their name.

(From OE-Core rev: 36fbf96cf284acbc810ff3bf00702f1f82bc0da9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Ross Burton
ccd664d8d0 cve-check: put log in T so it doesn't get deleted by rm_work
This is where the other task logs go, so it's a sensible place to put it.

(From OE-Core rev: 4bbb8cd5f3943231ab5be0448d1b0d4a08341249)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Ross Burton
dc62837cac distrodata: remove redudant *all tasks now that --runall works correctly
(From OE-Core rev: 120dc59ad4a9ca232176c8a09bb3e43a9d1e24ac)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Ross Burton
4239d9d2db archiver: remove deploy_all_archives task as --runall replaces it
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:40 +00:00
Chen Qi
b9bf37ec67 coreutils: fix hostname conflict with other packages
The hostname utility is also provided by busybox and net-tools. So
use alternatives mechanism to manage it in coreutils. Make its priority
higher than busybox. As hostname is not built by default for coreutils,
we make its priority lower than net-tools.

(From OE-Core rev: fbdc676878cf2a29654e071a7c5afd5114cc9e0b)

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>
2018-02-16 18:05:40 +00:00
Ricardo Salveti
51c6e1d1cb initramfs-framework: rootfs: add support for LABEL
The rootfs can also be found via the partition label.

(From OE-Core rev: 037255f3c448bfc05f3e7373e1ddeee4bbea2164)

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>
2018-02-16 18:05:40 +00:00
Khem Raj
848aa6541f libepoxy: Define MESA_EGL_NO_X11_HEADERS when GLX is disabled
This helps when libepoxy is compiled with egl but glx is disabled
it also depends on GL implementation provided eglplatform.h to be
using MESA_EGL_NO_X11_HEADERS to exclude X11 headers, e.g. mesa,
mali-userland implementations use this define to exclude x11
headers

(From OE-Core rev: 2655f7d26847424ac207e6e468a78a4ad293c4e9)

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>
2018-02-16 18:05:39 +00:00
Chang Rebecca Swee Fun
0001a4259e bmap-tools: change SRC_URI to use tarball instead
Tarball sources can be checksummed and are faster to download.
Added UPSTREAM_CHECK_URI to improve recipe maintenance and to
verify upstream version check is still work.

(From OE-Core rev: c18e042a43c56b4000a56ad20ee088ce4fd915f5)

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:39 +00:00
Chang Rebecca Swee Fun
e895029e76 maintainers.inc: change ownership for bmap-tools and wic-tools
(From OE-Core rev: 27951642f6138c99288f9038493af454dc9d68b3)

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:39 +00:00
Alexander Kanavin
6f54921fb9 python-numpy: fix upstream version check
(From OE-Core rev: ba11ca4513c0977c56525ee7db01e16e7ead446c)

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>
2018-02-16 18:05:39 +00:00
Alexander Kanavin
908f072b74 go: fix upstream version check
(From OE-Core rev: 9a91e5ce7d41ce11571853158ae4358c0da7b51e)

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>
2018-02-16 18:05:39 +00:00
Khem Raj
e6ae22abf1 puzzles: Fix warnings seen with clang 6.0
(From OE-Core rev: dc5b66d664495a284e77531c06ab981842d45c2e)

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>
2018-02-16 18:05:39 +00:00
Ross Burton
95a59ddf94 packagegroup-base: don't force libacpi to be installed in packagegroup-base-acpi
(From OE-Core rev: 17adb6ace728a6a2dde5e7fe990526a598bd2a9e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:39 +00:00
Ross Burton
8028cb56f9 packagegroup-core-full-cmdline: remove libraries from the system-services group
(From OE-Core rev: 15e0e93b20194c627a0135601d06b63aaf8f7c56)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:39 +00:00
Ross Burton
78311acbd3 qemu: fix CVE-2017-15124
VNC server implementation in Quick Emulator (QEMU) 2.11.0 and older was found to
be vulnerable to an unbounded memory allocation issue, as it did not throttle
the framebuffer updates sent to its client. If the client did not consume these
updates, VNC server allocates growing memory to hold onto this data. A malicious
remote VNC client could use this flaw to cause DoS to the server host.

Backport a series of patches from upstream to resolve this.

(From OE-Core rev: a93d8ed1bc97595492abfca92d606e20dbdfa617)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:39 +00:00
Ross Burton
2ae11f4a33 pakagegroups: don't pull in sysfsutils
sysfsutils is unmaintained and generally not needed.

(From OE-Core rev: 4b0a6ac87a9d1ef0ce8e84b56208d847718f12fd)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:39 +00:00
Alexander Kanavin
7c4146f03c iputils: add missing Upstream-Status to patch
(From OE-Core rev: d241a3ed24bee48bfc8e64d77fd0d47ed713e2f4)

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>
2018-02-16 18:05:39 +00:00
Alexander Kanavin
eff20ce478 p11-kit: take source code from official git
The previous tarball URI seems to be gone.

Also, adjust a few things to make it actually build;
handling autotools-based projects from git checkouts is always harder
than taking them from tarballs :-(

(From OE-Core rev: b4542e867d54c56e6ef088fac28ae3d5e6c0d7bc)

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>
2018-02-16 18:05:39 +00:00
Alexander Kanavin
eb3b60d505 epiphany: update to 3.26.5.1
Upstream has replaced autotools with meson, so the recipe has been adjusted accordingly.

0001-bookmarks-Check-for-return-value-of-fread.patch deleted as the file was completely refactored

0001-yelp.m4-drop-the-check-for-itstool.patch replaced with a patch for meson equivalent

(From OE-Core rev: 5d6b91bf124831eae46e2531155357bbe18e353a)

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>
2018-02-16 18:05:39 +00:00
He Zhe
c2f72f6cb7 kernel: Fix QA buildpaths warning for kernel modules
CFLAGS is unset during kernel_do_compile and thus the default build
path substitutions in DEBUG_PREFIX_MAP are missing.

To enhance reproducible build for kernel modules, such as lttng-modules
and cryptodev-module, this patch appends them, plus substitution of
STAGING_KERNEL_DIR, to KERNEL_CC.

(From OE-Core rev: ef7dac8511fc1647bc481c0e2ffa19e08e06f007)

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>
2018-02-16 18:05:39 +00:00
Anuj Mittal
bf87d60cb5 libva-utils: upgrade to 2.0.0
Major changes:

* Add option '--device <device>' to vainfo
* Add vp9enc for VP9 encoding
* Add vavpp for video processing
* Add FEI gtest cases
* Fix segmentation fault in putsurface_wayland
* Fix GCC 7.1.1 warnings/errors
* Fix libva version printed out by vainfo

Updated recipe to point to release tarball instead of git. Also, updated
github URLs to point to renamed Intel repository.

(From OE-Core rev: f355e40c84de55a7f71165873dbe7ef1ea870b83)

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>
2018-02-16 18:05:39 +00:00
Anuj Mittal
618fa564d1 libva: upgrade to 2.0.0
libva 2.0 bumps the VA-API version to 1.0.0 and deletes egl and
tpi backends. The header files va_egl.h and va_tpi.h are still
packaged in -dev to ensure packages that still use them don't fail.

Major changes:

* Bump VA-API version to 1.0.0
* Add new API for H264 FEI support
* Add definition of VA_FOURCC_I420
* Add functions for converting common enums to strings
* Deprecate H.264 baseline profile and FMO support
* Deprecate packed misc packed header flag
* Delete libva-tpi and libva-egl backends
* Refine VASliceParameterBufferHEVC, VAEncMiscParameterBuffer
* Fix errors in VAConfigAttribValEncROI, VAEncMacroblockParameterBufferH264
* Fix race condition in wayland support
* Rename vaMessageCallback to VAMessageCallback
* Make logging callbacks library-safe

Updated recipe to point to release tarball instead of git. Also, updated the
github URLs to point to renamed Intel repository.

(From OE-Core rev: 6c4c321bdd6b34def6b77e1d6a0bed03779254cd)

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>
2018-02-16 18:05:39 +00:00
Martin Hundebøll
d0bad10a13 usbutils: Split out lsusb.py
The pretty-printing "lsusb.py" script shipped by usbutils is currently
useless, as it doesn't runtime depend on python, and has unversioned
python in the shebang.

Avoid adding a python dependency to current configurations with usbutils
buy splitting lsusb.py into a usbutils-python package, and make it
runtime depend on python3-core.

Make the script usable by replacing the shebang with a direct call to
${bindir}/python3.

(From OE-Core rev: 42af9fedd31ecf5c6210d2f85f20540f85da59f4)

Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:39 +00:00
Anuj Mittal
74891289d8 maintainers.inc: update ownership
I propose to take over gstreamer stack and x264. Remove libav entry since
the recipe was removed from oe-core. Change ownership of libva* since Wei Tee
is no longer working on oe-core.

(From OE-Core rev: 5e4dc51944a4d6cea520ed7bd5dd02b50f1228dc)

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>
2018-02-16 18:05:39 +00:00
Robert Yang
e4878cc197 ccache: 3.3.4 -> 3.3.5
The LIC_FILES_CHKSUM is changed because of year updated, the contents are the
same.

(From OE-Core rev: fd8d58e6f5ae9111d87f44ca379478851f49156e)

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>
2018-02-16 18:05:39 +00:00
Hongxu Jia
b678d594ba kbd-ptest: improve reproducibility
Remove remaining build host references of ptest's Makefile.

(From OE-Core rev: 9de3c2568d63fffb12604c201c5f0fa64e14a2cc)

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>
2018-02-16 18:05:39 +00:00
Hongxu Jia
fc73574d8d python-core/python-dev: improve reproducibility
- Remove remaining build host references from packaged files.
  (sync with python3)

- Use relative path to recompile _sysconfigdata.py

(From OE-Core rev: 40a899544c9c7255aff92fea52fae4b32485fd75)

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>
2018-02-16 18:05:39 +00:00
Tomasz Meresiński
c427ed474c python3: Fix python3-logging dependencies
python3-logging depends on python3-netserver (logging/config.py:42)

(From OE-Core rev: ea5f51cf2b885ba32a3e5fe6049141e45606ecf3)

Signed-off-by: Tomasz Meresiński<tomasz.meresinski@comarch.pl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:39 +00:00
Hongxu Jia
bed1fb22ec python3-core: improve reproducibility
Since modify _sysconfigdata.py to improve reproducibility,
its pyo files should be recompiled.

Remove remaining build host references of python3.5m-config

(From OE-Core rev: 49403dde0b69ee624c2dce7c60cf3a3962e83c54)

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>
2018-02-16 18:05:39 +00:00
Jan Siegmund
0f613f82c4 apt-native: Add libapt-pkg headers
Native tools were not able to use the headers of apt-pkg. This patch
adds the feature.
The headers were added from apt-pkg and apt-inst to the native recipe.
The shipped headers match the ones in the Ubuntu package libapt-pkg-dev.

(From OE-Core rev: bf79355d2834a387f94978fe9650bee43244a40e)

Signed-off-by: Jan Siegmund <jsiegmund@arri.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:39 +00:00
Ricardo Salveti
89cc1315b3 libacpi: update libacpi_fix_for_x32.patch to use libdir
Prefix plus base_libdir generates an invalid path when building with
usrmerge, so change libacpi_fix_for_x32.patch to use libdir instead as
it provides the right path in both cases.

(From OE-Core rev: c46d50c82d8ad27aaa75b974fa80838ff3a81386)

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>
2018-02-16 18:05:39 +00:00
Ross Burton
45f2a2f155 oe-pkgdata-util: add --long option to list-pkg-files to show sizes
(From OE-Core rev: 1f3a5acb825a9f707c1ab780131e009f9ce21451)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:38 +00:00
Ross Burton
4cf6cf65a4 pigz: use maintainer-built tarballs
(From OE-Core rev: dcce8c82fa971010f4706350534a966896534ec2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:38 +00:00
Ross Burton
a54c59f2a2 pigz: pigz is not gzip
Whilst pigz is effectively a parallel gzip, the command line arguments are not
the same so pigz isn't a drop-in replacement for gzip.

[ YOCTO #12139 ]
[ YOCTO #12410 ]

(From OE-Core rev: 1624b7bfea7ac31c344a6cfcc7865a038e943814)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:38 +00:00
Ross Burton
97df5555ba expat: remove old workaround for expat tarball
Back in 2010 the expat 2.0.1 tarball wouldn't unpack correctly with old gzip
releases (prior to 1.4).  The fix was to explicitly depend on gzip-native to use
our binary instead of the host[1].

We don't ship expat 2.0.1 anymore, and even Centos 7 ships gzip 1.5, so this
workaround can be removed.

[1] oe-core 0ff62b0462

(From OE-Core rev: adc3da99a50c3eb1a1625990e563b7d37f29e3ba)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:38 +00:00
Ross Burton
a046b8555c expat: merge bb and inc
(From OE-Core rev: 0bc7c11060d82d5658c79e5ff048c5ef141d0b43)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:38 +00:00
Joshua Watt
84bcd1fd58 elfutils: Use fallthrough attribute
Patches elfutils to use the fallthrough attribute instead of comments to
satisfy the -Wimplicit-fallthrough warning. Using comments is
insufficient when compiling remotely with Icecream because the file gets
pre-processed locally, removing the comments

(From OE-Core rev: cd44cee91b5b17ddf617950d84513d481ab34f58)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:38 +00:00
Joshua Watt
a1304721b5 icecc-toolchain: Disable caret workaround
Icecream has a behavior that causes it to recompile files locally if gcc
generates any warnings or errors. The reason for this is that GCC tries
to re-read the input file in order to display the offending line with a
caret below it, which doesn't work in the remote chroot.

Default to disabling this this workaround and add
-fno-diagnostics-show-caret to the GCC flags so that errors and warnings
generated by GCC do not show erroneous results. Users can override this
default in the SDK by defining ICECC_CARET_WORKAROUND="1" either before
or after sourcing the SDK environment.

(From OE-Core rev: 8933c2b5cfa59f2289c574e196f945556790c7c1)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:38 +00:00
Joshua Watt
02c4f3a484 icecc.bbclass: Disable caret workaround by default
Icecream has a behavior that causes it to recompile files locally if gcc
generates any warnings or errors. The reason for this is that GCC tries
to re-read the input file in order to display the offending line with a
caret below it, which doesn't work in the remote chroot.

Default to disabling this this workaround and add
-fno-diagnostics-show-caret to the GCC flags so that errors and warnings
generated by GCC do not show erroneous results.

(From OE-Core rev: a1488291c5733a113c28475352eded61bf52bfe8)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:38 +00:00
Joshua Watt
502ee8e863 icecc.bbclass: Add Icecream support to SDK
If icecc is inherited, generated SDKs will automatically have optional
support for compiling using the Icecream distributed compiler

(From OE-Core rev: dea45ac88251b22b0b74dc4b3ba6ca13fe0b86d6)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:38 +00:00
Joshua Watt
c129cbe1b8 icecc-toolchain: Add SDK icecream setup
Icecream can now be optionally included in the generated SDK by
including nativesdk-icecc-toolchain to TOOLCHAIN_HOST_TASK. When the SDK
is installed a post-relocation script will check if icecc exists and if
so will generate the toolchain environment.

(From OE-Core rev: 7e524096879e821256812633ce37cda4b85b3073)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:38 +00:00
Joshua Watt
cf85c5a490 toolchain-shar-extract: Add post-relocate scripts
Recipes can now install post-relocation scripts which will be run when
the SDK is installed.

(From OE-Core rev: 93ec145f421a45077b40ae99ee6a96bc11f91f18)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-16 18:05:38 +00:00
Joshua Watt
f51f28b7b9 icecc-create-env: Allow multiple tool aliases
When files are added to the environment, multiple aliases can be given
for the file (by calling add_path multiple times with a second
argument). All of these names will end up with a symlink to the original
file.

(From OE-Core rev: 0a5bbad5810b69fa09dbd8d886e4f368310a5db9)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-15 13:28:54 +00:00
Joshua Watt
15f78b0ff3 icecc-create-env: Add support for nativesdk
icecc-create-env can now be built as a nativesdk recipe, allowing the
script to be included as part of an SDK

(From OE-Core rev: fa7929ed70ed39a202bd2dc935d460dd57e38ffd)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-15 13:28:54 +00:00
Joshua Watt
971a3c0e2a icecc-create-env: Fix executable rpaths
Executables in the toolchain archive occasionally contain runtime
library search paths (RPATH) that use the $ORIGIN placeholder. However,
in order for that placeholder to work, /proc must be mounted. When
iceccd executes the toolchain in the chroot environment, it doesn't
mount /proc, so it is unable to resolve $ORIGIN resulting in a failure
to find dynamic libraries.

The fix is to replace $ORIGIN in executable RPATH entries with the known
chroot executable path. In order for this to work, the actual real path
to the executable must be resolved to remove any symlinks, otherwise the
calculate $ORIGIN replacement will be wrong. This is done by using
"readlink -f", which is an acceptable dependency because Yocto already
requires it.

(From OE-Core rev: cfe98765b40c28a132b5a4bce39f71f06b4eb0bc)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-15 13:28:54 +00:00
Joshua Watt
8a229332a0 icecc-create-env: Archive directory
Taring up the toolchain is now done by adding the entire working
directory, instead of listing all the files individually. This is done
because the list of files may contain ".." entries, which tar does not
like and strips out, resulting in bad archives. This should result in an
identical archive to what was previously generated.

In addition, symbolic links are no longer dereferenced when creating the
archive, as they are purposely included to provide alternate names for
files

(From OE-Core rev: 122d6a5bdcbc494bba0fa2b213d730500f6f7dbc)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-15 13:28:54 +00:00
Joshua Watt
832934efd6 icecc-create-env: Symlink alternate names
Instead of renaming files to a new path in the toolchain archive, keep
the files with their original paths and create a relative symbolic link
from the new path to the original file.

(From OE-Core rev: 256f8f6cc5b520b59cfdc44aa076f71990e18e2c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-15 13:28:54 +00:00
Joshua Watt
3e10060c99 icecc-create-env: Use program interpreter for deps
ldd cannot always be used to determine a program's dependencies
correctly, particularly when the program specifies an alternate program
interpreter (dynamic loader). This commonly happens when using a
uninative tarball. Instead, determine the program's requested
interpreter, and ask it to list the dependencies.

(From OE-Core rev: 96d5831ef0e535d3f91acd3e979316355fbde04e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-15 13:28:54 +00:00
Joshua Watt
60ff32e38d icecc-create-env: Add /bin/true to environment
icecream daemons execute /bin/true from the environment as a check to
determine if the environment is valid at all, so it needs to be
included.

(From OE-Core rev: c86aa6edab842c579177fe5c1f8647290b58fe61)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-15 13:28:54 +00:00
Joshua Watt
4a659dd584 icecc-create-env: Reformat
The environment script used an annoying mix of tabs and spaces and no
mapping of tabs to spaces would produce pleasant indentation. Reformat
to eliminate tab characters and settle on 4 spaces for indentation
(which matches the upstream icecream script from which this is derived)

(From OE-Core rev: 884c2436a6dbcb6bff99409a80276b9ef5690875)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-15 13:28:54 +00:00
Joshua Watt
f1dfc8bbe1 icecc.bbclass: Skip canadian-cross compiles
icecc.bbclass will no longer attempt to distribute cross-canadian
compiles. While it is technically possible to generate a toolchain that runs
on the build system and generates executables for the host system, this
is not the normal way that icecc operates. There are so few of these
recipes that it is probably not worth maintaining a distinct code path
for them.

(From OE-Core rev: b8a39cf5884d4ab85e82c4437b81b5fbba06137e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-15 13:28:54 +00:00
Joshua Watt
b20373e72d icecc.bbclass: Fix STAGING_BINDIR_TOOLCHAIN usage
STAGING_BINDIR_TOOLCHAIN is actually a path list, not a single path. Fix
icecc.bbclass to try all the paths in the variable instead of treating
it as a single path.

(From OE-Core rev: 8db0d3c14c166265b740030c208e0e19a0b2a1c6)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-15 13:28:54 +00:00
Joshua Watt
6d0d577767 icecc.bbclass: Move to shared work directory
Generate the icecc toolchains in a shared work directory. This class was
already setup to correctly synchronize creating the toolchains in a
shared location before the RSS changes, so return to that behavior
instead of generated the toolchains in each recipe's sysroot.
Additionally, it makes no sense for each recipe to generate a toolchain,
only to find it was already generated and uploaded to the compile server
by another recipe.

(From OE-Core rev: 20a53ac7818f268d4a4c86c8f35ca982baf96acf)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-15 13:28:54 +00:00
Bruce Ashfield
0535570911 yocto-bsp: delete bbappends for removed kernels
4.4/4.9/4.10 are gone from oe-core master, so we can drop our
bbappends.

4.12 will be removed in the future and 4.14/4.15 added, but all
default versions should be 4.12+ now.

(From meta-yocto rev: fd333864ce66ca32828b3d290ea8aae4f489de9b)

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>
2018-02-15 11:23:11 +00:00
Bruce Ashfield
ab4a7a214c poky-tiny: bump to v4.14
Updating poky-tiny to the latest LTS kernel as the default version.

(From meta-yocto rev: 2623111ae35218e596eac44509b1d12291840d44)

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>
2018-02-15 11:23:11 +00:00
Bruce Ashfield
25917e58f4 poky: update default kernel to v4.15
Updating the default kernel for qemu* to be v4.15. This allows easy
integration of the latest fixes/features for new BSPs. 4.14 is also
available as a LTS kernel option.

(From meta-yocto rev: cdd79c0f879e5e4c480773c4507f921533e17914)

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>
2018-02-15 11:23:11 +00:00
Bruce Ashfield
d40532ca61 poky-lsb: update default kernel to v4.14
4.14 is a LTS/LTSI kernel and we are dropping anything older than
4.12 in master. As such, we make 4.14 the default for poky-lsb.

(From meta-yocto rev: ba6d172fd405dcc28c13f73aec1d1034a10bfc1d)

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>
2018-02-15 11:23:11 +00:00
Kevin Hao
15816a519a meta-yocto-bsp: bump to the latest linux stable kernel for the non-x86 BSPs
Bump to the latest stable kernel for 4.4, 4.9 and 4.12.

(From meta-yocto rev: 4e71a79346351f8026a65cfbd68ed0bc8f5eed5c)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-15 11:23:11 +00:00
Richard Purdie
57a357afc2 ltp: Improve package stripping
Just exclude the specific tests which have an issue with being stripped
rather than the whole package. This reduces the disk footprint by around
400MB.

(From OE-Core rev: 460ccb6e2c5e858614cb61f21923062b55ff325e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-15 11:23:11 +00:00
Richard Purdie
9726b66a1b package: Add INHIBIT_PACKAGE_STRIP_FILES to allow files to remain unstripped
There are cases where its useful to allow only a select few files
to be excluded from the package stripping mechanism. Currently
this isn't possible so add a variable to allow this.

This is to be used sparingly as in general the core code should be
doing the right thing. This is better than the alternative of leaving the whole
package unstripped.

(From OE-Core rev: 92845c65f8801de7dfa34c87b22ca2e66f18557a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-15 11:23:11 +00:00
Chang Rebecca Swee Fun
54dd687620 eudev: bump up to version 3.2.5
This upgraded version of eudev includes:
- Headers to build under glibc-2.25 and above
- Bug fix on ata_id
- Misc: rules and hardware database update

(From OE-Core rev: 99e9b805d2cffcca5e6fc1750e52026a6e4c78a0)

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-15 11:23:11 +00:00
Yeoh Ee Peng
3f6eb216ef oe-selftest: meta_ide: add tests for meta-ide-support
QA team were testing meta-ide-support manually. Add automated
tests to test that bibtake meta-ide-support will create the
toolchain and environment setup script. Also test that after
using environment setup script, one can compile c program
and build cpio project.

(From OE-Core rev: db40eba68f51d02677526dfa4bc21343d9c27958)

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>
2018-02-15 11:23:11 +00:00
Chang Rebecca Swee Fun
2d9d05f2fd maintainers.inc: update recipe ownership
Remove recipe for sato-icon-theme that was obsolete since YP 2.2
release and change ownership for eudev recipe.

(From OE-Core rev: 06b32fd41d911dad7acf31ec1cdeff29585fac08)

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-15 11:23:11 +00:00
Vineeth Chowdary Karumanchi
be15c2fefd kernel-fitimage.bbclass: Fix 64 bit ENTRYPOINT
64 bit entry point should be passed in 2 literals ( "0x1 0x00008000"
).ENTRYPOINT is assigned with first half only and erroring out as
'command not found' for the second half. Adding quotes while assignment fixes the
issue.

(From OE-Core rev: e886c9c5e1a8ab28388a2e8bbb936ad5eea78615)

Signed-off-by: Vineeth Chowdary Karumanchi <vineethchowz.chowdary@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-15 11:23:11 +00:00
Bruce Ashfield
89c4bd0dfb machines: bump default linux-yocto to v4.15
Ensure that the qemu* machines are building the latest available
kernel in master.

(From OE-Core rev: 3980f21a74ad201d8cb8f5ef6fb732fdfacd641f)

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>
2018-02-15 11:23:11 +00:00
Bruce Ashfield
3916259f9a linux-yocto/4.9: drop recipe
As was previously announced, anything older than 4.14 is being
dropped in the master/release branches to better support newer
processors and to ensure that safe/secure kernels are the
defaults for all builds. The time required to update the older
kernels with constant updates (more than just CVEs) is not
justified in new releases.

(From OE-Core rev: fcac38960af535f3b165f862dd5f4dbca43976a7)

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>
2018-02-15 11:23:10 +00:00
Bruce Ashfield
528835ba23 linux-yocto/4.4: drop recipe
As was previously announced, anything older than 4.14 is being
dropped in the master/release branches to better support newer
processors and to ensure that safe/secure kernels are the
defaults for all builds. The time required to update the older
kernels with constant updates (more than just CVEs) is not
justified in new releases.

(From OE-Core rev: 79d679b2f4a1c540f6c8b8fd3f268aa5c2634d57)

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>
2018-02-15 11:23:10 +00:00
Bruce Ashfield
4faa630476 linux-yocto/4.10: drop recipe
As was previously announced, anything older than 4.14 is being
dropped in the master/release branches to better support newer
processors and to ensure that safe/secure kernels are the
defaults for all builds. The time required to update the older
kernels with constant updates (more than just CVEs) is not
justified in new releases.

(From OE-Core rev: 3a5e61548746e7dcb39d7e6c69467ddb86c25f08)

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>
2018-02-15 11:23:10 +00:00
Bruce Ashfield
1a97243bf8 lttng-modules: update to v2.10.5 for kernel 4.15
(From OE-Core rev: 7f00a5161889a422d83dc113521d9241fdd89abf)

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>
2018-02-15 11:23:10 +00:00
Bruce Ashfield
7899fd683b linux-yocto/4.12: pinctrl backports
Backporting the following pinctrl commits to enable controllers on
Intel Cannon Lake:

  4b7a5c1b4ec5 pinctrl: intel: Add Intel Cannon Lake PCH-H pin controller support
  044631ce1937 pinctrl: intel: Add Intel Cannon Lake PCH pin controller support
  2054b0ea59a7 pinctrl: intel: Make it possible to specify mode per pin in a group
  55b9053b5a5a pinctrl: intel: Add support for variable size pad groups

(From OE-Core rev: 4c05eb243c2cf10304383f6265721b695750cb9b)

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>
2018-02-15 11:23:10 +00:00
Bruce Ashfield
9c3b84d5ee linux-libc-headers: update to v4.15
(From OE-Core rev: ef96628d850f1154c7e59bca418ef3a7c9a2bcc1)

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>
2018-02-15 11:23:10 +00:00
Bruce Ashfield
48c94077ff linux-yocto: introduce 4.15 recipes
This commit makes the 4.15 kernel available for use with the
Yocto configuration fragments and qemu* BSPs.

It has been tested for x86,arm,mips and powerpc against the lsb, core*
and glibc/mulsc test matrix.

This will serve as the "latest" kernel in master, with others being
removed in subsequent commits.

(From OE-Core rev: 2bb69c16b4e43b74c60d4269174dbfcdb6ab54fe)

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>
2018-02-15 11:23:10 +00:00
Bruce Ashfield
d99333b065 linux-yocto: introduce 4.14 recipes
This commit makes the 4.14 kernel available for use with the
Yocto configuration fragments and qemu* BSPs.

It has been tested for x86,arm,mips and powerpc against the
lsb, core* and glibc/mulsc test matrix.

This will serve as the LTS kernel in master, with others being
removed in subsequent commits.

(From OE-Core rev: 04254d4cc9e6399afd027727864e237cb8006d6d)

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>
2018-02-15 11:23:10 +00:00
Hongxu Jia
e23d41fed9 python-xcbgen: improve reproducibility
Use relative path to generate .pyc files could remove build host
references which leads to non-reproducible builds.

(From OE-Core rev: 230890227304e27acd074a3c748812d7a603d511)

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>
2018-02-15 11:23:10 +00:00
Richard Purdie
daf59ef368 utility-tasks: Drop fetchall and checkuriall tasks
The same thing can now be done with "bitbake <target> --runall=fetch"
or "bitbake <target> --runall=checkuri".

Dropping the tasks takes "bitbake core-image-sato -g" from 22s to 8s
since it no longer has to resolve the recursive dependencies (it
doesn't know if any given target will touch them or not until it
computes them). That is a significant enough win that its worth any
impact this may have on the small number of users using the tasks.

(From OE-Core rev: 8bbb43e948af45d0fa5ab31b456147f691fa2ec3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-15 11:23:10 +00:00
Nicolas Cornu
f16d8be9ab bitbake: bitbake-user-manual: Added google-repo fetcher and REPODIR var.
Added a new repo Fetcher section in the same spirit as the existing
sections for other supported fetchers.  Changes included the new section,
removal of the bulleted item that mentioned this fetcher as an
"additional" fetcher, and the creation of a new variable in the glossary
named REPODIR.

(Bitbake rev: 1cf084cee506574b7bb6ed03344597b3b2f2fe08)

Signed-off-by: Nicolas Cornu <nicolac76@yahoo.fr>
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:26:03 +00:00
Robert Yang
931f57080f bitbake: bitbake: toaster: don't use git fetch --all
The '--all'' fetches all remotes, including the ones in $HOME/.gitconfig, which
causes the fetching very slow, so don't use "--all", git fetch should be
enough.

(Bitbake rev: 038a5f4b767df7944e73b2e859ac3af2d3a08bf1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:26:03 +00:00
Nathan Rossi
f2d5967982 bitbake: fetch2: Handle missing donestamp file when content is valid
In order to allow users to manually populate the download directory with
valid content change the assumption that missing the donestamp file
means unfetched content.

This allows users to populate the download dir without needing to create
dummy .done files such that a user does not need a PREMIRROR when using
BB_NO_NETWORK to provide valid content files in the download directory.

To ensure the correct result this change also fails first if the
localpath does not exist. This prevents further parts of the function
attempting to calculating the checksum on non-existent files. This also
fixes some edge conditions around where if the donestamp exists but the
localpath does not it returns, and did not remove the donestamp.

Also added test cases to cover this use case and additional use cases
where for example the fetcher does not support checksums.

(Bitbake rev: a335dbbb65d5b56e71d98cf3e4fa9bfbec1dcde6)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:26:03 +00:00
Böszörményi Zoltán
bb3a634226 bitbake: fetch2/npm.py: Fix inverted condition to prevent infinite loop
At least the cli-color node module has dependencies that have
cyclic dependency among themselves. npm.py is prepared to deal
with such a case but the condition is handled only for downloading
or not a dependency again, but then it goes checking the its
dependency which causes an infinite loop in _getdependencies().
Make this function simply return when a dependency is already
downloaded and only download and check its dependencies when not.

(Bitbake rev: 545540420112992e53f4a83104af10452df168d0)

Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:26:03 +00:00
Robert Yang
3e76b1b50c bitbake: contrib/dump_cache.py: make it can dump everything
Have a simple tool to dump bb_cache.dat is useful for investigating and
studying bitbake cache. The old contrib/dump_cache.py can dump pn, pv and
packages for it, now enhance it dump everything.

Here is the usage:
$ /path/to/dump_cache.py --help
usage: dump_cache.py [-h] [-r RECIPE] [-m MEMBERS] [-s] cachefile

bb_cache.dat's dumper

positional arguments:
  cachefile             specify bb_cache.dat

optional arguments:
  -h, --help            show this help message and exit
  -r RECIPE, --recipe RECIPE
                        specify the recipe, default: all recipes
  -m MEMBERS, --members MEMBERS
                        specify the member, use comma as separator for
                        multiple ones, default: all members
  -s, --skip            skip skipped recipes

Use dump_cache.py --help to get help

(Bitbake rev: 104572438dfedf6025fbfd125aef1d56134012e7)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:26:03 +00:00
Robert Yang
85fa5ee825 bitbake: bitbake: parse: fixes for resolve_file()
The resolve_file() calls mark_dependency(), so the one which calls
resolve_file() doesn't need call mark_dependency() again.

(Bitbake rev: 4682571107323a39b42cd9ec8ee67419e7f15acc)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:26:03 +00:00
Robert Yang
f72a121233 bitbake: bitbake: cache: improve debug message
* Print message when cachefile is found/not can help debug.
* Update "Using cache in" to "Cache dir:" since it was the same as the debug
  message of "codeparser & file checksum caches", which caused confusion. And
  whether the cache file will be used or not is still unknown at that time, so
  just print the cache dir.

(Bitbake rev: c8d3a2016f432e8ed9e99d9c28850149ab6fd6d8)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:26:03 +00:00
Robert Yang
afbc3f4427 bitbake: bitbake: cooker: don't stop file notifier when cooker is shutdown
It should be live/exited with server rather than cooker, fixed:
$ bitbake --server-only -T -1
Set MACHINE = "qemux86" in conf/local.conf
$ bitbake quilt
Set MACHINE = "qemuppc" in conf/local.conf
$ bitbake quilt
[snip]
ERROR: When reparsing /workspace1/lyang1/poky/meta/recipes-connectivity/openssl/openssl_1.0.2m.bb.do_package, the basehash value changed from c216f7f4fdd3cf4a0b10b975a636426c to d5a8e9431ab261381752d7a64c7b2fa9. The metadata is not deterministic and this needs to be fixed.
[snip]

This is because the server doesn't know local.conf is changed since the
notifiers are stopped, so it doesn't reparse, and then we would get the errors,
let the notifiers live/exited with server can fix the problem.

(Bitbake rev: a6a641cb9c5f3abe901b150da915372e295383d7)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:26:03 +00:00
Robert Yang
8abf7d89a5 bitbake: bitbake: cooker: fix for BBFILE_PATTERN matches bbappend
The old code couldn't handle nestled layers correctly, e.g.:
parent_layer/sub_layer/foo.bb

Note there are two layers, parent_layer and sub_layer.
And in parent_layer/conf/layer.conf:
BBFILE_PATTERN_parent_layer = ""^${LAYERDIR}/"

This setting is incorrect since it also matches parent_layer/sub_layer/foo.bb,
so it warns that no files matched sub_layer, this is the expected behavior, but
it doesn't warn when there is a parent_layer/sub_layer/bar.bbappend, this was
incorrect since the bbappend is also matched by BBFILE_PATTERN_parent_layer, it
should warn and let the user fix the problem. Check the bbappend in already
"matched set" before return it as matched by "unmatched set" can fix the problem.

(Bitbake rev: ec90245d28e52ea718d2ce084eb304cdc4355c9c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:26:03 +00:00
Robert Yang
fe70fd1a03 bitbake: bitbake: cooker: skip when BBFILE_PATTERN is empty
There is nothing to do when BBFILE_PATTERN is empty.

(Bitbake rev: b7da31641c24c53d47ea45a7119d1bd353011b39)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:26:03 +00:00
Nathan Rossi
9c44aee83d bitbake: fetch/git: Use 'git-make-shallow' from bin directory
Move the code that existed in tests/fetch.py for determining the path to
'git-make-shallow' into the git module and reference it.

This ensures that 'git-make-shallow' is always available and the desired
version regardless of the path variable or whether git exposes the
command.

(Bitbake rev: 6b508ab8fd5aa796c1c00c970e81e5e93f84d35d)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:26:03 +00:00
Richard Purdie
c75985f40a bitbake: main/runqueue: Rework runall task and add runonly option
The runall commandline option was confusing people. There are in fact two
different behaviours people may want.

a) For a given target (or set of targets) look through the task graph and
run task X only if its present and would have been built.

b) For a given target (or set of targets) look through the task graph and
run task X if any recipe in the taskgraph has such a target even if it wasn't
in the original task graph.

I've decided to interpret the existing "runall" option as b), even if right
now if behaves like a). For a), which is a valid use case, this patch adds
a "runonly" option.

With both behaviours present, I'm hoping we can then kill off the "fetchall",
"checkuriall" and other tasks from OE metadata and replace them with this
option. This would significantly speed up task graph processing.

(Deleting the checkuriall and fetchall tasks takes "bitbake core-image-sato -g"
from 22s to 8s).

(Bitbake rev: 546a662c877b2d3af35e3996950582ed2df41fe4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:26:03 +00:00
Kristi Rifenbark
1a78cdaea6 dev-manual: Fixed variable link to DEFAULTTUNE variable
Fixed [YOCTO #12458]

(From yocto-docs rev: 161d7ec7c81db93120af11b07162b36785614302)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:32 +00:00
Kristi Rifenbark
30a206f8da ref-manual: Added 16.04 as the LTS for Ubuntu
Fixed [YOCTO #12537]

(From yocto-docs rev: 20a80210eeefddff91a6ea669a63c417144a529c)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:32 +00:00
Scott Rifenbark
cfdf4c78eb getting-started, dev-manual: Created Layer Model section
This involved removing the general information about layers from
the dev-manual and incorporating it into the new section of the
getting-started manual.

(From yocto-docs rev: 26438b03751948661f48fb0c023e393101b80e19)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:32 +00:00
Scott Rifenbark
4b3ebf00dc getting-started, mega-manual: New content for intro chapter
Created content for "What is the Yocto Project" section.
Involved a new figure that had to be shared in the mega-manual
figures folder.

(From yocto-docs rev: 72c18abd11587f4d78848afb8a71ff7f4a0e76d0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:32 +00:00
Scott Rifenbark
31f0dda70b getting-started, mega-manual: Added new GS chapter
I have added a chapter to the getting-started manual that will
introduce the YP.  Just the framework exists at this point.
Changes to the mega-manual.xml file were made to include the
new chapter in that manual as well.

(From yocto-docs rev: 8a52156ac02d9a9a97c5f0cd8dce5f70d2be68d0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:32 +00:00
Scott Rifenbark
64b1736114 getting-started: Chapter title change
Updated the manual introduction chapter's title.

(From yocto-docs rev: db067668a6202318bbbcc62cc455c34e099182de)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:32 +00:00
Kristi Rifenbark
da0973642d ref-manual: Removed Ubuntu 14.04 from Supported Linux Distribution
Fixes [YOCTO #12537]

(From yocto-docs rev: 1bfa46614a93320c44ddc31fa8866e82c5349293)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:31 +00:00
Scott Rifenbark
813772451f documentation: Moved the detailed build section to concepts-manual.
The section that provides a closer look into the build system has
moved from the getting-started manaul to the concepts-manual.
I fixed all the links, provided some coded formatting of the
entire section, and made general updates.

The other manuals had links that needed fixed due to the move.

(From yocto-docs rev: b83a5619f56ebd9879fdcadcf474859e68b26d58)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:31 +00:00
Scott Rifenbark
b509d336c7 Makefile: Updated tarball lists for figures
The list of *.png files included in the TARBALL variable setting
changed due to figures moving from the getting-started manual to
the concepts-manual.

(From yocto-docs rev: 1439fa9f22a2b2746aa8e8303205f5ec33c7f67b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:31 +00:00
Scott Rifenbark
c56f781994 getting-started: Removed unused figures
The figures from the deeper look of the build section got moved
to the concepts manual.  Removed these unused figures.

(From yocto-docs rev: 13175a89b6d7bf79a86f4ac45d5f2cd78ba02108)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:31 +00:00
Scott Rifenbark
56729c9087 concepts-manual: Added figures for closer look section
Had to move these figures from the getting-started manual to
the concpets manual.

(From yocto-docs rev: ba221db465a7535197d9e29f5136ef2d3a6e3171)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:31 +00:00
Scott Rifenbark
8d320536dc dev-manual, getting-started: Moved the BB syntax section
This section on BitBake syntax appeared in the Getting Started
manual.  I decided that it should live with the section on
writing a new recipe.

(From yocto-docs rev: 8d83ce3e11405b2f12f27cdd117a19c4af52146a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:31 +00:00
Scott Rifenbark
72be05b9f5 concepts-manual: Updated the introduction text.
(From yocto-docs rev: f8ee4c23b46bb02cf82d26ed6c1849cae0cad51f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:31 +00:00
Scott Rifenbark
01a70aaea9 concepts-manual: General edits
Removed redundant links, changed some wordings.  This was a general
scrub of the prose.

(From yocto-docs rev: 2c0ff0af7df3aa46fc05aaf28039a2ffb380424a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:31 +00:00
Scott Rifenbark
d74420e778 concepts-manual: Updated toolchain fig to use "*_ext"
(From yocto-docs rev: 64f3edd786779a1c1a7da8a5005c653a4ff8ce2a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:31 +00:00
Scott Rifenbark
d9ead424c5 ref-manual: Updated "Build System" term to "Build Host"
(From yocto-docs rev: 2f5b8678e3c4b791a8cdfe5e75da706b97fbc753)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:31 +00:00
Scott Rifenbark
27072387fa concepts-manual: Updated toolchain figure to use "*_ext
(From yocto-docs rev: 88bf1a438f7a7323f1b7275d3d7bf715d4973569)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:31 +00:00
Scott Rifenbark
30335a6269 ref-manual: Updated comprehensive list of manuals etc.
I added the concepts manual, the ref manual, and the mega-
manual to the list.

(From yocto-docs rev: 180387ac9ae74cd5b69c4cf6338b72daef4b9f37)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:31 +00:00
Scott Rifenbark
64c70a7137 concepts-manual: Content adjustments for the manual.
The manual's two files are an introductory chapter and then
a deeper concepts chapter. I scrubbed through the material, which
originated from the getting-started (overview-manual).

(From yocto-docs rev: 2ca572fac3ca71e73aad9bdd516a6ce90b148c53)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:31 +00:00
Scott Rifenbark
d924e446a3 Makefile: Updates so that the new concepts-manual can be made.
(From yocto-docs rev: ede784df8034d3e582248952716af3441315cae9)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:31 +00:00
Scott Rifenbark
6512622882 documentation: Updated links into new concepts-manual
Creation of a new concepts manual and moving of chapters from the
getting-started (overview-manual) caused many links and manual
reference titles to break.  I fixed these throughout the YP
docs.

(From yocto-docs rev: 30f2bc46be4a0faf5302eb8605bcb29f3bee6cf3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:31 +00:00
Scott Rifenbark
5eed9a3fbe concepts-manual: Updates to parent file
Edits to create the main file that builds the concepts-manual.
Includes the chapters that comprise the book.

(From yocto-docs rev: d3a82e7cf50d77fcc4a37f13be98a61d85b1e527)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:31 +00:00
Scott Rifenbark
e5b1c55760 concepts-manual: Updated customization files to point to style guide.
(From yocto-docs rev: d0b35e9fa0240466dc4d5436e3a12ba87114951e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:30 +00:00
Scott Rifenbark
675ba3064f concepts-manual: Updated style sheet to display title PNG file.
(From yocto-docs rev: 90eab7064d1fca0d37fd49db163d792880be5a1b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:30 +00:00
Scott Rifenbark
d1249c2ba8 mega-manual: Added concepts-manual so it can be made
Also updated the mega-manual.sed file with two lines to process
links in the concepts-manual.

(From yocto-docs rev: 622ce2fc82cbf92351aa2000c3d92bbabafc1d24)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:30 +00:00
Scott Rifenbark
1c4908a1fb concepts-manual, mega-manual: Added title fig for concepts-manual.
(From yocto-docs rev: c932704d29bd0a065a28675859d5b6f09d8e87e5)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:30 +00:00
Scott Rifenbark
2da591b5c2 concepts-manual: Removed unwanted figures
When creating the new concepts-manual, I copied the existing
getting-started manual over.  This created a figures folder that
had a lot of figures not needed in the concepts-manual.  They
have been removed.

(From yocto-docs rev: 24bd39c7f3967a1e8fbac7a8ab44360c25a9bec1)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:30 +00:00
Scott Rifenbark
ca354ba536 concepts-manual: Removed redundant chapter
This chapter appears in the getting-started manual.

(From yocto-docs rev: 3f4c2fc211189e59e45bef6b379dc1f6ebfb7391)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:30 +00:00
Scott Rifenbark
0b70161692 concepts-manual: Added new manual tree
Tree added only.

(From yocto-docs rev: bacfd8c9103489c9b5a3459855d0804531ef3a75)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:30 +00:00
Scott Rifenbark
4d623003f3 documentation: Purged overview manual references
When I converted the Yocto Project Overview Manual to the Getting
Started With Yocto Project Manual, I updated the strings for
references from "&YOCTO_DOCS_OVERVIEW_URL" TO
"&YOCTO_DOCS_GS_URL".  Unfortunately, I did it with a global command
that did not take into account the text the might follow the link
by saying "see such-and-such section in the Yocto Project Overview
Manual."  So, I had to hand fix these.

Additionally, since I have moved a deeper concepts chapter that
was in the getting-started manual to a new Yocto Project Concepts
chapter, many of those links changed had to really go to the new
manual instead.  Those were fixed.

(From yocto-docs rev: fca1c56b0764802fb6a687ea81ab0fb95186cf0a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:30 +00:00
Scott Rifenbark
31bd483368 mega-manual.xml: Removed the getting-started-concepts.xml file
Because the deeper concepts chapter that was in the Getting Started
With Yocto Project Manual was moved to a new Yocto Project Concepts
Manual, I had to delete it from the mega-manual.xml file where it
would be included as a chapter in the getting-started manual.

(From yocto-docs rev: a6847cc90cd0e35e275dd4cf080067ecbe5d4361)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:30 +00:00
Scott Rifenbark
1f0a763637 getting-started: Removed "concepts.xml" file
This file was for a deeper concepts chapter.  It will go into the
new Yocto Project Concepts Manual.  Removing it required deleting the
*.xml file and updating getting-started.xml to not include it in the
build.

(From yocto-docs rev: 2df213c1cdba8f48918e8240de47c1758352807d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:30 +00:00
Scott Rifenbark
8a99429c0d poky.ent: Added variable for "concepts-manual"
New variable for links into the new "Yocto Project Concepts Manual".

(From yocto-docs rev: 8a19b2b9d54cce664605993da068eed9537736a3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:30 +00:00
Kristi Rifenbark
12a68f02bc dev-manual, ref-manual: Updated references to Bugzilla wiki page
Fixes [YOCTO #12475]

(From yocto-docs rev: 460660fda7433959cff13897ece4a6c9f7ff8d09)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:30 +00:00
Kristi Rifenbark
a661287da3 ref-manual: Reformatted Note to use bullets
(From yocto-docs rev: 2aa21e54b620c147ea6db9dee206e40800d7d34c)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:30 +00:00
Scott Rifenbark
f9db48724f getting-started: Removed accidental tracked files
I accidentally pushed a commit after building out the new getting-started
manual before applying some key files to the .gitignore file.  So,
the HTML, TGZ, and eclipse/* stuff got tracked in Git.  I don't
want that.  So I had to use the 'git rm' command to untrack those
files.

(From yocto-docs rev: 217f6db7f741cee266885a845b2b0e7faf96e537)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:30 +00:00
Scott Rifenbark
52b871825f getting-started: Changed chapter id
(From yocto-docs rev: 52cc6ae12c5c92f6f8e508571b943443a6d133f1)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:30 +00:00
Scott Rifenbark
ae06e04cd2 documentation: Created new "Getting Started" manual.
Creation involved removing the overview-manual and replacing it
with the getting-started manual.  All links to the string
"&YOCTO_DOCS_OVERVIEW_URL" had to be replaced with
"&YOCTO_DOCS_GS_URL" across the entire YP manual set.  I renamed
files used to create the manual with prefixes suited for the
new manual name, which is "Getting Started With Yocto Project".

The style sheet for the new manual needed updating to display the
new .PNG image for the title page.  The mega-manual file had to
be updated to include the files.  The mega-manual.sed file had
to be updated to include the new manual and not use the overview
manual.

(From yocto-docs rev: 6c7abf9192390121000f577d6c98f259d290d15d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:29 +00:00
Scott Rifenbark
ebc7de0948 ref-manual, dev-manual: Moved "Speeding Build" to dev-manual
Fixes [YOCTO #12370]

The section on "Speeding Up a Build" that was in the ref-manual
needed to be in the dev-manual as it is a "how-to" section.
Moved it.

(From yocto-docs rev: 44d2889a4f3fb5dfabb1ea4df68a1b8bbf9347c8)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:29 +00:00
Scott Rifenbark
30b91e6d89 documentation: Removed "usingpoky" chapter from ref-manual
Fixes [YOCTO #12370]

All of the information from the "usingpoky" chapter in the
ref-manual has been distributed out over the rest of the
YP manual set.  Primarily, this information went into the
dev-manual and the overview-manual.  Because the chapter is
no more, I had to update the mega-manual.xml to not include that
chapter. Also, had to update ref-manual to exclude the chapter
as part of the Make process.

(From yocto-docs rev: b988cab06d42f0ac2220cefe66949c5ab6cbf803)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:29 +00:00
Scott Rifenbark
355103f8cf dev-manual, ref-manual: Moved build history info to dev-manual
Fixes [YOCTO #12370]

The section in the ref-manual on build history has been moved to
the dev-manual.  It is more of a "how-to" piece of information than
a reference.

(From yocto-docs rev: 9634bd8dc51e2972e6a5f3a3d3b4256c8ca8749c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:29 +00:00
Scott Rifenbark
c6f8814461 ref-manual, dev-manual: Moved QEMU info from ref-manual to dev-manual
Fixes [YOCTO #12370]

The QEMU information in the ref-manual "using" chapter has been moved
to the dev-manual's chapter 5, which is a dedicated QEMU chapter.
Some information is reference and that is why I had it separated out
into the reference manual.  However, pressures are mounting to get
that stuff out of the ref-manual and into the dev-manual.  So, it
has been moved.

(From yocto-docs rev: 69098ad83b10fab341ec3d5532e377dcfbbfc05e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:29 +00:00
Scott Rifenbark
0d52f18d39 dev-manual, ref-manual: Consolidated debug info into dev-manual
Fixes [YOCTO #12370]

Moved the debug information from the ref-manual to the dev-manual
where other debug information exists.  We now have a single area
(section) that deals with various debugging techniques and tips.

(From yocto-docs rev: 95394197fc04981bf7571e581ff8a0fd9c76223f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:29 +00:00
Scott Rifenbark
09e9f81c34 dev-manual: Removed "Build Notes" that had gone stale.
(From yocto-docs rev: 38e51c441619bf6b9761faeef8278b51997f93d3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:29 +00:00
Scott Rifenbark
32651058c0 dev-manual, ref-manual: Moved building image to dev-manual
Fixes [YOCTO #12370]

The section in the ref-manual that overviewed the buld process was
redundant and more of a "how-to" topic.  I have moved and merged it
into the dev-manual into a similar area.

(From yocto-docs rev: 44f1351334342629aaa0976f62e64ac4f67166aa)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:29 +00:00
Kristi Rifenbark
a59c06833c ref-manual: Variable Definition Edits for documentation.conf
Fixes [YOCTO #5600]

Grammar scrub of variable definitions in documentation.conf

(From yocto-docs rev: 199fdc55aae4f34d95988ee2e43f3524fe82714a)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:29 +00:00
Kristi Rifenbark
635bec34d0 ref-manual, yocto-project-qs: Removed 6.x CentOS Notes
(From yocto-docs rev: 0a553dabddd4cd11ec37339822072bd7bb674dab)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:28 +00:00
Kristi Rifenbark
0d45cf58ed poky.ent: Replaced python3-pip with python34-pip for CentOS
Fixes [YOCTO #12467]
This is an essential package for CentOS.
The variable affected two lists, one in ref-manual and
one in yocto-project-qs.

(From yocto-docs rev: 73dbdca86716c1d264d14d2472a8acd3a963b26e)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:28 +00:00
Kristi Rifenbark
bb6a218b6f ref-manual: Variable Descriptions for documentation.conf
Fixes [YOCTO #5600]

Grammar scrub on all variable description for documentation.conf

(From yocto-docs rev: 3054b1e4649d232f08f1065bad96b90eed57d517)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:28 +00:00
Scott Rifenbark
b1f5509fc8 dev-manual: Removed errant "-->" string
(From yocto-docs rev: b0102a47278bc6c0f598be889d0bfb78bc5f322d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:28 +00:00
Scott Rifenbark
a0c5167103 ref-manual: Added overview-manual to list of related documentation
(From yocto-docs rev: f0b296e8623078d7d4df45984ebdcdf9f1b65062)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:28 +00:00
Scott Rifenbark
b48c884f47 yocto-project-qs: Removed "writernotes" formatting for Pseudo bullet
(From yocto-docs rev: 4b97a330bdc383b377995ebbd81a8a73bf06483a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:28 +00:00
Scott Rifenbark
e4948134a8 overview-manual: Updated "Fakeroot and Pseudo" section
I added a bit more detail and some better referencing for Pseudo
and Fakeroot.

(From yocto-docs rev: 459ba368cce50cca1c3b9b7f13b1ec59a7d933ad)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:28 +00:00
Scott Rifenbark
9b4575b508 ref-manual: Removed the "technical-details.xml" file
Fixes [YOCTO #12370]

The "technical-details.xml" file was for the old chapter four of the
ref-manual.  All content in that chapter has been moved to the new
concepts chapter of the overview-manual.  I updated the mega-manual.xml
file to not include the old technical-details chapter as part of the
ref-manual.  I also updated the ref-manual.xml file to not include the
technical-details.xml chapter when building the ref-manual.

(From yocto-docs rev: c4a88048dc099dbd2d0926a9194d5502fa2f1cfc)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:28 +00:00
Scott Rifenbark
98a0739e59 overview-manual, ref-manual: Moved "Licenses" to overview-manual
Fixes [YOCTO #12370]

The "Licenses" section in the technical details chapter of the
ref-manual was concepts and needed moved to the new overview-manual.
Some links were broke during the move and they were fixed in the
BSP and dev-manual.

(From yocto-docs rev: 34c013f055736dcde2fe12daea1aaf2beaee97c5)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:28 +00:00
Scott Rifenbark
16e417be63 overview-manual, ref-manual: Moved "Wayland" section to overview manual
Fixes [YOCTO #12370]

The "Wayland" section needed to be moved to the concpets chapter in the
new overview-manual.  I moved it and fixed a few links that needed
adjusting due to the move.

(From yocto-docs rev: b8e84a8cb47194b0d20fe155561d9a346916068b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:28 +00:00
Scott Rifenbark
99980546fa overview-manual, ref-manual: Moved Pseudo and Fakeroot to overview manual
Fixes [YOCTO #12370]

The "Fakeroot and Pseudo" section is concepts and needed moved from the
ref-manual to the new concepts chapter of the overview-manual.  Some
links needed to be fixed as well.

(From yocto-docs rev: df2c09407abd5ca468fcd0bd9e241739907a9d63)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:28 +00:00
Scott Rifenbark
a60d9e2917 overview-manual, ref-manual: Moved auto added runtime deps section
Fixes [YOCTO #12370]

The "Automatically Added Runtime Dependencies" section moved from the
ref-manual to the overview-manual.  This topic is concepts and needs
to live in the new overview-manual's concepts chapter.  Fixed some
links in the ref-manual and one in the dev-manual.

(From yocto-docs rev: fa3e12030ce867cb81feed453d35c3a3643decd2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:28 +00:00
Scott Rifenbark
00f87f8416 overview-manual, ref-manual: Moved "Shared State Cache" to overview manual
Fixes [YOCTO #12370]

The section on shared state cache needed to be in the overview manual
and not in the ref-manual.  I moved it.  Some links were affected,
which I fixed.

(From yocto-docs rev: 1c4e5207bdde19d4b48ef42b1de81390d8a02d64)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:28 +00:00
Scott Rifenbark
937b66e9d1 yocto-project-qs: Defined Poky and added overview manual link
Fixes [YOCTO #12128]

Updated the phonetic rendition of the term "poky".  Historically,
this term is mispronounced.  I am now saying "Pock-ee" as the official
way of pronouncing this term.

I also added a link to the Yocto Project Overview Manual that was
in the Tip box.  The manual did not exist earlier.  Since it does
exist now, I have added the link.

(From yocto-docs rev: 4ec3fe3b8ee4a680f51f53b919732670b3ffe738)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:28 +00:00
Scott Rifenbark
6bf7b263ff ref-manual, overview-manual, Makefile: Moved toolchain concepts
Fixes [YOCTO #12370]

Moved the "Cross-Development Toolchain Generation" section from the
ref-manual to the overview-manual into the concepts chapter.  This
information is conceptual and now needs to live in the concepts
chapter of the new overview-manual.  Moving the section caused a
few links to have to be fixed in the ref-manual.  There was also a
figure in the section.  So, I had to move the figure from the ref-manual
to the overview-manual "figures" folder and update the Makefile for
the TARFILE generation.

(From yocto-docs rev: 1f3ee5ab308cbe6bd7194086026db397b67ca7c4)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:28 +00:00
Scott Rifenbark
707224b57a ref-manual, overview-manual, yocto-project-qs: Moved YP Components
Fixes [YOCTO #12370]

Moved the "Yocto Project Components" section from the ref-manual to
the overview-manual.  This material falls into the "concepts" area
and is being moved from the ref-manual.  One link in the
yocto-project-qs was affected and updated.  Oh... another link in the
ref-manual for a variable also fixed.

(From yocto-docs rev: 75ced485bb223373591eb41d1b343d0c2b315345)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:27 +00:00
Scott Rifenbark
8097a978ce dev-manual, ref-manual: Moved Wic Plug-In section to dev-manual
Fixes [YOCTO #12370]

I had a section on Wick Plug-Ins in the ref-manual in the
"technical details" chapter.  This section has been combined with the
section on using Wic that lives in the dev-manual.  This move creates
a single section on using Wic to create Wic-partitioned images.

The section was moved out of the ref-manual and merged into the
dev-manual Wic section.

(From yocto-docs rev: 8724049141c9a793312dcf5ff5c3425948d1cbd0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:27 +00:00
Scott Rifenbark
e2060287db overview-manual, ref-manual, dev-manual: Moved x32 stuff
Fixes [YOCTO #12370]

The section on the x32 psABI topic was in the "technical details"
section of the reference manual.  This section combined conceptual
and "how to" information for x32 psABI.  I moved the conceptual
information to a new chapter in the overview-manual.  I moved the
"how-to" information to a separate topic in the dev-manual.  This
resulted in the mega-manual being updated to take on a new chapter
for the overview-manual (overview-concepts.xml).  No links were
affected.

(From yocto-docs rev: 84da28a4ad0f3f89bfc865f410a5d06b57439beb)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:27 +00:00
Scott Rifenbark
60cfd0785b ref-manual: Separated terms into separate chapter
Pulling out some introductory information from the old "Introduction"
chapter of the ref-manual has isolated the system requirements and
term definitions sections.  I have decided to create a new chapter
for terms as they are a reference item.  This leaves system requirements
also alone as a new chapter.  So, I dumped the introduction.xml chapter
in favor of the two new chapters.

(From yocto-docs rev: 35c41b3008845c94e10be19b37409b0d1a469ff5)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:27 +00:00
Scott Rifenbark
c06a654c1d overview-manual, ref-manual: Moved introductory material to overview manual
Fixes [YOCTO #12370]

Moved an introductory section for YP that was in the ref-manual
to the beginning of the YP environment chapter of the overview-manual.
Had to move a figure and update the makefile as well as adjust some
links.

(From yocto-docs rev: 8ec45f945a21b1f64e7529b95df6b5fb21e87449)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:27 +00:00
Scott Rifenbark
160b202d62 ref-manual: Fixed targets for sdk-manual links
I had tried using a #-type target for some links designed to go
to the top of the sdk-manual. It was not working out so I removed
the targets. The links now render benign for the mega-manual as
they should and render hot for the individual manual as they should.

(From yocto-docs rev: 05e20792fa6c93618499f06adfa2d4b82f24275a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:27 +00:00
Scott Rifenbark
29ae3d668c mega-manual: Updated sdk-manual figure used
I failed to copy the updated sdk-manual title figure to the
mega-manual/figures directory when the sdk-manual title had changed.
This was causing the title of the sdk-manual in the mega-manual
to render as the old one.

(From yocto-docs rev: cb111620cdce90d8f2f7e14a918a2307e81fe705)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:27 +00:00
Scott Rifenbark
b797db0db4 documentation: Created new YP Overview Manual
Fixes [YOCTO #12370]

Added a new chapter to the newly created Yocto Project Overview
Manual.  This chapter originated from the YP Reference Manual and
was the old chapter 3, which talked a lot about various concepts.
This information is better suited for the new overview manual.

The change involved moving the entire chapter and renaming it.
This move of the content affected many, many external references
and links into the old area.  Consequently, I had to recast all
these links from the different manual.

Changes also included fixing the mega-manual.xml file so that it
would include the new overview manual as part of it.

Many figures had to be relocated as part of the move as well.  This
meant deleting them from the ref-manual/figures folder and putting
them into the overview-manual/figures folder.

(From yocto-docs rev: 87b81358f2bbd02b4a0d966d86c4d7b006d4d78f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:27 +00:00
Scott Rifenbark
64c37b5400 mega-manual.sed: Corrected bad SDK title string
I neglected to change the string for matching purposes in the SDK
line when the SDK manual title changed.  This was causing links to
that manual where there is no specific #<target> to not be resolved
correctly.

I also removed a redundant line for the yocto-project-qs manual.  It
was appearing in two places.

(From yocto-docs rev: dcc0d5a98af93eded676e7b4cb684f60d2cf9d3a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:27 +00:00
Scott Rifenbark
0ef765ed02 overview-manual: Removed files I don't want tracked in Git
When I pushed the commit for the new YP Overview Manual, I
failed to exclude the HTML, TGZ, and eclipse/ files for the
new manual.  I have removed them from the system here.

(From yocto-docs rev: 5cc47ba18bad4b0d3a90befd8744bf93489afcd6)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:27 +00:00
Scott Rifenbark
bc6a19d6a7 overview-manual: Added new "overview" manual to YP doc set
Fixes [YOCTO #12370]

I added all the mechanics for this new "Yocto Project Overview Manual".
For now, the manual builds and publishes into the 2.5 area.  I used
"overview-manual" for the folder name.  Makefile properly builds the
new manual.  The mega-manual.sed file processes links for the new manual.
The mega-manual.xml file includes the new manual.  The poky.ent file
includes a new ENTITY link for the overview manual.  All pieces are in
place.

With this commit, just an overview chapter exists.  The remaining content
needs to be developed.

(From yocto-docs rev: 632ebd4a91920585e736527e070ca8363a00f41b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:27 +00:00
Scott Rifenbark
9f478d1358 dev-manual, ref-manual: Moved source file sections
The sections in the introductory chapter of the ref-manual are better
served as part of the dev-manual.  These sections are about accessing
YP source files using various methods (i.e. source repositories,
index of releases, and nightly builds).  I have integrated that
information into the dev-manual where the information was also being
treated.

(From yocto-docs rev: d3a97b1f9367d5bb5370974c8c5c0404df86724a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-14 15:25:27 +00:00
Kristi Rifenbark
44ea6ded0e bitbake: bitbake-user-manual: Commented out Placeholder Paragraph
Fixes [YOCTO #12030]

(Bitbake rev: b2642e4d5adc765b205e73fee65da679add33ed0)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 18:10:35 +00:00
Richard Purdie
dafa1ac864 bitbake: runqueue: Rewrite and optimize recrdepends handling
This is a performance sensitive piece of code and the shear number
of recursive loops is causing a significant and unscalable performance
pain point.

This change moves to a two step approach, firstly generating a list of recursive
dependencies for any task, then applying this to the recursive tasks, iterating
over things until no further dependencies are added.

It was noticed an optimisation is possible and the list of recursive tasks need not
contain the taskname, only the base task id. This allows a significant performance
improvement and limits the size of the resursive task lists, improving speed.

(Bitbake rev: eba738ac5672556eaab4f3374c8025c322761c4a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 11:06:30 +00:00
Richard Purdie
2ae62f0d2b bitbake: runqueue: Optimize recrdepends handling
We can optimise the loops slightly so we only process given substrings
once rather than many times. This means expanding out add_resolved_dependencies.

Also add a function which allows replacement of the task element of a
task id, reducing the amount of string handling we're doing in a performance
critical loop.

Its also clear that later code adds to the tasks depends so we don't need
to add .depends() to extradeps at the start.

(Bitbake rev: 4ad281224e92b5f94e3a9c17e8898ec8f1086cdc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 11:06:30 +00:00
Richard Purdie
38fd8bbb7f bitbake: runqueue: Remove unused variables
(Bitbake rev: 7e56c285f5ebae9b4b367514e60e3a6ba8cd5693)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 11:06:30 +00:00
Richard Purdie
0899c332f7 bitbake: runqueue: Fix recidepends handling
Currently we only run through the recidepends/recrdepends code once. This
means that we can miss some expansions of dependency trees where one
rec{r,i}depends tasks depends on another rec{r,i}depends task.

In reality we need to iterate over the data until we stop adding
dependencies.

In doing this we can't show quite so granular progress information since
we don't know how many times we'll need to do this.

This does slow down the runqueue prepare phase however some optimisations
are possible and can be handled in subsequent patches.

This fix means some missing dependencies, such as:

<image>:do_fetchall -> <image>:do_rootfs -> <pkgs>:do_package_write_X
  -> <ca-certs>:do_package_write_X -> debianutils-native
(via PAKAGE_WRITE_DEPS)

are now found/added.

[YOCTO #12510]

(Bitbake rev: aec2f07d56a19b97b6515897532b113cdead8338)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 11:06:30 +00:00
Jackie Huang
110f56dfa5 e2fsprogs: fix the hardcoded paths for ptest
Fix the hardcoded paths in test scripts and expect
files to avoid issue like:
| cat: ../e2fsck/e2fsck: No such file or directory

(From OE-Core rev: 4a4eff9b9e3c614ff41b17cbec359b72dcbd41bd)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 11:06:30 +00:00
Jackie Huang
aa81e94f80 e2fsprogs: only quiet debugfs for native package
Many test cases expect the output of running commands for debugfs,
the patch quiet-debugfs.patch suppress the output so ptest failed:
| 292 tests succeeded   47 tests failed

The patch was meant to suppress the output in do_rootfs according
to the original commit:
======================
commit 13a8d3869b0fe0ebdddcee37fb48c5b9cdf718ba
Author: Ross Burton <ross.burton@intel.com>
Date: Mon Dec 23 13:38:34 2013 +0000

    e2fsprogs: silence debugfs

    debugfs echos the commands when it is executing a script, but as the scripts
    used at rootfs time are long this massively inflates the do_rootfs log.

    Comment out the echo so that the rootfs isn't 20K lines longer than it needs to
    be.

    Signed-off-by: Ross Burton <ross.burton@intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
======================

So only apply the patch for native package, then the ptest will
be pass for target package.

(From OE-Core rev: 4fed9d636852f04457e25c0f7064a4928cc8c36b)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 11:06:30 +00:00
Ricardo Salveti
d00c35a181 grub-efi: add configfile as default built-in
The module configfile allows loading a custom grub configuration file
from block devices, which can be used to customize the default grub
menu when creating images with wic (via configfile argument).

(From OE-Core rev: 6b297ccf04683380d0a894253a78424f4398782d)

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>
2018-02-06 11:06:30 +00:00
Alexander Kanavin
18b862304b libmpc: fix upstream version check
(From OE-Core rev: f3a38f4d85cf9d9ec6a01886050b31709e8af18b)

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>
2018-02-06 11:06:30 +00:00
Alexander Kanavin
abe466bbd2 babeltrace: update to 1.5.4
(From OE-Core rev: 23f1e27877d48a59d357f4b21473ca3117628f5d)

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>
2018-02-06 11:06:30 +00:00
Alexander Kanavin
58ce11215d iputils: update to 20161105
We've been using obsolete upstream URI for quite a while; meanwhile
a lot of development has happened

Drop all the patches: they are either changing the code that has been refactored,
or are backports.

Add a new musl fix patch from gentoo.

ping6 and tracepath6 variants have been folded into standard versions.

(From OE-Core rev: 5997981fa2c22609a88b8cbb595dbf7758b2f7c2)

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>
2018-02-06 11:06:30 +00:00
Alexander Kanavin
5f45587b4d ffmpeg: update to 3.4.1
(From OE-Core rev: 2b642f9bff861b923705a89002dd678bd3b2f331)

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>
2018-02-06 11:06:30 +00:00
Alexander Kanavin
bcd32abc3b iso-codes: update to 3.77
(From OE-Core rev: b75c6deb5e2d781c5b5ef19cd98dfd3fda999af5)

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>
2018-02-06 11:06:29 +00:00
Alexander Kanavin
35d48db298 libwebp: update to 0.6.1
(From OE-Core rev: 51e070d11fa81dc4bddb3d0e5826108f1571df4a)

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>
2018-02-06 11:06:29 +00:00
Alexander Kanavin
5a8e74af21 liburcu: update to 0.10.1
(From OE-Core rev: 21b686b45b5c8b63a3844ac3a6246ac11a4078ee)

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>
2018-02-06 11:06:29 +00:00
Alexander Kanavin
b112b094cc boost: update to 1.66.0
Rework 0002-Don-t-set-up-m32-m64-we-do-that-ourselves.patch to
remove the offending bits from the function instead of removing
calls to the function all over the place.

(From OE-Core rev: 18e94bc08db55afb2d9b9db9a51c6a2d5478c056)

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>
2018-02-06 11:06:29 +00:00
Alexander Kanavin
e84b1b6358 mpg123: update to 1.25.8
(From OE-Core rev: ca9ec1c3d0c23fd00095f732730b1c9423b06423)

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>
2018-02-06 11:06:29 +00:00
Alexander Kanavin
6e06df7390 vala: update to 0.38.6
(From OE-Core rev: 2d6f21e6b9a53d1fd774402ed8e5a9d94614d065)

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>
2018-02-06 11:06:29 +00:00
Huang Qiyu
f7a97647ff libnl: 3.2.29 -> 3.4.0
1) Upgrade libnl from 3.2.29 to 3.4.0.
2) Add one patch "0001-PATCH-fix-libnl-3.4.0-musl-compile-problem.patch", for musl compile.
3) Delete one patch "fix-pktloc_syntax_h-race.patch", since upstream has refactored the makefiles, and the problematic code is now absent.

(From OE-Core rev: 7502216082f7cf777173e316dfe67a116a1a2f50)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 11:06:29 +00:00
Alexander Kanavin
5a23f93c3d webkitgtk: update to 2.18.6
(From OE-Core rev: f5d0ef12a5f1c4fa3981e70ef614e34bc64c380f)

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>
2018-02-06 11:06:29 +00:00
Alexander Kanavin
a2efc9321a openssl: update to 1.0.2n
Drop upstreamed 0001-aes-armv4-bsaes-armv7-sha256-armv4-.pl-make-it-work-.patch

Rebase a couple more patches (via devtool upgrade).

(From OE-Core rev: 8a79b8619ce797d5395989e7bb804bc2accfbb14)

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>
2018-02-06 11:06:29 +00:00
Alexander Kanavin
b7b552bd06 rpm: add a patch to help with Docker performance issues
(From OE-Core rev: 6f1822e5f1eaafd8bc46e999de730c1fcca77f3a)

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>
2018-02-06 11:06:29 +00:00
Alexander Kanavin
4a6b872bd4 rpm: update to 4.14.1
Drop two upstreamed patches.

License-Update: grammar fixes
(From OE-Core rev: c74bbe70988e7dd3ee1b7977de68a7ffe64fc8ef)

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>
2018-02-06 11:06:29 +00:00
Alejandro Enedino Hernandez Samaniego
9c6fc607ff ninja: Upgrade from 1.7.2 to major release 1.8.2
(From OE-Core rev: f683b892b70a9587d9c2812ffc22da2375b34923)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 11:06:29 +00:00
Mariia Movchan
f994f104d8 packagegroup-core-tools-profile: disable valgrind on armeb
Valgrind supports only little endian ARM.

(From OE-Core rev: dece983e35721ca1cfc6ddddaf52726fb1d6db1f)

Signed-off-by: Mariia Movchan <mmovchan@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 11:06:29 +00:00
Alexander Kanavin
f26ea9b3dd libfm: add a patch to fix build errors with recent versions of gtk-doc
(From OE-Core rev: 3574375deb31e61bc464a51d8a6b949b8521a4ff)

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>
2018-02-06 11:06:29 +00:00
Alexander Kanavin
60190ae960 gtk-doc: update to 1.27
Gtk-doc has been rewritten in Python, so drop perl dependencies (good riddance!),
and adjust patches to reflect that.

(From OE-Core rev: f4a00893a4209330720c0366ddde6b9941ee3196)

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>
2018-02-06 11:06:29 +00:00
Maxin B. John
dcfe332645 x264: upgrade to latest revision
Change dependency from yasm to nasm following this change:

commit d2b5f4873e2147452a723b61b14f030b2ee760a5
Author: Henrik Gramner <henrik@gramner.com>
Date:   Sat Mar 18 18:50:36 2017 +0100

    x86: Change assembler from yasm to nasm

Refreshed the following patch:
        don-t-default-to-cortex-a9-with-neon.patch

(From OE-Core rev: 85deeb7bdd17c417e48e86647ad1580e71829afa)

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>
2018-02-06 11:06:29 +00:00
Maxin B. John
ee9a355d41 libsolv: upgrade to version 0.6.31
Remove upstreamed patch:
        0001-repo_rpmdb.c-increase-MAX_HDR_CNT-and-MAX_HDR_DSIZE.patch

(From OE-Core rev: 89a1c8c2e6393ed1f5f667036845b752d5277beb)

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>
2018-02-06 11:06:29 +00:00
Hongxu Jia
561d0ce503 apr: 1.6.2 -> 1.6.3
1. Improve inappropriate patches:
- Drop inappropriate configure_fixes.patch
  Use setting variable ac_cv_file__dev_zero and
  ac_cv_sizeof_struct_iovec to replace

- Drop cleanup.patch
  Aassign variable libtool at ./buildconf executing and
  use 0001-build-buildcheck.sh-improve-libtool-detection.patch
  to replace. Submitted it to upstream.

- Rename configfix.patch to
  0002-apr-Remove-workdir-path-references-from-installed-ap.patch
  Add its original comments and author, explain why it is inappropriate

- Drop upgrade-and-fix-1.5.1.patch
  Use 0003-Makefile.in-configure.in-support-cross-compiling.patch
  to replace. And submitted it to upstream.

2. Fix build path issue to improve reproducibility

(From OE-Core rev: 29c4b19e640b544c9c351aec4292a3f65b619998)

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>
2018-02-06 11:06:29 +00:00
Yi Zhao
659d10a64c tcl: update to 8.6.8
Rebase tcl-add-soname.patch

(From OE-Core rev: 3619d779205464175e3c08396660ff9ee52076f9)

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>
2018-02-06 11:06:29 +00:00
Yi Zhao
4cce58051b json-c: update to 0.13
Drop 0001-Add-FALLTHRU-comment-to-handle-GCC7-warnings.patch since it
had been merged upstream.

(From OE-Core rev: 77b46f844c50e3da90f91669baf6ba936ab7af9f)

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>
2018-02-06 11:06:28 +00:00
Yi Zhao
a1027acfd7 rsync: update to 3.1.3
(From OE-Core rev: ded47001bec3fbbcbcdbe358a32c14ed0322d431)

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>
2018-02-06 11:06:28 +00:00
Yi Zhao
aa5d5a50c6 wget: update to 1.19.4
Update LIC_FILES_CHKSUM since replacing HTTP urls with HTTPS in COPYING

(From OE-Core rev: 10541373edb7117678fe2163e46b3eac987cc7e5)

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>
2018-02-06 11:06:28 +00:00
Yi Zhao
85ddc66f3d libbsd: update to 0.8.7
Drop 0001-Fix-for-older-GCCs-not-supporting-__has_include.patch as it
had been merged upstream.
Rebase 0001-Replace-__BEGIN_DECLS-and-__END_DECLS.patch.

(From OE-Core rev: 28ccf3a73f5dabf658c8dae5d9eabcb482d7f0bb)

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>
2018-02-06 11:06:28 +00:00
Yi Zhao
d75fc2b878 debianutils: update to 4.8.4
(From OE-Core rev: 194b1a5ac178c9cd02ea100fa080b9a4b4687ce6)

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>
2018-02-06 11:06:28 +00:00
Hongxu Jia
7f6b919759 gpgme: 1.9.0 -> 1.10.0
1. Disable test at build time to workaround corss-compile
   Add 0007 to add option to disable python test and submit
   it to upstream

2. Rework patch 0002, since the following commit of upstream.
   https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=commit;h=7309ce6f5f7c86570953a141965d4f54cd9ad9a0

3. Add patch 0006 to fix build path issue to improve reproducibility
   and submit it to upstream

(From OE-Core rev: 80d2e065bb3e2ce7d7f8a956c3fecd26eb582b62)

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>
2018-02-06 11:06:28 +00:00
Hongxu Jia
5a74a370ed pigz: 2.3.4 -> 2.4
License-checksum-change: license is no change, only version bump up.

fe822cb435

(From OE-Core rev: efa166021d2520b3badfdc44968ee618c65be705)

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>
2018-02-06 11:06:28 +00:00
Otavio Salvador
232d382d17 glide: Add 0.13.1 version
Glide is a widely used Vendor Package Management for Golang,
especially in private projects as it allows for internal repositories
clone and other fancy things.

This recipe has been originally done as part of updatehub development.

(From OE-Core rev: 64fc673886b37d3673b9dfc4b647ece7d3130ec9)

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>
2018-02-06 11:06:28 +00:00
Liwei Song
bf4d336914 linux-firmware: package all ibt-17-x-x.sfi/ddc firmware
All ibt-17-x-x.sfi/ddc firmware are use to support Intel Bluetooth 9560
they are needed in different version of Bluetooth driver since
4.14 kernel version.

commit b77bb7afe513 ("linux-firmware: package ibt-17-16-1 firmware")
only package one of the ibt-17 series firmware.

As the Bluetooth driver's update, to avoid packaging the ibt-17 firmware
one by one, install them in one package ibt-17.

(From OE-Core rev: f6110c0213064c324397476f3eae3851328790dd)

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 11:06:28 +00:00
Maxin B. John
e3c3e30a0a vulkan: upgrade to version 1.0.65.2
1.0.61.1 -> 1.0.65.2

(From OE-Core rev: c61ad4db01b18ff8c162a39e04ce4871e2926a0e)

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>
2018-02-06 11:06:28 +00:00
Maxin B. John
c3d4f290d5 assimp: upgrade to version 4.1.0
4.0.1 -> 4.1.0

(From OE-Core rev: 35d5c239f379e99700073971e0cb0a84037ec0d0)

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>
2018-02-06 11:06:28 +00:00
Maxin B. John
691fe3f456 libinput: upgrade to version 1.9.4
1.8.4 -> 1.9.4

(From OE-Core rev: fc4c234b8e7ae31d3632e6ec749ea16c59657dcf)

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>
2018-02-06 11:06:28 +00:00
Huang Qiyu
1bd9013c31 tar: 1.29 -> 1.30
1.Upgrade tar from 1.29 to 1.30.
2.Modify musl_dirent.patch, since the data has been changed.
3.Delete CVE-2016-6321.patch, since it is integrated upstream.

(From OE-Core rev: 9dc417ef8f94b51140fe2befcd492f6ea9726a4a)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 11:06:28 +00:00
Hongxu Jia
475a6187dc apr-util: 1.6.0 -> 1.6.1
(From OE-Core rev: 2fe6961b3d6786c4acd666f78b8b2105bfa0b9d1)

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>
2018-02-06 11:06:28 +00:00
Hongxu Jia
17528da6b9 ncurses: 6.0+20170715 -> 6.0+20171125
- Drop backported CVE fix

(From OE-Core rev: 382e861b8c89c65b3538c706361767eff78d4a5a)

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>
2018-02-06 11:06:28 +00:00
Hongxu Jia
96ddd5e667 help2man-native: 1.47.4 -> 1.47.5
(From OE-Core rev: 5acb140ec0a558c4aa08fb19247465f745e2c0c2)

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>
2018-02-06 11:06:28 +00:00
Ross Burton
95fbee5af3 i2c-tools: rewrite packaging
For unknowable reasons this recipe inherits autotools-brokensep despite not in
fact using autotools.

Remove the inherit, add a do_install() that calls the makefile directly.

Extend EXTRA_OEMAKE to pass bindir/sbindir/incdir/libdir/mandir so the files are
all packaged in the correct location (and remove the now redundant sed of
Makefile).

Pass EXTRA=eeprog to EXTRA_OEMAKE to build eeprog, and remove the now redundant
edit of Makefile.

Backport a patch from upstream to remove linux/i2c-dev.h instead of installing
it with a different name (which nobody will be using).

(From OE-Core rev: a5d5d66c30378c35900c46dac4e4824a10521477)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 11:06:28 +00:00
Derek Straka
7aa9be36db python3-pycairo: update to 1.15.6
Update to the latest stable release

Tested in qemux86-64 running core-image-minimal

(From OE-Core rev: fa4db2f80f6149e402f977e8de022493e6c0e1d2)

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>
2018-02-06 11:06:28 +00:00
Derek Straka
39e48c8b06 python3: update target and native recipes to 3.5.4
Use the latest 3.5 version until the 3.6 migration is complete

Removed the following upstreamed patches:
  - python3/Fix-29519-weakref-spewing-exceptions-during-interp-f.patch
  - python3/upstream-random-fixes.patch

Rebased the following pathes:
  - python3/0001-cross-compile-support.patch

Regenerated the manifest based on the latest release version

Updated the license checksum for the latest version that updated the
copyright dates

(From OE-Core rev: eb80d0391d7d4e83a61ed8850d936b102be3fa02)

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>
2018-02-06 11:06:27 +00:00
Anders Roxell
863df3c81f ltp: remove patches that already have fixes upstream
The following patches has already fixes for the issues they are solving
in upstream.
- 0001-add-_GNU_SOURCE-to-pec_listener.c.patch
- 0011-Rename-sigset-variable-to-sigset1.patch
- 0025-mc_gethost-include-sys-types.h.patch
- 0027-sysconf01-Use-_SC_2_C_VERSION-conditionally.patch
- 0033-shmat1-Cover-GNU-specific-code-under-__USE_GNU.patch

Suggested-by: Yi Zhao <yi.zhao@windriver.com>
(From OE-Core rev: 88e12a14540e10718fb2e68f27834d9b7565ab7e)

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 11:06:27 +00:00
Derek Straka
98c4f485f0 python2-manifest: update the manifest file for python 2.7.14
The manifest file was not regenerated when the package was updated.

(From OE-Core rev: c42a1cf42b88c0dc02baf807ee2aa3dab058c4cd)

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>
2018-02-06 11:06:27 +00:00
Derek Straka
7abd40cd26 python-native: add dependency for gdbm and db native packages
These two packages are required to ensure the manifest files contain
all of the generated packages.  Without this, the db and gdbm packages
will not contain the .so files as they are skipped during the compilation steps

(From OE-Core rev: 912c06615269f42230db2d93d70db2b340ed270a)

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>
2018-02-06 11:06:27 +00:00
Ross Burton
ccd25825a0 qemu: fix memfd_create with glibc 2.27
glibc 2.27 has added memfd_create() but this conflicts with a copy in qemu, so
take a patch from upstream to fix building with glibc 2.27.

(From OE-Core rev: 207733bb875b1a6b932ecd04a34a0ee118511d1f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 11:06:27 +00:00
Huang Qiyu
7976479ddb sysstat: 11.6.1 -> 11.7.1
Upgrade sysstat from 11.6.1 to 11.7.1.

(From OE-Core rev: 5a6c5234c8685e205ae16729b82288dc8f687122)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 11:06:27 +00:00
Huang Qiyu
a62c43a363 ruby: 2.4.2 -> 2.5.0
1.Upgrade ruby form 2.4.2 to 2.5.0.
2.Update the checksum of LIC_FILES_CHKSUM.
3.Delete ruby-CVE-2017-9224.patch, ruby-CVE-2017-9227.patch, ruby-CVE-2017-9229.patch, since it is integrated upstream.
4.Modify ruby-CVE-2017-9226.patch, since the data has been changed.

(From OE-Core rev: 67b9f407f7c40c63c7f9518b4ee3d4d1cc7c75ce)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 11:06:27 +00:00
Joe Slater
5f0c4c785d rng-tools: modify 'read error' message
Expand messages output if entropy data cannot
be read.

(From OE-Core rev: 23cf9be2065d6ea01f6d10cbed64a590c31e5bfc)

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>
2018-02-06 11:06:27 +00:00
Khem Raj
1d22ecc138 musl: Update to latest master
The changes are
https://git.musl-libc.org/cgit/musl/log/?qt=range&q=4000b0107ddd7fe733fa31d4f078c6fcd35851d6..628cf979b249fa76a80962e2eefe05073216a4db

(From OE-Core rev: ed1598d08e53c92a5df286de518a9b355ee50f59)

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>
2018-02-06 11:06:27 +00:00
Paul Eggleton
a1179425a9 devtool: set up git repos so that singletask.lock is ignored
singletask.lock is written out while certain tasks execute for recipes
that have externalsrc.bbclass enabled - this includes recipes in
devtool's workspace. It appears that there's a race where
singletask.lock will be there one minute and then when we try to get the
file checksum of it (since we want to know if anything in the source
tree has changed) it will be gone, and git chokes. To fix that, add
singletask.lock to .git/info/exclude in the repository, regardless of
whether we created the repository or not. In any case singletask.lock
should never be tracked by git, so this is a good thing to be doing for
that reason as well.

This fixes oe-selftest failures in test_devtool_modify that we've seen
on the Yocto Project autobuilder:

bb.data_smart.ExpansionError: Failure expanding variable
do_compile[file-checksums], expression was ${@srctree_hash_files(d)}
which triggered exception CalledProcessError: Command
'['git', 'add', '-A', '.']' returned non-zero exit status 128.

Note that this only fixes this issue for devtool; if you are using
externalsrc independently of devtool there's a chance this will still
be an issue unless you add singletask.lock to your .gitignore.

(From OE-Core rev: 334ba846c795fc0d8c73ce05a1b0882739c86650)

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>
2018-02-06 11:06:27 +00:00
Böszörményi Zoltán
fa9c077068 npm.bbclass: Node module name and recipe name can be different
Some NPM modules have the same name as their low level dependencies.
To prevent recipe naming conflicts, allow node module recipe names
to start with the "node-" prefix.

(From OE-Core rev: 6b417c7c3a38463c64756beae9817fa2a80fd09e)

Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 11:06:27 +00:00
Böszörményi Zoltán
d38e1e2c2e npm.bbclass: Fix building node modules with npm@5
npm cache clear throws an error with npm@5 and suggests to
use npm cache verify instead. But our cache is actually empty,
so use npm cache clear --force.

npm install in the source directory creates symlinks with npm@5.

Use a combination of npm pack and npm install module-version.tgz
that works the same way with older and new npm versions and is
guaranteed to create actual copies instead of directory symlinks.

This change allows using nodejs 8.x LTS, tested with 8.9.4.

(From OE-Core rev: 2d7d2a460842c8747df17990970f22f4a11f36f6)

Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 11:06:27 +00:00
Joshua Watt
bb40162b2b waf.bbclass: cd to ${S} before checking version
waf requires that the current working directory be the project root (in
this case ${S} when it is invoked. The check to get the waf version was
being executed as a prefunc for do_configure, which meant it was
executed before the current working directory was switched to ${S}, and
thus would fail with some recipes. Fix this by changing to ${S} before
executing "waf --version"

(From OE-Core rev: aa168ee7f785ff007ca645db57698883922b5eb3)

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>
2018-02-06 11:06:27 +00:00
Max Krummenacher
8a8c31db1a image_types: tar with --numeric-owner
If --numeric-owner is neither used when creating or extracting the archive
containing the rootfs then tar tries to change the numeric uid/gid of the
files based on user/group names of the host used to extract the archive.

Create the archive with --numeric-owner to remove the burden of having to
use --numeric-owner when extracting.

(From OE-Core rev: 061e04cb6335a10f560e57255b7335b8c9891207)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06 11:06:27 +00:00
Juro Bystricky
0da28271bf sanity.bbclass: modified error message
(From OE-Core rev: ed41167521ccae14952e500d7432cb776636f4e9)

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>
2018-02-06 11:06:27 +00:00
Yi Zhao
13884b26b6 maintainers.inc: update maintainership
Reassign some Robert Yang's recipes to Yi Zhao.
Remove guile and mailx since these recipes were removed from oe-core.

(From OE-Core rev: 9dc77b11f7e01d9fdf30b9aabe198d9a60c3cd3e)

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>
2018-02-06 11:06:27 +00:00
Tom Rini
d2ade75708 security_flags.inc, xorg-driver-common.inc: Move SECURITY_X_LDFLAGS logic
We need to ensure that all xorg modules are linked with
SECURITY_X_LDFLAGS to ensure that they will be able to resolve their run
time dependencies.  The approach of listing each driver in
security_flags.inc lets less frequently used drivers be run-time
broken.  Move the flag logic into xorg-driver-common.inc so that all
xorg modules from all layers will have the correct security flags used.

Cc: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: 27fce6ec277788f8fad0c9799e784df80f791120)

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>
2018-02-06 11:06:27 +00:00
Niko Mauno
95dbd9d287 bitbake.conf: Add xattr to DISTRO_FEATURES_NATIVE
Commit db1f1adace disabled 'xattr' from
DISTRO_FEATURES when native packages are built, whereas for target
packages it was retained. This changed eg. mtd-utils-native to build
without extended attributes (capabilities) support from there on.

Thus even setcap was called succesfully for a binary during pkg_postinst
on build host, the capabilities did not exist on target rootfs due to
now xattr-less host-side mkfs utility.

Adding xattr to DISTRO_FEATURES_NATIVE restores previous behaviour,
fixing the discontinuity in capability propagation to target
device rootfs.

(From OE-Core rev: 2ad3b8ae1c56a46bf14fc6bc4c34e4b3a568d741)

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>
2018-02-06 11:06:27 +00:00
Martin Jansa
385944254d tcmode-default.inc: drop preferred version of gzip-native
* gzip was recently upgraded from 1.8 to 1.9, now all the builds show:
  NOTE: preferred version 1.8 of gzip-native not available (for item gzip-native)
  NOTE: versions of gzip-native available: 1.9
* drop the setting, because nobody is probably going to use older
  gzip-native than 1.4 when there is only 1.9 available in oe-core

(From OE-Core rev: a0988c3374e964170d1d24fc230306b887432d31)

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>
2018-01-31 17:01:20 +00:00
Ross Burton
e5e89cfb7b pulseaudio: improve glibc 2.27 patch
This patch looks like it will be merged upstream.

(From OE-Core rev: 59c5fb3c80eb1699caad8dc2175ab1eed67bf66e)

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>
2018-01-30 12:53:16 +00:00
Ross Burton
63549ea403 make: add missing Signed-off-by
(From OE-Core rev: 5282774e0a8df40a04808622e6d265157477488f)

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>
2018-01-30 12:53:16 +00:00
Ross Burton
f3358ab1d7 gettext: beat library detection into shape
For reasons I can't explain gettext uses several hundred lines of convoluted m4
to find the paths to a library.

If we don't tell it where to find a library it will hunt around and potentially
have host contamination as /usr/lib on the host is explicitly searched.

If we tell it the prefix to a library then we get bad RPATHs in the binaries
(such as /usr/lib/../lib), and the search assumes that it knows best about what
the library directories are under that prefix (even when it's wrong).

So, replace the lookup where possible with pkg-config calls (libxml2, glib,
libcroco).  libunistring doens't have a pkgconfig file so just don't use the
system libunistring: the library is tiny anyway.

(From OE-Core rev: 1ff35fbbdd50660b86f8e254685ae0c8338b6e11)

(From OE-Core rev: e6c0f8eddf8ff4a6132934a69e0f3450d4843ece)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 12:53:16 +00:00
Anuj Mittal
e8df21679e linux-yocto: update genericx86* SRCREVs for v4.9
Bump to stable kernel release 4.9.78.

(From meta-yocto rev: 8a895e83a7a5c09d2f9f4069b8c8eb92d9b3b738)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 12:09:43 +00:00
Anuj Mittal
f7dea5552f linux-yocto: update genericx86* SRCREVs for v4.4
Bump to stable kernel release 4.4.113.

(From meta-yocto rev: 0cf39e1429549a11e6487906e89c830bdf985741)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 12:09:43 +00:00
Anuj Mittal
a917490c27 linux-yocto: update genericx86* SRCREVs for v4.12
Bump to stable kernel release 4.12.19.

(From meta-yocto rev: 4c9ced4020f4cc3092af06889bf6ac209e15d5a6)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 12:09:43 +00:00
Martin Jansa
d225500e80 tcmode-default.inc: bump LINUXLIBCVERSION to 4.14%
* linux-libc-headers were updated without updating PREFERRED_VERSION causing
  following messages being shown in every single build:
  NOTE: preferred version 4.12% of nativesdk-linux-libc-headers not available (for item nativesdk-linux-libc-headers)
  NOTE: versions of nativesdk-linux-libc-headers available: 4.14.13
  NOTE: preferred version 4.12% of linux-libc-headers not available (for item linux-libc-headers)
  NOTE: versions of linux-libc-headers available: 4.14.13
  NOTE: preferred version 4.12% of linux-libc-headers not available (for item linux-libc-headers-dev)
  NOTE: versions of linux-libc-headers available: 4.14.13
  NOTE: preferred version 4.12% of nativesdk-linux-libc-headers not available (for item nativesdk-linux-libc-headers-dev)

(From OE-Core rev: df07a95f270492dba9fa04f917617b1aaee123b9)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:12 +00:00
Juro Bystricky
61b210fd37 kexec-tools: remove unused patch file
(From OE-Core rev: 1a28d928e5fd39bd23c420ba7cdeda79344a743b)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:12 +00:00
Juro Bystricky
5eb11e7e06 libcrypt: remove unused patch file
(From OE-Core rev: cd34a6dc9f0507ed3514c7fb333b313a0b0590c2)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:12 +00:00
Juro Bystricky
c55aa9f8f0 tzcode: remove unused patch files
(From OE-Core rev: 7118b4df6d43de4d27426826ce2dce93b2baf9b4)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:12 +00:00
Khem Raj
4eff585823 gcc-7.3: Drop upstreamed musl cpuinfo patch
This patch is already in gcc-7-branch
6e6c7fc1e1

Thanks nsz for noticing it

(From OE-Core rev: 3d9c32f31047e9fae289b45fcf733c5df1ddaceb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:12 +00:00
Alexander Kanavin
ff4835470b rootfs.py: change the notice about deferring scripts to first boot from warning to a note
Now that the first boot deferral needs to be requested explicitly,
it's not really something to be concerned about.

(From OE-Core rev: 19f3f4c60060ff5ed3c1c9871e18fcd4d128c5a3)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:12 +00:00
Alexander Kanavin
a2b7260f79 package_rpm.bbclass: run pre/post installation scriptlets using sh -e
This allows catching errors in the scriptlets which would otherwise
go unnoticed, e.g. this sequence:

====
bogus_command
proper_command
====

would work just fine. Note that this patch needs all of the preceding
patches, as otherwise running failing scriptlets with -e would defer
them to first boot, instead of properly reporting failure and aborting
the package installation.

(From OE-Core rev: 3cd8a55d5298ce9cc176e402fdb727abb26a1a4c)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:12 +00:00
Alexander Kanavin
7bc55b2960 meta/lib/oe/package_manager.py: deprecate 'exit 1' as a way to defer to first boot
'exit 1' is not optimal for two reasons:

1) Code is hard to read; it is not obvious that it means 'defer what follows to first boot'.
2) Worse, this hides actual errors in the scriptlets; there is no difference between scriptlet
failing because it's intended to be run on target and scriptlet failing because there's a bug or
a regression somewhere.

The new, supported way is to place the code that has to run on target into pkg_postinst_ontarget(),
or, if a more fine-tuned control is required, call 'postinst-intercepts defer_to_first_boot' from
pkg_postinst() to explicitly request deferral to first boot.

(From OE-Core rev: d12cf56e9ff2a4f13dfbef9290ea5647b52b3f6d)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:12 +00:00
Alexander Kanavin
6ca669105f package.bbclass: add support for pkg_postinst_ontarget()
This function is a convenient and more readable shortcut for situations
when the postinst code always needs to run on target. All commands that
cannot be executed during cross-install and can only be run on target
should go into this function. They will only be executed on first boot
(if package was cross-installed) or immediately during package installation
on target.

Plain pkg_postinst() works as before: it is run during cross-install time,
it can contain a request to defer to first boot, and it is also run
during package installation on target.

Also fix the oeqa test for this functionality to use the new function
where appropriate.

(From OE-Core rev: 229f4e975fb6957f44b5c56735fd6d58564098d7)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:12 +00:00
Alexander Kanavin
32c500b8ea meta/lib/oe/rootfs.py: do not execute defer_to_first_boot when processing postinst_intercept hooks
That hook is empty, and doesn't need to be executed; it merely indicates that packages
that have used it are requesting to defer their postinst scripts to first boot
unconditionally.

(From OE-Core rev: 939f7f1a06cd2db05aeb5e75a66322314e10aa6d)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:12 +00:00
Alexander Kanavin
4c808e31ea meta/lib/oe/rootfs.py: separate first boot deferral logic into a separate function
(From OE-Core rev: 4612291411ad788df88d5fc6dde98ff53fd91002)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:12 +00:00
Alexander Kanavin
cb63b4bfa0 postinst_intercepts: add a delay_to_first_boot hook
This allows postinsts scripts to explicitly request a deferral to first boot
(by calling 'postinst_intercept delay_to_first_boot') instead of 'exit 1' which
should be used only to indicate actual script failures.

(From OE-Core rev: 853ac4a061e47c70b61e255c3cf6109d2058d2cc)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:12 +00:00
Anders Roxell
243022de85 ltp: bump to release 20180118
Removed 3 patches that have been upstreamed:
- 0030-lib-Use-PTHREAD_MUTEX_RECURSIVE-in-place-of-PTHREAD_.patch
- 0037-ltp-fix-format-security-error.patch
- 0038-generate-reproducible-gzip.patch

Reworked path 0002-Add-knob-to-control-whether-numa-support-should-be-c.patch.

(From OE-Core rev: a65081b27109393ff6ec29cd122c017bff637928)

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:12 +00:00
Niko Mauno
fe0b4cb5b4 bitbake.conf: Add comm to HOSTTOOLS
This mitigates following issues during u-boot do_compile() step --
otherwise, if comm is not available, they are quietly ignored:

  .../scripts/check-config.sh: line 33: comm: command not found
  .../scripts/check-config.sh: line 39: comm: command not found

Since 'comm' is provided by coreutils package, adding it to HOSTTOOLS
was considered a lower impact fix compared to adding coreutils-native
buildtime dependency to u-boot recipe.

(From OE-Core rev: 6dc33687de9edd4269cbaf85e30945771f61f313)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:12 +00:00
Ross Burton
965c5afc8f ofono: use patch sent upstream instead of sed
Instead of using a sed to fix the hashbang in a test tool send a patch upstream
and use that.  This way we'll notice when the patch doesn't need to be applied
anymore.

(From OE-Core rev: 8b6c45dfdd6a7b469f5a0dd7308b25bdd4b1bf56)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:11 +00:00
Ross Burton
58449f0e9c classes/utils: remove compatibility functions
These base_* functions were moved into meta/lib/oe back in 2010 and wrappers
left in utils.bbclass for compatibility.  It's been eight years, so I think it's
time to remove them.

(From OE-Core rev: 0391fcad9103abca0796a068f957d0df63ab4776)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:11 +00:00
Ross Burton
563a020870 meta: don't use deprecated functions from utils.bbclass
These functions were moved to meta/lib/oe in 2010 and the base_* functions in
utils.bbclass were intended to be a short-term compatibility layer.  They're
still used in a few places, so update the callers to use the new functions.

(From OE-Core rev: c97acbd034532895ce57c6717ed1b3ccc7900b0d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:11 +00:00
Ross Burton
34c6b6d204 bluez5: only depend on pygobject if its going to work
(From OE-Core rev: 5db515593d8a70e58a09e8db9327c5a3616945bf)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:11 +00:00
Ross Burton
0ceebafad0 ofono: only depend on pygobject if its going to work
(From OE-Core rev: 9a2d15d8360418890c40191644e22e830071b39d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:11 +00:00
Ross Burton
fc56788a32 libxshmfence: fix build with glibc 2.27
With glibc 2.27 memfd_create() is behind a _GNU_SOURCE guard, so use
AC_USE_SYSTEM_EXTENSIONS to define it.

(From OE-Core rev: 88b3d730021107985ea749c92e52a323690f87dc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:11 +00:00
Khem Raj
2c09f9722a systemd: Fix build with glibc 2.27
(From OE-Core rev: cf4fc7804f093f5b570eaeaa39cb5dce5db1e379)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:11 +00:00
Khem Raj
c58d9a98d4 pulseaudio: Fix build with glibc 2.27
memfd_create is now available in glibc

(From OE-Core rev: 8f893588ff42db711763d0a8977b733df8389774)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:11 +00:00
Huang Qiyu
4b4ca19f6d e2fsprogs: 1.43.7 -> 1.43.8
Upgrade e2fsprogs from 1.43.7 to 1.43.8.
Backport patch to fix build on BE systems

(From OE-Core rev: 6c7f32bd8b27c4dd91c1ac20f091358982e9c275)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:11 +00:00
Daniel Díaz
6a24a0ba7c perl: Undefine d_libm_lib_version.
A recent commit in GLIBC [1] got rid of _LIB_VERSION, which
makes Perl's build fail:
| pp.c:47:5: error: unknown type name '_LIB_VERSION_TYPE'; did you mean '__VERSION__'?
|      _LIB_VERSION_TYPE _LIB_VERSION = _IEEE_;
|      ^~~~~~~~~~~~~~~~~
|      __VERSION__
| pp.c:47:38: error: '_IEEE_' undeclared here (not in a function); did you mean '_SIZET_'?
|      _LIB_VERSION_TYPE _LIB_VERSION = _IEEE_;
|                                       ^~~~~~
|                                       _SIZET_
| make[1]: *** [pp.o] Error 1

The current config.sh enables d_libm_lib_version for
everyone, with special cases left to undefine it as fixup
(such as MUSL [2]).

Since this may only affect some BSDs and Cygwin [3], it
follows that the opposite (defining it) should be a fixup
for those special cases.

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=813378e9fe17e029caf627cab76fe23eb46815fa
[2] http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-devtools/perl/perl_5.24.1.bb?id=8ca61a5464743ff85b6d26886112750d6ddd13e0#n127
[3] https://perl5.git.perl.org/perl.git/blob/443bd156a6baaf7a8fe6b6b05fcf6c4178140ed2:/pp.c#l42

(From OE-Core rev: f01af4159fe8f75cb1d6a5cbce9cb73e1c8cc19f)

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:11 +00:00
Khem Raj
abb606c46c make: Backport fixes to not assume glibc internal glob implementation
Exposed with glibc 2.27

(From OE-Core rev: cdf370f1bd046ba6207b63c9a82bdfff2b261a7d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-30 11:50:11 +00:00
Ross Burton
0c537554fc testimage: enable gi test suite
(From OE-Core rev: d8243c4588d4f1bb057fd917bfea130c4907e24c)

(From OE-Core rev: 1c896b34d2d9fdf941941bd29257a4714795da5a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 10:31:58 +00:00
Ross Burton
f05dc3f817 oeqa/runtime: add gobject-introspection test
(From OE-Core rev: 497a95b576e19e39e20ac280d0db24f51b7c9679)

(From OE-Core rev: 7fe336e34bbdc16a28f95ce6ec043943f8033002)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 10:31:58 +00:00
Richard Purdie
cf8425e247 bitbake: fetch/git: Add pack-refs command to mirror handling code
We've noticed issues on our infrastucture iterating over the many
tag/branch/head reference files that some git repositories may contain.

By issuing the pack-refs command, we move these all to a single file
which speeds up operations with the mirror repos in the downloads
directory in general.

(Bitbake rev: f8126aaf774186a6eaf0bd4067b89c074594886c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:50:08 +00:00
Richard Purdie
3f947dffe7 bitbake: cooker: Sort task graph (dot) file output
This means two different graph files can easily be compared, currently
you'd have to sort them as the output is randomized.

(Bitbake rev: 5f7c6ec785f70beb1a4a1bbc0eb83cfa6cd7740d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:50:08 +00:00
Peter Kjellerstedt
942987f9cb glibc: Adapt do_install_append_aarch64() for usrmerge
Change hardcoded /lib to ${nonarch_base_libdir} to correctly adapt the
code in do_install_append_aarch64() for when usrmerge is enabled in
DISTRO_FEATURES.

(From OE-Core rev: ac373c9f760463d989d6a1eb3a14b7c5b255b9d4)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:50 +00:00
Max Krummenacher
06cf2a85c6 libfm: split the gtk+ bindings into their own package
Recipes depending on libfm with the gtk+ bindings will automatically rdepend
additionally on the new package libfm-gtk.

(From OE-Core rev: fa49561040e4de4ac75f18d195352b9114149f9b)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:50 +00:00
Ming Liu
13fb4024e8 bitbake.conf: add STAMPS_DIR to BB_HASHBASE_WHITELIST
This allows scripts/bitbake-whatchanged to calculate the dependency
changes correctly since it needs to set different STAMPS_DIR during
the comparation.

(From OE-Core rev: 8547f1e29104b75299f1056524da4a058a029940)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:50 +00:00
Khem Raj
e13b6f76c7 meson: Adjust for clang compiler
Remove hardcoding c/c++ compiler to be gcc alone, its
possible to use clang as replacement for cross compilers
from meta-clang, therefore set clang/clang++ if
TOOLCHAIN = "clang"

(From OE-Core rev: 05789489d25a5ceac0403613ad789d78198be6ee)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:50 +00:00
Derek Straka
7ef064e80c python: Upgrade both python and python-native to 2.7.14
Rebased:
  - python/01-use-proper-tools-for-cross-build.patch
  - python/fix-makefile-for-ptest.patch
  - python/parallel-makeinst-create-bindir.patch

Removed Upstreamed Patch:
  - python/Don-t-use-getentropy-on-Linux.patch

Updated license checksum for changes in the copyright date.  The license
terms remain unchanged

Added an extra do_compile item to create the native pgen that no longer
gets compiled by default

(From OE-Core rev: 9f2de4f9cf1eb6de75dc789bd0549f45c7a68c55)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:50 +00:00
Derek Straka
cb61f997c0 python3-manifest: add the _pydecimal files to the numbers package
The _pydecimal files are required to use the numbers package
and downstream packages are currently required to add a RDEPENDS
on python3-misc to avoid an import error

(From OE-Core rev: 4ca2d607a6b6fe8686bf89177287f2b9bae01245)

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>
2018-01-29 08:49:50 +00:00
Ross Burton
a889ece924 python: fix parse dependencies
Adding a file-checksums flag for the manifest to do_split_packages doesn't
achieve anything as do_split_packages isn't a task.  Changing this to tha task
do_package shows that the path is wrong, but we also know that as the manifest
is in SRC_URI any changes to it would result in a rebuild anyway, so this line
can be deleted.

However there is a problem of the recipe not being reparsed when it needs to be,
if the JSON has changed.  The main bitbake process can hash the recipe and use
stale data from the cache as it hasn't considered the manifest file changing.  This
results in non-determinism warnings when the worker parses the recipe again and
comes to a different hash (as the manifest has changed, so the packaging
changed).

Solve this by calling bb.parse.mark_dependency() to declare the dependency on
the manifest.

(From OE-Core rev: a321b28c8dafc9775f465ce7c0f6bcbe8ccc2945)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:50 +00:00
Huang Qiyu
0db712bd24 man-pages: 4.11 -> 4.14
1.Upgrade man-pages from 4.11 to 4.14.
2.Update the checksum of LIC_FILES_CHKSUM, since README has been changed.

(From OE-Core rev: 8644d7bde6a30aec4e666ad59ff148f04c616a21)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:50 +00:00
Huang Qiyu
f87502ed9a linux-libc-headers: 4.12 -> 4.14.13
Upgrade linux-libc-headers from 4.12 to 4.14.13.

(From OE-Core rev: 71776273bbcb8b08aa55296c82ec2a10b0978a57)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:50 +00:00
Huang Qiyu
683387a676 libunwind: 1.2 -> 1.2.1
1.Upgrade libunwind from 1.2 to 1.2.1.
2.Delete fix-mips.patch, since it is integrated upstream.

(From OE-Core rev: a8944a706dc5acd9dc091d60675c0dbc50294df7)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:50 +00:00
Huang Qiyu
9bd7375e11 blktrace: 1.1.0+gitX -> 1.2.0+gitX
1.Upgrade blktrace form 1.1.0+gitX to 1.2.0+gitX
2.Delete 0001-include-sys-types.h-for-dev_t-definition.patch, since it is integrated upstream.
3.Modify ldflags.patch, since iowatcher/Makefile has been changed.

(From OE-Core rev: bd1326a1e778f1c774fe3efd93b888bf9ee9df3d)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:50 +00:00
Huang Qiyu
e8830ad932 librsvg: 2.40.19 -> 2.40.20
Upgrade librsvg from 2.40.19 to 2.40.20.

(From OE-Core rev: 2ea66c826b79304c3f83ac9fb15f6624584e6669)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:50 +00:00
Huang Qiyu
ab65d87dca less: 527 -> 529
Upgrade less from 527 to 529.

(From OE-Core rev: c2056d1b83f66d494c15e72a953aeb05eeec6a65)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:50 +00:00
Huang Qiyu
9620a1edb0 kmod: 24 -> 25
Upgrade kmod from 24 to 25.

(From OE-Core rev: df525efab1cefa3e05e50544b1fbc790cc4cf850)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:50 +00:00
Juro Bystricky
fb8087ab07 package_rpm.bbclass: improve reproducibility of RPM packages
The RPM packages contain BUILDHOST based on the current build host.
This breaks reproducibility if the same package is build on two different hosts.
To improve reproducible builds, we always set BUILDHOST as "reproducible".

(From OE-Core rev: f3beb683380ec0d9efa0d6af83205350afd1b2de)

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>
2018-01-29 08:49:50 +00:00
Yi Zhao
6dae7fae8b lsbtest: minor fixes for LSB 5.0
* Remove qt4 test component in test list since qt4 isn't installed to
  lsb image by default.
* Update package directory, server IP address and version.
* Move LSB_Test.sh from /usr/bin to /opt/lsb-test.
* Add lsb as runtime dependency.

(From OE-Core rev: c5a9c64d271aec57959d70a83d0967e00a155908)

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>
2018-01-29 08:49:50 +00:00
Yi Zhao
992d580743 lsb: update to 5.0
The LSB test packages had been updated to 5.0 in lsbtest. We also need
to bump to version 5.0 for this recipe.

(From OE-Core rev: 7bef6109927d143136afad79674dab12cf4552c8)

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>
2018-01-29 08:49:50 +00:00
Tan Shen Joon
4984b60c76 distrodata: add a utility script to compare list of recipes
distrocompare.sh is added to compare the added list of recipes
between two releases. The output of the script will share the
information of the licenses required and other distributions
that are using the package.

If a single input is provided, it will compare the current
branch with the provided branch/commit-ish package list.

To run : distrocompare.sh <older hash> <newer hash>
E.g. distrocompare.sh morty 92aa0e7
E.g. distrocompare.sh morty pyro
E.g. distrocompare.sh morty

output : The script will produce a file ending with
new_recipe_list.txt preceeded by the branch name from input

(From OE-Core rev: 32b363c2ba91fde4f10e5fe2c898b2fc2702aa85)

Signed-off-by: Tan Shen Joon <shen.joon.tan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:50 +00:00
Huang Qiyu
5442688efe gzip: 1.8 -> 1.9
1.Upgrade gzip from 1.8 to 1.9.
2.Delete 0001-gzip-port-zdiff-zless-to-Busybox.patch, since it is integrated upstream.
3.Modify wrong-path-fix.patch, since it is changed upstream.

(From OE-Core rev: db59381121d564a1ba5d199a8099d120620f0527)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:50 +00:00
Huang Qiyu
78cbfd2b5b hdparm: 9.52 -> 9.53
Upgrade hdparm from 9.52 to 9.53.

(From OE-Core rev: f818d257ebd80714c5fcb243284188f6ec5c5daa)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:50 +00:00
Chunrong Guo
1da07a3f6b tcf-agent: update machine setting for aarch64 bigendian build
(From OE-Core rev: af2f545a5fb0a622a2f21ce0912d543529f048c7)

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:50 +00:00
Ross Burton
ffa0eb5fdc archiver: don't require that images are built using RPM to build SRPMs
The requirement for images being built using RPM is too strict to have access to
the RPM functions, simply checking that package_rpm is in PACKAGE_CLASSES is
sufficient.

Also fail if SRPMs are requested but package_rpm isn't enabled, instead of
silently not doing what we were asked.

(From OE-Core rev: cdae5c41e4f67a8757efc5ce1ef11d730edc3af1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:50 +00:00
Otavio Salvador
add548491a package_rpm.bbclass: Fix matching of architecture independent packages
OE-Core changes the architecture independent RPM packages to use
"noarch" instead of "all". This change has been included in the commit
below:

,----
| commit 341810aff923ace6b1cc1e15e19383c4f8773b51
| Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
| Date:   Mon Jan 9 16:37:28 2017 +0200
|
|     package_rpm.bbclass: make architecture-independent .rpm packages
|     "noarch" instead of "all"
|
|     Too many places in dnf/rpm4 stack make that assumption; let's not
|     fight against it.
|
|     Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
`----

This is causing problems with machines that has "all" inside the
machine name.

Reported-by: Alexandru Palalau <ioan-alexandru.palalau@nxp.com>
(From OE-Core rev: 3e4ddeab65d4d2e4aaf03d442c2a1a8c7a2ce8a2)

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>
2018-01-29 08:49:50 +00:00
Andreas Müller
ea8ba1b6e6 librsvg-gtk package: add gdk-pixbuf-bin RRECOMMENDS
librsvg-gtk installs /usr/share/thumbnailers/librsvg.thumbnailer which contains
TryExec and Exec for gdk-pixbuf-thumbnailer which is installed by
gdk-pixbuf-bin.

Fixes the following message in systemd-journal:

raspberrypi3 org.freedesktop.thumbnails.Thumbnailer1[494]: Registered thumbailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
raspberrypi3 org.freedesktop.thumbnails.Thumbnailer1[494]: error: The metadata does not have a thumbnail property
raspberrypi3 org.freedesktop.thumbnails.Thumbnailer1[494]: error: The metadata does not have a thumbnail property

(From OE-Core rev: 661dd7460b47f9feafe08c8bb4a328caa7fe052e)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:50 +00:00
Maxin B. John
e833680d10 screen: upgrade to version 4.6.2
4.6.1 -> 4.6.2

As suggested by AUH

(From OE-Core rev: d58a1738ec60f3ebbaf7d8b46d7a4f80c3a2acab)

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>
2018-01-29 08:49:50 +00:00
Maxin B. John
ad67bd45ab pango: upgrade to version 1.40.14
Upgrading to stable version 1.40.14

(From OE-Core rev: 67f21494fa62f0dee2e77281dc07483b64697d32)

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>
2018-01-29 08:49:49 +00:00
Maxin B. John
a5a7659ab3 libsoup-2.4: upgrade to version 2.60.3
2.60.2 -> 2.60.3

(From OE-Core rev: 6e9734000c2299384cee05329ae63f0430fa6e2e)

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>
2018-01-29 08:49:49 +00:00
Nathan Rossi
b8bd1f7163 busybox.inc: Add sanity check to test if the suid binary provides sh
Add a sanity check during the do_compile task to fail if the suid
busybox provides /bin/sh. This is considered as a hard fail since not
only is providing sh as suid problematic for security reasons but also
because the sh configured for suid is less functional than the nosuid
configured sh and breaks a number of required features (e.g. 64-bit
test).

(From OE-Core rev: b64807549569817c8f1921a0aad52c815af90731)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:49 +00:00
Amanda Brindle
d48c2c6f38 oe-pkgdata-util: Include colon when searching for variables
When searching for variables, include colon to ensure the script doesn't
find a variable that starts with the same name.

(From OE-Core rev: 3d2c87c4f4115b01534ab198c27682c7e4c5f31f)

Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-29 08:49:49 +00:00
Richard Purdie
c391593402 gcc: Upgrade 7.2 -> 7.3
The static PIE patch was updated by Juro Bystricky <juro.bystricky@intel.com>
to work with gcc 7.3.

This update from the stable gcc 7 branch includes the retpoline
functionality which is useful to assist with recent security issues.

Two backported patches were dropped as they're included in 7.3.

(From OE-Core rev: a4c1ede6876ad6b84ab2b3bece14bf0afdc9d6b7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-27 13:15:28 +00:00
Bruce Ashfield
fa2fcaee97 linux-yocto/4.12: update to v4.12.19
Integrating the -stable update from Paul Gortmaker which comprises
the following commits:

   4aff9b16f4ba Linux 4.12.19
   28f16fcc84f9 Bluetooth: Prevent stack info leak from the EFS element.
   a430cb040780 loop: fix concurrent lo_open/lo_release
   4dd428f5965c net: ipv4: fix for a race condition in raw_sendmsg
   4428a99052e6 bpf: fix lockdep splat
   686f16d77fee bpf/verifier: Fix states_equal() comparison of pointer and UNKNOWN
   2c4577f1274b bpf: fix branch pruning logic
   d16a3b7b0642 bpf: reject out-of-bounds stack pointer calculation
   a1177b36876f x86/microcode/AMD: Add support for fam17h microcode loading
   19be0f0937af iommu/arm-smmu-v3: Cope with duplicated Stream IDs
   2e9834fd3352 iommu/arm-smmu-v3: Don't free page table ops twice
   1e67d5342bde KVM: X86: Fix load RFLAGS w/o the fixed bit
   b45b19d6e92d KVM: PPC: Book3S HV: Fix pending_pri value in kvmppc_xive_get_icp()
   ce4ad56d8b44 KVM: PPC: Book3S: fix XIVE migration of pending interrupts
   721f59a0bf4f KVM: arm/arm64: Fix HYP unmapping going off limits
   a7dbd1b73e6c arm64: kvm: Prevent restoring stale PMSCR_EL1 for vcpu
   3e4266c9ea63 KVM: arm/arm64: vgic-its: Preserve the revious read from the pending table
   c15b6348058e x86/asm: Use register variable to get stack pointer value
   19af84ace857 x86/asm: Fix inline asm call constraints for GCC 4.4
   78d54c1f3ac1 x86/asm: Fix inline asm call constraints for Clang
   9a6d78ff4fb7 arm64: prevent regressions in compressed kernel image size when upgrading to binutils 2.27
   3af55325636e mm: Handle 0 flags in _calc_vm_trans() macro
   f951c9e762b6 arm-ccn: perf: Prevent module unload while PMU is in use
   21bc2a95624c arm64: fix CONFIG_DEBUG_WX address reporting
   a2fb441f8cbd arm64: Initialise high_memory global variable earlier
   2b2e733345b0 kbuild: do not call cc-option before KBUILD_CFLAGS initialization
   4c67bceb55f4 jump_label: Invoke jump_label_test() via early_initcall()
   7cdf334210c3 ARM: BUG if jumping to usermode address in kernel mode
   77358b0b4d2f arm64: SW PAN: Update saved ttbr0 value on enter_lazy_tlb
   09bddb96452b arm64: SW PAN: Point saved ttbr0 at the zero page when switching to init_mm
   f451d0e885e1 arm64: fpsimd: Prevent registers leaking from dead tasks
   bf4bfcfd1780 KVM: arm/arm64: vgic-its: Check result of allocation before use
   bdd70c122339 KVM: arm/arm64: vgic: Preserve the revious read from the pending table
   6b99a8c8cdc0 KVM: arm/arm64: Fix broken GICH_ELRSR big endian conversion
   eadaba010c36 KVM: VMX: remove I/O port 0x80 bypass on Intel hosts
   b31b0eb03c2c arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one
   7c5a020deec8 arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one
   e1d48f51262e KVM: x86: fix APIC page invalidation
   4465b8b94411 x86/PCI: Make broadcom_postcore_init() check acpi_disabled
   74d50f1ac954 perf tools: Fix leaking rec_argv in error cases
   a8698071c4ba KVM: lapic: Fixup LDR on load in x2apic
   18db8c0cd612 KVM: lapic: Split out x2apic ldr calculation
   06e79931a082 KVM: x86: inject exceptions produced by x86_decode_insn
   1c7ccddc0a60 KVM: x86: Exit to user-mode on #UD intercept when emulator requires
   933a293d5925 KVM: x86: pvclock: Handle first-time write to pvclock-page contains random junk
   27a37b1b39b5 mm/madvise.c: fix madvise() infinite loop under special circumstances
   9a415da9c31c mm, hugetlbfs: introduce ->split() to vm_operations_struct
   ab1e80ae2b42 mm: fix device-dax pud write-faults triggered by get_user_pages()
   84392a1ffc54 mm/cma: fix alloc_contig_range ret code/potential leak
   390e49975c0c mm, thp: Do not make page table dirty unconditionally in touch_p[mu]d()
   c9d8192b4165 mm, oom_reaper: gather each vma to prevent leaking TLB entry
   557cc85757eb mm, memory_hotplug: do not back off draining pcp free pages from kworker context
   e7f78f55bdcb KVM: SVM: obey guest PAT
   eee1b36f5bd8 KVM: nVMX: set IDTR and GDTR limits when loading L1 host state
   eca2c0a4f6fd KVM: PPC: Book3S HV: Don't call real-mode XICS hypercall handlers if not enabled
   139c8678fb65 x86/decoder: Add new TEST instruction pattern
   f06e373ee93d RDS: Heap OOB write in rds_message_alloc_sgs()
   4f72d5339c6f RDS: null pointer dereference in rds_atomic_free_op
   3911496c7b54 net: Fix double free and memory corruption in get_net_ns_by_id()
   5c9f58b167bd MIPS: math-emu: do not use bools for arithmetic
   a756ea350c02 crypto: salsa20 - fix blkcipher_walk API usage
   632cfeb3cb42 crypto: hmac - require that the underlying hash algorithm is unkeyed
   fdd279fd5561 netlink: Add netns check on taps
   c142151947e9 dccp: CVE-2017-8824: use-after-free in DCCP code
   edd820b4ba76 media: hdpvr: Fix an error handling path in hdpvr_probe()
   aa0327d3dddc powerpc/tm: Add commandline option to disable hardware transactional memory

(From OE-Core rev: 222537d8dcf103d8dcce2df7e915594c480ef110)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-27 13:15:28 +00:00
Bruce Ashfield
1c325dd1dc linux-yocto/4.9: update to v4.9.78
Integrating the korg 4.9 -stable updates. These include patches for
Spectre and meltdown mitigation. The changelog follows:

   79584a422125 Linux 4.9.78
   60249fe9050b MIPS: AR7: ensure the port type's FCR value is used
   06d7342d8498 x86/retpoline: Optimize inline assembler for vmexit_fill_RSB
   b9f8b5935394 x86/pti: Document fix wrong index
   4b71be496642 kprobes/x86: Disable optimizing on the function jumps to indirect thunk
   36ad6ba501d6 kprobes/x86: Blacklist indirect thunk functions for kprobes
   09402d83395f retpoline: Introduce start/end markers of indirect thunk
   c5aa687060a8 x86/mce: Make machine check speculation protected
   87ac29717de8 usbip: fix warning in vhci_hcd_probe/lockdep_init_map
   0d92cf7f29e6 x86/cpu, x86/pti: Do not enable PTI on AMD processors
   ddfaa7acd7a2 arm64: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls
   2904adc5b1c0 dm thin metadata: THIN_MAX_CONCURRENT_LOCKS should be 6
   cabf6294a6dc dm btree: fix serious bug in btree_split_beneath()
   ca2d73686720 workqueue: avoid hard lockups in show_workqueue_state()
   d314f3bc7f3d libata: apply MAX_SEC_1024 to all LITEON EP1 series devices
   8a3f4baaa4c3 proc: fix coredump vs read /proc/*/stat race
   43c3e093c26d scripts/gdb/linux/tasks.py: fix get_thread_info
   23d68eddd857 can: peak: fix potential bug in packet fragmentation
   19f47eafe10c ARM: dts: kirkwood: fix pin-muxing of MPP7 on OpenBlocks A7
   1f32f15ec73c ARM: sunxi_defconfig: Enable CMA
   969e2145eb4a phy: work around 'phys' references to usb-nop-xceiv devices
   9a50ea0ce7cc tracing: Fix converting enum's from the map in trace_event_eval_update()
   cb513d1414f9 Input: twl4030-vibra - fix sibling-node lookup
   eaabab6468b3 Input: twl6040-vibra - fix child-node lookup
   9be13b3357e1 Input: 88pm860x-ts - fix child-node lookup
   607b86e17352 Input: ALPS - fix multi-touch decoding on SS4 plus touchpads
   9792f9b483cd perf tools: Fix build with ARCH=x86_64
   c557481a9491 x86/apic/vector: Fix off by one in error path
   5b13f593565f pipe: avoid round_pipe_size() nr_pages overflow on 32-bit
   02802dfc82a2 x86/tsc: Fix erroneous TSC rate on Skylake Xeon
   5ab44e8f0f0d x86/mm/pkeys: Fix fill_sig_info_pkey
   eee0cba7b02f module: Add retpoline tag to VERMAGIC
   a96cf98dda3f x86/cpufeature: Move processor tracing out of scattered features
   13ccac5de853 objtool: Improve error message for bad file argument
   b73d68788f79 x86/retpoline: Add LFENCE to the retpoline/RSB filling RSB macros
   abf67b1e7881 x86/retpoline: Fill RSB on context switch for affected CPUs
   1ad4f2872c3b sched/deadline: Zero out positive runtime after throttling constrained tasks
   997231f9fd7a scsi: hpsa: fix volume offline state
   d303d0ca9afb iser-target: Fix possible use-after-free in connection establishment error
   0476e6d0b752 af_key: fix buffer overread in parse_exthdrs()
   e4dc05ab8f5a af_key: fix buffer overread in verify_address_len()
   676109b28cad timers: Unconditionally check deferrable base
   4b6e681f5952 ALSA: hda - Apply the existing quirk to iMac 14,1
   fae704d5bd29 ALSA: hda - Apply headphone noise quirk for another Dell XPS 13 variant
   b9e168a0c629 ALSA: pcm: Remove yet superfluous WARN_ON()
   e4ff9f294629 ALSA: seq: Make ioctls race-free
   d8a3170db0de futex: Prevent overflow by strengthen input validation
   bb7119eea22c scsi: sg: disable SET_FORCE_LOW_DMA
   c9ca9d9d9b79 libnvdimm, btt: Fix an incompatibility in the log layout
   b8cf9ff79d63 Linux 4.9.77
   1b92c48a2eeb x86/pti/efi: broken conversion from efi to kernel page table
   92e8f2049474 objtool: Fix retpoline support for pre-ORC objtool
   44f1eae7fe65 x86/retpoline: Remove compile time warning
   c05d544d5343 selftests/x86: Add test_vsyscall
   c1ddd99a0296 x86/retpoline: Fill return stack buffer on vmexit
   276e30044710 x86/retpoline/irq32: Convert assembler indirect jumps
   a590960ae6ea x86/retpoline/checksum32: Convert assembler indirect jumps
   87a1fe36250d x86/retpoline/xen: Convert Xen hypercall indirect jumps
   9e37da4c3de1 x86/retpoline/hyperv: Convert assembler indirect jumps
   83d7658362cc x86/retpoline/ftrace: Convert ftrace assembler indirect jumps
   8b1bacc3218c x86/retpoline/entry: Convert entry assembler indirect jumps
   2adc2f74449f x86/retpoline/crypto: Convert crypto assembler indirect jumps
   8f96937ee304 x86/spectre: Add boot time option to select Spectre v2 mitigation
   2bb5de42f254 x86/retpoline: Add initial retpoline support
   4bf050da57d9 x86/asm: Use register variable to get stack pointer value
   4d8bd3e2f6b1 objtool: Allow alternatives to be ignored
   3adb52ab2976 objtool: Detect jumps to retpoline thunks
   35aee626fa63 objtool, modules: Discard objtool annotation sections for modules
   00bcb5ada638 x86/mm/32: Move setup_clear_cpu_cap(X86_FEATURE_PCID) earlier
   91b7e5cdc80a x86/alternatives: Add missing '\n' at end of ALTERNATIVE inline asm
   194dc04770f5 x86/alternatives: Fix optimize_nops() checking
   5ddd318a4715 sysfs/cpu: Fix typos in vulnerability documentation
   9c5e750c8e84 x86/cpu/AMD: Use LFENCE_RDTSC in preference to MFENCE_RDTSC
   abcc3e5f0079 x86/cpu/AMD: Make LFENCE a serializing instruction
   45a98824bd79 x86/cpu: Implement CPU vulnerabilites sysfs functions
   11ec2df9c020 sysfs/cpu: Add vulnerability folder
   56eff367e071 x86/cpu: Merge bugs.c and bugs_64.c
   26323fb4d717 x86/cpufeatures: Add X86_BUG_SPECTRE_V[12]
   43fe95308d27 x86/pti: Rename BUG_CPU_INSECURE to BUG_CPU_MELTDOWN
   d88f601b9ac9 x86/cpufeatures: Add X86_BUG_CPU_INSECURE
   c2cacde516a4 x86/cpufeatures: Make CPU bugs sticky
   ef463981018e x86/cpu: Factor out application of forced CPU caps
   4e6c2af2ba93 x86/Documentation: Add PTI description
   d598347989aa e1000e: Fix e1000_check_for_copper_link_ich8lan return value.
   3ba5d3a2cf40 uas: ignore UAS for Norelsys NS1068(X) chips
   6aebc2670ebf Bluetooth: Prevent stack info leak from the EFS element.
   c51d23dffc2e staging: android: ashmem: fix a race condition in ASHMEM_SET_SIZE ioctl
   8ab8c6e6607a usbip: vudc_tx: fix v_send_ret_submit() vulnerability to null xfer buffer
   86c8d58fc753 usbip: fix vudc_rx: harden CMD_SUBMIT path to handle malicious input
   6851ec74bfe4 usbip: remove kernel addresses from usb device and urb debug msgs
   435db24bb91f USB: fix usbmon BUG trigger
   9f6ca0ea7a7a usb: misc: usb3503: make sure reset is low for at least 100us
   11632d079e9e USB: serial: cp210x: add new device ID ELV ALC 8xxx
   4abe275c2dee USB: serial: cp210x: add IDs for LifeScan OneTouch Verio IQ
   820ef2a0e54c bpf, array: fix overflow in max_entries and undefined behavior in index_mask
   a9bfac14cde2 bpf: prevent out-of-bounds speculation
   f55093dccd3a bpf: refactor fixup_bpf_calls()
   28035366afe9 bpf: move fixup_bpf_calls() function
   60c7a9cd5050 target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK
   748e1b6281f5 iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref
   ec61bafb2abd kaiser: Set _PAGE_NX only if supported
   08a752581104 drm/vmwgfx: Potential off by one in vmw_view_add()
   012df71d2980 KVM: x86: Add memory barrier on vmcs field lookup
   431fd501aa3f x86/microcode/intel: Extend BDW late-loading with a revision check
   553a8b8c8d87 rbd: set max_segments to USHRT_MAX
   3752d2fb9a6d crypto: algapi - fix NULL dereference in crypto_remove_spawns()
   b28394cbb402 net/sched: Fix update of lastuse in act modules implementing stats_update
   e2b825e8de16 mlxsw: spectrum_router: Fix NULL pointer deref
   16d5b481d098 ethtool: do not print warning for applications using legacy API
   dde00c92245d ipv6: fix possible mem leaks in ipv6_make_skb()
   6f237183c7ca net: stmmac: enable EEE in MII, GMII or RGMII only
   7f4226ffcba0 sh_eth: fix SH7757 GEther initialization
   eb2f80e099d4 sh_eth: fix TSU resource handling
   ce31b6ac1111 RDS: null pointer dereference in rds_atomic_free_op
   cebb382931c4 RDS: Heap OOB write in rds_message_alloc_sgs()
   61196a67cac4 net: core: fix module type in sock_diag_bind
   ca5681b723d3 ip6_tunnel: disable dst caching if tunnel is dual-stack
   fe71f34fbf83 8021q: fix a memory leak for VLAN 0 device
   66bb6c2c4445 xhci: Fix ring leak in failure path of xhci_alloc_virt_device()
   135f98084eac cx82310_eth: use skb_cow_head() to deal with cloned skbs
   7c5015409bef smsc75xx: use skb_cow_head() to deal with cloned skbs
   ab4fd7a2ddc5 sr9700: use skb_cow_head() to deal with cloned skbs
   542bcc549379 lan78xx: use skb_cow_head() to deal with cloned skbs
   1ecdfc1ee99d zswap: don't param_set_charp while holding spinlock
   5c1b80f674e9 x86/acpi: Reduce code duplication in mp_override_legacy_irq()
   43ff00f87377 ALSA: aloop: Fix racy hw constraints adjustment
   5af666d0ddb7 ALSA: aloop: Fix inconsistent format due to incomplete rule
   01046dd834ac ALSA: aloop: Release cable upon open error path
   bee3f2d5c02a ALSA: pcm: Allow aborting mutex lock at OSS read/write loops
   3a00564cb49f ALSA: pcm: Abort properly at pending signal in OSS read/write loops
   8e81425e80c9 ALSA: pcm: Add missing error checks in OSS emulation plugin builder
   83da0245eda2 ALSA: pcm: Remove incorrect snd_BUG_ON() usages
   0199927a8e51 x86/acpi: Handle SCI interrupts above legacy space gracefully
   64ab063b7193 platform/x86: wmi: Call acpi_wmi_init() later
   491c0ca3dbd5 kvm: vmx: Scrub hardware GPRs at VM-exit
   78c00f597ba8 MIPS: Disallow outsized PTRACE_SETREGSET NT_PRFPREG regset accesses
   1f4cff1c364b MIPS: Also verify sizeof `elf_fpreg_t' with PTRACE_SETREGSET
   cfc5c63a38ca MIPS: Fix an FCSR access API regression with NT_PRFPREG and MSA
   f616180a8720 MIPS: Consistently handle buffer counter with PTRACE_SETREGSET
   5b593a81fddd MIPS: Guard against any partial write attempt with PTRACE_SETREGSET
   8eb5655aacdd MIPS: Factor out NT_PRFPREG regset access helpers
   14e1c579acba MIPS: Validate PR_SET_FP_MODE prctl(2) requests against the ABI of the task
   30191718645d IB/srpt: Disable RDMA access by the initiator
   02f201f78fb9 can: gs_usb: fix return value of the "set_bittiming" callback
   c781e3be97a1 KVM: Fix stack-out-of-bounds read in write_mmio
   c5ab9ee144d8 ath10k: rebuild crypto header in rx data frames
   234c8e60437d mac80211: Add RX flag to indicate ICV stripped
   b58aa24edb62 dm bufio: fix shrinker scans when (nr_to_scan < retain_target)
   7bbc6ca48877 Linux 4.9.76
   5e1f377fc810 mtd: nand: pxa3xx: Fix READOOB implementation
   beca4e2d9944 Map the vsyscall page with _PAGE_USER
   47f3cea393ab x86/tlb: Drop the _GPL from the cpu_tlbstate export
   91dfc41e753b parisc: qemu idle sleep support
   14c06206b98f parisc: Fix alignment of pa_tlb_lock in assembly on 32-bit SMP kernel
   dd43c465ba24 x86/microcode/AMD: Add support for fam17h microcode loading
   2b009d33f427 Input: elantech - add new icbody type 15
   cc1349fa9c22 ARC: uaccess: dont use "l" gcc inline asm constraint modifier
   e6a897a684c2 iommu/arm-smmu-v3: Cope with duplicated Stream IDs
   03975faee7ce iommu/arm-smmu-v3: Don't free page table ops twice
   4d53eb494950 kernel/signal.c: remove the no longer needed SIGNAL_UNKILLABLE check in complete_signal()
   794ac8ef9b06 kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel_only() signals
   1453b3ac6cf8 kernel/signal.c: protect the traced SIGNAL_UNKILLABLE tasks from SIGKILL
   79258d983480 kernel: make groups_sort calling a responsibility group_info allocators
   3a381abc5b70 nbd: fix use-after-free of rq/bio in the xmit path
   2b9b2002e05d fscache: Fix the default for fscache_maybe_release_page()
   34fa2eede095 sunxi-rsb: Include OF based modalias in device uevent
   c195a4c0230d crypto: pcrypt - fix freeing pcrypt instances
   868f50b95dbe crypto: chacha20poly1305 - validate the digest size
   f6db86f31b47 crypto: n2 - cure use after free
   790080ce0e32 kernel/acct.c: fix the acct->needcheck check in check_free_space()
   9f74755895f9 Linux 4.9.75
   92fd81f77267 kaiser: Set _PAGE_NX only if supported
   ea6cd39d230f KPTI: Report when enabled
   e71fac01727a KPTI: Rename to PAGE_TABLE_ISOLATION
   59094faf3f61 x86/kaiser: Move feature detection up
   402e63de94af kaiser: disabled on Xen PV
   2c2721754a7f x86/kaiser: Reenable PARAVIRT
   1817d2c2fac1 x86/paravirt: Dont patch flush_tlb_single
   fe5cb75fd2dd kaiser: kaiser_flush_tlb_on_return_to_user() check PCID
   b72c26e911c5 kaiser: asm/tlbflush.h handle noPGE at lower level
   8c2f8a5cc15b kaiser: drop is_atomic arg to kaiser_pagetable_walk()
   169b369f99af kaiser: use ALTERNATIVE instead of x86_cr3_pcid_noflush
   8018307a45a9 x86/kaiser: Check boottime cmdline params
   50624dd12d6d x86/kaiser: Rename and simplify X86_FEATURE_KAISER handling
   23e09439aa46 kaiser: add "nokaiser" boot option, using ALTERNATIVE
   cb7d8d7e6737 kaiser: fix unlikely error in alloc_ldt_struct()
   3df146178706 kaiser: kaiser_remove_mapping() move along the pgd
   05ddad146d02 kaiser: paranoid_entry pass cr3 need to paranoid_exit
   d0142ceb7926 kaiser: x86_cr3_pcid_noflush and x86_cr3_pcid_user
   6a2b4117614c kaiser: PCID 0 for kernel and 128 for user
   0b5ca9d99599 kaiser: load_new_mm_cr3() let SWITCH_USER_CR3 flush user
   2684b12a169e kaiser: enhanced by kernel and user PCIDs
   1972bb9d9206 kaiser: vmstat show NR_KAISERTABLE as nr_overhead
   1ce27de4011e kaiser: delete KAISER_REAL_SWITCH option
   c27cdea56c54 kaiser: name that 0x1000 KAISER_SHADOW_PGD_OFFSET
   61b7a404fa13 kaiser: cleanups while trying for gold link
   604db4961085 kaiser: align addition to x86/mm/Makefile
   be6bf01f4caa kaiser: tidied up kaiser_add/remove_mapping slightly
   67fab0d4acb3 kaiser: tidied up asm/kaiser.h somewhat
   f43f386f0bf0 kaiser: ENOMEM if kaiser_pagetable_walk() NULL
   f881e626849c kaiser: fix perf crashes
   19377944317f kaiser: fix regs to do_nmi() ifndef CONFIG_KAISER
   639c005daeeb kaiser: KAISER depends on SMP
   7a92e20d157f kaiser: fix build and FIXME in alloc_ldt_struct()
   0994a2cf8fe4 kaiser: stack map PAGE_SIZE at THREAD_SIZE-PAGE_SIZE
   ac2f1018ac21 kaiser: do not set _PAGE_NX on pgd_none
   8f0baadf2bea kaiser: merged update
   13be4483bb48 KAISER: Kernel Address Isolation
   b5fd58e997cf x86/boot: Add early cmdline parsing for options with arguments
   8824b2d7abfb tcp_bbr: reset long-term bandwidth sampling on loss recovery undo
   61c51da2b4bd tcp_bbr: reset full pipe detection on loss recovery undo
   07bcb2489b96 Linux 4.9.74
   181a832c2e26 mm/vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP
   d76dabb5af06 tty: fix tty_ldisc_receive_buf() documentation
   00fc57ae06c3 n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD)
   404ae546c7d1 x86/smpboot: Remove stale TLB flush invocations
   e8119ac05d71 nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick()
   249d4a9b3246 timers: Reinitialize per cpu bases on hotplug
   574e543ff970 timers: Invoke timer_start_debug() where it makes sense
   d840687aa8a3 timers: Use deferrable base independent of base::nohz_active
   09d3e69305b3 usb: xhci: Add XHCI_TRUST_TX_LENGTH for Renesas uPD720201
   ab1fbfecd330 USB: Fix off by one in type-specific length check of BOS SSP capability
   425d2f15338d usb: add RESET_RESUME for ELSA MicroLink 56K
   0f2e9cbc231c usb: Add device quirk for Logitech HD Pro Webcam C925e
   d98f4d4d0283 USB: serial: option: adding support for YUGA CLM920-NC5
   192cdf5ecaf8 USB: serial: option: add support for Telit ME910 PID 0x1101
   6ab3d87ad702 USB: serial: qcserial: add Sierra Wireless EM7565
   0af1aebb6a8b USB: serial: ftdi_sio: add id for Airbus DS P8GR
   03dce0573d38 usbip: vhci: stop printing kernel pointer addresses in messages
   9e9f4255c0d3 usbip: stub: stop printing kernel pointer addresses in messages
   1ef5c433b3b9 usbip: prevent leaking socket pointer address in messages
   3c579d0b4f0f usbip: fix usbip bind writing random string after command in match_busid
   67b539cab43c s390/qeth: update takeover IPs after configuration change
   476d7d693295 s390/qeth: lock IP table while applying takeover changes
   475018c79742 s390/qeth: don't apply takeover changes to RXIP
   6ed7c48e93bb s390/qeth: apply takeover changes when mode is toggled
   7493d98ea84c net/mlx5: Fix error flow in CREATE_QP command
   c844a4589487 net/mlx5e: Prevent possible races in VXLAN control flow
   604225824f06 net/mlx5e: Add refcount to VXLAN structure
   d1614fd9cd10 net/mlx5e: Fix possible deadlock of VXLAN lock
   9424a79ec11d net/mlx5e: Fix features check of IPv6 traffic
   138723912343 net/mlx5: Fix rate limit packet pacing naming and struct
   e74fe7268e7e tcp: invalidate rate samples during SACK reneging
   58f6ebbd3424 sock: free skb in skb_complete_tx_timestamp on error
   a746fadd5e31 net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround
   03c93293a83a net: Fix double free and memory corruption in get_net_ns_by_id()
   8c38f3190fd6 net: fec: Allow reception of frames bigger than 1522 bytes
   243adaa4eaea net: bridge: fix early call to br_stp_change_bridge_id and plug newlink leaks
   e4f669802775 ipv4: Fix use-after-free when flushing FIB tables
   e51abae8458a adding missing rcu_read_unlock in ipxip6_rcv
   ae67e5486b97 sctp: Replace use of sockets_allocated with specified macro.
   99cf2daf0da3 net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case
   f75f910ffa90 net: ipv4: fix for a race condition in raw_sendmsg
   484369ff9715 tg3: Fix rx hang on MTU change with 5717/5719
   7887a700ce61 tcp md5sig: Use skb's saddr when replying to an incoming segment
   a4bf8efd2bcb tcp_bbr: record "full bw reached" decision in new full_bw_reached bit
   53288d82188b RDS: Check cmsg_len before dereferencing CMSG_DATA
   8b032bde2899 ptr_ring: add barriers
   b3b56038bab0 net: reevalulate autoflowlabel setting after sysctl setting
   8baa58c5d536 net: qmi_wwan: add Sierra EM7565 1199:9091
   0b18782288a2 netlink: Add netns check on taps
   2c1a0b2e2bac net: igmp: Use correct source address on IGMPv3 reports
   930882f8b831 net: fec: unmap the xmit buffer that are not transferred by DMA
   f6d7cdbb0285 ipv6: mcast: better catch silly mtu values
   c2f78bf8ca3a ipv4: igmp: guard against silly MTU values
   b929ccccbc8c kbuild: add '-fno-stack-check' to kernel build options
   04bdf71d9f74 x86/mm/64: Fix reboot interaction with CR4.PCIDE
   b52f937eccd4 x86/mm: Enable CR4.PCIDE on supported systems
   e6a29320de00 x86/mm: Add the 'nopcid' boot option to turn off PCID
   1e7f3d8875ee x86/mm: Disable PCID on 32-bit kernels
   3e5daacf6517 x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) SMP code
   a94af050080f x86/mm: Reimplement flush_tlb_page() using flush_tlb_mm_range()
   113980c002eb x86/mm: Make flush_tlb_mm_range() more predictable
   219acedb061c x86/mm: Remove flush_tlb() and flush_tlb_current_task()
   72b812d5b874 x86/vm86/32: Switch to flush_tlb_mm_range() in mark_screen_rdonly()
   65ca46e5fe12 ALSA: hda - fix headset mic detection issue on a Dell machine
   a1dbcd823a30 ALSA: hda: Drop useless WARN_ON()
   d30d1761bc43 ASoC: tlv320aic31xx: Fix GPIO1 register definition
   b04640a450d3 ASoC: twl4030: fix child-node lookup
   00add00ed2c0 ASoC: fsl_ssi: AC'97 ops need regmap, clock and cleaning up on failure
   35f87d45cba3 ASoC: da7218: fix fix child-node lookup
   125e81b5afcb ASoC: wm_adsp: Fix validation of firmware and coeff lengths
   72d5e020c0ef iw_cxgb4: Only validate the MSN for successful completions
   2e0d458c315a ring-buffer: Mask out the info bits when returning buffer page length
   81e155e7b023 tracing: Fix crash when it fails to alloc ring buffer
   5dc4cd2688e3 tracing: Fix possible double free on failure of allocating trace buffer
   6edea15d120c tracing: Remove extra zeroing out of the ring buffer page
   3d16a1315add sync objtool's copy of x86-opcode-map.txt
   b3e88217e2f9 Linux 4.9.73
   37435f7e80ef bpf/verifier: Fix states_equal() comparison of pointer and UNKNOWN
   69cf72b28791 net: mvneta: eliminate wrong call to handle rx descriptor error
   a57f99f484e5 net: mvneta: use proper rxq_number in loop on rx queues
   405f3d7946fd net: mvneta: clear interface link status on port disable
   423716cf2815 libnvdimm, pfn: fix start_pad handling for aligned namespaces
   77b318a4e558 powerpc/perf: Dereference BHRB entries safely
   2635a64d0e94 clk: sunxi: sun9i-mmc: Implement reset callback for reset controls
   18276e9bcd49 kvm: x86: fix RSM when PCID is non-zero
   e5c73b3b60e1 KVM: X86: Fix load RFLAGS w/o the fixed bit
   418dfce4fa63 pinctrl: cherryview: Mask all interrupts on Intel_Strago based systems
   cb8b2fd1909e spi: xilinx: Detect stall with Unknown commands
   373386ec3f70 parisc: Hide Diva-built-in serial aux and graphics card
   10b4a621f367 PCI / PM: Force devices to D0 in pci_pm_thaw_noirq()
   3176065495e1 ALSA: usb-audio: Fix the missing ctl name suffix at parsing SU
   beab14a3eeb8 ALSA: usb-audio: Add native DSD support for Esoteric D-05X
   cec92448c58e ALSA: rawmidi: Avoid racy info ioctl via ctl device
   becf7d87cda9 mfd: twl6040: Fix child-node lookup
   f4c0796fdc8b mfd: twl4030-audio: Fix sibling-node lookup
   2db85cb211d0 mfd: cros ec: spi: Don't send first message too soon
   e81cff1cedef crypto: mcryptd - protect the per-CPU queue with a lock
   d31a207aaf07 acpi, nfit: fix health event notification
   54c74d38819d ACPI: APEI / ERST: Fix missing error handling in erst_reader()
   2df397931072 Linux 4.9.72
   6430e166aee8 sparc32: Export vac_cache_size to fix build error
   3695b3b18519 bpf: fix incorrect sign extension in check_alu_op()
   d75d3ee237ce bpf: reject out-of-bounds stack pointer calculation
   7b5b73ea87a0 bpf: fix branch pruning logic
   565f012f5abb bpf: adjust insn_aux_data when patching insns
   3b6c84bc6449 Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"
   dbeb719e24c3 platform/x86: asus-wireless: send an EV_SYN/SYN_REPORT between state changes
   00ecb4b1a599 MIPS: math-emu: Fix final emulation phase for certain instructions
   3cff90788e28 thermal/drivers/hisi: Fix multiple alarm interrupts firing
   1b2c46a6be45 thermal/drivers/hisi: Simplify the temperature/step computation
   2dac559df962 thermal/drivers/hisi: Fix kernel panic on alarm interrupt
   b679b8d7bad0 thermal/drivers/hisi: Fix missing interrupt enablement
   82bf76afa8af thermal: hisilicon: Handle return value of clk_prepare_enable
   b86c7b8c5dfb cpuidle: fix broadcast control when broadcast can not be entered
   15319d2a49ca rtc: set the alarm to the next expiring timer
   acc96729e1d8 tcp: fix under-evaluated ssthresh in TCP Vegas
   5859027994f9 clk: sunxi-ng: sun6i: Rename HDMI DDC clock to avoid name collision
   bb0618ac2302 staging: greybus: light: Release memory obtained by kasprintf
   4bf42a2ec12a net: ipv6: send NS for DAD when link operationally up
   52d0a601aec4 fm10k: ensure we process SM mbx when processing VF mbx
   76d83bfc1158 vfio/pci: Virtualize Maximum Payload Size
   de5a4c816d31 scsi: lpfc: PLOGI failures during NPIV testing
   b438d2f7e23c scsi: lpfc: Fix secure firmware updates
   fc9d6386a9a3 fm10k: fix mis-ordered parameters in declaration for .ndo_set_vf_bw
   bd0feaac155f ASoC: img-parallel-out: Add pm_runtime_get/put to set_fmt callback
   6af9b18a2e48 tracing: Exclude 'generic fields' from histograms
   fbb2d72a54c6 PCI/AER: Report non-fatal errors only to the affected endpoint
   1d4b32bee9c7 IB/rxe: check for allocation failure on elem
   2141182852b8 ixgbe: fix use of uninitialized padding
   700053c8733e igb: check memory allocation failure
   c236525bae02 PM / OPP: Move error message to debug level
   164a941c031b PCI: Create SR-IOV virtfn/physfn links before attaching driver
   b40eeea31afd scsi: mpt3sas: Fix IO error occurs on pulling out a drive from RAID1 volume created on two SATA drive
   fd1d9dccc01d scsi: cxgb4i: fix Tx skb leak
   241833a3a90d PCI: Avoid bus reset if bridge itself is broken
   d3469e616668 net: phy: at803x: Change error to EINVAL for invalid MAC
   206e1621ba72 kvm, mm: account kvm related kmem slabs to kmemcg
   bdb33bb5e2ce rtc: pl031: make interrupt optional
   1525e330d646 crypto: crypto4xx - increase context and scatter ring buffer elements
   291c7e488f64 backlight: pwm_bl: Fix overflow condition
   d14718c9f434 bnxt_en: Fix NULL pointer dereference in reopen failure path
   9e1771368a98 cpuidle: powernv: Pass correct drv->cpumask for registration
   5460e4672b81 ARM: dma-mapping: disallow dma_get_sgtable() for non-kernel managed memory
   9c1433b5dd2b Btrfs: fix an integer overflow check
   0708a476810d netfilter: nfnetlink_queue: fix secctx memory leak
   54420c1ac421 xhci: plat: Register shutdown for xhci_plat
   55b6a5d080aa net: moxa: fix TX overrun memory leak
   ce19146a0de0 isdn: kcapi: avoid uninitialized data
   bb011a451387 virtio_balloon: prevent uninitialized variable use
   c6f9090929dc virtio-balloon: use actual number of stats for stats queue buffers
   808ed3bd9d42 KVM: pci-assign: do not map smm memory slot pages in vt-d page tables
   29c4f517ff5b net: ipconfig: fix ic_close_devs() use-after-free
   e9a1ba292fff cpufreq: Fix creation of symbolic links to policy directories
   e0d13153057e ARM: dts: am335x-evmsk: adjust mmc2 param to allow suspend
   b5ed572a1b7d netfilter: nf_nat_snmp: Fix panic when snmp_trap_helper fails to register
   01060acf6aab netfilter: nfnl_cthelper: fix a race when walk the nf_ct_helper_hash table
   9e6398184a4d irda: vlsi_ir: fix check for DMA mapping errors
   37f41dac70ca RDMA/iser: Fix possible mr leak on device removal event
   661f5348696a i40e: Do not enable NAPI on q_vectors that have no rings
   2eb783a705b0 IB/rxe: increment msn only when completing a request
   2f0e39f2e3d7 IB/rxe: double free on error
   7f077afe94d9 net: Do not allow negative values for busy_read and busy_poll sysctl interfaces
   521a7e3dad6b nbd: set queue timeout properly
   f4fcc56632cf infiniband: Fix alignment of mmap cookies to support VIPT caching
   cd083d5bcafd IB/core: Protect against self-requeue of a cq work item
   26452a5033dc i40iw: Receive netdev events post INET_NOTIFIER state
   102a8a163449 bna: avoid writing uninitialized data into hw registers
   51533c4bf144 s390/qeth: no ETH header for outbound AF_IUCV
   118b0404d68d s390/qeth: size calculation outbound buffers
   60d59823046a r8152: prevent the driver from transmitting packets with carrier off
   b89e229112c0 ASoC: STI: Fix reader substream pointer set
   347848e0bb99 HID: xinmo: fix for out of range for THT 2P arcade controller.
   afa055f2a1d0 hwmon: (asus_atk0110) fix uninitialized data access
   5700ffc4accb ARM: dts: ti: fix PCI bus dtc warnings
   2df19698db73 KVM: VMX: Fix enable VPID conditions
   e0249c023448 KVM: x86: correct async page present tracepoint
   8386ff5203e0 kvm: vmx: Flush TLB when the APIC-access address changes
   3bd2017b6a20 scsi: lpfc: Fix PT2PT PRLI reject
   0f4aa1f0f576 pinctrl: st: add irq_request/release_resources callbacks
   7656871eff6a inet: frag: release spinlock before calling icmp_send()
   e6e8067ec34a tipc: fix nametbl deadlock at tipc_nametbl_unsubscribe
   bfb38fbd868d r8152: fix the rx early size of RTL8153
   7171aa2680b2 iommu/exynos: Workaround FLPD cache flush issues for SYSMMU v5
   0f0ac218057f netfilter: nfnl_cthelper: Fix memory leak
   ec38fb443a09 netfilter: nfnl_cthelper: fix runtime expectation policy updates
   02197d86c56d usb: gadget: udc: remove pointer dereference after free
   2b943bed33e7 usb: gadget: f_uvc: Sanity check wMaxPacketSize for SuperSpeed
   2101ccbc2a91 hwmon: (max31790) Set correct PWM value
   4ee082a72731 net: qmi_wwan: Add USB IDs for MDM6600 modem on Motorola Droid 4
   9ed8f0fabae5 sctp: out_qlen should be updated when pruning unsent queue
   b4cf187a1bc5 bna: integer overflow bug in debugfs
   b3f662ccd367 sch_dsmark: fix invalid skb_cow() usage
   98d20e590266 vsock: cancel packets when failing to connect
   482b3f92aea2 vhost-vsock: add pkt cancel capability
   6f1848e778d9 vsock: track pkt owner vsock
   7ff28d3307b6 crypto: deadlock between crypto_alg_sem/rtnl_mutex/genl_mutex
   ddfc9f75993e r8152: fix the list rx_done may be used without initialization
   9712b2b73d7c cpuidle: Validate cpu_dev in cpuidle_add_sysfs()
   8f21b63c9dcf nvme-loop: handle cpu unplug when re-establishing the controller
   c9bbd2727d1e arm: kprobes: Align stack to 8-bytes in test code
   d0ee8d5b86b8 arm: kprobes: Fix the return address of multiple kretprobes
   6e2a6941fa4b HID: corsair: Add driver Scimitar Pro RGB gaming mouse 1b1c:1b3e support to hid-corsair
   e93ea3a50cc6 HID: corsair: support for K65-K70 Rapidfire and Scimitar Pro RGB
   2a7eee3d72b0 kvm: fix usage of uninit spinlock in avic_vm_destroy()
   2d9a34c064ad ALSA: hda - add support for docking station for HP 840 G3
   52c3323e4141 ALSA: hda - add support for docking station for HP 820 G2
   bb95f1caee61 arm64: Initialise high_memory global variable earlier
   76fcdc8cbbce cxl: Check if vphb exists before iterating over AFU devices

(From OE-Core rev: 01b6f1a2245ccb99835e643b73b2a62a5cf16cf9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-27 13:15:28 +00:00
Bruce Ashfield
0d3db81f22 linux-yocto/4.4: update to v4.4.113
Integrating the korg 4.4 -stable releases up to 113. These include
Spectre and Meltdown mitigation patches. Changelog follows:

   f0d0a93b0e81 Linux 4.4.113
   38bc402237f8 MIPS: AR7: ensure the port type's FCR value is used
   11e619414b69 x86/retpoline: Optimize inline assembler for vmexit_fill_RSB
   58f96ac5dba6 x86/pti: Document fix wrong index
   6cb73eb80451 kprobes/x86: Disable optimizing on the function jumps to indirect thunk
   9b8bd0d35868 kprobes/x86: Blacklist indirect thunk functions for kprobes
   799dc737680a retpoline: Introduce start/end markers of indirect thunk
   f59e7ce17ba3 x86/mce: Make machine check speculation protected
   ff535919c136 kbuild: modversions for EXPORT_SYMBOL() for asm
   6b1c99e275c0 x86/cpu, x86/pti: Do not enable PTI on AMD processors
   5ecd5c8388f0 arm64: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls
   7e7b086ef2fe dm thin metadata: THIN_MAX_CONCURRENT_LOCKS should be 6
   9c7755af771a dm btree: fix serious bug in btree_split_beneath()
   b7bd013a3fe0 libata: apply MAX_SEC_1024 to all LITEON EP1 series devices
   082dfe6141f3 can: peak: fix potential bug in packet fragmentation
   2d5523bf47b4 ARM: dts: kirkwood: fix pin-muxing of MPP7 on OpenBlocks A7
   d5276c013713 phy: work around 'phys' references to usb-nop-xceiv devices
   cf3625004e6c tracing: Fix converting enum's from the map in trace_event_eval_update()
   b6306f3fdcaa Input: twl4030-vibra - fix sibling-node lookup
   a89e1ac9b0da Input: twl6040-vibra - fix child-node lookup
   8e70d4862271 Input: twl6040-vibra - fix DT node memory management
   47970b4ea09c Input: 88pm860x-ts - fix child-node lookup
   7fd133539289 x86/apic/vector: Fix off by one in error path
   aa041f13f8c6 pipe: avoid round_pipe_size() nr_pages overflow on 32-bit
   1782af2835fe module: Add retpoline tag to VERMAGIC
   fba063e6dfb4 x86/retpoline: Add LFENCE to the retpoline/RSB filling RSB macros
   8bd58b61d2fa sched/deadline: Zero out positive runtime after throttling constrained tasks
   ec7a002d7796 scsi: hpsa: fix volume offline state
   b78f2d36e737 af_key: fix buffer overread in parse_exthdrs()
   48907f2535aa af_key: fix buffer overread in verify_address_len()
   478a7fa82ff7 ALSA: hda - Apply the existing quirk to iMac 14,1
   a4d7639d5fb6 ALSA: hda - Apply headphone noise quirk for another Dell XPS 13 variant
   80547bb6154d ALSA: pcm: Remove yet superfluous WARN_ON()
   58c82be944f5 futex: Prevent overflow by strengthen input validation
   f1fcb9d2926c scsi: sg: disable SET_FORCE_LOW_DMA
   451725c3e785 x86/retpoline: Remove compile time warning
   eebc3f8adee0 x86/retpoline: Fill return stack buffer on vmexit
   f72655b837eb x86/retpoline/irq32: Convert assembler indirect jumps
   7e5bb301bd2f x86/retpoline/checksum32: Convert assembler indirect jumps
   6b222e7483af x86/retpoline/xen: Convert Xen hypercall indirect jumps
   d2beed45635e x86/retpoline/hyperv: Convert assembler indirect jumps
   7153a6d5ff05 x86/retpoline/ftrace: Convert ftrace assembler indirect jumps
   028083cb02db x86/retpoline/entry: Convert entry assembler indirect jumps
   9fe55976f0c8 x86/retpoline/crypto: Convert crypto assembler indirect jumps
   9f789bc5711b x86/spectre: Add boot time option to select Spectre v2 mitigation
   3c5e10905263 x86/retpoline: Add initial retpoline support
   675901851fd2 kconfig.h: use __is_defined() to check if MODULE is defined
   a88693d00698 EXPORT_SYMBOL() for asm
   b8e7a489b518 x86/asm: Make asm/alternative.h safe from assembly
   b76ac90af34d x86/kbuild: enable modversions for symbols exported from asm
   cfc8c1d61e46 x86/asm: Use register variable to get stack pointer value
   416f66509fce x86/mm/32: Move setup_clear_cpu_cap(X86_FEATURE_PCID) earlier
   642ce1bb5ea6 x86/cpu/AMD: Use LFENCE_RDTSC in preference to MFENCE_RDTSC
   20c28c04a6bc x86/cpu/AMD: Make LFENCE a serializing instruction
   e6c591e7a430 gcov: disable for COMPILE_TEST
   42375c1120d5 Linux 4.4.112
   125d76412866 selftests/x86: Add test_vsyscall
   999d4f1961fa x86/alternatives: Add missing '\n' at end of ALTERNATIVE inline asm
   e997d991ab2b x86/alternatives: Fix optimize_nops() checking
   433d7851e5ca sysfs/cpu: Fix typos in vulnerability documentation
   72cf81e43ba4 x86/cpu: Implement CPU vulnerabilites sysfs functions
   73492b686012 sysfs/cpu: Add vulnerability folder
   9718bf5f4ebb x86/cpu: Merge bugs.c and bugs_64.c
   caae411b6ee0 x86/cpufeatures: Add X86_BUG_SPECTRE_V[12]
   6349cab425ce x86/pti: Rename BUG_CPU_INSECURE to BUG_CPU_MELTDOWN
   07c7aa5e7e8a x86/cpufeatures: Add X86_BUG_CPU_INSECURE
   65b28590de24 x86/cpufeatures: Make CPU bugs sticky
   18b849b18d1c x86/cpu: Factor out application of forced CPU caps
   d013f41d0cc5 x86/Documentation: Add PTI description
   cf9f240627b4 e1000e: Fix e1000_check_for_copper_link_ich8lan return value.
   10a4324500ff uas: ignore UAS for Norelsys NS1068(X) chips
   0ae86454c435 Bluetooth: Prevent stack info leak from the EFS element.
   b4106c55b574 staging: android: ashmem: fix a race condition in ASHMEM_SET_SIZE ioctl
   27a194bc8d21 usbip: remove kernel addresses from usb device and urb debug msgs
   3f577093c511 USB: fix usbmon BUG trigger
   92e8ba1ea050 usb: misc: usb3503: make sure reset is low for at least 100us
   e4c9428d035b USB: serial: cp210x: add new device ID ELV ALC 8xxx
   a962c95895a7 USB: serial: cp210x: add IDs for LifeScan OneTouch Verio IQ
   531a2595ce1a target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK
   694c1ed559c8 iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref
   095b0ba360ff bpf, array: fix overflow in max_entries and undefined behavior in index_mask
   9a7fad4c0e21 bpf: prevent out-of-bounds speculation
   648064515d0d bpf: adjust insn_aux_data when patching insns
   19614eee0644 bpf: refactor fixup_bpf_calls()
   14c7c55f4527 bpf: move fixup_bpf_calls() function
   0748b80e4325 bpf: don't (ab)use instructions to store state
   087a92287dba bpf: add bpf_patch_insn_single helper
   c18b1bda4933 kaiser: Set _PAGE_NX only if supported
   0b6231faa212 drm/vmwgfx: Potential off by one in vmw_view_add()
   6785f955bcb6 KVM: x86: Add memory barrier on vmcs field lookup
   7d1bef0f6037 x86/microcode/intel: Extend BDW late-loading with a revision check
   c77dd7b425cd rbd: set max_segments to USHRT_MAX
   68829e75666e crypto: algapi - fix NULL dereference in crypto_remove_spawns()
   608644ac89aa ipv6: fix possible mem leaks in ipv6_make_skb()
   b188ce30cc1b net: stmmac: enable EEE in MII, GMII or RGMII only
   f574e2e8c6cf sh_eth: fix SH7757 GEther initialization
   29ca856bb76a sh_eth: fix TSU resource handling
   44496521c6bd RDS: null pointer dereference in rds_atomic_free_op
   10d06ed9a189 RDS: Heap OOB write in rds_message_alloc_sgs()
   d19b5ed46cce net: core: fix module type in sock_diag_bind
   b9f16497eec2 ip6_tunnel: disable dst caching if tunnel is dual-stack
   0e1cadec4187 8021q: fix a memory leak for VLAN 0 device
   7ec5d87df34a x86/pti/efi: broken conversion from efi to kernel page table
   cc0e36105661 Revert "userfaultfd: selftest: vm: allow to build in vm/ directory"
   3ae43090f13b xhci: Fix ring leak in failure path of xhci_alloc_virt_device()
   6321e1753563 sysrq: Fix warning in sysrq generated crash.
   6f61bd5c4ff5 hwrng: core - sleep interruptible in read
   f065b5f78d17 x86/mm/pat, /dev/mem: Remove superfluous error message
   146001aeb9af cx82310_eth: use skb_cow_head() to deal with cloned skbs
   be48b6ee6d07 smsc75xx: use skb_cow_head() to deal with cloned skbs
   36a1c87f57f6 sr9700: use skb_cow_head() to deal with cloned skbs
   efca4f469475 lan78xx: use skb_cow_head() to deal with cloned skbs
   ad196359a6d1 r8152: adjust ALDPS function
   a37ff616d720 r8152: use test_and_clear_bit
   9d614746ea0b r8152: fix the wake event
   ea6f411117e1 usb: musb: ux500: Fix NULL pointer dereference at system PM
   829b82508c55 usbvision fix overflow of interfaces array
   bd44e3f19d14 locking/mutex: Allow next waiter lockless wakeup
   1920b8a6a6ed futex: Replace barrier() in unqueue_me() with READ_ONCE()
   e143f5d26258 locks: don't check for race with close when setting OFD lock
   c4eafbc2ba11 zswap: don't param_set_charp while holding spinlock
   eeca23f21cfb mm/zswap: use workqueue to destroy pool
   45c26b0736ef mm/page-writeback: fix dirty_ratelimit calculation
   9780795fc1e5 mm/compaction: pass only pageblock aligned range to pageblock_pfn_to_page
   756000bec7c1 mm/compaction: fix invalid free_pfn and compact_cached_free_pfn
   0e82bbca5896 x86/acpi: Reduce code duplication in mp_override_legacy_irq()
   d091a2bb8c2e ALSA: aloop: Fix racy hw constraints adjustment
   a9cad56436f4 ALSA: aloop: Fix inconsistent format due to incomplete rule
   3d3b2c61e1be ALSA: aloop: Release cable upon open error path
   fa6c1876ecf7 ALSA: pcm: Allow aborting mutex lock at OSS read/write loops
   9bb4bb18ccff ALSA: pcm: Abort properly at pending signal in OSS read/write loops
   1ee7bc5526d8 ALSA: pcm: Add missing error checks in OSS emulation plugin builder
   3074fe070a89 ALSA: pcm: Remove incorrect snd_BUG_ON() usages
   f511ba8a5084 iommu/arm-smmu-v3: Don't free page table ops twice
   745a0d9c1a8e x86/acpi: Handle SCI interrupts above legacy space gracefully
   1a699374533b x86/vsdo: Fix build on PARAVIRT_CLOCK=y, KVM_GUEST=n
   8d383ff7deaa kvm: vmx: Scrub hardware GPRs at VM-exit
   0753661d5b17 net/mac80211/debugfs.c: prevent build failure with CONFIG_UBSAN=y
   f2c131d05d86 MIPS: Disallow outsized PTRACE_SETREGSET NT_PRFPREG regset accesses
   725679dc78a9 MIPS: Also verify sizeof `elf_fpreg_t' with PTRACE_SETREGSET
   9584ae52bd7e MIPS: Fix an FCSR access API regression with NT_PRFPREG and MSA
   a6972f8bd2b6 MIPS: Consistently handle buffer counter with PTRACE_SETREGSET
   e68049f6a9e8 MIPS: Guard against any partial write attempt with PTRACE_SETREGSET
   b1e808b9de5c MIPS: Factor out NT_PRFPREG regset access helpers
   1e918a43cbf0 MIPS: Validate PR_SET_FP_MODE prctl(2) requests against the ABI of the task
   6c2c83eb1b0d IB/srpt: Disable RDMA access by the initiator
   a71d6de9718e can: gs_usb: fix return value of the "set_bittiming" callback
   eb91461daa77 KVM: Fix stack-out-of-bounds read in write_mmio
   cbb1cc722aaa dm bufio: fix shrinker scans when (nr_to_scan < retain_target)
   c5ae3a6aa1a3 Linux 4.4.111
   516fa79e77f7 Fix build error in vma.c
   6dcf5491e01c Map the vsyscall page with _PAGE_USER
   90191f71d749 proc: much faster /proc/vmstat
   c819a67f7ee9 module: Issue warnings when tainting kernel
   7e35bc655ec1 module: keep percpu symbols in module's symtab
   104fd57d391a genksyms: Handle string literals with spaces in reference files
   a4c1c75373bf x86/tlb: Drop the _GPL from the cpu_tlbstate export
   d5bbffc0501d parisc: Fix alignment of pa_tlb_lock in assembly on 32-bit SMP kernel
   3db597feef08 x86/microcode/AMD: Add support for fam17h microcode loading
   0a99730ae0cc Input: elantech - add new icbody type 15
   30ce9c8dbc42 ARC: uaccess: dont use "l" gcc inline asm constraint modifier
   5f1aa83c58aa kernel/signal.c: remove the no longer needed SIGNAL_UNKILLABLE check in complete_signal()
   7a7f54f8e390 kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel_only() signals
   be95f1308f79 kernel/signal.c: protect the traced SIGNAL_UNKILLABLE tasks from SIGKILL
   58330ec2fecd kernel: make groups_sort calling a responsibility group_info allocators
   d1698dc8a590 fscache: Fix the default for fscache_maybe_release_page()
   7cbb4a2305f8 sunxi-rsb: Include OF based modalias in device uevent
   3ad85176e78d crypto: pcrypt - fix freeing pcrypt instances
   869994e0bd29 crypto: chacha20poly1305 - validate the digest size
   0b72e17dde6e crypto: n2 - cure use after free
   83875f582596 kernel/acct.c: fix the acct->needcheck check in check_free_space()
   b17b901f0fea x86/kasan: Write protect kasan zero shadow
   b3e3db15b450 Linux 4.4.110
   b33c3c64c478 kaiser: Set _PAGE_NX only if supported
   2b24fe5c57af x86/kasan: Clear kasan_zero_page after TLB flush
   755bd549d932 x86/vdso: Get pvclock data from the vvar VMA instead of the fixmap
   64e239804e21 x86, vdso, pvclock: Simplify and speed up the vdso pvclock reader
   bfd51a4d715b KPTI: Report when enabled
   3e1457d6bf26 KPTI: Rename to PAGE_TABLE_ISOLATION
   7f79599df9c4 x86/kaiser: Move feature detection up
   e4ba212ec641 kaiser: disabled on Xen PV
   750fb627d764 x86/kaiser: Reenable PARAVIRT
   3e809caffdd7 x86/paravirt: Dont patch flush_tlb_single
   8eaca4c7d9f1 kaiser: kaiser_flush_tlb_on_return_to_user() check PCID
   0651b3ad99dd kaiser: asm/tlbflush.h handle noPGE at lower level
   28c6de544174 kaiser: drop is_atomic arg to kaiser_pagetable_walk()
   2dff99eb0335 kaiser: use ALTERNATIVE instead of x86_cr3_pcid_noflush
   e405a064bd7d x86/kaiser: Check boottime cmdline params
   dea9aa9ffae1 x86/kaiser: Rename and simplify X86_FEATURE_KAISER handling
   e345dcc94815 kaiser: add "nokaiser" boot option, using ALTERNATIVE
   500943e57db8 kaiser: fix unlikely error in alloc_ldt_struct()
   d41f46f77895 kaiser: _pgd_alloc() without __GFP_REPEAT to avoid stalls
   fc8334e6b3e5 kaiser: paranoid_entry pass cr3 need to paranoid_exit
   20268a10ffec kaiser: x86_cr3_pcid_noflush and x86_cr3_pcid_user
   3b4ce0e1a172 kaiser: PCID 0 for kernel and 128 for user
   0731188fc74c kaiser: load_new_mm_cr3() let SWITCH_USER_CR3 flush user
   eb82151d0b1d kaiser: enhanced by kernel and user PCIDs
   3e3d38fd9832 kaiser: vmstat show NR_KAISERTABLE as nr_overhead
   b9d2ccc54e17 kaiser: delete KAISER_REAL_SWITCH option
   aeda21d77e22 kaiser: name that 0x1000 KAISER_SHADOW_PGD_OFFSET
   c52e55a2a82d kaiser: cleanups while trying for gold link
   f127705d26b3 kaiser: kaiser_remove_mapping() move along the pgd
   0c68228f7b39 kaiser: tidied up kaiser_add/remove_mapping slightly
   5fbd46c4be78 kaiser: tidied up asm/kaiser.h somewhat
   407c3ff6a24c kaiser: ENOMEM if kaiser_pagetable_walk() NULL
   20cbe9a3aa2e kaiser: fix perf crashes
   487f0b73d826 kaiser: fix regs to do_nmi() ifndef CONFIG_KAISER
   d94df20135cc kaiser: KAISER depends on SMP
   9b94cf97f42c kaiser: fix build and FIXME in alloc_ldt_struct()
   003e47671690 kaiser: stack map PAGE_SIZE at THREAD_SIZE-PAGE_SIZE
   edde73205b3f kaiser: do not set _PAGE_NX on pgd_none
   bed9bb7f3e6d kaiser: merged update
   8a43ddfb93a0 KAISER: Kernel Address Isolation
   0fa147b40747 x86/boot: Add early cmdline parsing for options with arguments
   e68d6189c787 Linux 4.4.109
   5d67dbef745b mm/vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP
   2e3883922530 n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD)
   977614061c3d x86/smpboot: Remove stale TLB flush invocations
   458ed3179948 nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick()
   46e9398c96af usb: xhci: Add XHCI_TRUST_TX_LENGTH for Renesas uPD720201
   0ceb7a66392d USB: Fix off by one in type-specific length check of BOS SSP capability
   c359123bfdd2 usb: add RESET_RESUME for ELSA MicroLink 56K
   955ae55f2d16 usb: Add device quirk for Logitech HD Pro Webcam C925e
   e8cd11a935dd USB: serial: option: adding support for YUGA CLM920-NC5
   140cfcc8b093 USB: serial: option: add support for Telit ME910 PID 0x1101
   232972f73936 USB: serial: qcserial: add Sierra Wireless EM7565
   24162c1781c1 USB: serial: ftdi_sio: add id for Airbus DS P8GR
   76f611cbdbb4 usbip: vhci: stop printing kernel pointer addresses in messages
   feeae6411a1a usbip: stub: stop printing kernel pointer addresses in messages
   e0362688b4fa usbip: fix usbip bind writing random string after command in match_busid
   3f54a6d41d44 sock: free skb in skb_complete_tx_timestamp on error
   623bfb5818ab net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround
   5854ca90c6c6 net: Fix double free and memory corruption in get_net_ns_by_id()
   dd1e454c4d74 net: bridge: fix early call to br_stp_change_bridge_id and plug newlink leaks
   169a9861c638 ipv4: Fix use-after-free when flushing FIB tables
   4033c396f80c sctp: Replace use of sockets_allocated with specified macro.
   ca57949d169e net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case
   be27b620a861 net: ipv4: fix for a race condition in raw_sendmsg
   6dfc02ba5149 tg3: Fix rx hang on MTU change with 5717/5719
   6925223ab320 tcp md5sig: Use skb's saddr when replying to an incoming segment
   e0bdd21a86c5 net: reevalulate autoflowlabel setting after sysctl setting
   06525d5b8ea8 net: qmi_wwan: add Sierra EM7565 1199:9091
   f778ce6faa0d netlink: Add netns check on taps
   373b423038a8 net: igmp: Use correct source address on IGMPv3 reports
   0a8cb76e11d9 ipv6: mcast: better catch silly mtu values
   3d406a18bd94 ipv4: igmp: guard against silly MTU values
   1cd09d4b38a2 kbuild: add '-fno-stack-check' to kernel build options
   6c4db09c291a x86/mm/64: Fix reboot interaction with CR4.PCIDE
   fd0504525efd x86/mm: Enable CR4.PCIDE on supported systems
   dcccd3c266e2 x86/mm: Add the 'nopcid' boot option to turn off PCID
   78043e5b6fb2 x86/mm: Disable PCID on 32-bit kernels
   b2e24274d50e x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) SMP code
   3efba6062a41 x86/mm: Reimplement flush_tlb_page() using flush_tlb_mm_range()
   9f4d1ba1d407 x86/mm: Make flush_tlb_mm_range() more predictable
   227d6f0e79f8 x86/mm: Remove flush_tlb() and flush_tlb_current_task()
   6ce9d1e6819e x86/vm86/32: Switch to flush_tlb_mm_range() in mark_screen_rdonly()
   c04ed3a84961 ALSA: hda - fix headset mic detection issue on a Dell machine
   0ba2ebc9f355 ALSA: hda: Drop useless WARN_ON()
   5251932b974d ASoC: twl4030: fix child-node lookup
   3096ced5a939 ASoC: fsl_ssi: AC'97 ops need regmap, clock and cleaning up on failure
   becb0c6409ad iw_cxgb4: Only validate the MSN for successful completions
   9dc9648942b1 ring-buffer: Mask out the info bits when returning buffer page length
   25fade614be3 tracing: Fix crash when it fails to alloc ring buffer
   c2a62f84d49f tracing: Fix possible double free on failure of allocating trace buffer
   075242101627 tracing: Remove extra zeroing out of the ring buffer page
   87060303469c net: mvneta: clear interface link status on port disable
   b7aac649af10 powerpc/perf: Dereference BHRB entries safely
   5a62acc900e9 kvm: x86: fix RSM when PCID is non-zero
   c9b5338394f2 KVM: X86: Fix load RFLAGS w/o the fixed bit
   0bf0c45449c3 spi: xilinx: Detect stall with Unknown commands
   46865ecdd061 parisc: Hide Diva-built-in serial aux and graphics card
   727b641b35dd PCI / PM: Force devices to D0 in pci_pm_thaw_noirq()
   6b08ff879603 ALSA: usb-audio: Fix the missing ctl name suffix at parsing SU
   af1195354355 ALSA: rawmidi: Avoid racy info ioctl via ctl device
   e7f1c0da02fb mfd: twl6040: Fix child-node lookup
   ee54e7a18e56 mfd: twl4030-audio: Fix sibling-node lookup
   381d368c9954 mfd: cros ec: spi: Don't send first message too soon
   2e234e707f7f crypto: mcryptd - protect the per-CPU queue with a lock
   db09203e3252 ACPI: APEI / ERST: Fix missing error handling in erst_reader()
   03028e068a1f Linux 4.4.108
   1cfeaadfd1b4 alpha: fix build failures
   d126c47656da ALSA: hda - Fix yet another i915 pointer leftover in error path
   3b67b56ea770 ALSA: hda - Degrade i915 binding failure message
   ef24d642e92a ALSA: hda - Clear the leftover component assignment at snd_hdac_i915_exit()
   7f3e85d820fd Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"
   9c631278a9c6 MIPS: math-emu: Fix final emulation phase for certain instructions
   69dd89a1f919 thermal: hisilicon: Handle return value of clk_prepare_enable
   c0303e4ffd3a cpuidle: fix broadcast control when broadcast can not be entered
   8e6e8ec18d95 rtc: set the alarm to the next expiring timer
   1e52ede8e1ed tcp: fix under-evaluated ssthresh in TCP Vegas
   ab8e096eed2f fm10k: ensure we process SM mbx when processing VF mbx
   0705d3b83699 scsi: lpfc: PLOGI failures during NPIV testing
   e4dff872fe97 scsi: lpfc: Fix secure firmware updates
   eb7b86ec94a4 PCI/AER: Report non-fatal errors only to the affected endpoint
   aa6d09cea6df ixgbe: fix use of uninitialized padding
   cffbf0ffc47c igb: check memory allocation failure
   1e91b0d64e92 PCI: Create SR-IOV virtfn/physfn links before attaching driver
   a916c4152a4b scsi: mpt3sas: Fix IO error occurs on pulling out a drive from RAID1 volume created on two SATA drive
   e9151f9d4b6f scsi: cxgb4i: fix Tx skb leak
   8f376337c637 PCI: Avoid bus reset if bridge itself is broken
   3190a0623c58 net: phy: at803x: Change error to EINVAL for invalid MAC
   a0ca85d4895a rtc: pl031: make interrupt optional
   d7ae9928a25d crypto: crypto4xx - increase context and scatter ring buffer elements
   78ffab9744ad backlight: pwm_bl: Fix overflow condition
   0ec5f7a3c9b6 bnxt_en: Fix NULL pointer dereference in reopen failure path
   7432a60515da cpuidle: powernv: Pass correct drv->cpumask for registration
   1779b33294da ARM: dma-mapping: disallow dma_get_sgtable() for non-kernel managed memory
   bec60b446b52 netfilter: nfnetlink_queue: fix secctx memory leak
   ff1ddbb38b19 xhci: plat: Register shutdown for xhci_plat
   ea9e1ca40939 isdn: kcapi: avoid uninitialized data
   f15394085d11 KVM: pci-assign: do not map smm memory slot pages in vt-d page tables
   27c2fa1ae0ea ARM: dts: am335x-evmsk: adjust mmc2 param to allow suspend
   17b1ff10a1fc netfilter: nf_nat_snmp: Fix panic when snmp_trap_helper fails to register
   7c9316d2f263 netfilter: nfnl_cthelper: fix a race when walk the nf_ct_helper_hash table
   3af547339068 irda: vlsi_ir: fix check for DMA mapping errors
   52cd7920b7ac RDMA/iser: Fix possible mr leak on device removal event
   85e54ef781b6 i40e: Do not enable NAPI on q_vectors that have no rings
   6a04a7798a3e net: Do not allow negative values for busy_read and busy_poll sysctl interfaces
   359f7020464f bna: avoid writing uninitialized data into hw registers
   8acee491cfbd s390/qeth: no ETH header for outbound AF_IUCV
   8ce4313f1279 r8152: prevent the driver from transmitting packets with carrier off
   19b1ad3a2e68 HID: xinmo: fix for out of range for THT 2P arcade controller.
   ebfb08395800 hwmon: (asus_atk0110) fix uninitialized data access
   2e114c7b4562 ARM: dts: ti: fix PCI bus dtc warnings
   f1fdf68b4f94 KVM: VMX: Fix enable VPID conditions
   caa4cfd173b7 KVM: x86: correct async page present tracepoint
   2849ef5dcefd scsi: lpfc: Fix PT2PT PRLI reject
   bc9aec2faddf pinctrl: st: add irq_request/release_resources callbacks
   1d75c214cebc inet: frag: release spinlock before calling icmp_send()
   aba55cb03579 netfilter: nfnl_cthelper: Fix memory leak
   b9fd3306a5af netfilter: nfnl_cthelper: fix runtime expectation policy updates
   e598cdd240a0 usb: gadget: udc: remove pointer dereference after free
   0c8496bfdb0e usb: gadget: f_uvc: Sanity check wMaxPacketSize for SuperSpeed
   d6c0e23a7fef net: qmi_wwan: Add USB IDs for MDM6600 modem on Motorola Droid 4
   b9a4a18a01fc bna: integer overflow bug in debugfs
   ffde339b95f5 sch_dsmark: fix invalid skb_cow() usage
   4bf8a4f179ed crypto: deadlock between crypto_alg_sem/rtnl_mutex/genl_mutex
   a88b064826f0 r8152: fix the list rx_done may be used without initialization
   125325fe1c19 cpuidle: Validate cpu_dev in cpuidle_add_sysfs()
   a23a447e47cc arm: kprobes: Align stack to 8-bytes in test code
   3f7855a52222 arm: kprobes: Fix the return address of multiple kretprobes
   779214d0eaca ALSA: hda - add support for docking station for HP 840 G3
   9a66598014db ALSA: hda - add support for docking station for HP 820 G2
   3b9d9ec0d826 x86/irq: Do not substract irq_tlb_count from irq_call_count
   18a5348d49af sched/core: Idle_task_exit() shouldn't use switch_mm_irqs_off()
   c22d4b4d1c7f ARM: Hide finish_arch_post_lock_switch() from modules
   4ead44fd2525 x86/mm, sched/core: Turn off IRQs in switch_mm()
   70a39c7fd167 x86/mm, sched/core: Uninline switch_mm()
   83cc4b50e3a9 x86/mm: Build arch/x86/mm/tlb.c even on !SMP
   425f13a36652 sched/core: Add switch_mm_irqs_off() and use it in the scheduler
   dfe513a4e8dd mm/mmu_context, sched/core: Fix mmu_context.h assumption
   8d5ee51a6bce mm/rmap: batched invalidations should use existing api
   85d3700c744a x86/mm: If INVPCID is available, use it to flush global mappings
   791a0f3fecda x86/mm: Add a 'noinvpcid' boot option to turn off INVPCID
   04ec428b15f1 x86/mm: Fix INVPCID asm constraint
   becf292446e9 x86/mm: Add INVPCID helpers
   5fc8d62d1921 cxl: Check if vphb exists before iterating over AFU devices
   9e1485b1b570 arm64: Initialise high_memory global variable earlier
   96c00ece76be Linux 4.4.107
   a815c0a370cf ath9k: fix tx99 potential info leak
   26c66554d7bf IB/ipoib: Grab rtnl lock on heavy flush when calling ndo_open/stop
   112814db6ec4 RDMA/cma: Avoid triggering undefined behavior
   4bbb49138f4a macvlan: Only deliver one copy of the frame to the macvlan interface
   b8d510ff7165 udf: Avoid overflow when session starts at large offset
   a114af87c0ba scsi: bfa: integer overflow in debugfs
   798f08501424 scsi: sd: change allow_restart to bool in sysfs interface
   c387c02d604d scsi: sd: change manage_start_stop to bool in sysfs interface
   2e03af22f65c vt6655: Fix a possible sleep-in-atomic bug in vt6655_suspend
   930fb06d1617 scsi: scsi_devinfo: Add REPORTLUN2 to EMC SYMMETRIX blacklist entry
   24bc48af0aee raid5: Set R5_Expanded on parity devices as well as data.
   09379498aff0 pinctrl: adi2: Fix Kconfig build problem
   5f2dbdff20e0 usb: musb: da8xx: fix babble condition handling
   68d3bc40f5ca tty fix oops when rmmod 8250
   afa8f0a7af70 powerpc/perf/hv-24x7: Fix incorrect comparison in memord
   28a5b0e438f1 scsi: hpsa: destroy sas transport properties before scsi_host
   942eb7dd5e42 scsi: hpsa: cleanup sas_phy structures in sysfs when unloading
   ec662d656073 PCI: Detach driver before procfs & sysfs teardown on device remove
   02922f3bb37f xfs: fix incorrect extent state in xfs_bmap_add_extent_unwritten_real
   f267a1390b41 xfs: fix log block underflow during recovery cycle verification
   92eff81ad96a l2tp: cleanup l2tp_tunnel_delete calls
   230c4ba404d3 bcache: fix wrong cache_misses statistics
   271252373027 bcache: explicitly destroy mutex while exiting
   ab9b3db40828 GFS2: Take inode off order_write list when setting jdata flag
   2a5bb1284e72 thermal/drivers/step_wise: Fix temperature regulation misbehavior
   561b9d998e65 ppp: Destroy the mutex when cleanup
   083dd685aebd clk: tegra: Fix cclk_lp divisor register
   f56be2ce49c1 clk: imx6: refine hdmi_isfr's parent to make HDMI work on i.MX6 SoCs w/o VPU
   22a1e337ed68 clk: mediatek: add the option for determining PLL source clock
   b59614cfd2d3 mm: Handle 0 flags in _calc_vm_trans() macro
   44de70ecec2d crypto: tcrypt - fix buffer lengths in test_aead_speed()
   b397507641fb arm-ccn: perf: Prevent module unload while PMU is in use
   75ee360a5114 target/file: Do not return error for UNMAP if length is zero
   646191449e76 target:fix condition return in core_pr_dump_initiator_port()
   e14086b2c9bc iscsi-target: fix memory leak in lio_target_tiqn_addtpg()
   7d93603ddb65 target/iscsi: Fix a race condition in iscsit_add_reject_from_cmd()
   09f29c7a953d powerpc/ipic: Fix status get and status clear
   c6c3637ee8ab powerpc/opal: Fix EBUSY bug in acquiring tokens
   59720463cf28 netfilter: ipvs: Fix inappropriate output of procfs
   f46b4bab4e93 powerpc/powernv/cpufreq: Fix the frequency read by /proc/cpuinfo
   ef476a74f8ed PCI/PME: Handle invalid data when reading Root Status
   e6d8207a84b0 dmaengine: ti-dma-crossbar: Correct am335x/am43xx mux value type
   600b973fc56f rtc: pcf8563: fix output clock rate
   ac0468efee60 video: fbdev: au1200fb: Return an error code if a memory allocation fails
   033d20b727f3 video: fbdev: au1200fb: Release some resources if a memory allocation fails
   314ce0575795 video: udlfb: Fix read EDID timeout
   2f5427451738 fbdev: controlfb: Add missing modes to fix out of bounds access
   57fa76a46673 sfc: don't warn on successful change of MAC
   c9b79738c0ab target: fix race during implicit transition work flushes
   dfd6deed8313 target: fix ALUA transition timeout handling
   7f5084b98f89 target: Use system workqueue for ALUA transitions
   f9b4a2e04c22 btrfs: add missing memset while reading compressed inline extents
   248aa3accad9 NFSv4.1 respect server's max size in CREATE_SESSION
   a49aa7aadbd3 efi/esrt: Cleanup bad memory map log messages
   dc81417eedf5 perf symbols: Fix symbols__fixup_end heuristic for corner cases
   acc7d1bd901c net/mlx4_core: Avoid delays during VF driver device shutdown
   5e469e44c8fd afs: Fix afs_kill_pages()
   80f74cef482f afs: Fix page leak in afs_write_begin()
   c58d7796ab93 afs: Populate and use client modification time
   fa034538cb04 afs: Fix the maths in afs_fs_store_data()
   1efae6ca3418 afs: Prevent callback expiry timer overflow
   43e68e3725df afs: Migrate vlocation fields to 64-bit
   9d8d20570f39 afs: Flush outstanding writes when an fd is closed
   549d7b98f55e afs: Adjust mode bits processing
   bb7a7cd6194f afs: Populate group ID from vnode status
   1c277e9ebba6 afs: Fix missing put_page()
   fec8348008b5 drm/radeon: reinstate oland workaround for sclk
   6a51e93b2fe3 mmc: mediatek: Fixed bug where clock frequency could be set wrong
   51b3eac39a6c sched/deadline: Use deadline instead of period when calculating overflow
   ca91884bcf7d sched/deadline: Throttle a constrained deadline task activated after the deadline
   cd0e18d2f24b sched/deadline: Make sure the replenishment timer fires in the next period
   4c6567f5af9a drm/radeon/si: add dpm quirk for Oland
   c383ebf1acd6 fjes: Fix wrong netdevice feature flags
   a33a9d0c705f scsi: hpsa: limit outstanding rescans
   0a609298214b scsi: hpsa: update check for logical volume status
   b0def6f1e26b openrisc: fix issue handling 8 byte get_user calls
   1236cc3664dc intel_th: pci: Add Gemini Lake support
   d270d24ee596 mlxsw: reg: Fix SPVMLR max record count
   e934e13550a0 mlxsw: reg: Fix SPVM max record count
   677a7aac2ec6 net: Resend IGMP memberships upon peer notification.
   26af6a8b51f1 dmaengine: Fix array index out of bounds warning in __get_unmap_pool()
   9cd4b8684621 net: wimax/i2400m: fix NULL-deref at probe
   b424289863d0 writeback: fix memory leak in wb_queue_work()
   fbdf477fcff6 netfilter: bridge: honor frag_max_size when refragmenting
   7edb2d2d8680 drm/omap: fix dmabuf mmap for dma_alloc'ed buffers
   dbfba339c729 Input: i8042 - add TUXEDO BU1406 (N24_25BU) to the nomux list
   df5678476040 NFSD: fix nfsd_reset_versions for NFSv4.
   5b0334584ad6 NFSD: fix nfsd_minorversion(.., NFSD_AVAIL)
   067cb6b2f716 net: bcmgenet: Power up the internal PHY before probing the MII
   a33e082dcaf4 net: bcmgenet: power down internal phy if open or resume fails
   8aaed873f3b9 net: bcmgenet: reserved phy revisions must be checked first
   c25da696fca1 net: bcmgenet: correct MIB access of UniMAC RUNT counters
   296b584763f7 net: bcmgenet: correct the RBUF_OVFL_CNT and RBUF_ERR_CNT MIB values
   accbd99507b1 net: initialize msg.msg_flags in recvfrom
   b5213e1e9f25 userfaultfd: selftest: vm: allow to build in vm/ directory
   ee9be9963039 userfaultfd: shmem: __do_fault requires VM_FAULT_NOPAGE
   0d0456ec2b08 md-cluster: free md_cluster_info if node leave cluster
   a1d72bc18e77 usb: phy: isp1301: Add OF device ID table
   75252bfe9e49 mac80211: Fix addition of mesh configuration element
   13e86efb2eee KEYS: add missing permission check for request_key() destination
   ef7ce82bc280 ext4: fix crash when a directory's i_size is too small
   2c367edaba65 ext4: fix fdatasync(2) after fallocate(2) operation
   52425e042843 dmaengine: dmatest: move callback wait queue to thread context
   af36d95af55f sched/rt: Do not pull from current CPU if only one CPU to pull
   f98ee9c0007b xhci: Don't add a virt_dev to the devs array before it's fully allocated
   ffc7565746bb Bluetooth: btusb: driver to enable the usb-wakeup feature
   8c7c3d5b785f ceph: drop negative child dentries before try pruning inode's alias
   2862cfca3989 usbip: fix stub_send_ret_submit() vulnerability to null transfer_buffer
   dfdf5fa3e664 USB: core: prevent malicious bNumInterfaces overflow
   05de6fa5c0e2 USB: uas and storage: Add US_FL_BROKEN_FUA for another JMicron JMS567 ID
   a34419b3f6a2 tracing: Allocate mask_str buffer dynamically
   c60db4f68593 autofs: fix careless error in recent commit
   8a311b0462b5 crypto: salsa20 - fix blkcipher_walk API usage
   43cd7f38612d crypto: hmac - require that the underlying hash algorithm is unkeyed
   4231b6a98fce Linux 4.4.106
   5c6db4afbd9f usb: gadget: ffs: Forbid usb_ep_alloc_request from sleeping
   a5fa9efe4e01 arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one
   9f5a8d610dd3 Revert "x86/mm/pat: Ensure cpa->pfn only contains page frame numbers"
   34933c2ce99c Revert "x86/efi: Hoist page table switching code into efi_call_virt()"
   1dfe268df584 Revert "x86/efi: Build our own page table structures"
   b90f87c641bc net/packet: fix a race in packet_bind() and packet_notifier()
   f50e9c872cb5 packet: fix crash in fanout_demux_rollover()
   d6189fa45c6d sit: update frag_off info
   6c154d536d94 rds: Fix NULL pointer dereference in __rds_rdma_map
   827fd89bc552 tipc: fix memory leak in tipc_accept_from_sock()
   047a7bb12d63 more bio_map_user_iov() leak fixes
   3a620404e24a s390: always save and restore all registers on context switch
   99962affcb8f ipmi: Stop timers before cleaning up the module
   b34957127058 audit: ensure that 'audit=1' actually enables audit for PID 1
   1b9baf30673c ipvlan: fix ipv6 outbound device
   cdfe2d0a4834 afs: Connect up the CB.ProbeUuid
   452ae0913614 IB/mlx5: Assign send CQ and recv CQ of UMR QP
   3d1d4642fc55 IB/mlx4: Increase maximal message size under UD QP
   8bfafc972a34 xfrm: Copy policy family in clone_policy
   5c15c5c8ebc5 jump_label: Invoke jump_label_test() via early_initcall()
   1b85cd5d9262 atm: horizon: Fix irq release error
   dde5bbd52a28 sctp: use the right sk after waking up from wait_buf sleep
   1ad621272bd7 sctp: do not free asoc when it is already dead in sctp_sendmsg
   59e52050b17c sparc64/mm: set fields in deferred pages
   7b99b00cf3f0 block: wake up all tasks blocked in get_request()
   5a54dcc51a4a sunrpc: Fix rpc_task_begin trace point
   c02608144e79 NFS: Fix a typo in nfs_rename()
   640192431a29 dynamic-debug-howto: fix optional/omitted ending line number to be LARGE instead of 0
   24c98ec494c2 lib/genalloc.c: make the avail variable an atomic_long_t
   90ec232a3911 route: update fnhe_expires for redirect when the fnhe exists
   41dee81f22c9 route: also update fnhe_genid when updating a route cache
   32f8870cc9a9 mac80211_hwsim: Fix memory leak in hwsim_new_radio_nl()
   0aab426757d3 kbuild: pkg: use --transform option to prefix paths in tar
   8f72d29e7024 EDAC, i5000, i5400: Fix definition of NRECMEMB register
   222de157ccd0 EDAC, i5000, i5400: Fix use of MTR_DRAM_WIDTH macro
   f1ff979f97bd powerpc/powernv/ioda2: Gracefully fail if too many TCE levels requested
   d42ebf56380f drm/amd/amdgpu: fix console deadlock if late init failed
   40b2b6453f89 axonram: Fix gendisk handling
   f2396d60746f netfilter: don't track fragmented packets
   ca6d40bb082a zram: set physical queue limits to avoid array out of bounds accesses
   39c626c1f9e3 i2c: riic: fix restart condition
   a836e1952f28 crypto: s5p-sss - Fix completing crypto request in IRQ handler
   7c5deeccc664 ipv6: reorder icmpv6_init() and ip6_mr_init()
   84bc40c4b31b bnx2x: do not rollback VF MAC/VLAN filters we did not configure
   871e4b11eba2 bnx2x: fix possible overrun of VFPF multicast addresses array
   1aead0538b89 bnx2x: prevent crash when accessing PTP with interface down
   6bbc908cfc1c spi_ks8995: fix "BUG: key accdaa28 not in .data!"
   687121453005 arm64: KVM: Survive unknown traps from guests
   5dc5c8e65515 arm: KVM: Survive unknown traps from guests
   ccf72fe2e5cc KVM: nVMX: reset nested_run_pending if the vCPU is going to be reset
   0a12875fa51f irqchip/crossbar: Fix incorrect type of register size
   8a15c626996c scsi: lpfc: Fix crash during Hardware error recovery on SLI3 adapters
   d9d47a6d6862 workqueue: trigger WARN if queue_delayed_work() is called with NULL @wq
   14a7aa2ae61e libata: drop WARN from protocol error in ata_sff_qc_issue()
   f9b291aed2a9 kvm: nVMX: VMCLEAR should not cause the vCPU to shut down
   ef21f3a12bb1 USB: gadgetfs: Fix a potential memory leak in 'dev_config()'
   4036947a43a0 usb: gadget: configs: plug memory leak
   24e9fc7ef051 HID: chicony: Add support for another ASUS Zen AiO keyboard
   3aec56b81960 gpio: altera: Use handle_level_irq when configured as a level_high
   c52017de0ba6 ARM: OMAP2+: Release device node after it is no longer needed.
   14c396184529 ARM: OMAP2+: Fix device node reference counts
   d180639d86e1 module: set __jump_table alignment to 8
   23f9e8448219 selftest/powerpc: Fix false failures for skipped tests
   3bf3fc6cbc8b x86/hpet: Prevent might sleep splat on resume
   0500c6d35274 ARM: OMAP2+: gpmc-onenand: propagate error on initialization failure
   572b639bde31 vti6: Don't report path MTU below IPV6_MIN_MTU.
   3771241e5bc3 Revert "s390/kbuild: enable modversions for symbols exported from asm"
   e891a29531d4 Revert "spi: SPI_FSL_DSPI should depend on HAS_DMA"
   f854e2099915 Revert "drm/armada: Fix compile fail"
   5327f9badacd mm: drop unused pmdp_huge_get_and_clear_notify()
   47c53ccca4a0 thp: fix MADV_DONTNEED vs. numa balancing race
   d4443b53732e thp: reduce indentation level in change_huge_pmd()
   696fbe191acd scsi: storvsc: Workaround for virtual DVD SCSI version
   dd8c78e2501e ARM: avoid faulting on qemu
   af1d17239682 ARM: BUG if jumping to usermode address in kernel mode
   750f60edebac arm64: fpsimd: Prevent registers leaking from dead tasks
   477b837533a2 KVM: VMX: remove I/O port 0x80 bypass on Intel hosts
   11030654676b arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one
   a0b99544dde8 media: dvb: i2c transfers over usb cannot be done from stack
   81bf294f5f7b drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU
   74b6030355a4 drm: extra printk() wrapper macros
   d6ff4cce9aa3 kdb: Fix handling of kallsyms_symbol_next() return value
   bb47cf7f8e47 s390: fix compat system call table
   dc41b6e35f93 iommu/vt-d: Fix scatterlist offset handling
   90a20a81dc1c ALSA: usb-audio: Add check return value for usb_string()
   9f5c6b108850 ALSA: usb-audio: Fix out-of-bound error
   e1d3b7d04d9d ALSA: seq: Remove spurious WARN_ON() at timer check
   659e7d2588f0 ALSA: pcm: prevent UAF in snd_pcm_info
   5986c9685f1e x86/PCI: Make broadcom_postcore_init() check acpi_disabled
   2c2e4b7d279a X.509: reject invalid BIT STRING for subjectPublicKey
   1471d1258921 ASN.1: check for error from ASN1_OP_END__ACT actions
   621dac1d6991 ASN.1: fix out-of-bounds read when parsing indefinite length item
   481efb4c7256 efi: Move some sysfs files to be read-only by root
   7e0091c2951f scsi: libsas: align sata_device's rps_resp on a cacheline
   98448333588c isa: Prevent NULL dereference in isa_bus driver callbacks
   90e2ea6dc851 hv: kvp: Avoid reading past allocated blocks from KVP file
   94739ddf35cb virtio: release virtio index when fail to device_register
   d73fcef16da0 can: usb_8dev: cancel urb on -EPIPE and -EPROTO
   191b419bd0b1 can: esd_usb2: cancel urb on -EPIPE and -EPROTO
   af11f3afc2c2 can: ems_usb: cancel urb on -EPIPE and -EPROTO
   bd424bd17572 can: kvaser_usb: cancel urb on -EPIPE and -EPROTO
   3e3dabd83630 can: kvaser_usb: ratelimit errors if incomplete messages are received
   816bc7dffea2 can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback()
   b6fa54c18e8d can: kvaser_usb: free buf in error paths
   a68e3c90dfb1 can: ti_hecc: Fix napi poll return value for repoll
   69b0bf95a51e Linux 4.4.105
   da57b1f7e74f xen-netfront: avoid crashing on resume after a failure in talk_to_netback()
   e1cadf7c4af2 usb: host: fix incorrect updating of offset
   43135100f117 USB: usbfs: Filter flags passed in from user space
   c0493eb552e0 USB: devio: Prevent integer overflow in proc_do_submiturb()
   2ee8d2acf3ef USB: Increase usbfs transfer limit
   9d812f7bef8c USB: core: Add type-specific length check of BOS descriptors
   f044af8c1dc3 usb: ch9: Add size macro for SSP dev cap descriptor
   ddaa1ae2eb7f usb: Add USB 3.1 Precision time measurement capability descriptor support
   a1f03a9bcfa4 usb: xhci: fix panic in xhci_free_virt_devices_depth_first
   6a85ba4157a0 usb: hub: Cycle HUB power when initialization fails
   40012163e52a Revert "ocfs2: should wait dio before inode lock in ocfs2_setattr()"
   33621da4d4ef net: fec: fix multicast filtering hardware setup
   5d036ccddc5d xen-netfront: Improve error handling during initialization
   cc4add389789 mm: avoid returning VM_FAULT_RETRY from ->page_mkwrite handlers
   1b7dbabf0242 tcp: correct memory barrier usage in tcp_check_space()
   bc42f67b73cb dmaengine: pl330: fix double lock
   ca0836061019 tipc: fix cleanup at module unload
   e5afc84f644c net: sctp: fix array overrun read on sctp_timer_tbl
   7e9236c00152 drm/exynos/decon5433: set STANDALONE_UPDATE_F on output enablement
   e26d58f897ca NFSv4: Fix client recovery when server reboots multiple times
   48222dd037f5 KVM: arm/arm64: Fix occasional warning from the timer work function
   f2fb416f4af6 nfs: Don't take a reference on fl->fl_file for LOCK operation
   7228df818d90 ravb: Remove Rx overflow log messages
   1bb50d02a8d3 net/appletalk: Fix kernel memory disclosure
   c73b58cfa83e vti6: fix device register to report IFLA_INFO_KIND
   e6533243f74f ARM: OMAP1: DMA: Correct the number of logical channels
   e6f105531992 net: systemport: Pad packet before inserting TSB
   3a44ade54473 net: systemport: Utilize skb_put_padto()
   8633eec0ee08 kprobes/x86: Disable preemption in ftrace-based jprobes
   7317cb116754 perf test attr: Fix ignored test case result
   1c4d7600390b sysrq : fix Show Regs call trace on ARM
   c86fa9ed3a0f EDAC, sb_edac: Fix missing break in switch
   c2e1be144805 x86/entry: Use SYSCALL_DEFINE() macros for sys_modify_ldt()
   ecd996c24a79 serial: 8250: Preserve DLD[7:4] for PORT_XR17V35X
   86b9d66d1f3f usb: phy: tahvo: fix error handling in tahvo_usb_probe()
   b6ca48b5cd08 spi: sh-msiof: Fix DMA transfer size check
   a96c19f5ba09 serial: 8250_fintek: Fix rs485 disablement on invalid ioctl()
   429feb597df3 selftests/x86/ldt_get: Add a few additional tests for limits
   93f45d8c67dc s390/pci: do not require AIS facility
   80f93e24ecfc ima: fix hash algorithm initialization
   71ce1cac5b4d USB: serial: option: add Quectel BG96 id
   9e51ee1b76ef s390/runtime instrumentation: simplify task exit handling
   ef3567cc5284 serial: 8250_pci: Add Amazon PCI serial device ID
   a8293de0ee1f usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub
   636b080991ee uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices
   3f7477e64478 bcache: recover data from backing when data is clean
   f80f34d8ba92 bcache: only permit to recovery read error when cache device is clean
   bd3799391822 Linux 4.4.104
   bd249dd07827 nfsd: Fix another OPEN stateid race
   54298082dbac nfsd: Fix stateid races between OPEN and CLOSE
   d7f5f10f5159 nfsd: Make init_open_stateid() a bit more whole
   68e6cd9a0547 drm/i915: Prevent zero length "index" write
   e6bcff7b6aa1 drm/i915: Don't try indexed reads to alternate slave addresses
   a61474fa8749 NFS: revalidate "." etc correctly on "open".
   c8ea49b690ee mtd: nand: Fix writing mtdoops to nand flash.
   a155a9568d9a drm/panel: simple: Add missing panel_simple_unprepare() calls
   c7716f65721a drm/radeon: fix atombios on big endian
   4d027a8bcc7f Revert "drm/radeon: dont switch vt on suspend"
   5a7391b6d898 bcache: Fix building error on MIPS
   6b4901e0e349 eeprom: at24: check at24_read/write arguments
   5c65b739389f mmc: core: Do not leave the block driver in a suspended state
   a6493ad6fc89 KVM: x86: inject exceptions produced by x86_decode_insn
   1e9e6bdccb80 KVM: x86: Exit to user-mode on #UD intercept when emulator requires
   ab29b6b818aa KVM: x86: pvclock: Handle first-time write to pvclock-page contains random junk
   591ddc92d756 btrfs: clear space cache inode generation always
   0d05a5593f63 mm/madvise.c: fix madvise() infinite loop under special circumstances
   2b7ef6bdd286 mm, thp: Do not make page table dirty unconditionally in touch_p[mu]d()
   f97fc9ab1ce2 x86/efi-bgrt: Replace early_memremap() with memremap()
   e85c6907b2b4 x86/efi-bgrt: Fix kernel panic when mapping BGRT data
   44ff3af83ee1 ARM: dts: omap3: logicpd-torpedo-37xx-devkit: Fix MMC1 cd-gpio
   36e0f05afd4e x86/efi: Build our own page table structures
   b73adb608520 x86/efi: Hoist page table switching code into efi_call_virt()
   87e2bd898d3a x86/mm/pat: Ensure cpa->pfn only contains page frame numbers
   b377c453b363 ipsec: Fix aborted xfrm policy dump crash
   27248d2fa77f netlink: add a start callback for starting a netlink dump
   08c15ad2e627 Linux 4.4.103
   3d7214a338d7 Revert "sctp: do not peel off an assoc from one netns to another one"
   c73eb1e0cc56 xen: xenbus driver must not accept invalid transaction ids
   eedd29f51078 s390/kbuild: enable modversions for symbols exported from asm
   681b2239862d ASoC: wm_adsp: Don't overrun firmware file buffer when reading region data
   b63209c78f9e btrfs: return the actual error value from from btrfs_uuid_tree_iterate
   e88f3fb0e340 ASoC: rsnd: don't double free kctrl
   47b99a3306d0 netfilter: nf_tables: fix oob access
   a1e4f6a15103 netfilter: nft_queue: use raw_smp_processor_id()
   85f286d6f8cd spi: SPI_FSL_DSPI should depend on HAS_DMA
   8537e96e4351 staging: iio: cdc: fix improper return value
   266913b390c3 iio: light: fix improper return value
   7e927748d4db mac80211: Suppress NEW_PEER_CANDIDATE event if no room
   9825826ed7bd mac80211: Remove invalid flag operations in mesh TSF synchronization
   f0d8fb74479b drm: Apply range restriction after color adjustment when allocation
   31447ebb1a86 ALSA: hda - Apply ALC269_FIXUP_NO_SHUTUP on HDA_FIXUP_ACT_PROBE
   7e920566c352 ath10k: set CTS protection VDEV param only if VDEV is up
   ef751ca54602 ath10k: fix potential memory leak in ath10k_wmi_tlv_op_pull_fw_stats()
   b24769300a00 ath10k: ignore configuring the incorrect board_id
   64b22ee723ee ath10k: fix incorrect txpower set by P2P_DEVICE interface
   c4cf731af838 drm/armada: Fix compile fail
   7f69dc100400 net: 3com: typhoon: typhoon_init_one: fix incorrect return values
   609797646f9b net: 3com: typhoon: typhoon_init_one: make return values more specific
   d7c3d5333e39 net: Allow IP_MULTICAST_IF to set index to L3 slave
   778395506a7f dmaengine: zx: set DMA_CYCLIC cap_mask bit
   37a48e6d83f5 PCI: Apply _HPX settings only to relevant devices
   57d2ce160310 RDS: RDMA: return appropriate error on rdma map failures
   bbb1fc744894 e1000e: Separate signaling for link check/link up
   5df4097cfc70 e1000e: Fix return value test
   fbb2d8000a8f e1000e: Fix error path in link detection
   d6968bc56e44 PM / OPP: Add missing of_node_put(np)
   fd3c395d4d46 net/9p: Switch to wait_event_killable()
   91bd72dd8c72 fscrypt: lock mutex before checking for bounce page pool
   cb1831a83e54 sched/rt: Simplify the IPI based RT balancing logic
   5a11b8458b35 media: v4l2-ctrl: Fix flags field on Control events
   0870fb4c3566 cx231xx-cards: fix NULL-deref on missing association descriptor
   d758f4d8bf20 media: rc: check for integer overflow
   878c0f9a7c69 media: Don't do DMA on stack for firmware upload in the AS102 driver
   a2943ce580f5 powerpc/signal: Properly handle return value from uprobe_deny_signal()
   937a91cd3992 parisc: Fix validity check of pointer size argument in new CAS implementation
   aef7cdb6a6ff ixgbe: Fix skb list corruption on Power systems
   bb923a81c33e fm10k: Use smp_rmb rather than read_barrier_depends
   b4ca98b7a803 i40evf: Use smp_rmb rather than read_barrier_depends
   a8e699dfca04 ixgbevf: Use smp_rmb rather than read_barrier_depends
   2f7de4d5f525 igbvf: Use smp_rmb rather than read_barrier_depends
   391cdaaaa9d9 igb: Use smp_rmb rather than read_barrier_depends
   146d53371385 i40e: Use smp_rmb rather than read_barrier_depends
   76c389ca1331 NFC: fix device-allocation error return
   ecc5e8914766 IB/srp: Avoid that a cable pull can trigger a kernel crash
   3e32b40435b9 IB/srpt: Do not accept invalid initiator port names
   54a8d930b93f libnvdimm, namespace: make 'resource' attribute only readable by root
   4dae2f771fa7 libnvdimm, namespace: fix label initialization to use valid seq numbers
   037646313522 clk: ti: dra7-atl-clock: fix child-node lookups
   eca460c485f9 clk: ti: dra7-atl-clock: Fix of_node reference counting
   36d2f19430e2 SUNRPC: Fix tracepoint storage issues with svc_recv and svc_rqst_status
   a694b1f85aea KVM: SVM: obey guest PAT
   8293dc75de47 KVM: nVMX: set IDTR and GDTR limits when loading L1 host state
   4e426ed57cd2 target: Fix QUEUE_FULL + SCSI task attribute handling
   63bfc4c90a87 iscsi-target: Fix non-immediate TMR reference leak
   8709c5386109 fs/9p: Compare qid.path in v9fs_test_inode
   1b11593eb742 fix a page leak in vhost_scsi_iov_to_sgl() error recovery
   509ab500a240 ALSA: hda/realtek - Fix ALC700 family no sound issue
   ef6745531648 ALSA: timer: Remove kernel warning at compat ioctl error paths
   3532750d20f5 ALSA: usb-audio: Add sanity checks in v2 clock parsers
   0b6cede2e455 ALSA: usb-audio: Fix potential out-of-bound access at parsing SU
   d1316b9d83de ALSA: usb-audio: Add sanity checks to FE parser
   b71cf750ddd3 ALSA: pcm: update tstamp only if audio_tstamp changed
   db12d9b5a181 ext4: fix interaction between i_size, fallocate, and delalloc after a crash
   189bc689547a ata: fixes kernel crash while tracing ata_eh_link_autopsy event
   f1be21021099 rtlwifi: fix uninitialized rtlhal->last_suspend_sec time
   3c260c60d20c rtlwifi: rtl8192ee: Fix memory leak when loading firmware
   a8b8ab79ca4f nfsd: deal with revoked delegations appropriately
   2a2d4b41472c nfs: Fix ugly referral attributes
   ab33df42eb3c NFS: Fix typo in nomigration mount option
   4e23be616976 isofs: fix timestamps beyond 2027
   85c79043808d bcache: check ca->alloc_thread initialized before wake up it
   9c093a258350 eCryptfs: use after free in ecryptfs_release_messaging()
   7d7b05e4ffd5 nilfs2: fix race condition that causes file system corruption
   9a4e08c634ce autofs: don't fail mount for transient error
   153142963ca1 MIPS: BCM47XX: Fix LED inversion for WRT54GSv1
   00fd53bc378f MIPS: Fix an n32 core file generation regset support regression
   4e82464aa4a3 dm: fix race between dm_get_from_kobject() and __dm_destroy()
   36c4819abc92 dm bufio: fix integer overflow when limiting maximum cache size
   a9f066404fd0 ALSA: hda: Add Raven PCI ID
   0c1faf9df0c8 MIPS: ralink: Fix typo in mt7628 pinmux function
   84c785ed786a MIPS: ralink: Fix MT7628 pinmux
   36a082ce590f ARM: 8721/1: mm: dump: check hardware RO bit for LPAE
   5f8046f7c9e3 ARM: 8722/1: mm: make STRICT_KERNEL_RWX effective for LPAE
   29c4b6b4f46d x86/decoder: Add new TEST instruction pattern
   4fdb1637b208 lib/mpi: call cond_resched() from mpi_powm() loop
   8ff3471878f3 sched: Make resched_cpu() unconditional
   3223ea129170 vsock: use new wait API for vsock_stream_sendmsg()
   df24d6c22460 AF_VSOCK: Shrink the area influenced by prepare_to_wait
   2417da3f4d6b ipv6: only call ip6_route_dev_notify() once for NETDEV_UNREGISTER
   5c2607d3e7cd s390/disassembler: increase show_code buffer size
   4337fa2425f6 s390/disassembler: add missing end marker for e7 table
   04bc7a273264 s390/runtime instrumention: fix possible memory corruption
   7ddbe701076d s390: fix transactional execution control register handling
   29ffb9c1fb4a Linux 4.4.102
   0208fabf7256 mm, hwpoison: fixup "mm: check the return value of lookup_page_ext for all call sites"
   5baf0fb260fc Linux 4.4.101
   a3805b10de80 mm/pagewalk.c: report holes in hugetlb ranges
   3630b2801907 mm/page_ext.c: check if page_ext is not prepared
   e34e744f70a6 mm: check the return value of lookup_page_ext for all call sites
   7b7a1c39e839 coda: fix 'kernel memory exposure attempt' in fsync
   c1b3703b643f mm/page_alloc.c: broken deferred calculation
   4ecf752738ac ipmi: fix unsigned long underflow
   c4baa4a5870c ocfs2: should wait dio before inode lock in ocfs2_setattr()
   8c325770546a nvme: Fix memory order on async queue deletion
   4310b6bfa8e0 arm64: fix dump_instr when PAN and UAO are in use
   1df403abfa9e serial: omap: Fix EFR write on RTS deassertion
   a9100b6f1a8a ima: do not update security.ima if appraisal status is not INTEGRITY_PASS
   51b8aea7abde net/sctp: Always set scope_id in sctp_inet6_skb_msgname
   ae93cefb9430 fealnx: Fix building error on MIPS
   2a0e60907e54 sctp: do not peel off an assoc from one netns to another one
   4cfc0b41af03 af_netlink: ensure that NLMSG_DONE never fails in dumps
   ef206ea779a9 vlan: fix a use-after-free in vlan_device_event()
   3bb6245e14ea bonding: discard lowest hash bit for 802.3ad layer3+4
   001e9cbe1dae netfilter/ipvs: clear ipvs_property flag when SKB net namespace changed
   0c1282c7f046 tcp: do not mangle skb->cb[] in tcp_make_synack()
   26d6298789e6 Linux 4.4.100
   f119ff8e5b6b USB: serial: garmin_gps: fix memory leak on probe errors
   8b36209e93df USB: serial: garmin_gps: fix I/O after failed probe and remove
   5cd938508c81 USB: serial: qcserial: add pid/vid for Sierra Wireless EM7355 fw update
   302dd596822a USB: Add delay-init quirk for Corsair K70 LUX keyboards
   965003b311e0 USB: usbfs: compute urb->actual_length for isochronous
   834a5d880a54 uapi: fix linux/rds.h userspace compilation errors
   16e7973f8e47 uapi: fix linux/rds.h userspace compilation error
   f5e303d54ac2 Revert "uapi: fix linux/rds.h userspace compilation errors"
   d9c8d4adb5a7 Revert "crypto: xts - Add ECB dependency"
   d2d72c0ee4c9 MIPS: Netlogic: Exclude netlogic,xlp-pic code from XLR builds
   9a8ef143951f MIPS: init: Ensure reserved memory regions are not added to bootmem
   034347aca034 MIPS: init: Ensure bootmem does not corrupt reserved memory
   a904ebe92a05 mm: add PHYS_PFN, use it in __phys_to_pfn()
   7f5eb098ef95 MIPS: End asm function prologue macros with .insn
   b15877443a93 staging: rtl8712: fixed little endian problem
   ade72053f452 ixgbe: do not disable FEC from the driver
   b6e7fb0be1e5 ixgbe: add mask for 64 RSS queues
   12ec51aaafe3 ixgbe: Reduce I2C retry count on X550 devices
   9d51db4caff9 ixgbe: handle close/suspend race with netif_device_detach/present
   f12976ce82cd ixgbe: fix AER error handling
   865fe71c0a06 arm64: dts: NS2: reserve memory for Nitro firmware
   e2d12bdaed6b ALSA: hda/realtek - Add new codec ID ALC299
   b1e8e6d4c065 gpu: drm: mgag200: mgag200_main:- Handle error from pci_iomap
   3e899991b99e backlight: adp5520: Fix error handling in adp5520_bl_probe()
   d6f21ea25118 backlight: lcd: Fix race condition during register
   fe21a3d68819 ALSA: vx: Fix possible transfer overflow
   3b985d39ed4f ALSA: vx: Don't try to update capture stream before running
   51abb2a73f16 scsi: lpfc: Clear the VendorVersion in the PLOGI/PLOGI ACC payload
   8d8723c8c187 scsi: lpfc: Correct issue leading to oops during link reset
   44eb947094c4 scsi: lpfc: Correct host name in symbolic_name field
   a7e7d319cc96 scsi: lpfc: FCoE VPort enable-disable does not bring up the VPort
   18477baf599e scsi: lpfc: Add missing memory barrier
   fdc1e9d553e1 staging: rtl8188eu: fix incorrect ERROR tags from logs
   0c098158785b scsi: ufs: add capability to keep auto bkops always enabled
   469e75ddff14 scsi: ufs-qcom: Fix module autoload
   bb848b61967f igb: Fix hw_dbg logging in igb_update_flash_i210
   ba83011a470c igb: close/suspend race in netif_device_detach
   559a20802838 igb: reset the PHY before reading the PHY ID
   7878dca7ca24 drm/sti: sti_vtg: Handle return NULL error from devm_ioremap_nocache
   b9ea0af4793b ata: SATA_MV should depend on HAS_DMA
   11cb9dedb2e6 ata: SATA_HIGHBANK should depend on HAS_DMA
   2066882df749 ata: ATA_BMDMA should depend on HAS_DMA
   4fd669feacd3 ARM: dts: Fix omap3 off mode pull defines
   955840ea5035 ARM: OMAP2+: Fix init for multiple quirks for the same SoC
   4a23041fa533 ARM: dts: Fix am335x and dm814x scm syscon to probe children
   84a97ea8b7b1 ARM: dts: Fix compatible for ti81xx uarts for 8250
   62641014202e fm10k: request reset when mbx->state changes
   2bb04f1ff63d extcon: palmas: Check the parent instance to prevent the NULL
   8d9142ff444e dmaengine: dmatest: warn user when dma test times out
   ec4f8a71c0fc Bluetooth: btusb: fix QCA Rome suspend/resume
   977784638f76 arm: crypto: reduce priority of bit-sliced AES cipher
   e455048c7ae9 net: qmi_wwan: fix divide by 0 on bad descriptors
   caeeef8438c3 net: cdc_ether: fix divide by 0 on bad descriptors
   46bdabbca02e sctp: do not peel off an assoc from one netns to another one
   11e8e55be18c xen-blkback: don't leak stack data via response ring
   49630dd2e10a bpf: don't let ldimm64 leak map addresses on unprivileged
   07e3aff243cd KVM: x86: fix singlestepping over syscall
   ceb5c560e2e4 ext4: fix data exposure after a crash
   0a418e57717d media: dib0700: fix invalid dvb_detach argument
   c344019c48a9 media: imon: Fix null-ptr-deref in imon_probe

(From OE-Core rev: 2f34df4052632ea664289059177b9f8b5b7f7a26)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-27 13:15:28 +00:00
Bruce Ashfield
6ad2bcdc17 linux-yocto/4.12: iwlwifi and pci id backports
Integrating the following wilwifi and pci ID backports. These are
bug fixes, enablements and minor updates.

   850696176565 mmc: sdhci-pci: Add support for Intel CNP
   d7265bddf328 mmc: sdhci-pci: Use macros in pci_ids definition
   3a78458e37c1 spi: pxa2xx: Add support for Intel Cannonlake
   9de152318ec0 mfd: intel-lpss: Add Intel Cannonlake PCI IDs
   533713968b7d i2c: i801: Add support for Intel Cannon Lake
   b3a84be8dc44 Bluetooth: Add support for Intel Bluetooth device 9460/9560 [8087:0aaa]
   08dea20dfcdd iwlwifi: pcie: fix DMA memory mapping / unmapping
   9846e33915f4 iwlwifi: mvm: mark MIC stripped MPDUs
   d47d7a5921ec iwlwifi: mvm: enable RX offloading with TKIP and WEP
   295c08159f25 iwlwifi: mvm: flush queue before deleting ROC
   a49b4d426747 iwlwifi: add new cards for 9260 and 22000 series
   49f247c26220 iwlwifi: fix access to prph when transport is stopped
   3716aa8c7fb2 iwlwifi: pcie: fix erroneous "Read failed message"
   8ea811068131 iwlwifi: mvm: fix packet injection
   ce6f582d7790 iwlwifi: mvm: fix the TX queue hang timeout for MONITOR vif type
   789e2b172917 iwlwifi: mvm: don't use transmit queue hang detection when it is not possible
   4d697c7f2f30 iwlwifi: mvm: set correct chains in Rx status
   14f5ee3d7f2a iwlwifi: fix firmware names for 9000 and A000 series hw
   10f670720316 mac80211: add api to start ba session timer expired flow
   6975296fb60f timer: Prepare to change timer callback argument type
   617d38a55701 iwlwifi: fix PCI IDs and configuration mapping for 9000 series
   7768d0301e76 iwlwifi: mvm: support version 7 of the SCAN_REQ_UMAC FW command
   d10e7c4752ad iwlwifi: add new cards for a000 series
   f93a0bd94f2e iwlwifi: add new cards for 8265 series
   fd7fb7407891 iwlwifi: add new cards for 8260 series
   155e2cf7cf48 iwlwifi: drop RX frames during hardware restart
   a6a61a5c3dc6 iwlwifi: mvm: Convert timers to use timer_setup()
   2c55829d53e9 iwlwifi: mvm: hold mutex when flushing in iwl_mvm_flush_no_vif()
   c9d9e2dabd5b iwlwifi: mvm: add missing implementation of flush for a000 devices
   3793a1ba0652 iwlwifi: mvm: refactor iwl_mvm_flush_no_vif
   ef5fe37f634b iwlwifi: fix multi queue notification for a000 devices
   76b84cc9a0a7 iwlwifi: Add more call-sites for pcie reg dumper
   c76d3e3c5401 iwlwifi: remove host assisted paging
   d04bbe0546b1 iwlwifi: remove dead code for internal devices only
   f2aa0f94c3ed iwlwifi: mvm: improve latency when there is a reorder timeout
   16472c63581e iwlwifi: mvm: rs: remove the ANT C from the toogle antenna logic
   b12c3acdedd4 iwlwifi: mvm: reset seq num after restart
   b80a2cffd5ae iwlwifi: mvm: cleanup references to aggregation count limit
   08fb17fe5d5d iwlwifi: mvm: use RS macro instead of duplicating the code
   4ee07409e310 iwlwifi: pcie: remove set but not used variable tcph
   a707114d30c7 iwlwifi: pcie: sort IDs for the 9000 series for easier comparisons
   5437405de942 iwlwifi: mvm: add missing lq_color
   5b9fdea44032 iwlwifi: define minimum valid address for umac_error_event_table in cfg
   66130a345dc0 iwlwifi: mvm: move umac_error_event_table validity check to where it's set
   02ae1833fe0a iwlwifi: mvm: allow reading UMAC error data from SMEM in A000 devices
   92f982fbedea iwlwifi: mvm: pass baid_data to iwl_mvm_release_frames()
   f5373043dbf2 iwlwifi: mvm: remove duplicated fields in mvm reorder buffer
   46023b1981e8 iwlwifi: mvm: allocate reorder buffer according to need
   8b46150fdcba iwlwifi: remove dflt_pwr_limit from the transport
   1a0b98c751d9 iwlwifi: mvm: warn on invalid statistics size
   fd3b380a9842 iwlwifi: acpi: move code that reads SPLC to acpi
   390680e904da iwlwifi: fix indentation in a000 family configuration
   eff6a99d6123 iwlwifi: acpi: move function to get mcc into acpi code
   2c78cb7d30a5 iwlwifi: acpi: remove a couple of unnecessary ifdefs
   913d3ee53285 iwlwifi: acpi: make iwl_get_bios_mcc() use the common acpi functions
   99fb9256d5db iwlwifi: acpi: use iwl_acpi_get_wifi_pkg when reading reading SPLC
   ebe44b941059 iwlwifi: acpi: generalize iwl_mvm_sar_find_wifi_pkg()
   f9975d6cd5cb iwlwifi: acpi: move ACPI-related definitions to acpi.h
   c82427d45403 iwlwifi: acpi: move ACPI method definitions to acpi.h
   230d7769570e iwlwifi: acpi: add common code to read from ACPI
   11fe78e4e712 iwlwifi: mvm: change warning to warn_once()
   5bdafa97f8c2 iwlwifi: pcie: dump registers when HW becomes inaccessible
   e23f32f76e1b iwlwifi: mvm: add marker cmd response struct.
   29921783721e iwlwifi: fw: api: remove excess enum value documentation
   7d535c46c8a9 iwlwifi: mvm: don't send identical PHY_CTXT_CMD
   271cf21e8e38 iwlwifi: remove redundant reading from NVM file
   1f97d139cf89 iwlwifi: pcie: dynamic Tx command queue size
   49cd37c4bf52 iwlwifi: Add few debug prints to the WRT dump flow
   275329860324 iwlwifi: mvm: support firmware debug trigger on frame reorder timeout
   04901364779d iwlwifi: mvm: remove support for Link Quality Measurements
   36b34fa8d705 iwlwifi: mvm: Add new quota command API
   ebe4543c05ca iwlwifi: add a new a000 device
   c18499f54fb6 iwlwifi: fix wrong struct for a000 device
   b446945d074c iwlwifi: trans: move ref/unref code to the common part of the transport
   0c1dddd47c6e iwlwifi: mvm: add dbgfs entry for fw info
   6f04e26ed094 iwlwifi: nvm: set the correct offsets to 3168 series
   9cd4e5a40c94 iwlwifi: nvm-parse: unify channel flags printing
   81d96355b478 iwlwifi: mvm: return -ENODATA when reading the temperature with the FW down
   191792ca6c7b iwlwifi: stop dbgc recording before stopping DMA
   55b03bd59426 iwlwifi: mvm: do not print security error in monitor mode
   d25afe43ac2b iwlwifi: mvm: fix reorder buffer for 9000 devices
   dab206263245 iwlwifi: mvm: set status before calling iwl_mvm_send_cmd_status()
   4cd70ffaa6b4 iwlwifi: mvm: initialize status in iwl_mvm_add_int_sta_common()
   8b949c472671 iwlwifi: mvm: handle FIF_ALLMULTI when setting multicast addresses
   a8789c53df4c iwlwifi: mvm: wake the correct mac80211 queue
   e3fc497bcb1f iwlwifi: mvm: change state when queueing agg start work
   e64485ba374a iwlwifi: mvm: send all non-bufferable frames on the probe queue
   39853a2897ca iwlwifi: mvm: Flush non STA TX queues
   a79f9da1c39f iwlwifi: mvm: fix wowlan resume failed to load INIT ucode
   030cb8bb462b iwlwifi: mvm: only send LEDS_CMD when the FW supports it
   9d5c1397f0ba iwlwifi: mvm: bump API to 34 for 8000 and up
   0e4e899155b2 iwlwifi: mvm: Avoid deferring non bufferable frames
   bbb1538f4415 iwlwifi: fix long debug print
   fba7875cbf2b iwlwifi: pcie: move rx workqueue initialization to iwl_trans_pcie_alloc()
   cbe2772aa5ac iwlwifi: use big-endian for the hw section of the nvm
   5a9ed1a9e7a1 iwlwifi: mvm: remove useless check for mvm->cfg in iwl_parse_nvm_section()
   5dce0bb2c1e4 iwlwifi: mvm: remove useless argument in iwl_nvm_init()
   44a34b9133f6 iwlwifi: fw: fix lar_enabled endian problem in iwl_fw_get_nvm
   6ed7a437ada4 iwlwifi: add workaround to disable wide channels in 5GHz
   9fdf34b63469 iwlwifi: mvm: change open and close criteria of a BA session
   00fee168712f iwlwifi: update channel flags parser
   51fe7153860f iwlwifi: distinguish different RF modules in A000 devices
   04b2b5fe60ec iwlwifi: mvm: Fix channel switch in case of count <= 1
   12cb62ad92f1 iwlwifi: Demote messages about fw flags size to info
   ec7db94d2ac8 iwlwifi: move BT_MBOX_PRINT macro to common header
   9096228d343c iwlwifi: mvm: don't send BAR on flushed frames
   0200459abfe5 iwlwifi: mvm: remove session protection to allow channel switch
   4ed04628ce99 iwlwifi: mvm: update the firmware API in TX
   a9c710c755bd iwlwifi: mvm: use mvmsta consistently in rs.c
   db9f3872c6fa iwlwifi: mvm: group all dummy SAR function declarations together
   e59229f94610 iwlwifi: mvm: add command name for FRAME_RELEASE
   52c144d07be9 iwlwifi: pcie: support short Tx queues for A000 device family
   9768c491c7d2 iwlwifi: mvm: support new Coex firmware API
   899413b64660 iwlwifi: call iwl_remove_notification from iwl_wait_notification
   1e627b700dbb iwlwifi: mvm: consider RFKILL during INIT as success
   c9ef6cbdc1b9 iwlwifi: mvm: remove the corunning support
   6e83c9cbc23f iwlwifi: mvm: fix the coex firmware API
   537da96de818 iwlwifi: pcie: free the TSO page when a Tx queue is unmapped on A000 devices
   5fcd36459941 iwlwifi: remove references to unsupported HW
   b73ab3bf441b iwlwifi: fix nmi triggering from host
   c0594a59199d iwlwifi: pcie: don't init a Tx queue with an SSN > size of the queue
   0d23bd8c8cbf iwlwifi: mvm: add station before allocating a queue
   bd8e6c146cc2 iwlwifi: mvm: don't send CTDP commands via debugfs if not supported
   2f36c927e0b6 iwlwifi: mvm: support new beacon template command
   55ed6e274d45 iwlwifi: mvm: send delba upon rx ba session timeout
   f9cc252d82fc iwlwifi: mvm: set the default cTDP budget
   1d41aa6b2727 iwlwifi: mvm: move a000 device NVM retrieval to a common place
   e7b6180a4e80 iwlwifi: dump smem configuration when firmware crashes
   30d9d2f6ec84 iwlwifi: fix a000 RF_ID define
   064eaeb94cdd iwlwifi: add support of FPGA fw
   4d58ad2d7dd4 iwlwifi: fix a few instances of misaligned kerneldoc parameters
   a854f76ba000 iwlwifi: change functions that can only return 0 to void
   583ab36a2c38 iwlwifi: mvm: add debugfs to force CT-kill
   59f3b92bc9d5 iwlwifi: mvm: add const to thermal_cooling_device_ops structure
   6065eab05454 iwlwifi: mvm: use firmware LED command where applicable
   bdd1f8e6cd04 iwlwifi: mvm: remove useless condition in LED code
   8690797a9a10 iwlwifi: mvm: don't WARN when a legit race happens in A-MPDU
   bfa6caa712e9 iwlwifi: mvm: start mac queues when deferred tx frames are purged
   b8055bcadf7c iwlwifi: mvm: Fix a memory leak in an error handling path in 'iwl_mvm_sar_get_wgds_table()'
   446ea78b678c iwlwifi: mvm: don't retake the pointer to skb's CB
   f8fecb61f48f iwlwifi: mvm: remove non-DQA mode
   2afb27a925ce iwlwifi: mvm: rename p2p-specific sta functions to include p2p in the names
   6c1a64e3ef75 iwlwifi: mvm: simplify bufferable MMPDU check
   37d2db886acb iwlwifi: mvm: require AP_LINK_PS for TVQM
   cc0f8aa5bd8c iwlwifi: pcie: rename iwl_trans_check_hw_rf_kill() to pcie
   d680a553246e iwlwifi: mvm: add compile-time option to disable EBS
   eb39ff9703cb iwlwifi: implement fseq version mismatch warning
   248737b38907 iwlwifi: mvm: support fw reading empty OTP
   4c521e875d7a iwlwifi: pcie: fix A-MSDU on gen2 devices
   cae215d55c66 iwlwifi: mvm: fix uninitialized var while waiting for queues to empty
   3c7d7c6a8dbd iwlwifi: mvm: fix the FIFO numbers in A000 devices
   e9ac52a93832 iwlwifi: mvm: refactor beacon template command code
   585dde6c1b9b iwlwifi: dvm: remove unused defines
   7eec01ad4c9e iwlwifi: mvm: byte-swap constant instead of variable
   099c0a80ad9f iwlwifi: mvm: check family instead of new TX API for workarounds
   2e44edff43bb iwlwifi: mvm: add and use iwl_mvm_has_unified_ucode()
   571909b0fc2f iwlwifi: fw api: fix various kernel-doc warnings
   231a0f260c9f iwlwifi: reorganize firmware API
   45a9716e520c iwlwifi: refactor firmware debug code
   6bc25ab6637f iwlwifi: track current firmware image in common code
   2e8f9d07d433 iwlwifi: refactor shared mem parsing
   e99db11387dd iwlwifi: refactor out paging code
   87e461c198f2 iwlwifi: add the new 9000 series PCI IDs
   ccd7ba236f4c iwlwifi: mvm: set the RTS_MIMO_PROT bit in flag mask when sending sta to fw
   117a3d6f9f1d iwlwifi: fix fw_pre_next_step to apply also for C step
   2176967bd330 iwlwifi: mvm: rs: fix TLC statistics collection
   7e12ee6aadfd iwlwifi: mvm: set A-MPDU bit upon empty BA notification from FW
   a52eff0e4979 iwlwifi: split the regulatory rules when the bandwidth flags require it
   3a5a68e76e90 iwlwifi: add TLV for MLME offload firmware capability
   a33aab491b28 iwlwifi: mvm: fix TCP CSUM offload with WEP and A000 series
   4aaa3afd80b2 iwlwifi: mvm: defer setting IWL_MVM_STATUS_IN_HW_RESTART
   824bd3878358 iwlwifi: mvm: handle IBSS probe_queue in a few missing places
   cfa94cd7b0eb iwlwifi: fix tracing when tx only is enabled
   2137706c9531 iwlwifi: missing error code in iwl_trans_pcie_alloc()
   7f6264621aa1 iwlwifi: mvm: fix a NULL pointer dereference of error in recovery
   f20a2719d785 iwlwifi: pcie: fix unused txq NULL pointer dereference
   9e14453045b2 iwlwifi: bump MAX API for 8000/9000/A000 to 33
   b177ff5b4d37 iwlwifi: pcie: wait longer after device reset
   1a57bfb1ca30 iwlwifi: pcie: propagate iwl_pcie_apm_init's status
   5d80ae738313 iwlwifi: mvm: quietly accept non-sta disassoc frames
   4413e18698bd iwlwifi: mvm: update rx statistics cmd api
   8a1e4d649107 iwlwifi: mvm: remove DQA non-STA client mode special case
   ba3b437ac257 iwlwifi: mvm: don't mess the SNAP header in TSO for non-QoS packets
   6a8a1d8ff04f iwlwifi: pcie: reconfigure MSI-X HW on resume
   370b3f671b84 iwlwifi: mvm: don't send fetch the TID from a non-QoS packet in TSO
   dd9d9e230b3b iwlwifi: mvm: fix mac80211's hw_queue in DQA mode
   67f0a8051df7 iwlwifi: mvm: map cab_queue to real one earlier
   279ca413640e iwlwifi: mvm: fix mac80211 queue tracking
   ac34301b93d9 iwlwifi: mvm: properly enable IP header checksumming
   b7e49fba6de4 iwlwifi: pcie: add MSI-X interrupt tracing
   073e3ae0697d iwlwifi: mvm: quietly accept non-sta assoc response frames
   000225c8540e iwlwifi: mvm: remove version 2 of paging command
   01adad1afb4b iwlwifi: move configuration into sub-directory
   1c945c0a2365 iwlwifi: move notification wait into fw/
   707cab759b03 iwlwifi: create new subdirectory for FW interaction
   11498c406c1d iwlwifi: mvm: rename iwl_shared_mem_cfg_v1 to the correct _v2
   36d920ab8301 iwlwifi: mvm: fix deduplication start logic
   f639f74a16db iwlwifi: mvm: unconditionally stop device after init
   6d351ad19e9e iwlwifi: pcie: warn if paging is already initialized during init
   f440538d499e iwlwifi: pcie: make ctxt-info free idempotent
   b6d799e30c37 iwlwifi: unify external & internal modparam names
   da2431c19209 iwlwifi: mvm: support multi tid ba notif
   9ef205fbc7f6 iwlwifi: mvm: change when the BT_COEX is sent
   ffeceb4d747d iwlwifi: pcie: improve debug in iwl_pcie_rx_handle_rb()
   03eb5a5191b5 iwlwifi: mvm: support aggs of 64 frames in A000 family
   2385536aa6aa iwlwifi: pcie: improve "invalid queue" warning
   15a398ef172d iwlwifi: mvm: use proper CDB check in PHY context modify
   864be96cece8 iwlwifi: add twelve new 9560 series PCI IDs
   ec6054472dfb iwlwifi: add the new a000_2ax series
   968a39b62c95 iwlwifi: mvm: simplify CHECK_MLME_TRIGGER macro
   df311987c49c iwlwifi: mvm: change sta_id to u8
   883fb2c8e201 iwlwifi: pcie: fix 9000-series RF-kill interrupt propagation
   91acf229d6cd iwlwifi: pcie: only apply retention workaround on 9000-series A-step
   09a2f42e69fb iwlwifi: dvm: use macros for format strings
   7ca1a7dd8f3e iwlwifi: mvm: fix a bunch of kernel-doc warnings
   b458b063bc76 iwlwifi: mvm: add documentation for all command IDs
   d1790ece9b75 iwlwifi: mvm: use __le16 even for reserved fields
   046c12a1dc80 iwlwifi: mvm: remove various unused command IDs/structs
   2848902362f0 iwlwifi: mvm: fix various "Excess ... description" kernel-doc warnings
   623a8552fda4 iwlwifi: mvm: remove some CamelCase from firmware API
   e3b3b727c40d iwlwifi: mvm: Add debugfs entry to retrieve SAR geographic profile
   fdc992fb8d18 iwlwifi: mvm: refactor geo init
   c5a3a5eefbea iwlwifi: mvm: support TX on MONITOR iface
   dc57bda29216 iwlwifi: pcie: work around suspend/resume issue
   0ae7c6c46fd8 iwlwifi: mvm: fix typo in CTDP_CMD_OPERATION_REPORT description
   c7434aa46639 iwlwifi: pcie: delete the Tx queue timer earlier upon firmware crash
   958f6310f57a iwlwifi: pcie: reduce unwanted noise in the logs
   47b740d6fdad iwlwifi: mvm: print base HW address during init
   576b5f6d20aa iwlwifi: mvm: document assoc_beacon_arrive_time
   0f5456ddc9e1 iwlwifi: mvm: reset the fw_dump_desc pointer after ASSERT
   143b28afd061 iwlwifi: mvm: set assoc_beacon_arrive_time
   277925710d13 iwlwifi: pcie: make iwl_pcie_apm_stop_master() return void
   2c60b669ee2f iwlwifi: add a W/A for a scheduler hardware bug
   ea2c2d55b740 iwlwifi: mvm: don't mark TIDs that are not idle wrt BA as inactive
   6334bb289021 iwlwifi: mvm: reset the HW before dumping if HW error is detected
   47cc9c8ef1e2 iwlwifi: pcie: don't disable bh when handling FW errors
   c7507a1c27da iwlwifi: mvm: fix nvm_data leak
   997a0c1940c0 iwlwifi: remove useless iwl_free_nvm_data() function
   85ffc85a8631 iwlwifi: document transmit buffer bits better
   b354e56f9170 iwlwifi: mvm: add documentation for enum iwl_debug_cmds
   862b5ca77cb7 iwlwifi: mvm: disentangle union in TX status struct
   62bcece33632 iwlwifi: mvm: fix fw monitor 7000 HW recollecting
   779d40dcefef iwlwifi: mvm: docs: fix enum link, provide TX response link
   07654dd35785 iwlwifi: pcie: fix command completion name debug
   fe6742b239a5 iwlwifi: fix TX tracing for non-linear SKBs
   b45290710c5f iwlwifi: simplify data tracepoint
   30c0d59cb96e iwlwifi: mvm: better link scan notification results length
   2af91c751cb1 iwlwifi: pcie: use kstrtou32_from_user()
   476da255e452 iwlwifi: mvm: support aggregations on A000 HW
   9589a1e03918 iwlwifi: mvm: document status bits
   ba68df149d76 iwlwifi: pcie: remove pointless debugfs parsing for csr file
   69cb66f56e31 iwlwifi: pcie: don't report RF-kill enabled while shutting down
   95cf3d6024f3 iwlwifi: mvm: don't warn in queue sync on RF-kill
   f29197139bd5 iwlwifi: pcie: add fake RF-kill to debugfs
   9d66c60c017c iwlwifi: pcie: pull out common rfkill IRQ handling code
   ecc56c4e3f8a iwlwifi: mvm: rs: add logs for the wrong antenna case
   9fa7ff152d17 iwlwifi: mvm: make iwl_mvm_update_mcc() easier to follow
   5873c905dd46 iwlwifi: mvm: change the firmware name loading
   f48b4417b6bb iwlwifi: mvm: support D0I3_END_CMD at the start of resume
   db5d313c1366 iwlwifi: mvm: make D0I3_END_CMD sync during system resume
   cef60bd42b53 iwlwifi: mvm: track and report IBSS manager status to mac80211
   c9592bc2295b iwlwifi: use bitfield.h for some registers
   a981c4683faa iwlwifi: mvm: use scnprintf() instead of snprintf()
   94da2d3b1962 iwlwifi: pcie: fix TVQM queue ID range check
   ffc4fbe862d0 iwlwifi: mvm: remove pointless num_stored condition
   fffa02450281 iwlwifi: mvm: avoid unnecessary cache trashing in Tx path
   ef694dd2c96a iwlwifi: mvm: Enable security on new TX API
   8628d427548a iwlwifi: mvm: disable dbg data collect when fw isn't alive
   29e776b74ca4 iwlwifi: remove resp_pkt NULL checks
   b697ec7ebaa3 iwlwifi: mvm: remove txq EMPTYING_DELBA state for DQA
   c1c666e4b9e1 iwlwifi: remove unnecessary code in iwl_trans_alloc_tx_cmd
   aac2dec2caa9 iwlwifi: fw-api: cleanup cycle includes
   6d409c70b759 iwlwifi: mvm: remove SCAN_GROUP
   57cba4f2c3bb iwlwifi: mvm: link to TX commands in documentation
   2792b27534b3 iwlwifi: mvm: document structures used for BEACON_TEMPLATE_CMD
   7bafd04ebb12 iwlwifi: mvm: link queue cmd docs to A000 command structs
   c99a3509d9a9 iwlwifi: split firmware API from iwl-trans.h
   4180802e550f iwlwifi: fix a kernel-doc tag
   fee5c3ea3ccc iwlwifi: mvm: clear firmware running bit earlier
   1a6cb6ae5305 iwlwifi: mvm: convert ucode_loaded to a status bit
   28abcc34d47f iwlwifi: mvm: use schedule_delayed_work()
   2b8c8c6a247c iwlwifi: mvm: check firmware is up in debugfs
   f2a41abb9acc iwlwifi: mvm: disable prph collection in a000 hw
   8945686f242b iwlwifi: pcie: support dumping FH in a000 hw
   e8e293176ae2 iwlwifi: add 9000 and A000 device families
   3610276b8a6c iwlwifi: mvm: support init flow debugging
   ca41111b2b1c iwlwifi: mvm: add TLV for NAN API differentiation
   afbea5518455 iwlwifi: add dbgc_supported to transport configuration
   acdc73097588 iwlwifi: remove references to 8000 B-step devices
   595bbac1c406 iwlwifi: cleanup references to 8000 family in NVM code
   11faed6da368 iwlwifi: pcie: add AMSDU to gen2
   fcdca8ea1328 iwlwifi: mvm: document RX structures
   767327919d86 iwlwifi: mvm: add AMSDU flag to offload assist
   f322fb5df757 iwlwifi: mvm: fix many kernel-doc warnings
   50cc8892d845 iwlwifi: mvm: remove unused REPLY_MAX
   484994be6f9c iwlwifi: kernel-doc: make proper links
   118480297594 iwlwifi: mvm: remove unused TX_CMD_NEXT_FRAME_*
   d51079922e78 iwlwifi: Add fw_name_pre_rf_next_step to support different rf steps
   75ae58fb9f09 iwlwifi: pcie: support page dumping in wrt in gen2
   1257922aa9ba iwlwifi: mvm: remove wrt support of page dumps in gen2
   dd16d8dd7ffa iwlwifi: mvm: document structures used by commands
   c1707f389f38 iwlwifi: mvm: create/name various enums
   f7284177ca6b iwlwifi: mvm: disentangle binding command versions
   2e2a50a2385b iwlwifi: update device ID for a000 family
   1a2dfbdfc6a6 iwlwifi: mvm: add documentation links to various fields
   af89f3bcefe0 iwlwifi: mvm: fix some kernel-doc
   dd9e1bc0ab78 iwlwifi: mvm: add documentation to some WoWLAN commands
   f3a49c387b0c iwlwifi: mvm: disentangle paging command structs
   99663cdb5f32 iwlwifi: mvm: use u8 for reserved fields
   889c4a104258 iwlwifi: mvm: fix MCC endianness bug
   a391ff99187a iwlwifi: mvm: use proper sta_addr in firmware API
   27b6fcbdb9dd iwlwifi: mvm: document which group enums are used with which group ID
   6eb27e533f68 iwlwifi: mvm: fix endianness in lq_cmd declaration
   0fbd3eb814df iwlwifi: mvm: support old method of NVM parsing
   dc5fc94c7ad3 iwlwifi: mvm: support getting nvm data from firmware

(From OE-Core rev: 4d4dd482478f7292e97e685a702b8180bade124a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-27 13:15:28 +00:00
Bruce Ashfield
be29a95bee kernel-yocto: make SRC_URI defconfig removal more specific
commit 7e98c295c1bb511e [kernel-yocto: ensure that only a single
defconfig is processed] has an overly broad replacement strategy
for 'defconfig' and hence will chop up any fragment name that
happens to contain that string.

If we change the processing to split on whitespace and drop
any full work 'defconfig' fragments, we'll get the behaviour
we want (no duplicate defconfigs, but fragments with defconfig
in their name are fine).

[YOCTO #12487]

(From OE-Core rev: fd2678190db6575dc909104b60c284d0c41f605f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-27 13:15:28 +00:00
Bruce Ashfield
4bf146623b linux-yocto/4.12: drm & mips fixes
Integrating the following bug fixes (mainline backports):

  d572780c455f Mips kernel warining:resolve some warning when compiling arch/mips/math-emu/cp1emu.c
  f79ac7203257 drm/tilcdc: Precalculate total frametime in tilcdc_crtc_set_mode()

(From OE-Core rev: f8b00a49bc6e57aafbfc48ee76d392f4003c5bf7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-27 13:15:28 +00:00
Bruce Ashfield
3b70f53e6e linux-yocto/4.12: coffeeLake-s graphics and audio support
Integrating the following backports to enable graphics and audito for
the coffeelake-s board:

   e0256c639caf ALSA: hda/realtek - Fix ALC700 family no sound issue
   a3bd263fa5f3 ALSA: hda - Add model string for Intel reference board quirk
   c12ee7fbc382 ALSA: hda/realtek - Enable jack detection function for Intel ALC700
   ff8d2c896572 ALSA: hda: Add Cannonlake PCI ID
   88ee594b72e6 ALSA: hda - Fix unbalance of i915 module refcount
   c7d38955ce7f ALSA: hda - Fix doubly initialization of i915 component
   5ca2b95b131f ALSA: hda - Bind with i915 component before codec binding
   648c24f8d385 ALSA: hda - Add AZX_DRIVER_SKL for simplification
   f406fd3d0c63 drm/i915/cnl: Implement CNL display init/unit sequence
   1e07bbf553c0 drm/i915/cnl: Implement .set_cdclk() for CNL
   901336fddca0 drm/i915/cnl: Implement .get_display_clock_speed() for CNL
   be7a1f129e42 drm/i915/cfl: Coffee Lake reuses Kabylake DMC.
   ee6ac7be14c3 drm/i915/huc: Load HuC on Coffee Lake
   35a913347462 drm/i915/guc: Load GuC on Coffee Lake
   443e68bbbe46 drm/i915/cfl: Add Coffee Lake PCI IDs for U Sku.
   0ef98275c834 drm/i915/cfl: Add Coffee Lake PCI IDs for H Sku.
   594a1d673403 drm/i915/cfl: Add Coffee Lake PCI IDs for S Skus.
   8732a393ce1e drm/i915/cfl: Introduce Display workarounds for Coffee Lake.
   676a4c1b92ab drm/i915/cfl: Coffee Lake uses CNP PCH.
   f5eb462f524f drm/i915/cfl: Introduce Coffee Lake platform definition.
   8a3a080c7028 drm/i915/cnl: Also need power well sanitize.
   b5620b75db38 drm/i915/cnl: Add power wells for CNL
   b747f1806205 drm/i915/cnl: Cannonlake has same MOCS table than Skylake.
   fc8aee64eaeb drm/i915/cnl: Configure EU slice power gating.
   a9b5e8f00440 drm/i915/cnl: Cannonlake has 4 planes (3 sprites) per pipe
   03a55f9a6082 drm/i915/cnl: add IS_CNL_REVID macro
   7236995c6b04 drm/i915/cnl: Add Cannonlake PCI IDs for Y-skus.
   b2f7e93bcb56 drm/i915/cnl: Add Cannonlake PCI IDs for U-skus.
   30c5a76e52a6 drm/i915/cnl: Cannonlake uses CNP PCH.
   27bb6860ebf1 drm/i915/cnl: Introduce Cannonlake platform defition.
   b4d4cf3529e0 drm/i915/cnp: Panel Power sequence changes for CNP PCH.
   ee2e2af1cf34 drm/i915/cnp: add CNP gmbus support
   35964d298c7d drm/i915/cnp: Backlight support for CNP.
   ccfab7d5ae88 drm/i915/cnp: Get/set proper Raw clock frequency on CNP.
   abdbbc6157d7 drm/i915/cnp: Add PCI ID for Cannonpoint LP PCH
   87482dfba004 drm/i915/cnp: Introduce Cannonpoint PCH.

(From OE-Core rev: a316b06f4eba9f9996e5f6a7cf122e9cafd31710)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-27 13:15:28 +00:00
Bruce Ashfield
386c022aae linux-yocto/4.12: CQM and rdt backports
Integrating the following fixes to CQM and rdt:

   6039d7e04ee9 x86/intel_rdt: Turn off most RDT features on Skylake
   bda0ec91ba67 x86/intel_rdt: Add command line options for resource director technology
   a3c30e14a0c6 x86/intel_rdt: Move special case code for Haswell to a quirk function
   8b85cfaa3e71 perf tests: Remove Intel CQM perf test
   c52eafb271db x86/intel_rdt: Remove redundant assignment
   59eded4485bd x86/intel_rdt/cqm: Make integer rmid_limbo_count static
   f353fcc5381a perf test: Add 'struct test *' to the test functions
   3ab7007dc138 perf tools: Remove warning()
   16373473698d tools: Adopt __printf from kernel sources
   1b6df81b0ec0 perf event-parse: Use pr_warning()
   49304e0a40bb tools: Adopt __noreturn from kernel sources
   404c63ba6ad9 x86/intel_rdt: Fix a silent failure when writing zero value schemata
   0ccb572e7d9a x86/intel_rdt: Initialize bitmask of shareable resource if CDP enabled
   9e35007e23ea x86/intel_rdt: Add diagnostics when making directories
   68cd327250f4 x86/intel_rdt: Add diagnostics when writing the cpus file
   d00dfe37ca54 x86/intel_rdt: Add diagnostics when writing the tasks file
   63536c68faa4 x86/intel_rdt: Add diagnostics when writing the schemata file
   b626cc5e2b2a x86/intel_rdt: Add framework for better RDT UI diagnostics
   cf0468526b24 x86/intel_rdt: Remove redundant ternary operator on return
   8bba47d15f54 x86/intel_rdt: Modify the intel_pqr_state for better performance
   dcddbbf53ff7 x86/intel_rdt/cqm: Clear the default RMID during hotcpu
   6d4f2689b04b x86/intel_rdt/cqm: Improve limbo list processing
   360834344240 x86/intel_rdt/mbm: Fix MBM overflow handler during CPU hotplug
   02a3de9b826d x86/intel_rdt: Show bitmask of shareable resource with other executing units
   cb73d2dea025 x86/intel_rdt/mbm: Handle counter overflow
   f8886547bdc5 x86/intel_rdt/mbm: Add mbm counter initialization
   77d89a70fbea x86/intel_rdt/mbm: Basic counting of MBM events (total and local)
   81825b49c811 x86/intel_rdt/cqm: Add CPU hotplug support
   e23cf266aac4 x86/intel_rdt/cqm: Add sched_in support
   b690bc426fdf x86/intel_rdt: Introduce rdt_enable_key for scheduling
   5a810cfc457c x86/intel_rdt/cqm: Add mount,umount support
   8ee1a2a746b7 x86/intel_rdt/cqm: Add rmdir support
   899eeb375632 x86/intel_rdt: Separate the ctrl bits from rmdir
   549388e78852 x86/intel_rdt/cqm: Add mon_data
   51d07512e645 x86/intel_rdt: Prepare for RDT monitor data support
   41b1dbc8e6d1 x86/intel_rdt/cqm: Add cpus file support
   6f2b9b502232 x86/intel_rdt: Prepare to add RDT monitor cpus file support
   1cf7f59b18bb x86/intel_rdt/cqm: Add tasks file support
   b84af6f5654d x86/intel_rdt: Change closid type from int to u32
   0ee69d488d44 x86/intel_rdt/cqm: Add mkdir support for RDT monitoring
   58da4f0768cf x86/intel_rdt: Prepare for RDT monitoring mkdir support
   ebc3f80d3cdd x86/intel_rdt/cqm: Add info files for RDT monitoring
   be500fe614a7 x86/intel_rdt: Simplify info and base file lists
   0a60b55c6fdd x86/intel_rdt/cqm: Add RMID (Resource monitoring ID) management
   14ddd52ae741 x86/intel_rdt/cqm: Add RDT monitoring initialization
   0d2a5b765e74 x86/intel_rdt: Make rdt_resources_all more readable
   5ecd779f63d9 x86/intel_rdt: Cleanup namespace to support RDT monitoring
   47715abe4ae3 x86/intel_rdt: Mark rdt_root and closid_alloc as static
   72c19e0f78e1 x86/intel_rdt: Change file names to accommodate RDT monitor code
   1d38ddcfa2b0 x86/intel_rdt: Introduce a common compile option for RDT
   7dd744520602 x86/intel_rdt/cqm: Documentation for resctrl based RDT Monitoring
   58d3bad357a9 x86/perf/cqm: Wipe out perf based cqm
   8f921be6408b perf/x86/intel/cqm: Use cpuhp_setup_state_cpuslocked()
   56b2f2883750 perf, bpf: Add BPF support to all perf_event types

(From OE-Core rev: 270bd4ebf0c0c2e3206bea5325c528c99e27aa59)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-27 13:15:28 +00:00
Bruce Ashfield
a536a1cbc7 linux-yocto/4.4: update to 4.4.99
Integrating the korg stable updates that comprise the following
commits:

   0cbac004e673 Linux 4.4.99
   e8d650563c5f misc: panel: properly restore atomic counter on error path
   01000c56cacc target: Fix node_acl demo-mode + uncached dynamic shutdown regression
   4063c2093349 target/iscsi: Fix iSCSI task reassignment handling
   7ecc076a5d51 brcmfmac: remove setting IBSS mode when stopping AP
   d27383faf144 tipc: fix link attribute propagation bug
   c8f13916c4c9 security/keys: add CONFIG_KEYS_COMPAT to Kconfig
   11fa3353205e tcp/dccp: fix other lockdep splats accessing ireq_opt
   6f8048cd59d7 tcp/dccp: fix lockdep splat in inet_csk_route_req()
   13eddc67565a tcp/dccp: fix ireq->opt races
   b9b0c99a426a ipip: only increase err_count for some certain type icmp in ipip_err
   9bae2ffb87d6 ppp: fix race in ppp device destruction
   4b5bb7723da1 sctp: reset owner sk for data chunks on out queues when migrating a sock
   bcb3b90cf3c8 tun: allow positive return values on dev_get_valid_name() call
   5c8a0850bae2 ip6_gre: only increase err_count for some certain type icmpv6 in ip6gre_err
   93b12f202a4e net/unix: don't show information about sockets from other namespaces
   84237c54b239 ipv6: flowlabel: do not leave opt->tot_len with garbage
   d552c8c5007a packet: avoid panic in packet_getsockopt()
   ef3a12f1dc4a sctp: add the missing sock_owned_by_user check in sctp_icmp_redirect
   4b27fe34a226 tun: call dev_get_valid_name() before register_netdevice()
   196f4755cc82 l2tp: check ps->sock before running pppol2tp_session_ioctl()
   71c4a0fc3576 tcp: fix tcp_mtu_probe() vs highest_sack
   735818a8b45c tun/tap: sanitize TUNSETSNDBUF input
   1e98fd54c356 ALSA: seq: Cancel pending autoload work at unbinding device
   b7c625ce6d27 Input: ims-psu - check if CDC union descriptor is sane
   de46c1adbea6 usb: usbtest: fix NULL pointer dereference
   c93df40f3c73 mac80211: don't compare TKIP TX MIC key in reinstall prevention
   cdac2028c901 mac80211: use constant time comparison with keys
   6440f0ee8a17 mac80211: accept key reinstall without changing anything
   c4e3d53bd9e7 Linux 4.4.98
   9c405157269d PKCS#7: fix unitialized boolean 'want'
   b01f1d60dd1c x86/oprofile/ppro: Do not use __this_cpu*() in preemptible context
   4df27e649308 can: c_can: don't indicate triple sampling support for D_CAN
   cdb5a2def61c can: sun4i: handle overrun in RX FIFO
   493cb19b2522 rbd: use GFP_NOIO for parent stat and data requests
   ba4828af60e2 drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue
   05b690ccb077 Input: elan_i2c - add ELAN060C to the ACPI table
   4694272c470a MIPS: AR7: Ensure that serial ports are properly set up
   721d4be9e05d MIPS: AR7: Defer registration of GPIO
   d0cfebd9b1db tools: firmware: check for distro fallback udev cancel rule
   4afaa496d7f3 selftests: firmware: send expected errors to /dev/null
   ed1deec127d9 selftests: firmware: add empty string and async tests
   c08f3a82f66f test: firmware_class: report errors properly on failure
   6004eb4d1adc MIPS: SMP: Fix deadlock & online race
   857e81041f69 MIPS: Fix race on setting and getting cpu_online_mask
   175c0622ab11 MIPS: SMP: Use a completion event to signal CPU up
   207c2143322c MIPS: Fix CM region target definitions
   ff8e97326b6a MIPS: microMIPS: Fix incorrect mask in insn_table_MM
   1e54b5f72115 ALSA: seq: Avoid invalid lockdep class warning
   adc4bacd5164 ALSA: seq: Fix OSS sysex delivery in OSS emulation
   4d5b67a54e6d ARM: 8720/1: ensure dump_instr() checks addr_limit
   3fc61b8dd6bb KEYS: fix NULL pointer dereference during ASN.1 parsing [ver #2]
   48276703a037 crypto: x86/sha1-mb - fix panic due to unaligned access
   44540ead8a8a workqueue: Fix NULL pointer dereference
   ad8c619750c4 x86/uaccess, sched/preempt: Verify access_ok() context
   44e0e2b47af2 platform/x86: hp-wmi: Do not shadow error values
   ce93b664540d platform/x86: hp-wmi: Fix error value for hp_wmi_tablet_state
   df5371592aca KEYS: trusted: fix writing past end of buffer in trusted_read()
   939cafad2f51 KEYS: trusted: sanitize all key material
   75f82a703b30 cdc_ncm: Set NTB format again after altsetting switch for Huawei devices
   5ffc673161be platform/x86: hp-wmi: Fix detection for dock and tablet mode
   f38a3a1c8f1a net: dsa: select NET_SWITCHDEV
   581243dc5528 s390/qeth: issue STARTLAN as first IPA command
   3652b0b6f2c2 IB/ipoib: Change list_del to list_del_init in the tx object
   aa4af0fca101 Input: mpr121 - set missing event capability
   0a731928f264 Input: mpr121 - handle multiple bits change of status register
   ffa6332b8d80 IPsec: do not ignore crypto err in ah4 input
   9ee83b03365a netfilter: nft_meta: deal with PACKET_LOOPBACK in netdev family
   cfb2cb34d32e usb: hcd: initialize hcd->flags to 0 when rm hcd
   6450c9a96ff3 serial: sh-sci: Fix register offsets for the IRDA serial port
   ca2090aa58ba phy: increase size of MII_BUS_ID_SIZE and bus_id
   079822da0a00 iio: trigger: free trigger resource correctly
   26fa336d69a2 crypto: vmx - disable preemption to enable vsx in aes_ctr.c
   30019ca7dc09 ARM: omap2plus_defconfig: Fix probe errors on UARTs 5 and 6
   83fe38f2c4a3 powerpc/corenet: explicitly disable the SDHC controller on kmcoge4
   158bc64a4dfe iommu/arm-smmu-v3: Clear prior settings when updating STEs
   f20065b466d4 KVM: PPC: Book 3S: XICS: correct the real mode ICP rejecting counter
   2393241b7a22 drm: drm_minor_register(): Clean up debugfs on failure
   4e0d26b22e79 xen/netback: set default upper limit of tx/rx queues to 8
   f3170e6607be PCI: mvebu: Handle changes to the bridge windows while enabled
   414aa11de923 video: fbdev: pmag-ba-fb: Remove bad `__init' annotation
   8a56b1b25e3c adv7604: Initialize drive strength to default when using DT
   c54d0707aa09 Linux 4.4.97
   2ed81e62b2ab staging: r8712u: Fix Sparse warning in rtl871x_xmit.c
   883706dcda17 xen: don't print error message in case of missing Xenstore entry
   298455f466cb bt8xx: fix memory leak
   4b7a35866b0c s390/dasd: check for device error pointer within state change interrupts
   45a012ace954 mei: return error on notification request to a disconnected client
   0e97077574c6 exynos4-is: fimc-is: Unmap region obtained by of_iomap()
   2d097e5f5c03 staging: lustre: ptlrpc: skip lock if export failed
   efa8f1b7a65a staging: lustre: hsm: stack overrun in hai_dump_data_field
   2d1d45396585 staging: lustre: llite: don't invoke direct_IO for the EOF case
   28a8fc6416ab platform/x86: intel_mid_thermal: Fix module autoload
   d1f96c30ce2d scsi: aacraid: Process Error for response I/O
   fff544c8cf68 xen/manage: correct return value check on xenbus_scanf()
   762d0762b9bb cx231xx: Fix I2C on Internal Master 3 Bus
   0806eaf13850 perf tools: Only increase index if perf_evsel__new_idx() succeeds
   3b7d9a95ccd3 drm/amdgpu: when dpm disabled, also need to stop/start vce.
   dec5fcf11b45 i2c: riic: correctly finish transfers
   358008062202 ext4: do not use stripe_width if it is not set
   5624ea161040 ext4: fix stripe-unaligned allocations
   a76eb0e8655e staging: rtl8712u: Fix endian settings for structs describing network packets
   f9776d7ee5f5 mfd: axp20x: Fix axp288 PEK_DBR and PEK_DBF irqs being swapped
   8800aba50292 mfd: ab8500-sysctrl: Handle probe deferral
   ed414aeb5291 ARM: pxa: Don't rely on public mmc header to include leds.h
   a3e021504fcf mmc: s3cmci: include linux/interrupt.h for tasklet_struct
   ba28f16cfa2a PM / wakeirq: report a wakeup_event on dedicated wekup irq
   b83c2880b348 Fix tracing sample code warning.
   a48fce662380 tracing/samples: Fix creation and deletion of simple_thread_fn creation
   ded34f972348 drm/msm: fix an integer overflow test
   031b02bc16ae drm/msm: Fix potential buffer overflow issue
   6e6eba5ba145 perf tools: Fix build failure on perl script context
   fa312b481b2b ocfs2: fstrim: Fix start offset of first cluster group during fstrim
   cc7d9933400f ARM: 8715/1: add a private asm/unaligned.h
   4e351b8dd8b7 ARM: dts: mvebu: pl310-cache disable double-linefill
   581ac5f431c9 arm64: ensure __dump_instr() checks addr_limit
   97d64b7f2fdf ASoC: adau17x1: Workaround for noise bug in ADC
   618b930317fb KEYS: fix out-of-bounds read during ASN.1 parsing
   97c5668c9724 KEYS: return full count in keyring_read() if buffer is too small
   d304c9169b38 cifs: check MaxPathNameComponentLength != 0 before using it
   8142e9516d5d ALSA: seq: Fix nested rwsem annotation for lockdep splat
   70358782743f ALSA: timer: Add missing mutex lock for compat ioctls
   27e68f1bca91 Linux 4.4.96
   b3d04695be52 Revert "drm: bridge: add DT bindings for TI ths8135"
   50044e419e83 ecryptfs: fix dereference of NULL user_key_payload
   da0933ceec96 x86/microcode/intel: Disable late loading on model 79
   a272dc770f7d regulator: fan53555: fix I2C device ids
   120ef1a38f79 can: kvaser_usb: Ignore CMD_FLUSH_QUEUE_REPLY messages
   c1b092102124 can: kvaser_usb: Correct return value in printout
   0c3cdb4536d1 can: sun4i: fix loopback mode
   62b54cc63a1c scsi: sg: Re-fix off by one in sg_fill_request_table()
   6e9abbc96411 scsi: zfcp: fix erp_action use-before-initialize in REC action trace
   1cbbd99f3bfe assoc_array: Fix a buggy node-splitting case
   2c99438cf66d Input: gtco - fix potential out-of-bound access
   31d770a8b887 Input: elan_i2c - add ELAN0611 to the ACPI table
   8b396ff8eee7 xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap()
   82e05e935ffd fuse: fix READDIRPLUS skipping an entry
   7d74eecca960 spi: uapi: spidev: add missing ioctl header
   3505478d6fec usb: xhci: Handle error condition in xhci_stop_device()
   da0345d723f0 ceph: unlock dangling spinlock in try_flush_caps()
   5f1d33ab4d53 ALSA: hda - fix headset mic problem for Dell machines with alc236
   8c812f0335dd ALSA: hda/realtek - Add support for ALC236/ALC3204
   fce67b31c7cd workqueue: replace pool->manager_arb mutex with a flag
   9b36699635c5 Linux 4.4.95
   aa3a0a70bdb8 FS-Cache: fix dereference of NULL user_key_payload
   1bb1d4252d1e fscrypto: require write access to mount to set encryption policy
   8a004caec12b KEYS: Fix race between updating and finding a negative key
   1dda04c761ab fscrypt: fix dereference of NULL user_key_payload
   7d9e13d953f2 f2fs crypto: add missing locking for keyring_key access
   4db9f1113196 f2fs crypto: replace some BUG_ON()'s with error checks
   0f85c0954be4 sched/autogroup: Fix autogroup_move_group() to never skip sched_move_task()
   fcc65ab173eb parisc: Fix double-word compare and exchange in LWS code on 32-bit kernels
   558ca24dc296 parisc: Avoid trashing sr2 and sr3 in LWS code
   6f0dee7d9c9b pkcs7: Prevent NULL pointer dereference, since sinfo is not always set.
   33dea302f9bc KEYS: don't let add_key() update an uninstantiated key
   503ef5c070a1 lib/digsig: fix dereference of NULL user_key_payload
   2b7e02267d3c KEYS: encrypted: fix dereference of NULL user_key_payload
   51ba40fcfd67 rtlwifi: rtl8821ae: Fix connection lost problem
   cffdaa65e72f clockevents/drivers/cs5535: Improve resilience to spurious interrupts
   b178c94efdfd bus: mbus: fix window size calculation for 4GB windows
   260b6739e8b7 brcmsmac: make some local variables 'static const' to reduce stack size
   efdcbffb2b16 i2c: ismt: Separate I2C block read from SMBus block read
   68c610776cfb ALSA: hda: Remove superfluous '-' added by printk conversion
   f9e937124ec2 ALSA: seq: Enable 'use' locking in all configurations
   4516069f1b05 drm/nouveau/mmu: flush tlbs before deleting page tables
   195674adee57 drm/nouveau/bsp/g92: disable by default
   4d56587c28d4 can: esd_usb2: Fix can_dlc value for received RTR, frames
   aa629364c0e3 usb: musb: Check for host-mode using is_host_active() on reset interrupt
   583a4219841d usb: musb: sunxi: Explicitly release USB PHY on exit
   d68b07a19a9e can: gs_usb: fix busy loop if no more TX context is available
   f7d8b2e150ee ALSA: usb-audio: Add native DSD support for Pro-Ject Pre Box S2 Digital
   67e25805e748 usb: hub: Allow reset retry for USB2 devices on connect bounce
   d012ab210f5f usb: quirks: add quirk for WORLDE MINI MIDI keyboard
   d729f29a291f usb: cdc_acm: Add quirk for Elatec TWN3
   4512d6503a4d USB: serial: metro-usb: add MS7820 device id
   9dff499d8226 USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor()
   abe43c97cae2 USB: devio: Revert "USB: devio: Don't corrupt user memory"
   af9a9a7bed51 Linux 4.4.94
   401231d063c5 Revert "tty: goldfish: Fix a parameter of a call to free_irq"
   cdbbea7809ca cpufreq: CPPC: add ACPI_PROCESSOR dependency
   c2c6f43e023a nfsd/callback: Cleanup callback cred on shutdown
   429a4ac5895d target/iscsi: Fix unsolicited data seq_end_offset calculation
   823ba64c5719 uapi: fix linux/mroute6.h userspace compilation errors
   028a419869e3 uapi: fix linux/rds.h userspace compilation errors
   c7a20ed2951f ceph: clean up unsafe d_parent accesses in build_dentry_path
   c128baf6a1bc i2c: at91: ensure state is restored after suspending
   d7ecae726698 net: mvpp2: release reference to txq_cpu[] entry after unmapping
   693e6513b244 scsi: scsi_dh_emc: return success in clariion_std_inquiry()
   9ac38e30f2b0 slub: do not merge cache if slub_debug contains a never-merge flag
   315689d2e202 ocfs2/dlmglue: prepare tracking logic to avoid recursive cluster lock
   d3335f5653ec crypto: xts - Add ECB dependency
   02744a55ed38 net/mlx4_core: Fix VF overwrite of module param which disables DMFS on new probed PFs
   7bf94b9595cc sparc64: Migrate hvcons irq to panicked cpu
   d14591e83b49 md/linear: shutup lockdep warnning
   48ca88f93533 f2fs: do not wait for writeback in write_begin
   3109615b52ee Btrfs: send, fix failure to rename top level inode due to name collision
   4d134d830ea7 iio: adc: xilinx: Fix error handling
   5c65ed5c07d7 netfilter: nf_ct_expect: Change __nf_ct_expect_check() return value.
   743a3ce1e0fd net/mlx4_en: fix overflow in mlx4_en_init_timestamp()
   7ed668eeb851 mac80211: fix power saving clients handling in iwlwifi
   3e8c1a04d335 mac80211_hwsim: check HWSIM_ATTR_RADIO_NAME length
   4a464dacc23f irqchip/crossbar: Fix incorrect type of local variables
   7e53f0390dbd watchdog: kempld: fix gcc-4.3 build
   28eab3db727e locking/lockdep: Add nest_lock integrity test
   d44e463c9460 Revert "bsg-lib: don't free job in bsg_prepare_job"
   01e3e6315171 tipc: use only positive error codes in messages
   685699703a0a net: Set sk_prot_creator when cloning sockets to the right proto
   1299f7e17e9e packet: only test po->has_vnet_hdr once in packet_snd
   1b6c80e797ee packet: in packet_do_bind, test fanout with bind_lock held
   ee534927f0c0 tun: bail out from tun_get_user() if the skb is empty
   b5f689d94bc3 l2tp: fix race condition in l2tp_tunnel_delete
   110cf3dd4bcc l2tp: Avoid schedule while atomic in exit_net
   93040aa17862 vti: fix use after free in vti_tunnel_xmit/vti6_tnl_xmit
   d9cb4dc0221e isdn/i4l: fetch the ppp_write buffer in one shot
   1a4f1ecdb257 bpf: one perf event close won't free bpf program attached by another perf event
   5be6824b9704 packet: hold bind lock when rebinding to fanout hook
   aa90be3e1248 net: emac: Fix napi poll list corruption
   3483c65090dc ip6_gre: skb_push ipv6hdr before packing the header in ip6gre_header
   5356f7e40d23 udpv6: Fix the checksum computation when HW checksum does not apply
   2ec54b21dd7b bpf/verifier: reject BPF_ALU64|BPF_END
   dee4506f067a sctp: potential read out of bounds in sctp_ulpevent_type_enabled()
   9f5bbe694df1 MIPS: Fix minimum alignment requirement of IRQ stack
   c088f7bc3310 drm/dp/mst: save vcpi with payloads
   951ba9f6c8b9 percpu: make this_cpu_generic_read() atomic w.r.t. interrupts

(From OE-Core rev: cf63a555ebdcd246df0dcf8dcc433547d196e98f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-27 13:15:28 +00:00
Bruce Ashfield
883cc34f7c linux-yocto/4.9: fix aufs build
The aufs4 core code was missing some changes to build against
the 4.9 fs subsystem. This commit resyncs with the upstream
repo, and we can once again build against 4.9.

(From OE-Core rev: d366392ebf0918b6261de05a56c50687144be5e4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-27 13:15:28 +00:00
Bruce Ashfield
67e2e01df1 linux-yocto/4.9: update to v4.9.71
Integrating the korg stable updates that comprise the following
commits:

   b632d710149f Linux 4.9.71
   ed70a2212526 ath9k: fix tx99 potential info leak
   8f23eb16afd8 icmp: don't fail on fragment reassembly time exceeded
   2eb165b9fbb7 IB/ipoib: Grab rtnl lock on heavy flush when calling ndo_open/stop
   0c70b35bf158 RDMA/cma: Avoid triggering undefined behavior
   31eb4108e107 macvlan: Only deliver one copy of the frame to the macvlan interface
   b64ab3ca9d31 udf: Avoid overflow when session starts at large offset
   91e0cf85caea scsi: bfa: integer overflow in debugfs
   64da4e8d00f1 scsi: sd: change allow_restart to bool in sysfs interface
   1cafdac89191 scsi: sd: change manage_start_stop to bool in sysfs interface
   8315bcf841ae rtl8188eu: Fix a possible sleep-in-atomic bug in rtw_disassoc_cmd
   6641d3e307f5 rtl8188eu: Fix a possible sleep-in-atomic bug in rtw_createbss_cmd
   28e006e14ff9 vt6655: Fix a possible sleep-in-atomic bug in vt6655_suspend
   04d5a2d5d2d0 IB/core: Fix calculation of maximum RoCE MTU
   c744ecec01ae scsi: scsi_devinfo: Add REPORTLUN2 to EMC SYMMETRIX blacklist entry
   f39486bd37ee raid5: Set R5_Expanded on parity devices as well as data.
   4fdb10391bca pinctrl: adi2: Fix Kconfig build problem
   afeeff4d6156 usb: musb: da8xx: fix babble condition handling
   92ad6c13e17e tty fix oops when rmmod 8250
   421910e924b6 soc: mediatek: pwrap: fix compiler errors
   7745382fe86c powerpc/perf/hv-24x7: Fix incorrect comparison in memord
   ab9d25711493 scsi: hpsa: destroy sas transport properties before scsi_host
   1723d6668df5 scsi: hpsa: cleanup sas_phy structures in sysfs when unloading
   237e053346f1 PCI: Detach driver before procfs & sysfs teardown on device remove
   8f84f861f99c RDMA/cxgb4: Declare stag as __be32
   769bca9339f0 xfs: fix incorrect extent state in xfs_bmap_add_extent_unwritten_real
   c82209949bba xfs: fix log block underflow during recovery cycle verification
   fc4177eacfa6 l2tp: cleanup l2tp_tunnel_delete calls
   6a559523ee66 nvme: use kref_get_unless_zero in nvme_find_get_ns
   e2fce5a5578d platform/x86: hp_accel: Add quirk for HP ProBook 440 G4
   7fab68e1f730 btrfs: tests: Fix a memory leak in error handling path in 'run_test()'
   b7ada2c0ea29 arm64: prevent regressions in compressed kernel image size when upgrading to binutils 2.27
   52aaa748a948 Ib/hfi1: Return actual operational VLs in port info query
   9102ed6a5f6a bcache: fix wrong cache_misses statistics
   c2a0531f59c3 bcache: explicitly destroy mutex while exiting
   75f66eeae657 GFS2: Take inode off order_write list when setting jdata flag
   026ffaf65879 scsi: scsi_debug: write_same: fix error report
   d8914530f247 thermal/drivers/step_wise: Fix temperature regulation misbehavior
   019433db872f ASoC: rsnd: rsnd_ssi_run_mods() needs to care ssi_parent_mod
   cf16dac8bd98 ppp: Destroy the mutex when cleanup
   27f5597c9859 clk: tegra: Fix cclk_lp divisor register
   54809e38a629 clk: hi6220: mark clock cs_atb_syspll as critical
   47b63ea40ee1 clk: imx6: refine hdmi_isfr's parent to make HDMI work on i.MX6 SoCs w/o VPU
   d6b6302c36b5 clk: mediatek: add the option for determining PLL source clock
   2850c3ec0d25 mm: Handle 0 flags in _calc_vm_trans() macro
   18498f1c7089 crypto: tcrypt - fix buffer lengths in test_aead_speed()
   2ed46cbf23fc arm-ccn: perf: Prevent module unload while PMU is in use
   c843e9f8f97f xfs: truncate pagecache before writeback in xfs_setattr_size()
   03bfadfb0d79 iommu/amd: Limit the IOVA page range to the specified addresses
   cb0acb37010c badblocks: fix wrong return value in badblocks_set if badblocks are disabled
   dcdca123814c target/file: Do not return error for UNMAP if length is zero
   998201fdc5c9 target:fix condition return in core_pr_dump_initiator_port()
   a4f54ec403da iscsi-target: fix memory leak in lio_target_tiqn_addtpg()
   e086a82a926a target/iscsi: Fix a race condition in iscsit_add_reject_from_cmd()
   abc4b4420af8 platform/x86: intel_punit_ipc: Fix resource ioremap warning
   6e5a846d5172 powerpc/ipic: Fix status get and status clear
   d7e7c431d621 powerpc/opal: Fix EBUSY bug in acquiring tokens
   a463f9c5dfd1 netfilter: ipvs: Fix inappropriate output of procfs
   b3b6d1eea0de iommu/mediatek: Fix driver name
   9a4bf05126f4 PCI: Do not allocate more buses than available in parent
   29a404be7b30 powerpc/powernv/cpufreq: Fix the frequency read by /proc/cpuinfo
   f44d28e0348d PCI/PME: Handle invalid data when reading Root Status
   5a7192bc389e dmaengine: ti-dma-crossbar: Correct am335x/am43xx mux value type
   03a48dc96505 ASoC: Intel: Skylake: Fix uuid_module memory leak in failure case
   9146b10f8cd6 rtc: pcf8563: fix output clock rate
   cf53526f3312 video: fbdev: au1200fb: Return an error code if a memory allocation fails
   90e2591f6f3f video: fbdev: au1200fb: Release some resources if a memory allocation fails
   92c3c7db8336 video: udlfb: Fix read EDID timeout
   aecce5fc047a fbdev: controlfb: Add missing modes to fix out of bounds access
   0312ab0f0e43 sfc: don't warn on successful change of MAC
   da73389e8aa7 HID: cp2112: fix broken gpio_direction_input callback
   e15628b293a7 Revert "x86/acpi: Set persistent cpuid <-> nodeid mapping when booting"
   25b0b3f2373d target: fix race during implicit transition work flushes
   892e4f9bc2e2 target: fix ALUA transition timeout handling
   0d34f4770ea1 target: Use system workqueue for ALUA transitions
   8f60ef94477c btrfs: add missing memset while reading compressed inline extents
   5d460d359abe NFSv4.1 respect server's max size in CREATE_SESSION
   88af4e34771c efi/esrt: Cleanup bad memory map log messages
   e30b840d4668 perf symbols: Fix symbols__fixup_end heuristic for corner cases
   2a47e7de0822 tty: fix data race in tty_ldisc_ref_wait()
   70f450fc8610 tty: don't panic on OOM in tty_set_ldisc()
   3d57ec51d204 rxrpc: Ignore BUSY packets on old calls
   42b6d6e824d3 net: mpls: Fix nexthop alive tracking on down events
   fd27dbcae937 net/mlx4_core: Avoid delays during VF driver device shutdown
   65bfe003dceb nvmet-rdma: Fix a possible uninitialized variable dereference
   571e47760de5 nvmet: confirm sq percpu has scheduled and switched to atomic
   af0cee086b09 nvme-loop: fix a possible use-after-free when destroying the admin queue
   a8939aac82b0 afs: Fix abort on signal while waiting for call completion
   d43dda072544 afs: Fix afs_kill_pages()
   856bb4b609ee afs: Fix page leak in afs_write_begin()
   833acb3e09db afs: Populate and use client modification time
   a3e7a29abf0b afs: Better abort and net error handling
   ab2390611619 afs: Invalid op ID should abort with RXGEN_OPCODE
   972e7b7cbf5c afs: Fix the maths in afs_fs_store_data()
   9329ae4cb10e afs: Prevent callback expiry timer overflow
   7da1b85a75d4 afs: Migrate vlocation fields to 64-bit
   7286fad15704 afs: Flush outstanding writes when an fd is closed
   eaaad7646d3d afs: Deal with an empty callback array
   900048089cc1 afs: Adjust mode bits processing
   ba47c1597480 afs: Populate group ID from vnode status
   c250fae9ad4b afs: Fix missing put_page()
   b29c7b7c62d5 drm/radeon: reinstate oland workaround for sclk
   2a84fce9b039 mmc: mediatek: Fixed bug where clock frequency could be set wrong
   28714e962a71 sched/deadline: Use deadline instead of period when calculating overflow
   a2e29113f1ab sched/deadline: Throttle a constrained deadline task activated after the deadline
   9cc56a00eab7 sched/deadline: Make sure the replenishment timer fires in the next period
   0a4d4dac5e34 sched/deadline: Add missing update_rq_clock() in dl_task_timer()
   8d3a318194ec iwlwifi: mvm: cleanup pending frames in DQA mode
   a524bb57dd36 Drivers: hv: util: move waiting for release to hv_utils_transport itself
   da626b13ce32 drm/radeon/si: add dpm quirk for Oland
   1867eb805091 fjes: Fix wrong netdevice feature flags
   91510a623baa scsi: hpsa: do not timeout reset operations
   0f07e7611184 scsi: hpsa: limit outstanding rescans
   c81410a4353d scsi: hpsa: update check for logical volume status
   8652baa5a31d ASoC: rcar: clear DE bit only in PDMACHCR when it stops
   fd2530a4ee62 openrisc: fix issue handling 8 byte get_user calls
   18b39b61b2c6 intel_th: pci: Add Gemini Lake support
   3544f57578a6 drm: amd: remove broken include path
   4c9c0971271d qed: Fix interrupt flags on Rx LL2
   ac04ab9624b5 qed: Fix mapping leak on LL2 rx flow
   8de6d7b28d2f qed: Align CIDs according to DORQ requirement
   fddc3df7647e mlxsw: reg: Fix SPVMLR max record count
   4c8b4e60b575 mlxsw: reg: Fix SPVM max record count
   6c548e90a0bc net: Resend IGMP memberships upon peer notification.
   889163d75fe5 irqchip/mvebu-odmi: Select GENERIC_MSI_IRQ_DOMAIN
   e30ccb5f1c7e dmaengine: Fix array index out of bounds warning in __get_unmap_pool()
   46cbe3f51c51 net: wimax/i2400m: fix NULL-deref at probe
   2e70c4d5de87 writeback: fix memory leak in wb_queue_work()
   d28046fb8c43 blk-mq: Fix tagset reinit in the presence of cpu hot-unplug
   143d13d1e6c0 ASoC: rsnd: fix sound route path when using SRC6/SRC9
   97b75dad9dd1 netfilter: bridge: honor frag_max_size when refragmenting
   38780b9ae45a drm/omap: fix dmabuf mmap for dma_alloc'ed buffers
   8fb782bbd212 Input: i8042 - add TUXEDO BU1406 (N24_25BU) to the nomux list
   817f60ccf72c NFSD: fix nfsd_reset_versions for NFSv4.
   0154269f9c12 NFSD: fix nfsd_minorversion(.., NFSD_AVAIL)
   063c753ef78b drm/amdgpu: fix parser init error path to avoid crash in parser fini
   3d40364d333e iommu/io-pgtable-arm-v7s: Check for leaf entry before dereferencing it
   721c136ac278 net/mlx5: Don't save PCI state when PCI error is detected
   248cbd97be81 net/mlx5: Fix create autogroup prev initializer
   515d78dc0a89 rxrpc: Wake up the transmitter if Rx window size increases on the peer
   e85b9bc29b04 net: bcmgenet: Power up the internal PHY before probing the MII
   f9ac24794f2e net: bcmgenet: synchronize irq0 status between the isr and task
   4c3727f6add5 net: bcmgenet: power down internal phy if open or resume fails
   66e522ab02cc net: bcmgenet: reserved phy revisions must be checked first
   dc8d63c43af0 net: bcmgenet: correct MIB access of UniMAC RUNT counters
   bb5c42a5b1d2 net: bcmgenet: correct the RBUF_OVFL_CNT and RBUF_ERR_CNT MIB values
   72cd0c3f6616 bnxt_en: Ignore 0 value in autoneg supported speed from firmware.
   ae0ebdba9667 net: initialize msg.msg_flags in recvfrom
   6783015096dc userfaultfd: selftest: vm: allow to build in vm/ directory
   275314e90c5e userfaultfd: shmem: __do_fault requires VM_FAULT_NOPAGE
   9bcd15bdfb61 md-cluster: free md_cluster_info if node leave cluster
   9841d7b08ff6 usb: xhci-mtk: check hcc_params after adding primary hcd
   215df1f35542 KVM: nVMX: do not warn when MSR bitmap address is not backed
   50fc2d4152fb usb: phy: isp1301: Add OF device ID table
   bf864220a59c mac80211: Fix addition of mesh configuration element
   32e2ae03283b ext4: fix crash when a directory's i_size is too small
   6a851bb99e5c ext4: fix fdatasync(2) after fallocate(2) operation
   679dbeac0b6b dmaengine: dmatest: move callback wait queue to thread context
   744cb5ab3372 eeprom: at24: change nvmem stride to 1
   d266817f5028 sched/rt: Do not pull from current CPU if only one CPU to pull
   9c537f06d61a nfs: don't wait on commit in nfs_commit_inode() if there were no commit requests
   3bdb508d686e xhci: Don't add a virt_dev to the devs array before it's fully allocated
   7336f5481f6c Bluetooth: btusb: driver to enable the usb-wakeup feature
   cdfe4c0091a8 usb: xhci: fix TDS for MTK xHCI1.1
   e081bd0d70bd ceph: drop negative child dentries before try pruning inode's alias
   14513e49c43c usbip: fix stub_send_ret_submit() vulnerability to null transfer_buffer
   f3e957266ae5 usbip: fix stub_rx: harden CMD_SUBMIT path to handle malicious input
   b6dbace92ed7 usb: add helper to extract bits 12:11 of wMaxPacketSize
   20e825cdf7a1 usbip: fix stub_rx: get_pipe() to validate endpoint number
   99542e468b76 USB: core: prevent malicious bNumInterfaces overflow
   0d29ae4f5033 USB: uas and storage: Add US_FL_BROKEN_FUA for another JMicron JMS567 ID
   d760f9034195 tracing: Allocate mask_str buffer dynamically
   d1175423ce67 autofs: fix careless error in recent commit
   c32e053a11f2 crypto: salsa20 - fix blkcipher_walk API usage
   43259d07fceb crypto: hmac - require that the underlying hash algorithm is unkeyed
   cd9b59861f9c crypto: rsa - fix buffer overread when stripping leading zeroes
   1fb73eae9624 mfd: fsl-imx25: Clean up irq settings during removal
   ee52d08d2e09 Linux 4.9.70
   349130bb0391 RDMA/cxgb4: Annotate r2 and stag as __be32
   b7d3f2b5dca9 md: free unused memory after bitmap resize
   93dedcf5a177 audit: ensure that 'audit=1' actually enables audit for PID 1
   a625a16c8aea ipvlan: fix ipv6 outbound device
   97c668702126 kbuild: do not call cc-option before KBUILD_CFLAGS initialization
   eae3f3ab7fb3 powerpc/64: Fix checksum folding in csum_tcpudp_nofold and ip_fast_csum_nofold
   9414a6309c72 KVM: arm/arm64: vgic-its: Preserve the revious read from the pending table
   80c0f4777fd6 fix kcm_clone()
   16648cbcd332 usb: gadget: ffs: Forbid usb_ep_alloc_request from sleeping
   47273f0d398d s390: always save and restore all registers on context switch
   f8dac5bfbd8e ipmi: Stop timers before cleaning up the module
   0cab694ab7bc Fix handling of verdicts after NF_QUEUE
   cf00fd3d526c tipc: call tipc_rcv() only if bearer is up in tipc_udp_recv()
   0cfe6df93834 s390/qeth: fix thinko in IPv4 multicast address tracking
   1d55222b14bd s390/qeth: fix GSO throughput regression
   fbf0dfe7ad9f s390/qeth: build max size GSO skbs on L2 devices
   aa0080f1ad08 tcp/dccp: block bh before arming time_wait timer
   30985e3beb73 stmmac: reset last TSO segment size after device open
   564fe3e0e95e net: remove hlist_nulls_add_tail_rcu()
   80ad5bd1b45f usbnet: fix alignment for frames with no ethernet header
   5471afeef413 net/packet: fix a race in packet_bind() and packet_notifier()
   30c573affac8 packet: fix crash in fanout_demux_rollover()
   5f218c3fd11a sit: update frag_off info
   3259862dd73b rds: Fix NULL pointer dereference in __rds_rdma_map
   96b4a8ac9a55 tipc: fix memory leak in tipc_accept_from_sock()
   20610f5bbd23 s390/qeth: fix early exit from error path
   32436bf375b0 net: qmi_wwan: add Quectel BG96 2c7c:0296
   c91efc7862b3 Linux 4.9.69
   15b175223e53 afs: Connect up the CB.ProbeUuid
   9048b2420e32 IB/mlx5: Assign send CQ and recv CQ of UMR QP
   06fea09c0959 IB/mlx4: Increase maximal message size under UD QP
   6ceabde66643 xfrm: Copy policy family in clone_policy
   74b470ce478a jump_label: Invoke jump_label_test() via early_initcall()
   22d2456faefa atm: horizon: Fix irq release error
   c488c2e141bc clk: uniphier: fix DAPLL2 clock rate of Pro5
   f45f4f8a7cd8 bpf: fix lockdep splat
   9904da5a09ce sctp: use the right sk after waking up from wait_buf sleep
   1158ecd51ec1 sctp: do not free asoc when it is already dead in sctp_sendmsg
   1618400444d0 zsmalloc: calling zs_map_object() from irq is a bug
   7da67d1d98f6 sparc64/mm: set fields in deferred pages
   1a5a4c6e868f block: wake up all tasks blocked in get_request()
   c31bfe7de243 dt-bindings: usb: fix reg-property port-number range
   1eeb1edfd3c9 xfs: fix forgotten rcu read unlock when skipping inode reclaim
   acbe10423b1a sunrpc: Fix rpc_task_begin trace point
   509e9b805c52 NFS: Fix a typo in nfs_rename()
   a780a728475d dynamic-debug-howto: fix optional/omitted ending line number to be LARGE instead of 0
   a77c11607593 lib/genalloc.c: make the avail variable an atomic_long_t
   e9672477a5f0 drivers/rapidio/devices/rio_mport_cdev.c: fix resource leak in error handling path in 'rio_dma_transfer()'
   007e20bd0fdd route: update fnhe_expires for redirect when the fnhe exists
   7c4fa0c1c9ca route: also update fnhe_genid when updating a route cache
   2388d52d7256 gre6: use log_ecn_error module parameter in ip6_tnl_rcv()
   6a8ab06660dc mac80211_hwsim: Fix memory leak in hwsim_new_radio_nl()
   0965ed575190 x86/mpx/selftests: Fix up weird arrays
   b96d06e6d6e0 coccinelle: fix parallel build with CHECK=scripts/coccicheck
   55042e28b985 kbuild: pkg: use --transform option to prefix paths in tar
   7290cfeb4436 EDAC, i5000, i5400: Fix definition of NRECMEMB register
   62c12d671c49 EDAC, i5000, i5400: Fix use of MTR_DRAM_WIDTH macro
   d28faebe8b09 powerpc/powernv/ioda2: Gracefully fail if too many TCE levels requested
   92527dc32a69 drm/amd/amdgpu: fix console deadlock if late init failed
   e8d5b115c6ea axonram: Fix gendisk handling
   8818eb851c2d netfilter: don't track fragmented packets
   36a14374b568 zram: set physical queue limits to avoid array out of bounds accesses
   bc8859174d98 blk-mq: initialize mq kobjects in blk_mq_init_allocated_queue()
   567df7459e12 i2c: riic: fix restart condition
   e46126e51ee8 crypto: s5p-sss - Fix completing crypto request in IRQ handler
   05a59bc2f3c0 ipv6: reorder icmpv6_init() and ip6_mr_init()
   f191e15e4acd ibmvnic: Allocate number of rx/tx buffers agreed on by firmware
   f3b1f93ed23b ibmvnic: Fix overflowing firmware/hardware TX queue
   742e67d2b7ee rds: tcp: Sequence teardown of listen and acceptor sockets to avoid races
   d8f147ac75bb bnx2x: do not rollback VF MAC/VLAN filters we did not configure
   cdef3be8c7bb bnx2x: fix detection of VLAN filtering feature for VF
   f73fcb25f4bb bnx2x: fix possible overrun of VFPF multicast addresses array
   ae6b3452faf7 bnx2x: prevent crash when accessing PTP with interface down
   c72c7f244265 spi_ks8995: regs_size incorrect for some devices
   1ace4dabf624 spi_ks8995: fix "BUG: key accdaa28 not in .data!"
   b1f71147a188 KVM: arm/arm64: VGIC: Fix command handling while ITS being disabled
   aafb72d2ed55 arm64: KVM: Survive unknown traps from guests
   5e366aaec185 arm: KVM: Survive unknown traps from guests
   c886f281b9e0 KVM: nVMX: reset nested_run_pending if the vCPU is going to be reset
   54e1ae1f21f5 irqchip/crossbar: Fix incorrect type of register size
   d32c4dedcc6d scsi: lpfc: Fix crash during Hardware error recovery on SLI3 adapters
   1e7208d75928 scsi: qla2xxx: Fix ql_dump_buffer
   757e1845d6c3 workqueue: trigger WARN if queue_delayed_work() is called with NULL @wq
   da6a95b0ef82 libata: drop WARN from protocol error in ata_sff_qc_issue()
   29deec403d56 kvm: nVMX: VMCLEAR should not cause the vCPU to shut down
   2afb2d892c1d usb: gadget: udc: net2280: Fix tmp reusage in net2280 driver
   82f79a4423fc usb: gadget: pxa27x: Test for a valid argument pointer
   7abf66d78e89 usb: dwc3: gadget: Fix system suspend/resume on TI platforms
   8fe9ea81b1e9 USB: gadgetfs: Fix a potential memory leak in 'dev_config()'
   59682e70c980 usb: gadget: configs: plug memory leak
   881b5d4841fc HID: chicony: Add support for another ASUS Zen AiO keyboard
   1bc827aabc70 gpio: altera: Use handle_level_irq when configured as a level_high
   c7c866711799 ASoC: rcar: avoid SSI_MODEx settings for SSI8
   202c73946455 ARM: OMAP2+: Release device node after it is no longer needed.
   d3954c5ced8e ARM: OMAP2+: Fix device node reference counts
   4aff02804715 powerpc/64: Fix checksum folding in csum_add()
   d57cb693c592 module: set __jump_table alignment to 8
   f348a1030eb6 lirc: fix dead lock between open and wakeup_filter
   7ae7408c4352 powerpc: Fix compiling a BE kernel with a powerpc64le toolchain
   cd662c8e51a1 selftest/powerpc: Fix false failures for skipped tests
   0bf8f6e7205a powerpc/64: Invalidate process table caching after setting process table
   8c6ebeb4087e x86/hpet: Prevent might sleep splat on resume
   4e4a9ebe33a6 sched/fair: Make select_idle_cpu() more aggressive
   29dc610cfc7c x86/platform/uv/BAU: Fix HUB errors by remove initial write to sw-ack register
   b2cb09597b1f x86/selftests: Add clobbers for int80 on x86_64
   93247ff1fafe ARM: OMAP2+: gpmc-onenand: propagate error on initialization failure
   f14f6fabfb54 vti6: Don't report path MTU below IPV6_MIN_MTU.
   5d4d0a95437e ARM: 8657/1: uaccess: consistently check object sizes
   7c4615c853fa Revert "spi: SPI_FSL_DSPI should depend on HAS_DMA"
   b6c15a7c6e79 Revert "drm/armada: Fix compile fail"
   6a53078b9357 mm: drop unused pmdp_huge_get_and_clear_notify()
   c2edc33d4abf thp: fix MADV_DONTNEED vs. numa balancing race
   7bdd685cef4b thp: reduce indentation level in change_huge_pmd()
   5bcb9c842a53 ARM: avoid faulting on qemu
   6192f870abf2 ARM: BUG if jumping to usermode address in kernel mode
   112b8a8f558d usb: f_fs: Force Reserved1=1 in OS_DESC_EXT_COMPAT
   47ab72034e9d crypto: talitos - fix ctr-aes-talitos
   24ab6e7f6b61 crypto: talitos - fix use of sg_link_tbl_len
   6bf30e664221 crypto: talitos - fix AEAD for sha224 on non sha224 capable chips
   552f74cbd6ec crypto: talitos - fix setkey to check key weakness
   5272b0e1c382 crypto: talitos - fix memory corruption on SEC2
   bde6667a7df1 crypto: talitos - fix AEAD test failures
   3f0597ae9a38 bus: arm-ccn: fix module unloading Error: Removing state 147 which has instances left.
   793eed33da5f bus: arm-ccn: Fix use of smp_processor_id() in preemptible context
   595aca74c67a bus: arm-ccn: Check memory allocation failure
   a0a2f97d0375 bus: arm-cci: Fix use of smp_processor_id() in preemptible context
   a39224199e97 arm64: fpsimd: Prevent registers leaking from dead tasks
   7df3dbef3dd5 KVM: arm/arm64: vgic-its: Check result of allocation before use
   42c3f4c55f10 KVM: arm/arm64: vgic-irqfd: Fix MSI entry allocation
   cf6668d57a26 KVM: arm/arm64: Fix broken GICH_ELRSR big endian conversion
   6ead44d4b5b8 KVM: VMX: remove I/O port 0x80 bypass on Intel hosts
   6ed459712e26 arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one
   63fba9ff76f0 arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one
   730810d92327 media: dvb: i2c transfers over usb cannot be done from stack
   4f128c8aa35b drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU
   30b18ee253a0 kdb: Fix handling of kallsyms_symbol_next() return value
   4a70f07da853 brcmfmac: change driver unbind order of the sdio function devices
   8950c982fffd powerpc/64s: Initialize ISAv3 MMU registers before setting partition table
   ffb17c0cce84 KVM: s390: Fix skey emulation permission check
   bd6a7055b84b s390: fix compat system call table
   ff3d4fd5374f smp/hotplug: Move step CPUHP_AP_SMPCFD_DYING to the correct place
   e17f2b51617d iommu/vt-d: Fix scatterlist offset handling
   173c8c346587 ALSA: usb-audio: Add check return value for usb_string()
   c40457c952ec ALSA: usb-audio: Fix out-of-bound error
   20ca63e0968e ALSA: seq: Remove spurious WARN_ON() at timer check
   45ddff3ce4e9 ALSA: pcm: prevent UAF in snd_pcm_info
   8974b0320cc8 btrfs: fix missing error return in btrfs_drop_snapshot
   9cf0eaf88d74 KVM: x86: fix APIC page invalidation
   6662a55fa6eb x86/PCI: Make broadcom_postcore_init() check acpi_disabled
   3d4696248c08 X.509: fix comparisons of ->pkey_algo
   d4f134700c20 X.509: reject invalid BIT STRING for subjectPublicKey
   982707eb4ff8 KEYS: add missing permission check for request_key() destination
   44acfcb6dd73 ASN.1: check for error from ASN1_OP_END__ACT actions
   608845ad4986 ASN.1: fix out-of-bounds read when parsing indefinite length item
   8b5106e1d22c efi/esrt: Use memunmap() instead of kfree() to free the remapping
   29c3b7a85409 efi: Move some sysfs files to be read-only by root
   35b4bfbda54b scsi: libsas: align sata_device's rps_resp on a cacheline
   326ebe77f0c5 scsi: use dma_get_cache_alignment() as minimum DMA alignment
   4cb4d78c57f8 scsi: dma-mapping: always provide dma_get_cache_alignment
   1db069c057a1 isa: Prevent NULL dereference in isa_bus driver callbacks
   3aa6d7f8542e hv: kvp: Avoid reading past allocated blocks from KVP file
   893fab0c338b virtio: release virtio index when fail to device_register
   4b4e6f675846 can: usb_8dev: cancel urb on -EPIPE and -EPROTO
   0cdac09e6aee can: esd_usb2: cancel urb on -EPIPE and -EPROTO
   d3b72254789f can: ems_usb: cancel urb on -EPIPE and -EPROTO
   4665483e4797 can: kvaser_usb: cancel urb on -EPIPE and -EPROTO
   d724a677f0c1 can: kvaser_usb: ratelimit errors if incomplete messages are received
   561384a9cf17 can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback()
   f89682bb3cf2 can: kvaser_usb: free buf in error paths
   6a3a713880a5 can: ti_hecc: Fix napi poll return value for repoll
   fbe9a14180d6 usb: gadget: udc: renesas_usb3: fix number of the pipes
   3781db07c79e Linux 4.9.68
   3671e6728f79 xen-netfront: avoid crashing on resume after a failure in talk_to_netback()
   08dd03812e8b usb: host: fix incorrect updating of offset
   20c315ebabc5 USB: usbfs: Filter flags passed in from user space
   545c10375330 USB: devio: Prevent integer overflow in proc_do_submiturb()
   d6ab871c432d USB: Increase usbfs transfer limit
   05ffc7ed5527 USB: core: Add type-specific length check of BOS descriptors
   34ba2f04a480 usb: xhci: fix panic in xhci_free_virt_devices_depth_first
   e328dff288e6 usb: hub: Cycle HUB power when initialization fails
   0af23e49316d dma-buf: Update kerneldoc for sync_file_create
   3a83421d482e dma-buf/sync_file: hold reference to fence when creating sync_file
   424bdc5df002 dma-buf/sw_sync: force signal all unsignaled fences on dying timeline
   f5e0724e76c2 dma-fence: Introduce drm_fence_set_error() helper
   d3b029a44e14 dma-fence: Wrap querying the fence->status
   f55d17e9c3af dma-fence: Clear fence->status during dma_fence_init()
   9ae85fabdfc0 dma-buf/sw_sync: clean up list before signaling the fence
   4496b88c0674 dma-buf/sw_sync: move timeline_fence_ops around
   db767404ad09 dma-buf/sw-sync: Use an rbtree to sort fences in the timeline
   e82ecb230924 dma-buf/sw-sync: Fix locking around sync_timeline lists
   1bf0b23c07f1 dma-buf/sw-sync: sync_pt is private and of fixed size
   f14ad42b8743 dma-buf/sw-sync: Reduce irqsave/irqrestore from known context
   985b5b238436 dma-buf/sw-sync: Prevent user overflow on timeline advance
   fc839ecb8eda dma-buf/sw-sync: Fix the is-signaled test to handle u32 wraparound
   b53525eaac55 dma-buf/dma-fence: Extract __dma_fence_is_later()
   c13a05a8017b net: fec: fix multicast filtering hardware setup
   a767c866735c xen-netback: vif counters from int/long to u64
   959b8e0ba293 cec: initiator should be the same as the destination for, poll
   017a499be574 xen-netfront: Improve error handling during initialization
   c93c09a057b7 mm: avoid returning VM_FAULT_RETRY from ->page_mkwrite handlers
   3e550debcf75 vfio/spapr: Fix missing mutex unlock when creating a window
   6129fd988225 be2net: fix initial MAC setting
   6a9ffb5a87d8 net: thunderx: avoid dereferencing xcv when NULL
   3325615d2b50 net: phy: micrel: KSZ8795 do not set SUPPORTED_[Asym_]Pause
   c8d6f83d3b6e gtp: fix cross netns recv on gtp socket
   d812be828832 gtp: clear DF bit on GTP packet tx
   3976dd677e89 nvmet: cancel fatal error and flush async work before free controller
   6bd89953fb1f i2c: i2c-cadence: Initialize configuration before probing devices
   fe8bdc9b79ee tcp: correct memory barrier usage in tcp_check_space()
   49c3164e6d84 dmaengine: pl330: fix double lock
   aad54ba21dd8 tipc: fix cleanup at module unload
   6313adb8de02 tipc: fix nametbl_lock soft lockup at module exit
   e8240244880b RDMA/qedr: Fix RDMA CM loopback
   8d4198f8c66b RDMA/qedr: Return success when not changing QP state
   dee48e57ae22 mac80211: don't try to sleep in rate_control_rate_init()
   cab00a9c16c0 drm/amdgpu: fix unload driver issue for virtual display
   b75e47cf8439 x86/fpu: Set the xcomp_bv when we fake up a XSAVES area
   05071c058d20 net: sctp: fix array overrun read on sctp_timer_tbl
   2001ccb4dea4 drm/exynos/decon5433: set STANDALONE_UPDATE_F on output enablement
   4ee340c06bf2 drm/amdgpu: fix bug set incorrect value to vce register
   d8a544c92087 qla2xxx: Fix wrong IOCB type assumption
   57e76dbbc560 powerpc/mm: Fix memory hotplug BUG() on radix
   a88ff235e8ad perf/x86/intel: Account interrupts for PEBS errors
   72232a3bc5df NFSv4: Fix client recovery when server reboots multiple times
   cda72bbb7bac mac80211: prevent skb/txq mismatch
   ee01c59bf838 KVM: arm/arm64: Fix occasional warning from the timer work function
   72afbf76344f drm/exynos/decon5433: set STANDALONE_UPDATE_F also if planes are disabled
   cca6bca00973 drm/exynos/decon5433: update shadow registers iff there are active windows
   9f800573a31b nfs: Don't take a reference on fl->fl_file for LOCK operation
   c682ae717759 ravb: Remove Rx overflow log messages
   bc13325a2410 mac80211: calculate min channel width correctly
   fae478cd9311 mm: fix remote numa hits statistics
   71ab86262b66 net: qrtr: Mark 'buf' as little endian
   c4081f91981b libfs: Modify mount_pseudo_xattr to be clear it is not a userspace mount
   d9a4e70f23c3 net/appletalk: Fix kernel memory disclosure
   e3a252a9924c be2net: fix unicast list filling
   b4c3022e673a be2net: fix accesses to unicast list
   105b403ba0de vti6: fix device register to report IFLA_INFO_KIND
   08bd389c9ef8 ARM: OMAP1: DMA: Correct the number of logical channels
   9a777021eeb4 ARM: OMAP2+: Fix WL1283 Bluetooth Baud Rate
   a97b72427e5f net: systemport: Pad packet before inserting TSB
   bcc7511ef256 net: systemport: Utilize skb_put_padto()
   30bd002c454a libcxgb: fix error check for ip6_route_output()
   5eb97be87981 usb: gadget: f_fs: Fix ExtCompat descriptor validation
   7468e767d8f2 dmaengine: stm32-dma: Fix null pointer dereference in stm32_dma_tx_status
   000e7180633f dmaengine: stm32-dma: Set correct args number for DMA request from DT
   d2d74d0e58b2 l2tp: take remote address into account in l2tp_ip and l2tp_ip6 socket lookups
   55c050ae5165 net/mlx4_en: Fix type mismatch for 32-bit systems
   771c831c1bde dax: Avoid page invalidation races and unnecessary radix tree traversals
   2383ba62b535 iio: adc: ti-ads1015: add 10% to conversion wait time
   7aa534b8a33f tools include: Do not use poison with C++
   a65f24aac76b kprobes/x86: Disable preemption in ftrace-based jprobes
   a730e156bb75 perf test attr: Fix ignored test case result
   8f6e33aad048 usbip: tools: Install all headers needed for libusbip development
   5840a285a1a2 sysrq : fix Show Regs call trace on ARM
   7f44b524a0ad EDAC, sb_edac: Fix missing break in switch
   61b7a6f1cea3 x86/entry: Use SYSCALL_DEFINE() macros for sys_modify_ldt()
   a816a7e1e70b serial: 8250: Preserve DLD[7:4] for PORT_XR17V35X
   68dfd4dd0900 usb: phy: tahvo: fix error handling in tahvo_usb_probe()
   de139e81d350 mmc: sdhci-msm: fix issue with power irq
   e042fd0f0318 spi: spi-axi: fix potential use-after-free after deregistration
   b3d7cc5a84b4 spi: sh-msiof: Fix DMA transfer size check
   ee08fca9a14d staging: rtl8188eu: avoid a null dereference on pmlmepriv
   946d33e1e6cd serial: 8250_fintek: Fix rs485 disablement on invalid ioctl()
   510f6573ef5d m68k: fix ColdFire node shift size calculation
   e5f2421df135 staging: greybus: loopback: Fix iteration count on async path
   8a95afc48576 selftests/x86/ldt_get: Add a few additional tests for limits
   63074a793d69 s390/pci: do not require AIS facility
   b0a46089fe81 ima: fix hash algorithm initialization
   e4f12192d9e2 USB: serial: option: add Quectel BG96 id
   232b47b3c88a s390/runtime instrumentation: simplify task exit handling
   65e6599937d1 serial: 8250_pci: Add Amazon PCI serial device ID
   6ad14c9c646b usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub
   3789201628f5 uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices
   ee23ae915fa7 mm, oom_reaper: gather each vma to prevent leaking TLB entry
   0de12a778b92 Revert "crypto: caam - get rid of tasklet"
   cffc01d24d25 drm/fsl-dcu: enable IRQ before drm_atomic_helper_resume()
   48f4d1f7fe48 drm/fsl-dcu: avoid disabling pixel clock twice on suspend
   9db9b5f2b1b6 bcache: recover data from backing when data is clean
   322e659a03dc bcache: only permit to recovery read error when cache device is clean
   284bbc782445 Linux 4.9.67
   f990312aaa74 drm/i915: Prevent zero length "index" write
   838cdb26a538 drm/i915: Don't try indexed reads to alternate slave addresses
   daf3a68d5282 NFS: revalidate "." etc correctly on "open".
   a11ca51bf70c Revert "x86/entry/64: Add missing irqflags tracing to native_load_gs_index()"
   fb541279bbe0 drm/amd/pp: fix typecast error in powerplay.
   5b1c8c96dfab drm/ttm: once more fix ttm_buffer_object_transfer
   44df87e6dfad drm/hisilicon: Ensure LDI regs are properly configured.
   25abe3a9585e drm/panel: simple: Add missing panel_simple_unprepare() calls
   3405805db8bb drm/radeon: fix atombios on big endian
   9cd48ba5fc9d drm/amdgpu: Potential uninitialized variable in amdgpu_vm_update_directories()
   d316675a9da4 drm/amdgpu: potential uninitialized variable in amdgpu_vce_ring_parse_cs()
   b0f63389dab9 Revert "drm/radeon: dont switch vt on suspend"
   f425b050254e nvme-pci: add quirk for delay before CHK RDY for WDC SN200
   eafbee43b7ec hwmon: (jc42) optionally try to disable the SMBUS timeout
   8588eb0ce6a6 bcache: Fix building error on MIPS
   53cf83b3c734 i2c: i801: Fix Failed to allocate irq -2147483648 error
   19699abea321 eeprom: at24: check at24_read/write arguments
   d3da2efa6d9d eeprom: at24: correctly set the size for at24mac402
   388d8c9fa371 eeprom: at24: fix reading from 24MAC402/24MAC602
   c814d6701b08 mmc: core: prepend 0x to OCR entry in sysfs
   0bf4d0517667 mmc: core: Do not leave the block driver in a suspended state
   9aad75786e3d KVM: lapic: Fixup LDR on load in x2apic
   e02746e22d24 KVM: lapic: Split out x2apic ldr calculation
   67945527ee24 KVM: x86: inject exceptions produced by x86_decode_insn
   c0a4c22aad0f KVM: x86: Exit to user-mode on #UD intercept when emulator requires
   f5477da6c3b0 KVM: x86: pvclock: Handle first-time write to pvclock-page contains random junk
   e18a963b36a0 ARM: OMAP2+: Fix WL1283 Bluetooth Baud Rate
   dc554abdaee4 mfd: twl4030-power: Fix pmic for boards that need vmmc1 on reboot
   aa1a6cf1586b nfsd: fix panic in posix_unblock_lock called from nfs4_laundromat
   1c4042591644 nfsd: Fix another OPEN stateid race
   1c8ea4145097 nfsd: Fix stateid races between OPEN and CLOSE
   c251267c8826 btrfs: clear space cache inode generation always
   ba32d7dce43f mm/madvise.c: fix madvise() infinite loop under special circumstances
   cebe139e5712 mm, hugetlbfs: introduce ->split() to vm_operations_struct
   436f19a2e49e mm/cma: fix alloc_contig_range ret code/potential leak
   7031ae2ab37d mm, thp: Do not make page table dirty unconditionally in touch_p[mu]d()
   29bd7003134a ARM: dts: omap3: logicpd-torpedo-37xx-devkit: Fix MMC1 cd-gpio
   64e916dea413 ARM: dts: LogicPD Torpedo: Fix camera pin mux

(From OE-Core rev: 4a69d067a08822694a90466d8f69a2366967c4f4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-27 13:15:28 +00:00
Alexander Kanavin
dd681a1b54 gstreamer1.0: add a patch to further fix up the documentation generation
Gstreamer would attempt to launch gst-plugin-scanner binary installed on the host
if the target binary was failing (and it does, intentionally, fail in our case). Most
of the time the host binary is absent, and so this has no effect, but sometimes
it's present, and so the whole thing (running under qemu) fails.

(From OE-Core rev: 8485438140ce6a8d547137c81961125d4296cd6b)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-26 13:09:10 +00:00
Ming Liu
3ed96f29a2 net-tools: change a '=' to '+='
This avoids other do_patch dependencies being overridden.

(From OE-Core rev: b5e94026c754d9015e97487f5c0a5b727ffd4ff8)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-26 13:09:10 +00:00
Armin Kuster
765f9c40ad tzdata: update to 2018c
The 2018c release of the tz code and data is available. It follows on the 2018a and 2018b releases, which were published but were not announced until now, due to problems discovered late in their release processes. 2018a had a build-failure typo, and 2018a and 2018b both had problems with ICU and Java, downstream packages which do not support a feature (negative DST offsets) used in 2018a and 2018b. The typo has been fixed, and data changes using negative DST offsets have been reverted pending development of a mechanism to export data to platforms lacking support for such data.

  Briefly:
  São Tomé and Príncipe switched from +00 to +01.
  Brazil's DST will now start on November's first Sunday.
  Use Debian-style installation locations, instead of 4.3BSD-style.
  New zic option -t.

  Changes to past and future time stamps

    São Tomé and Príncipe switched from +00 to +01 on 2018-01-01 at
    01:00.  (Thanks to Steffen Thorsen and Michael Deckers.)

  Changes to future time stamps

    Starting in 2018 southern Brazil will begin DST on November's
    first Sunday instead of October's third Sunday. (Thanks to
    Steffen Thorsen.)

  Changes to past time stamps

    Japanese DST transitions (1948-1951) were Sundays at 00:00, not
    Saturdays or Sundays at 02:00.  (Thanks to Takayuki Nikai.)

    A discrepancy of 4 s in timestamps before 1931 in South Sudan has
    been corrected.  The 'backzone' and 'zone.tab' files did not agree
    with the 'africa' and 'zone1970.tab' files.  (Problem reported by
    Michael Deckers.)

    The abbreviation invented for Bolivia Summer Time (1931-2) is now
    BST instead of BOST, to be more consistent with the convention
    used for Latvian Summer Time (1918-9) and for British Summer Time.

  Changes to build procedure

    The default installation locations have been changed to mostly
    match Debian circa 2017, instead of being designed as an add-on to
    4.3BSD circa 1986.  This affects the Makefile macros TOPDIR,
    TZDIR, MANDIR, and LIBDIR.  New Makefile macros TZDEFAULT, USRDIR,
    USRSHAREDIR, BINDIR, ZDUMPDIR, and ZICDIR let installers tailor
    locations more precisely.  (This responds to suggestions from
    Brian Inglis and from Steve Summit.)

    The default installation procedure no longer creates the
    backward-compatibility link US/Pacific-New, which causes
    confusion during user setup (e.g., see Debian bug 815200).
    Use 'make BACKWARD="backward pacificnew"' to create the link
    anyway, for now.  Eventually we plan to remove the link entirely.

    tzdata.zi now contains a version-number comment.
    (Suggested by Tom Lane.)

    The Makefile now quotes values like BACKWARD more carefully when
    passing them to the shell.  (Problem reported by Zefram.)

    Builders no longer need to specify -DHAVE_SNPRINTF on platforms
    that have snprintf and use pre-C99 compilers. (Problem reported
    by Jon Skeet.)

    The build procedure now works around mawk 1.3.3's lack of support
    for character class expressions.  (Problem reported by Ohyama.)

(From OE-Core rev: 97927956a6629381b54973d01e16c5f039f5e5bb)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-26 13:09:10 +00:00
Armin Kuster
1e8c80190c tzcode: update to 2018c
removed patches now included in update.

The 2018a through 2018c releases reflect the following changes, which were either circulated on the tz mailing list or are relatively minor technical or administrative changes. This announcement has merged the set of changes made by the three releases, to make it easier to see the difference between 2017c and 2018c; please see the 2018c NEWS file for more details about intermediate versions.

Release 2018c - 2018-01-22 23:00:44 -0800
Release 2018b - 2018-01-17 23:24:48 -0800
Release 2018a - 2018-01-12 22:29:21 -0800

Changes to code

    zic has a new option -t FILE that specifies the location of the
    file that determines local time when TZ is unset. The default for
    this location can be configured via the new TZDEFAULT makefile
    macro, which defaults to /etc/localtime.

    Diagnostics and commentary now distinguish UT from UTC more
    carefully; see theory.html for more information about UT vs UTC.

    zic has been ported to GCC 8's -Wstringop-truncation option.
    (Problem reported by Martin Sebor.)

  Changes to documentation and commentary

    The zic man page now documents the longstanding behavior that
    times and years can be out of the usual range, with negative times
    counting backwards from midnight and with year 0 preceding year 1.
    (Problem reported by Michael Deckers.)

    The theory.html file now mentions the POSIX limit of six chars
    per abbreviation, and lists alphabetic abbreviations used.

    The files tz-art.htm and tz-link.htm have been renamed to
    tz-art.html and tz-link.html, respectively, for consistency with
    other file names and to simplify web server configuration.

(From OE-Core rev: aae1131225b92d2f984a2de35b2e21592ae8195d)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-26 13:09:10 +00:00
Tim Orling
0b3237e44c liburi-perl: upgrade 1.72 -> 1.73
Changes:
1.73      2018-01-09 06:42:51Z
    - Update documentation for URI::_punycode (GH Issue #45)

(From OE-Core rev: 35141b582056f2cae47edba791efe1dcfa23f6e0)

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>
2018-01-26 13:09:10 +00:00
Huang Qiyu
4e3afac076 curl: 7.54.1 -> 7.57.0
1.Upgrade curl from 7.54.1 to 7.57.0.
2.Delete CVE-2017-1000099.patch, CVE-2017-1000100.patch, CVE-2017-1000101.patch, CVE-2017-1000254.patch, reproducible-mkhelp.patch, since it is integrated upstream.
3.Remove "do_install_append()" from curl_7.57.0.bb, since curl/curlbuild.h has been removed.

(From OE-Core rev: 215d5677004537fc190b5381157ac8b94db6d7e8)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-26 13:09:10 +00:00
Maxin B. John
13612e26db atk: upgrade to version 2.26.1
2.26.0 -> 2.26.1

(From OE-Core rev: 88708a99321cee7332d2ffeafb4dd90fb8980078)

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>
2018-01-26 13:09:10 +00:00
Maxin B. John
bd5e1ff516 gtk-icon-utils-native: upgrade to version 3.22.26
3.22.17 -> 3.22.26

(From OE-Core rev: 8334eae3cb368d4fb7678f33080af613cbb002f6)

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>
2018-01-26 13:09:10 +00:00
Maxin B. John
ab64cc1fd6 gtk+3: upgrade to version 3.22.26
Bug fixes and Translation updates

(From OE-Core rev: 67440b2d9204f3e79417d2b6f94fe32cec15907f)

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>
2018-01-26 13:09:10 +00:00
Maxin B. John
69219c0d41 gtk+: upgrade to version 2.24.32
Bug fix release.

(From OE-Core rev: d7e22857225d49e1814c9ec038af96555f312fc0)

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>
2018-01-26 13:09:10 +00:00
Maxin B. John
cda5a1664d vte: upgrade to version 0.50.2
0.50.1 -> 0.50.2

(From OE-Core rev: 9b1e000dccd16e2210d7c1bef72652d4e187155f)

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>
2018-01-26 13:09:10 +00:00
Maxin B. John
71c405068c sqlite3: upgrade to version 3.22.0
Update SRC_URI for releases in 2018.

(From OE-Core rev: fff2409587e8a253c1f79a3d3c78907440402188)

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>
2018-01-26 13:09:10 +00:00
Maxin B. John
3a3d1964a3 puzzles: upgrade to latest commit
Remove upstreamed patch:
        0001-Clarify-conditions-to-avoid-compiler-errors.patch

(From OE-Core rev: f93e26f0686c2096eb0ad782509ac5257f76ebe9)

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>
2018-01-26 13:09:10 +00:00
Maxin B. John
7d3b1408d9 libtasn1: upgrade to version 4.13
Remove backported patch:
        CVE-2017-10790.patch

(From OE-Core rev: 2e42ce251a5a789cd2b0e9abc94de07fd0603072)

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>
2018-01-26 13:09:10 +00:00
Maxin B. John
e1f8f9c7eb ofono: upgrade to version 1.22
In ver 1.22:
        Fix issue with GPIO handling and Nokia modems.
        Fix issue with SIM state callback and AT modems.
        Fix issue with data mode and DCD for U-Blox modems.
        Fix issue with SMS receive on QMI based Quectel EC21.
        Fix issue with HFP support and last call dialed request.
        Fix issue with PIM retires handling and Gemalto modems.
        Fix issue with atom registration and SIM state handling.
        Add support for handling SIM card AID session management.
        Add support for handling GSM/UMTS and IMS authentication.
        Add support for IP Multimedia Subsystem (IMS) atom.
        Add support for MBIM based modems.

(From OE-Core rev: 7f96371566d00d44abf5cbfa012dd11dfa47187d)

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>
2018-01-26 13:09:10 +00:00
Maxin B. John
3e3d6fa77f freetype: upgrade to version 2.9
2.8.1 -> 2.9

Change in LIC_FILES_CHKSUM is due to change of URL www.freetype.org
from http to https.

(From OE-Core rev: 5545685f0d27d1b7ed840ebf695544d2562c7c0e)

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>
2018-01-26 13:09:10 +00:00
Juro Bystricky
97e4f458c6 glibc-locale.inc: avoid duplicate packages
PACKAGES_DYNAMIC contained an identical set of packages twice.
I suspect this was a result of global search/replace when moving
recipes from eglibc to glibc long time ago.

(From OE-Core rev: 9d0f0fa80ffbafc2d4a1df0fa3ac5d84396a8182)

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>
2018-01-26 13:09:10 +00:00
Andre McCurdy
70e5e10d7f ruby: fix typo in gmp PACKAGECONFIG option
(From OE-Core rev: 9fb931b69ece7f8a644f9e25600bcbbc9266a761)

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>
2018-01-26 13:09:10 +00:00
Armin Kuster
9de1159b0c nspr: update to 4.18
NSPR 4.18 contains the following changes:
- removed HP-UX DCE threads support
- improvements for the Windows implementation of PR_SetCurrentThreadName
- fixes for the Windows implementation of TCP Fast Open

(From OE-Core rev: cd5086812c55785f5d3c50559f925458e4363b43)

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>
2018-01-26 13:09:09 +00:00
Randy MacLeod
ed2312a9c3 mesa: link mesautil with pthreads
Cherry-pick fix from mesa upstream:
   23ce168048 link mesautil with pthreads

link mesautil with pthreads to avoid:

../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_setname':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:66: undefined reference to `pthread_setname_np'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `thrd_join':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../include/c11/threads_posix.h:336: undefined reference to `pthread_join'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_create':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:48: undefined reference to `pthread_sigmask'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `thrd_create':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../include/c11/threads_posix.h:296: undefined reference to `pthread_create'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_create':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:50: undefined reference to `pthread_sigmask'
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:50: undefined reference to `pthread_sigmask'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `call_once':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../include/c11/threads_posix.h:96: undefined reference to `pthread_once'
../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_get_time_nano':
/builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:84: undefined reference to `pthread_getcpuclockid'
collect2: error: ld returned 1 exit status

(From OE-Core rev: f878741d22fbd1582039738c21cf86942fb94327)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-26 13:09:09 +00:00
Alexander Kanavin
2d678cd3f4 gnupg: add a patch to avoid native vs. host gpg-agent clashes
(From OE-Core rev: 04f6e01c1d9c8b53ed43405cdb7d3b8b242a27b6)

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>
2018-01-26 13:09:09 +00:00
Alexander Kanavin
181b9a7ee2 json-glib: fix meson flags for introspection and documentation
Upstream has renamed them all, and folded manpages building
into the overall 'docs' option.

(From OE-Core rev: e71ecc6a288d1b552248e6f05e8694eb96b5af5c)

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>
2018-01-26 13:09:09 +00:00
Ross Burton
c6459ca494 package_rpm: correctly handle LICENSE_${PN}
RPM spec files don't distinguish between spec-level license and the primary
package license, so always output the License for every package (defaulting to
the recipe-wide license) and use LICENSE_${PN} if set for the primary package.

As the primary use of package_rpm is to generate built packages, this fixes the
license fields in the generated packages.

[ YOCTO #12057 ]

(From OE-Core rev: 8c333e592fa7a3a887c792ac14e5cde2141b5d35)

(From OE-Core rev: 42e0de37d18f072dc5dcf5dc45cb441e4c2110d8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-26 13:09:09 +00:00
Ross Burton
683d44656e pigz: merge bb/inc
(From OE-Core rev: 7703c74ea08ceddc7641f3cbdf1df5d0993ebf0f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-26 13:09:09 +00:00
Richard Purdie
8146e929e2 classes/recipes: Convert SkipPackage -> SkipRecipe
The new name is much more consistent with what this actually means. We put
the pieces in place to rename everything a while back but looks like we
forgot to actually do it! Fix that now.

(From OE-Core rev: af9612f5d6b848fceea22d10ee964437299be776)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-26 13:09:09 +00:00
Richard Purdie
be821416fe libunwind: Fix PACKAGECONFIG option typo
(From OE-Core rev: c777a6d0ea9505aa57c1c5785af388c23c5e7731)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-23 23:43:46 +00:00
Juro Bystricky
674283515f libc6: improve reproducibility
Building various libraries (libc6, libc6-pic, libc6-staticdev, libc6-dbg, ...)
can be non-deterministic because they may be built with two different versions
of intl/plural.c. in two otherwise identical builds. We may or may not re-generate
the file plural.c from the file plural.y, based on bison being installed or not
and based on mtimes of those two files, as the Makefile contains:

plural.c: plural.y
	$(BISON) $(BISONFLAGS) $@ $^

If the above rule does not fire, we use a "fallback" plural.c, otherwise
we use plural.c re-generated from plural.y.
The fix is to always require bison to be installed and unconditionally
re-generate plural.c. (This is achieved by touching plural.y).

[YOCTO #12291]

(From OE-Core rev: b79eeb68c6ad7c92a3e54c6f97a8bf49f0098206)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-23 23:43:46 +00:00
Saul Wold
c44980abaf image_types: add support for modern f2fs flash filesystem
The f2fs filesystem is a newer flash filesystem that is available in
meta-filesystems. This needs a minimum sized blank space to operate
in correctly.

The f2fs has overprovision functionality and when building smaller
filesystems, you actually need more space, therefore under 500M (or so)
double the amount of space needed in order to handle the overprovision
functions in f2fs.

(From OE-Core rev: dec029686a47b574edfce4472fe2167db54398fb)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-23 23:43:46 +00:00
Saul Wold
58dd6fe372 imagefeatures: disable f2fs from test_image_features by default
Since the primary f2fs utilities are provided by the meta-openembedded
meta-filesystems layer, we disable the testing of that functionality
here.

(From OE-Core rev: f691ed2572e54fa2af04c1569746c36ce04463ee)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-23 23:43:46 +00:00
Ross Burton
a576c133e3 package_ipg: use xz when building packages
Add a dependency on xz-native and pass '-Z xz' to opkg-build to use xz instead
of gzip when building packages.

(From OE-Core rev: b95b6ba1a2959e2294a8848fa35f20163388eb06)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-23 23:43:45 +00:00
Ross Burton
664f0ca519 opkg-utils: refresh patch to fix selectable compressors
We patch opkg-build to ignore hard link count changes when archiving, but in the
last upgrade (oe-core 60c9a97) the patch was refreshed to apply but the result
is that opkg-build loses the ability to switch compressor.

Refresh the patch again so that it just adds the error ignoring logic and
doesn't otherwise change the behaviour of opkg-build.

(From OE-Core rev: e8f99fa61fc00c66d216c5f3e5d37ffc42f2574b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-23 23:43:45 +00:00
Ross Burton
26983fc6e2 buildhistory_analysis: colourise more output
(From OE-Core rev: e0f2c84e5ee6c4e5a56e485010647ca698d010bf)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-23 23:43:45 +00:00
Derek Straka
d490731913 python*-setuptools: update to 38.4.0
Update the python{3}-setuptools to the latest stable version

Tested on the qemu with core-image-minimal

(From OE-Core rev: 32a30b3edfdb76b554775817f98851f851316fe0)

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>
2018-01-23 23:43:45 +00:00
Tim Orling
0ac08808af systemd-bootchart: upgrade to v233; fix build with musl
* Drop xlocale.h patch, merged upstream
* Rework patches from systemd to fix musl build
  - comparison_fn_t is glibc specific
  - musl does not provide printf.h
  - musl does not provide canonicalize_file_name

(From OE-Core rev: 49ebc0acae1c060ab20631b9a7215e14ce150e6d)

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>
2018-01-23 23:43:45 +00:00
Huang Qiyu
78bdc1b724 glibc: Security Fix CVE-2017-17426
Affects glibc < 2.27 including current master
hash 77f921dac17c5fa99bd9e926d926c327982895f7

(From OE-Core rev: a273d099c3bc73736579b7b6ead2572721f16d2a)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>

[v2]
Rebased on new master

[v3]
Fix typo in patch status

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>
2018-01-23 23:43:45 +00:00
Armin Kuster
b1dde7b031 glibc: Security Fix CVE-2017-16997
Affect glibc < 2.27
including current master glibc hash: 77f921dac17c5fa99bd9e926d926c327982895f7

(From OE-Core rev: f65acd6f8ef7172d75863ee091a3fbbaa57c0f3f)

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>
2018-01-23 23:43:45 +00:00
Armin Kuster
042e562a77 glibc: Security fix CVE-2017-15671
affects glibc < 2.27
only glibc in current master hash: 77f921dac17c5fa99bd9e926d926c327982895f7

(From OE-Core rev: 9e411843b26d296ba2b048b581d31bd0221e25e6)

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>
2018-01-23 23:43:45 +00:00
Zumeng Chen
1aa417df60 kernel-uboot: support Image kernel type for arm64
Image will be generated for arm64, and no compression for Image in u-boot as
well. So we just put the file into the right place for the rest of the build
to find it.

(From OE-Core rev: ce6337ab4b415ee18360dfe4443a71ab75a60254)

Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-23 23:43:45 +00:00
Haiqing Bai
9611659a8c grep: support Perl regular expression
Supporting Perl regular expression is disabled with '--disable-perl-regexp'
but the manpage of 'grep' shows the '-P' option and returns below error:
"/bin/grep.grep -o -P 'PATTERN' file
 /bin/grep.grep: support for the -P option is not compiled into this \
               --disable-perl-regexp binary"

(From OE-Core rev: 8023052653d44a8bbd3618ba700aa260e581036e)

Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-23 23:43:45 +00:00
Changhyeok Bae
cc0db5714f iw: 4.9 -> 4.14
Upgrade iw from 4.9 to 4.14

(From OE-Core rev: 712d7acd5dada55f980d46788e8dd129570a9d61)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-23 23:43:45 +00:00
Huang Qiyu
89f061fb5b gdbm: 1.13 -> 1.14.1
Upgrade gdbm from 1.13 to 1.14.1.

(From OE-Core rev: cede695564b1ac9e3513ac592aa43f695e6e00f0)

(From OE-Core rev: c01f12faaf8347cb193776fedac3401775b3bbe7)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-23 23:43:45 +00:00
Richard Purdie
902b77bf91 lib/oe/package_manager/sdk: Ensure do_populate_sdk_ext and do_populate_sdk repos don't conflict
The repository indexes updated during do_populate_sdk_ext and do_populate_sdk
can conflcit. Add the missing lockfile calls for deb/ipk and in the rpm case,
ensure different directories are used for the index for the two sdk cases.

(From OE-Core rev: 5e5569c962c9ebc898eeb5044214e95117b190e1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-22 10:39:10 +00:00
Huang Qiyu
3ef5e034c6 bash: 4.4 -> 4.4.12
1.Upgrade bash from 4.4 to 4.4.12.
2.Delete bash44-001, bash44-002, bash44-003, bash44-004, bash44-005, bash44-006, bash44-007,bash44-008, bash44-009, bash44-0010, bash44-0011, bash44-0012, since it is integrated upstream.

(From OE-Core rev: 0b7a1a52e4640bb1f8a6fbe00db175df1356ebe1)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-22 10:39:09 +00:00
Paul Barker
668dd50a05 openssh: Disable wtmp when using musl libc
musl doesn't implement wtmp/utmp.

(From OE-Core rev: 2065bb297ff3e48801bc8458d85f4f66a3e69daf)

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-22 10:39:09 +00:00
Mingli Yu
7333ebf2fd libevent: fix 32bit linux regress test
Fix 32bit linux regress test

This patch is backported from 63c4bf78d6

(From OE-Core rev: 68d98f3de9d0caf13bdfd8ca1aa140ee3281ffdd)

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>
2018-01-22 10:39:09 +00:00
Robert Joslyn
9bfe9dadfe grub: Fix device mapper dependency
The lvm2 recipe in meta-oe was split, so the libdevmapper library is
provided by the libdevmapper recipe rather than lvm2.

(From OE-Core rev: 68a3ae195998f96e2d8678a6a3733117d490787d)

Signed-off-by: Robert Joslyn <robert_joslyn@selinc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-22 10:39:09 +00:00
André Draszik
d84da13283 common-licenses: Add BSD-1-Clause
Some projects are starting to use it.
  https://spdx.org/licenses//BSD-1-Clause.html

(From OE-Core rev: 77f692ecb39d880b2cb420850a31534860eb2cc5)

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-22 10:39:09 +00:00
Huang Qiyu
14b891f77d adwaita-icon-theme: 3.26.0 -> 3.26.1
Upgrade adwaita-icon-theme from 3.26.0 to 3.26.1.

(From OE-Core rev: c98c9542a565c9a542733f218d6a427fd4ccc909)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-22 10:39:09 +00:00
Amanda Brindle
3f408bae9f oe-pkgdata-util: Add support for RPROVIDES
In lookup_recipe, package_info, and list_pkg_files, check if the package
name exists in runtime-rprovides. If so, and the provider package has a
different name than the inputted package, print a note that says the
specified package is in another package's RPROVIDES. If the provider
package has the same name as the inputted package, continue as before.

Fixes [YOCTO 11943]

(From OE-Core rev: f78478f0d0379ea02727c81ad2455207c70d140b)

Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-22 10:39:09 +00:00
Amanda Brindle
76cbeffd2f oe-pkgdata-util: Refactor functions for consistency
Refactor functions lookup_recipe and package_info to be consistent with
list_pkg_files. Print the appropriate information as soon as it's found,
rather than storing it in a mappings variable and wait to print after
searching all packages.

(From OE-Core rev: 64d3ce83d5c48d479709b4c1355e23b3768493fb)

Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-22 10:39:09 +00:00
Otavio Salvador
5840ae6d13 go-dep: Add native and nativesdk variants
The go-dep must be used as native (and consequently as nativesdk)
during the build process. This adds the two variants as supported by
the recipe.

(From OE-Core rev: 2d3084efdcba282388048981ee3a68672241e4df)

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>
2018-01-22 10:39:09 +00:00
Marek Vasut
289020cc23 u-boot: Upgrade to 2018.01 release
This upgrades the U-Boot from 2017.11 to 2018.01 release
and drops patches accepted upstream.

(From OE-Core rev: df61422d3852b96d084749c0b287ea074f7e48bf)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-22 10:39:09 +00:00
Jian Liang
a54c639db0 connman: Implement subnet route in session
Implement subnet route creation/deletion in session, e.g.

default via 192.168.100.1 dev eth0
192.168.100.0/24 dev eth0

(From OE-Core rev: d6ac8a53d05124cbe34bc6673cb46091b50c7643)

Signed-off-by: Jian Liang <jianliang@tycoint.com>
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-22 10:39:09 +00:00
Jian Liang
10e1be398b connman: Fix a crash using wispr over TLS
This is happened when doing wispr against a HTTPS URL
rather than the default one, i.e.
http://ipv4.connman.net/online/status.html

When gnutls_channel is instantiated, the gnutls_channel->established
has to be initiated as FALSE. Otherwise, check_handshake function
won't work. A random initial value 1 of gnutls_channel->established
will make check_handshake return G_IO_STATUS_NORMAL, when the channel
is actually not ready to be used. The observed behaviours are,

- wispr is getting random errors in wispr_portal_web_result
- ConnMan crashes on exit after those random errors
- when wispr is luckly working, ConnMan doesn't crash on exit

(From OE-Core rev: 2ea983d4a187ac62e703e85dce622f70e309be05)

Signed-off-by: Jian Liang <jianliang@tycoint.com>
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-22 10:39:09 +00:00
Jian Liang
f4335d224d connman: fix nat-postrouting not update issue
When more than one session are created with the same
"AllowedInterface", connman failed to update nat-
postrouting rules when new IP address was got

(From OE-Core rev: 918754c8e855dea07a49e30b6ff1d3e3dd7530c7)

Signed-off-by: Jian Liang <jianliang@tycoint.com>
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-22 10:39:09 +00:00
Otavio Salvador
dfd7f3f3f4 mesa: Upgrade 17.3.2 -> 17.3.3 release
The 17.3.3 release, published in January 18th, 2018. It fixes a number
of issues since 17.3.2 release.

The release notes can be seen at:

  https://www.mesa3d.org/relnotes/17.3.3.html

(From OE-Core rev: 4e3e181dbe002ad17fc76c46c328f6f7df326f24)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-22 10:39:09 +00:00
Tim Orling
45a11bc172 perl: add Config_git.PL to -lib
Fixes:
Warning: failed to load Config_git.pl, something strange about this perl

(From OE-Core rev: de2530a01dfa18919a81b957c01978b42f589f5f)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-22 10:39:09 +00:00
Richard Purdie
63c8c8fb60 populate_sdk_ext: Set cleandirs correctly
The current conflicting use of SDKDEPLOYDIR causes a race between do_populate_sdk
and do_populate_sdk_ext potentially causing the SDK to either go missing or the
build to fail.

(From OE-Core rev: 792cfbab488782a7bd610fc2078077d5497be4d1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-22 10:39:09 +00:00
Alejandro Hernandez
7aaffbede4 python: fix RDEPENDS on several recipes, due to non-existent packages
The packaging has been altered slightly so ensure the dependencies are all still
valid.

(From OE-Core rev: 3328211afdef8ffb00dd4dff1143959d5412b075)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-20 22:31:56 +00:00
Alejandro Hernandez
2afde7e7bd python3: Fix native compilation of gdbm module and manifest
The gdbm module wasnt being built on python3-native showing the following
error during compilation:

Failed to build these modules:
_gdbm

This patch adds the required dependency to fix the compilation problem.

This issue on python3-native caused the manifest creation script to be
unaware of the gdbm library, so this patch also fixes the create_manifest
task for target python, and the manifest file to reflect the changes on
target python as well.

(From OE-Core rev: c47b54aeae5daabb458d6f7118a16257021c1822)

Signed-off-by: Alejandro Hernandez <alejandr@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-20 22:31:56 +00:00
Tim Orling
5dd24c1753 python*-manifest.json: add dependencies, runpy
* runpy allows running modules/scripts with 'python -m foo'
  - create explicit python2 and 3 packages rather than the
    misc catchall
* python3-setuptools and html.parser RDEPENDS on _markupbase
  - add to python3-core rather than misc catchall
* pip3 RDEPENDS on plistlib, http.client
  - already packaged in python2, add to python3
  - add http/ to -netclient
* "pip3 install" RDEPENDS on encodingds.idna
  - encodings.idna packaged in -core, but missing:
    - stringprep (move from -codecs to -core)
    - unicodedata (move from -codecs to -core)

(From OE-Core rev: 65a85c7db3de8d16ff91a5208a59cc2202d34e5b)

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>
2018-01-20 22:31:56 +00:00
Alejandro Hernandez
b6777878ff python3: Restructure python3 packaging and replace it with autopackaging
See previous commit (python2 version) for more info, since mostly
everything applies here as well.

Old manifest file had several issues:
 - Its unorganized and hard to read and understand it for an average
   human being.
 - When a new package needs to be added, the user actually has to modify
   the script that creates the manifest, then call the script to create
   a new manifest, and then submit a patch for both the script and the
   manifest, so its a little convoluted.
 - Git complains every single time a patch is submitted to the manifest,
   since it violates some of its guidelines.
 - It changes or may change with every release of python, its impossible
   to know if the required files for a certain package have changed
   (it could have more or less dependencies), the only way of doing so
   would be to install and test them all one by one on separate individual
   images, and even then we wouldnt know if they require less dependencies,
   we would just know if an extra dependency is required since it would
   complain, lets face it, this isnt feasible.
 - The same thing happens for new packages, if someone wants to add a new
   package, its dependencies need to be checked manually one by one.

Features/Fixes:
 - A new manifest format is used (JSON), easy to read and understand.
   This file is parsed by the python recipe and python packages
   read from here are passed directly to bitbake during parsing time.
 - It provides an automatic manifest creation task (explained on previous
   commit), which automagically checks for every package dependencies and
   adds them to the new manifest, hence we will have on each package
   exactly what that package needs to be run, providing finer granularity.
  - Dependencies are also checked automagically for new packages
   (explained on previous commit).

This patch has the same features as the python2 version but it differs
in the following ways:
 - Python3 handles precompiled bytecode files  (*.pyc) differently.
   for this reason and since we are cross compiling, wildcards couldnt be
   avoided on python3 (See PEP #3147 [1]).
   Both the manifest and the manifest creation script handle this
   differently, the manifest for python3 has an extra field for cached
   files, which is how it lets the user install the cached files or not
   via : INCLUDE_PYCS = "1" on their local.conf.
 - Shared libraries nomenclature also changed on python3, so again, we
   use wildcards to deal with this issue ( See PEP #3149 [2]):
 - Fixes python3 manifest, python3-core should be base and everything
   should depend on it, hence several packages were deleted:
   python3-enum, re, gdbm, subprocess, signal, readline.
 - When building python3-native it adds as symlink to it called
   nativepython3, which is then isued by the create_manifest task.
 - Fixes [YOCTO #11513] while were at it.

References:
[1] https://www.python.org/dev/peps/pep-3147/
[2] https://www.python.org/dev/peps/pep-3149/

(From OE-Core rev: 54ac820b8a639950ccb534dcd9d6eaf8b2b736e0)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-20 22:31:56 +00:00
Tim Orling
86e002572d python2 create_manifest.py: fix trailing whitespace in json
The json.dumps function adds trailing whitespace when using
indent, because the default separator is not ','.

The workaround [1] is to set the separators to be ',' and ': ',
e.g. separators=(',', ': ')

[1] https://hg.python.org/cpython/rev/78bad589f205

(From OE-Core rev: e4cc287e41af2e52240a20d4bf2b6cc0f1f85314)

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>
2018-01-20 22:31:56 +00:00
Alejandro Hernandez
8d94b9db22 python: Restructure python packaging and replace it with autopackaging
The reason we have a manifest file for python is that our goal is to
keep python-core as small as posible and add other python packages only
when the user needs them, hence why we split upstream python into several
packages.

Although our manifest file has several issues:
 - Its unorganized and hard to read and understand it for an average
   human being.
 - When a new package needs to be added, the user actually has to modify
   the script that creates the manifest, then call the script to create
   a new manifest, and then submit a patch for both the script and the
   manifest, so its a little convoluted.
 - Git complains every single time a patch is submitted to the manifest,
   since it violates some of its guidelines.
 - It changes or may change with every release of python, its impossible
   to know if the required files for a certain package have changed
   (it could have more or less dependencies), the only way of doing so
   would be to install and test them all one by one on separate individual
   images, and even then we wouldnt know if they require less dependencies,
   we would just know if an extra dependency is required since it would
   complain, lets face it, this isnt feasible.
 - The same thing happens for new packages, if someone wants to add a
   new package, its dependencies need to be checked manually one by one.

This patch fixes those issues, while adding some additional features.

Features/Fixes:

 - A new manifest format is used (JSON), easy to read and understand.
   This file is parsed by the python recipe and python packages read
   from here are passed directly to bitbake during parsing time.
 - It provides an automatic manifest creation task (explained below),
   which automagically checks for every package dependencies and adds
   them to the new manifest, hence we will have on each package exactly
   what that package needs to be run, providing finer granularity.
 - Dependencies are also checked automagically for new packages (explained below).
 - Fixes the manifest in the following ways:
   * python-core should be base and all packages should depend on it,
     fixes lang, string, codecs, etc.
   * Fixes packages with repeated files (e.g. bssdb and db, or
     netclient and mime, and many others).
 - Sitecustomize was fixed since encoding was deprecated.
 - The JSON manifest file invalidates bitbake's cache, so if it changes
   the python package will be rebuilt.
 - It creates a solution for users that want precompiled bytecode files
   (*.pyc) INCLUDE_PYCS = "1" can be set by the user on their local.conf to
   include such files, some argument they get faster boot time, even when the
   files would be created on their first run?, but they also sometimes give a
   magic number error and take up space, so we leave it to the user to
   decide if they want them or not.
 - Fixes python-core dependencies, e.g.
   When python is run on an image, it TRIES to import everything it needs,
   but it doesnt necessarily fails when it doesnt find something, so even if
   we didnt know, we had errors like (trimmed on purpose):
   # trying /usr/lib/python2.7/_locale.so
   # trying /usr/lib/python2.7/lib-dynload/_locale.so
   # trying /usr/lib/python2.7/_sysconfigdata.so

   while it didnt complain about _locale it should have imported it,
   after creating a new manifest with the automated script we get:

   # trying /usr/lib/python2.7/lib-dynload/_locale.so
   dlopen("/usr/lib/python2.7/lib-dynload/_locale.so", 2);
   import _locale # dynamically loaded from /usr/lib/python2.7/lib-dynload/_locale.so

How to use (after a new release of python, or maybe before every OE
release):
 - A new task called create_manifest was added to the python package,
   which may be invoked via:

 $ bitbake python -c create_manifest

 This task runs a script on native python on our HOST system, and since
 the python and python-native packages come from the same source, we can
 use it to know the dependencies of each module as if we were doing it
 on an image, this script is called create_manifest.py and in a very
 simplistic way it does the following:

 1. Reads the JSON manifest file and creates a dictionary data structure
    with all of our python packages, their FILES, RDEPENDS and SUMMARY.
 2. Loops through all of them and runs every module listed on them
    asynchronously, determining every dependency that they have.
 3. These module dependencies are then handled, to be able to know which
    packages contain those files and which should RDEPEND on one another.
 4. The data structure that comes out of this, is then used to create a
    new manifest file which is automatically copied onto the user's python
    directory replacing the old one.

 Create_manifest script features:
 - Handles modules which dont exist anymore (new release for example).
 - Handles modules that are builtin.
 - Deals with modules which were not compiled (e.g. bsddb or ossaudiodev)
 - Deals with packages which include folders.
 - Deals with packages which include FILES with a wildcard.
 - The manifest can be constructed on a multilib environment as well.
 - This method works for both python modules and shared libraries used
   by python.

How to add a new package:
 - If a user wants to add a new package all that has to be done is
   modify the python2-manifest.json file, and add the required file(s)
   to the FILES list, the script should handle all the rest.
   Real example:
   We want to add a web browser package, including the file webbrowser.py
   which at the moment is on python-misc.
   "webbrowser": {
       "files": ["${libdir}/python2.7/lib-dynload/webbrowser.py"],
       "rdepends": [],
       "summary": "Python Web Browser support"}

 Run bitbake python -c create_manifest and the resulting manifest
 should  be completed after a few seconds, showing something like:
   "webbrowser": {
      "files": ["${libdir}/python2.7/webbrowser.py"],
      "rdepends": ["core","fcntl","io","pickle","shell","subprocess"],
      "summary": "Python Web Browser support"}

Known errors/issues:
 - Some special packages are handled differently: core, misc,
   modules,dev, staticdev.
   All these should be handled manually, because they either include
   binaries, static libraries, include files, etc. (something that we
   cant import).
   Specifically static libraries are not not supported by this method
   and have to be handled by the user.
 - The change should be transparent to the user, other than the fact
   that now we CANT build python-foo (it was pretty dumb anyway, since
   what building python-foo actually did was building the whole python
   package anyway), but doing IMAGE_INSTALL_append = " python-foo"
   would create an image with the requested package with no issues.

[YOCTO #11510] [YOCTO #11694] [YOCTO #11695]

(From OE-Core rev: 6959e2e4dba5bbfa6ffd49c44e738cc1c38bc280)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-20 22:31:56 +00:00
Robert Yang
e153efde97 multilib.bbclass: deltask populate_sdk and populate_sdk_ext
The "bitbake image -cpopulate_sdk/ext" generates SDK/eSDK for all multilib
variants, so "bitbake lib32-image -cpopulate_sdk/ext" is not needed, and it
doesn't work well, for example:

MACHINE ?= "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"

$ bitbake lib32-core-image-minimal -cpopulate_sdk_ext
[snip]
Exception: FileExistsError: [Errno 17] File exists: '/buildarea/lyang1/test_q64/tmp/sysroots-components/core2-64/openssl/sysroot-providers/openssl10' -> '/buildarea/lyang1/test_q64/tmp/work/qemux86_64-pokymllib32-linux/lib32-core-image-minimal/1.0-r0/lib32-recipe-sysroot/sysroot-providers/openssl10'
[snip]

The problem is populate_sdk_ext installs all multilib variants, and
extend_recipe_sysroot() handles foo-image depends lib32-foo-image, but doesn't
handle lib32-foo-image depends foo-image, we can use a lot of trick ways to make
it work:
1) Get foo-image's RECIPE_SYSROOT when build lib32-foo-image
2) Handle conflicts with foo-image.do_rootfs
3) Handle conflicts when "bitbake lib32-foo-image foo-image -cpopulate_sdk_ext"

And maybe other potential problems, this looks painful, so just delete the task.

[YOCTO #12210]

(From OE-Core rev: 77144bc808be02deb3351c9c1bf5b4f2b8c3a6ec)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:14 +00:00
Hongxu Jia
4e9bb03238 grub/grub-efi: fix conflict
While installing grub and grub-efi, there are conflict files
in ${sysconfdir} ${datadir} ${bindir} ${sbindir}.

- Since all of the conflicted files are tools which is
  common for grub and grub-efi, we split them (except
  grub-editenv) to grub-common in grub.

- The package grub-common runtime depends grub-editenv

- The package grub-editenv runtime provides grub-efi-editenv

- Remove SYSROOT_DIRS_BLACKLIST

- The recipe grub-efi does not generate the duplicated files
  and use runtime depends grub-common to instead

Debian and Fedora do the similar thing.

Debian use a common package grub-common for both of pc bios and efi,
and use package grub-pc-bin for pc bios, grub-efi-amd64-bin for efi.
Both of grub-pc-bin and grub-efi-amd64-bin requires grub-common.
https://packages.debian.org/sid/grub-common
https://packages.debian.org/jessie/grub-pc-bin
https://packages.debian.org/jessie/grub-efi-amd64-bin

Fedora use a common package grub2-tools for both of pc bios and efi,
and use package grub2 for pc bios, grub2-efi-modules for efi.
Both of grub2 and grub2-efi-modules requires grub2-tools.
https://www.rpmfind.net/linux/RPM/fedora/devel/rawhide/x86_64/g/grub2-tools-2.02-0.34.fc24.x86_64.html
https://www.rpmfind.net/linux/RPM/fedora/devel/rawhide/x86_64/g/grub2-2.02-0.34.fc24.x86_64.html
https://www.rpmfind.net/linux/RPM/fedora/devel/rawhide/x86_64/g/grub2-efi-modules-2.02-0.34.fc24.x86_64.html

[YOCTO #11639]

(From OE-Core rev: 6fd0bc313c6035b7de5b7a62cbbcd1d6f546c7f9)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:14 +00:00
Huang Qiyu
975591a8d6 tiff: 4.0.8 -> 4.0.9
1.Upgrade tiff from 4.0.8 to 4.0.9.
2.Delete CVE-2017-10688.patch, CVE-2017-11335.patch, CVE-2017-13726.patch, CVE-2017-13727.patch, CVE-2017-9147.patch, CVE-2017-9936.patch, since it is integrated upstream.

(From OE-Core rev: df894b523d74f8fd723d1c8fb03f55e46c6af0f5)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:14 +00:00
Huang Qiyu
6d22e53954 icu: 60.1 -> 60.2
Upgrade icu from 60.1 to 60.2.

(From OE-Core rev: cd8aadcfb3cc7af8ad0d44b1ee2101c499621f95)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:14 +00:00
Changhyeok Bae
01e10aa1d0 iproute2: 4.13.0 -> 4.14.1
- This release features JSON output for many commands and greater
  support of offloading to hardware.

- Config is changed to config.mk

(From OE-Core rev: d633f99cbb4b72876953667b23076ade51c063f0)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:14 +00:00
Ross Burton
66d783ca67 cmake: use Ninja by default
This changes the cmake class to use Ninja instead of Make by default.

If a recipe is broken with Ninja then the recipe can set OECMAKE_GENERATOR="Unix
Makefiles" to change back to Make.

(From OE-Core rev: bacaa26decb8a1e3fa672e1923954793fde48766)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:14 +00:00
Ross Burton
59879f31e1 cmake: allow the generator to be changed
Add OECMAKE_GENERATOR variable to control which generator is used by CMake,
defaulting to the upstream default of Unix Makefiles for now.  The other
supported option is Ninja, which is faster than Make for large projects (for
example, using Ninja takes three minutes off webkitgtk:do_compile for me).

(From OE-Core rev: 6e3f719076cab469f56cd1555bd219a5c3fd135d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:14 +00:00
Martin Kelly
9ce6fa9a8f meson.bbclass: add MESON_LINK_ARGS to vardeps
Currently, we include MESON_C_ARGS in write_config[vardeps], but we
don't include MESON_LINK_ARGS, which also affects meson.cross. In
addition, we include TOOLCHAIN_OPTIONS, from which both are derived.

Add MESON_LINK_ARGS, and remove TOOLCHAIN_OPTIONS, which does not
directly appear in meson.cross and should be pulled in indirectly by
MESON_C_ARGS and MESON_LINK_ARGS.

(From OE-Core rev: 4db37cc8d9139076682e2528d29e92fad2eb1c90)

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:14 +00:00
Martin Kelly
ff5634ad88 meson.bbclass: include C{, XX}FLAGS in cross args
Currently, CFLAGS and CXXFLAGS are not making it into the compile line.
This is because meson appends CFLAGS/CXXFLAGS from the environment only
for native but not for cross builds (probably to keep cross-builds more
isolated). As a result, we need to make sure these vars goes into
meson.cross. This is similar to what cmake.bbclass does with
OECMAKE_C_FLAGS and OECMAKE_CXX_FLAGS.

Change c_args and cpp_args in meson.cross to include these vars, and
update write_config[vardeps] accordingly.

(From OE-Core rev: f435d1b75d3775f6ec0df6027766008b40209fd7)

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:14 +00:00
Martin Kelly
b895d11862 meson.bbclass: compile with --buildtype plain
OE manages all the compile flags, so we don't want meson to inject its
own flags. Currently, it's injecting -O0 and causing build breaks when
security flags are enabled (because _FORTIFY_SOURCE requires an
optimized build and meson defaults to a debug -O0 build).

Add --buildtype plain so meson will not add its own optimization flags.

(From OE-Core rev: 73ff85986d82c8da601d7c7cf9a02961f2f66a09)

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:14 +00:00
Otavio Salvador
b96f5db544 cmake: upgrade 3.9.5 -> 3.10.1
The 3.10.1 version has been in Dec 13, 2017, and has a great set of
features and improvements since the last upgrade.

The release notes of 3.10 release is available at:

https://cmake.org/cmake/help/v3.10/release/3.10.html

Patches updates:

 - cmake-Prevent-the-detection-of-Qt5.patch: so it replaces the sed
   command calls inside the cmake.inc

 - 0001-FindCUDA-Use-find_program-if-find_host_program-is-no.patch:
   merged upstream, so it has been removed.

 - support-oe-qt4-tools-names.patch: rebased.

License-checksum-change: added new contributors
(From OE-Core rev: 9e58926f1cea9d5cb18cb923855d1ae98f88a8ac)

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>
2018-01-19 12:37:13 +00:00
Liwei Song
b0e9cf7ee4 linux-firmware: package ibt-17-16-1 firmware
Package ibt-17-16-1 firmware for Bluetooth device 9460/9560

(From OE-Core rev: b77bb7afe5131d9157be9dfebda4d4185a98a820)

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:13 +00:00
Liwei Song
9c3ebd7192 linux-firmware: package iwlwifi-9000 series fimware
Add package for 9000 seires Intel wireless firmware.

(From OE-Core rev: 7e6891e71d8da85371909925bbcb6baf816f3289)

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:13 +00:00
Thomas Perrot
2acedd5632 kernel: Use KERNEL_IMAGETYPE_FOR_MAKE in do_bundle_initramfs
In the case of a fitImage the this step should be done on the
image use to assemble the fitImage.

(From OE-Core rev: a061c6bfd3a049a2c8d14bcfafd6e1837afb95e5)

Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:13 +00:00
Huang Qiyu
d79bc85d84 usbutils: 008 -> 009
Upgrade usbutils from 008 to 009.

(From OE-Core rev: 09cce431ea629888b3ab848ac8cc0ea7627a8707)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:13 +00:00
Huang Qiyu
4726659ca0 trace-cmd: 2.6.1 -> 2.6.2
Upgrade trace-cmd from 2.6.1 to 2.6.2.

(From OE-Core rev: 82719ee49a7149ced5669b3c121c7fad7bf21bfb)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:13 +00:00
Huang Qiyu
37f97886f0 systemtap: 3.1 -> 3.2
Upgrade systemtap from 3.1 to 3.2.

(From OE-Core rev: 4f2db007a760498421c7f0c27870cabea108ee23)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:13 +00:00
Andre McCurdy
b58083b980 busybox: drop obsolete CONFIG_FEATURE_SYSTEMD reference from musl.cfg
From 1.25.0 onwards, busybox dropped systemd compatibility from its
version of syslogd:

  https://git.busybox.net/busybox/commit/?id=accd9eeb719916da974584b33b1aeced5f3bb346

(From OE-Core rev: 90b9fd1ab109d62f1cf6adacdbf448f850651ec7)

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>
2018-01-19 12:37:13 +00:00
Martin Hundebøll
4128a5b5ac glib-2.0: fix EXTRA_OECONF append for PTEST
The order of '_append' and '_<override>' matters: '_append' must be
before overrides to have any effect.

Fix this in glib-2.0, so that EXTRA_OECONF is appended instead of
overwritten.

(From OE-Core rev: d5f108349c0c052347b46fb7a8ed30fdec2b15c2)

Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:13 +00:00
Ross Burton
28364fb2b9 v86d: use snapshot.debian.org
(From OE-Core rev: 0ae81112acfdbae4ccf6ceef3382c568fab99bfd)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:13 +00:00
Ross Burton
d7e8acc9a3 glib: improve gettext enabling/disabling
As we only seed gettext's msgfmt as /bin/false for native builds, explicitly set
USE_NLS to yes in the recipe (as it was previously) for targeget and nativesdk
builds.

(From OE-Core rev: 1b1f382af69a2d63f2ddd526cde430fb68c9ca6e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:13 +00:00
Andre McCurdy
f2d7b5b2ee kernel: drop unnecessary True options from calls to getVar
The older style calls (plus a bashism in kernel.bbclass, fixed
separately) were introduced via the recent change to add support for
multiple kernel packages:

  http://git.openembedded.org/openembedded-core/commit/?id=6c8c899849d101fd1b86aad0b8eed05c7c785924

(From OE-Core rev: e660ef68de3b3891a26ed6e10d96dc4efaf03ffc)

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>
2018-01-19 12:37:13 +00:00
Robert Yang
1b96585b92 scripts/oe-depends-dot: add it to handle dot files
Add it to handle recipe-depends.dot and task-depends.dot. E.g.:

* Print why rpm is built
  $ oe-depends-dot -k rpm --why/-w recipe-depends.dot
  Because: core-image-sato libdnf libsolv dnf

* Print bzip2-native's depends
  $ oe-depends-dot -k bzip2-native --depends/-d recipe-depends.dot
  Depends: automake-native gnu-config-native libtool-native quilt-native autoconf-native

* Remove duplicated dependencies to reduce the size of the dot files.
  For example, A->B, B->C, A->C, then A->C can be removed. The dot files are too
  big, we nearly couldn't use 'dot -T' to generate pictcures for target recipes,
  remove the duplicated dependencies makes is it possible.
  $ bitbake core-image-sato -g
  $ oe-depends-dot -r recipe-depends.dot
  Saving reduced dot file to recipe-depends-reduced.dot
  $ du -sh recipe-depends*.dot
  608K    recipe-depends.dot
  32K     recipe-depends-reduced.dot

  It has been recuded from 608K to 32K, now we can generate a picture,
  otherwise, it is too big:
  $ dot -Tpng recipe-depends-reduced.dot -O

It also can handle task-depends.dot.

(From OE-Core rev: 7dc7860691304d63e7ad728d2180474906fe0a5c)

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>
2018-01-19 12:37:13 +00:00
Maxin John
0797aab859 i2c-tools: upgrade to 4.0
Update the SRC_URI to point to kernel.org location where
i2c-tools is hosted these days.

Remove Modules.mk since it was used for deprecated binaries
(eepromer, eeprom)

Backported the following patches to fix races during build:
        a) 0001-tools-Module.mk-Add-missing-dependencies.patch
        b) 0001-i2c-tools-eeprog-Module.mk-Add-missing-dependency.patch
        c) 0001-lib-Module.mk-Add-missing-dependencies.patch

(From OE-Core rev: f330e9f64b69de09284da765ca1e869099ec49ae)

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>
2018-01-19 12:37:13 +00:00
Maxin B. John
9b7a842855 pkgconf: upgrade to 1.4.0
1.3.7 -> 1.4.0

Removed following upstreamed and backported patches:
        1. 0001-stdinc.h-fix-build-with-mingw.patch
        2. 0001-Minimal-tweaks-to-compile-with-Visual-C-2015.patch

Change in checksum is due to bump in copyrights to 2018.

(From OE-Core rev: 85e215ca46d8d413c000f0e0675840ab460e4a5b)

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>
2018-01-19 12:37:13 +00:00
Nicolas Dechesne
e15a677b93 linux-firmware: add packaging for QCOM firmware for APQ8016 and APQ8096
Firmware files for VPU and GPU found on various Qualcomm based devices, such as
Dragonboard 410c and/or Dragonboard 820c.

* venus-1.8 and adreno-a3xx firmware are VPU and GPU for Qualcomm APQ8016 SoC
* venus-4.2 and adreno-a530 firmware are VPU and GPU for Qualcomm APQ8096 SoC

(From OE-Core rev: 687d71982a88f1db91316d646ecaeaf07ab88e7a)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:13 +00:00
Hongxu Jia
03352b1ce3 wget: improve reproducibility
Remove build host references from the internally
generated file version.c. The references get compiled into
executables, which leads to non-reproducible builds.
The removed references (--sysroot, -fdebug-prefix-map) were
only used as part of the `wget --version' which do not have
side effect.

(From OE-Core rev: c7fc89c136311c69bc96edf110e988f1be691781)

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>
2018-01-19 12:37:13 +00:00
Ross Burton
d94199ef3b maintainers: update
Some people are no longer working on oe-core, so reassign their packages.

(From OE-Core rev: d4c7091362569af08ea67d57925ffb91579ce3bd)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-19 12:37:13 +00:00
Yi Zhao
cf75fd5ae0 contrib/yocto-bsp-kernel-update.sh: remove this script
This script was unused since yocto-bsp tool had been removed.

(From meta-yocto rev: 594ced59dc80c11d573ae4a16e1aff910a8d9300)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 13:05:56 +00:00
Yi Zhao
8791364716 json-glib: update to 1.4.2
Drop 0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
since it has been fixed upstream.

(From OE-Core rev: 6b87ad5b08004554f08d2f68027908956f3795e1)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:37 +00:00
Carlos Alberto Lopez Perez
d39e961192 tune-i686: Add new tune for better support of 686-class CPUs.
There isn't currently any tune available for i686 x86 optimizations.
The tune for i586 doesn't enable i686 specific optimizations, and the
one for core2 enables things that won't work on a i686 CPU (like SSE3).

Make the tune for core2 inherits from this one and move there the
setting of X86ARCH32.

(From OE-Core rev: c08f76ba0654e43074b6b964f728765918dbfb09)

Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:37 +00:00
Mike Crowe
72544a4ca8 rpm: backport configure fix for multiple users/groups with ID 0
Backport upstream configure fix for hosts that have multiple users with UID
0 or groups with GID 0.

(From OE-Core rev: f0f92d3d0f42a4a7e521b58dac53e14f9e2572a1)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:37 +00:00
Maxin B. John
f41020e4f6 mesa: improve build reproducibility
Sort the output to ensure reproducibility.

Fixes [YOCTO #12479]

(From OE-Core rev: 287446f5c0f3108efc0429bf84be45413970b7a8)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:37 +00:00
Maxin B. John
2ed6e23582 gst-examples: upgrade to latest revision
As suggested by updated AUH

(From OE-Core rev: ce3dd3c49fd9845ba55c5d1f179b8bf362a42df7)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:37 +00:00
Ross Burton
1c88db7a1c buildhistory-diff: add support for colourising the output
Colour value removes in red and additions in green, making it easier to scan the
output for relevant changes.

This adds a --colour option to specify whether colouring should be on, off, or
detected.  The default is detected, and depends on whether stdout is a TTY (same
behaviour as git).

(From OE-Core rev: 4208f1546c92f069e432d1865269ce539db8cea7)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:37 +00:00
Alexander Kanavin
c1058ac4f2 devtool: rename the suggested license change tag to 'License-Update:'
(From OE-Core rev: 3905ae20330f204f3c8997e2d5aaf15dcf5a860c)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:37 +00:00
Alistair Francis
a69425e49a qemu: Bump to version 2.11.0
Use the latest QEMU release 2.11. Remove all patches that are no longer
required as they have been merged into the 2.11 releaese. One patch had
to be updated to apply to the 2.11 tree.

This also applies a linux user patch to avoid webkitgtk build hangs.

(From OE-Core rev: d6d0d99569e0d8b62a61e27d389e7939af45bab9)

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:37 +00:00
Andre McCurdy
f4fb8ecb8a kernel.bbclass: drop legacy fallback to yes '' | make oldconfig
The "oldnoconfig" target has been supported since Linux 2.6.36.

According to OLDEST_KERNEL, the oldest kernel currently supported by
OE is 3.2.0, so the fallback to yes '' | make oldconfig is no longer
required.

(From OE-Core rev: 6abee5468e05333fbd9bd5ac8fc203a749ae3b3e)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:36 +00:00
Daniel Schultz
1e5e38f1e7 cryptodev: Fix build errors with v4.13+
Without this compiles of 4.13 and later kernels fail.

Backport from https://github.com/cryptodev-linux/cryptodev-linux
Based on commit f0d69774afb27ffc62bf353465fba145e70cb85a

(From OE-Core rev: 317fd9814653ee22496dda63a02e628e8a16899b)

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:36 +00:00
Ross Burton
e23298ca85 classes/debian: clean up process spawning
This code is old and was of it's time, rewrite it to use modernish (we support
Python 3.4, so can't use subprocess.run()) subprocess and re idioms instead.

(From OE-Core rev: 8f7fdab41b8d6aced6753920bb5deed147c9baa8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:36 +00:00
Ross Burton
eaf2636f6c classes/debian: fix library path handling
The existing code is looking for libraries in all paths which end in ${libdir}.
This caused false-positives for recipes such as lz4 which had files called
/usr/lib/lz4/ptest/usr/lib/liblz4.so, and resulted in lz4-ptest being
incorrectly renamed to liblz4.

Solve this by explicitly looking for ${libdir} etc under the packages-split
directory.

(From OE-Core rev: 7b1896f6f5367010b54c6a8b300db84037734533)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:36 +00:00
Otavio Salvador
9a5547d088 go-dep: upgrade 0.3.1 -> 0.3.2
The 0.3.2 version has been released in Oct 19, 2017, and has a great
set of features and improvements, as seen in the announcement summary:

,----
| NEW FEATURES:
|
| - Add support for importing from gvt and gb. (#1149)
| - Wildcard ignore support. (#1156)
| - Disable SourceManager lock by setting DEPNOLOCK environment
|   variable.  (#1206)
| - dep ensure -no-vendor -dry-run now exits with an error when
|   changes would have to be made to Gopkg.lock. This is useful
|   for CI. (#1256)
|
| BUG FIXES:
|
| - gps: Fix case mismatch error with multiple dependers. (#1233)
| - Skip broken vendor symlink rather than returning an error. (#1191)
| - Fix status shows incorrect reason for lock mismatch when ignoring
|   packages. (#1216)
|
| IMPROVEMENTS:
|
| - Allow dep ensure -add and -update when lock is out-of-sync. (#1225)
| - gps: vcs: Dedupe git version list (#1212)
| - gps: Add prune functions to gps. (#1020)
| - gps: Skip broken vendor symlinks. (#1191)
| - dep ensure -add now concurrently fetches the source and adds the
|   projects. (#1218)
| - File name case check is now performed on Gopkg.toml and Gopkg.lock.
|   (#1114)
| - gps: gps now supports pruning. (#1020)
| - dep ensure -update now concurrently validates the passed project
|   arguments. Improving performance when updating dependencies with
|   -update. (#1175)
| - dep status now concurrently fetches repo info. Improving status
|   performance. (#1135)
| - gps: Add SourceURLsForPath() to SourceManager. (#1166)
| - gps: Include output in error. (#1180)
`----

(From OE-Core rev: d5e1003283f21ed0b3bbe594b24eb4fa1dd27956)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:36 +00:00
Otavio Salvador
8eba2d8788 libdrm: upgrade 2.4.88 -> 2.4.89
The 2.4.89 version has been released in Dec 18, 2017, and has a great
set of features and improvements, as seen in the announcement summary:

,----
| libdrm release with leasing and syncobj api updates,
| updated amdgpu marketing ids, amdgpu tests,
| updated uapi headers
| etnaviv updates.
`----

The full announcement can be seen at:

https://lists.freedesktop.org/archives/dri-devel/2017-December/160530.html

(From OE-Core rev: a776a8190d5abee97da8684d4c448e3ed7bb7fb8)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:36 +00:00
Ross Burton
9d4e326aa8 piglit: override install target name instead of do_install
Simply override the install target, instead of reimplementing do_install.

Apart from being neater, this also stops the recipe expecting that cmake is
using the Make backend.

(From OE-Core rev: 9fec5ef920bd63fe3cc2e623add0c7aead95ecae)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:36 +00:00
Ross Burton
0c0a239011 cmake: allow target names to be overridden
Don't hardcode the targets used in do_compile and do_install, instead build
"all" and "install" by default but respect OECMAKE_TARGET_COMPILE and
OECMAKE_TARGET_INSTALL variables.

(From OE-Core rev: 806765ec466597d38231d4be303cb48c26e21466)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:36 +00:00
Otavio Salvador
9b30248198 libarchive: Enable xz and lzo by default
The XZ format is widely used and multiple recipes inside OE-Core
already use it, so making the XZ enabled by default align the
expectation of users. The LZO, on the other side, is commonly used in
embedded systems due its performance so it makes sense to be available
by default.

(From OE-Core rev: 6d24b0bc7ebddd10de5ad8f210b8ed85fc6ae769)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:36 +00:00
Alexander Kanavin
21fa4714f2 gstreamer: correctly set GST_PLUGIN_SCANNER_1_0
The order was wrong: GST_PLUGIN_SCANNER_1_0 was previously set before
GTKDOC_EXTRA_ENVIRONMENT and so was overriden by upstream setting it
from there. This changes the location of GST_PLUGIN_SCANNER_1_0 setting
to come after GTKDOC_EXTRA_ENVIRONMENT.

(From OE-Core rev: 62e12a4c81e57f955d9e631e27bd64368058da6c)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:36 +00:00
Richard Purdie
f0cb5fe07c subversion: upgrade 1.9.6 -> 1.9.7
(From OE-Core rev: d3973d787c8af417b6f4d433c3a8a60b5333778e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:36 +00:00
Richard Purdie
0f25f626ec lttng-modules: upgrade 2.9.5 -> 2.10.4
LICENSE file contains a list of files and addtional files were added to
the list, license was unchanged.

(From OE-Core rev: f6372633b481fc267c1983a5276616513ec778a9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:36 +00:00
Richard Purdie
859c6cd831 lttng-ust: upgrade 2.9.1 -> 2.10.1
(From OE-Core rev: 7c3ec9b7d21377ac3bc80de418615b00a23505b6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:36 +00:00
Richard Purdie
b85d0518af nasm: upgrade 2.13.01 -> 2.13.02
(From OE-Core rev: 27a1166e92eeac499732839de1026564357e5054)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-18 12:50:36 +00:00
Kristi Rifenbark
d7cf7d6d03 bitbake: bitbake-user-manual: Removed stray parenthesis
Fixes [YOCTO #12016]

(Bitbake rev: a783bd7e457f183a279dbe5a4ef3d4c17bb4c18c)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-16 20:38:58 +00:00
Kristi Rifenbark
7a2e6534b0 bitbake: bitbake-user-manual: Updated Hello World tutorial
Fixes [YOCTO #12016]

(Bitbake rev: bc5b2e7e7fab53ee9ee0db762de822bb88062419)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-16 20:38:58 +00:00
Kristi Rifenbark
1613e00f52 bitbake: bitbake-user-manual: Replaced bad link
Fixes [YOCTO #11675]

There was a "hambedded" link that was broken. The link was
intended to show the bitbake.conf file. I replaced it
with the link to show the actual bitbake.conf file.

(Bitbake rev: ec0331cc039ab514d719ed34cec7a0a351c8d52b)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-16 20:38:58 +00:00
Scott Rifenbark
3253f6d903 bitbake: bitbake-user-manual: Updated copyright year.
(Bitbake rev: da671cb4df0e1a00746c3e4ee94a4068fb5d9692)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-16 20:34:02 +00:00
Scott Rifenbark
7e51c4b299 bitbake: bitbake-user-manual: Updated 'bitbake -h' output example.
(Bitbake rev: 3e2a6f2a820482c360b66af777d9a38734b56c92)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-16 20:34:02 +00:00
Scott Rifenbark
ac6b9debad bitbake: bitbake-user-manual: Updated "Events" for BuildStarted event
BitBake now fires off one "BuildStarted" event per configuration when
it is configured for multiple configurations (multiconfig).  I updated
the bullet item for "bb.envent.BuildStarted()" to indicate that
behavior.

(Bitbake rev: 28720c85e64a56677b71d2170a0a07901d52b180)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-16 20:34:02 +00:00
Catalin Enache
b9dcab772f qemu: CVE-2017-17381
The Virtio Vring implementation in QEMU allows local OS guest users to
cause a denial of service (divide-by-zero error and QEMU process crash)
by unsetting vring alignment while updating Virtio rings.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2017-17381

Upstream patch:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=758ead31c7e17bf17a9ef2e0ca1c3e86ab296b43

(From OE-Core rev: 92a0513837182e2e9aa6c7d4958e495f4b5b4c47)

Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-14 09:11:58 +00:00
Dariusz Pelowski
ad51bba5a9 base.bbclass: add automatic dependency on xz-native for .deb SRC_URI
FetchMethod.unpack requires xz for unpacking of embedded
data.tar.xz

(From OE-Core rev: 57f0a4ee29b9fc15749a9d42fdf01718a7099c2d)

Signed-off-by: Dariusz Pelowski <dariusz.pelowski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-14 09:11:58 +00:00
Richard Purdie
3c14bb4de2 cross-canadian/gettext: Drop unneeded nativesdk-gettext dependency
In line with the other gettext cleanups, drop the nativesdk-gettext dependency
as it isn't needed (similarly to the previous target gettext dependencies).

This then means we can drop DEPENDS_GETTEXT as there are no other users.

(From OE-Core rev: c43c054cb778e0c5c082996cd6e6c45f5fc9e1bf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-14 09:11:58 +00:00
Richard Purdie
9a237153ec json-glib: Add dependency on gettext-native
Avoids:

Meson encountered an error in file po/meson.build, line 58, column 5:
Can not do gettext because xgettext is not installed.

(From OE-Core rev: 4505c3282fdedd469325e24bd71edb3d2532a1ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-14 09:11:58 +00:00
Liwei Song
4d490ad840 xf86-video-intel: enable graphic and audio support for CFL-S Sku
Add PCI IDs for Coffeelake S Skus to enalbe Graphic and audio
support.

(From OE-Core rev: 6ef8a2aa12bd301c02420de85a8af303492d0d3c)

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-14 09:11:58 +00:00
Chen Qi
43a2a59702 coreutils: upgrade to 8.29
* ls.c license checksum is changed, but the license remains the same.

* The backported patch 0001-doc-fix-Up-field-of-realpath-usage-examples.patch
  is dropped.

* The new version provides native manual page support, there's no
  need to download extra manual page from gentoo site.

* man-decouple-manpages-from-build.patch is removed, as new version
  has manual page support in environment lacking of perl.

* hostname is explicitly enabled to keep the same with previous recipe's
  behaviour.

* ALTERNATIVE_XXX settings for lbracket.1 are removed as there's no such
  file.

(From OE-Core rev: 77c6b5eb7b4b4254a3fc90337e93691baed7cc7e)

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>
2018-01-14 09:11:58 +00:00
Ross Burton
7984c17067 glib: remove gettext-native dependency for native builds
By removing gettext-native as a build dependency in glib-2.0-native we can delay
the build of gettext-native further.  The gettext class will add the dependency
for target builds.

Don't forcibly set USE_NLS=yes so that NLS support is supposedly disabled in
native builds.  GLib will then force it back on, but we shouldn't be using it in
any other native recipes so seed the autoconf cache so GLib will run /bin/false
instead of msgfmt.  Quite a kludge, but it works and should fail obviously if
the kludge stops being sufficient.

(From OE-Core rev: 1ef45d377519983df827650cd0913e0d2c8a785b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-14 09:11:58 +00:00
Ross Burton
26eecd3324 perf: conditionalise pythonnative and perlnative inherits
Only inherit these classes (and so, add perl-native and python-native to
DEPENDS) if the scripting PACKAGECONFIG is actually enabled.

(From OE-Core rev: 6d56f14a7276f076dfe625bc4d2c16a6a4635153)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-14 09:11:57 +00:00
Huang Qiyu
20ccd395fe bluez5: 5.47 -> 5.48
Upgrade bluez5 form 5.47 to 5.48

(From OE-Core rev: 61444fd318c266800ef8fb308a5c16f90d5e3a3f)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-14 09:11:57 +00:00
Huang Qiyu
64378f2cbd cairo: 1.14.10 -> 1.14.12
Upgrade cairo form 1.14.10 to 1.14.12

(From OE-Core rev: 4110ea2ca9f3155adc9526b63af74aac9ff94cc3)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-14 09:11:57 +00:00
Jackie Huang
fcd828a228 rpcbind: Stop freeing a static pointer
commit 7ea36ee introduced a svc_freeargs() call
that ended up freeing static pointer.

It turns out the allocations for the rmt_args
is not necessary . The xdr routines (xdr_bytes) will
handle the memory management and the largest
possible message size is UDPMSGSIZE (due to UDP only)
which is smaller than RPC_BUF_MAX

(From OE-Core rev: 1d78875de924d794130c86b27ed516a1df40a59d)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-14 09:11:57 +00:00
Jackie Huang
f015edf9fe rpcbind: fix assertion failure
Backport a patch to fix the assertion failure:
rpcbind: ../../libtirpc-1.0.2/src/pmap_prot.c:50: xdr_pmap: Assertion `regs != NULL' failed.

(From OE-Core rev: b09202848d713af4eef179a443745b413542eaf0)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-14 09:11:57 +00:00
Dogukan Ergun
bab3b2e939 wic: if we can't get from ioctl, try from os.stat()
Under some conditions, ioctl FIGETBSZ can't return real value.
We can try to use fallback via os.stat() to get block size.

Source of patch:
17365f4fe9

(From OE-Core rev: d8f7cf2d38934c248be91101236f7537d0d31ea7)

Signed-off-by: Dogukan Ergun <dogukan.ergun@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-14 09:11:57 +00:00
Ricardo Salveti
ef4caecccb kernel.bbclass: remove bashism in kernel_do_install
possible bashism in run.do_install line 163 (should be 'b = a'):
if [ "kernel" == "kernel" ]; then

Fixes "[: kernel: unexpected operator" when not using bash by default,
which causes the default kernel image link to not be created.

(From OE-Core rev: 9d82fffd24742a5eb40bcb9b9ecea01a42be0be6)

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>
2018-01-14 09:11:57 +00:00
Robert Yang
598a4e9e85 selftest/cases/devtool.py: fix workspace layer checking
Fixed:
$ oe-selftest -r devtool.DevtoolTests.test_create_workspace
[snip]
2017-12-20 18:28:59,404 - oe-selftest - INFO - Traceback (most recent call last):
  File "/workspace2/lyang1/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/workspace2/lyang1/poky/meta/lib/oeqa/selftest/cases/devtool.py", line 177, in test_create_workspace
    self.assertTrue('/workspace' not in result.output, 'This test cannot be run with a workspace layer in bblayers.conf')
AssertionError: False is not true : This test cannot be run with a workspace layer in bblayers.conf
[snip]

$ bitbake-layers show-layers
NOTE: Starting bitbake server...
layer                 path                                      priority
==========================================================================
meta                  /workspace2/lyang1/poky/meta              5
meta-poky             /workspace2/lyang1/poky/meta-poky         5
meta-yocto-bsp        /workspace2/lyang1/poky/meta-yocto-bsp    5
meta-selftest         /workspace2/lyang1/poky/meta-selftest     5

There is no workspace layer, but I'm in /workspace2, this patch can fix the problem.

[YOCTO #12442]

(From OE-Core rev: 695b234ea4f034d428f8cffacceabc2b8f00bc74)

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>
2018-01-14 09:11:57 +00:00
Ioan-Adrian Ratiu
fca4b2e136 site/*-linux: don't cache ac_cv_sizeof_bool
The value was hardcoded from the time it couldn't be computed, which
is no longer the case. After C99 'bool' is only defined if stdbool.h
is included, it's implementation defined and not required to be 1, so
caching it doesn't make sense and certain recipes whoose code test
ac_cv_sizeof_bool fail to build.

(From OE-Core rev: 15af2d527d582ef181d6b9c042844aa89f991f0b)

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>
2018-01-14 09:11:57 +00:00
Ross Burton
8418f5555d autotools: don't wipe gettext macros from gettext
We usually forcibly delete any gettext macros we come across to ensure that the
latest versions we ship are used, but if we're building gettext then it's a bad
idea to delete the gettext macros.

Historically this hasn't been a problem as the top-level gettext configure
doesn't use AM_GNU_GETTEXT so the deletion was never done, but this may change.

(From OE-Core rev: f16657df977e54210774812d4e616403c76eb060)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-14 09:11:57 +00:00
Juro Bystricky
eb9fd561c9 icu-dev: improve reproducibility
Remove all build host references from several distributed files:
Makefile.inc, icu-config, pkgdata.inc

(From OE-Core rev: 6fef31cdd6be537cfce3862d951762455f5cad2e)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-14 09:11:57 +00:00
Anuj Mittal
33b811b7a9 libxml2: fix makefile for ptests
Changes to Makefile in latest version mean when "make -k runtests" is executed,
it leads to errors like:

| make: *** No rule to make target 'runtest.c', needed by 'runtest.o'.
| make: *** No rule to make target 'SAX.c', needed by 'SAX.lo'.
| make: *** No rule to make target 'entities.c', needed by 'entities.lo'.
| make: *** No rule to make target 'encoding.c', needed by 'encoding.lo'.

Make sure that we don't try to check and compile the tests again on the target.

(From OE-Core rev: 5cf92ca436e1a1ba60fec8b30b6cb3cfd4842bc8)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-14 09:11:57 +00:00
Richard Purdie
2ab366f9dd m4: Add missing append whitespace
(From OE-Core rev: 33116dfc018fd387fa70131dcabc653745c32fde)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-13 14:53:06 +00:00
Juro Bystricky
bc112b8368 qemu-2.10.1.bb: support mingw build
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, otherwise we end up with a broken
mingw build.
While it is possible to simply remove the patch on a recipe level for
mingw platform, it makes more sense to modify the patch itself.

(From OE-Core rev: fd978a5ddf6938404f2043c9f9ede47dcdb47180)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-13 10:15:20 +00:00
Jackie Huang
979587c2bc glibc/nscd: do not cache for netgroup by default
We don't have /etc/netgroup by default, so do not
cache for netgroup by default to avoid:
nscd[529]: 529 disabled inotify-based monitoring for file `/etc/netgroup': No such file or directory
nscd[529]: 529 stat failed for file `/etc/netgroup'; will try again later: No such file or directory

(From OE-Core rev: 10007bcd30a96470059f9d5b19cf698243486f06)

(From OE-Core rev: 0adedfc2bf8981819fbbf8b1884da44c7082d1a6)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-13 10:15:20 +00:00
Christopher Larson
ac18f28e22 meson.bbclass: use HOST_CC_ARCH, not TARGET_CC_ARCH
Using TARGET_CC_ARCH is inconsistent with CC, which uses HOST_CC_ARCH, and the
rest of meson.bbclass, which uses HOST_PREFIX, HOST_OS, etc.

(From OE-Core rev: 8a61e0c0c53275ebc623296f46676d920b11eb3b)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-13 10:15:20 +00:00
Otavio Salvador
b775c95a8d mesa: Upgrade to 17.3.2 release
The 17.3.2 release, published in January 9th, 2018. It fixes a number
of issues since 17.3.1 release.

The release notes can be seen at:

 - 17.3.2: https://www.mesa3d.org/relnotes/17.3.2.html

(From OE-Core rev: aabb3bc2e150dccf01e283ed02a4701753b20362)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-13 10:15:20 +00:00
Denys Dmytriyenko
d54b9ea08f bash: ptest dependency on locale should honor virtual/libc-locale
meta/conf/distro/include/tclibc-glibc.inc weakly assigns PREFERRED_PROVIDER
for virtual/libc-locale to glibc-locale, but allows adjusting it if needed.
Hence, bash should not depend on glibc-locale directly, but instead use this
virtual/libc-locale variable.

(From OE-Core rev: 6454c610eb6565360d29334f5f19845758dbf2c6)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-13 10:15:20 +00:00
Andre McCurdy
746a534e1e base.bbclass: drop legacy armv7a-vfp-neon TUNE_PKGARCH renaming
ARM specific TUNE_PKGARCH renaming was adding in 2011 handle the
transition from armv7a -> armv7a-vfp-neon:

  http://git.openembedded.org/openembedded-core/commit/?id=08c0b7060009113e8dffdef51ff6b9b4b7f28894

Active package feeds should now have long since updated to the new
naming. For example, Angstrom stopped using on the legacy naming in
2012:

  2e33fb5bd0

(From OE-Core rev: 0341a3c44e511d3246096edd3009432805e57b89)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-13 10:15:20 +00:00
Chang Rebecca Swee Fun
52c25b03ec classes/populate_sdk_ext: support wic in eSDK
Make 'wic' image creation tool/command available in eSDK
environment. This would allow eSDK users to manipulate
images within eSDK environment.

[YOCTO #12177]

(From OE-Core rev: 90df6758a9f8753c646b129aa912e3849bf4c987)

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-13 10:15:20 +00:00
Chang Rebecca Swee Fun
422e16fae3 scripts/wic: explicitly set BUILDDIR within eSDK
When we run wic within eSDK:
$ wic create mkefidisk -e core-image-minimal

ERROR: BUILDDIR not found, exiting. (Did you forget to source oe-init-build-env?)

In order to figure out variable values, one must have sourced
the OE build environment setup script. However, when we are in
within the eSDK environment which isn't initialised like the
normal OE build environment, we can't use wic utility with eSDK.

Reference:
https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#wic-requirements

While wic ought to be fixed to be able to run without bitbake
& native tools [YOCTO #11281], but this is a workaround to set
BUILDDIR in the environment so that bitbake environment is setup
for wic to build its required native tools.

(From OE-Core rev: 03fa13a269d2887cc5d13fd474fb39a2be037f2c)

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-13 10:15:20 +00:00
Chang Rebecca Swee Fun
1d52d1a46a scripts/wic: fix error of import wic module in eSDK environment
wic modules in scripts/lib/ are needed for wic to work, but path to
the python module is not exported in eSDK environment and we were
using an absolutized path of wic script within the sysroots.

We now changed to use real script path instead, where the wic modules
are located. This will also resolved the tracebacks found when running
wic from within the eSDK environment.

Traceback (most recent call last):
  File "/tmp/deploy/sdk/poky_sdk/sysroots/x86_64-pokysdk-linux/usr/bin/wic", line 58, in <module>
    from wic import WicError
ImportError: No module named 'wic'

(From OE-Core rev: dcea30b885797ece3439cf1201795a975628d664)

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-13 10:15:20 +00:00
Chang Rebecca Swee Fun
7006ff99b0 scripts/wic: append bitbake executable file path in eSDK environment
wic needs a set of tools to be available from sysroots.
wic will find bitbake executable within the environment,
and wic was unable to locate bitbake executable within eSDK
because it wasn't setup with the OE build environment script.
Hence, we need to add bitbake file path into the environment
PATH for wic to be able to discover it and import bb modules.

(From OE-Core rev: 89df0d31c9dd22ceba4c95a2a56ca78e58d871a8)

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-13 10:15:20 +00:00
Chang Rebecca Swee Fun
be5616a27c scripts/wic: use scriptpath module to find bitbake path and oe lib path
Use the scriptpath module in order to standardize the adding of
bitbake and meta/lib path to sys.path.

(From OE-Core rev: 8aba1fd023ce3c6767bf42b9faf9ec14fd7c4d02)

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-13 10:15:20 +00:00
Alexander Kanavin
288728e030 webkitgtk: update to 2.18.5 (includes Spectre mitigations; see commit description)
This is the only available stable version with mitigation fixes for Spectre.
Webkit upstream developers do not port CVE fixes to earlier stable series,
no exception was made in this case.

More information:

https://webkit.org/blog/8048/what-spectre-and-meltdown-mean-for-webkit/
https://webkitgtk.org/security/WSA-2018-0001.html
https://webkitgtk.org/2018/01/10/webkitgtk2.18.5-released.html

(From OE-Core rev: 2134b350c1d5aca1ec0e6f83d90e8c79d9264832)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-13 10:15:20 +00:00
Ross Burton
813047a9a1 pax-utils: update SRC_URI
The gentoo.osuosl.org mirror doesn't store all versions of pax-utils, so use the
maintainers own mirror which stores them all.

This also means we can remove UPSTREAM_CHECK_URI as the defaults work now.

Thanks to Maxin John for the initial patch.

[ YOCTO #11559 ]

(From OE-Core rev: aa370eee85f25585e91a5fd0030a606142c07e72)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-13 10:15:20 +00:00
Denys Dmytriyenko
b8952b3ac1 at: explicitly depend on bison-native for deterministic builds
Usually bison-native gets into sysroot through indirect dependencies,
even with RSS. But when bison-native is not in sysroot, due to different
system config, it falls back to using "yacc" instead and fails like this:

| yacc -d parsetime.y
| make: yacc: Command not found
| Makefile:82: recipe for target 'y.tab.c' failed
| make: *** [y.tab.c] Error 127

(From OE-Core rev: e6b350c63720ef3ce8e53b73581a02416cb1f7fe)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-13 10:15:20 +00:00
Denys Dmytriyenko
9ab7895b03 perf: depend on native versions of bison and flex
Explicitly depend on bison-native and flex-native for deterministic builds,
as those are required for the build:

| Makefile.config:129: *** Error: flex is missing on this system, please install it.  Stop.
| Makefile.perf:205: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| Makefile:68: recipe for target 'all' failed
| make: *** [all] Error 2

| Makefile.config:133: *** Error: bison is missing on this system, please install it.  Stop.
| Makefile.perf:205: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| Makefile:68: recipe for target 'all' failed
| make: *** [all] Error 2

In most cases, those dependencies come indirectly via toolchain dependencies,
specifically binutils-cross, which pulls both bison-native and flex-native.
Different setups, such as with external toolchain, would expose this problem,
since correct dependency is not marked explicitly.

The change is build-tested on all qemu architectures.

(From OE-Core rev: 5f4b54a234ad7a859db8a1e23c6892a8b3bc1b52)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-13 10:15:20 +00:00
Richard Purdie
baac402fd2 grub-efi: Fix DEPENDS
We need to append to DEPENDS else the dependencies on bison/flex-native
are lost, potentially resulting in build failures.

(From OE-Core rev: bead76b50dc60e1b6b39fa5b659a7af44ff91adc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-13 10:15:19 +00:00
Richard Purdie
97b52bb597 gcc: Add missing flex-native dependency
This is needed for all stages of the cross/target/canadian compilers
and without it (and with indirect gcc dependencies disabled), the steps
fail. Add missing dependencies.

(From OE-Core rev: e7be4aedd4f1e23c596a8cae0437bc5c187787e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-13 10:15:19 +00:00
Otavio Salvador
364f8bcfcb linux-firmware: Bump revision to 65b1c68c
The bump includes following changes:

65b1c68 wl18xx: update firmware file 8.9.0.0.76
8650396 wl127x/wl128x: update firmwares
2eefafb rtlwifi: rtl8723de: Add firmware for new driver/device
4a77cab linux-firmware: DMC firmware for cannonlake v1.07
2567e09 nvidia: add GP108 signed firmware
2451bb2 linux-firmware: liquidio: add v1.7.0 vswitch firmware
7f93c9d brcm: add CYW4373 firmwares and Cypress license file
fdee922 linux-firmware: Update firmware patch for Intel Bluetooth 8260
9a843a1 linux-firmware: Update firmware file for Intel Bluetooth 8265
97339b3 linux-firmware: Add firmware file for Intel Bluetooth 9260
db9964e linux-firmware: Add firmware file for Intel Bluetooth 9560
e4252cf Revert commits a42f895, c113d33, 041aff8, 73d13b5
a42f895 linux-firmware: Update firmware patch for Intel Bluetooth 8260
c113d33 linux-firmware: Update firmware file for Intel Bluetooth 8265
041aff8 linux-firmware: Add firmware file for Intel Bluetooth 9260
73d13b5 linux-firmware: Add firmware file for Intel Bluetooth 9560
30946b9 amdgpu: add firmware for Raven
71a4800 amdgpu: update vega10 vce firmware
89c6211 linux-firmware: intel: Add Cannonlake audio firmware
b39260f nfp: add firmware for tc-flower
c752e24 nfp: change firmware directory layout
00a92a3 nfp: update firmware for Agilio CX SmartNICs
02d857e linux-firmware: DMC firmware for skylake v1.27
17e6288 brcm: update firmware for bcm4358
1841cec brcm: update firmware for bcm4356
b3f4e74 brcm: update firmware for bcm4354
cd86989 brcm: introduce firmware for bcm43430 revision 0
5ee46c2 brcm: update firmware for bcm4339
8e864c2 Mellanox: Add new mlxsw_spectrum firmware 13.1530.152
fd45000 WHENCE: Add missing entry for mlxsw_spectrum firmware
7f9bbc7 WHENCE: Fix typo in entry for iwlwifi-8265-34.ucode
284de20 s2255drv: f2255usb: firmware version 1.2.8
7c705a4 amdgpu: add new CP firmware for polaris chips
5582ca4 qed: Add firmware 8.33.1.0
e721933 qcom: add venus firmware files for v4.2
f36a8e2 qcom: add firmware files for Adreno a530
85313b4 iwlwifi: add firmware version 34 for new 9000 series
6c161c5 linux-firmware: liquidio: update firmware to v1.7.0
b964279 linux-firmware: intel: Update Geminilake audio firmware
c4276b6 iwlwifi: add firmware version 33 for new 9000 series
5a05332 iwlwifi: add new firmware version 34 for 8000C and 8265
1a5fd94 iwlwifi: update firmwares for 3160, 3168, 7260, 7265 and 7265D
796c912 iwlwifi: update firmwares for 3160, 3168, 7265D, 8000C and 8265
1156e62 linux-firmware: DMC firmware for kabylake v1.04
db3e185 linux-firmware: update Marvell PCIe-USB8997 firmware image
de81715 linux-firmware: GuC firmware for kabylake v9.39
434e712 linux-firmware: GuC firmware for Broxton v9.29
0aebd9f linux-firmware: GuC firmware for Skylake v9.33
de5b4c2 linux-firmware/i915: Add Cannonlake DMC version 1.06
8e7c787 linux-firmware/i915: Add Geminilake DMC version 1.04
e0494e9 linux-firmware: update Marvell PCIe-USB8997 firmware image
11db131 linux-firmware: update Marvell PCIe-USB8897-A2 firmware image

Included in those changes, two license checksums has been changed:

 - LICENCE.Netronome: minimal change dropping a word in license name;
 - WHENCE: adjustments due the new firmware versions;

(From OE-Core rev: 4facc572380daf5b7e6294b388a657fa0a44a6f2)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:07 +00:00
Ross Burton
860705cebf gettext: rationalise optional dependencies
gettext has optional dependencies on libxml2, glib, libcroco and libunistring.
If they're not available then gettext will use internal copies, but it can also
use system libraries.

For gettext-native and nativesdk-gettext continue to use the internal copies to
reduce the dependencies, but for target use the system shared libraries.

Also gettext 0.19.7 onwards swapped expat for libxm2, so remove the build
dependency on expat.

(From OE-Core rev: a82aa376a9229428ec25629e97a1efa56f0afae7)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:07 +00:00
Ross Burton
7ba16edc3c glib-2.0: rationalise build dependencies
nativesdk-glib-2.0 doesn't build-depend on nativesdk-gettext, but all variations
need to depend on gettext-native as they need msgfmt (so gettext-minimal-native
isn't an option).

Also add virtual/libintl as glib explicitly needs this. Generally this is
provided by glibc but some platforms (such as MinGW) don't.

(From OE-Core rev: 8b0ca0cb54c91611213556bdb99316d5e7ac5b3b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:07 +00:00
Alexander Kanavin
0f49d9182f gnupg: use native version for signing, rather than one provided by host
Using host gpg has been problematic, and particularly this removes
the need to serialize package creation, as long as --auto-expand-secmem
is passed to gpg-agent, and gnupg >= 2.2.4 is in use
(https://dev.gnupg.org/T3530).

Sadly, gpg-agent itself is single-threaded, so in the longer run
we might want to seek alternatives:
https://lwn.net/Articles/742542/

(a smaller issue is that rpm itself runs the gpg fronted in a serial
fashion, which slows down the build in cases of recipes with very
large amount of packages, e.g. glibc-locale)

Note that sstate signing and verification continues to use host
gpg, as depending on native gpg would create circular dependencies.

[YOCTO #12022]

(From OE-Core rev: 08fef6198122fe79d4c1213f9a64b862162ed6cd)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:07 +00:00
Alexander Kanavin
0a732a9c66 gnupg: enable native version
(From OE-Core rev: 3945ddd6eea9d84f7b0f82c66e6d4512bc239bb2)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:07 +00:00
Alexander Kanavin
c5de37687d gnupg: upgrade to 2.2.4
(From OE-Core rev: 745da1074a134f7d6a2110af100bdc65f031720b)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:07 +00:00
Alexander Kanavin
b9033b3201 libgcrypt: upgrade to 1.8.2
(From OE-Core rev: e84d96a1cd82333b290942b095b4a9a4457b444e)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:07 +00:00
Richard Purdie
9e18114927 image: Expand PV to avoid AUTOREV parsing failures
Currently, setting PV to include SRCPV for build-appliance results in:

bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was
${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher
failure: Fetch command export ftp_proxy="http://proxy.yocto.io:5187/"; export
FTP_PROXY="http://proxy.yocto.io:5187/"; export PATH="${TMPDIR}/work/
qemux86_64-poky-linux/build-appliance-image/fetcheravoidrecurse-r0/
recipe-sysroot-native/usr/bin/python3-native:${TMPDIR}/work/
qemux86_64-poky-linux/build-appliance-image/fetcheravoidrecurse-r0/
recipe-sysroot-native/usr/bin/python3-native:${TMPDIR}/work/
qemux86_64-poky-linux/build-appliance-image/fetcheravoidrecurse-r0/
recipe-sysroot-native/usr/bin/python3-native:/home/pokybuild/
yocto-autobuilder/yocto-worker/buildtools/build/scripts:${TMPDIR}/
work/qemux86_64-poky-linux/build-appliance-image/fetcheravoidrecurse-r0/
recipe-sysroot-native/usr/bin/x86_64-poky-linux:${TMPDIR}/work/
qemux86_64-poky-linux/build-appliance-image/fetcheravoidrecurse-r0/
recipe-sysroot/usr/bin/crossscripts:${TMPDIR}/work/qemux86_64-poky-linux/
build-appliance-image/fetcheravoidrecurse-r0/recipe-sysroot-native/usr/sbin:
${TMPDIR}/work/qemux86_64-poky-linux/build-appliance-image/
fetcheravoidrecurse-r0/recipe-sysroot-native/usr/bin:${TMPDIR}/work/
qemux86_64-poky-linux/build-appliance-image/fetcheravoidrecurse-r0/
recipe-sysroot-native/sbin:${TMPDIR}/work/qemux86_64-poky-linux/
build-appliance-image/fetcheravoidrecurse-r0/recipe-sysroot-native/bin:/home/
pokybuild/yocto-autobuilder/yocto-worker/buildtools/build/bitbake/bin:${TMPDIR}
/hosttools"; export HOME="/home/pokybuild"; git -c core.fsyncobjectfiles=0
ls-remote git://git.yoctoproject.org/poky  failed with exit code 127, output:
/bin/sh: 1: git: not found

This is because PV is being expanded when TMPDIR is unset.

Expand PV in advance to avoid this problem.

(From OE-Core rev: 9ca2fad2e569597f460e6bcbbd96077c8b8cfce9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:07 +00:00
Michael Blättler
d7d59e75cf manifest.py: sort package list
The entries of the created manifest file are always in a
different order. To ensure a deterministic build output
the entries are ordered alphabetically.

(From OE-Core rev: f3b753943d0c886a2a158247d2ea02867f3c0dae)

Signed-off-by: Michael Blättler <michael.blaettler@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:07 +00:00
Robert Yang
e80d3b6b47 multilib.bbclass: remove invalid PACKAGE_INSTALL
The PACKAGE_INSTALL is only used by image recipe, the previous code had
handled it in "if bb.data.inherits_class('image', d)", handle it again
doesn't make any sense (there is no PACKAGE_INSTALL for non-image
recipe), so remove it.

(From OE-Core rev: 6b25c76da51180da7c97308d5f8f5558c68cdca3)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:07 +00:00
Robert Yang
0ad91af406 sstate.bbclass: sstate_hardcode_path(): fix for multilib
It only substituted staging_target for target recipe which didn't work
for multilib, for example, postinst-useradd-lib32-polkit:

* No multilib:
  PATH=/path/to/tmp-glibc/work/core2-64-wrs-linux/polkit/0.113-r0/recipe-sysroot-native/bin
  staging_target=/path/to/tmp-glibc/work/core2-64-wrs-linux/polkit/0.113-r0/recipe-sysroot
  The PATH would be substituted to:
  FIXMESTAGINGDIRTARGET-native/bin
  Not the funny "-native/bin", this works well.

* When multilib:
  PATH=/path/to/tmp-glibc/work/core2-32-wrsmllib32-linux/lib32-polkit/0.113-r0/recipe-sysroot-native/bin
  staging_target=/path/to/tmp-glibc/work/core2-32-wrsmllib32-linux/lib32-polkit/0.113-r0/lib32-recipe-sysroot
  Now staging_target endswith "/lib32-recipe-sysroot", so it can't
  replace '/recipe-sysroot-native' in PATH , so PATH can't be fixed, and
  there would be build errors when building multilib + rm_work, for
  example:
  chown: invalid user: ‘polkitd:root’

Substitute staging_host for target recipe can fix the problem, now all
of native, cross and target need substitute staging_host, so we can
simply the code a little.

(From OE-Core rev: 087510795331fa21ff52f103269087c06b1660fa)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:06 +00:00
Richard Purdie
0d0984e1e6 nativesdk/sdk: Update sdk dummy providers
When we migrated rpm v5 -> v4, we lost the ability to drop "per file"
dependencies from the rpm backend for things like "/bin/bash" and
"/usr/bin/env" which meant the sdks were becomming 'bloated'.

This restores the functionality using a dummy package, similarly to
the way the buildtools perl issue was addressed. It also removes
the non-functional old code so as not to confuse people in future.

I ran into this problem trying to filter dependencies to only rpms
a build directly depends upon and it turns out we have some determinism issues
in this area so this is something key to fix.

(From OE-Core rev: 9d490dc01dcedb216129b22cbe17a6c99efc4f5c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:06 +00:00
Richard Purdie
1117f74385 package_deb: Handle / in dependency name
We can end up with / in dependency names from file dependencies but the
deb format doesn't allow this. Filter the names to allow such dependencies
to work. Names have to start with an alphanumeric digit so also handle this.

This allows for future handling of "per file" dependencies similarly to
the rpm backend, bring parity to the functionality of the backends.

(From OE-Core rev: fc08972688d784f561c8be88d3100d6baaf22070)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:06 +00:00
Ross Burton
3da70202cc libcroco: enable nativesdk builds
(From OE-Core rev: cc1d2b00403be93bbf1f7c5e55f9b8afdd2a73ce)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:06 +00:00
Ross Burton
8d2b4c5082 avahi: remove explicit avahi-dev RDEPENDS
These were added to the avahi-dev package back in 2011 before avahi-ui existed
at all.  The problem of GTK+ being pulled in via avahi-dev was finally solved
with the avahi-ui split, so these explicit (and by being manually maintained,
incomplete) dependencies can be removed.

This also results in gettext-dev being removed from the dependency tree (the
gettext library API is provided by glibc/musl), which means that for a standard
image we don't need to build target gettext at all anymore.

(From OE-Core rev: 00ae3e03185f1044f3610dc7ba7da7bd3beb868a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:06 +00:00
Ross Burton
03d6846edd m4: merge two .inc files
Now that oe-core only has one copy of m4, there's no need to maintain two inc
files.

(From OE-Core rev: a67391afd7fe8b7dc40e49c66cfd6250a077361c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:06 +00:00
Ross Burton
b0df543737 native/cross: remove redundant DEPENDS_GETTEXT assignment
DEPENDS_GETTEXT defaults to gettext-native, so there's no need to set it again
in these classes.

(From OE-Core rev: 5e4b1915e7a5a94d410c5292b5ed2f447c82b18a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:06 +00:00
Ross Burton
4aa05fbb05 pango: don't wipe EXTRA_AUTORECONF
This was added in 2007 to solve unspecified build errors, but the autotools
support has improved a lot since then and nothing breaks with it removed.

(From OE-Core rev: 8b5243a7771f728fd34a7466ab24e9ff98d20d84)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:06 +00:00
Ross Burton
422115416b bison: remove pointless gettext-minimal-native DEPENDS
In native builds USE_NLS is set to 'no' so the gettext class will handle adding
gettext-minimal-native to DEPENDS.

(From OE-Core rev: ab49d1c03ba3e473a0da6a800d00b2ceba8e855a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:06 +00:00
Ross Burton
4dd6f5f5bf bison: remove obsolete patch
m4.patch was added before 2005 (history isn't in git, only BitKeeper) and
doesn't appear to be needed anymore.

Also add a comment to clarify why acpaths is required.

(From OE-Core rev: 1ef90df9c5cc628c885897027d8c5ec6f318d68e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:06 +00:00
Ross Burton
47022546cf psmisc: improve autopoint-enabling
Instead of globally clearing EXTRA_AUTORECONF (which by default currently
contains --exclude=autopoint) use _remove to selectively remove the piece we
care about.

(From OE-Core rev: 93fe0f5044d30407c9afc69cbb570a82b6c82e5d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11 10:26:06 +00:00
Peter Kjellerstedt
205cfd7021 bitbake: fetch2/__init__: Disable pseudo in runfetchcmd()
If a fetcher, e.g., git, is run when pseudo is active it will think it
is running as root. If it in turn uses ssh (as git does), ssh too will
think it is running as root. This will cause it to try to read root's
ssh configuration from /root/.ssh which will fail. If ssh then needs to
ask for credentials it will hang indefinitely as there is nowhere for it
to ask the user for them (and even if there was it would not access the
correct private keys).

The solution to the above is to temporarily disable pseudo while
executing any fetcher commands. There should be no reason for them to be
executed under pseudo anyway so this should not be a problem.

RP Ammendum:

We finally did get more information about how to reproduce this problem,
something needs to trigger bb.fetch2.get_srcrev() in a pseudo context,
for example when AUTOREV is in use or the recipe doesn't have a defined
SRCREV. That SRC_URI needs to be using protocol=ssh. This would trigger
an ls-remote of the remote repo and if that happens under pseudo, the
wrong ssh credentials may be attempted which can hang.

[YOCTO #12464]

(Bitbake rev: ceaca281cafa662aa2385b95641bce309dce843d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-08 08:48:54 +00:00
Richard Purdie
869ae2ce2a bitbake: events: Drop unused cfg property
The cfg property on events doesn't add much, all code appears to access
"data" at this point. Remove it to clean up the interface.

(Bitbake rev: bd4b9e4460b60f142c3bf346fb04e360e512eaee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-08 08:48:54 +00:00
Juro Bystricky
89c323417b icu-dbg: improve reproducibility
Make sure build host references do not end up being compiled in the image.
This only affects libicutu and icu-dbg.

(From OE-Core rev: e9dfe7eb7f61b909ae7d034e80cfbebc1fad018b)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-08 08:48:25 +00:00
Juro Bystricky
9a0790120d perl-ptest: various fixes
Improve reproducibility: Remove all build host references from
distributed files.

Do not package non-linux OS related files.
Also remove some additional files not needed by run-ptest. (There are
probably still more files that can be removed, but as long as they
don't leak build host references they are harmless).

Fix the expected checksum of MakeMaker/lib/ExtUtils/Liblist/Kid.pm
to match the one expected: We modified the file, but did not
recalculate/update the file checksum accordingly.
(This fixes the only failing test.)

(From OE-Core rev: 497b28d9ff0c094768462991709bfb19efa0fa56)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-08 08:48:25 +00:00
Juro Bystricky
d1018f90b5 perl-dbg: improve reproducibility
Remove various build host references scattered within
comments in numerous files that are distributed in the package.

(From OE-Core rev: a924ea675de846f9582a9a6a9b334be1f74f826d)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-08 08:48:25 +00:00
Richard Purdie
2ff8e29c15 libunwind: Disable documentation explicitly
We don't have latex2man in HOSTTOOLs so documentaion is never built but this
dependency does cause problems on older releases like morty, pre-HOSTTOOLS.
Document the configuration explicitly in master.

(From OE-Core rev: 95a5ab819df324e7ec8068bb3575e55cad022e3a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-08 08:48:25 +00:00
Anuj Mittal
86ae2327ce linux-yocto: update genericx86* SRCREVs for v4.12
Bump to stable kernel release v4.12.18.

(From meta-yocto rev: 11245b435230808e899e475e620b25b44599cd06)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-07 14:06:26 +00:00
Anuj Mittal
eadf5fdcd8 linux-yocto: update genericx86* SRCREVs for v4.9
Bump to stable kernel release v4.9.65.

(From meta-yocto rev: 074666026257a11dc5c24b16fbd3cb732fdc32d6)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-07 14:06:26 +00:00
Anuj Mittal
e9a74f555c linux-yocto: update genericx86* SRCREVs for v4.4
Bump to stable kernel release v4.4.93.

(From meta-yocto rev: d34f1b28d08c3943b1b30944b4e79e193d0a8237)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-07 14:06:26 +00:00
Kevin Hao
0404add14c meta-yocto-bsp: bump to the latest linux stable kernel for the non-x86 BSPs
Bump to the latest stable kernel for 4.4, 4.9 and 4.12.

(From meta-yocto rev: f77e7b8c816742fbf5790f11997746958c593f1e)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-07 14:06:26 +00:00
Ross Burton
b7376a36a3 gstreamer: use a patch instead of sed to fix gtk-doc makefiles
seds can get stale without warning and repeated application can cause problems,
so move the gtk-doc seds into a patch.

(From OE-Core rev: a704411ab0f1e5f8cbf57ff54b36d60ccaf0d223)

(From OE-Core rev: e0a4e78b879eeacff8ef6803c1345056abf018e7)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-07 14:05:39 +00:00
Mike Crowe
492f842360 libproxy: Rely on cmake.bbclass to put cmake package files in dev package
cmake.bbclass now ensures that ${datadir}/cmake ends up in the dev package,
so this recipe doesn't need to do so itself.

(From OE-Core rev: bb70e05e709d1e1bb1e2a490d1de244fba703f54)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-07 14:05:39 +00:00
Mike Crowe
cc239623b9 libical: Rely on cmake.bbclass to put cmake package files in dev package
cmake.bbclass now ensures that ${libdir}/cmake ends up in the dev package,
so this recipe doesn't need to do so itself.

(From OE-Core rev: 24ff3202f9177bc9f2186404ca7abda01d09580f)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-07 14:05:39 +00:00
Mike Crowe
29fde69fd9 waffle: Rely on cmake.bbclass to put cmake package files in dev package
cmake.bbclass now ensures that ${libdir}/cmake and ${datadir}/cmake end up
in the dev package, so this recipe doesn't need to do so itself.

(From OE-Core rev: f6b4f06c5b11860f02b896286471b5cbb57b66ae)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-07 14:05:39 +00:00
Mike Crowe
4192c657fe vulkan: Rely on cmake.bbclass to put cmake package files in dev package
cmake.bbclass now ensures that ${libdir}/cmake ends up in the dev package,
so this recipe doesn't need to do so itself.

(From OE-Core rev: d860e2f36f3561532972edd04062392a40a0c8d6)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-07 14:05:39 +00:00
Mike Crowe
783005fb8b libsolv: Rely on cmake.bbclass to put cmake package files in dev package
cmake.bbclass now ensures that ${datadir}/cmake ends up in the dev package,
so this recipe doesn't need to do so itself.

(From OE-Core rev: f8f260aae265c682e404b0e89615fb6ef5b76601)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-07 14:05:38 +00:00
Mike Crowe
7389cb451c cmake: Always put cmake package files in -dev packages
Various recipes that inherit cmake contain FILES_${PN}-dev magic to add the
generated package files to their -dev packages. Since this is a standard
feature of cmake, we might as well teach cmake.bbclass to do this itself so
those recipes can be simpler.

(From OE-Core rev: d91dc4666683a96e9d03cbbd21b8a546f9069c93)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-07 14:05:38 +00:00
Richard Purdie
1103a03742 bitbake: tests/fetch: Allow bit/bitbake-selftest to function correctly
Without this the paths to git-make-shallow are incorrect and cause test
failures if bitbake isn't executed from cwd or PATH.

(Bitbake rev: 643eacb162b8710330ef292bfda21cfeab97f95c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-07 12:14:34 +00:00
Jair Gonzalez
e95ce3fe3b bitbake: tests/event: tests: Add event classes test class
This change adds EventClassesTest class to bb/tests/event.py,
including 47 new test cases for the public interfaces of the
bitbake event and related helper classes.

[YOCTO #10773]

(Bitbake rev: ee5fe4431713b8a29bdb424a29460965374b3234)

Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-07 12:14:34 +00:00
Jair Gonzalez
35226b3307 bitbake: tests/event: Remove empty assignments from event tests
Remove assignments from non-returning calls.

(Bitbake rev: a8cac827dd15227a3940ea25c673d91b5e2c2a75)

Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-07 12:14:34 +00:00
Jair Gonzalez
fda60b31ec bitbake: tests/event: Add test for bb.event.worker_fire
Test the triggering of bb.event.worker_fire callback.

(Bitbake rev: daa59a2057c811b20d75235526ac6c2079ac6e10)

Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-07 12:14:34 +00:00
Jair Gonzalez
61f409baff bitbake: tests/event: Include tests for event filtering features
This change includes unit tests for the following functions,
helper class and methods in bitbake.event:

- set_eventfilter(func)
- set_UIHmask(handlerNum, level, debug_domains, mask)
- getName(e)
- class UIEventFilter(object)
    def __init__(self, level, debug_domains)
    def update(self, eventmask, level, debug_domains)
    def filter(self, event)

[YOCTO #10773]

(Bitbake rev: 4a19dde704fd0bf262ea991ef530f991a4897d31)

Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-07 12:14:34 +00:00
Sascha Silbe
f594e8ced4 gitignore: ignore documentation build products
There are several different manuals by now, all of which produce
output. The "eclipse" directory might even have been present the last
time .gitignore was updated.

Ignore the files and directories that can be generated during "make
DOC=<directory>" as well as "make DOC=<directory> pdf". While at it,
make sure the patterns only match for the top-level documentation
directory.

Signed-off-by: Sascha Silbe <x-yo17@se-silbe.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 22:40:03 +00:00
Robert Yang
c60a2c3ffe package_manager.py: remove obsolete MULTILIB_ARCHS
It had been removed since 2011:

commit b774bf44ef004276da12a83ebd69715c00b596ac
Author: Lianhao Lu <lianhao.lu@intel.com>
Date:   Tue Aug 16 16:26:49 2011 +0800

    package(_ipk).bbclass: opkg using ALL_MULTILIB_PACKAGE_ARCHS

(From OE-Core rev: e03cfb5a04e359c0bacb002dc80f3348301445d3)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 22:32:22 +00:00
Robert Yang
70c122402f package_manager.py: print running dnf command
This can make debug easier, for example, makes it easy to run the
command mannually.

(From OE-Core rev: 220b912237da78d257c5310bd07db89489afede1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 22:32:22 +00:00
Robert Yang
fe32db3ae0 multilib.bbclass: remove unneeded bb.data.inherits_class()
It is duplicated to previous.

(From OE-Core rev: 1309b800fbc48bc6a3b7864eb7827b24f855ddac)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 22:32:22 +00:00
Robert Yang
4bcfd80383 multilib.bbclass: remove obsolete DEFAULTTUNE_ML_
It had been dropped by:
commit 65581c68d130fa74d703f6c3c92560e053857ac7
Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Date:   Mon Feb 13 16:44:48 2017 +0200

    rootfs_rpm.bbclass: migrate image creation to dnf

(From OE-Core rev: 38df1653da65a8a4e5f84b369b699307d5b4fc4f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 22:32:22 +00:00
Robert Yang
78886824d1 volatile-binds: use PN to replace hardcode name
Otherwise it doesn't work since SYSTEMD_SERVICE_volatile-binds is not defined
when multilib.

(From OE-Core rev: ccdc709655470af942afccda879e6f8484bebc5e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 22:32:22 +00:00
Robert Yang
f0b518784d multilib_global.bbclass: fix indent
(From OE-Core rev: 52f121a726da573c90e5857caff95e50b01ea02a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 22:32:22 +00:00
Robert Yang
4885cdc000 oe/copy_buildsystem.py: make sure layer exists
It had a problem when nested layer before, e.g.:
layer_a/layer_b/

And when layer_b is handled before layer_a, then layer_a dir existed, so
it would be treated as already handled, which was wrong, check
conf/layer.conf can fix the problem.

(From OE-Core rev: 2eaefa0c3ae589111266c7d6822428ad910415f4)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 22:32:22 +00:00
Robert Yang
eaad759ac8 populate_sdk_ext.bbclass: don't rename layers when failed
The previous code:
os.rename(sdkbasepath, temp_sdkbasepath)
try:
    foo
finally:
    os.rename(temp_sdkbasepath, sdkbasepath)

always renamed the path, it made the debug harder when error happened.
drop the "try: finally" makes the debug easier.

(From OE-Core rev: 32126512349d65f0dbc31196c4ec6e1a1147cf5e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 22:32:22 +00:00
Robert Yang
b27342d233 testsdk.bbclass: add a newline after own-mirrors
Otherwise it would generate lines like the following when multilib:
INHERIT += "own-mirrors"SSTATE_MIRRORS += " \n file://.* file:///path/to/../share/sstate-cache/PATH"

(From OE-Core rev: 65b2a0e1ba7e176f3e405ed8968665660fc414d3)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 22:32:22 +00:00
Robert Yang
d0bed31189 staging.bbclass: make subprocess.check_output() capture stderr
This is very useful for debugging. The similar to testsdk.bbclass.

(From OE-Core rev: de30b61b87047f61de4629f8e5bd87598de7fd0c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 22:32:22 +00:00
Jackie Huang
ac37bca5ca pulseaudio: change pulse to be a system group
pulse is added as a system user, so the group 'pulse' is
meant to be a system group as well, which is the same with
other distros like ubuntu/centos.

(From OE-Core rev: 1bd599eae46127115ecf5c45c70d7f60d1209c94)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 22:32:22 +00:00
Alexander Kanavin
6985a65b07 maintainers.inc: add missing entries for gst-validate, gst-examples and meson
(From OE-Core rev: ad9a2ed069d6521710a73f942ea59ef91846f681)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 22:32:22 +00:00
Stefan Müller-Klieser
0204af2467 libpcre2: add packages for 16-bit and 32-bit code unit support
The packages loosely follow the debian package names. In that way more
projects, e.g. Qt5 for 16-bit, are able use system libraries. This does
not change the existing default package.

(From OE-Core rev: 5ce6409fd588605648a51bd2f5825fd9ae147f79)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 22:32:22 +00:00
Richard Purdie
3ab6e17ffe bitbake.conf: Set AUTOREV to have a vardepvalue
If you have a recipe which does not include SRCPV in PV but does set
SRCREV = "${AUTOREV}" and you run do_fetch, then change the repo to a
new commit then run do_unpack, do_unpack will fail since the new commit
doesn't exist in the repo that was fetched.

The problem is the revision chosen is not represented in the do_fetch
task hash. It if were, the fetch would rerun first and the commit would be
present. It works when PV includes SRCPV since that does contain the chosen
commit from the AUTOREV.

The solution is to include the SRCPV value into the representation of AUTOREV
used for checksum calculation purposes.

Add a selftest for this issue.

(From OE-Core rev: 7b8ee9285a197784d51e339f1603240f49435846)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 22:32:22 +00:00
Ross Burton
ccdc770fcb debian.bbclass: add a note when a package is renamed
To make it easier to debug problems with renaming caused by debian.bbclass,
explicitly log when packages are renamed.

(From OE-Core rev: 2c27df943035b4df7c5d0be1ab8d0f4f3a31f4d2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 22:32:22 +00:00
Ross Burton
953f6d9a71 lz4: remove ptest changes
This recipe installs the test suite by copying the entire build tree into
/usr/share/ptest, which is both wasteful and breaks packaging as lz4-ptest then
gets renamed by debian.bbclass to liblz4.

(From OE-Core rev: b1ef094bc0bba54bd54b03c0a3c082d9b6025895)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 22:32:22 +00:00
Ross Burton
83ea4825eb gst-validate: disable gtk-doc API documentation
When the gtk-doc API documentation is enabled (via the api-documentation DISTRO_FEATURE, typically) this recipe fails to build:

  WORKDIR/build/docs/validate/gst-validate-scan: line 117:
  WORKDIR/build/docs/validate/.libs/lt-gst-validate-scan:
  No such file or directory

Forcibly disable the gtk-doc for now.

(From OE-Core rev: 5d221ff20dffb2e119047f931e270b5a0ebf2ae1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 22:32:21 +00:00
Richard Purdie
3b0245936e oeqa/runtime/buildcpio: Use our own mirror for source
We see occasional network glitches which break this test. Use our own
mirror (which has a .gz instead of .bz2) to avoid the errors, we're not
trying to test network connectivity.

(From OE-Core rev: 038d7270aef0cccf87d50a117160c58261beb9b9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 10:13:37 +00:00
Richard Purdie
65f74267a0 local.conf.sample: Weakly set BB_DISKMON_DIRS
For various reasons we need to be able to set and override this from
auto.conf on our test infrastructure. We have tried forcing the variable
but this then breaks other selftests. In the interests of not complicating
things further and needing to modify the tests across releases, weaken
the default assignment.

(From meta-yocto rev: be0a707eea3f0015eb7e2df2d1fd07164c2a627d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 10:07:27 +00:00
Jussi Kukkonen
6bcad14989 gst-player: Upgrade, rename to gst-examples
Switch to using current repository, switch to meson (following
upstream), rename the recipe like upstream.

Add a patch to install the player binaries.

(From OE-Core rev: ac695195077dd12e41f6104e5cc77ec2cf03af11)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 12:02:37 +00:00
Alexander Kanavin
651a82f26b sysprof: convert to meson build
Drop autotools-specific patches.

Rename polkit packageconfig option to sysprofd as 'polkit' does not
at all match what is happening.

Remove --enable-compiler-warnings, as the equivalent in meson
could not be found.

(From OE-Core rev: 2c2684c8338bf4bb9f08951a3fdd0ee194a88db4)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 12:02:37 +00:00
Alexander Kanavin
b040f4fbc2 libinput: convert to meson build
Drop libunwind option, as it is only used if tests are enabled
(and they're unconditionally not enabled).

(From OE-Core rev: 77119831bebfcb6fbb77f5f71351666dd99483e9)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 12:02:37 +00:00
Alexander Kanavin
043f021849 libepoxy: convert to meson build
Add a patch to work around absence of dlvsym() on musl
(wasn't previously a problem as autotools weren't building tests by default)

(From OE-Core rev: aaa523e87c73abc2cf8cf3ea55d9e2c6789d3b9a)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 12:02:37 +00:00
Alexander Kanavin
7e1df9f68a json-glib: convert to meson build
Note that meson flags for gobject introspection and gtk-doc
appear to be non-standardized; going forward we should devise
a common way to deal with it.

gettext inherit is removed, as there is no equivalent functionality
in meson; NLS bits are always built and installed.

(From OE-Core rev: 3d63c2cd2e8da0206297c69cdbdbf2688c13a9be)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 12:02:37 +00:00
Ricardo Ribalda Delgado
0dab296d48 meson: Port pkgconfig-native patch to 0.44.0
The update to 0.44.0 did not add this patch required for qt builds.

(From OE-Core rev: 2aa0400c629e5d63ab6e70be32efa23b77a92eae)

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 12:02:37 +00:00
Martin Kelly
f437138784 meson: export native env only for native build
Although the meson crossfile should take care of setting the right cross
environment for a target build, meson slurps any set CFLAGS, CXXFLAGS,
LDFLAGS, and CPPFLAGS from the environment and injects them into the
build (see mesonbuild/environment.py:get_args_from_envvars for details).

This means that we are seeing native CFLAGS, CXXFLAGS, LDFLAGS, and
CPPFLAGS in the target build, which is wrong and causes build failures
when target and native have libraries in common (the linker gets
confused and bails).

That said, we *do* need to set certain vars for all builds so that meson
can find the right build tools. Without this, meson will fail during its
sanity checking step because it will determine the build tools to be
unrunnable since they output target instead of native artifacts.

The solution to all of this is to set CC, CXX, LD, and AR globally to
the native tools while setting the other native vars *only* for the
native build. For target builds, these vars will get overridden by the
cross file as we expect.

(From OE-Core rev: de7ae028c65a978969b2e06fdc1a2d08bc141a5b)

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 12:02:37 +00:00
Alexander Kanavin
0131136504 gnomebase.bbclass: allow a meson-specific version
gnomebase.bbclass hardcodes the autotools inherit, so make it
configurable and allow meson to be specified instead.

(From OE-Core rev: 32c2faf394ba7bf75a7273fb9f5e58cc4ee3f3ad)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
[RP: patches tweaked to only need the one class]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 12:02:36 +00:00
Juro Bystricky
981cf2d664 gcc-runtime: improve reproducibility
Remove various build host references from packages:

libstdc++
libstdc++-staticdev
gcc-runtime-dbg

The references are removoved by correctly setting various compiler
-fdebug-prefix-map settings. There are two main issues:
The default DEBUG_PREFIX_MAP variable references WORKDIR, however,
gcc sources are in a shared folder (work-shared)/
Additionally, DWARF info seems to store symlink names but gcc
seems to resolve symlink names referenced in -fdebug-prefix-map.

(From OE-Core rev: 04748af752b7f9d79ee4add67141d6c891f3bdbe)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 11:55:35 +00:00
Juro Bystricky
100cf0849e python3-dev: improve reproducibility
Remove remaining build host references from packaged files.

[#YOCTO 11472]

(From OE-Core rev: e21723bb9b6035714268eeab5f43e2d1cb798a0d)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 11:55:35 +00:00
Juro Bystricky
2ab78cda69 attr-doc: improve reproducibility
Use gzip compression without timestamps in the metadata.
(Use gzip -n).

(From OE-Core rev: d322f3300e029addaca54755abf0728ac079569d)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 11:55:35 +00:00
Juro Bystricky
ac6ae1467d openssl-ptest: improve reproducibility
Remove buildhost references from Makefile and Configure.

(From OE-Core rev: 891e33f4ad0919f5b3be77cd63260121d62b6ee7)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 11:55:35 +00:00
Juro Bystricky
8668495611 sed-ptest: improve reproducibility
Remove build host references

(From OE-Core rev: bff3f0e7d96a95e6e6be1ea9b8ddebff53778c2f)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 11:55:35 +00:00
Juro Bystricky
528ea78fb2 package_rpm.bbclass: clamp timestamps
Improve binary reproducibility of RPM packages.
Ensure timestamps in RPM packages are not later than the value
of SOURCE_DATE_EPOCH. If SOURCE_DATE_EPOCH is not set,
timestamps are not clamped.

(From OE-Core rev: 225a7156d1fb2fbffadf38e4f4e491f053358082)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 11:55:35 +00:00
Alistair Francis
5c7f48c9c0 glib-2.0: Remove python3 modules when building for mingw
Commit "glib-2.0: Add python3 modules required by gdbus-codegen"
(26af3b4b33a34d7e53059b07236f9d5aae5e004a) broke the MinGW build of
QEMU. To fix the build remove the python3 RDEPENDS for gdbus-codegen
when targeting mingw.

(From OE-Core rev: 22495951d4caaaf1ead219be8cfad3311cebebff)

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 11:55:35 +00:00
Anuj Mittal
2cad9ff9d1 gdb: fix build with x32
When compiling gdb for x32, it fails with errors:

|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c: In function 'const target_desc* get_ipa_tdesc(int)':
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:184:10: error: 'X86_TDESC_AVX512' was not declared in this scope
|     case X86_TDESC_AVX512:
|          ^~~~~~~~~~~~~~~~
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:184:10: note: suggested alternative: 'X86_TDESC_AVX'
|     case X86_TDESC_AVX512:
|          ^~~~~~~~~~~~~~~~
|          X86_TDESC_AVX
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:185:14: error: 'tdesc_x32_avx512_linux' was not declared in this scope
|       return tdesc_x32_avx512_linux;
|              ^~~~~~~~~~~~~~~~~~~~~~
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:185:14: note: suggested alternative: 'tdesc_x32_avx_linux'
|       return tdesc_x32_avx512_linux;
|              ^~~~~~~~~~~~~~~~~~~~~~
|              tdesc_x32_avx_linux
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c: In function 'void initialize_low_tracepoint()':
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:282:3: error: 'init_registers_x32_avx512_linux' was not declared in this scope
|   init_registers_x32_avx512_linux ();
|   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:282:3: note: suggested alternative: 'init_registers_x32_avx_linux'
|   init_registers_x32_avx512_linux ();
|   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|   init_registers_x32_avx_linux

Backport:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=f02fd7745d003d65fd3b981618e07b874b721d79

Fixes [YOCTO #12120]

(From OE-Core rev: 2557af944db081c1043f6052bc0f11e58022aeb7)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 11:55:35 +00:00
Alexander Kanavin
82e7cd6f75 gobject-introspection: correct the --lib-dirs-envvar patch
The first version introduced a new branch in if-else statement, and so
discarded the actions in the branch taken previously. This seemed
to have no adverse effect for now, but let's do it right.

(From OE-Core rev: b7be3aa46f676066ad05cf8192800ae184095838)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 11:55:35 +00:00
Alexander Kanavin
f5c80ba8f7 maintainers.inc: assign python recipes to Derek Straka
(From OE-Core rev: 6072fa8b0d5c80d24e74510223838f7ccacbf3f1)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 11:55:35 +00:00
Alexander Kanavin
7f2aa4fed0 maintainers.inc: remove python recipes no longer provided in oe-core
(From OE-Core rev: 25a779e20dd0a65b36f268744b5f8b5b28b69f56)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 11:55:35 +00:00
Alexander Kanavin
82cb765392 runtime/cases/ptest.py: fail when ptests fail on target
That's the whole point isn't it? Previously this testcase succeeded
even if some of the underlying on-target tests failed; the only way
to find out if anything was wrong was to manually inspect the logs.

(From OE-Core rev: 21b27d1e9d54d4aab412facff22cd5d3d77827a8)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 11:55:35 +00:00
Alexander Kanavin
9b32b8516a testimage.bbclass: add ptest to the list of runtime tests whenever possible
If no ptest packages are installed in the image, the test does nothing;
if ptest packages are installed in the image, then they should be
run without user having to enable that manually.

(From OE-Core rev: f57feab2727dca916744deb64825f3beaf07961d)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 11:55:35 +00:00
Alexander Kanavin
8288a832e1 runtime/cases/ptest.py: do not require ptest-pkgs in IMAGE_FEATURES; run only when ptest-runner is availalble;
Previously the test would execute only when all available ptests
for packages in the image were installed; some of those tests may
be broken, never finish, take a very long time or simply irrelevant
to the user who wants to check ptests of only a few specific packages,
and does so by listing them explicitly via IMAGE_INSTALL_append or similar.

Presence of ptest-runner means there is at least one ptest package installed
as they pull it in via a class dependency; ptest-runner is not generally
installed otherwise.

(From OE-Core rev: e07a2b9c2b08a465baeaaca86461e07817f84a52)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 11:55:35 +00:00
Alexander Kanavin
0d2020fcff meson: add a recipe and class from meta-oe
The original recipe has been provided and improved by:

Ross Burton <ross.burton@intel.com>
Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Adam C. Foltzer <acfoltzer@galois.com>
Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Linus Svensson <linussn@axis.com>

I have added  patches to fix up gtk-doc and
gobject-introspection in cross-compilation environments,
and also change the order of linker arguments to replicate
autotools more closely (and fix linking errors in some corner
cases).

(From OE-Core rev: 1f8dea686cdfd6d360ba4a97f62d274c39eaeb8e)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05 11:55:35 +00:00
2211 changed files with 64288 additions and 66772 deletions

10
.gitignore vendored
View File

@@ -18,9 +18,13 @@ hob-image-*.bb
!meta-yocto
!meta-yocto-bsp
!meta-yocto-imported
documentation/user-manual/user-manual.html
documentation/user-manual/user-manual.pdf
documentation/user-manual/user-manual.tgz
/documentation/*/eclipse/
/documentation/*/*.html
/documentation/*/*.pdf
/documentation/*/*.tgz
/bitbake/doc/bitbake-user-manual/bitbake-user-manual.html
/bitbake/doc/bitbake-user-manual/bitbake-user-manual.pdf
/bitbake/doc/bitbake-user-manual/bitbake-user-manual.tgz
pull-*/
bitbake/lib/toaster/contrib/tts/backlog.txt
bitbake/lib/toaster/contrib/tts/log/*

View File

@@ -23,3 +23,4 @@ therefore provides compatibility with the following caveats:
* libpng 1.2 isn't provided; oe-core includes the latest release of libpng
instead.
* pax (POSIX standard archive) tool is not provided.

View File

@@ -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.")
__version__ = "1.37.0"
__version__ = "1.39.0"
if __name__ == "__main__":
if __version__ != bb.__version__:

View File

@@ -68,7 +68,7 @@ webserverKillAll()
if [ -f ${pidfile} ]; then
pid=`cat ${pidfile}`
while kill -0 $pid 2>/dev/null; do
kill -SIGTERM -$pid 2>/dev/null
kill -SIGTERM $pid 2>/dev/null
sleep 1
done
rm ${pidfile}
@@ -91,7 +91,7 @@ webserverStartAll()
echo "Starting webserver..."
$MANAGE runserver "$ADDR_PORT" \
$MANAGE runserver --noreload "$ADDR_PORT" \
</dev/null >>${BUILDDIR}/toaster_web.log 2>&1 \
& echo $! >${BUILDDIR}/.toastermain.pid

View File

@@ -2,7 +2,7 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# Copyright (C) 2012 Wind River Systems, Inc.
# Copyright (C) 2012, 2018 Wind River Systems, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -18,51 +18,68 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# This is used for dumping the bb_cache.dat, the output format is:
# recipe_path PN PV PACKAGES
# Used for dumping the bb_cache.dat
#
import os
import sys
import warnings
import argparse
# For importing bb.cache
sys.path.insert(0, os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])), '../lib'))
from bb.cache import CoreRecipeInfo
import pickle as pickle
import pickle
def main(argv=None):
"""
Get the mapping for the target recipe.
"""
if len(argv) != 1:
print("Error, need one argument!", file=sys.stderr)
return 2
class DumpCache(object):
def __init__(self):
parser = argparse.ArgumentParser(
description="bb_cache.dat's dumper",
epilog="Use %(prog)s --help to get help")
parser.add_argument("-r", "--recipe",
help="specify the recipe, default: all recipes", action="store")
parser.add_argument("-m", "--members",
help = "specify the member, use comma as separator for multiple ones, default: all members", action="store", default="")
parser.add_argument("-s", "--skip",
help = "skip skipped recipes", action="store_true")
parser.add_argument("cachefile",
help = "specify bb_cache.dat", nargs = 1, action="store", default="")
cachefile = argv[0]
self.args = parser.parse_args()
with open(cachefile, "rb") as cachefile:
pickled = pickle.Unpickler(cachefile)
while cachefile:
try:
key = pickled.load()
val = pickled.load()
except Exception:
break
if isinstance(val, CoreRecipeInfo) and (not val.skipped):
pn = val.pn
# Filter out the native recipes.
if key.startswith('virtual:native:') or pn.endswith("-native"):
continue
def main(self):
with open(self.args.cachefile[0], "rb") as cachefile:
pickled = pickle.Unpickler(cachefile)
while True:
try:
key = pickled.load()
val = pickled.load()
except Exception:
break
if isinstance(val, CoreRecipeInfo):
pn = val.pn
# 1.0 is the default version for a no PV recipe.
if "pv" in val.__dict__:
pv = val.pv
else:
pv = "1.0"
if self.args.recipe and self.args.recipe != pn:
continue
print("%s %s %s %s" % (key, pn, pv, ' '.join(val.packages)))
if self.args.skip and val.skipped:
continue
if self.args.members:
out = key
for member in self.args.members.split(','):
out += ": %s" % val.__dict__.get(member)
print("%s" % out)
else:
print("%s: %s" % (key, val.__dict__))
elif not self.args.recipe:
print("%s %s" % (key, val))
if __name__ == "__main__":
sys.exit(main(sys.argv[1:]))
try:
dump = DumpCache()
ret = dump.main()
except Exception as esc:
ret = 1
import traceback
traceback.print_exc()
sys.exit(ret)

View File

@@ -781,7 +781,7 @@
The code in <filename>meta/lib/oe/sstatesig.py</filename> shows two examples
of this and also illustrates how you can insert your own policy into the system
if so desired.
This file defines the two basic signature generators OpenEmbedded Core
This file defines the two basic signature generators OpenEmbedded-Core
uses: "OEBasic" and "OEBasicHash".
By default, there is a dummy "noop" signature handler enabled in BitBake.
This means that behavior is unchanged from previous versions.

View File

@@ -777,6 +777,43 @@
</para>
</section>
<section id='repo-fetcher'>
<title>Repo Fetcher (<filename>repo://</filename>)</title>
<para>
This fetcher submodule fetches code from
<filename>google-repo</filename> source control system.
The fetcher works by initiating and syncing sources of the
repository into
<link linkend='var-REPODIR'><filename>REPODIR</filename></link>,
which is usually
<link linkend='var-DL_DIR'><filename>DL_DIR</filename></link><filename>/repo</filename>.
</para>
<para>
This fetcher supports the following parameters:
<itemizedlist>
<listitem><para>
<emphasis>"protocol":</emphasis>
Protocol to fetch the repository manifest (default: git).
</para></listitem>
<listitem><para>
<emphasis>"branch":</emphasis>
Branch or tag of repository to get (default: master).
</para></listitem>
<listitem><para>
<emphasis>"manifest":</emphasis>
Name of the manifest file (default: <filename>default.xml</filename>).
</para></listitem>
</itemizedlist>
Here are some example URLs:
<literallayout class='monospaced'>
SRC_URI = "repo://REPOROOT;protocol=git;branch=some_branch;manifest=my_manifest.xml"
SRC_URI = "repo://REPOROOT;protocol=file;branch=some_branch;manifest=my_manifest.xml"
</literallayout>
</para>
</section>
<section id='other-fetchers'>
<title>Other Fetchers</title>
@@ -795,9 +832,6 @@
<listitem><para>
Secure Shell (<filename>ssh://</filename>)
</para></listitem>
<listitem><para>
Repo (<filename>repo://</filename>)
</para></listitem>
<listitem><para>
OSC (<filename>osc://</filename>)
</para></listitem>

View File

@@ -260,7 +260,7 @@
files.
For this example, you need to create the file in your project directory
and define some key BitBake variables.
For more information on the <filename>bitbake.conf</filename>,
For more information on the <filename>bitbake.conf</filename> file,
see
<ulink url='http://git.openembedded.org/bitbake/tree/conf/bitbake.conf'></ulink>.
</para>
@@ -273,14 +273,32 @@
some editor to create the <filename>bitbake.conf</filename>
so that it contains the following:
<literallayout class='monospaced'>
<link linkend='var-PN'>PN</link> = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
</literallayout>
<literallayout class='monospaced'>
TMPDIR = "${<link linkend='var-TOPDIR'>TOPDIR</link>}/tmp"
<link linkend='var-CACHE'>CACHE</link> = "${TMPDIR}/cache"
<link linkend='var-STAMP'>STAMP</link> = "${TMPDIR}/stamps"
<link linkend='var-T'>T</link> = "${TMPDIR}/work"
<link linkend='var-B'>B</link> = "${TMPDIR}"
<link linkend='var-STAMP'>STAMP</link> = "${TMPDIR}/${PN}/stamps"
<link linkend='var-T'>T</link> = "${TMPDIR}/${PN}/work"
<link linkend='var-B'>B</link> = "${TMPDIR}/${PN}"
</literallayout>
<note>
Without a value for <filename>PN</filename>, the
variables <filename>STAMP</filename>,
<filename>T</filename>, and <filename>B</filename>,
prevent more than one recipe from working. You can fix
this by either setting <filename>PN</filename> to have
a value similar to what OpenEmbedded and BitBake use
in the default <filename>bitbake.conf</filename> file
(see previous example). Or, by manually updating each
recipe to set <filename>PN</filename>. You will also
need to include <filename>PN</filename> as part of the
<filename>STAMP</filename>, <filename>T</filename>, and
<filename>B</filename> variable definitions in the
<filename>local.conf</filename> file.
</note>
The <filename>TMPDIR</filename> variable establishes a directory
that BitBake uses for build output and intermediate files (other
that BitBake uses for build output and intermediate files other
than the cached information used by the
<link linkend='setscene'>Setscene</link> process.
Here, the <filename>TMPDIR</filename> directory is set to
@@ -300,19 +318,19 @@
file exists, you can run the <filename>bitbake</filename>
command again:
<literallayout class='monospaced'>
$ bitbake
ERROR: Traceback (most recent call last):
File "/home/scott-lenovo/bitbake/lib/bb/cookerdata.py", line 163, in wrapped
return func(fn, *args)
File "/home/scott-lenovo/bitbake/lib/bb/cookerdata.py", line 177, in _inherit
bb.parse.BBHandler.inherit(bbclass, "configuration INHERITs", 0, data)
File "/home/scott-lenovo/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 92, in inherit
include(fn, file, lineno, d, "inherit")
File "/home/scott-lenovo/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 100, in include
raise ParseError("Could not %(error_out)s file %(fn)s" % vars(), oldfn, lineno)
ParseError: ParseError in configuration INHERITs: Could not inherit file classes/base.bbclass
$ bitbake
ERROR: Traceback (most recent call last):
File "/home/scott-lenovo/bitbake/lib/bb/cookerdata.py", line 163, in wrapped
return func(fn, *args)
File "/home/scott-lenovo/bitbake/lib/bb/cookerdata.py", line 177, in _inherit
bb.parse.BBHandler.inherit(bbclass, "configuration INHERITs", 0, data)
File "/home/scott-lenovo/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 92, in inherit
include(fn, file, lineno, d, "inherit")
File "/home/scott-lenovo/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 100, in include
raise ParseError("Could not %(error_out)s file %(fn)s" % vars(), oldfn, lineno)
ParseError: ParseError in configuration INHERITs: Could not inherit file classes/base.bbclass
ERROR: Unable to parse base: ParseError in configuration INHERITs: Could not inherit file classes/base.bbclass
ERROR: Unable to parse base: ParseError in configuration INHERITs: Could not inherit file classes/base.bbclass
</literallayout>
In the sample output, BitBake could not find the
<filename>classes/base.bbclass</filename> file.
@@ -365,10 +383,10 @@ ERROR: Unable to parse base: ParseError in configuration INHERITs: Could not inh
code separate from the general metadata used by BitBake.
Thus, this example creates and uses a layer called "mylayer".
<note>
You can find additional information on layers at
<ulink url='http://www.yoctoproject.org/docs/2.3/bitbake-user-manual/bitbake-user-manual.html#layers'></ulink>.
</note>
</para>
You can find additional information on layers in the
"<link linkend='layers'>Layers</link>" section.
</note></para>
<para>Minimally, you need a recipe file and a layer configuration
file in your layer.
The configuration file needs to be in the <filename>conf</filename>

View File

@@ -488,8 +488,6 @@
target that failed and anything depending on it cannot
be built, as much as possible will be built before
stopping.
-a, --tryaltconfigs Continue with builds by trying to use alternative
providers where possible.
-f, --force Force the specified targets/task to run (invalidating
any existing stamp file).
-c CMD, --cmd=CMD Specify the task to execute. The exact options
@@ -504,19 +502,20 @@
Read the specified file before bitbake.conf.
-R POSTFILE, --postread=POSTFILE
Read the specified file after bitbake.conf.
-v, --verbose Enable tracing of shell tasks (with 'set -x').
Also print bb.note(...) messages to stdout (in
addition to writing them to ${T}/log.do_&lt;task&gt;).
-D, --debug Increase the debug level. You can specify this
more than once. -D sets the debug level to 1,
where only bb.debug(1, ...) messages are printed
to stdout; -DD sets the debug level to 2, where
both bb.debug(1, ...) and bb.debug(2, ...)
messages are printed; etc. Without -D, no debug
messages are printed. Note that -D only affects
output to stdout. All debug messages are written
to ${T}/log.do_taskname, regardless of the debug
level.
-v, --verbose Enable tracing of shell tasks (with 'set -x'). Also
print bb.note(...) messages to stdout (in addition to
writing them to ${T}/log.do_&lt;task&gt;).
-D, --debug Increase the debug level. You can specify this more
than once. -D sets the debug level to 1, where only
bb.debug(1, ...) messages are printed to stdout; -DD
sets the debug level to 2, where both bb.debug(1, ...)
and bb.debug(2, ...) messages are printed; etc.
Without -D, no debug messages are printed. Note that
-D only affects output to stdout. All debug messages
are written to ${T}/log.do_taskname, regardless of the
debug level.
-q, --quiet Output less log message data to the terminal. You can
specify this more than once.
-n, --dry-run Don't execute, just go through the motions.
-S SIGNATURE_HANDLER, --dump-signatures=SIGNATURE_HANDLER
Dump out the signature construction information, with
@@ -539,30 +538,38 @@
-l DEBUG_DOMAINS, --log-domains=DEBUG_DOMAINS
Show debug logging for the specified logging domains
-P, --profile Profile the command and save reports.
-u UI, --ui=UI The user interface to use (taskexp, knotty or
ncurses - default knotty).
-t SERVERTYPE, --servertype=SERVERTYPE
Choose which server type to use (process or xmlrpc -
default process).
-u UI, --ui=UI The user interface to use (knotty, ncurses or taskexp
- default knotty).
--token=XMLRPCTOKEN Specify the connection token to be used when
connecting to a remote server.
--revisions-changed Set the exit code depending on whether upstream
floating revisions have changed or not.
--server-only Run bitbake without a UI, only starting a server
(cooker) process.
-B BIND, --bind=BIND The name/address for the bitbake server to bind to.
-B BIND, --bind=BIND The name/address for the bitbake xmlrpc server to bind
to.
-T SERVER_TIMEOUT, --idle-timeout=SERVER_TIMEOUT
Set timeout to unload bitbake server due to
inactivity, set to -1 means no unload, default:
Environment variable BB_SERVER_TIMEOUT.
--no-setscene Do not run any setscene tasks. sstate will be ignored
and everything needed, built.
--setscene-only Only run setscene tasks, don't run any real tasks.
--remote-server=REMOTE_SERVER
Connect to the specified server.
-m, --kill-server Terminate the remote server.
-m, --kill-server Terminate any running bitbake server.
--observe-only Connect to a server as an observing-only client.
--status-only Check the status of the remote bitbake server.
-w WRITEEVENTLOG, --write-log=WRITEEVENTLOG
Writes the event log of the build to a bitbake event
json file. Use '' (empty string) to assign the name
automatically.
--runall=RUNALL Run the specified task for any recipe in the taskgraph
of the specified target (even if it wouldn't otherwise
have run).
--runonly=RUNONLY Run only the specified task within the taskgraph of
the specified targets (and any task dependencies those
tasks may have).
</literallayout>
</para>
</section>

View File

@@ -1929,6 +1929,38 @@
not careful.
</note>
</para></listitem>
<listitem><para><emphasis><filename>[number_threads]</filename>:</emphasis>
Limits tasks to a specific number of simultaneous threads
during execution.
This varflag is useful when your build host has a large number
of cores but certain tasks need to be rate-limited due to various
kinds of resource constraints (e.g. to avoid network throttling).
<filename>number_threads</filename> works similarly to the
<link linkend='var-BB_NUMBER_THREADS'><filename>BB_NUMBER_THREADS</filename></link>
variable but is task-specific.</para>
<para>Set the value globally.
For example, the following makes sure the
<filename>do_fetch</filename> task uses no more than two
simultaneous execution threads:
<literallayout class='monospaced'>
do_fetch[number_threads] = "2"
</literallayout>
<note><title>Warnings</title>
<itemizedlist>
<listitem><para>
Setting the varflag in individual recipes rather
than globally can result in unpredictable behavior.
</para></listitem>
<listitem><para>
Setting the varflag to a value greater than the
value used in the <filename>BB_NUMBER_THREADS</filename>
variable causes <filename>number_threads</filename>
to have no effect.
</para></listitem>
</itemizedlist>
</note>
</para></listitem>
<listitem><para><emphasis><filename>[postfuncs]</filename>:</emphasis>
List of functions to call after the completion of the task.
</para></listitem>
@@ -2132,6 +2164,8 @@
<listitem><para>
<filename>bb.event.BuildStarted()</filename>:
Fired when a new build starts.
BitBake fires multiple "BuildStarted" events (one per configuration)
when multiple configuration (multiconfig) is enabled.
</para></listitem>
<listitem><para>
<filename>bb.build.TaskStarted()</filename>:
@@ -2650,47 +2684,70 @@
</para>
<para>
This list is a place holder of content existed from previous work
on the manual.
Some or all of it probably needs integrated into the subsections
that make up this section.
For now, I have just provided a short glossary-like description
for each variable.
Ultimately, this list goes away.
These checksums are stored in
<link linkend='var-STAMP'><filename>STAMP</filename></link>.
You can examine the checksums using the following BitBake command:
<literallayout class='monospaced'>
$ bitbake-dumpsigs
</literallayout>
This command returns the signature data in a readable format
that allows you to examine the inputs used when the
OpenEmbedded build system generates signatures.
For example, using <filename>bitbake-dumpsigs</filename>
allows you to examine the <filename>do_compile</filename>
task's “sigdata” for a C application (e.g.
<filename>bash</filename>).
Running the command also reveals that the “CC” variable is part of
the inputs that are hashed.
Any changes to this variable would invalidate the stamp and
cause the <filename>do_compile</filename> task to run.
</para>
<para>
The following list describes related variables:
<itemizedlist>
<listitem><para><filename>STAMP</filename>:
The base path to create stamp files.</para></listitem>
<listitem><para><filename>STAMPCLEAN</filename>
Again, the base path to create stamp files but can use wildcards
for matching a range of files for clean operations.
</para></listitem>
<listitem><para><filename>BB_STAMP_WHITELIST</filename>
Lists stamp files that are looked at when the stamp policy
is "whitelist".
</para></listitem>
<listitem><para><filename>BB_STAMP_POLICY</filename>
Defines the mode for comparing timestamps of stamp files.
</para></listitem>
<listitem><para><filename>BB_HASHCHECK_FUNCTION</filename>
<listitem><para>
<link linkend='var-BB_HASHCHECK_FUNCTION'><filename>BB_HASHCHECK_FUNCTION</filename></link>:
Specifies the name of the function to call during
the "setscene" part of the task's execution in order
to validate the list of task hashes.
</para></listitem>
<listitem><para><filename>BB_SETSCENE_VERIFY_FUNCTION2</filename>
Specifies a function to call that verifies the list of
planned task execution before the main task execution
happens.
</para></listitem>
<listitem><para><filename>BB_SETSCENE_DEPVALID</filename>
<listitem><para>
<link linkend='var-BB_SETSCENE_DEPVALID'><filename>BB_SETSCENE_DEPVALID</filename></link>:
Specifies a function BitBake calls that determines
whether BitBake requires a setscene dependency to
be met.
</para></listitem>
<listitem><para><filename>BB_TASKHASH</filename>
<listitem><para>
<link linkend='var-BB_SETSCENE_VERIFY_FUNCTION2'><filename>BB_SETSCENE_VERIFY_FUNCTION2</filename></link>:
Specifies a function to call that verifies the list of
planned task execution before the main task execution
happens.
</para></listitem>
<listitem><para>
<link linkend='var-BB_STAMP_POLICY'><filename>BB_STAMP_POLICY</filename></link>:
Defines the mode for comparing timestamps of stamp files.
</para></listitem>
<listitem><para>
<link linkend='var-BB_STAMP_WHITELIST'><filename>BB_STAMP_WHITELIST</filename></link>:
Lists stamp files that are looked at when the stamp policy
is "whitelist".
</para></listitem>
<listitem><para>
<link linkend='var-BB_TASKHASH'><filename>BB_TASKHASH</filename></link>:
Within an executing task, this variable holds the hash
of the task as returned by the currently enabled
signature generator.
</para></listitem>
<listitem><para>
<link linkend='var-STAMP'><filename>STAMP</filename></link>:
The base path to create stamp files.
</para></listitem>
<listitem><para>
<link linkend='var-STAMPCLEAN'><filename>STAMPCLEAN</filename></link>:
Again, the base path to create stamp files but can use wildcards
for matching a range of files for clean operations.
</para></listitem>
</itemizedlist>
</para>
</section>

View File

@@ -78,7 +78,7 @@
</para>
<para>
In OpenEmbedded Core, <filename>ASSUME_PROVIDED</filename>
In OpenEmbedded-Core, <filename>ASSUME_PROVIDED</filename>
mostly specifies native tools that should not be built.
An example is <filename>git-native</filename>, which
when specified allows for the Git binary from the host to
@@ -964,7 +964,7 @@
Allows you to extend a recipe so that it builds variants
of the software.
Some examples of these variants for recipes from the
OpenEmbedded Core metadata are "natives" such as
OpenEmbedded-Core metadata are "natives" such as
<filename>quilt-native</filename>, which is a copy of
Quilt built to run on the build system; "crosses" such
as <filename>gcc-cross</filename>, which is a compiler
@@ -980,7 +980,7 @@
amount of code, it usually is as simple as adding the
variable to your recipe.
Here are two examples.
The "native" variants are from the OpenEmbedded Core
The "native" variants are from the OpenEmbedded-Core
metadata:
<literallayout class='monospaced'>
BBCLASSEXTEND =+ "native nativesdk"
@@ -2089,6 +2089,16 @@
</glossdef>
</glossentry>
<glossentry id='var-REPODIR'><glossterm>REPODIR</glossterm>
<glossdef>
<para>
The directory in which a local copy of a
<filename>google-repo</filename> directory is stored
when it is synced.
</para>
</glossdef>
</glossentry>
<glossentry id='var-RPROVIDES'><glossterm>RPROVIDES</glossterm>
<glossdef>
<para>

View File

@@ -56,7 +56,7 @@
-->
<copyright>
<year>2004-2016</year>
<year>2004-2018</year>
<holder>Richard Purdie</holder>
<holder>Chris Larson</holder>
<holder>and Phil Blundell</holder>

View File

@@ -21,7 +21,7 @@
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
__version__ = "1.37.0"
__version__ = "1.39.0"
import sys
if sys.version_info < (3, 4, 0):

View File

@@ -395,7 +395,7 @@ class Cache(NoCache):
self.has_cache = True
self.cachefile = getCacheFile(self.cachedir, "bb_cache.dat", self.data_hash)
logger.debug(1, "Using cache in '%s'", self.cachedir)
logger.debug(1, "Cache dir: %s", self.cachedir)
bb.utils.mkdirhier(self.cachedir)
cache_ok = True
@@ -408,6 +408,8 @@ class Cache(NoCache):
self.load_cachefile()
elif os.path.isfile(self.cachefile):
logger.info("Out of date cache found, rebuilding...")
else:
logger.debug(1, "Cache file %s not found, building..." % self.cachefile)
def load_cachefile(self):
cachesize = 0
@@ -424,6 +426,7 @@ class Cache(NoCache):
for cache_class in self.caches_array:
cachefile = getCacheFile(self.cachedir, cache_class.cachefile, self.data_hash)
logger.debug(1, 'Loading cache file: %s' % cachefile)
with open(cachefile, "rb") as cachefile:
pickled = pickle.Unpickler(cachefile)
# Check cache version information

View File

@@ -516,6 +516,8 @@ class BBCooker:
fn = runlist[0][3]
else:
envdata = self.data
data.expandKeys(envdata)
parse.ast.runAnonFuncs(envdata)
if fn:
try:
@@ -536,7 +538,6 @@ class BBCooker:
logger.plain(env.getvalue())
# emit the metadata which isnt valid shell
data.expandKeys(envdata)
for e in sorted(envdata.keys()):
if envdata.getVarFlag(e, 'func', False) and envdata.getVarFlag(e, 'python', False):
logger.plain("\npython %s () {\n%s}\n", e, envdata.getVar(e, False))
@@ -856,12 +857,12 @@ class BBCooker:
with open('task-depends.dot', 'w') as f:
f.write("digraph depends {\n")
for task in depgraph["tdepends"]:
for task in sorted(depgraph["tdepends"]):
(pn, taskname) = task.rsplit(".", 1)
fn = depgraph["pn"][pn]["filename"]
version = depgraph["pn"][pn]["version"]
f.write('"%s.%s" [label="%s %s\\n%s\\n%s"]\n' % (pn, taskname, pn, taskname, version, fn))
for dep in depgraph["tdepends"][task]:
for dep in sorted(depgraph["tdepends"][task]):
f.write('"%s" -> "%s"\n' % (task, dep))
f.write("}\n")
logger.info("Task dependencies saved to 'task-depends.dot'")
@@ -869,18 +870,18 @@ class BBCooker:
with open('recipe-depends.dot', 'w') as f:
f.write("digraph depends {\n")
pndeps = {}
for task in depgraph["tdepends"]:
for task in sorted(depgraph["tdepends"]):
(pn, taskname) = task.rsplit(".", 1)
if pn not in pndeps:
pndeps[pn] = set()
for dep in depgraph["tdepends"][task]:
for dep in sorted(depgraph["tdepends"][task]):
(deppn, deptaskname) = dep.rsplit(".", 1)
pndeps[pn].add(deppn)
for pn in pndeps:
for pn in sorted(pndeps):
fn = depgraph["pn"][pn]["filename"]
version = depgraph["pn"][pn]["version"]
f.write('"%s" [label="%s\\n%s\\n%s"]\n' % (pn, pn, version, fn))
for dep in pndeps[pn]:
for dep in sorted(pndeps[pn]):
if dep == pn:
continue
f.write('"%s" -> "%s"\n' % (pn, dep))
@@ -1170,6 +1171,7 @@ class BBCooker:
elif regex == "":
parselog.debug(1, "BBFILE_PATTERN_%s is empty" % c)
errors = False
continue
else:
try:
cre = re.compile(regex)
@@ -1603,8 +1605,6 @@ class BBCooker:
if self.parser:
self.parser.shutdown(clean=not force, force=force)
self.notifier.stop()
self.confignotifier.stop()
def finishcommand(self):
self.state = state.initial
@@ -1807,21 +1807,25 @@ class CookerCollectFiles(object):
realfn, cls, mc = bb.cache.virtualfn2realfn(p)
priorities[p] = self.calc_bbfile_priority(realfn, matched)
# Don't show the warning if the BBFILE_PATTERN did match .bbappend files
unmatched = set()
for _, _, regex, pri in self.bbfile_config_priorities:
if not regex in matched:
unmatched.add(regex)
def findmatch(regex):
# Don't show the warning if the BBFILE_PATTERN did match .bbappend files
def find_bbappend_match(regex):
for b in self.bbappends:
(bbfile, append) = b
if regex.match(append):
# If the bbappend is matched by already "matched set", return False
for matched_regex in matched:
if matched_regex.match(append):
return False
return True
return False
for unmatch in unmatched.copy():
if findmatch(unmatch):
if find_bbappend_match(unmatch):
unmatched.remove(unmatch)
for collection, pattern, regex, _ in self.bbfile_config_priorities:

View File

@@ -143,7 +143,8 @@ class CookerConfiguration(object):
self.writeeventlog = False
self.server_only = False
self.limited_deps = False
self.runall = None
self.runall = []
self.runonly = []
self.env = {}
@@ -395,6 +396,8 @@ class CookerDataBuilder(object):
if compat and not (compat & layerseries):
bb.fatal("Layer %s is not compatible with the core layer which only supports these series: %s (layer is compatible with %s)"
% (c, " ".join(layerseries), " ".join(compat)))
elif not compat and not data.getVar("BB_WORKERCONTEXT"):
bb.warn("Layer %s should set LAYERSERIES_COMPAT_%s in its conf/layer.conf file to list the core layer names it is compatible with." % (c, c))
if not data.getVar("BBPATH"):
msg = "The BBPATH variable is not set"

View File

@@ -449,12 +449,6 @@ class BuildBase(Event):
def setName(self, name):
self._name = name
def getCfg(self):
return self.data
def setCfg(self, cfg):
self.data = cfg
def getFailures(self):
"""
Return the number of failed packages
@@ -463,9 +457,6 @@ class BuildBase(Event):
pkgs = property(getPkgs, setPkgs, None, "pkgs property")
name = property(getName, setName, None, "name property")
cfg = property(getCfg, setCfg, None, "cfg property")
class BuildInit(BuildBase):
"""buildFile or buildTargets was invoked"""

View File

@@ -383,7 +383,7 @@ def decodeurl(url):
path = location
else:
host = location
path = ""
path = "/"
if user:
m = re.compile('(?P<user>[^:]+)(:?(?P<pswd>.*))').match(user)
if m:
@@ -452,8 +452,8 @@ def uri_replace(ud, uri_find, uri_replace, replacements, d, mirrortarball=None):
# Handle URL parameters
if i:
# Any specified URL parameters must match
for k in uri_replace_decoded[loc]:
if uri_decoded[loc][k] != uri_replace_decoded[loc][k]:
for k in uri_find_decoded[loc]:
if uri_decoded[loc][k] != uri_find_decoded[loc][k]:
return None
# Overwrite any specified replacement parameters
for k in uri_replace_decoded[loc]:
@@ -643,26 +643,25 @@ def verify_donestamp(ud, d, origud=None):
if not ud.needdonestamp or (origud and not origud.needdonestamp):
return True
if not os.path.exists(ud.donestamp):
if not os.path.exists(ud.localpath):
# local path does not exist
if os.path.exists(ud.donestamp):
# done stamp exists, but the downloaded file does not; the done stamp
# must be incorrect, re-trigger the download
bb.utils.remove(ud.donestamp)
return False
if (not ud.method.supports_checksum(ud) or
(origud and not origud.method.supports_checksum(origud))):
# done stamp exists, checksums not supported; assume the local file is
# current
return True
if not os.path.exists(ud.localpath):
# done stamp exists, but the downloaded file does not; the done stamp
# must be incorrect, re-trigger the download
bb.utils.remove(ud.donestamp)
return False
# if done stamp exists and checksums not supported; assume the local
# file is current
return os.path.exists(ud.donestamp)
precomputed_checksums = {}
# Only re-use the precomputed checksums if the donestamp is newer than the
# file. Do not rely on the mtime of directories, though. If ud.localpath is
# a directory, there will probably not be any checksums anyway.
if (os.path.isdir(ud.localpath) or
if os.path.exists(ud.donestamp) and (os.path.isdir(ud.localpath) or
os.path.getmtime(ud.localpath) < os.path.getmtime(ud.donestamp)):
try:
with open(ud.donestamp, "rb") as cachefile:
@@ -853,6 +852,9 @@ def runfetchcmd(cmd, d, quiet=False, cleanup=None, log=None, workdir=None):
if val:
cmd = 'export ' + var + '=\"%s\"; %s' % (val, cmd)
# Disable pseudo as it may affect ssh, potentially causing it to hang.
cmd = 'export PSEUDO_DISABLED=1; ' + cmd
logger.debug(1, "Running %s", cmd)
success = False

View File

@@ -41,8 +41,9 @@ class Bzr(FetchMethod):
init bzr specific variable within url data
"""
# Create paths to bzr checkouts
bzrdir = d.getVar("BZRDIR") or (d.getVar("DL_DIR") + "/bzr")
relpath = self._strip_leading_slashes(ud.path)
ud.pkgdir = os.path.join(d.expand('${BZRDIR}'), ud.host, relpath)
ud.pkgdir = os.path.join(bzrdir, ud.host, relpath)
ud.setup_revisions(d)
@@ -57,7 +58,7 @@ class Bzr(FetchMethod):
command is "fetch", "update", "revno"
"""
basecmd = d.expand('${FETCHCMD_bzr}')
basecmd = d.getVar("FETCHCMD_bzr") or "/usr/bin/env bzr"
proto = ud.parm.get('protocol', 'http')

View File

@@ -69,7 +69,6 @@ from bb.fetch2 import FetchMethod
from bb.fetch2 import FetchError
from bb.fetch2 import runfetchcmd
from bb.fetch2 import logger
from distutils import spawn
class ClearCase(FetchMethod):
"""Class to fetch urls via 'clearcase'"""
@@ -107,7 +106,7 @@ class ClearCase(FetchMethod):
else:
ud.module = ""
ud.basecmd = d.getVar("FETCHCMD_ccrc") or spawn.find_executable("cleartool") or spawn.find_executable("rcleartool")
ud.basecmd = d.getVar("FETCHCMD_ccrc") or "/usr/bin/env cleartool || rcleartool"
if d.getVar("SRCREV") == "INVALID":
raise FetchError("Set a valid SRCREV for the clearcase fetcher in your recipe, e.g. SRCREV = \"/main/LATEST\" or any other label of your choice.")

View File

@@ -110,7 +110,7 @@ class Cvs(FetchMethod):
if ud.tag:
options.append("-r %s" % ud.tag)
cvsbasecmd = d.getVar("FETCHCMD_cvs")
cvsbasecmd = d.getVar("FETCHCMD_cvs") or "/usr/bin/env cvs"
cvscmd = cvsbasecmd + " '-d" + cvsroot + "' co " + " ".join(options) + " " + ud.module
cvsupdatecmd = cvsbasecmd + " '-d" + cvsroot + "' update -d -P " + " ".join(options)
@@ -121,7 +121,8 @@ class Cvs(FetchMethod):
# create module directory
logger.debug(2, "Fetch: checking for module directory")
pkg = d.getVar('PN')
pkgdir = os.path.join(d.getVar('CVSDIR'), pkg)
cvsdir = d.getVar("CVSDIR") or (d.getVar("DL_DIR") + "/cvs")
pkgdir = os.path.join(cvsdir, pkg)
moddir = os.path.join(pkgdir, localdir)
workdir = None
if os.access(os.path.join(moddir, 'CVS'), os.R_OK):

View File

@@ -125,6 +125,9 @@ class GitProgressHandler(bb.progress.LineFilterProgressHandler):
class Git(FetchMethod):
bitbake_dir = os.path.abspath(os.path.join(os.path.dirname(os.path.join(os.path.abspath(__file__))), '..', '..', '..'))
make_shallow_path = os.path.join(bitbake_dir, 'bin', 'git-make-shallow')
"""Class to fetch a module or modules from git repositories"""
def init(self, d):
pass
@@ -258,7 +261,7 @@ class Git(FetchMethod):
gitsrcname = gitsrcname + '_' + ud.revisions[name]
dl_dir = d.getVar("DL_DIR")
gitdir = d.getVar("GITDIR") or (dl_dir + "/git2/")
gitdir = d.getVar("GITDIR") or (dl_dir + "/git2")
ud.clonedir = os.path.join(gitdir, gitsrcname)
ud.localfile = ud.clonedir
@@ -319,16 +322,13 @@ class Git(FetchMethod):
def download(self, ud, d):
"""Fetch url"""
no_clone = not os.path.exists(ud.clonedir)
need_update = no_clone or self.need_update(ud, d)
# A current clone is preferred to either tarball, a shallow tarball is
# preferred to an out of date clone, and a missing clone will use
# either tarball.
if ud.shallow and os.path.exists(ud.fullshallow) and need_update:
if ud.shallow and os.path.exists(ud.fullshallow) and self.need_update(ud, d):
ud.localpath = ud.fullshallow
return
elif os.path.exists(ud.fullmirror) and no_clone:
elif os.path.exists(ud.fullmirror) and not os.path.exists(ud.clonedir):
bb.utils.mkdirhier(ud.clonedir)
runfetchcmd("tar -xzf %s" % ud.fullmirror, d, workdir=ud.clonedir)
@@ -350,6 +350,8 @@ class Git(FetchMethod):
for name in ud.names:
if not self._contains_ref(ud, d, name, ud.clonedir):
needupdate = True
break
if needupdate:
try:
runfetchcmd("%s remote rm origin" % ud.basecmd, d, workdir=ud.clonedir)
@@ -363,12 +365,14 @@ class Git(FetchMethod):
progresshandler = GitProgressHandler(d)
runfetchcmd(fetch_cmd, d, log=progresshandler, workdir=ud.clonedir)
runfetchcmd("%s prune-packed" % ud.basecmd, d, workdir=ud.clonedir)
runfetchcmd("%s pack-refs --all" % ud.basecmd, d, workdir=ud.clonedir)
runfetchcmd("%s pack-redundant --all | xargs -r rm" % ud.basecmd, d, workdir=ud.clonedir)
try:
os.unlink(ud.fullmirror)
except OSError as exc:
if exc.errno != errno.ENOENT:
raise
for name in ud.names:
if not self._contains_ref(ud, d, name, ud.clonedir):
raise bb.fetch2.FetchError("Unable to find revision %s in branch %s even from upstream" % (ud.revisions[name], ud.branches[name]))
@@ -445,7 +449,7 @@ class Git(FetchMethod):
shallow_branches.append(r)
# Make the repository shallow
shallow_cmd = ['git', 'make-shallow', '-s']
shallow_cmd = [self.make_shallow_path, '-s']
for b in shallow_branches:
shallow_cmd.append('-r')
shallow_cmd.append(b)
@@ -468,7 +472,7 @@ class Git(FetchMethod):
if os.path.exists(destdir):
bb.utils.prunedir(destdir)
if ud.shallow and (not os.path.exists(ud.clonedir) or self.need_update(ud, d)):
if ud.shallow and self.need_update(ud, d):
bb.utils.mkdirhier(destdir)
runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=destdir)
else:
@@ -591,7 +595,8 @@ class Git(FetchMethod):
tagregex = re.compile(d.getVar('UPSTREAM_CHECK_GITTAGREGEX') or "(?P<pver>([0-9][\.|_]?)+)")
try:
output = self._lsremote(ud, d, "refs/tags/*")
except bb.fetch2.FetchError or bb.fetch2.NetworkAccess:
except (bb.fetch2.FetchError, bb.fetch2.NetworkAccess) as e:
bb.note("Could not list remote: %s" % str(e))
return pupver
verstring = ""

View File

@@ -98,7 +98,7 @@ class GitSM(Git):
for line in lines:
f.write(line)
def update_submodules(self, ud, d):
def update_submodules(self, ud, d, allow_network):
# We have to convert bare -> full repo, do the submodule bit, then convert back
tmpclonedir = ud.clonedir + ".tmp"
gitdir = tmpclonedir + os.sep + ".git"
@@ -108,11 +108,46 @@ class GitSM(Git):
runfetchcmd("sed " + gitdir + "/config -i -e 's/bare.*=.*true/bare = false/'", d)
runfetchcmd(ud.basecmd + " reset --hard", d, workdir=tmpclonedir)
runfetchcmd(ud.basecmd + " checkout -f " + ud.revisions[ud.names[0]], d, workdir=tmpclonedir)
runfetchcmd(ud.basecmd + " submodule update --init --recursive", d, workdir=tmpclonedir)
self._set_relative_paths(tmpclonedir)
runfetchcmd("sed " + gitdir + "/config -i -e 's/bare.*=.*false/bare = true/'", d, workdir=tmpclonedir)
os.rename(gitdir, ud.clonedir,)
bb.utils.remove(tmpclonedir, True)
try:
if allow_network:
fetch_flags = ""
else:
fetch_flags = "--no-fetch"
# The 'git submodule sync' sandwiched between two successive 'git submodule update' commands is
# intentional. See the notes on the similar construction in download() for an explanation.
runfetchcmd("%(basecmd)s submodule update --init --recursive %(fetch_flags)s || (%(basecmd)s submodule sync --recursive && %(basecmd)s submodule update --init --recursive %(fetch_flags)s)" % {'basecmd': ud.basecmd, 'fetch_flags' : fetch_flags}, d, workdir=tmpclonedir)
except bb.fetch.FetchError:
if allow_network:
raise
else:
# This method was called as a probe to see whether the submodule history
# is complete enough to allow the current working copy to have its
# modules filled in. It's not, so swallow up the exception and report
# the negative result.
return False
finally:
self._set_relative_paths(tmpclonedir)
runfetchcmd("sed " + gitdir + "/config -i -e 's/bare.*=.*false/bare = true/'", d, workdir=tmpclonedir)
os.rename(gitdir, ud.clonedir,)
bb.utils.remove(tmpclonedir, True)
return True
def need_update(self, ud, d):
main_repo_needs_update = Git.need_update(self, ud, d)
# First check that the main repository has enough history fetched. If it doesn't, then we don't
# even have the .gitmodules and gitlinks for the submodules to attempt asking whether the
# submodules' histories are recent enough.
if main_repo_needs_update:
return True
# Now check that the submodule histories are new enough. The git-submodule command doesn't have
# any clean interface for doing this aside from just attempting the checkout (with network
# fetched disabled).
return not self.update_submodules(ud, d, allow_network=False)
def download(self, ud, d):
Git.download(self, ud, d)
@@ -120,7 +155,7 @@ class GitSM(Git):
if not ud.shallow or ud.localpath != ud.fullshallow:
submodules = self.uses_submodules(ud, d, ud.clonedir)
if submodules:
self.update_submodules(ud, d)
self.update_submodules(ud, d, allow_network=True)
def clone_shallow_local(self, ud, dest, d):
super(GitSM, self).clone_shallow_local(ud, dest, d)
@@ -132,4 +167,36 @@ class GitSM(Git):
if self.uses_submodules(ud, d, ud.destdir):
runfetchcmd(ud.basecmd + " checkout " + ud.revisions[ud.names[0]], d, workdir=ud.destdir)
runfetchcmd(ud.basecmd + " submodule update --init --recursive", d, workdir=ud.destdir)
# Copy over the submodules' fetched histories too.
if ud.bareclone:
repo_conf = ud.destdir
else:
repo_conf = os.path.join(ud.destdir, '.git')
if os.path.exists(ud.clonedir):
# This is not a copy unpacked from a shallow mirror clone. So
# the manual intervention to populate the .git/modules done
# in clone_shallow_local() won't have been done yet.
runfetchcmd("cp -fpPRH %s %s" % (os.path.join(ud.clonedir, 'modules'), repo_conf), d)
fetch_flags = "--no-fetch"
elif os.path.exists(os.path.join(repo_conf, 'modules')):
# Unpacked from a shallow mirror clone. Manual population of
# .git/modules is already done.
fetch_flags = "--no-fetch"
else:
# This isn't fatal; git-submodule will just fetch it
# during do_unpack().
fetch_flags = ""
bb.error("submodule history not retrieved during do_fetch()")
# Careful not to hit the network during unpacking; all history should already
# be fetched.
#
# The repeated attempts to do the submodule initialization sandwiched around a sync to
# install the correct remote URLs into the submodules' .git/config metadata are deliberate.
# Bad remote URLs are leftover in the modules' .git/config files from the unpack of bare
# clone tarballs and an initial 'git submodule update' is necessary to prod them back to
# enough life so that the 'git submodule sync' realizes the existing module .git/config
# files exist to be updated.
runfetchcmd("%(basecmd)s submodule update --init --recursive %(fetch_flags)s || (%(basecmd)s submodule sync --recursive && %(basecmd)s submodule update --init --recursive %(fetch_flags)s)" % {'basecmd': ud.basecmd, 'fetch_flags': fetch_flags}, d, workdir=ud.destdir)

View File

@@ -80,7 +80,7 @@ class Hg(FetchMethod):
ud.fullmirror = os.path.join(d.getVar("DL_DIR"), mirrortarball)
ud.mirrortarballs = [mirrortarball]
hgdir = d.getVar("HGDIR") or (d.getVar("DL_DIR") + "/hg/")
hgdir = d.getVar("HGDIR") or (d.getVar("DL_DIR") + "/hg")
ud.pkgdir = os.path.join(hgdir, hgsrcname)
ud.moddir = os.path.join(ud.pkgdir, ud.module)
ud.localfile = ud.moddir

View File

@@ -32,7 +32,6 @@ from bb.fetch2 import runfetchcmd
from bb.fetch2 import logger
from bb.fetch2 import UnpackError
from bb.fetch2 import ParameterError
from distutils import spawn
def subprocess_setup():
# Python installs a SIGPIPE handler by default. This is usually not what
@@ -195,9 +194,11 @@ class Npm(FetchMethod):
outputurl = pdata['dist']['tarball']
data[pkg] = {}
data[pkg]['tgz'] = os.path.basename(outputurl)
if not outputurl in fetchedlist:
self._runwget(ud, d, "%s --directory-prefix=%s %s" % (self.basecmd, ud.prefixdir, outputurl), False)
fetchedlist.append(outputurl)
if outputurl in fetchedlist:
return
self._runwget(ud, d, "%s --directory-prefix=%s %s" % (self.basecmd, ud.prefixdir, outputurl), False)
fetchedlist.append(outputurl)
dependencies = pdata.get('dependencies', {})
optionalDependencies = pdata.get('optionalDependencies', {})

View File

@@ -32,8 +32,9 @@ class Osc(FetchMethod):
ud.module = ud.parm["module"]
# Create paths to osc checkouts
oscdir = d.getVar("OSCDIR") or (d.getVar("DL_DIR") + "/osc")
relpath = self._strip_leading_slashes(ud.path)
ud.pkgdir = os.path.join(d.getVar('OSCDIR'), ud.host)
ud.pkgdir = os.path.join(oscdir, ud.host)
ud.moddir = os.path.join(ud.pkgdir, relpath, ud.module)
if 'rev' in ud.parm:
@@ -54,7 +55,7 @@ class Osc(FetchMethod):
command is "fetch", "update", "info"
"""
basecmd = d.expand('${FETCHCMD_osc}')
basecmd = d.getVar("FETCHCMD_osc") or "/usr/bin/env osc"
proto = ud.parm.get('protocol', 'ocs')

View File

@@ -43,13 +43,9 @@ class Perforce(FetchMethod):
provided by the env, use it. If P4PORT is specified by the recipe, use
its values, which may override the settings in P4CONFIG.
"""
ud.basecmd = d.getVar('FETCHCMD_p4')
if not ud.basecmd:
ud.basecmd = "/usr/bin/env p4"
ud.basecmd = d.getVar("FETCHCMD_p4") or "/usr/bin/env p4"
ud.dldir = d.getVar('P4DIR')
if not ud.dldir:
ud.dldir = '%s/%s' % (d.getVar('DL_DIR'), 'p4')
ud.dldir = d.getVar("P4DIR") or (d.getVar("DL_DIR") + "/p4")
path = ud.url.split('://')[1]
path = path.split(';')[0]

View File

@@ -45,6 +45,8 @@ class Repo(FetchMethod):
"master".
"""
ud.basecmd = d.getVar("FETCHCMD_repo") or "/usr/bin/env repo"
ud.proto = ud.parm.get('protocol', 'git')
ud.branch = ud.parm.get('branch', 'master')
ud.manifest = ud.parm.get('manifest', 'default.xml')
@@ -60,8 +62,8 @@ class Repo(FetchMethod):
logger.debug(1, "%s already exists (or was stashed). Skipping repo init / sync.", ud.localpath)
return
repodir = d.getVar("REPODIR") or (d.getVar("DL_DIR") + "/repo")
gitsrcname = "%s%s" % (ud.host, ud.path.replace("/", "."))
repodir = d.getVar("REPODIR") or os.path.join(d.getVar("DL_DIR"), "repo")
codir = os.path.join(repodir, gitsrcname, ud.manifest)
if ud.user:
@@ -72,11 +74,11 @@ class Repo(FetchMethod):
repodir = os.path.join(codir, "repo")
bb.utils.mkdirhier(repodir)
if not os.path.exists(os.path.join(repodir, ".repo")):
bb.fetch2.check_network_access(d, "repo init -m %s -b %s -u %s://%s%s%s" % (ud.manifest, ud.branch, ud.proto, username, ud.host, ud.path), ud.url)
runfetchcmd("repo init -m %s -b %s -u %s://%s%s%s" % (ud.manifest, ud.branch, ud.proto, username, ud.host, ud.path), d, workdir=repodir)
bb.fetch2.check_network_access(d, "%s init -m %s -b %s -u %s://%s%s%s" % (ud.basecmd, ud.manifest, ud.branch, ud.proto, username, ud.host, ud.path), ud.url)
runfetchcmd("%s init -m %s -b %s -u %s://%s%s%s" % (ud.basecmd, ud.manifest, ud.branch, ud.proto, username, ud.host, ud.path), d, workdir=repodir)
bb.fetch2.check_network_access(d, "repo sync %s" % ud.url, ud.url)
runfetchcmd("repo sync", d, workdir=repodir)
bb.fetch2.check_network_access(d, "%s sync %s" % (ud.basecmd, ud.url), ud.url)
runfetchcmd("%s sync" % ud.basecmd, d, workdir=repodir)
scmdata = ud.parm.get("scmdata", "")
if scmdata == "keep":

View File

@@ -49,7 +49,7 @@ class Svn(FetchMethod):
if not "module" in ud.parm:
raise MissingParameterError('module', ud.url)
ud.basecmd = d.getVar('FETCHCMD_svn')
ud.basecmd = d.getVar("FETCHCMD_svn") or "/usr/bin/env svn --non-interactive --trust-server-cert"
ud.module = ud.parm["module"]
@@ -59,8 +59,9 @@ class Svn(FetchMethod):
ud.path_spec = ud.parm["path_spec"]
# Create paths to svn checkouts
svndir = d.getVar("SVNDIR") or (d.getVar("DL_DIR") + "/svn")
relpath = self._strip_leading_slashes(ud.path)
ud.pkgdir = os.path.join(d.expand('${SVNDIR}'), ud.host, relpath)
ud.pkgdir = os.path.join(svndir, ud.host, relpath)
ud.moddir = os.path.join(ud.pkgdir, ud.module)
ud.setup_revisions(d)

View File

@@ -292,8 +292,12 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
help="Writes the event log of the build to a bitbake event json file. "
"Use '' (empty string) to assign the name automatically.")
parser.add_option("", "--runall", action="store", dest="runall",
help="Run the specified task for all build targets and their dependencies.")
parser.add_option("", "--runall", action="append", dest="runall",
help="Run the specified task for any recipe in the taskgraph of the specified target (even if it wouldn't otherwise have run).")
parser.add_option("", "--runonly", action="append", dest="runonly",
help="Run only the specified task within the taskgraph of the specified targets (and any task dependencies those tasks may have).")
options, targets = parser.parse_args(argv)

View File

@@ -134,8 +134,9 @@ def resolve_file(fn, d):
if not newfn:
raise IOError(errno.ENOENT, "file %s not found in %s" % (fn, bbpath))
fn = newfn
else:
mark_dependency(d, fn)
mark_dependency(d, fn)
if not os.path.isfile(fn):
raise IOError(errno.ENOENT, "file %s not found" % fn)

View File

@@ -335,6 +335,12 @@ def handleInherit(statements, filename, lineno, m):
classes = m.group(1)
statements.append(InheritNode(filename, lineno, classes))
def runAnonFuncs(d):
code = []
for funcname in d.getVar("__BBANONFUNCS", False) or []:
code.append("%s(d)" % funcname)
bb.utils.better_exec("\n".join(code), {"d": d})
def finalize(fn, d, variant = None):
saved_handlers = bb.event.get_handlers().copy()
@@ -349,10 +355,7 @@ def finalize(fn, d, variant = None):
bb.event.fire(bb.event.RecipePreFinalise(fn), d)
bb.data.expandKeys(d)
code = []
for funcname in d.getVar("__BBANONFUNCS", False) or []:
code.append("%s(d)" % funcname)
bb.utils.better_exec("\n".join(code), {"d": d})
runAnonFuncs(d)
tasklist = d.getVar('__BBTASKS', False) or []
bb.event.fire(bb.event.RecipeTaskPreProcess(fn, list(tasklist)), d)

View File

@@ -131,9 +131,6 @@ def handle(fn, d, include):
abs_fn = resolve_file(fn, d)
if include:
bb.parse.mark_dependency(d, abs_fn)
# actual loading
statements = get_statements(fn, abs_fn, base_name)

View File

@@ -134,9 +134,6 @@ def handle(fn, data, include):
abs_fn = resolve_file(fn, data)
f = open(abs_fn, 'r')
if include:
bb.parse.mark_dependency(data, abs_fn)
statements = ast.StatementGroup()
lineno = 0
while True:

View File

@@ -94,13 +94,13 @@ class RunQueueStats:
self.active = self.active - 1
self.failed = self.failed + 1
def taskCompleted(self, number = 1):
self.active = self.active - number
self.completed = self.completed + number
def taskCompleted(self):
self.active = self.active - 1
self.completed = self.completed + 1
def taskSkipped(self, number = 1):
self.active = self.active + number
self.skipped = self.skipped + number
def taskSkipped(self):
self.active = self.active + 1
self.skipped = self.skipped + 1
def taskActive(self):
self.active = self.active + 1
@@ -134,6 +134,7 @@ class RunQueueScheduler(object):
self.prio_map = [self.rqdata.runtaskentries.keys()]
self.buildable = []
self.skip_maxthread = {}
self.stamps = {}
for tid in self.rqdata.runtaskentries:
(mc, fn, taskname, taskfn) = split_tid_mcfn(tid)
@@ -150,8 +151,25 @@ class RunQueueScheduler(object):
self.buildable = [x for x in self.buildable if x not in self.rq.runq_running]
if not self.buildable:
return None
# Filter out tasks that have a max number of threads that have been exceeded
skip_buildable = {}
for running in self.rq.runq_running.difference(self.rq.runq_complete):
rtaskname = taskname_from_tid(running)
if rtaskname not in self.skip_maxthread:
self.skip_maxthread[rtaskname] = self.rq.cfgData.getVarFlag(rtaskname, "number_threads")
if not self.skip_maxthread[rtaskname]:
continue
if rtaskname in skip_buildable:
skip_buildable[rtaskname] += 1
else:
skip_buildable[rtaskname] = 1
if len(self.buildable) == 1:
tid = self.buildable[0]
taskname = taskname_from_tid(tid)
if taskname in skip_buildable and skip_buildable[taskname] >= int(self.skip_maxthread[taskname]):
return None
stamp = self.stamps[tid]
if stamp not in self.rq.build_stamps.values():
return tid
@@ -164,6 +182,9 @@ class RunQueueScheduler(object):
best = None
bestprio = None
for tid in self.buildable:
taskname = taskname_from_tid(tid)
if taskname in skip_buildable and skip_buildable[taskname] >= int(self.skip_maxthread[taskname]):
continue
prio = self.rev_prio_map[tid]
if bestprio is None or bestprio > prio:
stamp = self.stamps[tid]
@@ -581,12 +602,6 @@ class RunQueueData:
if t in taskData[mc].taskentries:
depends.add(t)
def add_resolved_dependencies(mc, fn, tasknames, depends):
for taskname in tasknames:
tid = build_tid(mc, fn, taskname)
if tid in self.runtaskentries:
depends.add(tid)
for mc in taskData:
for tid in taskData[mc].taskentries:
@@ -673,57 +688,106 @@ class RunQueueData:
recursiveitasks[tid].append(newdep)
self.runtaskentries[tid].depends = depends
# Remove all self references
self.runtaskentries[tid].depends.discard(tid)
#self.dump_data()
self.init_progress_reporter.next_stage()
# Resolve recursive 'recrdeptask' dependencies (Part B)
#
# e.g. do_sometask[recrdeptask] = "do_someothertask"
# (makes sure sometask runs after someothertask of all DEPENDS, RDEPENDS and intertask dependencies, recursively)
# We need to do this separately since we need all of runtaskentries[*].depends to be complete before this is processed
self.init_progress_reporter.next_stage(len(recursivetasks))
extradeps = {}
for taskcounter, tid in enumerate(recursivetasks):
extradeps[tid] = set(self.runtaskentries[tid].depends)
tasknames = recursivetasks[tid]
seendeps = set()
# Generating/interating recursive lists of dependencies is painful and potentially slow
# Precompute recursive task dependencies here by:
# a) create a temp list of reverse dependencies (revdeps)
# b) walk up the ends of the chains (when a given task no longer has dependencies i.e. len(deps) == 0)
# c) combine the total list of dependencies in cumulativedeps
# d) optimise by pre-truncating 'task' off the items in cumulativedeps (keeps items in sets lower)
def generate_recdeps(t):
newdeps = set()
(mc, fn, taskname, _) = split_tid_mcfn(t)
add_resolved_dependencies(mc, fn, tasknames, newdeps)
extradeps[tid].update(newdeps)
seendeps.add(t)
newdeps.add(t)
for i in newdeps:
if i not in self.runtaskentries:
# Not all recipes might have the recrdeptask task as a task
continue
task = self.runtaskentries[i].task
for n in self.runtaskentries[i].depends:
if n not in seendeps:
generate_recdeps(n)
generate_recdeps(tid)
if tid in recursiveitasks:
for dep in recursiveitasks[tid]:
generate_recdeps(dep)
self.init_progress_reporter.update(taskcounter)
# Remove circular references so that do_a[recrdeptask] = "do_a do_b" can work
for tid in recursivetasks:
extradeps[tid].difference_update(recursivetasksselfref)
revdeps = {}
deps = {}
cumulativedeps = {}
for tid in self.runtaskentries:
task = self.runtaskentries[tid].task
# Add in extra dependencies
if tid in extradeps:
self.runtaskentries[tid].depends = extradeps[tid]
# Remove all self references
if tid in self.runtaskentries[tid].depends:
logger.debug(2, "Task %s contains self reference!", tid)
self.runtaskentries[tid].depends.remove(tid)
deps[tid] = set(self.runtaskentries[tid].depends)
revdeps[tid] = set()
cumulativedeps[tid] = set()
# Generate a temp list of reverse dependencies
for tid in self.runtaskentries:
for dep in self.runtaskentries[tid].depends:
revdeps[dep].add(tid)
# Find the dependency chain endpoints
endpoints = set()
for tid in self.runtaskentries:
if len(deps[tid]) == 0:
endpoints.add(tid)
# Iterate the chains collating dependencies
while endpoints:
next = set()
for tid in endpoints:
for dep in revdeps[tid]:
cumulativedeps[dep].add(fn_from_tid(tid))
cumulativedeps[dep].update(cumulativedeps[tid])
if tid in deps[dep]:
deps[dep].remove(tid)
if len(deps[dep]) == 0:
next.add(dep)
endpoints = next
#for tid in deps:
# if len(deps[tid]) != 0:
# bb.warn("Sanity test failure, dependencies left for %s (%s)" % (tid, deps[tid]))
# Loop here since recrdeptasks can depend upon other recrdeptasks and we have to
# resolve these recursively until we aren't adding any further extra dependencies
extradeps = True
while extradeps:
extradeps = 0
for tid in recursivetasks:
tasknames = recursivetasks[tid]
totaldeps = set(self.runtaskentries[tid].depends)
if tid in recursiveitasks:
totaldeps.update(recursiveitasks[tid])
for dep in recursiveitasks[tid]:
if dep not in self.runtaskentries:
continue
totaldeps.update(self.runtaskentries[dep].depends)
deps = set()
for dep in totaldeps:
if dep in cumulativedeps:
deps.update(cumulativedeps[dep])
for t in deps:
for taskname in tasknames:
newtid = t + ":" + taskname
if newtid == tid:
continue
if newtid in self.runtaskentries and newtid not in self.runtaskentries[tid].depends:
extradeps += 1
self.runtaskentries[tid].depends.add(newtid)
# Handle recursive tasks which depend upon other recursive tasks
deps = set()
for dep in self.runtaskentries[tid].depends.intersection(recursivetasks):
deps.update(self.runtaskentries[dep].depends.difference(self.runtaskentries[tid].depends))
for newtid in deps:
for taskname in tasknames:
if not newtid.endswith(":" + taskname):
continue
if newtid in self.runtaskentries:
extradeps += 1
self.runtaskentries[tid].depends.add(newtid)
bb.debug(1, "Added %s recursive dependencies in this loop" % extradeps)
# Remove recrdeptask circular references so that do_a[recrdeptask] = "do_a do_b" can work
for tid in recursivetasksselfref:
self.runtaskentries[tid].depends.difference_update(recursivetasksselfref)
self.init_progress_reporter.next_stage()
@@ -798,30 +862,57 @@ class RunQueueData:
#
# Once all active tasks are marked, prune the ones we don't need.
delcount = 0
delcount = {}
for tid in list(self.runtaskentries.keys()):
if tid not in runq_build:
delcount[tid] = self.runtaskentries[tid]
del self.runtaskentries[tid]
delcount += 1
self.init_progress_reporter.next_stage()
if self.cooker.configuration.runall is not None:
runall = "do_%s" % self.cooker.configuration.runall
runall_tids = { k: v for k, v in self.runtaskentries.items() if taskname_from_tid(k) == runall }
# Handle --runall
if self.cooker.configuration.runall:
# re-run the mark_active and then drop unused tasks from new list
runq_build = {}
for tid in list(runall_tids):
mark_active(tid,1)
for task in self.cooker.configuration.runall:
runall_tids = set()
for tid in list(self.runtaskentries):
wanttid = fn_from_tid(tid) + ":do_%s" % task
if wanttid in delcount:
self.runtaskentries[wanttid] = delcount[wanttid]
if wanttid in self.runtaskentries:
runall_tids.add(wanttid)
for tid in list(runall_tids):
mark_active(tid,1)
for tid in list(self.runtaskentries.keys()):
if tid not in runq_build:
delcount[tid] = self.runtaskentries[tid]
del self.runtaskentries[tid]
delcount += 1
if len(self.runtaskentries) == 0:
bb.msg.fatal("RunQueue", "No remaining tasks to run for build target %s with runall %s" % (target, runall))
bb.msg.fatal("RunQueue", "Could not find any tasks with the tasknames %s to run within the recipes of the taskgraphs of the targets %s" % (str(self.cooker.configuration.runall), str(self.targets)))
self.init_progress_reporter.next_stage()
# Handle runonly
if self.cooker.configuration.runonly:
# re-run the mark_active and then drop unused tasks from new list
runq_build = {}
for task in self.cooker.configuration.runonly:
runonly_tids = { k: v for k, v in self.runtaskentries.items() if taskname_from_tid(k) == "do_%s" % task }
for tid in list(runonly_tids):
mark_active(tid,1)
for tid in list(self.runtaskentries.keys()):
if tid not in runq_build:
delcount[tid] = self.runtaskentries[tid]
del self.runtaskentries[tid]
if len(self.runtaskentries) == 0:
bb.msg.fatal("RunQueue", "Could not find any tasks with the tasknames %s to run within the taskgraphs of the targets %s" % (str(self.cooker.configuration.runonly), str(self.targets)))
#
# Step D - Sanity checks and computation
@@ -834,7 +925,7 @@ class RunQueueData:
else:
bb.msg.fatal("RunQueue", "No active tasks and not in --continue mode?! Please report this bug.")
logger.verbose("Pruned %s inactive tasks, %s left", delcount, len(self.runtaskentries))
logger.verbose("Pruned %s inactive tasks, %s left", len(delcount), len(self.runtaskentries))
logger.verbose("Assign Weightings")
@@ -970,7 +1061,7 @@ class RunQueueData:
# Create a whitelist usable by the stamp checks
self.stampfnwhitelist = {}
for mc in self.taskData:
for mc in self.taskData:
self.stampfnwhitelist[mc] = []
for entry in self.stampwhitelist.split():
if entry not in self.taskData[mc].build_targets:
@@ -1002,7 +1093,7 @@ class RunQueueData:
bb.debug(1, "Task %s is marked nostamp, cannot invalidate this task" % taskname)
else:
logger.verbose("Invalidate task %s, %s", taskname, fn)
bb.parse.siggen.invalidate_task(taskname, self.dataCaches[mc], fn)
bb.parse.siggen.invalidate_task(taskname, self.dataCaches[mc], taskfn)
self.init_progress_reporter.next_stage()
@@ -1795,14 +1886,13 @@ class RunQueueExecuteTasks(RunQueueExecute):
continue
if revdep in self.runq_buildable:
continue
alldeps = 1
alldeps = True
for dep in self.rqdata.runtaskentries[revdep].depends:
if dep not in self.runq_complete:
alldeps = 0
if alldeps == 1:
alldeps = False
break
if alldeps:
self.setbuildable(revdep)
fn = fn_from_tid(revdep)
taskname = taskname_from_tid(revdep)
logger.debug(1, "Marking task %s as buildable", revdep)
def task_complete(self, task):
@@ -1826,8 +1916,8 @@ class RunQueueExecuteTasks(RunQueueExecute):
self.setbuildable(task)
bb.event.fire(runQueueTaskSkipped(task, self.stats, self.rq, reason), self.cfgData)
self.task_completeoutright(task)
self.stats.taskCompleted()
self.stats.taskSkipped()
self.stats.taskCompleted()
def execute(self):
"""
@@ -2272,8 +2362,8 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
def task_failoutright(self, task):
self.runq_running.add(task)
self.runq_buildable.add(task)
self.stats.taskCompleted()
self.stats.taskSkipped()
self.stats.taskCompleted()
self.scenequeue_notcovered.add(task)
self.scenequeue_updatecounters(task, True)
@@ -2281,8 +2371,8 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
self.runq_running.add(task)
self.runq_buildable.add(task)
self.task_completeoutright(task)
self.stats.taskCompleted()
self.stats.taskSkipped()
self.stats.taskCompleted()
def execute(self):
"""

View File

@@ -223,6 +223,8 @@ class ProcessServer(multiprocessing.Process):
try:
self.cooker.shutdown(True)
self.cooker.notifier.stop()
self.cooker.confignotifier.stop()
except:
pass
@@ -375,11 +377,12 @@ class BitBakeServer(object):
if os.path.exists(sockname):
os.unlink(sockname)
# Place the log in the builddirectory alongside the lock file
logfile = os.path.join(os.path.dirname(self.bitbake_lock.name), "bitbake-cookerdaemon.log")
self.sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
# AF_UNIX has path length issues so chdir here to workaround
cwd = os.getcwd()
logfile = os.path.join(cwd, "bitbake-cookerdaemon.log")
try:
os.chdir(os.path.dirname(sockname))
self.sock.bind(os.path.basename(sockname))

View File

@@ -1,820 +0,0 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
##########################################################################
#
# Copyright (C) 2005-2006 Michael 'Mickey' Lauer <mickey@Vanille.de>
# Copyright (C) 2005-2006 Vanille Media
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
##########################################################################
#
# Thanks to:
# * Holger Freyther <zecke@handhelds.org>
# * Justin Patrin <papercrane@reversefold.com>
#
##########################################################################
"""
BitBake Shell
IDEAS:
* list defined tasks per package
* list classes
* toggle force
* command to reparse just one (or more) bbfile(s)
* automatic check if reparsing is necessary (inotify?)
* frontend for bb file manipulation
* more shell-like features:
- output control, i.e. pipe output into grep, sort, etc.
- job control, i.e. bring running commands into background and foreground
* start parsing in background right after startup
* ncurses interface
PROBLEMS:
* force doesn't always work
* readline completion for commands with more than one parameters
"""
##########################################################################
# Import and setup global variables
##########################################################################
from __future__ import print_function
from functools import reduce
try:
set
except NameError:
from sets import Set as set
import sys, os, readline, socket, httplib, urllib, commands, popen2, shlex, Queue, fnmatch
from bb import data, parse, build, cache, taskdata, runqueue, providers as Providers
__version__ = "0.5.3.1"
__credits__ = """BitBake Shell Version %s (C) 2005 Michael 'Mickey' Lauer <mickey@Vanille.de>
Type 'help' for more information, press CTRL-D to exit.""" % __version__
cmds = {}
leave_mainloop = False
last_exception = None
cooker = None
parsed = False
debug = os.environ.get( "BBSHELL_DEBUG", "" )
##########################################################################
# Class BitBakeShellCommands
##########################################################################
class BitBakeShellCommands:
"""This class contains the valid commands for the shell"""
def __init__( self, shell ):
"""Register all the commands"""
self._shell = shell
for attr in BitBakeShellCommands.__dict__:
if not attr.startswith( "_" ):
if attr.endswith( "_" ):
command = attr[:-1].lower()
else:
command = attr[:].lower()
method = getattr( BitBakeShellCommands, attr )
debugOut( "registering command '%s'" % command )
# scan number of arguments
usage = getattr( method, "usage", "" )
if usage != "<...>":
numArgs = len( usage.split() )
else:
numArgs = -1
shell.registerCommand( command, method, numArgs, "%s %s" % ( command, usage ), method.__doc__ )
def _checkParsed( self ):
if not parsed:
print("SHELL: This command needs to parse bbfiles...")
self.parse( None )
def _findProvider( self, item ):
self._checkParsed()
# Need to use taskData for this information
preferred = data.getVar( "PREFERRED_PROVIDER_%s" % item, cooker.configuration.data, 1 )
if not preferred: preferred = item
try:
lv, lf, pv, pf = Providers.findBestProvider(preferred, cooker.configuration.data, cooker.status)
except KeyError:
if item in cooker.status.providers:
pf = cooker.status.providers[item][0]
else:
pf = None
return pf
def alias( self, params ):
"""Register a new name for a command"""
new, old = params
if not old in cmds:
print("ERROR: Command '%s' not known" % old)
else:
cmds[new] = cmds[old]
print("OK")
alias.usage = "<alias> <command>"
def buffer( self, params ):
"""Dump specified output buffer"""
index = params[0]
print(self._shell.myout.buffer( int( index ) ))
buffer.usage = "<index>"
def buffers( self, params ):
"""Show the available output buffers"""
commands = self._shell.myout.bufferedCommands()
if not commands:
print("SHELL: No buffered commands available yet. Start doing something.")
else:
print("="*35, "Available Output Buffers", "="*27)
for index, cmd in enumerate( commands ):
print("| %s %s" % ( str( index ).ljust( 3 ), cmd ))
print("="*88)
def build( self, params, cmd = "build" ):
"""Build a providee"""
global last_exception
globexpr = params[0]
self._checkParsed()
names = globfilter( cooker.status.pkg_pn, globexpr )
if len( names ) == 0: names = [ globexpr ]
print("SHELL: Building %s" % ' '.join( names ))
td = taskdata.TaskData(cooker.configuration.abort)
localdata = data.createCopy(cooker.configuration.data)
data.update_data(localdata)
data.expandKeys(localdata)
try:
tasks = []
for name in names:
td.add_provider(localdata, cooker.status, name)
providers = td.get_provider(name)
if len(providers) == 0:
raise Providers.NoProvider
tasks.append([name, "do_%s" % cmd])
td.add_unresolved(localdata, cooker.status)
rq = runqueue.RunQueue(cooker, localdata, cooker.status, td, tasks)
rq.prepare_runqueue()
rq.execute_runqueue()
except Providers.NoProvider:
print("ERROR: No Provider")
last_exception = Providers.NoProvider
except runqueue.TaskFailure as fnids:
last_exception = runqueue.TaskFailure
except build.FuncFailed as e:
print("ERROR: Couldn't build '%s'" % names)
last_exception = e
build.usage = "<providee>"
def clean( self, params ):
"""Clean a providee"""
self.build( params, "clean" )
clean.usage = "<providee>"
def compile( self, params ):
"""Execute 'compile' on a providee"""
self.build( params, "compile" )
compile.usage = "<providee>"
def configure( self, params ):
"""Execute 'configure' on a providee"""
self.build( params, "configure" )
configure.usage = "<providee>"
def install( self, params ):
"""Execute 'install' on a providee"""
self.build( params, "install" )
install.usage = "<providee>"
def edit( self, params ):
"""Call $EDITOR on a providee"""
name = params[0]
bbfile = self._findProvider( name )
if bbfile is not None:
os.system( "%s %s" % ( os.environ.get( "EDITOR", "vi" ), bbfile ) )
else:
print("ERROR: Nothing provides '%s'" % name)
edit.usage = "<providee>"
def environment( self, params ):
"""Dump out the outer BitBake environment"""
cooker.showEnvironment()
def exit_( self, params ):
"""Leave the BitBake Shell"""
debugOut( "setting leave_mainloop to true" )
global leave_mainloop
leave_mainloop = True
def fetch( self, params ):
"""Fetch a providee"""
self.build( params, "fetch" )
fetch.usage = "<providee>"
def fileBuild( self, params, cmd = "build" ):
"""Parse and build a .bb file"""
global last_exception
name = params[0]
bf = completeFilePath( name )
print("SHELL: Calling '%s' on '%s'" % ( cmd, bf ))
try:
cooker.buildFile(bf, cmd)
except parse.ParseError:
print("ERROR: Unable to open or parse '%s'" % bf)
except build.FuncFailed as e:
print("ERROR: Couldn't build '%s'" % name)
last_exception = e
fileBuild.usage = "<bbfile>"
def fileClean( self, params ):
"""Clean a .bb file"""
self.fileBuild( params, "clean" )
fileClean.usage = "<bbfile>"
def fileEdit( self, params ):
"""Call $EDITOR on a .bb file"""
name = params[0]
os.system( "%s %s" % ( os.environ.get( "EDITOR", "vi" ), completeFilePath( name ) ) )
fileEdit.usage = "<bbfile>"
def fileRebuild( self, params ):
"""Rebuild (clean & build) a .bb file"""
self.fileBuild( params, "rebuild" )
fileRebuild.usage = "<bbfile>"
def fileReparse( self, params ):
"""(re)Parse a bb file"""
bbfile = params[0]
print("SHELL: Parsing '%s'" % bbfile)
parse.update_mtime( bbfile )
cooker.parser.reparse(bbfile)
if False: #fromCache:
print("SHELL: File has not been updated, not reparsing")
else:
print("SHELL: Parsed")
fileReparse.usage = "<bbfile>"
def abort( self, params ):
"""Toggle abort task execution flag (see bitbake -k)"""
cooker.configuration.abort = not cooker.configuration.abort
print("SHELL: Abort Flag is now '%s'" % repr( cooker.configuration.abort ))
def force( self, params ):
"""Toggle force task execution flag (see bitbake -f)"""
cooker.configuration.force = not cooker.configuration.force
print("SHELL: Force Flag is now '%s'" % repr( cooker.configuration.force ))
def help( self, params ):
"""Show a comprehensive list of commands and their purpose"""
print("="*30, "Available Commands", "="*30)
for cmd in sorted(cmds):
function, numparams, usage, helptext = cmds[cmd]
print("| %s | %s" % (usage.ljust(30), helptext))
print("="*78)
def lastError( self, params ):
"""Show the reason or log that was produced by the last BitBake event exception"""
if last_exception is None:
print("SHELL: No Errors yet (Phew)...")
else:
reason, event = last_exception.args
print("SHELL: Reason for the last error: '%s'" % reason)
if ':' in reason:
msg, filename = reason.split( ':' )
filename = filename.strip()
print("SHELL: Dumping log file for last error:")
try:
print(open( filename ).read())
except IOError:
print("ERROR: Couldn't open '%s'" % filename)
def match( self, params ):
"""Dump all files or providers matching a glob expression"""
what, globexpr = params
if what == "files":
self._checkParsed()
for key in globfilter( cooker.status.pkg_fn, globexpr ): print(key)
elif what == "providers":
self._checkParsed()
for key in globfilter( cooker.status.pkg_pn, globexpr ): print(key)
else:
print("Usage: match %s" % self.print_.usage)
match.usage = "<files|providers> <glob>"
def new( self, params ):
"""Create a new .bb file and open the editor"""
dirname, filename = params
packages = '/'.join( data.getVar( "BBFILES", cooker.configuration.data, 1 ).split('/')[:-2] )
fulldirname = "%s/%s" % ( packages, dirname )
if not os.path.exists( fulldirname ):
print("SHELL: Creating '%s'" % fulldirname)
os.mkdir( fulldirname )
if os.path.exists( fulldirname ) and os.path.isdir( fulldirname ):
if os.path.exists( "%s/%s" % ( fulldirname, filename ) ):
print("SHELL: ERROR: %s/%s already exists" % ( fulldirname, filename ))
return False
print("SHELL: Creating '%s/%s'" % ( fulldirname, filename ))
newpackage = open( "%s/%s" % ( fulldirname, filename ), "w" )
print("""DESCRIPTION = ""
SECTION = ""
AUTHOR = ""
HOMEPAGE = ""
MAINTAINER = ""
LICENSE = "GPL"
PR = "r0"
SRC_URI = ""
#inherit base
#do_configure() {
#
#}
#do_compile() {
#
#}
#do_stage() {
#
#}
#do_install() {
#
#}
""", file=newpackage)
newpackage.close()
os.system( "%s %s/%s" % ( os.environ.get( "EDITOR" ), fulldirname, filename ) )
new.usage = "<directory> <filename>"
def package( self, params ):
"""Execute 'package' on a providee"""
self.build( params, "package" )
package.usage = "<providee>"
def pasteBin( self, params ):
"""Send a command + output buffer to the pastebin at http://rafb.net/paste"""
index = params[0]
contents = self._shell.myout.buffer( int( index ) )
sendToPastebin( "output of " + params[0], contents )
pasteBin.usage = "<index>"
def pasteLog( self, params ):
"""Send the last event exception error log (if there is one) to http://rafb.net/paste"""
if last_exception is None:
print("SHELL: No Errors yet (Phew)...")
else:
reason, event = last_exception.args
print("SHELL: Reason for the last error: '%s'" % reason)
if ':' in reason:
msg, filename = reason.split( ':' )
filename = filename.strip()
print("SHELL: Pasting log file to pastebin...")
file = open( filename ).read()
sendToPastebin( "contents of " + filename, file )
def patch( self, params ):
"""Execute 'patch' command on a providee"""
self.build( params, "patch" )
patch.usage = "<providee>"
def parse( self, params ):
"""(Re-)parse .bb files and calculate the dependency graph"""
cooker.status = cache.CacheData(cooker.caches_array)
ignore = data.getVar("ASSUME_PROVIDED", cooker.configuration.data, 1) or ""
cooker.status.ignored_dependencies = set( ignore.split() )
cooker.handleCollections( data.getVar("BBFILE_COLLECTIONS", cooker.configuration.data, 1) )
(filelist, masked) = cooker.collect_bbfiles()
cooker.parse_bbfiles(filelist, masked, cooker.myProgressCallback)
cooker.buildDepgraph()
global parsed
parsed = True
print()
def reparse( self, params ):
"""(re)Parse a providee's bb file"""
bbfile = self._findProvider( params[0] )
if bbfile is not None:
print("SHELL: Found bbfile '%s' for '%s'" % ( bbfile, params[0] ))
self.fileReparse( [ bbfile ] )
else:
print("ERROR: Nothing provides '%s'" % params[0])
reparse.usage = "<providee>"
def getvar( self, params ):
"""Dump the contents of an outer BitBake environment variable"""
var = params[0]
value = data.getVar( var, cooker.configuration.data, 1 )
print(value)
getvar.usage = "<variable>"
def peek( self, params ):
"""Dump contents of variable defined in providee's metadata"""
name, var = params
bbfile = self._findProvider( name )
if bbfile is not None:
the_data = cache.Cache.loadDataFull(bbfile, cooker.configuration.data)
value = the_data.getVar( var, 1 )
print(value)
else:
print("ERROR: Nothing provides '%s'" % name)
peek.usage = "<providee> <variable>"
def poke( self, params ):
"""Set contents of variable defined in providee's metadata"""
name, var, value = params
bbfile = self._findProvider( name )
if bbfile is not None:
print("ERROR: Sorry, this functionality is currently broken")
#d = cooker.pkgdata[bbfile]
#data.setVar( var, value, d )
# mark the change semi persistant
#cooker.pkgdata.setDirty(bbfile, d)
#print "OK"
else:
print("ERROR: Nothing provides '%s'" % name)
poke.usage = "<providee> <variable> <value>"
def print_( self, params ):
"""Dump all files or providers"""
what = params[0]
if what == "files":
self._checkParsed()
for key in cooker.status.pkg_fn: print(key)
elif what == "providers":
self._checkParsed()
for key in cooker.status.providers: print(key)
else:
print("Usage: print %s" % self.print_.usage)
print_.usage = "<files|providers>"
def python( self, params ):
"""Enter the expert mode - an interactive BitBake Python Interpreter"""
sys.ps1 = "EXPERT BB>>> "
sys.ps2 = "EXPERT BB... "
import code
interpreter = code.InteractiveConsole( dict( globals() ) )
interpreter.interact( "SHELL: Expert Mode - BitBake Python %s\nType 'help' for more information, press CTRL-D to switch back to BBSHELL." % sys.version )
def showdata( self, params ):
"""Execute 'showdata' on a providee"""
cooker.showEnvironment(None, params)
showdata.usage = "<providee>"
def setVar( self, params ):
"""Set an outer BitBake environment variable"""
var, value = params
data.setVar( var, value, cooker.configuration.data )
print("OK")
setVar.usage = "<variable> <value>"
def rebuild( self, params ):
"""Clean and rebuild a .bb file or a providee"""
self.build( params, "clean" )
self.build( params, "build" )
rebuild.usage = "<providee>"
def shell( self, params ):
"""Execute a shell command and dump the output"""
if params != "":
print(commands.getoutput( " ".join( params ) ))
shell.usage = "<...>"
def stage( self, params ):
"""Execute 'stage' on a providee"""
self.build( params, "populate_staging" )
stage.usage = "<providee>"
def status( self, params ):
"""<just for testing>"""
print("-" * 78)
print("building list = '%s'" % cooker.building_list)
print("build path = '%s'" % cooker.build_path)
print("consider_msgs_cache = '%s'" % cooker.consider_msgs_cache)
print("build stats = '%s'" % cooker.stats)
if last_exception is not None: print("last_exception = '%s'" % repr( last_exception.args ))
print("memory output contents = '%s'" % self._shell.myout._buffer)
def test( self, params ):
"""<just for testing>"""
print("testCommand called with '%s'" % params)
def unpack( self, params ):
"""Execute 'unpack' on a providee"""
self.build( params, "unpack" )
unpack.usage = "<providee>"
def which( self, params ):
"""Computes the providers for a given providee"""
# Need to use taskData for this information
item = params[0]
self._checkParsed()
preferred = data.getVar( "PREFERRED_PROVIDER_%s" % item, cooker.configuration.data, 1 )
if not preferred: preferred = item
try:
lv, lf, pv, pf = Providers.findBestProvider(preferred, cooker.configuration.data, cooker.status)
except KeyError:
lv, lf, pv, pf = (None,)*4
try:
providers = cooker.status.providers[item]
except KeyError:
print("SHELL: ERROR: Nothing provides", preferred)
else:
for provider in providers:
if provider == pf: provider = " (***) %s" % provider
else: provider = " %s" % provider
print(provider)
which.usage = "<providee>"
##########################################################################
# Common helper functions
##########################################################################
def completeFilePath( bbfile ):
"""Get the complete bbfile path"""
if not cooker.status: return bbfile
if not cooker.status.pkg_fn: return bbfile
for key in cooker.status.pkg_fn:
if key.endswith( bbfile ):
return key
return bbfile
def sendToPastebin( desc, content ):
"""Send content to http://oe.pastebin.com"""
mydata = {}
mydata["lang"] = "Plain Text"
mydata["desc"] = desc
mydata["cvt_tabs"] = "No"
mydata["nick"] = "%s@%s" % ( os.environ.get( "USER", "unknown" ), socket.gethostname() or "unknown" )
mydata["text"] = content
params = urllib.urlencode( mydata )
headers = {"Content-type": "application/x-www-form-urlencoded", "Accept": "text/plain"}
host = "rafb.net"
conn = httplib.HTTPConnection( "%s:80" % host )
conn.request("POST", "/paste/paste.php", params, headers )
response = conn.getresponse()
conn.close()
if response.status == 302:
location = response.getheader( "location" ) or "unknown"
print("SHELL: Pasted to http://%s%s" % ( host, location ))
else:
print("ERROR: %s %s" % ( response.status, response.reason ))
def completer( text, state ):
"""Return a possible readline completion"""
debugOut( "completer called with text='%s', state='%d'" % ( text, state ) )
if state == 0:
line = readline.get_line_buffer()
if " " in line:
line = line.split()
# we are in second (or more) argument
if line[0] in cmds and hasattr( cmds[line[0]][0], "usage" ): # known command and usage
u = getattr( cmds[line[0]][0], "usage" ).split()[0]
if u == "<variable>":
allmatches = cooker.configuration.data.keys()
elif u == "<bbfile>":
if cooker.status.pkg_fn is None: allmatches = [ "(No Matches Available. Parsed yet?)" ]
else: allmatches = [ x.split("/")[-1] for x in cooker.status.pkg_fn ]
elif u == "<providee>":
if cooker.status.pkg_fn is None: allmatches = [ "(No Matches Available. Parsed yet?)" ]
else: allmatches = cooker.status.providers.iterkeys()
else: allmatches = [ "(No tab completion available for this command)" ]
else: allmatches = [ "(No tab completion available for this command)" ]
else:
# we are in first argument
allmatches = cmds.iterkeys()
completer.matches = [ x for x in allmatches if x[:len(text)] == text ]
#print "completer.matches = '%s'" % completer.matches
if len( completer.matches ) > state:
return completer.matches[state]
else:
return None
def debugOut( text ):
if debug:
sys.stderr.write( "( %s )\n" % text )
def columnize( alist, width = 80 ):
"""
A word-wrap function that preserves existing line breaks
and most spaces in the text. Expects that existing line
breaks are posix newlines (\n).
"""
return reduce(lambda line, word, width=width: '%s%s%s' %
(line,
' \n'[(len(line[line.rfind('\n')+1:])
+ len(word.split('\n', 1)[0]
) >= width)],
word),
alist
)
def globfilter( names, pattern ):
return fnmatch.filter( names, pattern )
##########################################################################
# Class MemoryOutput
##########################################################################
class MemoryOutput:
"""File-like output class buffering the output of the last 10 commands"""
def __init__( self, delegate ):
self.delegate = delegate
self._buffer = []
self.text = []
self._command = None
def startCommand( self, command ):
self._command = command
self.text = []
def endCommand( self ):
if self._command is not None:
if len( self._buffer ) == 10: del self._buffer[0]
self._buffer.append( ( self._command, self.text ) )
def removeLast( self ):
if self._buffer:
del self._buffer[ len( self._buffer ) - 1 ]
self.text = []
self._command = None
def lastBuffer( self ):
if self._buffer:
return self._buffer[ len( self._buffer ) -1 ][1]
def bufferedCommands( self ):
return [ cmd for cmd, output in self._buffer ]
def buffer( self, i ):
if i < len( self._buffer ):
return "BB>> %s\n%s" % ( self._buffer[i][0], "".join( self._buffer[i][1] ) )
else: return "ERROR: Invalid buffer number. Buffer needs to be in (0, %d)" % ( len( self._buffer ) - 1 )
def write( self, text ):
if self._command is not None and text != "BB>> ": self.text.append( text )
if self.delegate is not None: self.delegate.write( text )
def flush( self ):
return self.delegate.flush()
def fileno( self ):
return self.delegate.fileno()
def isatty( self ):
return self.delegate.isatty()
##########################################################################
# Class BitBakeShell
##########################################################################
class BitBakeShell:
def __init__( self ):
"""Register commands and set up readline"""
self.commandQ = Queue.Queue()
self.commands = BitBakeShellCommands( self )
self.myout = MemoryOutput( sys.stdout )
self.historyfilename = os.path.expanduser( "~/.bbsh_history" )
self.startupfilename = os.path.expanduser( "~/.bbsh_startup" )
readline.set_completer( completer )
readline.set_completer_delims( " " )
readline.parse_and_bind("tab: complete")
try:
readline.read_history_file( self.historyfilename )
except IOError:
pass # It doesn't exist yet.
print(__credits__)
def cleanup( self ):
"""Write readline history and clean up resources"""
debugOut( "writing command history" )
try:
readline.write_history_file( self.historyfilename )
except:
print("SHELL: Unable to save command history")
def registerCommand( self, command, function, numparams = 0, usage = "", helptext = "" ):
"""Register a command"""
if usage == "": usage = command
if helptext == "": helptext = function.__doc__ or "<not yet documented>"
cmds[command] = ( function, numparams, usage, helptext )
def processCommand( self, command, params ):
"""Process a command. Check number of params and print a usage string, if appropriate"""
debugOut( "processing command '%s'..." % command )
try:
function, numparams, usage, helptext = cmds[command]
except KeyError:
print("SHELL: ERROR: '%s' command is not a valid command." % command)
self.myout.removeLast()
else:
if (numparams != -1) and (not len( params ) == numparams):
print("Usage: '%s'" % usage)
return
result = function( self.commands, params )
debugOut( "result was '%s'" % result )
def processStartupFile( self ):
"""Read and execute all commands found in $HOME/.bbsh_startup"""
if os.path.exists( self.startupfilename ):
startupfile = open( self.startupfilename, "r" )
for cmdline in startupfile:
debugOut( "processing startup line '%s'" % cmdline )
if not cmdline:
continue
if "|" in cmdline:
print("ERROR: '|' in startup file is not allowed. Ignoring line")
continue
self.commandQ.put( cmdline.strip() )
def main( self ):
"""The main command loop"""
while not leave_mainloop:
try:
if self.commandQ.empty():
sys.stdout = self.myout.delegate
cmdline = raw_input( "BB>> " )
sys.stdout = self.myout
else:
cmdline = self.commandQ.get()
if cmdline:
allCommands = cmdline.split( ';' )
for command in allCommands:
pipecmd = None
#
# special case for expert mode
if command == 'python':
sys.stdout = self.myout.delegate
self.processCommand( command, "" )
sys.stdout = self.myout
else:
self.myout.startCommand( command )
if '|' in command: # disable output
command, pipecmd = command.split( '|' )
delegate = self.myout.delegate
self.myout.delegate = None
tokens = shlex.split( command, True )
self.processCommand( tokens[0], tokens[1:] or "" )
self.myout.endCommand()
if pipecmd is not None: # restore output
self.myout.delegate = delegate
pipe = popen2.Popen4( pipecmd )
pipe.tochild.write( "\n".join( self.myout.lastBuffer() ) )
pipe.tochild.close()
sys.stdout.write( pipe.fromchild.read() )
#
except EOFError:
print()
return
except KeyboardInterrupt:
print()
##########################################################################
# Start function - called from the BitBake command line utility
##########################################################################
def start( aCooker ):
global cooker
cooker = aCooker
bbshell = BitBakeShell()
bbshell.processStartupFile()
bbshell.main()
bbshell.cleanup()
if __name__ == "__main__":
print("SHELL: Sorry, this program should only be called by BitBake.")

View File

@@ -347,7 +347,7 @@ class SignatureGeneratorBasicHash(SignatureGeneratorBasic):
def stampcleanmask(self, stampbase, fn, taskname, extrainfo):
return self.stampfile(stampbase, fn, taskname, extrainfo, clean=True)
def invalidate_task(self, task, d, fn):
bb.note("Tainting hash to force rebuild of task %s, %s" % (fn, task))
bb.build.write_taint(task, d, fn)
@@ -636,7 +636,7 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
if collapsed:
output.extend(recout)
else:
# If a dependent hash changed, might as well print the line above and then defer to the changes in
# If a dependent hash changed, might as well print the line above and then defer to the changes in
# that hash since in all likelyhood, they're the same changes this task also saw.
output = [output[-1]] + recout

View File

@@ -30,28 +30,45 @@ import time
import pickle
from unittest.mock import Mock
from unittest.mock import call
from bb.msg import BBLogFormatter
class EventQueueStub():
class EventQueueStubBase(object):
""" Base class for EventQueueStub classes """
def __init__(self):
self.event_calls = []
return
def _store_event_data_string(self, event):
if isinstance(event, logging.LogRecord):
formatter = BBLogFormatter("%(levelname)s: %(message)s")
self.event_calls.append(formatter.format(event))
else:
self.event_calls.append(bb.event.getName(event))
return
class EventQueueStub(EventQueueStubBase):
""" Class used as specification for UI event handler queue stub objects """
def __init__(self):
return
super(EventQueueStub, self).__init__()
def send(self, event):
return
super(EventQueueStub, self)._store_event_data_string(event)
class PickleEventQueueStub():
class PickleEventQueueStub(EventQueueStubBase):
""" Class used as specification for UI event handler queue stub objects
with sendpickle method """
def __init__(self):
return
super(PickleEventQueueStub, self).__init__()
def sendpickle(self, pickled_event):
return
event = pickle.loads(pickled_event)
super(PickleEventQueueStub, self)._store_event_data_string(event)
class UIClientStub():
class UIClientStub(object):
""" Class used as specification for UI event handler stub objects """
def __init__(self):
self.event = None
@@ -59,7 +76,7 @@ class UIClientStub():
class EventHandlingTest(unittest.TestCase):
""" Event handling test class """
_threadlock_test_calls = []
def setUp(self):
self._test_process = Mock()
@@ -179,6 +196,33 @@ class EventHandlingTest(unittest.TestCase):
self.assertEqual(self._test_process.event_handler2.call_args_list,
expected_event_handler2)
def test_class_handler_filters(self):
""" Test filters for class handlers """
mask = ["bb.event.OperationStarted"]
result = bb.event.register("event_handler1",
self._test_process.event_handler1,
mask)
self.assertEqual(result, bb.event.Registered)
result = bb.event.register("event_handler2",
self._test_process.event_handler2,
"*")
self.assertEqual(result, bb.event.Registered)
bb.event.set_eventfilter(
lambda name, handler, event, d :
name == 'event_handler2' and
bb.event.getName(event) == "OperationStarted")
event1 = bb.event.OperationStarted()
event2 = bb.event.OperationCompleted(total=123)
bb.event.fire_class_handlers(event1, None)
bb.event.fire_class_handlers(event2, None)
bb.event.fire_class_handlers(event2, None)
expected_event_handler1 = []
expected_event_handler2 = [call(event1)]
self.assertEqual(self._test_process.event_handler1.call_args_list,
expected_event_handler1)
self.assertEqual(self._test_process.event_handler2.call_args_list,
expected_event_handler2)
def test_change_handler_event_mapping(self):
""" Test changing the event mapping for class handlers """
event1 = bb.event.OperationStarted()
@@ -196,8 +240,8 @@ class EventHandlingTest(unittest.TestCase):
expected)
# unregister handler and register it only for OperationStarted
result = bb.event.remove("event_handler1",
self._test_process.event_handler1)
bb.event.remove("event_handler1",
self._test_process.event_handler1)
mask = ["bb.event.OperationStarted"]
result = bb.event.register("event_handler1",
self._test_process.event_handler1,
@@ -210,8 +254,8 @@ class EventHandlingTest(unittest.TestCase):
expected)
# unregister handler and register it only for OperationCompleted
result = bb.event.remove("event_handler1",
self._test_process.event_handler1)
bb.event.remove("event_handler1",
self._test_process.event_handler1)
mask = ["bb.event.OperationCompleted"]
result = bb.event.register("event_handler1",
self._test_process.event_handler1,
@@ -259,6 +303,61 @@ class EventHandlingTest(unittest.TestCase):
self.assertEqual(self._test_ui2.event.sendpickle.call_args_list,
expected)
def test_ui_handler_mask_filter(self):
""" Test filters for UI handlers """
mask = ["bb.event.OperationStarted"]
debug_domains = {}
self._test_ui1.event = Mock(spec_set=EventQueueStub)
result = bb.event.register_UIHhandler(self._test_ui1, mainui=True)
bb.event.set_UIHmask(result, logging.INFO, debug_domains, mask)
self._test_ui2.event = Mock(spec_set=PickleEventQueueStub)
result = bb.event.register_UIHhandler(self._test_ui2, mainui=True)
bb.event.set_UIHmask(result, logging.INFO, debug_domains, mask)
event1 = bb.event.OperationStarted()
event2 = bb.event.OperationCompleted(total=1)
bb.event.fire_ui_handlers(event1, None)
bb.event.fire_ui_handlers(event2, None)
expected = [call(event1)]
self.assertEqual(self._test_ui1.event.send.call_args_list,
expected)
expected = [call(pickle.dumps(event1))]
self.assertEqual(self._test_ui2.event.sendpickle.call_args_list,
expected)
def test_ui_handler_log_filter(self):
""" Test log filters for UI handlers """
mask = ["*"]
debug_domains = {'BitBake.Foo': logging.WARNING}
self._test_ui1.event = EventQueueStub()
result = bb.event.register_UIHhandler(self._test_ui1, mainui=True)
bb.event.set_UIHmask(result, logging.ERROR, debug_domains, mask)
self._test_ui2.event = PickleEventQueueStub()
result = bb.event.register_UIHhandler(self._test_ui2, mainui=True)
bb.event.set_UIHmask(result, logging.ERROR, debug_domains, mask)
event1 = bb.event.OperationStarted()
bb.event.fire_ui_handlers(event1, None) # All events match
event_log_handler = bb.event.LogHandler()
logger = logging.getLogger("BitBake")
logger.addHandler(event_log_handler)
logger1 = logging.getLogger("BitBake.Foo")
logger1.warning("Test warning LogRecord1") # Matches debug_domains level
logger1.info("Test info LogRecord") # Filtered out
logger2 = logging.getLogger("BitBake.Bar")
logger2.error("Test error LogRecord") # Matches filter base level
logger2.warning("Test warning LogRecord2") # Filtered out
logger.removeHandler(event_log_handler)
expected = ['OperationStarted',
'WARNING: Test warning LogRecord1',
'ERROR: Test error LogRecord']
self.assertEqual(self._test_ui1.event.event_calls, expected)
self.assertEqual(self._test_ui2.event.event_calls, expected)
def test_fire(self):
""" Test fire method used to trigger class and ui event handlers """
mask = ["bb.event.ConfigParsed"]
@@ -289,18 +388,28 @@ class EventHandlingTest(unittest.TestCase):
self.assertEqual(self._test_ui1.event.send.call_args_list,
expected)
def test_worker_fire(self):
""" Test the triggering of bb.event.worker_fire callback """
bb.event.worker_fire = Mock()
event = bb.event.Event()
bb.event.fire(event, None)
expected = [call(event, None)]
self.assertEqual(bb.event.worker_fire.call_args_list, expected)
def test_print_ui_queue(self):
""" Test print_ui_queue method """
event1 = bb.event.OperationStarted()
event2 = bb.event.OperationCompleted(total=123)
bb.event.fire(event1, None)
bb.event.fire(event2, None)
event_log_handler = bb.event.LogHandler()
logger = logging.getLogger("BitBake")
logger.addHandler(bb.event.LogHandler())
logger.addHandler(event_log_handler)
logger.info("Test info LogRecord")
logger.warning("Test warning LogRecord")
with self.assertLogs("BitBake", level="INFO") as cm:
bb.event.print_ui_queue()
logger.removeHandler(event_log_handler)
self.assertEqual(cm.output,
["INFO:BitBake:Test info LogRecord",
"WARNING:BitBake:Test warning LogRecord"])
@@ -364,6 +473,7 @@ class EventHandlingTest(unittest.TestCase):
self.assertEqual(self._threadlock_test_calls,
["w1_ui1", "w1_ui2", "w2_ui1", "w2_ui2"])
def test_disable_threadlock(self):
""" Test disable_threadlock method """
self._set_threadlock_test_mockups()
@@ -375,3 +485,502 @@ class EventHandlingTest(unittest.TestCase):
# processed before finishing handling the first worker event.
self.assertEqual(self._threadlock_test_calls,
["w1_ui1", "w2_ui1", "w1_ui2", "w2_ui2"])
class EventClassesTest(unittest.TestCase):
""" Event classes test class """
_worker_pid = 54321
def setUp(self):
bb.event.worker_pid = EventClassesTest._worker_pid
def test_Event(self):
""" Test the Event base class """
event = bb.event.Event()
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_HeartbeatEvent(self):
""" Test the HeartbeatEvent class """
time = 10
event = bb.event.HeartbeatEvent(time)
self.assertEqual(event.time, time)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_OperationStarted(self):
""" Test OperationStarted event class """
msg = "Foo Bar"
event = bb.event.OperationStarted(msg)
self.assertEqual(event.msg, msg)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_OperationCompleted(self):
""" Test OperationCompleted event class """
msg = "Foo Bar"
total = 123
event = bb.event.OperationCompleted(total, msg)
self.assertEqual(event.msg, msg)
self.assertEqual(event.total, total)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_OperationProgress(self):
""" Test OperationProgress event class """
msg = "Foo Bar"
total = 123
current = 111
event = bb.event.OperationProgress(current, total, msg)
self.assertEqual(event.msg, msg + ": %s/%s" % (current, total))
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_ConfigParsed(self):
""" Test the ConfigParsed class """
event = bb.event.ConfigParsed()
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_MultiConfigParsed(self):
""" Test MultiConfigParsed event class """
mcdata = {"foobar": "Foo Bar"}
event = bb.event.MultiConfigParsed(mcdata)
self.assertEqual(event.mcdata, mcdata)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_RecipeEvent(self):
""" Test RecipeEvent event base class """
callback = lambda a: 2 * a
event = bb.event.RecipeEvent(callback)
self.assertEqual(event.fn(1), callback(1))
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_RecipePreFinalise(self):
""" Test RecipePreFinalise event class """
callback = lambda a: 2 * a
event = bb.event.RecipePreFinalise(callback)
self.assertEqual(event.fn(1), callback(1))
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_RecipeTaskPreProcess(self):
""" Test RecipeTaskPreProcess event class """
callback = lambda a: 2 * a
tasklist = [("foobar", callback)]
event = bb.event.RecipeTaskPreProcess(callback, tasklist)
self.assertEqual(event.fn(1), callback(1))
self.assertEqual(event.tasklist, tasklist)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_RecipeParsed(self):
""" Test RecipeParsed event base class """
callback = lambda a: 2 * a
event = bb.event.RecipeParsed(callback)
self.assertEqual(event.fn(1), callback(1))
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_StampUpdate(self):
targets = ["foo", "bar"]
stampfns = [lambda:"foobar"]
event = bb.event.StampUpdate(targets, stampfns)
self.assertEqual(event.targets, targets)
self.assertEqual(event.stampPrefix, stampfns)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_BuildBase(self):
""" Test base class for bitbake build events """
name = "foo"
pkgs = ["bar"]
failures = 123
event = bb.event.BuildBase(name, pkgs, failures)
self.assertEqual(event.name, name)
self.assertEqual(event.pkgs, pkgs)
self.assertEqual(event.getFailures(), failures)
name = event.name = "bar"
pkgs = event.pkgs = ["foo"]
self.assertEqual(event.name, name)
self.assertEqual(event.pkgs, pkgs)
self.assertEqual(event.getFailures(), failures)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_BuildInit(self):
""" Test class for bitbake build invocation events """
event = bb.event.BuildInit()
self.assertEqual(event.name, None)
self.assertEqual(event.pkgs, [])
self.assertEqual(event.getFailures(), 0)
name = event.name = "bar"
pkgs = event.pkgs = ["foo"]
self.assertEqual(event.name, name)
self.assertEqual(event.pkgs, pkgs)
self.assertEqual(event.getFailures(), 0)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_BuildStarted(self):
""" Test class for build started events """
name = "foo"
pkgs = ["bar"]
failures = 123
event = bb.event.BuildStarted(name, pkgs, failures)
self.assertEqual(event.name, name)
self.assertEqual(event.pkgs, pkgs)
self.assertEqual(event.getFailures(), failures)
self.assertEqual(event.msg, "Building Started")
name = event.name = "bar"
pkgs = event.pkgs = ["foo"]
msg = event.msg = "foobar"
self.assertEqual(event.name, name)
self.assertEqual(event.pkgs, pkgs)
self.assertEqual(event.getFailures(), failures)
self.assertEqual(event.msg, msg)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_BuildCompleted(self):
""" Test class for build completed events """
total = 1000
name = "foo"
pkgs = ["bar"]
failures = 123
interrupted = 1
event = bb.event.BuildCompleted(total, name, pkgs, failures,
interrupted)
self.assertEqual(event.name, name)
self.assertEqual(event.pkgs, pkgs)
self.assertEqual(event.getFailures(), failures)
self.assertEqual(event.msg, "Building Failed")
event2 = bb.event.BuildCompleted(total, name, pkgs)
self.assertEqual(event2.name, name)
self.assertEqual(event2.pkgs, pkgs)
self.assertEqual(event2.getFailures(), 0)
self.assertEqual(event2.msg, "Building Succeeded")
self.assertEqual(event2.pid, EventClassesTest._worker_pid)
def test_DiskFull(self):
""" Test DiskFull event class """
dev = "/dev/foo"
type = "ext4"
freespace = "104M"
mountpoint = "/"
event = bb.event.DiskFull(dev, type, freespace, mountpoint)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_MonitorDiskEvent(self):
""" Test MonitorDiskEvent class """
available_bytes = 10000000
free_bytes = 90000000
total_bytes = 1000000000
du = bb.event.DiskUsageSample(available_bytes, free_bytes,
total_bytes)
event = bb.event.MonitorDiskEvent(du)
self.assertEqual(event.disk_usage.available_bytes, available_bytes)
self.assertEqual(event.disk_usage.free_bytes, free_bytes)
self.assertEqual(event.disk_usage.total_bytes, total_bytes)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_NoProvider(self):
""" Test NoProvider event class """
item = "foobar"
event1 = bb.event.NoProvider(item)
self.assertEqual(event1.getItem(), item)
self.assertEqual(event1.isRuntime(), False)
self.assertEqual(str(event1), "Nothing PROVIDES 'foobar'")
runtime = True
dependees = ["foo", "bar"]
reasons = None
close_matches = ["foibar", "footbar"]
event2 = bb.event.NoProvider(item, runtime, dependees, reasons,
close_matches)
self.assertEqual(event2.isRuntime(), True)
expected = ("Nothing RPROVIDES 'foobar' (but foo, bar RDEPENDS"
" on or otherwise requires it). Close matches:\n"
" foibar\n"
" footbar")
self.assertEqual(str(event2), expected)
reasons = ["Item does not exist on database"]
close_matches = ["foibar", "footbar"]
event3 = bb.event.NoProvider(item, runtime, dependees, reasons,
close_matches)
expected = ("Nothing RPROVIDES 'foobar' (but foo, bar RDEPENDS"
" on or otherwise requires it)\n"
"Item does not exist on database")
self.assertEqual(str(event3), expected)
self.assertEqual(event3.pid, EventClassesTest._worker_pid)
def test_MultipleProviders(self):
""" Test MultipleProviders event class """
item = "foobar"
candidates = ["foobarv1", "foobars"]
event1 = bb.event.MultipleProviders(item, candidates)
self.assertEqual(event1.isRuntime(), False)
self.assertEqual(event1.getItem(), item)
self.assertEqual(event1.getCandidates(), candidates)
expected = ("Multiple providers are available for foobar (foobarv1,"
" foobars)\n"
"Consider defining a PREFERRED_PROVIDER entry to match "
"foobar")
self.assertEqual(str(event1), expected)
runtime = True
event2 = bb.event.MultipleProviders(item, candidates, runtime)
self.assertEqual(event2.isRuntime(), runtime)
expected = ("Multiple providers are available for runtime foobar "
"(foobarv1, foobars)\n"
"Consider defining a PREFERRED_RPROVIDER entry to match "
"foobar")
self.assertEqual(str(event2), expected)
self.assertEqual(event2.pid, EventClassesTest._worker_pid)
def test_ParseStarted(self):
""" Test ParseStarted event class """
total = 123
event = bb.event.ParseStarted(total)
self.assertEqual(event.msg, "Recipe parsing Started")
self.assertEqual(event.total, total)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_ParseCompleted(self):
""" Test ParseCompleted event class """
cached = 10
parsed = 13
skipped = 7
virtuals = 2
masked = 1
errors = 0
total = 23
event = bb.event.ParseCompleted(cached, parsed, skipped, masked,
virtuals, errors, total)
self.assertEqual(event.msg, "Recipe parsing Completed")
expected = [cached, parsed, skipped, virtuals, masked, errors,
cached + parsed, total]
actual = [event.cached, event.parsed, event.skipped, event.virtuals,
event.masked, event.errors, event.sofar, event.total]
self.assertEqual(str(actual), str(expected))
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_ParseProgress(self):
""" Test ParseProgress event class """
current = 10
total = 100
event = bb.event.ParseProgress(current, total)
self.assertEqual(event.msg,
"Recipe parsing" + ": %s/%s" % (current, total))
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_CacheLoadStarted(self):
""" Test CacheLoadStarted event class """
total = 123
event = bb.event.CacheLoadStarted(total)
self.assertEqual(event.msg, "Loading cache Started")
self.assertEqual(event.total, total)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_CacheLoadProgress(self):
""" Test CacheLoadProgress event class """
current = 10
total = 100
event = bb.event.CacheLoadProgress(current, total)
self.assertEqual(event.msg,
"Loading cache" + ": %s/%s" % (current, total))
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_CacheLoadCompleted(self):
""" Test CacheLoadCompleted event class """
total = 23
num_entries = 12
event = bb.event.CacheLoadCompleted(total, num_entries)
self.assertEqual(event.msg, "Loading cache Completed")
expected = [total, num_entries]
actual = [event.total, event.num_entries]
self.assertEqual(str(actual), str(expected))
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_TreeDataPreparationStarted(self):
""" Test TreeDataPreparationStarted event class """
event = bb.event.TreeDataPreparationStarted()
self.assertEqual(event.msg, "Preparing tree data Started")
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_TreeDataPreparationProgress(self):
""" Test TreeDataPreparationProgress event class """
current = 10
total = 100
event = bb.event.TreeDataPreparationProgress(current, total)
self.assertEqual(event.msg,
"Preparing tree data" + ": %s/%s" % (current, total))
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_TreeDataPreparationCompleted(self):
""" Test TreeDataPreparationCompleted event class """
total = 23
event = bb.event.TreeDataPreparationCompleted(total)
self.assertEqual(event.msg, "Preparing tree data Completed")
self.assertEqual(event.total, total)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_DepTreeGenerated(self):
""" Test DepTreeGenerated event class """
depgraph = Mock()
event = bb.event.DepTreeGenerated(depgraph)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_TargetsTreeGenerated(self):
""" Test TargetsTreeGenerated event class """
model = Mock()
event = bb.event.TargetsTreeGenerated(model)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_ReachableStamps(self):
""" Test ReachableStamps event class """
stamps = [Mock(), Mock()]
event = bb.event.ReachableStamps(stamps)
self.assertEqual(event.stamps, stamps)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_FilesMatchingFound(self):
""" Test FilesMatchingFound event class """
pattern = "foo.*bar"
matches = ["foobar"]
event = bb.event.FilesMatchingFound(pattern, matches)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_ConfigFilesFound(self):
""" Test ConfigFilesFound event class """
variable = "FOO_BAR"
values = ["foo", "bar"]
event = bb.event.ConfigFilesFound(variable, values)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_ConfigFilePathFound(self):
""" Test ConfigFilePathFound event class """
path = "/foo/bar"
event = bb.event.ConfigFilePathFound(path)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_message_classes(self):
""" Test message event classes """
msg = "foobar foo bar"
event = bb.event.MsgBase(msg)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
event = bb.event.MsgDebug(msg)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
event = bb.event.MsgNote(msg)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
event = bb.event.MsgWarn(msg)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
event = bb.event.MsgError(msg)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
event = bb.event.MsgFatal(msg)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
event = bb.event.MsgPlain(msg)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_LogExecTTY(self):
""" Test LogExecTTY event class """
msg = "foo bar"
prog = "foo.sh"
sleep_delay = 10
retries = 3
event = bb.event.LogExecTTY(msg, prog, sleep_delay, retries)
self.assertEqual(event.msg, msg)
self.assertEqual(event.prog, prog)
self.assertEqual(event.sleep_delay, sleep_delay)
self.assertEqual(event.retries, retries)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def _throw_zero_division_exception(self):
a = 1 / 0
return
def _worker_handler(self, event, d):
self._returned_event = event
return
def test_LogHandler(self):
""" Test LogHandler class """
logger = logging.getLogger("TestEventClasses")
logger.propagate = False
handler = bb.event.LogHandler(logging.INFO)
logger.addHandler(handler)
bb.event.worker_fire = self._worker_handler
try:
self._throw_zero_division_exception()
except ZeroDivisionError as ex:
logger.exception(ex)
event = self._returned_event
try:
pe = pickle.dumps(event)
newevent = pickle.loads(pe)
except:
self.fail('Logged event is not serializable')
self.assertEqual(event.taskpid, EventClassesTest._worker_pid)
def test_MetadataEvent(self):
""" Test MetadataEvent class """
eventtype = "footype"
eventdata = {"foo": "bar"}
event = bb.event.MetadataEvent(eventtype, eventdata)
self.assertEqual(event.type, eventtype)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_ProcessStarted(self):
""" Test ProcessStarted class """
processname = "foo"
total = 9783128974
event = bb.event.ProcessStarted(processname, total)
self.assertEqual(event.processname, processname)
self.assertEqual(event.total, total)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_ProcessProgress(self):
""" Test ProcessProgress class """
processname = "foo"
progress = 243224
event = bb.event.ProcessProgress(processname, progress)
self.assertEqual(event.processname, processname)
self.assertEqual(event.progress, progress)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_ProcessFinished(self):
""" Test ProcessFinished class """
processname = "foo"
total = 1242342344
event = bb.event.ProcessFinished(processname)
self.assertEqual(event.processname, processname)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_SanityCheck(self):
""" Test SanityCheck class """
event1 = bb.event.SanityCheck()
self.assertEqual(event1.generateevents, True)
self.assertEqual(event1.pid, EventClassesTest._worker_pid)
generateevents = False
event2 = bb.event.SanityCheck(generateevents)
self.assertEqual(event2.generateevents, generateevents)
self.assertEqual(event2.pid, EventClassesTest._worker_pid)
def test_SanityCheckPassed(self):
""" Test SanityCheckPassed class """
event = bb.event.SanityCheckPassed()
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_SanityCheckFailed(self):
""" Test SanityCheckFailed class """
msg = "The sanity test failed."
event1 = bb.event.SanityCheckFailed(msg)
self.assertEqual(event1.pid, EventClassesTest._worker_pid)
network_error = True
event2 = bb.event.SanityCheckFailed(msg, network_error)
self.assertEqual(event2.pid, EventClassesTest._worker_pid)
def test_network_event_classes(self):
""" Test network event classes """
event1 = bb.event.NetworkTest()
generateevents = False
self.assertEqual(event1.pid, EventClassesTest._worker_pid)
event2 = bb.event.NetworkTest(generateevents)
self.assertEqual(event2.pid, EventClassesTest._worker_pid)
event3 = bb.event.NetworkTestPassed()
self.assertEqual(event3.pid, EventClassesTest._worker_pid)
event4 = bb.event.NetworkTestFailed()
self.assertEqual(event4.pid, EventClassesTest._worker_pid)
def test_FindSigInfoResult(self):
""" Test FindSigInfoResult event class """
result = [Mock()]
event = bb.event.FindSigInfoResult(result)
self.assertEqual(event.result, result)
self.assertEqual(event.pid, EventClassesTest._worker_pid)

View File

@@ -20,6 +20,7 @@
#
import unittest
import hashlib
import tempfile
import subprocess
import collections
@@ -401,6 +402,12 @@ class MirrorUriTest(FetcherTest):
: "git://somewhere.org/somedir/mtd-utils.git;tag=1234567890123456789012345678901234567890;protocol=http",
("git://git.invalid.infradead.org/foo/mtd-utils.git;tag=1234567890123456789012345678901234567890", "git://.*/.*", "git://somewhere.org/somedir/MIRRORNAME;protocol=http")
: "git://somewhere.org/somedir/git.invalid.infradead.org.foo.mtd-utils.git;tag=1234567890123456789012345678901234567890;protocol=http",
("http://somewhere.org/somedir1/somedir2/somefile_1.2.3.tar.gz", "http://.*/.*", "http://somewhere2.org")
: "http://somewhere2.org/somefile_1.2.3.tar.gz",
("http://somewhere.org/somedir1/somedir2/somefile_1.2.3.tar.gz", "http://.*/.*", "http://somewhere2.org/")
: "http://somewhere2.org/somefile_1.2.3.tar.gz",
("git://someserver.org/bitbake;tag=1234567890123456789012345678901234567890;branch=master", "git://someserver.org/bitbake;branch=master", "git://git.openembedded.org/bitbake;protocol=http")
: "git://git.openembedded.org/bitbake;tag=1234567890123456789012345678901234567890;branch=master;protocol=http",
#Renaming files doesn't work
#("http://somewhere.org/somedir1/somefile_1.2.3.tar.gz", "http://somewhere.org/somedir1/somefile_1.2.3.tar.gz", "http://somewhere2.org/somedir3/somefile_2.3.4.tar.gz") : "http://somewhere2.org/somedir3/somefile_2.3.4.tar.gz"
@@ -522,6 +529,109 @@ class FetcherLocalTest(FetcherTest):
with self.assertRaises(bb.fetch2.UnpackError):
self.fetchUnpack(['file://a;subdir=/bin/sh'])
class FetcherNoNetworkTest(FetcherTest):
def setUp(self):
super().setUp()
# all test cases are based on not having network
self.d.setVar("BB_NO_NETWORK", "1")
def test_missing(self):
string = "this is a test file\n".encode("utf-8")
self.d.setVarFlag("SRC_URI", "md5sum", hashlib.md5(string).hexdigest())
self.d.setVarFlag("SRC_URI", "sha256sum", hashlib.sha256(string).hexdigest())
self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz")))
self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz.done")))
fetcher = bb.fetch.Fetch(["http://invalid.yoctoproject.org/test-file.tar.gz"], self.d)
with self.assertRaises(bb.fetch2.NetworkAccess):
fetcher.download()
def test_valid_missing_donestamp(self):
# create the file in the download directory with correct hash
string = "this is a test file\n".encode("utf-8")
with open(os.path.join(self.dldir, "test-file.tar.gz"), "wb") as f:
f.write(string)
self.d.setVarFlag("SRC_URI", "md5sum", hashlib.md5(string).hexdigest())
self.d.setVarFlag("SRC_URI", "sha256sum", hashlib.sha256(string).hexdigest())
self.assertTrue(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz")))
self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz.done")))
fetcher = bb.fetch.Fetch(["http://invalid.yoctoproject.org/test-file.tar.gz"], self.d)
fetcher.download()
self.assertTrue(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz.done")))
def test_invalid_missing_donestamp(self):
# create an invalid file in the download directory with incorrect hash
string = "this is a test file\n".encode("utf-8")
with open(os.path.join(self.dldir, "test-file.tar.gz"), "wb"):
pass
self.d.setVarFlag("SRC_URI", "md5sum", hashlib.md5(string).hexdigest())
self.d.setVarFlag("SRC_URI", "sha256sum", hashlib.sha256(string).hexdigest())
self.assertTrue(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz")))
self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz.done")))
fetcher = bb.fetch.Fetch(["http://invalid.yoctoproject.org/test-file.tar.gz"], self.d)
with self.assertRaises(bb.fetch2.NetworkAccess):
fetcher.download()
# the existing file should not exist or should have be moved to "bad-checksum"
self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz")))
def test_nochecksums_missing(self):
self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz")))
self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz.done")))
# ssh fetch does not support checksums
fetcher = bb.fetch.Fetch(["ssh://invalid@invalid.yoctoproject.org/test-file.tar.gz"], self.d)
# attempts to download with missing donestamp
with self.assertRaises(bb.fetch2.NetworkAccess):
fetcher.download()
def test_nochecksums_missing_donestamp(self):
# create a file in the download directory
with open(os.path.join(self.dldir, "test-file.tar.gz"), "wb"):
pass
self.assertTrue(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz")))
self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz.done")))
# ssh fetch does not support checksums
fetcher = bb.fetch.Fetch(["ssh://invalid@invalid.yoctoproject.org/test-file.tar.gz"], self.d)
# attempts to download with missing donestamp
with self.assertRaises(bb.fetch2.NetworkAccess):
fetcher.download()
def test_nochecksums_has_donestamp(self):
# create a file in the download directory with the donestamp
with open(os.path.join(self.dldir, "test-file.tar.gz"), "wb"):
pass
with open(os.path.join(self.dldir, "test-file.tar.gz.done"), "wb"):
pass
self.assertTrue(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz")))
self.assertTrue(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz.done")))
# ssh fetch does not support checksums
fetcher = bb.fetch.Fetch(["ssh://invalid@invalid.yoctoproject.org/test-file.tar.gz"], self.d)
# should not fetch
fetcher.download()
# both files should still exist
self.assertTrue(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz")))
self.assertTrue(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz.done")))
def test_nochecksums_missing_has_donestamp(self):
# create a file in the download directory with the donestamp
with open(os.path.join(self.dldir, "test-file.tar.gz.done"), "wb"):
pass
self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz")))
self.assertTrue(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz.done")))
# ssh fetch does not support checksums
fetcher = bb.fetch.Fetch(["ssh://invalid@invalid.yoctoproject.org/test-file.tar.gz"], self.d)
with self.assertRaises(bb.fetch2.NetworkAccess):
fetcher.download()
# both files should still exist
self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz")))
self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz.done")))
class FetcherNetworkTest(FetcherTest):
@skipIfNoNetwork()
def test_fetch(self):
@@ -728,7 +838,7 @@ class URLHandle(unittest.TestCase):
# decodeurl and we need to handle them
decodedata = datatable.copy()
decodedata.update({
"http://somesite.net;someparam=1": ('http', 'somesite.net', '', '', '', {'someparam': '1'}),
"http://somesite.net;someparam=1": ('http', 'somesite.net', '/', '', '', {'someparam': '1'}),
})
def test_decodeurl(self):
@@ -809,7 +919,7 @@ class FetchLatestVersionTest(FetcherTest):
ud = bb.fetch2.FetchData(k[1], self.d)
pupver= ud.method.latest_versionstring(ud, self.d)
verstring = pupver[0]
self.assertTrue(verstring, msg="Could not find upstream version")
self.assertTrue(verstring, msg="Could not find upstream version for %s" % k[0])
r = bb.utils.vercmp_string(v, verstring)
self.assertTrue(r == -1 or r == 0, msg="Package %s, version: %s <= %s" % (k[0], v, verstring))
@@ -822,7 +932,7 @@ class FetchLatestVersionTest(FetcherTest):
ud = bb.fetch2.FetchData(k[1], self.d)
pupver = ud.method.latest_versionstring(ud, self.d)
verstring = pupver[0]
self.assertTrue(verstring, msg="Could not find upstream version")
self.assertTrue(verstring, msg="Could not find upstream version for %s" % k[0])
r = bb.utils.vercmp_string(v, verstring)
self.assertTrue(r == -1 or r == 0, msg="Package %s, version: %s <= %s" % (k[0], v, verstring))
@@ -874,9 +984,6 @@ class FetchCheckStatusTest(FetcherTest):
class GitMakeShallowTest(FetcherTest):
bitbake_dir = os.path.join(os.path.dirname(os.path.join(__file__)), '..', '..', '..')
make_shallow_path = os.path.join(bitbake_dir, 'bin', 'git-make-shallow')
def setUp(self):
FetcherTest.setUp(self)
self.gitdir = os.path.join(self.tempdir, 'gitshallow')
@@ -905,7 +1012,7 @@ class GitMakeShallowTest(FetcherTest):
def make_shallow(self, args=None):
if args is None:
args = ['HEAD']
return bb.process.run([self.make_shallow_path] + args, cwd=self.gitdir)
return bb.process.run([bb.fetch2.git.Git.make_shallow_path] + args, cwd=self.gitdir)
def add_empty_file(self, path, msg=None):
if msg is None:

View File

@@ -187,7 +187,7 @@ def explode_deps(s):
#r[-1] += ' ' + ' '.join(j)
return r
def explode_dep_versions2(s):
def explode_dep_versions2(s, *, sort=True):
"""
Take an RDEPENDS style string of format:
"DEPEND1 (optional version) DEPEND2 (optional version) ..."
@@ -250,7 +250,8 @@ def explode_dep_versions2(s):
if not (i in r and r[i]):
r[lastdep] = []
r = collections.OrderedDict(sorted(r.items(), key=lambda x: x[0]))
if sort:
r = collections.OrderedDict(sorted(r.items(), key=lambda x: x[0]))
return r
def explode_dep_versions(s):
@@ -806,8 +807,8 @@ def movefile(src, dest, newmtime = None, sstat = None):
return None # failure
try:
if didcopy:
os.lchown(dest, sstat[stat.ST_UID], sstat[stat.ST_GID])
os.chmod(dest, stat.S_IMODE(sstat[stat.ST_MODE])) # Sticky is reset on chown
os.lchown(destpath, sstat[stat.ST_UID], sstat[stat.ST_GID])
os.chmod(destpath, stat.S_IMODE(sstat[stat.ST_MODE])) # Sticky is reset on chown
os.unlink(src)
except Exception as e:
print("movefile: Failed to chown/chmod/unlink", dest, e)

View File

@@ -192,7 +192,7 @@ class LocalhostBEController(BuildEnvironmentController):
if commit != "HEAD":
logger.debug("localhostbecontroller: checking out commit %s to %s " % (commit, localdirname))
ref = commit if re.match('^[a-fA-F0-9]+$', commit) else 'origin/%s' % commit
self._shellcmd('git fetch --all && git reset --hard "%s"' % ref, localdirname,env=git_env)
self._shellcmd('git fetch && git reset --hard "%s"' % ref, localdirname,env=git_env)
# take the localdirname as poky dir if we can find the oe-init-build-env
if self.pokydirname is None and os.path.exists(os.path.join(localdirname, "oe-init-build-env")):

View File

@@ -107,7 +107,10 @@ class Command(BaseCommand):
action="ignore",
message="^.*No fixture named.*$")
print("Importing custom settings if present")
call_command("loaddata", "custom")
try:
call_command("loaddata", "custom")
except:
print("NOTE: optional fixture 'custom' not found")
# we run lsupdates after config update
print("\nFetching information from the layer index, "

View File

@@ -8,9 +8,9 @@
<!-- Bitbake versions which correspond to the metadata release -->
<object model="orm.bitbakeversion" pk="1">
<field type="CharField" name="name">rocko</field>
<field type="CharField" name="name">sumo</field>
<field type="CharField" name="giturl">git://git.openembedded.org/bitbake</field>
<field type="CharField" name="branch">1.36</field>
<field type="CharField" name="branch">1.38</field>
</object>
<object model="orm.bitbakeversion" pk="2">
<field type="CharField" name="name">HEAD</field>
@@ -22,14 +22,19 @@
<field type="CharField" name="giturl">git://git.openembedded.org/bitbake</field>
<field type="CharField" name="branch">master</field>
</object>
<object model="orm.bitbakeversion" pk="4">
<field type="CharField" name="name">rocko</field>
<field type="CharField" name="giturl">git://git.openembedded.org/bitbake</field>
<field type="CharField" name="branch">1.36</field>
</object>
<!-- Releases available -->
<object model="orm.release" pk="1">
<field type="CharField" name="name">rocko</field>
<field type="CharField" name="description">Openembedded Rocko</field>
<field type="CharField" name="description">Openembedded Sumo</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">1</field>
<field type="CharField" name="branch_name">rocko</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"http://cgit.openembedded.org/openembedded-core/log/?h=rocko\"&gt;OpenEmbedded Rocko&lt;/a&gt; branch.</field>
<field type="CharField" name="branch_name">sumo</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"http://cgit.openembedded.org/openembedded-core/log/?h=sumo\"&gt;OpenEmbedded Sumo&lt;/a&gt; branch.</field>
</object>
<object model="orm.release" pk="2">
<field type="CharField" name="name">local</field>
@@ -45,6 +50,13 @@
<field type="CharField" name="branch_name">master</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"http://cgit.openembedded.org/openembedded-core/log/\"&gt;OpenEmbedded master&lt;/a&gt; branch.</field>
</object>
<object model="orm.release" pk="4">
<field type="CharField" name="name">rocko</field>
<field type="CharField" name="description">Openembedded Rocko</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">1</field>
<field type="CharField" name="branch_name">rocko</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"http://cgit.openembedded.org/openembedded-core/log/?h=rocko\"&gt;OpenEmbedded Rocko&lt;/a&gt; branch.</field>
</object>
<!-- Default layers for each release -->
<object model="orm.releasedefaultlayer" pk="1">
@@ -59,6 +71,10 @@
<field rel="ManyToOneRel" to="orm.release" name="release">3</field>
<field type="CharField" name="layer_name">openembedded-core</field>
</object>
<object model="orm.releasedefaultlayer" pk="4">
<field rel="ManyToOneRel" to="orm.release" name="release">4</field>
<field type="CharField" name="layer_name">openembedded-core</field>
</object>
<!-- Layer for the Local release -->

View File

@@ -8,9 +8,9 @@
<!-- Bitbake versions which correspond to the metadata release -->
<object model="orm.bitbakeversion" pk="1">
<field type="CharField" name="name">rocko</field>
<field type="CharField" name="name">sumo</field>
<field type="CharField" name="giturl">git://git.yoctoproject.org/poky</field>
<field type="CharField" name="branch">rocko</field>
<field type="CharField" name="branch">sumo</field>
<field type="CharField" name="dirpath">bitbake</field>
</object>
<object model="orm.bitbakeversion" pk="2">
@@ -25,15 +25,21 @@
<field type="CharField" name="branch">master</field>
<field type="CharField" name="dirpath">bitbake</field>
</object>
<object model="orm.bitbakeversion" pk="4">
<field type="CharField" name="name">rocko</field>
<field type="CharField" name="giturl">git://git.yoctoproject.org/poky</field>
<field type="CharField" name="branch">rocko</field>
<field type="CharField" name="dirpath">bitbake</field>
</object>
<!-- Releases available -->
<object model="orm.release" pk="1">
<field type="CharField" name="name">rocko</field>
<field type="CharField" name="description">Yocto Project 2.4 "Rocko"</field>
<field type="CharField" name="name">sumo</field>
<field type="CharField" name="description">Yocto Project 2.5 "Sumo"</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">1</field>
<field type="CharField" name="branch_name">rocko</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=rocko"&gt;Yocto Project Rocko branch&lt;/a&gt;.</field>
<field type="CharField" name="branch_name">sumo</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=sumo"&gt;Yocto Project Sumo branch&lt;/a&gt;.</field>
</object>
<object model="orm.release" pk="2">
<field type="CharField" name="name">local</field>
@@ -49,6 +55,13 @@
<field type="CharField" name="branch_name">master</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/"&gt;Yocto Project Master branch&lt;/a&gt;.</field>
</object>
<object model="orm.release" pk="4">
<field type="CharField" name="name">rocko</field>
<field type="CharField" name="description">Yocto Project 2.4 "Rocko"</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">1</field>
<field type="CharField" name="branch_name">rocko</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=rocko"&gt;Yocto Project Rocko branch&lt;/a&gt;.</field>
</object>
<!-- Default project layers for each release -->
<object model="orm.releasedefaultlayer" pk="1">
@@ -87,6 +100,18 @@
<field rel="ManyToOneRel" to="orm.release" name="release">3</field>
<field type="CharField" name="layer_name">meta-yocto-bsp</field>
</object>
<object model="orm.releasedefaultlayer" pk="10">
<field rel="ManyToOneRel" to="orm.release" name="release">4</field>
<field type="CharField" name="layer_name">openembedded-core</field>
</object>
<object model="orm.releasedefaultlayer" pk="11">
<field rel="ManyToOneRel" to="orm.release" name="release">4</field>
<field type="CharField" name="layer_name">meta-poky</field>
</object>
<object model="orm.releasedefaultlayer" pk="12">
<field rel="ManyToOneRel" to="orm.release" name="release">4</field>
<field type="CharField" name="layer_name">meta-yocto-bsp</field>
</object>
<!-- Default layers provided by poky
openembedded-core
@@ -105,7 +130,7 @@
<field rel="ManyToOneRel" to="orm.layer" name="layer">1</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">1</field>
<field type="CharField" name="branch">rocko</field>
<field type="CharField" name="branch">sumo</field>
<field type="CharField" name="dirpath">meta</field>
</object>
<object model="orm.layer_version" pk="2">
@@ -123,6 +148,13 @@
<field type="CharField" name="branch">master</field>
<field type="CharField" name="dirpath">meta</field>
</object>
<object model="orm.layer_version" pk="4">
<field rel="ManyToOneRel" to="orm.layer" name="layer">1</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">4</field>
<field type="CharField" name="branch">rocko</field>
<field type="CharField" name="dirpath">meta</field>
</object>
<object model="orm.layer" pk="2">
<field type="CharField" name="name">meta-poky</field>
@@ -132,14 +164,14 @@
<field type="CharField" name="vcs_web_tree_base_url">http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/%path%?h=%branch%</field>
<field type="CharField" name="vcs_web_file_base_url">http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/%path%?h=%branch%</field>
</object>
<object model="orm.layer_version" pk="4">
<object model="orm.layer_version" pk="5">
<field rel="ManyToOneRel" to="orm.layer" name="layer">2</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">1</field>
<field type="CharField" name="branch">rocko</field>
<field type="CharField" name="branch">sumo</field>
<field type="CharField" name="dirpath">meta-poky</field>
</object>
<object model="orm.layer_version" pk="5">
<object model="orm.layer_version" pk="6">
<field rel="ManyToOneRel" to="orm.layer" name="layer">2</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">2</field>
@@ -147,13 +179,20 @@
<field type="CharField" name="commit">HEAD</field>
<field type="CharField" name="dirpath">meta-poky</field>
</object>
<object model="orm.layer_version" pk="6">
<object model="orm.layer_version" pk="7">
<field rel="ManyToOneRel" to="orm.layer" name="layer">2</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">3</field>
<field type="CharField" name="branch">master</field>
<field type="CharField" name="dirpath">meta-poky</field>
</object>
<object model="orm.layer_version" pk="8">
<field rel="ManyToOneRel" to="orm.layer" name="layer">2</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">4</field>
<field type="CharField" name="branch">rocko</field>
<field type="CharField" name="dirpath">meta-poky</field>
</object>
<object model="orm.layer" pk="3">
<field type="CharField" name="name">meta-yocto-bsp</field>
@@ -163,14 +202,14 @@
<field type="CharField" name="vcs_web_tree_base_url">http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/%path%?h=%branch%</field>
<field type="CharField" name="vcs_web_file_base_url">http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/%path%?h=%branch%</field>
</object>
<object model="orm.layer_version" pk="7">
<object model="orm.layer_version" pk="9">
<field rel="ManyToOneRel" to="orm.layer" name="layer">3</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">1</field>
<field type="CharField" name="branch">rocko</field>
<field type="CharField" name="branch">sumo</field>
<field type="CharField" name="dirpath">meta-yocto-bsp</field>
</object>
<object model="orm.layer_version" pk="8">
<object model="orm.layer_version" pk="10">
<field rel="ManyToOneRel" to="orm.layer" name="layer">3</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">2</field>
@@ -178,11 +217,18 @@
<field type="CharField" name="commit">HEAD</field>
<field type="CharField" name="dirpath">meta-yocto-bsp</field>
</object>
<object model="orm.layer_version" pk="9">
<object model="orm.layer_version" pk="11">
<field rel="ManyToOneRel" to="orm.layer" name="layer">3</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">3</field>
<field type="CharField" name="branch">master</field>
<field type="CharField" name="dirpath">meta-yocto-bsp</field>
</object>
<object model="orm.layer_version" pk="12">
<field rel="ManyToOneRel" to="orm.layer" name="layer">3</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">4</field>
<field type="CharField" name="branch">rocko</field>
<field type="CharField" name="dirpath">meta-yocto-bsp</field>
</object>
</django-objects>

View File

@@ -48,7 +48,7 @@
# Examples:
#
# make DOC=bsp-guide
# make html DOC=yocto-project-qs
# make html DOC=brief-yoctoprojectqs
# make pdf DOC=ref-manual
# make DOC=dev-manual BRANCH=edison
# make DOC=mega-manual BRANCH=denzil
@@ -56,7 +56,7 @@
# The first example generates the HTML and Eclipse help versions of the BSP Guide.
# The second example generates the HTML version only of the Quick Start. Note
# that the Quick Start only has an HTML version available. So, the
# 'make DOC=yocto-project-qs' command would be equivalent. The third example
# 'make DOC=brief-yoctoprojectqs' command would be equivalent. The third example
# generates just the PDF version of the Yocto Project Reference Manual.
# The fourth example generates the HTML 'edison' version and (if available)
# the Eclipse help version of the YP Development Tasks Manual. The last example
@@ -84,6 +84,40 @@
# for the 'denzil' branch.
#
ifeq ($(DOC),brief-yoctoprojectqs)
XSLTOPTS = --stringparam html.stylesheet brief-yoctoprojectqs-style.css \
--stringparam chapter.autolabel 0 \
--stringparam section.autolabel 0 \
--stringparam section.label.includes.component.label 0 \
--xinclude
ALLPREQ = html eclipse tarball
TARFILES = brief-yoctoprojectqs-style.css brief-yoctoprojectqs.html figures/bypqs-title.png \
figures/yocto-project-transp.png
MANUALS = $(DOC)/$(DOC).html $(DOC)/eclipse
FIGURES = figures
STYLESHEET = $(DOC)/*.css
endif
ifeq ($(DOC),overview-manual)
XSLTOPTS = --xinclude
ALLPREQ = html eclipse tarball
TARFILES = overview-manual-style.css overview-manual.html figures/overview-manual-title.png \
figures/git-workflow.png figures/source-repos.png figures/index-downloads.png \
figures/yp-download.png figures/YP-flow-diagram.png figures/key-dev-elements.png \
figures/poky-reference-distribution.png figures/cross-development-toolchains.png \
figures/user-configuration.png figures/layer-input.png figures/source-input.png \
figures/package-feeds.png figures/patching.png figures/source-fetching.png \
figures/configuration-compile-autoreconf.png figures/analysis-for-package-splitting.png \
figures/image-generation.png figures/sdk-generation.png figures/images.png \
figures/sdk.png \
eclipse
MANUALS = $(DOC)/$(DOC).html $(DOC)/eclipse
FIGURES = figures
STYLESHEET = $(DOC)/*.css
endif
ifeq ($(DOC),bsp-guide)
XSLTOPTS = --xinclude
ALLPREQ = html eclipse tarball
@@ -128,8 +162,8 @@ TARFILES = dev-style.css dev-manual.html \
figures/source-repos.png figures/yp-download.png \
figures/wip.png
else
TARFILES = dev-style.css dev-manual.html \
figures/dev-title.png \
TARFILES = dev-style.css dev-manual.html figures/buildhistory-web.png \
figures/dev-title.png figures/buildhistory.png \
figures/recipe-workflow.png figures/bitbake-build-flow.png \
eclipse
endif
@@ -140,22 +174,6 @@ STYLESHEET = $(DOC)/*.css
endif
ifeq ($(DOC),yocto-project-qs)
XSLTOPTS = --stringparam html.stylesheet qs-style.css \
--stringparam chapter.autolabel 1 \
--stringparam section.autolabel 1 \
--stringparam section.label.includes.component.label 1 \
--xinclude
ALLPREQ = html eclipse tarball
TARFILES = yocto-project-qs.html qs-style.css \
figures/yocto-project-transp.png figures/ypqs-title.png \
eclipse
MANUALS = $(DOC)/$(DOC).html $(DOC)/eclipse
FIGURES = figures
STYLESHEET = $(DOC)/*.css
endif
ifeq ($(DOC),mega-manual)
XSLTOPTS = --stringparam html.stylesheet mega-style.css \
--stringparam chapter.autolabel 1 \
@@ -196,7 +214,7 @@ TARFILES = mega-manual.html mega-style.css figures/yocto-environment.png \
figures/wip.png
else
TARFILES = mega-manual.html mega-style.css \
figures/building-an-image.png figures/YP-flow-diagram.png \
figures/YP-flow-diagram.png \
figures/using-a-pre-built-image.png \
figures/poky-title.png figures/buildhistory.png \
figures/buildhistory-web.png \
@@ -234,22 +252,23 @@ TARFILES = mega-manual.html mega-style.css \
figures/sched-wakeup-profile.png figures/sysprof-callers.png \
figures/sysprof-copy-from-user.png figures/sysprof-copy-to-user.png \
figures/cross-development-toolchains.png \
figures/yocto-environment-ref.png figures/user-configuration.png \
figures/user-configuration.png \
figures/source-input.png figures/package-feeds.png \
figures/layer-input.png figures/images.png figures/sdk.png \
figures/source-fetching.png figures/patching.png \
figures/configuration-compile-autoreconf.png \
figures/analysis-for-package-splitting.png \
figures/image-generation.png \
figures/image-generation.png figures/key-dev-elements.png\
figures/sdk-generation.png figures/recipe-workflow.png \
figures/build-workspace-directory.png figures/mega-title.png \
figures/toaster-title.png figures/hosted-service.png \
figures/simple-configuration.png \
figures/simple-configuration.png figures/poky-reference-distribution.png \
figures/compatible-layers.png figures/import-layer.png figures/new-project.png \
figures/sdk-environment.png figures/sdk-installed-standard-sdk-directory.png \
figures/sdk-devtool-add-flow.png figures/sdk-installed-extensible-sdk-directory.png \
figures/sdk-devtool-modify-flow.png figures/sdk-eclipse-dev-flow.png \
figures/sdk-devtool-upgrade-flow.png figures/bitbake-build-flow.png figures/ypqs-title.png
figures/sdk-devtool-upgrade-flow.png figures/bitbake-build-flow.png figures/bypqs-title.png \
figures/overview-manual-title.png figures/sdk-autotools-flow.png figures/sdk-makefile-flow.png
endif
MANUALS = $(DOC)/$(DOC).html
@@ -261,17 +280,9 @@ endif
ifeq ($(DOC),ref-manual)
XSLTOPTS = --xinclude
ALLPREQ = html eclipse tarball
TARFILES = ref-manual.html ref-style.css figures/poky-title.png figures/YP-flow-diagram.png \
figures/buildhistory.png figures/buildhistory-web.png eclipse \
figures/cross-development-toolchains.png figures/layer-input.png \
figures/package-feeds.png figures/source-input.png \
figures/user-configuration.png figures/yocto-environment-ref.png \
figures/images.png figures/sdk.png figures/source-fetching.png \
figures/patching.png figures/configuration-compile-autoreconf.png \
figures/analysis-for-package-splitting.png figures/image-generation.png \
figures/sdk-generation.png figures/building-an-image.png \
figures/build-workspace-directory.png figures/source-repos.png \
figures/index-downloads.png figures/yp-download.png figures/git-workflow.png
TARFILES = ref-manual.html ref-style.css figures/poky-title.png \
figures/build-workspace-directory.png \
eclipse
MANUALS = $(DOC)/$(DOC).html $(DOC)/eclipse
FIGURES = figures
STYLESHEET = $(DOC)/*.css
@@ -284,7 +295,7 @@ TARFILES = sdk-manual.html sdk-style.css figures/sdk-title.png \
figures/sdk-environment.png figures/sdk-installed-standard-sdk-directory.png \
figures/sdk-installed-extensible-sdk-directory.png figures/sdk-devtool-add-flow.png \
figures/sdk-devtool-modify-flow.png figures/sdk-eclipse-dev-flow.png \
figures/sdk-devtool-upgrade-flow.png \
figures/sdk-devtool-upgrade-flow.png figures/sdk-autotools-flow.png figures/sdk-makefile-flow.png \
eclipse
MANUALS = $(DOC)/$(DOC).html $(DOC)/eclipse
FIGURES = figures
@@ -360,9 +371,9 @@ XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl
all: $(ALLPREQ)
pdf:
ifeq ($(DOC),yocto-project-qs)
ifeq ($(DOC),brief-yoctoprojectqs)
@echo " "
@echo "ERROR: You cannot generate a yocto-project-qs PDF file."
@echo "ERROR: You cannot generate a PDF file for brief-yoctoprojectqs."
@echo " "
else ifeq ($(DOC),mega-manual)
@@ -406,17 +417,18 @@ eclipse: eclipse-generate eclipse-resolve-links
.PHONY : eclipse-generate eclipse-resolve-links
eclipse-generate:
ifeq ($(filter $(DOC), sdk-manual bsp-guide dev-manual kernel-dev profile-manual ref-manual yocto-project-qs),)
ifeq ($(filter $(DOC), overview-manual sdk-manual bsp-guide dev-manual kernel-dev profile-manual ref-manual brief-yoctoprojectqs),)
@echo " "
@echo "ERROR: You can only create eclipse documentation"
@echo " of the following documentation parts:"
@echo " - overview-manual"
@echo " - sdk-manual"
@echo " - bsp-guide"
@echo " - dev-manual"
@echo " - kernel-dev"
@echo " - profile-manual"
@echo " - ref-manual"
@echo " - yocto-project-qs"
@echo " - brief-yoctoprojectqs"
@echo " "
else
@echo " "

View File

@@ -0,0 +1,24 @@
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
<xsl:import href="http://downloads.yoctoproject.org/mirror/docbook-mirror/docbook-xsl-1.76.1/xhtml/docbook.xsl" />
<!--
<xsl:import href="../template/1.76.1/docbook-xsl-1.76.1/xhtml/docbook.xsl" />
<xsl:import href="http://docbook.sourceforge.net/release/xsl/1.76.1/xhtml/docbook.xsl" />
-->
<xsl:import href="brief-yoctoprojectqs-titlepage.xsl"/>
<xsl:include href="../template/permalinks.xsl"/>
<xsl:include href="../template/section.title.xsl"/>
<xsl:include href="../template/component.title.xsl"/>
<xsl:include href="../template/division.title.xsl"/>
<xsl:include href="../template/formal.object.heading.xsl"/>
<xsl:param name="generate.toc" select="'article nop'"></xsl:param>
<xsl:param name="html.stylesheet" select="'brief-yoctoprojectqs-style.css'" />
</xsl:stylesheet>

View File

@@ -16,13 +16,13 @@
-->
<xsl:import href="yocto-project-qs-titlepage.xsl"/>
<xsl:import href="brief-yoctoprojectqs-titlepage.xsl"/>
<xsl:param name="chunker.output.indent" select="'yes'"/>
<xsl:param name="chunk.quietly" select="1"/>
<xsl:param name="use.id.as.filename" select="1"/>
<xsl:param name="ulink.target" select="'_self'" />
<xsl:param name="base.dir" select="'html/yocto-project-qs/'"/>
<xsl:param name="base.dir" select="'html/brief-yoctoprojectqs/'"/>
<xsl:param name="chunk.section.depth" select="0"/>
<xsl:param name="html.stylesheet" select="'../book.css'"/>
<xsl:param name="eclipse.manifest" select="0"/>
@@ -32,3 +32,4 @@
<xsl:param name="generate.toc" select="'article nop'"></xsl:param>
<xsl:param name="html.stylesheet" select="'style.css'" />
</xsl:stylesheet>

View File

@@ -118,7 +118,7 @@ h6 {
background-color: transparent;
background-repeat: no-repeat;
padding-top: 256px;
background-image: url("figures/ypqs-title.png");
background-image: url("figures/bypqs-title.png");
background-position: left top;
margin-top: -256px;
padding-right: 50px;

View File

@@ -0,0 +1,491 @@
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY % poky SYSTEM "../poky.ent"> %poky; ] >
<article id='brief-yocto-project-qs-intro'>
<articleinfo>
<title>Yocto Project Quick Build</title>
<copyright>
<year>&COPYRIGHT_YEAR;</year>
<holder>Linux Foundation</holder>
</copyright>
<legalnotice>
<para>
Permission is granted to copy, distribute and/or modify this document under
the terms of the <ulink type="http" url="http://creativecommons.org/licenses/by-sa/2.0/uk/">Creative Commons Attribution-Share Alike 2.0 UK: England &amp; Wales</ulink> as published by Creative Commons.
</para>
</legalnotice>
<abstract>
<imagedata fileref="figures/yocto-project-transp.png"
width="6in" depth="1in"
align="right" scale="25" />
</abstract>
</articleinfo>
<section id='brief-welcome'>
<title>Welcome!</title>
<para>
Welcome!
This short document steps you through the process for a typical
image build using the Yocto Project.
The document also introduces how to configure a build for specific
hardware.
You will use Yocto Project to build a reference embedded OS
called Poky.
<note>
The examples in this paper assume you are using a native Linux
system running a recent Ubuntu Linux distribution.
If the machine you want to use
Yocto Project on to build an image is not a native Linux
system, you can still perform these steps by using CROss
PlatformS (CROPS) and setting up a Poky container.
See the
<ulink url='&YOCTO_DOCS_DEV_URL;#setting-up-to-use-crops'>Setting Up to Use CROss PlatformS (CROPS)</ulink>"
section in the Yocto Project Development Tasks Manual for more
information.
</note>
</para>
<para>
If you want more conceptual or background information on the
Yocto Project, see the
<ulink url='&YOCTO_DOCS_OM_URL;'>Yocto Project Overview and Concepts Manual</ulink>.
</para>
</section>
<section id='brief-compatible-distro'>
<title>Compatible Linux Distribution</title>
<para>
Make sure your
<ulink url='&YOCTO_DOCS_REF_URL;#hardware-build-system-term'>build host</ulink>
meets the following requirements:
<itemizedlist>
<listitem><para>
50 Gbytes of free disk space
</para></listitem>
<listitem><para>
Runs a supported Linux distribution (i.e. recent releases of
Fedora, openSUSE, CentOS, Debian, or Ubuntu). For a list of
Linux distributions that support the Yocto Project, see the
"<ulink url='&YOCTO_DOCS_REF_URL;#detailed-supported-distros'>Supported Linux Distributions</ulink>"
section in the Yocto Project Reference Manual.
</para></listitem>
<listitem><para>
<itemizedlist>
<listitem><para>
Git 1.8.3.1 or greater
</para></listitem>
<listitem><para>
tar 1.27 or greater
</para></listitem>
<listitem><para>
Python 3.4.0 or greater.
</para></listitem>
</itemizedlist>
If your build host does not meet any of these three listed
version requirements, you can take steps to prepare the
system so that you can still use the Yocto Project.
See the
"<ulink url='&YOCTO_DOCS_REF_URL;#required-git-tar-and-python-versions'>Required Git, tar, and Python Versions</ulink>"
section in the Yocto Project Reference Manual for information.
</para></listitem>
</itemizedlist>
</para>
</section>
<section id='brief-build-system-packages'>
<title>Build Host Packages</title>
<para>
You must install essential host packages on your
build host.
The following command installs the host packages based on an
Ubuntu distribution:
<note>
For host package requirements on all supported Linux
distributions, see the
"<ulink url='&YOCTO_DOCS_REF_URL;#required-packages-for-the-host-development-system'>Required Packages for the Host Development System</ulink>"
section in the Yocto Project Reference Manual.
</note>
<literallayout class='monospaced'>
$ sudo apt-get install &UBUNTU_HOST_PACKAGES_ESSENTIAL; libsdl1.2-dev xterm
</literallayout>
</para>
</section>
<section id='brief-use-git-to-clone-poky'>
<title>Use Git to Clone Poky</title>
<para>
Once you complete the setup instructions for your machine,
you need to get a copy of the Poky repository on your build
host.
Use the following commands to clone the Poky
repository and then checkout the &DISTRO_REL_TAG; release:
<literallayout class='monospaced'>
$ git clone git://git.yoctoproject.org/poky
Cloning into 'poky'...
remote: Counting objects: 361782, done.
remote: Compressing objects: 100% (87100/87100), done.
remote: Total 361782 (delta 268619), reused 361439 (delta 268277)
Receiving objects: 100% (361782/361782), 131.94 MiB | 6.88 MiB/s, done.
Resolving deltas: 100% (268619/268619), done.
Checking connectivity... done.
$ git checkout tags/yocto-2.5 -b my-yocto-2.5
</literallayout>
The previous Git checkout command creates a local branch
named my-&DISTRO_REL_TAG;. The files available to you in that
branch exactly match the repository's files in the
"&DISTRO_NAME_NO_CAP;" development branch at the time of the
Yocto Project &DISTRO; release.
</para>
<para>
For more options and information about accessing Yocto
Project related repositories, see the
"<ulink url='&YOCTO_DOCS_DEV_URL;#locating-yocto-project-source-files'>Locating Yocto Project Source Files</ulink>"
section in the Yocto Project Development Tasks Manual.
</para>
</section>
<section id='brief-building-your-image'>
<title>Building Your Image</title>
<para>
Use the following steps to build your image.
The build process creates an entire Linux distribution, including
the toolchain, from source.
<note>
<itemizedlist>
<listitem><para>
If you are working behind a firewall and your build
host is not set up for proxies, you could encounter
problems with the build process when fetching source
code (e.g. fetcher failures or Git failures).
</para></listitem>
<listitem><para>
If you do not know your proxy settings, consult your
local network infrastructure resources and get that
information.
A good starting point could also be to check your
web browser settings.
Finally, you can find more information on the
"<ulink url='https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy'>Working Behind a Network Proxy</ulink>"
page of the Yocto Project Wiki.
</para></listitem>
</itemizedlist>
</note>
</para>
<para>
<orderedlist>
<listitem><para>
<emphasis>Initialize the Build Environment:</emphasis>
Run the
<ulink url='&YOCTO_DOCS_REF_URL;#structure-core-script'><filename>&OE_INIT_FILE;</filename></ulink>
environment setup script to define Yocto Project's
build environment on your build host.
<literallayout class='monospaced'>
$ source &OE_INIT_FILE;
</literallayout>
Among other things, the script creates the
<ulink url='&YOCTO_DOCS_REF_URL;#build-directory'>Build Directory</ulink>,
which is <filename>build</filename> in this case
and is located in the
<ulink url='&YOCTO_DOCS_REF_URL;#source-directory'>Source Directory</ulink>.
After the script runs, your current working directory
is set to the Build Directory.
Later, when the build completes, the Build Directory
contains all the files created during the build.
</para></listitem>
<listitem><para id='conf-file-step'>
<emphasis>Examine Your Local Configuration File:</emphasis>
When you set up the build environment, a local
configuration file named
<filename>local.conf</filename> becomes available in
a <filename>conf</filename> subdirectory of the
Build Directory.
For this example, the defaults are set to build
for a <filename>qemux86</filename> target, which is
suitable for emulation.
The package manager used is set to the RPM package
manager.
<tip>
You can significantly speed up your build and guard
against fetcher failures by using mirrors.
To use mirrors, add these lines to your
<filename>local.conf</filename> file in the Build
directory:
<literallayout class='monospaced'>
SSTATE_MIRRORS = "\
file://.* http://sstate.yoctoproject.org/dev/PATH;downloadfilename=PATH \n \
file://.* http://sstate.yoctoproject.org/&YOCTO_DOC_VERSION_MINUS_ONE;/PATH;downloadfilename=PATH \n \
file://.* http://sstate.yoctoproject.org/&YOCTO_DOC_VERSION;/PATH;downloadfilename=PATH \n \
"
</literallayout>
The previous examples showed how to add sstate
paths for Yocto Project &YOCTO_DOC_VERSION_MINUS_ONE;,
&YOCTO_DOC_VERSION;, and a development area.
For a complete index of sstate locations, see
<ulink url='http://sstate.yoctoproject.org/'></ulink>.
</tip>
</para></listitem>
<listitem><para>
<emphasis>Start the Build:</emphasis>
Continue with the following command to build an OS image
for the target, which is
<filename>core-image-sato</filename> in this example:
<literallayout class='monospaced'>
$ bitbake core-image-sato
</literallayout>
For information on using the
<filename>bitbake</filename> command, see the
"<ulink url='&YOCTO_DOCS_OM_URL;#usingpoky-components-bitbake'>BitBake</ulink>"
section in the Yocto Project Overview and Concepts Manual,
or see the
"<ulink url='&YOCTO_DOCS_BB_URL;#bitbake-user-manual-command'>BitBake Command</ulink>"
section in the BitBake User Manual.
</para></listitem>
<listitem><para>
<emphasis>Simulate Your Image Using QEMU:</emphasis>
Once this particular image is built, you can start
QEMU, which is a Quick EMUlator that ships with
the Yocto Project:
<literallayout class='monospaced'>
$ runqemu qemux86
</literallayout>
If you want to learn more about running QEMU, see the
"<ulink url="&YOCTO_DOCS_DEV_URL;#dev-manual-qemu">Using the Quick EMUlator (QEMU)</ulink>"
chapter in the Yocto Project Development Tasks Manual.
</para></listitem>
<listitem><para>
<emphasis>Exit QEMU:</emphasis>
Exit QEMU by either clicking on the shutdown icon or by
typing <filename>Ctrl-C</filename> in the QEMU
transcript window from which you evoked QEMU.
</para></listitem>
</orderedlist>
</para>
</section>
<section id='customizing-your-build-for-specific-hardware'>
<title>Customizing Your Build for Specific Hardware</title>
<para>
So far, all you have done is quickly built an image suitable
for emulation only.
This section shows you how to customize your build for specific
hardware by adding a hardware layer into the Yocto Project
development environment.
</para>
<para>
In general, layers are repositories that contain related sets of
instructions and configurations that tell the Yocto Project what
to do.
Isolating related metadata into functionally specific layers
facilitates modular development and makes it easier to reuse the
layer metadata.
<note>
By convention, layer names start with the string "meta-".
</note>
</para>
<para>
Follow these steps to add a hardware layer:
<orderedlist>
<listitem><para>
<emphasis>Find a Layer:</emphasis>
Lots of hardware layers exist.
The Yocto Project
<ulink url='&YOCTO_GIT_URL;'>Source Repositories</ulink>
has many hardware layers.
This example adds the
<ulink url='https://github.com/kraj/meta-altera'>meta-altera</ulink>
hardware layer.
</para></listitem>
<listitem><para>
<emphasis>Clone the Layer</emphasis>
Use Git to make a local copy of the layer on your machine.
You can put the copy in the top level of the copy of the
Poky repository created earlier:
<literallayout class='monospaced'>
$ cd ~/poky
$ git clone https://github.com/kraj/meta-altera.git
Cloning into 'meta-altera'...
remote: Counting objects: 25170, done.
remote: Compressing objects: 100% (350/350), done.
remote: Total 25170 (delta 645), reused 719 (delta 538), pack-reused 24219
Receiving objects: 100% (25170/25170), 41.02 MiB | 1.64 MiB/s, done.
Resolving deltas: 100% (13385/13385), done.
Checking connectivity... done.
</literallayout>
The hardware layer now exists with other layers inside
the Poky reference repository on your build host as
<filename>meta-altera</filename> and contains all the
metadata needed to support hardware from Altera, which
is owned by Intel.
</para></listitem>
<listitem><para>
<emphasis>Change the Configuration to Build for a Specific Machine:</emphasis>
The
<ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE'><filename>MACHINE</filename></ulink>
variable in the <filename>local.conf</filename> file
specifies the machine for the build.
For this example, set the <filename>MACHINE</filename>
variable to "cyclone5".
These configurations are used:
<ulink url='https://github.com/kraj/meta-altera/blob/master/conf/machine/cyclone5.conf'></ulink>.
<note>
See the
"<link linkend='conf-file-step'>Examine Your Local Configuration File</link>"
step earlier for more information on configuring the
build.
</note>
</para></listitem>
<listitem><para>
<emphasis>Add Your Layer to the Layer Configuration File:</emphasis>
Before you can use a layer during a build, you must add it
to your <filename>bblayers.conf</filename> file, which
is found in the
<ulink url='&YOCTO_DOCS_REF_URL;#build-directory'>Build Directory's</ulink>
<filename>conf</filename> directory.</para>
<para>Use the <filename>bitbake-layers add-layer</filename>
command to add the layer to the configuration file:
<literallayout class='monospaced'>
$ cd ~/poky/build
$ bitbake-layers add-layer ../meta-altera
NOTE: Starting bitbake server...
Parsing recipes: 100% |##################################################################| Time: 0:00:32
Parsing of 918 .bb files complete (0 cached, 918 parsed). 1401 targets, 123 skipped, 0 masked, 0 errors.
</literallayout>
You can find more information on adding layers in the
"<ulink url='&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>
<section id='creating-your-own-general-layer'>
<title>Creating Your Own General Layer</title>
<para>
Maybe you have an application or specific set of behaviors you
need to isolate.
You can create your own general layer using the
<filename>bitbake-layers create-layer</filename> command.
The tool automates layer creation by setting up a
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:
<literallayout class='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
"<ulink url='&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>
<section id='brief-where-to-go-next'>
<title>Where To Go Next</title>
<para>
Now that you have experienced using the Yocto Project, you might
be asking yourself "What now?"
The Yocto Project has many sources of information including
the website, wiki pages, and user manuals:
<itemizedlist>
<listitem><para>
<emphasis>Website:</emphasis>
The
<ulink url='&YOCTO_HOME_URL;'>Yocto Project Website</ulink>
provides background information, the latest builds,
breaking news, full development documentation, and
access to a rich Yocto Project Development Community
into which you can tap.
</para></listitem>
<listitem><para>
<emphasis>Developer Screencast:</emphasis>
The
<ulink url='http://vimeo.com/36450321'>Getting Started with the Yocto Project - New Developer Screencast Tutorial</ulink>
provides a 30-minute video created for users unfamiliar
with the Yocto Project but familiar with Linux build
hosts.
While this screencast is somewhat dated, the
introductory and fundamental concepts are useful for
the beginner.
</para></listitem>
<listitem><para>
<emphasis>Yocto Project Overview and Concepts Manual:</emphasis>
The
<ulink url='&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
various aspects of the Yocto Project.
</para></listitem>
<listitem><para>
<emphasis>Yocto Project Wiki:</emphasis>
The
<ulink url='&YOCTO_WIKI_URL;'>Yocto Project Wiki</ulink>
provides additional information on where to go next
when ramping up with the Yocto Project, release
information, project planning, and QA information.
</para></listitem>
<listitem><para>
<emphasis>Yocto Project Mailing Lists:</emphasis>
Related mailing lists provide a forum for discussion,
patch submission and announcements.
Several mailing lists exist and are grouped according
to areas of concern.
See the
"<ulink url='&YOCTO_DOCS_REF_URL;#resources-mailinglist'>Mailing lists</ulink>"
section in the Yocto Project Reference Manual for a
complete list of Yocto Project mailing lists.
</para></listitem>
<listitem><para>
<emphasis>Comprehensive List of Links and Other Documentation:</emphasis>
The
"<ulink url='&YOCTO_DOCS_REF_URL;#resources-links-and-related-documentation'>Links and Related Documentation</ulink>"
section in the Yocto Project Reference Manual provides a
comprehensive list of all related links and other
user documentation.
</para></listitem>
</itemizedlist>
</para>
</section>
</article>
<!--
vim: expandtab tw=80 ts=4
-->

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

View File

@@ -118,9 +118,14 @@
</revision>
<revision>
<revnumber>2.5</revnumber>
<date>April 2018</date>
<date>May 2018</date>
<revremark>Released with the Yocto Project 2.5 Release.</revremark>
</revision>
<revision>
<revnumber>2.6</revnumber>
<date>&REL_MONTH_YEAR;</date>
<revremark>Released with the Yocto Project 2.6 Release.</revremark>
</revision>
</revhistory>
<copyright>
@@ -137,28 +142,40 @@
<itemizedlist>
<listitem><para>
This version of the
<emphasis>Yocto Project Board Support Package Developer's Guide</emphasis>
<emphasis>Yocto Project Board Support Package (BSP) Developer's Guide</emphasis>
is for the &YOCTO_DOC_VERSION; release of the
Yocto Project.
To be sure you have the latest version of the manual
for this release, use the manual from the
<ulink url='&YOCTO_HOME_URL;/documentation'>Yocto Project documentation page</ulink>.
</para></listitem>
<listitem><para>
For manuals associated with other releases of the Yocto
Project, go to the
for this release, go to the
<ulink url='&YOCTO_HOME_URL;/documentation'>Yocto Project documentation page</ulink>
and use the drop-down "Active Releases" button
and choose the manual associated with the desired
Yocto Project.
and select the manual from that site.
Manuals from the site are more up-to-date than manuals
derived from the Yocto Project released TAR files.
</para></listitem>
<listitem><para>
To report any inaccuracies or problems with this
manual, send an email to the Yocto Project
discussion group at
<filename>yocto@yoctoproject.com</filename> or log into
the freenode <filename>#yocto</filename> channel.
</para></listitem>
If you located this manual through a web search, the
version of the manual might not be the one you want
(e.g. the search might have returned a manual much
older than the Yocto Project version with which you
are working).
You can see all Yocto Project major releases by
visiting the
<ulink url='&YOCTO_WIKI_URL;/wiki/Releases'>Releases</ulink>
page.
If you need a version of this manual for a different
Yocto Project release, visit the
<ulink url='&YOCTO_HOME_URL;/documentation'>Yocto Project documentation page</ulink>
and select the manual set by using the
"ACTIVE RELEASES DOCUMENTATION" or "DOCUMENTS ARCHIVE"
pull-down menus.
</para></listitem>
<listitem><para>
To report any inaccuracies or problems with this
manual, send an email to the Yocto Project
discussion group at
<filename>yocto@yoctoproject.com</filename> or log into
the freenode <filename>#yocto</filename> channel.
</para></listitem>
</itemizedlist>
</note>
</legalnotice>

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 51 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -16,33 +16,29 @@
The manual groups related procedures into higher-level sections.
Procedures can consist of high-level steps or low-level steps
depending on the topic.
You can find conceptual information related to a procedure by
following appropriate links to the Yocto Project Reference
Manual.
</para>
<para>
The following list describes what you can get from this manual:
<itemizedlist>
<listitem><para>
<emphasis>Setup Procedures:</emphasis>
Procedures that show you how to set
up a Yocto Project Development environment and how
to accomplish the change workflow through logging
defects and submitting changes.
Procedures that help you get going with the Yocto Project.
For example, procedures that show you how to set up
a build host and work with the Yocto Project
source repositories.
</para></listitem>
<listitem><para>
<emphasis>Emulation Procedures:</emphasis>
Procedures that show you how to use the
Yocto Project integrated QuickEMUlator (QEMU), which lets
you simulate running on hardware an image you have built
using the OpenEmbedded build system.
Procedures that show you how to submit changes to the
Yocto Project.
Changes can be improvements, new features, or bug
fixes.
</para></listitem>
<listitem><para>
<emphasis>Common Procedures:</emphasis>
Procedures related to "everyday" tasks you perform while
developing images and applications using the Yocto
Project.
For example, procedures to create a layer, customize an
image, write a new recipe, and so forth.
</para></listitem>
</itemizedlist>
</para>
@@ -51,7 +47,7 @@
This manual will not give you the following:
<itemizedlist>
<listitem><para>
<emphasis>Redundant Step-by-step Instructions:</emphasis>
Redundant Step-by-step Instructions:
For example, the
<ulink url='&YOCTO_DOCS_SDK_URL;'>Yocto Project Application Development and the Extensible Software Development Kit (eSDK)</ulink>
manual contains detailed instructions on how to install an
@@ -59,14 +55,15 @@
hardware.
</para></listitem>
<listitem><para>
<emphasis>Reference or Conceptual Material:</emphasis>
This type of material resides in an appropriate reference manual.
Reference or Conceptual Material:
This type of material resides in an appropriate reference
manual.
For example, system variables are documented in the
<ulink url='&YOCTO_DOCS_REF_URL;'>Yocto Project Reference Manual</ulink>.
</para></listitem>
<listitem><para>
<emphasis>Detailed Public Information Not Specific to the
Yocto Project:</emphasis>
Detailed Public Information Not Specific to the
Yocto Project:
For example, exhaustive information on how to use the
Source Control Manager Git is better covered with Internet
searches and official Git Documentation than through the
@@ -85,9 +82,10 @@
comprehension.
For introductory information on the Yocto Project, see the
<ulink url='&YOCTO_HOME_URL;'>Yocto Project Website</ulink>.
You can find an introductory to using the Yocto Project by working
through the
<ulink url='&YOCTO_DOCS_QS_URL;'>Yocto Project Quick Start</ulink>.
If you want to build an image with no knowledge of Yocto Project
as a way of quickly testing it out, see the
<ulink url='&YOCTO_DOCS_BRIEF_URL;'>Yocto Project Quick Build</ulink>
document.
</para>
<para>

View File

@@ -1,989 +0,0 @@
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY % poky SYSTEM "../poky.ent"> %poky; ] >
<chapter id='dev-manual-newbie'>
<title>The Yocto Project Open Source Development Environment</title>
<section id="usingpoky-changes-collaborate">
<title>Setting Up a Team Yocto Project Development Environment</title>
<para>
It might not be immediately clear how you can use the Yocto
Project in a team development environment, or scale it for a large
team of developers.
One of the strengths of the Yocto Project is that it is extremely
flexible.
Thus, you can adapt it to many different use cases and scenarios.
However, these characteristics can cause a struggle if you are trying
to create a working setup that scales across a large team.
</para>
<para>
To help you understand how to set up this type of environment,
this section presents a procedure that gives you the information
to learn how to get the results you want.
The procedure is high-level and presents some of the project's most
successful experiences, practices, solutions, and available
technologies that work well.
Keep in mind, the procedure here is a starting point.
You can build off it and customize it to fit any
particular working environment and set of practices.
<orderedlist>
<listitem><para>
<emphasis>Determine Who is Going to be Developing:</emphasis>
You need to understand who is going to be doing anything
related to the Yocto Project and what their roles would be.
Making this determination is essential to completing the
steps two and three, which are to get your equipment together
and set up your development environment's hardware topology.
</para>
<para>The following roles exist:
<itemizedlist>
<listitem><para>
<emphasis>Application Development:</emphasis>
These types of developers do application level work
on top of an existing software stack.
</para></listitem>
<listitem><para>
<emphasis>Core System Development:</emphasis>
These types of developers work on the contents of the
operating system image itself.
</para></listitem>
<listitem><para>
<emphasis>Build Engineer:</emphasis>
This type of developer manages Autobuilders and
releases.
Not all environments need a Build Engineer.
</para></listitem>
<listitem><para>
<emphasis>Test Engineer:</emphasis>
This type of developer creates and manages automated
tests needed to ensure all application and core
system development meets desired quality standards.
</para></listitem>
</itemizedlist>
</para></listitem>
<listitem><para>
<emphasis>Gather the Hardware:</emphasis>
Based on the size and make-up of the team, get the hardware
together.
Any development, build, or test engineer should be using
a system that is running a supported Linux distribution.
Systems, in general, should be high performance (e.g. dual,
six-core Xeons with 24 Gbytes of RAM and plenty of disk space).
You can help ensure efficiency by having any machines used
for testing or that run Autobuilders be as high performance
as possible.
</para></listitem>
<listitem><para>
<emphasis>Understand the Hardware Topology of the Environment:</emphasis>
Now that you know how many developers and support engineers
are required, you can understand the topology of the
hardware environment.
The following figure shows a moderately sized Yocto Project
development environment.
<para role="writernotes">
Need figure.</para>
</para></listitem>
<listitem><para>
<emphasis>Use Git as Your Source Control Manager (SCM):</emphasis>
Keeping your
<ulink url='&YOCTO_DOCS_REF_URL;#metadata'>Metadata</ulink>
and any software you are developing under the
control of an SCM system that is compatible
with the OpenEmbedded build system is advisable.
Of the SCMs BitBake supports, the
Yocto Project team strongly recommends using
<ulink url='&YOCTO_DOCS_REF_URL;#git'>Git</ulink>.
Git is a distributed system that is easy to backup,
allows you to work remotely, and then connects back to the
infrastructure.
<note>
For information about BitBake, see the
<ulink url='&YOCTO_DOCS_BB_URL;'>BitBake User Manual</ulink>.
</note></para>
<para>It is relatively easy to set up Git services and create
infrastructure like
<ulink url='&YOCTO_GIT_URL;'>http://git.yoctoproject.org</ulink>,
which is based on server software called
<filename>gitolite</filename> with <filename>cgit</filename>
being used to generate the web interface that lets you view the
repositories.
The <filename>gitolite</filename> software identifies users
using SSH keys and allows branch-based
access controls to repositories that you can control as little
or as much as necessary.
<note>
The setup of these services is beyond the scope of this
manual.
However, sites such as these exist that describe how to
perform setup:
<itemizedlist>
<listitem><para>
<ulink url='http://git-scm.com/book/ch4-8.html'>Git documentation</ulink>:
Describes how to install <filename>gitolite</filename>
on the server.
</para></listitem>
<listitem><para>
<ulink url='http://sitaramc.github.com/gitolite/master-toc.html'>The <filename>gitolite</filename> master index</ulink>:
All topics for <filename>gitolite</filename>.
</para></listitem>
<listitem><para>
<ulink url='https://git.wiki.kernel.org/index.php/Interfaces,_frontends,_and_tools'>Interfaces, frontends, and tools</ulink>:
Documentation on how to create interfaces and frontends
for Git.
</para></listitem>
</itemizedlist>
</note>
</para></listitem>
<listitem><para>
<emphasis>Set up the Application Development Machines:</emphasis>
As mentioned earlier, application developers are creating
applications on top of existing software stacks.
Following are some best practices for setting up machines
that do application development:
<itemizedlist>
<listitem><para>
Use a pre-built toolchain that
contains the software stack itself.
Then, develop the application code on top of the
stack.
This method works well for small numbers of relatively
isolated applications.
</para></listitem>
<listitem><para>
When possible, use the Yocto Project
plug-in for the
<trademark class='trade'>Eclipse</trademark> IDE
and SDK development practices.
For more information, see the
"<ulink url='&YOCTO_DOCS_SDK_URL;'>Yocto Project Application Development and the Extensible Software Development Kit (eSDK)</ulink>"
manual.
</para></listitem>
<listitem><para>
Keep your cross-development toolchains updated.
You can do this through provisioning either as new
toolchain downloads or as updates through a package
update mechanism using <filename>opkg</filename>
to provide updates to an existing toolchain.
The exact mechanics of how and when to do this are a
question for local policy.
</para></listitem>
<listitem><para>
Use multiple toolchains installed locally
into different locations to allow development across
versions.
</para></listitem>
</itemizedlist>
</para></listitem>
<listitem><para>
<emphasis>Set up the Core Development Machines:</emphasis>
As mentioned earlier, these types of developers work on the
contents of the operating system itself.
Following are some best practices for setting up machines
used for developing images:
<itemizedlist>
<listitem><para>
Have the Yocto Project build system itself available on
the developer workstations so developers can run their own
builds and directly rebuild the software stack.
</para></listitem>
<listitem><para>
Keep the core system unchanged as much as
possible and do your work in layers on top of the
core system.
Doing so gives you a greater level of portability when
upgrading to new versions of the core system or Board
Support Packages (BSPs).
</para></listitem>
<listitem><para>
Share layers amongst the developers of a
particular project and contain the policy configuration
that defines the project.
</para></listitem>
</itemizedlist>
</para></listitem>
<listitem><para>
<emphasis>Set up an Autobuilder:</emphasis>
Autobuilders are often the core of the development
environment.
It is here that changes from individual developers are brought
together and centrally tested and subsequent decisions about
releases can be made.
Autobuilders also allow for "continuous integration" style
testing of software components and regression identification
and tracking.</para>
<para>See "<ulink url='http://autobuilder.yoctoproject.org'>Yocto Project Autobuilder</ulink>"
for more information and links to buildbot.
The Yocto Project team has found this implementation
works well in this role.
A public example of this is the Yocto Project
Autobuilders, which we use to test the overall health of the
project.</para>
<para>The features of this system are:
<itemizedlist>
<listitem><para>
Highlights when commits break the build.
</para></listitem>
<listitem><para>
Populates an sstate cache from which
developers can pull rather than requiring local
builds.
</para></listitem>
<listitem><para>
Allows commit hook triggers,
which trigger builds when commits are made.
</para></listitem>
<listitem><para>
Allows triggering of automated image booting
and testing under the QuickEMUlator (QEMU).
</para></listitem>
<listitem><para>
Supports incremental build testing and
from-scratch builds.
</para></listitem>
<listitem><para>
Shares output that allows developer
testing and historical regression investigation.
</para></listitem>
<listitem><para>
Creates output that can be used for releases.
</para></listitem>
<listitem><para>
Allows scheduling of builds so that resources
can be used efficiently.
</para></listitem>
</itemizedlist>
</para></listitem>
<listitem><para>
<emphasis>Set up Test Machines:</emphasis>
Use a small number of shared, high performance systems
for testing purposes.
Developers can use these systems for wider, more
extensive testing while they continue to develop
locally using their primary development system.
</para></listitem>
<listitem><para>
<emphasis>Document Policies and Change Flow:</emphasis>
The Yocto Project itself uses a hierarchical structure and a
pull model.
Scripts exist to create and send pull requests
(i.e. <filename>create-pull-request</filename> and
<filename>send-pull-request</filename>).
This model is in line with other open source projects where
maintainers are responsible for specific areas of the project
and a single maintainer handles the final "top-of-tree" merges.
<note>
You can also use a more collective push model.
The <filename>gitolite</filename> software supports both the
push and pull models quite easily.
</note></para>
<para>As with any development environment, it is important
to document the policy used as well as any main project
guidelines so they are understood by everyone.
It is also a good idea to have well structured
commit messages, which are usually a part of a project's
guidelines.
Good commit messages are essential when looking back in time and
trying to understand why changes were made.</para>
<para>If you discover that changes are needed to the core
layer of the project, it is worth sharing those with the
community as soon as possible.
Chances are if you have discovered the need for changes,
someone else in the community needs them also.
</para></listitem>
<listitem><para>
<emphasis>Development Environment Summary:</emphasis>
Aside from the previous steps, some best practices exist
within the Yocto Project development environment.
Consider the following:
<itemizedlist>
<listitem><para>
Use <ulink url='&YOCTO_DOCS_REF_URL;#git'>Git</ulink>
as the source control system.
</para></listitem>
<listitem><para>
Maintain your Metadata in layers that make sense
for your situation.
See the "<link linkend='understanding-and-creating-layers'>Understanding
and Creating Layers</link>" section for more information on
layers.
</para></listitem>
<listitem><para>
Separate the project's Metadata and code by using
separate Git repositories.
See the
"<ulink url='&YOCTO_DOCS_REF_URL;#yocto-project-repositories'>Yocto Project Source Repositories</ulink>"
section for information on these repositories.
See the
"<link linkend='working-with-yocto-project-source-files'>Working With Yocto Project Source Files</link>"
section for information on how to set up local Git
repositories for related upstream Yocto Project
Git repositories.
</para></listitem>
<listitem><para>
Set up the directory for the shared state cache
(<ulink url='&YOCTO_DOCS_REF_URL;#var-SSTATE_DIR'><filename>SSTATE_DIR</filename></ulink>)
where it makes sense.
For example, set up the sstate cache on a system used
by developers in the same organization and share the
same source directories on their machines.
</para></listitem>
<listitem><para>
Set up an Autobuilder and have it populate the
sstate cache and source directories.
</para></listitem>
<listitem><para>
The Yocto Project community encourages you
to send patches to the project to fix bugs or add features.
If you do submit patches, follow the project commit
guidelines for writing good commit messages.
See the "<link linkend='how-to-submit-a-change'>Submitting a Change to the Yocto Project</link>"
section.
</para></listitem>
<listitem><para>
Send changes to the core sooner than later
as others are likely to run into the same issues.
For some guidance on mailing lists to use, see the list in the
"<link linkend='how-to-submit-a-change'>Submitting a Change to the Yocto Project</link>"
section.
For a description of the available mailing lists, see the
"<ulink url='&YOCTO_DOCS_REF_URL;#resources-mailinglist'>Mailing Lists</ulink>"
section in the Yocto Project Reference Manual.
</para></listitem>
</itemizedlist>
</para></listitem>
</orderedlist>
</para>
</section>
<section id='submitting-a-defect-against-the-yocto-project'>
<title>Submitting a Defect Against the Yocto Project</title>
<para>
Use the Yocto Project implementation of
<ulink url='http://www.bugzilla.org/about/'>Bugzilla</ulink>
to submit a defect (bug) against the Yocto Project.
For additional information on this implementation of Bugzilla see the
"<ulink url='&YOCTO_DOCS_REF_URL;#resources-bugtracker'>Yocto Project Bugzilla</ulink>"
section in the Yocto Project Reference Manual.
For more detail on any of the following steps, see the Yocto Project
<ulink url='&YOCTO_WIKI_URL;/wiki/Bugzilla_Configuration_and_Bug_Tracking'>Bugzilla wiki page</ulink>.
</para>
<para>
Use the following general steps to submit a bug"
<orderedlist>
<listitem><para>
Open the Yocto Project implementation of
<ulink url='&YOCTO_BUGZILLA_URL;'>Bugzilla</ulink>.
</para></listitem>
<listitem><para>
Click "File a Bug" to enter a new bug.
</para></listitem>
<listitem><para>
Choose the appropriate "Classification", "Product", and
"Component" for which the bug was found.
Bugs for the Yocto Project fall into one of several
classifications, which in turn break down into several
products and components.
For example, for a bug against the
<filename>meta-intel</filename> layer, you would choose
"Build System, Metadata &amp; Runtime", "BSPs", and
"bsps-meta-intel", respectively.
</para></listitem>
<listitem><para>
Choose the "Version" of the Yocto Project for which you found
the bug (e.g. &DISTRO;).
</para></listitem>
<listitem><para>
Determine and select the "Severity" of the bug.
The severity indicates how the bug impacted your work.
</para></listitem>
<listitem><para>
Choose the "Hardware" that the bug impacts.
</para></listitem>
<listitem><para>
Choose the "Architecture" that the bug impacts.
</para></listitem>
<listitem><para>
Choose a "Documentation change" item for the bug.
Fixing a bug might or might not affect the Yocto Project
documentation.
If you are unsure of the impact to the documentation, select
"Don't Know".
</para></listitem>
<listitem><para>
Provide a brief "Summary" of the bug.
Try to limit your summary to just a line or two and be sure
to capture the essence of the bug.
</para></listitem>
<listitem><para>
Provide a detailed "Description" of the bug.
You should provide as much detail as you can about the context,
behavior, output, and so forth that surrounds the bug.
You can even attach supporting files for output from logs by
using the "Add an attachment" button.
</para></listitem>
<listitem><para>
Click the "Submit Bug" button submit the bug.
A new Bugzilla number is assigned to the bug and the defect
is logged in the bug tracking system.
</para></listitem>
</orderedlist>
Once you file a bug, the bug is processed by the Yocto Project Bug
Triage Team and further details concerning the bug are assigned
(e.g. priority and owner).
You are the "Submitter" of the bug and any further categorization,
progress, or comments on the bug result in Bugzilla sending you an
automated email concerning the particular change or progress to the
bug.
</para>
</section>
<section id='how-to-submit-a-change'>
<title>Submitting a Change to the Yocto Project</title>
<para>
Contributions to the Yocto Project and OpenEmbedded are very welcome.
Because the system is extremely configurable and flexible, we recognize
that developers will want to extend, configure or optimize it for
their specific uses.
</para>
<para>
The Yocto Project uses a mailing list and a patch-based workflow
that is similar to the Linux kernel but contains important
differences.
In general, a mailing list exists through which you can submit
patches.
You should send patches to the appropriate mailing list so that they
can be reviewed and merged by the appropriate maintainer.
The specific mailing list you need to use depends on the
location of the code you are changing.
Each component (e.g. layer) should have a
<filename>README</filename> file that indicates where to send
the changes and which process to follow.
</para>
<para>
You can send the patch to the mailing list using whichever approach
you feel comfortable with to generate the patch.
Once sent, the patch is usually reviewed by the community at large.
If somebody has concerns with the patch, they will usually voice
their concern over the mailing list.
If a patch does not receive any negative reviews, the maintainer of
the affected layer typically takes the patch, tests it, and then
based on successful testing, merges the patch.
</para>
<para id='figuring-out-the-mailing-list-to-use'>
The "poky" repository, which is the Yocto Project's reference build
environment, is a hybrid repository that contains several
individual pieces (e.g. BitBake, Metadata, documentation,
and so forth) built using the combo-layer tool.
The upstream location used for submitting changes varies by
component:
<itemizedlist>
<listitem><para>
<emphasis>Core Metadata:</emphasis>
Send your patch to the
<ulink url='http://lists.openembedded.org/mailman/listinfo/openembedded-core'>openembedded-core</ulink>
mailing list. For example, a change to anything under
the <filename>meta</filename> or
<filename>scripts</filename> directories should be sent
to this mailing list.
</para></listitem>
<listitem><para>
<emphasis>BitBake:</emphasis>
For changes to BitBake (i.e. anything under the
<filename>bitbake</filename> directory), send your patch
to the
<ulink url='http://lists.openembedded.org/mailman/listinfo/bitbake-devel'>bitbake-devel</ulink>
mailing list.
</para></listitem>
<listitem><para>
<emphasis>"meta-*" trees:</emphasis>
These trees contain Metadata.
Use the
<ulink url='https://lists.yoctoproject.org/listinfo/poky'>poky</ulink>
mailing list.
</para></listitem>
</itemizedlist>
</para>
<para>
For changes to other layers hosted in the Yocto Project source
repositories (i.e. <filename>yoctoproject.org</filename>), tools,
and the Yocto Project documentation, use the
<ulink url='https://lists.yoctoproject.org/listinfo/yocto'>Yocto Project</ulink>
general mailing list.
<note>
Sometimes a layer's documentation specifies to use a
particular mailing list.
If so, use that list.
</note>
For additional recipes that do not fit into the core Metadata, you
should determine which layer the recipe should go into and submit
the change in the manner recommended by the documentation (e.g.
the <filename>README</filename> file) supplied with the layer.
If in doubt, please ask on the Yocto general mailing list or on
the openembedded-devel mailing list.
</para>
<para>
You can also push a change upstream and request a maintainer to
pull the change into the component's upstream repository.
You do this by pushing to a contribution repository that is upstream.
See the
"<ulink url='&YOCTO_DOCS_REF_URL;#workflows'>Workflows</ulink>"
section in the Yocto Project Reference Manual for additional
concepts on working in the Yocto Project development environment.
</para>
<para>
Two commonly used testing repositories exist for
OpenEmbedded-Core:
<itemizedlist>
<listitem><para>
<emphasis>"ross/mut" branch:</emphasis>
The "mut" (master-under-test) tree
exists in the <filename>poky-contrib</filename> repository
in the
<ulink url='&YOCTO_GIT_URL;'>Yocto Project source repositories</ulink>.
</para></listitem>
<listitem><para>
<emphasis>"master-next" branch:</emphasis>
This branch is part of the main
"poky" repository in the Yocto Project source repositories.
</para></listitem>
</itemizedlist>
Maintainers use these branches to test submissions prior to merging
patches.
Thus, you can get an idea of the status of a patch based on
whether the patch has been merged into one of these branches.
<note>
This system is imperfect and changes can sometimes get lost in the
flow.
Asking about the status of a patch or change is reasonable if the
change has been idle for a while with no feedback.
The Yocto Project does have plans to use
<ulink url='https://en.wikipedia.org/wiki/Patchwork_(software)'>Patchwork</ulink>
to track the status of patches and also to automatically preview
patches.
</note>
</para>
<para>
The following sections provide procedures for submitting a change.
</para>
<section id='pushing-a-change-upstream'>
<title>Using Scripts to Push a Change Upstream and Request a Pull</title>
<para>
Follow this procedure to push a change to an upstream "contrib"
Git repository:
<note>
You can find general Git information on how to push a change
upstream in the
<ulink url='http://git-scm.com/book/en/v2/Distributed-Git-Distributed-Workflows'>Git Community Book</ulink>.
</note>
<orderedlist>
<listitem><para>
<emphasis>Make Your Changes Locally:</emphasis>
Make your changes in your local Git repository.
You should make small, controlled, isolated changes.
Keeping changes small and isolated aids review,
makes merging/rebasing easier and keeps the change
history clean should anyone need to refer to it in
future.
</para></listitem>
<listitem><para>
<emphasis>Stage Your Changes:</emphasis>
Stage your changes by using the <filename>git add</filename>
command on each file you changed.
</para></listitem>
<listitem><para id='making-sure-you-have-correct-commit-information'>
<emphasis>Commit Your Changes:</emphasis>
Commit the change by using the
<filename>git commit</filename> command.
Make sure your commit information follows standards by
following these accepted conventions:
<itemizedlist>
<listitem><para>
Be sure to include a "Signed-off-by:" line in the
same style as required by the Linux kernel.
Adding this line signifies that you, the submitter,
have agreed to the Developer's Certificate of
Origin 1.1 as follows:
<literallayout class='monospaced'>
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
</literallayout>
</para></listitem>
<listitem><para>
Provide a single-line summary of the change.
and,
if more explanation is needed, provide more
detail in the body of the commit.
This summary is typically viewable in the
"shortlist" of changes.
Thus, providing something short and descriptive
that gives the reader a summary of the change is
useful when viewing a list of many commits.
You should prefix this short description with the
recipe name (if changing a recipe), or else with
the short form path to the file being changed.
</para></listitem>
<listitem><para>
For the body of the commit message, provide
detailed information that describes what you
changed, why you made the change, and the approach
you used.
It might also be helpful if you mention how you
tested the change.
Provide as much detail as you can in the body of
the commit message.
<note>
You do not need to provide a more detailed
explanation of a change if the change is
minor to the point of the single line
summary providing all the information.
</note>
</para></listitem>
<listitem><para>
If the change addresses a specific bug or issue
that is associated with a bug-tracking ID,
include a reference to that ID in your detailed
description.
For example, the Yocto Project uses a specific
convention for bug references - any commit that
addresses a specific bug should use the following
form for the detailed description.
Be sure to use the actual bug-tracking ID from
Bugzilla for
<replaceable>bug-id</replaceable>:
<literallayout class='monospaced'>
Fixes [YOCTO #<replaceable>bug-id</replaceable>]
<replaceable>detailed description of change</replaceable>
</literallayout>
</para></listitem>
</itemizedlist>
</para></listitem>
<listitem><para>
<emphasis>Push Your Commits to a "Contrib" Upstream:</emphasis>
If you have arranged for permissions to push to an
upstream contrib repository, push the change to that
repository:
<literallayout class='monospaced'>
$ git push <replaceable>upstream_remote_repo</replaceable> <replaceable>local_branch_name</replaceable>
</literallayout>
For example, suppose you have permissions to push into the
upstream <filename>meta-intel-contrib</filename>
repository and you are working in a local branch named
<replaceable>your_name</replaceable><filename>/README</filename>.
The following command pushes your local commits to the
<filename>meta-intel-contrib</filename> upstream
repository and puts the commit in a branch named
<replaceable>your_name</replaceable><filename>/README</filename>:
<literallayout class='monospaced'>
$ git push meta-intel-contrib <replaceable>your_name</replaceable>/README
</literallayout>
</para></listitem>
<listitem><para id='push-determine-who-to-notify'>
<emphasis>Determine Who to Notify:</emphasis>
Determine the maintainer or the mailing list
that you need to notify for the change.</para>
<para>Before submitting any change, you need to be sure
who the maintainer is or what mailing list that you need
to notify.
Use either these methods to find out:
<itemizedlist>
<listitem><para>
<emphasis>Maintenance File:</emphasis>
Examine the <filename>maintainers.inc</filename>
file, which is located in the
<ulink url='&YOCTO_DOCS_REF_URL;#source-directory'>Source Directory</ulink>
at
<filename>meta/conf/distro/include</filename>,
to see who is responsible for code.
</para></listitem>
<listitem><para>
<emphasis>Search by File:</emphasis>
Using <ulink url='&YOCTO_DOCS_REF_URL;#git'>Git</ulink>,
you can enter the following command to bring up a
short list of all commits against a specific file:
<literallayout class='monospaced'>
git shortlog -- <replaceable>filename</replaceable>
</literallayout>
Just provide the name of the file for which you
are interested.
The information returned is not ordered by history
but does include a list of everyone who has
committed grouped by name.
From the list, you can see who is responsible for
the bulk of the changes against the file.
</para></listitem>
<listitem><para>
<emphasis>Examine the List of Mailing Lists:</emphasis>
For a list of the Yocto Project and related mailing
lists, see the
"<ulink url='&YOCTO_DOCS_REF_URL;#resources-mailinglist'>Mailing lists</ulink>"
section in the Yocto Project Reference Manual.
</para></listitem>
</itemizedlist>
</para></listitem>
<listitem><para>
<emphasis>Make a Pull Request:</emphasis>
Notify the maintainer or the mailing list that you have
pushed a change by making a pull request.</para>
<para>The Yocto Project provides two scripts that
conveniently let you generate and send pull requests to the
Yocto Project.
These scripts are <filename>create-pull-request</filename>
and <filename>send-pull-request</filename>.
You can find these scripts in the
<filename>scripts</filename> directory within the
<ulink url='&YOCTO_DOCS_REF_URL;#source-directory'>Source Directory</ulink>
(e.g. <filename>~/poky/scripts</filename>).
</para>
<para>Using these scripts correctly formats the requests
without introducing any whitespace or HTML formatting.
The maintainer that receives your patches either directly
or through the mailing list needs to be able to save and
apply them directly from your emails.
Using these scripts is the preferred method for sending
patches.</para>
<para>First, create the pull request.
For example, the following command runs the script,
specifies the upstream repository in the contrib directory
into which you pushed the change, and provides a subject
line in the created patch files:
<literallayout class='monospaced'>
$ ~/poky/scripts/create-pull-request -u meta-intel-contrib -s "Updated Manual Section Reference in README"
</literallayout>
Running this script forms
<filename>*.patch</filename> files in a folder named
<filename>pull-</filename><replaceable>PID</replaceable>
in the current directory.
One of the patch files is a cover letter.</para>
<para>Before running the
<filename>send-pull-request</filename> script, you must
edit the cover letter patch to insert information about
your change.
After editing the cover letter, send the pull request.
For example, the following command runs the script and
specifies the patch directory and email address.
In this example, the email address is a mailing list:
<literallayout class='monospaced'>
$ ~/poky/scripts/send-pull-request -p ~/meta-intel/pull-10565 -t meta-intel@yoctoproject.org
</literallayout>
You need to follow the prompts as the script is
interactive.
<note>
For help on using these scripts, simply provide the
<filename>-h</filename> argument as follows:
<literallayout class='monospaced'>
$ poky/scripts/create-pull-request -h
$ poky/scripts/send-pull-request -h
</literallayout>
</note>
</para></listitem>
</orderedlist>
</para>
</section>
<section id='submitting-a-patch'>
<title>Using Email to Submit a Patch</title>
<para>
You can submit patches without using the
<filename>create-pull-request</filename> and
<filename>send-pull-request</filename> scripts described in the
previous section.
However, keep in mind, the preferred method is to use the scripts.
</para>
<para>
Depending on the components changed, you need to submit the email
to a specific mailing list.
For some guidance on which mailing list to use, see the
<link linkend='figuring-out-the-mailing-list-to-use'>beginning</link>
of this section.
For a description of all the available mailing lists, see the
"<ulink url='&YOCTO_DOCS_REF_URL;#resources-mailinglist'>Mailing Lists</ulink>"
section in the Yocto Project Reference Manual.
</para>
<para>
Here is the general procedure on how to submit a patch through
email without using the scripts:
<orderedlist>
<listitem><para>
<emphasis>Make Your Changes Locally:</emphasis>
Make your changes in your local Git repository.
You should make small, controlled, isolated changes.
Keeping changes small and isolated aids review,
makes merging/rebasing easier and keeps the change
history clean should anyone need to refer to it in
future.
</para></listitem>
<listitem><para>
<emphasis>Stage Your Changes:</emphasis>
Stage your changes by using the <filename>git add</filename>
command on each file you changed.
</para></listitem>
<listitem><para>
<emphasis>Commit Your Changes:</emphasis>
Commit the change by using the
<filename>git commit --signoff</filename> command.
Using the <filename>--signoff</filename> option identifies
you as the person making the change and also satisfies
the Developer's Certificate of Origin (DCO) shown earlier.
</para>
<para>When you form a commit, you must follow certain
standards established by the Yocto Project development
team.
See
<link linkend='making-sure-you-have-correct-commit-information'>Step 3</link>
in the previous section for information on how to
provide commit information that meets Yocto Project
commit message standards.
</para></listitem>
<listitem><para>
<emphasis>Format the Commit:</emphasis>
Format the commit into an email message.
To format commits, use the
<filename>git format-patch</filename> command.
When you provide the command, you must include a revision
list or a number of patches as part of the command.
For example, either of these two commands takes your most
recent single commit and formats it as an email message in
the current directory:
<literallayout class='monospaced'>
$ git format-patch -1
</literallayout>
or
<literallayout class='monospaced'>
$ git format-patch HEAD~
</literallayout></para>
<para>After the command is run, the current directory
contains a numbered <filename>.patch</filename> file for
the commit.</para>
<para>If you provide several commits as part of the
command, the <filename>git format-patch</filename> command
produces a series of numbered files in the current
directory one for each commit.
If you have more than one patch, you should also use the
<filename>--cover</filename> option with the command,
which generates a cover letter as the first "patch" in
the series.
You can then edit the cover letter to provide a
description for the series of patches.
For information on the
<filename>git format-patch</filename> command,
see <filename>GIT_FORMAT_PATCH(1)</filename> displayed
using the <filename>man git-format-patch</filename>
command.
<note>
If you are or will be a frequent contributor to the
Yocto Project or to OpenEmbedded, you might consider
requesting a contrib area and the necessary associated
rights.
</note>
</para></listitem>
<listitem><para>
<emphasis>Import the Files Into Your Mail Client:</emphasis>
Import the files into your mail client by using the
<filename>git send-email</filename> command.
<note>
In order to use <filename>git send-email</filename>,
you must have the proper Git packages installed on
your host.
For Ubuntu, Debian, and Fedora the package is
<filename>git-email</filename>.
</note></para>
<para>The <filename>git send-email</filename> command
sends email by using a local or remote Mail Transport Agent
(MTA) such as <filename>msmtp</filename>,
<filename>sendmail</filename>, or through a direct
<filename>smtp</filename> configuration in your Git
<filename>~/.gitconfig</filename> file.
If you are submitting patches through email only, it is
very important that you submit them without any whitespace
or HTML formatting that either you or your mailer
introduces.
The maintainer that receives your patches needs to be able
to save and apply them directly from your emails.
A good way to verify that what you are sending will be
applicable by the maintainer is to do a dry run and send
them to yourself and then save and apply them as the
maintainer would.</para>
<para>The <filename>git send-email</filename> command is
the preferred method for sending your patches using
email since there is no risk of compromising whitespace
in the body of the message, which can occur when you use
your own mail client.
The command also has several options that let you
specify recipients and perform further editing of the
email message.
For information on how to use the
<filename>git send-email</filename> command,
see <filename>GIT-SEND-EMAIL(1)</filename> displayed using
the <filename>man git-send-email</filename> command.
</para></listitem>
</orderedlist>
</para>
</section>
</section>
</chapter>
<!--
vim: expandtab tw=80 ts=4
-->

View File

@@ -7,15 +7,51 @@
<title>Using the Quick EMUlator (QEMU)</title>
<para>
This chapter provides procedures that show you how to use the
Quick EMUlator (QEMU), which is an Open Source project the Yocto
Project uses as part of its development "tool set".
For reference information on the Yocto Project implementation of QEMU,
see the
"<ulink url='&YOCTO_DOCS_REF_URL;#ref-quick-emulator-qemu'>Quick EMUlator (QEMU)</ulink>"
section in the Yocto Project Reference Manual.
The Yocto Project uses an implementation of the Quick EMUlator (QEMU)
Open Source project as part of the Yocto Project development "tool
set".
This chapter provides both procedures that show you how to use the
Quick EMUlator (QEMU) and other QEMU information helpful for
development purposes.
</para>
<section id='qemu-dev-overview'>
<title>Overview</title>
<para>
Within the context of the Yocto Project, QEMU is an
emulator and virtualization machine that allows you to run a
complete image you have built using the Yocto Project as just
another task on your build system.
QEMU is useful for running and testing images and applications on
supported Yocto Project architectures without having actual
hardware.
Among other things, the Yocto Project uses QEMU to run automated
Quality Assurance (QA) tests on final images shipped with each
release.
<note>
This implementation is not the same as QEMU in general.
</note>
This section provides a brief reference for the Yocto Project
implementation of QEMU.
</para>
<para>
For official information and documentation on QEMU in general, see
the following references:
<itemizedlist>
<listitem><para>
<emphasis><ulink url='http://wiki.qemu.org/Main_Page'>QEMU Website</ulink>:</emphasis>
The official website for the QEMU Open Source project.
</para></listitem>
<listitem><para>
<emphasis><ulink url='http://wiki.qemu.org/Manual'>Documentation</ulink>:</emphasis>
The QEMU user manual.
</para></listitem>
</itemizedlist>
</para>
</section>
<section id='qemu-running-qemu'>
<title>Running QEMU</title>
@@ -27,6 +63,9 @@
<orderedlist>
<listitem><para>
<emphasis>Install QEMU:</emphasis>
QEMU is made available with the Yocto Project a number of
ways.
One method is to install a Software Development Kit (SDK).
See
"<ulink url='&YOCTO_DOCS_SDK_URL;#the-qemu-emulator'>The QEMU Emulator</ulink>"
section in the Yocto Project Application Development and
@@ -303,6 +342,345 @@
</note>
</para>
</section>
<section id='qemu-kvm-cpu-compatibility'>
<title>QEMU CPU Compatibility Under KVM</title>
<para>
By default, the QEMU build compiles for and targets 64-bit and x86
<trademark class='registered'>Intel</trademark> <trademark class='trademark'>Core</trademark>2
Duo processors and 32-bit x86
<trademark class='registered'>Intel</trademark> <trademark class='registered'>Pentium</trademark>
II processors.
QEMU builds for and targets these CPU types because they display
a broad range of CPU feature compatibility with many commonly
used CPUs.
</para>
<para>
Despite this broad range of compatibility, the CPUs could support
a feature that your host CPU does not support.
Although this situation is not a problem when QEMU uses software
emulation of the feature, it can be a problem when QEMU is
running with KVM enabled.
Specifically, software compiled with a certain CPU feature crashes
when run on a CPU under KVM that does not support that feature.
To work around this problem, you can override QEMU's runtime CPU
setting by changing the <filename>QB_CPU_KVM</filename>
variable in <filename>qemuboot.conf</filename> in the
<ulink url='&YOCTO_DOCS_REF_URL;#build-directory'>Build Directory's</ulink>
<filename>deploy/image</filename> directory.
This setting specifies a <filename>-cpu</filename> option
passed into QEMU in the <filename>runqemu</filename> script.
Running <filename>qemu -cpu help</filename> returns a list of
available supported CPU types.
</para>
</section>
<section id='qemu-dev-performance'>
<title>QEMU Performance</title>
<para>
Using QEMU to emulate your hardware can result in speed issues
depending on the target and host architecture mix.
For example, using the <filename>qemux86</filename> image in the
emulator on an Intel-based 32-bit (x86) host machine is fast
because the target and host architectures match.
On the other hand, using the <filename>qemuarm</filename> image
on the same Intel-based host can be slower.
But, you still achieve faithful emulation of ARM-specific issues.
</para>
<para>
To speed things up, the QEMU images support using
<filename>distcc</filename> to call a cross-compiler outside the
emulated system.
If you used <filename>runqemu</filename> to start QEMU, and the
<filename>distccd</filename> application is present on the host
system, any BitBake cross-compiling toolchain available from the
build system is automatically used from within QEMU simply by
calling <filename>distcc</filename>.
You can accomplish this by defining the cross-compiler variable
(e.g. <filename>export CC="distcc"</filename>).
Alternatively, if you are using a suitable SDK image or the
appropriate stand-alone toolchain is present, the toolchain is
also automatically used.
<note>
Several mechanisms exist that let you connect to the system
running on the QEMU emulator:
<itemizedlist>
<listitem><para>
QEMU provides a framebuffer interface that makes
standard consoles available.
</para></listitem>
<listitem><para>
Generally, headless embedded devices have a serial port.
If so, you can configure the operating system of the
running image to use that port to run a console.
The connection uses standard IP networking.
</para></listitem>
<listitem><para>
SSH servers exist in some QEMU images.
The <filename>core-image-sato</filename> QEMU image
has a Dropbear secure shell (SSH) server that runs
with the root password disabled.
The <filename>core-image-full-cmdline</filename> and
<filename>core-image-lsb</filename> QEMU images
have OpenSSH instead of Dropbear.
Including these SSH servers allow you to use standard
<filename>ssh</filename> and <filename>scp</filename>
commands.
The <filename>core-image-minimal</filename> QEMU image,
however, contains no SSH server.
</para></listitem>
<listitem><para>
You can use a provided, user-space NFS server to boot
the QEMU session using a local copy of the root
filesystem on the host.
In order to make this connection, you must extract a
root filesystem tarball by using the
<filename>runqemu-extract-sdk</filename> command.
After running the command, you must then point the
<filename>runqemu</filename>
script to the extracted directory instead of a root
filesystem image file.
See the
"<link linkend='qemu-running-under-a-network-file-system-nfs-server'>Running Under a Network File System (NFS) Server</link>"
section for more information.
</para></listitem>
</itemizedlist>
</note>
</para>
</section>
<section id='qemu-dev-command-line-syntax'>
<title>QEMU Command-Line Syntax</title>
<para>
The basic <filename>runqemu</filename> command syntax is as
follows:
<literallayout class='monospaced'>
$ runqemu [<replaceable>option</replaceable> ] [...]
</literallayout>
Based on what you provide on the command line,
<filename>runqemu</filename> does a good job of figuring out what
you are trying to do.
For example, by default, QEMU looks for the most recently built
image according to the timestamp when it needs to look for an
image.
Minimally, through the use of options, you must provide either
a machine name, a virtual machine image
(<filename>*wic.vmdk</filename>), or a kernel image
(<filename>*.bin</filename>).
</para>
<para>
Following is the command-line help output for the
<filename>runqemu</filename> command:
<literallayout class='monospaced'>
$ runqemu --help
Usage: you can run this script with any valid combination
of the following environment variables (in any order):
KERNEL - the kernel image file to use
ROOTFS - the rootfs image file or nfsroot directory to use
MACHINE - the machine name (optional, autodetected from KERNEL filename if unspecified)
Simplified QEMU command-line options can be passed with:
nographic - disable video console
serial - enable a serial console on /dev/ttyS0
slirp - enable user networking, no root privileges is required
kvm - enable KVM when running x86/x86_64 (VT-capable CPU required)
kvm-vhost - enable KVM with vhost when running x86/x86_64 (VT-capable CPU required)
publicvnc - enable a VNC server open to all hosts
audio - enable audio
[*/]ovmf* - OVMF firmware file or base name for booting with UEFI
tcpserial=&lt;port&gt; - specify tcp serial port number
biosdir=&lt;dir&gt; - specify custom bios dir
biosfilename=&lt;filename&gt; - specify bios filename
qemuparams=&lt;xyz&gt; - specify custom parameters to QEMU
bootparams=&lt;xyz&gt; - specify custom kernel parameters during boot
help, -h, --help: print this text
Examples:
runqemu
runqemu qemuarm
runqemu tmp/deploy/images/qemuarm
runqemu tmp/deploy/images/qemux86/&lt;qemuboot.conf&gt;
runqemu qemux86-64 core-image-sato ext4
runqemu qemux86-64 wic-image-minimal wic
runqemu path/to/bzImage-qemux86.bin path/to/nfsrootdir/ serial
runqemu qemux86 iso/hddimg/wic.vmdk/wic.qcow2/wic.vdi/ramfs/cpio.gz...
runqemu qemux86 qemuparams="-m 256"
runqemu qemux86 bootparams="psplash=false"
runqemu path/to/&lt;image&gt;-&lt;machine&gt;.wic
runqemu path/to/&lt;image&gt;-&lt;machine&gt;.wic.vmdk
</literallayout>
</para>
</section>
<section id='qemu-dev-runqemu-command-line-options'>
<title><filename>runqemu</filename> Command-Line Options</title>
<para>
Following is a description of <filename>runqemu</filename>
options you can provide on the command line:
<note><title>Tip</title>
If you do provide some "illegal" option combination or perhaps
you do not provide enough in the way of options,
<filename>runqemu</filename> provides appropriate error
messaging to help you correct the problem.
</note>
<itemizedlist>
<listitem><para>
<replaceable>QEMUARCH</replaceable>:
The QEMU machine architecture, which must be "qemuarm",
"qemuarm64", "qemumips", "qemumips64", "qemuppc",
"qemux86", or "qemux86-64".
</para></listitem>
<listitem><para>
<filename><replaceable>VM</replaceable></filename>:
The virtual machine image, which must be a
<filename>.wic.vmdk</filename> file.
Use this option when you want to boot a
<filename>.wic.vmdk</filename> image.
The image filename you provide must contain one of the
following strings: "qemux86-64", "qemux86", "qemuarm",
"qemumips64", "qemumips", "qemuppc", or "qemush4".
</para></listitem>
<listitem><para>
<replaceable>ROOTFS</replaceable>:
A root filesystem that has one of the following
filetype extensions: "ext2", "ext3", "ext4", "jffs2",
"nfs", or "btrfs".
If the filename you provide for this option uses “nfs”, it
must provide an explicit root filesystem path.
</para></listitem>
<listitem><para>
<replaceable>KERNEL</replaceable>:
A kernel image, which is a <filename>.bin</filename> file.
When you provide a <filename>.bin</filename> file,
<filename>runqemu</filename> detects it and assumes the
file is a kernel image.
</para></listitem>
<listitem><para>
<replaceable>MACHINE</replaceable>:
The architecture of the QEMU machine, which must be one
of the following: "qemux86", "qemux86-64", "qemuarm",
"qemuarm64", "qemumips", “qemumips64", or "qemuppc".
The <replaceable>MACHINE</replaceable> and
<replaceable>QEMUARCH</replaceable> options are basically
identical.
If you do not provide a <replaceable>MACHINE</replaceable>
option, <filename>runqemu</filename> tries to determine
it based on other options.
</para></listitem>
<listitem><para>
<filename>ramfs</filename>:
Indicates you are booting an initial RAM disk (initramfs)
image, which means the <filename>FSTYPE</filename> is
<filename>cpio.gz</filename>.
</para></listitem>
<listitem><para>
<filename>iso</filename>:
Indicates you are booting an ISO image, which means the
<filename>FSTYPE</filename> is
<filename>.iso</filename>.
</para></listitem>
<listitem><para>
<filename>nographic</filename>:
Disables the video console, which sets the console to
"ttys0".
</para></listitem>
<listitem><para>
<filename>serial</filename>:
Enables a serial console on
<filename>/dev/ttyS0</filename>.
</para></listitem>
<listitem><para>
<filename>biosdir</filename>:
Establishes a custom directory for BIOS, VGA BIOS and
keymaps.
</para></listitem>
<listitem><para>
<filename>biosfilename</filename>:
Establishes a custom BIOS name.
</para></listitem>
<listitem><para>
<filename>qemuparams=\"<replaceable>xyz</replaceable>\"</filename>:
Specifies custom QEMU parameters.
Use this option to pass options other than the simple
"kvm" and "serial" options.
</para></listitem>
<listitem><para><filename>bootparams=\"<replaceable>xyz</replaceable>\"</filename>:
Specifies custom boot parameters for the kernel.
</para></listitem>
<listitem><para>
<filename>audio</filename>:
Enables audio in QEMU.
The <replaceable>MACHINE</replaceable> option must be
either "qemux86" or "qemux86-64" in order for audio to be
enabled.
Additionally, the <filename>snd_intel8x0</filename>
or <filename>snd_ens1370</filename> driver must be
installed in linux guest.
</para></listitem>
<listitem><para>
<filename>slirp</filename>:
Enables "slirp" networking, which is a different way
of networking that does not need root access
but also is not as easy to use or comprehensive
as the default.
</para></listitem>
<listitem><para id='kvm-cond'>
<filename>kvm</filename>:
Enables KVM when running "qemux86" or "qemux86-64"
QEMU architectures.
For KVM to work, all the following conditions must be met:
<itemizedlist>
<listitem><para>
Your <replaceable>MACHINE</replaceable> must be either
qemux86" or "qemux86-64".
</para></listitem>
<listitem><para>
Your build host has to have the KVM modules
installed, which are
<filename>/dev/kvm</filename>.
</para></listitem>
<listitem><para>
The build host <filename>/dev/kvm</filename>
directory has to be both writable and readable.
</para></listitem>
</itemizedlist>
</para></listitem>
<listitem><para>
<filename>kvm-vhost</filename>:
Enables KVM with VHOST support when running "qemux86"
or "qemux86-64" QEMU architectures.
For KVM with VHOST to work, the following conditions must
be met:
<itemizedlist>
<listitem><para>
<link linkend='kvm-cond'>kvm</link> option
conditions must be met.
</para></listitem>
<listitem><para>
Your build host has to have virtio net device, which
are <filename>/dev/vhost-net</filename>.
</para></listitem>
<listitem><para>
The build host <filename>/dev/vhost-net</filename>
directory has to be either readable or writable
and “slirp-enabled”.
</para></listitem>
</itemizedlist>
</para></listitem>
<listitem><para>
<filename>publicvnc</filename>:
Enables a VNC server open to all hosts.
</para></listitem>
</itemizedlist>
</para>
</section>
</chapter>
<!--
vim: expandtab tw=80 ts=4

View File

@@ -4,18 +4,386 @@
<chapter id='dev-manual-start'>
<title>Getting Started with the Yocto Project</title>
<title>Setting Up to Use the Yocto Project</title>
<para>
This chapter provides procedures related to getting set up to use the
Yocto Project.
For a more front-to-end process that takes you from minimally preparing
a build host through building an image, see the
<ulink url='&YOCTO_DOCS_QS_URL;'>Yocto Project Quick Start</ulink>.
You can learn about creating a team environment that develops using the
Yocto Project, how to set up a build host, how to locate Yocto Project
source repositories, and how to create local Git repositories.
</para>
<section id="usingpoky-changes-collaborate">
<title>Creating a Team Development Environment</title>
<para>
It might not be immediately clear how you can use the Yocto
Project in a team development environment, or scale it for a large
team of developers.
One of the strengths of the Yocto Project is that it is extremely
flexible.
Thus, you can adapt it to many different use cases and scenarios.
However, these characteristics can cause a struggle if you are trying
to create a working setup that scales across a large team.
</para>
<para>
To help you understand how to set up this type of environment,
this section presents a procedure that gives you the information
to learn how to get the results you want.
The procedure is high-level and presents some of the project's most
successful experiences, practices, solutions, and available
technologies that work well.
Keep in mind, the procedure here is a starting point.
You can build off it and customize it to fit any
particular working environment and set of practices.
<orderedlist>
<listitem><para>
<emphasis>Determine Who is Going to be Developing:</emphasis>
You need to understand who is going to be doing anything
related to the Yocto Project and what their roles would be.
Making this determination is essential to completing the
steps two and three, which are to get your equipment together
and set up your development environment's hardware topology.
</para>
<para>The following roles exist:
<itemizedlist>
<listitem><para>
<emphasis>Application Development:</emphasis>
These types of developers do application level work
on top of an existing software stack.
</para></listitem>
<listitem><para>
<emphasis>Core System Development:</emphasis>
These types of developers work on the contents of the
operating system image itself.
</para></listitem>
<listitem><para>
<emphasis>Build Engineer:</emphasis>
This type of developer manages Autobuilders and
releases.
Not all environments need a Build Engineer.
</para></listitem>
<listitem><para>
<emphasis>Test Engineer:</emphasis>
This type of developer creates and manages automated
tests needed to ensure all application and core
system development meets desired quality standards.
</para></listitem>
</itemizedlist>
</para></listitem>
<listitem><para>
<emphasis>Gather the Hardware:</emphasis>
Based on the size and make-up of the team, get the hardware
together.
Any development, build, or test engineer should be using
a system that is running a supported Linux distribution.
Systems, in general, should be high performance (e.g. dual,
six-core Xeons with 24 Gbytes of RAM and plenty of disk space).
You can help ensure efficiency by having any machines used
for testing or that run Autobuilders be as high performance
as possible.
</para></listitem>
<listitem><para>
<emphasis>Understand the Hardware Topology of the Environment:</emphasis>
Once you understand the hardware involved and the make-up
of the team, you can understand the hardware topology of the
development environment.
You can get a visual idea of the machines and their roles
across the development environment.
<!--
The following figure shows a moderately sized Yocto Project
development environment.
<para role="writernotes">
Need figure.</para>
-->
</para></listitem>
<listitem><para>
<emphasis>Use Git as Your Source Control Manager (SCM):</emphasis>
Keeping your
<ulink url='&YOCTO_DOCS_REF_URL;#metadata'>Metadata</ulink>
and any software you are developing under the
control of an SCM system that is compatible
with the OpenEmbedded build system is advisable.
Of the SCMs BitBake supports, the
Yocto Project team strongly recommends using
<ulink url='&YOCTO_DOCS_OM_URL;#git'>Git</ulink>.
Git is a distributed system that is easy to backup,
allows you to work remotely, and then connects back to the
infrastructure.
<note>
For information about BitBake, see the
<ulink url='&YOCTO_DOCS_BB_URL;'>BitBake User Manual</ulink>.
</note></para>
<para>It is relatively easy to set up Git services and create
infrastructure like
<ulink url='&YOCTO_GIT_URL;'>http://git.yoctoproject.org</ulink>,
which is based on server software called
<filename>gitolite</filename> with <filename>cgit</filename>
being used to generate the web interface that lets you view the
repositories.
The <filename>gitolite</filename> software identifies users
using SSH keys and allows branch-based
access controls to repositories that you can control as little
or as much as necessary.
<note>
The setup of these services is beyond the scope of this
manual.
However, sites such as these exist that describe how to
perform setup:
<itemizedlist>
<listitem><para>
<ulink url='http://git-scm.com/book/ch4-8.html'>Git documentation</ulink>:
Describes how to install <filename>gitolite</filename>
on the server.
</para></listitem>
<listitem><para>
<ulink url='http://gitolite.com'>Gitolite</ulink>:
Information for <filename>gitolite</filename>.
</para></listitem>
<listitem><para>
<ulink url='https://git.wiki.kernel.org/index.php/Interfaces,_frontends,_and_tools'>Interfaces, frontends, and tools</ulink>:
Documentation on how to create interfaces and frontends
for Git.
</para></listitem>
</itemizedlist>
</note>
</para></listitem>
<listitem><para>
<emphasis>Set up the Application Development Machines:</emphasis>
As mentioned earlier, application developers are creating
applications on top of existing software stacks.
Following are some best practices for setting up machines
that do application development:
<itemizedlist>
<listitem><para>
Use a pre-built toolchain that
contains the software stack itself.
Then, develop the application code on top of the
stack.
This method works well for small numbers of relatively
isolated applications.
</para></listitem>
<listitem><para>
When possible, use the Yocto Project
plug-in for the
<trademark class='trade'>Eclipse</trademark> IDE
and SDK development practices.
For more information, see the
"<ulink url='&YOCTO_DOCS_SDK_URL;'>Yocto Project Application Development and the Extensible Software Development Kit (eSDK)</ulink>"
manual.
</para></listitem>
<listitem><para>
Keep your cross-development toolchains updated.
You can do this through provisioning either as new
toolchain downloads or as updates through a package
update mechanism using <filename>opkg</filename>
to provide updates to an existing toolchain.
The exact mechanics of how and when to do this are a
question for local policy.
</para></listitem>
<listitem><para>
Use multiple toolchains installed locally
into different locations to allow development across
versions.
</para></listitem>
</itemizedlist>
</para></listitem>
<listitem><para>
<emphasis>Set up the Core Development Machines:</emphasis>
As mentioned earlier, these types of developers work on the
contents of the operating system itself.
Following are some best practices for setting up machines
used for developing images:
<itemizedlist>
<listitem><para>
Have the Yocto Project build system itself available on
the developer workstations so developers can run their own
builds and directly rebuild the software stack.
</para></listitem>
<listitem><para>
Keep the core system unchanged as much as
possible and do your work in layers on top of the
core system.
Doing so gives you a greater level of portability when
upgrading to new versions of the core system or Board
Support Packages (BSPs).
</para></listitem>
<listitem><para>
Share layers amongst the developers of a
particular project and contain the policy configuration
that defines the project.
</para></listitem>
</itemizedlist>
</para></listitem>
<listitem><para>
<emphasis>Set up an Autobuilder:</emphasis>
Autobuilders are often the core of the development
environment.
It is here that changes from individual developers are brought
together and centrally tested and subsequent decisions about
releases can be made.
Autobuilders also allow for "continuous integration" style
testing of software components and regression identification
and tracking.</para>
<para>See "<ulink url='http://autobuilder.yoctoproject.org'>Yocto Project Autobuilder</ulink>"
for more information and links to buildbot.
The Yocto Project team has found this implementation
works well in this role.
A public example of this is the Yocto Project
Autobuilders, which we use to test the overall health of the
project.</para>
<para>The features of this system are:
<itemizedlist>
<listitem><para>
Highlights when commits break the build.
</para></listitem>
<listitem><para>
Populates an sstate cache from which
developers can pull rather than requiring local
builds.
</para></listitem>
<listitem><para>
Allows commit hook triggers,
which trigger builds when commits are made.
</para></listitem>
<listitem><para>
Allows triggering of automated image booting
and testing under the QuickEMUlator (QEMU).
</para></listitem>
<listitem><para>
Supports incremental build testing and
from-scratch builds.
</para></listitem>
<listitem><para>
Shares output that allows developer
testing and historical regression investigation.
</para></listitem>
<listitem><para>
Creates output that can be used for releases.
</para></listitem>
<listitem><para>
Allows scheduling of builds so that resources
can be used efficiently.
</para></listitem>
</itemizedlist>
</para></listitem>
<listitem><para>
<emphasis>Set up Test Machines:</emphasis>
Use a small number of shared, high performance systems
for testing purposes.
Developers can use these systems for wider, more
extensive testing while they continue to develop
locally using their primary development system.
</para></listitem>
<listitem><para>
<emphasis>Document Policies and Change Flow:</emphasis>
The Yocto Project itself uses a hierarchical structure and a
pull model.
Scripts exist to create and send pull requests
(i.e. <filename>create-pull-request</filename> and
<filename>send-pull-request</filename>).
This model is in line with other open source projects where
maintainers are responsible for specific areas of the project
and a single maintainer handles the final "top-of-tree" merges.
<note>
You can also use a more collective push model.
The <filename>gitolite</filename> software supports both the
push and pull models quite easily.
</note></para>
<para>As with any development environment, it is important
to document the policy used as well as any main project
guidelines so they are understood by everyone.
It is also a good idea to have well structured
commit messages, which are usually a part of a project's
guidelines.
Good commit messages are essential when looking back in time and
trying to understand why changes were made.</para>
<para>If you discover that changes are needed to the core
layer of the project, it is worth sharing those with the
community as soon as possible.
Chances are if you have discovered the need for changes,
someone else in the community needs them also.
</para></listitem>
<listitem><para>
<emphasis>Development Environment Summary:</emphasis>
Aside from the previous steps, some best practices exist
within the Yocto Project development environment.
Consider the following:
<itemizedlist>
<listitem><para>
Use
<ulink url='&YOCTO_DOCS_OM_URL;#git'>Git</ulink>
as the source control system.
</para></listitem>
<listitem><para>
Maintain your Metadata in layers that make sense
for your situation.
See the "<link linkend='understanding-and-creating-layers'>Understanding
and Creating Layers</link>" section for more information on
layers.
</para></listitem>
<listitem><para>
Separate the project's Metadata and code by using
separate Git repositories.
See the
"<ulink url='&YOCTO_DOCS_OM_URL;#yocto-project-repositories'>Yocto Project Source Repositories</ulink>"
section for information on these repositories.
See the
"<link linkend='locating-yocto-project-source-files'>Locating Yocto Project Source Files</link>"
section for information on how to set up local Git
repositories for related upstream Yocto Project
Git repositories.
</para></listitem>
<listitem><para>
Set up the directory for the shared state cache
(<ulink url='&YOCTO_DOCS_REF_URL;#var-SSTATE_DIR'><filename>SSTATE_DIR</filename></ulink>)
where it makes sense.
For example, set up the sstate cache on a system used
by developers in the same organization and share the
same source directories on their machines.
</para></listitem>
<listitem><para>
Set up an Autobuilder and have it populate the
sstate cache and source directories.
</para></listitem>
<listitem><para>
The Yocto Project community encourages you
to send patches to the project to fix bugs or add features.
If you do submit patches, follow the project commit
guidelines for writing good commit messages.
See the "<link linkend='how-to-submit-a-change'>Submitting a Change to the Yocto Project</link>"
section.
</para></listitem>
<listitem><para>
Send changes to the core sooner than later
as others are likely to run into the same issues.
For some guidance on mailing lists to use, see the list in the
"<link linkend='how-to-submit-a-change'>Submitting a Change to the Yocto Project</link>"
section.
For a description of the available mailing lists, see the
"<ulink url='&YOCTO_DOCS_REF_URL;#resources-mailinglist'>Mailing Lists</ulink>"
section in the Yocto Project Reference Manual.
</para></listitem>
</itemizedlist>
</para></listitem>
</orderedlist>
</para>
</section>
<section id='setting-up-the-development-host-to-use-the-yocto-project'>
<title>Setting Up the Development Host to Use the Yocto Project</title>
<title>Preparing the Build Host</title>
<para>
This section provides procedures to set up your development host to
@@ -177,7 +545,7 @@
site.
</para></listitem>
<listitem><para>
<emphasis>Go the Install Site for Your Platform:</emphasis>
<emphasis>Go to the Install Site for Your Platform:</emphasis>
Click the link for the Docker edition associated with
your development host machine's native software.
For example, if your machine is running Microsoft
@@ -213,8 +581,8 @@
the type of the software you need to install.
</para></listitem>
<listitem><para>
<emphasis>Optionally Orient Yourself With Dockers:</emphasis>
If you are unfamiliar with Dockers and the container
<emphasis>Optionally Orient Yourself With Docker:</emphasis>
If you are unfamiliar with Docker and the container
concept, you can learn more here -
<ulink url='https://docs.docker.com/get-started/'></ulink>.
You should be able to launch Docker or the Docker Toolbox
@@ -250,25 +618,25 @@
</section>
</section>
<section id='working-with-yocto-project-source-files'>
<title>Working With Yocto Project Source Files</title>
<section id='locating-yocto-project-source-files'>
<title>Locating Yocto Project Source Files</title>
<para>
This section contains procedures related to locating and securing
Yocto Project files.
This section contains procedures related to locating Yocto Project
files.
You establish and use these local files to work on projects.
<note><title>Notes</title>
<itemizedlist>
<listitem><para>
For concepts and introductory information about Git as it
is used in the Yocto Project, see the
"<ulink url='&YOCTO_DOCS_REF_URL;#git'>Git</ulink>"
section in the Yocto Project Reference Manual.
"<ulink url='&YOCTO_DOCS_OM_URL;#git'>Git</ulink>"
section in the Yocto Project Overview and Concepts Manual.
</para></listitem>
<listitem><para>
For concepts on Yocto Project source repositories, see the
"<ulink url='&YOCTO_DOCS_REF_URL;#yocto-project-repositories'>Yocto Project Source Repositories</ulink>"
section in the Yocto Project Reference Manual."
"<ulink url='&YOCTO_DOCS_OM_URL;#yocto-project-repositories'>Yocto Project Source Repositories</ulink>"
section in the Yocto Project Overview and Concepts Manual."
</para></listitem>
</itemizedlist>
</note>
@@ -278,9 +646,20 @@
<title>Accessing Source Repositories</title>
<para>
Yocto Project maintains upstream Git
<ulink url='&YOCTO_DOCS_REF_URL;#source-repositories'>Source Repositories</ulink>
that you can examine and access using a browser-based UI:
Working from a copy of the upstream Yocto Project
<ulink url='&YOCTO_DOCS_OM_URL;#source-repositories'>Source Repositories</ulink>
is the preferred method for obtaining and using a Yocto Project
release.
You can view the Yocto Project Source Repositories at
<ulink url='&YOCTO_GIT_URL;'></ulink>.
In particular, you can find the
<filename>poky</filename> repository at
<ulink url='http://git.yoctoproject.org/cgit/cgit.cgi/poky/'></ulink>.
</para>
<para>
Use the following procedure to locate the latest upstream copy of
the <filename>poky</filename> Git repository:
<orderedlist>
<listitem><para>
<emphasis>Access Repositories:</emphasis>
@@ -290,24 +669,21 @@
repositories.
</para></listitem>
<listitem><para>
<emphasis>Select a Repository:</emphasis>
Click on any repository in which you are interested (e.g.
<emphasis>Select the Repository:</emphasis>
Click on the repository in which you are interested (i.e.
<filename>poky</filename>).
</para></listitem>
<listitem><para>
<emphasis>Find the URL Used to Clone the Repository:</emphasis>
At the bottom of the page, note the URL used to
<ulink url='&YOCTO_DOCS_REF_URL;#git-commands-clone'>clone</ulink>
<ulink url='&YOCTO_DOCS_OM_URL;#git-commands-clone'>clone</ulink>
that repository (e.g.
<filename>&YOCTO_GIT_URL;/poky</filename>).
</para></listitem>
<listitem><para>
<emphasis>Examine Change History of the Repository:</emphasis>
At the top of the page, click on any branch in which you
might be interested (e.g.
<filename>&DISTRO_NAME_NO_CAP;</filename>).
You can then view the commit log or tree view for that
development branch.
<note>
For information on cloning a repository, see the
"<link linkend='cloning-the-poky-repository'>Cloning the <filename>poky</filename> Repository</link>"
section.
</note>
</para></listitem>
</orderedlist>
</para>
@@ -319,12 +695,12 @@
<para>
Yocto Project maintains an Index of Releases area that contains
related files that contribute to the Yocto Project.
Rather than Git repositories, these files represent snapshot
tarballs.
Rather than Git repositories, these files are tarballs that
represent snapshots in time of a given component.
<note><title>Tip</title>
The recommended method for accessing Yocto Project
components is to use Git to clone a repository and work from
within that local repository.
components is to use Git to clone the upstream repository and
work from within that locally cloned repository.
The procedure in this section exists should you desire a
tarball snapshot of any given component.
</note>
@@ -342,8 +718,8 @@
full array of released Poky tarballs.
The <filename>poky</filename> directory in the
Index of Releases was historically used for very
early releases and exists for retroactive
completeness only.
early releases and exists now only for retroactive
completeness.
</note>
</para></listitem>
<listitem><para>
@@ -361,7 +737,7 @@
</para></listitem>
<listitem><para>
<emphasis>Download the Tarball:</emphasis>
Click a tarball to download and save a snapshot of a
Click the tarball to download and save a snapshot of the
given component.
</para></listitem>
</orderedlist>
@@ -374,7 +750,7 @@
<para>
The
<ulink url='&YOCTO_HOME_URL;'>Yocto Project Website</ulink>
uses a "Downloads" area from which you can locate and download
uses a "DOWNLOADS" page from which you can locate and download
tarballs of any Yocto Project release.
Rather than Git repositories, these files represent snapshot
tarballs.
@@ -394,51 +770,99 @@
</para></listitem>
<listitem><para>
<emphasis>Get to the Downloads Area:</emphasis>
Click the "Downloads" tab.
Select the "DOWNLOADS" item from the pull-down
"SOFTWARE" tab menu.
</para></listitem>
<listitem><para>
<emphasis>Select the Type of Files:</emphasis>
Click the type of files you want (i.e "Build System",
"Tools", or "Board Support Packages (BSPs)".
<emphasis>Select a Yocto Project Release:</emphasis>
Use the menu next to "RELEASE" to display and choose
a Yocto Project release (e.g. sumo, rocko, pyro, and
so forth.
For a "map" of Yocto Project releases to version numbers,
see the
<ulink url='https://wiki.yoctoproject.org/wiki/Releases'>Releases</ulink>
wiki page.
</para></listitem>
<listitem><para>
<emphasis>Locate and Download the Tarball:</emphasis>
From the list of releases, locate the appropriate
download link and download the files.
<emphasis>Download Tools or Board Support Packages (BSPs):</emphasis>
From the "DOWNLOADS" page, you can download tools or
BSPs as well.
Just scroll down the page and look for what you need.
</para></listitem>
</orderedlist>
</para>
</section>
<section id='accessing-nightly-builds'>
<title>Accessing Nightly Builds</title>
<para>
Yocto Project maintains an area for nightly builds that contains
tarball releases at <ulink url='&YOCTO_AB_NIGHTLY_URL;'/>.
These builds include Yocto Project releases, SDK installation
scripts, and experimental builds.
</para>
<para>
Should you ever want to access a nightly build of a particular
Yocto Project component, use the following procedure:
<orderedlist>
<listitem><para>
<emphasis>Access the Nightly Builds:</emphasis>
Open a browser and go to
<ulink url='&YOCTO_AB_NIGHTLY_URL;'/> to access the
Nightly Builds.
</para></listitem>
<listitem><para>
<emphasis>Select a Build:</emphasis>
Click on any build by date in which you are interested.
</para></listitem>
<listitem><para>
<emphasis>Find the Tarball:</emphasis>
Drill down to find the associated tarball.
</para></listitem>
<listitem><para>
<emphasis>Download the Tarball:</emphasis>
Click the tarball to download and save a snapshot of the
given component.
</para></listitem>
</orderedlist>
</para>
</section>
</section>
<section id='cloning-and-checking-out-branchs'>
<title>Cloning and Checking Out Branches</title>
<para>
To use the Yocto Project, you need a release of the Yocto Project
locally installed on your development system.
The locally installed set of files is referred to as the
<ulink url='&YOCTO_DOCS_REF_URL;#source-directory'>Source Directory</ulink>
in the Yocto Project documentation.
</para>
<para>
You create your Source Directory by using
<ulink url='&YOCTO_DOCS_OM_URL;#git'>Git</ulink> to clone a local
copy of the upstream <filename>poky</filename> repository.
<note><title>Tip</title>
The preferred method of getting the Yocto Project Source
Directory set up is to clone the repository.
</note>
Working from a copy of the upstream repository allows you
to contribute back into the Yocto Project or simply work with
the latest software on a development branch.
Because Git maintains and creates an upstream repository with
a complete history of changes and you are working with a local
clone of that repository, you have access to all the Yocto
Project development branches and tag names used in the upstream
repository.
</para>
<section id='cloning-the-poky-repository'>
<title>Cloning the <filename>poky</filename> Repository</title>
<para>
To use the Yocto Project, you need a release of the Yocto Project
locally installed on your development system.
The locally installed set of files is referred to as the
<ulink url='&YOCTO_DOCS_REF_URL;#source-directory'>Source Directory</ulink>
in the Yocto Project documentation.
</para>
<para>
You create your Source Directory by using
<ulink url='&YOCTO_DOCS_REF_URL;#git'>Git</ulink> to clone a local
copy of the upstream <filename>poky</filename> repository.
<note><title>Tip</title>
The preferred method of getting the Yocto Project Source
Directory set up is to clone the repository.
</note>
Working from a copy of the upstream repository allows you
to contribute back into the Yocto Project or simply work with
the latest software on a development branch.
Because Git maintains and creates an upstream repository with
a complete history of changes and you are working with a local
clone of that repository, you have access to all the Yocto
Project development branches and tag names used in the upstream
repository.
</para>
<para>
Follow these steps to create a local version of the
upstream
@@ -473,8 +897,8 @@
branch based on a tag name, see the
"<link linkend='checking-out-by-branch-in-poky'>Checking Out By Branch in Poky</link>"
and
<link linkend='checkout-out-by-tag-in-poky'>Checking Out By Tag in Poky</link>",
respectively.</para>
<link linkend='checkout-out-by-tag-in-poky'>Checking Out By Tag in Poky</link>"
sections, respectively.</para>
<para>Once the repository is created, you can change to
that directory and check its status.
@@ -635,7 +1059,7 @@
<listitem><para>
<emphasis>Checkout the Branch:</emphasis>
<literallayout class='monospaced'>
$ git checkout tags/&DISTRO; -b my_yocto_&DISTRO;
$ git checkout tags/&DISTRO_REL_TAG; -b my_yocto_&DISTRO;
Switched to a new branch 'my_yocto_&DISTRO;'
$ git branch
master
@@ -656,95 +1080,6 @@
</section>
</section>
<section id='performing-a-simple-build'>
<title>Performing a Simple Build</title>
<para>
Several methods exist that allow you to build an image within the
Yocto Project.
This procedure shows how to build an image using BitBake from a
Linux host.
<note><title>Notes</title>
<itemizedlist>
<listitem><para>
For information on how to build an image using
<ulink url='&YOCTO_DOCS_REF_URL;#toaster-term'>Toaster</ulink>,
see the
<ulink url='&YOCTO_DOCS_TOAST_URL;'>Yocto Project Toaster Manual</ulink>.
</para></listitem>
<listitem><para>
For information on how to use
<filename>devtool</filename> to build images, see the
"<ulink url='&YOCTO_DOCS_SDK_URL;#using-devtool-in-your-sdk-workflow'>Using <filename>devtool</filename> in Your SDK Workflow</ulink>"
section in the Yocto Project Application Development and
the Extensible Software Development Kit (eSDK) manual.
</para></listitem>
</itemizedlist>
</note>
</para>
<para>
The build process creates an entire Linux distribution from source
and places it in your
<ulink url='&YOCTO_DOCS_REF_URL;#build-directory'>Build Directory</ulink>
under <filename>tmp/deploy/images</filename>.
For detailed information on the build process using BitBake, see the
"<ulink url='&YOCTO_DOCS_REF_URL;#images-dev-environment'>Images</ulink>"
section in the Yocto Project Reference Manual.
You can also reference the
"<ulink url='&YOCTO_DOCS_QS_URL;#qs-building-images'>Building Images</ulink>"
section in the Yocto Project Quick Start.
</para>
<para>
The following figure and list overviews the build process:
<imagedata fileref="figures/bitbake-build-flow.png" width="7in" depth="4in" align="center" scalefit="1" />
<orderedlist>
<listitem><para>
<emphasis>Set up Your Host Development System to Support
Development Using the Yocto Project</emphasis>:
See the
"<ulink url='&YOCTO_DOCS_QS_URL;#yp-resources'>Setting Up to Use the Yocto Project</ulink>"
section in the Yocto Project Quick Start for options on how
to get a build host ready to use the Yocto Project.
</para></listitem>
<listitem><para>
<emphasis>Initialize the Build Environment:</emphasis>
Initialize the build environment by sourcing the build
environment script (i.e.
<ulink url='&YOCTO_DOCS_REF_URL;#structure-core-script'><filename>&OE_INIT_FILE;</filename></ulink>).
</para></listitem>
<listitem><para>
<emphasis>Make Sure Your <filename>local.conf</filename>
File is Correct:</emphasis>
Ensure the <filename>conf/local.conf</filename> configuration
file, which is found in the
<ulink url='&YOCTO_DOCS_REF_URL;#build-directory'>Build Directory</ulink>,
is set up how you want it.
This file defines many aspects of the build environment
including the target machine architecture through the
<filename><ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE'>MACHINE</ulink></filename> variable,
the packaging format used during the build
(<ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGE_CLASSES'><filename>PACKAGE_CLASSES</filename></ulink>),
and a centralized tarball download directory through the
<filename><ulink url='&YOCTO_DOCS_REF_URL;#var-DL_DIR'>DL_DIR</ulink></filename> variable.
</para></listitem>
<listitem><para>
<emphasis>Build the Image:</emphasis>
Build the image using the <filename>bitbake</filename> command.
For example, the following command builds the
<filename>core-image-minimal</filename> image:
<literallayout class='monospaced'>
$ bitbake core-image-minimal
</literallayout>
For information on BitBake, see the
<ulink url='&YOCTO_DOCS_BB_URL;'>BitBake User Manual</ulink>.
</para></listitem>
</orderedlist>
</para>
</section>
-->
</chapter>
<!--
vim: expandtab tw=80 ts=4

View File

@@ -103,9 +103,14 @@
</revision>
<revision>
<revnumber>2.5</revnumber>
<date>April 2018</date>
<date>May 2018</date>
<revremark>Released with the Yocto Project 2.5 Release.</revremark>
</revision>
<revision>
<revnumber>2.6</revnumber>
<date>&REL_MONTH_YEAR;</date>
<revremark>Released with the Yocto Project 2.6 Release.</revremark>
</revision>
</revhistory>
<copyright>
@@ -128,24 +133,36 @@
is for the &YOCTO_DOC_VERSION; release of the
Yocto Project.
To be sure you have the latest version of the manual
for this release, use the manual from the
<ulink url='&YOCTO_HOME_URL;/documentation'>Yocto Project documentation page</ulink>.
</para></listitem>
<listitem><para>
For manuals associated with other releases of the Yocto
Project, go to the
for this release, go to the
<ulink url='&YOCTO_HOME_URL;/documentation'>Yocto Project documentation page</ulink>
and use the drop-down "Active Releases" button
and choose the manual associated with the desired
Yocto Project.
and select the manual from that site.
Manuals from the site are more up-to-date than manuals
derived from the Yocto Project released TAR files.
</para></listitem>
<listitem><para>
To report any inaccuracies or problems with this
manual, send an email to the Yocto Project
discussion group at
<filename>yocto@yoctoproject.com</filename> or log into
the freenode <filename>#yocto</filename> channel.
</para></listitem>
If you located this manual through a web search, the
version of the manual might not be the one you want
(e.g. the search might have returned a manual much
older than the Yocto Project version with which you
are working).
You can see all Yocto Project major releases by
visiting the
<ulink url='&YOCTO_WIKI_URL;/wiki/Releases'>Releases</ulink>
page.
If you need a version of this manual for a different
Yocto Project release, visit the
<ulink url='&YOCTO_HOME_URL;/documentation'>Yocto Project documentation page</ulink>
and select the manual set by using the
"ACTIVE RELEASES DOCUMENTATION" or "DOCUMENTS ARCHIVE"
pull-down menus.
</para></listitem>
<listitem><para>
To report any inaccuracies or problems with this
manual, send an email to the Yocto Project
discussion group at
<filename>yocto@yoctoproject.com</filename> or log into
the freenode <filename>#yocto</filename> channel.
</para></listitem>
</itemizedlist>
</note>
</legalnotice>
@@ -156,8 +173,6 @@
<xi:include href="dev-manual-start.xml"/>
<xi:include href="dev-manual-newbie.xml"/>
<xi:include href="dev-manual-common-tasks.xml"/>
<xi:include href="dev-manual-qemu.xml"/>

View File

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

@@ -21,7 +21,7 @@
<para>
Kernel Metadata exists in many places.
One area in the Yocto Project
<ulink url='&YOCTO_DOCS_REF_URL;#source-repositories'>Source Repositories</ulink>
<ulink url='&YOCTO_DOCS_OM_URL;#source-repositories'>Source Repositories</ulink>
is the <filename>yocto-kernel-cache</filename> Git repository.
You can find this repository grouped under the "Yocto Linux Kernel"
heading in the
@@ -64,8 +64,7 @@
<ulink url='&YOCTO_DOCS_REF_URL;#var-KMACHINE'><filename>KMACHINE</filename></ulink>
variable.
This variable is typically set to the same value as the
<ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE'><filename>MACHINE</filename></ulink>
variable, which is used by
<filename>MACHINE</filename> variable, which is used by
<ulink url='&YOCTO_DOCS_REF_URL;#bitbake-term'>BitBake</ulink>.
However, in some cases, the variable might instead refer to the
underlying platform of the <filename>MACHINE</filename>.
@@ -77,8 +76,7 @@
Multiple Corei7-based BSPs could share the same "intel-corei7-64"
value for <filename>KMACHINE</filename>.
It is important to realize that <filename>KMACHINE</filename> is
just for kernel mapping, while
<ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE'><filename>MACHINE</filename></ulink>
just for kernel mapping, while <filename>MACHINE</filename>
is the machine type within a BSP Layer.
Even with this distinction, however, these two variables can hold
the same value.
@@ -116,8 +114,7 @@
used in assembling the configuration.
If you do not specify a <filename>LINUX_KERNEL_TYPE</filename>,
it defaults to "standard".
Together with
<ulink url='&YOCTO_DOCS_REF_URL;#var-KMACHINE'><filename>KMACHINE</filename></ulink>,
Together with <filename>KMACHINE</filename>,
<filename>LINUX_KERNEL_TYPE</filename> defines the search
arguments used by the kernel tools to find the
appropriate description within the kernel Metadata with which to
@@ -631,8 +628,10 @@
<note>
For BSPs supported by the Yocto Project, the BSP description
files are located in the <filename>bsp</filename> directory
of the <filename>yocto-kernel-cache</filename> repository
organized under the "Yocto Linux Kernel" heading in the
of the
<ulink url='&YOCTO_GIT_URL;/cgit/cgit.cgi/yocto-kernel-cache/tree/bsp'><filename>yocto-kernel-cache</filename></ulink>
repository organized under the "Yocto Linux Kernel" heading
in the
<ulink url='http://git.yoctoproject.org/cgit/cgit.cgi'>Yocto Project Source Repositories</ulink>.
</note>
</para>
@@ -641,27 +640,30 @@
This section overviews the BSP description structure, the
aggregation concepts, and presents a detailed example using
a BSP supported by the Yocto Project (i.e. BeagleBone Board).
For complete information on BSP layer file hierarchy, see the
<ulink url='&YOCTO_DOCS_BSP_URL;'>Yocto Project Board Support Package (BSP) Developer's Guide</ulink>.
</para>
<section id='bsp-description-file-overview'>
<title>Overview</title>
<para>
For simplicity, consider the following top-level BSP
For simplicity, consider the following root BSP layer
description files for the BeagleBone board.
Top-level BSP descriptions files employ both a structure
and naming convention for consistency.
These files employ both a structure and naming convention
for consistency.
The naming convention for the file is as follows:
<literallayout class='monospaced'>
<replaceable>bsp_name</replaceable>-<replaceable>kernel_type</replaceable>.scc
<replaceable>bsp_root_name</replaceable>-<replaceable>kernel_type</replaceable>.scc
</literallayout>
Here are some example top-level BSP filenames for the
Here are some example root layer BSP filenames for the
BeagleBone Board BSP, which is supported by the Yocto Project:
<literallayout class='monospaced'>
beaglebone-standard.scc
beaglebone-preempt-rt.scc
</literallayout>
Each file uses the BSP name followed by the kernel type.
Each file uses the root name (i.e "beaglebone") BSP name
followed by the kernel type.
</para>
<para>
@@ -850,7 +852,7 @@
<para>
Now consider the "minnow" description for the "tiny" kernel
type (i.e. <filename>minnow-tiny.scc</filename>:
type (i.e. <filename>minnow-tiny.scc</filename>):
<literallayout class='monospaced'>
define KMACHINE minnow
define KTYPE tiny
@@ -1012,8 +1014,7 @@
<para>
If you modify the Metadata, you must not forget to update the
<ulink url='&YOCTO_DOCS_REF_URL;#var-SRCREV'><filename>SRCREV</filename></ulink>
statements in the kernel's recipe.
<filename>SRCREV</filename> statements in the kernel's recipe.
In particular, you need to update the
<filename>SRCREV_meta</filename> variable to match the commit in
the <filename>KMETA</filename> branch you wish to use.
@@ -1221,9 +1222,13 @@
</para></listitem>
<listitem><para>
<filename>define</filename>:
Defines variables, such as <filename>KMACHINE</filename>,
<filename>KTYPE</filename>, <filename>KARCH</filename>,
and <filename>KFEATURE_DESCRIPTION</filename>.</para></listitem>
Defines variables, such as
<ulink url='&YOCTO_DOCS_REF_URL;#var-KMACHINE'><filename>KMACHINE</filename></ulink>,
<ulink url='&YOCTO_DOCS_REF_URL;#var-KTYPE'><filename>KTYPE</filename></ulink>,
<ulink url='&YOCTO_DOCS_REF_URL;#var-KARCH'><filename>KARCH</filename></ulink>,
and
<ulink url='&YOCTO_DOCS_REF_URL;#var-KFEATURE_DESCRIPTION'><filename>KFEATURE_DESCRIPTION</filename></ulink>.
</para></listitem>
<listitem><para>
<filename>include SCC_FILE</filename>:
Includes an SCC file in the current file.

View File

@@ -25,7 +25,7 @@
Before you can do any kernel development, you need to be
sure your build host is set up to use the Yocto Project.
For information on how to get set up, see the
"<ulink url='&YOCTO_DOCS_DEV_URL;#setting-up-the-development-host-to-use-the-yocto-project'>Setting Up to Use the Yocto Project</ulink>"
"<ulink url='&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.
Part of preparing the system is creating a local Git
repository of the
@@ -79,7 +79,7 @@
</literallayout>
<note>
The previous commands assume the
<ulink url='&YOCTO_DOCS_REF_URL;#source-repositories'>Source Repositories</ulink>
<ulink url='&YOCTO_DOCS_OM_URL;#source-repositories'>Source Repositories</ulink>
(i.e. <filename>poky</filename>) have been cloned
using Git and the local repository is named
"poky".
@@ -136,7 +136,7 @@
Developer's Guide, respectively.
For information on how to use the
<filename>bitbake-layers create-layer</filename>
command, see the
command to quickly set up a layer, see the
"<ulink url='&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.
@@ -303,7 +303,7 @@
</literallayout>
<note>
The previous commands assume the
<ulink url='&YOCTO_DOCS_REF_URL;#source-repositories'>Source Repositories</ulink>
<ulink url='&YOCTO_DOCS_OM_URL;#source-repositories'>Source Repositories</ulink>
(i.e. <filename>poky</filename>) have been cloned
using Git and the local repository is named
"poky".
@@ -360,7 +360,7 @@
Developer's Guide, respectively.
For information on how to use the
<filename>bitbake-layers create-layer</filename>
command, see the
command to quickly set up a layer, see the
"<ulink url='&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.
@@ -387,7 +387,7 @@
You can find Git repositories of supported Yocto Project
kernels organized under "Yocto Linux Kernel" in the
Yocto Project Source Repositories at
<ulink url='&YOCTO_GIT_URL;/cgit.cgi'></ulink>.
<ulink url='&YOCTO_GIT_URL;'></ulink>.
</para>
<para>
@@ -489,7 +489,8 @@
See the
"<ulink url='&YOCTO_DOCS_DEV_URL;#creating-a-general-layer-using-the-bitbake-layers-script'>Creating a General Layer Using the <filename>bitbake-layers</filename> Script</ulink>"
section in the Yocto Project Development Tasks Manual for
information on how to use this script.
information on how to use this script to quick set up a
new layer.
</note>
</para>
@@ -1224,18 +1225,6 @@
the
"<link linkend='getting-ready-for-traditional-kernel-development'>Getting Ready for Traditional Kernel Development</link>"
Section.
</para>
<para>
Although this example uses Git and shell commands to generate the
patch, you could use the <filename>yocto-kernel</filename> script
found in the <ulink url='&YOCTO_DOCS_REF_URL;#source-directory'>Source Directory</ulink>
under <filename>scripts</filename> to add and manage kernel
patches and configuration.
See the "<ulink url='&YOCTO_DOCS_BSP_URL;#managing-kernel-patches-and-config-items-with-yocto-kernel'>Managing kernel Patches and Config Items with yocto-kernel</ulink>"
section in the Yocto Project Board Support Packages (BSP)
Developer's Guide for more information on the
<filename>yocto-kernel</filename> script.
<orderedlist>
<listitem><para>
<emphasis>Edit the Source Files</emphasis>
@@ -1413,9 +1402,9 @@
SRC_URI_append = " file://0001-calibrate.c-Added-some-printk-statements.patch"
</literallayout>
The
<ulink url='&YOCTO_DOCS_REF_URL;var-FILESEXTRAPATHS'><filename>FILESEXTRAPATHS</filename></ulink>
<ulink url='&YOCTO_DOCS_REF_URL;#var-FILESEXTRAPATHS'><filename>FILESEXTRAPATHS</filename></ulink>
and
<ulink url='&YOCTO_DOCS_REF_URL;var-SRC_URI'><filename>SRC_URI</filename></ulink>
<ulink url='&YOCTO_DOCS_REF_URL;#var-SRC_URI'><filename>SRC_URI</filename></ulink>
statements enable the OpenEmbedded build system to find
the patch file.</para>
@@ -1667,7 +1656,7 @@
after applying the existing defconfig file configurations.
</note>
For more information on configuring the kernel, see the
"<link link='changing-the-configuration'>Changing the Configuration</link>"
"<link linkend='changing-the-configuration'>Changing the Configuration</link>"
section.
</para>
</section>
@@ -2429,7 +2418,7 @@
modules.
If your module <filename>Makefile</filename> uses a different
variable, you might want to override the
<ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-compile'><filename>do_compile()</filename></ulink>
<ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-compile'><filename>do_compile</filename></ulink>
step, or create a patch to
the <filename>Makefile</filename> to work with the more typical
<filename>KERNEL_SRC</filename> or
@@ -2505,7 +2494,7 @@
the Git commands.
You can see the branch names through the web interface
to the Yocto Project source repositories at
<ulink url='http://git.yoctoproject.org/cgit.cgi'></ulink>.
<ulink url='&YOCTO_GIT_URL;'></ulink>.
</note>
To see a full range of the changes, use the
<filename>git whatchanged</filename> command and specify a

View File

@@ -49,7 +49,7 @@
<para>
You can find a web interface to the Yocto Linux kernels in the
<ulink url='&YOCTO_DOCS_REF_URL;#source-repositories'>Source Repositories</ulink>
<ulink url='&YOCTO_DOCS_OM_URL;#source-repositories'>Source Repositories</ulink>
at
<ulink url='&YOCTO_GIT_URL;'></ulink>.
If you look at the interface, you will see to the left a
@@ -239,8 +239,9 @@
<ulink url='http://git-scm.com/documentation'></ulink>.
You can also get an introduction to Git as it
applies to the Yocto Project in the
"<ulink url='&YOCTO_DOCS_REF_URL;#git'>Git</ulink>"
section in the Yocto Project Reference Manual.
"<ulink url='&YOCTO_DOCS_OM_URL;#git'>Git</ulink>"
section in the Yocto Project Overview and Concepts
Manual.
The latter reference provides an overview of
Git and presents a minimal set of Git commands
that allows you to be functional using Git.
@@ -381,7 +382,7 @@
generic kernel just for conceptual purposes.
Also keep in mind that this structure represents the Yocto
Project
<ulink url='&YOCTO_DOCS_REF_URL;#source-repositories'>Source Repositories</ulink>
<ulink url='&YOCTO_DOCS_OM_URL;#source-repositories'>Source Repositories</ulink>
that are either pulled from during the build or established
on the host development system prior to the build by either
cloning a particular kernel's Git repository or by

View File

@@ -108,7 +108,11 @@
review and understand the following documentation:
<itemizedlist>
<listitem><para>
<ulink url='&YOCTO_DOCS_QS_URL;'>Yocto Project Quick Start</ulink>
<ulink url='&YOCTO_DOCS_BRIEF_URL;'>Yocto Project Quick Build</ulink>
document.
</para></listitem>
<listitem><para>
<ulink url='&YOCTO_DOCS_OM_URL;'>Yocto Project Overview and Concepts Manual</ulink>.
</para></listitem>
<listitem><para>
<ulink url='&YOCTO_DOCS_SDK_URL;#using-devtool-in-your-sdk-workflow'><filename>devtool</filename> workflow</ulink>
@@ -127,18 +131,6 @@
</para></listitem>
</itemizedlist>
</para>
<para>
Finally, while this document focuses on the manual creation of
recipes, patches, and configuration files, the Yocto Project
Board Support Package (BSP) tools are available to automate
this process with existing content and work well to create the
initial framework and boilerplate code.
For details on these tools, see the
"<ulink url='&YOCTO_DOCS_BSP_URL;#using-the-yocto-projects-bsp-tools'>Using the Yocto Project's BSP Tools</ulink>"
section in the Yocto Project Board Support Package (BSP) Developer's
Guide.
</para>
</section>
<section id='kernel-modification-workflow'>
@@ -165,12 +157,15 @@
<para>
<orderedlist>
<listitem><para>
<emphasis>Set Up Your Host Development System to Support
Development Using the Yocto Project:</emphasis>
<emphasis>Set up Your Host Development System to Support
Development Using the Yocto Project</emphasis>:
See the
"<ulink url='&YOCTO_DOCS_QS_URL;#yp-resources'>Setting Up to Use the Yocto Project</ulink>"
section in the Yocto Project Quick Start for options on how
to get a build host ready to use the Yocto Project.
"<ulink url='&YOCTO_DOCS_DEV_URL;#dev-manual-start'>Setting Up the Development Host to Use the Yocto Project</ulink>"
section in the Yocto Project Development Tasks Manual for
options on how to get a build host ready to use the Yocto
Project.
</para></listitem>
<listitem><para>
<emphasis>Set Up Your Host Development System for Kernel Development:</emphasis>
@@ -243,11 +238,7 @@
<para>Additionally, if you are working in a BSP layer
and need to modify the BSP's kernel's configuration,
you can use the
<ulink url='&YOCTO_DOCS_BSP_URL;#managing-kernel-patches-and-config-items-with-yocto-kernel'><filename>yocto-kernel</filename></ulink>
script as well as <filename>menuconfig</filename>.
The <filename>yocto-kernel</filename> script lets
you interactively set up kernel configurations.
you can use <filename>menuconfig</filename>.
</para></listitem>
<listitem><para>
<emphasis>Rebuild the Kernel Image With Your Changes:</emphasis>

View File

@@ -14,7 +14,7 @@
create Yocto Linux kernel repositories.
These kernel repositories are found under the heading "Yocto Linux
Kernel" at
<ulink url='&YOCTO_GIT_URL;/cgit.cgi'>&YOCTO_GIT_URL;/cgit.cgi</ulink>
<ulink url='&YOCTO_GIT_URL;'>&YOCTO_GIT_URL;</ulink>
and are shipped as part of a Yocto Project release.
The team creates these repositories by compiling and executing the
set of feature descriptions for every BSP and feature in the
@@ -118,13 +118,13 @@
The following steps describe what happens when the Yocto Project
Team constructs the Yocto Project kernel source Git repository
(or tree) found at
<ulink url='&YOCTO_GIT_URL;/cgit.cgi'></ulink> given the
<ulink url='&YOCTO_GIT_URL;'></ulink> given the
introduction of a new top-level kernel feature or BSP.
These are the actions that effectively provide the Metadata
and create the tree that includes the new feature, patch or BSP:
The following actions effectively provide the Metadata
and create the tree that includes the new feature, patch, or BSP:
<orderedlist>
<listitem><para>
<emphasis>Pass Feature to Build Subsystem:</emphasis>
<emphasis>Pass Feature to the OpenEmbedded Build System:</emphasis>
A top-level kernel feature is passed to the kernel build
subsystem.
Normally, this feature is a BSP for a particular kernel
@@ -138,8 +138,10 @@
<listitem><para>
The in-tree kernel-cache directories, which are
located in the
<filename>yocto-kernel-cache</filename>
repository
<ulink url='&YOCTO_GIT_URL;/cgit/cgit.cgi/yocto-kernel-cache/tree/bsp'><filename>yocto-kernel-cache</filename></ulink>
repository organized under the "Yocto Linux Kernel"
heading in the
<ulink url='http://git.yoctoproject.org/cgit/cgit.cgi'>Yocto Project Source Repositories</ulink>.
</para></listitem>
<listitem><para>
Areas pointed to by <filename>SRC_URI</filename>
@@ -148,9 +150,11 @@
</itemizedlist>
For a typical build, the target of the search is a
feature description in an <filename>.scc</filename> file
whose name follows this format:
whose name follows this format (e.g.
<filename>beaglebone-standard.scc</filename> and
<filename>beaglebone-preempt-rt.scc</filename>):
<literallayout class='monospaced'>
<replaceable>bsp_name</replaceable>-<replaceable>kernel_type</replaceable>.scc
<replaceable>bsp_root_name</replaceable>-<replaceable>kernel_type</replaceable>.scc
</literallayout>
</para></listitem>
<listitem><para>
@@ -213,7 +217,7 @@
end of an existing branch.
The full repository generation that is found in the
official Yocto Project kernel repositories at
<ulink url='&YOCTO_GIT_URL;/cgit.cgi'>http://git.yoctoproject.org/cgit.cgi</ulink>
<ulink url='&YOCTO_GIT_URL;'>http://git.yoctoproject.org</ulink>
is the combination of all supported boards and
configurations.
</para></listitem>
@@ -227,7 +231,7 @@
</para></listitem>
<listitem><para>
The full kernel tree that you see on
<ulink url='&YOCTO_GIT_URL;/cgit.cgi'></ulink> is
<ulink url='&YOCTO_GIT_URL;'></ulink> is
generated through repeating the above steps for all
valid BSPs.
The end result is a branched, clean history tree that

View File

@@ -88,9 +88,14 @@
</revision>
<revision>
<revnumber>2.5</revnumber>
<date>April 2018</date>
<date>May 2018</date>
<revremark>Released with the Yocto Project 2.5 Release.</revremark>
</revision>
<revision>
<revnumber>2.6</revnumber>
<date>&REL_MONTH_YEAR;</date>
<revremark>Released with the Yocto Project 2.6 Release.</revremark>
</revision>
</revhistory>
<copyright>
@@ -111,24 +116,36 @@
is for the &YOCTO_DOC_VERSION; release of the
Yocto Project.
To be sure you have the latest version of the manual
for this release, use the manual from the
<ulink url='&YOCTO_HOME_URL;/documentation'>Yocto Project documentation page</ulink>.
</para></listitem>
<listitem><para>
For manuals associated with other releases of the Yocto
Project, go to the
for this release, go to the
<ulink url='&YOCTO_HOME_URL;/documentation'>Yocto Project documentation page</ulink>
and use the drop-down "Active Releases" button
and choose the manual associated with the desired
Yocto Project.
and select the manual from that site.
Manuals from the site are more up-to-date than manuals
derived from the Yocto Project released TAR files.
</para></listitem>
<listitem><para>
To report any inaccuracies or problems with this
manual, send an email to the Yocto Project
discussion group at
<filename>yocto@yoctoproject.com</filename> or log into
the freenode <filename>#yocto</filename> channel.
</para></listitem>
If you located this manual through a web search, the
version of the manual might not be the one you want
(e.g. the search might have returned a manual much
older than the Yocto Project version with which you
are working).
You can see all Yocto Project major releases by
visiting the
<ulink url='&YOCTO_WIKI_URL;/wiki/Releases'>Releases</ulink>
page.
If you need a version of this manual for a different
Yocto Project release, visit the
<ulink url='&YOCTO_HOME_URL;/documentation'>Yocto Project documentation page</ulink>
and select the manual set by using the
"ACTIVE RELEASES DOCUMENTATION" or "DOCUMENTS ARCHIVE"
pull-down menus.
</para></listitem>
<listitem><para>
To report any inaccuracies or problems with this
manual, send an email to the Yocto Project
discussion group at
<filename>yocto@yoctoproject.com</filename> or log into
the freenode <filename>#yocto</filename> channel.
</para></listitem>
</itemizedlist>
</note>
</legalnotice>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 175 KiB

After

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 KiB

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 136 KiB

BIN
documentation/mega-manual/figures/sdk-generation.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 50 KiB

BIN
documentation/mega-manual/figures/user-configuration.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 KiB

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -72,9 +72,14 @@
</revision>
<revision>
<revnumber>2.5</revnumber>
<date>April 2018</date>
<date>May 2018</date>
<revremark>Released with the Yocto Project 2.5 Release.</revremark>
</revision>
<revision>
<revnumber>2.6</revnumber>
<date>&REL_MONTH_YEAR;</date>
<revremark>Released with the Yocto Project 2.6 Release.</revremark>
</revision>
</revhistory>
<copyright>
@@ -95,24 +100,36 @@
is for the &YOCTO_DOC_VERSION; release of the
Yocto Project.
To be sure you have the latest version of the manual
for this release, use the manual from the
<ulink url='&YOCTO_HOME_URL;/documentation'>Yocto Project documentation page</ulink>.
</para></listitem>
<listitem><para>
For manuals associated with other releases of the Yocto
Project, go to the
for this release, go to the
<ulink url='&YOCTO_HOME_URL;/documentation'>Yocto Project documentation page</ulink>
and use the drop-down "Active Releases" button
and choose the manual associated with the desired
Yocto Project.
and select the manual from that site.
Manuals from the site are more up-to-date than manuals
derived from the Yocto Project released TAR files.
</para></listitem>
<listitem><para>
To report any inaccuracies or problems with this
manual, send an email to the Yocto Project
discussion group at
<filename>yocto@yoctoproject.com</filename> or log into
the freenode <filename>#yocto</filename> channel.
</para></listitem>
If you located this manual through a web search, the
version of the manual might not be the one you want
(e.g. the search might have returned a manual much
older than the Yocto Project version with which you
are working).
You can see all Yocto Project major releases by
visiting the
<ulink url='&YOCTO_WIKI_URL;/wiki/Releases'>Releases</ulink>
page.
If you need a version of this manual for a different
Yocto Project release, visit the
<ulink url='&YOCTO_HOME_URL;/documentation'>Yocto Project documentation page</ulink>
and select the manual set by using the
"ACTIVE RELEASES DOCUMENTATION" or "DOCUMENTS ARCHIVE"
pull-down menus.
</para></listitem>
<listitem><para>
To report any inaccuracies or problems with this
manual, send an email to the Yocto Project
discussion group at
<filename>yocto@yoctoproject.com</filename> or log into
the freenode <filename>#yocto</filename> channel.
</para></listitem>
</itemizedlist>
</note>
@@ -120,14 +137,32 @@
</bookinfo>
<!-- Includes yocto-project-qs -->
<!-- Includes brief-yoctoprojectqs -->
<para>
<imagedata fileref="figures/ypqs-title.png" width="100%" align="left" scalefit="1" />
<imagedata fileref="figures/bypqs-title.png" width="100%" align="left" scalefit="1" />
</para>
<xi:include
xmlns:xi="http://www.w3.org/2003/XInclude" href="../yocto-project-qs/qs.xml"/>
xmlns:xi="http://www.w3.org/2003/XInclude" href="../brief-yoctoprojectqs/brief-yoctoprojectqs.xml"/>
<!-- Includes overview-manual title image and then overview-manual chapters -->
<para>
<imagedata fileref="figures/overview-manual-title.png" width="100%" align="left" scalefit="1" />
</para>
<xi:include
xmlns:xi="http://www.w3.org/2003/XInclude" href="../overview-manual/overview-manual-intro.xml"/>
<xi:include
xmlns:xi="http://www.w3.org/2003/XInclude" href="../overview-manual/overview-manual-yp-intro.xml"/>
<xi:include
xmlns:xi="http://www.w3.org/2003/XInclude" href="../overview-manual/overview-manual-development-environment.xml"/>
<xi:include
xmlns:xi="http://www.w3.org/2003/XInclude" href="../overview-manual/overview-manual-concepts.xml"/>
<!-- Includes dev-manual title image and then dev-manual chapters -->
@@ -139,8 +174,6 @@
xmlns:xi="http://www.w3.org/2003/XInclude" href="../dev-manual/dev-manual-intro.xml"/>
<xi:include
xmlns:xi="http://www.w3.org/2003/XInclude" href="../dev-manual/dev-manual-start.xml"/>
<xi:include
xmlns:xi="http://www.w3.org/2003/XInclude" href="../dev-manual/dev-manual-newbie.xml"/>
<xi:include
xmlns:xi="http://www.w3.org/2003/XInclude" href="../dev-manual/dev-manual-common-tasks.xml"/>
<xi:include
@@ -169,7 +202,7 @@
<xi:include
xmlns:xi="http://www.w3.org/2003/XInclude" href="../sdk-manual/sdk-appendix-customizing-standard.xml"/>
<xi:include
xmlns:xi="http://www.w3.org/2003/XInclude" href="../sdk-manual/sdk-appendix-mars.xml"/>
xmlns:xi="http://www.w3.org/2003/XInclude" href="../sdk-manual/sdk-appendix-neon.xml"/>
<!-- Includes bsp-guide title image and then bsp-guide chapters -->
@@ -219,16 +252,10 @@
</para>
<xi:include
xmlns:xi="http://www.w3.org/2003/XInclude" href="../ref-manual/introduction.xml"/>
xmlns:xi="http://www.w3.org/2003/XInclude" href="../ref-manual/ref-system-requirements.xml"/>
<xi:include
xmlns:xi="http://www.w3.org/2003/XInclude" href="../ref-manual/usingpoky.xml"/>
<xi:include
xmlns:xi="http://www.w3.org/2003/XInclude" href="../ref-manual/ref-development-environment.xml"/>
<xi:include
xmlns:xi="http://www.w3.org/2003/XInclude" href="../ref-manual/technical-details.xml"/>
xmlns:xi="http://www.w3.org/2003/XInclude" href="../ref-manual/ref-terms.xml"/>
<xi:include
xmlns:xi="http://www.w3.org/2003/XInclude" href="../ref-manual/ref-release-process.xml"/>

View File

Before

Width:  |  Height:  |  Size: 186 KiB

After

Width:  |  Height:  |  Size: 186 KiB

Some files were not shown because too many files have changed in this diff Show More