summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
...
* linux-yocto/4.12: iwlwifi calltrace fixes and configuration warning cleanupsBruce Ashfield2018-01-063-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 8b6dba3df7a304ca491c10325cc9c54bc24b3f1e) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 195758b0a611e937af41880ad81c312de654c5b8) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.9: update to v4.9.61Bruce Ashfield2018-01-063-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: f5895932b839579ccaeaebe622263c8697071093) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f65220d326c0b288ba076054bfada433f359ae8b) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs-postcommands.bbclass: ensure that rootfs gets mounted roPatrick Ohly2018-01-061-0/+8
| | | | | | | | | | | | | | When read-only-rootfs is active, we need to ensure that the rootfs does not get mounted read/write by the kernel or initramfs. Adding "ro" to the boot parameters achieves that. (From OE-Core rev: 2b9a670fabf3aefa93dc12be8b2fd3d6226be12a) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit cfc09de06ecc12bb42181004689e881c75072665) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman.inc: do not check IMAGE_FEATURESPatrick Ohly2018-01-061-3/+0
| | | | | | | | | | | | | | | | | | | | Recipes can't rely on IMAGE_FEATURES to determine whether the resulting packages will be used in an image with read/write or read-only rootfs because IMAGE_FEATURES is a per-image recipe variable. The connman.inc code checked IMAGE_FEATURES to determine whether /var/run/connman needs to be created via tmpfiles.d when booting a read-only rootfs. In my tests that is not necessary (anymore?), something (connman itself?) creates the missing directory. (From OE-Core rev: ded2a1eef3345f88df0ca00f120eeba4c8f80553) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 577585375efac8f86223d7549ce39cd70877cbd9) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* templates/layer.conf: remove backslash to enable bbappend settingChen Qi2018-01-061-1/+1
| | | | | | | | | | | | | | Remove the redundant backslash in template layer.conf file, otherwise, the bbappend line setting wouldn't have effect, causing bbappend files in these created layers not having any effect. (From OE-Core rev: b25fc6b68a4522e89fd42f31b51fb25346818237) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 7909b258ac87d4be9bb7aba00d12fd363bd9b248) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: allow dots in arguments to template unitsMartin Hundebøll2018-01-061-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When installing systemd template units with an argument, the current code removes characters between the '@' and the '.' from service names in SYSTEMD_SERVICE_${PN}, e.g.: getty@tty1.service -> getty@.service This fails for services with dots in the argument (which is perfectly legal in systemd), since the code searches only until the first dot. E.g.: vlan@eth0.1.service -> vlan@1.service This is obviously wrong, and fails in systemd_populate_packages(), where it fails to find the unit file. Fix this by reworking the removal of the argument part of the service name, so that parts before '@' and after teh last '.' are used as base name. (From OE-Core rev: e6fcc7d31b9105e518cf8a69d04f60291b7dd8fb) Signed-off-by: Martin Hundebøll <mnhu@prevas.dk> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 4704bd91458a728f28cbdc57dcf78f5d04cfd0cd) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_manager: force dnf to refresh the cacheRoss Burton2018-01-061-1/+1
| | | | | | | | | | | | | DNF has a time-based cache policy (and a great sense of humour) so it's possible that 'dnf makecache' won't actually refresh any caches. Force the cache updates by passing --refresh. (From OE-Core rev: b3b0b2e7e710195245f58b4757059906d0cf284e) Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit a6e34b6aa194a27db9667af1fb0195ac8fb563f5) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mtd-utils: fix flash_eraseall installation conflictAndrej Valek2018-01-061-1/+6
| | | | | | | | | | | | | | | | override correctly busybox's applet when CONFIG_FLASH_ERASEALL=y is set Error: update-alternatives: not linking /builds/image/1.0-r0/rootfs/usr/ sbin/flash_eraseall to /bin/busybox.nosuid since /builds/image/1.0-r0/ rootfs/usr/sbin/flash_eraseall exists and is not a link (From OE-Core rev: 009302a350877d0e9b74df4bf0d97fe6244591d5) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 21d5a52d86a4090f7ddb1a9eb41bb143261f890e) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wpa-supplicant: add a missing WPA_COMMON_CTRL_IFACE definitionMing Liu2018-01-061-0/+1
| | | | | | | | | | | | | The WPA_COMMON_CTRL_IFACE definition is missing, which leads to obvious problems since there is no way to access the ctrl socket. So add it in. (From OE-Core rev: 06cd7db573bb1293ca3baf214c046d7deb5ed058) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 7baa3137859915fdbaaea0499b442f5d9df3f17b) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-alternatives.bbclass: refuse to manage SysV init scriptsMarkus Lehtonen2018-01-061-0/+4
| | | | | | | | | | | | | Sanity check for future packages. [YOCTO #10944] (From OE-Core rev: 6cfdca2331228667aecf6228271eea1c9835e5a5) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> (cherry picked from commit 061fa614cec49deb0374ccadf3013e5cc8ad2c51) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "classes: Fix alternatives and rc.d ordering"Markus Lehtonen2018-01-062-40/+9
| | | | | | | | | | | | | | | | This kludge is not needed anymore, now that syslog packages (or any other package) don't use update-alternatives for managing SysV init scripts. This reverts commit fc89a3f739ff25306ea91d9bdb424fc8389bdf72. [YOCTO #10944] (cherry picked from commit 7cb951a803deca151344d905bf2fab038e72e0d0) (From OE-Core rev: f56966d06330d1561245d0ae050389b3a0491216) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: rrecommend initscripts-functionsMarkus Lehtonen2018-01-061-0/+2
| | | | | | | | | | | | | In order to make that the default provider for initd-functions. [YOCTO #10944] (From OE-Core rev: 8401db8eb3beca12fd76da2448f99a61c3383a33) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> (cherry picked from commit d32eaebed5726c6157a2ac993baeb6d16683ade7) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbinitscripts: don't use update-alternativesMarkus Lehtonen2018-01-061-6/+2
| | | | | | | | | | | | | Make lsbinitscripts (r)conflict with initscripts-functions package. [YOCTO #10944] (From OE-Core rev: e0e8e162cf19bcdfa7d9daa0bb51c32beabbd048) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> (cherry picked from commit 1202307b24def6cb7e6ebc92b47736e42d32cbb6) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: don't use update-alternativesMarkus Lehtonen2018-01-064-9/+6
| | | | | | | | | | | | | | | Stop using update-alternatives for managing /etc/init.d/functions. Also, make the initscripts-functions subpackage to (runtime) conflict with lsbinitscripts. [YOCTO #10944] (From OE-Core rev: 2daffb998585a2f781cbbfb1a959379e01c40f0a) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> (cherry picked from commit cdcebd81c872cb7386c658998e27cf24e1d0447c) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysklogd: don't use update-alternativesMarkus Lehtonen2018-01-061-11/+1
| | | | | | | | | | | | | | | Using update-alternatives for managing init scripts has proved to be problematic. And, sysklogd rconflicts with other syslog daemons so there is no point in using update-alternatives from this perspective, either. [YOCTO #10944] (From OE-Core rev: 46ae576176c456de1d743cad50d7bfe1ba6d8d4e) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> (cherry picked from commit 988aad01b20c18a8850db0ad6dc547525d94116c) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* install*.sh: add short sleep after parted commandsSullivan, California L2018-01-062-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I wasn't able to install to my Optane SSD due to the following error: Formatting /dev/nvme0n1p1 to vfat... mkfs.fat 4.1 (2017-01-24) mkfs.vfat: unable to open /dev/nvme0n1p1: No such file or directory Target install-efi failed A couple lines later I see: [ 10.265401] nvme0n1: p1 p2 p3 Then looking at the device itself after booting from a USB stick: root@intel-corei7-64: ~# ls /dev/nvme0n1* /dev/nvme0n1 /dev/nvme0n1p1 /dev/nvme0n1p2 /dev/nvme0n1p3 So it looks like the parted commands return before the device node is actually created. Work around this issue by waiting for device nodes for a short duration. (From OE-Core rev: 140565039b6a7944a3984d273243e1a00e62175f) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 9daafd49b448122e35d67a1637ce2212793a4dc5) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-install: fix grub-install commandSullivan, California L2018-01-061-1/+1
| | | | | | | | | | | | | | | | The grub_version variable was calling 'grub-install -v' (verbose) instead of 'grub-install -V' (version) causing unexpected failures. Fixes bug [YOCTO #12111]. (From OE-Core rev: 030a2ac1b434377c05e44014f71d217c1f96f2be) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 38dcbd96e82b1c40576a0514f053266429dca5d1) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initramfs-module-install: Remove allarch and FILESEXTRAPATHSMartin Jansa2018-01-062-6/+5
| | | | | | | | | | | | | | | | | | | | | | * 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. (From OE-Core rev: 9497127e071d1a5408e04a47fcb7bd29775ec1c6) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit ecad98a0ffe41d8cc8890d16be09e4b604a1e192) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initramfs-framework: add install moduleCalifornia Sullivan2018-01-062-0/+24
| | | | | | | | | | | | | | | | The non-EFI counterpart for installation was previously missing for initramfs-framework. This simply puts the normal install script in the correct location for initramfs-framework to make use of it. Partial fix for [YOCTO #12346]. (From OE-Core rev: 236cb8fe6bb9f5826a97f393b22aaae79dec1b84) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit f9d7cf30b12cbc5f642a11c0511dc1dc3ccf1aa5) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initramfs-module-install-efi: update summaryCalifornia Sullivan2018-01-061-1/+1
| | | | | | | | | | | | Note that this is an installation option for EFI systems. (From OE-Core rev: 3dd1862ac0f13ffec06209c80b307c6bc0aa8dc3) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 366ddd22245a72df4c8e561761c6df8a6654bba6) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initramfs-module-install-efi: point to original copy and delete new fileCalifornia Sullivan2018-01-062-279/+3
| | | | | | | | | | | | There is no need to maintain two of the exact same files. (From OE-Core rev: 59435300d21e9b9801de0e24c9acff5190199bd1) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 49ba882be9e28a51651a543779e6f02d33861393) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: fix runtime errors with Thumb2 when using binutils 2.29Stefan Agner2018-01-062-0/+89
| | | | | | | | | | | | | | | | When compiling OpenSSL with binutils 2.29 for ARM with Thumb2 enabled crashes and unexpected behavior occurs. E.g. connecting to a OpenSSH server using the affected binary fails with: ssh_dispatch_run_fatal: Connection to 192.168.10.171 port 22: incorrect signature Backport upstream bugfix: https://github.com/openssl/openssl/issues/4659 (From OE-Core rev: 0dba9ac4414a31e341840da3cca12a9ec0658abe) Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: Upgrade 1.1.0f -> 1.1.0gStefan Agner2018-01-061-2/+2
| | | | | | | | | | | | Deals with two CVEs: * bn_sqrx8x_internal carry bug on x86_64 (CVE-2017-3736) * Malformed X.509 IPAddressFamily could cause OOB read (CVE-2017-3735) (From OE-Core rev: 3cfbf7d020b12ef70ba1e1bd4a538b4b8f6e7251) Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl10: fix runtime errors with Thumb2 when using binutils 2.29Stefan Agner2018-01-062-0/+101
| | | | | | | | | | | | | | | | When compiling OpenSSL with binutils 2.29 for ARM with Thumb2 enabled crashes and unexpected behavior occurs. E.g. connecting to a OpenSSH server using the affected binary fails with: ssh_dispatch_run_fatal: Connection to 192.168.10.171 port 22: incorrect signature Backport upstream bugfix: https://github.com/openssl/openssl/issues/4659 (From OE-Core rev: 7310bdb8709a8cb9a5653f10d0be1c024daf6f03) Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl10: Upgrade 1.0.2l -> 1.0.2mStefan Agner2018-01-0633-2/+2
| | | | | | | | | | | | Deals with two CVEs: * bn_sqrx8x_internal carry bug on x86_64 (CVE-2017-3736) * Malformed X.509 IPAddressFamily could cause OOB read (CVE-2017-3735) (From OE-Core rev: 7767625370b106bd493fdd5264181a7159e5c300) Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python[3]-setuptools: inherit setuptoolsTim Orling2018-01-062-9/+2
| | | | | | | | | | | | * distutils[3].bbclass was not including pkg_resources module * Drop uneeded DISTUTILS_INSTALL_ARGS as setuptools[3].bbclass provides it Fixes [YOCTO #12148] (From OE-Core rev: 4e09525c73348c2b47b07654ac31ffc6cbd3d5fe) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_sdk_ext: Use prebuilt uninative tarballRichard Purdie2017-12-111-6/+7
| | | | | | | | | | | | | | | | | | | For uninative to work, it relies on it being updated to new versions as newer glibcs are built. This means the uninative generated by the current build may not be as recent as the uninative that is being downloaded by uninative.bbclass. If this occurs, we can get symbol mismatch errors. Ultimately, the sstate and the uninative versions need to match so we should use the same tarball as uninative.bbclass is using, not the one we built. [YOCTO #12405] (From OE-Core rev: 39fc1150e74173fc6d73c464c141dba0b7ac2930) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance: Fix branch nameRichard Purdie2017-12-091-1/+1
| | | | | | (From OE-Core rev: 04b55c9dd19d48cd8a6422de3842eab5c1efe1dc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to rocko head revisionyocto-2.4.1rocko-18.0.1Richard Purdie2017-12-071-1/+1
| | | | | | (From OE-Core rev: 9d1129076658b4c5827c95ad8b195a7a100d7a9e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: ensure use of BUILD_CC when building bootstrap toolsMatt Madison2017-12-073-0/+48
| | | | | | | | | | | | | | | | | | | For cross-canadian builds, we were accidentally using the crosssdk C compiler when building the Go compiler bootstrap. Add a patch to the make script to let us use BUILD_CC, and prepend do_compile to set it in the local environment to ensure that the trailing blank gets stripped, since that confuses Go. [YOCTO #12341] (From OE-Core rev: 70278eb86bc5bcbe3fa53c62f971fa467f61e28f) Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 0dbb860924fc157880b52d8e08bad3c6c6b019b8) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: Use right dynamic linker on muslKhem Raj2017-12-072-0/+113
| | | | | | | | | | (From OE-Core rev: 21e339fe203fd4a31c9654924a38970f493dace1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 0d6e83757fc26d3e88bfe3c2437b5c7c9be09118) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "go: Fix build with PIE on musl"Otavio Salvador2017-12-073-132/+0
| | | | | | | | | | | | This reverts commit d6fcf91c06a3d118e8741273fac6903100141db4. This commit was included on the rocko update by mistake. It ended being dropped from master merge queue but forgotten in rocko one. (From OE-Core rev: 4b69167fb3e55dfd1ff0fa0cfc7f4c226b033d6a) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins: disable introspection on mips64Alexander Kanavin2017-12-043-0/+9
| | | | | | | | | | | | | | | | | | The failure is weird and difficult to diagnoze, so disable the introspection for now: qemu-mips64: error while loading shared libraries: .../recipe-sysroot/usr/lib/libgthread-2.0.so.0: ELF file data encoding not little-endian Note that it shows up only for one specific library (gstaudio), and only on mips64. Introspection data for other libraries is generated just fine. (From OE-Core rev: bc6bb09150835c841cf27c88f388ac5796a317a2) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 4cfe09598c1ec1ffd108acdfd0f4cce1b8688895) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: improve reproducibilityJuro Bystricky2017-12-041-0/+6
| | | | | | | | | | | | | | | | Delete various build host references from the internally generated file sudo_usage.h. The references get compiled into executables, which leads to non-reproducible builds. The removed references (configure options) were only used as part of the sudo "usage", and even then only when ran as root. (From OE-Core rev: eb3360c13fe4e803621f5b06e8d8a09211fd7da4) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 090eb9efdb2204673b1d569582813ea8860c8570) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* x11perf: improve reproducibilityJuro Bystricky2017-12-041-0/+4
| | | | | | | | | | | | Remove build host refeences. (From OE-Core rev: 95f9a8ba58c6b790dd9aeea4e88148fbcdd7500c) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 7eedafd32a24cfdc33d791b2bf5a5d5c36c48e2f) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub-efi_2.02.bb: improve reproducibilityJuro Bystricky2017-12-041-0/+10
| | | | | | | | | | | | Remove several build host references from modinfo.sh files. (From OE-Core rev: 01fe3d3cf0bde71b566f3734941db60ffc9dd9b7) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 6e4182b7c540e22f25ea8bfd16b0e2b2c8eb9f82) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnsl2: fix installed-vs-shipped QA issueJackie Huang2017-12-041-0/+1
| | | | | | | | | | | | | | | Fix the installed-vs-shipped QA issue: | WARNING: libnsl2-1.0.5+gitAUTOINC+dfa2f31352-r0 do_package: QA Issue: libnsl2: Files/directories were installed but not shipped in any package: /usr/lib64/nsl/libnsl.a (From OE-Core rev: b1806a257c0af1c69a81b3f855f6d165162257ae) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 2e6636b23dde2c1b547f98373a2f49e617c37a9f) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nss: pay attention to CFLAGSJoe Slater2017-12-041-1/+6
| | | | | | | | | | | | nss ignores CFLAGS so we suggest them via CC. (From OE-Core rev: 7484c62f88311dbc1e9ade524af31d04e6035bf4) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 95b65eefe7eb001752a37d1015bbf9be63bfd6bb) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu.inc: let linux-yocto-rt also provide nfs server kernel moduleMing Liu2017-12-041-0/+1
| | | | | | | | | | | | In case some users want to use linux-yocto-rt as the preferred kernel. (From OE-Core rev: e0b8eafaf378571a99b07c559d07f9af36db791e) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit bb0e574d3c74b6cd2d7e41933e0e28c91f0a411b) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fix duplication of CACHED_CONFIGUREVARSAndre McCurdy2017-12-041-23/+21
| | | | | | | | | | | | | | | | | | Fix historical duplication that appears to have been caused by merging two independent fixes for the same issue: http://git.openembedded.org/openembedded-core/commit/?id=294adc0907a359d9c0ad260823188145aab294ad http://git.openembedded.org/openembedded-core/commit/?id=b30d7b1b97ffd1d44083d93ed0e572d80fcebc54 Also minor reformatting of EXTRA_OECONF values. (From OE-Core rev: 0786e64061c79cea605ba5f231ac6e07999fa31b) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 94bc5910ebdf7bb4677fa06150ba1219295e5eda) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: use consistent indenting and coding style in do_install()Andre McCurdy2017-12-041-25/+24
| | | | | | | | | | | | | | | Make the polkit fixup etc at the end of do_install() more consistent with the rest of the function. Also indent do_install_ptest() with tabs instead of spaces to make do_install_ptest() consistent with do_install(). (From OE-Core rev: cfd4e3adce3f52bc00a73ef8af0336c9a9f893cc) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 7a188e646a7a713ec5eab73580de624dc61f2936) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: sort PACKAGECONFIG optionsAndre McCurdy2017-12-041-39/+39
| | | | | | | | | | | | | Also fix some minor formatting inconsistencies (extra spaces or commas etc). No functional changes. (From OE-Core rev: 1f3928e9027ed35c562db76e0e936a4b89e3fbdd) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 4caf480c8d824575e970ec8ba15e4ee221166954) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: use consistent approach for musl PACKAGECONFIG optionsAndre McCurdy2017-12-041-29/+38
| | | | | | | | | | | | | | | Consistently use PACKAGECONFIG_remove_libc-musl to disable options which are not compatible with musl. Also sort the default PACKAGECONFIG list. (From OE-Core rev: 84a4a5bd4a80a1336282d6c10c333673bbd3280c) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 8fb362d90628d0dbc9a5073a0d75296eab569d44) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: remove musl specific control of ldconfig PACKAGECONFIGAndre McCurdy2017-12-041-1/+0
| | | | | | | | | | | | | | The ldconfig PACKAGECONFIG option is controlled by the ldconfig distro feature - which is now disabled by default when building for musl. (From OE-Core rev: a6e92dd1565d99f539f59aafbb99aa2a7cb48eda) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 84c841c5b4d3ae753c377f5bdbda19281c771f60) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tclibc-musl.inc: disable ldconfig distro featureAndre McCurdy2017-12-041-0/+2
| | | | | | | | | | | | | Musl has no support for ldconfig, so ensure that the corresponding distro feature is disabled when building with musl. (From OE-Core rev: 73d5475af8c8aa655a80bf38d9fc788078a70883) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit baacd7ea99265f5493d2452b173a12def92f6202) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types: Add debugging code to ext4 fs creationSaul Wold2017-12-041-0/+4
| | | | | | | | | | | | | | | | We have seen a small number of issues with ROOTFS_SIZE not getting computed correctly, resulting in a failure in the mke2fs processing and populating the resulting new filesystem. This information should help us to reproduce [YOCTO #12304] (From OE-Core rev: 0abd3c25cb2a9a9be9dc650a1600d3902d5779a9) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3a72f6783e142d53d19b37811a854d08d32485ab) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemurunner: Simplify binary data handlingRichard Purdie2017-12-041-12/+8
| | | | | | | | | | | | | | | | I have concerns that bad timing of the flow of data from the logger might corrupt the output due to the way binary strings are handled in qemurunner. This simplifies the code to do the same thing it did before but much more safely. (From OE-Core rev: 20bc247316ab915465a4b1add6d09b48e07202ac) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1e87283e92a2765bb5d54d17138b208bc395953b) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemuboot: Improve relative path handlingRichard Purdie2017-12-041-3/+5
| | | | | | | | | | | | | | | | | qemuconf files are currently written relative to TOPDIR. What makes more sense is to write paths relative to the location of the file. This makes moving them around and decoding the end paths in runqemu much easier. The effect of this should allow less use of bitbake to determine variables and allow us to simplify runqemu. (From OE-Core rev: e790aecfde4199cf9b658338900ad9a87cc1094f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 55a0028a961c0ad3c2e5729a9e3919cbbf256fe1) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add patch to avoid qemuppc boot hangsRichard Purdie2017-12-042-0/+106
| | | | | | | | | | | | | qemuppc boots are occasionally hanging on the autobuilder. This adds a patch which fixes the issue in local testing. Its being discussed with upstream qemu. (From OE-Core rev: 8834117a1cbde26d0a36691a2e4635afaa3b6ea7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 87719e35db08b21cd43ab3ebd72f4567ca0fdc65) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base: add automatic dependency on xz-native for .txz SRC_URIAndré Draszik2017-12-041-1/+1
| | | | | | | | | | | | | .txz is .tar.xz, so add it, as this can actually be found in the wild. (From OE-Core rev: 866ead1d900433e39772973b4b31b7408ed8a215) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 58af8c2e4bd17692274fc5a6ac8f8af84319fec6) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>