aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-12-10linux-yocto/4.12: iwlwifi calltrace fixes and configuration warning cleanupsBruce Ashfield
Merging the following upstream backports to fix a iwlwifi calltrace: 0b17e1b52f99 iwlwifi: mvm: support new flush API 89025056c0d1 iwlwifi: mvm: avoid variable shadowing d6dc077966e7 iwlwifi: mvm: add and use iwl_mvm_device_running() 5dfb593df8f0 iwlwifi: add wait for tx queue empty 0e8726bf748a iwlwifi: mvm: wait for the flushed queue only 8e2d37ae55a7 iwlwifi: mvm: flush per station for DQA mode Also merging the following configuration changes to cleanup kernel audit warnings: 9f1f122a7d87 features/dca/dca.cfg: fix CONFIG_IXGBE_DCA can not enble if build ixgbe in kernel d355f082c54d features/iommu/iommu.cfg: remove CONFIG_INTEL_IOMMU_DEFAULT_ON=n 9399ae045c72 features/tpm/tpm.cfg: set CONFIG_HW_RANDOM_TPM as module Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-12-10linux-yocto/4.9: update to v4.9.61Bruce Ashfield
Integrating the korg -stable updates that comprise the following commits: 5caae9d14199 Linux 4.9.61 be3390d86bc2 ARM: dts: mvebu: pl310-cache disable double-linefill 26fc85a0113d staging: r8712u: Fix Sparse warning in rtl871x_xmit.c 244cff7066f6 xen: don't print error message in case of missing Xenstore entry c90b65d8b8fb powerpc/64: Don't try to use radix MMU under a hypervisor df0c2d409e9d PCI: Avoid possible deadlock on pci_lock and p->pi_lock 8e5ca01ac966 drm/exynos: g2d: prevent integer overflow in 2a6576f56eab bt8xx: fix memory leak c31f5651aed7 s390/crypto: Extend key length check for AES-XTS in fips mode. aa7a7e92e08e s390/prng: Adjust generation of entropy to produce real 256 bits. ba56e6cd9741 s390/dasd: check for device error pointer within state change interrupts 0b5cdee7df76 mei: return error on notification request to a disconnected client ad1267a0c9f7 exynos4-is: fimc-is: Unmap region obtained by of_iomap() bfcbe6cd1551 ASoC: Intel: boards: remove .pm_ops in all Atom/DPCM machine drivers 2e727b8abeeb vfs: open() with O_CREAT should not create inodes with unknown ids 7ec661f58578 brcmfmac: check brcmf_bus_get_memdump result for error a69bec9bd3a4 staging: lustre: lmv: Error not handled for lmv_find_target 758d3ea8247e staging: lustre: ptlrpc: skip lock if export failed 091f48a66440 staging: lustre: hsm: stack overrun in hai_dump_data_field a513df5968ad staging: lustre: llite: don't invoke direct_IO for the EOF case c3f0c2c14000 platform/x86: intel_mid_thermal: Fix module autoload db5323e5088c scsi: aacraid: Process Error for response I/O b469d5c393c2 xen/manage: correct return value check on xenbus_scanf() b1a38567a9ed gpio: mcp23s08: Select REGMAP/REGMAP_I2C to fix build error 293c98f15d04 mtd: nand: sunxi: Fix the non-polling case in sunxi_nfc_wait_events() ceec8374d790 clk: sunxi-ng: Check kzalloc() for errors and cleanup error path d3b56161e0a3 ath10k: fix reading sram contents for QCA4019 90400ec14408 cx231xx: Fix I2C on Internal Master 3 Bus 64674bc8eead net: phy: dp83867: Recover from "port mirroring" N/A MODE4 227afd93a6ad clocksource/drivers/arm_arch_timer: Add dt binding for hisilicon-161010101 erratum 35c309e4c446 drm/fsl-dcu: check for clk_prepare_enable() error 2b462a38bfea iwlwifi: mvm: use the PROBE_RESP_QUEUE to send deauth to unknown station 195fe2ec8631 perf tools: Only increase index if perf_evsel__new_idx() succeeds 24cca20a0988 drm/amdgpu: when dpm disabled, also need to stop/start vce. f04d92e10580 i2c: riic: correctly finish transfers 46d515488a07 net/ena: change driver's default timeouts 16d65c0c0181 ext4: do not use stripe_width if it is not set 0e9deca480c3 ext4: fix stripe-unaligned allocations a418b2fd8e53 net: mvneta: fix build errors when linux/phy*.h is removed from net/dsa.h c16283db12e1 PCI/MSI: Return failure when msix_setup_entries() fails a624515184da staging: rtl8712u: Fix endian settings for structs describing network packets 47d7bc22c054 bnxt_en: Added PCI IDs for BCM57452 and BCM57454 ASICs e6f3caf3bf81 mfd: axp20x: Fix axp288 PEK_DBR and PEK_DBF irqs being swapped b15965b00686 mfd: ab8500-sysctrl: Handle probe deferral 1bd47ceafbd7 mmc: s3cmci: include linux/interrupt.h for tasklet_struct 31a8b19dbe6a scsi: megaraid_sas: Do not set fp_possible if TM capable for non-RW syspdIO, change fp_possible to bool 7da4cd97f58b PM / wakeirq: report a wakeup_event on dedicated wekup irq 80eabac6c53a IB/mlx5: Assign DSCP for R-RoCE QPs Address Path 733ab05adc1e staging: fsl-mc: Add missing header 58b9a54ae03d crypto: ccp - Set the AES size field for all modes 5208153038d3 cpufreq: Do not clear real_cpus mask on policy init f1e7f9dc1198 Fix tracing sample code warning. 86b0853f7391 tracing/samples: Fix creation and deletion of simple_thread_fn creation 8b2653de6f78 drm/msm: fix an integer overflow test 06bf74cdbdbe drm/msm: Fix potential buffer overflow issue 984dcb32ffd0 drm/i915/edp: read edp display control registers unconditionally f2fd2d945446 ocfs2: fstrim: Fix start offset of first cluster group during fstrim 09907f0cbe61 drm/amdgpu: return -ENOENT from uvd 6.0 early init for harvesting b3937f55c725 ARM: 8715/1: add a private asm/unaligned.h e059fc3c36c0 arm/arm64: kvm: Disable branch profiling in HYP code d7d5a30e23a2 arm/arm64: KVM: set right LR register value for 32 bit guest when inject abort 011b44af0077 arm64: ensure __dump_instr() checks addr_limit 43f69519e9f9 ASoC: adau17x1: Workaround for noise bug in ADC cb14a0dd1f74 KEYS: fix out-of-bounds read during ASN.1 parsing 0be72aebbff3 KEYS: return full count in keyring_read() if buffer is too small 5e8b028abaf8 cifs: check MaxPathNameComponentLength != 0 before using it ffb76bb8aa9e ALSA: seq: Fix nested rwsem annotation for lockdep splat c778c8187e44 ALSA: timer: Add missing mutex lock for compat ioctls 06b639e5a1a6 Linux 4.9.60 4b86c486e628 ecryptfs: fix dereference of NULL user_key_payload bdcb6c994c16 regulator: fan53555: fix I2C device ids 543aabb7d14b ipsec: Fix aborted xfrm policy dump crash bb46f793ad02 cfg80211: fix connect/disconnect edge cases 7e31cdee8b89 can: kvaser_usb: Ignore CMD_FLUSH_QUEUE_REPLY messages 636e798d1483 can: kvaser_usb: Correct return value in printout c4fe13bd538e can: sun4i: fix loopback mode e6b5e3b6344e drm/amd/powerplay: fix uninitialized variable 5a0dbfeed4fc scsi: sg: Re-fix off by one in sg_fill_request_table() 88acde81e80f scsi: zfcp: fix erp_action use-before-initialize in REC action trace 67bcc5e530d5 assoc_array: Fix a buggy node-splitting case 52f65e35c2b8 Input: gtco - fix potential out-of-bound access 9460dd363334 Input: elan_i2c - add ELAN0611 to the ACPI table d431d9f122ab xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap() 8783885ea7fe fuse: fix READDIRPLUS skipping an entry d8e5f2f8d507 spi: bcm-qspi: Fix use after free in bcm_qspi_probe() in error path 1dfea1eeac64 spi: uapi: spidev: add missing ioctl header 474cb9e0f02f KVM: PPC: Fix oops when checking KVM_CAP_PPC_HTM 659b04ad201b usb: xhci: Handle error condition in xhci_stop_device() a703da486eca ceph: unlock dangling spinlock in try_flush_caps() 41f804df5644 ALSA: hda - fix headset mic problem for Dell machines with alc236 61ae3fbc85f4 ALSA: hda/realtek - Add support for ALC236/ALC3204 43a980a99654 workqueue: replace pool->manager_arb mutex with a flag d785062ef20f Linux 4.9.59 d2d576e28554 FS-Cache: fix dereference of NULL user_key_payload 63c8e4525549 KEYS: Fix race between updating and finding a negative key b2ac5d4516fb fscrypt: fix dereference of NULL user_key_payload f374505b7910 xfs: trim writepage mapping to within eof 245262c66d1d xfs: cancel dirty pages on invalidation 67d73f4122a3 xfs: handle error if xfs_btree_get_bufs fails fee940a8bef1 xfs: reinit btree pointer on attr tree inactivation walk 0fe7d85b5a99 xfs: don't change inode mode if ACL update fails 3a5a338aec3f xfs: move more RT specific code under CONFIG_XFS_RT 3042b3a5a4ee xfs: Don't log uninitialised fields in inode structures 1b4998dceda7 xfs: handle racy AIO in xfs_reflink_end_cow 002295a6be81 xfs: always swap the cow forks when swapping extents d59a3f7f3caa xfs: Capture state of the right inode in xfs_iflush_done 98cbca24894c xfs: perag initialization should only touch m_ag_max_usable for AG 0 0eebfedec144 xfs: update i_size after unwritten conversion in dio completion d1b2a35f8f57 xfs: report zeroed or not correctly in xfs_zero_range() 6f770625b421 fs/xfs: Use %pS printk format for direct addresses 92f606092f6c xfs: evict CoW fork extents when performing finsert/fcollapse 4e9de11c2377 xfs: don't unconditionally clear the reflink flag on zero-block files 13c5e9770109 vmbus: fix missing signaling in hv_signal_on_read() 1c33c8f8a727 pkcs7: Prevent NULL pointer dereference, since sinfo is not always set. da0c7503c0b8 KEYS: don't let add_key() update an uninstantiated key f9e7e2d6051e lib/digsig: fix dereference of NULL user_key_payload fec442e32bf6 KEYS: encrypted: fix dereference of NULL user_key_payload ca9601382b31 x86/microcode/intel: Disable late loading on model 79 5a6fb4920381 rtlwifi: rtl8821ae: Fix connection lost problem f1ae556a31dd clockevents/drivers/cs5535: Improve resilience to spurious interrupts 534b65dc0a06 bus: mbus: fix window size calculation for 4GB windows 8de5590d957c brcmsmac: make some local variables 'static const' to reduce stack size 7f9267693f51 brcmfmac: Add check for short event packets 717ef37dde6c i2c: piix4: Fix SMBus port selection for AMD Family 17h chips 4d4f527029e2 i2c: ismt: Separate I2C block read from SMBus block read 57ed31530cf9 ALSA: hda: Abort capability probe at invalid register read d0f5c17fd414 ALSA: hda: Remove superfluous '-' added by printk conversion d5b657ee66a3 ALSA: seq: Enable 'use' locking in all configurations 710c0b073eeb drm/nouveau/mmu: flush tlbs before deleting page tables f4f0b6aa58eb drm/nouveau/bsp/g92: disable by default 587d7faf6f0e can: esd_usb2: Fix can_dlc value for received RTR, frames dc1858a8e56f xhci: Identify USB 3.1 capable hosts by their port protocol capability 6f4a36f0ec7d usb: musb: Check for host-mode using is_host_active() on reset interrupt b4ecc15d6f5a usb: musb: sunxi: Explicitly release USB PHY on exit 09fad6f25254 iio: dummy: events: Add missing break 6bb16fa58127 parisc: Fix double-word compare and exchange in LWS code on 32-bit kernels 6f0eefab853b can: gs_usb: fix busy loop if no more TX context is available b26fafd38106 ALSA: usb-audio: Add native DSD support for Pro-Ject Pre Box S2 Digital d15fc53296a5 usb: hub: Allow reset retry for USB2 devices on connect bounce ddf0b44fbcb2 usb: quirks: add quirk for WORLDE MINI MIDI keyboard b7cd9f5664e1 usb: cdc_acm: Add quirk for Elatec TWN3 603296156ba4 USB: serial: metro-usb: add MS7820 device id 9d13d3e05be2 USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor() ee0ea51aa9cb USB: devio: Revert "USB: devio: Don't corrupt user memory" 4d4a6a3f8a12 Linux 4.9.58 480fd4fb29c5 usb: dwc3: gadget: Correct ISOC DATA PIDs for short packets 9b9843154cd1 cpufreq: CPPC: add ACPI_PROCESSOR dependency 2ee4d596e445 EDAC, mce_amd: Print IPID and Syndrome on a separate line 8a7a752441a9 btmrvl: avoid double-disable_irq() race a127483e9ee2 regulator: core: Resolve supplies before disabling unused regulators 16ee696eed67 drm/nouveau/gr/gf100-: fix ccache error logging 62a3af1f1bc0 powerpc/perf: Add restrictions to PMC5 in power9 DD1 d4bda742831e nfsd/callback: Cleanup callback cred on shutdown 0c92e732937c hrtimer: Catch invalid clockids again b200b6dc7f39 target/iscsi: Fix unsolicited data seq_end_offset calculation e0fcd1e40db4 IB/hfi1: Allocate context data on memory node 06f2d879c308 IB/hfi1: Use static CTLE with Preset 6 for integrated HFIs 939f4f6ec741 uapi: fix linux/mroute6.h userspace compilation errors ad50561ba7a6 uapi: fix linux/rds.h userspace compilation errors bd530852210d ceph: clean up unsafe d_parent accesses in build_dentry_path 6839ad59f9d5 ceph: fix bogus endianness change in ceph_ioctl_set_layout df37e8fadf74 ceph: don't update_dentry_lease unless we actually got one b025eb5d2678 i2c: at91: ensure state is restored after suspending 1226f6993357 qed: Read queue state before releasing buffer 7f8ea2674b44 qed: Reserve doorbell BAR space for present CPUs a506d326cbec qede: Prevent index problems in loopback test f6a72741241f net: mvpp2: release reference to txq_cpu[] entry after unmapping 0ea82b90d844 drm/amdgpu: refuse to reserve io mem for split VRAM buffers b01eb4631306 ASoC: mediatek: add I2C dependency for CS42XX8 10ae48453347 scsi: scsi_dh_emc: return success in clariion_std_inquiry() 076a6220bc01 slub: do not merge cache if slub_debug contains a never-merge flag 2ada592fc8e5 ocfs2/dlmglue: prepare tracking logic to avoid recursive cluster lock a5f043b2419e mm/memory_hotplug: set magic number to page->freelist instead of page->lru.next 6145171a6bc0 crypto: xts - Add ECB dependency 8909b26a51fc net/mlx4_core: Fix VF overwrite of module param which disables DMFS on new probed PFs 84a66ca77543 sparc64: Migrate hvcons irq to panicked cpu cf368c29f5ac md/linear: shutup lockdep warnning e9afe7c8641a f2fs: do not wait for writeback in write_begin e215b6bb2dfe Btrfs: send, fix failure to rename top level inode due to name collision ab3d531745cf sched/fair: Update rq clock before changing a task's CPU affinity e5226e92bed8 f2fs: do SSR for data when there is enough free space 90a8dfa5ae7a iio: adc: xilinx: Fix error handling f107c6ddf8db netfilter: nf_ct_expect: Change __nf_ct_expect_check() return value. 0500fcd88556 staging: vchiq_2835_arm: Make cache-line-size a required DT property b1b73cc04608 net/mlx4_en: fix overflow in mlx4_en_init_timestamp() c1bc62d729f4 mac80211: fix power saving clients handling in iwlwifi fff654b43e12 qed: Don't use attention PTT for configuring BW 145ded700722 ALSA: hda: Add Geminilake HDMI codec ID 4799163a7a19 mac80211_hwsim: check HWSIM_ATTR_RADIO_NAME length aaf54d40b83f initramfs: finish fput() before accessing any binary from initramfs d413c3f0bd6f irqchip/crossbar: Fix incorrect type of local variables bbb5f0062b74 watchdog: kempld: fix gcc-4.3 build 8b0be545deba locking/lockdep: Add nest_lock integrity test 43588be0735f xen-netback: Use GFP_ATOMIC to allocate hash ebbd5ac4acdb Revert "bsg-lib: don't free job in bsg_prepare_job" 0054c0bca321 MIPS: Fix minimum alignment requirement of IRQ stack Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-12-10qemu: use upstream swtpm supportPatrick Ohly
Upstream finally accepted and merged a different approach for connecting QEMU to swtpm: instead of a custom cuse-tpm device, a normal chardev connects to swtpm, and that chardev then is used by the TPM device. For now we have to backport those patches, but the next major QEMU update will have them. However, the chardev-connect-socket-to-a-spawned-command.patch is something that OE will have to carry permanently. It simplifies starting and stopping swtpm when invoking QEMU through runqemu without having to teach that script about the additional process. Upstream rejected the patch because they want to keep the complexity of starting additional processes out of QEMU. A recent enough swtpm is needed. The one currently used by meta-security fails to communicate properly with QEMU, leading to this failure: qemu-system-x86_64: -tpmdev emulator,id=tpm0,chardev=chrtpm0: tpm-emulator: Failed to send CMD_SET_DATAFD: Input/output error qemu-system-x86_64: -tpmdev emulator,id=tpm0,chardev=chrtpm0: tpm-emulator: Could not cleanly shutdown the TPM: Invalid argument With a recent enough swtpm, one can create a TPM device like this: - bitbake swtpm-native - create a TPM instance and initialize it with: $ mkdir -p my-machine/myvtpm0 $ tmp*/work/*/swtpm-wrappers-native/*/swtpm_setup_oe.sh --tpm-state my-machine/myvtpm0 --createek Starting vTPM manufacturing as root:root @ Wed 06 Dec 2017 10:03:14 AM CET TPM is listening on TCP port 34613. Successfully created EK. Successfully authored TPM state. Ending vTPM manufacturing @ Wed 06 Dec 2017 10:03:14 AM CET - runqemu "qemuparams=-chardev 'socket,id=chrtpm0,cmd=exec swtpm_oe.sh socket --terminate --ctrl type=unixio,,clientfd=0 --tpmstate dir=... --log level=10,,file=.../swtpm.log --tpm2' -tpmdev emulator,id=tpm0,chardev=chrtpm0 -device tpm-tis,tpmdev=tpm0" ... Beware that the double commas are intentional. They are needed to embed commas in the "cmd" value. swtpm_oe.sh is from swtpm-wrappers-native. In the example it is invoked without the full path for the sake of brevity. In practice, one has to use the full path (tmp*/work/*/swtpm-wrappers-native/*/swtpm_oe.sh). With the TPM2-preview version of swtpm, the same works for TPM2 by adding the --tpm2 parameter when invoking swtpm_setup_oe.sh and swtpm_oe.sh. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-12-10sstate.bbclass: Add progress bars when removing from the sysrootsPeter Kjellerstedt
If there are many recipes that should be cleaned out from the sysroots, it can actually take some time. This adds a progress bar to give a visual clue that the clean up is actually progressing. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-12-10uninative.bbclass: Fix broken symlink issueMark Hatle
If two builds are sharing the same DL_DIR, and the uninative file is local to a layer. When the first build gets to uninative it creates the link local to itself, and subsequent users can use the same link. However if that first build then is deleted from the disk, the symlink is no longer valid (broken). We need to update the system to detect this case, and use the model implemented by the bitbke fetch2 code. Look for a broken link, remove it, then try to create the link and ignore an exception if it already exists (since we just unlinked any bad one). Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-12-10minicom: recommend lrzszRoss Burton
minicom calls out to lrzsz to peform X/Y/ZMODEM transfers, so add a recommends. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-12-10oe-selftest: devtool: fix test for changes in lzo recipePaul Eggleton
acinclude.m4 is about to be removed from the lzo recipe which breaks test_devtool_update_recipe_local_files_2. Create a synthetic recipe in meta-selftest with some local files and use that instead. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10Revert "eudev: sync rules with systemd"Ross Burton
This is breaking input in qemu (and maybe more). This reverts commit 915b99bb8faa29ce3d35c0d6a1e96fa9bcc5c6f1. [ YOCTO #12403 ] Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10classes/sanity: check we don't have an ancient GNU patchRoss Burton
We depend on the host GNU patch, but patch < 2.7 can't handle git-style patches. This results in patches that fail to apply, or worse apply incorrectly. Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10sanity: getstatusoutput returns an int, not a stringRoss Burton
This code is an error path so nobody noticed that oe.utils.getstatusoutput() is just a wrapper around subprocess.getstatusoutput() which returns an (int, string) pair not (string, string). Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10meta: fix malformed/missing Upstream-Status tagsRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10classes/patch: when PATCHTOOL = "git" double-check the repositoryPaul Eggleton
If a bug is present or the user has set PATCHTOOL = "git" on a source tree that isn't git, if we try to perform git operations (such as committing or changing branches) when extracting source, then we might in fact be running those operations on the metadata repository if the build directory is underneath, say, poky or OE-Core, and that could make a mess. Check if the source tree is a git repository and refuse to continue if it isn't. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10classes/patch: remove unused variablePaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10acpica: drop NATIVE_INSTALL_WORKS and fix RCONFLICTSPaul Eggleton
* NATIVE_INSTALL_WORKS hasn't been used in a very long time, so there's no need to be setting it here. * RCONFLIGHTS was clearly a typo. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10rpm: upstream version is now knownAlexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10busybox: CVE-2017-16544Zhixiong Chi
In the add_match function in libbb/lineedit.c in BusyBox through 1.27.2, the tab autocomplete feature of the shell, used to get a list of filenames in a directory, does not sanitize filenames and results in executing any escape sequence in the terminal. This could potentially result in code execution, arbitrary file writes, or other attacks. Backport the patch from: https://git.busybox.net/busybox/commit/?id=c3797d40a1c57352192c6106cc0f435e7d9c11e8 https://nvd.nist.gov/vuln/detail/CVE-2017-16544 Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10initramfs-module-install: Remove allarch and FILESEXTRAPATHSMartin Jansa
* files is already included in default FILESPATH * it cannot inherit allarch as it RDEPENDS on bunch of TUNE_PKGARCH packages * use the same COMPATIBLE_HOST restrictions as grub has to prevent ERRORs in bitbake world ERROR: Nothing RPROVIDES 'grub' (but oe-core/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb RDEPENDS on or otherwise requires it) grub was skipped: incompatible with host arm-oe-linux-gnueabi (not in COMPATIBLE_HOST) grub was skipped: incompatible with host arm-oe-linux-gnueabi (not in COMPATIBLE_HOST) NOTE: Runtime target 'grub' is unbuildable, removing... Missing or unbuildable dependency chain was: ['grub'] ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10utils: qemurunner.py: cleanup grammar and ensure consistencyMark Asselstine
Minor grammar correction along with making the term 'login banner' consistent throughout to make searching logs easier. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10utils: qemurunner.py: Log both 'failed to reach login banner" reasonsMark Asselstine
The current logging always assumes the boot timeout has expired yet there is a second reason we might have ended up in a position where no login banner was found, that being a socket disconnect. Add logging for the disconnect case and make the timeout expiration conditional on the timeout being exhausted. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10utils: qemurunner.py: Add wall clock to 'timeout' loggingMark Asselstine
When debugging issues when timeouts are involved it is always best to have wall clock times included. This helps give confidence that the timeout is in fact run down at the right rate and that no unexpected events were the true cause of a premature running down of the timeout. Having these times in old logs also helps when debugging issues as we have a historic record as to what is a 'typical' time to complete an action. In addition to adding the wall clock times the time to 'login' is now printed making it consistent with the time to 'qemu pid'. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10grub: Move grub-editenv packaging to grub2.incOtavio Salvador
The editenv utility must be available on grub and grub-efi so we better have it inside the grub2.inc file to avoid the duplication of metadata. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10grub-efi: Add loadenv and test as default built-inOtavio Salvador
To allow scripting and environment changes, the loadenv and test must be enabled. This adds those to the default set. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10grub-efi: Rework GRUB_BUILTIN variable as it is too longOtavio Salvador
As we will add new values here, it is better to split it in multiple lines. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10wayland-protocols: update to 1.12Denys Dmytriyenko
Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10initramfs-framework: Add exec moduleOtavio Salvador
This new module allow for easy execution of external scripts or applications. It runs anything found in /exec.d directory in order and in case of no scripts to be available, it opens a shell. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10bitbake.conf: set more conservative default for IMAGE_FSTYPES_DEBUGFSAndre McCurdy
Setting IMAGE_FSTYPES_DEBUGFS to the same value as IMAGE_FSTYPES can lead to creating a large number of DEBUGFS filesystem images, many of which may not make much sense (or may not even be buildable). Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10libbsd: Make it build with GCC 5.0 and olderPeter Kjellerstedt
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10pciutils: upgrade to 3.5.6Chen Qi
Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10ltp: remove ltp-staticdev packageDengke Du
The nm01 testcase runtime depends on a static library, and ltp-staticdev package is entirely pointless, so remove it and add the static libraries to ltp main package and skip the "staticdev" checks. Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10musl: prevent errors if do_install is run more than onceAndre McCurdy
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10quilt: don't patch in an old acinclude.m4, just excude aclocalRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10gperf: don't use aclocal.m4/acinclude.m4 danceRoss Burton
gperf doesn't use aclocal so don't call aclocal. Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10gperf: merge inc into bbRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10openssh: don't do aclocal/acinclude danceRoss Burton
Instead, just stop running aclocal. Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-10pango: update upstream-status on a patchRoss Burton
2017-12-09recipes-graphics/piglit: Add patch to fix build in some platformsAníbal Limón
The entry point is not guaranteed to exist, so use the piglit_egl_get_default_display() helper which does the correct thing. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-09wic: support filesystem label for rawcopyMartin Hundebøll
The '--label' argument should work for '--source rawcopy' as it does for '--source rootfs', so add a method in RawCopyPlugin to update the label on the temporary filesystem images. Signed-off-by: Martin Hundebøll <mnhu@prevas.dk> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-09procps: fix two small problemsChen Qi
1. Fix HOMEPAGE. The old one is obsolete. 2. Remove the setting of CPPFLAGS. It was used to support out-of-tree build. But the problem has been fixed upstream since commit 90cc5460aa0e9ca10a0d7c8c44064fd14789f750 (build-sys: add $(top_srcdir) to include search dir). Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-09qemu: fix the makefile for ptestJackie Huang
It always fail to check the file generated by configure when running ptest on the target since it's cross-compiling, so remove the check from the Makefile for ptest. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-09kernel.bbclass: Add cleandirs for do_shared_workdirSaul Wold
We add the kernel-build-artifacts to the cleandirs list to ensure that there are no remaining artificats in the kernel-build-artifacts directory which is STAGING_KERNEL_BUILDDIR. Without this change multiple System.map files are visiable in the STAGING_KERNEL_BUILDDIR, which could cause problems for some tools. [YOCTO #11880] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-09bash: fix build race under muslRoss Burton
Under musl bash uses its own libintl clone but there are some missing dependencies so it is possible for pathexp.o to be built whilst libintl.h is being written, leading to compile errors. Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-09lzo: don't do aclocal/acinclude danceRoss Burton
autoreconf finds autoconf/local.m4 on its own, so there's no need to mess around with a fork of aclocal.m4 as acinclude.m4. Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-09nettle: remove aclocal/acinclude danceRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-09site: consolidate ac_cv_func_mmap_fixed_mapped definitionsRoss Burton
This is the cache variable used by AC_FUNC_MMAP, which is possibly one of the worst autoconf macros to exist. Apart from being a runtime test which silently claims that mmap() is broken when cross-compiling, this is basically to verify that mmap() actually works, because SVR4.0 (released 1988) was broken. Thirty years later, everyone has a working mmap(). common-glibc already has an assignment, so add a corresponding assignment to common-musl and remove it from the machine-specific files. Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-09bash: disable aclocalRoss Burton
Bash hand-maintains their aclocal.m4, so stop autoreconf from invoking aclocal and overwriting it. This means we can remove the kludge to copy aclocal.m4 to acinclude.m4. Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-09alsa-utils: 1.1.4 -> 1.1.5Tanu Kaskinen
Changes: http://www.alsa-project.org/main/index.php/Changes_v1.1.4_v1.1.5 Rebased 0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch. Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-09alsa-tools: 1.1.3 -> 1.1.5Tanu Kaskinen
Changes: http://www.alsa-project.org/main/index.php/Changes_v1.1.4_v1.1.5 Rebased autotools.patch and makefile_no_gtk.patch. Dropped 0001-as10k1-Make-output_tram_line-static-inline.patch with the assumption that it's not needed any more. The patch added a "static" qualifier to a function. According to the commit message, this was done to improve optimization. Upstream removed the "inline" qualifier from that same function, because it caused some trouble with clang. My guess is that the patch author actually ran into the same clang problem as upstream, but came up with a different fix. It doesn't seem like a function whose optimization anyone would really be interested in. Cc: Khem Raj <raj.khem@gmail.com> Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-09alsa-plugins: 1.1.4 -> 1.1.5Tanu Kaskinen
Changes: http://www.alsa-project.org/main/index.php/Changes_v1.1.4_v1.1.5 Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-09alsa-lib: 1.1.4.1 -> 1.1.5Tanu Kaskinen
Changes: http://www.alsa-project.org/main/index.php/Changes_v1.1.4_v1.1.5 Dropped all patches. The poll.h patch is included in the release, and the wordexp patch is not needed any more, because the wordexp function is replaced by an internal reimplementation. It would still be possible to enable the use of wordexp with the --with-wordexp configure option. The option exists, because the internal reimplementation covers only part of what wordexp can do, so not using wordexp can in theory cause regressions. However, it seems that regressions are quite unlikely in practice. Here's some discussion about the topic: http://mailman.alsa-project.org/pipermail/alsa-devel/2017-July/122667.html Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-09lame: 3.99.5 -> 3.100Tanu Kaskinen
Release notes: http://lame.cvs.sourceforge.net/viewvc/lame/lame/doc/html/history.html?revision=1.154 Dropped patches that are included in the release: - lame-3.99.5_fix_for_automake-1.12.x.patch - CVE-2017-13712.patch The CACHED_CONFIGUREVARS thing to disable SSE code on x86 isn't needed anymore. The build system now correctly detects when SSE isn't available. Note for stable branch maintainers: This release includes several fixes for bugs that have a CVE number associated with them. The bugs (or at least most of them) are crashes that seem to be considered "remote DoS" vulnerabilities, probably because it's easy to imagine lame being used with untrusted audio files from remote sources. If you want to backport "all sercurity fixes" to the stable brances, that task seems pretty difficult. The release notes explicitly mention three CVE numbers, but there are more: for example, OE had a fix for CVE-2017-13712, which is not mentioned in the release notes but is fixed in the release. The commit log doesn't keep any track of CVE numbers either. Maybe it would be best to just upgrade lame to 3.100 also in the stable branches. Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Ross Burton <ross.burton@intel.com>