summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* insane.bbclass: Trigger unrecognzed configure option for mesonAndreas Müller2019-04-111-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | Tested with 'unknown-configure-option' in ERROR_QA: For meson (glib-2.0-native): 1. add 'EXTRA_OEMESON_append = "-Dschnitzel=true -Dwurst=true"' | ERROR: glib-2.0-native-1_2.58.3-r0 do_configure: QA Issue: glib-2.0-native: configure was passed unrecognised options: schnitzel wurst [unknown-configure-option] 2. add 'UNKNOWN_CONFIGURE_WHITELIST_append=" schnitzel"' | ERROR: glib-2.0-native-1_2.58.3-r0 do_configure: QA Issue: glib-2.0-native: configure was passed unrecognised options: wurst [unknown-configure-option] 3. change to 'UNKNOWN_CONFIGURE_WHITELIST_append=" schnitzel wurst"' => builds without issues For autotools (readline-native): 1. add 'EXTRA_OECONF = "--with-schnitzel --with-wurst"' | ERROR: readline-native-8.0-r0 do_configure: QA Issue: readline-native: configure was passed unrecognised options: --with-wurst --with-schnitzel [unknown-configure-option] 2. add 'UNKNOWN_CONFIGURE_WHITELIST_append=" --with-schnitzel"' | ERROR: readline-native-8.0-r0 do_configure: QA Issue: readline-native: configure was passed unrecognised options: --with-wurst [unknown-configure-option] 3. add 'UNKNOWN_CONFIGURE_WHITELIST_append=" --with-schnitzel --with-wurst"' => builds without issues (From OE-Core rev: 30c001cdbc6207001b18e093ad9691e606428f0f) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-python: rework gobject-introspection handlingAndreas Müller2019-04-111-1/+5
| | | | | | | | | | | | | | | | | | gobject-introspection is mandatory for gstreamer1.0-python - there is no configure option to enable or disable it. To handle properly, this patch does: * Make 'gobject-introspection-data' a required distro feature * Add 'UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection"' - it was removed in gobject-introspection.bbclass to avoid | ERROR: libgee-0.18.0-r0 do_configure: QA Issue: libgee: configure was passed unrecognised options: --disable-schemas-install [unknown-configure-option] (From OE-Core rev: bcc560134ebfbeeb0c1cc7b6c96e2da629df67a2) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-plugins: move 'inherit gobject-introspection' to recipes supporting GIAndreas Müller2019-04-113-3/+3
| | | | | | | | | | | | | | | | Now that whitelisting for unknown configure options was removed in gobject-introspection.bbclass gstreamer1.0-plugins-ugly/-good start complaining | ERROR: gstreamer1.0-plugins-ugly-1.14.4-r0 do_configure: QA Issue: gstreamer1.0-plugins-ugly: configure was passed unrecognised options: --enable-introspection [unknown-configure-option] | ERROR: gstreamer1.0-plugins-good-1.14.4-r0 do_configure: QA Issue: gstreamer1.0-plugins-good: configure was passed unrecognised options: --enable-introspection [unknown-configure-option] So let only those gst-plugin recipes inherit gobject-introspection whose sources support GI. (From OE-Core rev: b6138d28f750f4306bc8b9c9baa047d9971dcb17) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-networking: upgrade 2.58.0 -> 2.60.1Andreas Müller2019-04-111-5/+5
| | | | | | | | | this version support gnutls option again - it was mandatory for 2.58.0 (From OE-Core rev: 1638c56a5e38969b07d368176ae30d241199eb36) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsoup-2.4: use gobject-introspection.bbclass on/off mechanismAndreas Müller2019-04-111-8/+0
| | | | | | | (From OE-Core rev: 951b8394a7665902ec9b0572585c605251beb002) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* atk: use gobject-introspection.bbclass on/off mechanismAndreas Müller2019-04-111-8/+0
| | | | | | | (From OE-Core rev: 9fca94a4fe8e6f884689accc7d35c453811b6654) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* at-spi2-core: use gobject-introspection.bbclass on/off mechanismAndreas Müller2019-04-111-6/+4
| | | | | | | (From OE-Core rev: 7d2d1a45e0d6fe0dba289d686a510f844151df2f) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pango: use gobject-introspection.bbclass on/off mechanismAndreas Müller2019-04-111-9/+1
| | | | | | | (From OE-Core rev: 2e2dbb4c16dcdc8b1d51a3d5a46d766e395d1840) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clutter-gtk-1.0: use gobject-introspection.bbclass on/off mechanismAndreas Müller2019-04-111-10/+1
| | | | | | | (From OE-Core rev: 0c8fdee10bed66334df93b22ee16fb61a3752c56) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libdazzle: use gobject-introspection.bbclass on/off mechanismAndreas Müller2019-04-111-5/+1
| | | | | | | (From OE-Core rev: 926cdbf7a7a07c8dfdfe3f3b66f32f8c1ea0dffa) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* json-glib: use gobject-introspection.bbclass on/off mechanismAndreas Müller2019-04-111-5/+0
| | | | | | | (From OE-Core rev: 25f4b659915c5de60a07ba98cba709c4a52c476e) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdk-pixbuf: use gobject-introspection.bbclass on/off mechanismAndreas Müller2019-04-111-7/+1
| | | | | | | (From OE-Core rev: 8ffb0a5f88cbebfa19e5eee337d00f6e5214ba34) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmodulemd: use gobject-introspection.bbclass on/off mechanismAndreas Müller2019-04-111-8/+3
| | | | | | | (From OE-Core rev: 7ebe0cfccb5ec5643da3154cc4d6537493ad496e) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: auto-enable/-disable gobject-introspection for mesonAndreas Müller2019-04-111-2/+12
| | | | | | | | | | | | | * the class sets defaults used most common which can be overriden by recipes * UNKNOWN_CONFIGURE_WHITELIST was removed for autotools (and not added for meson) as suggested by Alexander Kanavin [1] [1] http://lists.openembedded.org/pipermail/openembedded-core/2019-April/280716.html (From OE-Core rev: 59589383131df6bc0c8787cd00a16ee59e21d441) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: remove Elfutils-Exception and include GPLv2 for shared librariesMikko Rapeli2019-04-113-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Elfutils-Exception no longer exists after upstream release 0.154 and commit: commit de2ed97f33139af5c7a0811e4ec66fc896a13cf2 Author: Mark Wielaard <mjw@redhat.com> Date: Tue Jun 5 17:15:16 2012 +0200 NEWS file in the sources says this about switch from GPLv2 to GPLv3 license: https://sourceware.org/git/?p=elfutils.git;a=blob;f=NEWS;h=5a06047f255e3c9a63828953759fd18a4ba9a3f3;hb=HEAD#l362 362 The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone 363 programs. There is now also a formal CONTRIBUTING document describing how to 364 submit patches. libasm, libdw and libelf are thus covered optionally by GPLv2 license. See also Debian copyright summary for elfutils: https://tracker.debian.org/media/packages/e/elfutils/copyright-0.175-1 (From OE-Core rev: 88188807a6ac9bab738a69f6b4caba9ed092d78f) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Fix ptest output parsingRichard Purdie2019-04-111-1/+1
| | | | | | | | | | A previous fix to python added -W and removed -v. This reverts that part of the change since we're no longer getting ptest results at all. This change back to more verbose output means we start getting test results again. (From OE-Core rev: d70c77e4d5ec1d7cb4f134377df11e6475f31062) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Avoid hanging testsRichard Purdie2019-04-112-0/+61
| | | | | | | | | | | | There are python tests which hang with recent kernels, 5.0 onwards. This causes ptest to timeout for python3. Disable the problematic test until we better understand the real cause and fix of the issue (discussions are happening with upstream). See the patch for details/links. (From OE-Core rev: 2a48df02a2871635f8235645bfd7f7a3ff0aef31) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Update to gain key bugfixesRichard Purdie2019-04-111-1/+1
| | | | | | | | | | | | | | | | Newer distros are using new versions of glibc and coreutils which use the new glibc renameat2 function. We need to intercept this for correct functioning of pseudo. This is essential to ensure new distros continue to work with the project. Also, this version has a fix for path/inode cross corruption problems which may explain our mysterious locale permissions issues. Many thanks to Otavio and Peter Seebach for the help in figuring this out and fixing it. (From OE-Core rev: 0fb257121b68f38b40c078150db8f7d0979b7ea5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Use PTEST binary directoryMariano Lopez2019-04-111-14/+2
| | | | | | | | | | | | | | This will generate the symlinks in the ptest binary directory using the ptest class functionality instead of generating them manually. Because the ptest class uses update-alternatives to get the metadata for the symlinks it will respect the use of BUSYBOX_SPLIT_SUID automatically. [YOCTO #12597] (From OE-Core rev: a3923085d1cad7de7e644ff57d05c4a8955b5b00) Signed-off-by: Mariano Lopez <just.another.mariano@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Use PTEST binary directoryMariano Lopez2019-04-112-2/+7
| | | | | | | | | | | | | | | | Some binaries generated by util-linux will be replaced by core-utils in the final image by update-alternatives, so use a dedicated directory with symlinks to avoid using a binary generated by another package. This will solve the issue with the ptest runner timing out when running the kill ptests for util-linux. [YOCTO #13238] (From OE-Core rev: 1a8fd875f0b171e25a5ac8a32cc81ff3887935bd) Signed-off-by: Mariano Lopez <just.another.mariano@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest.bbclass: Add feature to populate a binary directoryMariano Lopez2019-04-111-0/+32
| | | | | | | | | | | | | | | | | | | This adds the functionality to create a binary directory within PTEST_PATH directory. This directory will be populated with symlinks pointing to the binaries installed by the package and then renamed by update-alternatives. This way the ptest only needs to source this binary directory in order to use the expected binaries. To enable this feature just add PTEST_BINDIR = "1" to the recipe. [YOCTO #12597] [YOCTO #13238] (From OE-Core rev: bca35319b89ce668927728c4e2094f6e10cef298) Signed-off-by: Mariano Lopez <just.another.mariano@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-alternatives.bbclass: Add function to get metadataMariano Lopez2019-04-111-25/+45
| | | | | | | | | | | | | | | This adds update_alternatives_alt_targets function to get the metadata for a package. This is for code reuse because the metadata would help other classes that needs to be aware of how update-alternatives modify the final package. [YOCTO #12597] [YOCTO #13238] (From OE-Core rev: 04d966c0a91c5e16555bba827969a0a2fd96bb96) Signed-off-by: Mariano Lopez <just.another.mariano@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: Drop 4.18 kernelRichard Purdie2019-04-101-27/+0
| | | | | | (From meta-yocto rev: 1a9d86574ae0e2491bdd33b6addfd8ba6069d628) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* goarch.bbclass: use MACHINEOVERRIDES and simplify go_map_arm()Mark Asselstine2019-04-101-8/+11
| | | | | | | | | | | | | | | | | | Per https://github.com/golang/go/wiki/GoArm we need to set GOARM when cross building for ARMv5, ARMv6 and ARMv7. The current approach of using TUNE_FEATURES can be error prone, as we can see today when attempting to build for Cortex-A7 which results in GOARM=''. Since the value of MACHINEOVERRIDES already consolidates the values of TUNE_FEATURES into something more consistent we can use the overrides mechanism to set GOARM, leaving just a little bit of logic in go_map_arm() to trigger off the arch (basically target vs host) for the setting of GOARM. (From OE-Core rev: 5f48939e26402b77fc3343f326765137f9570f40) Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go.bbclass: Export more GO* environment variablesMark Asselstine2019-04-101-0/+19
| | | | | | | | | | | | | | | | | | | | | | Currently we are not doing a good job of consolidating GO environment variables used by the go build system in the go.bbclass, instead we are relying on the individual GO recipe authors to perform the exports. This can result in inconsistent build results and often binaries that are not properly cross compiled, resulting in segfaults when the applications are run on the target. For example the GO documentation recommends that the environment include a value assigned to GOARM when cross building for ARMv5, ARMv6 and ARMv7 (https://github.com/golang/go/wiki/GoArm). In order to avoid polluting the build scripts with unnecessary exports, such as run.do_compile, we attempt to only export variables when they apply to a specific arch. (From OE-Core rev: 6300c4a83f7c8fc88702798ffe25bd6d57091673) Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane: fix gettext dependency warningRoss Burton2019-04-101-1/+1
| | | | | | | | | This message was using %s markers but nothing was being passed in. (From OE-Core rev: d204398d40cbbea5a6b58a36fc289d569f2eb304) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fix predictable network interface names in initrdTomasz Meresiński2019-04-101-0/+1
| | | | | | | | | | | https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ says, that udev is responsible for predictable network interface names, so udev package is a better place for its configuration file. (From OE-Core rev: 4cf7c6b86b26c8355054f93e2aa5e05a35e536c6) Signed-off-by: Tomasz Meresiński <tomasz.meresinski@comarch.pl> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate.bbclass: Use bb.utils.to_boolean() for BB_NO_NETWORKRobert Yang2019-04-101-2/+4
| | | | | | | | | Make it consistent with bitbake (From OE-Core rev: 7fb540c3199bc2b82d60fff678b5e588ab4d1ad6) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* resulttool/manualexecution: Enable creation of configuration option fileYeoh Ee Peng2019-04-101-1/+53
| | | | | | | | | | | | Allow the creation of configuration option file based on user inputs. Where this configuration option file will be used by the the manual execution to display options for configuration rather than user need to inputs configuration manually. (From OE-Core rev: 23c7a037a85a825aa088bfac3a144c14087a9f49) Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* resulttool/manualexecution: Enable configuration options selectionYeoh Ee Peng2019-04-101-9/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current manualexecution required user to input configuration manually where there were inconsistent inputs and human typo issues. Enable manualexecution to have the optional feature where it will use pre-compiled configuration options file where user will be able to select configuration from the pre-compiled list instead of manual key-in the configuration. This will eliminate human error. Expect the pre-compiled configuration options file in json format below { "bsps-hw": { "IMAGE_BASENAME": { "1": "core-image-sato-sdk" }, "MACHINE": { "1": "beaglebone-yocto", "2": "edgerouter", "3": "mpc8315e-rdb", "4": "genericx86", "5": "genericx86-64" } }, "bsps-qemu": { "IMAGE_BASENAME": { "1": "core-image-sato-sdk" }, "MACHINE": { "1": "qemuarm", "2": "qemuarm64", "3": "qemumips", "4": "qemumips64", "5": "qemuppc", "6": "qemux86", "7": "qemux86-64" } } } (From OE-Core rev: 1af7e04223b415a64e100a9f91d60f5e9b0f789a) Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Support Eclipse and other cmake generatorsNikhil Pal Singh2019-04-101-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support project-file generators such as CodeBlocks, CodeLite, Eclipse, Sublime, and Kate for both make and Ninja build systems. The following generators are listed in cmake --help: Unix Makefiles = Generates standard UNIX makefiles. Ninja = Generates build.ninja files. Watcom WMake = Generates Watcom WMake makefiles. CodeBlocks - Ninja = Generates CodeBlocks project files. CodeBlocks - Unix Makefiles = Generates CodeBlocks project files. CodeLite - Ninja = Generates CodeLite project files. CodeLite - Unix Makefiles = Generates CodeLite project files. Sublime Text 2 - Ninja = Generates Sublime Text 2 project files. Sublime Text 2 - Unix Makefiles = Generates Sublime Text 2 project files. Kate - Ninja = Generates Kate project files. Kate - Unix Makefiles = Generates Kate project files. Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project files. Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files. All but one of these contain one of the strings, "Unix Makefiles" or "Ninja". In each of these cases, cmake generates the Makefiles (or ninja files respectively), and also the appropriate project files, eg. .project and .cproject for Eclipse. A user can set OECMAKE_GENERATOR in their local.conf to any one of these strings, except "Watcom WMake" (not supported). (From OE-Core rev: 256e8b5deae66b1463c359db12af396702912139) Signed-off-by: Nikhil Pal Singh <nikhilpal.singh@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bind: upgrade 9.11.5 -> 9.11.5-P4Adrian Bunk2019-04-101-3/+3
| | | | | | | | | | | Bugfix-only compared to 9.11.5, mostly CVE fixes. COPYRIGHT checksum changed due to 2018 -> 2019. (From OE-Core rev: 5d286da0fbe1a7ded2f84eec990e49d221bdeab4) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "mdadm: fix gcc8 maybe-uninitialized/format-overflow warning"Khem Raj2019-04-102-61/+0
| | | | | | | | | | | | | | This patch tried to address a gcc problem when -Og is used, but it did cause regressions on normal compiles when using clang e.g. the real problem is to fix the compiler until then disable the warning in DEBUG_FLAGS This reverts commit 630281663893cdcfa9c4323b717b415d87d5510f. (From OE-Core rev: 949961cdf7d4639da538045dc83c2a354e16ea80) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.18: remove versioned recipesBruce Ashfield2019-04-103-123/+0
| | | | | | | | | | | | | | The 4.18 kernel has been replaced by 4.19 and 5.0 in master. poky-tiny has been tested against 5.0, so we can now remove the 4.18 recipes. The 4.18 branches will continue to be maintained, but we only want two active kernels in the master/releases branches. (From OE-Core rev: 9251cec30ff77b526363bed7299238e33b68feb4) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.0: tweak qemuarm -tiny configurationBruce Ashfield2019-04-103-3/+3
| | | | | | | | | | | | Tweaking the qemuarm -tiny configuration so it will boot to a prompt. There are still some remaining issues (like hvc console warnings), but this is much better than a silent boot, or boot hang like we previously had. (From OE-Core rev: 12a5d50e65cd3510ba790cd7867b5319ef5028f4) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemumips: Enable the poweroff driverBruce Ashfield2019-04-106-6/+6
| | | | | | | | | | | | | | | | | | | | | Integrating the following configuration change: Author: Kevin Hao <kexin.hao@windriver.com> Date: Wed Apr 3 19:30:58 2019 +0800 mips: Enable the poweroff driver for the qemumips/qemumips64 As Indicated by Richard Purdie, in order to shutdown the machine we have to explicitly enable the PIIX4 poweroff driver for the qemumips/qemumips64 after the kernel commit dd129c6374e9 ("MIPS: Malta: Use PIIX4 poweroff driver to power down") is merged. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> (From OE-Core rev: a166e005eb02e2486d59404938ff639bb4860bdf) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.18: update to v4.18.33Bruce Ashfield2019-04-103-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating Paul Gortmaker's -stable ports to 4.18 which comprise the following commits: 56f9fe35a4c5 Linux 4.18.33 bf44ff79b855 net: hns: Fixes the missing put_device in positive leg for roce reset 81614c514f4e mm: Use fixed constant in page_frag_alloc instead of size + 1 035b5a7a3e3f ipvs: fix warning on unused variable 58ab04e46d92 intel_th: gth: Fix an off-by-one in output unassigning 8cb600d53c6c ARM: dts: exynos: Fix max voltage for buck8 regulator on Odroid XU3/XU4 f11b815f39bf s390/setup: fix boot crash for machine without EDAT-1 4059d23a36a6 KVM: nVMX: Ignore limit checks on VMX instructions using flat segments d94637dc73e5 KVM: nVMX: Apply addr size mask to effective address for VMX instructions ee356457f2a3 KVM: nVMX: Sign extend displacements of VMX instr's mem operands b4485d9eb039 KVM: x86/mmu: Do not cache MMIO accesses while memslots are in flux fe7d69927661 KVM: x86/mmu: Detect MMIO generation wrap in any address space c34cae89374b KVM: Call kvm_arch_memslots_updated() before updating memslots 9fb8b858d552 drm/amd/display: don't call dm_pp_ function from an fpu block d4302b79ffbd drm/amd/powerplay: correct power reading on fiji 5f8c51055244 drm/radeon/evergreen_cs: fix missing break in switch statement 3fc39cdce701 media: imx: csi: Stop upstream before disabling IDMA channel 5c008f7971b8 media: imx: csi: Disable CSI immediately after last EOF 74a5ff7db3b2 media: uvcvideo: Avoid NULL pointer dereference at the end of streaming 142a9bd66395 media: lgdt330x: fix lock status reporting 465204a0c772 media: imx: prpencvf: Stop upstream before disabling IDMA channel 42a2c1a40db0 rcu: Do RCU GP kthread self-wakeup from softirq and interrupt f9480ca4fb29 tpm: Unify the send callback behaviour 5f28509f81ad tpm/tpm_crb: Avoid unaligned reads in crb_recv() ea37270d4c87 md: Fix failed allocation of md_register_thread bd77b69a20ba perf intel-pt: Fix divide by zero when TSC is not available c9a63c17458f perf/x86/intel/uncore: Fix client IMC events return huge result 63a25bdd4227 perf intel-pt: Fix overlap calculation for padding 66a57e3b95b5 perf auxtrace: Define auxtrace record alignment 76650254e18e perf intel-pt: Fix CYC timestamp calculation after OVF 274ef4840d79 x86/unwind/orc: Fix ORC unwind table alignment 3928a903e185 vt: perform safe console erase in the right order 645a7ca69855 stable-kernel-rules.rst: add link to networking patch queue 1c14622adb15 bcache: never writeback a discard operation 261aad0b3ea7 PM / wakeup: Rework wakeup source timer cancellation ee610ce938cd svcrpc: fix UDP on servers with lots of threads 0530b66bfd53 NFSv4.1: Reinitialise sequence results before retransmitting a request 9a1d7090b36e nfsd: fix wrong check in write_v4_end_grace() e7edb30fd6b7 nfsd: fix memory corruption caused by readdir 672f2e600d21 nfsd: fix performance-limiting session calculation 624865483faa NFS: Don't recoalesce on error in nfs_pageio_complete_mirror() 2b5fef7c9927 NFS: Fix an I/O request leakage in nfs_do_recoalesce 63adecfe53e9 NFS: Fix I/O request leakages 0b0545dd7e6e cpcap-charger: generate events for userspace 8f27f8570fa7 mfd: sm501: Fix potential NULL pointer dereference f964d308797d dm integrity: limit the rate of error messages 1ed46c0c4f65 dm: fix to_sector() for 32bit ea77e999f649 ipmi_si: fix use-after-free of resource->name 5a0bc68e9a0d arm64: KVM: Fix architecturally invalid reset value for FPEXC32_EL2 9dc4a1a6447e arm64: debug: Ensure debug handlers check triggering exception level c33e96f8ddb2 arm64: Fix HCR.TGE status for NMI contexts bb7edb8a409a ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify e8d7edd36a92 powerpc/traps: Fix the message printed when stack overflows fbea0579063f powerpc/hugetlb: Don't do runtime allocation of 16G pages in LPAR configuration 88d0042148f0 powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning b0fc119506bf powerpc: Fix 32-bit KVM-PR lockup and host crash with MacOS guest 6e975dad4a8e powerpc/powernv: Don't reprogram SLW image on every KVM guest entry/exit fcf2d15a0a32 powerpc/83xx: Also save/restore SPRG4-7 during suspend 87481c65c805 powerpc/powernv: Make opal log only readable by root 12319dcc9a80 powerpc/wii: properly disable use of BATs when requested. be851891b1c9 powerpc/32: Clear on-stack exception marker upon exception return 24d0b4b51dd1 security/selinux: fix SECURITY_LSM_NATIVE_LABELS on reused superblock 3ea70bdc892f selinux: add the missing walk_size + len check in selinux_sctp_bind_connect 00d550a195f2 jbd2: fix compile warning when using JBUFFER_TRACE b18848cc624a jbd2: clear dirty flag when revoking a buffer from an older transaction 108ba9f62780 serial: 8250_pci: Have ACCES cards that use the four port Pericom PI7C9X7954 chip use the pci_pericom_setup() a79bc3e5fb7c serial: 8250_pci: Fix number of ports for ACCES serial cards 78e39f8bb56e serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart 04eb2755b4e9 serial: uartps: Fix stuck ISR if RX disabled with non-empty FIFO 9007ccc01a91 bpf: only test gso type on gso packets ef5b4e1f5735 drm/i915: Relax mmap VMA check 23ca68189393 can: flexcan: FLEXCAN_IFLAG_MB: add () around macro argument 8529fecb481e gpio: pca953x: Fix dereference of irq data in shutdown 31e04ac8a8ba media: i2c: ov5640: Fix post-reset delay 1855d8c9e6c4 i2c: tegra: fix maximum transfer size 8bc3433b216d parport_pc: fix find_superio io compare code, should use equal test. 2c0542dbb267 intel_th: Don't reference unassigned outputs c64422307c34 device property: Fix the length used in PROPERTY_ENTRY_STRING() c88db9c0d127 kernel/sysctl.c: add missing range check in do_proc_dointvec_minmax_conv 5374924c9332 mm/memory.c: do_fault: avoid usage of stale vm_area_struct db693b432779 mm/vmalloc: fix size check for remap_vmalloc_range_partial() 1811478753e3 mm: hwpoison: fix thp split handing in soft_offline_in_use_page() 492ea426ddce dmaengine: usb-dmac: Make DMAC system sleep callbacks explicit f1bb88d5cee1 usb: chipidea: tegra: Fix missed ci_hdrc_remove_device() 9377917b523a clk: ingenic: Fix doc of ingenic_cgu_div_info f0412cfc06af clk: ingenic: Fix round_rate misbehaving with non-integer dividers b6b4011ce7d1 clk: samsung: exynos5: Fix kfree() of const memory on setting driver_override 715fe29adfd1 clk: samsung: exynos5: Fix possible NULL pointer exception on platform_device_alloc() failure eb9aa4ebf835 clk: clk-twl6040: Fix imprecise external abort for pdmclk 917fa829bbf5 clk: uniphier: Fix update register for CPU-gear 80d526380136 ext2: Fix underflow in ext2_max_size() bbf30be02326 cxl: Wrap iterations over afu slices inside 'afu_list_lock' 94f31d712f26 IB/hfi1: Close race condition on user context disable and close a80eceacf85c PCI: dwc: skip MSI init if MSIs have been explicitly disabled 084005af4966 PCI/ASPM: Use LTR if already enabled by platform 821934eb7e75 ext4: fix crash during online resizing 01767d409537 ext4: add mask of ext4 flags to swap f21830e67d5d ext4: update quota information while swapping boot loader inode 4de71f7481a7 ext4: cleanup pagecache before swap i_data 4821bf3c61bb ext4: fix check of inode in swap_inode_boot_loader 3cd2f1153739 cpufreq: pxa2xx: remove incorrect __init annotation dc4443928ee2 cpufreq: tegra124: add missing of_node_put() a0e15a764318 cpufreq: kryo: Release OPP tables on module removal d28564a8e60e x86/kprobes: Prohibit probing on optprobe template code 56955276ba2e irqchip/brcmstb-l2: Use _irqsave locking variants in non-interrupt code 14dda7949f82 irqchip/gic-v3-its: Avoid parsing _indirect_ twice for Device table 3a8560230470 libertas_tf: don't set URB_ZERO_PACKET on IN USB transfer 7e7e5728d161 Btrfs: fix corruption reading shared and compressed extents after hole punching be1ee0e2fd42 btrfs: ensure that a DUP or RAID1 block group has exactly two stripes cb292a678ee2 Btrfs: setup a nofs context for memory allocation at __btrfs_set_acl f1f0ee2859e6 Btrfs: setup a nofs context for memory allocation at btrfs_create_tree() 0e6de290666f m68k: Add -ffreestanding to CFLAGS f78f0d35d43a splice: don't merge into linked buffers 433cbc2d30f3 fs/devpts: always delete dcache dentry-s in dput() dbb3e594eecd scsi: target/iscsi: Avoid iscsit_release_commands_from_conn() deadlock 528af139ff6b scsi: sd: Optimal I/O size should be a multiple of physical block size ee579fc4e875 scsi: aacraid: Fix performance issue on logical drives 818838eea45d scsi: virtio_scsi: don't send sc payload with tmfs 478bd6b7f170 s390/virtio: handle find on invalid queue gracefully 47c6ea331f58 s390/setup: fix early warning messages 69304bcf9021 clocksource/drivers/arch_timer: Workaround for Allwinner A64 timer instability 947a053a6d47 clocksource/drivers/exynos_mct: Clear timer interrupt when shutdown 084c1f5522f1 clocksource/drivers/exynos_mct: Move one-shot check from tick clear to ISR 95d7c41e448f regulator: s2mpa01: Fix step values for some LDOs 69913dbd2d55 regulator: max77620: Initialize values for DT properties 060c4f4e5d0c regulator: s2mps11: Fix steps for buck7, buck8 and LDO35 9a215e43276c spi: pxa2xx: Setup maximum supported DMA transfer length 913cb6579c9a spi: ti-qspi: Fix mmap read when more than one CS in use bb427df35f34 netfilter: ipt_CLUSTERIP: fix warning unused variable cn 8fb8fb9b67bb mmc:fix a bug when max_discard is 0 85d7e5a8000a mmc: sdhci-esdhc-imx: fix HS400 timing issue 882b6b31ea55 ACPI / device_sysfs: Avoid OF modalias creation for removed device b3a0dfcfdd64 tracing/perf: Use strndup_user() instead of buggy open-coded version 054dec51d4e6 tracing: Do not free iter->trace in fail path of tracing_open_pipe() 9031822970ed tracing: Use strncpy instead of memcpy for string keys in hist triggers 9367b21da22c CIFS: Fix read after write for files with read caching db6a6106224d CIFS: Do not reset lease state to NONE on lease break aef1cf600f41 crypto: arm64/aes-ccm - fix bugs in non-NEON fallback routine 134135d884be crypto: arm64/aes-ccm - fix logical bug in AAD MAC handling 6779d6bdf611 crypto: x86/morus - fix handling chunked inputs and MAY_SLEEP 2dc6214860a1 crypto: x86/aesni-gcm - fix crash on empty plaintext a6e83e8b0777 crypto: x86/aegis - fix handling chunked inputs and MAY_SLEEP f62b08c81429 crypto: testmgr - skip crc32c context test for ahash algorithms 817cbacff744 crypto: skcipher - set CRYPTO_TFM_NEED_KEY if ->setkey() fails bc647ef1085e crypto: pcbc - remove bogus memcpy()s with src == dest 9fb0d7b8f9c2 crypto: morus - fix handling chunked inputs 76bc71692818 crypto: hash - set CRYPTO_TFM_NEED_KEY if ->setkey() fails 67a69738546d crypto: arm64/crct10dif - revert to C code for short inputs e1369ad2e0fc crypto: arm64/aes-neonbs - fix returning final keystream block 7807003aab85 crypto: arm/crct10dif - revert to C code for short inputs f54fbb0e595b crypto: aegis - fix handling chunked inputs 1e1f858caf7d crypto: aead - set CRYPTO_TFM_NEED_KEY if ->setkey() fails c81bf050b880 fix cgroup_do_mount() handling of failure exits 638f4fb4ec67 libnvdimm: Fix altmap reservation size calculation 5ebf4aa4cf6b libnvdimm/pmem: Honor force_raw for legacy pmem regions 8f42d7ac37af libnvdimm, pfn: Fix over-trim in trim_pfn_device() 68ab49b299fb libnvdimm/label: Clear 'updating' flag after label-set update 063d65ab9fdd nfit/ars: Attempt short-ARS even in the no_init_ars case 387b9f01ac16 nfit/ars: Attempt a short-ARS whenever the ARS state is idle at boot b4a1581c801d acpi/nfit: Fix bus command validation 0c27d62e5752 nfit: acpi_nfit_ctl(): Check out_obj->type in the right place fd8e9cd85f26 stm class: Prevent division by zero dd1250b50c61 tmpfs: fix uninitialized return value in shmem_link f4cadb1ec900 selftests: fib_tests: sleep after changing carrier. again. 7d856eb21fd5 net: set static variable an initial value in atl2_probe() 193e19cdf7a0 bnxt_en: Wait longer for the firmware message response to complete. 36ca3daa9b6a bnxt_en: Fix typo in firmware message timeout logic. aae48df6d81b nfp: bpf: fix ALU32 high bits clearance bug 9fbe31fda762 nfp: bpf: fix code-gen bug on BPF_ALU | BPF_XOR | BPF_K a58be12de08d net: thunderx: add nicvf_send_msg_to_pf result check for set_rx_mode_task 76320607b755 net: thunderx: make CFG_DONE message to run through generic send-ack sequence 6d0ebfc3fd3c bpf, lpm: fix lookup bug in map_delete_elem 4e9c4ca54607 mac80211_hwsim: propagate genlmsg_reply return code ce8e30135705 phonet: fix building with clang 92f628f3c945 ARCv2: don't assume core 0x54 has dual issue 1faac2e0838b ARCv2: support manual regfile save on interrupts 53fc181c111c ARC: uacces: remove lp_start, lp_end from clobber list 515122c2d88a ARCv2: lib: memcpy: fix doing prefetchw outside of buffer b1ba6184493e ixgbe: fix older devices that do not support IXGBE_MRQC_L3L4TXSWEN a7bc4915f286 tmpfs: fix link accounting when a tmpfile is linked in 5beffa8382a9 mm: handle lru_add_drain_all for UP properly 7bd326b49004 net: marvell: mvneta: fix DMA debug warning 70e79b53dd95 arm64: Relax GIC version check during early boot e3ca5da971e0 ARM: dts: armada-xp: fix Armada XP boards NAND description 2ac1b780dae0 qed: Fix iWARP syn packet mac address validation. 9e1395d75177 qed: Fix iWARP buffer size provided for syn packet processing. 5db253fa68bf ASoC: topology: free created components in tplg load error 31983c568574 mailbox: bcm-flexrm-mailbox: Fix FlexRM ring flush timeout issue 98b9e4e542eb net: mv643xx_eth: disable clk on error path in mv643xx_eth_shared_probe() d19e6c11ca1f qmi_wwan: apply SET_DTR quirk to Sierra WP7607 59e3fdbb9d45 pinctrl: meson: meson8b: fix the sdxc_a data 1..3 pins 63c87ecf5134 net: dsa: bcm_sf2: Do not assume DSA master supports WoL a2e5d18914c1 net: systemport: Fix reception of BPDUs 8d33e97da9c5 scsi: libiscsi: Fix race between iscsi_xmit_task and iscsi_complete_task 1c976b2c9f19 keys: Fix dependency loop between construction record and auth key 590d6228f163 assoc_array: Fix shortcut creation 5aa6e4f891a2 af_key: unconditionally clone on broadcast 8cae27e41068 bpf: fix lockdep false positive in stackmap c16b543d92ee bpf: only adjust gso_size on bytestream protocols 908e6fda5d7d ARM: 8824/1: fix a migrating irq bug when hotplug cpu d6fb8e0d9e7d esp: Skip TX bytes accounting when sending from a request socket 2dd0beec5a84 clk: sunxi: A31: Fix wrong AHB gate number 48db12b60b5b kallsyms: Handle too long symbols in kallsyms.c 882dbe3d5c03 clk: sunxi-ng: v3s: Fix TCON reset de-assert bit 1ab0225d6786 Input: st-keyscan - fix potential zalloc NULL dereference 8a6ef92721b7 auxdisplay: ht16k33: fix potential user-after-free on module unload 53f4d6948b35 i2c: bcm2835: Clear current buffer pointers and counts after a transfer 60bc9292260f i2c: cadence: Fix the hold bit setting e6e2c6c26a58 net: hns: Fix object reference leaks in hns_dsaf_roce_reset() bf6be978fece mm: page_alloc: fix ref bias in page_frag_alloc() for 1-byte allocs 7f72a70062d7 x86/CPU: Add Icelake model number 4342d099969c net: dsa: bcm_sf2: potential array overflow in bcm_sf2_sw_suspend() 6093401c933b scsi: qla2xxx: Fix panic from use after free in qla2x00_async_tm_cmd 09f4a1b6edf1 Revert "mm: use early_pfn_to_nid in page_ext_init" 7b9dd6a4976b mm/gup: fix gup_pmd_range() for dax 3cd584b00e50 NFS: Don't use page_file_mapping after removing the page 7d8cf3eb1dc7 xprtrdma: Make sure Send CQ is allocated on an existing compvec 5c64b19db5ce floppy: check_events callback should not return a negative number 1cae395dd7c0 ipvs: fix dependency on nf_defrag_ipv6 d05d4feda816 blk-mq: insert rq with DONTPREP to hctx dispatch list when requeue 0af0889613a8 netfilter: compat: initialize all fields in xt_init f2883b8eb0a9 mac80211: Fix Tx aggregation session tear down with ITXQs 665cb8ebf0f3 mac80211: call drv_ibss_join() on restart 0a1d76449997 Input: matrix_keypad - use flush_delayed_work() 375152e09de2 Input: ps2-gpio - flush TX work when closing port b15599627bd0 Input: cap11xx - switch to using set_brightness_blocking() a1e0fb446a4b ARM: OMAP2+: fix lack of timer interrupts on CPU1 after hotplug 7a587d77b211 ASoC: samsung: Prevent clk_get_rate() calls in atomic context bf74076b7dd3 KVM: arm64: Forbid kprobing of the VHE world-switch code d74df61de605 arm/arm64: KVM: Don't panic on failure to properly reset system registers 58d6ec80a286 arm/arm64: KVM: Allow a VCPU to fully reset itself c05c5a6e1f0e KVM: arm/arm64: Reset the VCPU without preemption and vcpu state loaded ba274486de32 ASoC: dapm: fix out-of-bounds accesses to DAPM lookup tables a3d8ea1f2555 ARM: OMAP2+: Variable "reg" in function omap4_dsi_mux_pads() could be uninitialized 237e6c308062 Input: pwm-vibra - stop regulator after disabling pwm, not before 6a48d09a77a1 Input: pwm-vibra - prevent unbalanced regulator fcae9decbc8f s390/dasd: fix using offset into zero size array error f98a25dc02b7 KVM: arm/arm64: vgic: Make vgic_dist->lpi_list_lock a raw_spinlock 74b6b1e49d06 gpu: ipu-v3: Fix CSI offsets for imx53 1c0723cba9a9 drm/imx: imx-ldb: add missing of_node_puts 321e0fbdae09 gpu: ipu-v3: Fix i.MX51 CSI control registers offset f0e52962b9f2 drm/imx: ignore plane updates on disabled crtcs 38fc637ca52e crypto: rockchip - update new iv to device in multiple operations 5d89757429b3 crypto: rockchip - fix scatterlist nents error 2365ae3a03c9 crypto: ahash - fix another early termination in hash walk 512b0d76c2c9 crypto: cfb - remove bogus memcpy() with src == dest 66b1348939de crypto: cfb - add missing 'chunksize' property 40c76d76e11f crypto: ccree - don't copy zero size ciphertext 2ff9501c582f crypto: ccree - fix free of unallocated mlli buffer ba3c72efd404 crypto: caam - fixed handling of sg list 5d9cee322faf crypto: ccree - fix missing break in switch statement e0ea8deb72db stm class: Fix an endless loop in channel allocation 95b10e2f6a61 mei: bus: move hw module get/put to probe/release 1af8d0304685 iio: adc: exynos-adc: Fix NULL pointer exception on unbind 513052a27dab ASoC: codecs: pcm186x: Fix energysense SLEEP bit d5f37b5d7009 ASoC: codecs: pcm186x: fix wrong usage of DECLARE_TLV_DB_SCALE() da21c5d9bacf ASoC: fsl_esai: fix register setting issue in RIGHT_J mode b3e4f70db4f3 9p/net: fix memory leak in p9_client_create 4b84eeface08 9p: use inode->i_lock to protect i_size_write() under 32-bit 4441736404a3 media: videobuf2-v4l2: drop WARN_ON in vb2_warn_zero_bytesused() 3f7de80a22c6 perf/core: Fix impossible ring-buffer sizes warning (From OE-Core rev: ed4cc3a801445e873eac92d7b686a2956e1355c2) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-tiny/4.18: point KBRANCH to 4.18Bruce Ashfield2019-04-101-1/+1
| | | | | | | | | | | | | The other kernel versions had the -tiny KBRANCH typo of 4.15 fixed, but 4.18 was missed. So we update the kbranch to the right version for 4.18 as well. [YOCTO #13247] (From OE-Core rev: f3d3f320b846a56d52d8f5f073db5b37e6f3ba50) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.0: update CGL audit configuration fragmentBruce Ashfield2019-04-103-3/+3
| | | | | | | | | | | | | | | | | | | Integrating the follow config tweak: cgl: audit: Remove CONFIG_AUDIT_WATCH and CONFIG_AUDIT_WATCH In the following commits, these two options have been replaced by CONFIG_AUDITSYSCALL which is in audit.cfg. c8fc5d49c341 ("audit: remove WATCH and TREE config options") cb74ed278f80 ("audit: always enable syscall auditing when supported and audit is enabled") Signed-off-by: He Zhe <zhe.he@windriver.com> (From OE-Core rev: 2fff1900a580d592acc22dd095b226b3830c36ff) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-rt/4.19: fix duplicate TIF_NEED_RESCHED_LAZYBruce Ashfield2019-04-101-1/+1
| | | | | | | | | | | | | | | | | | Integrating Kevin's patch that cleans up a build warning: x86: Drop the duplicate define of TIF_NEED_RESCHED_LAZY The two merge commits 107b161b1cbaf ("Merge branch 'v4.19/standard/base' into v4.19/standard/preempt-rt/base") and dc37b7080cd55 ("Merge tag 'v4.19.8' into linux-4.19.y-rt") almost have the same content, but introduce two define of TIF_NEED_RESCHED_LAZY for x86 arch. Drop one of them to fix the build warning. (From OE-Core rev: d8d339afd2f0e2873a1a782c05aaaa810fff72be) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky-tiny: set 5.0 as the preferred kernelBruce Ashfield2019-04-091-1/+1
| | | | | | | | | | | Updating poky-tiny to prefer 5.0 as the kernel version. Boot tested against qemux86 and qemuarm. This removes the last user of the 4.18 kernel, so we can queue it for removal from master. (From meta-yocto rev: 2d44e7ab1a7f85092b5c20287663448b7d784f39) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* overview-manual: Fixed broken link to pseudo.Scott Rifenbark2019-04-091-4/+3
| | | | | | | | | | | Link has disappeared. I am no longer using it and am using the article to "Why Fakeroot" to cover both Fakeroot and Pseudo "extra information" stuff. (From yocto-docs rev: 679c6a48a8e4bcc51bb8e97f2ba80123bdba6a5c) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-dev, sdk-manual: Unified question spacingGianfranco Costamagna2019-04-093-3/+3
| | | | | | | | | | | | unify the spacing for questions in various places e.g. before the [Y/n] there should be a space, and before "?" there should be none. Unify the questions where the system expect an answer from the end user (From yocto-docs rev: 0643b2e22273a798b96f126931885efd733e5f89) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated BB_GENERATE_MIRROR_TARBALLSScott Rifenbark2019-04-091-4/+12
| | | | | | | | | | | Updated the description to tell the user they can safely clean up the DL_DIR after creating tarballs of the source files from downloaded repos. (From yocto-docs rev: 6aff69632ea3102b6389ea510e1e3fa5bf1c2123) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/utils/qemurunner: Fix typo in previous commitRichard Purdie2019-04-091-1/+1
| | | | | | (From OE-Core rev: e2b4b0580cd719cf9d48576aa7d0b88e4a286921) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: utils: Make prune_suffix prune a suffixAndre Rosa2019-04-091-2/+2
| | | | | | | | | | Make prune_suffix prune a suffix instead of replacing a substring that could happen more than once and not only when it ends with it. (Bitbake rev: 57e765e38c6382a9b36d5ee2a6f3fa96ac905b82) Signed-off-by: Andre Rosa <andre.rosa@lge.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest-runner: Add several logging fixesRichard Purdie2019-04-094-1/+161
| | | | | | | | | This change adds three patches to improve the handling of stdout/stderr and child processes to try and improve logging reliability in ptest-runner. (From OE-Core rev: 1c0fffc401cdb581a93d16d225f53c83359ff209) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh/util-linux/python*: Ensure ptest output is unbufferedRichard Purdie2019-04-098-8/+8
| | | | | | | | | | | | | We need to run sed with the -u option to ensure the output is unbuffered else ptest-runner may timeout thinkig things were idle. Busybox doesn't have the -u option so we need to RDEPEND on sed (which is a good thing to do if we use it anyway). Alex Kanavin should get credit for discovering the problem. (From OE-Core rev: d3ffbebf43c23faa43af81c9ecf6fcaef36d675b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Enable domain search list supportAlexey Brodkin2019-04-091-1/+0
| | | | | | | | | | | | | | | | | This option is enabled by default in Busybox and becomes useful in networks with internal resources becasue allows to use much shorter names. E.g. instead of "server.internal.company.com" it's possible to use just "server" if DHCP server is configured with: ---------------------------->8----------------------- option domain-search "internal.company.com"; ---------------------------->8----------------------- (From OE-Core rev: 06a726141ef24bea2d17d2adfcb870e9cccacb74) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch/insane: Rework patch fuzz handlingAndreas Müller2019-04-092-16/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently there are three issues which can be enhanced: 1. Fuzz warnings cannot be configured as errors for hardening. It happened often to me that these warnings were overseen and detected after commits were already out. 2. The output is too verbose - particularly when more than one file is affected. Meanwhile all users should know why patch fuzz check is performed. So move links with background information to insane.bbclass. 3. Reduce copy & paste effort slightly by printing PN (nit: <recipe> was not a correct suggestion e.g for native extended recipe - see example below) To achieve patch.py drops patch-fuzz info encapsulated by a header- and footer- string into log.do_patch. With this insane.bbclass can drop warnings/errors depending on 'patch-fuzz' in ERROR_QA or WARN_QA. Default remains unchanged: Spit out warnings only. A message for two fuzzed patches and 'pact-fuzz' in ERROR_QA now looks like: | ERROR: autoconf-native-2.69-r11 do_patch: Fuzz detected: | | Applying patch autoreconf-exclude.patch | patching file bin/autoreconf.in | Hunk #1 succeeded at 73 with fuzz 1 (offset -3 lines). | Hunk #2 succeeded at 143 (offset 6 lines). | Hunk #3 succeeded at 167 (offset 6 lines). | Hunk #4 succeeded at 177 (offset 6 lines). | Hunk #5 succeeded at 281 (offset 15 lines). | Hunk #6 succeeded at 399 (offset 15 lines). | Hunk #7 succeeded at 571 (offset 20 lines). | Hunk #8 succeeded at 612 (offset 20 lines). | Hunk #9 succeeded at 636 (offset 20 lines). | Hunk #10 succeeded at 656 (offset 20 lines). | Hunk #11 succeeded at 683 (offset 20 lines). | | Applying patch autoreconf-gnuconfigize.patch | patching file bin/autoreconf.in | Hunk #1 succeeded at 55 with fuzz 1 (offset -3 lines). | Hunk #3 succeeded at 663 (offset 18 lines). | | The context lines in the patches can be updated with devtool: | | devtool modify autoconf-native | devtool finish --force-patch-refresh autoconf-native <layer_path> | | Don't forget to review changes done by devtool! | | ERROR: autoconf-native-2.69-r11 do_patch: QA Issue: Patch log indicates that patches do not apply cleanly. [patch-fuzz] (From OE-Core rev: c762c0be43a3854a43cb4b9db559b03126d50706) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>