aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-09-18classes/externalsrc: delete symlinks at start of do_buildcleanpaule/externalsrc-symlinks-fixPaul Eggleton
To help users find the work and log directories (especially within the eSDK) we create symlinks to these from the source tree. However during do_buildclean we call "make clean", and some project Makefiles which delete something like "*/*/lib" which will match files underneath the oe-workdir symlink and fail. do_buildclean is called from do_clean which is in turn called by devtool reset by default, and thus devtool reset is blocked. An example of a recipe where this is visible is the openssl-qat recipe in meta-intel. In order to fix this, delete the symlinks at the start of do_buildclean since we shouldn't need them at that point anyway, and thus make clean won't be able to trip over them. Fixes [YOCTO #11036]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2017-09-14linux-yocto/4.9: bluetooth: CVE-2017-1000251Bruce Ashfield
Integrating the following commit: [ commit 16de0149674ed12d983b77a453852ac2e64584b4 Author: Ben Seri <ben@armis.com> Date: Sat Sep 9 23:15:59 2017 +0200 Bluetooth: Properly check L2CAP config option output buffer length Validate the output buffer length for L2CAP config requests and responses to avoid overflowing the stack buffer used for building the option blocks. Cc: stable@vger.kernel.org Signed-off-by: Ben Seri <ben@armis.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-14linux-yocto/4.4: bluetooth: CVE-2017-1000251Bruce Ashfield
Integrating the following commit: [ commit 16de0149674ed12d983b77a453852ac2e64584b4 Author: Ben Seri <ben@armis.com> Date: Sat Sep 9 23:15:59 2017 +0200 Bluetooth: Properly check L2CAP config option output buffer length Validate the output buffer length for L2CAP config requests and responses to avoid overflowing the stack buffer used for building the option blocks. Cc: stable@vger.kernel.org Signed-off-by: Ben Seri <ben@armis.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-14linux-yocto/4.12: bluetooth: CVE-2017-1000251Bruce Ashfield
Integrating the following commit: [ commit 16de0149674ed12d983b77a453852ac2e64584b4 Author: Ben Seri <ben@armis.com> Date: Sat Sep 9 23:15:59 2017 +0200 Bluetooth: Properly check L2CAP config option output buffer length Validate the output buffer length for L2CAP config requests and responses to avoid overflowing the stack buffer used for building the option blocks. Cc: stable@vger.kernel.org Signed-off-by: Ben Seri <ben@armis.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-14linux-yocto/4.10: bluetooth: CVE-2017-1000251Bruce Ashfield
Integrating the following commit: [ commit 16de0149674ed12d983b77a453852ac2e64584b4 Author: Ben Seri <ben@armis.com> Date: Sat Sep 9 23:15:59 2017 +0200 Bluetooth: Properly check L2CAP config option output buffer length Validate the output buffer length for L2CAP config requests and responses to avoid overflowing the stack buffer used for building the option blocks. Cc: stable@vger.kernel.org Signed-off-by: Ben Seri <ben@armis.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-14linux-yocto/4.12: integrate aufs4 core supportBruce Ashfield
The aufs4 now has a 4.12 port, so we can integrate it into the reference kernel and stay consistent with previous releases. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-14linux-yocto/4.9: update to v4.9.49Bruce Ashfield
Integrating the korg -stable updates that comprise the following commits: f07cb3489cff Linux 4.9.49 8bc67f67b763 drm/bridge: adv7511: Switch to using drm_kms_helper_hotplug_event() 8b5a7e443622 drm/bridge: adv7511: Use work_struct to defer hotplug handing to out of irq context 7791b59153cb scsi: sg: recheck MMAP_IO request length with lock held b06e1abf1ff2 scsi: sg: protect against races between mmap() and SG_SET_RESERVED_SIZE 5b9c6a54c629 cs5536: add support for IDE controller variant ec552ece1f25 workqueue: Fix flag collision 25bdc516b58e drm/nouveau/pci/msi: disable MSI on big-endian platforms by default 078866740e35 s390/mm: avoid empty zero pages for KVM guests to avoid postcopy hangs c193becad9ad MCB: add support for SC31 to mcb-lpc 0e720cd70631 mwifiex: correct channel stat buffer overflows 5c23d3ed1190 dlm: avoid double-free on error path in dlm_device_{register,unregister} 23b7d4f52b69 iwlwifi: pci: add new PCI ID for 7265D 747562619512 Bluetooth: Add support of 13d3:3494 RTL8723BE device b48f7183c64c rtlwifi: rtl_pci_probe: Fix fail path of _rtl_pci_find_adapter ed7a384a904f Input: trackpoint - assume 3 buttons when buttons detection fails 90a1e2e19ed7 ath10k: fix memory leak in rx ring buffer allocation d8b992d93555 intel_th: pci: Add Cannon Lake PCH-LP support a22d561178ee intel_th: pci: Add Cannon Lake PCH-H support 5555eb956edc driver core: bus: Fix a potential double free ffb58b875d24 iio: adc: ti-ads1015: add adequate wait time to get correct conversion ff4a98e3bcb3 iio: adc: ti-ads1015: don't return invalid value from buffer setup callbacks 1ed4565b7c7b iio: adc: ti-ads1015: avoid getting stale result after runtime resume c72ad1a4fdf0 iio: adc: ti-ads1015: enable conversion when CONFIG_PM is not set 115af6c3b155 iio: adc: ti-ads1015: fix scale information for ADS1115 177d84e3a72a iio: adc: ti-ads1015: fix incorrect data rate setting update e58b04fb5b0b staging/rts5208: fix incorrect shift to extract upper nybble afcfe0661a74 USB: core: Avoid race of async_completed() w/ usbdev_release() 80cdcd7f5335 USB: musb: fix external abort on suspend 6b3b3a22ef20 usb:xhci:Fix regression when ATI chipsets detected 99a22c84f51d usb: Add device quirk for Logitech HD Pro Webcam C920-C 773b93f4255f USB: serial: option: add support for D-Link DWM-157 C1 2ea91c52ff5f usb: quirks: add delay init quirk for Corsair Strafe RGB keyboard 8a697a50c090 Linux 4.9.48 d325f1f1e245 epoll: fix race between ep_poll_callback(POLLFREE) and ep_free()/ep_remove() dd2342ad6665 kvm: arm/arm64: Force reading uncached stage2 PGD 70df301a083c drm/ttm: Fix accounting error when fail to get pages for pool 12a70ccaa686 xfrm: policy: check policy direction value 31decdcd8369 lib/mpi: kunmap after finishing accessing buffer 9e2788ce8f17 wl1251: add a missing spin_lock_init() e2ae90bb85f8 CIFS: remove endian related sparse warning c5e76654a9e5 CIFS: Fix maximum SMB2 header size d4e7dfda905e alpha: uapi: Add support for __SANE_USERSPACE_TYPES__ 309e4dbfaf3d cpuset: Fix incorrect memory_pressure control file mapping da16ed52c36a cpumask: fix spurious cpumask_of_node() on non-NUMA multi-node configs 715849268b34 ceph: fix readpage from fscache 8cc3acff5f1a mm, madvise: ensure poisoned pages are removed from per-cpu lists 17c564f629f4 mm, uprobes: fix multiple free of ->uprobes_state.xol_area 9e0a64330ce5 crypto: algif_skcipher - only call put_page on referenced and used pages 91a0e1edb80a i2c: ismt: Return EMSGSIZE for block reads with bogus length d22f6da47355 i2c: ismt: Don't duplicate the receive length for block reads 31562136c8d4 irqchip: mips-gic: SYNC after enabling GIC region 458ca52f1564 Linux 4.9.47 529ada21ff9e lz4: fix bogus gcc warning c47c52cde806 scsi: sg: reset 'res_in_use' after unlinking reserved array 4099ac938385 scsi: sg: protect accesses to 'reserved' page array c0c6dff92303 locking/spinlock/debug: Remove spinlock lockup detection code 27e7506c33d0 arm64: fpsimd: Prevent registers leaking across exec 43f776dab360 x86/io: Add "memory" clobber to insb/insw/insl/outsb/outsw/outsl 509d8b52bbe7 arm64: mm: abort uaccess retries upon fatal signal 3e033635b2b7 kvm: arm/arm64: Fix race in resetting stage2 PGD b8a1532b16fd gcov: support GCC 7.1 47974403c9ca staging: wilc1000: simplify vif[i]->ndev accesses dd758f82a3bf scsi: isci: avoid array subscript warning f71996c3ce5d p54: memset(0) whole array Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-14linux-yocto/4.4: update to v4.4.87Bruce Ashfield
Integrating the -stable update with the following commits: 573b59e17e37 Linux 4.4.87 d95827490c39 crypto: algif_skcipher - only call put_page on referenced and used pages ab3ee6b53d67 epoll: fix race between ep_poll_callback(POLLFREE) and ep_free()/ep_remove() 628212c89fae kvm: arm/arm64: Force reading uncached stage2 PGD 57ff696f54b5 kvm: arm/arm64: Fix race in resetting stage2 PGD 94183009ac0e drm/ttm: Fix accounting error when fail to get pages for pool 9b3dcc98d8df xfrm: policy: check policy direction value c0c2e7567a34 wl1251: add a missing spin_lock_init() 5f08f0aebf70 CIFS: remove endian related sparse warning e596cc1454d4 CIFS: Fix maximum SMB2 header size 6cdda3497db8 alpha: uapi: Add support for __SANE_USERSPACE_TYPES__ ed48d9230e30 cpuset: Fix incorrect memory_pressure control file mapping 15e94ec4ec21 cpumask: fix spurious cpumask_of_node() on non-NUMA multi-node configs 857d0b3dd756 ceph: fix readpage from fscache 043ccc9781cc i2c: ismt: Return EMSGSIZE for block reads with bogus length fab3229af4e5 i2c: ismt: Don't duplicate the receive length for block reads e119fc492de9 irqchip: mips-gic: SYNC after enabling GIC region cd99a4f3f43b Linux 4.4.86 c81c4d453edf drm/i915: fix compiler warning in drivers/gpu/drm/i915/intel_uncore.c b7571624fe98 scsi: sg: reset 'res_in_use' after unlinking reserved array a4075bbb67b9 scsi: sg: protect accesses to 'reserved' page array 823086b057aa arm64: fpsimd: Prevent registers leaking across exec 218720fe5939 x86/io: Add "memory" clobber to insb/insw/insl/outsb/outsw/outsl a7a074f3a4d5 arm64: mm: abort uaccess retries upon fatal signal da981044d049 lpfc: Fix Device discovery failures during switch reboot test. 389328ea1379 p54: memset(0) whole array 5acdbe667cf4 lightnvm: initialize ppa_addr in dev_to_generic_addr() d255fffdb532 gcov: support GCC 7.1 2f3e97a814c8 gcov: add support for gcc version >= 6 41685ae5cd7b i2c: jz4780: drop superfluous init 05429bbfd726 btrfs: remove duplicate const specifier 9a64425945a0 ALSA: au88x0: Fix zero clear of stream->resources da8477a6695a scsi: isci: avoid array subscript warning Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-14linux-yocto/4.12: update to v4.12.12Bruce Ashfield
Integrating the korg stable update comprising the following commits: 6ff98e8e5d24 Linux 4.12.12 ce4ef9346d9f rtlwifi: Fix fallback firmware loading 21da5e36f41e rtlwifi: Fix memory leak when firmware request fails 3ef5220bdba7 of/device: Prevent buffer overflow in of_device_modalias() aee0b37b710e scsi: sg: recheck MMAP_IO request length with lock held b0f24dc0e57b scsi: sg: protect against races between mmap() and SG_SET_RESERVED_SIZE 1054309aca02 cs5536: add support for IDE controller variant e5298cd80371 ahci: don't use MSI for devices with the silly Intel NVMe remapping scheme f21c4eea8bb4 workqueue: Fix flag collision daf316ac4a6c drm/nouveau: Fix error handling in nv50_disp_atomic_commit 75bc569a0d4b drm/nouveau/pci/msi: disable MSI on big-endian platforms by default e3b9fb20262f s390/mm: fix BUG_ON in crst_table_upgrade 2ce0e0495177 s390/mm: avoid empty zero pages for KVM guests to avoid postcopy hangs d859d5a434f1 MCB: add support for SC31 to mcb-lpc f7fb789880dd mwifiex: correct channel stat buffer overflows 0bfb078274ed dlm: avoid double-free on error path in dlm_device_{register,unregister} 985696916329 iwlwifi: pci: add new PCI ID for 7265D cbe865a2e67d Bluetooth: Add support of 13d3:3494 RTL8723BE device 7d20c5530a56 rtlwifi: rtl_pci_probe: Fix fail path of _rtl_pci_find_adapter a47814b210eb Input: trackpoint - assume 3 buttons when buttons detection fails d49ea1b6f98f ath10k: fix memory leak in rx ring buffer allocation 270f0aadd1d2 intel_th: pci: Add Cannon Lake PCH-LP support d2192374b951 intel_th: pci: Add Cannon Lake PCH-H support 055be595e016 fpga: altera-hps2fpga: fix multiple init of l3_remap_lock ba89dc8dce4e crypto: caam/qi - fix compilation with DEBUG enabled aa57cf57df95 crypto: caam/qi - fix compilation with CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y 693ef09dc616 binder: free memory on error bbe1a3b3d20d HID: wacom: Do not completely map WACOM_HID_WD_TOUCHRINGSTATUS usage af617519a8c2 driver core: bus: Fix a potential double free 6c6c3c6bd954 iio: adc: ti-ads1015: add adequate wait time to get correct conversion 00202ded930e iio: adc: ti-ads1015: don't return invalid value from buffer setup callbacks 303d31eb5adf iio: adc: ti-ads1015: avoid getting stale result after runtime resume 6c164a8ad918 iio: adc: ti-ads1015: enable conversion when CONFIG_PM is not set 6c5595e0815d iio: adc: ti-ads1015: fix scale information for ADS1115 1d7fadc5937f iio: adc: ti-ads1015: fix incorrect data rate setting update 70bfcf9e319e staging/rts5208: fix incorrect shift to extract upper nybble ed68c935f5ae USB: core: Avoid race of async_completed() w/ usbdev_release() ffdb5b9e299a ANDROID: binder: add hwbinder,vndbinder to BINDER_DEVICES. 74ffccfed38f ANDROID: binder: add padding to binder_fd_array_object. 68596cc21060 USB: musb: fix external abort on suspend c927f42c8e38 usb:xhci:Fix regression when ATI chipsets detected 0e8e379786da usb: Add device quirk for Logitech HD Pro Webcam C920-C c8ff3d1a47a2 USB: serial: option: add support for D-Link DWM-157 C1 572bcfc7fbce usb: quirks: add delay init quirk for Corsair Strafe RGB keyboard 13817987369a Linux 4.12.11 9c2144e80db8 epoll: fix race between ep_poll_callback(POLLFREE) and ep_free()/ep_remove() 38f5d65ad997 drm/nouveau/i2c/gf119-: add support for address-only transactions bdacc5fcf4f9 nvme: fix the definition of the doorbell buffer config support bit c6d2779d8f0d drm/ttm: Fix accounting error when fail to get pages for pool 6c5b60edd786 xfrm: policy: check policy direction value 6cc6f45db016 lib/mpi: kunmap after finishing accessing buffer a3deff1d3285 mmc: sdhci-xenon: add set_power callback d767ccb7c387 wl1251: add a missing spin_lock_init() 619d31a0d247 drm/vmwgfx: Fix F26 Wayland screen update issue 399081a50c48 dm mpath: do not lock up a CPU with requeuing activity 77ab9e7fb431 CIFS: remove endian related sparse warning 0627f7136685 CIFS: Fix maximum SMB2 header size f3e9dc4504b1 alpha: uapi: Add support for __SANE_USERSPACE_TYPES__ ae53897e22db cpuset: Fix incorrect memory_pressure control file mapping fd20ca80f807 cpumask: fix spurious cpumask_of_node() on non-NUMA multi-node configs 3d7aeba120fd ceph: fix readpage from fscache b3010084e111 mm, madvise: ensure poisoned pages are removed from per-cpu lists 8c46edd78de9 mm, uprobes: fix multiple free of ->uprobes_state.xol_area 726bd348ead3 crypto: algif_skcipher - only call put_page on referenced and used pages 44c6b4a96625 i2c: ismt: Return EMSGSIZE for block reads with bogus length 7a90bfae6345 i2c: ismt: Don't duplicate the receive length for block reads 6fb972d03751 crypto: chacha20 - fix handling of chunked input 6b31ae8707a7 Input: xpad - fix PowerA init quirk for some gamepad models 2ed56448f555 Input: synaptics - fix device info appearing different on reconnect 55a5a10ce349 irqchip: mips-gic: SYNC after enabling GIC region 691208979811 x86/io: Add "memory" clobber to insb/insw/insl/outsb/outsw/outsl 34ed350889dd arm64: mm: abort uaccess retries upon fatal signal Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-14linux-yocto/meta: configuration feature additionsBruce Ashfield
Introducing the following configuration features: d67d2221cc2d bpf: add bpf kernel config 3f9fb678aa31 sysrq: add sysrq kernel config 729eb982ffd8 kexec/kdump: Add config fragments e00e63ef3068 kdump: add config fragments Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-14README.qemu: Add from meta-yocto as it belongs in coreRichard Purdie
This piece makes sense in OE-Core after resutrcturing in meta-yocto. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-13python*native.bbclass: suppress user site dirsMartin Kelly
Currently, $HOME/.local is being added into sys.path for the native Python, causing subtle host contamination. Suppress this by exporting PYTHONNOUSERSITE = "1" as documented in PEP 370. Signed-off-by: Martin Kelly <mkelly@xevo.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-13bluez5: fix out-of-bounds access in SDP server (CVE-2017-1000250)Ross Burton
All versions of the SDP server in BlueZ 5.46 and earlier are vulnerable to an information disclosure vulnerability which allows remote attackers to obtain sensitive information from the bluetoothd process memory. This vulnerability lies in the processing of SDP search attribute requests. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-13go: update to go 1.9Matt Madison
* Rebased patches - dropped armhf-elf patch, should no longer be needed - dropped syslog patch which should not have been imported to begin with - reworked other patches as needed for the updated code base * Updated native, cross, cross-canadian .inc files to remove some testdata directories that contain .a files that strip chokes on during sysroot staging Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-13goarch.bbclass: set ARM_INSTRUCTION_SET to "arm"Matt Madison
Go does not play well with thumb, so ensure that the toolchain and any packages use arm, not thumb, instructions. Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-13go.bbclass: Add ptest supportOtavio Salvador
This adds ptest support for Go packages so its unittest content is packaged and integrated onto the test framework. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-13go.bbclass: Add "ldflags" to QA skip listOtavio Salvador
Currently every Go package will end with GNU_HASH in the ELF binary however adding it to every recipe is cumbersome so instead we handle that here. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-13go.bbclass: add support linking against shared runtimeMatt Madison
For architectures that support it, use the -linkshared build option to build packages against the shared Go runtime. Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-13go-runtime: build the Go runtime as a shared libraryMatt Madison
If the target architecture supports, it build the Go runtime as a shared library in addition to building the static libraries. Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-13go-1.8: add patch for set soname in ELF shared objectsMatt Madison
The go link tool does not set the soname by default, which prevents package.bbclass's shlibs processing from seeing shared libraries built with go. This patch passes appropriate options to go's linker and the external linker to set the soname. Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-13goarch.bbclass: identify archs with Go dynamic linking supportMatt Madison
Go only supports shared libraries for some architectures, so add a variable for use elsewhere that gets a non-null value only for those architectures. Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-13go-runtime: extend to nativesdk buildsMatt Madison
Missed this when addding SDK support. Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-13meta/conf/layers.conf: Add ca-certificates as ABISAFEMark Hatle
meta-oe was doing this before, but it was triggering a yocto-compat-script failure during the signature checking. The ca-certificates changing is ABISAFE, as the certificates themselves do not modify the compiles behavior of the applications. This should permit easier upgrades without as much rebuilding. The original value was set in meta-oe by commit ff7a4b13c4efeffc5853a93c6ff7265fa3d6c143. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-13insane: consider INSANE_SKIP without package-specifier tooRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-09-13linux-firmware: package Marvell PCIe WiFi firmwaresStefan Agner
Add packages for Marvell Avastar 88W8897 and 88W8997 PCIe WiFi chips. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-09-13insane: don't pass skip list to functions which don't respect itRoss Burton
When these functions are being called INSANE_SKIP has already been taken into account, so don't confuse the code by passing the skip list. Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-09-13u-boot: Upgrade to 2017.09Otavio Salvador
This upgrades the U-Boot to the 2017.09 release. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-09-13m4: Add HOMEPAGE info into recipe file.Huang Qiyu
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-09-13at-spi2-core: Add HOMEPAGE info into recipe file.Huang Qiyu
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-09-13at-spi2-atk: Add HOMEPAGE info into recipe file.Huang Qiyu
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-09-13devtool/standard: set a preferred provider when adding a new recipe with devtoolJuan M Cruz Alcaraz
A recipe added with "devtool add" requires to be able to take precedence on recipes previously defined with PREFERRED_PROVIDER. By adding the parameter "--provides" to "devtool add" it is possible to specify an element to be provided by the recipe. A devtool recipe can override a previous PREFERRED_PROVIDER using the layer configuration file in the workspace. E.g. devtool add my-libgl git@git://my-libgl-repository --provides virtual/libgl [YOCTO #10415] Signed-off-by: Juan M Cruz Alcaraz <juan.m.cruz.alcaraz@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-09-13hostap-utils: use w1.fi for SRC_URIMaxin B. John
epitest.fi is down and hostap-utils source is now available in w1.fi. So, move SRC_URI to https://w1.fi Since hostap-utils is only meant for old Intersil Prism2/2.5/3 wifi cards, this recipe will be removed from oe-core in future (most likely to meta-handheld) [YOCTO #12051] Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-09-13python-nose: Add HOMEPAGE info into recipe file.Huang Qiyu
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-09-13python-mako: Add HOMEPAGE info into recipe file.Huang Qiyu
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-09-13dpkg: Support muslx32 buildsweeaun
Modified ostable and tupletable to support muslx32 build. Signed-off-by: sweeaun <swee.aun.khor@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-09-13qemu conf: Fix kernel module autoloading for uvesafb on genericx86Alejandro Hernandez
After commit e8b1c653946ef921b65d47e52aea0dc530ef4286, we started seeing errors like the following during boot on genericx86 machines: uvesafb: failed to execute /sbin/v86d uvesafb: probe of uvesafb.0 failed with error -22 uvesafb: vbe_init() failed with -22 uvesafb: Getting VBE info block failed (eax=0x4f00, err=-2) These were caused because the uvesa module was being loaded during boot, when it is only meant to be loaded on qemu according to: 6af89812e8a9931ffed63768ed85367519bf7aef Since genericx86-common.inc includes qemuboot-x86, the module also tries to be loaded on genericx86 machines, this patch removes the instruction from qemuboot-x86 and adds it in specific to both qemux86 machines confs so it is correctly loaded only on those. [YOCTO #11879] (From OE-Core rev: 261f9c382121c73b72556a151fdd4c7938b32a92) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-13busybox: using ip instead of ifconfig for ifup/ifdownYi Zhao
There is an issue for requesting dynamic IP with ifup/ifdown command when using dhclient. Steps to reproduce: 1. Build a full-cmdline image and install dhcp-client as the default DHCP client. 2. Configure a static IP for eth0 in /etc/networking/interfaces and reboot. $ ifconfig eth0 eth0 inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0 $ ifdown eth0 3. Modify /etc/networking/interfaces to configure a dynamic IP for eth0 $ ifup eth0 $ ifconfig eth0 eth0 inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0 You could see the eth0 still has a static IP. But actually it also has a dynamic IP: $ ip addr show eth0 eth0: inet 192.168.1.2/24 brd 192.168.1.255 scope global eth0 inet 128.224.162.173/23 brd 128.224.163.255 scope global eth0 The root cause is the ifdown invokes "ifconfig" to down the eth0 but doesn't remove its IP. The dhclient would invoke "ip" to configure the interface. It can not remove an IP from down interface with "ip addr flush" and "ip addr add" command can set multiple IPs on one interface. To fix this issue, we should use the "ip" command to implement ifup/ifdown, rather than using the older "ifconfig". It will flush the IP before down the interface. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-13binutils: bump SRCREV to latest 2.29 branchYi Zhao
Update to the latest commit on the 2.29 branch to fix CVEs: CVE-2017-12448, CVE-2017-12449. CVE-2017-12451, CVE-2017-12452, CVE-2017-12454, CVE-2017-12455, CVE-2017-12456, CVE-2017-12457, CVE-2017-12458, CVE-2017-12459, CVE-2017-12799, CVE-2017-12967, CVE-2017-13710 References: https://nvd.nist.gov/vuln/detail/CVE-2017-12448 https://nvd.nist.gov/vuln/detail/CVE-2017-12449 https://nvd.nist.gov/vuln/detail/CVE-2017-12451 https://nvd.nist.gov/vuln/detail/CVE-2017-12452 https://nvd.nist.gov/vuln/detail/CVE-2017-12454 https://nvd.nist.gov/vuln/detail/CVE-2017-12455 https://nvd.nist.gov/vuln/detail/CVE-2017-12456 https://nvd.nist.gov/vuln/detail/CVE-2017-12457 https://nvd.nist.gov/vuln/detail/CVE-2017-12458 https://nvd.nist.gov/vuln/detail/CVE-2017-12459 https://nvd.nist.gov/vuln/detail/CVE-2017-12799 https://nvd.nist.gov/vuln/detail/CVE-2017-12967 https://nvd.nist.gov/vuln/detail/CVE-2017-13710 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-13kernel: Move Device Tree support to kernel.bbclassOtavio Salvador
The Device Tree is commonly used but it is still kept as a .inc file instead of a proper class. Instead now we move the Device Tree code to a kernel-devicetree class and automatically enable it when the KERNEL_DEVICETREE variable is set. To avoid breakage in existing layers, we kept a linux-dtb.inc file which raises a warning telling the user about the change so in next release this can be removed. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-13qemurunner.py: wait for PID to appear in procfsJuro Bystricky
We need QEMU PID in order to access "/proc/<qemupid>/cmdline" Having a valid QEMU PID does not mean we can access the proc entry immediately, we need to wait for the /proc/<qemupid> to appear before we can access it. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-13oe-selftest: devtool: fix test_devtool_add hanging on some machinesPaul Eggleton
The code in scriptutils which implements the logic for running the editor used by devtool edit-recipe looks at the VISUAL environment variable before EDITOR, and thus if VISUAL is set in the environment it will override the EDITOR value we are setting here, the editor (usually vim) launches and there's nothing to stop it running forever short of manually killing it. Set VISUAL instead to fix this. Apparently VISUAL is in fact the variable we should really be preferring here - I don't think I knew that but somehow I got it right in the code, just not in the test. Here are the details for the curious: https://unix.stackexchange.com/questions/4859/visual-vs-editor-whats-the-difference Fixes [YOCTO #12074]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-12image_types: support lz4 compressed squashfsEnrico Scholz
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-12go-cross-canadian: add recipeMatt Madison
Enable cross-canadian builds of the Go toolchain. This requires an additional patch to the Go source to allow us to use the native GOTOOLDIR during the bootstrap phase. Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-12go.bbclass: enable nativesdk builds for Go packagesMatt Madison
Adding the necessary overrides for nativesdk builds. Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-12go-crosssdk: add recipeMatt Madison
Enable crosssdk builds for the Go toolchain. Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-12go: enable nativesdk builds for the toolchainMatt Madison
All that's needed is setting BBCLASSEXTEND. Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-12go-cross: take GOARM environment settingMatt Madison
Instead of hard-coding GOARM to ${TARGET_GOARM} in the wrapper script, take it from an existing environment setting if present. This allows the same cross-compiler to be used for different ARM targets. Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-12go: rename go.inc -> go-target.incMatt Madison
to make it clearer that it is only used for building the toolchain for the target. Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-12go.bbclass: clean up CGO_xxx settingsMatt Madison
* use conditional assignment for the CGO_xxx variables, so they can be overridden more easily * remove the TOOLCHAIN_OPTIONS and TARGET_CC_ARCH references, since those are already present in CC and CXX * remove the TARGET_ prefix so the values are appropriate for native, nativesdk, etc. builds * move the GOROOT export away from the CGO settings and closer to its definition Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-12go-dep: Move bash dependency to -dev packageOtavio Salvador
The src content has been moved to -dev package, so does the test routines. Fix the runtime dependency accordingly. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>