Commit message (Collapse)AuthorAgeFilesLines
* ltp: upgrade to 20170116dengke/ltp-upgrade-to-20170116Dengke Du2017-02-2229-1809/+306
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Upgrade ltp from 20160126 to 20170116. 2. Delete some patches because these have been integrated in upstream. 0001-ltp-Don-t-link-against-libfl.patch 0006-sendfile-Use-off64_t-instead-of-__off64_t.patch 0007-replace-SIGCLD-with-SIGCHLD.patch 0009-Guard-error.h-with-__GLIBC__.patch 0012-fsstress.c-Replace-__int64_t-with-int64_t.patch 0013-include-fcntl.h-for-getting-O_-definitions.patch 0014-hyperthreading-Include-sys-types.h-for-pid_t-definit.patch 0015-mincore01-Rename-PAGESIZE-to-pagesize.patch 0016-ustat-Change-header-from-ustat.h-to-sys-ustat.h.patch 0017-replace-sigval_t-with-union-sigval.patch 0019-tomoyo-Replace-canonicalize_file_name-with-realpath.patch 0022-include-sys-types.h.patch 0029-trace_shed-Fix-build-with-musl.patch 0031-vma03-fix-page-size-offset-as-per-page-size-alignmen.patch 0037-containers-netns_netlink-Avoid-segmentation-fault.patch 0038-run-posix-option-group-test-replace-CWD-qith-PWD.patch 0040-containers-userns05-use-unsigned-int-for-ns-id.patch 3. Add new patch based on Khem Raj's 0007-replace-SIGCLD-with-SIGCHLD.patch 0001-add-_GNU_SOURCE-to-pec_listener.c.patch 4. Add new patches fix building errors with musl: 0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch 0007-fix-__WORDSIZE-undeclared-when-building-with-musl.patch 0009-fix-redefinition-of-struct-msgbuf-error-building-wit.patch Add new patch fix building errors, when the distro is poky-lsb 0012-fix-faccessat01.c-build-fails-with-security-flags.patch 5. Modify some patches because the upstream contains changes, those patches maybe failed when they apply to the new version of ltp. 0011-Rename-sigset-variable-to-sigset1.patch 0027-sysconf01-Use-_SC_2_C_VERSION-conditionally.patch 0030-lib-Use-PTHREAD_MUTEX_RECURSIVE-in-place-of-PTHREAD_.patch 0035-fix-test_proc_kill-hang.patch 6. Rename and modify this patch. fcntl-fix-the-time-def-to-use-time_t.patch to 0039-fcntl-fix-the-time-def-to-use-time_t.patch 7. The new version of ltp add the checking for ksh and csh, we doesn't support ksh and csh in oe-core, so remove the checking files when the system executes do_install function. Signed-off-by: Dengke Du <>
* layer.conf: bump version for change in eSDK selftest behaviourJoshua Lock2017-02-191-1/+1
| | | | | | | | | | | | | Since 59a99cd8 "oeqa/sdk: Updates sanity tests for minimal eSDK" we can now run oe-selftests against a minimal eSDK. We need to increase the layer version so that we can detect this change in behaviour in our automated testing. (From OE-Core rev: def3800c7e58d9d1b54ea1df27b190a0f6d1d544) Signed-off-by: Joshua Lock <> Signed-off-by: Richard Purdie <>
* ref-manual: Expanded kernel task descriptions.Scott Rifenbark2017-02-191-32/+120
| | | | | | | | | | | | Fixes [YOCTO #9376] Expanded many of the brief descriptions for the kernel-related tasks. (From yocto-docs rev: ee9e54aa9f148e5438cd9bdf7e55d7fa43cc3ec5) Signed-off-by: Scott Rifenbark <> Signed-off-by: Richard Purdie <>
* dev-manual: Minor corrections to maintaining Open Source lic. comp.Scott Rifenbark2017-02-191-10/+12
| | | | | | | | | | | The section "Maintaining Open Source License Compliance During Your Product's Lifecycle" had a vew minor typo things (e.g. duplicated word and some formatting issues). I fixed these. (From yocto-docs rev: 67beb658445e79129d8aae1739bb33c000367107) Signed-off-by: Scott Rifenbark <> Signed-off-by: Richard Purdie <>
* ref-manual: Updated NO_RECOMMENDATIONS glossary entryScott Rifenbark2017-02-191-1/+1
| | | | | | | | | | | | | Fixes [YOCTO #11010] The second example was incorrect in the glossary entry. Instead of "1" an image name place holder was in the example. I put "1" in there. (From yocto-docs rev: 00ab787d0d90da5c6d384c3669e804c9b2baca53) Signed-off-by: Scott Rifenbark <> Signed-off-by: Richard Purdie <>
* documentation: Updated "latest manual" note on title pageScott Rifenbark2017-02-199-54/+224
| | | | | | | | | | | | | | | Fixes [YOCTO #10076] The note on the title page for each manual was brief regarding where to find the latest version of the manual. I updated the note to have more detailed information on finding current, alternate, and latest versions of the manual based on YP releases. (From yocto-docs rev: 0ec81465296a7a78309d3039af4d00caa52d2285) Signed-off-by: Scott Rifenbark <> Signed-off-by: Richard Purdie <>
* selftest/ Add container IMAGE_FSTYPES testRandy Witt2017-02-193-0/+99
| | | | | | | | | | | | | | | | | | This test checks to make sure only the files expected exist in a container image. Currently only ROOTFS_BOOTSTRAP_INSTALL, gets added to all images without the user specifying it. But this test should help if a developer in the future ever silently adds more than just ROOTFS_BOOTSTRAP_INSTALL, and that the developer can make sure it also gets removed from a container image. [YOCTO #9502] (From OE-Core rev: 4f5e5321fafe491f91d78a35d11afc0dc0527d4b) Signed-off-by: Randy Witt <> Signed-off-by: Ross Burton <> Signed-off-by: Richard Purdie <>
* image-container.bbclass: Error if not using linux-dummyRandy Witt2017-02-191-0/+18
| | | | | | | | | | | | | | | | | | | In the typical case of a container, the user doesn't particularly care about the kernel version used. Since using linux-dummy prevents building a kernel in the most common case, alert the user if they choose a container image, but don't also specify linux-dummy. In the cases the user actually does want to build against particular kernel headers, etc, they can override by setting IMAGE_CONTAINER_NO_DUMMY = "1". [YOCTO #9502] (From OE-Core rev: f0645e172bb839803d616f19307e1e81e0d204c0) Signed-off-by: Randy Witt <> Signed-off-by: Ross Burton <> Signed-off-by: Richard Purdie <>
* image-container.bbclass: Add the "container" IMAGE_FSTYPESRandy Witt2017-02-193-0/+7
| | | | | | | | | | | | | The "container" fstype does very little other than pick tar.bz2 as the actual image type and disable installation of ROOTFS_BOOTSTRAP_INSTALL. [YOCTO #9502] (From OE-Core rev: e45f074b792a43aa2fd84a5a3f0e20bf1d88ad7e) Signed-off-by: Randy Witt <> Signed-off-by: Ross Burton <> Signed-off-by: Richard Purdie <>
* oeqa/selftest/bbtests: Update after changes to dependency graph file generationRichard Purdie2017-02-191-3/+3
| | | | | | (From OE-Core rev: 36a7470cacfe56931948ee865bd9ef46a7303ced) Signed-off-by: Richard Purdie <>
* bitbake: runqueue: Fix collapsed setscene dependency treeRichard Purdie2017-02-191-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we removed the postinst sstate dependency handling code from setscene_depvalid, we noticed things being installed into the old style sysroot for rootfs tasks which should not have been there, causing a performance regression. Analysis revealed that setscene dependencies were "bubbling" over sstate tasks when they should have been stopping there. The 'continue' added by this patch avoids this issue and eusures sstate tasks remain contained to their specific chains. There was another bug in the code this exposed where the acconting for tasks as they were removed from sq_revdeps was not correct. In fixing this, what looks like a workaround in another test can then be simplified. After this change, populate_sysroot tasks are no longer depending on package_write_rpm tasks for example, which would make no sense. A before/after analysis of image dependencies only revealed improved dependencies after this change. Recipe specific sysroots did highlight the issue here since the behaviour of the sysroot dependencies (and processing with depvalid) was not matching what bitbake itself was doing, with bitbake being incorrect. Failures were 'safe' in that too many dependencies would get installed. (Bitbake rev: 5ef2cb50041fa7106c8de170af73d2a54cb0b1f0) Signed-off-by: Richard Purdie <>
* bitbake: bitbake-layers: Handle exception raised bytinfoil.prepare()Aníbal Limón2017-02-191-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tinfoil.prepare method can raise Exceptions when is parsing initial data so add this call inside try, finally to avoid get blocked for don't call tinfoil.shutdown(). The tinfoil_init function was remove because isn't make sense now since tinfoil.prepare() needs to be inside try, finally closures. Example of raised exception and gets blocked: $ bitbake-layers add-layer ~/repos/meta-openembedded/meta-python/ Traceback (most recent call last): File "/home/alimon/repos/poky/bitbake/bin/bitbake-layers", line 83, in main tinfoil.prepare(True) ... File "/home/alimon/repos/poky/bitbake/lib/bb/", line 268, in run_command raise TinfoilCommandFailed(result[1]) bb.tinfoil.TinfoilCommandFailed: Traceback (most recent call last): File "/home/alimon/repos/poky/bitbake/lib/bb/", line 81, in runCommand result = command_method(self, commandline) ... File "/home/alimon/repos/poky/bitbake/lib/bb/", line 1314, in handleCollections raise CollectionError("Errors during parsing layer configuration") bb.cooker.CollectionError: Errors during parsing layer configuration (Bitbake rev: 61ebe9a026652e32f9482f66fc3fe7a8672fc093) Signed-off-by: Aníbal Limón <> Signed-off-by: Richard Purdie <>
* bitbake: tinfoil: ensure PATH includes bitbake's bin directoryPaul Eggleton2017-02-191-0/+13
| | | | | | | | | | | | | | | | | The runqueue expects to be able to run 'bitbake-worker' from PATH, but for example in the OE extensible SDK, tinfoil is used within devtool where this isn't the case (we're not exposing bitbake to the user, thus bitbake's bin directory isn't in PATH). This fixes devtool modify usage within the extensible SDK which has apparently been broken since the tinfoil2 changes went in. Fixes [YOCTO #11034]. (Bitbake rev: 52d87e4a58a52174e8e0b6297abaac8fd93ffcc3) Signed-off-by: Paul Eggleton <> Signed-off-by: Richard Purdie <>
* bitbake: fetch2: Add NFS Stale file exception handlingKhem Raj2017-02-191-0/+12
| | | | | | | | | | | | | | | | | | | | - In some cases the file descriptor is held by nfs client and none of os.path.* is catching that, it could mean that error is not doled out because client has cached the stat info. In this case we are out of luck. Needed to catch IOError, which would be causing the Stale error. - In download method, update_stamp is invoked md5sum validation which is found to be throwing Stale errors. - Added error handling to fix the stale errors. (Bitbake rev: 5a53e7d7b017769a6eb0f0a6335735a1fe51a5ec) Signed-off-by: Balaji Punnuru <> Signed-off-by: Khem Raj <> Signed-off-by: Richard Purdie <>
* bitbake: fetch2: Rename "setup_revisons" to "setup_revisions"Robert P. J. Day2017-02-196-6/+6
| | | | | | | | | | For spelling's sake, rename Python routine "setup_revisons" to "setup_revisions." (Bitbake rev: 4df59b027c02ef39d72476251ccd3fd62fc20bf6) Signed-off-by: Robert P. J. Day <> Signed-off-by: Richard Purdie <>
* bitbake: fetch2: Correct two examples of typo "revsion."Robert P. J. Day2017-02-192-2/+2
| | | | | | | (Bitbake rev: 05f5421b2e44cd58c5912848de43d5884d070150) Signed-off-by: Robert P. J. Day <> Signed-off-by: Richard Purdie <>
* bitbake: cooker: detect malformed BBMASK expressions which begin with a ↵Andre McCurdy2017-02-191-0/+5
| | | | | | | | | | | | separator When constructing an older style single regex, it's possible for BBMASK to end up beginning with '|', which matches and masks _everything_. (Bitbake rev: 56ad67017e601c7e0f6085ca84e29c28d8d4519f) Signed-off-by: Andre McCurdy <> Signed-off-by: Richard Purdie <>
* bitbake: cooker: Rewrite dependency dot file generationRichard Purdie2017-02-192-62/+49
| | | | | | | | | | | | | | | | | | | | | | | | The and files are inaccurate, missing out key dependencies such those made via the [depends] flags. As such they can be misleading to the user. They mainly exist for historical reasons, coming from a time before we had task based execution. This commit removes the two dated file formats and replaces them with a which is a flattened version of The old format files are removed if present so that the user can't get confused about why data might not match between files. The code is also rewritten to use 'with f: f.write()' syntax as is more commonly used now. Also update the docs to match the change. (Bitbake rev: d3e182bc18ff2894f1efc8aad3d508dd432c996e) Signed-off-by: Richard Purdie <>
* bitbake: doc: Replace depexp UI with taskexp and cleanup UI listsRichard Purdie2017-02-192-2/+2
| | | | | | | | | The depexp UI has been replaced with taskexp, also remove old references to goggle and hob. (Bitbake rev: 814c2b232ea5f88b5ad5031fb9d389c9c594aa01) Signed-off-by: Richard Purdie <>
* bitbake: ui: Replace depexp with taskexpRichard Purdie2017-02-191-25/+9
| | | | | | | | | | | | | | The data displayed by the depexp UI is buggy, bitbake can't convey accurate runtime dependency information. Convert the UI to become taskexp ("Task Explorer") which provides a graphical way of exploring the file. This data is accurate and being able to visualise the data is an often requested feature as standard dot file viewers can't usualy cope. (Bitbake rev: 416a496edc692982af2feec768ac4df8fb799853) Signed-off-by: Richard Purdie <>
* wget: Upgrade 1.19 -> 1.19.1Richard Purdie2017-02-191-2/+2
| | | | | | | | This fixes musl build issues and avoids autobuilder failures. (From OE-Core rev: 3a31d04b49efdc4d899d7da9f16e1899256f497d) Signed-off-by: Richard Purdie <>
* rootfspostcommands: remove shadow backup files instead of trying to sortPatrick Ohly2017-02-191-8/+20
| | | | | | | | | | | | | Backup are files sometimes are inconsistent and then cannot be sorted (YOCTO #11043), and more importantly, are not needed in the initial rootfs, so they get deleted. Fixes: [YOCTO #11007] (From OE-Core rev: e5628c80a52f3caeea9d9dc7f67d1b8a61222aef) Signed-off-by: Patrick Ohly <> Signed-off-by: Richard Purdie <>
* linux-yocto-rt/4.9: update to 4.9-rt6Bruce Ashfield2017-02-193-4/+4
| | | | | | | | | Updating the SRCREVs to make Paul Gortmaker's port of 4.9-rt6 active. (From OE-Core rev: b3e3ef85f5fd64473cae4aa72243665ac1e618e9) Signed-off-by: Bruce Ashfield <> Signed-off-by: Richard Purdie <>
* kernel-yocto: trivial: remove extra } from bsp_definitionBruce Ashfield2017-02-191-1/+1
| | | | | | | | | | A typo introduced an extra } in the logging of the bsp_definition. While this won't cause problems .. it needs to be fixed! (From OE-Core rev: 9b95f3fca2a94ca922e05321096e07a11e98f9bb) Signed-off-by: Bruce Ashfield <> Signed-off-by: Richard Purdie <>
* linux-yocto/4.4: meta/configuration updatesBruce Ashfield2017-02-193-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Integrating the following commit already in 4.9 and 4.8: intel-quark: Add intel-quark-preempt-rt bsp configuration While there are intel-quark configurations for the KTYPEs standard and tiny in bsp/intel-common, there's none for the preempt-rt KTYPE. Trying to build preempt-rt enabled kernels such as linux-yocto-rt for intel-quark yields a .config having a potentially misconfigured architecture. More importantly, however, preempt-rt related CONFIG options are not enabled. Hence, a build of, e.g., linux-yocto-rt, does not result in a preempt-rt enabled kernel. This patch qualifies to be (back)ported to other branches than master. Signed-off-by: Christian Storm <> Signed-off-by: Jan Kiszka <> (From OE-Core rev: e853327447908d1be085a96f8dda1c53305f9552) Signed-off-by: Bruce Ashfield <> Signed-off-by: Richard Purdie <>
* linux-yocto/4.9: update to v4.9.9Bruce Ashfield2017-02-193-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the korg -stable release. Changelog is as follows: d2e4b66b4ef2 Linux 4.9.9 f2a0409a0850 drm/i915/execlists: Reset RING registers upon resume 72cd604cfd86 fs: break out of iomap_file_buffered_write on fatal signals bf9ab22c350d iw_cxgb4: set correct FetchBurstMax for QPs 13363b6988f6 x86/irq: Make irq activate operations symmetric e02136282296 irqdomain: Avoid activating interrupts more than once c6b0333baea0 iio: health: max30100: fixed parenthesis around FIFO count check 12c2fcf6bcf7 iio: dht11: Use usleep_range instead of msleep for start signal 7baa8491d47d iio: health: afe4403: retrieve a valid iio_dev in suspend/resume 5f0ee562605b iio: health: afe4404: retrieve a valid iio_dev in suspend/resume 54d2ccc4003b iio: adc: palmas_gpadc: retrieve a valid iio_dev in suspend/resume db0e02ef6b82 staging: greybus: timesync: validate platform state callback 89cc65c1117f USB: serial: option: add device ID for HP lt2523 (Novatel E371) 12a9c11c2e19 usb: gadget: f_fs: Assorted buffer overflow checks. e40d15fce929 usb: musb: Fix host mode error -71 regression cbd819e7db3a USB: Add quirk for WORLDE easykey.25 MIDI keyboard 4807725aab0b USB: serial: pl2303: add ATEN device ID 8bc382a9652b USB: serial: qcserial: add Dell DW5570 QDL 0dcbd0aa44e6 KVM: x86: do not save guest-unsupported XSAVE state bc05a2e940fe dmaengine: cppi41: Fix oops in cppi41_runtime_resume 2c2e7fe7c9c5 dmaengine: cppi41: Fix runtime PM timeouts with USB mass storage bebb9d75e84d perf/x86/intel/uncore: Clean up hotplug conversion fallout e6bd712154aa HID: wacom: Fix poor prox handling in 'wacom_pl_irq' f24bc920612c HID: hid-lg: Fix immediate disconnection of Logitech Rumblepad 2 80246551c7d7 HID: usbhid: Quirk a AMI virtual mouse and keyboard with ALWAYS_POLL 40add19d3897 iwlwifi: mvm: avoid crash on restart w/o reserved queues 97663735a96f iwlwifi: fix double hyphen in MODULE_FIRMWARE for 8000 3d8ec7d2d5f9 pinctrl: intel: merrifield: Add missed check in mrfld_config_set() 2cf6c49264e4 pinctrl: baytrail: Debounce register is one per community 449d3ecfbd76 Revert "vring: Force use of DMA API for ARM-based systems with legacy devices" 16f61dee7e7c Revert "bcma: init serial console directly from ChipCommon code" 12f822d23dee percpu-refcount: fix reference leak during percpu-atomic transition 8ee8ff9e2652 regulator: axp20x: AXP806: Fix dcdcb being set instead of dcdce 1594edd9ea0d vhost: fix initialization for vq->is_le 04eb7db25bb1 mmc: sdhci: Ignore unexpected CARD_INT interrupts 1d88791d5ed5 cgroup: don't online subsystems before cgroup_name/path() are operational a150e08704b2 can: bcm: fix hrtimer/tasklet termination in bcm op removal a93ae8dccc3c tracing: Fix hwlat kthread migration b67c7d39bc28 mm, fs: check for fatal signals in do_generic_file_read() 6cb0497aec81 base/memory, hotplug: fix a kernel oops in show_valid_zones() 72f7419610c8 mm/memory_hotplug.c: check start_pfn in test_pages_in_a_zone() 9e255997c2e1 cifs: initialize file_info_lock f0c3a0ac3349 zswap: disable changing params if init fails a3d729526f2f svcrpc: fix oops in absence of krb5 module 743146d347f3 NFSD: Fix a null reference case in find_or_create_lock_stateid() 4c953848c95b powerpc/mm: Use the correct pointer when setting a 2MB pte 8f415333be3a powerpc: Fix build failure with clang due to BUILD_BUG_ON() bbf69e5197da powerpc: Add missing error check to prom_find_boot_cpu() 73d45909780e powerpc/eeh: Fix wrong flag passed to eeh_unfreeze_pe() 4b70d598c2ee libata: Fix ATA request sense 6d08607ef35b libata: apply MAX_SEC_1024 to all CX1-JB*-HP devices fc794153c407 ata: sata_mv:- Handle return value of devm_ioremap. b41615aa7056 perf/core: Fix PERF_RECORD_MMAP2 prot/flags for anonymous memory 3996a91e3bdc perf/core: Fix use-after-free bug 53bed1f64025 crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes b04a39f88ced crypto: api - Clear CRYPTO_ALG_DEAD bit before registering an alg 2eb8f7c4225a drm/nouveau/nv1a,nv1f/disp: fix memory clock rate retrieval bd5cefed1ccc drm/nouveau/disp/gt215: Fix HDA ELD handling (thus, HDMI audio) on gt215 c9fb422fd938 drm/amdgpu/si: fix crash on headless asics 20658b3df8b9 pinctrl: baytrail: Add missing spinlock usage in byt_gpio_irq_handler 7396685a1bca HID: cp2112: fix gpio-callback error handling a18c4584a489 HID: cp2112: fix sleep-while-atomic dfd713307adb xtensa: fix noMMU build on cores with MMU f2e24dd91818 efi/fdt: Avoid FDT manipulation after ExitBootServices() f0c7412edfc1 x86/efi: Always map the first physical page into the EFI pagetables 13e6ef99d23b ext4: validate s_first_meta_bg at mount time 610c2b7ff8f6 PCI/ASPM: Handle PCI-to-PCIe bridges as roots of PCIe hierarchies (From OE-Core rev: e1866b78d8365855583250877db7f11f98de65df) Signed-off-by: Bruce Ashfield <> Signed-off-by: Richard Purdie <>
* linux-yocto-dev: bump to v4.10+Bruce Ashfield2017-02-191-1/+1
| | | | | | | (From OE-Core rev: fe6a071babf542f3cdbbce618c70cb256bf364e8) Signed-off-by: Bruce Ashfield <> Signed-off-by: Richard Purdie <>
* linux-yocto/4.8/4.9: fix tpm.cfg and add dm-verityBruce Ashfield2017-02-196-6/+6
| | | | | | | | | | | | | Integrating the following commits to fix a configuration warning and to add a tpm configuration feature: 8f3bc608ae61 features: add dm-verity 0ad64750fef1 tpm: avoid warning due to double CONFIG_TCG_TPM (From OE-Core rev: 7fc93859ce805a604814b1b373d77ecc547e812f) Signed-off-by: Bruce Ashfield <> Signed-off-by: Richard Purdie <>
* linux-yocto/4.9: Intel-quark: Add intel-quark-preempt-rt bsp configurationBruce Ashfield2017-02-193-3/+3
| | | | | | | | | | | | | | | | | While there are intel-quark configurations for the KTYPEs standard and tiny in bsp/intel-common, there's none for the preempt-rt KTYPE. Trying to build preempt-rt enabled kernels such as linux-yocto-rt for intel-quark yields a .config having a potentially misconfigured architecture. More importantly, however, preempt-rt related CONFIG options are not enabled. Hence, a build of, e.g., linux-yocto-rt, does not result in a preempt-rt enabled kernel. (From OE-Core rev: bf822184419592bb680fa6886c0d18f105857f0e) Signed-off-by: Christian Storm <> Signed-off-by: Jan Kiszka <> Signed-off-by: Bruce Ashfield <> Signed-off-by: Richard Purdie <>
* linux-yocto-rt/4.9: integrate 4.9-rt4Bruce Ashfield2017-02-193-4/+4
| | | | | | | | | | | | | | | Integrating the 4.9-rt4 new changes: 56a3dd6fb4e9 x86/mm/cpa: avoid wbinvd() for PREEMPT 221db3244e71 pinctrl: qcom: Use raw spinlock variants 43158f23e188 radix-tree: use local locks 109a8fea2c4a cpuset: Convert callback_lock to raw_spinlock_t 3741fb19d20f softirq: wake the timer softirq if needed (From OE-Core rev: c1fd9a544d2165c0f3d827d3ad3c90f9c7781f09) Signed-off-by: Bruce Ashfield <> Signed-off-by: Richard Purdie <>
* linux-yocto/4.8: update to v4.8.18Bruce Ashfield2017-02-193-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Paul Gortmaker has started doing 4.8 -stable updates. This integrates his 4.8.18 queue from: git:// Change log is as follows: 28dda89acd7c Linux 4.8.18 936e79682048 tick/broadcast: Prevent NULL pointer dereference f22b03e15427 clocksource/dummy_timer: Move hotplug callback after the real timers 8f78db7e5df0 xfs: use GPF_NOFS when allocating btree cursors 1d818a81bac6 xfs: ignore leaf attr ichdr.count in verifier during log replay 62ef2c9c1d94 xfs: don't allow di_size with high bit set db28776559c7 xfs: error out if trying to add attrs and anextents > 0 fb70f2a64910 xfs: don't crash if reading a directory results in an unexpected hole ebff27d76e7e xfs: complain if we don't get nextents bmap records 14c3f0b270aa xfs: check for bogus values in btree block headers 31f0f90742a3 xfs: pass state not whichfork to trace_xfs_extlist 430a362685e9 xfs: Move AGI buffer type setting to xfs_read_agi 20aa52b53586 xfs: new inode extent list lookup helpers c7b75fcea4e6 xfs: fix unbalanced inode reclaim flush locking e89df591f833 xfs: check minimum block size for CRC filesystems b04a2c02f4d7 xfs: provide helper for counting extents from if_bytes f4e7f4cd52b1 xfs: don't BUG() on mixed direct and mapped I/O 49f159ae6e80 xfs: check return value of _trans_reserve_quota_nblks 23bb39fdbb96 xfs: don't call xfs_sb_quota_from_disk twice d3c7d2aa00d4 tpm_tis: Check return values from get_burstcount. 9fc58e555d78 drm/i915/gen9: fix the WM memory bandwidth WA for Y tiling cases 4f075608d2c4 drm/i915/gen9: unconditionally apply the memory bandwidth WA 55e9c9d00d70 drm/i915: disable PSR by default on HSW/BDW 2c266a9a3631 drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values e4d1900e15db s390/topology: always use s390 specific sched_domain_topology_level b04e5322d8a4 powerpc/pci/rpadlpar: Fix device reference leaks 458e63f135d6 PCI: Enable access to non-standard VPD for Chelsio devices (cxgb3) 05a725c46f56 PCI: Support INTx masking on ConnectX-4 with firmware x.14.1100+ 8d12795b1eac PCI: Convert Mellanox broken INTx quirks to be for listed devices only 24af87eb2ffa PCI: Convert broken INTx masking quirks from HEADER to FINAL ec9f277f52e9 PCI: Add Mellanox device IDs 9e7c8ebc1316 staging: media: davinci_vpfe: unlock on error in vpfe_reqbufs() 8c6c73a692c9 f2fs: hide a maybe-uninitialized warning a91f2c1d4f45 f2fs: remove percpu_count due to performance regression 93634e1cc928 md: MD_RECOVERY_NEEDED is set for mddev->recovery 239b31c50bde crypto: arm64/aes-ce - fix for big endian a3141467e092 crypto: arm64/aes-xts-ce: fix for big endian 7c26ef18f05a crypto: arm64/sha1-ce - fix for big endian cb70151453a1 crypto: arm64/aes-neon - fix for big endian c1c451bea4af crypto: arm64/aes-ccm-ce: fix for big endian c4957563b255 crypto: arm/aes-ce - fix for big endian dcb0c4ebc7ad crypto: arm64/ghash-ce - fix for big endian d60ecc7f02a4 crypto: arm64/sha2-ce - fix for big endian f9315853c7c1 s390/crypto: unlock on error in prng_tdes_read() a76c795f53e7 mm, compaction: fix NR_ISOLATED_* stats for pfn based migration d3b82f9a9716 mm: khugepaged: fix radix tree node leak in shmem collapse error path ab533014582f mm: khugepaged: close use-after-free race during shmem collapsing c9777f749c4c mm/hugetlb.c: use the right pte val for compare in hugetlb_cow 0ff00251359e mmc: mmc_test: Uninitialized return value abe558647a0f PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend b90b6b8cce53 irqchip/bcm7038-l1: Implement irq_cpu_offline() callback d6229a05dd06 ima: fix memory leak in ima_release_policy 8cbe9b689467 sbp-target: Fix second argument of percpu_ida_alloc() fed8068fd1de target/iscsi: Fix double free in lio_target_tiqn_addtpg() ec92af68808e scsi: mvsas: fix command_active typo efe08cc6939b ASoC: samsung: i2s: Fixup last IRQ unsafe spin lock call a5a550bd0768 ASoC: cht_bsw_rt5645: Fix leftover kmalloc 3fcdecb0f9f6 iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped 22604a045edb iommu/vt-d: Fix pasid table size encoding f7dd8813279b iommu/amd: Fix the left value check of cmd buffer 9a134d29af48 iommu/amd: Missing error code in amd_iommu_init_device() 35a294dd5723 clk: renesas: mstp: Support 8-bit registers for r7s72100 8a7022b2ffad clk: imx31: fix rewritten input argument of mx31_clocks_init() 8b4940dd9224 clk: sunxi-ng: sun8i-h3: Set CLK_SET_RATE_PARENT for audio module clocks a13af6a13e68 clk: ti: dra7: fix "failed to lookup clock node gmac_gmii_ref_clk_div" boot message c54f34533601 clk: clk-wm831x: fix a logic error 36c3481984b5 clk: qcom: ipq806x: Fix board clk rates fdd91f12bebc hwmon: (g762) Fix overflows and crash seen when writing limit attributes 18d749bb756f hwmon: (nct7802) Fix overflows seen when writing into limit attributes 1e6b9473280a hwmon: (ds620) Fix overflows seen when writing temperature limits 0bc18f1d87d9 hwmon: (amc6821) sign extension temperature 4c8493cb90b9 hwmon: (scpi) Fix module autoload d618b1647e27 platform/x86: fujitsu-laptop: use brightness_set_blocking for LED-setting callbacks b803e5984015 x86/cpu: Probe CPUID leaf 6 even when cpuid_level == 6 1121b5f49eb7 debugfs: improve DEFINE_DEBUGFS_ATTRIBUTE for !CONFIG_DEBUG_FS f4b9eaba036c clk: renesas: cpg-mssr: Fix inverted debug check a25cb9b5744b efi/efivar_ssdt_load: Don't return success on allocation failure b36f676475bd cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected 40b0bbe612bb ath10k: use the right length of "background" 3e0f61361a82 nl80211: Use different attrs for BSSID and random MAC addr in scan req 3d04e6a06abc mac80211: fix tid_agg_rx NULL dereference f4ded840a335 drm/i915: tune down the fast link training vs boot fail 2ed2b3cc6ae3 drm/i915/dp: add lane_count check in intel_dp_check_link_status ac2370c93a40 usb: dwc3: gadget: always unmap EP0 requests 6039272a760e usb: dwc3: ep0: explicitly call dwc3_ep0_prepare_one_trb() 4f76ead23734 usb: dwc3: ep0: add dwc3_ep0_prepare_one_trb() 7acc87fae524 iio: accel: st_accel: fix LIS3LV02 reading and scaling d59378efa7ac staging: iio: ad7606: fix improper setting of oversampling pins 401316ef7253 mei: move write cb to completion on credentials failures 3ab87b8fd267 mei: bus: fix mei_cldev_enable KDoc c103d55bb7d7 USB: serial: io_ti: bind to interface after fw download d302588a910f ARM: dts: sun7i: bananapi-m1-plus: Enable USB PHY for USB host support 56dce131ec69 arm64: dts: hip06: Correct hardware pin number of usb node 0c03658a3e7b USB: phy: am335x-control: fix device and of_node leaks 518a4d8d533c ARM: dts: r8a7794: Correct hsusb parent clock 7780eb2fd54b usb: gadget: Fix second argument of percpu_ida_alloc() a3ff51875d83 USB: serial: kl5kusb105: abort on open exception path 5f8a0a2fd33b ALSA: usb-audio: Fix bogus error return in snd_usb_create_stream() fb106dc8b847 usb: musb: blackfin: add bfin_fifo_offset in bfin_ops 1bff22506598 usb: gadget: udc: core: fix return code of usb_gadget_probe_driver() c7c4ad7fce6d usb: hub: Move hub_port_disable() to fix warning if PM is disabled b7fb0479ecd6 usb: musb: Fix trying to free already-free IRQ 4 217c03eaf10c usb: dwc3: gadget: Fix full speed mode 7de3c659811a usb: dwc3: pci: Fix dr_mode misspelling 6fdac0047799 usb: dwc3: pci: add Intel Gemini Lake PCI ID 220d6521aac2 xhci: Fix race related to abort operation d3f3b0bd0756 xhci: Use delayed_work instead of timer for command timeout 0da62a5b5242 usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL 997d598c694f USB: serial: mos7720: fix parallel probe eb9e22ac9265 USB: serial: mos7720: fix parport use-after-free on probe errors c91243377c8d USB: serial: mos7720: fix use-after-free on probe errors b756fba5e563 USB: serial: mos7720: fix NULL-deref at open 8cc2ae8e130e USB: serial: mos7840: fix NULL-deref at open 68ab1ccfc085 USB: serial: kobil_sct: fix NULL-deref in write 37ca8378e77c USB: serial: cyberjack: fix NULL-deref at open fd435e99f5ed USB: serial: oti6858: fix NULL-deref at open 1653f66ba3fb USB: serial: io_edgeport: fix NULL-deref at open 73ec9d58b1c7 USB: serial: ti_usb_3410_5052: fix NULL-deref at open d1706b42d164 USB: serial: garmin_gps: fix memory leak on failed URB submit b653000d9b0c USB: serial: iuu_phoenix: fix NULL-deref at open 427bac51ce67 USB: serial: io_ti: fix I/O after disconnect 59f740cd834c USB: serial: io_ti: fix another NULL-deref at open 2ef82cf063c8 USB: serial: io_ti: fix NULL-deref at open 8d5f29b2d578 USB: serial: spcp8x5: fix NULL-deref at open e1fe8df45b74 USB: serial: keyspan_pda: verify endpoints at probe 10da95b6a2eb USB: serial: pl2303: fix NULL-deref at open e29498ba6e1f USB: serial: quatech2: fix sleep-while-atomic in close 05859d754d6f USB: serial: omninet: fix NULL-derefs at open and disconnect be17e1c916ce usb: return error code when platform_get_irq fails 0e9fc72194ce usb: xhci: hold lock over xhci_abort_cmd_ring() 527f810d8a86 xhci: Handle command completion and timeout race c18ca85fd6de usb: host: xhci: Fix possible wild pointer when handling abort command 67a7de5a2f35 usb: xhci: fix return value of xhci_setup_device() 775a2bec9cdf xhci: free xhci virtual devices with leaf nodes first 80c502e0ce6f usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Apollo Lake d3a9f7c7e8c4 usb: xhci: fix possible wild pointer 5ded28d83128 usb: gadget: composite: Test get_alt() presence instead of set_alt() 16718d267e09 USB: dummy-hcd: fix bug in stop_activity (handle ep0) 47acb8434892 USB: fix problems with duplicate endpoint addresses a45f34e820c6 USB: gadgetfs: fix checks of wTotalLength in config descriptors 27b4d04d1b87 USB: gadgetfs: fix use-after-free bug cd4da96b1bac USB: gadgetfs: fix unbounded memory allocation bug 1fa95887b663 usb: gadgetfs: restrict upper bound on device configuration size e4efa88511eb usb: storage: unusual_uas: Add JMicron JMS56x to unusual device 05ace125078d usb: musb: dsps: implement clear_ep_rxintr() callback 38caa4d8986e usb: musb: core: add clear_ep_rxintr() to musb_platform_ops 483c56831853 KVM: MIPS: Flush KVM entry code from icache globally 08aa895b61e1 KVM: MIPS: Don't clobber CP0_Status.UX d33b04df932e KVM: x86: reset MMU on KVM_SET_VCPU_EVENTS e3843cdbf81a drm/i915: Force VDD off on the new power seqeuencer before starting to use it dbce182845b4 gcc-plugins: update gcc-common.h for gcc-7 970150316c04 mac80211: initialize fast-xmit 'info' later cf3b94f8fe70 ARM: davinci: da850: don't add emac clock to lookup table twice 391c21a9ab0a parisc: Mark cr16 clocksource unstable on SMP systems 684f6df20889 fscrypt: fix renaming and linking special files 6c55d3ad7fb3 ALSA: usb-audio: Fix irq/process data synchronization 3074297922e2 ALSA: hda - Apply asus-mode8 fixup to ASUS X71SL 81a35981225c ALSA: hda - Fix up GPIO for ASUS ROG Ranger 576b9d7789d8 iio: bmi160: Fix time needed to sleep after command execution ad2a1ae984c6 iio: max44000: correct value in illuminance_integration_time_available ee8e4a73dbf6 iio: common: st_sensors: fix channel data parsing (From OE-Core rev: 1a3daa89e28d58d35692cd2ae2af3e49c9f536fb) Signed-off-by: Bruce Ashfield <> Signed-off-by: Richard Purdie <>
* linux-yocto/4.9: bump to v4.9.8Bruce Ashfield2017-02-193-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating the -stable releases. Changelog is as follows: c8ea2f3b8247 Linux 4.9.8 b5b4d4a9141e xfs: fix bmv_count confusion w/ shared extents 5d44dd54bd57 xfs: clear _XBF_PAGES from buffers when readahead page 29f96b7e9023 xfs: extsize hints are not unlikely in xfs_bmap_btalloc aab858dabd5e xfs: remove racy hasattr check from attr ops 29094164ea99 xfs: verify dirblocklog correctly 214d55efa255 xfs: fix COW writeback race 29f319275e76 xfs: fix xfs_mode_to_ftype() prototype d062d90c35f2 xfs: don't wrap ID in xfs_dq_get_next_id d3201a14b36a xfs: sanity check inode di_mode 43ce5921773b xfs: sanity check inode mode when creating new dentry b5f68e24cc7b xfs: replace xfs_mode_to_ftype table with switch statement 4fac84ba1da7 xfs: add missing include dependencies to xfs_dir2.h e5325fcf70b1 xfs: sanity check directory inode di_size 624e54b5aff1 xfs: make the ASSERT() condition likely 4f4d5082ec73 xfs: don't print warnings when xfs_log_force fails e9b776519107 xfs: don't rely on ->total in xfs_alloc_space_available 6b81365b1e57 xfs: adjust allocation length in xfs_alloc_space_available c63f4d3aa09d xfs: fix bogus minleft manipulations d20e4ad06c4b xfs: bump up reserved blocks in xfs_alloc_set_aside 9f42bc4f9c1c net: dsa: Bring back device detaching in dsa_slave_suspend() e972cce0c833 lwtunnel: Fix oops on state free after encap module unload 89c2588627c2 net: Specify the owning module for lwtunnel ops 087c2ecb21af qmi_wwan/cdc_ether: add device ID for HP lt2523 (Novatel E371) WWAN card 93ff5e03bcba af_unix: move unix_mknod() out of bindlock 37b27b20a8a9 r8152: don't execute runtime suspend if the tx is not empty ad864d9fce0e net: mpls: Fix multipath selection for LSR use case 74423145d931 bridge: netlink: call br_changelink() during br_dev_newlink() 087dced61adc net/mlx5e: Do not recycle pages from emergency reserve 0c687a735cdb tcp: initialize max window for a new fastopen socket 79453ab88164 ipv6: addrconf: Avoid addrconf_disable_change() using RCU read-side lock e9db042dca20 lwtunnel: fix autoload of lwt modules b335e6566661 net: phy: bcm63xx: Utilize correct config_intr function 948e137ad9ba net: fix harmonize_features() vs NETIF_F_HIGHDMA d1c95f9ce102 vxlan: fix byte order of vxlan-gpe port number 1e7cbb413f63 virtio-net: restore VIRTIO_HDR_F_DATA_VALID on receiving 3eab5dd0eb19 virtio: don't set VIRTIO_NET_HDR_F_DATA_VALID on xmit b260a714a638 net sched actions: fix refcnt when GETing of action after bind 2d6b61ec9d3a ax25: Fix segfault after sock connection timeout c7a5df92d1e8 ip6_tunnel: Account for tunnel header in tunnel MTU 08e650708dd0 ravb: do not use zero-length alignment DMA descriptor 77ce30dc4df4 mlx4: do not call napi_schedule() without care 18767acb7b67 openvswitch: maintain correct checksum state in conntrack actions 3524f64224bd tcp: fix tcp_fastopen unaligned access complaints on sparc b66b1f5ac33d net: systemport: Decouple flow control from __bcm_sysport_tx_reclaim 958bb1bdc2c2 net: ipv4: fix table id in getroute response 6980c52c4efb net: lwtunnel: Handle lwtunnel_fill_encap failure ec1aa8d49532 mlxsw: pci: Fix EQE structure definition 4ec59d1fe470 mlxsw: switchx2: Fix memory leak at skb reallocation 7c249f3306b6 mlxsw: spectrum: Fix memory leak at skb reallocation 5b3df4401064 netvsc: add rcu_read locking to netvsc callback a37f2311e63c r8152: fix the sw rx checksum is unavailable fd2ffe57dda0 Linux 4.9.7 b59dd202f231 drm/i915: Remove WaDisableLSQCROPERFforOCL KBL workaround. 922813f4d66f perf/core: Fix concurrent sys_perf_event_open() vs. 'move_group' race f5f415c13209 mm, memcg: do not retry precharge charges 98185d4b18a1 platform/x86: intel_mid_powerbtn: Set IRQ_ONESHOT adb260d15134 platform/x86: mlx-platform: free first dev on error 776050a9b55e virtio_mmio: Set DMA masks appropriately 143a9ad4e68c memory_hotplug: make zone_can_shift() return a boolean value da1fdb8456ac pinctrl: baytrail: Rectify debounce support 583eded5860b pinctrl: uniphier: fix Ethernet (RMII) pin-mux setting for LD20 35948ae694c0 pinctrl: broxton: Use correct PADCFGLOCK offset 668a827a6c9d s5k4ecgx: select CRC32 helper 9a335996bfcf IB/rxe: Prevent from completer to operate on non valid QP fed1e89a16e3 IB/rxe: Fix rxe dev insertion to rxe_dev_list c81ee4ed9c0d IB/umem: Release pid in error and ODP flow d7c3d7e453b7 drm/i915: Check for NULL atomic state in intel_crtc_disable_noatomic() 181478cdb75e drm/i915: Fix calculation of rotated x and y offsets for planar formats ff4956555513 drm/i915: Don't init hpd polling for vlv and chv from runtime_suspend() 8d7c76ae613e drm/i915: Don't leak edid in intel_crt_detect_ddc() 2cff678d0bb5 drm/i915: prevent crash with .disable_display parameter 9913aca2d587 drm/i915: Clear ret before unbinding in i915_gem_evict_something() 1b8ff91ae545 v4l: tvp5150: Don't override output pinmuxing at stream on/off time 11e5015ae1d1 v4l: tvp5150: Fix comment regarding output pin muxing d25f9bfeb62f v4l: tvp5150: Reset device at probe time, not in get/set format handlers fe6531075e1d pctv452e: move buffer to heap, no mutex 0bd3cb8d470b iw_cxgb4: free EQ queue memory on last deref cb1d48f55a6d SUNRPC: cleanup ida information when removing sunrpc module 5637949edb50 NFSv4.0: always send mode in SETATTR after EXCLUSIVE4 0a7023506112 NFSv4.1: Fix a deadlock in layoutget 73fdda3b01cd nfs: Don't increment lock sequence ID after NFS4ERR_MOVED 2b95f1210e50 parisc: Don't use BITS_PER_LONG in userspace-exported swab.h header ca332b96ba62 ARC: [arcompact] handle unaligned access delay slot corner case 9d5f2c151ec0 ARC: udelay: fix inline assembler by adding LP_COUNT to clobber list 50f5972cc231 can: ti_hecc: add missing prepare and unprepare of the clock 9f56548b0077 can: c_can_pci: fix null-pointer-deref in c_can_start() - set device pointer a1af471b4151 IB/srp: fix invalid indirect_sg_entries parameter value c2293e76babe IB/srp: fix mr allocation when the device supports sg gaps 24be606cd3b4 IB/iser: Fix sg_tablesize calculation 95600605ffaa IB/cxgb3: fix misspelling in header guard d7f56ee1198a s390/ptrace: Preserve previous registers for short regset write 62d7f2123f19 s390/mm: Fix cmma unused transfer from pgste into pte 97a2e39b7ab9 RDMA/cma: Fix unknown symbol when CONFIG_IPV6 is not enabled ffb97c11d05f Btrfs: remove ->{get, set}_acl() from btrfs_dir_ro_inode_operations ad80fada9d6d Btrfs: disable xattr operations on subvolume directories 79babd4a6ce2 Btrfs: remove old tree_root case in btrfs_read_locked_inode() 959f9709c025 ISDN: eicon: silence misleading array-bounds warning 485952414360 xfs: prevent quotacheck from overloading inode lru 03707d6c36f9 sysctl: fix proc_doulongvec_ms_jiffies_minmax() c7556867782e userns: Make ucounts lock irq-safe 13e39d5930ec vring: Force use of DMA API for ARM-based systems with legacy devices 96e5cec10e7a mm, page_alloc: fix premature OOM when racing with cpuset mems update b678e4ff7ce0 mm, page_alloc: move cpuset seqcount checking to slowpath d1656c5aef4d mm, page_alloc: fix fast-path race with cpuset update or removal ade7afe9dca6 mm, page_alloc: fix check for NULL preferred_zone 9b1a1ae9b528 mm/mempolicy.c: do not put mempolicy before using its nodemask 6676aa65464f mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp a2104c7cd3b2 drm/atomic: clear out fence when duplicating state bbae3c452596 Revert "drm/radeon: always apply pci shutdown callbacks" 5270c017f19f drm/vc4: fix a bounds check cfba2a001d0e drm/vc4: Return -EINVAL on the overflow checks failing. b9edac54cb85 drm/vc4: Fix an integer overflow in temporary allocation layout. 32600835ebe1 drm/vc4: Fix memory leak of the CRTC state. 4c741e2adb35 drm/i915: Ignore bogus plane coordinates on SKL when the plane is not visible f1dc9aaee029 drm: Fix broken VT switch with video=1366x768 option 2abb7f408f7c drm: Schedule the output_poll_work with 1s delay if we have delayed event e4be4d4942b9 tile/ptrace: Preserve previous registers for short regset write 544160b6ea18 fbdev: color map copying bounds checking (From OE-Core rev: 83722e881167e3b6414a9a83056f7a25ee23ae91) Signed-off-by: Bruce Ashfield <> Signed-off-by: Richard Purdie <>
* kernel-yocto.bbclass: ensure repatching when HEAD is checked outAwais Belal2017-02-192-1/+5
| | | | | | | | | | | | | | | | | | | | In some cases it is seen that kernel_checkout and validate_branches are run again in simultaneous builds. During do_patch the kgit-s2q mechanism looks for a sentinel file inside the .git directory, finds a fence post and starts picking up patches after that. This can create trouble as validate_branches checks out the HEAD of the branch and so the patches should be reapplied rather than skipped due to finding of the fence post. We can call kgit-s2q --clean to remove the sentinel file when the branches are checked out. (From OE-Core rev: d57aeafdd2b49010a9fa6d1cd9d10f3cfd5754a5) Signed-off-by: Awais Belal <> Signed-off-by: Bruce Ashfield <> Signed-off-by: Richard Purdie <>
* bitbake: run sanity checks for multiconfigJuro Bystricky2017-02-151-1/+2
| | | | | | | | | | | | Also run sanity check for all additional multiconfig configurations as listed in BBMULTICONFIG, not just the "default" configuration. [YOCTO#10810] (Bitbake rev: b9777374cbe63cdcf80767033f628c26d23e90f9) Signed-off-by: Juro Bystricky <> Signed-off-by: Richard Purdie <>
* bitbake: bitbake: toaster: add wic.bmap support to toasterSujith H2017-02-151-1/+1
| | | | | | | | | Add wic.bmap file extension support for toaster (Bitbake rev: 6a3f6f1b5cc9ec69b28bebf70daed7579c60cd9e) Signed-off-by: Sujith H <> Signed-off-by: Richard Purdie <>
* bitbake: toaster: remove cut and paste cruftbrian avery2017-02-151-12/+2
| | | | | | | | | | | | | There was a superfluous section in toaster start/stop script that was setting the TOASTER_DIR and had a set of comments around that setting. This was done in two places and only the last one was effective. This patch removes the spurious section to make it clearer what was happening and what TOASTER_DIR was actually getting set to. (Bitbake rev: e551e73a094f5a1937bce78de9e41908bf3e07c3) Signed-off-by: brian avery <> Signed-off-by: Richard Purdie <>
* bitbake: toaster: move sqlite database to TOASTER_DIRbrian avery2017-02-151-2/+1
| | | | | | | | | | | | | | | The toaster.sqlite database was located in TOASTER_DIR/build. This meant that if you named your build directory something else (like cow), Toaster would fail to make/find the database. TOASTER_DIR is on the whitelist unlike BUILDDIR and we need to be able to write there anyway given our current layout so this should not disrupt anything. [YOCTO #9992] (Bitbake rev: 2c48168a86309c0cf2be793e7409a78ba21fca14) Signed-off-by: brian avery <> Signed-off-by: Richard Purdie <>
* bitbake: toaster: remove cut and paste cruftbrian avery2017-02-151-1/+4
| | | | | | | | | | | | | There was a superfluous section in toaster start/stop script that was setting the TOASTER_DIR and had a set of comments around that setting. This was done in two places and only the last one was effective. This patch removes the spurious section to make it clearer what was happening and what TOASTER_DIR was actually getting set to. (Bitbake rev: 1f0eac0a172a4fbe1799675f2c3ce989743bd862) Signed-off-by: brian avery <> Signed-off-by: Richard Purdie <>
* bitbake: lib: Drop now unneeded update_data callsRichard Purdie2017-02-155-25/+1
| | | | | | | | | | Now that the datastore works dynamically we don't need the update_data calls so we can just remove them. They're not actually done anything at all for a while. (Bitbake rev: 2300beb50333bb620013b058a7309e7f2042101d) Signed-off-by: Richard Purdie <>
* wic: direct: move creation of PartitionedImage to __init__Ed Bartosh2017-02-151-4/+4
| | | | | | | | | | Moved creation of PartitionedImage object from DirectPlugin.create method to init. It makes the code a bit more readable and logical. (From OE-Core rev: 9f225ef5620f2e47e762b2fd16fa5f8d6f1f60fd) Signed-off-by: Ed Bartosh <> Signed-off-by: Richard Purdie <>
* wic: direct: move generation of part.realnum to PartitionedImageEd Bartosh2017-02-151-13/+13
| | | | | | | | | | | | | Moved the code that generates real partition numbers from DirectPlugin to PartitionedImage. The idea is to have all code that works with partitions in PartitionedImage class. (From OE-Core rev: dbd58b0b32288821d9dd5d1a3118cf7c6e8f098a) Signed-off-by: Ed Bartosh <> Signed-off-by: Richard Purdie <>
* wic: direct: add PartitionedImage.prepare methodEd Bartosh2017-02-151-13/+11
| | | | | | | | | | | | | Moved code that calls prepare method of Partition objects from DirectPlugin to PartitionedImage.prepare. The idea is to have all code that works with partitions in PartitionedImage class. (From OE-Core rev: 700aa424f0aa239cf4149eed4bfb1dc7d9677431) Signed-off-by: Ed Bartosh <> Signed-off-by: Richard Purdie <>
* wic: direct: set bootloader.source in the __init__Ed Bartosh2017-02-151-6/+7
| | | | | | | | | | | Moved setting of bootloader source from do_create method to __init__ as it doesn't have anything to do with image creation. (From OE-Core rev: 361b890da1c7b24de0a62516545e4c164830081d) Signed-off-by: Ed Bartosh <> Signed-off-by: Richard Purdie <>
* wic: direct: move UUID generation to PartitionedImageEd Bartosh2017-02-151-12/+11
| | | | | | | | | | | | | | Moved code that generates partition UUIDs from DirectPlugin to PartitionedImage class as it's more logical to have it there. This allows the code to be reused by other imager plugins. Got rid of having yet another list of partitions in PartitionedImage. Reused the list passed from DirectPlugin. (From OE-Core rev: 20c70dd617d4abfff507e210610a58a9989f7c9b) Signed-off-by: Ed Bartosh <> Signed-off-by: Richard Purdie <>
* wic: direct: add 'realnum' attribute to partitionEd Bartosh2017-02-151-26/+20
| | | | | | | | | | | Replaced call of _get_part_num method with an attribute. This eliminates the need to call the method and loop over partitions every time we need to know realnum for partition. (From OE-Core rev: 96a26b6ddf22346dafa06b00816579439e98445f) Signed-off-by: Ed Bartosh <> Signed-off-by: Richard Purdie <>
* wic: direct: remove useless codeEd Bartosh2017-02-151-3/+1
| | | | | | | | | Removed catching CreatorError and raising it again. (From OE-Core rev: c17353c8ec9ecb52368e08dad999aafc9ac1b734) Signed-off-by: Ed Bartosh <> Signed-off-by: Richard Purdie <>
* wic: direct: don't catch ImagerErrorEd Bartosh2017-02-151-4/+1
| | | | | | | | | | Don't transform ImagerError exception into warning. Let wic to catch it on the upper level. (From OE-Core rev: 0cc84c81dd4a776aa37c8d1bcdcc3fa3af78d1e4) Signed-off-by: Ed Bartosh <> Signed-off-by: Richard Purdie <>
* wic: direct: remove set_bootimg_dir setterEd Bartosh2017-02-153-11/+2
| | | | | | | | | | Removed java-like setter set_bootimg_dir. It's more pythonic to access public attributes directly. (From OE-Core rev: c2a6ca4883ea59e6492ad3b4aa0e9bc358b87fed) Signed-off-by: Ed Bartosh <> Signed-off-by: Richard Purdie <>
* wic: ksparser: set default disk to 'sda'Ed Bartosh2017-02-151-1/+1
| | | | | | | | | | | | | | Set default value of --ondisk to 'sda' to ensure we always have disk name for the partition. This is a first step of replacing --ondisk with disk <name> attribute of .wks. This is better as all partitions share the same disk. (From OE-Core rev: caa243a86ba50c676f8eb0a71440885a49f10cc4) Signed-off-by: Ed Bartosh <> Signed-off-by: Richard Purdie <>
* wic: remove utils/oe/__init__.pyEd Bartosh2017-02-151-22/+0
| | | | | | | | | | This file and utils/oe folder are not needed anymore as all modules were removed or moved out of this directory. (From OE-Core rev: e3b73b1c07620cde423cc7db7e2f7d8b1ad25e25) Signed-off-by: Ed Bartosh <> Signed-off-by: Richard Purdie <>