]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
8 years agolinux-yocto/4.12: integrate aufs4 core support
Bruce Ashfield [Thu, 14 Sep 2017 13:46:58 +0000 (09:46 -0400)] 
linux-yocto/4.12: integrate aufs4 core support

The aufs4 now has a 4.12 port, so we can integrate it into the
reference kernel and stay consistent with previous releases.

(From OE-Core rev: 3c60106d86b79c9350102ddf2a904876840b458a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.9: update to v4.9.49
Bruce Ashfield [Thu, 14 Sep 2017 13:46:56 +0000 (09:46 -0400)] 
linux-yocto/4.9: update to v4.9.49

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

(From OE-Core rev: 57819c9f133f168a6a856afa0d0c5ac57a4f2f44)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.4: update to v4.4.87
Bruce Ashfield [Thu, 14 Sep 2017 13:46:57 +0000 (09:46 -0400)] 
linux-yocto/4.4: update to v4.4.87

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

(From OE-Core rev: 6b06a7ae93d7d98c03e7e924a434463a4337e47b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.12: update to v4.12.12
Bruce Ashfield [Thu, 14 Sep 2017 13:46:55 +0000 (09:46 -0400)] 
linux-yocto/4.12: update to v4.12.12

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

(From OE-Core rev: d932cd6069bfaeb211fc169553955432e0a67614)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/meta: configuration feature additions
Bruce Ashfield [Thu, 14 Sep 2017 13:46:54 +0000 (09:46 -0400)] 
linux-yocto/meta: configuration feature additions

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

(From OE-Core rev: 97f267497ed72931e02ed2991b0acb229d9aa281)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agometa-yocto: Restructure and tidy up READMEs
Richard Purdie [Thu, 14 Sep 2017 11:00:35 +0000 (12:00 +0100)] 
meta-yocto: Restructure and tidy up READMEs

The YP Compat v2 standard requres a more specific README structure. Bring
meta-yocto to the required standard and clean up some of the data in the
READMEs whilst in there.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agometa-yocto: Drop meta-yocto directory
Richard Purdie [Thu, 14 Sep 2017 10:48:46 +0000 (11:48 +0100)] 
meta-yocto: Drop meta-yocto directory

This was only present for transition purposes at upgrade, drop it
since its been present for several releases now.

(From meta-yocto rev: 8387f03c0071749e031e573f01b8e54cd3a01466)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoREADME.qemu: Add from meta-yocto as it belongs in core
Richard Purdie [Thu, 14 Sep 2017 11:39:26 +0000 (12:39 +0100)] 
README.qemu: Add from meta-yocto as it belongs in core

This piece makes sense in OE-Core after resutrcturing in meta-yocto.

(From OE-Core rev: d72d116e0228cc0e4391d0558b2d32c3fd5e399c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopython*native.bbclass: suppress user site dirs
Martin Kelly [Tue, 12 Sep 2017 21:03:20 +0000 (14:03 -0700)] 
python*native.bbclass: suppress user site dirs

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.

(From OE-Core rev: 8fe9fb4d5a61dcbcb3fc5b9ee0234cc135af873f)

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobluez5: fix out-of-bounds access in SDP server (CVE-2017-1000250)
Ross Burton [Wed, 13 Sep 2017 19:11:52 +0000 (20:11 +0100)] 
bluez5: fix out-of-bounds access in SDP server (CVE-2017-1000250)

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.

(From OE-Core rev: 7351e0b260876b9bbc8660c2bb4173ab4c130f8b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogo: update to go 1.9
Matt Madison [Wed, 13 Sep 2017 17:54:10 +0000 (14:54 -0300)] 
go: update to go 1.9

* 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

(From OE-Core rev: f2ccf56778433ec16f44eecaa10a610a6630df50)

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>
8 years agogoarch.bbclass: set ARM_INSTRUCTION_SET to "arm"
Matt Madison [Wed, 13 Sep 2017 17:54:09 +0000 (14:54 -0300)] 
goarch.bbclass: set ARM_INSTRUCTION_SET to "arm"

Go does not play well with thumb, so ensure that the
toolchain and any packages use arm, not thumb, instructions.

(From OE-Core rev: 24da8c321831dcc5de00d65d6c5613efee109b57)

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>
8 years agogo.bbclass: Add ptest support
Otavio Salvador [Wed, 13 Sep 2017 17:54:08 +0000 (14:54 -0300)] 
go.bbclass: Add ptest support

This adds ptest support for Go packages so its unittest content is
packaged and integrated onto the test framework.

(From OE-Core rev: 2343cd90b9706589b33510c560ed83a9648fb133)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogo.bbclass: Add "ldflags" to QA skip list
Otavio Salvador [Wed, 13 Sep 2017 17:54:07 +0000 (14:54 -0300)] 
go.bbclass: Add "ldflags" to QA skip list

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.

(From OE-Core rev: 6699e668413c10704ffa8094b3dca67a9b88422a)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogo.bbclass: add support linking against shared runtime
Matt Madison [Wed, 13 Sep 2017 17:54:06 +0000 (14:54 -0300)] 
go.bbclass: add support linking against shared runtime

For architectures that support it, use the -linkshared
build option to build packages against the shared Go
runtime.

(From OE-Core rev: 5624a773e4db3ad2251641e69b04dc380e74a4c7)

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>
8 years agogo-runtime: build the Go runtime as a shared library
Matt Madison [Wed, 13 Sep 2017 17:54:05 +0000 (14:54 -0300)] 
go-runtime: build the Go runtime as a shared library

If the target architecture supports, it build the Go
runtime as a shared library in addition to building
the static libraries.

(From OE-Core rev: f562b5e91c12ab67140de537ea269fe1ac85a764)

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>
8 years agogo-1.8: add patch for set soname in ELF shared objects
Matt Madison [Wed, 13 Sep 2017 17:54:04 +0000 (14:54 -0300)] 
go-1.8: add patch for set soname in ELF shared objects

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.

(From OE-Core rev: 24c2ac446296663b86160cac046e7faccb19f5af)

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>
8 years agogoarch.bbclass: identify archs with Go dynamic linking support
Matt Madison [Wed, 13 Sep 2017 17:54:03 +0000 (14:54 -0300)] 
goarch.bbclass: identify archs with Go dynamic linking support

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.

(From OE-Core rev: 2275712df152b73ce49b36bdf9f8d744c68c9c50)

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>
8 years agogo-runtime: extend to nativesdk builds
Matt Madison [Wed, 13 Sep 2017 17:54:02 +0000 (14:54 -0300)] 
go-runtime: extend to nativesdk builds

Missed this when addding SDK support.

(From OE-Core rev: ee80c21d12d12dc262d4b02aaaef3b57253b25df)

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>
8 years agometa/conf/layers.conf: Add ca-certificates as ABISAFE
Mark Hatle [Wed, 13 Sep 2017 15:15:05 +0000 (10:15 -0500)] 
meta/conf/layers.conf: Add ca-certificates as ABISAFE

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.

(From OE-Core rev: 583dca290c230fbc981c41fe91e8abeff616e633)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoinsane: consider INSANE_SKIP without package-specifier too
Ross Burton [Wed, 13 Sep 2017 10:25:09 +0000 (11:25 +0100)] 
insane: consider INSANE_SKIP without package-specifier too

(From OE-Core rev: 604939186cc08ab0429ebe00f3e32661847f0cf0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-firmware: package Marvell PCIe WiFi firmwares
Stefan Agner [Wed, 13 Sep 2017 00:07:51 +0000 (17:07 -0700)] 
linux-firmware: package Marvell PCIe WiFi firmwares

Add packages for Marvell Avastar 88W8897 and 88W8997 PCIe WiFi
chips.

(From OE-Core rev: 75e918d0d4b4cd7908ea5b3c30ca5ea5bf148b75)

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoinsane: don't pass skip list to functions which don't respect it
Ross Burton [Wed, 13 Sep 2017 09:58:09 +0000 (10:58 +0100)] 
insane: don't pass skip list to functions which don't respect it

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.

(From OE-Core rev: 0001ceead406b1e8ba4fd16d0ecb5fbf5b55ba66)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agou-boot: Upgrade to 2017.09
Otavio Salvador [Mon, 11 Sep 2017 20:30:56 +0000 (17:30 -0300)] 
u-boot: Upgrade to 2017.09

This upgrades the U-Boot to the 2017.09 release.

(From OE-Core rev: 340d413f678a4a64dfa060e8fe0ac721b73fed97)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agom4: Add HOMEPAGE info into recipe file.
Huang Qiyu [Tue, 12 Sep 2017 07:51:14 +0000 (15:51 +0800)] 
m4: Add HOMEPAGE info into recipe file.

(From OE-Core rev: 7ccb76ff4644194bb20159affe9d573695205e63)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoat-spi2-core: Add HOMEPAGE info into recipe file.
Huang Qiyu [Tue, 12 Sep 2017 07:51:13 +0000 (15:51 +0800)] 
at-spi2-core: Add HOMEPAGE info into recipe file.

(From OE-Core rev: fb70550c1553d3f3907c2752a742acd3db940123)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoat-spi2-atk: Add HOMEPAGE info into recipe file.
Huang Qiyu [Tue, 12 Sep 2017 07:51:12 +0000 (15:51 +0800)] 
at-spi2-atk: Add HOMEPAGE info into recipe file.

(From OE-Core rev: 927316c17135b87892103c7008f68b3d58631e2f)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodevtool/standard: set a preferred provider when adding a new recipe with devtool
Juan M Cruz Alcaraz [Fri, 8 Sep 2017 13:34:34 +0000 (06:34 -0700)] 
devtool/standard: set a preferred provider when adding a new recipe with devtool

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]

(From OE-Core rev: adeea2fe6895898a5e6006e798898f0f5dabd890)

Signed-off-by: Juan M Cruz Alcaraz <juan.m.cruz.alcaraz@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agohostap-utils: use w1.fi for SRC_URI
Maxin B. John [Mon, 11 Sep 2017 11:37:41 +0000 (14:37 +0300)] 
hostap-utils: use w1.fi for SRC_URI

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]

(From OE-Core rev: 541b14c58132e8460a762617889bd5e3d736c1a4)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopython-nose: Add HOMEPAGE info into recipe file.
Huang Qiyu [Mon, 11 Sep 2017 07:52:17 +0000 (15:52 +0800)] 
python-nose: Add HOMEPAGE info into recipe file.

(From OE-Core rev: a005bcaa14d54824d5d6eaa2b5584f29f4819d49)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopython-mako: Add HOMEPAGE info into recipe file.
Huang Qiyu [Mon, 11 Sep 2017 07:52:16 +0000 (15:52 +0800)] 
python-mako: Add HOMEPAGE info into recipe file.

(From OE-Core rev: cc682400779ddcb60fc3cbc70a1f33db1c413d85)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodpkg: Support muslx32 build
sweeaun [Sun, 10 Sep 2017 07:28:30 +0000 (00:28 -0700)] 
dpkg: Support muslx32 build

Modified ostable and tupletable to support muslx32 build.

(From OE-Core rev: 13ee656aaa6d529b0d40001062f6d4d84b896d62)

Signed-off-by: sweeaun <swee.aun.khor@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoqemu conf: Fix kernel module autoloading for uvesafb on genericx86
Alejandro Hernandez [Thu, 7 Sep 2017 18:30:17 +0000 (11:30 -0700)] 
qemu conf: Fix kernel module autoloading for uvesafb on genericx86

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)

(From OE-Core rev: 554903483acb4af402feaba013366388db89e36b)

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>
8 years agobusybox: using ip instead of ifconfig for ifup/ifdown
Yi Zhao [Wed, 13 Sep 2017 06:01:07 +0000 (14:01 +0800)] 
busybox: using ip instead of ifconfig for ifup/ifdown

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.

(From OE-Core rev: 4304ed013a015bfb6f054017cb273578b874b4c2)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobinutils: bump SRCREV to latest 2.29 branch
Yi Zhao [Wed, 13 Sep 2017 07:49:55 +0000 (15:49 +0800)] 
binutils: bump SRCREV to latest 2.29 branch

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

(From OE-Core rev: 3fb29742db68314ae1e53bee534efe6472b99b11)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel: Move Device Tree support to kernel.bbclass
Otavio Salvador [Tue, 12 Sep 2017 20:36:06 +0000 (17:36 -0300)] 
kernel: Move Device Tree support to kernel.bbclass

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.

(From OE-Core rev: 03a00be7f2062aefef0e51ef20a4c9737f6685e7)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoqemurunner.py: wait for PID to appear in procfs
Juro Bystricky [Tue, 12 Sep 2017 19:23:27 +0000 (12:23 -0700)] 
qemurunner.py: wait for PID to appear in procfs

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.

(From OE-Core rev: d2d069fa9910d1c7a94c898355a63fca03ec5ad8)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe-selftest: devtool: fix test_devtool_add hanging on some machines
Paul Eggleton [Wed, 13 Sep 2017 20:57:44 +0000 (08:57 +1200)] 
oe-selftest: devtool: fix test_devtool_add hanging on some machines

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].

(From OE-Core rev: 6a7c50def569b5e86aa17bd9b287e8c63781dcb0)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-dev: Updates to the kernel flow procedures
Scott Rifenbark [Mon, 11 Sep 2017 22:45:56 +0000 (15:45 -0700)] 
kernel-dev: Updates to the kernel flow procedures

(From yocto-docs rev: b8baf67ece6e80884fa198ddd51715c329822f28)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopoky.ent: Updated "tbd" to "Rocko" for the 2.4 release.
Scott Rifenbark [Mon, 11 Sep 2017 22:20:16 +0000 (15:20 -0700)] 
poky.ent: Updated "tbd" to "Rocko" for the 2.4 release.

(From yocto-docs rev: 9726be46bc8c89e03352e0168898db643801bb35)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodev-manual: Added links to branch and tag checkout from overview.
Scott Rifenbark [Mon, 11 Sep 2017 21:04:17 +0000 (14:04 -0700)] 
dev-manual: Added links to branch and tag checkout from overview.

(From yocto-docs rev: 122948411e1121be862caa43d216126c3a01f1fc)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-dev, mega-manual: kernel dev flow fig update and chapter revs
Scott Rifenbark [Mon, 11 Sep 2017 20:48:14 +0000 (13:48 -0700)] 
kernel-dev, mega-manual: kernel dev flow fig update and chapter revs

Updated the kernel development flow diagram to have an arrow from
the repositories to the box that says you need to clone the
kernel repository.  Also, provided some wording changes in the
end of the chapter.

(From yocto-docs rev: c77cff4f7b0795d5429dc47c2ad63aec6d19d513)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-dev: Updated list of kernel repositories to have 4.12 and cache
Scott Rifenbark [Mon, 11 Sep 2017 20:28:04 +0000 (13:28 -0700)] 
kernel-dev: Updated list of kernel repositories to have 4.12 and cache

I added the linux-yocto-4.12 kernel repository and the linux-yocto-cache
repository to the list of Yocto Linux Kernel repositories in the
Source Repositories.

(From yocto-docs rev: 88fedda0fa4a4dfc468f0dc404fa9f04390cbed7)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-dev: Updates to the kernel patch examples.
Scott Rifenbark [Thu, 7 Sep 2017 23:43:49 +0000 (16:43 -0700)] 
kernel-dev: Updates to the kernel patch examples.

Switching to kernel version 4.12.  Pulled some old commented
stuff out.

(From yocto-docs rev: c0a5c886256d3477ddaf670df4939bec1c73152e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodev-manual: Updated the reader pointers after poky clone
Scott Rifenbark [Wed, 6 Sep 2017 22:04:27 +0000 (15:04 -0700)] 
dev-manual: Updated the reader pointers after poky clone

Added in a sentence to point to the kernel-dev manual should
the user be interested in kernel development.

(From yocto-docs rev: cc47606af5b7eb2fdc669aa2c0c4dfbd930b8247)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-dev: Added the host prep for kernel dev to the chapter.
Scott Rifenbark [Wed, 6 Sep 2017 21:52:41 +0000 (14:52 -0700)] 
kernel-dev: Added the host prep for kernel dev to the chapter.

(From yocto-docs rev: 7343f1108808bb3be182af58325f9e3195ff4d8e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-dev: Updates to the intro chapter
Scott Rifenbark [Wed, 6 Sep 2017 21:51:17 +0000 (14:51 -0700)] 
kernel-dev: Updates to the intro chapter

I moved the flow diagram up higher and completely removed
the procedures to get the build host ready for kernel
development.  Those are now in the common tasks chapter.

Lots of rewriting

Signen-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-dev: Updated the kernel flow diagram
Scott Rifenbark [Wed, 6 Sep 2017 21:50:23 +0000 (14:50 -0700)] 
kernel-dev: Updated the kernel flow diagram

Had to account for devtool and traditional kernel methods
now.

(From yocto-docs rev: 74580d9a61fa012406059ba2a3348d38fdc24d4c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Updated PREFERRED_PROVIDER variable
Kristi Rifenbark [Wed, 6 Sep 2017 23:07:16 +0000 (16:07 -0700)] 
ref-manual: Updated PREFERRED_PROVIDER variable

Fixes [YOCTO #11762]
Added a link from variable to new virtual providers
section.

(From yocto-docs rev: d87726cf4962ca093c63d23d9e04f41d448c9594)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Added new section on virtual providers
Kristi Rifenbark [Wed, 6 Sep 2017 23:06:03 +0000 (16:06 -0700)] 
ref-manual: Added new section on virtual providers

Fixes [YOCTO #11762]

(From yocto-docs rev: 2633bae48fa08cd3a889d3f205abcc9833b1be2f)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Added missing variables to glossary
Kristi Rifenbark [Thu, 31 Aug 2017 21:33:36 +0000 (14:33 -0700)] 
ref-manual: Added missing variables to glossary

Fixed [YOCTO #10642]

Added the following variables:
BUILD_CC_ARCH
BUILD_LD_ARCH
BUILD_AS_ARCH
BUILD_FC
BUILD_LD
BUILD_CCLD
BUILD_STRIP

(From yocto-docs rev: eb602d0a5fca67228607710d5d33873f1b0529f1)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: bitbake-user-manual: Edits to "inherit" section.
Scott Rifenbark [Wed, 13 Sep 2017 16:02:02 +0000 (09:02 -0700)] 
bitbake: bitbake-user-manual: Edits to "inherit" section.

Fixes [YOCTO #12031]

Applied minor wording changes based on review feedback.

(Bitbake rev: f0930f3216a8358759d561d244fa280932e8bf05)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: bitbake-user-manual: Removed bad links
Scott Rifenbark [Sat, 2 Sep 2017 17:40:03 +0000 (10:40 -0700)] 
bitbake: bitbake-user-manual: Removed bad links

Fixes [YOCTO #12029]

There were four links to an old blog post that was leveraged
for the hello world example.  The post has evidently been
removed and the links no longer resolved.  I have taken them out.

(Bitbake rev: db298262189c94be700abfdb8c2ad7827b53afca)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: bitbake-user-manual: Updated inherit and INHERIT sections
Scott Rifenbark [Sat, 2 Sep 2017 17:16:23 +0000 (10:16 -0700)] 
bitbake: bitbake-user-manual: Updated inherit and INHERIT sections

Fixes [YOCTO #12031]

Moved an inappropriate example from the bottom of the INHERIT
Configuration Directive section up into the inherit directive
section.

Updated the example at the end of the INHERIT Configuration
Directive section to apply to INHERIT.

(Bitbake rev: f169ac5da18d55a40d0554668e1a0ace70f94768)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: bitbake-user-manual: Clarified inherit, include, require relationships
Scott Rifenbark [Sat, 2 Sep 2017 17:01:47 +0000 (10:01 -0700)] 
bitbake: bitbake-user-manual: Clarified inherit, include, require relationships

Fixes [YOCTO #12032]

I applied some re-writing to help clarify the relationships between
the inherit, include, and require directives.

(Bitbake rev: fded970a0709d928f70224d8b61534e9353ee6dd)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agomaintainers.inc: updating ownership for apt, dpkg, perl, qemu and related ones
Leonardo Sandoval [Mon, 11 Sep 2017 19:47:41 +0000 (12:47 -0700)] 
maintainers.inc: updating ownership for apt, dpkg, perl, qemu and related ones

(From meta-yocto rev: 2966ec0b203dbdce519049e8a6c98fb2f6121a24)

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto: Update genericx86* SRCREVs for linux-yocto 4.12
Alejandro Hernandez [Mon, 11 Sep 2017 20:15:17 +0000 (13:15 -0700)] 
linux-yocto: Update genericx86* SRCREVs for linux-yocto 4.12

Upgrades to Linux 4.12.10

(From meta-yocto rev: c5f8727f3a74c9f9bd464844cfd58393a2ee6e8d)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto: Update genericx86* SRCREVs for linux-yocto 4.10
Alejandro Hernandez [Mon, 11 Sep 2017 20:15:16 +0000 (13:15 -0700)] 
linux-yocto: Update genericx86* SRCREVs for linux-yocto 4.10

(From meta-yocto rev: 0c0ecd81156c66d82d40b61ed012e86910f5977a)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto: Update genericx86* SRCREVs for linux-yocto 4.9
Alejandro Hernandez [Mon, 11 Sep 2017 20:15:15 +0000 (13:15 -0700)] 
linux-yocto: Update genericx86* SRCREVs for linux-yocto 4.9

Upgrades to Linux 4.9.46

(From meta-yocto rev: 783c1e3d41d1928f5ef4451838e271e83a9c2b87)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto: Update genericx86* SRCREVs for linux-yocto 4.4
Alejandro Hernandez [Mon, 11 Sep 2017 20:15:14 +0000 (13:15 -0700)] 
linux-yocto: Update genericx86* SRCREVs for linux-yocto 4.4

Upgrades to Linux 4.4.85

(From meta-yocto rev: 232ad256cb77e92729575f04522b76cad58809d5)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: server/process: ensure server failure log is limited to current session
Paul Eggleton [Mon, 11 Sep 2017 22:49:54 +0000 (10:49 +1200)] 
bitbake: server/process: ensure server failure log is limited to current session

Printing the last 10 lines of bitbake-cookerdaemon.log when the server
fails to start can sometimes result in printing the output from a
previous run, which could lead the user completely down the wrong path
in terms of the cause of the failure. Use a known start text containing
the time which we can then look for when scanning through the log, and
then grab the last 10 lines of that part instead.

Fixes [YOCTO #11903].

(Bitbake rev: 567f2cf1bc455b4f3cfb1cbd7f25145360b05a62)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: runqueue: fix BB_SETSCENE_ENFORCE with empty BB_SETSCENE_ENFORCE_WHITELIST
Paul Eggleton [Mon, 11 Sep 2017 22:49:53 +0000 (10:49 +1200)] 
bitbake: runqueue: fix BB_SETSCENE_ENFORCE with empty BB_SETSCENE_ENFORCE_WHITELIST

The whitelist shouldn't have to be populated in order for the
enforcement to work properly - check if the list is not None in order to
determine whether the functionality is enabled or not since that is how
the function that sets up the list behaves.

(Bitbake rev: 7b1e79c352ca6eef1693d8abfacf7505544f1caa)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: process/cooker: Improve readypipe handling
Richard Purdie [Mon, 11 Sep 2017 22:17:43 +0000 (23:17 +0100)] 
bitbake: process/cooker: Improve readypipe handling

Issues in start are not being correctly detected by the current readypipe
code. Change it to use specific "ready" or "fail" messages to correctly
determine the correct failure mode and avoid bitbake seeming to hang
(it does currently timeout eventually).

[YOCTO #12062]

(Bitbake rev: 60d4791e3dd05729d2a2adf6f3b203c80d466a73)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoimage_types: support lz4 compressed squashfs
Enrico Scholz [Tue, 12 Sep 2017 13:30:33 +0000 (15:30 +0200)] 
image_types: support lz4 compressed squashfs

(From OE-Core rev: de70799af1a8bfe2fac22b90401053275d4714ba)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogo-cross-canadian: add recipe
Matt Madison [Tue, 12 Sep 2017 12:50:31 +0000 (09:50 -0300)] 
go-cross-canadian: add recipe

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.

(From OE-Core rev: 9daa02f63a0d53ab90a515f2bd3e783187c9415b)

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>
8 years agogo.bbclass: enable nativesdk builds for Go packages
Matt Madison [Tue, 12 Sep 2017 12:50:30 +0000 (09:50 -0300)] 
go.bbclass: enable nativesdk builds for Go packages

Adding the necessary overrides for nativesdk builds.

(From OE-Core rev: 83ad0bdb8a426b0beb3775cfb109ddb3936b7de1)

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>
8 years agogo-crosssdk: add recipe
Matt Madison [Tue, 12 Sep 2017 12:50:29 +0000 (09:50 -0300)] 
go-crosssdk: add recipe

Enable crosssdk builds for the Go toolchain.

(From OE-Core rev: 5dbca2ab4ab9fdd200bbc8eb0572098e6fdbac84)

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>
8 years agogo: enable nativesdk builds for the toolchain
Matt Madison [Tue, 12 Sep 2017 12:50:28 +0000 (09:50 -0300)] 
go: enable nativesdk builds for the toolchain

All that's needed is setting BBCLASSEXTEND.

(From OE-Core rev: 32438dce21689f6d6352486d6ad377d86fd90a1f)

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>
8 years agogo-cross: take GOARM environment setting
Matt Madison [Tue, 12 Sep 2017 12:50:27 +0000 (09:50 -0300)] 
go-cross: take GOARM environment setting

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.

(From OE-Core rev: 1d319f102cd1f37ce5629c73948efae01478f866)

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>
8 years agogo: rename go.inc -> go-target.inc
Matt Madison [Tue, 12 Sep 2017 12:50:26 +0000 (09:50 -0300)] 
go: rename go.inc -> go-target.inc

to make it clearer that it is only used for building
the toolchain for the target.

(From OE-Core rev: 780aa334f8614c80ce5b9cb77b0cea2fcd482614)

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>
8 years agogo.bbclass: clean up CGO_xxx settings
Matt Madison [Tue, 12 Sep 2017 12:50:25 +0000 (09:50 -0300)] 
go.bbclass: clean up CGO_xxx settings

* 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

(From OE-Core rev: 088528021d6979a8e2d6bc33d63a166e300cfde4)

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>
8 years agogo-dep: Move bash dependency to -dev package
Otavio Salvador [Tue, 12 Sep 2017 12:50:24 +0000 (09:50 -0300)] 
go-dep: Move bash dependency to -dev package

The src content has been moved to -dev package, so does the test
routines. Fix the runtime dependency accordingly.

(From OE-Core rev: 53bbd2222027b7bbca8df066a8a9a58355ae0f91)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogo.bbclass: remove some xxx_FINAL variables
Matt Madison [Tue, 12 Sep 2017 12:50:23 +0000 (09:50 -0300)] 
go.bbclass: remove some xxx_FINAL variables

GOROOT_FINAL is used by the Go linker for rewriting
source paths when the build GOROOT is not the same
as the runtime GOROOT, but the other _FINAL variables
aren't really needed.

(From OE-Core rev: 31aa0d8a62be95d093d3c7581efa41f74b9131ad)

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>
8 years agogo.bbclass: remove GO_GCFLAGS nad GO_LDFLAGS
Matt Madison [Tue, 12 Sep 2017 12:50:22 +0000 (09:50 -0300)] 
go.bbclass: remove GO_GCFLAGS nad GO_LDFLAGS

These variables are not used anywhere.

(From OE-Core rev: 2d37f60c2606de216aaa2d593b73b1de0a5c031e)

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>
8 years agogo: split out go-runtime into separate recipe
Matt Madison [Tue, 12 Sep 2017 12:50:21 +0000 (09:50 -0300)] 
go: split out go-runtime into separate recipe

Reorganize the Go toolchain build to split out
the Go standard runtime libraries into a separate
recipe.  This simplifies the extension to crosssdk
and cross-canadian builds.

* Adds a patch to the go build tool to prevent it
  from trying to rebuild anything in GOROOT, which
  is now resident in the target sysroot.

* 'go' bb and inc files are now for building the
  compiler for the target only.

* 'go-cross' bb and inc files are now just for
  the cross-compiler.

* Adds virtual/<prefix> PROVIDES for the compiler
  and runtime

* Removes testdata directories from the sysroot
  during staging, as they are unnecessary and
  can cause strip errors (some of the test files
  are ELF files).

* Re-enables pacakage QA checks, adding selective
  INSANE_SKIP settings where needed.

(From OE-Core rev: d2a7af7cd834e218c39d43ee3fa0c14d4f748727)

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>
8 years agogo-bootstrap-native: remove recipe
Matt Madison [Tue, 12 Sep 2017 12:50:20 +0000 (09:50 -0300)] 
go-bootstrap-native: remove recipe

No longer needed, with go-native handling its own
bootstrap phase.

(From OE-Core rev: d9f54865ac90ed8d39a70b7989b1bf43ab26e248)

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>
8 years agogo-native: remove dependency on go-bootstrap-native
Matt Madison [Tue, 12 Sep 2017 12:50:19 +0000 (09:50 -0300)] 
go-native: remove dependency on go-bootstrap-native

The go1.4 toolchain is only required for bootstrapping
go-native, and should not be used for anything else,
so build it as part of the go-native build. This way,
we don't have to carry around its built artifacts in
the native sysroot.

The go-cross and target toolchains can then just depend
on go-native, using that for their 'bootstrap' toolchain.

Also removed some unnecessary package-related noexec
settings, since native recipes inherit nopackages.

(From OE-Core rev: 9dc9d457fb9a456bc18c7789b91f40e1f6a999fe)

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>
8 years agoiproute2: Default to tipc enabled, and include libmnl dependency
Mark Hatle [Wed, 6 Sep 2017 19:26:54 +0000 (14:26 -0500)] 
iproute2: Default to tipc enabled, and include libmnl dependency

iproute2 has the ability to include a tipc tool.  When enabled this requires
the libmnl package (formerly supplied by meta-openembedded).  So both are
needed at the same time.

The change itself is needed because of the tipc-utils package (in
meta-openembedded) which RDEPENDS on iproute2-tipc.  Without this package
the yocto-compat-layer script indicates there is no way for me to have
meta-openembedded pass the checker.  This is because meta-openembedded is
not allowed to just enable 'tipc' on it's own.  (A layer may not make distro
wide changes without a user saying to do it.)  The checker script invokes
bitbake -S none world, which will fail on dependency resolution due to there
being no iproute2-tipc package.  The tipc-utils package does not have a way
to check the PACKAGECONFIG of the iproute2 package so disable itself if the
dependency can not be met.  So the default system behavior needs to be:

iproute2 w/ tipc enabled
tipc-utils RDEPENDS on iproute2-tipc

(From OE-Core rev: b40f42e69de47af4f627432e284038c645efbaec)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibarchive: fix bug929 and CVE-2017-14166
Andrej Valek [Mon, 11 Sep 2017 14:20:37 +0000 (16:20 +0200)] 
libarchive: fix bug929 and CVE-2017-14166

(From OE-Core rev: 9b248a17d60b70cb715f15c0401dc5ddc38eee98)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoselftest/cases/signing: ignore removal errors when cleaning temporary gpg directory
Leonardo Sandoval [Thu, 7 Sep 2017 20:52:54 +0000 (15:52 -0500)] 
selftest/cases/signing: ignore removal errors when cleaning temporary gpg directory

The high-level method tempfile.TemporaryDirectory give us no way to
ignore erros on removal thus use tempfile.mkdtemp instead. Ignoring possible issues
on removal is neccesary because it contains gpg sockets that are automatically removed
by the system once the process terminates, otherwise the following log is observed:

  ..
  ..
  File "/usr/lib/python3.5/shutil.py", line 436, in _rmtree_safe_fd
    os.unlink(name, dir_fd=topfd)
  FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.browser'

[YOCTO #11821]

(From OE-Core rev: 7e3a7cd2426feac757def81850dc44156cd0f33e)

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoselftest/devtool: Avoid writing on TOPDIR on kernel test case
Jose Perez Carranza [Fri, 8 Sep 2017 19:08:43 +0000 (12:08 -0700)] 
selftest/devtool: Avoid writing on TOPDIR on kernel test case

Use a tempdir to copy the .config file from the kernel instead of being
copied to build directory.

(From OE-Core rev: ccccf975c75055639c0ed5052ac0ad53ebbf53ca)

Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake.conf: add bzr to HOSTTOOLS_NONFATAL
Martin Jansa [Fri, 8 Sep 2017 16:27:38 +0000 (18:27 +0200)] 
bitbake.conf: add bzr to HOSTTOOLS_NONFATAL

* it's used by bzr fetcher:
  meta/conf/bitbake.conf:FETCHCMD_bzr = "/usr/bin/env bzr"
  and when it isn't available in PATH do_fetch tasks fail with:
  /usr/bin/env: ‘bzr’: No such file or directory
* it was also added in:
  https://patchwork.openembedded.org/patch/140107/
  but this change wasn't merged (nor rejected AFAIS)

(From OE-Core rev: c7ba7e9e7a7ca2caf453106112dc5a3c855b21d3)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoRevert "kernel-module-split: rrecommend kernel-image instead of rdepend"
Martin Hundebøll [Mon, 11 Sep 2017 12:28:36 +0000 (14:28 +0200)] 
Revert "kernel-module-split: rrecommend kernel-image instead of rdepend"

This reverts commit e0ed52c51464855e9a6a37ea49df7efde7e91076.

Commit e0ed52c514 ('kernel-module-split: rrecommend kernel-image instead
of rdepend') changed kernel modules to rrecommend kernel-image instead
of rdepend on kernel. This broke existing setups, where the kernel is
omitted by setting RDEPEND_kernel-base = "".

Revert the patch, as the existing way of omitting kernel-image in images
works just fine.

(From OE-Core rev: c315b1e036b1252f35abda921c49327c950a9570)

Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agomusl: Upgrade to latest master
Khem Raj [Mon, 11 Sep 2017 05:43:31 +0000 (22:43 -0700)] 
musl: Upgrade to latest master

Alexander Monakov (3):
      overhaul environment functions
      free allocations in clearenv
      fix OOB reads in Xbyte_memmem

Bartosz Brachaczek (1):
      handle whitespace before %% in scanf

Rich Felker (6):
      fix erroneous stop before input limit in mbsnrtowcs and wcsnrtombs
      fix erroneous acceptance of f4 9x xx xx code sequences by utf-8 decoder
      fix signal masking race in pthread_create with priority attributes
      don't treat numeric port strings as servent records in getservby*()
      fix glob descent into . and .. with GLOB_PERIOD
      work around incorrect EPERM from mmap syscall

Szabolcs Nagy (4):
      s390x: add bits/hwcap.h
      add a_clz_64 helper function
      arm: add HWCAP_ARM_ hwcap macros
      make syscall.h consistent with linux

(From OE-Core rev: 1b0943925783f948fbb1f30ffd2f287c97f4f354)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoinitramfs-framework: Allow directories with spaces
Otavio Salvador [Mon, 11 Sep 2017 17:37:16 +0000 (14:37 -0300)] 
initramfs-framework: Allow directories with spaces

When mdev module loads the Linux kernel modules, it can visit
directories with spaces. To allow that, we must quote the variable
otherwise it misunderstand it arguments as multiple entries.

Fixes:

,----
| Freeing unused kernel memory: 3072K (80d00000 - 81000000)
| cat: can't open '/sys/devices/platform/Vivante': No such file or directory
| cat: can't open 'GCCore/modalias': No such file or directory
`----

(From OE-Core rev: afc73dd6346325de0a39997a3045b6659f9658b5)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoglibc-locale: add runtime dependency on glibc
Martin Jansa [Mon, 11 Sep 2017 17:05:33 +0000 (19:05 +0200)] 
glibc-locale: add runtime dependency on glibc

* the libc.so.6 dependency is detected always:
  $ grep FILERDEPENDS BUILD-*/pkgdata/qemux86/runtime/localedef
  BUILD-bad/pkgdata/qemux86/runtime/localedef:FILERDEPENDSFLIST_localedef: /usr/bin/localedef
  BUILD-bad/pkgdata/qemux86/runtime/localedef:FILERDEPENDS_/usr/bin/localedef_localedef: libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.0) libc.so.6
  BUILD-ok/pkgdata/qemux86/runtime/localedef:FILERDEPENDSFLIST_localedef: /usr/bin/localedef
  BUILD-ok/pkgdata/qemux86/runtime/localedef:FILERDEPENDS_/usr/bin/localedef_localedef: libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.0) libc.so.6

* but in some builds the glibc dependency isn't built soon enough:
  $ diff -uNr BUILD-*/pkgdata/qemux86/runtime/localedef
  --- BUILD-bad/pkgdata/qemux86/runtime/localedef 2017-09-02 21:17:50.000000000 +0000
  +++ BUILD-ok/pkgdata/qemux86/runtime/localedef  2017-09-11 10:15:49.954381592 +0000
  @@ -6,6 +6,7 @@
   LICENSE: GPLv2 & LGPLv2.1
   DESCRIPTION_localedef: glibc: compile locale definition files
   SUMMARY: Locale data from glibc
  +RDEPENDS_localedef: glibc (>= 2.26)
   SECTION: base
   PKG_localedef: localedef
   FILES_localedef: /usr/bin/localedef
  and the build fails with QA issues:
  http://errors.yoctoproject.org/Errors/Details/155529/

  ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.0), but no providers found in RDEPENDS_localedef? [file-rdeps]
  ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.15), but no providers found in RDEPENDS_localedef? [file-rdeps]
  ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.3), but no providers found in RDEPENDS_localedef? [file-rdeps]
  ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.2), but no providers found in RDEPENDS_localedef? [file-rdeps]
  ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.1), but no providers found in RDEPENDS_localedef? [file-rdeps]
  ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6, but no providers found in RDEPENDS_localedef? [file-rdeps]
  ERROR: QA run found fatal errors. Please consider fixing them.

* easily reproducible with empty TMPDIR and:
  bitbake -c cleansstate glibc-locale && bitbake -c package_qa glibc-locale

* reproducible with Yocto 2.2 Morty as well, with slightly different
  error message:
  ERROR: glibc-locale-2.24-r0 do_package_qa: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.4), but no providers found in RDEPENDS_localedef? [file-rdeps]

* with Yocto 2.3 Pyro it's not reproducible by default, because rpmdeps
  aren't enabled to populate FILERDEPENDS, but once you add:
  ENABLE_RPM_FILEDEPS_FOR_PYRO = "1"
  similar QA issue is shown as well:
  ERROR: glibc-locale-2.25-r0 do_package_qa: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.15), but no providers found in RDEPENDS_localedef? [file-rdeps]
  ERROR: glibc-locale-2.25-r0 do_package_qa: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.4), but no providers found in RDEPENDS_localedef? [file-rdeps]
  ERROR: glibc-locale-2.25-r0 do_package_qa: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6, but no providers found in RDEPENDS_localedef? [file-rdeps]

(From OE-Core rev: 2d2b4d7383c93174fe8eeb72440e81345df71295)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoinitramfs-framework: bump PR and fix install-efi and setup-live modules
California Sullivan [Mon, 11 Sep 2017 21:33:26 +0000 (14:33 -0700)] 
initramfs-framework: bump PR and fix install-efi and setup-live modules

Bump initramfs-framework PR, as it was missed in the previous
initramfs-framework patch.

These modules are shell scripts so they can be allarch.

Fix the SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS in layer.conf, as these
dependencies moved from the main recipe to these modules.

Finally, set the PR to 4 in the new module recipes to avoid breaking
package feeds.

Fixes [YOCTO #12024].

(From OE-Core rev: d8af496dde699fadb2b21ff45cd20cf31e8abaf7)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agostaging: gracefully abort if two recipes conflict in the sysroot
Ross Burton [Tue, 5 Sep 2017 19:24:20 +0000 (20:24 +0100)] 
staging: gracefully abort if two recipes conflict in the sysroot

When building the per-recipe sysroot keep track of what files we're installing
and where they came from, so we can detect when a file is installed by two
different recipes and tell the user what these recipes are (instead of just
showing a os.link() stack trace).

[ YOCTO #11631 ]

(From OE-Core rev: 606a8e0ca218f023e362c3678122d36d537f95de)

(From OE-Core rev: 2ebbeb61114e4b847e9164c621ac87b5cf03a299)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodevtool: upgrade: check that user has configured git properly
Paul Eggleton [Wed, 30 Aug 2017 23:54:07 +0000 (11:54 +1200)] 
devtool: upgrade: check that user has configured git properly

If user.name or user.email haven't been set then git rebase can't really
work properly. Check that the user has set these and error out if not.
(Elsewhere we are relying on OE's git patch functionality which forces
a dummy OE value - that's OK there as it's completely under OE's control
and therefore it's OK for a dummy OE user to be the committer, but here
the rebase may require intervention so it's reasonable to have the
user's actual name and email on the operation.)

Fixes [YOCTO #11947].

(From OE-Core rev: 129a3be07e272013be2db17552c13b4d8cc2cf6e)

(From OE-Core rev: 802829f1c38d8c5eee11ba1d9ddd37cf02597f6e)

Signed-off-by: paul <paul@peggleto-mobl.ger.corp.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogo-helloworld: Use the Golang examples repository
Otavio Salvador [Fri, 8 Sep 2017 21:04:44 +0000 (18:04 -0300)] 
go-helloworld: Use the Golang examples repository

This updates the recipe to use the Golang examples repository so it
makes use of the unpack as well as standard tasks showing how easy it
can be.

(From OE-Core rev: 116d2ea1fe92725bb1265152f3db51598643a481)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogo-dep: Add 0.3.0 release
Otavio Salvador [Fri, 8 Sep 2017 21:04:43 +0000 (18:04 -0300)] 
go-dep: Add 0.3.0 release

This is the Golang dependency management tool under development; it is
ready for production use and intended to be merged onto Golang
1.10. Until that, projects are starting to use it and making it
available on OE-Core reduces the Golang integration work for new
recipes.

(From OE-Core rev: 79e0401fa463736f28ad39f2f98cd23d8fd6fe88)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogo.bbclass: add GO_INSTALL_FILTEROUT variable
Matt Madison [Fri, 8 Sep 2017 21:04:42 +0000 (18:04 -0300)] 
go.bbclass: add GO_INSTALL_FILTEROUT variable

When using the Go 'vendor' mechanism to bring in
dependencies for a Go package, the default GO_INSTALL
setting, which uses the '...' wildcard, will include
the vendored packages in the build, which produces
incorrect results.

There are also some Go packages that are structured
poorly, so that the '...' wildcard results in building
example or test code that should not be included in
the build, or fail to build.

This patch adds a mechanism for filtering out a
subset of the sources.  It defaults to filtering
out everything under the 'vendor' subdirectory
under package's main directory, which is the
normal location for vendored packages, but can
be overridden by a recipe to filter out other
subdirectories, if needed.

(From OE-Core rev: 9819353726d85780546158428bd97a253705017d)

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>
8 years agogo.bbclass: add do_unpack function to handle common cases
Matt Madison [Fri, 8 Sep 2017 21:04:41 +0000 (18:04 -0300)] 
go.bbclass: add do_unpack function to handle common cases

Go source trees have a particular structure, with all
sources located under ${GOROOT}/src/<import-path>.
The fetcher step implemented by the 'go get' command
automatically follows this structure, so we need
to do the same here.

Since most Go packages are hosted in git repositories,
this adds a custom do_unpack() function that sets
the destsuffix to match the expected directory structure,
for any git SRC_URIs that haven't had a destsuffix
explicitly set in the recipe.

This simplifies recipe writing for the most common
cases.

(From OE-Core rev: efcf6513b71021ea4bfe6fbaa326e6591dee487d)

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>
8 years agogo.bbclass: separate ${S} and ${B}
Matt Madison [Fri, 8 Sep 2017 21:04:40 +0000 (18:04 -0300)] 
go.bbclass: separate ${S} and ${B}

Add a do_configure task to populate ${B} by symlinking
in the src subdirectory under ${S}, which lets us point
GOPATH at ${B}.  This lets us take advantage of the
automatic directory creation and cleaning for do_configure.

This necessitates a change to do_install to split the
installation of the sources and built artifacts.  Taking
advantage of some additional tar options, we can eliminate
the extra staging area and extra recursive chown command.
So overall efficiency should be improved.

(From OE-Core rev: c62a083306c26b7e4deca1ff41336bb6b33d5b3a)

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>
8 years agogo.bbclass: Use an auxiliary variable to add the build dependencies
Otavio Salvador [Fri, 8 Sep 2017 21:04:39 +0000 (18:04 -0300)] 
go.bbclass: Use an auxiliary variable to add the build dependencies

This is going to easy the addition of nativesdk and virtual providers
in the future.

This change is based on the meta-golang[1] layer. Thanks to Matt
Madison <matt@madison.systems> for his work on this.

1. https://github.com/madisongh/meta-golang

(From OE-Core rev: 497136297f15858903b5170a8616d0cb427a995d)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogo.bbclass: exported function cleanup
Matt Madison [Fri, 8 Sep 2017 21:04:38 +0000 (18:04 -0300)] 
go.bbclass: exported function cleanup

Since this is a class, it should follow the
class function export mechanism for its task
functions, and should set directory-related
flags for directories they need.

(From OE-Core rev: 0369a99ad1c9e3a9a6394c723461795460dc2c76)

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>
8 years agogo.bbclass: Enable parallel build
Otavio Salvador [Fri, 8 Sep 2017 21:04:37 +0000 (18:04 -0300)] 
go.bbclass: Enable parallel build

The parallel build is based on PARALLEL_MAKE variable but can be
overriden setting the GO_PARALLEL_BUILD one.

This change is based on the meta-golang[1] layer. Thanks to Matt
Madison <matt@madison.systems> for his work on this.

1. https://github.com/madisongh/meta-golang

(From OE-Core rev: 7a40ea8fc358aa134ad86862591329f94d0f3718)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogo.bbclass: Use a global Go build flags
Otavio Salvador [Fri, 8 Sep 2017 21:04:36 +0000 (18:04 -0300)] 
go.bbclass: Use a global Go build flags

We now use a GOBUILDFLAGS to provide a global variable to control the
build flags to be given to Go.

This change is based on the meta-golang[1] layer. Thanks to Matt
Madison <matt@madison.systems> for his work on this.

1. https://github.com/madisongh/meta-golang

(From OE-Core rev: d6b8e7e94ba6dae44907c5a65bc0bdf0ccebdb15)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogoarch.bbclass: Add support for ARMv5
Otavio Salvador [Fri, 8 Sep 2017 21:04:35 +0000 (18:04 -0300)] 
goarch.bbclass: Add support for ARMv5

This adds support to return the proper ARMv5 format.

This change is based on the meta-golang[1] layer. Thanks to Matt
Madison <matt@madison.systems> for his work on this.

1. https://github.com/madisongh/meta-golang

(From OE-Core rev: e242e7c3617ded87582c5d384b15027498b0c1a4)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogoarch.bbclass: Replace logic for setting GOARM
Will Newton [Fri, 8 Sep 2017 21:04:34 +0000 (18:04 -0300)] 
goarch.bbclass: Replace logic for setting GOARM

The previous logic applied a regex to TUNE_FEATURES which could
set the GOARM value to 7 incorrectly, for example when dealing
with an arm1176 core. Simplify to check for the presence of
"armv7" instead. At the same time add a check for "armv6" and
set GOARM to 6 in that case.

(From OE-Core rev: 07b60c15e9ef650940afdde37bf3f3b9c50a336d)

Signed-off-by: Will Newton <willn@resin.io>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>