Bump to the latest stable kernel for 4.4, 4.9 and 4.12.
(From meta-yocto rev: 9e8ef5a41850594c20d2063815fc52b75cc7f765)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.4, 4.9 and 4.12.
(From meta-yocto rev: f70b990b5ebd74b1605a81030c0f966f9d63516c)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The -stable update to 4.12 needs one more commit to fix the boot of
qemuarm64. This will be part of the next 4.12 -stable series, but for
now, we merge the patch directly.
40146055677a mm/sparsemem: Fix ARM64 boot crash when CONFIG_SPARSEMEM_EXTREME=y
(From OE-Core rev: a8eb060cbbbb00581e8260dd6bfc31cff5558e8f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg -stable release of 4.9.82 which comprises the
following commits:
3e598a7089ee Linux 4.9.82
2de1085e8deb ftrace: Remove incorrect setting of glob search field
df113487f844 mn10300/misalignment: Use SIGSEGV SEGV_MAPERR to report a failed user copy
38e3bc59e0dd ovl: fix failure to fsync lower dir
a468a3749bb5 acpi, nfit: fix register dimm error handling
623c28ee02b3 ACPI: sbshc: remove raw pointer from printk() message
3169a7c06e91 drm/i915: Avoid PPS HW/SW state mismatch due to rounding
8fe7ceaf8a4e btrfs: Handle btrfs_set_extent_delalloc failure in fixup worker
3c83fe52b5c1 lib/ubsan: add type mismatch handler for new GCC/Clang
3f8130127c0c lib/ubsan.c: s/missaligned/misaligned/
1bb09d05a41c clocksource/drivers/stm32: Fix kernel panic with multiple timers
944723bf84d3 pktcdvd: Fix pkt_setup_dev() error path
86d408d10efd pinctrl: intel: Initialize GPIO properly when used through irqchip
10ddc77ffb92 EDAC, octeon: Fix an uninitialized variable warning
2d4e295284a9 xtensa: fix futex_atomic_cmpxchg_inatomic
71611b37cca4 alpha: fix formating of stack content
7d22d92ca6c9 alpha: fix reboot on Avanti platform
68d18e90eeec alpha: fix crash if pthread_create races with signal delivery
21f94109d0f1 signal/sh: Ensure si_signo is initialized in do_divide_error
498b8b7453a3 signal/openrisc: Fix do_unaligned_access to send the proper signal
5795b076bd7f Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a "rewritten" version
84bf682f5342 Revert "Bluetooth: btusb: fix QCA Rome suspend/resume"
6913d1b190b9 Bluetooth: btsdio: Do not bind to non-removable BCM43341
df9658e80605 HID: quirks: Fix keyboard + touchpad on Toshiba Click Mini not working
71baf27d8c2b pipe: fix off-by-one error when checking buffer limits
a705c24b5d50 pipe: actually allow root to exceed the pipe buffer limits
91cebf98cd94 kernel/relay.c: revert "kernel/relay.c: fix potential memory leak"
33a4459bdef1 kernel/async.c: revert "async: simplify lowest_in_progress()"
da3b224658d3 fs/proc/kcore.c: use probe_kernel_read() instead of memcpy()
1666d38f4ed6 media: cxusb, dib0700: ignore XC2028_I2C_FLUSH
b2e7c63cad18 media: ts2020: avoid integer overflows on 32 bit machines
d1d85ae79d5e media: dvb-frontends: fix i2c access helpers for KASAN
b7f9df60f410 watchdog: imx2_wdt: restore previous timeout after suspend+resume
eb10c5973eb2 ASoC: skl: Fix kernel warning due to zero NHTL entry
76376783a453 ASoC: rockchip: i2s: fix playback after runtime resume
f6741799aa53 KVM: arm/arm64: Handle CPU_PM_ENTER_FAILED
ba88289e7acb KVM: nVMX: Fix races when sending nested PI while dest enters/leaves L2
51e22c571fad arm: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls
68f2013e1ff8 crypto: sha512-mb - initialize pending lengths correctly
a96e82079025 crypto: caam - fix endless loop when DECO acquire fails
f2d4bed9eabf media: v4l2-compat-ioctl32.c: refactor compat ioctl32 logic
437c4ec62efb media: v4l2-compat-ioctl32.c: don't copy back the result for certain errors
30dcb0756b0f media: v4l2-compat-ioctl32.c: drop pr_info for unknown buffer type
30ac343c4222 media: v4l2-compat-ioctl32.c: copy clip list in put_v4l2_window32
55e3f3e6846c media: v4l2-compat-ioctl32: Copy v4l2_window->global_alpha
8465657a3be4 media: v4l2-compat-ioctl32.c: make ctrl_is_pointer work for subdevs
9a7cd41be3ad media: v4l2-compat-ioctl32.c: fix ctrl_is_pointer
eec955463de3 media: v4l2-compat-ioctl32.c: copy m.userptr in put_v4l2_plane32
daff4d009f4f media: v4l2-compat-ioctl32.c: avoid sizeof(type)
81e0acf07015 media: v4l2-compat-ioctl32.c: move 'helper' functions to __get/put_v4l2_format32
02129c9bc235 media: v4l2-compat-ioctl32.c: fix the indentation
f294548da645 media: v4l2-compat-ioctl32.c: add missing VIDIOC_PREPARE_BUF
e78d9fdf5ecc media: v4l2-ioctl.c: don't copy back the result for -ENOTTY
daaa81c48402 nsfs: mark dentry with DCACHE_RCUACCESS
b93728341fb7 crypto: poly1305 - remove ->setkey() method
45f31106baa3 crypto: mcryptd - pass through absence of ->setkey()
c1ebf9f83547 crypto: cryptd - pass through absence of ->setkey()
d2b492bda560 crypto: hash - introduce crypto_hash_alg_has_setkey()
016572d31d32 ahci: Add Intel Cannon Lake PCH-H PCI ID
72c0031a914e ahci: Add PCI ids for Intel Bay Trail, Cherry Trail and Apollo Lake AHCI
3332b6f3276b ahci: Annotate PCI ids for mobile Intel chipsets as such
058d13f85da6 kernfs: fix regression in kernfs_fop_write caused by wrong type
b79d8854ee0e NFS: Fix a race between mmap() and O_DIRECT
967f650f8835 NFS: reject request for id_legacy key without auxdata
ca2c316f7cb4 NFS: commit direct writes even if they fail partially
d1840343f948 NFS: Add a cond_resched() to nfs_commit_release_pages()
e1df8c682df6 nfs/pnfs: fix nfs_direct_req ref leak when i/o falls back to the mds
298dc6c6696b ubifs: Massage assert in ubifs_xattr_set() wrt. init_xattrs
de14d0c124ca ubi: block: Fix locking for idr_alloc/idr_remove
84f9d8536c8b ubi: fastmap: Erase outdated anchor PEBs during attach
44ebd641be56 mtd: nand: sunxi: Fix ECC strength choice
d80cd3e93653 mtd: nand: Fix nand_do_read_oob() return value
d25d52ff1011 mtd: nand: brcmnand: Disable prefetch by default
cbdabc7027b1 mtd: cfi: convert inline functions to macros
198a7ddaf5d2 media: hdpvr: Fix an error handling path in hdpvr_probe()
f320dd20224c media: dvb-usb-v2: lmedm04: move ts2020 attach to dm04_lme2510_tuner
1ff1353a03c6 media: dvb-usb-v2: lmedm04: Improve logic checking of warm start
7e2fb808d3c7 dccp: CVE-2017-8824: use-after-free in DCCP code
a384e5437f70 sched/rt: Up the root domain ref count when passing it around via IPIs
1c679981309b sched/rt: Use container_of() to get root domain in rto_push_irq_work_func()
57ddb8eae517 usb: gadget: uvc: Missing files for configfs interface
0b376535ad54 posix-timer: Properly check sigevent->sigev_notify
83946c33b9b9 kaiser: fix compile error without vsyscall
297c7cc4b565 dmaengine: dmatest: fix container_of member in dmatest_callback
7e68916c361a CIFS: zero sensitive data when freeing
f59eda16646a cifs: Fix autonegotiate security settings mismatch
ee6858f72a39 cifs: Fix missing put_xid in cifs_file_strict_mmap
ba4f9c192d3b powerpc/pseries: include linux/types.h in asm/hvcall.h
7f3bd8db9974 Linux 4.9.81
2760f452a718 x86/microcode: Do the family check first
230ca8fb9515 drm: rcar-du: Fix race condition when disabling planes at CRTC stop
758e22acf4fd drm: rcar-du: Use the VBK interrupt for vblank events
1cb145c67260 ASoC: rsnd: avoid duplicate free_irq()
24978c21f7ed ASoC: rsnd: don't call free_irq() on Parent SSI
a7de0e9718c3 ASoC: simple-card: Fix misleading error message
7c17a1e5852a crypto: tcrypt - fix S/G table for test_aead_speed()
fc00dde96099 KVM/SVM: Allow direct access to MSR_IA32_SPEC_CTRL
e5a83419c957 KVM/VMX: Allow direct access to MSR_IA32_SPEC_CTRL
755502f810c6 KVM/VMX: Emulate MSR_IA32_ARCH_CAPABILITIES
7013129a4034 KVM/x86: Add IBPB support
6236b782eba3 KVM: VMX: make MSR bitmaps per-VCPU
ff546f9d83d3 KVM: VMX: introduce alloc_loaded_vmcs
46e24dfc2dfe KVM: nVMX: Eliminate vmcs02 pool
b7649e177670 KVM: nVMX: mark vmcs12 pages dirty on L2 exit
1edccf20b9d8 KVM: nVMX: vmx_complete_nested_posted_interrupt() can't fail
19b1d4bdfe5c KVM: nVMX: kmap() can't fail
34900390e966 x86/speculation: Fix typo IBRS_ATT, which should be IBRS_ALL
4b234a253e52 x86/pti: Mark constant arrays as __initconst
961cb14c615d x86/spectre: Simplify spectre_v2 command line parsing
fe4333893936 x86/retpoline: Avoid retpolines for built-in __init functions
eb99bd6341cb x86/kvm: Update spectre-v1 mitigation
7552556f65af x86/paravirt: Remove 'noreplace-paravirt' cmdline option
cda6b6074cc6 x86/cpuid: Fix up "virtual" IBRS/IBPB/STIBP feature bits on Intel
f67e05d1506a x86/spectre: Fix spelling mistake: "vunerable"-> "vulnerable"
359fde6bd0ec x86/spectre: Report get_user mitigation for spectre_v1
0781a50a30d3 nl80211: Sanitize array index in parse_txq_params
c26ceec69576 vfs, fdtable: Prevent bounds-check bypass via speculative execution
c3193fd49f6f x86/syscall: Sanitize syscall table de-references under speculation
398a39311c0b x86/get_user: Use pointer masking to limit speculation
065eae4be83d x86/uaccess: Use __uaccess_begin_nospec() and uaccess_try_nospec
ae75f83e79e4 x86/usercopy: Replace open coded stac/clac with __uaccess_{begin, end}
e06d7bfb223e x86: Introduce __uaccess_begin_nospec() and uaccess_try_nospec
1f03d140e2f5 x86: Introduce barrier_nospec
8c33e2d23a68 x86: Implement array_index_mask_nospec
579ef9ea20d6 array_index_nospec: Sanitize speculative array de-references
899ab2cf9138 Documentation: Document array_index_nospec
f03d00ba0b47 x86/asm: Move 'status' from thread_struct to thread_info
572e50917811 x86/entry/64: Push extra regs right away
d7f8d17406d6 x86/entry/64: Remove the SYSCALL64 fast path
9eedeb72c412 x86/spectre: Check CONFIG_RETPOLINE in command line parser
77d1424d2fb8 x86/retpoline: Simplify vmexit_fill_RSB()
77b3b3ee2386 x86/cpufeatures: Clean up Spectre v2 related CPUID flags
98911226d51e x86/cpu/bugs: Make retpoline module warning conditional
557cbfa22211 x86/bugs: Drop one "mitigation" from dmesg
18bc71dff630 x86/nospec: Fix header guards names
31fd9eda7f69 x86/speculation: Add basic IBPB (Indirect Branch Prediction Barrier) support
6c5e49150a51 x86/cpufeature: Blacklist SPEC_CTRL/PRED_CMD on early Spectre v2 microcodes
a8799fd14d9f x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdown
af57d43c908f x86/msr: Add definitions for new speculation control MSRs
c26a6bea26b3 x86/cpufeatures: Add AMD feature bits for Speculation Control
40532f65cccc x86/cpufeatures: Add Intel feature bits for Speculation Control
d3eba7744075 x86/cpufeatures: Add CPUID_7_EDX CPUID leaf
a1745ad92f50 module/retpoline: Warn about missing retpoline in module
ec86a1dad0c0 KVM: VMX: Make indirect call speculation safe
fea3c9a54012 KVM: x86: Make indirect calls in emulator speculation safe
734e687d1d7b x86/retpoline: Remove the esp/rsp thunk
9692602ab850 KEYS: encrypted: fix buffer overread in valid_master_desc()
0a01ecbd23a9 b43: Add missing MODULE_FIRMWARE()
113d22965c78 media: soc_camera: soc_scale_crop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
dd7b14c3e05e x86/microcode/AMD: Do not load when running on a hypervisor
0a9b2dec6c12 x86/asm: Fix inline asm call constraints for GCC 4.4
b671f40419bb soreuseport: fix mem leak in reuseport_add_sock()
5771415d24bf ipv6: Fix SO_REUSEPORT UDP socket with implicit sk_ipv6only
fa46d1437fab cls_u32: add missing RCU annotation.
b980f718f525 tcp_bbr: fix pacing_gain to always be unity when using lt_bw
73adb3b74efd vhost_net: stop device during reset owner
ee46a8614204 tcp: release sk_frag.page in tcp_disconnect
5db5cabbf09d r8169: fix RTL8168EP take too long to complete driver initialization.
9f2f873d5a1c qmi_wwan: Add support for Quectel EP06
97fe899816a6 qlcnic: fix deadlock bug
ce43c07fcef8 net: igmp: add a missing rcu locking section
7d3d60ef2256 ip6mr: fix stale iterator
ffcf167d348e serial: core: mark port as initialized after successful IRQ change
400d3c8b0c7f kaiser: allocate pgd with order 0 when pti=off
ae1fc8de51b1 x86/pti: Make unpoison of pgd for trusted boot work for real
0a61cd6caed7 kaiser: fix intel_bts perf crashes
374c84de94af ASoC: pcm512x: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
0ee4f5e7bbff pinctrl: pxa: pxa2xx: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
781a2d683110 auxdisplay: img-ascii-lcd: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
9fed3978c39b powerpc/64s: Allow control of RFI flush via debugfs
1f0c936f431d powerpc/64s: Wire up cpu_show_meltdown()
6aec12e1869e powerpc/powernv: Check device-tree for RFI flush settings
7db0fff62f52 powerpc/pseries: Query hypervisor for RFI flush settings
0ef9f8289edf powerpc/64s: Support disabling RFI flush with no_rfi_flush and nopti
c3b82ebee6e0 powerpc/64s: Add support for RFI flush of L1-D cache
48cc95d4e4d6 powerpc/64s: Convert slb_miss_common to use RFI_TO_USER/KERNEL
00e40620a51e powerpc/64: Convert the syscall exit path to use RFI_TO_USER/KERNEL
9d914324d966 powerpc/64: Convert fast_exception_return to use RFI_TO_USER/KERNEL
8fd3f98d0f4d powerpc/64: Add macros for annotating the destination of rfid/hrfid
be6641a7e6f7 powerpc/pseries: Add H_GET_CPU_CHARACTERISTICS flags & wrapper
331b057d4f3c Linux 4.9.80
1333c3e996eb spi: imx: do not access registers while clocks disabled
5846849a1ac7 serial: imx: Only wakeup via RTSDEN bit if the system has RTS/CTS
9df847674ede usbip: vhci_hcd: clear just the USB_PORT_STAT_POWER bit
57d4bb1beecb usb/gadget: Fix "high bandwidth" check in usb_gadget_ep_match_desc()
92e64a1079fa usb: uas: unconditionally bring back host after reset
f24d171a8100 usb: f_fs: Prevent gadget unbind if it is already unbound
800de0fab17a USB: serial: simple: add Motorola Tetra driver
f80079536bb6 usbip: list: don't list devices attached to vhci_hcd
4c6fcc3425e1 usbip: prevent bind loops on devices attached to vhci_hcd
ec719c52af16 USB: serial: io_edgeport: fix possible sleep-in-atomic
aa6a93fd0c38 CDC-ACM: apply quirk for card reader
c3b1f3137751 USB: cdc-acm: Do not log urb submission errors on disconnect
068cc4ad2b23 USB: serial: pl2303: new device id for Chilitag
2ef0d2ad5ce8 usb: option: Add support for FS040U modem
55eaecffe3d6 tty: fix data race between tty_init_dev and flush of buf
383e0620b70b staging: lustre: separate a connection destroy from free struct kib_conn
f94b238fb856 drm/vc4: Move IRQ enable to PM path
ace1911b7620 staging: rtl8188eu: Fix incorrect response to SIOCGIWESSID
0e216b0a0f74 usb: gadget: don't dereference g until after it has been null checked
b4bfc8ef594a media: usbtv: add a new usbid
c16c193e3abc ARM: dts: NSP: Fix PPI interrupt types
9adb2a0f9a47 iwlwifi: mvm: fix the TX queue hang timeout for MONITOR vif type
a248dc6a55b7 scsi: ufs: ufshcd: fix potential NULL pointer dereference in ufshcd_config_vreg
fa64914313c1 scsi: aacraid: Prevent crash in case of free interrupt during scsi EH path
fde77c712ac0 xfs: Properly retry failed dquot items in case of error during buffer writeback
d96024440ee5 xfs: ubsan fixes
9301165c4623 drm/omap: Fix error handling path in 'omap_dmm_probe()'
f7170eb80aff drm/bridge: tc358767: fix 1-lane behavior
8ae615fecee5 drm/bridge: tc358767: fix AUXDATAn registers access
1bdfc52c331a drm/bridge: tc358767: fix timing calculations
c55908604ecc drm/bridge: tc358767: fix DP0_MISC register set
8d4bfe89aacf drm/bridge: tc358767: filter out too high modes
5f6a0441ca0d drm/bridge: tc358767: do no fail on hi-res displays
7b8623841f2b kmemleak: add scheduling point to kmemleak_scan()
d2a67f7afcad SUNRPC: Allow connect to return EHOSTUNREACH
c4ecc2f69643 quota: Check for register_shrinker() failure.
d47907bcac94 net: ethernet: xilinx: Mark XILINX_LL_TEMAC broken on 64-bit
e11616d5e6c3 drm/amdgpu: don't try to move pinned BOs
54a1fdff1b09 xfs: fortify xfs_alloc_buftarg error handling
98ae1ca7534e bnxt_en: Fix an error handling path in 'bnxt_get_module_eeprom()'
d5a746cf4797 hwmon: (pmbus) Use 64bit math for DIRECT format values
3b7742374f3e lockd: fix "list_add double add" caused by legacy signal interface
f25e222ccc50 nfsd: check for use of the closed special stateid
f35ab8e2eeb8 grace: replace BUG_ON by WARN_ONCE in exit_net hook
2a7d4a723d2e nfsd: Ensure we check stateid validity in the seqid operation checks
5cd3586ca8d4 nfsd: CLOSE SHOULD return the invalid special stateid for NFSv4.x (x>0)
c57767b60962 auxdisplay: img-ascii-lcd: Only build on archs that have IOMEM
c6a34556f539 xen-netfront: remove warning when unloading module
b5bfda0f8e29 xfs: always free inline data before resetting inode fork during ifree
5c0b19bd8cff KVM: VMX: Fix rflags cache during vCPU reset
b0fa04e8429e KVM: X86: Fix softlockup when get the current kvmclock
90ef2c30ebd3 reiserfs: remove unneeded i_version bump
8cfb3965ebcd btrfs: fix deadlock when writing out space cache
030d4676a268 mac80211: fix the update of path metric for RANN frame
03899a46c223 openvswitch: fix the incorrect flow action alloc size
827558408206 drm/amdkfd: Fix SDMA oversubsription handling
16980affa1b0 drm/amdkfd: Fix SDMA ring buffer size calculation
8afdbb165a79 drm/amdgpu: Fix SDMA load/unload sequence on HWS disabled mode
409982cbb5eb bcache: check return value of register_shrinker
6436981ba6d1 cpufreq: Add Loongson machine dependencies
876b31fd9815 KVM: x86: ioapic: Preserve read-only values in the redirection table
1d3ab3b2964e ACPI / bus: Leave modalias empty for devices which are not present
a9f2c1693667 KVM: x86: ioapic: Clear Remote IRR when entry is switched to edge-triggered
2f9e94ef498d KVM: x86: ioapic: Fix level-triggered EOI and IOAPIC reconfigure race
ec73d16bc7ce KVM: X86: Fix operand/address-size during instruction decoding
114de9bfefa5 KVM: x86: Don't re-execute instruction when not passing CR2 value
60d9b22b1ffc KVM: x86: emulator: Return to user-mode on L1 CPL=0 emulation failure
d8f75b4c7f25 cpupower : Fix cpupower working when cpu0 is offline
82e57cdce058 cpupowerutils: bench - Fix cpu online check
036c227cdd1c drm/vc4: Account for interrupts in flight
30942f91b5a5 igb: Free IRQs when device is hotplugged
3a98d0753928 mtd: nand: denali_pci: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
e29997d55268 gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE
cb1a0b51d103 gpio: iop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
517931760e69 power: reset: zx-reboot: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
ddba3c67a5b8 HID: wacom: EKR: ensure devres groups at higher indexes are released
b7edc45f3ada crypto: af_alg - whitelist mask and type
1ce8e52f6f36 crypto: sha3-generic - fixes for alignment and big endian operation
95259cb008ba crypto: aesni - handle zero length dst buffer
f1803207b5ea crypto: ecdh - fix typo in KPP dependency of CRYPTO_ECDH
cc1fa4a7b653 gpio: Fix kernel stack leak to userspace
241c04f75e90 gpio: stmpe: i2c transfer are forbiden in atomic context
efe3f94f83d2 tools/gpio: Fix build error with musl libc
2a7076e71575 RDMA/mlx5: set UMR wqe fence according to HCA cap
20e6f5bdf542 net/mlx5: Define interface bits for fencing UMR wqe
56bc086358ca loop: fix concurrent lo_open/lo_release
6c6f924f9c62 Linux 4.9.79
f12d0602633d nfsd: auth: Fix gid sorting when rootsquash enabled
f531fbb06a56 bpf: reject stores into ctx via st and xadd
265d7657c9ba bpf: fix 32-bit divide by zero
4606077802f2 bpf: fix divides by zero
5cb917aa1f1e bpf: avoid false sharing of map refcount with max_entries
fcabc6d00885 bpf: arsh is not supported in 32 bit alu thus reject it
a3d6dd6a66c1 bpf: introduce BPF_JIT_ALWAYS_ON config
5226bb3b9551 bpf: fix bpf_tail_call() x64 JIT
c964ad34f6d9 x86: bpf_jit: small optimization in emit_bpf_tail_call()
c98ff7299b40 hrtimer: Reset hrtimer cpu base proper on CPU hotplug
9f3a6cadf494 x86/microcode/intel: Extend BDW late-loading further with LLC size check
dc1932c69835 perf/x86/amd/power: Do not load AMD power module on !AMD platforms
eecfa2eeefe3 flow_dissector: properly cap thoff field
18717ee28ef5 tun: fix a memory leak for tfile->tx_array
1105145cb3d5 mlxsw: spectrum_router: Don't log an error on missing neighbor
3110e2134c97 gso: validate gso_type in GSO handlers
cc99c6d59adf ip6_gre: init dev->mtu and dev->hard_header_len correctly
1711ba166e5f be2net: restore properly promisc mode after queues reconfiguration
00f9e47c6f9d ppp: unlock all_ppp_mutex before registering device
260eb694b5a4 ipv4: Make neigh lookup keys for loopback/point-to-point devices be INADDR_ANY
014510b11781 net: Allow neigh contructor functions ability to modify the primary_key
66c16a22e3b1 vmxnet3: repair memory leak
0e52703d0746 tipc: fix a memory leak in tipc_nl_node_get_link()
2f056e7def42 sctp: return error if the asoc has been peeled off in sctp_wait_for_sndbuf
8e3534ea657e sctp: do not allow the v4 socket to bind a v4mapped v6 address
0f51492d1bd5 r8169: fix memory corruption on retrieval of hardware statistics.
1bd21b158e07 pppoe: take ->needed_headroom of lower device into account on xmit
cf67be7a1a21 net: tcp: close sock if net namespace is exiting
a44d91150f33 net: qdisc_pkt_len_init() should be more robust
0ae16964f215 net: igmp: fix source address check for IGMPv3 reports
283498b4ca35 lan78xx: Fix failure in USB Full Speed
c2ceff11b46e ipv6: ip6_make_skb() needs to clear cork.base.dst
fb50d8c9169e ipv6: fix udpv6 sendmsg crash caused by too small MTU
8b0d3e81cdec ipv6: Fix getsockopt() for sockets with default IPV6_AUTOFLOWLABEL
5bb5ae9718f6 dccp: don't restart ccid2_hc_tx_rto_expire() if sk in closed state
5f6c581bcb3c eventpoll.h: add missing epoll event masks
9a0be5afbfbb vsyscall: Fix permissions for emulate mode with KAISER/PTI
1be7d46e775c um: link vmlinux with -no-pie
d680db722516 orangefs: fix deadlock; do not write i_size in read_iter
42f0aba58e00 Input: trackpoint - force 3 buttons if 0 button is reported
19a7db1e2ef3 mm: fix 100% CPU kswapd busyloop on unreclaimable nodes
e62b0c661f65 Revert "module: Add retpoline tag to VERMAGIC"
c41bb027ed63 scsi: libiscsi: fix shifting of DID_REQUEUE host byte
7b50205cf8b9 fs/fcntl: f_setown, avoid undefined behaviour
0ccfbd4d6f02 reiserfs: don't preallocate blocks for extended attributes
b7d25282b75e reiserfs: fix race in prealloc discard
898eeca02a55 netfilter: xt_osf: Add missing permission checks
2c3184ea8032 netfilter: nfnetlink_cthelper: Add missing permission checks
2915f16bdce2 ACPICA: Namespace: fix operand cache leak
3a53accd9c39 ACPI / scan: Prefer devices without _HID/_CID for _ADR matching
542cde0e3cc2 ipc: msg, make msgrcv work with LONG_MIN
685cce58f1c2 mm, page_alloc: fix potential false positive in __zone_watermark_ok
714c19ef57a5 cma: fix calculation of aligned offset
bc0e2174b092 hwpoison, memcg: forcibly uncharge LRU pages
c57664bd1299 mm/mmap.c: do not blow on PROT_NONE MAP_FIXED holes in the stack
1d8c402e0c46 drivers: base: cacheinfo: fix boot error message when acpi is enabled
f5aaa5a2836d drivers: base: cacheinfo: fix x86 with CONFIG_OF enabled
318e17d09cbc Prevent timer value 0 for MWAITX
45ee9d5e97a4 KVM: arm/arm64: Check pagesize when allocating a hugepage at Stage 2
41e4aa17bc02 can: af_can: canfd_rcv(): replace WARN_ONCE by pr_warn_once
40bf2c0c1c9e can: af_can: can_rcv(): replace WARN_ONCE by pr_warn_once
69e78e7214e3 usbip: Fix potential format overflow in userspace tools
853c39f239eb usbip: Fix implicit fallthrough warning
ce601a07bc50 usbip: prevent vhci_hcd driver from leaking a socket pointer address
5c26ee198fca orangefs: initialize op on loop restart in orangefs_devreq_read
fb39345e7314 orangefs: use list_for_each_entry_safe in purge_waiting_ops
c36c940cd4aa x86/asm/32: Make sync_core() handle missing CPUID on all 32-bit kernels
(From OE-Core rev: 2db2bfa47dd3e04b67e5a1642d36ac6f1eff245f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to Paul Gortmaker's 4.12.20 release, which comprises
the following commits:
26041ea62c10 Linux 4.12.20
80da9fc42759 kvm: x86: fix RSM when PCID is non-zero
94ff73e84af3 x86/pti: Rename BUG_CPU_INSECURE to BUG_CPU_MELTDOWN
1c6aaef6e08f x86/alternatives: Add missing '\n' at end of ALTERNATIVE inline asm
a14ac5bc4953 x86/tlb: Drop the _GPL from the cpu_tlbstate export
a95cc558c4ba x86/events/intel/ds: Use the proper cache flush method for mapping ds buffers
e94e2440d266 x86/kaslr: Fix the vaddr_end mess
ec2c4771ab78 x86/mm: Map cpu_entry_area at the same place on 4/5 level
21390d1cf697 x86/mm: Set MODULES_END to 0xffffffffff000000
a657f6bde81f x86/process: Define cpu_tss_rw in same section as declaration
f0ca9ecfacd8 x86/pti: Switch to kernel CR3 at early in entry_SYSCALL_compat()
882c46ebc1eb x86/pti: Make sure the user/kernel PTEs match
0920dd036f51 x86/cpu, x86/pti: Do not enable PTI on AMD processors
2832199b24b5 x86/pti: Enable PTI by default
abe84bdf0450 mm/mprotect: add a cond_resched() inside change_pmd_range()
79c74e87dd70 kernel/acct.c: fix the acct->needcheck check in check_free_space()
8097b1b3ed8e x86/espfix/64: Fix espfix double-fault handling on 5-level systems
1a698b5094c6 x86/decoder: Fix and update the opcodes map
3bc0a0230c85 x86/idt: Load idt early in start_secondary
96523a6b3c9f x86/ldt: Make LDT pgtable free conditional
0930c225b7fd x86/ldt: Plug memory leak in error path
7b392c0fd57c x86/mm: Remove preempt_disable/enable() from __native_flush_tlb()
a569be19aca4 x86/smpboot: Remove stale TLB flush invocations
171c680cd430 x86/ldt: Make the LDT mapping RO
b20a4e9c0824 x86/mm/dump_pagetables: Allow dumping current pagetables
4cb373d5878c x86/mm/dump_pagetables: Check user space page table for WX pages
419aaf9950b0 x86/mm/dump_pagetables: Add page table directory to the debugfs VFS hierarchy
f2ea744855ef x86/mm/pti: Add Kconfig
21ee6ef0b6da x86/dumpstack: Indicate in Oops whether PTI is configured and enabled
4792df02eaa2 x86/mm: Clarify the whole ASID/kernel PCID/user PCID naming
079aafe7e55e x86/mm: Use INVPCID for __native_flush_tlb_single()
f82db33b19f6 x86/mm: Optimize RESTORE_CR3
156823d62b52 x86/mm: Use/Fix PCID to optimize user/kernel switches
3c6ddf8979d7 x86/mm: Abstract switching CR3
842c1304aa61 x86/mm: Allow flushing for future ASID switches
54ccd28274b7 x86/pti: Map the vsyscall page if needed
05347c693d0a x86/pti: Put the LDT in its own PGD if PTI is on
86aa46082664 x86/mm/64: Make a full PGD-entry size hole in the memory map
bd91c7622d4b x86/events/intel/ds: Map debug buffers in cpu_entry_area
f2a19cac5364 x86/cpu_entry_area: Add debugstore entries to cpu_entry_area
788856fff986 x86/mm/pti: Map ESPFIX into user space
2946dc511e38 x86/mm/pti: Share entry text PMD
8f01f3ca70af x86/entry: Align entry text section to PMD boundary
419ac1b145f8 x86/mm/pti: Share cpu_entry_area with user space page tables
43ac2d12a830 x86/mm/pti: Force entry through trampoline when PTI active
c0226c119bb4 x86/mm/pti: Add functions to clone kernel PMDs
0de21941f44c x86/mm/pti: Populate user PGD
dc46e9eafde8 x86/mm/pti: Allocate a separate user PGD
a3293057588e x86/mm/pti: Allow NX poison to be set in p4d/pgd
b51aa0399145 x86/mm/pti: Add mapping helper functions
66d1447e7cd8 x86/pti: Add the pti= cmdline option and documentation
399981179cc2 x86/mm/pti: Add infrastructure for page table isolation
ff4703d2378d x86/mm/pti: Prepare the x86/entry assembly code for entry/exit CR3 switching
6eb83fa9c76d x86/mm/pti: Disable global pages if PAGE_TABLE_ISOLATION=y
0cbc392772c6 x86/cpufeatures: Add X86_BUG_CPU_INSECURE
bb426b09a2b3 nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick()
f8da34e6aea2 ring-buffer: Do no reuse reader page if still in use
f56cc813891f ring-buffer: Mask out the info bits when returning buffer page length
99df0a6bd678 x86/cpu_entry_area: Prevent wraparound in setup_cpu_entry_area_ptes() on 32bit
dd6eac2b6f66 init: Invoke init_espfix_bsp() from mm_init()
fc78bbdec893 x86/cpu_entry_area: Move it out of the fixmap
b73f4c11bfb7 x86/cpu_entry_area: Move it to a separate unit
90383f5be7ac x86/mm: Create asm/invpcid.h
f7938aecc9e1 x86/mm: Put MMU to hardware ASID translation in one place
21c7af3777f8 x86/mm: Remove hard-coded ASID limit checks
546fe7d48686 x86/mm: Move the CR3 construction functions to tlbflush.h
029ed77f57b6 x86/mm: Add comments to clarify which TLB-flush functions are supposed to flush what
c786774ceccb x86/mm: Remove superfluous barriers
f0c8c4bd2347 x86/mm: Use __flush_tlb_one() for kernel memory
c1d18bf3f32b x86/microcode: Dont abuse the TLB-flush interface
cba3ab6a6841 x86/uv: Use the right TLB-flush API
8a7c2006beba x86/entry: Rename SYSENTER_stack to CPU_ENTRY_AREA_entry_stack
d6a432d4d3a0 x86/doc: Remove obvious weirdnesses from the x86 MM layout documentation
07e8a63c2c4f x86/mm/64: Improve the memory map documentation
1dddc45476c4 x86/ldt: Prevent LDT inheritance on exec
93439585326e x86/ldt: Rework locking
315b737482ac arch, mm: Allow arch_dup_mmap() to fail
3cd977c67053 x86/vsyscall/64: Warn and fail vsyscall emulation in NATIVE mode
e5667337a507 x86/vsyscall/64: Explicitly set _PAGE_USER in the pagetable hierarchy
4664833b9c38 x86/mm/dump_pagetables: Make the address hints correct and readable
9ed67a029dd7 x86/mm/dump_pagetables: Check PAGE_PRESENT for real
0f9f378903ae x86/Kconfig: Limit NR_CPUS on 32-bit to a sane amount
358a83a1de54 x86/cpufeatures: Make CPU bugs sticky
ae16a824dd62 x86/paravirt: Provide a way to check for hypervisors
93231925335a x86/paravirt: Dont patch flush_tlb_single
3e9cf8fb4db0 x86/entry/64: Make cpu_entry_area.tss read-only
47cb726a9600 x86/entry: Clean up the SYSENTER_stack code
ff29cda6c2f2 x86/entry/64: Remove the SYSENTER stack canary
33e8a0a90105 x86/entry/64: Move the IST stacks into struct cpu_entry_area
8aa71a5cdc32 x86/entry/64: Create a per-CPU SYSCALL entry trampoline
077a04534cc4 x86/entry/64: Return to userspace from the trampoline stack
698892158210 x86/entry/64: Use a per-CPU trampoline stack for IDT entries
7df5dc38dc29 x86/espfix/64: Stop assuming that pt_regs is on the entry stack
7b6d319e2616 x86/entry/64: Separate cpu_current_top_of_stack from TSS.sp0
e75df8aedce8 x86/entry: Remap the TSS into the CPU entry area
0e0055bbeb2a x86/entry: Move SYSENTER_stack to the beginning of struct tss_struct
d9e17c57f62a x86/dumpstack: Handle stack overflow on all stacks
b6645c3c626e x86/entry: Fix assumptions that the HW TSS is at the beginning of cpu_tss
99a47d22f1fa x86/kasan/64: Teach KASAN about the cpu_entry_area
0863f76db090 x86/mm/fixmap: Generalize the GDT fixmap mechanism, introduce struct cpu_entry_area
3b825a015513 x86/entry/gdt: Put per-CPU GDT remaps in ascending order
8e905774d607 x86/dumpstack: Add get_stack_info() support for the SYSENTER stack
ca02a72c9150 x86/entry/64: Allocate and enable the SYSENTER stack
4eec07ec7a5c x86/irq/64: Print the offending IP in the stack overflow warning
a7b282cd43ba x86/irq: Remove an old outdated comment about context tracking races
d2408cf269d1 x86/entry/64/paravirt: Use paravirt-safe macro to access eflags
6a99c031df60 x86/mm/kasan: Don't use vmemmap_populate() to initialize shadow
b3f96767d068 locking/barriers: Convert users of lockless_dereference() to READ_ONCE()
c1763d787577 locking/barriers: Add implicit smp_read_barrier_depends() to READ_ONCE()
756428416ce0 perf/x86: Enable free running PEBS for REGS_USER/INTR
2eecb0acd97a x86: Make X86_BUG_FXSAVE_LEAK detectable in CPUID on AMD
493513aefcc5 x86/cpufeature: Add User-Mode Instruction Prevention definitions
019141d42ebe drivers/misc/intel/pti: Rename the header file to free up the namespace
871d6926064c x86/xen: Fix xen head ELF annotations
d20c9ba72b8f x86/boot: Annotate verify_cpu() as a callable function
d32d0f94a7ee x86/head: Fix head ELF function annotations
18f077dfae1c x86/head: Remove unused 'bad_address' code
d5d921a047b9 x86/head: Remove confusing comment
f6dd6567d09d kernel/signal.c: remove the no longer needed SIGNAL_UNKILLABLE check in complete_signal()
cf2791ad9e53 kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel_only() signals
2071cfd700f6 kernel/signal.c: protect the traced SIGNAL_UNKILLABLE tasks from SIGKILL
806424fd3065 kvm, mm: account kvm related kmem slabs to kmemcg
9575a6ffb4b7 x86/virt: Add enum for hypervisors to replace x86_hyper
e8baad3e5158 x86/virt, x86/platform: Merge 'struct x86_hyper' into 'struct x86_platform' and 'struct x86_init'
cb995fcf5ae2 x86/mm/64: Rename the register_page_bootmem_memmap() 'size' parameter to 'nr_pages'
c94b6dded6eb x86/xen: Drop 5-level paging support code from the XEN_PV code
119347a0ef41 x86/xen: Provide pre-built page tables only for CONFIG_XEN_PV=y and CONFIG_XEN_PVH=y
199e4741c8b9 x86/kasan: Use the same shadow offset for 4- and 5-level paging
1c5ea732a936 mm/sparsemem: Allocate mem_section at runtime for CONFIG_SPARSEMEM_EXTREME=y
8915a13ca5a4 mm, x86/mm: Fix performance regression in get_user_pages_fast()
66ea32e385a8 x86/insn-eval: Add a utility function to get register offsets
7ce86fc1e901 x86/insn-eval: Do not BUG on invalid register type
c958c84cf7c2 x86/mpx, x86/insn: Relocate insn util functions to a new insn-eval file
8d8f073eaa31 x86/mpx: Do not use SIB.base if its value is 101b and ModRM.mod = 0
ec1786527e7f x86/mpx: Do not use SIB.index if its value is 100b and ModRM.mod is not 11b
897aeabaf3c1 x86/mpx: Use signed variables to compute effective addresses
bdc345828604 x86/mpx: Simplify handling of errors when computing linear addresses
d35dbe818a6a ptrace,x86: Make user_64bit_mode() available to 32-bit builds
ef02e49ac1a7 x86/boot: Relocate definition of the initial state of CR0
1542a015ace2 x86/mm: Relocate page fault error codes to traps.h
7edfe87940e2 selftests/x86/ldt_gdt: Run most existing LDT test cases against the GDT as well
be33b76702d9 selftests/x86/ldt_gdt: Add infrastructure to test set_thread_area()
738b110511ba selftests/x86/ldt_gdt: Robustify against set_thread_area() and LAR oddities
1f9e12c2e81e x86/cpufeatures: Fix various details in the feature definitions
14fe162f996f x86/cpufeatures: Re-tabulate the X86_FEATURE definitions
be9780fb7a30 x86/build: Beautify build log of syscall headers
601a71aa8028 x86/mm: Define _PAGE_TABLE using _KERNPG_TABLE
6a9dda277c24 bitops: Revert cbe96375025e ("bitops: Add clear/set_bit32() to linux/bitops.h")
c3e13e28aa72 x86/cpuid: Replace set/clear_bit32()
a87fa3721441 x86/cpufeatures: Enable new SSE/AVX/AVX512 CPU features
8bf58a744e9a x86/cpuid: Prevent out of bound access in do_clear_cpu_cap()
5dd037e50e83 x86/fpu: Remove the explicit clearing of XSAVE dependent features
691bb62c5c87 x86/fpu: Make XSAVE check the base CPUID features before enabling
384a2d7af44d x86/fpu: Parse clearcpuid= as early XSAVE argument
36381d76b645 x86/cpuid: Add generic table for CPUID dependencies
50c6c061f4d6 bitops: Add clear/set_bit32() to linux/bitops.h
4ef351ff7bab x86/fpu/debug: Remove unused 'x86_fpu_state' and 'x86_fpu_deactivate_state' tracepoints
cc2b5786a84b x86/entry/64: Shorten TEST instructions
d26fc8d39309 x86/traps: Use a new on_thread_stack() helper to clean up an assertion
f475d79e9115 x86/entry/64: Remove thread_struct::sp0
ee2f1a81b613 x86/entry/32: Fix cpu_current_top_of_stack initialization at boot
a69652f6e628 x86/entry/64: Remove all remaining direct thread_struct::sp0 reads
f7945199711d x86/entry/64: Stop initializing TSS.sp0 at boot
3476ab68a9bf x86/xen/64, x86/entry/64: Clean up SP code in cpu_initialize_context()
c2e6ce4b2921 x86/entry: Add task_top_of_stack() to find the top of a task's stack
45c4053bf8d4 x86/entry/64: Pass SP0 directly to load_sp0()
1acf96028d04 x86/entry/32: Pull the MSR_IA32_SYSENTER_CS update code out of native_load_sp0()
ab80fe6f16d3 x86/entry/64: De-Xen-ify our NMI code
d067fb259523 xen, x86/entry/64: Add xen NMI trap entry
13ead6fcd2ab x86/entry/64: Remove the RESTORE_..._REGS infrastructure
6793d49993e4 x86/entry/64: Use POP instead of MOV to restore regs on NMI return
ba46462c7964 x86/entry/64: Merge the fast and slow SYSRET paths
905d20dd5054 x86/entry/64: Use pop instead of movq in syscall_return_via_sysret
99bc33079304 x86/entry/64: Shrink paranoid_exit_restore and make labels local
3c16e0932979 x86/entry/64: Simplify reg restore code in the standard IRET paths
4fc1d8b76f21 x86/entry/64: Move SWAPGS into the common IRET-to-usermode path
f32123527bed x86/entry/64: Split the IRET-to-user and IRET-to-kernel paths
3b475309f976 x86/entry/64: Remove the restore_c_regs_and_iret label
f3bd88849f88 x86/asm: Don't use the confusing '.ifeq' directive
d36e0d395ca2 x86/entry: Use SYSCALL_DEFINE() macros for sys_modify_ldt()
ca024e7d1862 x86/asm: Remove unnecessary \n\t in front of CC_SET() from asm templates
dcc5f2f8c5db x86/mm/64: Remove the last VM_BUG_ON() from the TLB code
c01d65a2df94 x86/mm: Flush more aggressively in lazy TLB mode
71570531a921 x86/mm/32: Load a sane CR3 before cpu_init() on secondary CPUs
7896047cb4de x86/mm/32: Move setup_clear_cpu_cap(X86_FEATURE_PCID) earlier
557c6cb2e892 x86/mm/64: Stop using CR3.PCID == 0 in ASID-aware code
bdf06611e863 x86/mm: Factor out CR3-building code
28dfb0cf1cd6 x86/mm/64: Initialize CR4.PCIDE early
c45360a1779f x86/mm: Get rid of VM_BUG_ON in switch_tlb_irqs_off()
50522881fb0b x86/mm: Document how CR4.PCIDE restore works
d8fa770e4331 x86/mm: Reinitialize TLB state on hotplug and resume
223590ce02fa x86/xen: Get rid of paravirt op adjust_exception_frame
9148019af215 x86/mm, mm/hwpoison: Clear PRESENT bit for kernel 1:1 mappings of poison pages
93753465c1fb x86/mm/dump_pagetables: Speed up page tables dump for CONFIG_KASAN=y
866ec7bd5055 x86/mm: Implement PCID based optimization: try to preserve old TLB entries using PCID
0ca4a0dcd2b1 x86/mpx: Do not allow MPX if we have mappings above 47-bit
69fa7265508d x86/mm/dump_pagetables: Fix printout of p4d level
172774bfa3ef x86/boot: Add early cmdline parsing for options with arguments
47c915550f9e x86/mm: Enable CR4.PCIDE on supported systems
4bda31395beb x86/mm: Add the 'nopcid' boot option to turn off PCID
ae3c78546a4d x86/mm: Disable PCID on 32-bit kernels
a506eb1a28ee x86/mm: Stop calling leave_mm() in idle code
8d640d568fc8 x86/mm: Rework lazy TLB mode and TLB freshness tracking
6856a6907443 x86/mm: Track the TLB's tlb_gen and update the flushing algorithm
75309cc8a392 x86/mm: Give each mm TLB flush generation a unique ID
90d8521ed090 x86/xen/64: Rearrange the SYSCALL entries
cd77afb4a51a x86/asm: Add suffix macro for GEN_*_RMWcc()
5d4c36800831 x86/entry/64: Refactor IRQ stacks and make them NMI-safe
9b1ff5eeadc1 irq: Make the irqentry text section unconditional
2df8e4dd8ad5 x86: provide an init_mem_mapping hypervisor hook
03a415bbc469 x86/kasan: don't allocate extra shadow memory
e5881507ab4b x86/mm: Delete a big outdated comment about TLB flushing
2612885620dc x86/mm: Don't reenter flush_tlb_func_common()
8c33de3d1431 x86/mm: Remove reset_lazy_tlbstate()
22e8e068200a x86/ldt: Simplify the LDT switching logic
306b70104b69 x86/boot/64: Put __startup_64() into .head.text
6785f222adc3 x86/mm: Add support for 5-level paging for KASLR
3591558ac071 x86/mm: Make kernel_physical_mapping_init() support 5-level paging
e93998d5a995 x86/mm: Add sync_global_pgds() for configuration with 5-level paging
8d08f0f9511a x86/boot/64: Add support of additional page table level during early boot
08ef52fc8c27 x86/boot/64: Rename init_level4_pgt and early_level4_pgt
8e3d8cc05bab x86/boot/64: Rewrite startup_64() in C
40029728da7c x86/boot/compressed: Enable 5-level paging during decompression stage
9f9cc4499abe x86/boot/efi: Define __KERNEL32_CS GDT on 64-bit configurations
f56c74bc479b x86/asm: Fix comment in return_from_SYSCALL_64()
37edb519e13e x86/mm: Split read_cr3() into read_cr3_pa() and __read_cr3()
ae39e66a6c22 x86/ldt: Rename ldt_struct::size to ::nr_entries
8e9fceb46493 mm/vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP
73c1f133b39a x86/mm, KVM: Teach KVM's VMX code that CR3 isn't a constant
6652b39ab9a7 x86/mm: Be more consistent wrt PAGE_SHIFT vs PAGE_SIZE in tlb flush code
5f8577a5dfcb x86/mm: Rework lazy TLB to track the actual loaded mm
0444036bd674 x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) SMP code
a8c7f8a7a0b3 x86/mm: Use new merged flush logic in arch_tlbbatch_flush()
d47f84368847 x86/mm: Refactor flush_tlb_mm_range() to merge local and remote cases
5a32e49af880 x86/mm: Change the leave_mm() condition for local TLB flushes
c2c97859bbc5 x86/mm: Pass flush_tlb_info to flush_tlb_others() etc
30210c7c83b5 mm, x86/mm: Make the batched unmap TLB flush API more generic
a56dacbe25a0 x86/mm: Reduce indentation in flush_tlb_func()
4e69fbba04b0 x86/mm: Reimplement flush_tlb_page() using flush_tlb_mm_range()
(From OE-Core rev: 3ec455603ac02ecd2df0192082a0866a6389c821)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
(cherry picked from commit 22d84ba8025076209a6c8bfed6a0fcec6e10b353)
hand applied do to other pending changes
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building various libraries (libc6, libc6-pic, libc6-staticdev, libc6-dbg, ...)
can be non-deterministic because they may be built with two different versions
of intl/plural.c. in two otherwise identical builds. We may or may not re-generate
the file plural.c from the file plural.y, based on bison being installed or not
and based on mtimes of those two files, as the Makefile contains:
plural.c: plural.y
$(BISON) $(BISONFLAGS) $@ $^
If the above rule does not fire, we use a "fallback" plural.c, otherwise
we use plural.c re-generated from plural.y.
The fix is to always require bison to be installed and unconditionally
re-generate plural.c. (This is achieved by touching plural.y).
[YOCTO #12291]
(From OE-Core rev: 112c6e77a81ec748cd116d1088dae2a1f59643f5)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b79eeb68c6ad7c92a3e54c6f97a8bf49f0098206)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rich Felker (9):
fix access by setjmp and longjmp to __hwcap on arm built as thumb2
for executing init array functions, use function type with prototype
fix read-after-free type error in pthread_detach
fix incorrect base name offset from nftw when pathname ends in slash(es)
in dns parsing callback, enforce MAXADDRS to preclude overflow
release 1.1.17
fix regression in glob with literal . or .. path component
fix build regression on ARM for ISA levels less than v5
release 1.1.18
Szabolcs Nagy (1):
math: rewrite fma with mostly int arithmetics
Will Dietz (1):
posix_spawn: use larger stack to cover worst-case in execvpe
(From OE-Core rev: fe87fe129da60f49e7e06fb6add361ffad8a046a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit c3f0a70a40e0a8115e9046fb96b4b371b0db44ee)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fix use of memset without declaration in sched.h cpu set macros
* powerpc{64}: fix MAP_NORESERVE and MAP_LOCKED in mman.h
(From OE-Core rev: a079c431a8f00562273347698220ed0c6ce4b58d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 3953c54c30473450d4baf511772276e5e8e09919)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting the following pinctrl commits to enable controllers on
Intel Cannon Lake:
4b7a5c1b4ec5 pinctrl: intel: Add Intel Cannon Lake PCH-H pin controller support
044631ce1937 pinctrl: intel: Add Intel Cannon Lake PCH pin controller support
2054b0ea59a7 pinctrl: intel: Make it possible to specify mode per pin in a group
55b9053b5a5a pinctrl: intel: Add support for variable size pad groups
(From OE-Core rev: 7636a42fb615b9ea4881483a61d3dac0ec72a5a6)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 4c05eb243c2cf10304383f6265721b695750cb9b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE-Core changes the architecture independent RPM packages to use
"noarch" instead of "all". This change has been included in the commit
below:
,----
| commit 341810aff923ace6b1cc1e15e19383c4f8773b51
| Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
| Date: Mon Jan 9 16:37:28 2017 +0200
|
| package_rpm.bbclass: make architecture-independent .rpm packages
| "noarch" instead of "all"
|
| Too many places in dnf/rpm4 stack make that assumption; let's not
| fight against it.
|
| Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
`----
This is causing problems with machines that has "all" inside the
machine name.
Reported-by: Alexandru Palalau <ioan-alexandru.palalau@nxp.com>
(From OE-Core rev: e92fdac3055b612ae1a1c1b033b5451a1750fe34)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 3e4ddeab65d4d2e4aaf03d442c2a1a8c7a2ce8a2)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop upstreamed 0001-aes-armv4-bsaes-armv7-sha256-armv4-.pl-make-it-work-.patch
Rebase a couple more patches (via devtool upgrade).
(From OE-Core rev: a69526f9cd7682d8a8ff49fd8101b46616e3c05f)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 8a79b8619ce797d5395989e7bb804bc2accfbb14)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12467]
Changed the CentOS variable to use python34-pip
instead of python3-pip. Removed notes indicating
CentOS 6.x exceptions because this version does
not support CentOS 6.x.
(From yocto-docs rev: 66b24fff05588580f75ae951b373a53ebcd08d13)
Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I failed to copy the updated sdk-manual title figure to the
mega-manual/figures directory when the sdk-manual title had changed.
This was causing the title of the sdk-manual in the mega-manual
to render as the old one.
(From yocto-docs rev: 7c510b205ea0df0db8d61d15efcbff4dd2033af3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I had tried using a #-type target for some links designed to
go to the top of the sdk-manual. It was not working out so I removed
the targets. The links now render benign for the mega-manual as
they should and render hot for the individual manual as they should.
(From yocto-docs rev: c9a8887983976670a96f99a3d4271f5498927550)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This string was not changed to reflect the new sdk-manual title.
I updated the string so that the links render correctly in the
mega-manual.
(From yocto-docs rev: 2e4cf995a8c3d1f9ed072911eea43930f27ff771)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Image will be generated for arm64, and no compression for Image in u-boot as
well. So we just put the file into the right place for the rest of the build
to find it.
(From OE-Core rev: 9498f075a2fae4ff7387bbaeefae493c285b14f6)
Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit ce6337ab4b415ee18360dfe4443a71ab75a60254)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PACKAGES_DYNAMIC contained an identical set of packages twice.
I suspect this was a result of global search/replace when moving
recipes from eglibc to glibc long time ago.
(From OE-Core rev: 78120e0e4da7f4be229fb4567a0f3e58bd4e4169)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 9d0f0fa80ffbafc2d4a1df0fa3ac5d84396a8182)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 2018c release of the tz code and data is available. It follows on the 2018a and 2018b releases, which were published but were not announced until now, due to problems discovered late in their release processes. 2018a had a build-failure typo, and 2018a and 2018b both had problems with ICU and Java, downstream packages which do not support a feature (negative DST offsets) used in 2018a and 2018b. The typo has been fixed, and data changes using negative DST offsets have been reverted pending development of a mechanism to export data to platforms lacking support for such data.
Briefly:
São Tomé and Príncipe switched from +00 to +01.
Brazil's DST will now start on November's first Sunday.
Use Debian-style installation locations, instead of 4.3BSD-style.
New zic option -t.
Changes to past and future time stamps
São Tomé and Príncipe switched from +00 to +01 on 2018-01-01 at
01:00. (Thanks to Steffen Thorsen and Michael Deckers.)
Changes to future time stamps
Starting in 2018 southern Brazil will begin DST on November's
first Sunday instead of October's third Sunday. (Thanks to
Steffen Thorsen.)
Changes to past time stamps
Japanese DST transitions (1948-1951) were Sundays at 00:00, not
Saturdays or Sundays at 02:00. (Thanks to Takayuki Nikai.)
A discrepancy of 4 s in timestamps before 1931 in South Sudan has
been corrected. The 'backzone' and 'zone.tab' files did not agree
with the 'africa' and 'zone1970.tab' files. (Problem reported by
Michael Deckers.)
The abbreviation invented for Bolivia Summer Time (1931-2) is now
BST instead of BOST, to be more consistent with the convention
used for Latvian Summer Time (1918-9) and for British Summer Time.
Changes to build procedure
The default installation locations have been changed to mostly
match Debian circa 2017, instead of being designed as an add-on to
4.3BSD circa 1986. This affects the Makefile macros TOPDIR,
TZDIR, MANDIR, and LIBDIR. New Makefile macros TZDEFAULT, USRDIR,
USRSHAREDIR, BINDIR, ZDUMPDIR, and ZICDIR let installers tailor
locations more precisely. (This responds to suggestions from
Brian Inglis and from Steve Summit.)
The default installation procedure no longer creates the
backward-compatibility link US/Pacific-New, which causes
confusion during user setup (e.g., see Debian bug 815200).
Use 'make BACKWARD="backward pacificnew"' to create the link
anyway, for now. Eventually we plan to remove the link entirely.
tzdata.zi now contains a version-number comment.
(Suggested by Tom Lane.)
The Makefile now quotes values like BACKWARD more carefully when
passing them to the shell. (Problem reported by Zefram.)
Builders no longer need to specify -DHAVE_SNPRINTF on platforms
that have snprintf and use pre-C99 compilers. (Problem reported
by Jon Skeet.)
The build procedure now works around mawk 1.3.3's lack of support
for character class expressions. (Problem reported by Ohyama.)
(From OE-Core rev: ee6e62f066f02b301d656d3d856c80eab02c356c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 97927956a6629381b54973d01e16c5f039f5e5bb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
removed patches now included in update.
The 2018a through 2018c releases reflect the following changes, which were either circulated on the tz mailing list or are relatively minor technical or administrative changes. This announcement has merged the set of changes made by the three releases, to make it easier to see the difference between 2017c and 2018c; please see the 2018c NEWS file for more details about intermediate versions.
Release 2018c - 2018-01-22 23:00:44 -0800
Release 2018b - 2018-01-17 23:24:48 -0800
Release 2018a - 2018-01-12 22:29:21 -0800
Changes to code
zic has a new option -t FILE that specifies the location of the
file that determines local time when TZ is unset. The default for
this location can be configured via the new TZDEFAULT makefile
macro, which defaults to /etc/localtime.
Diagnostics and commentary now distinguish UT from UTC more
carefully; see theory.html for more information about UT vs UTC.
zic has been ported to GCC 8's -Wstringop-truncation option.
(Problem reported by Martin Sebor.)
Changes to documentation and commentary
The zic man page now documents the longstanding behavior that
times and years can be out of the usual range, with negative times
counting backwards from midnight and with year 0 preceding year 1.
(Problem reported by Michael Deckers.)
The theory.html file now mentions the POSIX limit of six chars
per abbreviation, and lists alphabetic abbreviations used.
The files tz-art.htm and tz-link.htm have been renamed to
tz-art.html and tz-link.html, respectively, for consistency with
other file names and to simplify web server configuration.
(From OE-Core rev: 61949dcb18d712b73e0ea92b70d1a6904e7a0e16)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aae1131225b92d2f984a2de35b2e21592ae8195d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: 80f340f25ffdf7b8ca7a6ccf2e12f28b46b3c70d)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit ebdd054ad85b19d47dd20eab0ba3f31ef5141140)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To allow scripting and environment changes, the loadenv and test must
be enabled. This adds those to the default set.
(From OE-Core rev: 567649a3556da4387f3b58a6076d459e167ba3ef)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit b7c9a298801c828c06b6e7da47c35f592864ce74)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we will add new values here, it is better to split it in multiple
lines.
(From OE-Core rev: 9d05172cc7239910b583dcc6750a192c41795616)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 1a491515d58d0d9f03f7a3a84738f53377b0f819)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to append to DEPENDS else the dependencies on bison/flex-native
are lost, potentially resulting in build failures.
(From OE-Core rev: 4726eab43782fb8d6864250811b2296fdea1e252)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bead76b50dc60e1b6b39fa5b659a7af44ff91adc)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The XZ format is widely used and multiple recipes inside OE-Core
already use it, so making the XZ enabled by default align the
expectation of users. The LZO, on the other side, is commonly used in
embedded systems due its performance so it makes sense to be available
by default.
(From OE-Core rev: c8feb193682f6f7a03ca9524a6aeb24a13da5808)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6d24b0bc7ebddd10de5ad8f210b8ed85fc6ae769)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a backport [1] to fix the following build error:
| In file included from /home/r60874/upstream/xwayland/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/gtk+3/3.22.17-r0/recipe-sysroot/usr/include/epoxy/egl.h:46:0,
| from ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.h:32,
| from ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c:24:
| ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c: In function 'gdk_wayland_gl_context_realize':
| ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c:179:43: error: expected expression before 'EGLContext'
| : EGL_NO_CONTEXT,
| ^
[1] ebe3a53db1
(From OE-Core rev: 5eb1eb0e984704c3c36499ccc9497bc3d81cb0d2)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit b468e28194be39f6d6a2084bb51773c45253d5f7)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 'wic' image may use files which has been deployed (e.g in
do_deploy) for some partitions that may need to be copied in a
specific partition or filesystem (e.g a bootloader).
When using 'bitbake <image> -c image_wic', from a clean build, the
contents of do_deploy must also be available so we need to ensure all
do_deploy of the image dependencies has been complete.
Reported-by: Fabio Berton <fabio.berton@ossystems.com.br>
(From OE-Core rev: 6c32803432cd847ae81767afcfbe4b5db41b9672)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f387c28640cbb209b8a8ed5734b21c754d9f7663)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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).
(From OE-Core rev: 32895152580152c6613a4d651ba1bcee9be9883f)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bfd9664edad7044b5da53fc33b8d0f6508f00950)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable update from Paul Gortmaker which comprises
the following commits:
4aff9b16f4ba Linux 4.12.19
28f16fcc84f9 Bluetooth: Prevent stack info leak from the EFS element.
a430cb040780 loop: fix concurrent lo_open/lo_release
4dd428f5965c net: ipv4: fix for a race condition in raw_sendmsg
4428a99052e6 bpf: fix lockdep splat
686f16d77fee bpf/verifier: Fix states_equal() comparison of pointer and UNKNOWN
2c4577f1274b bpf: fix branch pruning logic
d16a3b7b0642 bpf: reject out-of-bounds stack pointer calculation
a1177b36876f x86/microcode/AMD: Add support for fam17h microcode loading
19be0f0937af iommu/arm-smmu-v3: Cope with duplicated Stream IDs
2e9834fd3352 iommu/arm-smmu-v3: Don't free page table ops twice
1e67d5342bde KVM: X86: Fix load RFLAGS w/o the fixed bit
b45b19d6e92d KVM: PPC: Book3S HV: Fix pending_pri value in kvmppc_xive_get_icp()
ce4ad56d8b44 KVM: PPC: Book3S: fix XIVE migration of pending interrupts
721f59a0bf4f KVM: arm/arm64: Fix HYP unmapping going off limits
a7dbd1b73e6c arm64: kvm: Prevent restoring stale PMSCR_EL1 for vcpu
3e4266c9ea63 KVM: arm/arm64: vgic-its: Preserve the revious read from the pending table
c15b6348058e x86/asm: Use register variable to get stack pointer value
19af84ace857 x86/asm: Fix inline asm call constraints for GCC 4.4
78d54c1f3ac1 x86/asm: Fix inline asm call constraints for Clang
9a6d78ff4fb7 arm64: prevent regressions in compressed kernel image size when upgrading to binutils 2.27
3af55325636e mm: Handle 0 flags in _calc_vm_trans() macro
f951c9e762b6 arm-ccn: perf: Prevent module unload while PMU is in use
21bc2a95624c arm64: fix CONFIG_DEBUG_WX address reporting
a2fb441f8cbd arm64: Initialise high_memory global variable earlier
2b2e733345b0 kbuild: do not call cc-option before KBUILD_CFLAGS initialization
4c67bceb55f4 jump_label: Invoke jump_label_test() via early_initcall()
7cdf334210c3 ARM: BUG if jumping to usermode address in kernel mode
77358b0b4d2f arm64: SW PAN: Update saved ttbr0 value on enter_lazy_tlb
09bddb96452b arm64: SW PAN: Point saved ttbr0 at the zero page when switching to init_mm
f451d0e885e1 arm64: fpsimd: Prevent registers leaking from dead tasks
bf4bfcfd1780 KVM: arm/arm64: vgic-its: Check result of allocation before use
bdd70c122339 KVM: arm/arm64: vgic: Preserve the revious read from the pending table
6b99a8c8cdc0 KVM: arm/arm64: Fix broken GICH_ELRSR big endian conversion
eadaba010c36 KVM: VMX: remove I/O port 0x80 bypass on Intel hosts
b31b0eb03c2c arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one
7c5a020deec8 arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one
e1d48f51262e KVM: x86: fix APIC page invalidation
4465b8b94411 x86/PCI: Make broadcom_postcore_init() check acpi_disabled
74d50f1ac954 perf tools: Fix leaking rec_argv in error cases
a8698071c4ba KVM: lapic: Fixup LDR on load in x2apic
18db8c0cd612 KVM: lapic: Split out x2apic ldr calculation
06e79931a082 KVM: x86: inject exceptions produced by x86_decode_insn
1c7ccddc0a60 KVM: x86: Exit to user-mode on #UD intercept when emulator requires
933a293d5925 KVM: x86: pvclock: Handle first-time write to pvclock-page contains random junk
27a37b1b39b5 mm/madvise.c: fix madvise() infinite loop under special circumstances
9a415da9c31c mm, hugetlbfs: introduce ->split() to vm_operations_struct
ab1e80ae2b42 mm: fix device-dax pud write-faults triggered by get_user_pages()
84392a1ffc54 mm/cma: fix alloc_contig_range ret code/potential leak
390e49975c0c mm, thp: Do not make page table dirty unconditionally in touch_p[mu]d()
c9d8192b4165 mm, oom_reaper: gather each vma to prevent leaking TLB entry
557cc85757eb mm, memory_hotplug: do not back off draining pcp free pages from kworker context
e7f78f55bdcb KVM: SVM: obey guest PAT
eee1b36f5bd8 KVM: nVMX: set IDTR and GDTR limits when loading L1 host state
eca2c0a4f6fd KVM: PPC: Book3S HV: Don't call real-mode XICS hypercall handlers if not enabled
139c8678fb65 x86/decoder: Add new TEST instruction pattern
f06e373ee93d RDS: Heap OOB write in rds_message_alloc_sgs()
4f72d5339c6f RDS: null pointer dereference in rds_atomic_free_op
3911496c7b54 net: Fix double free and memory corruption in get_net_ns_by_id()
5c9f58b167bd MIPS: math-emu: do not use bools for arithmetic
a756ea350c02 crypto: salsa20 - fix blkcipher_walk API usage
632cfeb3cb42 crypto: hmac - require that the underlying hash algorithm is unkeyed
fdd279fd5561 netlink: Add netns check on taps
c142151947e9 dccp: CVE-2017-8824: use-after-free in DCCP code
edd820b4ba76 media: hdpvr: Fix an error handling path in hdpvr_probe()
aa0327d3dddc powerpc/tm: Add commandline option to disable hardware transactional memory
(From OE-Core rev: 4ff3897ce27fcfc1ba0dfec92e209f03ebc85bf4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg 4.9 -stable updates. These include patches for
Spectre and meltdown mitigation. The changelog follows:
79584a422125 Linux 4.9.78
60249fe9050b MIPS: AR7: ensure the port type's FCR value is used
06d7342d8498 x86/retpoline: Optimize inline assembler for vmexit_fill_RSB
b9f8b5935394 x86/pti: Document fix wrong index
4b71be496642 kprobes/x86: Disable optimizing on the function jumps to indirect thunk
36ad6ba501d6 kprobes/x86: Blacklist indirect thunk functions for kprobes
09402d83395f retpoline: Introduce start/end markers of indirect thunk
c5aa687060a8 x86/mce: Make machine check speculation protected
87ac29717de8 usbip: fix warning in vhci_hcd_probe/lockdep_init_map
0d92cf7f29e6 x86/cpu, x86/pti: Do not enable PTI on AMD processors
ddfaa7acd7a2 arm64: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls
2904adc5b1c0 dm thin metadata: THIN_MAX_CONCURRENT_LOCKS should be 6
cabf6294a6dc dm btree: fix serious bug in btree_split_beneath()
ca2d73686720 workqueue: avoid hard lockups in show_workqueue_state()
d314f3bc7f3d libata: apply MAX_SEC_1024 to all LITEON EP1 series devices
8a3f4baaa4c3 proc: fix coredump vs read /proc/*/stat race
43c3e093c26d scripts/gdb/linux/tasks.py: fix get_thread_info
23d68eddd857 can: peak: fix potential bug in packet fragmentation
19f47eafe10c ARM: dts: kirkwood: fix pin-muxing of MPP7 on OpenBlocks A7
1f32f15ec73c ARM: sunxi_defconfig: Enable CMA
969e2145eb4a phy: work around 'phys' references to usb-nop-xceiv devices
9a50ea0ce7cc tracing: Fix converting enum's from the map in trace_event_eval_update()
cb513d1414f9 Input: twl4030-vibra - fix sibling-node lookup
eaabab6468b3 Input: twl6040-vibra - fix child-node lookup
9be13b3357e1 Input: 88pm860x-ts - fix child-node lookup
607b86e17352 Input: ALPS - fix multi-touch decoding on SS4 plus touchpads
9792f9b483cd perf tools: Fix build with ARCH=x86_64
c557481a9491 x86/apic/vector: Fix off by one in error path
5b13f593565f pipe: avoid round_pipe_size() nr_pages overflow on 32-bit
02802dfc82a2 x86/tsc: Fix erroneous TSC rate on Skylake Xeon
5ab44e8f0f0d x86/mm/pkeys: Fix fill_sig_info_pkey
eee0cba7b02f module: Add retpoline tag to VERMAGIC
a96cf98dda3f x86/cpufeature: Move processor tracing out of scattered features
13ccac5de853 objtool: Improve error message for bad file argument
b73d68788f79 x86/retpoline: Add LFENCE to the retpoline/RSB filling RSB macros
abf67b1e7881 x86/retpoline: Fill RSB on context switch for affected CPUs
1ad4f2872c3b sched/deadline: Zero out positive runtime after throttling constrained tasks
997231f9fd7a scsi: hpsa: fix volume offline state
d303d0ca9afb iser-target: Fix possible use-after-free in connection establishment error
0476e6d0b752 af_key: fix buffer overread in parse_exthdrs()
e4dc05ab8f5a af_key: fix buffer overread in verify_address_len()
676109b28cad timers: Unconditionally check deferrable base
4b6e681f5952 ALSA: hda - Apply the existing quirk to iMac 14,1
fae704d5bd29 ALSA: hda - Apply headphone noise quirk for another Dell XPS 13 variant
b9e168a0c629 ALSA: pcm: Remove yet superfluous WARN_ON()
e4ff9f294629 ALSA: seq: Make ioctls race-free
d8a3170db0de futex: Prevent overflow by strengthen input validation
bb7119eea22c scsi: sg: disable SET_FORCE_LOW_DMA
c9ca9d9d9b79 libnvdimm, btt: Fix an incompatibility in the log layout
b8cf9ff79d63 Linux 4.9.77
1b92c48a2eeb x86/pti/efi: broken conversion from efi to kernel page table
92e8f2049474 objtool: Fix retpoline support for pre-ORC objtool
44f1eae7fe65 x86/retpoline: Remove compile time warning
c05d544d5343 selftests/x86: Add test_vsyscall
c1ddd99a0296 x86/retpoline: Fill return stack buffer on vmexit
276e30044710 x86/retpoline/irq32: Convert assembler indirect jumps
a590960ae6ea x86/retpoline/checksum32: Convert assembler indirect jumps
87a1fe36250d x86/retpoline/xen: Convert Xen hypercall indirect jumps
9e37da4c3de1 x86/retpoline/hyperv: Convert assembler indirect jumps
83d7658362cc x86/retpoline/ftrace: Convert ftrace assembler indirect jumps
8b1bacc3218c x86/retpoline/entry: Convert entry assembler indirect jumps
2adc2f74449f x86/retpoline/crypto: Convert crypto assembler indirect jumps
8f96937ee304 x86/spectre: Add boot time option to select Spectre v2 mitigation
2bb5de42f254 x86/retpoline: Add initial retpoline support
4bf050da57d9 x86/asm: Use register variable to get stack pointer value
4d8bd3e2f6b1 objtool: Allow alternatives to be ignored
3adb52ab2976 objtool: Detect jumps to retpoline thunks
35aee626fa63 objtool, modules: Discard objtool annotation sections for modules
00bcb5ada638 x86/mm/32: Move setup_clear_cpu_cap(X86_FEATURE_PCID) earlier
91b7e5cdc80a x86/alternatives: Add missing '\n' at end of ALTERNATIVE inline asm
194dc04770f5 x86/alternatives: Fix optimize_nops() checking
5ddd318a4715 sysfs/cpu: Fix typos in vulnerability documentation
9c5e750c8e84 x86/cpu/AMD: Use LFENCE_RDTSC in preference to MFENCE_RDTSC
abcc3e5f0079 x86/cpu/AMD: Make LFENCE a serializing instruction
45a98824bd79 x86/cpu: Implement CPU vulnerabilites sysfs functions
11ec2df9c020 sysfs/cpu: Add vulnerability folder
56eff367e071 x86/cpu: Merge bugs.c and bugs_64.c
26323fb4d717 x86/cpufeatures: Add X86_BUG_SPECTRE_V[12]
43fe95308d27 x86/pti: Rename BUG_CPU_INSECURE to BUG_CPU_MELTDOWN
d88f601b9ac9 x86/cpufeatures: Add X86_BUG_CPU_INSECURE
c2cacde516a4 x86/cpufeatures: Make CPU bugs sticky
ef463981018e x86/cpu: Factor out application of forced CPU caps
4e6c2af2ba93 x86/Documentation: Add PTI description
d598347989aa e1000e: Fix e1000_check_for_copper_link_ich8lan return value.
3ba5d3a2cf40 uas: ignore UAS for Norelsys NS1068(X) chips
6aebc2670ebf Bluetooth: Prevent stack info leak from the EFS element.
c51d23dffc2e staging: android: ashmem: fix a race condition in ASHMEM_SET_SIZE ioctl
8ab8c6e6607a usbip: vudc_tx: fix v_send_ret_submit() vulnerability to null xfer buffer
86c8d58fc753 usbip: fix vudc_rx: harden CMD_SUBMIT path to handle malicious input
6851ec74bfe4 usbip: remove kernel addresses from usb device and urb debug msgs
435db24bb91f USB: fix usbmon BUG trigger
9f6ca0ea7a7a usb: misc: usb3503: make sure reset is low for at least 100us
11632d079e9e USB: serial: cp210x: add new device ID ELV ALC 8xxx
4abe275c2dee USB: serial: cp210x: add IDs for LifeScan OneTouch Verio IQ
820ef2a0e54c bpf, array: fix overflow in max_entries and undefined behavior in index_mask
a9bfac14cde2 bpf: prevent out-of-bounds speculation
f55093dccd3a bpf: refactor fixup_bpf_calls()
28035366afe9 bpf: move fixup_bpf_calls() function
60c7a9cd5050 target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK
748e1b6281f5 iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref
ec61bafb2abd kaiser: Set _PAGE_NX only if supported
08a752581104 drm/vmwgfx: Potential off by one in vmw_view_add()
012df71d2980 KVM: x86: Add memory barrier on vmcs field lookup
431fd501aa3f x86/microcode/intel: Extend BDW late-loading with a revision check
553a8b8c8d87 rbd: set max_segments to USHRT_MAX
3752d2fb9a6d crypto: algapi - fix NULL dereference in crypto_remove_spawns()
b28394cbb402 net/sched: Fix update of lastuse in act modules implementing stats_update
e2b825e8de16 mlxsw: spectrum_router: Fix NULL pointer deref
16d5b481d098 ethtool: do not print warning for applications using legacy API
dde00c92245d ipv6: fix possible mem leaks in ipv6_make_skb()
6f237183c7ca net: stmmac: enable EEE in MII, GMII or RGMII only
7f4226ffcba0 sh_eth: fix SH7757 GEther initialization
eb2f80e099d4 sh_eth: fix TSU resource handling
ce31b6ac1111 RDS: null pointer dereference in rds_atomic_free_op
cebb382931c4 RDS: Heap OOB write in rds_message_alloc_sgs()
61196a67cac4 net: core: fix module type in sock_diag_bind
ca5681b723d3 ip6_tunnel: disable dst caching if tunnel is dual-stack
fe71f34fbf83 8021q: fix a memory leak for VLAN 0 device
66bb6c2c4445 xhci: Fix ring leak in failure path of xhci_alloc_virt_device()
135f98084eac cx82310_eth: use skb_cow_head() to deal with cloned skbs
7c5015409bef smsc75xx: use skb_cow_head() to deal with cloned skbs
ab4fd7a2ddc5 sr9700: use skb_cow_head() to deal with cloned skbs
542bcc549379 lan78xx: use skb_cow_head() to deal with cloned skbs
1ecdfc1ee99d zswap: don't param_set_charp while holding spinlock
5c1b80f674e9 x86/acpi: Reduce code duplication in mp_override_legacy_irq()
43ff00f87377 ALSA: aloop: Fix racy hw constraints adjustment
5af666d0ddb7 ALSA: aloop: Fix inconsistent format due to incomplete rule
01046dd834ac ALSA: aloop: Release cable upon open error path
bee3f2d5c02a ALSA: pcm: Allow aborting mutex lock at OSS read/write loops
3a00564cb49f ALSA: pcm: Abort properly at pending signal in OSS read/write loops
8e81425e80c9 ALSA: pcm: Add missing error checks in OSS emulation plugin builder
83da0245eda2 ALSA: pcm: Remove incorrect snd_BUG_ON() usages
0199927a8e51 x86/acpi: Handle SCI interrupts above legacy space gracefully
64ab063b7193 platform/x86: wmi: Call acpi_wmi_init() later
491c0ca3dbd5 kvm: vmx: Scrub hardware GPRs at VM-exit
78c00f597ba8 MIPS: Disallow outsized PTRACE_SETREGSET NT_PRFPREG regset accesses
1f4cff1c364b MIPS: Also verify sizeof `elf_fpreg_t' with PTRACE_SETREGSET
cfc5c63a38ca MIPS: Fix an FCSR access API regression with NT_PRFPREG and MSA
f616180a8720 MIPS: Consistently handle buffer counter with PTRACE_SETREGSET
5b593a81fddd MIPS: Guard against any partial write attempt with PTRACE_SETREGSET
8eb5655aacdd MIPS: Factor out NT_PRFPREG regset access helpers
14e1c579acba MIPS: Validate PR_SET_FP_MODE prctl(2) requests against the ABI of the task
30191718645d IB/srpt: Disable RDMA access by the initiator
02f201f78fb9 can: gs_usb: fix return value of the "set_bittiming" callback
c781e3be97a1 KVM: Fix stack-out-of-bounds read in write_mmio
c5ab9ee144d8 ath10k: rebuild crypto header in rx data frames
234c8e60437d mac80211: Add RX flag to indicate ICV stripped
b58aa24edb62 dm bufio: fix shrinker scans when (nr_to_scan < retain_target)
7bbc6ca48877 Linux 4.9.76
5e1f377fc810 mtd: nand: pxa3xx: Fix READOOB implementation
beca4e2d9944 Map the vsyscall page with _PAGE_USER
47f3cea393ab x86/tlb: Drop the _GPL from the cpu_tlbstate export
91dfc41e753b parisc: qemu idle sleep support
14c06206b98f parisc: Fix alignment of pa_tlb_lock in assembly on 32-bit SMP kernel
dd43c465ba24 x86/microcode/AMD: Add support for fam17h microcode loading
2b009d33f427 Input: elantech - add new icbody type 15
cc1349fa9c22 ARC: uaccess: dont use "l" gcc inline asm constraint modifier
e6a897a684c2 iommu/arm-smmu-v3: Cope with duplicated Stream IDs
03975faee7ce iommu/arm-smmu-v3: Don't free page table ops twice
4d53eb494950 kernel/signal.c: remove the no longer needed SIGNAL_UNKILLABLE check in complete_signal()
794ac8ef9b06 kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel_only() signals
1453b3ac6cf8 kernel/signal.c: protect the traced SIGNAL_UNKILLABLE tasks from SIGKILL
79258d983480 kernel: make groups_sort calling a responsibility group_info allocators
3a381abc5b70 nbd: fix use-after-free of rq/bio in the xmit path
2b9b2002e05d fscache: Fix the default for fscache_maybe_release_page()
34fa2eede095 sunxi-rsb: Include OF based modalias in device uevent
c195a4c0230d crypto: pcrypt - fix freeing pcrypt instances
868f50b95dbe crypto: chacha20poly1305 - validate the digest size
f6db86f31b47 crypto: n2 - cure use after free
790080ce0e32 kernel/acct.c: fix the acct->needcheck check in check_free_space()
9f74755895f9 Linux 4.9.75
92fd81f77267 kaiser: Set _PAGE_NX only if supported
ea6cd39d230f KPTI: Report when enabled
e71fac01727a KPTI: Rename to PAGE_TABLE_ISOLATION
59094faf3f61 x86/kaiser: Move feature detection up
402e63de94af kaiser: disabled on Xen PV
2c2721754a7f x86/kaiser: Reenable PARAVIRT
1817d2c2fac1 x86/paravirt: Dont patch flush_tlb_single
fe5cb75fd2dd kaiser: kaiser_flush_tlb_on_return_to_user() check PCID
b72c26e911c5 kaiser: asm/tlbflush.h handle noPGE at lower level
8c2f8a5cc15b kaiser: drop is_atomic arg to kaiser_pagetable_walk()
169b369f99af kaiser: use ALTERNATIVE instead of x86_cr3_pcid_noflush
8018307a45a9 x86/kaiser: Check boottime cmdline params
50624dd12d6d x86/kaiser: Rename and simplify X86_FEATURE_KAISER handling
23e09439aa46 kaiser: add "nokaiser" boot option, using ALTERNATIVE
cb7d8d7e6737 kaiser: fix unlikely error in alloc_ldt_struct()
3df146178706 kaiser: kaiser_remove_mapping() move along the pgd
05ddad146d02 kaiser: paranoid_entry pass cr3 need to paranoid_exit
d0142ceb7926 kaiser: x86_cr3_pcid_noflush and x86_cr3_pcid_user
6a2b4117614c kaiser: PCID 0 for kernel and 128 for user
0b5ca9d99599 kaiser: load_new_mm_cr3() let SWITCH_USER_CR3 flush user
2684b12a169e kaiser: enhanced by kernel and user PCIDs
1972bb9d9206 kaiser: vmstat show NR_KAISERTABLE as nr_overhead
1ce27de4011e kaiser: delete KAISER_REAL_SWITCH option
c27cdea56c54 kaiser: name that 0x1000 KAISER_SHADOW_PGD_OFFSET
61b7a404fa13 kaiser: cleanups while trying for gold link
604db4961085 kaiser: align addition to x86/mm/Makefile
be6bf01f4caa kaiser: tidied up kaiser_add/remove_mapping slightly
67fab0d4acb3 kaiser: tidied up asm/kaiser.h somewhat
f43f386f0bf0 kaiser: ENOMEM if kaiser_pagetable_walk() NULL
f881e626849c kaiser: fix perf crashes
19377944317f kaiser: fix regs to do_nmi() ifndef CONFIG_KAISER
639c005daeeb kaiser: KAISER depends on SMP
7a92e20d157f kaiser: fix build and FIXME in alloc_ldt_struct()
0994a2cf8fe4 kaiser: stack map PAGE_SIZE at THREAD_SIZE-PAGE_SIZE
ac2f1018ac21 kaiser: do not set _PAGE_NX on pgd_none
8f0baadf2bea kaiser: merged update
13be4483bb48 KAISER: Kernel Address Isolation
b5fd58e997cf x86/boot: Add early cmdline parsing for options with arguments
8824b2d7abfb tcp_bbr: reset long-term bandwidth sampling on loss recovery undo
61c51da2b4bd tcp_bbr: reset full pipe detection on loss recovery undo
07bcb2489b96 Linux 4.9.74
181a832c2e26 mm/vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP
d76dabb5af06 tty: fix tty_ldisc_receive_buf() documentation
00fc57ae06c3 n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD)
404ae546c7d1 x86/smpboot: Remove stale TLB flush invocations
e8119ac05d71 nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick()
249d4a9b3246 timers: Reinitialize per cpu bases on hotplug
574e543ff970 timers: Invoke timer_start_debug() where it makes sense
d840687aa8a3 timers: Use deferrable base independent of base::nohz_active
09d3e69305b3 usb: xhci: Add XHCI_TRUST_TX_LENGTH for Renesas uPD720201
ab1fbfecd330 USB: Fix off by one in type-specific length check of BOS SSP capability
425d2f15338d usb: add RESET_RESUME for ELSA MicroLink 56K
0f2e9cbc231c usb: Add device quirk for Logitech HD Pro Webcam C925e
d98f4d4d0283 USB: serial: option: adding support for YUGA CLM920-NC5
192cdf5ecaf8 USB: serial: option: add support for Telit ME910 PID 0x1101
6ab3d87ad702 USB: serial: qcserial: add Sierra Wireless EM7565
0af1aebb6a8b USB: serial: ftdi_sio: add id for Airbus DS P8GR
03dce0573d38 usbip: vhci: stop printing kernel pointer addresses in messages
9e9f4255c0d3 usbip: stub: stop printing kernel pointer addresses in messages
1ef5c433b3b9 usbip: prevent leaking socket pointer address in messages
3c579d0b4f0f usbip: fix usbip bind writing random string after command in match_busid
67b539cab43c s390/qeth: update takeover IPs after configuration change
476d7d693295 s390/qeth: lock IP table while applying takeover changes
475018c79742 s390/qeth: don't apply takeover changes to RXIP
6ed7c48e93bb s390/qeth: apply takeover changes when mode is toggled
7493d98ea84c net/mlx5: Fix error flow in CREATE_QP command
c844a4589487 net/mlx5e: Prevent possible races in VXLAN control flow
604225824f06 net/mlx5e: Add refcount to VXLAN structure
d1614fd9cd10 net/mlx5e: Fix possible deadlock of VXLAN lock
9424a79ec11d net/mlx5e: Fix features check of IPv6 traffic
138723912343 net/mlx5: Fix rate limit packet pacing naming and struct
e74fe7268e7e tcp: invalidate rate samples during SACK reneging
58f6ebbd3424 sock: free skb in skb_complete_tx_timestamp on error
a746fadd5e31 net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround
03c93293a83a net: Fix double free and memory corruption in get_net_ns_by_id()
8c38f3190fd6 net: fec: Allow reception of frames bigger than 1522 bytes
243adaa4eaea net: bridge: fix early call to br_stp_change_bridge_id and plug newlink leaks
e4f669802775 ipv4: Fix use-after-free when flushing FIB tables
e51abae8458a adding missing rcu_read_unlock in ipxip6_rcv
ae67e5486b97 sctp: Replace use of sockets_allocated with specified macro.
99cf2daf0da3 net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case
f75f910ffa90 net: ipv4: fix for a race condition in raw_sendmsg
484369ff9715 tg3: Fix rx hang on MTU change with 5717/5719
7887a700ce61 tcp md5sig: Use skb's saddr when replying to an incoming segment
a4bf8efd2bcb tcp_bbr: record "full bw reached" decision in new full_bw_reached bit
53288d82188b RDS: Check cmsg_len before dereferencing CMSG_DATA
8b032bde2899 ptr_ring: add barriers
b3b56038bab0 net: reevalulate autoflowlabel setting after sysctl setting
8baa58c5d536 net: qmi_wwan: add Sierra EM7565 1199:9091
0b18782288a2 netlink: Add netns check on taps
2c1a0b2e2bac net: igmp: Use correct source address on IGMPv3 reports
930882f8b831 net: fec: unmap the xmit buffer that are not transferred by DMA
f6d7cdbb0285 ipv6: mcast: better catch silly mtu values
c2f78bf8ca3a ipv4: igmp: guard against silly MTU values
b929ccccbc8c kbuild: add '-fno-stack-check' to kernel build options
04bdf71d9f74 x86/mm/64: Fix reboot interaction with CR4.PCIDE
b52f937eccd4 x86/mm: Enable CR4.PCIDE on supported systems
e6a29320de00 x86/mm: Add the 'nopcid' boot option to turn off PCID
1e7f3d8875ee x86/mm: Disable PCID on 32-bit kernels
3e5daacf6517 x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) SMP code
a94af050080f x86/mm: Reimplement flush_tlb_page() using flush_tlb_mm_range()
113980c002eb x86/mm: Make flush_tlb_mm_range() more predictable
219acedb061c x86/mm: Remove flush_tlb() and flush_tlb_current_task()
72b812d5b874 x86/vm86/32: Switch to flush_tlb_mm_range() in mark_screen_rdonly()
65ca46e5fe12 ALSA: hda - fix headset mic detection issue on a Dell machine
a1dbcd823a30 ALSA: hda: Drop useless WARN_ON()
d30d1761bc43 ASoC: tlv320aic31xx: Fix GPIO1 register definition
b04640a450d3 ASoC: twl4030: fix child-node lookup
00add00ed2c0 ASoC: fsl_ssi: AC'97 ops need regmap, clock and cleaning up on failure
35f87d45cba3 ASoC: da7218: fix fix child-node lookup
125e81b5afcb ASoC: wm_adsp: Fix validation of firmware and coeff lengths
72d5e020c0ef iw_cxgb4: Only validate the MSN for successful completions
2e0d458c315a ring-buffer: Mask out the info bits when returning buffer page length
81e155e7b023 tracing: Fix crash when it fails to alloc ring buffer
5dc4cd2688e3 tracing: Fix possible double free on failure of allocating trace buffer
6edea15d120c tracing: Remove extra zeroing out of the ring buffer page
3d16a1315add sync objtool's copy of x86-opcode-map.txt
b3e88217e2f9 Linux 4.9.73
37435f7e80ef bpf/verifier: Fix states_equal() comparison of pointer and UNKNOWN
69cf72b28791 net: mvneta: eliminate wrong call to handle rx descriptor error
a57f99f484e5 net: mvneta: use proper rxq_number in loop on rx queues
405f3d7946fd net: mvneta: clear interface link status on port disable
423716cf2815 libnvdimm, pfn: fix start_pad handling for aligned namespaces
77b318a4e558 powerpc/perf: Dereference BHRB entries safely
2635a64d0e94 clk: sunxi: sun9i-mmc: Implement reset callback for reset controls
18276e9bcd49 kvm: x86: fix RSM when PCID is non-zero
e5c73b3b60e1 KVM: X86: Fix load RFLAGS w/o the fixed bit
418dfce4fa63 pinctrl: cherryview: Mask all interrupts on Intel_Strago based systems
cb8b2fd1909e spi: xilinx: Detect stall with Unknown commands
373386ec3f70 parisc: Hide Diva-built-in serial aux and graphics card
10b4a621f367 PCI / PM: Force devices to D0 in pci_pm_thaw_noirq()
3176065495e1 ALSA: usb-audio: Fix the missing ctl name suffix at parsing SU
beab14a3eeb8 ALSA: usb-audio: Add native DSD support for Esoteric D-05X
cec92448c58e ALSA: rawmidi: Avoid racy info ioctl via ctl device
becf7d87cda9 mfd: twl6040: Fix child-node lookup
f4c0796fdc8b mfd: twl4030-audio: Fix sibling-node lookup
2db85cb211d0 mfd: cros ec: spi: Don't send first message too soon
e81cff1cedef crypto: mcryptd - protect the per-CPU queue with a lock
d31a207aaf07 acpi, nfit: fix health event notification
54c74d38819d ACPI: APEI / ERST: Fix missing error handling in erst_reader()
2df397931072 Linux 4.9.72
6430e166aee8 sparc32: Export vac_cache_size to fix build error
3695b3b18519 bpf: fix incorrect sign extension in check_alu_op()
d75d3ee237ce bpf: reject out-of-bounds stack pointer calculation
7b5b73ea87a0 bpf: fix branch pruning logic
565f012f5abb bpf: adjust insn_aux_data when patching insns
3b6c84bc6449 Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"
dbeb719e24c3 platform/x86: asus-wireless: send an EV_SYN/SYN_REPORT between state changes
00ecb4b1a599 MIPS: math-emu: Fix final emulation phase for certain instructions
3cff90788e28 thermal/drivers/hisi: Fix multiple alarm interrupts firing
1b2c46a6be45 thermal/drivers/hisi: Simplify the temperature/step computation
2dac559df962 thermal/drivers/hisi: Fix kernel panic on alarm interrupt
b679b8d7bad0 thermal/drivers/hisi: Fix missing interrupt enablement
82bf76afa8af thermal: hisilicon: Handle return value of clk_prepare_enable
b86c7b8c5dfb cpuidle: fix broadcast control when broadcast can not be entered
15319d2a49ca rtc: set the alarm to the next expiring timer
acc96729e1d8 tcp: fix under-evaluated ssthresh in TCP Vegas
5859027994f9 clk: sunxi-ng: sun6i: Rename HDMI DDC clock to avoid name collision
bb0618ac2302 staging: greybus: light: Release memory obtained by kasprintf
4bf42a2ec12a net: ipv6: send NS for DAD when link operationally up
52d0a601aec4 fm10k: ensure we process SM mbx when processing VF mbx
76d83bfc1158 vfio/pci: Virtualize Maximum Payload Size
de5a4c816d31 scsi: lpfc: PLOGI failures during NPIV testing
b438d2f7e23c scsi: lpfc: Fix secure firmware updates
fc9d6386a9a3 fm10k: fix mis-ordered parameters in declaration for .ndo_set_vf_bw
bd0feaac155f ASoC: img-parallel-out: Add pm_runtime_get/put to set_fmt callback
6af9b18a2e48 tracing: Exclude 'generic fields' from histograms
fbb2d72a54c6 PCI/AER: Report non-fatal errors only to the affected endpoint
1d4b32bee9c7 IB/rxe: check for allocation failure on elem
2141182852b8 ixgbe: fix use of uninitialized padding
700053c8733e igb: check memory allocation failure
c236525bae02 PM / OPP: Move error message to debug level
164a941c031b PCI: Create SR-IOV virtfn/physfn links before attaching driver
b40eeea31afd scsi: mpt3sas: Fix IO error occurs on pulling out a drive from RAID1 volume created on two SATA drive
fd1d9dccc01d scsi: cxgb4i: fix Tx skb leak
241833a3a90d PCI: Avoid bus reset if bridge itself is broken
d3469e616668 net: phy: at803x: Change error to EINVAL for invalid MAC
206e1621ba72 kvm, mm: account kvm related kmem slabs to kmemcg
bdb33bb5e2ce rtc: pl031: make interrupt optional
1525e330d646 crypto: crypto4xx - increase context and scatter ring buffer elements
291c7e488f64 backlight: pwm_bl: Fix overflow condition
d14718c9f434 bnxt_en: Fix NULL pointer dereference in reopen failure path
9e1771368a98 cpuidle: powernv: Pass correct drv->cpumask for registration
5460e4672b81 ARM: dma-mapping: disallow dma_get_sgtable() for non-kernel managed memory
9c1433b5dd2b Btrfs: fix an integer overflow check
0708a476810d netfilter: nfnetlink_queue: fix secctx memory leak
54420c1ac421 xhci: plat: Register shutdown for xhci_plat
55b6a5d080aa net: moxa: fix TX overrun memory leak
ce19146a0de0 isdn: kcapi: avoid uninitialized data
bb011a451387 virtio_balloon: prevent uninitialized variable use
c6f9090929dc virtio-balloon: use actual number of stats for stats queue buffers
808ed3bd9d42 KVM: pci-assign: do not map smm memory slot pages in vt-d page tables
29c4f517ff5b net: ipconfig: fix ic_close_devs() use-after-free
e9a1ba292fff cpufreq: Fix creation of symbolic links to policy directories
e0d13153057e ARM: dts: am335x-evmsk: adjust mmc2 param to allow suspend
b5ed572a1b7d netfilter: nf_nat_snmp: Fix panic when snmp_trap_helper fails to register
01060acf6aab netfilter: nfnl_cthelper: fix a race when walk the nf_ct_helper_hash table
9e6398184a4d irda: vlsi_ir: fix check for DMA mapping errors
37f41dac70ca RDMA/iser: Fix possible mr leak on device removal event
661f5348696a i40e: Do not enable NAPI on q_vectors that have no rings
2eb783a705b0 IB/rxe: increment msn only when completing a request
2f0e39f2e3d7 IB/rxe: double free on error
7f077afe94d9 net: Do not allow negative values for busy_read and busy_poll sysctl interfaces
521a7e3dad6b nbd: set queue timeout properly
f4fcc56632cf infiniband: Fix alignment of mmap cookies to support VIPT caching
cd083d5bcafd IB/core: Protect against self-requeue of a cq work item
26452a5033dc i40iw: Receive netdev events post INET_NOTIFIER state
102a8a163449 bna: avoid writing uninitialized data into hw registers
51533c4bf144 s390/qeth: no ETH header for outbound AF_IUCV
118b0404d68d s390/qeth: size calculation outbound buffers
60d59823046a r8152: prevent the driver from transmitting packets with carrier off
b89e229112c0 ASoC: STI: Fix reader substream pointer set
347848e0bb99 HID: xinmo: fix for out of range for THT 2P arcade controller.
afa055f2a1d0 hwmon: (asus_atk0110) fix uninitialized data access
5700ffc4accb ARM: dts: ti: fix PCI bus dtc warnings
2df19698db73 KVM: VMX: Fix enable VPID conditions
e0249c023448 KVM: x86: correct async page present tracepoint
8386ff5203e0 kvm: vmx: Flush TLB when the APIC-access address changes
3bd2017b6a20 scsi: lpfc: Fix PT2PT PRLI reject
0f4aa1f0f576 pinctrl: st: add irq_request/release_resources callbacks
7656871eff6a inet: frag: release spinlock before calling icmp_send()
e6e8067ec34a tipc: fix nametbl deadlock at tipc_nametbl_unsubscribe
bfb38fbd868d r8152: fix the rx early size of RTL8153
7171aa2680b2 iommu/exynos: Workaround FLPD cache flush issues for SYSMMU v5
0f0ac218057f netfilter: nfnl_cthelper: Fix memory leak
ec38fb443a09 netfilter: nfnl_cthelper: fix runtime expectation policy updates
02197d86c56d usb: gadget: udc: remove pointer dereference after free
2b943bed33e7 usb: gadget: f_uvc: Sanity check wMaxPacketSize for SuperSpeed
2101ccbc2a91 hwmon: (max31790) Set correct PWM value
4ee082a72731 net: qmi_wwan: Add USB IDs for MDM6600 modem on Motorola Droid 4
9ed8f0fabae5 sctp: out_qlen should be updated when pruning unsent queue
b4cf187a1bc5 bna: integer overflow bug in debugfs
b3f662ccd367 sch_dsmark: fix invalid skb_cow() usage
98d20e590266 vsock: cancel packets when failing to connect
482b3f92aea2 vhost-vsock: add pkt cancel capability
6f1848e778d9 vsock: track pkt owner vsock
7ff28d3307b6 crypto: deadlock between crypto_alg_sem/rtnl_mutex/genl_mutex
ddfc9f75993e r8152: fix the list rx_done may be used without initialization
9712b2b73d7c cpuidle: Validate cpu_dev in cpuidle_add_sysfs()
8f21b63c9dcf nvme-loop: handle cpu unplug when re-establishing the controller
c9bbd2727d1e arm: kprobes: Align stack to 8-bytes in test code
d0ee8d5b86b8 arm: kprobes: Fix the return address of multiple kretprobes
6e2a6941fa4b HID: corsair: Add driver Scimitar Pro RGB gaming mouse 1b1c:1b3e support to hid-corsair
e93ea3a50cc6 HID: corsair: support for K65-K70 Rapidfire and Scimitar Pro RGB
2a7eee3d72b0 kvm: fix usage of uninit spinlock in avic_vm_destroy()
2d9a34c064ad ALSA: hda - add support for docking station for HP 840 G3
52c3323e4141 ALSA: hda - add support for docking station for HP 820 G2
bb95f1caee61 arm64: Initialise high_memory global variable earlier
76fcdc8cbbce cxl: Check if vphb exists before iterating over AFU devices
(From OE-Core rev: 5836f31aad5cb5772e899fa02e6716ab48dd1d01)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg 4.4 -stable releases up to 113. These include
Spectre and Meltdown mitigation patches. Changelog follows:
f0d0a93b0e81 Linux 4.4.113
38bc402237f8 MIPS: AR7: ensure the port type's FCR value is used
11e619414b69 x86/retpoline: Optimize inline assembler for vmexit_fill_RSB
58f96ac5dba6 x86/pti: Document fix wrong index
6cb73eb80451 kprobes/x86: Disable optimizing on the function jumps to indirect thunk
9b8bd0d35868 kprobes/x86: Blacklist indirect thunk functions for kprobes
799dc737680a retpoline: Introduce start/end markers of indirect thunk
f59e7ce17ba3 x86/mce: Make machine check speculation protected
ff535919c136 kbuild: modversions for EXPORT_SYMBOL() for asm
6b1c99e275c0 x86/cpu, x86/pti: Do not enable PTI on AMD processors
5ecd5c8388f0 arm64: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls
7e7b086ef2fe dm thin metadata: THIN_MAX_CONCURRENT_LOCKS should be 6
9c7755af771a dm btree: fix serious bug in btree_split_beneath()
b7bd013a3fe0 libata: apply MAX_SEC_1024 to all LITEON EP1 series devices
082dfe6141f3 can: peak: fix potential bug in packet fragmentation
2d5523bf47b4 ARM: dts: kirkwood: fix pin-muxing of MPP7 on OpenBlocks A7
d5276c013713 phy: work around 'phys' references to usb-nop-xceiv devices
cf3625004e6c tracing: Fix converting enum's from the map in trace_event_eval_update()
b6306f3fdcaa Input: twl4030-vibra - fix sibling-node lookup
a89e1ac9b0da Input: twl6040-vibra - fix child-node lookup
8e70d4862271 Input: twl6040-vibra - fix DT node memory management
47970b4ea09c Input: 88pm860x-ts - fix child-node lookup
7fd133539289 x86/apic/vector: Fix off by one in error path
aa041f13f8c6 pipe: avoid round_pipe_size() nr_pages overflow on 32-bit
1782af2835fe module: Add retpoline tag to VERMAGIC
fba063e6dfb4 x86/retpoline: Add LFENCE to the retpoline/RSB filling RSB macros
8bd58b61d2fa sched/deadline: Zero out positive runtime after throttling constrained tasks
ec7a002d7796 scsi: hpsa: fix volume offline state
b78f2d36e737 af_key: fix buffer overread in parse_exthdrs()
48907f2535aa af_key: fix buffer overread in verify_address_len()
478a7fa82ff7 ALSA: hda - Apply the existing quirk to iMac 14,1
a4d7639d5fb6 ALSA: hda - Apply headphone noise quirk for another Dell XPS 13 variant
80547bb6154d ALSA: pcm: Remove yet superfluous WARN_ON()
58c82be944f5 futex: Prevent overflow by strengthen input validation
f1fcb9d2926c scsi: sg: disable SET_FORCE_LOW_DMA
451725c3e785 x86/retpoline: Remove compile time warning
eebc3f8adee0 x86/retpoline: Fill return stack buffer on vmexit
f72655b837eb x86/retpoline/irq32: Convert assembler indirect jumps
7e5bb301bd2f x86/retpoline/checksum32: Convert assembler indirect jumps
6b222e7483af x86/retpoline/xen: Convert Xen hypercall indirect jumps
d2beed45635e x86/retpoline/hyperv: Convert assembler indirect jumps
7153a6d5ff05 x86/retpoline/ftrace: Convert ftrace assembler indirect jumps
028083cb02db x86/retpoline/entry: Convert entry assembler indirect jumps
9fe55976f0c8 x86/retpoline/crypto: Convert crypto assembler indirect jumps
9f789bc5711b x86/spectre: Add boot time option to select Spectre v2 mitigation
3c5e10905263 x86/retpoline: Add initial retpoline support
675901851fd2 kconfig.h: use __is_defined() to check if MODULE is defined
a88693d00698 EXPORT_SYMBOL() for asm
b8e7a489b518 x86/asm: Make asm/alternative.h safe from assembly
b76ac90af34d x86/kbuild: enable modversions for symbols exported from asm
cfc8c1d61e46 x86/asm: Use register variable to get stack pointer value
416f66509fce x86/mm/32: Move setup_clear_cpu_cap(X86_FEATURE_PCID) earlier
642ce1bb5ea6 x86/cpu/AMD: Use LFENCE_RDTSC in preference to MFENCE_RDTSC
20c28c04a6bc x86/cpu/AMD: Make LFENCE a serializing instruction
e6c591e7a430 gcov: disable for COMPILE_TEST
42375c1120d5 Linux 4.4.112
125d76412866 selftests/x86: Add test_vsyscall
999d4f1961fa x86/alternatives: Add missing '\n' at end of ALTERNATIVE inline asm
e997d991ab2b x86/alternatives: Fix optimize_nops() checking
433d7851e5ca sysfs/cpu: Fix typos in vulnerability documentation
72cf81e43ba4 x86/cpu: Implement CPU vulnerabilites sysfs functions
73492b686012 sysfs/cpu: Add vulnerability folder
9718bf5f4ebb x86/cpu: Merge bugs.c and bugs_64.c
caae411b6ee0 x86/cpufeatures: Add X86_BUG_SPECTRE_V[12]
6349cab425ce x86/pti: Rename BUG_CPU_INSECURE to BUG_CPU_MELTDOWN
07c7aa5e7e8a x86/cpufeatures: Add X86_BUG_CPU_INSECURE
65b28590de24 x86/cpufeatures: Make CPU bugs sticky
18b849b18d1c x86/cpu: Factor out application of forced CPU caps
d013f41d0cc5 x86/Documentation: Add PTI description
cf9f240627b4 e1000e: Fix e1000_check_for_copper_link_ich8lan return value.
10a4324500ff uas: ignore UAS for Norelsys NS1068(X) chips
0ae86454c435 Bluetooth: Prevent stack info leak from the EFS element.
b4106c55b574 staging: android: ashmem: fix a race condition in ASHMEM_SET_SIZE ioctl
27a194bc8d21 usbip: remove kernel addresses from usb device and urb debug msgs
3f577093c511 USB: fix usbmon BUG trigger
92e8ba1ea050 usb: misc: usb3503: make sure reset is low for at least 100us
e4c9428d035b USB: serial: cp210x: add new device ID ELV ALC 8xxx
a962c95895a7 USB: serial: cp210x: add IDs for LifeScan OneTouch Verio IQ
531a2595ce1a target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK
694c1ed559c8 iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref
095b0ba360ff bpf, array: fix overflow in max_entries and undefined behavior in index_mask
9a7fad4c0e21 bpf: prevent out-of-bounds speculation
648064515d0d bpf: adjust insn_aux_data when patching insns
19614eee0644 bpf: refactor fixup_bpf_calls()
14c7c55f4527 bpf: move fixup_bpf_calls() function
0748b80e4325 bpf: don't (ab)use instructions to store state
087a92287dba bpf: add bpf_patch_insn_single helper
c18b1bda4933 kaiser: Set _PAGE_NX only if supported
0b6231faa212 drm/vmwgfx: Potential off by one in vmw_view_add()
6785f955bcb6 KVM: x86: Add memory barrier on vmcs field lookup
7d1bef0f6037 x86/microcode/intel: Extend BDW late-loading with a revision check
c77dd7b425cd rbd: set max_segments to USHRT_MAX
68829e75666e crypto: algapi - fix NULL dereference in crypto_remove_spawns()
608644ac89aa ipv6: fix possible mem leaks in ipv6_make_skb()
b188ce30cc1b net: stmmac: enable EEE in MII, GMII or RGMII only
f574e2e8c6cf sh_eth: fix SH7757 GEther initialization
29ca856bb76a sh_eth: fix TSU resource handling
44496521c6bd RDS: null pointer dereference in rds_atomic_free_op
10d06ed9a189 RDS: Heap OOB write in rds_message_alloc_sgs()
d19b5ed46cce net: core: fix module type in sock_diag_bind
b9f16497eec2 ip6_tunnel: disable dst caching if tunnel is dual-stack
0e1cadec4187 8021q: fix a memory leak for VLAN 0 device
7ec5d87df34a x86/pti/efi: broken conversion from efi to kernel page table
cc0e36105661 Revert "userfaultfd: selftest: vm: allow to build in vm/ directory"
3ae43090f13b xhci: Fix ring leak in failure path of xhci_alloc_virt_device()
6321e1753563 sysrq: Fix warning in sysrq generated crash.
6f61bd5c4ff5 hwrng: core - sleep interruptible in read
f065b5f78d17 x86/mm/pat, /dev/mem: Remove superfluous error message
146001aeb9af cx82310_eth: use skb_cow_head() to deal with cloned skbs
be48b6ee6d07 smsc75xx: use skb_cow_head() to deal with cloned skbs
36a1c87f57f6 sr9700: use skb_cow_head() to deal with cloned skbs
efca4f469475 lan78xx: use skb_cow_head() to deal with cloned skbs
ad196359a6d1 r8152: adjust ALDPS function
a37ff616d720 r8152: use test_and_clear_bit
9d614746ea0b r8152: fix the wake event
ea6f411117e1 usb: musb: ux500: Fix NULL pointer dereference at system PM
829b82508c55 usbvision fix overflow of interfaces array
bd44e3f19d14 locking/mutex: Allow next waiter lockless wakeup
1920b8a6a6ed futex: Replace barrier() in unqueue_me() with READ_ONCE()
e143f5d26258 locks: don't check for race with close when setting OFD lock
c4eafbc2ba11 zswap: don't param_set_charp while holding spinlock
eeca23f21cfb mm/zswap: use workqueue to destroy pool
45c26b0736ef mm/page-writeback: fix dirty_ratelimit calculation
9780795fc1e5 mm/compaction: pass only pageblock aligned range to pageblock_pfn_to_page
756000bec7c1 mm/compaction: fix invalid free_pfn and compact_cached_free_pfn
0e82bbca5896 x86/acpi: Reduce code duplication in mp_override_legacy_irq()
d091a2bb8c2e ALSA: aloop: Fix racy hw constraints adjustment
a9cad56436f4 ALSA: aloop: Fix inconsistent format due to incomplete rule
3d3b2c61e1be ALSA: aloop: Release cable upon open error path
fa6c1876ecf7 ALSA: pcm: Allow aborting mutex lock at OSS read/write loops
9bb4bb18ccff ALSA: pcm: Abort properly at pending signal in OSS read/write loops
1ee7bc5526d8 ALSA: pcm: Add missing error checks in OSS emulation plugin builder
3074fe070a89 ALSA: pcm: Remove incorrect snd_BUG_ON() usages
f511ba8a5084 iommu/arm-smmu-v3: Don't free page table ops twice
745a0d9c1a8e x86/acpi: Handle SCI interrupts above legacy space gracefully
1a699374533b x86/vsdo: Fix build on PARAVIRT_CLOCK=y, KVM_GUEST=n
8d383ff7deaa kvm: vmx: Scrub hardware GPRs at VM-exit
0753661d5b17 net/mac80211/debugfs.c: prevent build failure with CONFIG_UBSAN=y
f2c131d05d86 MIPS: Disallow outsized PTRACE_SETREGSET NT_PRFPREG regset accesses
725679dc78a9 MIPS: Also verify sizeof `elf_fpreg_t' with PTRACE_SETREGSET
9584ae52bd7e MIPS: Fix an FCSR access API regression with NT_PRFPREG and MSA
a6972f8bd2b6 MIPS: Consistently handle buffer counter with PTRACE_SETREGSET
e68049f6a9e8 MIPS: Guard against any partial write attempt with PTRACE_SETREGSET
b1e808b9de5c MIPS: Factor out NT_PRFPREG regset access helpers
1e918a43cbf0 MIPS: Validate PR_SET_FP_MODE prctl(2) requests against the ABI of the task
6c2c83eb1b0d IB/srpt: Disable RDMA access by the initiator
a71d6de9718e can: gs_usb: fix return value of the "set_bittiming" callback
eb91461daa77 KVM: Fix stack-out-of-bounds read in write_mmio
cbb1cc722aaa dm bufio: fix shrinker scans when (nr_to_scan < retain_target)
c5ae3a6aa1a3 Linux 4.4.111
516fa79e77f7 Fix build error in vma.c
6dcf5491e01c Map the vsyscall page with _PAGE_USER
90191f71d749 proc: much faster /proc/vmstat
c819a67f7ee9 module: Issue warnings when tainting kernel
7e35bc655ec1 module: keep percpu symbols in module's symtab
104fd57d391a genksyms: Handle string literals with spaces in reference files
a4c1c75373bf x86/tlb: Drop the _GPL from the cpu_tlbstate export
d5bbffc0501d parisc: Fix alignment of pa_tlb_lock in assembly on 32-bit SMP kernel
3db597feef08 x86/microcode/AMD: Add support for fam17h microcode loading
0a99730ae0cc Input: elantech - add new icbody type 15
30ce9c8dbc42 ARC: uaccess: dont use "l" gcc inline asm constraint modifier
5f1aa83c58aa kernel/signal.c: remove the no longer needed SIGNAL_UNKILLABLE check in complete_signal()
7a7f54f8e390 kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel_only() signals
be95f1308f79 kernel/signal.c: protect the traced SIGNAL_UNKILLABLE tasks from SIGKILL
58330ec2fecd kernel: make groups_sort calling a responsibility group_info allocators
d1698dc8a590 fscache: Fix the default for fscache_maybe_release_page()
7cbb4a2305f8 sunxi-rsb: Include OF based modalias in device uevent
3ad85176e78d crypto: pcrypt - fix freeing pcrypt instances
869994e0bd29 crypto: chacha20poly1305 - validate the digest size
0b72e17dde6e crypto: n2 - cure use after free
83875f582596 kernel/acct.c: fix the acct->needcheck check in check_free_space()
b17b901f0fea x86/kasan: Write protect kasan zero shadow
b3e3db15b450 Linux 4.4.110
b33c3c64c478 kaiser: Set _PAGE_NX only if supported
2b24fe5c57af x86/kasan: Clear kasan_zero_page after TLB flush
755bd549d932 x86/vdso: Get pvclock data from the vvar VMA instead of the fixmap
64e239804e21 x86, vdso, pvclock: Simplify and speed up the vdso pvclock reader
bfd51a4d715b KPTI: Report when enabled
3e1457d6bf26 KPTI: Rename to PAGE_TABLE_ISOLATION
7f79599df9c4 x86/kaiser: Move feature detection up
e4ba212ec641 kaiser: disabled on Xen PV
750fb627d764 x86/kaiser: Reenable PARAVIRT
3e809caffdd7 x86/paravirt: Dont patch flush_tlb_single
8eaca4c7d9f1 kaiser: kaiser_flush_tlb_on_return_to_user() check PCID
0651b3ad99dd kaiser: asm/tlbflush.h handle noPGE at lower level
28c6de544174 kaiser: drop is_atomic arg to kaiser_pagetable_walk()
2dff99eb0335 kaiser: use ALTERNATIVE instead of x86_cr3_pcid_noflush
e405a064bd7d x86/kaiser: Check boottime cmdline params
dea9aa9ffae1 x86/kaiser: Rename and simplify X86_FEATURE_KAISER handling
e345dcc94815 kaiser: add "nokaiser" boot option, using ALTERNATIVE
500943e57db8 kaiser: fix unlikely error in alloc_ldt_struct()
d41f46f77895 kaiser: _pgd_alloc() without __GFP_REPEAT to avoid stalls
fc8334e6b3e5 kaiser: paranoid_entry pass cr3 need to paranoid_exit
20268a10ffec kaiser: x86_cr3_pcid_noflush and x86_cr3_pcid_user
3b4ce0e1a172 kaiser: PCID 0 for kernel and 128 for user
0731188fc74c kaiser: load_new_mm_cr3() let SWITCH_USER_CR3 flush user
eb82151d0b1d kaiser: enhanced by kernel and user PCIDs
3e3d38fd9832 kaiser: vmstat show NR_KAISERTABLE as nr_overhead
b9d2ccc54e17 kaiser: delete KAISER_REAL_SWITCH option
aeda21d77e22 kaiser: name that 0x1000 KAISER_SHADOW_PGD_OFFSET
c52e55a2a82d kaiser: cleanups while trying for gold link
f127705d26b3 kaiser: kaiser_remove_mapping() move along the pgd
0c68228f7b39 kaiser: tidied up kaiser_add/remove_mapping slightly
5fbd46c4be78 kaiser: tidied up asm/kaiser.h somewhat
407c3ff6a24c kaiser: ENOMEM if kaiser_pagetable_walk() NULL
20cbe9a3aa2e kaiser: fix perf crashes
487f0b73d826 kaiser: fix regs to do_nmi() ifndef CONFIG_KAISER
d94df20135cc kaiser: KAISER depends on SMP
9b94cf97f42c kaiser: fix build and FIXME in alloc_ldt_struct()
003e47671690 kaiser: stack map PAGE_SIZE at THREAD_SIZE-PAGE_SIZE
edde73205b3f kaiser: do not set _PAGE_NX on pgd_none
bed9bb7f3e6d kaiser: merged update
8a43ddfb93a0 KAISER: Kernel Address Isolation
0fa147b40747 x86/boot: Add early cmdline parsing for options with arguments
e68d6189c787 Linux 4.4.109
5d67dbef745b mm/vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP
2e3883922530 n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD)
977614061c3d x86/smpboot: Remove stale TLB flush invocations
458ed3179948 nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick()
46e9398c96af usb: xhci: Add XHCI_TRUST_TX_LENGTH for Renesas uPD720201
0ceb7a66392d USB: Fix off by one in type-specific length check of BOS SSP capability
c359123bfdd2 usb: add RESET_RESUME for ELSA MicroLink 56K
955ae55f2d16 usb: Add device quirk for Logitech HD Pro Webcam C925e
e8cd11a935dd USB: serial: option: adding support for YUGA CLM920-NC5
140cfcc8b093 USB: serial: option: add support for Telit ME910 PID 0x1101
232972f73936 USB: serial: qcserial: add Sierra Wireless EM7565
24162c1781c1 USB: serial: ftdi_sio: add id for Airbus DS P8GR
76f611cbdbb4 usbip: vhci: stop printing kernel pointer addresses in messages
feeae6411a1a usbip: stub: stop printing kernel pointer addresses in messages
e0362688b4fa usbip: fix usbip bind writing random string after command in match_busid
3f54a6d41d44 sock: free skb in skb_complete_tx_timestamp on error
623bfb5818ab net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround
5854ca90c6c6 net: Fix double free and memory corruption in get_net_ns_by_id()
dd1e454c4d74 net: bridge: fix early call to br_stp_change_bridge_id and plug newlink leaks
169a9861c638 ipv4: Fix use-after-free when flushing FIB tables
4033c396f80c sctp: Replace use of sockets_allocated with specified macro.
ca57949d169e net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case
be27b620a861 net: ipv4: fix for a race condition in raw_sendmsg
6dfc02ba5149 tg3: Fix rx hang on MTU change with 5717/5719
6925223ab320 tcp md5sig: Use skb's saddr when replying to an incoming segment
e0bdd21a86c5 net: reevalulate autoflowlabel setting after sysctl setting
06525d5b8ea8 net: qmi_wwan: add Sierra EM7565 1199:9091
f778ce6faa0d netlink: Add netns check on taps
373b423038a8 net: igmp: Use correct source address on IGMPv3 reports
0a8cb76e11d9 ipv6: mcast: better catch silly mtu values
3d406a18bd94 ipv4: igmp: guard against silly MTU values
1cd09d4b38a2 kbuild: add '-fno-stack-check' to kernel build options
6c4db09c291a x86/mm/64: Fix reboot interaction with CR4.PCIDE
fd0504525efd x86/mm: Enable CR4.PCIDE on supported systems
dcccd3c266e2 x86/mm: Add the 'nopcid' boot option to turn off PCID
78043e5b6fb2 x86/mm: Disable PCID on 32-bit kernels
b2e24274d50e x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) SMP code
3efba6062a41 x86/mm: Reimplement flush_tlb_page() using flush_tlb_mm_range()
9f4d1ba1d407 x86/mm: Make flush_tlb_mm_range() more predictable
227d6f0e79f8 x86/mm: Remove flush_tlb() and flush_tlb_current_task()
6ce9d1e6819e x86/vm86/32: Switch to flush_tlb_mm_range() in mark_screen_rdonly()
c04ed3a84961 ALSA: hda - fix headset mic detection issue on a Dell machine
0ba2ebc9f355 ALSA: hda: Drop useless WARN_ON()
5251932b974d ASoC: twl4030: fix child-node lookup
3096ced5a939 ASoC: fsl_ssi: AC'97 ops need regmap, clock and cleaning up on failure
becb0c6409ad iw_cxgb4: Only validate the MSN for successful completions
9dc9648942b1 ring-buffer: Mask out the info bits when returning buffer page length
25fade614be3 tracing: Fix crash when it fails to alloc ring buffer
c2a62f84d49f tracing: Fix possible double free on failure of allocating trace buffer
075242101627 tracing: Remove extra zeroing out of the ring buffer page
87060303469c net: mvneta: clear interface link status on port disable
b7aac649af10 powerpc/perf: Dereference BHRB entries safely
5a62acc900e9 kvm: x86: fix RSM when PCID is non-zero
c9b5338394f2 KVM: X86: Fix load RFLAGS w/o the fixed bit
0bf0c45449c3 spi: xilinx: Detect stall with Unknown commands
46865ecdd061 parisc: Hide Diva-built-in serial aux and graphics card
727b641b35dd PCI / PM: Force devices to D0 in pci_pm_thaw_noirq()
6b08ff879603 ALSA: usb-audio: Fix the missing ctl name suffix at parsing SU
af1195354355 ALSA: rawmidi: Avoid racy info ioctl via ctl device
e7f1c0da02fb mfd: twl6040: Fix child-node lookup
ee54e7a18e56 mfd: twl4030-audio: Fix sibling-node lookup
381d368c9954 mfd: cros ec: spi: Don't send first message too soon
2e234e707f7f crypto: mcryptd - protect the per-CPU queue with a lock
db09203e3252 ACPI: APEI / ERST: Fix missing error handling in erst_reader()
03028e068a1f Linux 4.4.108
1cfeaadfd1b4 alpha: fix build failures
d126c47656da ALSA: hda - Fix yet another i915 pointer leftover in error path
3b67b56ea770 ALSA: hda - Degrade i915 binding failure message
ef24d642e92a ALSA: hda - Clear the leftover component assignment at snd_hdac_i915_exit()
7f3e85d820fd Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"
9c631278a9c6 MIPS: math-emu: Fix final emulation phase for certain instructions
69dd89a1f919 thermal: hisilicon: Handle return value of clk_prepare_enable
c0303e4ffd3a cpuidle: fix broadcast control when broadcast can not be entered
8e6e8ec18d95 rtc: set the alarm to the next expiring timer
1e52ede8e1ed tcp: fix under-evaluated ssthresh in TCP Vegas
ab8e096eed2f fm10k: ensure we process SM mbx when processing VF mbx
0705d3b83699 scsi: lpfc: PLOGI failures during NPIV testing
e4dff872fe97 scsi: lpfc: Fix secure firmware updates
eb7b86ec94a4 PCI/AER: Report non-fatal errors only to the affected endpoint
aa6d09cea6df ixgbe: fix use of uninitialized padding
cffbf0ffc47c igb: check memory allocation failure
1e91b0d64e92 PCI: Create SR-IOV virtfn/physfn links before attaching driver
a916c4152a4b scsi: mpt3sas: Fix IO error occurs on pulling out a drive from RAID1 volume created on two SATA drive
e9151f9d4b6f scsi: cxgb4i: fix Tx skb leak
8f376337c637 PCI: Avoid bus reset if bridge itself is broken
3190a0623c58 net: phy: at803x: Change error to EINVAL for invalid MAC
a0ca85d4895a rtc: pl031: make interrupt optional
d7ae9928a25d crypto: crypto4xx - increase context and scatter ring buffer elements
78ffab9744ad backlight: pwm_bl: Fix overflow condition
0ec5f7a3c9b6 bnxt_en: Fix NULL pointer dereference in reopen failure path
7432a60515da cpuidle: powernv: Pass correct drv->cpumask for registration
1779b33294da ARM: dma-mapping: disallow dma_get_sgtable() for non-kernel managed memory
bec60b446b52 netfilter: nfnetlink_queue: fix secctx memory leak
ff1ddbb38b19 xhci: plat: Register shutdown for xhci_plat
ea9e1ca40939 isdn: kcapi: avoid uninitialized data
f15394085d11 KVM: pci-assign: do not map smm memory slot pages in vt-d page tables
27c2fa1ae0ea ARM: dts: am335x-evmsk: adjust mmc2 param to allow suspend
17b1ff10a1fc netfilter: nf_nat_snmp: Fix panic when snmp_trap_helper fails to register
7c9316d2f263 netfilter: nfnl_cthelper: fix a race when walk the nf_ct_helper_hash table
3af547339068 irda: vlsi_ir: fix check for DMA mapping errors
52cd7920b7ac RDMA/iser: Fix possible mr leak on device removal event
85e54ef781b6 i40e: Do not enable NAPI on q_vectors that have no rings
6a04a7798a3e net: Do not allow negative values for busy_read and busy_poll sysctl interfaces
359f7020464f bna: avoid writing uninitialized data into hw registers
8acee491cfbd s390/qeth: no ETH header for outbound AF_IUCV
8ce4313f1279 r8152: prevent the driver from transmitting packets with carrier off
19b1ad3a2e68 HID: xinmo: fix for out of range for THT 2P arcade controller.
ebfb08395800 hwmon: (asus_atk0110) fix uninitialized data access
2e114c7b4562 ARM: dts: ti: fix PCI bus dtc warnings
f1fdf68b4f94 KVM: VMX: Fix enable VPID conditions
caa4cfd173b7 KVM: x86: correct async page present tracepoint
2849ef5dcefd scsi: lpfc: Fix PT2PT PRLI reject
bc9aec2faddf pinctrl: st: add irq_request/release_resources callbacks
1d75c214cebc inet: frag: release spinlock before calling icmp_send()
aba55cb03579 netfilter: nfnl_cthelper: Fix memory leak
b9fd3306a5af netfilter: nfnl_cthelper: fix runtime expectation policy updates
e598cdd240a0 usb: gadget: udc: remove pointer dereference after free
0c8496bfdb0e usb: gadget: f_uvc: Sanity check wMaxPacketSize for SuperSpeed
d6c0e23a7fef net: qmi_wwan: Add USB IDs for MDM6600 modem on Motorola Droid 4
b9a4a18a01fc bna: integer overflow bug in debugfs
ffde339b95f5 sch_dsmark: fix invalid skb_cow() usage
4bf8a4f179ed crypto: deadlock between crypto_alg_sem/rtnl_mutex/genl_mutex
a88b064826f0 r8152: fix the list rx_done may be used without initialization
125325fe1c19 cpuidle: Validate cpu_dev in cpuidle_add_sysfs()
a23a447e47cc arm: kprobes: Align stack to 8-bytes in test code
3f7855a52222 arm: kprobes: Fix the return address of multiple kretprobes
779214d0eaca ALSA: hda - add support for docking station for HP 840 G3
9a66598014db ALSA: hda - add support for docking station for HP 820 G2
3b9d9ec0d826 x86/irq: Do not substract irq_tlb_count from irq_call_count
18a5348d49af sched/core: Idle_task_exit() shouldn't use switch_mm_irqs_off()
c22d4b4d1c7f ARM: Hide finish_arch_post_lock_switch() from modules
4ead44fd2525 x86/mm, sched/core: Turn off IRQs in switch_mm()
70a39c7fd167 x86/mm, sched/core: Uninline switch_mm()
83cc4b50e3a9 x86/mm: Build arch/x86/mm/tlb.c even on !SMP
425f13a36652 sched/core: Add switch_mm_irqs_off() and use it in the scheduler
dfe513a4e8dd mm/mmu_context, sched/core: Fix mmu_context.h assumption
8d5ee51a6bce mm/rmap: batched invalidations should use existing api
85d3700c744a x86/mm: If INVPCID is available, use it to flush global mappings
791a0f3fecda x86/mm: Add a 'noinvpcid' boot option to turn off INVPCID
04ec428b15f1 x86/mm: Fix INVPCID asm constraint
becf292446e9 x86/mm: Add INVPCID helpers
5fc8d62d1921 cxl: Check if vphb exists before iterating over AFU devices
9e1485b1b570 arm64: Initialise high_memory global variable earlier
96c00ece76be Linux 4.4.107
a815c0a370cf ath9k: fix tx99 potential info leak
26c66554d7bf IB/ipoib: Grab rtnl lock on heavy flush when calling ndo_open/stop
112814db6ec4 RDMA/cma: Avoid triggering undefined behavior
4bbb49138f4a macvlan: Only deliver one copy of the frame to the macvlan interface
b8d510ff7165 udf: Avoid overflow when session starts at large offset
a114af87c0ba scsi: bfa: integer overflow in debugfs
798f08501424 scsi: sd: change allow_restart to bool in sysfs interface
c387c02d604d scsi: sd: change manage_start_stop to bool in sysfs interface
2e03af22f65c vt6655: Fix a possible sleep-in-atomic bug in vt6655_suspend
930fb06d1617 scsi: scsi_devinfo: Add REPORTLUN2 to EMC SYMMETRIX blacklist entry
24bc48af0aee raid5: Set R5_Expanded on parity devices as well as data.
09379498aff0 pinctrl: adi2: Fix Kconfig build problem
5f2dbdff20e0 usb: musb: da8xx: fix babble condition handling
68d3bc40f5ca tty fix oops when rmmod 8250
afa8f0a7af70 powerpc/perf/hv-24x7: Fix incorrect comparison in memord
28a5b0e438f1 scsi: hpsa: destroy sas transport properties before scsi_host
942eb7dd5e42 scsi: hpsa: cleanup sas_phy structures in sysfs when unloading
ec662d656073 PCI: Detach driver before procfs & sysfs teardown on device remove
02922f3bb37f xfs: fix incorrect extent state in xfs_bmap_add_extent_unwritten_real
f267a1390b41 xfs: fix log block underflow during recovery cycle verification
92eff81ad96a l2tp: cleanup l2tp_tunnel_delete calls
230c4ba404d3 bcache: fix wrong cache_misses statistics
271252373027 bcache: explicitly destroy mutex while exiting
ab9b3db40828 GFS2: Take inode off order_write list when setting jdata flag
2a5bb1284e72 thermal/drivers/step_wise: Fix temperature regulation misbehavior
561b9d998e65 ppp: Destroy the mutex when cleanup
083dd685aebd clk: tegra: Fix cclk_lp divisor register
f56be2ce49c1 clk: imx6: refine hdmi_isfr's parent to make HDMI work on i.MX6 SoCs w/o VPU
22a1e337ed68 clk: mediatek: add the option for determining PLL source clock
b59614cfd2d3 mm: Handle 0 flags in _calc_vm_trans() macro
44de70ecec2d crypto: tcrypt - fix buffer lengths in test_aead_speed()
b397507641fb arm-ccn: perf: Prevent module unload while PMU is in use
75ee360a5114 target/file: Do not return error for UNMAP if length is zero
646191449e76 target:fix condition return in core_pr_dump_initiator_port()
e14086b2c9bc iscsi-target: fix memory leak in lio_target_tiqn_addtpg()
7d93603ddb65 target/iscsi: Fix a race condition in iscsit_add_reject_from_cmd()
09f29c7a953d powerpc/ipic: Fix status get and status clear
c6c3637ee8ab powerpc/opal: Fix EBUSY bug in acquiring tokens
59720463cf28 netfilter: ipvs: Fix inappropriate output of procfs
f46b4bab4e93 powerpc/powernv/cpufreq: Fix the frequency read by /proc/cpuinfo
ef476a74f8ed PCI/PME: Handle invalid data when reading Root Status
e6d8207a84b0 dmaengine: ti-dma-crossbar: Correct am335x/am43xx mux value type
600b973fc56f rtc: pcf8563: fix output clock rate
ac0468efee60 video: fbdev: au1200fb: Return an error code if a memory allocation fails
033d20b727f3 video: fbdev: au1200fb: Release some resources if a memory allocation fails
314ce0575795 video: udlfb: Fix read EDID timeout
2f5427451738 fbdev: controlfb: Add missing modes to fix out of bounds access
57fa76a46673 sfc: don't warn on successful change of MAC
c9b79738c0ab target: fix race during implicit transition work flushes
dfd6deed8313 target: fix ALUA transition timeout handling
7f5084b98f89 target: Use system workqueue for ALUA transitions
f9b4a2e04c22 btrfs: add missing memset while reading compressed inline extents
248aa3accad9 NFSv4.1 respect server's max size in CREATE_SESSION
a49aa7aadbd3 efi/esrt: Cleanup bad memory map log messages
dc81417eedf5 perf symbols: Fix symbols__fixup_end heuristic for corner cases
acc7d1bd901c net/mlx4_core: Avoid delays during VF driver device shutdown
5e469e44c8fd afs: Fix afs_kill_pages()
80f74cef482f afs: Fix page leak in afs_write_begin()
c58d7796ab93 afs: Populate and use client modification time
fa034538cb04 afs: Fix the maths in afs_fs_store_data()
1efae6ca3418 afs: Prevent callback expiry timer overflow
43e68e3725df afs: Migrate vlocation fields to 64-bit
9d8d20570f39 afs: Flush outstanding writes when an fd is closed
549d7b98f55e afs: Adjust mode bits processing
bb7a7cd6194f afs: Populate group ID from vnode status
1c277e9ebba6 afs: Fix missing put_page()
fec8348008b5 drm/radeon: reinstate oland workaround for sclk
6a51e93b2fe3 mmc: mediatek: Fixed bug where clock frequency could be set wrong
51b3eac39a6c sched/deadline: Use deadline instead of period when calculating overflow
ca91884bcf7d sched/deadline: Throttle a constrained deadline task activated after the deadline
cd0e18d2f24b sched/deadline: Make sure the replenishment timer fires in the next period
4c6567f5af9a drm/radeon/si: add dpm quirk for Oland
c383ebf1acd6 fjes: Fix wrong netdevice feature flags
a33a9d0c705f scsi: hpsa: limit outstanding rescans
0a609298214b scsi: hpsa: update check for logical volume status
b0def6f1e26b openrisc: fix issue handling 8 byte get_user calls
1236cc3664dc intel_th: pci: Add Gemini Lake support
d270d24ee596 mlxsw: reg: Fix SPVMLR max record count
e934e13550a0 mlxsw: reg: Fix SPVM max record count
677a7aac2ec6 net: Resend IGMP memberships upon peer notification.
26af6a8b51f1 dmaengine: Fix array index out of bounds warning in __get_unmap_pool()
9cd4b8684621 net: wimax/i2400m: fix NULL-deref at probe
b424289863d0 writeback: fix memory leak in wb_queue_work()
fbdf477fcff6 netfilter: bridge: honor frag_max_size when refragmenting
7edb2d2d8680 drm/omap: fix dmabuf mmap for dma_alloc'ed buffers
dbfba339c729 Input: i8042 - add TUXEDO BU1406 (N24_25BU) to the nomux list
df5678476040 NFSD: fix nfsd_reset_versions for NFSv4.
5b0334584ad6 NFSD: fix nfsd_minorversion(.., NFSD_AVAIL)
067cb6b2f716 net: bcmgenet: Power up the internal PHY before probing the MII
a33e082dcaf4 net: bcmgenet: power down internal phy if open or resume fails
8aaed873f3b9 net: bcmgenet: reserved phy revisions must be checked first
c25da696fca1 net: bcmgenet: correct MIB access of UniMAC RUNT counters
296b584763f7 net: bcmgenet: correct the RBUF_OVFL_CNT and RBUF_ERR_CNT MIB values
accbd99507b1 net: initialize msg.msg_flags in recvfrom
b5213e1e9f25 userfaultfd: selftest: vm: allow to build in vm/ directory
ee9be9963039 userfaultfd: shmem: __do_fault requires VM_FAULT_NOPAGE
0d0456ec2b08 md-cluster: free md_cluster_info if node leave cluster
a1d72bc18e77 usb: phy: isp1301: Add OF device ID table
75252bfe9e49 mac80211: Fix addition of mesh configuration element
13e86efb2eee KEYS: add missing permission check for request_key() destination
ef7ce82bc280 ext4: fix crash when a directory's i_size is too small
2c367edaba65 ext4: fix fdatasync(2) after fallocate(2) operation
52425e042843 dmaengine: dmatest: move callback wait queue to thread context
af36d95af55f sched/rt: Do not pull from current CPU if only one CPU to pull
f98ee9c0007b xhci: Don't add a virt_dev to the devs array before it's fully allocated
ffc7565746bb Bluetooth: btusb: driver to enable the usb-wakeup feature
8c7c3d5b785f ceph: drop negative child dentries before try pruning inode's alias
2862cfca3989 usbip: fix stub_send_ret_submit() vulnerability to null transfer_buffer
dfdf5fa3e664 USB: core: prevent malicious bNumInterfaces overflow
05de6fa5c0e2 USB: uas and storage: Add US_FL_BROKEN_FUA for another JMicron JMS567 ID
a34419b3f6a2 tracing: Allocate mask_str buffer dynamically
c60db4f68593 autofs: fix careless error in recent commit
8a311b0462b5 crypto: salsa20 - fix blkcipher_walk API usage
43cd7f38612d crypto: hmac - require that the underlying hash algorithm is unkeyed
4231b6a98fce Linux 4.4.106
5c6db4afbd9f usb: gadget: ffs: Forbid usb_ep_alloc_request from sleeping
a5fa9efe4e01 arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one
9f5a8d610dd3 Revert "x86/mm/pat: Ensure cpa->pfn only contains page frame numbers"
34933c2ce99c Revert "x86/efi: Hoist page table switching code into efi_call_virt()"
1dfe268df584 Revert "x86/efi: Build our own page table structures"
b90f87c641bc net/packet: fix a race in packet_bind() and packet_notifier()
f50e9c872cb5 packet: fix crash in fanout_demux_rollover()
d6189fa45c6d sit: update frag_off info
6c154d536d94 rds: Fix NULL pointer dereference in __rds_rdma_map
827fd89bc552 tipc: fix memory leak in tipc_accept_from_sock()
047a7bb12d63 more bio_map_user_iov() leak fixes
3a620404e24a s390: always save and restore all registers on context switch
99962affcb8f ipmi: Stop timers before cleaning up the module
b34957127058 audit: ensure that 'audit=1' actually enables audit for PID 1
1b9baf30673c ipvlan: fix ipv6 outbound device
cdfe2d0a4834 afs: Connect up the CB.ProbeUuid
452ae0913614 IB/mlx5: Assign send CQ and recv CQ of UMR QP
3d1d4642fc55 IB/mlx4: Increase maximal message size under UD QP
8bfafc972a34 xfrm: Copy policy family in clone_policy
5c15c5c8ebc5 jump_label: Invoke jump_label_test() via early_initcall()
1b85cd5d9262 atm: horizon: Fix irq release error
dde5bbd52a28 sctp: use the right sk after waking up from wait_buf sleep
1ad621272bd7 sctp: do not free asoc when it is already dead in sctp_sendmsg
59e52050b17c sparc64/mm: set fields in deferred pages
7b99b00cf3f0 block: wake up all tasks blocked in get_request()
5a54dcc51a4a sunrpc: Fix rpc_task_begin trace point
c02608144e79 NFS: Fix a typo in nfs_rename()
640192431a29 dynamic-debug-howto: fix optional/omitted ending line number to be LARGE instead of 0
24c98ec494c2 lib/genalloc.c: make the avail variable an atomic_long_t
90ec232a3911 route: update fnhe_expires for redirect when the fnhe exists
41dee81f22c9 route: also update fnhe_genid when updating a route cache
32f8870cc9a9 mac80211_hwsim: Fix memory leak in hwsim_new_radio_nl()
0aab426757d3 kbuild: pkg: use --transform option to prefix paths in tar
8f72d29e7024 EDAC, i5000, i5400: Fix definition of NRECMEMB register
222de157ccd0 EDAC, i5000, i5400: Fix use of MTR_DRAM_WIDTH macro
f1ff979f97bd powerpc/powernv/ioda2: Gracefully fail if too many TCE levels requested
d42ebf56380f drm/amd/amdgpu: fix console deadlock if late init failed
40b2b6453f89 axonram: Fix gendisk handling
f2396d60746f netfilter: don't track fragmented packets
ca6d40bb082a zram: set physical queue limits to avoid array out of bounds accesses
39c626c1f9e3 i2c: riic: fix restart condition
a836e1952f28 crypto: s5p-sss - Fix completing crypto request in IRQ handler
7c5deeccc664 ipv6: reorder icmpv6_init() and ip6_mr_init()
84bc40c4b31b bnx2x: do not rollback VF MAC/VLAN filters we did not configure
871e4b11eba2 bnx2x: fix possible overrun of VFPF multicast addresses array
1aead0538b89 bnx2x: prevent crash when accessing PTP with interface down
6bbc908cfc1c spi_ks8995: fix "BUG: key accdaa28 not in .data!"
687121453005 arm64: KVM: Survive unknown traps from guests
5dc5c8e65515 arm: KVM: Survive unknown traps from guests
ccf72fe2e5cc KVM: nVMX: reset nested_run_pending if the vCPU is going to be reset
0a12875fa51f irqchip/crossbar: Fix incorrect type of register size
8a15c626996c scsi: lpfc: Fix crash during Hardware error recovery on SLI3 adapters
d9d47a6d6862 workqueue: trigger WARN if queue_delayed_work() is called with NULL @wq
14a7aa2ae61e libata: drop WARN from protocol error in ata_sff_qc_issue()
f9b291aed2a9 kvm: nVMX: VMCLEAR should not cause the vCPU to shut down
ef21f3a12bb1 USB: gadgetfs: Fix a potential memory leak in 'dev_config()'
4036947a43a0 usb: gadget: configs: plug memory leak
24e9fc7ef051 HID: chicony: Add support for another ASUS Zen AiO keyboard
3aec56b81960 gpio: altera: Use handle_level_irq when configured as a level_high
c52017de0ba6 ARM: OMAP2+: Release device node after it is no longer needed.
14c396184529 ARM: OMAP2+: Fix device node reference counts
d180639d86e1 module: set __jump_table alignment to 8
23f9e8448219 selftest/powerpc: Fix false failures for skipped tests
3bf3fc6cbc8b x86/hpet: Prevent might sleep splat on resume
0500c6d35274 ARM: OMAP2+: gpmc-onenand: propagate error on initialization failure
572b639bde31 vti6: Don't report path MTU below IPV6_MIN_MTU.
3771241e5bc3 Revert "s390/kbuild: enable modversions for symbols exported from asm"
e891a29531d4 Revert "spi: SPI_FSL_DSPI should depend on HAS_DMA"
f854e2099915 Revert "drm/armada: Fix compile fail"
5327f9badacd mm: drop unused pmdp_huge_get_and_clear_notify()
47c53ccca4a0 thp: fix MADV_DONTNEED vs. numa balancing race
d4443b53732e thp: reduce indentation level in change_huge_pmd()
696fbe191acd scsi: storvsc: Workaround for virtual DVD SCSI version
dd8c78e2501e ARM: avoid faulting on qemu
af1d17239682 ARM: BUG if jumping to usermode address in kernel mode
750f60edebac arm64: fpsimd: Prevent registers leaking from dead tasks
477b837533a2 KVM: VMX: remove I/O port 0x80 bypass on Intel hosts
11030654676b arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one
a0b99544dde8 media: dvb: i2c transfers over usb cannot be done from stack
81bf294f5f7b drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU
74b6030355a4 drm: extra printk() wrapper macros
d6ff4cce9aa3 kdb: Fix handling of kallsyms_symbol_next() return value
bb47cf7f8e47 s390: fix compat system call table
dc41b6e35f93 iommu/vt-d: Fix scatterlist offset handling
90a20a81dc1c ALSA: usb-audio: Add check return value for usb_string()
9f5c6b108850 ALSA: usb-audio: Fix out-of-bound error
e1d3b7d04d9d ALSA: seq: Remove spurious WARN_ON() at timer check
659e7d2588f0 ALSA: pcm: prevent UAF in snd_pcm_info
5986c9685f1e x86/PCI: Make broadcom_postcore_init() check acpi_disabled
2c2e4b7d279a X.509: reject invalid BIT STRING for subjectPublicKey
1471d1258921 ASN.1: check for error from ASN1_OP_END__ACT actions
621dac1d6991 ASN.1: fix out-of-bounds read when parsing indefinite length item
481efb4c7256 efi: Move some sysfs files to be read-only by root
7e0091c2951f scsi: libsas: align sata_device's rps_resp on a cacheline
98448333588c isa: Prevent NULL dereference in isa_bus driver callbacks
90e2ea6dc851 hv: kvp: Avoid reading past allocated blocks from KVP file
94739ddf35cb virtio: release virtio index when fail to device_register
d73fcef16da0 can: usb_8dev: cancel urb on -EPIPE and -EPROTO
191b419bd0b1 can: esd_usb2: cancel urb on -EPIPE and -EPROTO
af11f3afc2c2 can: ems_usb: cancel urb on -EPIPE and -EPROTO
bd424bd17572 can: kvaser_usb: cancel urb on -EPIPE and -EPROTO
3e3dabd83630 can: kvaser_usb: ratelimit errors if incomplete messages are received
816bc7dffea2 can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback()
b6fa54c18e8d can: kvaser_usb: free buf in error paths
a68e3c90dfb1 can: ti_hecc: Fix napi poll return value for repoll
69b0bf95a51e Linux 4.4.105
da57b1f7e74f xen-netfront: avoid crashing on resume after a failure in talk_to_netback()
e1cadf7c4af2 usb: host: fix incorrect updating of offset
43135100f117 USB: usbfs: Filter flags passed in from user space
c0493eb552e0 USB: devio: Prevent integer overflow in proc_do_submiturb()
2ee8d2acf3ef USB: Increase usbfs transfer limit
9d812f7bef8c USB: core: Add type-specific length check of BOS descriptors
f044af8c1dc3 usb: ch9: Add size macro for SSP dev cap descriptor
ddaa1ae2eb7f usb: Add USB 3.1 Precision time measurement capability descriptor support
a1f03a9bcfa4 usb: xhci: fix panic in xhci_free_virt_devices_depth_first
6a85ba4157a0 usb: hub: Cycle HUB power when initialization fails
40012163e52a Revert "ocfs2: should wait dio before inode lock in ocfs2_setattr()"
33621da4d4ef net: fec: fix multicast filtering hardware setup
5d036ccddc5d xen-netfront: Improve error handling during initialization
cc4add389789 mm: avoid returning VM_FAULT_RETRY from ->page_mkwrite handlers
1b7dbabf0242 tcp: correct memory barrier usage in tcp_check_space()
bc42f67b73cb dmaengine: pl330: fix double lock
ca0836061019 tipc: fix cleanup at module unload
e5afc84f644c net: sctp: fix array overrun read on sctp_timer_tbl
7e9236c00152 drm/exynos/decon5433: set STANDALONE_UPDATE_F on output enablement
e26d58f897ca NFSv4: Fix client recovery when server reboots multiple times
48222dd037f5 KVM: arm/arm64: Fix occasional warning from the timer work function
f2fb416f4af6 nfs: Don't take a reference on fl->fl_file for LOCK operation
7228df818d90 ravb: Remove Rx overflow log messages
1bb50d02a8d3 net/appletalk: Fix kernel memory disclosure
c73b58cfa83e vti6: fix device register to report IFLA_INFO_KIND
e6533243f74f ARM: OMAP1: DMA: Correct the number of logical channels
e6f105531992 net: systemport: Pad packet before inserting TSB
3a44ade54473 net: systemport: Utilize skb_put_padto()
8633eec0ee08 kprobes/x86: Disable preemption in ftrace-based jprobes
7317cb116754 perf test attr: Fix ignored test case result
1c4d7600390b sysrq : fix Show Regs call trace on ARM
c86fa9ed3a0f EDAC, sb_edac: Fix missing break in switch
c2e1be144805 x86/entry: Use SYSCALL_DEFINE() macros for sys_modify_ldt()
ecd996c24a79 serial: 8250: Preserve DLD[7:4] for PORT_XR17V35X
86b9d66d1f3f usb: phy: tahvo: fix error handling in tahvo_usb_probe()
b6ca48b5cd08 spi: sh-msiof: Fix DMA transfer size check
a96c19f5ba09 serial: 8250_fintek: Fix rs485 disablement on invalid ioctl()
429feb597df3 selftests/x86/ldt_get: Add a few additional tests for limits
93f45d8c67dc s390/pci: do not require AIS facility
80f93e24ecfc ima: fix hash algorithm initialization
71ce1cac5b4d USB: serial: option: add Quectel BG96 id
9e51ee1b76ef s390/runtime instrumentation: simplify task exit handling
ef3567cc5284 serial: 8250_pci: Add Amazon PCI serial device ID
a8293de0ee1f usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub
636b080991ee uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices
3f7477e64478 bcache: recover data from backing when data is clean
f80f34d8ba92 bcache: only permit to recovery read error when cache device is clean
bd3799391822 Linux 4.4.104
bd249dd07827 nfsd: Fix another OPEN stateid race
54298082dbac nfsd: Fix stateid races between OPEN and CLOSE
d7f5f10f5159 nfsd: Make init_open_stateid() a bit more whole
68e6cd9a0547 drm/i915: Prevent zero length "index" write
e6bcff7b6aa1 drm/i915: Don't try indexed reads to alternate slave addresses
a61474fa8749 NFS: revalidate "." etc correctly on "open".
c8ea49b690ee mtd: nand: Fix writing mtdoops to nand flash.
a155a9568d9a drm/panel: simple: Add missing panel_simple_unprepare() calls
c7716f65721a drm/radeon: fix atombios on big endian
4d027a8bcc7f Revert "drm/radeon: dont switch vt on suspend"
5a7391b6d898 bcache: Fix building error on MIPS
6b4901e0e349 eeprom: at24: check at24_read/write arguments
5c65b739389f mmc: core: Do not leave the block driver in a suspended state
a6493ad6fc89 KVM: x86: inject exceptions produced by x86_decode_insn
1e9e6bdccb80 KVM: x86: Exit to user-mode on #UD intercept when emulator requires
ab29b6b818aa KVM: x86: pvclock: Handle first-time write to pvclock-page contains random junk
591ddc92d756 btrfs: clear space cache inode generation always
0d05a5593f63 mm/madvise.c: fix madvise() infinite loop under special circumstances
2b7ef6bdd286 mm, thp: Do not make page table dirty unconditionally in touch_p[mu]d()
f97fc9ab1ce2 x86/efi-bgrt: Replace early_memremap() with memremap()
e85c6907b2b4 x86/efi-bgrt: Fix kernel panic when mapping BGRT data
44ff3af83ee1 ARM: dts: omap3: logicpd-torpedo-37xx-devkit: Fix MMC1 cd-gpio
36e0f05afd4e x86/efi: Build our own page table structures
b73adb608520 x86/efi: Hoist page table switching code into efi_call_virt()
87e2bd898d3a x86/mm/pat: Ensure cpa->pfn only contains page frame numbers
b377c453b363 ipsec: Fix aborted xfrm policy dump crash
27248d2fa77f netlink: add a start callback for starting a netlink dump
08c15ad2e627 Linux 4.4.103
3d7214a338d7 Revert "sctp: do not peel off an assoc from one netns to another one"
c73eb1e0cc56 xen: xenbus driver must not accept invalid transaction ids
eedd29f51078 s390/kbuild: enable modversions for symbols exported from asm
681b2239862d ASoC: wm_adsp: Don't overrun firmware file buffer when reading region data
b63209c78f9e btrfs: return the actual error value from from btrfs_uuid_tree_iterate
e88f3fb0e340 ASoC: rsnd: don't double free kctrl
47b99a3306d0 netfilter: nf_tables: fix oob access
a1e4f6a15103 netfilter: nft_queue: use raw_smp_processor_id()
85f286d6f8cd spi: SPI_FSL_DSPI should depend on HAS_DMA
8537e96e4351 staging: iio: cdc: fix improper return value
266913b390c3 iio: light: fix improper return value
7e927748d4db mac80211: Suppress NEW_PEER_CANDIDATE event if no room
9825826ed7bd mac80211: Remove invalid flag operations in mesh TSF synchronization
f0d8fb74479b drm: Apply range restriction after color adjustment when allocation
31447ebb1a86 ALSA: hda - Apply ALC269_FIXUP_NO_SHUTUP on HDA_FIXUP_ACT_PROBE
7e920566c352 ath10k: set CTS protection VDEV param only if VDEV is up
ef751ca54602 ath10k: fix potential memory leak in ath10k_wmi_tlv_op_pull_fw_stats()
b24769300a00 ath10k: ignore configuring the incorrect board_id
64b22ee723ee ath10k: fix incorrect txpower set by P2P_DEVICE interface
c4cf731af838 drm/armada: Fix compile fail
7f69dc100400 net: 3com: typhoon: typhoon_init_one: fix incorrect return values
609797646f9b net: 3com: typhoon: typhoon_init_one: make return values more specific
d7c3d5333e39 net: Allow IP_MULTICAST_IF to set index to L3 slave
778395506a7f dmaengine: zx: set DMA_CYCLIC cap_mask bit
37a48e6d83f5 PCI: Apply _HPX settings only to relevant devices
57d2ce160310 RDS: RDMA: return appropriate error on rdma map failures
bbb1fc744894 e1000e: Separate signaling for link check/link up
5df4097cfc70 e1000e: Fix return value test
fbb2d8000a8f e1000e: Fix error path in link detection
d6968bc56e44 PM / OPP: Add missing of_node_put(np)
fd3c395d4d46 net/9p: Switch to wait_event_killable()
91bd72dd8c72 fscrypt: lock mutex before checking for bounce page pool
cb1831a83e54 sched/rt: Simplify the IPI based RT balancing logic
5a11b8458b35 media: v4l2-ctrl: Fix flags field on Control events
0870fb4c3566 cx231xx-cards: fix NULL-deref on missing association descriptor
d758f4d8bf20 media: rc: check for integer overflow
878c0f9a7c69 media: Don't do DMA on stack for firmware upload in the AS102 driver
a2943ce580f5 powerpc/signal: Properly handle return value from uprobe_deny_signal()
937a91cd3992 parisc: Fix validity check of pointer size argument in new CAS implementation
aef7cdb6a6ff ixgbe: Fix skb list corruption on Power systems
bb923a81c33e fm10k: Use smp_rmb rather than read_barrier_depends
b4ca98b7a803 i40evf: Use smp_rmb rather than read_barrier_depends
a8e699dfca04 ixgbevf: Use smp_rmb rather than read_barrier_depends
2f7de4d5f525 igbvf: Use smp_rmb rather than read_barrier_depends
391cdaaaa9d9 igb: Use smp_rmb rather than read_barrier_depends
146d53371385 i40e: Use smp_rmb rather than read_barrier_depends
76c389ca1331 NFC: fix device-allocation error return
ecc5e8914766 IB/srp: Avoid that a cable pull can trigger a kernel crash
3e32b40435b9 IB/srpt: Do not accept invalid initiator port names
54a8d930b93f libnvdimm, namespace: make 'resource' attribute only readable by root
4dae2f771fa7 libnvdimm, namespace: fix label initialization to use valid seq numbers
037646313522 clk: ti: dra7-atl-clock: fix child-node lookups
eca460c485f9 clk: ti: dra7-atl-clock: Fix of_node reference counting
36d2f19430e2 SUNRPC: Fix tracepoint storage issues with svc_recv and svc_rqst_status
a694b1f85aea KVM: SVM: obey guest PAT
8293dc75de47 KVM: nVMX: set IDTR and GDTR limits when loading L1 host state
4e426ed57cd2 target: Fix QUEUE_FULL + SCSI task attribute handling
63bfc4c90a87 iscsi-target: Fix non-immediate TMR reference leak
8709c5386109 fs/9p: Compare qid.path in v9fs_test_inode
1b11593eb742 fix a page leak in vhost_scsi_iov_to_sgl() error recovery
509ab500a240 ALSA: hda/realtek - Fix ALC700 family no sound issue
ef6745531648 ALSA: timer: Remove kernel warning at compat ioctl error paths
3532750d20f5 ALSA: usb-audio: Add sanity checks in v2 clock parsers
0b6cede2e455 ALSA: usb-audio: Fix potential out-of-bound access at parsing SU
d1316b9d83de ALSA: usb-audio: Add sanity checks to FE parser
b71cf750ddd3 ALSA: pcm: update tstamp only if audio_tstamp changed
db12d9b5a181 ext4: fix interaction between i_size, fallocate, and delalloc after a crash
189bc689547a ata: fixes kernel crash while tracing ata_eh_link_autopsy event
f1be21021099 rtlwifi: fix uninitialized rtlhal->last_suspend_sec time
3c260c60d20c rtlwifi: rtl8192ee: Fix memory leak when loading firmware
a8b8ab79ca4f nfsd: deal with revoked delegations appropriately
2a2d4b41472c nfs: Fix ugly referral attributes
ab33df42eb3c NFS: Fix typo in nomigration mount option
4e23be616976 isofs: fix timestamps beyond 2027
85c79043808d bcache: check ca->alloc_thread initialized before wake up it
9c093a258350 eCryptfs: use after free in ecryptfs_release_messaging()
7d7b05e4ffd5 nilfs2: fix race condition that causes file system corruption
9a4e08c634ce autofs: don't fail mount for transient error
153142963ca1 MIPS: BCM47XX: Fix LED inversion for WRT54GSv1
00fd53bc378f MIPS: Fix an n32 core file generation regset support regression
4e82464aa4a3 dm: fix race between dm_get_from_kobject() and __dm_destroy()
36c4819abc92 dm bufio: fix integer overflow when limiting maximum cache size
a9f066404fd0 ALSA: hda: Add Raven PCI ID
0c1faf9df0c8 MIPS: ralink: Fix typo in mt7628 pinmux function
84c785ed786a MIPS: ralink: Fix MT7628 pinmux
36a082ce590f ARM: 8721/1: mm: dump: check hardware RO bit for LPAE
5f8046f7c9e3 ARM: 8722/1: mm: make STRICT_KERNEL_RWX effective for LPAE
29c4b6b4f46d x86/decoder: Add new TEST instruction pattern
4fdb1637b208 lib/mpi: call cond_resched() from mpi_powm() loop
8ff3471878f3 sched: Make resched_cpu() unconditional
3223ea129170 vsock: use new wait API for vsock_stream_sendmsg()
df24d6c22460 AF_VSOCK: Shrink the area influenced by prepare_to_wait
2417da3f4d6b ipv6: only call ip6_route_dev_notify() once for NETDEV_UNREGISTER
5c2607d3e7cd s390/disassembler: increase show_code buffer size
4337fa2425f6 s390/disassembler: add missing end marker for e7 table
04bc7a273264 s390/runtime instrumention: fix possible memory corruption
7ddbe701076d s390: fix transactional execution control register handling
29ffb9c1fb4a Linux 4.4.102
0208fabf7256 mm, hwpoison: fixup "mm: check the return value of lookup_page_ext for all call sites"
5baf0fb260fc Linux 4.4.101
a3805b10de80 mm/pagewalk.c: report holes in hugetlb ranges
3630b2801907 mm/page_ext.c: check if page_ext is not prepared
e34e744f70a6 mm: check the return value of lookup_page_ext for all call sites
7b7a1c39e839 coda: fix 'kernel memory exposure attempt' in fsync
c1b3703b643f mm/page_alloc.c: broken deferred calculation
4ecf752738ac ipmi: fix unsigned long underflow
c4baa4a5870c ocfs2: should wait dio before inode lock in ocfs2_setattr()
8c325770546a nvme: Fix memory order on async queue deletion
4310b6bfa8e0 arm64: fix dump_instr when PAN and UAO are in use
1df403abfa9e serial: omap: Fix EFR write on RTS deassertion
a9100b6f1a8a ima: do not update security.ima if appraisal status is not INTEGRITY_PASS
51b8aea7abde net/sctp: Always set scope_id in sctp_inet6_skb_msgname
ae93cefb9430 fealnx: Fix building error on MIPS
2a0e60907e54 sctp: do not peel off an assoc from one netns to another one
4cfc0b41af03 af_netlink: ensure that NLMSG_DONE never fails in dumps
ef206ea779a9 vlan: fix a use-after-free in vlan_device_event()
3bb6245e14ea bonding: discard lowest hash bit for 802.3ad layer3+4
001e9cbe1dae netfilter/ipvs: clear ipvs_property flag when SKB net namespace changed
0c1282c7f046 tcp: do not mangle skb->cb[] in tcp_make_synack()
26d6298789e6 Linux 4.4.100
f119ff8e5b6b USB: serial: garmin_gps: fix memory leak on probe errors
8b36209e93df USB: serial: garmin_gps: fix I/O after failed probe and remove
5cd938508c81 USB: serial: qcserial: add pid/vid for Sierra Wireless EM7355 fw update
302dd596822a USB: Add delay-init quirk for Corsair K70 LUX keyboards
965003b311e0 USB: usbfs: compute urb->actual_length for isochronous
834a5d880a54 uapi: fix linux/rds.h userspace compilation errors
16e7973f8e47 uapi: fix linux/rds.h userspace compilation error
f5e303d54ac2 Revert "uapi: fix linux/rds.h userspace compilation errors"
d9c8d4adb5a7 Revert "crypto: xts - Add ECB dependency"
d2d72c0ee4c9 MIPS: Netlogic: Exclude netlogic,xlp-pic code from XLR builds
9a8ef143951f MIPS: init: Ensure reserved memory regions are not added to bootmem
034347aca034 MIPS: init: Ensure bootmem does not corrupt reserved memory
a904ebe92a05 mm: add PHYS_PFN, use it in __phys_to_pfn()
7f5eb098ef95 MIPS: End asm function prologue macros with .insn
b15877443a93 staging: rtl8712: fixed little endian problem
ade72053f452 ixgbe: do not disable FEC from the driver
b6e7fb0be1e5 ixgbe: add mask for 64 RSS queues
12ec51aaafe3 ixgbe: Reduce I2C retry count on X550 devices
9d51db4caff9 ixgbe: handle close/suspend race with netif_device_detach/present
f12976ce82cd ixgbe: fix AER error handling
865fe71c0a06 arm64: dts: NS2: reserve memory for Nitro firmware
e2d12bdaed6b ALSA: hda/realtek - Add new codec ID ALC299
b1e8e6d4c065 gpu: drm: mgag200: mgag200_main:- Handle error from pci_iomap
3e899991b99e backlight: adp5520: Fix error handling in adp5520_bl_probe()
d6f21ea25118 backlight: lcd: Fix race condition during register
fe21a3d68819 ALSA: vx: Fix possible transfer overflow
3b985d39ed4f ALSA: vx: Don't try to update capture stream before running
51abb2a73f16 scsi: lpfc: Clear the VendorVersion in the PLOGI/PLOGI ACC payload
8d8723c8c187 scsi: lpfc: Correct issue leading to oops during link reset
44eb947094c4 scsi: lpfc: Correct host name in symbolic_name field
a7e7d319cc96 scsi: lpfc: FCoE VPort enable-disable does not bring up the VPort
18477baf599e scsi: lpfc: Add missing memory barrier
fdc1e9d553e1 staging: rtl8188eu: fix incorrect ERROR tags from logs
0c098158785b scsi: ufs: add capability to keep auto bkops always enabled
469e75ddff14 scsi: ufs-qcom: Fix module autoload
bb848b61967f igb: Fix hw_dbg logging in igb_update_flash_i210
ba83011a470c igb: close/suspend race in netif_device_detach
559a20802838 igb: reset the PHY before reading the PHY ID
7878dca7ca24 drm/sti: sti_vtg: Handle return NULL error from devm_ioremap_nocache
b9ea0af4793b ata: SATA_MV should depend on HAS_DMA
11cb9dedb2e6 ata: SATA_HIGHBANK should depend on HAS_DMA
2066882df749 ata: ATA_BMDMA should depend on HAS_DMA
4fd669feacd3 ARM: dts: Fix omap3 off mode pull defines
955840ea5035 ARM: OMAP2+: Fix init for multiple quirks for the same SoC
4a23041fa533 ARM: dts: Fix am335x and dm814x scm syscon to probe children
84a97ea8b7b1 ARM: dts: Fix compatible for ti81xx uarts for 8250
62641014202e fm10k: request reset when mbx->state changes
2bb04f1ff63d extcon: palmas: Check the parent instance to prevent the NULL
8d9142ff444e dmaengine: dmatest: warn user when dma test times out
ec4f8a71c0fc Bluetooth: btusb: fix QCA Rome suspend/resume
977784638f76 arm: crypto: reduce priority of bit-sliced AES cipher
e455048c7ae9 net: qmi_wwan: fix divide by 0 on bad descriptors
caeeef8438c3 net: cdc_ether: fix divide by 0 on bad descriptors
46bdabbca02e sctp: do not peel off an assoc from one netns to another one
11e8e55be18c xen-blkback: don't leak stack data via response ring
49630dd2e10a bpf: don't let ldimm64 leak map addresses on unprivileged
07e3aff243cd KVM: x86: fix singlestepping over syscall
ceb5c560e2e4 ext4: fix data exposure after a crash
0a418e57717d media: dib0700: fix invalid dvb_detach argument
c344019c48a9 media: imon: Fix null-ptr-deref in imon_probe
(From OE-Core rev: 266f505a7de69850da4b3e82ccbf4c8466adfe51)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following wilwifi and pci ID backports. These are
bug fixes, enablements and minor updates.
850696176565 mmc: sdhci-pci: Add support for Intel CNP
d7265bddf328 mmc: sdhci-pci: Use macros in pci_ids definition
3a78458e37c1 spi: pxa2xx: Add support for Intel Cannonlake
9de152318ec0 mfd: intel-lpss: Add Intel Cannonlake PCI IDs
533713968b7d i2c: i801: Add support for Intel Cannon Lake
b3a84be8dc44 Bluetooth: Add support for Intel Bluetooth device 9460/9560 [8087:0aaa]
08dea20dfcdd iwlwifi: pcie: fix DMA memory mapping / unmapping
9846e33915f4 iwlwifi: mvm: mark MIC stripped MPDUs
d47d7a5921ec iwlwifi: mvm: enable RX offloading with TKIP and WEP
295c08159f25 iwlwifi: mvm: flush queue before deleting ROC
a49b4d426747 iwlwifi: add new cards for 9260 and 22000 series
49f247c26220 iwlwifi: fix access to prph when transport is stopped
3716aa8c7fb2 iwlwifi: pcie: fix erroneous "Read failed message"
8ea811068131 iwlwifi: mvm: fix packet injection
ce6f582d7790 iwlwifi: mvm: fix the TX queue hang timeout for MONITOR vif type
789e2b172917 iwlwifi: mvm: don't use transmit queue hang detection when it is not possible
4d697c7f2f30 iwlwifi: mvm: set correct chains in Rx status
14f5ee3d7f2a iwlwifi: fix firmware names for 9000 and A000 series hw
10f670720316 mac80211: add api to start ba session timer expired flow
6975296fb60f timer: Prepare to change timer callback argument type
617d38a55701 iwlwifi: fix PCI IDs and configuration mapping for 9000 series
7768d0301e76 iwlwifi: mvm: support version 7 of the SCAN_REQ_UMAC FW command
d10e7c4752ad iwlwifi: add new cards for a000 series
f93a0bd94f2e iwlwifi: add new cards for 8265 series
fd7fb7407891 iwlwifi: add new cards for 8260 series
155e2cf7cf48 iwlwifi: drop RX frames during hardware restart
a6a61a5c3dc6 iwlwifi: mvm: Convert timers to use timer_setup()
2c55829d53e9 iwlwifi: mvm: hold mutex when flushing in iwl_mvm_flush_no_vif()
c9d9e2dabd5b iwlwifi: mvm: add missing implementation of flush for a000 devices
3793a1ba0652 iwlwifi: mvm: refactor iwl_mvm_flush_no_vif
ef5fe37f634b iwlwifi: fix multi queue notification for a000 devices
76b84cc9a0a7 iwlwifi: Add more call-sites for pcie reg dumper
c76d3e3c5401 iwlwifi: remove host assisted paging
d04bbe0546b1 iwlwifi: remove dead code for internal devices only
f2aa0f94c3ed iwlwifi: mvm: improve latency when there is a reorder timeout
16472c63581e iwlwifi: mvm: rs: remove the ANT C from the toogle antenna logic
b12c3acdedd4 iwlwifi: mvm: reset seq num after restart
b80a2cffd5ae iwlwifi: mvm: cleanup references to aggregation count limit
08fb17fe5d5d iwlwifi: mvm: use RS macro instead of duplicating the code
4ee07409e310 iwlwifi: pcie: remove set but not used variable tcph
a707114d30c7 iwlwifi: pcie: sort IDs for the 9000 series for easier comparisons
5437405de942 iwlwifi: mvm: add missing lq_color
5b9fdea44032 iwlwifi: define minimum valid address for umac_error_event_table in cfg
66130a345dc0 iwlwifi: mvm: move umac_error_event_table validity check to where it's set
02ae1833fe0a iwlwifi: mvm: allow reading UMAC error data from SMEM in A000 devices
92f982fbedea iwlwifi: mvm: pass baid_data to iwl_mvm_release_frames()
f5373043dbf2 iwlwifi: mvm: remove duplicated fields in mvm reorder buffer
46023b1981e8 iwlwifi: mvm: allocate reorder buffer according to need
8b46150fdcba iwlwifi: remove dflt_pwr_limit from the transport
1a0b98c751d9 iwlwifi: mvm: warn on invalid statistics size
fd3b380a9842 iwlwifi: acpi: move code that reads SPLC to acpi
390680e904da iwlwifi: fix indentation in a000 family configuration
eff6a99d6123 iwlwifi: acpi: move function to get mcc into acpi code
2c78cb7d30a5 iwlwifi: acpi: remove a couple of unnecessary ifdefs
913d3ee53285 iwlwifi: acpi: make iwl_get_bios_mcc() use the common acpi functions
99fb9256d5db iwlwifi: acpi: use iwl_acpi_get_wifi_pkg when reading reading SPLC
ebe44b941059 iwlwifi: acpi: generalize iwl_mvm_sar_find_wifi_pkg()
f9975d6cd5cb iwlwifi: acpi: move ACPI-related definitions to acpi.h
c82427d45403 iwlwifi: acpi: move ACPI method definitions to acpi.h
230d7769570e iwlwifi: acpi: add common code to read from ACPI
11fe78e4e712 iwlwifi: mvm: change warning to warn_once()
5bdafa97f8c2 iwlwifi: pcie: dump registers when HW becomes inaccessible
e23f32f76e1b iwlwifi: mvm: add marker cmd response struct.
29921783721e iwlwifi: fw: api: remove excess enum value documentation
7d535c46c8a9 iwlwifi: mvm: don't send identical PHY_CTXT_CMD
271cf21e8e38 iwlwifi: remove redundant reading from NVM file
1f97d139cf89 iwlwifi: pcie: dynamic Tx command queue size
49cd37c4bf52 iwlwifi: Add few debug prints to the WRT dump flow
275329860324 iwlwifi: mvm: support firmware debug trigger on frame reorder timeout
04901364779d iwlwifi: mvm: remove support for Link Quality Measurements
36b34fa8d705 iwlwifi: mvm: Add new quota command API
ebe4543c05ca iwlwifi: add a new a000 device
c18499f54fb6 iwlwifi: fix wrong struct for a000 device
b446945d074c iwlwifi: trans: move ref/unref code to the common part of the transport
0c1dddd47c6e iwlwifi: mvm: add dbgfs entry for fw info
6f04e26ed094 iwlwifi: nvm: set the correct offsets to 3168 series
9cd4e5a40c94 iwlwifi: nvm-parse: unify channel flags printing
81d96355b478 iwlwifi: mvm: return -ENODATA when reading the temperature with the FW down
191792ca6c7b iwlwifi: stop dbgc recording before stopping DMA
55b03bd59426 iwlwifi: mvm: do not print security error in monitor mode
d25afe43ac2b iwlwifi: mvm: fix reorder buffer for 9000 devices
dab206263245 iwlwifi: mvm: set status before calling iwl_mvm_send_cmd_status()
4cd70ffaa6b4 iwlwifi: mvm: initialize status in iwl_mvm_add_int_sta_common()
8b949c472671 iwlwifi: mvm: handle FIF_ALLMULTI when setting multicast addresses
a8789c53df4c iwlwifi: mvm: wake the correct mac80211 queue
e3fc497bcb1f iwlwifi: mvm: change state when queueing agg start work
e64485ba374a iwlwifi: mvm: send all non-bufferable frames on the probe queue
39853a2897ca iwlwifi: mvm: Flush non STA TX queues
a79f9da1c39f iwlwifi: mvm: fix wowlan resume failed to load INIT ucode
030cb8bb462b iwlwifi: mvm: only send LEDS_CMD when the FW supports it
9d5c1397f0ba iwlwifi: mvm: bump API to 34 for 8000 and up
0e4e899155b2 iwlwifi: mvm: Avoid deferring non bufferable frames
bbb1538f4415 iwlwifi: fix long debug print
fba7875cbf2b iwlwifi: pcie: move rx workqueue initialization to iwl_trans_pcie_alloc()
cbe2772aa5ac iwlwifi: use big-endian for the hw section of the nvm
5a9ed1a9e7a1 iwlwifi: mvm: remove useless check for mvm->cfg in iwl_parse_nvm_section()
5dce0bb2c1e4 iwlwifi: mvm: remove useless argument in iwl_nvm_init()
44a34b9133f6 iwlwifi: fw: fix lar_enabled endian problem in iwl_fw_get_nvm
6ed7a437ada4 iwlwifi: add workaround to disable wide channels in 5GHz
9fdf34b63469 iwlwifi: mvm: change open and close criteria of a BA session
00fee168712f iwlwifi: update channel flags parser
51fe7153860f iwlwifi: distinguish different RF modules in A000 devices
04b2b5fe60ec iwlwifi: mvm: Fix channel switch in case of count <= 1
12cb62ad92f1 iwlwifi: Demote messages about fw flags size to info
ec7db94d2ac8 iwlwifi: move BT_MBOX_PRINT macro to common header
9096228d343c iwlwifi: mvm: don't send BAR on flushed frames
0200459abfe5 iwlwifi: mvm: remove session protection to allow channel switch
4ed04628ce99 iwlwifi: mvm: update the firmware API in TX
a9c710c755bd iwlwifi: mvm: use mvmsta consistently in rs.c
db9f3872c6fa iwlwifi: mvm: group all dummy SAR function declarations together
e59229f94610 iwlwifi: mvm: add command name for FRAME_RELEASE
52c144d07be9 iwlwifi: pcie: support short Tx queues for A000 device family
9768c491c7d2 iwlwifi: mvm: support new Coex firmware API
899413b64660 iwlwifi: call iwl_remove_notification from iwl_wait_notification
1e627b700dbb iwlwifi: mvm: consider RFKILL during INIT as success
c9ef6cbdc1b9 iwlwifi: mvm: remove the corunning support
6e83c9cbc23f iwlwifi: mvm: fix the coex firmware API
537da96de818 iwlwifi: pcie: free the TSO page when a Tx queue is unmapped on A000 devices
5fcd36459941 iwlwifi: remove references to unsupported HW
b73ab3bf441b iwlwifi: fix nmi triggering from host
c0594a59199d iwlwifi: pcie: don't init a Tx queue with an SSN > size of the queue
0d23bd8c8cbf iwlwifi: mvm: add station before allocating a queue
bd8e6c146cc2 iwlwifi: mvm: don't send CTDP commands via debugfs if not supported
2f36c927e0b6 iwlwifi: mvm: support new beacon template command
55ed6e274d45 iwlwifi: mvm: send delba upon rx ba session timeout
f9cc252d82fc iwlwifi: mvm: set the default cTDP budget
1d41aa6b2727 iwlwifi: mvm: move a000 device NVM retrieval to a common place
e7b6180a4e80 iwlwifi: dump smem configuration when firmware crashes
30d9d2f6ec84 iwlwifi: fix a000 RF_ID define
064eaeb94cdd iwlwifi: add support of FPGA fw
4d58ad2d7dd4 iwlwifi: fix a few instances of misaligned kerneldoc parameters
a854f76ba000 iwlwifi: change functions that can only return 0 to void
583ab36a2c38 iwlwifi: mvm: add debugfs to force CT-kill
59f3b92bc9d5 iwlwifi: mvm: add const to thermal_cooling_device_ops structure
6065eab05454 iwlwifi: mvm: use firmware LED command where applicable
bdd1f8e6cd04 iwlwifi: mvm: remove useless condition in LED code
8690797a9a10 iwlwifi: mvm: don't WARN when a legit race happens in A-MPDU
bfa6caa712e9 iwlwifi: mvm: start mac queues when deferred tx frames are purged
b8055bcadf7c iwlwifi: mvm: Fix a memory leak in an error handling path in 'iwl_mvm_sar_get_wgds_table()'
446ea78b678c iwlwifi: mvm: don't retake the pointer to skb's CB
f8fecb61f48f iwlwifi: mvm: remove non-DQA mode
2afb27a925ce iwlwifi: mvm: rename p2p-specific sta functions to include p2p in the names
6c1a64e3ef75 iwlwifi: mvm: simplify bufferable MMPDU check
37d2db886acb iwlwifi: mvm: require AP_LINK_PS for TVQM
cc0f8aa5bd8c iwlwifi: pcie: rename iwl_trans_check_hw_rf_kill() to pcie
d680a553246e iwlwifi: mvm: add compile-time option to disable EBS
eb39ff9703cb iwlwifi: implement fseq version mismatch warning
248737b38907 iwlwifi: mvm: support fw reading empty OTP
4c521e875d7a iwlwifi: pcie: fix A-MSDU on gen2 devices
cae215d55c66 iwlwifi: mvm: fix uninitialized var while waiting for queues to empty
3c7d7c6a8dbd iwlwifi: mvm: fix the FIFO numbers in A000 devices
e9ac52a93832 iwlwifi: mvm: refactor beacon template command code
585dde6c1b9b iwlwifi: dvm: remove unused defines
7eec01ad4c9e iwlwifi: mvm: byte-swap constant instead of variable
099c0a80ad9f iwlwifi: mvm: check family instead of new TX API for workarounds
2e44edff43bb iwlwifi: mvm: add and use iwl_mvm_has_unified_ucode()
571909b0fc2f iwlwifi: fw api: fix various kernel-doc warnings
231a0f260c9f iwlwifi: reorganize firmware API
45a9716e520c iwlwifi: refactor firmware debug code
6bc25ab6637f iwlwifi: track current firmware image in common code
2e8f9d07d433 iwlwifi: refactor shared mem parsing
e99db11387dd iwlwifi: refactor out paging code
87e461c198f2 iwlwifi: add the new 9000 series PCI IDs
ccd7ba236f4c iwlwifi: mvm: set the RTS_MIMO_PROT bit in flag mask when sending sta to fw
117a3d6f9f1d iwlwifi: fix fw_pre_next_step to apply also for C step
2176967bd330 iwlwifi: mvm: rs: fix TLC statistics collection
7e12ee6aadfd iwlwifi: mvm: set A-MPDU bit upon empty BA notification from FW
a52eff0e4979 iwlwifi: split the regulatory rules when the bandwidth flags require it
3a5a68e76e90 iwlwifi: add TLV for MLME offload firmware capability
a33aab491b28 iwlwifi: mvm: fix TCP CSUM offload with WEP and A000 series
4aaa3afd80b2 iwlwifi: mvm: defer setting IWL_MVM_STATUS_IN_HW_RESTART
824bd3878358 iwlwifi: mvm: handle IBSS probe_queue in a few missing places
cfa94cd7b0eb iwlwifi: fix tracing when tx only is enabled
2137706c9531 iwlwifi: missing error code in iwl_trans_pcie_alloc()
7f6264621aa1 iwlwifi: mvm: fix a NULL pointer dereference of error in recovery
f20a2719d785 iwlwifi: pcie: fix unused txq NULL pointer dereference
9e14453045b2 iwlwifi: bump MAX API for 8000/9000/A000 to 33
b177ff5b4d37 iwlwifi: pcie: wait longer after device reset
1a57bfb1ca30 iwlwifi: pcie: propagate iwl_pcie_apm_init's status
5d80ae738313 iwlwifi: mvm: quietly accept non-sta disassoc frames
4413e18698bd iwlwifi: mvm: update rx statistics cmd api
8a1e4d649107 iwlwifi: mvm: remove DQA non-STA client mode special case
ba3b437ac257 iwlwifi: mvm: don't mess the SNAP header in TSO for non-QoS packets
6a8a1d8ff04f iwlwifi: pcie: reconfigure MSI-X HW on resume
370b3f671b84 iwlwifi: mvm: don't send fetch the TID from a non-QoS packet in TSO
dd9d9e230b3b iwlwifi: mvm: fix mac80211's hw_queue in DQA mode
67f0a8051df7 iwlwifi: mvm: map cab_queue to real one earlier
279ca413640e iwlwifi: mvm: fix mac80211 queue tracking
ac34301b93d9 iwlwifi: mvm: properly enable IP header checksumming
b7e49fba6de4 iwlwifi: pcie: add MSI-X interrupt tracing
073e3ae0697d iwlwifi: mvm: quietly accept non-sta assoc response frames
000225c8540e iwlwifi: mvm: remove version 2 of paging command
01adad1afb4b iwlwifi: move configuration into sub-directory
1c945c0a2365 iwlwifi: move notification wait into fw/
707cab759b03 iwlwifi: create new subdirectory for FW interaction
11498c406c1d iwlwifi: mvm: rename iwl_shared_mem_cfg_v1 to the correct _v2
36d920ab8301 iwlwifi: mvm: fix deduplication start logic
f639f74a16db iwlwifi: mvm: unconditionally stop device after init
6d351ad19e9e iwlwifi: pcie: warn if paging is already initialized during init
f440538d499e iwlwifi: pcie: make ctxt-info free idempotent
b6d799e30c37 iwlwifi: unify external & internal modparam names
da2431c19209 iwlwifi: mvm: support multi tid ba notif
9ef205fbc7f6 iwlwifi: mvm: change when the BT_COEX is sent
ffeceb4d747d iwlwifi: pcie: improve debug in iwl_pcie_rx_handle_rb()
03eb5a5191b5 iwlwifi: mvm: support aggs of 64 frames in A000 family
2385536aa6aa iwlwifi: pcie: improve "invalid queue" warning
15a398ef172d iwlwifi: mvm: use proper CDB check in PHY context modify
864be96cece8 iwlwifi: add twelve new 9560 series PCI IDs
ec6054472dfb iwlwifi: add the new a000_2ax series
968a39b62c95 iwlwifi: mvm: simplify CHECK_MLME_TRIGGER macro
df311987c49c iwlwifi: mvm: change sta_id to u8
883fb2c8e201 iwlwifi: pcie: fix 9000-series RF-kill interrupt propagation
91acf229d6cd iwlwifi: pcie: only apply retention workaround on 9000-series A-step
09a2f42e69fb iwlwifi: dvm: use macros for format strings
7ca1a7dd8f3e iwlwifi: mvm: fix a bunch of kernel-doc warnings
b458b063bc76 iwlwifi: mvm: add documentation for all command IDs
d1790ece9b75 iwlwifi: mvm: use __le16 even for reserved fields
046c12a1dc80 iwlwifi: mvm: remove various unused command IDs/structs
2848902362f0 iwlwifi: mvm: fix various "Excess ... description" kernel-doc warnings
623a8552fda4 iwlwifi: mvm: remove some CamelCase from firmware API
e3b3b727c40d iwlwifi: mvm: Add debugfs entry to retrieve SAR geographic profile
fdc992fb8d18 iwlwifi: mvm: refactor geo init
c5a3a5eefbea iwlwifi: mvm: support TX on MONITOR iface
dc57bda29216 iwlwifi: pcie: work around suspend/resume issue
0ae7c6c46fd8 iwlwifi: mvm: fix typo in CTDP_CMD_OPERATION_REPORT description
c7434aa46639 iwlwifi: pcie: delete the Tx queue timer earlier upon firmware crash
958f6310f57a iwlwifi: pcie: reduce unwanted noise in the logs
47b740d6fdad iwlwifi: mvm: print base HW address during init
576b5f6d20aa iwlwifi: mvm: document assoc_beacon_arrive_time
0f5456ddc9e1 iwlwifi: mvm: reset the fw_dump_desc pointer after ASSERT
143b28afd061 iwlwifi: mvm: set assoc_beacon_arrive_time
277925710d13 iwlwifi: pcie: make iwl_pcie_apm_stop_master() return void
2c60b669ee2f iwlwifi: add a W/A for a scheduler hardware bug
ea2c2d55b740 iwlwifi: mvm: don't mark TIDs that are not idle wrt BA as inactive
6334bb289021 iwlwifi: mvm: reset the HW before dumping if HW error is detected
47cc9c8ef1e2 iwlwifi: pcie: don't disable bh when handling FW errors
c7507a1c27da iwlwifi: mvm: fix nvm_data leak
997a0c1940c0 iwlwifi: remove useless iwl_free_nvm_data() function
85ffc85a8631 iwlwifi: document transmit buffer bits better
b354e56f9170 iwlwifi: mvm: add documentation for enum iwl_debug_cmds
862b5ca77cb7 iwlwifi: mvm: disentangle union in TX status struct
62bcece33632 iwlwifi: mvm: fix fw monitor 7000 HW recollecting
779d40dcefef iwlwifi: mvm: docs: fix enum link, provide TX response link
07654dd35785 iwlwifi: pcie: fix command completion name debug
fe6742b239a5 iwlwifi: fix TX tracing for non-linear SKBs
b45290710c5f iwlwifi: simplify data tracepoint
30c0d59cb96e iwlwifi: mvm: better link scan notification results length
2af91c751cb1 iwlwifi: pcie: use kstrtou32_from_user()
476da255e452 iwlwifi: mvm: support aggregations on A000 HW
9589a1e03918 iwlwifi: mvm: document status bits
ba68df149d76 iwlwifi: pcie: remove pointless debugfs parsing for csr file
69cb66f56e31 iwlwifi: pcie: don't report RF-kill enabled while shutting down
95cf3d6024f3 iwlwifi: mvm: don't warn in queue sync on RF-kill
f29197139bd5 iwlwifi: pcie: add fake RF-kill to debugfs
9d66c60c017c iwlwifi: pcie: pull out common rfkill IRQ handling code
ecc56c4e3f8a iwlwifi: mvm: rs: add logs for the wrong antenna case
9fa7ff152d17 iwlwifi: mvm: make iwl_mvm_update_mcc() easier to follow
5873c905dd46 iwlwifi: mvm: change the firmware name loading
f48b4417b6bb iwlwifi: mvm: support D0I3_END_CMD at the start of resume
db5d313c1366 iwlwifi: mvm: make D0I3_END_CMD sync during system resume
cef60bd42b53 iwlwifi: mvm: track and report IBSS manager status to mac80211
c9592bc2295b iwlwifi: use bitfield.h for some registers
a981c4683faa iwlwifi: mvm: use scnprintf() instead of snprintf()
94da2d3b1962 iwlwifi: pcie: fix TVQM queue ID range check
ffc4fbe862d0 iwlwifi: mvm: remove pointless num_stored condition
fffa02450281 iwlwifi: mvm: avoid unnecessary cache trashing in Tx path
ef694dd2c96a iwlwifi: mvm: Enable security on new TX API
8628d427548a iwlwifi: mvm: disable dbg data collect when fw isn't alive
29e776b74ca4 iwlwifi: remove resp_pkt NULL checks
b697ec7ebaa3 iwlwifi: mvm: remove txq EMPTYING_DELBA state for DQA
c1c666e4b9e1 iwlwifi: remove unnecessary code in iwl_trans_alloc_tx_cmd
aac2dec2caa9 iwlwifi: fw-api: cleanup cycle includes
6d409c70b759 iwlwifi: mvm: remove SCAN_GROUP
57cba4f2c3bb iwlwifi: mvm: link to TX commands in documentation
2792b27534b3 iwlwifi: mvm: document structures used for BEACON_TEMPLATE_CMD
7bafd04ebb12 iwlwifi: mvm: link queue cmd docs to A000 command structs
c99a3509d9a9 iwlwifi: split firmware API from iwl-trans.h
4180802e550f iwlwifi: fix a kernel-doc tag
fee5c3ea3ccc iwlwifi: mvm: clear firmware running bit earlier
1a6cb6ae5305 iwlwifi: mvm: convert ucode_loaded to a status bit
28abcc34d47f iwlwifi: mvm: use schedule_delayed_work()
2b8c8c6a247c iwlwifi: mvm: check firmware is up in debugfs
f2a41abb9acc iwlwifi: mvm: disable prph collection in a000 hw
8945686f242b iwlwifi: pcie: support dumping FH in a000 hw
e8e293176ae2 iwlwifi: add 9000 and A000 device families
3610276b8a6c iwlwifi: mvm: support init flow debugging
ca41111b2b1c iwlwifi: mvm: add TLV for NAN API differentiation
afbea5518455 iwlwifi: add dbgc_supported to transport configuration
acdc73097588 iwlwifi: remove references to 8000 B-step devices
595bbac1c406 iwlwifi: cleanup references to 8000 family in NVM code
11faed6da368 iwlwifi: pcie: add AMSDU to gen2
fcdca8ea1328 iwlwifi: mvm: document RX structures
767327919d86 iwlwifi: mvm: add AMSDU flag to offload assist
f322fb5df757 iwlwifi: mvm: fix many kernel-doc warnings
50cc8892d845 iwlwifi: mvm: remove unused REPLY_MAX
484994be6f9c iwlwifi: kernel-doc: make proper links
118480297594 iwlwifi: mvm: remove unused TX_CMD_NEXT_FRAME_*
d51079922e78 iwlwifi: Add fw_name_pre_rf_next_step to support different rf steps
75ae58fb9f09 iwlwifi: pcie: support page dumping in wrt in gen2
1257922aa9ba iwlwifi: mvm: remove wrt support of page dumps in gen2
dd16d8dd7ffa iwlwifi: mvm: document structures used by commands
c1707f389f38 iwlwifi: mvm: create/name various enums
f7284177ca6b iwlwifi: mvm: disentangle binding command versions
2e2a50a2385b iwlwifi: update device ID for a000 family
1a2dfbdfc6a6 iwlwifi: mvm: add documentation links to various fields
af89f3bcefe0 iwlwifi: mvm: fix some kernel-doc
dd9e1bc0ab78 iwlwifi: mvm: add documentation to some WoWLAN commands
f3a49c387b0c iwlwifi: mvm: disentangle paging command structs
99663cdb5f32 iwlwifi: mvm: use u8 for reserved fields
889c4a104258 iwlwifi: mvm: fix MCC endianness bug
a391ff99187a iwlwifi: mvm: use proper sta_addr in firmware API
27b6fcbdb9dd iwlwifi: mvm: document which group enums are used with which group ID
6eb27e533f68 iwlwifi: mvm: fix endianness in lq_cmd declaration
0fbd3eb814df iwlwifi: mvm: support old method of NVM parsing
dc5fc94c7ad3 iwlwifi: mvm: support getting nvm data from firmware
(From OE-Core rev: 7b1ee27839401f1f6c40e012e388b5d8749b2a2f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit 7e98c295c1bb511e [kernel-yocto: ensure that only a single
defconfig is processed] has an overly broad replacement strategy
for 'defconfig' and hence will chop up any fragment name that
happens to contain that string.
If we change the processing to split on whitespace and drop
any full work 'defconfig' fragments, we'll get the behaviour
we want (no duplicate defconfigs, but fragments with defconfig
in their name are fine).
[YOCTO #12487]
(From OE-Core rev: 7c5a6cd8afb7157890b30a3e19ed5c06ec5a9516)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following bug fixes (mainline backports):
d572780c455f Mips kernel warining:resolve some warning when compiling arch/mips/math-emu/cp1emu.c
f79ac7203257 drm/tilcdc: Precalculate total frametime in tilcdc_crtc_set_mode()
(From OE-Core rev: 8fd6ca0d3897e974a3f4f6687b2796add3fd9293)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following backports to enable graphics and audito for
the coffeelake-s board:
e0256c639caf ALSA: hda/realtek - Fix ALC700 family no sound issue
a3bd263fa5f3 ALSA: hda - Add model string for Intel reference board quirk
c12ee7fbc382 ALSA: hda/realtek - Enable jack detection function for Intel ALC700
ff8d2c896572 ALSA: hda: Add Cannonlake PCI ID
88ee594b72e6 ALSA: hda - Fix unbalance of i915 module refcount
c7d38955ce7f ALSA: hda - Fix doubly initialization of i915 component
5ca2b95b131f ALSA: hda - Bind with i915 component before codec binding
648c24f8d385 ALSA: hda - Add AZX_DRIVER_SKL for simplification
f406fd3d0c63 drm/i915/cnl: Implement CNL display init/unit sequence
1e07bbf553c0 drm/i915/cnl: Implement .set_cdclk() for CNL
901336fddca0 drm/i915/cnl: Implement .get_display_clock_speed() for CNL
be7a1f129e42 drm/i915/cfl: Coffee Lake reuses Kabylake DMC.
ee6ac7be14c3 drm/i915/huc: Load HuC on Coffee Lake
35a913347462 drm/i915/guc: Load GuC on Coffee Lake
443e68bbbe46 drm/i915/cfl: Add Coffee Lake PCI IDs for U Sku.
0ef98275c834 drm/i915/cfl: Add Coffee Lake PCI IDs for H Sku.
594a1d673403 drm/i915/cfl: Add Coffee Lake PCI IDs for S Skus.
8732a393ce1e drm/i915/cfl: Introduce Display workarounds for Coffee Lake.
676a4c1b92ab drm/i915/cfl: Coffee Lake uses CNP PCH.
f5eb462f524f drm/i915/cfl: Introduce Coffee Lake platform definition.
8a3a080c7028 drm/i915/cnl: Also need power well sanitize.
b5620b75db38 drm/i915/cnl: Add power wells for CNL
b747f1806205 drm/i915/cnl: Cannonlake has same MOCS table than Skylake.
fc8aee64eaeb drm/i915/cnl: Configure EU slice power gating.
a9b5e8f00440 drm/i915/cnl: Cannonlake has 4 planes (3 sprites) per pipe
03a55f9a6082 drm/i915/cnl: add IS_CNL_REVID macro
7236995c6b04 drm/i915/cnl: Add Cannonlake PCI IDs for Y-skus.
b2f7e93bcb56 drm/i915/cnl: Add Cannonlake PCI IDs for U-skus.
30c5a76e52a6 drm/i915/cnl: Cannonlake uses CNP PCH.
27bb6860ebf1 drm/i915/cnl: Introduce Cannonlake platform defition.
b4d4cf3529e0 drm/i915/cnp: Panel Power sequence changes for CNP PCH.
ee2e2af1cf34 drm/i915/cnp: add CNP gmbus support
35964d298c7d drm/i915/cnp: Backlight support for CNP.
ccfab7d5ae88 drm/i915/cnp: Get/set proper Raw clock frequency on CNP.
abdbbc6157d7 drm/i915/cnp: Add PCI ID for Cannonpoint LP PCH
87482dfba004 drm/i915/cnp: Introduce Cannonpoint PCH.
(From OE-Core rev: 3d0ef7cb4a9495d26d59715936d8e39f2ad61b91)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following fixes to CQM and rdt:
6039d7e04ee9 x86/intel_rdt: Turn off most RDT features on Skylake
bda0ec91ba67 x86/intel_rdt: Add command line options for resource director technology
a3c30e14a0c6 x86/intel_rdt: Move special case code for Haswell to a quirk function
8b85cfaa3e71 perf tests: Remove Intel CQM perf test
c52eafb271db x86/intel_rdt: Remove redundant assignment
59eded4485bd x86/intel_rdt/cqm: Make integer rmid_limbo_count static
f353fcc5381a perf test: Add 'struct test *' to the test functions
3ab7007dc138 perf tools: Remove warning()
16373473698d tools: Adopt __printf from kernel sources
1b6df81b0ec0 perf event-parse: Use pr_warning()
49304e0a40bb tools: Adopt __noreturn from kernel sources
404c63ba6ad9 x86/intel_rdt: Fix a silent failure when writing zero value schemata
0ccb572e7d9a x86/intel_rdt: Initialize bitmask of shareable resource if CDP enabled
9e35007e23ea x86/intel_rdt: Add diagnostics when making directories
68cd327250f4 x86/intel_rdt: Add diagnostics when writing the cpus file
d00dfe37ca54 x86/intel_rdt: Add diagnostics when writing the tasks file
63536c68faa4 x86/intel_rdt: Add diagnostics when writing the schemata file
b626cc5e2b2a x86/intel_rdt: Add framework for better RDT UI diagnostics
cf0468526b24 x86/intel_rdt: Remove redundant ternary operator on return
8bba47d15f54 x86/intel_rdt: Modify the intel_pqr_state for better performance
dcddbbf53ff7 x86/intel_rdt/cqm: Clear the default RMID during hotcpu
6d4f2689b04b x86/intel_rdt/cqm: Improve limbo list processing
360834344240 x86/intel_rdt/mbm: Fix MBM overflow handler during CPU hotplug
02a3de9b826d x86/intel_rdt: Show bitmask of shareable resource with other executing units
cb73d2dea025 x86/intel_rdt/mbm: Handle counter overflow
f8886547bdc5 x86/intel_rdt/mbm: Add mbm counter initialization
77d89a70fbea x86/intel_rdt/mbm: Basic counting of MBM events (total and local)
81825b49c811 x86/intel_rdt/cqm: Add CPU hotplug support
e23cf266aac4 x86/intel_rdt/cqm: Add sched_in support
b690bc426fdf x86/intel_rdt: Introduce rdt_enable_key for scheduling
5a810cfc457c x86/intel_rdt/cqm: Add mount,umount support
8ee1a2a746b7 x86/intel_rdt/cqm: Add rmdir support
899eeb375632 x86/intel_rdt: Separate the ctrl bits from rmdir
549388e78852 x86/intel_rdt/cqm: Add mon_data
51d07512e645 x86/intel_rdt: Prepare for RDT monitor data support
41b1dbc8e6d1 x86/intel_rdt/cqm: Add cpus file support
6f2b9b502232 x86/intel_rdt: Prepare to add RDT monitor cpus file support
1cf7f59b18bb x86/intel_rdt/cqm: Add tasks file support
b84af6f5654d x86/intel_rdt: Change closid type from int to u32
0ee69d488d44 x86/intel_rdt/cqm: Add mkdir support for RDT monitoring
58da4f0768cf x86/intel_rdt: Prepare for RDT monitoring mkdir support
ebc3f80d3cdd x86/intel_rdt/cqm: Add info files for RDT monitoring
be500fe614a7 x86/intel_rdt: Simplify info and base file lists
0a60b55c6fdd x86/intel_rdt/cqm: Add RMID (Resource monitoring ID) management
14ddd52ae741 x86/intel_rdt/cqm: Add RDT monitoring initialization
0d2a5b765e74 x86/intel_rdt: Make rdt_resources_all more readable
5ecd779f63d9 x86/intel_rdt: Cleanup namespace to support RDT monitoring
47715abe4ae3 x86/intel_rdt: Mark rdt_root and closid_alloc as static
72c19e0f78e1 x86/intel_rdt: Change file names to accommodate RDT monitor code
1d38ddcfa2b0 x86/intel_rdt: Introduce a common compile option for RDT
7dd744520602 x86/intel_rdt/cqm: Documentation for resctrl based RDT Monitoring
58d3bad357a9 x86/perf/cqm: Wipe out perf based cqm
8f921be6408b perf/x86/intel/cqm: Use cpuhp_setup_state_cpuslocked()
56b2f2883750 perf, bpf: Add BPF support to all perf_event types
(From OE-Core rev: b0d897cfb70918220d09af0e8d614e8d483ae26d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg stable updates that comprise the following
commits:
0cbac004e673 Linux 4.4.99
e8d650563c5f misc: panel: properly restore atomic counter on error path
01000c56cacc target: Fix node_acl demo-mode + uncached dynamic shutdown regression
4063c2093349 target/iscsi: Fix iSCSI task reassignment handling
7ecc076a5d51 brcmfmac: remove setting IBSS mode when stopping AP
d27383faf144 tipc: fix link attribute propagation bug
c8f13916c4c9 security/keys: add CONFIG_KEYS_COMPAT to Kconfig
11fa3353205e tcp/dccp: fix other lockdep splats accessing ireq_opt
6f8048cd59d7 tcp/dccp: fix lockdep splat in inet_csk_route_req()
13eddc67565a tcp/dccp: fix ireq->opt races
b9b0c99a426a ipip: only increase err_count for some certain type icmp in ipip_err
9bae2ffb87d6 ppp: fix race in ppp device destruction
4b5bb7723da1 sctp: reset owner sk for data chunks on out queues when migrating a sock
bcb3b90cf3c8 tun: allow positive return values on dev_get_valid_name() call
5c8a0850bae2 ip6_gre: only increase err_count for some certain type icmpv6 in ip6gre_err
93b12f202a4e net/unix: don't show information about sockets from other namespaces
84237c54b239 ipv6: flowlabel: do not leave opt->tot_len with garbage
d552c8c5007a packet: avoid panic in packet_getsockopt()
ef3a12f1dc4a sctp: add the missing sock_owned_by_user check in sctp_icmp_redirect
4b27fe34a226 tun: call dev_get_valid_name() before register_netdevice()
196f4755cc82 l2tp: check ps->sock before running pppol2tp_session_ioctl()
71c4a0fc3576 tcp: fix tcp_mtu_probe() vs highest_sack
735818a8b45c tun/tap: sanitize TUNSETSNDBUF input
1e98fd54c356 ALSA: seq: Cancel pending autoload work at unbinding device
b7c625ce6d27 Input: ims-psu - check if CDC union descriptor is sane
de46c1adbea6 usb: usbtest: fix NULL pointer dereference
c93df40f3c73 mac80211: don't compare TKIP TX MIC key in reinstall prevention
cdac2028c901 mac80211: use constant time comparison with keys
6440f0ee8a17 mac80211: accept key reinstall without changing anything
c4e3d53bd9e7 Linux 4.4.98
9c405157269d PKCS#7: fix unitialized boolean 'want'
b01f1d60dd1c x86/oprofile/ppro: Do not use __this_cpu*() in preemptible context
4df27e649308 can: c_can: don't indicate triple sampling support for D_CAN
cdb5a2def61c can: sun4i: handle overrun in RX FIFO
493cb19b2522 rbd: use GFP_NOIO for parent stat and data requests
ba4828af60e2 drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue
05b690ccb077 Input: elan_i2c - add ELAN060C to the ACPI table
4694272c470a MIPS: AR7: Ensure that serial ports are properly set up
721d4be9e05d MIPS: AR7: Defer registration of GPIO
d0cfebd9b1db tools: firmware: check for distro fallback udev cancel rule
4afaa496d7f3 selftests: firmware: send expected errors to /dev/null
ed1deec127d9 selftests: firmware: add empty string and async tests
c08f3a82f66f test: firmware_class: report errors properly on failure
6004eb4d1adc MIPS: SMP: Fix deadlock & online race
857e81041f69 MIPS: Fix race on setting and getting cpu_online_mask
175c0622ab11 MIPS: SMP: Use a completion event to signal CPU up
207c2143322c MIPS: Fix CM region target definitions
ff8e97326b6a MIPS: microMIPS: Fix incorrect mask in insn_table_MM
1e54b5f72115 ALSA: seq: Avoid invalid lockdep class warning
adc4bacd5164 ALSA: seq: Fix OSS sysex delivery in OSS emulation
4d5b67a54e6d ARM: 8720/1: ensure dump_instr() checks addr_limit
3fc61b8dd6bb KEYS: fix NULL pointer dereference during ASN.1 parsing [ver #2]
48276703a037 crypto: x86/sha1-mb - fix panic due to unaligned access
44540ead8a8a workqueue: Fix NULL pointer dereference
ad8c619750c4 x86/uaccess, sched/preempt: Verify access_ok() context
44e0e2b47af2 platform/x86: hp-wmi: Do not shadow error values
ce93b664540d platform/x86: hp-wmi: Fix error value for hp_wmi_tablet_state
df5371592aca KEYS: trusted: fix writing past end of buffer in trusted_read()
939cafad2f51 KEYS: trusted: sanitize all key material
75f82a703b30 cdc_ncm: Set NTB format again after altsetting switch for Huawei devices
5ffc673161be platform/x86: hp-wmi: Fix detection for dock and tablet mode
f38a3a1c8f1a net: dsa: select NET_SWITCHDEV
581243dc5528 s390/qeth: issue STARTLAN as first IPA command
3652b0b6f2c2 IB/ipoib: Change list_del to list_del_init in the tx object
aa4af0fca101 Input: mpr121 - set missing event capability
0a731928f264 Input: mpr121 - handle multiple bits change of status register
ffa6332b8d80 IPsec: do not ignore crypto err in ah4 input
9ee83b03365a netfilter: nft_meta: deal with PACKET_LOOPBACK in netdev family
cfb2cb34d32e usb: hcd: initialize hcd->flags to 0 when rm hcd
6450c9a96ff3 serial: sh-sci: Fix register offsets for the IRDA serial port
ca2090aa58ba phy: increase size of MII_BUS_ID_SIZE and bus_id
079822da0a00 iio: trigger: free trigger resource correctly
26fa336d69a2 crypto: vmx - disable preemption to enable vsx in aes_ctr.c
30019ca7dc09 ARM: omap2plus_defconfig: Fix probe errors on UARTs 5 and 6
83fe38f2c4a3 powerpc/corenet: explicitly disable the SDHC controller on kmcoge4
158bc64a4dfe iommu/arm-smmu-v3: Clear prior settings when updating STEs
f20065b466d4 KVM: PPC: Book 3S: XICS: correct the real mode ICP rejecting counter
2393241b7a22 drm: drm_minor_register(): Clean up debugfs on failure
4e0d26b22e79 xen/netback: set default upper limit of tx/rx queues to 8
f3170e6607be PCI: mvebu: Handle changes to the bridge windows while enabled
414aa11de923 video: fbdev: pmag-ba-fb: Remove bad `__init' annotation
8a56b1b25e3c adv7604: Initialize drive strength to default when using DT
c54d0707aa09 Linux 4.4.97
2ed81e62b2ab staging: r8712u: Fix Sparse warning in rtl871x_xmit.c
883706dcda17 xen: don't print error message in case of missing Xenstore entry
298455f466cb bt8xx: fix memory leak
4b7a35866b0c s390/dasd: check for device error pointer within state change interrupts
45a012ace954 mei: return error on notification request to a disconnected client
0e97077574c6 exynos4-is: fimc-is: Unmap region obtained by of_iomap()
2d097e5f5c03 staging: lustre: ptlrpc: skip lock if export failed
efa8f1b7a65a staging: lustre: hsm: stack overrun in hai_dump_data_field
2d1d45396585 staging: lustre: llite: don't invoke direct_IO for the EOF case
28a8fc6416ab platform/x86: intel_mid_thermal: Fix module autoload
d1f96c30ce2d scsi: aacraid: Process Error for response I/O
fff544c8cf68 xen/manage: correct return value check on xenbus_scanf()
762d0762b9bb cx231xx: Fix I2C on Internal Master 3 Bus
0806eaf13850 perf tools: Only increase index if perf_evsel__new_idx() succeeds
3b7d9a95ccd3 drm/amdgpu: when dpm disabled, also need to stop/start vce.
dec5fcf11b45 i2c: riic: correctly finish transfers
358008062202 ext4: do not use stripe_width if it is not set
5624ea161040 ext4: fix stripe-unaligned allocations
a76eb0e8655e staging: rtl8712u: Fix endian settings for structs describing network packets
f9776d7ee5f5 mfd: axp20x: Fix axp288 PEK_DBR and PEK_DBF irqs being swapped
8800aba50292 mfd: ab8500-sysctrl: Handle probe deferral
ed414aeb5291 ARM: pxa: Don't rely on public mmc header to include leds.h
a3e021504fcf mmc: s3cmci: include linux/interrupt.h for tasklet_struct
ba28f16cfa2a PM / wakeirq: report a wakeup_event on dedicated wekup irq
b83c2880b348 Fix tracing sample code warning.
a48fce662380 tracing/samples: Fix creation and deletion of simple_thread_fn creation
ded34f972348 drm/msm: fix an integer overflow test
031b02bc16ae drm/msm: Fix potential buffer overflow issue
6e6eba5ba145 perf tools: Fix build failure on perl script context
fa312b481b2b ocfs2: fstrim: Fix start offset of first cluster group during fstrim
cc7d9933400f ARM: 8715/1: add a private asm/unaligned.h
4e351b8dd8b7 ARM: dts: mvebu: pl310-cache disable double-linefill
581ac5f431c9 arm64: ensure __dump_instr() checks addr_limit
97d64b7f2fdf ASoC: adau17x1: Workaround for noise bug in ADC
618b930317fb KEYS: fix out-of-bounds read during ASN.1 parsing
97c5668c9724 KEYS: return full count in keyring_read() if buffer is too small
d304c9169b38 cifs: check MaxPathNameComponentLength != 0 before using it
8142e9516d5d ALSA: seq: Fix nested rwsem annotation for lockdep splat
70358782743f ALSA: timer: Add missing mutex lock for compat ioctls
27e68f1bca91 Linux 4.4.96
b3d04695be52 Revert "drm: bridge: add DT bindings for TI ths8135"
50044e419e83 ecryptfs: fix dereference of NULL user_key_payload
da0933ceec96 x86/microcode/intel: Disable late loading on model 79
a272dc770f7d regulator: fan53555: fix I2C device ids
120ef1a38f79 can: kvaser_usb: Ignore CMD_FLUSH_QUEUE_REPLY messages
c1b092102124 can: kvaser_usb: Correct return value in printout
0c3cdb4536d1 can: sun4i: fix loopback mode
62b54cc63a1c scsi: sg: Re-fix off by one in sg_fill_request_table()
6e9abbc96411 scsi: zfcp: fix erp_action use-before-initialize in REC action trace
1cbbd99f3bfe assoc_array: Fix a buggy node-splitting case
2c99438cf66d Input: gtco - fix potential out-of-bound access
31d770a8b887 Input: elan_i2c - add ELAN0611 to the ACPI table
8b396ff8eee7 xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap()
82e05e935ffd fuse: fix READDIRPLUS skipping an entry
7d74eecca960 spi: uapi: spidev: add missing ioctl header
3505478d6fec usb: xhci: Handle error condition in xhci_stop_device()
da0345d723f0 ceph: unlock dangling spinlock in try_flush_caps()
5f1d33ab4d53 ALSA: hda - fix headset mic problem for Dell machines with alc236
8c812f0335dd ALSA: hda/realtek - Add support for ALC236/ALC3204
fce67b31c7cd workqueue: replace pool->manager_arb mutex with a flag
9b36699635c5 Linux 4.4.95
aa3a0a70bdb8 FS-Cache: fix dereference of NULL user_key_payload
1bb1d4252d1e fscrypto: require write access to mount to set encryption policy
8a004caec12b KEYS: Fix race between updating and finding a negative key
1dda04c761ab fscrypt: fix dereference of NULL user_key_payload
7d9e13d953f2 f2fs crypto: add missing locking for keyring_key access
4db9f1113196 f2fs crypto: replace some BUG_ON()'s with error checks
0f85c0954be4 sched/autogroup: Fix autogroup_move_group() to never skip sched_move_task()
fcc65ab173eb parisc: Fix double-word compare and exchange in LWS code on 32-bit kernels
558ca24dc296 parisc: Avoid trashing sr2 and sr3 in LWS code
6f0dee7d9c9b pkcs7: Prevent NULL pointer dereference, since sinfo is not always set.
33dea302f9bc KEYS: don't let add_key() update an uninstantiated key
503ef5c070a1 lib/digsig: fix dereference of NULL user_key_payload
2b7e02267d3c KEYS: encrypted: fix dereference of NULL user_key_payload
51ba40fcfd67 rtlwifi: rtl8821ae: Fix connection lost problem
cffdaa65e72f clockevents/drivers/cs5535: Improve resilience to spurious interrupts
b178c94efdfd bus: mbus: fix window size calculation for 4GB windows
260b6739e8b7 brcmsmac: make some local variables 'static const' to reduce stack size
efdcbffb2b16 i2c: ismt: Separate I2C block read from SMBus block read
68c610776cfb ALSA: hda: Remove superfluous '-' added by printk conversion
f9e937124ec2 ALSA: seq: Enable 'use' locking in all configurations
4516069f1b05 drm/nouveau/mmu: flush tlbs before deleting page tables
195674adee57 drm/nouveau/bsp/g92: disable by default
4d56587c28d4 can: esd_usb2: Fix can_dlc value for received RTR, frames
aa629364c0e3 usb: musb: Check for host-mode using is_host_active() on reset interrupt
583a4219841d usb: musb: sunxi: Explicitly release USB PHY on exit
d68b07a19a9e can: gs_usb: fix busy loop if no more TX context is available
f7d8b2e150ee ALSA: usb-audio: Add native DSD support for Pro-Ject Pre Box S2 Digital
67e25805e748 usb: hub: Allow reset retry for USB2 devices on connect bounce
d012ab210f5f usb: quirks: add quirk for WORLDE MINI MIDI keyboard
d729f29a291f usb: cdc_acm: Add quirk for Elatec TWN3
4512d6503a4d USB: serial: metro-usb: add MS7820 device id
9dff499d8226 USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor()
abe43c97cae2 USB: devio: Revert "USB: devio: Don't corrupt user memory"
af9a9a7bed51 Linux 4.4.94
401231d063c5 Revert "tty: goldfish: Fix a parameter of a call to free_irq"
cdbbea7809ca cpufreq: CPPC: add ACPI_PROCESSOR dependency
c2c6f43e023a nfsd/callback: Cleanup callback cred on shutdown
429a4ac5895d target/iscsi: Fix unsolicited data seq_end_offset calculation
823ba64c5719 uapi: fix linux/mroute6.h userspace compilation errors
028a419869e3 uapi: fix linux/rds.h userspace compilation errors
c7a20ed2951f ceph: clean up unsafe d_parent accesses in build_dentry_path
c128baf6a1bc i2c: at91: ensure state is restored after suspending
d7ecae726698 net: mvpp2: release reference to txq_cpu[] entry after unmapping
693e6513b244 scsi: scsi_dh_emc: return success in clariion_std_inquiry()
9ac38e30f2b0 slub: do not merge cache if slub_debug contains a never-merge flag
315689d2e202 ocfs2/dlmglue: prepare tracking logic to avoid recursive cluster lock
d3335f5653ec crypto: xts - Add ECB dependency
02744a55ed38 net/mlx4_core: Fix VF overwrite of module param which disables DMFS on new probed PFs
7bf94b9595cc sparc64: Migrate hvcons irq to panicked cpu
d14591e83b49 md/linear: shutup lockdep warnning
48ca88f93533 f2fs: do not wait for writeback in write_begin
3109615b52ee Btrfs: send, fix failure to rename top level inode due to name collision
4d134d830ea7 iio: adc: xilinx: Fix error handling
5c65ed5c07d7 netfilter: nf_ct_expect: Change __nf_ct_expect_check() return value.
743a3ce1e0fd net/mlx4_en: fix overflow in mlx4_en_init_timestamp()
7ed668eeb851 mac80211: fix power saving clients handling in iwlwifi
3e8c1a04d335 mac80211_hwsim: check HWSIM_ATTR_RADIO_NAME length
4a464dacc23f irqchip/crossbar: Fix incorrect type of local variables
7e53f0390dbd watchdog: kempld: fix gcc-4.3 build
28eab3db727e locking/lockdep: Add nest_lock integrity test
d44e463c9460 Revert "bsg-lib: don't free job in bsg_prepare_job"
01e3e6315171 tipc: use only positive error codes in messages
685699703a0a net: Set sk_prot_creator when cloning sockets to the right proto
1299f7e17e9e packet: only test po->has_vnet_hdr once in packet_snd
1b6c80e797ee packet: in packet_do_bind, test fanout with bind_lock held
ee534927f0c0 tun: bail out from tun_get_user() if the skb is empty
b5f689d94bc3 l2tp: fix race condition in l2tp_tunnel_delete
110cf3dd4bcc l2tp: Avoid schedule while atomic in exit_net
93040aa17862 vti: fix use after free in vti_tunnel_xmit/vti6_tnl_xmit
d9cb4dc0221e isdn/i4l: fetch the ppp_write buffer in one shot
1a4f1ecdb257 bpf: one perf event close won't free bpf program attached by another perf event
5be6824b9704 packet: hold bind lock when rebinding to fanout hook
aa90be3e1248 net: emac: Fix napi poll list corruption
3483c65090dc ip6_gre: skb_push ipv6hdr before packing the header in ip6gre_header
5356f7e40d23 udpv6: Fix the checksum computation when HW checksum does not apply
2ec54b21dd7b bpf/verifier: reject BPF_ALU64|BPF_END
dee4506f067a sctp: potential read out of bounds in sctp_ulpevent_type_enabled()
9f5bbe694df1 MIPS: Fix minimum alignment requirement of IRQ stack
c088f7bc3310 drm/dp/mst: save vcpi with payloads
951ba9f6c8b9 percpu: make this_cpu_generic_read() atomic w.r.t. interrupts
(From OE-Core rev: ab748d3239b3b641bb9e26cc36afed7fad540748)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The aufs4 core code was missing some changes to build against
the 4.9 fs subsystem. This commit resyncs with the upstream
repo, and we can once again build against 4.9.
(From OE-Core rev: b530ab2d3ab28aded6ec86e6f8a6d9be45532361)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg stable updates that comprise the following
commits:
b632d710149f Linux 4.9.71
ed70a2212526 ath9k: fix tx99 potential info leak
8f23eb16afd8 icmp: don't fail on fragment reassembly time exceeded
2eb165b9fbb7 IB/ipoib: Grab rtnl lock on heavy flush when calling ndo_open/stop
0c70b35bf158 RDMA/cma: Avoid triggering undefined behavior
31eb4108e107 macvlan: Only deliver one copy of the frame to the macvlan interface
b64ab3ca9d31 udf: Avoid overflow when session starts at large offset
91e0cf85caea scsi: bfa: integer overflow in debugfs
64da4e8d00f1 scsi: sd: change allow_restart to bool in sysfs interface
1cafdac89191 scsi: sd: change manage_start_stop to bool in sysfs interface
8315bcf841ae rtl8188eu: Fix a possible sleep-in-atomic bug in rtw_disassoc_cmd
6641d3e307f5 rtl8188eu: Fix a possible sleep-in-atomic bug in rtw_createbss_cmd
28e006e14ff9 vt6655: Fix a possible sleep-in-atomic bug in vt6655_suspend
04d5a2d5d2d0 IB/core: Fix calculation of maximum RoCE MTU
c744ecec01ae scsi: scsi_devinfo: Add REPORTLUN2 to EMC SYMMETRIX blacklist entry
f39486bd37ee raid5: Set R5_Expanded on parity devices as well as data.
4fdb10391bca pinctrl: adi2: Fix Kconfig build problem
afeeff4d6156 usb: musb: da8xx: fix babble condition handling
92ad6c13e17e tty fix oops when rmmod 8250
421910e924b6 soc: mediatek: pwrap: fix compiler errors
7745382fe86c powerpc/perf/hv-24x7: Fix incorrect comparison in memord
ab9d25711493 scsi: hpsa: destroy sas transport properties before scsi_host
1723d6668df5 scsi: hpsa: cleanup sas_phy structures in sysfs when unloading
237e053346f1 PCI: Detach driver before procfs & sysfs teardown on device remove
8f84f861f99c RDMA/cxgb4: Declare stag as __be32
769bca9339f0 xfs: fix incorrect extent state in xfs_bmap_add_extent_unwritten_real
c82209949bba xfs: fix log block underflow during recovery cycle verification
fc4177eacfa6 l2tp: cleanup l2tp_tunnel_delete calls
6a559523ee66 nvme: use kref_get_unless_zero in nvme_find_get_ns
e2fce5a5578d platform/x86: hp_accel: Add quirk for HP ProBook 440 G4
7fab68e1f730 btrfs: tests: Fix a memory leak in error handling path in 'run_test()'
b7ada2c0ea29 arm64: prevent regressions in compressed kernel image size when upgrading to binutils 2.27
52aaa748a948 Ib/hfi1: Return actual operational VLs in port info query
9102ed6a5f6a bcache: fix wrong cache_misses statistics
c2a0531f59c3 bcache: explicitly destroy mutex while exiting
75f66eeae657 GFS2: Take inode off order_write list when setting jdata flag
026ffaf65879 scsi: scsi_debug: write_same: fix error report
d8914530f247 thermal/drivers/step_wise: Fix temperature regulation misbehavior
019433db872f ASoC: rsnd: rsnd_ssi_run_mods() needs to care ssi_parent_mod
cf16dac8bd98 ppp: Destroy the mutex when cleanup
27f5597c9859 clk: tegra: Fix cclk_lp divisor register
54809e38a629 clk: hi6220: mark clock cs_atb_syspll as critical
47b63ea40ee1 clk: imx6: refine hdmi_isfr's parent to make HDMI work on i.MX6 SoCs w/o VPU
d6b6302c36b5 clk: mediatek: add the option for determining PLL source clock
2850c3ec0d25 mm: Handle 0 flags in _calc_vm_trans() macro
18498f1c7089 crypto: tcrypt - fix buffer lengths in test_aead_speed()
2ed46cbf23fc arm-ccn: perf: Prevent module unload while PMU is in use
c843e9f8f97f xfs: truncate pagecache before writeback in xfs_setattr_size()
03bfadfb0d79 iommu/amd: Limit the IOVA page range to the specified addresses
cb0acb37010c badblocks: fix wrong return value in badblocks_set if badblocks are disabled
dcdca123814c target/file: Do not return error for UNMAP if length is zero
998201fdc5c9 target:fix condition return in core_pr_dump_initiator_port()
a4f54ec403da iscsi-target: fix memory leak in lio_target_tiqn_addtpg()
e086a82a926a target/iscsi: Fix a race condition in iscsit_add_reject_from_cmd()
abc4b4420af8 platform/x86: intel_punit_ipc: Fix resource ioremap warning
6e5a846d5172 powerpc/ipic: Fix status get and status clear
d7e7c431d621 powerpc/opal: Fix EBUSY bug in acquiring tokens
a463f9c5dfd1 netfilter: ipvs: Fix inappropriate output of procfs
b3b6d1eea0de iommu/mediatek: Fix driver name
9a4bf05126f4 PCI: Do not allocate more buses than available in parent
29a404be7b30 powerpc/powernv/cpufreq: Fix the frequency read by /proc/cpuinfo
f44d28e0348d PCI/PME: Handle invalid data when reading Root Status
5a7192bc389e dmaengine: ti-dma-crossbar: Correct am335x/am43xx mux value type
03a48dc96505 ASoC: Intel: Skylake: Fix uuid_module memory leak in failure case
9146b10f8cd6 rtc: pcf8563: fix output clock rate
cf53526f3312 video: fbdev: au1200fb: Return an error code if a memory allocation fails
90e2591f6f3f video: fbdev: au1200fb: Release some resources if a memory allocation fails
92c3c7db8336 video: udlfb: Fix read EDID timeout
aecce5fc047a fbdev: controlfb: Add missing modes to fix out of bounds access
0312ab0f0e43 sfc: don't warn on successful change of MAC
da73389e8aa7 HID: cp2112: fix broken gpio_direction_input callback
e15628b293a7 Revert "x86/acpi: Set persistent cpuid <-> nodeid mapping when booting"
25b0b3f2373d target: fix race during implicit transition work flushes
892e4f9bc2e2 target: fix ALUA transition timeout handling
0d34f4770ea1 target: Use system workqueue for ALUA transitions
8f60ef94477c btrfs: add missing memset while reading compressed inline extents
5d460d359abe NFSv4.1 respect server's max size in CREATE_SESSION
88af4e34771c efi/esrt: Cleanup bad memory map log messages
e30b840d4668 perf symbols: Fix symbols__fixup_end heuristic for corner cases
2a47e7de0822 tty: fix data race in tty_ldisc_ref_wait()
70f450fc8610 tty: don't panic on OOM in tty_set_ldisc()
3d57ec51d204 rxrpc: Ignore BUSY packets on old calls
42b6d6e824d3 net: mpls: Fix nexthop alive tracking on down events
fd27dbcae937 net/mlx4_core: Avoid delays during VF driver device shutdown
65bfe003dceb nvmet-rdma: Fix a possible uninitialized variable dereference
571e47760de5 nvmet: confirm sq percpu has scheduled and switched to atomic
af0cee086b09 nvme-loop: fix a possible use-after-free when destroying the admin queue
a8939aac82b0 afs: Fix abort on signal while waiting for call completion
d43dda072544 afs: Fix afs_kill_pages()
856bb4b609ee afs: Fix page leak in afs_write_begin()
833acb3e09db afs: Populate and use client modification time
a3e7a29abf0b afs: Better abort and net error handling
ab2390611619 afs: Invalid op ID should abort with RXGEN_OPCODE
972e7b7cbf5c afs: Fix the maths in afs_fs_store_data()
9329ae4cb10e afs: Prevent callback expiry timer overflow
7da1b85a75d4 afs: Migrate vlocation fields to 64-bit
7286fad15704 afs: Flush outstanding writes when an fd is closed
eaaad7646d3d afs: Deal with an empty callback array
900048089cc1 afs: Adjust mode bits processing
ba47c1597480 afs: Populate group ID from vnode status
c250fae9ad4b afs: Fix missing put_page()
b29c7b7c62d5 drm/radeon: reinstate oland workaround for sclk
2a84fce9b039 mmc: mediatek: Fixed bug where clock frequency could be set wrong
28714e962a71 sched/deadline: Use deadline instead of period when calculating overflow
a2e29113f1ab sched/deadline: Throttle a constrained deadline task activated after the deadline
9cc56a00eab7 sched/deadline: Make sure the replenishment timer fires in the next period
0a4d4dac5e34 sched/deadline: Add missing update_rq_clock() in dl_task_timer()
8d3a318194ec iwlwifi: mvm: cleanup pending frames in DQA mode
a524bb57dd36 Drivers: hv: util: move waiting for release to hv_utils_transport itself
da626b13ce32 drm/radeon/si: add dpm quirk for Oland
1867eb805091 fjes: Fix wrong netdevice feature flags
91510a623baa scsi: hpsa: do not timeout reset operations
0f07e7611184 scsi: hpsa: limit outstanding rescans
c81410a4353d scsi: hpsa: update check for logical volume status
8652baa5a31d ASoC: rcar: clear DE bit only in PDMACHCR when it stops
fd2530a4ee62 openrisc: fix issue handling 8 byte get_user calls
18b39b61b2c6 intel_th: pci: Add Gemini Lake support
3544f57578a6 drm: amd: remove broken include path
4c9c0971271d qed: Fix interrupt flags on Rx LL2
ac04ab9624b5 qed: Fix mapping leak on LL2 rx flow
8de6d7b28d2f qed: Align CIDs according to DORQ requirement
fddc3df7647e mlxsw: reg: Fix SPVMLR max record count
4c8b4e60b575 mlxsw: reg: Fix SPVM max record count
6c548e90a0bc net: Resend IGMP memberships upon peer notification.
889163d75fe5 irqchip/mvebu-odmi: Select GENERIC_MSI_IRQ_DOMAIN
e30ccb5f1c7e dmaengine: Fix array index out of bounds warning in __get_unmap_pool()
46cbe3f51c51 net: wimax/i2400m: fix NULL-deref at probe
2e70c4d5de87 writeback: fix memory leak in wb_queue_work()
d28046fb8c43 blk-mq: Fix tagset reinit in the presence of cpu hot-unplug
143d13d1e6c0 ASoC: rsnd: fix sound route path when using SRC6/SRC9
97b75dad9dd1 netfilter: bridge: honor frag_max_size when refragmenting
38780b9ae45a drm/omap: fix dmabuf mmap for dma_alloc'ed buffers
8fb782bbd212 Input: i8042 - add TUXEDO BU1406 (N24_25BU) to the nomux list
817f60ccf72c NFSD: fix nfsd_reset_versions for NFSv4.
0154269f9c12 NFSD: fix nfsd_minorversion(.., NFSD_AVAIL)
063c753ef78b drm/amdgpu: fix parser init error path to avoid crash in parser fini
3d40364d333e iommu/io-pgtable-arm-v7s: Check for leaf entry before dereferencing it
721c136ac278 net/mlx5: Don't save PCI state when PCI error is detected
248cbd97be81 net/mlx5: Fix create autogroup prev initializer
515d78dc0a89 rxrpc: Wake up the transmitter if Rx window size increases on the peer
e85b9bc29b04 net: bcmgenet: Power up the internal PHY before probing the MII
f9ac24794f2e net: bcmgenet: synchronize irq0 status between the isr and task
4c3727f6add5 net: bcmgenet: power down internal phy if open or resume fails
66e522ab02cc net: bcmgenet: reserved phy revisions must be checked first
dc8d63c43af0 net: bcmgenet: correct MIB access of UniMAC RUNT counters
bb5c42a5b1d2 net: bcmgenet: correct the RBUF_OVFL_CNT and RBUF_ERR_CNT MIB values
72cd0c3f6616 bnxt_en: Ignore 0 value in autoneg supported speed from firmware.
ae0ebdba9667 net: initialize msg.msg_flags in recvfrom
6783015096dc userfaultfd: selftest: vm: allow to build in vm/ directory
275314e90c5e userfaultfd: shmem: __do_fault requires VM_FAULT_NOPAGE
9bcd15bdfb61 md-cluster: free md_cluster_info if node leave cluster
9841d7b08ff6 usb: xhci-mtk: check hcc_params after adding primary hcd
215df1f35542 KVM: nVMX: do not warn when MSR bitmap address is not backed
50fc2d4152fb usb: phy: isp1301: Add OF device ID table
bf864220a59c mac80211: Fix addition of mesh configuration element
32e2ae03283b ext4: fix crash when a directory's i_size is too small
6a851bb99e5c ext4: fix fdatasync(2) after fallocate(2) operation
679dbeac0b6b dmaengine: dmatest: move callback wait queue to thread context
744cb5ab3372 eeprom: at24: change nvmem stride to 1
d266817f5028 sched/rt: Do not pull from current CPU if only one CPU to pull
9c537f06d61a nfs: don't wait on commit in nfs_commit_inode() if there were no commit requests
3bdb508d686e xhci: Don't add a virt_dev to the devs array before it's fully allocated
7336f5481f6c Bluetooth: btusb: driver to enable the usb-wakeup feature
cdfe4c0091a8 usb: xhci: fix TDS for MTK xHCI1.1
e081bd0d70bd ceph: drop negative child dentries before try pruning inode's alias
14513e49c43c usbip: fix stub_send_ret_submit() vulnerability to null transfer_buffer
f3e957266ae5 usbip: fix stub_rx: harden CMD_SUBMIT path to handle malicious input
b6dbace92ed7 usb: add helper to extract bits 12:11 of wMaxPacketSize
20e825cdf7a1 usbip: fix stub_rx: get_pipe() to validate endpoint number
99542e468b76 USB: core: prevent malicious bNumInterfaces overflow
0d29ae4f5033 USB: uas and storage: Add US_FL_BROKEN_FUA for another JMicron JMS567 ID
d760f9034195 tracing: Allocate mask_str buffer dynamically
d1175423ce67 autofs: fix careless error in recent commit
c32e053a11f2 crypto: salsa20 - fix blkcipher_walk API usage
43259d07fceb crypto: hmac - require that the underlying hash algorithm is unkeyed
cd9b59861f9c crypto: rsa - fix buffer overread when stripping leading zeroes
1fb73eae9624 mfd: fsl-imx25: Clean up irq settings during removal
ee52d08d2e09 Linux 4.9.70
349130bb0391 RDMA/cxgb4: Annotate r2 and stag as __be32
b7d3f2b5dca9 md: free unused memory after bitmap resize
93dedcf5a177 audit: ensure that 'audit=1' actually enables audit for PID 1
a625a16c8aea ipvlan: fix ipv6 outbound device
97c668702126 kbuild: do not call cc-option before KBUILD_CFLAGS initialization
eae3f3ab7fb3 powerpc/64: Fix checksum folding in csum_tcpudp_nofold and ip_fast_csum_nofold
9414a6309c72 KVM: arm/arm64: vgic-its: Preserve the revious read from the pending table
80c0f4777fd6 fix kcm_clone()
16648cbcd332 usb: gadget: ffs: Forbid usb_ep_alloc_request from sleeping
47273f0d398d s390: always save and restore all registers on context switch
f8dac5bfbd8e ipmi: Stop timers before cleaning up the module
0cab694ab7bc Fix handling of verdicts after NF_QUEUE
cf00fd3d526c tipc: call tipc_rcv() only if bearer is up in tipc_udp_recv()
0cfe6df93834 s390/qeth: fix thinko in IPv4 multicast address tracking
1d55222b14bd s390/qeth: fix GSO throughput regression
fbf0dfe7ad9f s390/qeth: build max size GSO skbs on L2 devices
aa0080f1ad08 tcp/dccp: block bh before arming time_wait timer
30985e3beb73 stmmac: reset last TSO segment size after device open
564fe3e0e95e net: remove hlist_nulls_add_tail_rcu()
80ad5bd1b45f usbnet: fix alignment for frames with no ethernet header
5471afeef413 net/packet: fix a race in packet_bind() and packet_notifier()
30c573affac8 packet: fix crash in fanout_demux_rollover()
5f218c3fd11a sit: update frag_off info
3259862dd73b rds: Fix NULL pointer dereference in __rds_rdma_map
96b4a8ac9a55 tipc: fix memory leak in tipc_accept_from_sock()
20610f5bbd23 s390/qeth: fix early exit from error path
32436bf375b0 net: qmi_wwan: add Quectel BG96 2c7c:0296
c91efc7862b3 Linux 4.9.69
15b175223e53 afs: Connect up the CB.ProbeUuid
9048b2420e32 IB/mlx5: Assign send CQ and recv CQ of UMR QP
06fea09c0959 IB/mlx4: Increase maximal message size under UD QP
6ceabde66643 xfrm: Copy policy family in clone_policy
74b470ce478a jump_label: Invoke jump_label_test() via early_initcall()
22d2456faefa atm: horizon: Fix irq release error
c488c2e141bc clk: uniphier: fix DAPLL2 clock rate of Pro5
f45f4f8a7cd8 bpf: fix lockdep splat
9904da5a09ce sctp: use the right sk after waking up from wait_buf sleep
1158ecd51ec1 sctp: do not free asoc when it is already dead in sctp_sendmsg
1618400444d0 zsmalloc: calling zs_map_object() from irq is a bug
7da67d1d98f6 sparc64/mm: set fields in deferred pages
1a5a4c6e868f block: wake up all tasks blocked in get_request()
c31bfe7de243 dt-bindings: usb: fix reg-property port-number range
1eeb1edfd3c9 xfs: fix forgotten rcu read unlock when skipping inode reclaim
acbe10423b1a sunrpc: Fix rpc_task_begin trace point
509e9b805c52 NFS: Fix a typo in nfs_rename()
a780a728475d dynamic-debug-howto: fix optional/omitted ending line number to be LARGE instead of 0
a77c11607593 lib/genalloc.c: make the avail variable an atomic_long_t
e9672477a5f0 drivers/rapidio/devices/rio_mport_cdev.c: fix resource leak in error handling path in 'rio_dma_transfer()'
007e20bd0fdd route: update fnhe_expires for redirect when the fnhe exists
7c4fa0c1c9ca route: also update fnhe_genid when updating a route cache
2388d52d7256 gre6: use log_ecn_error module parameter in ip6_tnl_rcv()
6a8ab06660dc mac80211_hwsim: Fix memory leak in hwsim_new_radio_nl()
0965ed575190 x86/mpx/selftests: Fix up weird arrays
b96d06e6d6e0 coccinelle: fix parallel build with CHECK=scripts/coccicheck
55042e28b985 kbuild: pkg: use --transform option to prefix paths in tar
7290cfeb4436 EDAC, i5000, i5400: Fix definition of NRECMEMB register
62c12d671c49 EDAC, i5000, i5400: Fix use of MTR_DRAM_WIDTH macro
d28faebe8b09 powerpc/powernv/ioda2: Gracefully fail if too many TCE levels requested
92527dc32a69 drm/amd/amdgpu: fix console deadlock if late init failed
e8d5b115c6ea axonram: Fix gendisk handling
8818eb851c2d netfilter: don't track fragmented packets
36a14374b568 zram: set physical queue limits to avoid array out of bounds accesses
bc8859174d98 blk-mq: initialize mq kobjects in blk_mq_init_allocated_queue()
567df7459e12 i2c: riic: fix restart condition
e46126e51ee8 crypto: s5p-sss - Fix completing crypto request in IRQ handler
05a59bc2f3c0 ipv6: reorder icmpv6_init() and ip6_mr_init()
f191e15e4acd ibmvnic: Allocate number of rx/tx buffers agreed on by firmware
f3b1f93ed23b ibmvnic: Fix overflowing firmware/hardware TX queue
742e67d2b7ee rds: tcp: Sequence teardown of listen and acceptor sockets to avoid races
d8f147ac75bb bnx2x: do not rollback VF MAC/VLAN filters we did not configure
cdef3be8c7bb bnx2x: fix detection of VLAN filtering feature for VF
f73fcb25f4bb bnx2x: fix possible overrun of VFPF multicast addresses array
ae6b3452faf7 bnx2x: prevent crash when accessing PTP with interface down
c72c7f244265 spi_ks8995: regs_size incorrect for some devices
1ace4dabf624 spi_ks8995: fix "BUG: key accdaa28 not in .data!"
b1f71147a188 KVM: arm/arm64: VGIC: Fix command handling while ITS being disabled
aafb72d2ed55 arm64: KVM: Survive unknown traps from guests
5e366aaec185 arm: KVM: Survive unknown traps from guests
c886f281b9e0 KVM: nVMX: reset nested_run_pending if the vCPU is going to be reset
54e1ae1f21f5 irqchip/crossbar: Fix incorrect type of register size
d32c4dedcc6d scsi: lpfc: Fix crash during Hardware error recovery on SLI3 adapters
1e7208d75928 scsi: qla2xxx: Fix ql_dump_buffer
757e1845d6c3 workqueue: trigger WARN if queue_delayed_work() is called with NULL @wq
da6a95b0ef82 libata: drop WARN from protocol error in ata_sff_qc_issue()
29deec403d56 kvm: nVMX: VMCLEAR should not cause the vCPU to shut down
2afb2d892c1d usb: gadget: udc: net2280: Fix tmp reusage in net2280 driver
82f79a4423fc usb: gadget: pxa27x: Test for a valid argument pointer
7abf66d78e89 usb: dwc3: gadget: Fix system suspend/resume on TI platforms
8fe9ea81b1e9 USB: gadgetfs: Fix a potential memory leak in 'dev_config()'
59682e70c980 usb: gadget: configs: plug memory leak
881b5d4841fc HID: chicony: Add support for another ASUS Zen AiO keyboard
1bc827aabc70 gpio: altera: Use handle_level_irq when configured as a level_high
c7c866711799 ASoC: rcar: avoid SSI_MODEx settings for SSI8
202c73946455 ARM: OMAP2+: Release device node after it is no longer needed.
d3954c5ced8e ARM: OMAP2+: Fix device node reference counts
4aff02804715 powerpc/64: Fix checksum folding in csum_add()
d57cb693c592 module: set __jump_table alignment to 8
f348a1030eb6 lirc: fix dead lock between open and wakeup_filter
7ae7408c4352 powerpc: Fix compiling a BE kernel with a powerpc64le toolchain
cd662c8e51a1 selftest/powerpc: Fix false failures for skipped tests
0bf8f6e7205a powerpc/64: Invalidate process table caching after setting process table
8c6ebeb4087e x86/hpet: Prevent might sleep splat on resume
4e4a9ebe33a6 sched/fair: Make select_idle_cpu() more aggressive
29dc610cfc7c x86/platform/uv/BAU: Fix HUB errors by remove initial write to sw-ack register
b2cb09597b1f x86/selftests: Add clobbers for int80 on x86_64
93247ff1fafe ARM: OMAP2+: gpmc-onenand: propagate error on initialization failure
f14f6fabfb54 vti6: Don't report path MTU below IPV6_MIN_MTU.
5d4d0a95437e ARM: 8657/1: uaccess: consistently check object sizes
7c4615c853fa Revert "spi: SPI_FSL_DSPI should depend on HAS_DMA"
b6c15a7c6e79 Revert "drm/armada: Fix compile fail"
6a53078b9357 mm: drop unused pmdp_huge_get_and_clear_notify()
c2edc33d4abf thp: fix MADV_DONTNEED vs. numa balancing race
7bdd685cef4b thp: reduce indentation level in change_huge_pmd()
5bcb9c842a53 ARM: avoid faulting on qemu
6192f870abf2 ARM: BUG if jumping to usermode address in kernel mode
112b8a8f558d usb: f_fs: Force Reserved1=1 in OS_DESC_EXT_COMPAT
47ab72034e9d crypto: talitos - fix ctr-aes-talitos
24ab6e7f6b61 crypto: talitos - fix use of sg_link_tbl_len
6bf30e664221 crypto: talitos - fix AEAD for sha224 on non sha224 capable chips
552f74cbd6ec crypto: talitos - fix setkey to check key weakness
5272b0e1c382 crypto: talitos - fix memory corruption on SEC2
bde6667a7df1 crypto: talitos - fix AEAD test failures
3f0597ae9a38 bus: arm-ccn: fix module unloading Error: Removing state 147 which has instances left.
793eed33da5f bus: arm-ccn: Fix use of smp_processor_id() in preemptible context
595aca74c67a bus: arm-ccn: Check memory allocation failure
a0a2f97d0375 bus: arm-cci: Fix use of smp_processor_id() in preemptible context
a39224199e97 arm64: fpsimd: Prevent registers leaking from dead tasks
7df3dbef3dd5 KVM: arm/arm64: vgic-its: Check result of allocation before use
42c3f4c55f10 KVM: arm/arm64: vgic-irqfd: Fix MSI entry allocation
cf6668d57a26 KVM: arm/arm64: Fix broken GICH_ELRSR big endian conversion
6ead44d4b5b8 KVM: VMX: remove I/O port 0x80 bypass on Intel hosts
6ed459712e26 arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one
63fba9ff76f0 arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one
730810d92327 media: dvb: i2c transfers over usb cannot be done from stack
4f128c8aa35b drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU
30b18ee253a0 kdb: Fix handling of kallsyms_symbol_next() return value
4a70f07da853 brcmfmac: change driver unbind order of the sdio function devices
8950c982fffd powerpc/64s: Initialize ISAv3 MMU registers before setting partition table
ffb17c0cce84 KVM: s390: Fix skey emulation permission check
bd6a7055b84b s390: fix compat system call table
ff3d4fd5374f smp/hotplug: Move step CPUHP_AP_SMPCFD_DYING to the correct place
e17f2b51617d iommu/vt-d: Fix scatterlist offset handling
173c8c346587 ALSA: usb-audio: Add check return value for usb_string()
c40457c952ec ALSA: usb-audio: Fix out-of-bound error
20ca63e0968e ALSA: seq: Remove spurious WARN_ON() at timer check
45ddff3ce4e9 ALSA: pcm: prevent UAF in snd_pcm_info
8974b0320cc8 btrfs: fix missing error return in btrfs_drop_snapshot
9cf0eaf88d74 KVM: x86: fix APIC page invalidation
6662a55fa6eb x86/PCI: Make broadcom_postcore_init() check acpi_disabled
3d4696248c08 X.509: fix comparisons of ->pkey_algo
d4f134700c20 X.509: reject invalid BIT STRING for subjectPublicKey
982707eb4ff8 KEYS: add missing permission check for request_key() destination
44acfcb6dd73 ASN.1: check for error from ASN1_OP_END__ACT actions
608845ad4986 ASN.1: fix out-of-bounds read when parsing indefinite length item
8b5106e1d22c efi/esrt: Use memunmap() instead of kfree() to free the remapping
29c3b7a85409 efi: Move some sysfs files to be read-only by root
35b4bfbda54b scsi: libsas: align sata_device's rps_resp on a cacheline
326ebe77f0c5 scsi: use dma_get_cache_alignment() as minimum DMA alignment
4cb4d78c57f8 scsi: dma-mapping: always provide dma_get_cache_alignment
1db069c057a1 isa: Prevent NULL dereference in isa_bus driver callbacks
3aa6d7f8542e hv: kvp: Avoid reading past allocated blocks from KVP file
893fab0c338b virtio: release virtio index when fail to device_register
4b4e6f675846 can: usb_8dev: cancel urb on -EPIPE and -EPROTO
0cdac09e6aee can: esd_usb2: cancel urb on -EPIPE and -EPROTO
d3b72254789f can: ems_usb: cancel urb on -EPIPE and -EPROTO
4665483e4797 can: kvaser_usb: cancel urb on -EPIPE and -EPROTO
d724a677f0c1 can: kvaser_usb: ratelimit errors if incomplete messages are received
561384a9cf17 can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback()
f89682bb3cf2 can: kvaser_usb: free buf in error paths
6a3a713880a5 can: ti_hecc: Fix napi poll return value for repoll
fbe9a14180d6 usb: gadget: udc: renesas_usb3: fix number of the pipes
3781db07c79e Linux 4.9.68
3671e6728f79 xen-netfront: avoid crashing on resume after a failure in talk_to_netback()
08dd03812e8b usb: host: fix incorrect updating of offset
20c315ebabc5 USB: usbfs: Filter flags passed in from user space
545c10375330 USB: devio: Prevent integer overflow in proc_do_submiturb()
d6ab871c432d USB: Increase usbfs transfer limit
05ffc7ed5527 USB: core: Add type-specific length check of BOS descriptors
34ba2f04a480 usb: xhci: fix panic in xhci_free_virt_devices_depth_first
e328dff288e6 usb: hub: Cycle HUB power when initialization fails
0af23e49316d dma-buf: Update kerneldoc for sync_file_create
3a83421d482e dma-buf/sync_file: hold reference to fence when creating sync_file
424bdc5df002 dma-buf/sw_sync: force signal all unsignaled fences on dying timeline
f5e0724e76c2 dma-fence: Introduce drm_fence_set_error() helper
d3b029a44e14 dma-fence: Wrap querying the fence->status
f55d17e9c3af dma-fence: Clear fence->status during dma_fence_init()
9ae85fabdfc0 dma-buf/sw_sync: clean up list before signaling the fence
4496b88c0674 dma-buf/sw_sync: move timeline_fence_ops around
db767404ad09 dma-buf/sw-sync: Use an rbtree to sort fences in the timeline
e82ecb230924 dma-buf/sw-sync: Fix locking around sync_timeline lists
1bf0b23c07f1 dma-buf/sw-sync: sync_pt is private and of fixed size
f14ad42b8743 dma-buf/sw-sync: Reduce irqsave/irqrestore from known context
985b5b238436 dma-buf/sw-sync: Prevent user overflow on timeline advance
fc839ecb8eda dma-buf/sw-sync: Fix the is-signaled test to handle u32 wraparound
b53525eaac55 dma-buf/dma-fence: Extract __dma_fence_is_later()
c13a05a8017b net: fec: fix multicast filtering hardware setup
a767c866735c xen-netback: vif counters from int/long to u64
959b8e0ba293 cec: initiator should be the same as the destination for, poll
017a499be574 xen-netfront: Improve error handling during initialization
c93c09a057b7 mm: avoid returning VM_FAULT_RETRY from ->page_mkwrite handlers
3e550debcf75 vfio/spapr: Fix missing mutex unlock when creating a window
6129fd988225 be2net: fix initial MAC setting
6a9ffb5a87d8 net: thunderx: avoid dereferencing xcv when NULL
3325615d2b50 net: phy: micrel: KSZ8795 do not set SUPPORTED_[Asym_]Pause
c8d6f83d3b6e gtp: fix cross netns recv on gtp socket
d812be828832 gtp: clear DF bit on GTP packet tx
3976dd677e89 nvmet: cancel fatal error and flush async work before free controller
6bd89953fb1f i2c: i2c-cadence: Initialize configuration before probing devices
fe8bdc9b79ee tcp: correct memory barrier usage in tcp_check_space()
49c3164e6d84 dmaengine: pl330: fix double lock
aad54ba21dd8 tipc: fix cleanup at module unload
6313adb8de02 tipc: fix nametbl_lock soft lockup at module exit
e8240244880b RDMA/qedr: Fix RDMA CM loopback
8d4198f8c66b RDMA/qedr: Return success when not changing QP state
dee48e57ae22 mac80211: don't try to sleep in rate_control_rate_init()
cab00a9c16c0 drm/amdgpu: fix unload driver issue for virtual display
b75e47cf8439 x86/fpu: Set the xcomp_bv when we fake up a XSAVES area
05071c058d20 net: sctp: fix array overrun read on sctp_timer_tbl
2001ccb4dea4 drm/exynos/decon5433: set STANDALONE_UPDATE_F on output enablement
4ee340c06bf2 drm/amdgpu: fix bug set incorrect value to vce register
d8a544c92087 qla2xxx: Fix wrong IOCB type assumption
57e76dbbc560 powerpc/mm: Fix memory hotplug BUG() on radix
a88ff235e8ad perf/x86/intel: Account interrupts for PEBS errors
72232a3bc5df NFSv4: Fix client recovery when server reboots multiple times
cda72bbb7bac mac80211: prevent skb/txq mismatch
ee01c59bf838 KVM: arm/arm64: Fix occasional warning from the timer work function
72afbf76344f drm/exynos/decon5433: set STANDALONE_UPDATE_F also if planes are disabled
cca6bca00973 drm/exynos/decon5433: update shadow registers iff there are active windows
9f800573a31b nfs: Don't take a reference on fl->fl_file for LOCK operation
c682ae717759 ravb: Remove Rx overflow log messages
bc13325a2410 mac80211: calculate min channel width correctly
fae478cd9311 mm: fix remote numa hits statistics
71ab86262b66 net: qrtr: Mark 'buf' as little endian
c4081f91981b libfs: Modify mount_pseudo_xattr to be clear it is not a userspace mount
d9a4e70f23c3 net/appletalk: Fix kernel memory disclosure
e3a252a9924c be2net: fix unicast list filling
b4c3022e673a be2net: fix accesses to unicast list
105b403ba0de vti6: fix device register to report IFLA_INFO_KIND
08bd389c9ef8 ARM: OMAP1: DMA: Correct the number of logical channels
9a777021eeb4 ARM: OMAP2+: Fix WL1283 Bluetooth Baud Rate
a97b72427e5f net: systemport: Pad packet before inserting TSB
bcc7511ef256 net: systemport: Utilize skb_put_padto()
30bd002c454a libcxgb: fix error check for ip6_route_output()
5eb97be87981 usb: gadget: f_fs: Fix ExtCompat descriptor validation
7468e767d8f2 dmaengine: stm32-dma: Fix null pointer dereference in stm32_dma_tx_status
000e7180633f dmaengine: stm32-dma: Set correct args number for DMA request from DT
d2d74d0e58b2 l2tp: take remote address into account in l2tp_ip and l2tp_ip6 socket lookups
55c050ae5165 net/mlx4_en: Fix type mismatch for 32-bit systems
771c831c1bde dax: Avoid page invalidation races and unnecessary radix tree traversals
2383ba62b535 iio: adc: ti-ads1015: add 10% to conversion wait time
7aa534b8a33f tools include: Do not use poison with C++
a65f24aac76b kprobes/x86: Disable preemption in ftrace-based jprobes
a730e156bb75 perf test attr: Fix ignored test case result
8f6e33aad048 usbip: tools: Install all headers needed for libusbip development
5840a285a1a2 sysrq : fix Show Regs call trace on ARM
7f44b524a0ad EDAC, sb_edac: Fix missing break in switch
61b7a6f1cea3 x86/entry: Use SYSCALL_DEFINE() macros for sys_modify_ldt()
a816a7e1e70b serial: 8250: Preserve DLD[7:4] for PORT_XR17V35X
68dfd4dd0900 usb: phy: tahvo: fix error handling in tahvo_usb_probe()
de139e81d350 mmc: sdhci-msm: fix issue with power irq
e042fd0f0318 spi: spi-axi: fix potential use-after-free after deregistration
b3d7cc5a84b4 spi: sh-msiof: Fix DMA transfer size check
ee08fca9a14d staging: rtl8188eu: avoid a null dereference on pmlmepriv
946d33e1e6cd serial: 8250_fintek: Fix rs485 disablement on invalid ioctl()
510f6573ef5d m68k: fix ColdFire node shift size calculation
e5f2421df135 staging: greybus: loopback: Fix iteration count on async path
8a95afc48576 selftests/x86/ldt_get: Add a few additional tests for limits
63074a793d69 s390/pci: do not require AIS facility
b0a46089fe81 ima: fix hash algorithm initialization
e4f12192d9e2 USB: serial: option: add Quectel BG96 id
232b47b3c88a s390/runtime instrumentation: simplify task exit handling
65e6599937d1 serial: 8250_pci: Add Amazon PCI serial device ID
6ad14c9c646b usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub
3789201628f5 uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices
ee23ae915fa7 mm, oom_reaper: gather each vma to prevent leaking TLB entry
0de12a778b92 Revert "crypto: caam - get rid of tasklet"
cffc01d24d25 drm/fsl-dcu: enable IRQ before drm_atomic_helper_resume()
48f4d1f7fe48 drm/fsl-dcu: avoid disabling pixel clock twice on suspend
9db9b5f2b1b6 bcache: recover data from backing when data is clean
322e659a03dc bcache: only permit to recovery read error when cache device is clean
284bbc782445 Linux 4.9.67
f990312aaa74 drm/i915: Prevent zero length "index" write
838cdb26a538 drm/i915: Don't try indexed reads to alternate slave addresses
daf3a68d5282 NFS: revalidate "." etc correctly on "open".
a11ca51bf70c Revert "x86/entry/64: Add missing irqflags tracing to native_load_gs_index()"
fb541279bbe0 drm/amd/pp: fix typecast error in powerplay.
5b1c8c96dfab drm/ttm: once more fix ttm_buffer_object_transfer
44df87e6dfad drm/hisilicon: Ensure LDI regs are properly configured.
25abe3a9585e drm/panel: simple: Add missing panel_simple_unprepare() calls
3405805db8bb drm/radeon: fix atombios on big endian
9cd48ba5fc9d drm/amdgpu: Potential uninitialized variable in amdgpu_vm_update_directories()
d316675a9da4 drm/amdgpu: potential uninitialized variable in amdgpu_vce_ring_parse_cs()
b0f63389dab9 Revert "drm/radeon: dont switch vt on suspend"
f425b050254e nvme-pci: add quirk for delay before CHK RDY for WDC SN200
eafbee43b7ec hwmon: (jc42) optionally try to disable the SMBUS timeout
8588eb0ce6a6 bcache: Fix building error on MIPS
53cf83b3c734 i2c: i801: Fix Failed to allocate irq -2147483648 error
19699abea321 eeprom: at24: check at24_read/write arguments
d3da2efa6d9d eeprom: at24: correctly set the size for at24mac402
388d8c9fa371 eeprom: at24: fix reading from 24MAC402/24MAC602
c814d6701b08 mmc: core: prepend 0x to OCR entry in sysfs
0bf4d0517667 mmc: core: Do not leave the block driver in a suspended state
9aad75786e3d KVM: lapic: Fixup LDR on load in x2apic
e02746e22d24 KVM: lapic: Split out x2apic ldr calculation
67945527ee24 KVM: x86: inject exceptions produced by x86_decode_insn
c0a4c22aad0f KVM: x86: Exit to user-mode on #UD intercept when emulator requires
f5477da6c3b0 KVM: x86: pvclock: Handle first-time write to pvclock-page contains random junk
e18a963b36a0 ARM: OMAP2+: Fix WL1283 Bluetooth Baud Rate
dc554abdaee4 mfd: twl4030-power: Fix pmic for boards that need vmmc1 on reboot
aa1a6cf1586b nfsd: fix panic in posix_unblock_lock called from nfs4_laundromat
1c4042591644 nfsd: Fix another OPEN stateid race
1c8ea4145097 nfsd: Fix stateid races between OPEN and CLOSE
c251267c8826 btrfs: clear space cache inode generation always
ba32d7dce43f mm/madvise.c: fix madvise() infinite loop under special circumstances
cebe139e5712 mm, hugetlbfs: introduce ->split() to vm_operations_struct
436f19a2e49e mm/cma: fix alloc_contig_range ret code/potential leak
7031ae2ab37d mm, thp: Do not make page table dirty unconditionally in touch_p[mu]d()
29bd7003134a ARM: dts: omap3: logicpd-torpedo-37xx-devkit: Fix MMC1 cd-gpio
64e916dea413 ARM: dts: LogicPD Torpedo: Fix camera pin mux
(From OE-Core rev: e719fb731a89155e1e42324be932b1d15deaa9d3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The static PIE patch was updated by Juro Bystricky <juro.bystricky@intel.com>
to work with gcc 7.3.
This update from the stable gcc 7 branch includes the retpoline
functionality which is useful to assist with recent security issues.
Two backported patches were dropped as they're included in 7.3.
(From OE-Core rev: 99b1998157ecbd2bc8ac7c24fae859d48b152f58)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe installs the test suite by copying the entire build tree into
/usr/share/ptest, which is both wasteful and breaks packaging as lz4-ptest then
gets renamed by debian.bbclass to liblz4.
(From OE-Core rev: 68a3f33027b9ee5ed53a47dd839fc407dcbbaee9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The GNU C Library (aka glibc or libc6) before 2.27 contains an off-by-one error leading to a heap-based buffer overflow in the glob function in glob.c, related to the processing of home directories using the ~ operator followed by a long string.
Affects: glibc < 2.27
v2]
capitlize "signed-off-by" in patch
(From OE-Core rev: a29cb640e3c0ca77ea232b89b89900cb55fa727c)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current conflicting use of SDKDEPLOYDIR causes a race between do_populate_sdk
and do_populate_sdk_ext potentially causing the SDK to either go missing or the
build to fail.
(From OE-Core rev: 4de3daa129414d79e4a2a3d5f8da32e3b5b937c6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the only available stable version with mitigation fixes for Spectre.
Webkit upstream developers do not port CVE fixes to earlier stable series,
no exception was made in this case.
More information:
https://webkit.org/blog/8048/what-spectre-and-meltdown-mean-for-webkit/https://webkitgtk.org/security/WSA-2018-0001.htmlhttps://webkitgtk.org/2018/01/10/webkitgtk2.18.5-released.html
This commit also contains the following commits added in master branch after rocko release:
===
webkitgtk: update to 2.18.3
gcc7.patch, musl-fixes.patch, and ppc-musl-fix.patch all change code that is no
longer present in upstream tree. However, a patch with different musl fixes
has been added.
The rest of the patches are rebased to the new tree.
Libtasn is a new dependency.
Disable Gstreamer GL support on x86 due to clashing headers problem.
(From OE-Core rev: 3acae2dcd130122fe76504ec855af78db829d6ec)
===
webkitgtk: fix build with musl and x32
Make the x32 check generic to make it work with musl as well.
Fixes [YOCTO #12118]
(From OE-Core rev: dbd604ccf34e304769937b15051c047561de47f7)
===
(From OE-Core rev: 78f29a052477dd81f0819287e3db405932bb7fae)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The gentoo.osuosl.org mirror doesn't store all versions of pax-utils, so use the
maintainers own mirror which stores them all.
This also means we can remove UPSTREAM_CHECK_URI as the defaults work now.
Thanks to Maxin John for the initial patch.
[ YOCTO #11559 ]
(From OE-Core rev: 4e1fbaa73be9b026e14a8b26c91485de8b91d90f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This includes following changes:
bf04291 WHENCE: Add new qed firmware
d8fc990 WHENCE: Add new radeon firmware
7245319 WHENCE: Fix syntax error for iwlwifi-8265-31.ucode entry
18d71a8 Revert "ath10k: QCA988X hw2.0: update firmware to 10.2.4.70.63-2"
4ebfab3 ath10k: QCA6174 hw3.0: update board-2.bin
96a7402 ath10k: QCA6174 hw3.0: update firmware-6.bin to WLAN.RM.4.4.1-00051-QCARMSWP-1
59bf7e2 cxgb4: update firmware to revision 1.16.63.0
The MD5 checksum of WHENCE license file was due the changes above as
the firmware versions are listed there. It had no license term
changes.
The following security fixes included too:
CVE-2017-13080 and CVE-2017-13081
- iwlwifi: update firmwares for 3160, 3168, 7265D, 8000C and 8265
- iwlwifi: update firmwares for 3160, 3168, 7260, 7265 and 7265D
(From OE-Core rev: 41eb7ff46ad9643eda10adc9a90629767bb7297c)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit aea6ce797cc1b1ecc199979eb12aa42de8ff73d4)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create a new qat package for those firmware blobs
(From OE-Core rev: c61c0f74e455234ba0641a859372e84aee507d02)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit b48c746736012cfd85e8263efcf125ecd17ca7bb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't have latex2man in HOSTTOOLs so documentaion is never built but this
dependency does cause problems on older releases like morty, pre-HOSTTOOLS.
Document the configuration explicitly in master.
(From OE-Core rev: d91a064ddd0771aebb8d61016231e4b41ef7ddde)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We see occasional network glitches which break this test. Use our own
mirror (which has a .gz instead of .bz2) to avoid the errors, we're not
trying to test network connectivity.
(From OE-Core rev: 01df65be2ae4bc337e10babeb9c2394d71ddff84)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes it easy to override them in bbappends
(From OE-Core rev: af4766e9fe17c7adb0c69f2d9b97b716813beca2)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 99458d1fa170970e8a1aa04eeb0c86d3754fd988)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure architecture dependent defines are correct for x32 by
checking for both ILP32 and x86_64.
Fixes [YOCTO #12123]
(From OE-Core rev: 179112b8f2500da81ec3755296bc1ab268eb9221)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>wq
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e73262ee888851e829df535ccf09d0da833f2061)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On pre 4.15 host kernels, an APIC window emulation bug can cause qemu
to hang. On 64 bit we can use the x2apic, for 32 bit, we just have to
disable the other timer sources and rely on kvm-clock.
[YOCTO #12301]
(From OE-Core rev: 04646ed7edf020b73c6639a1a7445252cf7aad5e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 82e67b82ea8e12aa0b7b9db1d84fec0436dec71b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The gdbus-codegen tool depends on python3, python3-distutils and python3-xml at
runtime. But because these dependencies are not stated in the yocto recipe,
those python modules are not automatically included in the SDK.
(From OE-Core rev: 769c392f3418f0c9022a4007db0ba04904ec1f27)
Signed-off-by: Jef Driesen <jef.driesen@niko.eu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 26af3b4b33a34d7e53059b07236f9d5aae5e004a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This module refers to oe.types, so it needs to actually import oe.types.
Fixes errors when parsing certain OE-Core recipes within the layer
index update script.
(From OE-Core rev: e039463f5f8a4c918a9b60cd7c41ebf0a42b27bf)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 26ff9d2835a24a84c7f2bf9c829a13ed568c9ea0)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* RDEPENDS are now all the python3 versions
* Upstream SRC_URI has moved to github.com/intel/bmap-tools
* Missing RDEPENDS on python3-setuptools added
- Provides import for pkg_resources
Fixes [YOCTO #12148]
(From OE-Core rev: 6cc7da6477c6995e936f241b0f6f6ec147814538)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d63452d8d8d8dc61cd26b7759b5c0d235d70451)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using kernel-fitimage class with aarch64, the image type has to be
Image not zImage. This patch fixes the bad image type replacement for
aarch64
(From OE-Core rev: 88f2f2364b615e2510b4378f3cffa5f8df282da6)
Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit d14adead5861007ac7e95c32396491f907ab9f8f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 32bit core-image-minimal-initramfs should be built when build lib32-iso, e.g.:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
IMAGE_FSTYPES += "iso"
$ bitbake lib32-core-image-minimal
Exception: FileExistsError: [Errno 17] File exists: '/path/to/tmp/sysroots-components/core2-64/qemuwrapper-cross/usr/bin/crossscripts/qemuwrapper' -> '/path/to/tmp/work/qemux86_64-pokymllib32-linux/lib32-core-image-minimal/1.0-r0/lib32-recipe-sysroot/usr/bin/crossscripts/qemuwrapper'
This was because:
lib32-core-image-minimal -> core-image-minimal-initramfs
core-image-minimal-initramfs -> qemuwrapper-cross
lib32-core-image-minimal -> lib32-qemuwrapper-cross
So we got the error, build lib32-core-image-minimal-initramfs can fix the problem.
(From OE-Core rev: 9ed77ca690d8a725f853a62801fd8dfe347f2a8e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit eee3ec805cf150f1c701427a2d182a537a67e8f5)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's a problem when initramfs is invalid, so print warn rather than note.
(From OE-Core rev: 62bd5e8a900d2e04791b1a11ade3f8a3696b9b75)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit e164f931c8b3046a8b6736166f8dd6d92f727d1c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case of 'new_rootfs' the psuedo directory is not copied. Thus
PSEUDO_LOCALSTATEDIR should still point to the dsa
'native_sysroot'/../pseudo. Otherwise PSEUDO_LOCALSTATEDIR points to a not
existing director ('new_rootfs'/../pseudo) and UID and GUID attributes are not
applied to files of the image.
(From OE-Core rev: 4c1741ad08c809c83cd9670b14850687b598e728)
Signed-off-by: Adrian Fiergolski <adrian.fiergolski@cern.ch>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 19642e2d6e015072e4a413f4f57aee65df757cb9)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On some build hosts distros (e.g. Fedora 26) waf tries to be
smart about libdir detection and defaults to [EXEC_PREFIX/lib64].
This obviously is not what we want for 32-bit targets and usually
fails in the do_package phase:
WARNING: gstreamer1.0-plugins-imx-0.13.0-r0 do_package: QA Issue: gstreamer1.0-plugins-imx: Files/directories were installed but not shipped in any package:
/usr/lib64/libgstimxcommon.so.0
...
Depending on version, waf knows prefix or prefix, bindir and
libdir as default options. Explicitly pass the right set of
arguments.
(From OE-Core rev: eac21f981337bfaddb2d67161a1ff049158041ce)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 923f91d8d8606141ce218927bc943f4f4f34bcdd)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During the introduction of support for multiple kernel image types in
849b67b2e4820564b5e5c9bd4bb293c44351c5f3, do_sizecheck was changed to only
warn if any kernel was bigger than ${KERNEL_IMAGE_MAXSIZE}. (Well, it tried
to warn - it turns out that there's no function called "warn", it should be
"bbwarn".) The previous behaviour had been to fail the build if the single
kernel image did not fit.
It seems possible that people might be generating both compressed and
uncompressed kernels and only really care whether the compressed one fits.
This means that we shouldn't just always fail if any of the images are too
large. So, let's warn (correctly this time) on every image that is too
large, but only ultimately fail if no image will fit. The build will also
fail if ${KERNEL_IMAGETYPES} is empty, but I hope that no-one needs to do
that.
While we're here correct a typo in the KERNEL_IMAGE_MAXSIZE validity check.
(From OE-Core rev: 6476d2c0ede654dca51a81045a8ccbca532c317d)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 59f1ee104d1a6c04b0690b7c8ce481449da174d6)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will speed up file creation and still allow the btrfs tools to
create a full btrfs image. This is similar to what we do for ext234
FS types.
(From OE-Core rev: 8eb20c43232ae87c65d27810e5250676bb1d9675)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit de2f2fc9e8e6d874a11e69adc2f438975a5c1359)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a race with rm_work when tasks run deltask do_build since
do_rm_work becomes a floating task. Handle this by injecting
the populate_sysroot/lic dependencies manually if the tasks returned
are empty. This depends on a change to fix bb.build.preceedtask() in
bitbake too.
[YOCTO #12365]
(From OE-Core rev: a66bf18b35a6ebbad7c821512cdf5969f72d6844)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0f537d985b7b17af508a511fca8a4ec4b5804580)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits for kmemleak fixes and CQM
backports:
58fe84d691a mm: kmemleak: treat vm_struct as alternative reference to vmalloc'ed objects
5babb9c8f695 mm: kmemleak: factor object reference updating out of scan_block()
8c22ef5ee138 mm: kmemleak: slightly reduce the size of some structures on 64-bit architectures
7ea6b560ef4c netfilter: conntrack: do not enable connection tracking unless needed
4fdf0a5a0863 netfilter: nf_ct_dccp/sctp: fix memory leak after netns cleanup
85385ffd1e9b netfilter: move table iteration out of netns exit paths
c95b3f8e1cbc netfilter: conntrack: add nf_ct_iterate_destroy
753c83b98a1e netfilter: conntrack: don't call iter for non-confirmed conntracks
bcf21cba7fd5 netfilter: conntrack: rename nf_ct_iterate_cleanup
f5c3a4c19075 perf/x86/intel/uncore: Fix missing marker for skx_uncore_cha_extra_regs
c44ebea2f116 perf/x86/intel/uncore: Fix SKX CHA event extra regs
1d70f7feb408 perf/x86/intel/uncore: Remove invalid Skylake server CHA filter field
eb3059e9e0ea perf/x86/intel/uncore: Fix Skylake server CHA LLC_LOOKUP event umask
3514c02c7bff perf/x86/intel/uncore: Fix Skylake server PCU PMU event format
804530f02515 perf/x86/intel/uncore: Fix Skylake UPI PMU event masks
(From OE-Core rev: 1d905de8274b417336b3e0422417f9ce5ddfedb3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3cf8bda5e4d4a345793aa72be97e94c41520ec01)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabling CONFIG_X86_X2APIC=y by default for common-pc* (and hence
qemux86*) to work around interrupt delivery issues when running on some
host kernels.
There's little overhead with this, and no impact to non x2apic
platforms, so we enable it for all builds.
(From OE-Core rev: e01488e076e43241442a118fe18bd20e7930648c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3382ed4925fdc0854dbfa5b29dd5fdc1e0c1e38a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable backports from Paul Gortmaker, which comprise the
following commits:
33070a47be56 Linux 4.12.18
7441b94462dd sctp: use right member as the param of list_for_each_entry
393004dcde90 packet: fix crash in fanout_demux_rollover()
0a9012474dc5 coda: fix 'kernel memory exposure attempt' in fsync
b5cc211a6240 x86/cpu/amd: Derive L3 shared_cpu_map from cpu_llc_shared_mask
2567785ab75b mm/page_ext.c: check if page_ext is not prepared
40991abd5541 mm/page_alloc.c: broken deferred calculation
7fd5cc66154b ipmi: fix unsigned long underflow
fa5ba256bc53 ocfs2: should wait dio before inode lock in ocfs2_setattr()
97181d7d56ab ocfs2: fix cluster hang after a node dies
3e60437f8fac mm/pagewalk.c: report holes in hugetlb ranges
2974b65a0852 rcu: Fix up pending cbs check in rcu_prepare_for_idle
3048be8b900f tpm-dev-common: Reject too short writes
60bf233eeed8 serial: 8250_fintek: Fix finding base_port with activated SuperIO
1539a3ace4ee serial: omap: Fix EFR write on RTS deassertion
7c601c15e06d ima: do not update security.ima if appraisal status is not INTEGRITY_PASS
42e3beae3ace net/sctp: Always set scope_id in sctp_inet6_skb_msgname
09fc4fe93e10 fealnx: Fix building error on MIPS
01c2c1581c94 sctp: do not peel off an assoc from one netns to another one
0a2e9fbdc391 vxlan: fix the issue that neigh proxy blocks all icmpv6 packets
1063c860aecd af_netlink: ensure that NLMSG_DONE never fails in dumps
045a67694539 vlan: fix a use-after-free in vlan_device_event()
eb1321c9ad5e tcp: fix tcp_fastretrans_alert warning
55bfb1ef83e0 qmi_wwan: Add missing skb_reset_mac_header-call
315ea5f8348b net: qmi_wwan: fix divide by 0 on bad descriptors
554d1d375f1c bonding: discard lowest hash bit for 802.3ad layer3+4
6b6b2c804d4e l2tp: don't use l2tp_tunnel_find() in l2tp_ip and l2tp_ip6
30ec586cda8a netfilter/ipvs: clear ipvs_property flag when SKB net namespace changed
62bd603f2677 net: systemport: Correct IPG length settings
70cd6d6bea88 tcp: do not mangle skb->cb[] in tcp_make_synack()
26ab537f2e5f net: vrf: correct FRA_L3MDEV encode type
f2561863b0d6 tcp_nv: fix division by zero in tcpnv_acked()
5dfe41dc67fc staging: greybus: spilib: fix use-after-free after deregistration
2c7eb0674a3d staging: sm750fb: Fix parameter mistake in poke32
008bfaf7b155 HID: wacom: generic: Recognize WACOM_HID_WD_PEN as a type of pen collection
695db9d1697c HID: cp2112: add HIDRAW dependency
b9edc34d9c29 x86/MCE/AMD: Always give panic severity for UC errors in kernel context
90e3029e582c selftests/x86/protection_keys: Fix syscall NR redefinition warnings
4ef762021938 USB: serial: garmin_gps: fix memory leak on probe errors
f1423a77b98b USB: serial: garmin_gps: fix I/O after failed probe and remove
68a94c90dfc3 USB: serial: qcserial: add pid/vid for Sierra Wireless EM7355 fw update
885e857a7c26 USB: serial: Change DbC debug device binding ID
3e7a792beda2 USB: serial: metro-usb: stop I/O after failed open
da73445f1b69 usb: gadget: f_fs: Fix use-after-free in ffs_free_inst
d3cc53bd3a61 USB: Add delay-init quirk for Corsair K70 LUX keyboards
402588b38460 USB: usbfs: compute urb->actual_length for isochronous
5a8714de40ac USB: early: Use new USB product ID and strings for DbC device
83f0fdf7ccc6 crypto: dh - Don't permit 'key' or 'g' size longer than 'p'
b494fa860365 crypto: dh - Don't permit 'p' to be 0
4ffcf85d08b7 crypto: dh - Fix double free of ctx->p
d20a9c0d1233 crypto: dh - fix memleak in setkey
ad8b281c05c5 Bluetooth: btusb: fix QCA Rome suspend/resume
21fc98337c60 dmaengine: dmatest: warn user when dma test times out
72a0fc7e4f7d tcp: fix tcp_mtu_probe() vs highest_sack
ca42624b53de ipv6: addrconf: increment ifp refcount before ipv6_del_addr()
751e5b20c03f tun/tap: sanitize TUNSETSNDBUF input
eea9efba6bdc net_sched: avoid matching qdisc with zero handle
e76cd730f32e sctp: reset owner sk for data chunks on out queues when migrating a sock
6027b882617c tun: allow positive return values on dev_get_valid_name() call
984a8b424c58 tap: reference to KVA of an unloaded module causes kernel panic
92adaa4247c1 tcp: refresh tcp_mstamp from timers callbacks
026ff0f99bbf tcp: refresh tp timestamp before tcp_mtu_probe()
aa3fb0cbb88d ip6_gre: update dst pmtu if dev mtu has been updated by toobig in __gre6_xmit
88f0bf544d46 ip6_gre: only increase err_count for some certain type icmpv6 in ip6gre_err
7256c950ca70 ipip: only increase err_count for some certain type icmp in ipip_err
62e3502c1991 net/mlx5e: Properly deal with encap flows add/del under neigh update
84d26c8a74fc tap: double-free in error path in tap_open()
94946f4812fa net/unix: don't show information about sockets from other namespaces
43997314bb13 net: dsa: check master device before put
d5c769c98986 tcp/dccp: fix other lockdep splats accessing ireq_opt
1d4c7c3266a4 tcp/dccp: fix lockdep splat in inet_csk_route_req()
462504bc99ac sctp: full support for ipv6 ip_nonlocal_bind & IP_FREEBIND
fe91475c8310 ipv6: flowlabel: do not leave opt->tot_len with garbage
009a3e7461cd soreuseport: fix initialization race
16e36e55f822 net: bridge: fix returning of vlan range op errors
3d32d75474d1 geneve: Fix function matching VNI and tunnel ID on big-endian
04e37f3a5c02 packet: avoid panic in packet_getsockopt()
3895ca099a69 tcp/dccp: fix ireq->opt races
eda355607691 sctp: add the missing sock_owned_by_user check in sctp_icmp_redirect
785b144296af netlink: fix netlink_ack() extack race
01af773e7a6b tun: call dev_get_valid_name() before register_netdevice()
1b522844eabe l2tp: check ps->sock before running pppol2tp_session_ioctl()
ae90bb6362cd net: call cgroup_sk_alloc() earlier in sk_clone_lock()
1ec7babcf934 netlink: do not set cb_running if dump's start() errs
7fa820a09305 gso: fix payload length when gso_size is zero
463a7737df22 ppp: fix race in ppp device destruction
57b61ea36589 xfs: move two more RT specific functions into CONFIG_XFS_RT
b5bea8ab390b tty: fix __tty_insert_flip_char regression
1d4d3f8e98b3 KVM: add X86_LOCAL_APIC dependency
737d1a26d83a pinctrl/amd: Fix build dependency on pinmux code
5f9a4e690c9f seccomp: make function __get_seccomp_filter static
407108cebb23 Fix tracing sample code warning.
e53f80ca68ae security/keys: BIG_KEY requires CONFIG_CRYPTO
b177131cdd05 udp: fix bcast packet reception
51165c2e0923 Linux 4.12.17
e37973f85463 media: dib0700: fix invalid dvb_detach argument
2be5d96a5441 media: imon: Fix null-ptr-deref in imon_probe
6cc6ecdb2ad9 Input: ims-psu - check if CDC union descriptor is sane
dcc13ac27971 net: cdc_ether: fix divide by 0 on bad descriptors
6a98f24f0530 net: usb: asix: fill null-ptr-deref in asix_suspend
1da204e5439f usb: usbtest: fix NULL pointer dereference
39795ceb702b x86/oprofile/ppro: Do not use __this_cpu*() in preemptible context
cf6308a136f2 x86/smpboot: Make optimization of delay calibration work correctly
5cee51d999ed x86/debug: Handle warnings before the notifier chain, to fix KGDB crash
7faef4f041ed can: c_can: don't indicate triple sampling support for D_CAN
2efab93ab541 can: ifi: Fix transmitter delay calculation
9a9a3a778c22 can: peak: Add support for new PCIe/M2 CAN FD interfaces
befd4aa29428 can: sun4i: handle overrun in RX FIFO
ce274815fdac drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue
327b1f353263 rbd: use GFP_NOIO for parent stat and data requests
81a57d23e6f9 Input: elan_i2c - add ELAN060C to the ACPI table
8b43ca400436 MIPS: AR7: Ensure that serial ports are properly set up
fd11bdb71a3a MIPS: AR7: Defer registration of GPIO
361b86eaf6ec MIPS: BMIPS: Fix missing cbr address
1f5ee962f2cd MIPS: Fix CM region target definitions
95eca04aa013 ALSA: seq: Fix OSS sysex delivery in OSS emulation
a77a957d8dd4 ALSA: hda - fix headset mic problem for Dell machines with alc274
5e838d3a8e07 ALSA: usb-audio: support new Amanero Combo384 firmware version
af199c8af86e ALSA: timer: Limit max instances per timer
7f740a514450 ARM: 8720/1: ensure dump_instr() checks addr_limit
378309492920 ACPI / scan: Enable GPEs before scanning the namespace
3d41affb49ba ACPICA: Make it possible to enable runtime GPEs earlier
73b2b51c57bc ACPICA: Dispatch active GPEs at init time
b8a8b7486b60 KEYS: fix NULL pointer dereference during ASN.1 parsing [ver #2]
1dd87968f2e3 crypto: x86/sha256-mb - fix panic due to unaligned access
ad3194d5cdd7 crypto: x86/sha1-mb - fix panic due to unaligned access
176121ac7fe1 crypto: ccm - preserve the IV buffer
565a57ec4f8d workqueue: Fix NULL pointer dereference
86d04817638d x86/mcelog: Get rid of RCU remnants
61f8603bcb05 perf/cgroup: Fix perf cgroup hierarchy support
c39d83f28cf5 MIPS: microMIPS: Fix incorrect mask in insn_table_MM
ff06d106db71 MIPS: smp-cmp: Use right include for task_struct
6da5b0e13e3e drm/i915/edp: read edp display control registers unconditionally
89e68088def8 drm/i915: Do not rely on wm preservation for ILK watermarks
052130e6dd1c mm, swap: fix race between swap count continuation operations
92ede622224e ocfs2: fstrim: Fix start offset of first cluster group during fstrim
d4e8f4c82ec4 userfaultfd: hugetlbfs: prevent UFFDIO_COPY to fill beyond the end of i_size
bf69e4b41953 drm/amdgpu: allow harvesting check for Polaris VCE
aa09acb11a5b drm/amdgpu: return -ENOENT from uvd 6.0 early init for harvesting
707ba2820623 ARM: 8715/1: add a private asm/unaligned.h
4fa5fe6ea340 ARM: dts: mvebu: pl310-cache disable double-linefill
a01a5c2e6e9e arm/arm64: kvm: Disable branch profiling in HYP code
3441fa885cf3 arm/arm64: KVM: set right LR register value for 32 bit guest when inject abort
a650f10a6423 KVM: arm64: its: Fix missing dynamic allocation check in scan_its_table
24d22fb868e3 arm64: ensure __dump_instr() checks addr_limit
cac0dcc9179e ASoC: adau17x1: Workaround for noise bug in ADC
7e34e27aaf91 KEYS: fix out-of-bounds read during ASN.1 parsing
53ec125b27a1 KEYS: trusted: fix writing past end of buffer in trusted_read()
9b453e30fc82 cifs: check MaxPathNameComponentLength != 0 before using it
69828d917713 ALSA: seq: Fix nested rwsem annotation for lockdep splat
11f1d2059857 ALSA: timer: Add missing mutex lock for compat ioctls
86306c8bf739 powerpc/xive: Fix the size of the cpumask used in xive_find_target_in_mask()
7d5b350c311e regulator: fan53555: fix I2C device ids
bba7a802ffa0 ipsec: Fix aborted xfrm policy dump crash
3f17c12b2ef6 cfg80211: fix connect/disconnect edge cases
036cb11e2b93 can: kvaser_usb: Ignore CMD_FLUSH_QUEUE_REPLY messages
25a5d333b556 can: kvaser_usb: Correct return value in printout
0dea0f030394 can: sun4i: fix loopback mode
b26722135e12 drm/i915/perf: fix perf enable/disable ioctls with 32bits userspace
748e46331dc7 drm/amd/powerplay: fix uninitialized variable
859bc7ad2aa9 x86/cpu/AMD: Apply the Erratum 688 fix when the BIOS doesn't
1370811ed5b7 scsi: aacraid: Fix controller initialization failure
626a5aae973e scsi: zfcp: fix erp_action use-before-initialize in REC action trace
250835c62a90 assoc_array: Fix a buggy node-splitting case
fea99b11049a SMB3: Validate negotiate request must always be signed
d030ae8043b8 Fix encryption labels and lengths for SMB3.1.1
158c28974465 Input: gtco - fix potential out-of-bound access
a603b795cb7e Input: elan_i2c - add ELAN0611 to the ACPI table
9bb1ce736e36 CIFS: Fix NULL pointer deref on SMB2_tcon() failure
fbe5c09ee805 xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap()
950c2786017a fuse: fix READDIRPLUS skipping an entry
1be2e5e41f0e spi: armada-3700: Fix failing commands with quad-SPI
733d72531cc5 spi: bcm-qspi: Fix use after free in bcm_qspi_probe() in error path
cffec62ffee5 spi: a3700: Return correct value on timeout detection
be9198ea33e1 spi: uapi: spidev: add missing ioctl header
9b5c3ee4ed3f KVM: PPC: Book3S: Protect kvmppc_gpa_to_ua() with SRCU
9574b6e81e45 KVM: PPC: Book3S HV: POWER9 more doorbell fixes
bceb8e9d95be KVM: PPC: Book3S HV: Use msgsync with hypervisor doorbells on POWER9
229642d22e3a KVM: PPC: Fix oops when checking KVM_CAP_PPC_HTM
32e77b72733b ceph: unlock dangling spinlock in try_flush_caps()
f4180593b1e9 ALSA: hda - fix headset mic problem for Dell machines with alc236
33477d1e5e6b ALSA: hda/realtek - Add support for ALC236/ALC3204
0230f9ed329f workqueue: replace pool->manager_arb mutex with a flag
5ec0d1c9d5a9 xfs: trim writepage mapping to within eof
fcc029896ba9 xfs: cancel dirty pages on invalidation
da45acc2e9cd xfs: handle error if xfs_btree_get_bufs fails
7d57f66d6f17 xfs: reinit btree pointer on attr tree inactivation walk
731ead3be639 xfs: don't change inode mode if ACL update fails
173d49a9a531 xfs: move more RT specific code under CONFIG_XFS_RT
ba899492a1d5 xfs: handle racy AIO in xfs_reflink_end_cow
72ac4f1186a6 xfs: always swap the cow forks when swapping extents
204bdfa1f67c xfs: perag initialization should only touch m_ag_max_usable for AG 0
7b74f08372bd xfs: update i_size after unwritten conversion in dio completion
a387eb05ff73 xfs: report zeroed or not correctly in xfs_zero_range()
7df2a96d20a4 fs/xfs: Use %pS printk format for direct addresses
4c71c06ac80f xfs: evict CoW fork extents when performing finsert/fcollapse
f0f53f176d94 xfs: don't unconditionally clear the reflink flag on zero-block files
032e53c378a8 iomap_dio_rw: Allocate AIO completion queue before submitting dio
bd603f7110b9 pkcs7: Prevent NULL pointer dereference, since sinfo is not always set.
362a37a0cf59 KEYS: don't let add_key() update an uninstantiated key
e4968379c1b6 FS-Cache: fix dereference of NULL user_key_payload
047fe074b659 KEYS: Fix race between updating and finding a negative key
8ea691e39413 ecryptfs: fix dereference of NULL user_key_payload
bfd7bc34be16 fscrypt: fix dereference of NULL user_key_payload
83f4c52d9fd7 lib/digsig: fix dereference of NULL user_key_payload
e966d2d4f6a1 x86/microcode/intel: Disable late loading on model 79
d647900b826d rtlwifi: rtl8821ae: Fix connection lost problem
3f4f2f812312 clockevents/drivers/cs5535: Improve resilience to spurious interrupts
6bd3022f41a1 bus: mbus: fix window size calculation for 4GB windows
c7a86caa19f2 brcmsmac: make some local variables 'static const' to reduce stack size
4df70a6e8969 brcmfmac: Add check for short event packets
f6f7db182f44 i2c: piix4: Fix SMBus port selection for AMD Family 17h chips
dfc7eebd0b5d ALSA: hda: Abort capability probe at invalid register read
a7252ee01e59 ALSA: hda: Remove superfluous '-' added by printk conversion
514d11ccc861 ALSA: seq: Enable 'use' locking in all configurations
a4476518e1e7 tracing/samples: Fix creation and deletion of simple_thread_fn creation
ad84c20a9f47 media: dvb: i2c transfers over usb cannot be done from stack
11fbb0237319 media: cec: Respond to unregistered initiators, when applicable
43ac45e69b11 media: s5p-cec: add NACK detection support
686020330a68 drm/nouveau/mmu: flush tlbs before deleting page tables
90905608e49e drm/nouveau/bsp/g92: disable by default
a276b1329f6e drm/nouveau/kms/nv50: fix oops during DP IRQ handling on non-MST boards
75c7d377d125 drm/i915: Use bdw_ddi_translations_fdi for Broadwell
a4e778fda246 mmc: sdhci-pci: Fix default d3_retune for Intel host controllers
c51c64badbdf KEYS: encrypted: fix dereference of NULL user_key_payload
8d5f0ae655f9 can: flexcan: fix p1010 state transition issue
32a5167fcdae can: flexcan: fix i.MX28 state transition issue
5babb6c595a6 can: flexcan: fix i.MX6 state transition issue
9319913df979 can: flexcan: implement error passive state quirk
1c93f600ac19 can: flexcan: rename legacy error state quirk
25cb31c3f806 can: flexcan: fix state transition regression
f433519c4cba can: af_can: can_pernet_init(): add missing error handling for kzalloc returning NULL
947a57f938f3 can: esd_usb2: Fix can_dlc value for received RTR, frames
792c8810f196 usb: xhci: Handle error condition in xhci_stop_device()
c83a48144395 xhci: Cleanup current_cmd in xhci_cleanup_command_queue()
666fd52c080b xhci: Identify USB 3.1 capable hosts by their port protocol capability
523dad046e0f usb: musb: Check for host-mode using is_host_active() on reset interrupt
5e277dcadf45 usb: musb: musb_cppi41: Configure the number of channels for DA8xx
1ddbc42b569c usb: musb: musb_cppi41: Fix cppi41_set_dma_mode() for DA8xx
b4ae14cc4f93 usb: musb: musb_cppi41: Fix the address of teardown and autoreq registers
dbb13f2fcbc9 USB: musb: fix late external abort on suspend
cff06a4ae7d5 USB: musb: fix session-bit runtime-PM quirk
7545aa66403b usb: musb: sunxi: Explicitly release USB PHY on exit
8447db4b2e33 iio: dummy: events: Add missing break
9d8a108edff7 parisc: Fix double-word compare and exchange in LWS code on 32-bit kernels
58bacefc0b50 s390/cputime: fix guest/irq/softirq times after CPU hotplug
7543b1a05d0c nbd: don't set the device size until we're connected
b7e699fcefbe can: gs_usb: fix busy loop if no more TX context is available
2053fee203fb ALSA: usb-audio: Add native DSD support for Pro-Ject Pre Box S2 Digital
a069429516bc usb: hub: Allow reset retry for USB2 devices on connect bounce
79d5e5d8d2fe usb: quirks: add quirk for WORLDE MINI MIDI keyboard
4d493d5a62ea usb: cdc_acm: Add quirk for Elatec TWN3
d553fc8e775f USB: serial: metro-usb: add MS7820 device id
9872dc2ad066 USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor()
4d75d952a2ac USB: devio: Revert "USB: devio: Don't corrupt user memory"
b5264fc112b2 staging: bcm2835-audio: Fix memory corruption
(From OE-Core rev: e261cbbc37cd0a308502ebe94b7f1071161bc21a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d3a8565e176ad77a99b832caf5e23b62846a9a67)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following changes to the 4.12 tree:
1b85adfc0b81 mtd: intel-spi: Add Intel Lewisburg PCH SPI super SKU PCI ID
b373e336eb84 mtd: spi-nor: intel-spi: Add support for Intel Cedar Fork SPI serial flash
c37662f04d7c mtd: spi-nor: intel-spi: Add support for Intel Lewisburg SPI serial flash
a8a4ae37e8b7 mtd: spi-nor: intel-spi: Add support for Intel Denverton SPI serial flash controller
aa830ab86985 net/bluetooth: make bluetooth socket can be created in net namespace
2e98dc285831 x86/debug: Handle warnings before the notifier chain, to fix KGDB crash
These are all bug fixes, or mainline backports.
(From OE-Core rev: c8ff9567f702eb93868e43ec84268f9eeb724cd4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7c4ed05c05629f8f551152153d893dfe048c1ee0)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following configuration changes to the 4.x linux
yocto kernels:
common-pc*.scc: Add igb to common-pc drivers
mti-malta32: enable CONFIG_HIGHMEM for qemumips to support up to 2GiB RAM
features/i915/i915.cfg: compile i915 as a module
(From OE-Core rev: 9cbcc5e16c3531d1c6d17cbba8f13a6ec1413783)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b0343ff286b413745579b371f48917099e0a9bef)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following ipv4 backport:
ipv4: net namespace does not inherit network configurations
patch from https://lkml.org/lkml/2014/7/29/119
Ipv4 net namespace requires a similar logic change as commit a79ca223e029
[ipv6: fix bad free of addrconf_init_net] introduces for newer kernels.
Since a net namespace is independent to another. That is, there
is no any relationship between the net namespaces. So a new net
namespace should not inherit network configurations from another
net namespace including the host.
CC: Hong Zhiguo <honkiko@gmail.com>
CC: David S. Miller <davem@davemloft.net>
Signed-off-by: Zhu Yanjun <zyjzyj2000@gmail.com>
Signed-off-by: yzhu1 <yanjun.zhu@windriver.com>
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
And the following configuration changes:
3574bb061c1b mti-malta32: enable CONFIG_HIGHMEM for qemumips to support up to 2GiB RAM
f187df8fca31 features/i915/i915.cfg: compile i915 as a module
332b38cb83a2 common-pc*.scc: Add igb to common-pc drivers
(From OE-Core rev: 6f344749f56a16b5d2799caa3735ab0b3a8ce603)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7e0b87ffce90dad248a7a0f0b9d661583e047568)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating two bug fixes (functionality regressions):
1d685baca196 iwlwifi: bump max FW API to 31
cb8ce8c4ad0f tty: fix __tty_insert_flip_char regression
And the following configuration fragment:
vrf: Add feature
(From OE-Core rev: 839b01d9d68cc32f179e96bc003b26cd1b76781b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f4c7a52e6bd4e955ee6aface617d84b15356bd31)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable updates from Paul Gortmaker that cover the
following commits:
8500552cb6f7 Linux 4.12.16
3041c36e51aa vmbus: more host signalling avoidance
170ce449d952 vmbus: eliminate duplicate cached index
1843e4c61d03 vmbus: refactor hv_signal_on_read
3114e4beb799 vmbus: simplify hv_ringbuffer_read
47cd1be8a9b1 HID: hid-elecom: extend to fix descriptor for HUGE trackball
663b5513c683 mm: page_vma_mapped: ensure pmd is loaded with READ_ONCE outside of lock
8a0af0f30b6b perf pmu: Unbreak perf record for arm/arm64 with events with explicit PMU
20ce8834fc99 KVM: nVMX: update last_nonleaf_level when initializing nested EPT
bf6a0ec7751f x86/alternatives: Fix alt_max_short macro to really be a max()
8566ad9542c8 x86/microcode: Do the family check first
d369002c85c7 RAS/CEC: Use the right length for "cec_disable"
2f5df0825d43 USB: serial: console: fix use-after-free after failed setup
38d29750c751 USB: serial: console: fix use-after-free on disconnect
3312688774a5 USB: serial: qcserial: add Dell DW5818, DW5819
8ceb1ab5b8b6 USB: serial: option: add support for TP-Link LTE module
9a492331d4d8 USB: serial: cp210x: add support for ELV TFD500
05a76c3972a3 USB: serial: cp210x: fix partnum regression
36db7ee477f7 USB: serial: ftdi_sio: add id for Cypress WICED dev board
f5f28aa1189d bio_copy_user_iov(): don't ignore ->iov_offset
2e23ac57b91b more bio_map_user_iov() leak fixes
be96ea60abf4 fix unbalanced page refcounting in bio_map_user_iov
62272a78cd64 direct-io: Prevent NULL pointer access in submit_page_section
da889b1de1e2 usb: gadget: composite: Fix use-after-free in usb_composite_overwrite_options
82bb04bf4ef3 usb: gadget: configfs: Fix memory leak of interface directory data
48f321f266d2 drm/i915: Use crtc_state_is_legacy_gamma in intel_color_check
300533678314 drm/i915/bios: parse DDI ports also for CHV for HDMI DDC pin and DP AUX channel
6e7077ce8b8f drm/i915: Read timings from the correct transcoder in intel_crtc_mode_get()
a89c571ae8a8 drm/i915/edp: Get the Panel Power Off timestamp after panel is off
002894140f21 drm/atomic: Unref duplicated drm_atomic_state in drm_atomic_helper_resume()
7e9518d4926c ALSA: line6: Fix leftover URB at error-path during probe
44a4ce6662bd ALSA: line6: Fix missing initialization before error path
7f16c070632d ALSA: line6: Fix NULL dereference at podhd_disconnect()
317938e88d45 ALSA: caiaq: Fix stray URB at probe error path
39921169c481 ALSA: seq: Fix copy_from_user() call inside lock
dc744c119f6d ALSA: seq: Fix use-after-free at creating a port
3da32e1a4a3a ALSA: usb-audio: Kill stray URB at exiting
cbf3f880a31c fs/mpage.c: fix mpage_writepage() for pages with buffers
24bb3d33bf9c Revert "vmalloc: back off when the current task is killed"
076e98e18525 device property: Track owner device of device property
2404f2c63a8f iommu/amd: Finish TLB flush in amd_iommu_unmap()
2681ccd7a877 usb: renesas_usbhs: Fix DMAC sequence for receiving zero-length packet
014b37ece737 KVM: nVMX: fix guest CR4 loading when emulating L2 to L1 exit
c0f617345da5 KVM: MMU: always terminate page walks at level 1
810fa30a4ec6 crypto: shash - Fix zero-length shash ahash digest crash
c55f32198aa4 crypto: skcipher - Fix crash on zero-length input
688d47df70db HID: usbhid: fix out-of-bounds bug
fceb5f74236c NFS: Fix uninitialized rpc_wait_queue
3936965498e9 dmaengine: ti-dma-crossbar: Fix possible race condition with dma_inuse
232ab7abddce dmaengine: edma: Align the memcpy acnt array size with the transfer
a1b8e04e4478 mei: always use domain runtime pm callbacks.
ff7884c2afbf MIPS: math-emu: Remove pr_err() calls from fpu_emu()
c43a87667d3f USB: dummy-hcd: Fix deadlock caused by disconnect detection
111001ffa651 watchdog: Revert "iTCO_wdt: all versions count down twice"
d6703459b5bf udp: perform source validation for mcast early demux
5a2bdca5336a nl80211: Define policy for packet pattern attributes
fd4bee8c17d9 mmc: core: add driver strength selection when selecting hs400es
11a49827d263 nvme-pci: Use PCI bus address for data/queues in CMB
bfd19d3e3511 drm/i915/bios: ignore HDMI on port A
8ab3d473cbfd drm/i915: always update ELD connector type after get modes
ec338aac41a5 brcmfmac: setup passive scan if requested by user-space
a2db156a40ef brcmfmac: add length check in brcmf_cfg80211_escan_handler()
fda708d0e6c9 scsi: sd: Do not override max_sectors_kb sysfs setting
9d0c3a0c8ed3 scsi: sd: Implement blacklist option for WRITE SAME w/ UNMAP
e57b8ad57afc scsi: remove various unused blist flags
86d40a1cfd5e iwlwifi: mvm: use IWL_HCMD_NOCOPY for MCAST_FILTER_CMD
0a1447d60118 kvm/x86: Avoid async PF preempting the kernel incorrectly
9dfcfa3ac381 KVM: PPC: Book3S: Fix server always zero from kvmppc_xive_get_xive()
4d93aae9b293 dm crypt: fix memory leak in crypt_ctr_cipher_old()
8ab4dc921826 dm crypt: reject sector_size feature if device length is not aligned to it
da3c3bd6ad07 netlink: fix nla_put_{u8,u16,u32} for KASAN
dbe7d8a9dba2 rocker: fix rocker_tlv_put_* functions for KASAN
1fa70078bcba HID: wacom: bits shifted too much for 9th and 10th buttons
de1b19226d80 HID: wacom: Always increment hdev refcount within wacom_get_hdev_data
78fbbdd94b75 HID: wacom: generic: Clear ABS_MISC when tool leaves proximity
4c0d78da4868 HID: wacom: generic: Send MSC_SERIAL and ABS_MISC when leaving prox
f4efe333405d HID: wacom: Correct coordinate system of touchring and pen twist
3dd5dae733f6 HID: wacom: Properly report negative values from Intuos Pro 2 Bluetooth
429ea46a9d3a HID: wacom: leds: Don't try to control the EKR's read-only LEDs
ffb802b9d7f9 HID: i2c-hid: allocate hid buffers for real worst case
9a95f1edac92 HID: rmi: Make sure the HID device is opened on resume
16be0f8ec04d arm64: Ensure the instruction emulation is ready for userspace
8fe55ce33212 ftrace: Fix kmemleak in unregister_ftrace_graph
86f8a516079a auxdisplay: charlcd: properly restore atomic counter on error path
99ff327c8738 stm class: Fix a use-after-free
d68b3c9e3511 vmbus: don't acquire the mutex in vmbus_hvsock_device_unregister()
07d4af70fd2e Drivers: hv: fcopy: restore correct transfer length
c106e296904b cgroup: Reinit cgroup_taskset structure before cgroup_migrate_execute() returns
336cc70e7777 driver core: platform: Don't read past the end of "driver_override" buffer
4384e4fd5416 intel_th: pci: Add Lewisburg PCH support
6b8889bc67cf percpu: make this_cpu_generic_read() atomic w.r.t. interrupts
5524a161ced3 powerpc/tm: Fix illegal TM state in signal handler
11939f4de59b powerpc/64s: Use emergency stack for kernel TM Bad Thing program checks
19cae92eb3d3 powerpc/powernv: Increase memory block size to 1GB on radix
6834ed0682d8 ALSA: usx2y: Suppress kernel warning at page allocation failures
c73650323e57 Revert "ALSA: echoaudio: purge contradictions between dimension matrix members and total number of members"
435ad40590e7 ALSA: compress: Remove unused variable
d62ff966e300 lsm: fix smack_inode_removexattr and xattr_getsecurity memleak
8907604ceee1 lib/ratelimit.c: use deferred printk() version
a646d2e16d5e userfaultfd: non-cooperative: fix fork use after free
7376b8c10bde mm: avoid marking swap cached page as lazyfree
d912b7cf15a6 mm: fix RODATA_TEST failure "rodata_test: test data was not read only"
3a8584637eb7 mm, oom_reaper: skip mm structs with mmu notifiers
a3a2270666cb ksm: fix unlocked iteration over vmas in cmp_and_merge_page()
0b833e6215f1 staging: vchiq_2835_arm: Fix NULL ptr dereference in free_pagelist
21163f7980af uwb: ensure that endpoint is interrupt
3474cb66fea2 uwb: properly check kthread_run return value
27a8bc07aaaa iio: adc: mcp320x: Fix oops on module unload
3f8385a599bb iio: adc: mcp320x: Fix readout of negative voltages
143b44819564 iio: ad7793: Fix the serial interface reset
c15998910ffd iio: trigger: stm32-timer: fix a corner case to write preset
e4445ff462ff iio: trigger: stm32-timer: preset shouldn't be buffered
620dfbd1d966 IIO: BME280: Updates to Humidity readings need ctrl_reg write!
3f78bc054bd0 iio: core: Return error for failed read_reg
bb9ad7727c30 staging: iio: ad7192: Fix - use the dedicated reset function avoiding dma from stack.
ef8f8aac9c40 iio: ad_sigma_delta: Implement a dedicated reset function
91cec30e5600 iio: adc: twl4030: Disable the vusb3v1 rugulator in the error handling path of 'twl4030_madc_probe()'
0694b17d52b5 iio: adc: twl4030: Fix an error handling path in 'twl4030_madc_probe()'
9598144dd7fe Revert "xhci: Limit USB2 port wake support for AMD Promontory hosts"
d075a0375ff9 xhci: set missing SuperSpeedPlus Link Protocol bit in roothub descriptor
214dd70fd584 usb: host: xhci-plat: allow sysdev to inherit from ACPI
f1741099affe xhci: fix wrong endpoint ESIT value shown in tracing
ce2e382d152c xhci: fix finding correct bus_state structure for USB 3.1 hosts
49398e9c9987 USB: fix out-of-bounds in usb_set_configuration
fbe76115049a usb: Increase quirk delay for USB devices
2d3ad4d1d46d USB: core: harden cdc_parse_cdc_header
58134902731a USB: uas: fix bug in handling of alternate settings
4fea0da59600 USB: devio: Don't corrupt user memory
14e7521b5253 USB: devio: Prevent integer overflow in proc_do_submiturb()
7b6d9826473c USB: dummy-hcd: Fix erroneous synchronization change
110b5cb4d9b4 USB: dummy-hcd: fix infinite-loop resubmission bug
86481bcda003 USB: dummy-hcd: fix connection failures (wrong speed)
4ffa59b1c5ef USB: cdc-wdm: ignore -EPIPE from GetEncapsulatedResponse
9faf2caf8cfa usb: pci-quirks.c: Corrected timeout values used in handshake
d039e3d01004 ALSA: usb-audio: Check out-of-bounds access by corrupted buffer descriptor
7c4a2bdf47db usb: renesas_usbhs: fix usbhsf_fifo_clear() for RX direction
928b7190418b usb: renesas_usbhs: fix the BCLR setting condition for non-DCP pipe
a6302dbe96dc usb-storage: fix bogus hardware error messages for ATA pass-thru devices
78b35c89cf5e usb-storage: unusual_devs entry to fix write-access regression for Seagate external drives
c2aafffef836 usb: gadget: udc: renesas_usb3: Fix return value of usb3_write_pipe()
3317d2d0ff4c usb: gadget: udc: renesas_usb3: fix Pn_RAMMAP.Pn_MPKT value
251a4b607db6 usb: gadget: udc: renesas_usb3: fix for no-data control transfer
3cb875dbac15 usb: gadget: udc: atmel: set vbus irqflags explicitly
21f8963948de USB: gadgetfs: fix copy_to_user while holding spinlock
57dddf4436e3 USB: gadgetfs: Fix crash caused by inadequate synchronization
13ac3ba437dd bpf: fix bpf_tail_call() x64 JIT
9377e85e3d96 net: rtnetlink: fix info leak in RTM_GETSTATS call
73229f01c713 socket, bpf: fix possible use after free
721915e62286 l2tp: fix l2tp_eth module loading
ef4721707447 tipc: use only positive error codes in messages
9b2249636b6e IPv4: early demux can return an error code
857c4b1f1004 ip6_tunnel: update mtu properly for ARPHRD_ETHER tunnel device in tx path
5222b3c935d8 ip6_gre: ip6gre_tap device should keep dst
59d0df52c04c netlink: do not proceed if dump's start() errs
cd53a041d929 net/mlx5e: IPoIB, Fix access to invalid memory address
6e2af86f894f net: Set sk_prot_creator when cloning sockets to the right proto
fd767b3c9282 net: dsa: mv88e6xxx: lock mutex when freeing IRQs
a9b7868d8603 packet: only test po->has_vnet_hdr once in packet_snd
49791a17d4f4 packet: in packet_do_bind, test fanout with bind_lock held
c45234f432ed tun: bail out from tun_get_user() if the skb is empty
f6a0ed8e5f3c l2tp: fix race condition in l2tp_tunnel_delete
b2861a38475a vti: fix use after free in vti_tunnel_xmit/vti6_tnl_xmit
b1c7b474de2d net: qcom/emac: specify the correct size when mapping a DMA buffer
366fcb432b12 net_sched: always reset qdisc backlog in qdisc_reset()
95cee692dafa isdn/i4l: fetch the ppp_write buffer in one shot
2f707d184b55 net: change skb->mac_header when Generic XDP calls adjust_head
53097ad73f85 bpf: one perf event close won't free bpf program attached by another perf event
f42a78ad68f6 packet: hold bind lock when rebinding to fanout hook
495589ad7efc net: ipv6: fix regression of no RTM_DELADDR sent after DAD failure
f8fcd8e80c6b net: emac: Fix napi poll list corruption
942383d73c7e tcp: fastopen: fix on syn-data transmit failure
b9156f4cbc05 8139too: revisit napi_complete_done() usage
c7da54ebfc21 net/sched: cls_matchall: fix crash when used with classful qdisc
d366a6d8fa78 ip6_tunnel: do not allow loading ip6_tunnel if ipv6 is disabled in cmdline
13b1a41fff28 net: phy: Fix mask value write on gmii2rgmii converter speed register
8786b0419353 ip6_gre: skb_push ipv6hdr before packing the header in ip6gre_header
4064c6617aca udpv6: Fix the checksum computation when HW checksum does not apply
8c1ca8be42a4 bpf/verifier: reject BPF_ALU64|BPF_END
8c8468276d86 tcp: update skb->skb_mstamp more carefully
6746b3e1e62f tcp: use tp->tcp_mstamp in output path
1708658272d8 sctp: potential read out of bounds in sctp_ulpevent_type_enabled()
4adf05c23f5d net: sched: fix use-after-free in tcf_action_destroy and tcf_del_walker
807813b1440a net_sched: gen_estimator: fix scaling error in bytes/packets samples
2280d8256b8f net: bonding: fix tlb_dynamic_lb default value
9ba28de2fb47 mlxsw: spectrum: Prevent mirred-related crash on removal
d843223f43a8 net: bonding: Fix transmit load balancing in balance-alb mode if specified by sysfs
1b7ddba95ec0 Linux 4.12.15
9d16c1a513c7 video: fbdev: aty: do not leak uninitialized padding in clk to userspace
bc94f3c025d3 KVM: VMX: use cmpxchg64
cea4b7ad6495 KVM: VMX: remove WARN_ON_ONCE in kvm_vcpu_trigger_posted_interrupt
4cebefacc13f KVM: VMX: do not change SN bit in vmx_update_pi_irte()
5a44051221c3 x86/mm: Fix fault error path using unsafe vma pointer
d791f8cc082d PM / OPP: Call notifier without holding opp_table->lock
8fa3761f3899 btrfs: prevent to set invalid default subvolid
8b7eb4320d6e btrfs: propagate error to btrfs_cmp_data_prepare caller
66fff45ff37a btrfs: finish ordered extent cleaning if no progress is found
d382eb1c62d7 btrfs: clear ordered flag on cleaning up ordered extents
61f18171d910 btrfs: fix NULL pointer dereference from free_reloc_roots()
3f619f467ff2 PCI: Fix race condition with driver_override
8420e1f0af47 md: separate request handling
12319e7484d2 md: fix a race condition for flush request handling
e676df0b1216 futex: Fix pi_state->owner serialization
b36416a27475 etnaviv: fix gem object list corruption
691ffb4f0df4 etnaviv: fix submit error path
a84cfcb017eb mtd: nand: atmel: fix buffer overflow in atmel_pmecc_user
10abcdf16087 sched/sysctl: Check user input value of sysctl_sched_time_avg
5419de995f66 xfs: validate bdev support for DAX inode flag
1e278dd0b455 kvm: nVMX: Don't allow L2 to access the hardware CR8
25d709528376 KVM: VMX: Do not BUG() on out-of-bounds guest IRQ
1b5878780e93 kvm/x86: Handle async PF in RCU read-side critical sections
acc5982be80a KVM: VMX: simplify and fix vmx_vcpu_pi_load
1c16ff161d31 KVM: VMX: avoid double list add with VT-d posted interrupts
0a43cc31678e KVM: VMX: extract __pi_post_block
e7eb9c1ba767 arm64: fault: Route pte translation faults via do_translation_fault
7babcf8e63c1 arm64: mm: Use READ_ONCE when dereferencing pointer to pte table
38085d92217f arm64: Make sure SPsel is always set
94a2d9d24d33 seccomp: fix the usage of get/put_seccomp_filter() in seccomp_get_filter()
65185bc520d1 selftests/seccomp: Support glibc 2.26 siginfo_t.h
fc5162ded95e extable: Enable RCU if it is not watching in kernel_text_address()
e022bf93a924 extable: Consolidate *kernel_text_address() functions
6d755f70dff5 mmc: sdhci-pci: Fix voltage switch for some Intel host controllers
c2125202b46c rcu: Allow for page faults in NMI handlers
0b4ff86ce0a2 iw_cxgb4: put ep reference in pass_accept_req()
70f0bf226a5e iw_cxgb4: remove the stid on listen create failure
c39cd8c519dd iw_cxgb4: drop listen destroy replies if no ep found
48a056a511a4 bsg-lib: don't free job in bsg_prepare_job
0f4a3495da6a gfs2: Fix debugfs glocks dump
5284e4435c06 brd: fix overflow in __brd_direct_access
da1b0075cf0c nl80211: check for the required netlink attributes presence
f5231169840c vfs: Return -ENXIO for negative SEEK_HOLE / SEEK_DATA offsets
98da77ff8eb5 SMB3: Don't ignore O_SYNC/O_DSYNC and O_DIRECT flags
60746c15130d SMB3: handle new statx fields
f874292f3df8 SMB: Validate negotiate (to protect against downgrade) even if signing off
274d2957576d SMB3: Warn user if trying to sign connection that authenticated as guest
69543984ef44 Fix SMB3.1.1 guest authentication to Samba
848c26a04de0 Revert "IB/ipoib: Update broadcast object if PKey value was changed in index 0"
df3f543b639e PM: core: Fix device_pm_check_callbacks()
65bee7492116 s390/mm: fix write access check in gup_huge_pmd()
b0b70437296e s390/mm: make pmdp_invalidate() do invalidation only
3d8166e70730 s390/perf: fix bug when creating per-thread event
5887ff9cbff2 MIPS: Fix perf event init
ef9d7b3442ab powerpc/pseries: Fix parent_dn reference leak in add_dt_node()
0970872dc16c KEYS: prevent KEYCTL_READ on negative key
7427f0ec5e24 KEYS: prevent creating a different user's keyrings
535c77f6cc0c KEYS: fix writing past end of user-supplied buffer in keyring_read()
65e577e5d218 security/keys: rewrite all of big_key crypto
6e4990d8d226 random: add get_random_{bytes,u32,u64,int,long,once}_wait family
20543a488913 random: add wait_for_random_bytes() API
37e408cf708d security/keys: properly zero out sensitive key material in big_key
a25aa12be307 crypto: talitos - fix hashing
e2a61a9c8de8 crypto: talitos - fix sha224
deea80b71ca1 crypto: talitos - Don't provide setkey for non hmac hashing algs.
42b449e1e74b crypto: drbg - fix freeing of resources
60b92951710b drm/radeon: disable hard reset in hibernate for APUs
b9e88e67fa58 Revert "drm/i915/bxt: Disable device ready before shutdown command"
3f97a3dc28cc drm/i915/gvt: Fix incorrect PCI BARs reporting
5cde5ed0e3e9 scsi: aacraid: Fix 2T+ drives on SmartIOC-2000
31fe32c4c118 scsi: scsi_transport_iscsi: fix the issue that iscsi_if_rx doesn't parse nlmsg properly
b051b4ae9e6a md/raid5: preserve STRIPE_ON_UNPLUG_LIST in break_stripe_batch_list
58b050319933 md/raid5: fix a race condition in stripe batch
805f300c67bd tracing: Remove RCU work arounds from stack tracer
682542006df3 tracing: Erase irqsoff trace with empty write
82306dc328b9 tracing: Fix trace_pipe behavior for instance traces
dbc8d3db80a1 KVM: PPC: Book3S HV: Hold kvm->lock around call to kvmppc_update_lpcr
ffd067e2cbb0 genirq/msi: Fix populating multiple interrupts
aab5f168d7c6 genirq: Make sparse_irq_lock protect what it should protect
dac8a5354b20 mac80211: flush hw_roc_start work before cancelling the ROC
f6dc54e4edf3 mac80211_hwsim: Use proper TX power
e991455baa63 mac80211: fix VLAN handling with TXQs
3722540c8cb3 scsi: scsi_transport_fc: fix NULL pointer dereference in fc_bsg_job_timeout
71a7d27fd864 fs/proc: Report eip/esp in /prod/PID/stat for coredumping
3941feee3478 cifs: release auth_key.response for reconnect.
86806e1ac9ab cifs: release cifs root_cred after exit_cifs
0de25f7acd91 cifs: check rsp for NULL before dereferencing in SMB2_open
8737eec0e579 sched/cpuset/pm: Fix cpuset vs. suspend-resume bugs
a3f1d53c1c2b bcache: fix bch_hprint crash and improve output
0fa332456800 bcache: fix for gc and write-back race
6ec401ab79a1 bcache: fix sequential large write IO bypass
273676b9a143 bcache: Correct return value for sysfs attach errors
d8cc6ff5d172 bcache: correct cache_dirty_target in __update_writeback_rate()
64a03d02ce82 bcache: do not subtract sectors_to_gc for bypassed IO
bec155f8ae9b bcache: Fix leak of bdev reference
809094f51397 bcache: initialize dirty stripes in flash_dev_run()
6c2a71ced908 ALSA: seq: Cancel pending autoload work at unbinding device
c29f8277f34c PM / devfreq: Fix memory leak when fail to register device
2872fe22451a media: adv7180: add missing adv7180cp, adv7180st i2c device IDs
c84111b698c8 media: uvcvideo: Prevent heap overflow when accessing mapped controls
56575dd7a0ed media: v4l2-compat-ioctl32: Fix timespec conversion
bb6ccacff00c s390/mm: fix race on mm->context.flush_mm
7b33ee224620 s390/mm: fix local TLB flushing vs. detach of an mm address space
e2813581906a net/netfilter/nf_conntrack_core: Fix net_conntrack_lock()
77f420b4d792 PCI: pciehp: Report power fault only once until we clear it
a58bbffad34d PCI: shpchp: Enable bridge bus mastering if MSI is enabled
9caa334f7158 ARC: Re-enable MMU upon Machine Check exception
fceed125b7a5 tracing: Apply trace_clock changes to instance max buffer
e183b93ae81e tracing: Add barrier to trace_printk() buffer nesting modification
b9b3fa21babe ftrace: Fix memleak when unregistering dynamic ops when tracing disabled
82e12dcbfd1f ftrace: Fix selftest goto location on error
5ab726174eae ftrace: Fix debug preempt config name in stack_tracer_{en,dis}able
59ce93476f82 mailbox: bcm-flexrm-mailbox: Fix mask used in CMPL_START_ADDR_VALUE()
ddaf72eb0d17 scsi: qla2xxx: Fix an integer overflow in sysfs code
f74974648540 scsi: qla2xxx: Use fabric name for Get Port Speed command
b4cb86cdb179 scsi: qla2xxx: Use BIT_6 to acquire FAWWPN from switch
432d773132a5 scsi: qla2xxx: Correction to vha->vref_count timeout
6fa7602be640 scsi: sg: fixup infoleak when using SG_GET_REQUEST_TABLE
d55c1d09656d scsi: sg: Re-fix off by one in sg_fill_request_table()
3992966852f4 scsi: sg: factor out sg_fill_request_table()
c15de6f030a9 scsi: storvsc: fix memory leak on ring buffer busy
3c710fb3c2a0 scsi: megaraid_sas: Return pended IOCTLs with cmd_status MFI_STAT_WRONG_STATE in case adapter is dead
8323a8af45f4 scsi: megaraid_sas: Check valid aen class range to avoid kernel panic
b06876d957af scsi: megaraid_sas: set minimum value of resetwaittime to be 1 secs
a128d0520218 scsi: megaraid_sas: mismatch of allocated MFI frame size and length exposed in MFI MPT pass through command
d3065824b5d8 scsi: aacraid: Fix command send race condition
9ef86a2c2f9c scsi: qedi: off by one in qedi_get_cmd_from_tid()
991a1a973948 scsi: zfcp: trace high part of "new" 64 bit SCSI LUN
7373c36cf075 scsi: zfcp: trace HBA FSF response by default on dismiss or timedout late response
2bfe5894d999 scsi: zfcp: fix payload with full FCP_RSP IU in SCSI trace records
c679798f4383 scsi: zfcp: fix missing trace records for early returns in TMF eh handlers
d456a6a7eba5 scsi: zfcp: fix passing fsf_req to SCSI trace on TMF to correlate with HBA
c3542a2687e4 scsi: zfcp: fix capping of unsuccessful GPN_FT SAN response trace records
159e38c80f1c scsi: zfcp: add handling for FCP_RESID_OVER to the fcp ingress path
c6c3b0a8f550 scsi: zfcp: fix queuecommand for scsi_eh commands when DIX enabled
c3df0e8d390b skd: Submit requests to firmware before triggering the doorbell
90b434ca7fd1 skd: Avoid that module unloading triggers a use-after-free
d850e6fbdea2 md/bitmap: disable bitmap_resize for file-backed bitmaps.
aee5be4e0cf6 md/bitmap: copy correct data for bitmap super
ee6afcd47b63 block: directly insert blk-mq request from blk_insert_cloned_request()
4dfcf18b9669 block: Relax a check in blk_start_queue()
dd7a87a9600e powerpc: Fix DAR reporting when alignment handler faults
4ccf03cf6796 powerpc/pseries: Don't attempt to acquire drc during memory hot add for assigned lmbs
57a7853a3297 powerpc/powernv/npu: Move tlb flush before launching ATSD
fce49edeb7b8 cxl: Fix driver use count
adcbc87965eb ext4: fix quota inconsistency during orphan cleanup for read-only mounts
6d8326041868 ext4: fix incorrect quotaoff if the quota feature is enabled
699ec491aa59 ext4: in ext4_seek_{hole,data}, return -ENXIO for negative offsets
b9aa3e877bea wcn36xx: Introduce mutual exclusion of fw configuration
b51f1d0bed48 regulator: cpcap: Fix standby mode
961497c9322b crypto: AF_ALG - remove SGL terminator indicator when chaining
e66082e0af79 crypto: caam/qi - properly set IV after {en,de}crypt
be48e355e2b0 crypto: caam/qi - fix typo in authenc alg driver name
c1b0aa5e489e crypto: scompress - don't sleep with preemption disabled
bedc673ee431 crypto: ccp - Fix XTS-AES-128 support on v5 CCPs
32bb68256227 docs: disable KASLR when debugging kernel
ebb451616d95 MIPS: math-emu: <MADDF|MSUBF>.D: Fix accuracy (64-bit case)
8a9e0b68b344 MIPS: math-emu: <MADDF|MSUBF>.S: Fix accuracy (32-bit case)
f1045424c538 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Clean up "maddf_flags" enumeration
db1ba5de2711 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix some cases of zero inputs
b9891c4cf672 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix some cases of infinite inputs
12ab5ebcc3f3 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix NaN propagation
b3a6ac0d63b6 MIPS: math-emu: MINA.<D|S>: Fix some cases of infinity and zero inputs
797910efa67c MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of both infinite inputs
32401438ab1c MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of input values with opposite signs
b4095004e721 MIPS: math-emu: <MAX|MIN>.<D|S>: Fix cases of both inputs negative
47e062700023 MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix cases of both inputs zero
9db3b8a2ffed MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix quiet NaN propagation
c8b054b62131 Input: i8042 - add Gigabyte P57 to the keyboard reset table
39d29eb95f64 pinctrl/amd: save pin registers over suspend/resume
b36d90f0b2fb pinctrl: samsung: Fix NULL pointer exception on external interrupts on S3C24xx
b098a309db19 pinctrl: samsung: Fix invalid register offset used for Exynos5433 external interrupts
a6a33ff37c4c tty: improve tty_insert_flip_char() slow path
d584d1580fc4 tty: improve tty_insert_flip_char() fast path
361c23e37c1f drm/amdgpu: read reg in each iterator of psp_wait_for loop
c29802eb2b14 Input: xpad - validate USB endpoint type during probe
f56b7f2bf63e smp/hotplug: Handle removal correctly in cpuhp_store_callbacks()
c4705a91ac8f srcu: Provide ordering for CPU not involved in grace period
7ac16054fc2b IB/mlx5: Fix cached MR allocation flow
1183d4d2624c IB/{qib, hfi1}: Avoid flow control testing for RDMA write operation
3e5ed45a45e0 IB/hfi1: Revert egress pkey check enforcement
1994169a2b63 <linux/uaccess.h>: Fix copy_in_user() declaration
f8d5b811ae66 orangefs: Don't clear SGID when inheriting ACLs
(From OE-Core rev: 0e4d8af892207a14a042c8c921d124a399dca23e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 72a9b142c3eeb4f89a44db978daf49ba60ffae8f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, if "systemd --test" is not allowed to complete
sending output, it will segfault.
(From OE-Core rev: 275aa008699f576ff3465f1c5d552cd367352bd0)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 7e4632f17ba92ac71351e45acf11f0d7dfe14e0c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you specify 'tag=' for a git URL and passed to recipetool create, you
will get into Bitbake expansion error shown below:
----- snip -----
$ devtool add --version 2.4.2 mbedtls "git://github.com/ARMmbed/mbedtls;tag=mbedtls-2.4.2"
...
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Conflicting revisions (abeccb9dbd7e19ae91ac50e1edd3803111c5f9b6 from SRCREV and mbedtls-2.4.2 from the url) found, please specify one valid value
----- snip -----
Assuming the tag is valid, we should get the tag commit hash and
drop the usage of 'tag=' from SRC_URI. By using a commit hash
corresponding to the tag will prevent bitbake from accessing
remote repository in order to expand SRCPV.
(From OE-Core rev: 4953d54dd06ff7025406d2df6a71c95162cc1ec7)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 53f8effa3eb07dc7035ff9933e7918318f242579)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ovmf package fails to build if you use a PARALLEL_MAKE flag
without a space in it. If you put the following in local.conf for
example:
PARALLEL_MAKE = "-j4"
The build will fail with as follows:
| build.exe: error: Option -n only allows one instance in command line!
| WARNING: /opt/build/ovmf/git-r0/temp/run.do_compile.26080:1 exit 2 from '/opt/build/ovmf/git-r0/git/OvmfPkg/build.sh $PARALLEL_JOBS -a $OVMF_ARCH -b RELEASE -t ${FIXED_GCCVER}'
| ERROR: Function failed: do_compile (log file is located at /opt/build/ovmf/git-r0/temp/log.do_compile.26080)
The failure is because the build.sh expects a space. The simple work
around is to fix the recipe to add some white space. The build.sh
only cares that it gets at least one space between the arguments, the
extra space if someone uses "-j 4" does not cause problems.
(From OE-Core rev: 89456f911425c3e7f65e8b9202b8d02775129923)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit cf7f4705e65a877cb4b3ac8872369c1b2e81a7be)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As a follow up to the changes to ensure that KBUILD_DEFCONFIG will
always get its defconfig into the processing, we also should ensure that
we don't get both a KBUILD_DEFCONFIG and a SRC_URI defconfig in the
configuration queue. If both are in the configuration queue, we end up
with competing values and a potentially long running check of 5000+
options x 2 against the final .config.
By removing the defconfig found from the SRC_URI when one is found
via KBUILD_DEFCONFIG, we ensure that only one will be processed.
(From OE-Core rev: d831b1cbff2901f10f79bb43c839839f73c428a3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7e98c295c1bb511ece51b5f8c97f26c173ddaf76)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bberror does not stop the build correctly, this should be a
bbfatal_log to ensure the failure correctly stops the build and logs
the failure.
Part of
[YOCTO #12162]
(From OE-Core rev: 57791aa2700c39549cd0e542d7fdbb89c6185e22)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 44ff06635e7f575e67b7ebba5d6900b8ddbc4a06)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using KBUILD_DEFCONFIG, $sccs should be set to the $WORKDIR/defconfig
regardless if it compares or is copied. Otherwise $sccs is not set and the
defconfig is not found correctly.
Part of
[YOCTO #12162]
(From OE-Core rev: 19c49d8d19341b377640af99c98e8f9d45cefb1b)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b63cc051f1eb58c768f49db2c04843336e62d3df)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg stable updates that include the following changes:
133e6ccf46f1 Linux 4.9.65
ceaec6e8cd98 mm/pagewalk.c: report holes in hugetlb ranges
fae5947129eb coda: fix 'kernel memory exposure attempt' in fsync
9980b8278338 mm/page_alloc.c: broken deferred calculation
55b06b0fc09b ipmi: fix unsigned long underflow
8af777385f7a ocfs2: should wait dio before inode lock in ocfs2_setattr()
a8356445ba0f ocfs2: fix cluster hang after a node dies
2bd38ece78a4 dmaengine: dmatest: warn user when dma test times out
e6d4a078f0e7 serial: 8250_fintek: Fix finding base_port with activated SuperIO
70eb4608bb0e serial: omap: Fix EFR write on RTS deassertion
2cfbb32f6ccb ima: do not update security.ima if appraisal status is not INTEGRITY_PASS
aa15fe4d6a7f crypto: dh - Fix double free of ctx->p
4a7e02312420 crypto: dh - fix memleak in setkey
67b718fcf897 net/sctp: Always set scope_id in sctp_inet6_skb_msgname
f0ae7a1b45fa fealnx: Fix building error on MIPS
362d2ce0f851 sctp: do not peel off an assoc from one netns to another one
99aa74ce9c2d af_netlink: ensure that NLMSG_DONE never fails in dumps
080ecd2bb62b vlan: fix a use-after-free in vlan_device_event()
58baa36d3728 net: usb: asix: fill null-ptr-deref in asix_suspend
4ad82095bfe2 qmi_wwan: Add missing skb_reset_mac_header-call
02a0c0639ae0 net: qmi_wwan: fix divide by 0 on bad descriptors
f376621861e3 net: cdc_ether: fix divide by 0 on bad descriptors
6f239c0655cf bonding: discard lowest hash bit for 802.3ad layer3+4
afd9fa661927 netfilter/ipvs: clear ipvs_property flag when SKB net namespace changed
3920a5bdd951 tcp: do not mangle skb->cb[] in tcp_make_synack()
58b21b028721 net: vrf: correct FRA_L3MDEV encode type
b0e50c4e895a tcp_nv: fix division by zero in tcpnv_acked()
563c24f65f4f Linux 4.9.64
6fbd42df9217 staging: greybus: spilib: fix use-after-free after deregistration
d8b5d88d2195 brcmfmac: don't preset all channels as disabled
54a5155afa84 x86/MCE/AMD: Always give panic severity for UC errors in kernel context
f6643fc829e0 USB: serial: garmin_gps: fix memory leak on probe errors
579cf722f8c1 USB: serial: garmin_gps: fix I/O after failed probe and remove
1f9688d551e3 USB: serial: qcserial: add pid/vid for Sierra Wireless EM7355 fw update
fd6a742d8bf7 usb: gadget: f_fs: Fix use-after-free in ffs_free_inst
599973738e28 USB: Add delay-init quirk for Corsair K70 LUX keyboards
87ff414178cb USB: usbfs: compute urb->actual_length for isochronous
11fdb41a1faa crypto: dh - Don't permit 'key' or 'g' size longer than 'p'
2d3a0d950156 crypto: dh - Don't permit 'p' to be 0
e38fe6397f73 Revert "dt-bindings: Add LEGO MINDSTORMS EV3 compatible specification"
a9a3cb25d9c1 Revert "dt-bindings: Add vendor prefix for LEGO"
f95d6058d5cc uapi: fix linux/rds.h userspace compilation errors
3323d07612b2 uapi: fix linux/rds.h userspace compilation error
3f0cc54226ca Revert "uapi: fix linux/rds.h userspace compilation errors"
d8ce2b0874a7 Revert "crypto: xts - Add ECB dependency"
d7df7af5b9b6 MIPS: Netlogic: Exclude netlogic,xlp-pic code from XLR builds
ade4b22d47bb MIPS: traps: Ensure L1 & L2 ECC checking match for CM3 systems
73b6038950cd MIPS: init: Ensure reserved memory regions are not added to bootmem
6539d1ca4fc9 MIPS: init: Ensure bootmem does not corrupt reserved memory
3b0f619cd4b9 MIPS: End asm function prologue macros with .insn
b53bab72b9d8 staging: greybus: add host device function pointer checks
1f5a7caba79e staging: wilc1000: Fix endian sparse warning
ca24e702ccfa staging: rtl8712: fixed little endian problem
ef417b59c222 ixgbe: do not disable FEC from the driver
bc656fda2442 ixgbe: add mask for 64 RSS queues
7316fb33f0a5 ixgbe: Reduce I2C retry count on X550 devices
e15dad31b10b ixgbe: Fix reporting of 100Mb capability
3bed7d680acf ixgbe: handle close/suspend race with netif_device_detach/present
6a4ef8b6ceeb ixgbe: fix AER error handling
6c7999904f32 ixgbe: Configure advertised speeds correctly for KR/KX backplane
5d820f84e169 arm64: dts: NS2: reserve memory for Nitro firmware
f6e94c2c16fe ALSA: hda/realtek - Add new codec ID ALC299
0e2245ab6901 gpu: drm: mgag200: mgag200_main:- Handle error from pci_iomap
473286bdd58d backlight: adp5520: Fix error handling in adp5520_bl_probe()
6aaf9ba9bde7 backlight: lcd: Fix race condition during register
acc365c02859 drm/omap: panel-sony-acx565akm.c: Add MODULE_ALIAS
5d1d893d31ce ALSA: vx: Fix possible transfer overflow
0f4ea85748bf ALSA: vx: Don't try to update capture stream before running
9dc7637700e5 power: supply: axp288_fuel_gauge: Read 12 bit values 2 registers at a time
0010542d3f79 power: supply: axp288_fuel_gauge: Read 15 bit values 2 registers at a time
d9a5790b2145 rtc: rx8010: change lock mechanism
cb341679a5b4 scsi: lpfc: Clear the VendorVersion in the PLOGI/PLOGI ACC payload
235d82cb46d2 scsi: lpfc: Correct issue leading to oops during link reset
f89885d40a5f scsi: lpfc: Correct host name in symbolic_name field
b4e42f5d0116 scsi: lpfc: FCoE VPort enable-disable does not bring up the VPort
01347f537f6c scsi: lpfc: Add missing memory barrier
d9b035e70426 x86/irq, trace: Add __irq_entry annotation to x86's platform IRQ handlers
f7d1861153d4 staging: rtl8188eu: fix incorrect ERROR tags from logs
fe975496da30 tcp: provide timestamps for partial writes
cfb09f0571a5 scsi: ufs: add capability to keep auto bkops always enabled
ea56533994fe scsi: ufs-qcom: Fix module autoload
0ef1e72e73fe igb: Fix hw_dbg logging in igb_update_flash_i210
64da1e5ea30d igb: close/suspend race in netif_device_detach
2aed3814969b igb: reset the PHY before reading the PHY ID
38fa955da251 drm/sti: sti_vtg: Handle return NULL error from devm_ioremap_nocache
02c7292bb7ee ata: SATA_MV should depend on HAS_DMA
cece64a6107c ata: SATA_HIGHBANK should depend on HAS_DMA
1122c15f0a96 ata: ATA_BMDMA should depend on HAS_DMA
15a65b946c61 ARM: dts: omap5-uevm: Allow bootloader to configure USB Ethernet MAC
c26fa1306c80 ARM: dts: Fix omap3 off mode pull defines
e96a11f64b81 ARM: OMAP2+: Fix init for multiple quirks for the same SoC
db458f6e6110 ARM: dts: Fix am335x and dm814x scm syscon to probe children
f022fa1b61e5 ARM: dts: Fix compatible for ti81xx uarts for 8250
e17a5a8fc0bd fm10k: request reset when mbx->state changes
6202042b7428 extcon: palmas: Check the parent instance to prevent the NULL
c4a77534ce2b extcon: Remove potential problem when calling extcon_register_notifier()
ee61d06653fd Bluetooth: btusb: fix QCA Rome suspend/resume
a5bd3edda619 arm: crypto: reduce priority of bit-sliced AES cipher
49c1e5f03238 media: dib0700: fix invalid dvb_detach argument
ca98a5c72170 media: imon: Fix null-ptr-deref in imon_probe
ea88d5c5f411 Linux 4.9.63
e81b96cab11f misc: panel: properly restore atomic counter on error path
b2dbcb7c969d qla2xxx: Fix incorrect tcm_qla2xxx_free_cmd use during TMR ABORT (v2)
ff4927181666 target/iscsi: Fix iSCSI task reassignment handling
e7c9ca5a3f46 brcmfmac: remove setting IBSS mode when stopping AP
31c8c4942820 security/keys: add CONFIG_KEYS_COMPAT to Kconfig
a23349bb9f12 netfilter: nat: Revert "netfilter: nat: convert nat bysrc hash to rhashtable"
25db12f1c584 netfilter: nat: avoid use of nf_conn_nat extension
fd1ca9fea458 Revert "ARM: dts: imx53-qsb-common: fix FEC pinmux config"
1862eca99e27 ALSA: seq: Cancel pending autoload work at unbinding device
9d65d0ea55dc Input: ims-psu - check if CDC union descriptor is sane
8cf061d919e2 usb: usbtest: fix NULL pointer dereference
ddd95bc900ae mac80211: don't compare TKIP TX MIC key in reinstall prevention
38762a516e0c mac80211: use constant time comparison with keys
2586fa0007dc mac80211: accept key reinstall without changing anything
ac4cfc730e4b ppp: fix race in ppp device destruction
7b9870f07854 net_sched: avoid matching qdisc with zero handle
b89fc6a5caff sctp: reset owner sk for data chunks on out queues when migrating a sock
210a6418730b tun: allow positive return values on dev_get_valid_name() call
d6b1aebcd7a5 ip6_gre: update dst pmtu if dev mtu has been updated by toobig in __gre6_xmit
6d428bc40a42 ip6_gre: only increase err_count for some certain type icmpv6 in ip6gre_err
df0eebcea8e5 ipip: only increase err_count for some certain type icmp in ipip_err
fbf92277e6d2 tap: double-free in error path in tap_open()
62de3fe46c6b net/unix: don't show information about sockets from other namespaces
2af59c6557a5 tcp/dccp: fix other lockdep splats accessing ireq_opt
3107d4dc7a80 tcp/dccp: fix lockdep splat in inet_csk_route_req()
ec5caf542066 sctp: full support for ipv6 ip_nonlocal_bind & IP_FREEBIND
28fa583fd8ce ipv6: flowlabel: do not leave opt->tot_len with garbage
3b0b4d2c47ec soreuseport: fix initialization race
57ffb0ecf367 packet: avoid panic in packet_getsockopt()
2ffd26133724 tcp/dccp: fix ireq->opt races
bcb9ced1833c sctp: add the missing sock_owned_by_user check in sctp_icmp_redirect
3e2ab0ceef68 tun: call dev_get_valid_name() before register_netdevice()
9075216b8b93 l2tp: check ps->sock before running pppol2tp_session_ioctl()
e12c42c55287 tcp: fix tcp_mtu_probe() vs highest_sack
cb5880e677a1 net: call cgroup_sk_alloc() earlier in sk_clone_lock()
4cd69ad53001 netlink: do not set cb_running if dump's start() errs
d87890d9ff15 ipv6: addrconf: increment ifp refcount before ipv6_del_addr()
5b9d20195a25 tun/tap: sanitize TUNSETSNDBUF input
97ba8f88b448 gso: fix payload length when gso_size is zero
9b609ba2c2df Linux 4.9.62
e45d93b48c93 x86/oprofile/ppro: Do not use __this_cpu*() in preemptible context
9d5e5994c5f9 x86/smpboot: Make optimization of delay calibration work correctly
9313d039c4d0 can: c_can: don't indicate triple sampling support for D_CAN
5e01a9f94e59 can: ifi: Fix transmitter delay calculation
f45c1b09261b can: sun4i: handle overrun in RX FIFO
bad4c8f1bc25 drm/bridge: adv7511: Re-write the i2c address before EDID probing
6731d54c7868 drm/bridge: adv7511: Reuse __adv7511_power_on/off() when probing EDID
efc6d340e410 drm/bridge: adv7511: Rework adv7511_power_on/off() so they can be reused internally
55e7e5213817 drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue
4f027e3c7b62 rbd: use GFP_NOIO for parent stat and data requests
9f2ac3d8cb31 Input: elan_i2c - add ELAN060C to the ACPI table
1331af440ad2 MIPS: AR7: Ensure that serial ports are properly set up
76aaa788e92a MIPS: AR7: Defer registration of GPIO
b17e663e150c MIPS: BMIPS: Fix missing cbr address
bbc62fb031a6 ASoC: sun4i-spdif: remove legacy dapm components
fb705ebf996e tools: firmware: check for distro fallback udev cancel rule
ebf95a6f0286 selftests: firmware: send expected errors to /dev/null
b98220399dc4 MIPS: SMP: Fix deadlock & online race
3b9fd3333aaf MIPS: Fix race on setting and getting cpu_online_mask
d99db83cafbf MIPS: SMP: Use a completion event to signal CPU up
71bcb37ff5fa MIPS: Fix CM region target definitions
16d5634e8827 MIPS: microMIPS: Fix incorrect mask in insn_table_MM
7de694782cbe drm/i915: Do not rely on wm preservation for ILK watermarks
b35783871190 ALSA: seq: Avoid invalid lockdep class warning
4b52c3170bd8 ALSA: seq: Fix OSS sysex delivery in OSS emulation
1541afbfb4a2 ARM: 8720/1: ensure dump_instr() checks addr_limit
8ea52a683f81 KEYS: fix NULL pointer dereference during ASN.1 parsing [ver #2]
2822bbb53269 crypto: x86/sha256-mb - fix panic due to unaligned access
ca6c028e2fe4 crypto: x86/sha1-mb - fix panic due to unaligned access
58ed8a47e450 crypto: ccm - preserve the IV buffer
46f15501c5b7 workqueue: Fix NULL pointer dereference
2715f6841a08 x86/uaccess, sched/preempt: Verify access_ok() context
07e415ac5ca1 platform/x86: hp-wmi: Do not shadow error values
0a18a94af43f platform/x86: hp-wmi: Fix error value for hp_wmi_tablet_state
419ec342d312 KEYS: trusted: fix writing past end of buffer in trusted_read()
64a234537a88 KEYS: trusted: sanitize all key material
bddc61e7732b cdc_ncm: Set NTB format again after altsetting switch for Huawei devices
047b67372d7b platform/x86: hp-wmi: Fix detection for dock and tablet mode
0e1cfde447fe net: dsa: select NET_SWITCHDEV
fa8f3a67b9a8 clk: mvebu: adjust AP806 CPU clock frequencies to production chip
326ef0fd4fb2 IB/rxe: Fix reference leaks in memory key invalidation code
93e1956dddf5 wcn36xx: Don't use the destroyed hal_mutex
72eff92d84f0 s390/qeth: issue STARTLAN as first IPA command
c4d567ef164e s390/qeth: fix retrieval of vipa and proxy-arp addresses
e793ad50d151 ARM: dts: STiH410-family: fix wrong parent clock frequency
d369bba84410 IB/ipoib: Change list_del to list_del_init in the tx object
8b93cbd12547 sched/cputime, powerpc32: Fix stale scaled stime on context switch
a3a76ea2c072 Input: mpr121 - set missing event capability
260e2e82c247 Input: mpr121 - handle multiple bits change of status register
0ddb64c14856 s390/topology: make "topology=off" parameter work
8b45f832b33b EDAC, amd64: Save and return err code from probe_one_instance()
e41c105195ca IPsec: do not ignore crypto err in ah4 input
ab71bee531fd apparmor: fix undefined reference to `aa_g_hash_policy'
c944dc7aedfb rt2800usb: mark tx failure on timeout
be5125d4fa9e brcmfmac: setup wiphy bands after registering it first
c5493c6e4a6a netfilter: nft_meta: deal with PACKET_LOOPBACK in netdev family
a7eba17c44f3 usb: hcd: initialize hcd->flags to 0 when rm hcd
397b6e5d7bbe libertas: fix improper return value
2ae9f47ce114 serial: sh-sci: Fix register offsets for the IRDA serial port
a88a90128888 phy: increase size of MII_BUS_ID_SIZE and bus_id
04e13a5ec96d dt-bindings: Add vendor prefix for LEGO
852bf68b7a62 dt-bindings: Add LEGO MINDSTORMS EV3 compatible specification
f89e669323ad iio: proximity: sx9500: claim direct mode during raw proximity reads
6d8897645b98 iio: magnetometer: mag3110: claim direct mode during raw writes
87e4965cec61 iio: pressure: ms5611: claim direct mode during oversampling changes
19d0541bd2c2 iio: trigger: free trigger resource correctly
6bcd1787b587 drm: mali-dp: fix Lx_CONTROL register fields clobber
9c9040a85966 crypto: vmx - disable preemption to enable vsx in aes_ctr.c
dea9c75f3f62 arm64: dma-mapping: Only swizzle DMA ops for IOMMU_DOMAIN_DMA
d2e589f305b0 ARM: omap2plus_defconfig: Fix probe errors on UARTs 5 and 6
870b502a0208 cxl: Force psl data-cache flush during device shutdown
f88f299a94e0 powerpc/corenet: explicitly disable the SDHC controller on kmcoge4
a4193ceee266 pinctrl: baytrail: Fix debugfs offset output
3a8ab788bf01 iommu/arm-smmu-v3: Clear prior settings when updating STEs
6f51c8a58397 KVM: PPC: Book 3S: XICS: correct the real mode ICP rejecting counter
61fdf68034a9 drm: drm_minor_register(): Clean up debugfs on failure
872c075b6cb2 clk: samsung: exynos5433: Add IDs for PHYCLK_MIPIDPHY0_* clocks
a276210915d5 PM / OPP: Error out on failing to add static OPPs for v1 bindings
7422c5813a9d EDAC, amd64: Add x86cpuid sanity check during init
2f945e749ee2 dt-bindings: clockgen: Add compatible string for LS1012A
62b9fa2c436f ARM: dts: imx53-qsb-common: fix FEC pinmux config
a1644f9c78e4 xen/netback: set default upper limit of tx/rx queues to 8
6da1c989ccce sched/core: Add missing update_rq_clock() call in sched_move_task()
7ac8a10c8a50 PCI: mvebu: Handle changes to the bridge windows while enabled
bf41c17c2266 video: fbdev: pmag-ba-fb: Remove bad `__init' annotation
95e5e7ed5a8a adv7604: Initialize drive strength to default when using DT
(From OE-Core rev: 09c2b21a84fbc84273a497ee4cd91bfedf4e2dd8)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8fe7f4d227f2f4ae0e39d6661b848611d907c0b6)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
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>
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>
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>
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>
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>
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>
So that they're reported correctly when checking 'universe' for
latest upstream versions.
(From OE-Core rev: 8a3c2865cf06dfec890fbfb88fda47abc33c1978)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 7d1a28082da29e4c0db4d8bcb9f242049a763bf9)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
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>
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 fc89a3f739.
[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>
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>
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>
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>
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>
* 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>
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>
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>
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>
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.
(From OE-Core rev: 913b31985b2fc8b7e17bc29d668168ab25ff989e)
Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
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>
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>
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>
* 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>
For various reasons we need to be able to set and override this from
auto.conf on our test infrastructure. We have tried forcing the variable
but this then breaks other selftests. In the interests of not complicating
things further and needing to modify the tests across releases, weaken
the default assignment.
(From meta-yocto rev: 27e32970e4a424897aed9ecd7c19bf5f99d8877c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.ent updated the variables
* Added a January 2018 date to the manual revision tables
* Updated the mega-manual.sed file with 2.4.1 string.
(From yocto-docs rev: 73993e367c8ba761d61ed69d9f4d5fad69d70e85)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a 'nobuild' option for starting Toaster without the project
and hosted builds support. This allows a Toaster host to provide
local build statistics without opening the host to external users
building projects.
[YOCTO #12315]
(Bitbake rev: 686a230d48ca666bdc0b0565f8e55cc890b90c5f)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Toaster initial landing page needs to show that it still has
the command line build capture support in addition to the new
project support.
[YOCTO #12316]
(Bitbake rev: 32f7a0df3626b36584f363897f9f092d8af1ac48)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow for custom environment additions for git cloning, for example
for anspass support.
[YOCTO #12193]
(Bitbake rev: 5770a65f4ec0e0c48d11a8b7a7cd297ba6875fd5)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow for "SinglePackageInfo" events that do not include package data,
for example OPKGN equal 'lib32-*' or 'lib64-*'.
[YOCTO #12204]
(Bitbake rev: 0c7aee74003dbd29da7e5e35cab466c8f858cad3)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The latest build enviroment script is now setting BBPATH. This breaks
building previous releases from a master-based Toaster, because with this
newly inherited BBPATH value the 'bitbake.lock' file ends up in the
Toaster build directory instead of the project's build directory.
Toaster should always clear BBPATH so that the bbserver's environment
is clean (enough).
[YOCTO #12363]
(Bitbake rev: 11cb604a83375ba3b05f7bd36513b9c68852174d)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
The section was missing three of the summaries for the command when
you used --help to find out about it. I added these in to the section.
(From yocto-docs rev: 4c0e552179a204e4ff6ab36b9b9e1faca1ff415a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
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>
This is primarily paranoid but ensure we remove any loggers we setup
either directly or indirectly so the initial state is restored after
we exit.
(Bitbake rev: 230493d9b99f7d315bc4e5e8d0093bd62ec8f9eb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af7d63b1f76fd3f7fa92ed15ae61ca47d9e13472)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst we're likely exiting in this case, clean up the loggers we add
so that in the case of certain server retries there is no possibility
multiple loggers stack up.
(Bitbake rev: e52bf5f066618dfabecbd4197f77f78fa463af64)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 25b7bf6672be66bcbfe5760610dce7d3e866cdcc)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add in a tets ftp url so we ensure ftp urls contnue to work after the loss
of the ftp.gnu.org ones.
(Bitbake rev: 7016bd9c4b05df2e888ec98e37a8ae6f3ac398bd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e1e8565b5e19dd3f7ef6e7e41932456adaa3df81)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we test multiple URLs in this these tests and one failing abandons the test,
use subtests so all URLs are tested. This should help us identify patterns in
the failing URLs.
(Bitbake rev: 0eadcf94540c7e4a634c5c1e873658b65996f334)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c4c4465b32e82d4b6e46a44e776be5039aef6b18)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ftp server at ftp.gnu.org is likely to be retired at some point soon
so siwtch over to the http/https services.
This means bitbake-selftest doesn't have ftp test urls, however finding stable
ftp test servers is proving increasingly hard.
(Bitbake rev: 6497a030463cc7fd61bb8319d4c3ec824003c2fc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 892a08245ddb21a464aeb37d3e32377e99dd7e2b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of not even having the test functions if network tests are disabled, use
a custom decorator to mark the network tests and skip them.
(Bitbake rev: 618cf9693b9f4b48208603b2359f5717a6a35f8f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cc420f430b1dafd9ca944bea259a564aaab34595)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After cleaning deprecated API usage repo fetcher is missing
logger as it was indirectly imported via deprecated bb.data.
Fix this by importing logger directly.
Fixes: 9752fd1c10b8 ("fetch2: don't use deprecated bb.data APIs")
(Bitbake rev: 7ae321a9ede9fb0ee1a0794aa22815a593d1568d)
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f8e027d26603db2f1fe757dca767ea35d95174c7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Similarly to handling "../", handle "." to resovle to the qemuconf
file's current directory.
(From OE-Core rev: 9870247d0dc33357988d9636c8ff8db35490752e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 33418ed064fe9cff5b4803f09135a81d9170c189)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
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>
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>
If a variable starts with "../", its likely its a path and we want to
set it to an absolute path relative to the qemuconf file.
This means we don't have to use bitbake as often to figure out variables.
(From OE-Core rev: 61c449857f056d7c6c29530aa11bf8353b113638)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dfc7940900d798aa47716288338107e1d46a3972)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
The regexp in the script misses some tap devices, e.g. we see output like:
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap25.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap26.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap27.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap28.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap40.lock failed: [Errno 11] Resource temporarily unavailable
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap41.lock failed: [Errno 11] Resource temporarily unavailable
What happened to tap29 to tap39?
The issue is was we were missing devices with '0' in the number,
like "10:" and so on in the output from "ip link".
(From OE-Core rev: ec1481f7ad6f2b3d1420027327510bec94dd66a8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6447697a48e3b693ee38806bc2ba07c2a65c2bc8)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
.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>
COPTS will be ignored if it is defined in the environment.
It must be passed directly to make. To be consistent, we
pass LOPTS that way, too.
(From OE-Core rev: b3fda1e35c399060838620d2c96c22cdbbd95c96)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit dede6d3d37aab72ae897c3709d21108fa75f6673)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a setup dict in a python setup.py file pulled in the contents of
another dict (e.g. **otherdict), then we got an error when mapping
the keys because the key is None in that case. Skip those keys to avoid
the error (we pick up the values directly in any case).
A quick reproducer for this issue:
recipetool create https://files.pythonhosted.org/packages/source/p/pyqtgraph/pyqtgraph-0.10.0.tar.gz
(From OE-Core rev: 49b2d571da88fb2afce71835276523ed3538d31f)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit ae62a9953e219df5147ed4a5ae3f4163d51cff28)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since it's been removed from the upstream repo and not fetchable
remove it here. The newer firmware supports the device correctly.
(From OE-Core rev: 665a50f51d94c8a1f2ecbbf3fb0da5054c3bcb37)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 8b8c40bdbd09ddd1409dc30e04ef847f6a15f109)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to fix miscompilation on mips64.
We've observed strange behaviour of `systemctl status <xxx> on qemumips64.
The output of the command is like `systemctl show <xxx>', which is incorrect.
The problem is due to the miscompilation of gcc for mips64 platform, thus
backporting patch from upstream to fix this problem.
[YOCTO #12266]
(From OE-Core rev: 6264b4afe6962d37eeb918e062568dee811ef231)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit cfa13e5c756849820644d86d1882602649db6a9c)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This upgrade is critical as it fixes the support for Linux 4.14 LTS kernel.
The changlog is:
2017-10-05 LTTng modules 2.9.5
* Fix: update block instrumentation for 4.14 kernel
* Revert "Fix: update block instrumentation for kernel 4.14"
2017-10-03 (National Techies Day) LTTng modules 2.9.4
* Fix: version check error in btrfs instrumentation
* Fix: update btrfs instrumentation for kernel 4.14
* Fix: update writeback instrumentation for kernel 4.14
* Fix: update block instrumentation for kernel 4.14
* Fix: vmalloc wrapper on kernel < 2.6.38
* Fix: vmalloc wrapper on kernel >= 4.12
* Add kmalloc failover to vmalloc
* Fix: mmap: caches aliased on virtual addresses
* Fix: update ext4 instrumentation for kernel 4.13
* Fix: Sleeping function called from invalid context
* Fix: sched for v4.11.5-rt1
* Fix: handle missing ftrace header on v4.12
This also removes the previously backported patches as they are part
of 2.9.4 release and the missing fix is part of 2.9.5 release.
(From OE-Core rev: 56d01657934fe6e9e6c547fd58447c6a99a0779b)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sbc library itself is licensed under LGPLv2.1 or higher as mentioned in
sbc/sbc.h or any other file in sbc directory.
sbc test applications are licensed under GPLv2 or higher as mentioned in
src/sbcenc.c or any other file in src directory
Reported-by: Vladimir Koutny <vladimir.koutny@streamunlimited.com>
(From OE-Core rev: 39193c6b30d34fd4c07e1a36581a1bd94fd76b29)
Signed-off-by: Radek Dostál <radek.dostal@streamunlimited.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For recipes that depend on native ca-certificates.crt, /etc should be
added to the list of directories that automatically populate the
sysroot, otherwise the file may not be there.
(From OE-Core rev: 704e0392809b8a062433f6a4e5c5980c34b47dce)
Signed-off-by: Patrick Vacek <patrick@advancedtelematic.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A missing case breaks the build when libxml2 is
required and found appropriately. The third argument
to the function AC_SEARCH_LIB is action-if-found which
was mistakenly been used for the case where the library
is not found and hence breaks the configure phase
where it shoud actually pass.
We now pass on silently when action-if-found is
executed.
(From OE-Core rev: cc4e419eea46e9cdaa321aff4c37fdf8bb74b883)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
${PN} will include additional prefixes, such as lib32-, which are not
actually a part of the user that is being added. This was creating an unused
user and possibly missing the actually intended user. By using ${BPN} this
will remove all additional extra information and consistently be "dhcp".
(From OE-Core rev: 69d1a48b403d588516cf149559169ee5a0d44b67)
Signed-off-by: Dan Dedrick <ddedrick@lexmark.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If PACKAGE_EXCLUDE is constructed using _append then it's possible
that the final value will contain only a space. Currently that
results in build failures due to an invalid opkg command line.
(From OE-Core rev: 809fda77324c5d4949b6490412f43d4bb95e4a94)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although it may not appeal so much to users to prefer 80x24 consoles,
the general trend is for screens to get bigger and the current output
has started to look a little cramped on a modern HD display.
Increasing from 17 to 20 is obviously arbitrary, but does give enough
space to cleanly display layers such as "meta-nodejs-contrib" and
"meta-virtualization" while still keeping the output fairly compact.
(From OE-Core rev: 65f6fba05b7a28a6af048e79f8355ffc37acd039)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a value was split over multiple lines (e.g. as SRC_URI usually is)
then we were inserting the value as one item in the lines list with
newlines between each line. There's nothing wrong with this if you're
writing the list out to a file, but if you want to generate a patch (as
patch_recipe_file() will do if the patch parameter is set to True) then
the diff output looks a bit odd. Split the value before adding it to the
lines list to resolve this.
(From OE-Core rev: dbf68220e451a43830fe680c86b34b9bd127cad3)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
find_layerdir() should really return absolute paths, so make it do so.
This fixes devtool finish not deleting files it should do after devtool
upgrade if the specified path is relative, since the devtool finish code
was assuming that find_layerdir() was returning an absolute path.
Fixes [YOCTO #12318].
(From OE-Core rev: 8d028508bfd68ad272739cab5495811927936ef2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the source tree happens to contain a kernel module as an example, a
test or under a "contrib" directory then we shouldn't be picking it up
and making the determination that the entire thing is a kernel module.
An example that triggered this is zstd, which ships a kernel module
under contrib/linux-kernel:
https://github.com/facebook/zstd
(From OE-Core rev: 5c89bd0db1b327483f674802740ff21b909e0876)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We shouldn't be passing a relative path to the plugins if that's what's
been specified on the recipetool command line.
(From OE-Core rev: 821742f48723a66fdafe5406bb57188b2f88889a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This further cleans up the output of oe-selftest so that runqemu output
is hidden unless tests fail.
(From OE-Core rev: 22f224965ac93da0b37affc4998fc0644f14462d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, the fact an error message is shown means the rest of the
task logs are suppressed. In this case we don't want that as it hides
the real errors and useful information. Therefore override this behaviour.
(From OE-Core rev: c0af4e9a0666de64c6a8823cdd3fbea579a3fb67)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously it was working only if only one shared library was found, and
broke when there were several.
(From OE-Core rev: 9bdfc39d431c729740025ce5b711d7b5684df800)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures the console is kept clear of confusing output but that
the main logs contain good debugging information.
(From OE-Core rev: 3727fae1e420a60ef8c62da546e1065045b163ff)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The logger handling in oeqa was confused at best. This patch:
a) Passes in a logger through various qemu runner pieces
b) Uses that logger consistently in the code
c) Creates a logger for QemuRunner outside the bitbake namespace
meaning we don't conflict with the tinfoil logging changes
The result of this is more consistency. For runtime tests in testimage,
the logs always contain the debug info, nothing is shwon on the console.
For the oe-selftests, logs are intercepted and only shown if the test
fails.
(From OE-Core rev: ba8babc45141891d0624f9a181a580fa416e87ec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I have no idea why we didn't do this but it means the code has nowhere
to log to unless we do this. This means we can then use the logger
to log data to the task logs.
(From OE-Core rev: 1054965a2d44df2617127c0c47e34adc62c1bf4d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bitbake logs info messages to the console. These messages are really
there as debugging information. At the debug level, they will be shown
in failure logs and in the task logs but not on the console which
is what we want in this case.
(From OE-Core rev: 5c1cdd4f3ea59a202fff853e0390b9aa5859dc74)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In general we don't need to see the output of runqemu however if it fails
we do. Use the buffer option that already exists in TestResult but allow
us to trigger it on a per test basis.
(From OE-Core rev: 1826a8cb8cf4c51307003617864d2ffab273eb0b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add needed patches for portability across glibc/musl
enable systemd on musl too
Disable utmp,ldconfig,nss,resolved,localed for musl
which is not supported on musl
(From OE-Core rev: 5d85e01555e84dbb82c7671a5dfbe15d5e153a71)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove several Makefiles containing build host references.
While at it, also remove some additional files not needed for
testing.
(From OE-Core rev: 8ffafc2bc1c4f4d13295d56013029e10bb536d25)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add images as separate MIME objects instead of directly embedding images
in the html (as base64 encoded pngs). This makes the emails better
suited for certain email servers/clients.
(From OE-Core rev: fbbc84d9919d9cc18add03fc617637330721f5d9)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove cross-compiler wrappers from the package, these contain numerous
build host references.
The wrappers are only needed for cross-compiling.
[YOCTO #11705]
(From OE-Core rev: 60584b9047d844d6e5394338c133e8dab954e09d)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With systemd, the mounting of the swap partition is handled via systemd
and will mount it, regardless of if PARTUUID is parsed or not. systemd
has a runtime dependency on util-linux-mount so PARTUUID for regular
mount points will be handled correctly. Make all partitions that we add
to the image make use of UUIDs for maximum portability.
(From OE-Core rev: 8bf0e3ee85b22fdd4d8940878b4d99cccff1efd5)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we have been told to use the UUID we should also update the fstab
to make use of PARTUUID instead of hard-coding the device in question.
This will make the resulting image much more portable.
(From OE-Core rev: 1d1fdcaf8702110783f2003cd3f8ae96c99a6d72)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The regex for acceptable systemd WantedBy/RequiredBy targets does not include
target.wants, so a line like this:
WantedBy=multi-user.target.wants
gets silently ignored, even though it works fine on a real system.
(From OE-Core rev: 8407100061e56346cafa06cc60eb63103d166bf8)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Improve reproducible build of curl-dev and curl-dbg packages.
curl-dev: Correctly remove build host references from curl-config
curl-dbg: Do not generate time stamps in files generated by mkhelp.pl
(From OE-Core rev: 4b5bfbf0f474d2657c1ed54a2ff00502d5f419d9)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Looking back the history, we had problem with systemd on qemumips64
which is also related to compilation flags. We solved that by using
tweaking FULL_OPTIMIZATION for mips64 to have "-fno-tree-switch-conversion
-fno-tree-tail-merge".
Now systemd has been upgraded to 234, and we don't have the above problem
any more, thus removing these flags.
(From OE-Core rev: a7b30e604ccc74cab65e3ac6a4fb08f68abc983e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We encountered a problem when installing kernel-devsrc package on a
intel-x86 target, as follows:
$ dnf install kernel-devsrc
| Installing : kernel-devsrc-1.0-r0.0.intel_corei7_64 1/1
| failed loading RPMDB
| The downloaded packages were saved in cache until the next successful transaction.
| You can remove cached packages by executing 'dnf clean packages'.
It can be fixed by increasing MAX_HDR_CNT and MAX_HDR_DSIZE in libsolv
per test.
(From OE-Core rev: 2987ec994705abb7dd18738ba1719aef9d72049a)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bsddb module is deprecated and requires an old version of Berkeley DB that
some may be unhappy with even shipping, so expose a way to disable the module.
(From OE-Core rev: 25460ccdebaa6ff29ec051a0489a51b19c34e79c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Triggered by looking at why Python doesn't find db.h (because it greps db.h for
a regex, and db.h is actually a oe_multilib_header wrapper) I realised that the
only reason we have to oe_multilib_header db.h is because one typedef is
different between 32-bit and 64-bit architectures.
However, the typedef is for a 64-bit integer so instead of using long (64-bit)
or long long (32-bit), just use int64_t. Some of the overly complicated
configure tests need to be deleted after this change but that is safe as we're
building in a controlled environment and can assume int64_t exists.
With this done the header doesn't change between architectures, and it doesn't
need to be wrapped by oe_multilib_header.
(From OE-Core rev: 6c9ffa50d00a55122ed861e1818186035fd89715)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On systemd systems calling reboot over an ssh connection doesn't
return as expected causing an exception, therefore wrap the call
to reboot in order to avoid this issue.
Also sync the filesystems before rebooting cause otherwise, it will be
done as part of the reboot and could take a very long time and testimage
will fail to access the machine. This issue was observed consistently with
one of our rootfs at Pelagicore.
[YOCTO #11524]
(From OE-Core rev: 6f5c4a8e07f8cdf3f6352e9e85d7376937bb32d2)
Signed-off-by: Erik Botö <erik.boto@pelagicore.com>
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For test modules in a package, e.g., oelib.license, running
`oe-selftest -r oelib.license` or `oe-selftest -r
oelib.license.TestSimpleCombinations` would fail with a message that
the specified test cases could not be found. This was due to the
parsing in _built_modules_dict(), which failed to distinguish between
<package>.<module>.<class> and <module>.<class>.<testcase> and treated
both cases as the latter.
(From OE-Core rev: 8d5eb5498975fd0d73ac20e2c4d938c1f85317d7)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The licenses of EXTRA_IMAGEDEPENDS recipes are being referenced in
image postcommand write_deploy_manifest, but a dependency is missing
between do_image and do_populate_lic of EXTRA_IMAGEDEPENDS recipes,
this leads some license files not present when write_deploy_manifest
runs, hence will cause build errors.
Fixed by letting do_image depend on do_populate_lic of
EXTRA_IMAGEDEPENDS recipes.
(From OE-Core rev: 2aa357501f74163f49c62db8660b7a132b5d0d46)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The externalsrc class code assumes that the source directory
(EXTERNALSRC) exists before bitbake is called. Otherwise do_configure
will fail obviously since externalsrc does not fetch anything.
Commit 3ca6085729 ("externalsrc: Handle .git not being a directory")
changed this behaviour. Now on a missing EXTERNALSRC directory we get
a bb.data_smart.ExpansionError during _parsing_, way before
do_configure can be run.
This new behaviour creates two problems:
* First, there error message is very cryptic (and it's hard to
provide a better message since no task is ever run):
ERROR: ExpansionError during parsing /<...>/<...>.bb
Traceback (most recent call last):
bb.data_smart.ExpansionError: Failure expanding variable do_compile[file-checksums], expression was ${@srctree_hash_files(d)} which triggered exception FileNotFoundError: [Errno 2] No such file or directory: '<...>'
* Second, this prevents creating a class based on externalsrc that
automatically fetches the code in EXTERNALSRC before do_compile
runs.
Fix both problems by simply calling git with '-C ${EXTERNALSRC}'
instead of calling git inside the non-existing directory. This changes
from a bb.data_smart.ExpansionError to a
subprocess.CalledProcessError, which is in line with what's actually
going on: git is telling us it can't find the git dir.
Also remove a comment that does not apply anymore.
(From OE-Core rev: 390e4cc74ef9b578e1cced21444247d975610154)
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Joshua Watt <jpewhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current mechanism doesn't allow to use any non-determenistic variable, except 'DATE' and 'DATETIME', inside IMAGE_CMD_${FSTYPE} prototype.
Passing 'vardepsexclude' values from IMAGE_CMD_${FSTYPE}, so users will be able to avoid taskhash mismatch problems.
(From OE-Core rev: 92bd01eba742e2bcb146ca24a1443af833f5a2ba)
Signed-off-by: Igor Romanov <i.romanov@inango-systems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a distro uses useradd-staticids.bbclass and some developer
unfamiliar with the static ID mechanism tries to add a recipe which
needs new IDs, the resulting error or warning is typically not
something that the developer will understand.
Even experienced developers do not get enough information. They first
must find out whether the missing ID is for a system user or group,
then locate the file(s) in which the ID could be added. Both of this
is now part of the message:
ERROR: .../meta/recipes-extended/cronie/cronie_1.5.1.bb: cronie -
cronie: system groupname crontab does not have a static ID defined.
Add crontab to one of these files: /.../conf/distro/include/my-distro-group
The case that no file was found is also handled:
ERROR: .../meta/recipes-extended/cronie/cronie_1.5.1.bb: cronie -
cronie: system groupname crontab does not have a static ID defined.
USERADD_GID_TABLES file(s) not found in BBPATH: files/group
It would be nice if the error message could also list the range in
which a new ID needs to be allocated, but /etc/login.defs isn't
available at the time of creating the message, so that part is still
something that a developer needs to know.
(From OE-Core rev: 29c12b147ef85db4ebb0f86a911db5f90ae11c0a)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When enabling useradd-staticids.bbclass, one has to define static IDs
for all recipes in a world build, otherwise those without static IDs
generate parse errors or warnings, depending on USERADD_ERROR_DYNAMIC.
Defining unused IDs is a lot of work and clutters the passwd/group
file of a distro.
Distros which want to avoid this can now set USERADD_ERROR_DYNAMIC =
"skip" and recipes which would have triggered a message then silently
get disabled. Only trying to build them shows the error message:
$ bitbake apt
...
ERROR: Nothing PROVIDES 'apt'
ERROR: apt was skipped: apt - apt: username _apt does not have a static ID defined.
(From OE-Core rev: a2766b99a763874d469d34b84109553f68f5aaac)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The trailing space added to TUNE_CCARGS when appending -mfpu=XXX is
unnecessary and leads to a double space in the final value.
(From OE-Core rev: 0d5bbaf5fe66bd93e8d8cbf78834f562d90d9dca)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With a '*' as a wildcard for the signature here we can also match a
portion of the task name with the result that we may match a sigdata
file for the wrong task. Luckily the signature is always the same
length - 32 characters - so we can simply use 32 '?' characters instead.
(A regex would have been another alternative, but the wildcard should be
effective and I felt like a regex would complicate the code more than
this solution).
Fixes [YOCTO #11763].
(From OE-Core rev: 8565391a4ebb574141b5d09bff710fc02c73ba34)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
*) packagegroup class sets a default value for LICENSE
*) usually packagegroups don't contain a LICENSE
and if they do it's many times a copy/paste and doesn't
reflect the license of the packages included in the
packagegroup
(From OE-Core rev: aaeb56d2f9193bdfb108f20e9ae2bbb4505815c0)
Signed-off-by: Robert Berger <robert.berger@ReliableEmbeddedSystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mtools already provides a suite of msdos utilities, switch to this
one also. This could allow for future changes to reduce wic's
dependecies.
(From OE-Core rev: 493bbd9ae773d0713db9782b434ce9543e2266f3)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Defeat building for mipsarchn32 because there is no corresponding
GOARCH. Neither "mips" nor "mips64" allows go-runtime to compile.
Existing mips32 code assumes the o32 ABI.
(From OE-Core rev: 6380e5e381ceaf39a02e6f76c74910b2af71980b)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A flaw was found on my Ubuntu 14.04.5 LTS, on which that gnome-terminal is
the default terminal, when I run any of the tasks:
bitbake busybox -c menuconfig/devshell/devpyshell
bitbake virtual/kernel -c menuconfig/devshell/devpyshell
I got a error as follows:
"Failed to execute child process "oe-gnome-terminal-phonehome" (No such file or directory)"
Seems the environment of the process calling Popen is not passed to the
child process, this behaviour is a known issue in Python bug tracker:
http://bugs.python.org/issue8557
It could be fixed by using an absolute path instead per test.
(From OE-Core rev: 84514d0aaf28028b7862d247debbcdcce58fdada)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2117c148ef07d84bc605768e3b3671b0126b9337)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ftp protocol is dated and problematic. Since https is available, lets
use that instead, making new users chances of successful builds higher.
(From OE-Core rev: 3dcb052eb4aeca60389c45801d1598fcbe8898d0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f24a29fcba98ceff08c13b0f029be93995f1deed)
Fix merge conflict do to version diff
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
vm_drive variable is malformed when the drive type is an ide device.
(From OE-Core rev: 02dbf124328eebdfdf62402588a41719953a22bf)
Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 88d7b17871fe8340ab7fd5c901d3a535ae098c3e)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE changed do to rewording
7097a65277 (diff-9879d6db96fd29134fc802214163b95a)
Briefly:
Northern Cyprus switches from +03 to +02/+03 on 2017-10-29.
Fiji ends DST 2018-01-14, not 2018-01-21.
Namibia switches from +01/+02 to +02 on 2018-04-01.
Sudan switches from +03 to +02 on 2017-11-01.
Tonga likely switches from +13/+14 to +13 on 2017-11-05.
Turks & Caicos switches from -04 to -05/-04 on 2018-11-04.
A new file tzdata.zi now holds a small text copy of all data.
The zic input format has been regularized slightly.
Changes to future time stamps
Northern Cyprus has decided to resume EU rules starting
2017-10-29, thus reinstituting winter time.
Fiji ends DST 2018-01-14 instead of the 2018-01-21 previously
predicted. (Thanks to Dominic Fok.) Adjust future predictions
accordingly.
Namibia will switch from +01 with DST to +02 all year on
2017-09-03 at 02:00. This affects UT offsets starting 2018-04-01
at 02:00. (Thanks to Steffen Thorsen.)
Sudan will switch from +03 to +02 on 2017-11-01. (Thanks to Ahmed
Atyya and Yahia Abdalla.) South Sudan is not switching, so
Africa/Juba is no longer a link to Africa/Khartoum.
Tonga has likely ended its experiment with DST, and will not
adjust its clocks on 2017-11-05. Although Tonga has not announced
whether it will continue to observe DST, the IATA is assuming that
it will not. (Thanks to David Wade.)
Turks & Caicos will switch from -04 all year to -05 with US DST on
2018-03-11 at 03:00. This affects UT offsets starting 2018-11-04
at 02:00. (Thanks to Steffen Thorsen.)
Changes to past time stamps
Namibia switched from +02 to +01 on 1994-03-21, not 1994-04-03.
(Thanks to Arthur David Olson.)
Detroit did not observe DST in 1967.
Use railway time for Asia/Kolkata before 1941, by switching to
Madras local time (UT +052110) in 1870, then to IST (UT +0530) in
1906. Also, treat 1941-2's +0630 as DST, like 1942-5.
Europe/Dublin's 1946 and 1947 fallback transitions occurred at
02:00 standard time, not 02:00 DST. (Thanks to Michael Deckers.)
Pacific/Apia and Pacific/Pago_Pago switched from Antipodean to
American time in 1892, not 1879. (Thanks to Michael Deckers.)
Adjust the 1867 transition in Alaska to better reflect the
historical record, by changing it to occur on 1867-10-18 at 15:30
Sitka time rather than at the start of 1867-10-17 local time.
Although strictly speaking this is accurate only for Sitka,
the rest of Alaska's blanks need to be filled in somehow.
Fix off-by-one errors in UT offsets for Adak and Nome before 1867.
(Thanks to Michael Deckers.)
Add 7 s to the UT offset in Asia/Yangon before 1920.
Changes to zone names
Remove Canada/East-Saskatchewan from the 'backward' file, as it
exceeded the 14-character limit and was an unused misnomer anyway.
(From OE-Core rev: 2ea37fd4fad2e5ef21c119b03f09bcf2b0e7266e)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 77a8256d9cbfe24d470aac9b4cc2910a41ca0ee8)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE changes do to rewording
7097a65277 (diff-9879d6db96fd29134fc802214163b95a)
Backported to fixes from upstream too.
Changes to code
zic and the reference runtime now reject multiple leap seconds
within 28 days of each other, or leap seconds before the Epoch.
As a result, support for double leap seconds, which was
obsolescent and undocumented, has been removed. Double leap
seconds were an error in the C89 standard; they have never existed
in civil timekeeping. (Thanks to Robert Elz and Bradley White for
noticing glitches in the code that uncovered this problem.)
zic now warns about use of the obsolescent and undocumented -y
option, and about use of the obsolescent TYPE field of Rule lines.
zic now allows unambiguous abbreviations like "Sa" and "Su" for
weekdays; formerly it rejected them due to a bug. Conversely, zic
no longer considers non-prefixes to be abbreviations; for example,
it no longer accepts "lF" as an abbreviation for "lastFriday".
Also, zic warns about the undocumented usage with a "last-"
prefix, e.g., "last-Fri".
Similarly, zic now accepts the unambiguous abbreviation "L" for
"Link" in ordinary context and for "Leap" in leap-second context.
Conversely, zic no longer accepts non-prefixes such as "La" as
abbreviations for words like "Leap".
zic no longer accepts leap second lines in ordinary input, or
ordinary lines in leap second input. Formerly, zic sometimes
warned about this undocumented usage and handled it incorrectly.
The new macro HAVE_TZNAME governs whether the tzname external
variable is exported, instead of USG_COMPAT. USG_COMPAT now
governs only the external variables "timezone" and "daylight".
This change is needed because the three variables are not in the
same category: although POSIX requires tzname, it specifies the
other two variables as optional. Also, USG_COMPAT is now 1 or 0:
if not defined, the code attempts to guess it from other macros.
localtime.c and difftime.c no longer require stdio.h, and .c files
other than zic.c no longer require sys/wait.h.
zdump.c no longer assumes snprintf. (Reported by Jonathan Leffler.)
Calculation of time_t extrema works around a bug in GCC 4.8.4
(Reported by Stan Shebs and Joseph Myers.)
zic.c no longer mistranslates formats of line numbers in non-English
locales. (Problem reported by Benno Schulenberg.)
Several minor changes have been made to the code to make it a
bit easier to port to MS-Windows and Solaris. (Thanks to Kees
Dekker for reporting the problems.)
Changes to documentation and commentary
The two new files 'theory.html' and 'calendars' contain the
contents of the removed file 'Theory'. The goal is to document
tzdb theory more accessibly.
The zic man page now documents abbreviation rules.
tz-link.htm now covers how to apply tzdata changes to clients.
(Thanks to Jorge Fábregas for the AIX link.) It also mentions MySQL.
The leap-seconds.list URL has been updated to something that is
more reliable for tzdb. (Thanks to Tim Parenti and Brian Inglis.)
(From OE-Core rev: 12a538bbbc8d04e875f81bd65e9754d749273aac)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74af497f8d6b4e28d97c0f2cdb4ece90c2a6b8b5)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original code enabled only a sub-set of all available tests.
It also copied executables to be tested into a local folder although
the executables were expected to be already installed in the image.
In addition, the original code copied libtool scripts instead of already
cross-compiled images.
This patch modifies some test scripts so there is no need to copy
images already installed: instead it tests images already installed.
As the executables are scattered in /bin, usr/bin, /sbin/ usr/sbin folders,
we use 'which' to determine the absolute path.
We also copy some cross-compiled tests that were previously missing.
By the virtue of not copying the libtools scripts we also managed
the achieve binary reproducible package, as previously leaked build host
info was contained in libtool scripts, which are not copied anymore.
[YOCTO #10953]
(From OE-Core rev: 2cb21df92ec219b852e25fb005c8fccb2e395dcd)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit f5198af37a5357a1758b50668b67f1c552982507)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes the issue that if you don't have mtools installed on the host
thus causing host contamination, that the correct binaries would be selected
from the native sysroot.
[YOCTO #12173]
(From OE-Core rev: 9562669a4979bb31bbc27dc80c6a8d4f08500a49)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit dca43c557449d3765fec9f8d159d5c9e4ea8b0cb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not rely on build host gcc for "implicit-fallthrough" support
we need to check the CC for it
(From OE-Core rev: 8dae7b56b85e098eda1517eb7f50f37c57fb3ba6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit b36100bb3077947361c858f891eb15a76013671e)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch works around a rare parallel build race condition using
the force option when soft linking.
The error seen is:
ln: failed to create symbolic link 'libssl.so': File exists
make[4]: *** [Makefile.shared:171: link_a.gnu] Error 1
make[4]: Leaving directory
'/.../build/tmp-glibc/work/x86_64-linux/openssl-native/1.0.2k-r0/openssl-1.0.2k'
Just add the -f flag to the platform independent soft link code to
avoid the collision. This is reasonable since this Makefile removes
the link target before creating a new soft link. The Makefile was
written this way to support platforms that don't allow forcing a
softlink to overwrite an existing link. Only builds on Linux are
supported so that's not a requirement for oe-core recipes.
The openssl team is rewriting their build files so it's not appropriate
for openssl upstream and fixing the root cause of the race condition
was also not pursued.
(From OE-Core rev: f6be81b1dddc7adc2e97fefb2bd6c296d4dce8c6)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit c60288aba70635238094c6b813228b31e0715db9)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch changes the result of the nettle dlopen-test
from FAIL to PASS. The test used to fail because the test could not
find and load libnettle.so.
This patch fixes this by using absolute path instead of relative.
This was the only test out of 88 that used to fail.
(From OE-Core rev: 511db7c256dbb3f8ba95eabd025d427384d4a1cb)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit f12d493418417c8529a97c7a768e4af58ea5c91b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch changes the result of the "include" test
from FAIL to PASS. The test used to fail as the test prerequisite
was missing.
This was the only test out of 298 that used to fail.
(From OE-Core rev: 7e1da2f7c1068cf88424e4af3659d185dbd4167d)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 3e6bbb81d143919e37cea1549220d27df22080fe)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tclConfig.sh is also used by other packages (such as expect) for
cross-compiling, the host path from it can't be removed directly in
the do_install step.
With PACKAGE_PREPROCESS_FUNCS to remove host path and avoid the
crossscripts installed to target.
(From OE-Core rev: 54841b0a12f3d7ac9c36df110821fa39d60d456f)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit ced5618e7b3459fdd96f448ccdb55b5ced6d8214)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For shared libraries compilation perl uses LDDLFLAGS instead of
LDFLAGS. Value for LDDLFLAGS can be provided through
recipe-sysroot-native/usr/lib/perl-native/perl/config.sh file
generated during perl-native compilation.
With default LDDLFLAGS libxml-parser-perl-native package have no
correct rpath in Expat.so module. Provide correct LDDLFLAGS for perl
modules compilation to fix build on hosts without libexpat.so.
(From OE-Core rev: b927733c03f672aee59211fa86278cae9c817530)
Signed-off-by: Nikolay Merinov <n.merinov@inango-systems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 118f42fa92c29269395c53c931fa174ece1af2e0)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This build time option is needed to use the '--dns-interface' runtime
parameter to instruct 'curl' to use a specific interface for DNS
resolution.
Not enabled by default, as it depends on 'c-ares' package from
meta-openembedded (meta-networking).
(From OE-Core rev: 8f3d34217b5b95f1f159c362c6f5dad3ba4fb290)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 4fe0aa3791db0ee6c85e7a068f69def6e7c0da46)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating a backport of upstream commit:
ide:ide-cd: fix kernel panic resulting from missing scsi_req_init
commit 79d73346ac05bc31 upstream
Since we split the scsi_request out of struct request, while the
standard prep_rq_fn builds 10 byte cmds, it missed to invoke
scsi_req_init() to initialize certain fields of a scsi_request
structure (.__cmd[], .cmd, .cmd_len and .sense_len but no other
members of struct scsi_request).
An example panic on virtual machines (qemu/virtualbox) to boot
from IDE cdrom:
...
[ 8.754381] Call Trace:
[ 8.755419] blk_peek_request+0x182/0x2e0
[ 8.755863] blk_fetch_request+0x1c/0x40
[ 8.756148] ? ktime_get+0x40/0xa0
[ 8.756385] do_ide_request+0x37d/0x660
[ 8.756704] ? cfq_group_service_tree_add+0x98/0xc0
[ 8.757011] ? cfq_service_tree_add+0x1e5/0x2c0
[ 8.757313] ? ktime_get+0x40/0xa0
[ 8.757544] __blk_run_queue+0x3d/0x60
[ 8.757837] queue_unplugged+0x2f/0xc0
[ 8.758088] blk_flush_plug_list+0x1f4/0x240
[ 8.758362] blk_finish_plug+0x2c/0x40
...
[ 8.770906] RIP: ide_cdrom_prep_fn+0x63/0x180 RSP: ffff92aec018bae8
[ 8.772329] ---[ end trace 6408481e551a85c9 ]---
...
Fixes: 82ed4db499b8 ("block: split scsi_request out of struct request")
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
[bva: modified for 4.12 context]
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
(From OE-Core rev: 56548b615442e3f58b204c4810d7fe1e3d852409)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 089dc30e11a5bbd10bf6bebea6aa0ac2173bc9a3)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable release that comprises the following changes:
5d7a76acad40 Linux 4.9.57
28955b03fac3 KVM: nVMX: update last_nonleaf_level when initializing nested EPT
fb6da44f965e x86/alternatives: Fix alt_max_short macro to really be a max()
063b57d55618 USB: serial: console: fix use-after-free after failed setup
638f7fbfd67d USB: serial: qcserial: add Dell DW5818, DW5819
c98f2ff0013e USB: serial: option: add support for TP-Link LTE module
dcb2be936c3f USB: serial: cp210x: add support for ELV TFD500
0c80bbb76814 USB: serial: ftdi_sio: add id for Cypress WICED dev board
ed35ded9c781 bio_copy_user_iov(): don't ignore ->iov_offset
e67dfe75b683 more bio_map_user_iov() leak fixes
5444d8ab9a14 fix unbalanced page refcounting in bio_map_user_iov
f9139a1a2457 direct-io: Prevent NULL pointer access in submit_page_section
3941ee20839f usb: gadget: composite: Fix use-after-free in usb_composite_overwrite_options
3c57f9d8c194 usb: gadget: configfs: Fix memory leak of interface directory data
80689fdf37a8 drm/i915/bios: parse DDI ports also for CHV for HDMI DDC pin and DP AUX channel
fd96a9b0150a drm/i915: Read timings from the correct transcoder in intel_crtc_mode_get()
7c82795f9612 drm/i915/edp: Get the Panel Power Off timestamp after panel is off
4dbe48b8e1a9 ALSA: line6: Fix leftover URB at error-path during probe
b65f99b8b1ab ALSA: line6: Fix missing initialization before error path
bbab59d6c4b2 ALSA: caiaq: Fix stray URB at probe error path
6571ce840881 ALSA: seq: Fix copy_from_user() call inside lock
35b84860667f ALSA: seq: Fix use-after-free at creating a port
e0c70289a1e3 ALSA: usb-audio: Kill stray URB at exiting
133ca5c71299 fs/mpage.c: fix mpage_writepage() for pages with buffers
2a077f725847 device property: Track owner device of device property
3abebf0b8c5f iommu/amd: Finish TLB flush in amd_iommu_unmap()
4f28d1a742f9 pinctrl/amd: Fix build dependency on pinmux code
f4753e0ae985 usb: renesas_usbhs: Fix DMAC sequence for receiving zero-length packet
08e1674e82e5 KVM: nVMX: fix guest CR4 loading when emulating L2 to L1 exit
3610c4a7838d KVM: MMU: always terminate page walks at level 1
91daaefbe5df crypto: shash - Fix zero-length shash ahash digest crash
57265cddde30 HID: usbhid: fix out-of-bounds bug
9d9c2884da2c dmaengine: ti-dma-crossbar: Fix possible race condition with dma_inuse
618c786d2bba dmaengine: edma: Align the memcpy acnt array size with the transfer
b7309209b020 MIPS: math-emu: Remove pr_err() calls from fpu_emu()
a844e288c811 USB: dummy-hcd: Fix deadlock caused by disconnect detection
97535791d8f9 rcu: Allow for page faults in NMI handlers
f012cb75946f nl80211: Define policy for packet pattern attributes
92d7d3e86702 CIFS: Reconnect expired SMB sessions
28cbf0693771 ext4: in ext4_seek_{hole,data}, return -ENXIO for negative offsets
9d36d3eff2f8 Linux 4.9.56
00449628f352 Revert "socket, bpf: fix possible use after free"
f82786d7a94f Linux 4.9.55
922e562b2613 KVM: x86: fix singlestepping over syscall
ec86c1ca8fbb f2fs: don't allow encrypted operations without keys
48d7b5a88790 ext4: don't allow encrypted operations without keys
6007f0f7a47d ext4: Don't clear SGID when inheriting ACLs
2d605d9188d6 ext4: fix data corruption for mmap writes
27db1f020373 vfs: deny copy_file_range() for non regular files
ba15518c2610 sched/cpuset/pm: Fix cpuset vs. suspend-resume bugs
d9aaef32f32c mmc: core: add driver strength selection when selecting hs400es
c83bbed23419 nvme-pci: Use PCI bus address for data/queues in CMB
acf64334817c drm/i915/bios: ignore HDMI on port A
54aa832c8744 brcmfmac: setup passive scan if requested by user-space
4d3132d97aa7 brcmfmac: add length check in brcmf_cfg80211_escan_handler()
12b182a35f45 scsi: sd: Do not override max_sectors_kb sysfs setting
aee20f321daf iwlwifi: add workaround to disable wide channels in 5GHz
f8895642cf8e iwlwifi: mvm: use IWL_HCMD_NOCOPY for MCAST_FILTER_CMD
9a19bc44c636 netlink: fix nla_put_{u8,u16,u32} for KASAN
57a77fffb0ff rocker: fix rocker_tlv_put_* functions for KASAN
50b27486ae8a HID: wacom: bits shifted too much for 9th and 10th buttons
953f5e7c6216 HID: wacom: Always increment hdev refcount within wacom_get_hdev_data
04b54e8ff7d0 HID: wacom: leds: Don't try to control the EKR's read-only LEDs
5abb9cd4ff92 HID: i2c-hid: allocate hid buffers for real worst case
a3ec104976f7 ftrace: Fix kmemleak in unregister_ftrace_graph
3ff8bc813b13 stm class: Fix a use-after-free
c541aaad4ac7 Drivers: hv: fcopy: restore correct transfer length
a97ca4f78018 driver core: platform: Don't read past the end of "driver_override" buffer
fc3c67226acd percpu: make this_cpu_generic_read() atomic w.r.t. interrupts
6a988259b1cb powerpc/tm: Fix illegal TM state in signal handler
afebf5ef60da powerpc/64s: Use emergency stack for kernel TM Bad Thing program checks
02f7e4101092 socket, bpf: fix possible use after free
95206ea376b9 net: rtnetlink: fix info leak in RTM_GETSTATS call
58b1b8407a31 tipc: use only positive error codes in messages
09788d46b756 ip6_tunnel: update mtu properly for ARPHRD_ETHER tunnel device in tx path
ab4da56f61be ip6_gre: ip6gre_tap device should keep dst
b4a119251f6b netlink: do not proceed if dump's start() errs
cf2eaf16ab28 net: Set sk_prot_creator when cloning sockets to the right proto
24ee394a82d2 packet: only test po->has_vnet_hdr once in packet_snd
0f22167d3321 packet: in packet_do_bind, test fanout with bind_lock held
6eab1f829417 net: dsa: Fix network device registration order
b8990d2e77c6 tun: bail out from tun_get_user() if the skb is empty
b4a9b12d9a2c l2tp: fix race condition in l2tp_tunnel_delete
e5941137f784 l2tp: Avoid schedule while atomic in exit_net
6689f8358681 vti: fix use after free in vti_tunnel_xmit/vti6_tnl_xmit
852bdea5e379 net: qcom/emac: specify the correct size when mapping a DMA buffer
5600c7586ad9 net_sched: always reset qdisc backlog in qdisc_reset()
93eef2172d23 isdn/i4l: fetch the ppp_write buffer in one shot
0dee549f7912 bpf: one perf event close won't free bpf program attached by another perf event
6f7cdd4aa0a4 packet: hold bind lock when rebinding to fanout hook
6eac2cd24bd9 net: emac: Fix napi poll list corruption
b463521db854 tcp: fastopen: fix on syn-data transmit failure
b13bc543b1e6 net/sched: cls_matchall: fix crash when used with classful qdisc
13c8bd7a21ed ip6_tunnel: do not allow loading ip6_tunnel if ipv6 is disabled in cmdline
fc2fe7a06d6d net: phy: Fix mask value write on gmii2rgmii converter speed register
e814bae39ad5 ip6_gre: skb_push ipv6hdr before packing the header in ip6gre_header
f0a5af78b530 udpv6: Fix the checksum computation when HW checksum does not apply
85908ccae5c2 tcp: fix data delivery rate
e159492b3c3e bpf/verifier: reject BPF_ALU64|BPF_END
186a9c5e7038 tcp: update skb->skb_mstamp more carefully
b70bb9bb7277 sctp: potential read out of bounds in sctp_ulpevent_type_enabled()
f86d3b1a28a7 net: sched: fix use-after-free in tcf_action_destroy and tcf_del_walker
f860ca549de4 mlxsw: spectrum: Prevent mirred-related crash on removal
065af12fd139 ALSA: usx2y: Suppress kernel warning at page allocation failures
40e219327fd4 Revert "ALSA: echoaudio: purge contradictions between dimension matrix members and total number of members"
984b6c96f1e2 ALSA: compress: Remove unused variable
88c195d638d3 lsm: fix smack_inode_removexattr and xattr_getsecurity memleak
1c0891295a5a lib/ratelimit.c: use deferred printk() version
2b8197073a0f mm, oom_reaper: skip mm structs with mmu notifiers
8a056a115270 staging: vchiq_2835_arm: Fix NULL ptr dereference in free_pagelist
8928c5b2d318 uwb: ensure that endpoint is interrupt
8ff7adb930d4 uwb: properly check kthread_run return value
ec8a7153bbf3 iio: adc: mcp320x: Fix oops on module unload
1daa7c5aba21 iio: adc: mcp320x: Fix readout of negative voltages
8b97d5b67e9e iio: ad7793: Fix the serial interface reset
f0865d60f3a5 IIO: BME280: Updates to Humidity readings need ctrl_reg write!
9af1bd5e705a iio: core: Return error for failed read_reg
8edd1ce3e56b staging: iio: ad7192: Fix - use the dedicated reset function avoiding dma from stack.
1f266a130329 iio: ad_sigma_delta: Implement a dedicated reset function
a2002c92ffb3 iio: adc: twl4030: Disable the vusb3v1 rugulator in the error handling path of 'twl4030_madc_probe()'
ab6766146785 iio: adc: twl4030: Fix an error handling path in 'twl4030_madc_probe()'
a13481f8cdca Revert "xhci: Limit USB2 port wake support for AMD Promontory hosts"
f77615db8ae8 xhci: set missing SuperSpeedPlus Link Protocol bit in roothub descriptor
f1a04773d773 xhci: Fix sleeping with spin_lock_irq() held in ASmedia 1042A workaround
67e752e1d60f xhci: fix finding correct bus_state structure for USB 3.1 hosts
a6d4ce2e8b65 USB: fix out-of-bounds in usb_set_configuration
43feb29db4c5 usb: Increase quirk delay for USB devices
767f7a2cf33a USB: core: harden cdc_parse_cdc_header
d77606e93d81 USB: uas: fix bug in handling of alternate settings
da785bb64fa6 USB: g_mass_storage: Fix deadlock when driver is unbound
2b5c7b95ea36 usb: gadget: mass_storage: set msg_registered after msg registered
77a4be89599c USB: devio: Don't corrupt user memory
e39b17143a5b USB: dummy-hcd: Fix erroneous synchronization change
795f5501b95c USB: dummy-hcd: fix infinite-loop resubmission bug
5effe995310e USB: dummy-hcd: fix connection failures (wrong speed)
12071de6c37d USB: cdc-wdm: ignore -EPIPE from GetEncapsulatedResponse
0b104f92ed21 usb: pci-quirks.c: Corrected timeout values used in handshake
37b6d898388e ALSA: usb-audio: Check out-of-bounds access by corrupted buffer descriptor
eb5df140ca29 usb: renesas_usbhs: fix usbhsf_fifo_clear() for RX direction
4661c9b526c3 usb: renesas_usbhs: fix the BCLR setting condition for non-DCP pipe
760d0f10410a usb-storage: fix bogus hardware error messages for ATA pass-thru devices
dd52953f6c48 usb-storage: unusual_devs entry to fix write-access regression for Seagate external drives
d21653d09a0b usb: gadget: udc: renesas_usb3: Fix return value of usb3_write_pipe()
db73b389775a usb: gadget: udc: renesas_usb3: fix Pn_RAMMAP.Pn_MPKT value
25533678e580 usb: gadget: udc: renesas_usb3: fix for no-data control transfer
744f9e1da2a5 usb: gadget: udc: atmel: set vbus irqflags explicitly
7f850036134c USB: gadgetfs: fix copy_to_user while holding spinlock
fd5336c0d1e3 USB: gadgetfs: Fix crash caused by inadequate synchronization
f37eb7b586f1 Linux 4.9.54
75903d40aaec s390/mm: make pmdp_invalidate() do invalidation only
14b502e491a8 ttpci: address stringop overflow warning
c637027054ae ALSA: au88x0: avoid theoretical uninitialized access
cf2cd9feb8e6 ASoC: rt5660: remove double const
617c7735db3d ASoC: rt5659: drop double const
2f4835ee5505 ASoC: rt5514: fix gcc-7 warning
d8ba70c09407 ARM: remove duplicate 'const' annotations'
a4f11d61e305 IB/qib: fix false-postive maybe-uninitialized warning
86c469bea4ae tools/power turbostat: bugfix: GFXMHz column not changing
c126bc6b94dd ARM: dts: BCM5301X: Fix memory start address
16db9205d3f8 libata: transport: Remove circular dependency at free time
49c3226c0657 ASoC: wm_adsp: Return an error on write to a disabled volatile control
d86f4ea83626 xfs: remove kmem_zalloc_greedy
943411be40e0 i2c: meson: fix wrong variable usage in meson_i2c_put_data
625cb13a8929 netfilter: nf_tables: set pktinfo->thoff at AH header if found
4131c889c278 md/raid10: submit bio directly to replacement disk
5c6712ab4efb rds: ib: add error handle
a495f72f8a53 mm/cgroup: avoid panic when init with low memory
2d59530d9918 iommu/io-pgtable-arm: Check for leaf entry before dereferencing it
81080d2d83f6 x86/acpi: Restore the order of CPU IDs
ffb6a7637ce0 cpufreq: intel_pstate: Update pid_params.sample_rate_ns in pid_param_set()
27848be7eb75 ibmvnic: Free tx/rx scrq pointer array when releasing sub-crqs
49f1b2c154cb nfs: make nfs4_cb_sv_ops static
1cf8f9467e86 parisc: perf: Fix potential NULL pointer dereference
cd402b889606 netfilter: nfnl_cthelper: fix incorrect helper->expect_class_max
9b6f9da9e55a nvme-rdma: handle cpu unplug when re-establishing the controller
67e8be27ff72 MIPS: smp-cps: Fix retrieval of VPE mask on big endian CPUs
db6767e2fdca exynos-gsc: Do not swap cb/cr for semi planar formats
61b203816b17 iommu/exynos: Block SYSMMU while invalidating FLPD cache
3798fd14b970 MIPS: IRQ Stack: Unwind IRQ stack onto task stack
146561a3f1c8 netfilter: invoke synchronize_rcu after set the _hook_ to NULL
07b653405e3a drivers/rapidio/devices/tsi721.c: make module parameter variable name unique
5435e4823d81 kasan: do not sanitize kexec purgatory
dd9640717f3f hugetlbfs: initialize shared policy as part of inode allocation
c533c11d8f7a sata_via: Enable hotplug only on VT6421
26899ca9cc6f Btrfs: fix potential use-after-free for cloned bio
c17acd24c682 Btrfs: fix segmentation fault when doing dio read
7e2a755497f3 bridge: netlink: register netdevice before executing changelink
727a153435fa mmc: sdio: fix alignment issue in struct sdio_func
8f9bd136b50b qed: Fix possible system hang in the dcbnl-getdcbx() path.
f06316859ce6 net: dsa: b53: Include IMP/CPU port in dumb forwarding mode
affd26096a59 udp: disable inner UDP checksum offloads in IPsec case
65a7a7ce7ffd usb: plusb: Add support for PL-27A1
45eacc855552 team: fix memory leaks
897e8c528529 net/packet: check length in getsockopt() called with PACKET_HDRLEN
1dee03af7325 net: core: Prevent from dereferencing null pointer when releasing SKB
c593091cfc1b lkdtm: Fix Oops when unloading the module
6329973bee29 mips: ath79: clock:- Unmap region obtained by of_iomap
30a0220a5b0b MIPS: Lantiq: Fix another request_mem_region() return code check
fd9597d6ea28 HID: wacom: release the resources before leaving despite devm
d621f970fd71 drm: mali-dp: Fix transposed horizontal/vertical flip
c67371165170 drm: mali-dp: Fix destination size handling when rotating
e2d1a42ed06e ASoC: dapm: fix some pointer error handling
4302bc4f40b1 rtl8xxxu: Add additional USB IDs for rtl8192eu devices
3f22900466a1 usb: chipidea: vbus event may exist before starting gadget
75d1888ddce9 iommu/arm-smmu: Set privileged attribute to 'default' instead of 'unprivileged'
4af5e6136d76 spi: pxa2xx: Add support for Intel Gemini Lake
874b5acede78 ath10k: prevent sta pointer rcu violation
91e66498a96a audit: log 32-bit socketcalls
de415c812ec9 ASoC: dapm: handle probe deferrals
0fc89de6ee77 partitions/efi: Fix integer overflow in GPT size calculation
eaf9616e406c sfc: get PIO buffer size from the NIC
c6d263e6b30a USB: serial: mos7840: fix control-message error handling
9553708eb98d USB: serial: mos7720: fix control-message error handling
09831a957766 drm/amdkfd: fix improper return value on error
68b94d6c4edb arm: dts: mt2701: Add subsystem clock controller device nodes
b2e7d1f72b09 IB/ipoib: Replace list_del of the neigh->list with list_del_init
e335016d1f62 IB/ipoib: rtnl_unlock can not come after free_netdev
e384bbd585ee IB/ipoib: Fix deadlock over vlan_mutex
6c25cbaff1e9 serial: 8250_port: Remove dangerous pr_debug()
ca3e4e77201a tty: goldfish: Fix a parameter of a call to free_irq
5d29957578ae serial: 8250: moxa: Store num_ports in brd
d976d68e1726 drm/i915/psr: disable psr2 for resolution greater than 32X20
e92dca6f5a14 ARM: 8635/1: nommu: allow enabling REMAP_VECTORS_TO_RAM
e1c355c244b7 IB/rxe: Fix a MR reference leak in check_rkey()
0081b9e7fcf7 IB/rxe: Add a runtime check in alloc_index()
2b7aec8839df iio: adc: hx711: Add DT binding for avia,hx711
ff9b56037dd7 iio: adc: axp288: Drop bogus AXP288_ADC_TS_PIN_CTRL register modifications
259f317db758 iio: adc: imx25-gcq: Fix module autoload
772384d7ec40 hwmon: (gl520sm) Fix overflows and crash seen when writing into limit attributes
d74f860528fb usb: make the MTK XHCI driver compile for older MIPS SoCs
952d3c52bd85 clk/axs10x: Clear init field in driver probe
81c961824662 sh_eth: use correct name for ECMR_MPDE bit
bed7533196b2 reset: ti_syscon: fix a ti_syscon_reset_status issue
6798f079b0a5 extcon: axp288: Use vbus-valid instead of -present to determine cable presence
bc438831606a igb: re-assign hw address pointer on reset after PCI error
484e3e793449 ARM: dts: am335x-chilisom: Wakeup from RTC-only state by power on event
bc9ad17c7af2 scsi: be2iscsi: Add checks to validate CID alloc/free
36c56ac0f897 power: supply: axp288_fuel_gauge: Fix fuel_gauge_reg_readb return on error
0cde56d3b672 MIPS: ralink: Fix incorrect assignment on ralink_soc
0e22be793ad2 MIPS: ralink: Fix a typo in the pinmux setup.
84eaa74d734a MIPS: Ensure bss section ends on a long-aligned address
d1d3a78f3e8f ARM: dts: r8a7790: Use R-Car Gen 2 fallback binding for msiof nodes
3311a304ec62 RDS: RDMA: Fix the composite message user notification
aa07a2ccc80d clk: sunxi-ng: fix PLL_CPUX adjusting on H3
299b924c1f20 ARM: dts: exynos: Add CPU OPPs for Exynos4412 Prime
48167acb7f5b drm/i915: Fix the overlay frontbuffer tracking
97766c6a8e58 GFS2: Fix reference to ERR_PTR in gfs2_glock_iter_next
e236940a87f1 drm: bridge: add DT bindings for TI ths8135
7df306f1063b drm_fourcc: Fix DRM_FORMAT_MOD_LINEAR #define
1852eae92c46 Linux 4.9.53
df13283e4b89 swiotlb-xen: implement xen_swiotlb_dma_mmap callback
64afde6f956d video: fbdev: aty: do not leak uninitialized padding in clk to userspace
ea37f61f5de0 KVM: VMX: use cmpxchg64
cb2da657d3a9 cxl: Fix driver use count
3ffbe626a254 KVM: VMX: remove WARN_ON_ONCE in kvm_vcpu_trigger_posted_interrupt
0c4e39ca6700 KVM: VMX: do not change SN bit in vmx_update_pi_irte()
4c00015385fa timer/sysclt: Restrict timer migration sysctl values to 0 and 1
e2f803481a84 gfs2: Fix debugfs glocks dump
5e9b07f30d21 x86/fpu: Don't let userspace set bogus xcomp_bv
54af98f86b92 x86/mm: Fix fault error path using unsafe vma pointer
f11525d7ff5d btrfs: prevent to set invalid default subvolid
ba44bc49bae6 btrfs: propagate error to btrfs_cmp_data_prepare caller
b86b6c226bea btrfs: fix NULL pointer dereference from free_reloc_roots()
bb1e06d281a8 PCI: Fix race condition with driver_override
46f062e05920 etnaviv: fix gem object list corruption
02c7d98bec6c xfs: validate bdev support for DAX inode flag
86ef97b2dfd5 kvm: nVMX: Don't allow L2 to access the hardware CR8
3d4213fac7d1 KVM: VMX: Do not BUG() on out-of-bounds guest IRQ
e3a643b3288a kvm/x86: Handle async PF in RCU read-side critical sections
58d2fb119ae6 KVM: VMX: simplify and fix vmx_vcpu_pi_load
ff5eb8f28ff2 KVM: VMX: avoid double list add with VT-d posted interrupts
01c58b0edeb1 KVM: VMX: extract __pi_post_block
d49527ed4888 arm64: fault: Route pte translation faults via do_translation_fault
7dbd64284b18 arm64: Make sure SPsel is always set
be69c4c00a68 seccomp: fix the usage of get/put_seccomp_filter() in seccomp_get_filter()
58052a74d9b0 selftests/seccomp: Support glibc 2.26 siginfo_t.h
831cca587e7b iw_cxgb4: put ep reference in pass_accept_req()
f184cf5256b7 iw_cxgb4: remove the stid on listen create failure
eb4375e1969c bsg-lib: don't free job in bsg_prepare_job
c820441a7a52 nl80211: check for the required netlink attributes presence
f3e2e7f0b4d7 vfs: Return -ENXIO for negative SEEK_HOLE / SEEK_DATA offsets
18a89a10b26b SMB3: Don't ignore O_SYNC/O_DSYNC and O_DIRECT flags
0e1b85a41a25 SMB: Validate negotiate (to protect against downgrade) even if signing off
df1be2066433 SMB3: Warn user if trying to sign connection that authenticated as guest
f2d395b7bde5 Fix SMB3.1.1 guest authentication to Samba
3a02f8cb5564 PM: core: Fix device_pm_check_callbacks()
22338c55658d s390/mm: fix write access check in gup_huge_pmd()
c76655fb0f44 powerpc/ftrace: Pass the correct stack pointer for DYNAMIC_FTRACE_WITH_REGS
f89f25b53147 powerpc/tm: Flush TM only if CPU has TM feature
5c23dcf86e2d powerpc/pseries: Fix parent_dn reference leak in add_dt_node()
dda70d28c0ac KEYS: prevent KEYCTL_READ on negative key
bfe9d7b8e0f2 KEYS: prevent creating a different user's keyrings
47e8bd1965fc KEYS: fix writing past end of user-supplied buffer in keyring_read()
0c70fb88c751 security/keys: rewrite all of big_key crypto
2f9be92dfffe security/keys: properly zero out sensitive key material in big_key
b60f791ef32d crypto: talitos - fix hashing
1492259fc324 crypto: talitos - fix sha224
70117b773598 crypto: talitos - Don't provide setkey for non hmac hashing algs.
7e1b2b2db3d7 crypto: drbg - fix freeing of resources
29825768590e drm/radeon: disable hard reset in hibernate for APUs
b42bf0f15cf7 scsi: scsi_transport_iscsi: fix the issue that iscsi_if_rx doesn't parse nlmsg properly
49c2b839b743 md/raid5: preserve STRIPE_ON_UNPLUG_LIST in break_stripe_batch_list
648798cc2fd7 md/raid5: fix a race condition in stripe batch
5fb4be27dac5 tracing: Erase irqsoff trace with empty write
97d402e6eed2 tracing: Fix trace_pipe behavior for instance traces
8dcf70ab1830 KVM: PPC: Book3S HV: Protect updates to spapr_tce_tables list
18b7919a9de8 KVM: PPC: Book3S: Fix race and leak in kvm_vm_ioctl_create_spapr_tce()
3d5960c8c657 genirq: Make sparse_irq_lock protect what it should protect
e167b4ad529b mac80211: flush hw_roc_start work before cancelling the ROC
e7e0f0dda28b mac80211_hwsim: Use proper TX power
59862b0429d9 mac80211: fix VLAN handling with TXQs
9ad15a25669e fs/proc: Report eip/esp in /prod/PID/stat for coredumping
b6a77c7ba674 cifs: release auth_key.response for reconnect.
9a7bc3f0c76a cifs: release cifs root_cred after exit_cifs
d59dabdc4cb3 Linux 4.9.52
08f75f2c525d bcache: fix bch_hprint crash and improve output
57aa1a6967b2 bcache: fix for gc and write-back race
fa92ff6b77a1 bcache: Correct return value for sysfs attach errors
e40cb30162d7 bcache: correct cache_dirty_target in __update_writeback_rate()
8f51f38883dc bcache: do not subtract sectors_to_gc for bypassed IO
c234e0e77572 bcache: Fix leak of bdev reference
2a9b55742a9f bcache: initialize dirty stripes in flash_dev_run()
f5c3fd83284f PM / devfreq: Fix memory leak when fail to register device
38993f320506 media: uvcvideo: Prevent heap overflow when accessing mapped controls
7717a7378c53 media: v4l2-compat-ioctl32: Fix timespec conversion
de4360dd3519 s390/mm: fix race on mm->context.flush_mm
536ab630f4db s390/mm: fix local TLB flushing vs. detach of an mm address space
4c7f54a0f977 net/netfilter/nf_conntrack_core: Fix net_conntrack_lock()
2fd62929c88f PCI: pciehp: Report power fault only once until we clear it
998a9f51bc74 PCI: shpchp: Enable bridge bus mastering if MSI is enabled
57e4f87ebe46 ARC: Re-enable MMU upon Machine Check exception
cf052336d0d3 tracing: Apply trace_clock changes to instance max buffer
96cf918df428 tracing: Add barrier to trace_printk() buffer nesting modification
100553e197e2 ftrace: Fix memleak when unregistering dynamic ops when tracing disabled
df865f86b008 ftrace: Fix selftest goto location on error
2a913aecc4f7 scsi: qla2xxx: Fix an integer overflow in sysfs code
6e2a0259da7a scsi: qla2xxx: Correction to vha->vref_count timeout
90cb12f6dc5a scsi: sg: fixup infoleak when using SG_GET_REQUEST_TABLE
25d5a8a2958f scsi: sg: factor out sg_fill_request_table()
c6b9a2007c92 scsi: sg: off by one in sg_ioctl()
2b2d86b0d43d scsi: sg: use standard lists for sg_requests
91fb151822d0 scsi: sg: remove 'save_scat_len'
5b8f80d34abf scsi: storvsc: fix memory leak on ring buffer busy
d8817f5f2937 scsi: megaraid_sas: Return pended IOCTLs with cmd_status MFI_STAT_WRONG_STATE in case adapter is dead
c62da79e1be5 scsi: megaraid_sas: Check valid aen class range to avoid kernel panic
7efc41514a01 scsi: megaraid_sas: set minimum value of resetwaittime to be 1 secs
c24f722a82b1 scsi: zfcp: trace high part of "new" 64 bit SCSI LUN
adbbbd349e80 scsi: zfcp: trace HBA FSF response by default on dismiss or timedout late response
5283787709f8 scsi: zfcp: fix payload with full FCP_RSP IU in SCSI trace records
8d706e3dd8ab scsi: zfcp: fix missing trace records for early returns in TMF eh handlers
424a20b09617 scsi: zfcp: fix passing fsf_req to SCSI trace on TMF to correlate with HBA
0cbb7431a762 scsi: zfcp: fix capping of unsuccessful GPN_FT SAN response trace records
88187de0e934 scsi: zfcp: add handling for FCP_RESID_OVER to the fcp ingress path
83245cd18775 scsi: zfcp: fix queuecommand for scsi_eh commands when DIX enabled
63e606bd9551 skd: Submit requests to firmware before triggering the doorbell
cb1441bca9bf skd: Avoid that module unloading triggers a use-after-free
2cee78081b97 md/bitmap: disable bitmap_resize for file-backed bitmaps.
120ec1e4cddd block: Relax a check in blk_start_queue()
48564b51ac75 powerpc: Fix DAR reporting when alignment handler faults
3806cea5c1c5 ext4: fix quota inconsistency during orphan cleanup for read-only mounts
18d27cb70373 ext4: fix incorrect quotaoff if the quota feature is enabled
e684db9a7cea crypto: AF_ALG - remove SGL terminator indicator when chaining
dcb3a4b8d776 crypto: ccp - Fix XTS-AES-128 support on v5 CCPs
1f143ba19a8f MIPS: math-emu: <MADDF|MSUBF>.D: Fix accuracy (64-bit case)
d2b488ee6f63 MIPS: math-emu: <MADDF|MSUBF>.S: Fix accuracy (32-bit case)
5cabf999fdb7 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Clean up "maddf_flags" enumeration
d56a9caf6d83 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix some cases of zero inputs
8981bcaf9a2d MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix some cases of infinite inputs
4f8479c933a7 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix NaN propagation
4e0694a6411b MIPS: math-emu: Handle zero accumulator case in MADDF and MSUBF separately
9381a991a36a MIPS: math-emu: MINA.<D|S>: Fix some cases of infinity and zero inputs
f7d36f6594b8 MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of both infinite inputs
a04d53797fca MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of input values with opposite signs
d2b6fcb0b6de MIPS: math-emu: <MAX|MIN>.<D|S>: Fix cases of both inputs negative
694f6ea0a4e2 MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix cases of both inputs zero
b234149cf77b MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix quiet NaN propagation
fcaec235666c Input: i8042 - add Gigabyte P57 to the keyboard reset table
6053a5fec569 pinctrl/amd: save pin registers over suspend/resume
346abf2aca7f tty: fix __tty_insert_flip_char regression
750462424193 tty: improve tty_insert_flip_char() slow path
f61a07f3fe97 tty: improve tty_insert_flip_char() fast path
2f8b06f906fd IB/addr: Fix setting source address in addr6_resolve()
0fda166fcec8 drm/sun4i: Implement drm_driver lastclose to restore fbdev console
a29aeb834a96 IB/{qib, hfi1}: Avoid flow control testing for RDMA write operation
e148702302c5 orangefs: Don't clear SGID when inheriting ACLs
39f5677232ab mm: prevent double decrease of nr_reserved_highatomic
f609266b12d2 NFSv4: Fix callback server shutdown
d9f9b83539ab SUNRPC: Refactor svc_set_num_threads()
089d7720383d Linux 4.9.51
7829684088a2 ipv6: Fix may be used uninitialized warning in rt6_check
ae04a8c4c6fc xfs: fix compiler warnings
7b5fcb7fc05b md/raid5: release/flush io in raid5_do_work()
81cb6f1a2a19 xfs: use kmem_free to free return value of kmem_zalloc
772003c6a428 xfs: open code end_buffer_async_write in xfs_finish_page_writeback
bb69e8a228a7 xfs: don't set v3 xflags for v2 inodes
f46a61f686b0 xfs: fix incorrect log_flushed on fsync
0e8d7e364ec5 xfs: disable per-inode DAX flag
a46cf59265cf xfs: relog dirty buffers during swapext bmbt owner change
e2bb92633615 xfs: disallow marking previously dirty buffers as ordered
a51e3e2cf3cb xfs: move bmbt owner change to last step of extent swap
f9e583edf1a7 xfs: skip bmbt block ino validation during owner change
fe211e1744db xfs: don't log dirty ranges for ordered buffers
19a87a940765 xfs: refactor buffer logging into buffer dirtying helper
93b645160192 xfs: ordered buffer log items are never formatted
ba986b3c8498 xfs: remove unnecessary dirty bli format check for ordered bufs
0f5af7eae884 xfs: open-code xfs_buf_item_dirty()
81286ade81f7 xfs: check for race with xfs_reclaim_inode() in xfs_ifree_cluster()
63d184d2955b xfs: evict all inodes involved with log redo item
536932f39e93 xfs: stop searching for free slots in an inode chunk when there are none
6b6505d90b77 xfs: add log recovery tracepoint for head/tail
7549e7c01fb0 xfs: handle -EFSCORRUPTED during head/tail verification
47db1fc608b8 xfs: fix log recovery corruption error due to tail overwrite
e34b72a2381e xfs: always verify the log tail during recovery
35093926c2f8 xfs: fix recovery failure when log record header wraps log end
0800356def7f xfs: Properly retry failed inode items in case of error during buffer writeback
7942f605c308 xfs: Add infrastructure needed for error propagation during buffer IO failure
1ba04933408e xfs: remove xfs_trans_ail_delete_bulk
9a3f75229090 xfs: toggle readonly state around xfs_log_mount_finish
01d38e380746 xfs: write unmount record for ro mounts
ec0d46ef8b7e iomap: fix integer truncation issues in the zeroing and dirtying helpers
e1a7b7e1f6c2 xfs: don't leak quotacheck dquots when cow recovery
7fb3e5e373bb xfs: clear MS_ACTIVE after finishing log recovery
8edd73a13dc0 xfs: fix inobt inode allocation search optimization
f90756d75d69 xfs: Fix per-inode DAX flag inheritance
229980158f95 xfs: fix multi-AG deadlock in xfs_bunmapi
81e27c94f9ab xfs: fix quotacheck dquot id overflow infinite loop
01bc132048cf xfs: check _alloc_read_agf buffer pointer before using
c32b1ec8a266 xfs: set firstfsb to NULLFSBLOCK before feeding it to _bmapi_write
a6247b0189fa xfs: check _btree_check_block value
e76496fa8554 xfs: don't crash on unexpected holes in dir/attr btrees
b46382f02aff xfs: free cowblocks and retry on buffered write ENOSPC
171192c92da6 xfs: free uncommitted transactions during log recovery
621d0b75a347 xfs: don't allow bmap on rt files
8913492d12b1 xfs: remove bli from AIL before release on transaction abort
6c0ecde201d7 xfs: release bli from transaction properly on fs shutdown
ce83e494d1bb xfs: try to avoid blowing out the transaction reservation when bunmaping a shared extent
7cb011bbacef xfs: push buffer of flush locked dquot to avoid quotacheck deadlock
85ab1b23d2d8 xfs: fix spurious spin_is_locked() assert failures on non-smp kernels
4c1d33c4cf86 xfs: Move handling of missing page into one place in xfs_find_get_desired_pgoff()
3fddeb80034b x86/switch_to/64: Rewrite FS/GS switching yet again to fix AMD CPUs
0caec70692a0 x86/fsgsbase/64: Report FSBASE and GSBASE correctly in core dumps
c7d1ddec251d x86/fsgsbase/64: Fully initialize FS and GS state in start_thread_common
cc9618c9fffe f2fs: check hot_data for roll-forward recovery
0f90297cba9b f2fs: let fill_super handle roll-forward errors
60b94125a1fe ip_tunnel: fix setting ttl and tos value in collect_md mode
3f60dadbe178 sctp: fix missing wake ups in some situations
bf8ed95d2ca9 ipv6: fix typo in fib6_net_exit()
c9335db792c0 ipv6: fix memory leak with multiple tables during netns destruction
ca7d8a337bd3 ip6_gre: update mtu properly in ip6gre_err
f5755c0e8700 vhost_net: correctly check tx avail during rx busy polling
90406e68e42f gianfar: Fix Tx flow control deactivation
1bcf18718ec6 Revert "net: fix percpu memory leaks"
5a7a40bad254 Revert "net: use lib/percpu_counter API for fragmentation mem accounting"
b5a3ae8b127e bridge: switchdev: Clear forward mark when transmitting packet
73ee5a73e75f mlxsw: spectrum: Forbid linking to devices that have uppers
a10c510179b3 tcp: initialize rcv_mss to TCP_MIN_MSS instead of 0
a6e51fda71a2 Revert "net: phy: Correctly process PHY_HALTED in phy_stop_machine()"
af33da0ed95f kcm: do not attach PF_KCM sockets to avoid deadlock
8c623e5d0369 packet: Don't write vnet header beyond end of buffer
2b3bd5972a5c cxgb4: Fix stack out-of-bounds read due to wrong size to t4_record_mbox()
de2ecec26dba netvsc: fix deadlock betwen link status and removal
64dfc67548da qlge: avoid memcpy buffer overflow
08d56d8a99bb sctp: Avoid out-of-bounds reads from address storage
4d8ee1935bcd fsl/man: Inherit parent device and of_node
1e39e5c6a2ea udp: on peeking bad csum, drop packets even if not at head
4b4a194a10e2 macsec: add genl family module alias
43c792a84880 ipv6: fix sparse warning on rt6i_node
7f8f23fc8026 ipv6: add rcu grace period before freeing fib6_node
dccb31be7ef8 ipv6: accept 64k - 1 packet length in ip6_find_1stfragopt()
4ad5dcaca742 Linux 4.9.50
5b82e0e938af xfs: XFS_IS_REALTIME_INODE() should be false if no rt device present
3885bc68ae14 NFS: Sync the correct byte range during synchronous writes
a70912a6bfff NFS: Fix 2 use after free issues in the I/O code
301d91e03c9d ARM: 8692/1: mm: abort uaccess retries upon fatal signal
b40aa8b047b8 ARM64: dts: marvell: armada-37xx: Fix GIC maintenance interrupt
6300c8bfafe0 Bluetooth: Properly check L2CAP config option output buffer length
03bea515b9a2 ALSA: msnd: Optimize / harden DSP and MIDI loops
d21f3eaa09c0 locktorture: Fix potential memory leak with rw lock test
3c8381df2a56 mm/memory.c: fix mem_cgroup_oom_disable() call missing
ebf381be016f selftests/x86/fsgsbase: Test selectors 1, 2, and 3
0f7dbc4d5bc8 btrfs: resume qgroup rescan on rw remount
f52a535c8438 nvme-fabrics: generate spec-compliant UUID NQNs
b276bc66d439 mtd: nand: qcom: fix config error for BCH
f4a272d57839 mtd: nand: qcom: fix read failure without complete bootchain
865162031c4e mtd: nand: mxc: Fix mxc_v1 ooblayout
(From OE-Core rev: e209896a2aa7e06f1b6498e0a9fc5e9f766842f5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit afbe1ecd2412c7464ba805223058ab416553b250)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was reported that BSPs that only matched the machine were
being returned as the configuration entry point. This could lead
to warnings, or unexpected runtime results.
Integrating the following commit to ensure that only strict matches
are returned by default, with a flag to do fuzzy matching
spp: make fuzzy matching optional
Add a flag that can be used to toggle wether or not a partial
match is an error.
--fuzz
When passed, partial patching will be used. If not passed the
default is to return nothing (which can be interpreted as an
error by the calling routines) if both the kernel type and
machine do not match.
(From OE-Core rev: 141a7afa9eaca5f4b7ed0fbc91f48e370c8f364d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f60d050fef2e4ac592bb5554e74b9573e3570d0f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following bugfixes to the 4.12 tree:
26c1863a7448 ALSA: hda: Fix regression of hdmi eld control created based on invalid pcm
2b020e00dd49 arm64: mm: select CONFIG_ARCH_PROC_KCORE_TEXT
abcf00d7171c fs/proc: kcore: use kcore_list type to check for vmalloc/module address
(From OE-Core rev: 32bb62512bbec56cd1910e8955013042afab70b9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1027bfffb3d6118a43c5697f36b30dd8e4ae3f96)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable releases with the following commit summary:
fa394784e74b Linux 4.12.14
d0fa64e2a3e8 ipv6: Fix may be used uninitialized warning in rt6_check
7816eb3874a2 md/raid5: release/flush io in raid5_do_work()
b57c1b424549 md/raid1/10: reset bio allocated from mempool
c3f9d09e70a3 idr: remove WARN_ON_ONCE() when trying to replace negative ID
a82e202cbb72 fuse: allow server to run in different pid_ns
7b777a6cc52a x86/switch_to/64: Rewrite FS/GS switching yet again to fix AMD CPUs
831621ada28a x86/fsgsbase/64: Report FSBASE and GSBASE correctly in core dumps
90ecd1c5bc55 x86/fsgsbase/64: Fully initialize FS and GS state in start_thread_common
cb14d4cebdb2 f2fs: check hot_data for roll-forward recovery
96a069a6babb f2fs: let fill_super handle roll-forward errors
442df0425e95 sctp: fix missing wake ups in some situations
aa02286a03c7 ipv6: fix typo in fib6_net_exit()
18c6d4c4d17a ipv6: fix memory leak with multiple tables during netns destruction
888b7a94104a ip6_gre: update mtu properly in ip6gre_err
88f6c6f254bf vhost_net: correctly check tx avail during rx busy polling
fc33f146d9f1 gianfar: Fix Tx flow control deactivation
a44bb1c4596a Revert "net: fix percpu memory leaks"
8fbf9f919597 Revert "net: use lib/percpu_counter API for fragmentation mem accounting"
79f08820eeb8 bridge: switchdev: Clear forward mark when transmitting packet
2f4232ba8001 mlxsw: spectrum: Forbid linking to devices that have uppers
a9e548de4cf9 net: fec: Allow reception of frames bigger than 1522 bytes
b8fcbae2fefa Revert "net: phy: Correctly process PHY_HALTED in phy_stop_machine()"
b88be44f595f net/mlx5e: Fix CQ moderation mode not set properly
8049c41db78d net/mlx5e: Fix inline header size for small packets
8db40bcf439f net/mlx5: E-Switch, Unload the representors in the correct order
b0034cb5014e net/mlx5e: Properly resolve TC offloaded ipv6 vxlan tunnel source address
53c5525785bc net/mlx5e: Don't override user RSS upon set channels
ba008489371d net/mlx5e: Fix dangling page pointer on DMA mapping error
7ae1eccbde90 net/mlx5: Fix arm SRQ command for ISSI version 0
0b6b3028c005 net/mlx5e: Fix DCB_CAP_ATTR_DCBX capability for DCBNL getcap.
9b919ad3f99f net/mlx5e: Check for qos capability in dcbnl_initialize
31034e443fbf net: dsa: bcm_sf2: Fix number of CFP entries for BCM7278
f9901adf536c kcm: do not attach PF_KCM sockets to avoid deadlock
e7ebdeb47c8b packet: Don't write vnet header beyond end of buffer
ef5a20f0cbae ipv6: do not set sk_destruct in IPV6_ADDRFORM sockopt
440ea29af6a5 ipv6: set dst.obsolete when a cached route has expired
24bd86e62739 cxgb4: Fix stack out-of-bounds read due to wrong size to t4_record_mbox()
59b304fdff15 net: mvpp2: fix the mac address used when using PPv2.2
38ca2d395e1c udp6: set rx_dst_cookie on rx_dst updates
b4426cf20366 netvsc: fix deadlock betwen link status and removal
3f0204b0b7b5 net: systemport: Free DMA coherent descriptors on errors
71dd9ac555c5 net: bcmgenet: Be drop monitor friendly
7def678f47fc net: systemport: Be drop monitor friendly
c86a65cf30ac tipc: Fix tipc_sk_reinit handling of -EAGAIN
8aafed19d523 qlge: avoid memcpy buffer overflow
6da138247b47 sctp: Avoid out-of-bounds reads from address storage
207ab5d5a250 fsl/man: Inherit parent device and of_node
4670d7961333 bpf: fix map value attribute for hash of maps
79d6457e8036 udp: on peeking bad csum, drop packets even if not at head
1999821fa500 macsec: add genl family module alias
517e43bd1eba ipv6: fix sparse warning on rt6i_node
640efece69a4 ipv6: add rcu grace period before freeing fib6_node
76d3e7ff2362 ipv6: accept 64k - 1 packet length in ip6_find_1stfragopt()
5d7d2e03e0f0 Linux 4.12.13
9f7df0bca168 xfs: XFS_IS_REALTIME_INODE() should be false if no rt device present
da0f4931ec52 NFSv4: Fix up mirror allocation
3307d5f5099c NFS: Sync the correct byte range during synchronous writes
6f50e3a1b8c3 NFS: Fix 2 use after free issues in the I/O code
7714f302294d ARM: 8692/1: mm: abort uaccess retries upon fatal signal
b9a489e1d4a3 ARM64: dts: marvell: armada-37xx: Fix GIC maintenance interrupt
8329b5e8c6cf Bluetooth: Properly check L2CAP config option output buffer length
99dc1296b47c rt2800: fix TX_PIN_CFG setting for non MT7620 chips
2bce0fe7d0cd KVM: SVM: Limit PFERR_NESTED_GUEST_PAGE error_code check to L1 guest
9d6412aa06ce ALSA: msnd: Optimize / harden DSP and MIDI loops
846073130799 mm/memory.c: fix mem_cgroup_oom_disable() call missing
46791eb9f13e mm/swapfile.c: fix swapon frontswap_map memory leak on error
637f25e5ba94 mm: kvfree the swap cluster info if the swap file is unsatisfactory
58989dc3af0d selftests/x86/fsgsbase: Test selectors 1, 2, and 3
9ed3dc1c0431 radix-tree: must check __radix_tree_preload() return value
0af760ab3882 rtlwifi: btcoexist: Fix breakage of ant_sel for rtl8723be
8004198bb025 btrfs: resume qgroup rescan on rw remount
9a5537a76b62 nvme-fabrics: generate spec-compliant UUID NQNs
02c54b35cad8 mtd: nand: qcom: fix config error for BCH
f2339a072e47 mtd: nand: qcom: fix read failure without complete bootchain
71515c37777d mtd: nand: mxc: Fix mxc_v1 ooblayout
c54a31845019 mtd: nand: hynix: add support for 20nm NAND chips
2b8b46b24217 mtd: nand: make Samsung SLC NAND usable again
(From OE-Core rev: 9436cea01a3dd21e08ddb4391401b57a7225bde7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e611aef364647a0711d0438247ce42555409c62c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating features and new configurations for the 4.12 kernel.
With this update, a CGL-ready kernel can be configured out of
the box.
(From OE-Core rev: e0d3407289f8a494d76618d0e2a506657b70cd5e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 43c5846e22d246dde314657dbf90f9752b06a54c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Feeding the output of /dev/urandom into /dev/random is pretty much insane
and not something we should encourage.
I can't really imagine a scenario where this would be a sensible idea since
/dev/urandom if effectively derived from /dev/random.
This changes the tool to default to /dev/hwrng which makes much more sense,
feeding hardware entropy into the random pool. In the QEMU case, this will
feed entropy from the host into the guests which is also what we want.
Yes, this change will cause rngd not to start if /dev/hwrng isn't present,
but it isn't needed if that isn't so I don't see this as a bad thing.
(https://wiki.archlinux.org/index.php/Rng-tools has a section in red which
agrees with the above, "this is a really bad idea, since you are simple
filling the kernel entropy pool with entropy coming from the kernel itself!")
(From OE-Core rev: d177516d846ec4bed483d7e9d80775bb341c869e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f1dc9ac46710814c27cae2d22e79c84a9522993a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The intent of the env setup scripts is to set BBPATH to point at the
build directory. This means if the user changes directory, bitbake can
still find the original build directory. The default bblayers.conf files
reset BBPATH to the correct components so this is safe and restores the
behaviour the script was intended to have.
[YOCTO #12163]
(From OE-Core rev: bfacf88f15a27db579d8790d92f8497d832961f8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 82eeb934997c9eaa6443079dfb649a89872a222c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The WIC's 'part' can now give a name for GPT partition in WKS file.
It's similar to '--label', but is naming partintions instead file systems.
It's required by some bootloaders to partitions have specified names.
Backport from master, without it WIC cannot be used on Qualcomm based machines.
(From OE-Core rev: 45aee3d57697f8dcc967120b5afd280d5ceadd21)
Signed-off-by: Artur Mądrzak <artur@madrzak.eu>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9b60e3466ed7cff0cea10815851eb1304002eb52)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if you run bitbake in an invalid directory, the user experience
is poor:
birbake/lib/bb/main.py", line 427, in setup_bitbake
topdir, lock = lockBitbake()
File "./bitbake/lib/bb/main.py", line 494, in lockBitbake
lockfile = topdir + "/bitbake.lock"
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
This ensures we exit straight away with a better error message.
[YOCTO #12163]
(Bitbake rev: 2a931d5e4ac092ce275f3a51e22b802689f511e6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Python 3.6, glob.glob() was reimplemented to use os.scandir() (which
itself appeared in Python 3.5), thus our monkey patching of os.listdir()
here was no longer effective. The end result was not only that bitbake
wouldn't notice added recipes or bbappends with BB_SERVER_TIMEOUT set
when being run with Python 3.6 (the shipped Python version on Fedora 26
and some other distribution versions), it also broke devtool modify,
devtool upgrade and devtool extract since they rely on the ability to
create a bbappend on the fly and have bitbake pick it up.
To fix it, do the same monkey patching for os.scandir(), which needs to
be conditional upon that actually existing since we have to support
Python 3.4 that doesn't have it. Long term we should probably look for a
better way to handle this that doesn't involve monkey patching Python
library code.
Fixes [YOCTO #12185].
(Bitbake rev: d57c4718a3a1eb7b8397085c307fcb0bec6454ef)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed wording on how the OpenEmbedded build system dynamically
generates do_image_* tasks as needed during image generation.
(From yocto-docs rev: 9df98d77a446cd5d27c4e87418117a904b1f4231)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The yocto-layers script is being deprecated in the 2.4 YP release
and the preferred script is now bitbake-layers. In particular, the
section that talks about creating a general layer was using
yocto-layers create. I have replaced it with bitbake-layers
create-layer command.
The bsp-guide and kernel-dev manual had links that used (in the
case of kernel-dev) and referenced yocto-layers. I had to change
these to reflect using bitbake-layers create-layers.
(From yocto-docs rev: 73ec4d0c8c2c093b7c9df86038d132f0da975273)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made the title page notes consistent across the manual set.
Made the author group information consistent as well. It is better
that authorship is seen as a third party and not tied to Intel
Corporation.
(From yocto-docs rev: 32cec087e384e1d92e3e84bbae5c6560a0af3136)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added information about how the build system dynamically creates
do_image_* tasks (e.g. do_image_ext4[depends]) when creating the
image. This is functionality that replaced IMAGE_DEPENDS_type.
(From yocto-docs rev: c977df506585aad1ade99c390bacc04b54eb0e48)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The title of the sdk-manual changed. Many links were updated to
render to the correct book title.
(From yocto-docs rev: 821e29c6c031ae2516fb0e79d0ec3936a5bd624c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The name of the sdk-manual changed and I had to update some external
links and references into the manual.
(From yocto-docs rev: fba92910fd91d1ca49bc6915820effb189f1852e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The name of the SDK manual changed and there was one link to the
manual that needed fixed.
(From yocto-docs rev: 800d5106a25ce4e87b0468ec3ab03dd8a49f3082)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change the name of the manual to "Yocto Project Application
Development and the Extensible Software Development Kit (eSDK)".
The "sdk-title.png" file was updated and all title information
was updated.
(From yocto-docs rev: 502a49a9e4f5e80efe16507391bc9d9618efefbd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SDK manual title changes so the links into that manual needed updating.
(From yocto-docs rev: e59d1cb22d46b00e9413deb5c7a70a14be880dc1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This also affected a link in the dev-manual and some setup stuff
in the mega-manual and sdk-manual.xml file due to a new chapter
being introduced.
This section on the Eclipse stuff is big enough to warrant its
own chapter. I decided to pull it into a separate chapter of its
own.
(From yocto-docs rev: a4b2b605902f09bb200facfabb0a7c355fbf4c87)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the "Image Generation" section, I was referencing these tasks
and did not have any cross-link to the actual tasks. I added them.
(From yocto-docs rev: da480933c59ddc3fe9fe4a881d4d0e21038a999b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Step 4 of the "Running QEMU" section, the file suffix
"*.vmdk" is mentioned. "vmdk" has essentially become "wic.vmdk"
now. I updated the example.
(From yocto-docs rev: 5e17ccabfe8eb9d3b4316ceb41df17eddc7b0065)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "vmdk" image has essentially changed to "wic.vmdk". I updated
the description by replacing "vmdk" with "wic.vmdk".
(From yocto-docs rev: 24d0d9509361afe0d61449c7dd056f73318fc01a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Combined two note boxes into a single note box with bulleted list.
(From yocto-docs rev: 5684b6cf373ddc5b18e9e4ae4ae12cede30b8235)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The manual title has changed to "Yocto Project Development Tasks
Manual".
(From yocto-docs rev: aa6b7959df1725257ee598f828d3e99e595308e5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated several files to change the title of the dev-manual from
the "Yocto Project Development Manual" to the "Yocto Project
Development Tasks Manual." Did some edits in the README and the
Makefile as well for completeness.
(From yocto-docs rev: 0278d6d3bb458af1cb04fbc3eed96dff12d19475)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found four links going to the dev-manual that should have benn going
to the ref-manual. These were for YP terms. Fixed them.
(From yocto-docs rev: 0c75eda3a772d8c40e381e44e563a5b79b3d0cb5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development Tasks
Manual. I fixed a link to this title. Also, fixed several external
links that were going to the dev-manual and should have been going to
the ref-manual.
(From yocto-docs rev: 69c0832ea9378d097e85e23e45cec750b8c42042)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two links that should have been to different places were overlooked.
I fixed these.
(From yocto-docs rev: a1681d065812546a573ed778141289a6b476cecd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development Tasks
Manual. Fixed the links for that. Also took care of some external
links that should have been internal.
(From yocto-docs rev: c1e108e2d13d83bcd6b28c8983336a93642c60a2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development Tasks
Manual. Fixed the links to that manual. Also, fixed external links
that should have been internal to the ref-manual.
(From yocto-docs rev: 76bc9f55e0947689213139927410418a188c893c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development Tasks
Manual. I fixed those links and titles. Also fixed some external links
that should have been internal.
(From yocto-docs rev: a63abcacb2d21cf3f29eb881ce872b265162d2ad)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development Tasks
Manual. I fixed links to this manual. Also converted several external
links to internal.
(From yocto-docs rev: 3ec8452d4f847654096f68c90bf2f7003f5e585c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development Tasks
Manual. Fixed links for that. Also, fixed some external links that
should have been internal to ref-manual.
(From yocto-docs rev: 2369e8d1c1c4f376de0faf6ab02afdea79082d87)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The title of the dev-manual changed to the Yocto Project Development
Tasks Manual. I added that to the links. Also fixed several external
links that really should have been internal.
(From yocto-docs rev: ff2d0010530d6969b2ffd64e6d23c79a18d7f368)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development Tasks
Manual and I fixed those links. Converted links that should have
been internal to the ref-manual but were external to the dev-manual.
(From yocto-docs rev: 6de68b04ce1b921466a462dfa3f3485232aaf40d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development Tasks
Manual. Updated a link. Also, fixed a link to a term that should
have been internal to the ref-manual and not external to the dev-manual.
(From yocto-docs rev: 82a44632fd614db1ac00d2e2b4ec85ade77b9aff)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development Tasks
Manual. Updated the links. Fixed a few links that should have
been internal.
(From yocto-docs rev: 2125fa0b2a86b8bea0d0e76c4ca349d00bd86e71)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development Tasks
Manual. Updated all the links.
(From yocto-docs rev: 0ef55f6d379f9c7b37642d51683d807a5eb92253)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title changed to the Yocto Project Development
Tasks Manual. I updated the links.
(From yocto-docs rev: db42c7f2c1b8fb9037bf32ca957d4bd7444510ea)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Dev-manual title has changed to the Yocto Project Development Tasks
Manual. I fixed these links. Also, had to fix a couple links
that were in an external <ulink> style whereas they should have
been in an internal style (<link>).
(From yocto-docs rev: da5317f802975eaf6b2c5d4026892e5f2051760a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Links were using the <ulink> style tag when they should have been
using the <link> style.
(From yocto-docs rev: 6c4a39537211ccb322f4ac1c8009ebabcd7b209d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual title has changed to the Yocto Project Development
Tasks Manual. I fixed links for this. Also, converted <ulink>
links that were going to internel areas of the ref-manual to
<link> format.
(From yocto-docs rev: bfe4b762ac1c1eb666636a7c2430b3e21787c531)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed a couple links that were still going to the dev-manual when
they should have been going to the ref-manual. Updated the title
to the dev-manual for those links.
(From yocto-docs rev: 0cd84696a569af17a12bb939f203051e78d6fd48)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual name has changed to the "Yocto Project Development
Tasks Manual." I had to update some references to the manual.
(From yocto-docs rev: 64b5f18b953c89811a08f76a302e29e25ad2fb70)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added several first occurrences.
(From yocto-docs rev: fa369cfb539c86b59aaf0fff70d9034ea0620cba)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The name of the dev-manual has changed to be the
"Yocto Project Development Tasks Manual". I have updated all the
areas in the kernel-dev manual that reference sections into the
dev-manual.
(From yocto-docs rev: f0309ab658a259637ba7f9301031887114ade988)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to all links to the dev-manual. This manual is now named
"Yocto Project Development Tasks Manual". There were some bad links
fixed as well. I had some links to some terms that used to be in the
dev-manual but are now in the ref-manual. Somehow they slipped by.
I have fixed those as well.
(From yocto-docs rev: b303190dd1234a7b83e0cd6217c69a449715062b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before we introduced DISTRO_FEATURES_NATIVE on commit:
db1f1adace
ipv6 was enabled by default on DISTRO_FEATURES via DISTRO_FEATURES_LIBC
hence for example python-native was built with ipv6 support.
After this, ipv6 was automatically disabled on DISTRO_FEATURES.
On some packages (python) this may cause errors when they try to download
something on their do_compile stage.
This patch adds ipv6 to DISTRO_FEATURES_NATIVE leaving it as it was
before, to avoid errors like the one mentioned above
[YOCTO #11978]
(From OE-Core rev: a09184bf47323b63d9548d17cc1e4e694cb605a9)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
HTTP is more reliable in general so use it instead of FTP.
(From OE-Core rev: bdc71968923941b0720d34a5ce06d82ab2a63b4f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We changed to make tools required by testimage to be included conditionally.
This resulted in users who use ssh for git fetching having failures.
Add ssh to HOSTTOOLS_NONFATAL to make things work for the above situation.
[YOCTO #12227]
(From OE-Core rev: 50e7619aebae5351e9a41fe1b909a31b9e383f0a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compiling go code for the target we need to ensure that GO386 is exported
and set appropriately. This controls whether sse/sse2 instructions are used to
implement floating-point operations or not.
(From OE-Core rev: eba5fd5f594d65d311fa7564fa4b243248cb212a)
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These variables are used to control the floating-point instructions emitted by
the go compiler for x86 architectures.
The default is '387' which disables the use of sse/sse2 instructions and is safe
to use on all x86 processors from the i486 onwards.
If TUNE_FEATURES contains a feature set which is known to support sse/sse2
instructions then they are set to 'sse2' to enable the use of these
instructions. This is suitable for most processors from Pentium 4 onwards.
Only the 'core2' and 'corei7' TUNE_FEATURES are defined in the oe-core layer and
are known to support ss2 instructions. Other layers may introduce additional
tunings which support sse2 instructions and for these layers, TARGET_GO386
or go_map_386 should be overridden as needed.
(From OE-Core rev: 7e96cf3c9850dc34d53af73a9ac22b1624994484)
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The missing underscore makes CMake define a new variable named "CMAKE"
with the contents "ASM_FLAGS ${CMAKE_C_FLAGS}" instead of a variable
named "CMAKE_ASM_FLAGS" with contents equal to "CMAKE_C_FLAGS". It seems
clear that the intention was to assign "CMAKE_ASM_FLAGS".
CMake uses variables named "CMAKE_<LANG>_FLAGS" for defining default
compiler flags for a given language <LANG>. Leaving this flag unset may
have unintended consequences. Not doing so is however not an error as
far as CMake is concerned so it is silently accepted.
(From OE-Core rev: 03a4dd085e3be2821eff5a1a1e7e96b809465565)
Signed-off-by: Øystein Walle <ow@datarespons.no>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes
WARNING: gstreamer1.0-plugins-bad-1.12.2-r0 do_package_qa: QA Issue: libgstwayland-1.0 rdepends on libdrm, but it isn't a build dependency, missing libdrm in DEPENDS or PACKAGECONFIG? [build-deps]
WARNING: gstreamer1.0-plugins-bad-1.12.2-r0 do_package_qa: QA Issue: gstreamer1.0-plugins-bad-waylandsink rdepends on libdrm, but it isn't a build dependency, missing libdrm in DEPENDS or PACKAGECONFIG? [build-deps]
(From OE-Core rev: cb2c00c369e61b0e61298b0ad076e5bc8bc67bb9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compiling for Thumb or Thumb2, frame pointers _must_ be disabled
since the Thumb frame pointer in r7 clashes with musl's use of inline
asm to make syscalls (where r7 is used for the syscall NR).
In most cases, frame pointers will be disabled automatically due to
the optimisation level, but appending an explicit -fomit-frame-pointer
to CFLAGS handles cases where optimisation is set to -O0 or frame
pointers have been enabled by -fno-omit-frame-pointer earlier in
CFLAGS, etc.
Note that this limitation applies both to gcc and clang, the only
difference between the two being that where gcc aborts with an error
about reusing r7, clang apparently silently generates broken code:
https://bugs.llvm.org/show_bug.cgi?id=34165
(From OE-Core rev: d7580cd7792982fd9e98086e4edc490635e9adca)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove all instances of -fdebug-prefix-map in ccflags*
because they contain references to the build host and
are not needed.
(From OE-Core rev: 71236e56cdc46b2e08fb5e06b06ea857a140288c)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If SRCREV contains a variable reference, any devtool command that
would try to update it would fail. E.g., if SRCREV = "R${PV}", then
devtool finish without having committed any changes would fail with:
oe.patch.CmdError: Command Error: 'sh -c 'git format-patch R${PV} -o
/tmp/oepatchb_doareb -- .'' exited with 0 Output:
fatal: bad revision 'R'
(From OE-Core rev: 094499c819722ad698ccb64ec65dd439b211c31c)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we inherit own-mirrors.bbclass, other settings of PREMIRRORS in
our project would have no effect.
This patch modifies the setting in own-mirrors.bbclass to allow other
settings of PREMIRRORS to still have effect.
(From OE-Core rev: a3e9e7a38b3d9caed49380ebc05651a97f613c7c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the following commit, the archiver expanded RECIPE_SYSROOT
to preserve sysroot paths in configured mode:
...
commit aa2240657b015d46e9ba4bcb6264709a82313d83
Author: Ross Burton <ross.burton@intel.com>
Date: Tue Jun 6 15:23:18 2017 +0100
archiver: preserve sysroot paths in configured mode
...
In meta/conf/multilib.conf, it overrides the variables
of STAGING_DIR_HOST, STAGING_DIR_TARGET and RECIPE_SYSROOT
with "${WORKDIR}/${MLPREFIX}recipe-sysroot".
So the archiver should also expand STAGING_DIR_HOST and
STAGING_DIR_TARGET to preserve sysroot paths in configured mode for
multilib.
[YOCTO #11584]
(From OE-Core rev: b129af957a9fd8f603d1aebb9fca3adcb4e6b341)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Packages, which depend on users/groups created from other packages,
needs "shadow-native" as a build time dependency. So, add an exception
to the "shadow-native" from otherwise discarded native/cross tools
dependency.
Fixes [YOCTO #11960]
(From OE-Core rev: 979699b55214933e0f11727a2fb9bfda8a3a3870)
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>
While the name of build dir contains "yes", the AC_EGREP_CPP
test always return true.
We rarely use "yes;" to name build dir, so s/yes/yes;/g
could fix the issue.
(From OE-Core rev: ba0bc9d2a07848706debb915883817b2ed88c218)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit to split i.MX SDMA firmware blobs in their
own packages was not complete and results in a failure
when trying to install full linux-firmware:
* Solver encountered 1 problem(s):
* Problem 1/1:
* - nothing provides linux-firmware-imx-sdma-license needed
* by linux-firmware-1:0.0+git0+a61ac5cf83-r0.all
*
* Solution 1:
* - do not ask to install a package providing linux-firmware
Make the split complete by installing the license in
${PN}-imx-sdma-license and have the blob packages depend on it.
(From OE-Core rev: 229f70a5f6d29d82e1a7b1f780e2149fb91d5385)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch is backported from the upstream git repository to fix building
libgcrypt on armv6 platforms such as raspberrypi.
(From OE-Core rev: c47ed9aa7a34ef62b3ffaea6ebd5cc9e7c052899)
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BUILD_* flags can't be used as TARGET_* flags even for "cross" packages.
gcc-cross buils leaks config.log's through "gcc-stashed-builddir" and
TARGET_* flags to libgcc cross-build through "gcc/libgcc.mvars" file
on "gcc-stashed-builddir". This means that if BUILD_CFLAGS contains
host-specific flags like "-isystem/usr/include" libgcc build will
fail "do_qa_configure" and "do_package_qa" checks.
Remove host-related flags from TARGET_* flags for gcc-cross build.
(From OE-Core rev: 4b936cde58ca0a6f34092ce82640a02859110411)
Signed-off-by: Nikolay Merinov <n.merinov@inango-systems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Link to metadata term was not going to the ref-manual.
(From yocto-docs rev: 7a116ece403cb88977dfcce3006e2e1bb52b5df0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the redoing of the YP website, it was decided that the manuals
could only reference into the top-level and the top-level/documentation
URLs of the website. I removed all references to areas such as
projects (e.g. Toaster, VM, etc.) and any other URL that was not
the top-level landing page or the documentation page.
(From yocto-docs rev: 2bd838f1a9fb2698bab098b13b76c8852853e0e7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Deleted the existing JSON chapter, and replaced it
with this new chapter.
(From yocto-docs rev: 86f9fb9c567310ecd1b06944c4c9107ec30df29c)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The content was obsolete. The new information is covered
in the new chapter "Configuring Toaster".
(From yocto-docs rev: 680273cb8fecea84297c3102c0b19fff5bcd9d88)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Documented new direct JSON API with four subsections to let
you remotely monitor Toaster.
(From yocto-docs rev: 8b18ccffbcfe896f878dd912ea39b14557426b2c)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed two outdated sections, "Use the toasterconf.json File"
and "Edit the Configuration File" and replaced them
with "Use the Fixture Feature" section.
(From yocto-docs rev: 8a247836a958449836effac3600f6923c5289bb6)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Links to the top of a manual don't really work from the mega-manual.
I updated the manual links at the bottom of the yocto-project-qs
so that they go to the introduction sections of the appropriate
manual rather than attempting to go to the top of the manual, where
they don't render from within the mega-manual.
(From yocto-docs rev: e8e1c72b6c79065d86479d48974d1a188f4ebf30)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided better roadmapping into the kernel development manual and
more explanation of the dev-manual.
(From yocto-docs rev: 811e6ee07ee5e84400b90c18b251d8053000f859)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12191]
Put in a new example in the Wic section to highlight the use of the
'wic ls', 'wic rm', and 'wic cp' commands.
(From yocto-docs rev: 2bf316961d22d5dc2df2d849c50ec347d5f9db51)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added "Using Wic" to the section head because that is all we
talk about. This affect three links in the ref-manual so I
fixed those as well.
(From yocto-docs rev: 0e4f245f2b872810e2e164a227900ca6aa313ab8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section was misplaced in the dev-manual and really needed to
be in the ref-manual. I created a new chapter that follows the
devtool reference chapter and put the kickstart chapter there.
Links were needed to be fixed up and a new chapter in the
ref-manual named ref-kickstart.xml had to be created.
(From yocto-docs rev: b4d5b7077a978e4966d1273a374741075a1b0c7d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed links affected by the move.
(From yocto-docs rev: 250d312274788b0eebf3ae9143f2f89eafd4ab90)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This link is going to a link that disappearing. So had to re-route
it to a different spot.
(From yocto-docs rev: 8b2a3eafa10b1f6fdf034e6e13d0277c9a556170)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Various edits for review feedback on the manual in general.
(From yocto-docs rev: 218061535b5bed326331d00eee6f514c81299238)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added an example to show machine overrides.
(From yocto-docs rev: d0c54caf2a2a6ccb9a6fb38b77c9827b66b9ff10)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the "runqemu Command-Line Options" section there is a bulleted
list showing options you can provide. The "MACHINE" option lists
valid values and listed "qemux86" twice in the list. I removed
one of them.
(From yocto-docs rev: 7831b60391544e9fca94b1fe299ec4cb57992222)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
WPA2 is vulnerable to replay attacks which result in unauthenticated users
having access to the network.
* CVE-2017-13077: reinstallation of the pairwise key in the Four-way handshake
* CVE-2017-13078: reinstallation of the group key in the Four-way handshake
* CVE-2017-13079: reinstallation of the integrity group key in the Four-way
handshake
* CVE-2017-13080: reinstallation of the group key in the Group Key handshake
* CVE-2017-13081: reinstallation of the integrity group key in the Group Key
handshake
* CVE-2017-13082: accepting a retransmitted Fast BSS Transition Reassociation
Request and reinstalling the pairwise key while processing it
* CVE-2017-13086: reinstallation of the Tunneled Direct-Link Setup (TDLS)
PeerKey (TPK) key in the TDLS handshake
* CVE-2017-13087: reinstallation of the group key (GTK) when processing a
Wireless Network Management (WNM) Sleep Mode Response frame
* CVE-2017-13088: reinstallation of the integrity group key (IGTK) when
processing a Wireless Network Management (WNM) Sleep Mode Response frame
Backport patches from upstream to resolve these CVEs.
(From OE-Core rev: 1c46e201ef486395ec047f29af272f8c3dfd9611)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The newly added file in the last commit was corrupted, fix it.
(Bitbake rev: be393f247a08c0a4a50a6a76b8fd57f78295d2a1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I have been working with OE on debian-9 for several months now without
issue. In addition, I tested a build + runqemu for core-image-sato
following the quickstart guide and had no issues.
(From meta-yocto rev: 2d8a572df7498ce8eb3a78f05384f0f7dd5ecb91)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add tools required by testimage to HOSTTOOLS only when testimage is
inherited. These tools, as described in the comment, are only required
by the testimage task. So this change should not have negtive effect.
This would also solve build error on hosts which miss some tool such as scp.
(From OE-Core rev: 8ca61a5464743ff85b6d26886112750d6ddd13e0)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
e2fsprog testsuite used to log results into its own log file into
/usr/lib/e2fsprogs/ptest/test.log. Therefore console output was not available and
redirecting ptest-runner output into a log file would not capture output of any
individual tests. So overall the whole e2fsprogs testsuite consisting of about
300 tests was evaluated as a single test.
This patch ensures the e2fsprogs test_script output is not automatically redirected
while executing during run-ptest. Any redirection is up to the user.
Additionally, the results of tests are prefixed by more canonical "PASS:" FAIL:"
based on the actual test results.
Aditionally, remove various files created by the testsuite.
[YOCTO #12146]
(From OE-Core rev: a218b85dba1a481901548f7414676c0ae6f43316)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This splits out the i.MX SDMA firmwares for i.MX6 and i.MX7 SoCs. This
also includes the required runtime provides, conflicts and replaces
for the old firmware-imx which was provided by NXP BSP layer.
(From OE-Core rev: b3f3078fd4349fdf6986dd57e4b04bce03630924)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Includes brief description of the project, pointers to website, documentation,
mailing list and source code.
(Bitbake rev: 28249c42701f9156a0b3153d72d7e46dacab37cb)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding layer "meta-signing-key" to conf/bblayers.conf
Traceback (most recent call last):
File "/local/build/project/build/poky/bitbake/bin/bitbake-layers",
line 103, in <module>
ret = main()
File "/local/build/project/build/poky/bitbake/bin/bitbake-layers",
line 96, in main
return args.func(args)
File
"/local/build/project/build/poky/bitbake/lib/bblayers/layerindex.py",
line 250, in do_layerindex_fetch
self.do_add_layer(localargs)
File
"/local/build/project/build/poky/bitbake/lib/bblayers/action.py", line
44, in do_add_layer
if not (args.force or notadded):
AttributeError: 'Namespace' object has no attribute 'force'
(Bitbake rev: 4325f7a7df67eaf4b51af03b453e84bf88fae408)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The submodule sources fetched by the gitsm fetcher are not automatically
tracked by the licensing and archiver infrastructures.
Add these limitations to the existing 'warnings' sections for
gitsm.
[YOCTO #11594]
(Bitbake rev: ca10186d60a52af6464bd998fa0b7146513bed0e)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bitbake server changed such that the Toaster custom settings from
'toaster.conf' and 'toaster-bblayers.conf' that were set when
the '--server-only' mode was started were lost when the subsequent build
request happened, resulting in builds missing all custom changes.
This patch asserts those environment settings in both server calls.
[YOCTO #12194]
(Bitbake rev: fa767d85f19a7af92a44fe11fdfb38633009ad71)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bash-ptest fails several tests. This patch fixes:
FAIL: run-intl
The test used to fail because of missing locales (fr_FR, de_DE)
[YOCTO #12145]
(From OE-Core rev: 70e544452b6825686f06484d994936ded677825f)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we wish to use the package feed for local development, it does
not uses GPG signed feeds by default but dnf uses package signature
check. We need to configure the GPG signature check out so it works
out of box.
With this patch, installing non-signed packages works:
$: dnf install <package>
(From OE-Core rev: bceafe23cbe12a1ab0628b70865cb8867c7d7ee1)
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>
We need to specify UTF-8 in the environment to avoid an error
such as:
UnicodeEncodeError: 'ascii' codec can't encode character '\xe4'
(From OE-Core rev: d7f1fe6c8419b8c59e601c56245373d094cae298)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some fields are multiline values which have been escaped, so add an option to
unescape the \n and \t.
(From OE-Core rev: 4165ec0057c6bbb24de681572034262351d9b34f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the commit afa9f769d62034d4443dfe929422d1d591adf709 some nios2 builds
(uboot, core-image-minimal, etc) were broken due to db trying to use ARM instructions
in mutexes. The reason was db "configure" used the cached entry from nios2-linux
(which was incorrect). So the remedy was to remove the incorrect cached entry
and let db "configure" figure out which is the proper mutex to use.
(From OE-Core rev: c17c6ba906425d4035b8e044c8bd8bd68c47ef74)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures argp-standalone-staticdev package could be installed
correctly(without depending on the empty argp-standalone package) if
it's being required during SDK population.
(From OE-Core rev: 6d13c09fb57e13aa4aae590cd49cff7279c8685d)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 'id' utility is used in 'rootfs_check_host_user_contaminated'
rootfs-postcommand so it must be available.
(From OE-Core rev: 6c054925d5f80790aea4cce6f8f83edc7da623b9)
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>
python-ptest needs python-tests package installed in order to
run any tests.
This patch adds python-tests as a runtime dependency, so the test suite
will be present in the image.
While in there, also removed several build host references.
[YOCTO #12144]
(From OE-Core rev: ff83e15289e4b47cd3926220a0039bf97ec35120)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
check_app_exist function must support cases when "app" variable defined
as "progname --args". For example BUILD_CC="gcc -march=x86-64" must
pass sanity check.
(From OE-Core rev: 5193ebca0ca8864404fc750def0e738417d104c7)
Signed-off-by: Nikolay Merinov <n.merinov@inango-systems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch is needed for meta-swupd. Without it, some bsdtar
invocations fail with:
bsdtar: Option -n is not permitted in mode -x
The patch was removed in the update to 3.3.1 with the claim that it
had been merged upstream, but that is not the case.
(From OE-Core rev: 38c86302ebdf886b887165aff06560c63a1537b9)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recipes nspr_4.16.bb and nss_3.31.1.bb ignored BUILD_CC and it's
BUILD_CFLAGS and tried to compile with hardcoded "gcc" instead. As
result build for this recipes will fail if host use different name for
compiler or require any flags.
(From OE-Core rev: 79e3339ab9edacb9e34d3725305d5880a974364a)
Signed-off-by: Nikolay Merinov <n.merinov@inango-systems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After 02457ef7f600ce954874e2d11e74b1c6daaa3bfc, PSEUDO for
postinst-useradd-* scripts get to use only one PSEUDO_LOCALSTATEDIR
which is set under recipes ${WORKDIR}.
When the those scripts are run in a clean build environment that
is built from the sstate (populate_sysroot_setscene run for
postinst-useradd-* providers), pseudo fails to run because it cannot
access the PSEUDO_LOCALSTATEDIR (recipe ${WORKDIR}s do not exist).
This triggers a sysroot staging error.
Previously, the PSEUDO_LOCALSTATEDIR setting in useradd.bbclass
worked because the RSS sstate/staging logic automagically processed
${STAGING_DIR_TARGET} in postinst-useradd-* scripts to point under
the sysroot being built.
The fix uses the same fixme processing by adding PSEUDO_LOCALSTATEDIR
variable to it. Furthermore, LOGFIFO is added to be able to use
the logging fifo of the recipe that actually runs postinst-useradd-*.
(From OE-Core rev: b28374cfad37db161b5ac5953b4a4638912f3f27)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This backport fixes from upcoming 2.9.4 release. Those are:
- Fix: vmalloc wrapper on kernel < 2.6.38
- Fix: vmalloc wrapper on kernel >= 4.12
- Add kmalloc failover to vmalloc
- Fix: mmap: caches aliased on virtual addresses
- Fix: update ext4 instrumentation for kernel 4.13
- Fix: Sleeping function called from invalid context
- Fix: sched for v4.11.5-rt1
- Fix: handle missing ftrace header on v4.12
This fix failures in some BSP layers which are using Linux 4.13
already.
(From OE-Core rev: 45ab93e74252f40dbe777000e1b33f4b3783536e)
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>
With RSS we need to ensure that when making a bmap image that the
python3 that we created is found via /usr/bin/env rather than the host
python3. Otherwise we're relying on the build host to have bmaptool
support installed.
(From OE-Core rev: a93c5869cb716cba5e05bbe4fc2e1c11adb9e30f)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When faced with multiple sets of licenses combined with | (OR), it was
possible for oe.license.is_included() to choose a set of licenses with
a blacklisted license and then report failure, even if choosing
another set of licenses would have resulted in a successful
result. This happened when the chosen set still contained more
whitelisted licenses than the other set.
This change makes sure a set with any blacklisted license is always
considered with a lower weight than a set with only whitelisted
licenses.
Example: Faced with the license string "GPL-3.0 & GPL-2.0 & LGPL-2.1 |
Proprietary" and with "GPL-3.0" being blacklisted, the old code would
report a failure since "GPL-3.0 & GPL-2.0 & LGPL-2.1" still contains
more whitelisted licenses than "Proprietary" does.
This change also adds a unit test for oe.license.is_included().
(From OE-Core rev: 312b4d6175e189852c0787ca2fe99b99ce92d1bd)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The RDEPENDs will not be satisfied for certain architectures,
so skip the recipe in those cases.
(From OE-Core rev: 50cfc0d7118c747726445a9be7bc4c496dbb8248)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building for a target whose architecture matches
the build host's, the second pass through make.bash
to build the shareable runtime would also overwrite
the target's static cgo library with host-compatibile
binaries.
Fix this by running the host-side build once and
target-only passes of make.bash twice, for static
and shareable. This ensures that what gets installed
is target-compatible.
Also fix an issue with x86-64 targets running MUSL by
removing the pre-built (for glibc) objects for the
race detector runtime before building.
[YOCTO #12136]
(From OE-Core rev: 070f4af529c84a3c8c0b1ffc7b138bdd9e8439b7)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the TUNE_FEATURES references from go_map_arch,
to avoid an unwanted variable dependency. Direct
comparisons of the architecture name are sufficient
for covering what Go currently supports, and using
TUNE_CCARGS_remove adequately handles the conflict
with the cgo-supplied flags for mips.
(From OE-Core rev: 1bc4c1d880096083d1891a74024fb225a6340b9b)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following commit:
[
commit 578c8205fd14c48c6d30ef2889d86f1b4aee060a
Author: Mikko Rapeli <mikko.rapeli@bmw.de>
Date: Thu Jun 22 16:23:14 2017 +0300
meta: Fix return value checks from subprocess.call()'s
Python function subprocess.call() returns the return value of the
executed process. If return values are not checked, errors may
go unnoticed and bad things can happen.
Change all callers of subprocess.call() which do not check for
the return value to use subprocess.check_call() which raises
CalledProcessError if the subprocess returns with non-zero value.
https://docs.python.org/2/library/subprocess.html#using-the-subprocess-module
All users of the function were found with:
$ git grep "subprocess\.call" | \
egrep -v 'if.*subprocess\.call|=\
+subprocess\.call|return.*subprocess\.call'
Tested similar patch on top of yocto jethro. Only compile tested
core-image-minimal on poky master branch.
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
]
Added return code checking to do_diffconfig. Although the change is
well intentioned, it isn't correct in this instance since 'diff' returns
'1' to indicate that there are differences in the files .. and not as
an error code.
subprocess.check_call() flags this as an error and the routine aborts.
We are already checking the inputs, and in fact already know there's a
diff in the files before we even make the call, so there's no need to
look for an error in this case.
Putting back subprocess.call() restores the routine to working order.
[YOCTO #12132]
(From OE-Core rev: ec48b8fd79181978f90b4b0ab00fbe78ddbd416e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Generating the host keys atomically prevents power interruptions during the
first boot from leaving the key files incomplete, which often prevents users
from being able to ssh into the device.
[YOCTO #11671]
(From OE-Core rev: 221b40f1f08ee23511ba078a1efd01686922e932)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
read_header in archive_read_support_format_rar.c suffers from an
off-by-one error for UTF-16 names in RAR archives, leading to an
out-of-bounds read in archive_read_format_rar_read_header.
Backport the patch from
https://github.com/libarchive/libarchive/commit
commit 5562545b5562f6d12a4ef991fae158bf4ccf92b6
CVE: CVE-2017-14502
(From OE-Core rev: 0bedb69abff85cc07ad4a54eed41d15d0a38c080)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To be able to better debug remove() behaviour, add more logging
to rpm calls via bb.note(). The change also makes remove() logging
more consistent with other package managers' remove() (e.g., opkg).
(From OE-Core rev: 1a90c97616698050529e169a83e6f07a255687df)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With "read-only-rootfs" in IMAGE_FEATURES, packages in ROOTFS_RO_UNNEEDED
are removed when building the rootfs. The list of packages to remove is
passed to the package manager and the list is sorted so that
update-alternatives provider is the last entry. This is with the
assumption that the last entry on the list/command line is removed last.
However, it turns out rpm does not care about "last on the command
line" and update-alternatives provider is removed before other the
packages get to run their %preun scripts for update-alternatives.
This leaves broken alternative symlinks in rootfs.
The fix is to first remove all but update-alternatives provider and
after that update-alternatives provider in its own remove() call.
(From OE-Core rev: 0a8639593c11ef0cfb3a3a514b17e36318b8e8f2)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit glib-2.0: recommend shared-mime-info
(51e4f9ca5368af5cefa26f4ca50b282e858982f8) broke compilation when cross
compiling for Windows. This patch removes the recommendation for
shared-mime-info when using MinGW cross compile.
(From OE-Core rev: cc9d855660db27e82d1b37ab5d1820c556827635)
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a device is opened for RW closing it can trigger other actions,
like udev scanning it for partition changes. Use read only for the
init_* methods and RW for actual changes to the device.
This adds _device_open which takes mode flags as an argument and turns
linux_open into a wrapper for it with RW_MODE.
_device_open_ro is added to open the device with RD_MODE and increment
the open_counter. This is used in the init_* functions.
_device_close is a wrapper around linux_close that decrements the
open_counter and is used in the init_* functions.
All of these changes are self-contained with no external API changes.
The only visible change in behavior is that when a new PedDevice is
created the device is opened in RO_MODE instead of RW_MODE.
Resolves: rhbz#1245144
Reference:
https://bugzilla.redhat.com/show_bug.cgi?id=1283112
Upstream patch:
http://git.savannah.gnu.org/cgit/parted.git/commit/?id=44d5ae0115c4ecfe3158748309e9912c5aede92d
(From OE-Core rev: f68fca4776a38a1bdf7ed37ce87cddbb21ff74f8)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The string in the manual revision table needed updated across the
set except for the kernel-dev manual.
(From yocto-docs rev: e087a707e02ff913baba2ac8bc6594206f53f70c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided a description for metadata in the context of the kernel
that ties it to the yocto-kernel-cache Git repository rather
than the old meta-* directories that were in the actual
kernel trees.
(From yocto-docs rev: 7105459bf687cad7d973d8bdffbc51c9ffcd9721)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using Scotty's Documentation Services, INC. and Scott Rifenbark
as the author. Added a note in the note box to send an email to
the yocto@yoctoproject.org discussion group or log into the freenode
(From yocto-docs rev: 657ef0a09a72c023dd2ab523ff3c7ad1e7a2efea)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed to remove an old example that was showing how two BSPs could
share the same KMACHINE value. I replaced it with corei7-based
machines. Also noted that KMACHINE is for kernel mapping only
whereas MACHINE is for the layer's BSP machine type.
(From yocto-docs rev: c1dad2815b6fd1ed78e0dce0fecb422f342eaf14)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Formatting changes for the list.
(From yocto-docs rev: df1201085408eec45d8fbf649e80437299daa0e8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section was written before the yocto-kernel-cache strategy
existed and was thus incorrect. I updated it with how I understand
things to work.
(From yocto-docs rev: 629f24c9312a168ddcd28b0d9dde92ff06068483)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section was using the "meta-*" stuff, which is not how it
is done any longer.
(From yocto-docs rev: c9d95e85a832a38c3fd099a728693af3fa708d50)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a more relevant example from the 4.12 Yocto Linux kernel
recipe.
(From yocto-docs rev: 98c40729b2b22a2ac8444d899848c05880cb920b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introduced the "yocto-kernel-cache" term into the title.
(From yocto-docs rev: ca74c49e2809851bb22bbe0d68830127d7bba4e9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section had some old emenlo examples and was a little
confusing. I removed the old examples and inserted some new
wordings to help smooth it out.
(From yocto-docs rev: 365129e0cd37772f404d96a51eb498210e4f1ee9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The description had gone stale and was referencing a linux
yocto kernel we don't support and BSPs we don't support. Updated
it.
(From yocto-docs rev: 5041a2a26d703a885437abcedb24c7600d5365cd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I provided some background on two repositories: yocto-kernel-cache
and yocto-kernel-tools.
(From yocto-docs rev: 1741d6efd4ff8364a55d546897cab5e7cdee6da5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Scrubbed this section to bring it up to speed with more modern
BSP examples and better explanation of the types of Metadata
used.
(From yocto-docs rev: ba009de68a3786f83d9c3c9debffa8b811479786)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"cfg" and "features" used to reside in the linux-yocto-x.x repo
under meta. They are now in a separate repo named
yocto-kernel-cache. I rewrote a couple spots that incorrectly
referenced the old location.
(From yocto-docs rev: e643fc3df46658b8bcf9cdc12a78b527988b63a6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section has merged into a single topic now. It still needs
work but it is gathered under one heading for now.
(From yocto-docs rev: 660ed8b64dedbab5400c84ec3759cea77c899c40)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section was largely redundant now. The small things that did
add value I placed in other areas of the chapter 2. One was a new
section on expanding variables using bitbake -e. Another was a bit
about the defconfig file. And a small procedure on how to create
config fragments using the "diffconfig" command was retained.
Links from the dev-manual and the ref-manual were adjusted as well.
(From yocto-docs rev: 7059d3eac1fec20089cabf197503f1bec747686d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided a new section on how to validate the configuration of the
kernel.
(From yocto-docs rev: 25f43d1baeff7d571fc60c7edca957d4ce6d6357)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section needed some formatting to conform to the list structure
used throughout the manual.
(From yocto-docs rev: b6e6b66014963c1628c50e09787fdd46a45867b1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This procedure needed to be pulled out of the section that was/is
called "Using an Iterative Development Process". The section on
how to deal with "dirty" kernel version strings is a procedure
in its own right. It is now up a level.
(From yocto-docs rev: cd8834fa8d77ac750b06c3367aee577c80dcc64e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This chapter is not used and was commented out. I deleted the
comment block.
(From yocto-docs rev: c805d1034b9f9bed5990cd2bcb3a9088e3d0d542)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11392]
Updated the section to document how to specify a branch,
tag, or revision when using devtool add with a remote
URL.
(From yocto-docs rev: 903b4a4e72908572a5f8b8c822869bbd0fe76ec9)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A lot of rewriting here in this section to get it up to speed.
Also, moved that final section on determining hardware and
non-hardware features into an appendix where it belonged.
(From yocto-docs rev: 752e80d6ae8f81a0de7743b11b010d0ef36b314b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Script name changed to "yocto-check-layer".
(From yocto-docs rev: 545a90dd2816c4e97dc70efc76c7cca49684c2d8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Section "Using an 'In-Tree' defconfig File" updated to use a
more syntactically correct KBUILD_DEFCONFIG_KMACHINE example.
(From yocto-docs rev: 64e6b16703fa3ce9ac8db25de8089d32ac7aeafc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Should have been two commits but I forgot to do them separately.
1. I updated the YP Compatible Program section.
2. I moved the "Configuring the Kernel" section from the dev-manual
to the kernel-dev manual.
(From yocto-docs rev: cdb5bbc917db55a2ca987ce9b9ed371f9fca6524)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If SERIAL_CONSOLES is set to empty for some reason, we would have rootfs
failure like below.
- nothing provides systemd-serialgetty needed by systemd-1:234-r0.core2_64
This is because systemd-serialgetty package is not generated when
SERIAL_CONSOLES is empty.
Set ALLOW_EMPTY to "1" for this recipe to allow for generation of empty
systemd-serialgetty package to avoid the above error.
(From OE-Core rev: abf2e9526a11bcb51b71b90a7b76bd33af656494)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As 4.4 is the lowest kernel version in oe-core, we can add the dtb for the
beaglebon green to the list of dtb's to generate.
(From meta-yocto rev: dc77383ca352431cba7cb779899220db4eaa0cba)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since systemd-boot is a bootloader, it needs to be built for
the native IA instruction set size and x32 is not valid.
(From OE-Core rev: 8c9ee404fe2a5e703f14c70092137c8d0ac0a6c2)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently systemd-boot actually incorporates libgcc, since the
systemd-boot needs to be built with 64bit instructions it can not
use the x32 based libgcc.
Use the new override to ensure it gets overriden, linux-gnux32 could
not be used because x86-64 has higher priority.
(From OE-Core rev: 6046b9a3d76738c459ad76f5296e7b0a54c0b2e0)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed as an x32 more generic x32 override later in the
OVERRIDES, currently linux-gnux32 is the first override, but we
need a stronger (later in the list) x32 override to deal with some
needed x32 dependency overrides.
(From OE-Core rev: 364b3698b78e9fea59d24e3a3a5f4476be95f6d1)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With default --without-nghttp2 flag set there was no way to get
http2 protocol support using nghttp2 library. Instead moved it to
PACKAGECONFIG options
(From OE-Core rev: bcc8560300c8b1218b1f3709f5a7732e17fbfa46)
Signed-off-by: baali <shantanu@senic.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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'
This is the same fix as 7e3a7cd2426feac757def81850dc44156cd0f33e, but this applies
to runtime (instead of signing).
[YOCTO #11821]
(From OE-Core rev: f28e8131f69913ff90ed210c7a58726d3ef37db6)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newer versions of gpg (at least 2.1.5 and 2.2.1) have issues when signing occurs in parallel
so (unfortunately) the signing must be done serially. Once the upstream problem is fixed,
this patch must be reverted, otherwise we loose all the intrinsic parallelism from
bitbake.
[YOCTO #12022]
(From OE-Core rev: 5301712f9735fcf8d3dec756772668de930e53fe)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This image is very large and is skirting the maximum size of hddimg images (4GB,
as they're embedded inside FAT partitions). Making the image 10MB bigger can be
enough to cause the build to fail. This image is also used by QA so currently
we need to keep it working.
The default values for expanding an image to give it usable space are quite
generous, (3GB rootfs * 1.3 gives 1GB of empty space), so change the overhead
multiplier to 1.0x and explicitly request just 0.5GB of empty space in the
images.
This should give us a bit more breathing room until we can either remove hddimg
from the default build, or make this image dramatically smaller.
(From OE-Core rev: 98d9d8958fd5a3bba849e9051bf0310c28b551c2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create an option to wic doesn't change fstab file, the final
fstab file will be same that in rootfs and wic doesn't update
file, e.g adding a new mount point.
Users can control the fstab file content in base-files recipe.
This is useful if you want to only create an partition but not
add fstab mount point or add new mount point using label e.g:
LABEL=recovery /recovery auto defaults 0 1
(From OE-Core rev: 00420ec42140c1b752132bda190dede85756d157)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Search made with the following regex: getVar ?\((.*), True\).
(From OE-Core rev: b848c3cb495905605283c57c79f2ed8ca17758db)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Search made with the following regex: getVar ?\((.*), True\).
(From OE-Core rev: dbc0eaf478feb3f752ae22fd184984494fc85d0a)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file belongs to systemd-container package , not to systemd package.
(From OE-Core rev: 9c1ec618860404bef0348bb17efcfb5c93cc360f)
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that mips and security flags fixes are in place
in the bbclasses, remove the local settings in this
recipe.
(From OE-Core rev: 8a6b6c76dfc73aa6690f09dc2e0c16b81155f2d6)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the security_flags.inc file is included, gcc
will do PIE builds by default. These flags need
to be disabled for go packages that use cgo.
(From OE-Core rev: 5d84042852380fc88b9be8df0e4eeac612c2a6da)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix the regular expression in the mips test
* Flag as incompatible any mips32 tunes for n32 ABI
or soft-float, as go does not support them.
* Replace mips32r2 tune with mips32r1. Go only supports
mips32r1, which is a strict subset of r2. Adjusting
this tune is not ideal, but is hopefully a temporary
measure until more complete mips32 ISA coverage
arrives upstream.
[YOCTO #12108]
(From OE-Core rev: bdd20c296048937737da0f10bd1a3b63843c5bf4)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This requires MD5 sum updates for
- LICENSE.QualcommAtheros_ath10k: year change
- WHENCE: various version updates and addition of new firmwares
The new firmware for Qualcom Venus causes a QA error:
QA Issue: linux-firmware: Recipe inherits the allarch class, but has packaged architecture-specific binaries
Since firmware typically do not run on the CPU, the architecture of
the firmware file is independent from the CPU architecture the image
will be running on. Disable the QA check for the linux-firmware
package by default.
(From OE-Core rev: a83dd65e64e9b7fa702927f96947bd3f0537adfd)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are cases where the 'while loop' waiting for login prompt fails
and the bootlog variable does not get populated, thus use the the new
qemurunner member (self.msg) which stores all output coming from the qemu
process.
[YOCTO #12113]
(From OE-Core rev: 39ffa0f3779305c5e8ef86fe4572e961c5912021)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't need a dependency on this variable changing, and having one
causes locked signature warnings during eSDK installation if you have
INITRAMFS_IMAGE_* set (since TOPDIR will always be different between
the eSDK and the environment in which it was built).
Relates to [YOCTO #12102].
(From OE-Core rev: 073610af04be326f9245ca91714526b390fb72cd)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the destination is a directory, building the the destination file
path is always needed. That's because even if the copy fallback is
taken, it's always followed by a rename.
(Bitbake rev: 14c17480827ced2e03c1b62dc839696421fc4de8)
Signed-off-by: Alberto Mardegan <amardegan@luxoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were seeing cases where we could hit the 5s timeout on large/fast machines
running many different tasks at once. Increase this to 30s since the main
connection timeout path should no longer hit this slow path.
[YOCTO #12116]
(Bitbake rev: 131d4b8a5834781a93ed41e2967d8dcd4d80f29a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding distcc to an image, and having staticids enabled,
doesn't work as it causes a a superfluous 'distcc' group
being added using a conflicting GID, thus failing the
build:
| ERROR: distcc-3.2-r0 do_prepare_recipe_sysroot: distcc: groupadd command did not succeed.
Compared to other recipes, the distcc recipe only
specifies --gid for the primary group, and doesn't specify
--no-user-group, but when --gid is given, it doesn't make
sense to create a matching username-group in addition,
even if --no-user-group was not specified, and 'useradd'
actually complains if --gid and --user-group are given
both.
If only --gid is given, the current code in here
effectively behaves as if --user-group was specified,
taking the group-id of the username-group from the
--gid parameter. This causes the error above, as we try
to add a new group (distcc) with an existing group-id
(nogroup).
This is contrary to the comment in this file just above,
contrary to what useradd can do, contrary to behaviour
without the useradd-staticids bbclass, and non-intuitive.
Change the code such that a username-group is only created
- if a primary group using --gid was not specified, or
- if --no-user-group was not specified
To be in line with useradd, if gid is not given, and
--no-user-group is given, we add the user to the group
'users', which mimics useradd's behaviour.
(From OE-Core rev: fc3a86ae68919cec72c1a8ae0f9ba1f98ae13f0d)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The staging changes were very verbose in their logging and whilst this is useful
when staging issues occur, those thankfully seem rare now and we can tune down
the logging to a sane level. This improves the readability of error messages from
functions that fail.
The code is still verbose when its replacing things in the sysroot.
(From OE-Core rev: a22d44c6bef7ea1be90aeb32ccd7502d3135a266)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This changes the pseudo FASTOP functionality so that a reply to the
operation is required. This means we then cannot lose data if a connection
is closed. This in turn stops corruption if we run out of file handles
and have to close connections.
This tweaks the connection closure patch to update the comment there which
is now outdated.
(From OE-Core rev: eb49d50b4c342069087886f2aac546805647c066)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alternative solution to original commit
60c90398580998b2379bb438f0f75b29285135a5 ("u-boot: fix extlinux
creation race")
(Untested)
(From OE-Core rev: e44b72ab45c757cc83c7856c118588f1af299790)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 60c90398580998b2379bb438f0f75b29285135a5.
This causes circular dependencies when UBOOT_SIGN_ENABLE is active.
These are usually caused by circular dependencies and any circular dependency chains found will be printed below. Increase the debug level to see a list of unbuildable tasks.
Identifying dependency loops (this may take a short while)...
ERROR:
Dependency loop #1 found:
Task u-boot.bb:do_concat_dtb (dependent Tasks ['kernel.bb:do_assemble_fitimage'])
Task u-boot.bb:do_install (dependent Tasks ['u-boot.bb:do_concat_dtb', 'pseudo_1.8.2.bb:do_populate_sysroot', 'u-boot.bb:do_compile'])
Task u-boot.bb:do_deploy (dependent Tasks ['u-boot.bb:do_deploy_dtb', 'u-boot.bb:do_install'])
Task .../recipes-kernel/linux/kernel.bb:do_assemble_fitimage (dependent Tasks ['kernel.bb:do_compile', 'u-boot.bb:do_deploy'])
(From OE-Core rev: 7da4c0a56eb2027b3e36b9e42f1f83dfb02bb920)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The are use cases where the Device Tree appended to the kernel is
convinient, so we generate the bundle concatenating the kernel (and
potentionally the initramfs) and the Device Tree binaries.
To enable it, set KERNEL_DEVICETREE_BUNDLE variable to '1'
(From OE-Core rev: f044567326988e84e5d72040e9387c3240836ddb)
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>
The sna mode causes screen distortion issue on board MinnowMAX
described in this link:
https://bugs.freedesktop.org/show_bug.cgi?id=100700
The uxa mode is verified to not have above issue.
uxa is more stable and has more releases than sna.
So use uxa to replace sna as the default acceleration mode.
(From OE-Core rev: ce935784cfc53c029c8dfa969d08ee43a8831b60)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
MIPS generates vmlinuz.bin when compression in the kernel build is
enabled, including any necessary objcopy so we can leverage that
and skip our manual invocation of objcopy here. We just have to
put the file into the right place for the rest of the build to
find it.
(From OE-Core rev: 00bc7682473c2558d72ba42c182f8e3bd445f8af)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the remaining local change to a fix similar to
commit e0b4f018d1c2 ("kernel-uimage.bbclass: Fix up
generation of uImage from vmlinux"):
Make awk exit on match to save a few CPU cycles so as
to make this similar to kernel-fitimage.bbclass
(From OE-Core rev: 614e8be7a89a2f2113fa40b11e7a05b9e8155f6a)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- vmlinux is located in ${B}, not ${S}.
- parsing of nm output got broken completely in commit
b406a89935f148779569fa3770776e009dd51f13 ("kernel-fitimage: add
initramfs support"), commit ec755d2524
in yocto
While at it, make awk exit on match to save a few CPU cycles.
(From OE-Core rev: 9d2ec9c046c4a9c6a842d28133d40639f5a65297)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can't build fitImages for MIPS any more:
| Error: fit-image.its:21.27-28 syntax error
| FATAL ERROR: Unable to parse input tree
| uboot-mkimage: Can't read arch/mips/boot/fitImage.tmp: Invalid argument
Since commit cd2ed7f80b555add07795cc0cbaee866e6c193a3
("kernel-fitimage: dtb sections named by their filenames
and one config section for each dtb"), commit
1ec405ef5d in yocto, dtb
sections are named by the DTB filename, but the filename
can legally be in a subdirectory below
arch/$arch/boot/dts/, and on MIPS all DTBs are actually
in a subdirectory.
If so, mkimage fails with the above error message.
Unbreak this by replacing the offending character
(directory separator /)
(From OE-Core rev: 335fc50cf54e47db4e3d5c35a9846484faf0270f)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set RCONFLICTS to disallow multiple syslog daemon providers to be installed
on the target, and remove codes that deal with such situation.
Also, set ALTERNATIVE_PRIORITY back to 100. It was set to '10' in case of
systemd because sysklogd didn't have systemd support. For now, if we disallow
multiple syslog daemons to be installed, and it stays '10', then if sysklogd
is installed on target, the /sbin/syslogd would link to /bin/busybox.nosuid,
causing sysklogd service files using busybox's utility.
(From OE-Core rev: ecc116603079b45b1fa69c3d4537b19b28707859)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set RCONFLICTS to disallow multiple syslog daemon providers to be installed
on the target at the same time, and remove codes which dealt with such
situation.
Supporting multiple syslog daemons on the same image doesn't have much sense.
rsyslog and syslog-ng in meta-oe have set RCONFLICTS to disallow this. And
we do the same for busybox.
Also, remove the line of creating a meaningless symlink of
/lib/systemd/syslog.service to /dev/null.
(From OE-Core rev: 597bbf99ee8e88294f2ed96c84a51f9ed83e8933)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
106b59d9 broke SSH host key generation when systemd and a read-only root file
system are in use because there isn't a way for systemd to get the optional
weak assigment of SYSCONFDIR from /etc/default/sshd and still provide a default
value if it is not specified. Instead, move the logic for determining if keys
need to be created to a helper script that both the SysV init script and the
systemd unit file can reference.
This does mean that the systemd unit file can't check for file existence to
know if it should start the service, but it wasn't able to do that correctly
anyway anymore. This should be a problem since the serivce is only run once per
power cycle by systemd, and should exit quickly if the keys already exist
(From OE-Core rev: 7e49c5879862253ae1b6a26535d07a2740a95798)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It can be useful to have multiple partitions with '--source bootimg-partition'
but different content.
E.g. for TI AM335x, one boot partition can contain an first stage
bootloader ("MLO"), while the real bootloader and kernel plus devicetree
are in another one.
Patch allows to specify multiple IMAGE_BOOT_FILES with optional "_label-XXX"
or "_uuid-XXX" overrides.
E.g. with this patch, a .wks file with
| part --source bootimg-partition ... --label=mlo --active
| part --source bootimg-partition ... --label=boot0
| part --source bootimg-partition ... --label=boot1
and a recipe with
| IMAGE_BOOT_FILES_label-mlo = "\
| MLO-${MACHINE}.img;MLO \
| "
|
| IMAGE_BOOT_FILES_label-boot0 = "\
| u-boot-${MACHINE}.img;u-boot.img \
| zImage \
| "
|
| IMAGE_BOOT_FILES_label-boot1 = "${IMAGE_BOOT_FILES_label-boot0}"
|
| WICVARS += " \
| IMAGE_BOOT_FILES_label-mlo \
| IMAGE_BOOT_FILES_label-boot0 \
| IMAGE_BOOT_FILES_label-boot1 \
| "
is possible. It will create one partition with the MLO and two redundant
ones with the uboot + kernel.
(From OE-Core rev: 8c1dec627e9735260516fe8f0b2bfdb0ee70172b)
Signed-off-by: Enrico Scholz <enrico.scholz@ensc.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recently a number of changes have happened on the implementation
side of some image formats, and a few have been renamed.
The u-boot image signing code is now always available and no
longer in a stand-alone file. The vmdk/mdi/qcow2 images have
been removed and are now just a conversion type that is applied
to wic images.
Reported-by: Tom Rini <trini@konsulko.com>
(From yocto-docs rev: ce86da3d48507cee12208e0138c285b4be83d8cd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes based on a run through of the procedure.
(From yocto-docs rev: 0a526bb15f597843d1e5da1eeca0a952c6c5016f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In several examples, hardcoded versions of release names and
versions were being used. I updated to use variables from
poky.ent so that examples would use most recent release.
(From yocto-docs rev: 53f8e92075cc34538f36d7fba392ea1ac9a6dd1f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11968]
Purged all occurrences of the "oe-init-build-env-memres" script
from the YP documentation set. Occurrences in a lot of places.
The BBSERVER variable was also impacted and had to have the
definition updated.
(From yocto-docs rev: 274b05108d1bc53df20c11ab2efa15363bce23da)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Put this note at the end of the traditional kernel development
flow. A way for the user to verify that the patch was applied
for a subsequent build.
(From yocto-docs rev: 598a518cd92980e1781649a3ed30ac585327dc0f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Discovered this item in the front of the glossary was commented
out and not showing up so the user did not have the option to
click on "N" to quickly get to the "N" entries, which did exist
and show up. Uncommented it and put the proper beginning "N"
variable in as the start.
(From yocto-docs rev: 6d51dfb9de53db1222f68a6f0325eaad1a12cd6b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the following patches since they are unused after qemu update to
2.10:
0001-replace-struct-ucontext-with-ucontext_t-type.patch
CVE-2016-9908.patch
CVE-2016-9912.patch
configure-fix-Darwin-target-detection.patch
(From OE-Core rev: d303f61e28b0ecc2352739a07680bfdeb3544080)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ptest-runner would segfault with -t option:
root@qemux86-64:~# ptest-runner -d /usr/lib test_pkg -t 5
[ 237.234112] ptest-runner[810]: segfault at 0 ip 000000382e638060 sp
00007fff9130f400 error 4 in libc-2.26.so[382e600000+1a7000]
It is safe to bump SRCREV to latest upstream commit to fix this issue
because there is only one commit since the last update:
commit 8a93832dad621535e90aa8e1fb74ae5ba743fc3e
Author: Anders Wallin <wallinux@gmail.com>
Date: Sun May 28 11:47:00 2017 +0200
timeout option missing the argument option ":" to getopt
ptest-runner -t xx gives segfault
Signed-off-by: Anders Wallin <wallinux@gmail.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
(From OE-Core rev: 503ce98bb89dfa019faff872121c8911e6465b05)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building poky-tiny for x86-64 seems fine, but when executing qemu
it complains during boot time about not being able to execute init:
[ 5.409730] Failed to execute /init (error -8)
And then it drops to a login prompt (which it should't do on tiny)
This is supposed to be complaining about init's format, it only happens
on x86-64 architectures so perhaps is a 32/64 bit issue, but since
core-image-tiny-initramfs does not actually provide a traditional init,
the script is simply meant to drop to shell, we can workaround the issue
by specifying the kernel to run the init script via busybox's sh,
dropping to shell correctly on x86-64 leaving x86 unaffected.
(From OE-Core rev: f15de8cf177f8f736c180c1dcaa942a9931865d4)
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>
If gdb01 testcase runs as background process, gdb can receive SIGTTOU
and then the case gets stuck. Replace stdin with /dev/null to fix this
issue. The patch is backported from upstream.
(From OE-Core rev: b38a44e3ca30a8fe83bdccb4ee2b7748b3f7f223)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It contains cached metadata for a transient repository that is used
only when creating images on the host, and so is of no use on target
images. Dnf will recreate the cache on target when needed.
(From OE-Core rev: 89ddf2516b713e6622df95ab391423b033d4271a)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The core path variables (TMPDIR, DL_DIR, SSTATE_DIR) don't use tilde expansion
but if the user does then the errors are very mysterious, so check on startup.
(From OE-Core rev: 2fb74abbe07b6b82a715ac0fe16449bd8420110e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"Yocto Project Compatible" [1] is a programme which requires you meet
specific criteria including going through an application process - it is
not sufficient simply to run the script we have created here and have it
produce no warnings/errors. To avoid people being confused by the fact
that this script uses the term "compatible" or variations thereof,
substitute usage of that word with "check" instead. The functionality of
the script is unchanged.
[1] https://www.yoctoproject.org/ecosystem/yocto-project-branding-program
(From OE-Core rev: 2a6126a115f10750ea89f95629d3699ad41c5665)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow to search header files and libs from native sysroots.
For example, an expanded BUILD_CFLAGS includes:
'-isystem/builddir/to/linux-yocto/recipe-sysroot-native/usr/include'
And an expanded BUILD_LDFLAGS includes:
'-L/builddir/to/linux-yocto/recipe-sysroot-native/usr/lib
-Wl,-rpath-link,/builddir/to/linux-yocto/recipe-sysroot-native/usr/lib
-Wl,-rpath,/builddir/to/linux-yocto/recipe-sysroot-native/usr/lib'
(From OE-Core rev: 37f20f2f7bdc8b964736c09371cd8f2342e4d5cb)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When selected multiple subimages a similar error could happend:
Variable do_image_cpio[subimages] value changed \
from 'cpio.gz.u-boot cpio.gz' to 'cpio.gz cpio.gz.u-boot'
To avoid this, 'ctypes' should be sorted at 'gen_conversion_cmds'.
This garantee that 'CONVERSION_CMD_xxx' are always written in tha same
order and consequently 'do_image_cpio' have the same hash.
(From OE-Core rev: 271f1a5f65b8685a1e3645026876251122ef3974)
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was noticed that do_image_qa is useless when rm_work is enabled as the rootfs
directory is deleted before image_qa is called.
This indicates that image_qa is incorrectly scheduled as it failing should mean
images don't get generated, so move it between do_rootfs and do_image.
Also, add a little bit more documentation to the comments.
(From OE-Core rev: 62ce334e583ecdf1f93619f4131c0fa5d88d5b02)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- The environment tools target has change to envtools;
- The HOSTCC variable must be used to set CC for cross;
- Drop ARCH variable as it is set on config;
(From OE-Core rev: 73afabf8e69019f08b424a06f3eafaab052b0606)
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>
Different squashfs versions have IMAGE_TYPE with hyphen (eg squashfs-lz4).
Tasks on the other hand have names with underscore (eg do_image_squashfs_lz4).
(From OE-Core rev: ab3cdfbd24844506647b75002f531b0b82b87be4)
Signed-off-by: Tomasz Meresiński <tomasz.meresinski@comarch.pl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Github-generated tarballs can and do change over time, so point at the
archived tarball website that the maintainer hosts.
(From OE-Core rev: 5a1f79ed3d243955401b45cf21f539126f67677e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A regression was introduced by me in commit 767335c9:
[ cross-canadian.bbclass: override TARGET_* flags ]
it causes BUILDSDK_C/CXXFLAGS being exported in environment-setup
script built from meta-environment recipe, which is wrong, restore to
TARGET_C/CXXFLAGS.
(From OE-Core rev: 44160df561a1b10b4c7a74558bdfe6b58ee0a9ec)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By setting systemd-serialgetty to rdepend on systemd, we are making
configuration files have runtime dependency on the main utility that
uses those configuration files. Applied with the same logic, we should
make any package that provides service files under /etc/init.d/ to have
runtime dependency on sysvinit. And this is not right.
So we should remove systemd from RDEPENDS of systemd-serialgetty.
Besides, as we have changed systemd to have systemd-serialgetty in its
RDEPENDS by default, we should avoid circular dependency issue.
(From OE-Core rev: 060088f256f8134ad68a7b5e493ddfa78a0382ea)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set NO_RECOMMENDATIONS to "1", build and start a systemd image, and we
could not get serial getty spawned, thus causing the user not able to
login via serial port.
E.g.
MACHINE=qemux86-64 bitbake core-image-minimal
runqemu qemux86-64 nographic
And we cannot login onto the system.
Move util-linux-agetty and systemd-serialgetty (determined by PACKAGECONFIG)
from RRECOMMENDS to RDEPENDS to fix the above problem.
(From OE-Core rev: 39e78c7615cdaaa8ad61a67d5c5bf7ff877167df)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To help users find the work and log directories (especially within the
eSDK) we create symlinks to these from the source tree. However during
do_buildclean we call "make clean", and some project Makefiles which
delete something like "*/*/lib" which will match files underneath the
oe-workdir symlink and fail. do_buildclean is called from do_clean which
is in turn called by devtool reset by default, and thus devtool reset is
blocked. An example of a recipe where this is visible is the openssl-qat
recipe in meta-intel.
In order to fix this, delete the symlinks at the start of do_buildclean
since we shouldn't need them at that point anyway, and thus make clean
won't be able to trip over them.
Fixes [YOCTO #11036].
(From OE-Core rev: 927b3b05a7f6b85967f7375b1942605fe8d37d0c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To improve binary reproducibility, only the
relevent part of the Makefile in bzip2-ptest
package that run-ptest needs are copied to
the destination directory.
bzip2-ptest requires Makefile. The original
Makefile contains references to build host.
By copying only the relevent part,
we avoid those references making their way
into the target system
Used Makefile.am as the source to extract
the revelent part instead of Makefile as
it is easier to parse than Makefile.
A redundant command in do_install_ptest()
that repeat the copying of Makefile that
was already copied by Makefile's install-ptest
step is removed because it now interfers with
the creation of the new Makefile by
make's install-ptest.
[YOCTO #11596]
(From OE-Core rev: 752a8a02d52cf868d1c182672d6ceb3d455dfa1e)
Signed-off-by: Ooi Cinly <cinly.ooi@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having only this utility is useful for tiny initramfs'es which don't
need the whole util-linux package (and neither the busybox binary
which is much bigger than switch_root) to do operations like decrypt
a rootfs & switch to it in the init file.
(From OE-Core rev: 027f1782dfd85b47f34a4a9c8b62a22f57fece7e)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids the following error when the systemd DISTRO_FEATURE is
enabled, but the systemd PACKAGECONFIG is not:
ERROR: bluez5-5.46-r0 do_package: SYSTEMD_SERVICE_bluez5 value
bluetooth.service does not exist
(From OE-Core rev: a751a1f4ab0625cbfedb6445b0da080fc455848f)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unbreak serial console when driver name contains spaces (PXA serial).
Fix commit ac0e954
"start_getty: Over added SERIAL_CONSOLE cause error in userspace log"
(From OE-Core rev: 8b98302c30efb7073f61dc2a166f7414f050ef65)
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
core-image-tiny-initramfs was used to generate a wic image, which was conceptually wrong
since initrafms recipes should only generate the boot artifacts that can later be used
by another recipe to generate an image using the tool of their choice.
(From OE-Core rev: 2a4c65636821be48a8e585491bec40b5048be25d)
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>
QEMU version 2.11 will remove the pixman submodule. This means users are
always required to supply pixman from the system if building softmmu
support in QEMU.
Without specifying a pixman configure option QEMU will default to using
the system pixman if it is avaliable. In which case let's remove the
config option as it is no longer supported in recent commits and is not
required in older builds as the configure system defaults are already
using system pixman.
(From OE-Core rev: db1fc2ec360eb5dad1363634458ec4b56e7bbb9d)
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds the meta-go-toolchain. It enables the generation of a Go
toolchain allowing for cross compiling for target architecture.
(From OE-Core rev: 8e16694b2f4c4038c56226821699d0d21578bdf0)
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>
The go build tool creates working directories under
$TMPDIR for all of its processing. Create a directory
under ${WORKDIR} for this and point TMPDIR at it during
compilation, so that systems that have a relatively
small /tmp filesystems can still compile larger Go
packages.
(From OE-Core rev: 5de3de12c70f01753491c46b5622b0d273c3257b)
Signed-off-by: Matt Madison <matt@madison.systems>
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>
* Add patch for go's make script to allow for
build system != host system
* Add dependencies on the appropriate crosssdk recipes,
and use the crosssdk C compiler and linker
* Remove bashism in the wrapper script
* Restrict installation to only the tool binaries
to address some packaging errors
(From OE-Core rev: e2171f14a2dbf630a926a6792f6e6355f80e18b1)
Signed-off-by: Matt Madison <matt@madison.systems>
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>
Switch to using an external linker for nativesdk
go, go-runtime, and go package builds, which works
more reliably when building 32-bit SDKs.
(From OE-Core rev: f76779f7ef6636355a5aa5741a736f5234a67fdb)
Signed-off-by: Matt Madison <matt@madison.systems>
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>
* The _FOR_TARGET variables need to include SDKNATIVEPATH
* Install tools (cmd) only, and for the build host
* Remove unnecessary FILES setting
Corrects some errors when the build host architecture
is different from the SDKMACHINE's.
(From OE-Core rev: 94cfa563388fb39e6a409eefcae1598a9d426a5c)
Signed-off-by: Matt Madison <matt@madison.systems>
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>
Also update the ASSUME_PROVIDED in bitbake.conf to contain gawk-native
as the dependency is passed in via HOSTTOOLS for native builds.
This allows for recipes to depend on gawk-native, and have the
dependency met if not already provided by the host tools.
(From OE-Core rev: cbc396dd10488990c98bb6fd94c7d10a736d57c1)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were two identical code blocks for writing the
postinst-useradd-${PN} scripts. This combines them into one.
(From OE-Core rev: 0c4259dd3c74d81f20b87417cecb1e636365ce10)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whenever SDKMACHINE is set to mingw32, sdkmingw32 override is defined
everywhere. This meant that value of LDGOLD was different also for
binutils and binutils-cross depending whether SDKMACHINE was set or not.
(From OE-Core rev: 0398f84482dbe5ee99b20e2ca6b3e9984f7ccec5)
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If buildstats are available (for a certain measurement), show recipe
version changes between the two builds that are being compared. The
information shown includes new and dropped recipes as well as changes in
recipe version, revision or epoch.
[YOCTO #11382]
(From OE-Core rev: 46eb839b51bb1466a9feeb09c9c437d6d45576cc)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
More refactoring of buildstats-diff script. Move recipe version
comparison functionality to scripts/lib/buildstats.py. This patch also
compasses some wording changes, i.e. changing 'package' to 'recipe'.
[YOCTO #11382]
(From OE-Core rev: 2f8942d6830258fcbe1925f12ba1516def32d132)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Utilize buildstats, if available, and show a summary of the resource
usage of bitbake tasks in the html report. The details provided are:
- total number of tasks
- top 5 resource-hungry tasks (cputime)
- top 5 increase in resource usage (cputime)
- top 5 decrease in resource usage (cputime)
[YOCTO #11381]
(From OE-Core rev: ddd9443cb2432af2c15b358bfda708393fa3c417)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move over code from buildstats-diff to new scripts/lib/buildstats.py
module in order to share code related to buildstats processing. Also,
refactor the code, introducing new classes to make the code readable,
maintainable and easier to debug.
[YOCTO #11381]
(From OE-Core rev: 8a2cd9afc95919737d8e75234e78bbc52e1494a1)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix some problems in the html syntax of the generated report:
- prevent empty rows in the summary table
- add one missing column in the results table
(From OE-Core rev: 10883bb49ad2f5309883fd352cf320b2e1648615)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Makes it possible to list test results for certain host only, instead of
always listing all results from all hosts.
(From OE-Core rev: 3c07f1f05440234243c570ebfb42dcda2f455a3d)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't crash if 'left' revision is older than the range of commits
specified with '--history-length'. In this case the 'left' revision
takes precedence.
(From OE-Core rev: cbeb1fb27329f8eba4d779d22fcad56f0fb03947)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ruby through 2.2.7, 2.3.x through 2.3.4, and 2.4.x through 2.4.1 can expose
arbitrary memory during a JSON.generate call. The issues lies in using
strdup in ext/json/ext/generator/generator.c, which will stop after
encountering a '\0' byte, returning a pointer to a string of length zero,
which is not the length stored in space_len.
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2017-14064
Upstream patch:
8f782fd8e1
(From OE-Core rev: 17dbfd967019f9b50a9f6aa3f48cd3658fcccc70)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Packages which depends on attr headers fail due
to uint32_t not being defined, this needed header
to include sys/types.h
(From OE-Core rev: af7c8f8a9bfc3396dc729f3fc54c38d19f2aa3fc)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use ucontext_t not struct ucontext in linux-unwind.h files.
Current glibc no longer gives the ucontext_t type the tag struct
ucontext, to conform with POSIX namespace rules. This requires
various linux-unwind.h files in libgcc, that were previously using
struct ucontext, to be fixed to use ucontext_t instead. This is
similar to the removal of the struct siginfo tag from siginfo_t some
years ago.
Backport of patches by Joseph Myers, taken from
https://gcc.gnu.org/viewcvs/gcc?limit_changes=0&view=revision&revision=249957
[YOCTO #12083]
(From OE-Core rev: ec1c18d866c137b1fa523d0fcc29f65a28f59f44)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GitHub dynamically generates the /archive/ tarballs but we're encoding checksums
in the test suite. Change the URL to use a static tarball, and update the
checksums.
(From OE-Core rev: 9c668f9ff989a34e615e2ecc051dadbfe24a5bb4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GitHub automatically-generated tarballs from tags can and do change over time,
so change logrotate to use the uploaded tarball.
(From OE-Core rev: ff1ef935087ca66559c983ba38bf951f174c7115)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GitHub automatically-generated tarballs from tags can and do change over time,
so change libproxy to use the uploaded tarball.
(From OE-Core rev: 1a159da61a8a3d06918f838b1dcec45eed2815a7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Back in the dark days before recipe-specific-sysroots the paths being passed in
this manual construction of the pseudo environment made sense, but now they're
incorrect and result in pseudo writing to two different databases during a
single build. The result is that pseudo doesn't follow changes to /etc/passwd
in the sysroot, and warns in the logs.
Remove the PSEUDO_LOCALSTATEDIR assignment and inherit the correct assignment in
FAKEROOTENV.
(From OE-Core rev: 02457ef7f600ce954874e2d11e74b1c6daaa3bfc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
WARNING: systemd-machine-units-1.0-r19 do_populate_lic: ${COREBASE}/LICENSE is not a valid license file, please use '${COMMON_LICENSE_DIR}/MIT' for a MIT License file in LIC_FILES_CHKSUM. This will become an error in the future
(From OE-Core rev: f2c809b1fe8679892220a06044d9b4bf2c8ae849)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
1) in pkg_postinst task set wanted file permissions:
---> chmod -R 521 "$D/opt/my_folder"
2) generate the rootfs image
Results:
my_folder hasn't correct permissions on rootfs ext4 image -> permissions are changed to 721
But it should be 521.
[YOCTO #11652]
(From OE-Core rev: 8627329341e5a9e7cf6f070778381635cebc0da6)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If FILESYSTEM_PERMS_TABLES was not defined, the default was selected by the
packages.bbclass. This made it difficult for a recipe or layer to 'append'
to the default.
Copy the default into the bitbake.conf, allowing future _append and += style
actions.
Default was remove from package.bbclass. If a value is not set, only the
built-in perms fixes will be used.
(From OE-Core rev: b65736e1b7161619a0c5972376d3e713ccf53850)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alongside reworking the way devtool extracts source, we now need to
ensure that within the extensible SDK where task signatures are locked,
the signatures of the tasks for the recipes being worked on get unlocked
at the right time or otherwise we'll now get taskhash mismatches when
running devtool modify on a recipe that was included in the eSDK such as
the kernel (due to a separate bug). The existing mechanism for
auto-unlocking recipes was a little weak and was happening too late, so
I've reimplemented it so that:
(a) it gets triggered immediately when the recipe/append is created
(b) we avoid writing to the unlocked signatures file unnecessarily
(since it's a global configuration file) and
(c) within the eSDK configuration we whitelist SIGGEN_UNLOCKED_RECIPES
to avoid unnecessary reparses every time we perform one of the
devtool operations that does need to change this list.
Fixes [YOCTO #11883] (not the underlying cause, but this manifestation
of the issue).
(From OE-Core rev: 4e9a0be32fc30fb87d65da7cd1a4015c99533aff)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since it was first implemented, devtool's source extraction (as used by
the devtool modify, extract and upgrade subcommands) ignored other recipe
dependencies - so for example if you ran devtool modify on a recipe that
fetches from svn or is compressed using xz then it would fail if those
dependencies hadn't been built first. Now that we can execute tasks in
the normal way (i.e. tinfoil.build_targets()) then we can rework it to
use that. This is slightly tricky in that the source extraction needs to
insert some logic in between tasks; luckily we can use a helper class
that conditionally adds prefuncs to make that possible.
Some side-effects / aspects of this change worth noting:
* Operations are a little slower because we have to go through the task
dependency graph generation and other startup processing. There's not
really any way to avoid this though.
* devtool extract didn't used to require a workspace, now it does
because it needs to create a temporary bbappend for the recipe. (As
with other commands the workspace be created on the fly if it doesn't
already exist.)
* I want any existing sysroot files and stamps to be left alone during
extraction since we are running the tasks off to the side, and
especially devtool extract should be able to be used without touching
these. However, this was hampered by the automatic removal process in
sstate.bbclass triggered by bb.event.ReachableStamps when the task
signatures change, thus I had to introduce a way to disable this
removal on a per-recipe basis (we still want it to function for any
dependencies that we aren't working on). To implement this I elected
to use a file written to tmp/sstate-control which gets deleted
automatically after reading so that there's less chance of stale files
affecting future sessions. I could have used a variable but this would
have needed to be whitelisted and I'd have to have poked its value in
using the setVariable command.
Fixes [YOCTO #11198].
(From OE-Core rev: 830dbd66992cbb9e731b48d56fddf8f220349666)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
'-' is valid and common in bitbake variables (e.g. 'FOO_pn-bar'). Accept
it and other characters when reading the .env file.
Also, allow variables to be empty.
(From OE-Core rev: e688ac8e92d2bc451d8b2d437596f630bedccd2c)
(From OE-Core rev: 2a69250abf61e51f633033ddb672e8f459191899)
Signed-off-by: Enrico Scholz <enrico.scholz@ensc.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dot '.' character should be allowed in the user paths for
local non-git layers, DL_DIR, and SSTATE_DIR.
[YOCTO #10650]
(Bitbake rev: 9c0f6e81dae0b91b425e6c0cdf64caa5c15d92b5)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The HEAD reference in Toaster layers are reserved for the
"Local Yocto Project" layers, stored at the top directory.
Imported layers are not allowed to use this since they are
managed differently - for example the 'remotes' will collide.
Fix the add layer handler to not drop the data fields when it
is a git repo.
Explicitly inform the user when an internal Toaster error is
returned via AJAX, so that they know why clicking the layer add
button did not do anything.
[YOCTO #9924]
(Bitbake rev: 04bd9c9341e8390a7923fa0122cd4cb0befa569f)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.4, 4.9, 4.10 and 4.12.
(From meta-yocto rev: 6909368e9b193c3fc79257982ec609307a5e1ba4)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In collect_bbfiles() we're monkey-patching os.listdir in order to find
which directories to watch, and then undoing that when we're finished -
however if an exception occurred for any reason there was nothing to
ensure the latter occurred. This may not have caused any issues, but as
this kind of thing really ought to be secured using try...finally just
in case, so do that.
(Bitbake rev: 013047484a03185c0ce281c53c1db4949cdc4e69)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code that was supposed to watch directories along BBFILES for
creation of new files wasn't working in the case where the directory did
not initially contain any matching files - since in updateCache() we are
passing the directory path to add_filewatch() and the latter function
calls os.path.dirname() on the path on the assumption that it is a file
path, and thus the parent of the directory got watched but not the
directory itself. (If the directory wasn't empty everything worked fine
since add_filewatch() was called elsewhere with the path to one of the
files in that directory, and thus the directory got watched). Add a
parameter to add_filewatch() to tell it we are passing it directory
path(s) rather than file path(s).
(Bitbake rev: 47a34dee08fcc25d896a1bdf16fa86267f0b898f)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit:
[
commit 16de0149674ed12d983b77a453852ac2e64584b4
Author: Ben Seri <ben@armis.com>
Date: Sat Sep 9 23:15:59 2017 +0200
Bluetooth: Properly check L2CAP config option output buffer length
Validate the output buffer length for L2CAP config requests and
responses to avoid overflowing the stack buffer used for building the
option blocks.
Cc: stable@vger.kernel.org
Signed-off-by: Ben Seri <ben@armis.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]
(From OE-Core rev: a15ec979910a74d4490aecf30aa21fa5c2f4e99d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit:
[
commit 16de0149674ed12d983b77a453852ac2e64584b4
Author: Ben Seri <ben@armis.com>
Date: Sat Sep 9 23:15:59 2017 +0200
Bluetooth: Properly check L2CAP config option output buffer length
Validate the output buffer length for L2CAP config requests and
responses to avoid overflowing the stack buffer used for building the
option blocks.
Cc: stable@vger.kernel.org
Signed-off-by: Ben Seri <ben@armis.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]
(From OE-Core rev: a7e749a7d03818aaa21265dfb455c1a2766782cc)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit:
[
commit 16de0149674ed12d983b77a453852ac2e64584b4
Author: Ben Seri <ben@armis.com>
Date: Sat Sep 9 23:15:59 2017 +0200
Bluetooth: Properly check L2CAP config option output buffer length
Validate the output buffer length for L2CAP config requests and
responses to avoid overflowing the stack buffer used for building the
option blocks.
Cc: stable@vger.kernel.org
Signed-off-by: Ben Seri <ben@armis.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]
(From OE-Core rev: 04a59a5d8e96b145e094c101b87d40cc2d7a1a25)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit:
[
commit 16de0149674ed12d983b77a453852ac2e64584b4
Author: Ben Seri <ben@armis.com>
Date: Sat Sep 9 23:15:59 2017 +0200
Bluetooth: Properly check L2CAP config option output buffer length
Validate the output buffer length for L2CAP config requests and
responses to avoid overflowing the stack buffer used for building the
option blocks.
Cc: stable@vger.kernel.org
Signed-off-by: Ben Seri <ben@armis.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]
(From OE-Core rev: 7d3ae3213e6da8c27b9618594a8c20c674b0f8f3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
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>
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>
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>
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>
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>
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>
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>
* 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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
After commit e8b1c65394, 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:
6af89812e8
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
* 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>
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>
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>
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>
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>
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>
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>
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>
* 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>
This reverts commit e0ed52c514.
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>
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>
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>
* 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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
The OE-Core has no reason to support multiple versions of Go as this
increases the maintenance work and testing efforts. So we are going to
support just a single version from now on which currently is 1.8.3.
The 1.4 release is kept around as it is used for bootstrap, as such,
it cannot be removed.
(From OE-Core rev: 26abbf129d7ca0d36f6244f96fa8a572fd847899)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Go toolchain changes the installation path when building for the same
architecture as the build host. This was already been considered in
the GO_BUILD_BINDIR variable but was not being used by the go class.
This fixes following error:
,----
| ERROR: go-dep-0.3.0-r0 do_package: QA Issue: go-dep: Files/directories
| were installed but not shipped in any package:
| /usr/lib/x86_64-oel-linux/go/bin/dep
| Please set FILES such that these items are packaged. Alternatively if
| they are unneeded, avoid installing them or delete them within
| do_install.
`----
(From OE-Core rev: 56ce355b3d775e801d2ca89ee812571e794311cd)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The d.getVar has the second argument as True by default, avoid passing
it here.
(From OE-Core rev: 1a5026db41929d42bece22bd0ae60c13219a98f5)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows for other layers to override this variable in addition
to providing the distro or local.conf to override it.
(From OE-Core rev: b6e72d0f8230f71ea06edf747f3a84c6410d458c)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Optparse is deprecated since version 2.7 and won't be developed further.
Argparse should be used instead as it provides better tools for parsing
and handling arguments.
[YOCTO #9635]
(From OE-Core rev: e67b40c01fd98048035ca18595d87ae1be050ab4)
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both libfm and libfm-extra provide /usr/include/libfm, so remove it from libfm
to avoid sysroot conflicts.
(From OE-Core rev: 1ca7d8d89e35f55082d1708639e2146794730a0c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
arping hangs if SIGALARM is blocked. Backport a patch to fix this problem.
Unblock SIGALRM so that the previously called alarm() can prevent recvfrom()
from blocking forever in case the inherited procmask is blocking SIGALRM and
no packet is received.
(From OE-Core rev: 818d4a97763c69e9289fb99822535cd3ca7af6a2)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise it will cause conflicts in mutlilib setting, as it
varies from one machine to another.
(From OE-Core rev: 30140990a8bbe920222204b4f19113f5a1662478)
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bmap-tools is the only recipe in oe-core that still uses
Python 2. Switching it to Python 3 should help to get rid of
building native Python 2 and its dependencies.
[YOCTO #11891]
(From OE-Core rev: 0d6130b30a1219b2bc2c57578f291311f69c676e)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is perfectly fine to execute cve_check tasks against a cached
CVE database during a BB_NO_NETWORK build.
(From OE-Core rev: acc9994a77972c49a98aabbfd579973885c95f10)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For bootchart2-native, the python interpreter "#!FIXMESTAGINGDIRHOST/usr/bin/python3"
of file pybootchartgui is not right.
Use '#!${USRBINPATH}/env python3' instead to fix the issue.
(From OE-Core rev: 024caf6b0848118799fb15b912db7c5e1fc65488)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Extend python3-setuptools to nativesdk because nativesdk-python3-pip needs
it.
Also, adjust RDEPENDS variable setting to keep the runtime dependencies
for nativesdk package the same with the target one. The native package and
the target package's dependencies remain the same as before.
(From OE-Core rev: b9f0c54fd8b4f5f157e5f088bb304ddab0387ae6)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Extend python3-pip to nativesdk because some nativesdk python3 packages
need it, e.g. nativesdk-python3-django from meta-python layer.
(From OE-Core rev: 31f1e5f438d19aa329e5f38b1ab4e7d521eff8a1)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This SRCREV bump brings in support for the 4.12 Linux Kernel, this kernel
also has some newer CONFIG settings. The newer DEBUG_INFO and DEBUG_INFO_DWARF4
settings can be used with systemtap to get the full information. We do not
normally enabled these for a 'production' (standard) kernel, but can be
enabled via menuconfig.
When installing staprun and stapbpf on the target and native ensure we
don't try to create a new group and chown it. There is no need since we
will be running as root, so we add a patch to comment that code out.
(From OE-Core rev: 026403cc7f995ecc32a99f269399a08abc221c77)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Large portions of GIO are not that useful without the MIME database. Add a
recommends to shared-mime-info so that GIO works out of the box, but can be
removed (using BAD_RECOMMENDATIONS) if shared-mime-info is too large and isn't
required.
[ YOCTO #11792 ]
(From OE-Core rev: 51e4f9ca5368af5cefa26f4ca50b282e858982f8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also remove the redundant DEPENDS_class-native, as the native class generates
this value automatically.
(From OE-Core rev: 7d2d73bf5e9fba30ae79e535adff256b94248e62)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add lm-sensors PACKAGECONFIG option.
Change from setting LFLAGS="" to --disable-strip, otherwise lm-sensors will not link
properly.
(From OE-Core rev: ff9f629d70a9016f8f40d3d68c80111897c7a2c3)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
psplash-init exits if there is no framebuffer device detected.
This is done to avoid the following error message from
occurring when booting up:
"Error opening /dev/fb0: No such file or directory"
(From OE-Core rev: 2348dda6b8a86352e72ef41b24df3a19e8bc98ce)
Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When all of the requested layers have unsatisfied dependencies, an error
can occur. Check for the condition to avoid the traceback:
Traceback (most recent call last):
File "../scripts/yocto-compat-layer.py", line 203, in <module>
ret = main()
File "../scripts/yocto-compat-layer.py", line 194, in main
if not results[layer_name].wasSuccessful():
AttributeError: 'NoneType' object has no attribute 'wasSuccessful'
(From OE-Core rev: 32c9b3d99a0c27f6736696082b9da812a8464bf8)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The update-alternatives where using relative links so not being really
in use since December 2016 (see OE-Core:c7bc46b9 "kernel: Fix
symlinks") so instead we now generate the relative symlinks during the
do_install task and drop the update-alternatives use at all.
Acked-by: Saul Wold <sgw@linux.intel.com>
(From OE-Core rev: 10a1b293191268e6792ac8e27bd6427f1974c7ce)
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>
The patch in this Bugzilla entry was requested by a customer:
https://sourceware.org/bugzilla/show_bug.cgi?id=4578https://www.sourceware.org/bugzilla/show_bug.cgi?id=19282
If a thread happens to hold dl_load_lock and have r_state set to RT_ADD or
RT_DELETE at the time another thread calls fork(), then the child exit code
from fork (in nptl/sysdeps/unix/sysv/linux/fork.c in our case) re-initializes
dl_load_lock but does not restore r_state to RT_CONSISTENT. If the child
subsequently requires ld.so functionality before calling exec(), then the
assertion will fire.
The patch acquires dl_load_lock on entry to fork() and releases it on exit
from the parent path. The child path is initialized as currently done.
This is essentially pthreads_atfork, but forced to be first because the
acquisition of dl_load_lock must happen before malloc_atfork is active
to avoid a deadlock.
The __libc_fork() code reset dl_load_lock, but it also needed to reset
dl_load_write_lock.
(From OE-Core rev: f2e586ebf59a9b7d5b216fc92aeb892069a4b0c1)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current implementation does not handle possible exceptions coming from child
processes, the latter responsible for creating packages. With the aim to have more
control, use pipes to communicate exceptions and stop package creation in case
of failure.
Helps to debug [YOCTO #12012].
(From OE-Core rev: 11350a67ba137f560d04aa643ff500a7ff112c73)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Redirecting stderr to stdout helps debugging issues, i.e instead of just
getting the return code, get also the error log from the pkg manger
This commit is in the way to figure out the root cause of [YOCTO #12012],
where dpkg-deb fails with a 2 return code and according to the man page,
there are multiple issues leading to the same code.
(From OE-Core rev: 9ff023fb26f5f0ce19e757beda00ccc32c009b21)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* QA check which aren't included in WARN_QA and ERROR_QA are shown
during the build only as NOTE message (not shown at all with default
knotty setting), so it might be surprising to see them later in qa.log
file
(From OE-Core rev: 35ab2c7b08359f22f74106339841f8134123adf4)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure we capture stderr, always write the output to the log, and don't be so
emotional in the warning message.
(From OE-Core rev: 87110e971c548d9d3eb7296ea6772d18e0226e53)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having these the initramfs-framework recipe forced initramfs-framework
users to build several tools they didn't need, and made it more
difficult to declare the recipe as allarch.
Fixes [YOCTO #12024].
(From OE-Core rev: e4cc1a22dd4fc9b3b12808c86213eb613f1ecb51)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use ${nonarch_base_libdir}/udev instead. This avoids problems when
usrmerge is enabled in DISTRO_FEATURES and udev support is disabled.
(From OE-Core rev: 0a4372705a030ca54ed420cdfec33d46ab93499c)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipeinc method returns the absolute path of the test_recipe.inc
file of a specified recipe. It replaces four instances of identical
code, and make it possible to access the filename from a testcase for
cleanup.
The write_recipeinc and append_recipeinc methods are changed to return
the path to the file in case that is useful.
The test_recipe.inc file is usually cleaned up in a finally block,
but that block executes before any teardown operations. This blocks
any teardown that requires the presence of the test_recipe.inc file.
(From OE-Core rev: cdb431676456f47da1a3b70caddf49f083948798)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ask QEMU to store the QEMU process PID in a file, this way we don't
have to parse running processes and analyze descendents.
This is done via QEMU command line argument "-pidfile".
[YOCTO #12001]
(From OE-Core rev: 67612dcd2a8a1aa1d683dddb0bd2f592886ff020)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python unittest intercepts stdout and stderr however qemurunner sets
up a streamhandler before that interception occurs, hence the messages
spam the unittest output.
By moving the logging init to the class init time, we use the unittest
stdout/stderr and this means unittest can only show the log output upon
failure. This cleans up the selftest and testimage output whilst still
showing logging upon failure.
(From OE-Core rev: 9099cecc727fe0ae5f1559582426d30ba7a9f4d3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the Toaster stable release selection to 'Rocko' and
the bitbake version to '1.36'.
[YOCTO #12037]
(Bitbake rev: ed3aab90dbf9b6efefd9eb66d81123cb94d3c7da)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stop the pending build and report to the user if there is
an internal exception due to a git error, a bitbake server
error, or if the server-only mode halts due to for example
a user syntax error in a layer or recipe.
These exceptions were not caught because they occure before
the normal toastergui processing was started.
[YOCTO #12056]
(Bitbake rev: 2cd664097c29ad07b08c82d07a239ca199abbc9a)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there is a network failure the return value from latest_versionstring() is
('','') which later causes an exception when comparing versions.
Improve this by checking the return value and failing the test early.
[ YOCTO #12053 ]
(Bitbake rev: 3f034d2172bf64ecc43577b43e0cf032a54b1358)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since 2017-08-17 (git version 2.14.1.473.g3ec7d702a) using deprecated
git branch parameter "--set-upstream" causes a fetcher error. Replace
it by "--set-upstream-to".
https://git.kernel.org/pub/scm/git/git.git/commit/?id=52668846ea2d41ffbd87cda7cb8e492dea9f2c4d
says, it's deprecated since 2012-08-30 so hopefully all still supported
host distributions have new enough git to support "--set-upstream-to".
ERROR: PACKAGE do_unpack: Fetcher failure: ...;
git -c core.fsyncobjectfiles=0 branch --set-upstream master origin/master failed with exit code 128, output:
fatal: the '--set-upstream' option is no longer supported. Please use '--track' or '--set-upstream-to' instead.
ERROR: PACKAGE do_unpack: Function failed: base_do_unpack
(Bitbake rev: 2ab50074c1a6c56a8a178755de108447d7b7acaf)
Signed-off-by: Andre Rosa <andre.rosa@lge.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
48d39cf43b added "opengl" PACKAGECONFIG option to mesa: before that
the configuration was always enabled. "opengl" should have been added
to mesa-gl default PACKAGECONFIG but wasn't: do it now.
(From OE-Core rev: cc319b6dcc5b4a5019fb91c9771b12ce17f3c953)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a fix already merged upstream in master and 1.12 branch, it fixes 4K video
playback on any platform that uses v4l2 codecs, such as Dragonboard 820c.
(From OE-Core rev: b662944b28080dfb68833d4a81655262b04ada67)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For systems that don't otherwise depend on the full
util-linux package, ionice is a mere 31k (on mipsel).
(From OE-Core rev: 50d6f2c21eca162b82d5cbe135b87c1b1ea871b9)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While poky master branch has been fixed so that all CVE patch files have
the:
CVE: CVE-2017-1234556
strings in the patch comments, many older versions of poky and other meta
layers are not, but the CVE patches quite often have the CVE id in the
patch file name.
If the CVE: string also found, there are no duplicates in the report.
(From OE-Core rev: 5ee5b0c66627c9e974c838b86e2e659c2f601f2a)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The do_rootfs log contains a number of unsatisfied package
recommendations. At the moment those are only visible when
reviewing the rootfs log.
This patch adds an extra check to surface any unsatisfied
recommendation as WARNINGS to the build output.
Enable this check with:
ROOTFS_POSTPROCESS_COMMAND += "rootfs_log_check_recommends;"
(From OE-Core rev: 9d049bf7941f30e35c51775684559e95185fba96)
Signed-off-by: Jose Alarcon <jose.alarcon@ge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Multi-threaded applications using libcurl crash
on DNS timeouts when built using OE.
The reason is as follows:
By default, libcurl implements DNS timeouts using a
timer (alarm()) and a pair of setjmp()/longjmp().
This approach is unsafe in multi-threaded applications
for various reasons, as e.g. explained in the relevant
man-pages.
To avoid this, libcurl can be compiled with a built-in
threaded resolver, or against the c-ares asynchronous
resolver library.
To keep extra dependencies to a minimum, and to mimic
other distributions (debian at least), and because
c-ares is not available in OE-core, add a PACKAGECONFIG
to be able to enable use of of the built-in threaded
resolver and enable it by default.
(From OE-Core rev: 41f1e44fce976c4140cda62a41349e91e69d04ef)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the UI disconnects, we can throw away any server-side remote
datastores we created in response to calls from the UI, and we *must*
drop everything in extraconfigdata or it will taint any future
operations.
Dropping extraconfigdata upon disconnect fixes taskhash mismatch errors
when running devtool.DevtoolTests.test_devtool_update_recipe_local_files
within oe-selftest with BB_SERVER_TIMEOUT=100 in OpenEmbedded.
(Bitbake rev: 1ca2eec459424892391f060442ef38cf28d6a54a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you have a layer with a blank BBFILE_PATTERN the layer was ignored
when processing the list of layers with priorities. This list is not
only used for processing recipes, but also by additional programs such
as bitbake-layers show-layers.
Without this change, a layer that provides configuration or classes
only does now show up in show-layers, which is used by the
yocto-compat-layer.py script. This causes a failures in the compatibility
check.
(Bitbake rev: a0eaf8c0f228f984bafff09e4e9739f758dc1a9b)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we're implementing reset() in SignatureGenerator at all (and we need
to for a basic non-OE BitBake setup where that is the default signature
generator), then we need it to be clearing out the internal values
properly.
(Bitbake rev: 13f52d38fdbcb84c2a0c46f85baa44b22d53fdc1)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list of columns in the many 'Edit Columns' pop-ups became unsorted
with the 'Toaster Table' implementation. These entries need to be
gathered and sorted in the column processing.
[YOCTO #12004]
(Bitbake rev: 17aa1ef8f0a00dd3456aac199e558a2f96bf7ad9)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The default layers are missing the recipe link definitions in
the fixture files, and because they are predefined they do not
get the updated information from the Layer Index.
[YOCTO #12006]
(Bitbake rev: 2ff5592baf011de9c778d3c2481b8ed3912f1a4b)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file "lsupdates.py" is missing the import of 'ToasterSetting',
and that breaks setting up and updating Toaster and its database.
[YOCTO #12036]
(Bitbake rev: d4aef1f1f03d88acc76423b55d8bd6c137f66f44)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If no external layers are defined, pokydirname is not set. Rectify
this by taking the 'be.sourcedir' as the pokydirname.
[YOCTO #12015]
(Bitbake rev: 3b0f04c7b00aaf44ba146c432fcb5d6fd7dafcea)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One of the debug messages during build contains a list of all layers
but without spaces or other separators between them. Use pformat
instead.
[YOCTO #12014]
(Bitbake rev: 9fe38f94b54a8644ac6f493c49e63dd6da5bfbdf)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build page provides tables related to performance that
cover build time, CPU time and disk IO. The "Edit columns"
drop down does not allow selection of the Order column and
makes it hidden as well which is not accurate from user
interaction point of view.
This patch enables the hideable property for the Order column
so it is hidden by default but the user can enable it through
the drop down if need be.
[YOCTO #11040]
(Bitbake rev: 1f1cc1edb21aeec684ef7323554794b33d84d414)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There must be at least one FSTYPE selected in the Toaster bitbake
variable editor page. When the user deselects all the "Save"
button gets disabled, but the error message is missing.
[YOCTO #8126]
(Bitbake rev: 193577655b7491126ca5fa91fa76d79329e900c2)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We do not want to mix traditional kernel development with
kernel development using devtool. This reference implied that
was okay to do.
(From yocto-docs rev: 38c3a5d3b47e15880ca10ed30ae4a450ecc851cd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bare clone setup is no longer recommended or necessary for
traditional kernel development. All that is required is to
clone the kernel Git repo locally.
(From yocto-docs rev: cbe6d79da4fc2d5bba530b0fe6abead7783bdfbe)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed spelling warning that was underlining "BSP" in the figure
(From yocto-docs rev: 354fe8c39057ab3aec24474ead65d2d13a5bb3b7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A work-in-progress of an example that modifies the kernel
using the devtool. The procedure is not complete yet as it
does not run properly.
(From yocto-docs rev: 462ba2e46f237c294f05805ad5044291a085975d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The end of this section did not direct the user to the next
logical step for preparing a development host. I added a
paragraph to guide the user to the next area they would need
to read based on their development methods.
(From yocto-docs rev: 4a1aa7800e7bca82dddef0ed83e14e075b3aa9f2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed [YOCTO #11970]
Updated the field description for "Specify Sysroot Location" to
note that the user can have this either downloaded or built and
the ramifications of using a downloaded root filesystem.
Updated the "Deploying and Debugging the Application" steps for
both supported Eclipse versions to tell the user what to do if
a browse operation fails or times out.
(From yocto-docs rev: 623000af186cb5632af551f95384d4c96d4d6c54)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added new description and created a link for an
existing occurance of the variable.
(From yocto-docs rev: 9ab6e6aed685c9419cb7df3df3ab029033d9ba0e)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated two instances of "sysroot-components" to
"sysroots-components".
(From yocto-docs rev: 035be964e6f345c058c1dacbb58b09745e8f827d)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the step to include proper links and verbiage for
setting up the system for YP development.
(From yocto-docs rev: d5d908847d66178a995d2be985c605e6a5c48d76)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dev-manual had a place-holder section for getting the
build host ready for using YP and then doing kernel
development. This stuff is better suited for the actual
kernel development manual. I moved the section. Moving
created several broken links in the manual set that had to
be fixed.
In the dev-manual, I updated the introductory list to include
the newly moved kernel stuff.
(From yocto-docs rev: 2e21260bb5f84e9e30eb353ec841d5962e8a7642)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The figure "figures/kernel-overview-2-generic.png" was missing
the ".png" suffix in the TARFILES statment. This was throwing
an error during the make process for the manual. Probably an
error for quite some time and not noticed. I added the suffix
to remove the make early exit error.
(From yocto-docs rev: 00ad7874f8da149f193caeab8fd89bbf6d8132d7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I moved the section on preparing a build host to use the
Eclipse IDE and placed it as introductory text for the
section that talks about getting the system ready for either
native Linux or CROPS use to use YP.
I also created as part of that list, links to the BSP manual
where I now talk about getting the system ready for BSP
development.
(From yocto-docs rev: f5b5d27ea5036792a96c0a42a3d7513a2a57a4b0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The YP Development Manual had some build host preparation steps
as part of the chapter that talks about getting a host ready
for using YP. These steps are better suited in the BSP Guide.
I moved them there and filled out the steps to be more complete.
(From yocto-docs rev: 2277812d0dd411a103a4a4252d4cb90c471901c9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Moved the "Patching the Kernel" section, which was in the
dev-manual to the kernel-dev manual. During the move,
renamed the section to "Using devtool to Patch the Kernel".
This move bothered a lot of links so I had to fix them in
various manuals.
(From yocto-docs rev: a000be1eddf33e4d7de8f350e076d48e27ca4b98)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The steps needed updated to reflect the introduction of CROPS
as a way to prepare a build host.
(From yocto-docs rev: 8f52372afad4c32d0b895a88c2298625e7f53da3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These references now go to the ref-manual and not the
dev-manual.
(From yocto-docs rev: e58681488c307ba1daf2e10423e56b7d3ec486b8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the introduction of CROPS as a way to set up the build
system, I had to alter the first bullet of the BSP workflow
list and the figure.
(From yocto-docs rev: f1db3db4053142619c62629d4b05023f0b148e6c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we have CROPS as an option, the step for preparing
your build host is condenced to include cloning poky. This
resulted in removal of step 2 and updating of the figure.
(From yocto-docs rev: 903d1f98b736a744de1d9c973f7a96b6a92049b5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section failed to mention the "yocto-layer create" script,
which is a simple way to create a layer. I have added this info
into the section by way of a "Tip" box.
(From yocto-docs rev: cf204f2b72b1da0104315f54cfe55c3f1eaf0f96)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replaced "recipe_work_directory" with "${WORKDIR}"
throughout the section.
(From yocto-docs rev: a961cf07cd18d06e0c6399a10dc40c0d4143c23f)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated text for sysroot terminology, and clarity.
Fixed a capitalization error.
(From yocto-docs rev: 4eea6497663efc937cddf4700298f5824ade7b47)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section on recipe syntax that was buried in the creating a
new recipe section was really a reference on syntax. I have moved
it to the ref-manual.
(From yocto-docs rev: cb55d1b5832cca6faa6e2a5b26f3add3032cade2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.4, 4.9, 4.10 and 4.12. Also
set the default kernel to 4.12.
(From meta-yocto rev: 4e0ada1132db54a1723e3a603fa99b0b8ddf29eb)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BB_SERVER_TIMEOUT=100 oe-selftest -r bblayers
was failing and highlighted that since parseConfiguation clears data
structures, it needs to also clear parsecache_valid as it no longer
contains correct data.
(Bitbake rev: 7234f33a7eb38ad51a8345f6689bc26e29f29f92)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I can't actually see how this was working, nothing connected the commandline option
to the data in TaskData(). Drop the remaining pieces of this option, it was a relic
from a decade ago and we want deterministic builds, not random tries until something
might work.
(Bitbake rev: 767c7ba8fc76ec667ac1567de1c971c3575f2ecd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The top level LICENSE file is not actually a license, it refers
other licenses that are used by Bitbake and Meta-data. Relying
on this file could cause problems for recipes when this file
changes, which it is about to.
(From OE-Core rev: a1948ab38c9cb7f0b16cce9dadc03ae6e2fe44ad)
(From OE-Core rev: dd75644db2f662f0d88529a068bbfb599c9790a9)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Perl dependencies may look as "Perl(Foo::Bar)", but dpkg does not
support the non-alphanumeric characters. There was already special
handling present for turning '(' and ')' into '__'. This change does
the same for ':'.
(From OE-Core rev: a34e397095a9c2f8d0af1168ceab295af659242d)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The silent rpmdeps failures fixed in a preceeding commit mean we
need to rerun all packaging.
(From OE-Core rev: 77abe012c496a85f56191abc769a7da07e9f8c0e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When systemd is used, it will invoke a service on first boot that triggers
a rebuild of ldconfig caches (rebuild dynamic linker cache).
This is fine on the first boot of a system that has been installed, but it
makes no sense on a live system. The worst part is that rebuilding this
caches is slow and it causes the live system to take longer to boot.
(I measured this in 30 seconds longer on a standard PC system booting
core-image-sato live from an USB memory).
Disable this by touching /etc/.updated and /var/.updated on the live initramfs.
For more details see https://bugzilla.redhat.com/show_bug.cgi?id=1201725 and
https://www.freedesktop.org/software/systemd/man/systemd-update-done.service.html
(From OE-Core rev: d73493e63c506dca0e767ff183ca36bc48c2f03e)
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
acpixtract is both provided by acpica and pmtools, so use
update-alternatives to fix conflicts:
| file /usr/bin/acpixtract conflicts between attempted installs of
pmtools-20130209+git0+3ebe0e54c5-r0.i586 and acpica-20170303-r0.i586
(From OE-Core rev: 250085877f9191eb304bd9ff8327cd260a31e74b)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If this fails the exception will now be raised. Lets use that and drop
all this 'None' return value ugliness.
(From OE-Core rev: b3c63b3b816179b96f1ed9b5baaf6e1f1c3c7b80)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a logic error in the dependency cleanup code which meant
it would remove dependencies which other tasks still depended upon.
Fix the path names so the comparisions work as intended.
This fixes dependencies accidentally disappearing from sysroots
under certain reconfiguration situations.
(From OE-Core rev: 1634fe5148b3501f2c1b75cf7fb704a2ef60424e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently exceptions that happen in pool commands are ignored. Any errors
would be printed on the console but everything else is silent.
Switch to use pool.map_async which allows for an error_callback which
we can use to detect exceptions and make sure these errors are handled.
(From OE-Core rev: 7f2f9b3ff011b340b5d23bb7c47b12c357dc9f02)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the exit code of the spawned program isn't checked so it can
fail and the do_package task will continue merrily upon its way.
Use subprocess.check_output() to ensure we check the exit code and
redirect stderr to stdout so if it fails, we see the error output.
We can then drop the existing exception handling as the subprocess
exception gives a much better error.
(From OE-Core rev: ce11cb449222bc47fea4f6d66ff1cc7cdc529ab9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a compile code fragment that has an elf signature, it needs to be
updated for the newer tools.
After 2.4 we will be removing the elf Image type as it has been expunged
from the coreboot repo since 2014.
[YOCTO #11967]
(From OE-Core rev: 66f7ec30a05639739208bb921b689e94b2c880a3)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes CVE-2017-2885 (stack overflow with HTTP chunked encoding), no other
relevant changes.
(From OE-Core rev: 56d25765641acaadc21391bd7b00187cf0f4ffe0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove recipes for older versions.
Remove patches no longer needed.
Modify the patch "add-ptest-in-makefile.patch" for version 2.10.0
(From OE-Core rev: 22593f3dd95dd332d2f89429c7de2cb5a09aa3e9)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg releases with the following commit summary:
717bd21f81a3 Linux 4.4.85
12b25d2a52f0 ACPI / APEI: Add missing synchronize_rcu() on NOTIFY_SCI removal
b526de00a9b0 ACPI: ioapic: Clear on-stack resource before using it
4e5f2c204150 ntb_transport: fix bug calculating num_qps_mw
1aac8ffd619f ntb_transport: fix qp count bug
4ec0b2c2d235 ASoC: rsnd: don't call update callback if it was NULL
95fc5ef85428 ASoC: rsnd: ssi: 24bit data needs right-aligned settings
fd504621fa52 ASoC: rsnd: Add missing initialization of ADG req_rate
e974777b2ecb ASoC: rsnd: avoid pointless loop in rsnd_mod_interrupt()
fdc568a4224a ASoC: rsnd: disable SRC.out only when stop timing
bfba69dc30ab ASoC: simple-card: don't fail if sysclk setting is not supported
eb2ba09b05a6 staging: rtl8188eu: add RNX-N150NUB support
1d7e8cf01e2e iio: hid-sensor-trigger: Fix the race with user space powering up sensors
d2c072cb638d iio: imu: adis16480: Fix acceleration scale factor for adis16480
9dac44d5d4b0 ANDROID: binder: fix proc->tsk check.
1792d6c17cb2 binder: Use wake up hint for synchronous transactions.
596b97ec2e5e binder: use group leader instead of open thread
e1c7a4478833 Bluetooth: bnep: fix possible might sleep error in bnep_session
f9adf422b993 Bluetooth: cmtp: fix possible might sleep error in cmtp_session
172bbb8ee44a Bluetooth: hidp: fix possible might sleep error in hidp_session_thread
708d19eaf303 perf/core: Fix group {cpu,task} validation
87ac57ff972a nfsd: Limit end of page list when decoding NFSv4 WRITE
e6066962ca46 cifs: return ENAMETOOLONG for overlong names in cifs_open()/cifs_lookup()
210b41b4971e cifs: Fix df output for users with quota limits
9f57741b44ba tracing: Fix freeing of filter in create_filter() when set_str is false
0d2b7767611f drm: rcar-du: Fix H/V sync signal polarity configuration
64f3c534e7ac drm: rcar-du: Fix display timing controller parameter
fbf583912145 drm: rcar-du: Fix crash in encoder failure error path
766a097cbfea drm: rcar-du: lvds: Rename PLLEN bit to PLLON
2b60c153ff3d drm: rcar-du: lvds: Fix PLL frequency-related configuration
3416ee45a8cb drm/atomic: If the atomic check fails, return its value first
2a9d7664ffb2 drm: Release driver tracking before making the object available again
33e4c6378417 i2c: designware: Fix system suspend
10814c149eeb ARCv2: PAE40: Explicitly set MSB counterpart of SLC region ops addresses
6b1c81dd7fdb ALSA: hda - Add stereo mic quirk for Lenovo G50-70 (17aa:3978)
099e57fcb03f ALSA: core: Fix unexpected error at replacing user TLV
07051c175477 Input: elan_i2c - add ELAN0602 ACPI ID to support Lenovo Yoga310
5609ae96bcd6 Input: trackpoint - add new trackpoint firmware ID
a56800ae1c57 mei: me: add lewisburg device ids
707352e68745 mei: me: add broxton pci device ids
58079f56b302 net_sched: fix order of queue length updates in qdisc_replace()
248af6aa226c net: sched: fix NULL pointer dereference when action calls some targets
eece6c91dd33 irda: do not leak initialized list.dev to userspace
4e39b7409f3b tcp: when rearming RTO, if RTO time is in past then fire RTO ASAP
ece3ff173731 ipv6: repair fib6 tree in failure case
6415a71ddf15 ipv6: reset fn->rr_ptr when replacing route
69827c395d25 tipc: fix use-after-free
0e8d62861552 sctp: fully initialize the IPv6 address in sctp_v6_to_addr()
1bd54371388c ipv4: better IP_MAX_MTU enforcement
7e1fe0062c24 net_sched/sfq: update hierarchical backlog when drop packet
114414b85475 ipv4: fix NULL dereference in free_fib_info_rcu()
c207ec46b301 dccp: defer ccid_hc_tx_delete() at dismantle time
c65eca7ddd88 dccp: purge write queue in dccp_destroy_sock()
f0cd9201c0c0 af_key: do not use GFP_KERNEL in atomic contexts
982ce2aa79fb Linux 4.4.84
ccf1033d9983 usb: qmi_wwan: add D-Link DWM-222 device ID
6b4509223681 usb: optimize acpi companion search for usb port devices
ce1b98a30571 perf/x86: Fix LBR related crashes on Intel Atom
b4cf49024cf4 pids: make task_tgid_nr_ns() safe
46d51a26efbc Sanitize 'move_pages()' permission checks
b27e9ff9a5f4 irqchip/atmel-aic: Fix unbalanced refcount in aic_common_rtc_irq_fixup()
ed281a6acaf1 irqchip/atmel-aic: Fix unbalanced of_node_put() in aic_common_irq_fixup()
64340986295d x86/asm/64: Clear AC on NMI entries
c0b397fd6b2b xen: fix bio vec merging
240628085eff mm: revert x86_64 and arm64 ELF_ET_DYN_BASE base changes
cc971fa12bd2 mm/mempolicy: fix use after free when calling get_mempolicy
669c8ab896a2 ALSA: usb-audio: Add mute TLV for playback volumes on C-Media devices
f600f9c43346 ALSA: usb-audio: Apply sample rate quirk to Sennheiser headset
735aa043bf00 ALSA: seq: 2nd attempt at fixing race creating a queue
ae4743cac8d7 Input: elan_i2c - Add antoher Lenovo ACPI ID for upcoming Lenovo NB
0dbf7f7811df Input: elan_i2c - add ELAN0608 to the ACPI table
4362533a0468 crypto: x86/sha1 - Fix reads beyond the number of blocks passed
04f4f73ffe93 parisc: pci memory bar assignment fails with 64bit kernels on dino/cujo
ea088172692c audit: Fix use after free in audit_remove_watch_rule()
b72f1119c654 netfilter: nf_ct_ext: fix possible panic after nf_ct_extend_unregister
425fdd287e9b Linux 4.4.83
792f1fe5ec55 pinctrl: samsung: Remove bogus irq_[un]mask from resource management
6f51066b3797 pinctrl: sunxi: add a missing function of A10/A20 pinctrl driver
8bb6ef68655e pnfs/blocklayout: require 64-bit sector_t
7b5a9de376b8 iio: adc: vf610_adc: Fix VALT selection value for REFSEL bits
567a21de8531 usb:xhci:Add quirk for Certain failing HP keyboard on reset after resume
dd3a2a08943f usb: quirks: Add no-lpm quirk for Moshi USB to Ethernet Adapter
921a1ed2a11a usb: core: unlink urbs from the tail of the endpoint's urb_list
bc2f02f74549 USB: Check for dropped connection before switching to full speed
ed4f50eec60f uas: Add US_FL_IGNORE_RESIDUE for Initio Corporation INIC-3069
dedeba47c51a iio: light: tsl2563: use correct event code
dfb5cc919c61 iio: accel: bmc150: Always restore device to normal mode after suspend-resume
c5f6f4fe1c09 staging:iio:resolver:ad2s1210 fix negative IIO_ANGL_VEL read
dc978e9b65ab USB: hcd: Mark secondary HCD as dead if the primary one died
8b278516e5e3 usb: musb: fix tx fifo flush handling again
8a0c225613c2 USB: serial: pl2303: add new ATEN device id
31c9287b9430 USB: serial: cp210x: add support for Qivicon USB ZigBee dongle
9cb43dec24e0 USB: serial: option: add D-Link DWM-222 device ID
a89843a80bd4 nfs/flexfiles: fix leak of nfs4_ff_ds_version arrays
7271d130b5dc fuse: initialize the flock flag in fuse_file on allocation
b89e781dab24 iscsi-target: Fix iscsi_np reset hung task during parallel delete
3afc4e9273de iscsi-target: fix memory leak in iscsit_setup_text_cmd()
9ea732ebb53f mm: ratelimit PFNs busy info message
97e371409da7 cpuset: fix a deadlock due to incomplete patching of cpusets_enabled()
4e2e415f4cc1 Linux 4.4.82
fab61468402b net: account for current skb length when deciding about UFO
96cdeaa3af8f ipv4: Should use consistent conditional judgement for ip fragment in __ip_append_data and ip_finish_output
d45aabadbcb9 mm/mempool: avoid KASAN marking mempool poison checks as use-after-free
7e86f2d55f66 KVM: arm/arm64: Handle hva aging while destroying the vm
6fe71ca3cb3c sparc64: Prevent perf from running during super critical sections
938990d2433c udp: consistently apply ufo or fragmentation
98c1ad1edfe8 revert "ipv4: Should use consistent conditional judgement for ip fragment in __ip_append_data and ip_finish_output"
54fc0c32307d revert "net: account for current skb length when deciding about UFO"
63364a508d24 packet: fix tp_reserve race in packet_set_ring
37d5c6e8d38d net: avoid skb_warn_bad_offload false positives on UFO
8607d550847f tcp: fastopen: tcp_connect() must refresh the route
40fc2b4451a2 net: sched: set xt_tgchk_param par.nft_compat as 0 in ipt_init_target
d0da2877d421 bpf, s390: fix jit branch offset related to ldimm64
4e0675f44b89 net: fix keepalive code vs TCP_FASTOPEN_CONNECT
025bb7f7e92c tcp: avoid setting cwnd to invalid ssthresh after cwnd reduction states
2ab639c7e2d1 Linux 4.4.81
34a08ae493f1 workqueue: implicit ordered attribute should be overridable
0c787041504e net: account for current skb length when deciding about UFO
12b8f014a394 ipv4: Should use consistent conditional judgement for ip fragment in __ip_append_data and ip_finish_output
78c04996b588 mm: don't dereference struct page fields of invalid pages
bbe660db23e4 signal: protect SIGNAL_UNKILLABLE from unintentional clearing.
623f4fcd947e lib/Kconfig.debug: fix frv build failure
9c83b97bdeab mm, slab: make sure that KMALLOC_MAX_SIZE will fit into MAX_ORDER
5205f5216c6a ARM: 8632/1: ftrace: fix syscall name matching
874f22658c54 virtio_blk: fix panic in initialization error path
c9e4ee445752 drm/virtio: fix framebuffer sparse warning
1e43b2d06474 scsi: qla2xxx: Get mutex lock before checking optrom_state
a98737110659 phy state machine: failsafe leave invalid RUNNING state
db01878ca5dd x86/boot: Add missing declaration of string functions
032422cca86d tg3: Fix race condition in tg3_get_stats64().
93585e813588 net: phy: dp83867: fix irq generation
41433e314b77 sh_eth: R8A7740 supports packet shecksumming
50231cef2d6f wext: handle NULL extra data in iwe_stream_add_point better
cada8caa2655 sparc64: Measure receiver forward progress to avoid send mondo timeout
7c37101cd650 xen-netback: correctly schedule rate-limited queues
2933fb22de6d net: phy: Fix PHY unbind crash
a8f1b40bb2da net: phy: Correctly process PHY_HALTED in phy_stop_machine()
dc4132791a50 net/mlx5: Fix command bad flow on command entry allocation failure
de6669607a45 sctp: fix the check for _sctp_walk_params and _sctp_walk_errors
2bac20a4ae9c sctp: don't dereference ptr before leaving _sctp_walk_{params, errors}()
dd4edbcbb760 dccp: fix a memleak for dccp_feat_init err process
adcc87858e09 dccp: fix a memleak that dccp_ipv4 doesn't put reqsk properly
c3278ed37d3e dccp: fix a memleak that dccp_ipv6 doesn't put reqsk properly
91c5aa7ea073 net: ethernet: nb8800: Handle all 4 RGMII modes identically
d1ed1f8ae487 ipv6: Don't increase IPSTATS_MIB_FRAGFAILS twice in ip6_fragment()
499338964af8 packet: fix use-after-free in prb_retire_rx_blk_timer_expired()
23f787ceebf8 openvswitch: fix potential out of bound access in parse_ct
6d1e34ee278f mcs7780: Fix initialization when CONFIG_VMAP_STACK is enabled
d0594690a9ee rtnetlink: allocate more memory for dev_set_mac_address()
31afa8b5edf9 ipv4: initialize fib_trie prior to register_netdev_notifier call.
f09db7559c1f ipv6: avoid overflow of offset in ip6_find_1stfragopt
e9b2f4617a4e net: Zero terminate ifr_name in dev_ifname().
c10e874bc3a5 ipv4: ipv6: initialize treq->txhash in cookie_v[46]_check()
deae9956cfb4 saa7164: fix double fetch PCIe access condition
e0f39019aa3f drm: rcar-du: fix backport bug
76517ed2a7fe f2fs: sanity check checkpoint segno and blkoff
c7c6f63dbc67 media: lirc: LIRC_GET_REC_RESOLUTION should return microseconds
f1181047ff29 mm, mprotect: flush TLB if potentially racing with a parallel reclaim leaving stale TLB entries
9745cbec9c1f iser-target: Avoid isert_conn->cm_id dereference in isert_login_recv_done
ae059833646f iscsi-target: Fix delayed logout processing greater than SECONDS_FOR_LOGOUT_COMP
bf54cf1ede97 iscsi-target: Fix initial login PDU asynchronous socket close OOPs
cf4ab9d57cbe iscsi-target: Fix early sk_data_ready LOGIN_FLAGS_READY race
119903dc36d3 iscsi-target: Always wait for kthread_should_stop() before kthread exit
2bf7791c6a5e target: Avoid mappedlun symlink creation during lun shutdown
fa95dfc750fb media: platform: davinci: return -EINVAL for VPFE_CMD_S_CCDC_RAW_PARAMS ioctl
3c2bf2bd8829 ARM: dts: armada-38x: Fix irq type for pca955
31cd127ca69a ext4: fix overflow caused by missing cast in ext4_resize_fs()
bad9f6142ce1 ext4: fix SEEK_HOLE/SEEK_DATA for blocksize < pagesize
12f60018f63b mm/page_alloc: Remove kernel address exposure in free_reserved_area()
bbccdb1e442b KVM: async_pf: make rcu irq exit if not triggered from idle task
7de8d0c06e56 ASoC: do not close shared backend dailink
458c8be4e208 ALSA: hda - Fix speaker output from VAIO VPCL14M1R
c59eec4dad4a workqueue: restore WQ_UNBOUND/max_active==1 to be ordered
8ecd8cff92a8 libata: array underflow in ata_find_dev()
09e69607e47c Linux 4.4.80
2f8e6140bb6a ASoC: dpcm: Avoid putting stream state to STOP when FE stream is paused
32b850a626c5 scsi: snic: Return error code on memory allocation failure
27eb77b5544e scsi: fnic: Avoid sending reset to firmware when another reset is in progress
0866aed4fa64 HID: ignore Petzl USB headlamp
cab7c045f5fd ALSA: usb-audio: test EP_FLAG_RUNNING at urb completion
8ced91a2e920 sh_eth: enable RX descriptor word 0 shift on SH7734
fe1da3b785b3 nvmem: imx-ocotp: Fix wrong register size
e76426857b3e arm64: mm: fix show_pte KERN_CONT fallout
dc48ebe33063 vfio-pci: Handle error from pci_iomap
93794239c6b9 video: fbdev: cobalt_lcdfb: Handle return NULL error from devm_ioremap
1286e959a59a perf symbols: Robustify reading of build-id from sysfs
cc8b62fce96b perf tools: Install tools/lib/traceevent plugins with install-bin
ce9b76665ecd xfrm: Don't use sk_family for socket policy lookups
4b8adea2e3cd tools lib traceevent: Fix prev/next_prio for deadline tasks
786fd31f6001 Btrfs: adjust outstanding_extents counter properly when dio write is split
7ea3cc440ec9 usb: gadget: Fix copy/pasted error message
f4a42f8492bd ACPI / scan: Prefer devices without _HID/_CID for _ADR matching
8c065e76fbc5 ARM: s3c2410_defconfig: Fix invalid values for NF_CT_PROTO_*
fcee67d7d618 ARM64: zynqmp: Fix i2c node's compatible string
4bd1d0b1a170 ARM64: zynqmp: Fix W=1 dtc 1.4 warnings
a07d8c131898 dmaengine: ti-dma-crossbar: Add some 'of_node_put()' in error path.
328a9cdcbab9 dmaengine: ioatdma: workaround SKX ioatdma version
6c0d9f0212f8 dmaengine: ioatdma: Add Skylake PCI Dev ID
65dab1d8af6c openrisc: Add _text symbol to fix ksym build error
4c1ea6a51acd irqchip/mxs: Enable SKIP_SET_WAKE and MASK_ON_SUSPEND
1a734b39857e ASoC: nau8825: fix invalid configuration in Pre-Scalar of FLL
152684089ea3 spi: dw: Make debugfs name unique between instances
dc19e98eb86e ASoC: tlv320aic3x: Mark the RESET register as volatile
fc6c41f0b921 irqchip/keystone: Fix "scheduling while atomic" on rt
1704a9695062 vfio-pci: use 32-bit comparisons for register address for gcc-4.5
7de922c14e83 drm/msm: Verify that MSM_SUBMIT_BO_FLAGS are set
b54e58ccceb7 drm/msm: Ensure that the hardware write pointer is valid
cbc80312fd70 net/mlx4: Remove BUG_ON from ICM allocation routine
386504004504 ipv6: Should use consistent conditional judgement for ip6 fragment between __ip6_append_data and ip6_finish_output
ed3e4a435339 ARM: dts: n900: Mark eMMC slot with no-sdio and no-sd flags
7cff0699f47e r8169: add support for RTL8168 series add-on card.
6b99f1a84d5c x86/mce/AMD: Make the init code more robust
f7e0f7f86ce0 tpm: Replace device number bitmap with IDR
7e7892239327 tpm: fix a kernel memory leak in tpm-sysfs.c
366f50133bb6 xen/blkback: don't use xen_blkif_get() in xen-blkback kthread
53f577247738 xen/blkback: don't free be structure too early
62208707b466 sched/cputime: Fix prev steal time accouting during CPU hotplug
fa57125e8ec4 net: skb_needs_check() accepts CHECKSUM_NONE for tx
fa7773191046 pstore: Use dynamic spinlock initializer
9ece74e1006e pstore: Correctly initialize spinlock and flags
aca5b1e3c5b7 pstore: Allow prz to control need for locking
ff013a624258 vlan: Propagate MAC address to VLANs
e8aff6037318 /proc/iomem: only expose physical resource addresses to privileged users
14ae9c4b5ae2 Make file credentials available to the seqfile interfaces
b3ddb091c77f v4l: s5c73m3: fix negation operator
407669f2c9fe dentry name snapshots
9909e61c1006 ipmi/watchdog: fix watchdog timeout set on reboot
81845c2f61bf libnvdimm, btt: fix btt_rw_page not returning errors
c4af40a7218e RDMA/uverbs: Fix the check for port number
c7ca61734ba7 PM / Domains: defer dev_pm_domain_set() until genpd->attach_dev succeeds if present
0e0967e26241 sched/cgroup: Move sched_online_group() back into css_online() to fix crash
9402c6266704 kaweth: fix oops upon failed memory allocation
19ba0e65d60b kaweth: fix firmware download
658f9c65ee8c mpt3sas: Don't overreach ioc->reply_post[] during initialization
63c9c49c04a1 mailbox: handle empty message in tx_tick
21ab579fbae6 mailbox: skip complete wait event if timer expired
686494443dd3 mailbox: always wait in mbox_send_message for blocking Tx mode
461b44fdf02f wil6210: fix deadlock when using fw_no_recovery option
91cc72969137 ath10k: fix null deref on wmi-tlv when trying spectral scan
d4b159f14d61 isdn/i4l: fix buffer overflow
633763ed93c4 isdn: Fix a sleep-in-atomic bug
71a165f6397d net: phy: Do not perform software reset for Generic PHY
8335b312c7cc nfc: fdp: fix NULL pointer dereference
56548b6f505a xfs: don't BUG() on mixed direct and mapped I/O
eb0760deee89 perf intel-pt: Ensure never to set 'last_ip' when packet 'count' is zero
0ce32f8944c6 perf intel-pt: Use FUP always when scanning for an IP
33f3bc42fc23 perf intel-pt: Fix last_ip usage
01ac8afc6c8f perf intel-pt: Fix ip compression
8255d26322a3 drm: rcar-du: Simplify and fix probe error handling
5ec9d83b2b54 drm: rcar-du: Perform initialization/cleanup at probe/remove time
0354df9578b4 drm/rcar: Nuke preclose hook
b5a48676e7a2 Staging: comedi: comedi_fops: Avoid orphaned proc entry
0c335d55cee6 Revert "powerpc/numa: Fix percpu allocations to be NUMA aware"
fcd35f5a3f85 KVM: PPC: Book3S HV: Save/restore host values of debug registers
17d381054b1d KVM: PPC: Book3S HV: Reload HTM registers explicitly
f5b29db247d4 KVM: PPC: Book3S HV: Restore critical SPRs to host values on guest exit
339fa4af4133 KVM: PPC: Book3S HV: Context-switch EBB registers properly
29da136fbbd9 drm/nouveau/bar/gf100: fix access to upper half of BAR2
fde885f19986 drm/vmwgfx: Fix gcc-7.1.1 warning
376830c340ec md/raid5: add thread_group worker async_tx_issue_pending_all
2148e9ab0cac crypto: authencesn - Fix digest_null crash
c4efb7434a2a powerpc/pseries: Fix of_node_put() underflow during reconfig remove
fdbcb81b5a31 net: reduce skb_warn_bad_offload() noise
08408f7ae5cd pstore: Make spinlock per zone instead of global
b627f6001948 af_key: Add lock to key dump
e058f634852d Linux 4.4.79
9c839d00dc1b alarmtimer: don't rate limit one-shot timers
bb8109a9ca87 tracing: Fix kmemleak in instance_rmdir
6dbd8f73a28e spmi: Include OF based modalias in device uevent
29669d8e8f4c of: device: Export of_device_{get_modalias, uvent_modalias} to modules
4ca0f3730e27 drm/mst: Avoid processing partially received up/down message transactions
3d26e2ed7c8b drm/mst: Avoid dereferencing a NULL mstb in drm_dp_mst_handle_up_req()
3383334a6cf3 drm/mst: Fix error handling during MST sideband message reception
af7b187fe52f RDMA/core: Initialize port_num in qp_attr
ba790013b514 ceph: fix race in concurrent readdir
5af851adbeea staging: rtl8188eu: add TL-WN722N v2 support
45c59e792ce6 Revert "perf/core: Drop kernel samples even though :u is specified"
569da0be824b perf annotate: Fix broken arrow at row 0 connecting jmp instruction to its target
8d832513726d target: Fix COMPARE_AND_WRITE caw_sem leak during se_cmd quiesce
f57b4ae0b750 udf: Fix deadlock between writeback and udf_setsize()
d2fa4057b11e NFS: only invalidate dentrys that are clearly invalid.
bba6b69e1177 Input: i8042 - fix crash at boot time
775e4dba9d07 MIPS: Fix a typo: s/preset/present/ in r2-to-r6 emulation error message
f28e32a8e379 MIPS: Send SIGILL for linked branches in `__compute_return_epc_for_insn'
d2220e7f285b MIPS: Rename `sigill_r6' to `sigill_r2r6' in `__compute_return_epc_for_insn'
e5bf16f02945 MIPS: Send SIGILL for BPOSGE32 in `__compute_return_epc_for_insn'
4c7d28c1e99d MIPS: math-emu: Prevent wrong ISA mode instruction emulation
9dbca9e8a91a MIPS: Fix unaligned PC interpretation in `compute_return_epc'
aebb79634ff1 MIPS: Actually decode JALX in `__compute_return_epc_for_insn'
f87aa1203910 MIPS: Save static registers before sysmips
a0ee41298926 MIPS: Fix MIPS I ISA /proc/cpuinfo reporting
71de40fd4f64 x86/ioapic: Pass the correct data to unmask_ioapic_irq()
fa7ddee3485f x86/acpi: Prevent out of bound access caused by broken ACPI tables
62d131ec60cd MIPS: Negate error syscall return in trace
4d9f109ff9ca MIPS: Fix mips_atomic_set() with EVA
de34c0799d25 MIPS: Fix mips_atomic_set() retry condition
75202d3ffca4 ftrace: Fix uninitialized variable in match_records()
3457c0459496 vfio: New external user group/file match
db42944cc63a vfio: Fix group release deadlock
fca8859982fb f2fs: Don't clear SGID when inheriting ACLs
fa696eea4d8d ipmi:ssif: Add missing unlock in error branch
8878c53244f5 ipmi: use rcu lock around call to intf->handlers->sender()
89308cb841c6 drm/radeon: Fix eDP for single-display iMac10,1 (v2)
0157e2a8a719 drm/radeon/ci: disable mclk switching for high refresh rates (v2)
ad2efae4613d drm/amd/amdgpu: Return error if initiating read out of range on vram
a89b6e355dae s390/syscalls: Fix out of bounds arguments access
098333918b4f Raid5 should update rdev->sectors after reshape
78de920bae8a cx88: Fix regression in initial video standard setting
5c7c179eb9e3 x86/xen: allow userspace access during hypercalls
78dce99f5497 md: don't use flush_signals in userspace processes
9b989b4d325b usb: renesas_usbhs: gadget: disable all eps when the driver stops
abe87c1c0dff usb: renesas_usbhs: fix usbhsc_resume() for !USBHSF_RUNTIME_PWCTRL
ff651e899073 USB: cdc-acm: add device-id for quirky printer
ab8e00991809 usb: storage: return on error to avoid a null pointer dereference
f883b509b48b xhci: Fix NULL pointer dereference when cleaning up streams for removed host
09364c783c84 xhci: fix 20000ms port resume timeout
82944485937a ipvs: SNAT packet replies only for NATed connections
48a72b55502c PCI/PM: Restore the status of PCI devices across hibernation
7ad6d36dc907 af_key: Fix sadb_x_ipsecrequest parsing
b8c6a93837f0 powerpc/asm: Mark cr0 as clobbered in mftb()
79afeb379cf4 powerpc: Fix emulation of mfocrf in emulate_step()
397722322954 powerpc: Fix emulation of mcrf in emulate_step()
3f888d1e40ad powerpc/64: Fix atomic64_inc_not_zero() to return an int
c50e87ecca55 iscsi-target: Add login_keys_workaround attribute for non RFC initiators
8045fe0a208c scsi: ses: do not add a device to an enclosure if enclosure_add_links() fails.
e114c612e225 PM / Domains: Fix unsafe iteration over modified list of domain providers
f422cfc38ecc PM / Domains: Fix unsafe iteration over modified list of device links
50b40109fada ASoC: compress: Derive substream from stream based on direction
c2d4d4fa320c wlcore: fix 64K page support
1e3b56033e82 Bluetooth: use constant time memory comparison for secret values
3762d7ed1a43 perf intel-pt: Clear FUP flag on error
b559fa787c62 perf intel-pt: Ensure IP is zero when state is INTEL_PT_STATE_NO_IP
2178b4aa56b7 perf intel-pt: Fix missing stack clear
a4ebb58fd124 perf intel-pt: Improve sample timestamp
5523884640e9 perf intel-pt: Move decoder error setting into one condition
ac8f07408acd NFC: Add sockaddr length checks before accessing sa_family in bind handlers
f71ce1c865cb nfc: Fix the sockaddr length sanitization in llcp_sock_connect
ecb7abed0be9 nfc: Ensure presence of required attributes in the activate_target handler
b57a72d5aaf8 NFC: nfcmrvl: fix firmware-management initialisation
5288f3f80c4c NFC: nfcmrvl: use nfc-device for firmware download
6e2b65dc2774 NFC: nfcmrvl: do not use device-managed resources
4798e468b37b NFC: nfcmrvl_uart: add missing tty-device sanity check
f4d41096f49e NFC: fix broken device allocation
5c2828839909 ath9k: fix tx99 bus error
a86c42f760ff ath9k: fix tx99 use after free
2c1ac3721d4a thermal: cpu_cooling: Avoid accessing potentially freed structures
f440ec864fd8 s5p-jpeg: don't return a random width/height
0ff1117c08c2 ir-core: fix gcc-7 warning on bool arithmetic
83863589806d disable new gcc-7.1.1 warnings for now
ece78cd779f4 Linux 4.4.78
3ed43caedf69 kvm: vmx: allow host to access guest MSR_IA32_BNDCFGS
6ffa92ffaed8 kvm: vmx: Check value written to IA32_BNDCFGS
a40f0ccd4f1c kvm: x86: Guest BNDCFGS requires guest MPX support
be6f33a61f33 kvm: vmx: Do not disable intercepts for BNDCFGS
c6f3576ed0f2 KVM: x86: disable MPX if host did not enable MPX XSAVE features
999b96b4de81 tracing: Use SOFTIRQ_OFFSET for softirq dectection for more accurate results
c17f6512463e PM / QoS: return -EINVAL for bogus strings
275d4be9d39f PM / wakeirq: Convert to SRCU
988067ec9606 sched/topology: Optimize build_group_mask()
5c34f49776b8 sched/topology: Fix overlapping sched_group_mask
4e3c1188521a crypto: caam - fix signals handling
f1bf5d83a9c1 crypto: sha1-ssse3 - Disable avx2
fc43f0935035 crypto: atmel - only treat EBUSY as transient if backlog
d05fbdbe6d1c crypto: talitos - Extend max key length for SHA384/512-HMAC and AEAD
8f93a9aa1d65 mm: fix overflow check in expand_upwards()
0f4fa2138e83 tpm: Issue a TPM2_Shutdown for TPM2 devices.
5c9a2972983f Add "shutdown" to "struct class".
5ec5771bcb2b tpm: Provide strong locking for device removal
5e07de5b5a4e tpm: Get rid of chip->pdev
a2e0b1c18c09 selftests/capabilities: Fix the test_execve test
f07288cfb0f7 mnt: Make propagate_umount less slow for overlapping mount propagation trees
fdb8f1049992 mnt: In propgate_umount handle visiting mounts in any order
7cbc3955ef3b mnt: In umount propagation reparent in a separate pass
050b074e2285 vt: fix unchecked __put_user() in tioclinux ioctls
86949eb96466 exec: Limit arg stack to at most 75% of _STK_LIM
7888c0296c87 s390: reduce ELF_ET_DYN_BASE
72a333a0468e powerpc: move ELF_ET_DYN_BASE to 4GB / 4MB
43cf90f788ac arm64: move ELF_ET_DYN_BASE to 4GB / 4MB
d2471b5e84f3 arm: move ELF_ET_DYN_BASE to 4MB
7eb968cd04d4 binfmt_elf: use ELF_ET_DYN_BASE only for PIE
4544e9ebef4c checkpatch: silence perl 5.26.0 unescaped left brace warnings
68b0f5d85b3a fs/dcache.c: fix spin lockup issue on nlru->lock
2d0db02d2e8f mm/list_lru.c: fix list_lru_count_node() to be race free
717ce69e47f0 kernel/extable.c: mark core_kernel_text notrace
0d6ee0bea866 tools/lib/lockdep: Reduce MAX_LOCK_DEPTH to avoid overflowing lock_chain/: Depth
b29145746576 parisc/mm: Ensure IRQs are off in switch_mm()
635a58225c36 parisc: DMA API: return error instead of BUG_ON for dma ops on non dma devs
f265641dc874 parisc: use compat_sys_keyctl()
e18ca17b9040 parisc: Report SIGSEGV instead of SIGBUS when running out of stack
970616464f43 irqchip/gic-v3: Fix out-of-bound access in gic_set_affinity
2d3c10e21571 cfg80211: Check if PMKID attribute is of expected size
24d0410712b0 cfg80211: Validate frequencies nested in NL80211_ATTR_SCAN_FREQUENCIES
05bf0b6ef9ce cfg80211: Define nla_policy for NL80211_ATTR_LOCAL_MESH_POWER_MODE
4c7021c2fb74 brcmfmac: fix possible buffer overflow in brcmf_cfg80211_mgmt_tx()
9618eb4af306 rds: tcp: use sock_create_lite() to create the accept socket
89e7f17f8f64 vrf: fix bug_on triggered by rx when destroying a vrf
eb7bef1db6f3 net: ipv6: Compare lwstate in detecting duplicate nexthops
0c32b01ee49d ipv6: dad: don't remove dynamic addresses if link is down
38ae32c9f13d net: handle NAPI_GRO_FREE_STOLEN_HEAD case also in napi_frags_finish()
1a4f13e0a99a bpf: prevent leaking pointer via xadd on unpriviledged
d598f7ff24db net: prevent sign extension in dev_get_stats()
32a44f1ba7ed tcp: reset sk_rx_dst in tcp_disconnect()
ccff2f4afbc1 net: dp83640: Avoid NULL pointer dereference.
6a87cca39f29 ipv6: avoid unregistering inet6_dev for loopback
f71e5140242a net/phy: micrel: configure intterupts after autoneg workaround
c485792ed649 net: sched: Fix one possible panic when no destroy callback
0be4c96e7c57 net_sched: fix error recovery at qdisc creation
9e0499d7d30c Linux 4.4.77
52b9815d37fc saa7134: fix warm Medion 7134 EEPROM read
646b65808b0d x86/mm/pat: Don't report PAT on CPUs that don't support it
ad5a88c54cd2 ext4: check return value of kstrtoull correctly in reserved_clusters_store
cb2bc13d0b55 staging: comedi: fix clean-up of comedi_class in comedi_init()
370d06c6b075 staging: vt6556: vnt_start Fix missing call to vnt_key_init_table.
627f3abeeac1 tcp: fix tcp_mark_head_lost to check skb len before fragmenting
ff62c63109d9 md: fix super_offset endianness in super_1_rdev_size_change
e20894aad9e8 md: fix incorrect use of lexx_to_cpu in does_sb_need_changing
2b4f81fb56cf perf tools: Use readdir() instead of deprecated readdir_r() again
c04b8bbd64be perf tests: Remove wrong semicolon in while loop in CQM test
1991cbd2c486 perf trace: Do not process PERF_RECORD_LOST twice
5a25a08ad5e6 perf dwarf: Guard !x86_64 definitions under #ifdef else clause
300d4fea8de0 perf pmu: Fix misleadingly indented assignment (whitespace)
0ba2f070bf45 perf annotate browser: Fix behaviour of Shift-Tab with nothing focussed
0717b5dfab93 perf tools: Remove duplicate const qualifier
c7b8d98bff82 perf script: Use readdir() instead of deprecated readdir_r()
56e75cee2af3 perf thread_map: Use readdir() instead of deprecated readdir_r()
055ce585a864 perf tools: Use readdir() instead of deprecated readdir_r()
144eb3e8e4d9 perf bench numa: Avoid possible truncation when using snprintf()
fb3c230b7ec2 perf tests: Avoid possible truncation with dirent->d_name + snprintf
071ca0bcf337 perf scripting perl: Fix compile error with some perl5 versions
c9cf7ce0bbc4 perf thread_map: Correctly size buffer used with dirent->dt_name
e5a9078a8e0e perf intel-pt: Use __fallthrough
0586f5cd4195 perf top: Use __fallthrough
1ca0a4098005 tools strfilter: Use __fallthrough
57a4c2504b77 tools string: Use __fallthrough in perf_atoll()
e1b7b00a1bd5 tools include: Add a __fallthrough statement
034e10b4f834 mqueue: fix a use-after-free in sys_mq_notify()
5fd2bba08c17 RDMA/uverbs: Check port number supplied by user verbs cmds
92e90c20dc38 KEYS: Fix an error code in request_master_key()
483b1c69655d ath10k: override CE5 config for QCA9377
e47e71766640 x86/uaccess: Optimize copy_user_enhanced_fast_string() for short strings
0214a8ca61e2 x86/tools: Fix gcc-7 warning in relocs.c
e952c291df09 gfs2: Fix glock rhashtable rcu bug
ac12d6abed6c USB: serial: qcserial: new Sierra Wireless EM7305 device ID
1a04853de069 USB: serial: option: add two Longcheer device ids
174ddbcc69e2 pinctrl: sh-pfc: Update info pointer after SoC-specific init
45424528a184 pinctrl: mxs: atomically switch mux and drive strength config
79565741fce0 pinctrl: sunxi: Fix SPDIF function name for A83T
3c4720871bdd pinctrl: meson: meson8b: fix the NAND DQS pins
5d030f597f47 pinctrl: sh-pfc: r8a7791: Fix SCIF2 pinmux data
a2148222e375 sysctl: report EINVAL if value is larger than UINT_MAX for proc_douintvec
e8505e6432c2 sysctl: don't print negative flag for proc_douintvec
2e42225b85ee mac80211_hwsim: Replace bogus hrtimer clockid
93f526ffe8ae usb: Fix typo in the definition of Endpoint[out]Request
c6bf62a36175 usb: usbip: set buffer pointers to NULL after free
ab96add78bfe Add USB quirk for HVR-950q to avoid intermittent device resets
45c73d0c7a96 USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
c8130087ff4d usb: dwc3: replace %p with %pK
a080ec466c34 drm/virtio: don't leak bo on drm_gem_object_init failure
fe0bb2ac167b tracing/kprobes: Allow to create probe with a module name starting with a digit
78f20db86418 mm: fix classzone_idx underflow in shrink_zones()
1f97e170cfc5 bgmac: reset & enable Ethernet core before using it
c01ace719ebe driver core: platform: fix race condition with driver_override
4043d5bca587 fs: completely ignore unknown open flags
ccb973e681d8 fs: add a VALID_OPEN_FLAGS
(From OE-Core rev: 5a2cfba0a3343fe0095b04ae2444aac8b2316320)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable releases with the following commit summary:
0eed54bdbd1b Linux 4.9.46
5aa523a994d1 powerpc/mm: Ensure cpumask update is ordered
5906715b93da ACPI: EC: Fix regression related to wrong ECDT initialization order
3bc8e4f96fe9 ACPI / APEI: Add missing synchronize_rcu() on NOTIFY_SCI removal
454cac5d0891 ACPI: ioapic: Clear on-stack resource before using it
c1628774f0c8 ntb: transport shouldn't disable link due to bogus values in SPADs
4d4f35473d8f ntb: ntb_test: ensure the link is up before trying to configure the mws
7592db555524 ntb: no sleep in ntb_async_tx_submit
bff04a462da3 NTB: ntb_test: fix bug printing ntb_perf results
471954c313c5 ntb_transport: fix bug calculating num_qps_mw
4743d1b37a38 ntb_transport: fix qp count bug
b8fce38266db Clarify (and fix) MAX_LFS_FILESIZE macros
ab4be3a64d06 staging: rtl8188eu: add RNX-N150NUB support
23caaf2f216c iio: hid-sensor-trigger: Fix the race with user space powering up sensors
b150ee066af7 iio: imu: adis16480: Fix acceleration scale factor for adis16480
cbd854d99354 ANDROID: binder: fix proc->tsk check.
8fb0b0ce288d binder: Use wake up hint for synchronous transactions.
51050750181c binder: use group leader instead of open thread
eda70a559187 Revert "android: binder: Sanity check at binder ioctl"
242cea2d666f Bluetooth: bnep: fix possible might sleep error in bnep_session
ffb7640acbc3 Bluetooth: cmtp: fix possible might sleep error in cmtp_session
1b5fcb3b25f7 Bluetooth: hidp: fix possible might sleep error in hidp_session_thread
5f81b1f51b9c netfilter: nat: fix src map lookup
090911a22c7b Revert "leds: handle suspend/resume in heartbeat trigger"
d4c5c26c5f09 net: sunrpc: svcsock: fix NULL-pointer exception
3559de45c99a x86/mm: Fix use-after-free of ldt_struct
70b3fd5ce2ce timers: Fix excessive granularity of new timers after a nohz idle
3df3b2efc065 perf/x86/intel/rapl: Make package handling more robust
bac83e5ce85e perf probe: Fix --funcs to show correct symbols for offline module
bde6608dd638 perf/core: Fix group {cpu,task} validation
741397d16a3d ftrace: Check for null ret_stack on profile function graph entry function
fd8235e721ef nfsd: Limit end of page list when decoding NFSv4 WRITE
5ed70f7db9af cifs: return ENAMETOOLONG for overlong names in cifs_open()/cifs_lookup()
8b053290ee20 cifs: Fix df output for users with quota limits
1fdee09116db kbuild: linker script do not match C names unless LD_DEAD_CODE_DATA_ELIMINATION is configured
8838cd5c543f tracing: Fix freeing of filter in create_filter() when set_str is false
2818a7659f0a tracing: Fix kmemleak in tracing_map_array_free()
3170d9abc5d0 tracing: Call clear_boot_tracer() at lateinit_sync
46cd0a3b93a5 drm: rcar-du: Fix H/V sync signal polarity configuration
1fb8ff8b92bd drm: rcar-du: Fix display timing controller parameter
35fd2b840b6c drm: rcar-du: Fix crash in encoder failure error path
eed96e759533 drm/atomic: If the atomic check fails, return its value first
ce66f629ad82 drm: Release driver tracking before making the object available again
9d263321d7a2 mm/memblock.c: reversed logic in memblock_discard()
b65b6ac52e0f fork: fix incorrect fput of ->exe_file causing use-after-free
0f49b0519f11 mm/madvise.c: fix freeing of locked page with MADV_FREE
036c100b58f7 i2c: designware: Fix system suspend
5d8b3cc24688 mm, shmem: fix handling /sys/kernel/mm/transparent_hugepage/shmem_enabled
8d362cb3bfbb ARCv2: PAE40: Explicitly set MSB counterpart of SLC region ops addresses
6cba07468521 ALSA: firewire: fix NULL pointer dereference when releasing uninitialized data of iso-resource
b52bce93db99 ALSA: hda - Add stereo mic quirk for Lenovo G50-70 (17aa:3978)
8989c70d30b6 ALSA: core: Fix unexpected error at replacing user TLV
9767a4567831 ALSA: usb-audio: Add delay quirk for H650e/Jabra 550a USB headsets
275f3033ccf6 KVM: x86: block guest protection keys unless the host has them enabled
cfb917a17d3d KVM: s390: sthyi: fix specification exception detection
a745333fa924 KVM: s390: sthyi: fix sthyi inline assembly
963068b1ff1c Input: ALPS - fix two-finger scroll breakage in right side on ALPS touchpad
9ab605d2bb6f Input: elan_i2c - add ELAN0602 ACPI ID to support Lenovo Yoga310
a00a9cd7daf9 Input: trackpoint - add new trackpoint firmware ID
655da3da9bb3 bpf/verifier: fix min/max handling in BPF_SUB
bf5b91b782e8 bpf: fix mixed signed/unsigned derived min/max value bounds
8d674bee8f66 bpf, verifier: fix alu ops against map_value{, _adj} register types
577aa83b2896 bpf: adjust verifier heuristics
e37bdeee95a4 bpf, verifier: add additional patterns to evaluate_reg_imm_alu
7fa2fdf9f19e net_sched: fix order of queue length updates in qdisc_replace()
3e00bf91fefc net: sched: fix NULL pointer dereference when action calls some targets
f3f5bf2755c7 irda: do not leak initialized list.dev to userspace
19f433a9ce9d net/mlx4_core: Enable 4K UAR if SRIOV module parameter is not enabled
aadbe1fe91e7 tcp: when rearming RTO, if RTO time is in past then fire RTO ASAP
1c18f9367520 ipv6: repair fib6 tree in failure case
62e9a28baa28 ipv6: reset fn->rr_ptr when replacing route
7ad5fb9594ee tipc: fix use-after-free
0f5ecc79194d sctp: fully initialize the IPv6 address in sctp_v6_to_addr()
57406e737322 nfp: fix infinite loop on umapping cleanup
f29c9f46af4a ipv4: better IP_MAX_MTU enforcement
59af5b87695d ptr_ring: use kmalloc_array()
3c7af814def8 openvswitch: fix skb_panic due to the incorrect actions attrlen
d6a6b6b4c3ba bpf: fix bpf_trace_printk on 32 bit archs
792c0707bd3f net_sched: remove warning from qdisc_hash_add
38530f6e6dae net_sched/sfq: update hierarchical backlog when drop packet
71501d9b6190 ipv4: fix NULL dereference in free_fib_info_rcu()
236b0d939b05 dccp: defer ccid_hc_tx_delete() at dismantle time
b31cbe2c3916 dccp: purge write queue in dccp_destroy_sock()
2e3f17f81029 af_key: do not use GFP_KERNEL in atomic contexts
d0526eef0bf7 sparc64: remove unnecessary log message
4b904b22bc90 Linux 4.9.45
083d423b1f8a usb: qmi_wwan: add D-Link DWM-222 device ID
edfe57b2f44a usb: optimize acpi companion search for usb port devices
322cd3262365 pids: make task_tgid_nr_ns() safe
61332dc598c3 Sanitize 'move_pages()' permission checks
f9497d51259f genirq/ipi: Fixup checks against nr_cpu_ids
762ac49ccece genirq: Restore trigger settings in irq_modify_status()
4691f1ca6fad irqchip/atmel-aic: Fix unbalanced refcount in aic_common_rtc_irq_fixup()
665d2009a4af irqchip/atmel-aic: Fix unbalanced of_node_put() in aic_common_irq_fixup()
10d5bf2f6928 x86/asm/64: Clear AC on NMI entries
1581d704e97d xen-blkfront: use a right index when checking requests
7672f1186047 powerpc: Fix VSX enabling/flushing to also test MSR_FP and MSR_VEC
d8c20af00858 blk-mq-pci: add a fallback when pci_irq_get_affinity returns NULL
6c7f3756d072 xen: fix bio vec merging
1f2347a095ce mm: revert x86_64 and arm64 ELF_ET_DYN_BASE base changes
91105f2c621e mm/mempolicy: fix use after free when calling get_mempolicy
59ee25d09fd5 mm: fix double mmap_sem unlock on MMF_UNSTABLE enforced SIGBUS
87395eeb28e5 mm: discard memblock data later
d3e6e5956687 ALSA: usb-audio: Add mute TLV for playback volumes on C-Media devices
f39f086d541f ALSA: usb-audio: Apply sample rate quirk to Sennheiser headset
bafb25c5050c ALSA: seq: 2nd attempt at fixing race creating a queue
3f7292106d0b Input: elan_i2c - Add antoher Lenovo ACPI ID for upcoming Lenovo NB
5dd141e0e985 Input: elan_i2c - add ELAN0608 to the ACPI table
c3e8a12e701c crypto: x86/sha1 - Fix reads beyond the number of blocks passed
24e7f540245d crypto: ixp4xx - Fix error handling path in 'aead_perform()'
93f5a0318aae parisc: pci memory bar assignment fails with 64bit kernels on dino/cujo
adcfbb2d9e38 audit: Fix use after free in audit_remove_watch_rule()
5170d210efe4 netfilter: nf_ct_ext: fix possible panic after nf_ct_extend_unregister
a97a16f18c48 Linux 4.9.44
eea1ec08f8a5 MIPS: DEC: Fix an int-handler.S CPU_DADDI_WORKAROUNDS regression
5e5a51045532 pinctrl: meson-gxbb: Add missing GPIODV_18 pin entry
8cbc0b49ca8d pinctrl: samsung: Remove bogus irq_[un]mask from resource management
8495ab6ef94a pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD20
f642d29c2388 pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD11
877fe62863d0 pinctrl: intel: merrifield: Correct UART pin lists
7b6fff65ecf9 pinctrl: sunxi: add a missing function of A10/A20 pinctrl driver
a68978bb949a pnfs/blocklayout: require 64-bit sector_t
eda1b3d42fad iio: adc: vf610_adc: Fix VALT selection value for REFSEL bits
4cae4a23d9a4 usb:xhci:Add quirk for Certain failing HP keyboard on reset after resume
f4bbed570aef usb: quirks: Add no-lpm quirk for Moshi USB to Ethernet Adapter
42d65cc89a23 usb: core: unlink urbs from the tail of the endpoint's urb_list
7c2beb1c4432 USB: Check for dropped connection before switching to full speed
7f737f10c1ee usb: renesas_usbhs: Fix UGCTRL2 value for R-Car Gen3
2db03a7fa0dd usb: gadget: udc: renesas_usb3: Fix usb_gadget_giveback_request() calling
a09ecc9345b6 uas: Add US_FL_IGNORE_RESIDUE for Initio Corporation INIC-3069
b189f8eb2715 staging: comedi: comedi_fops: do not call blocking ops when !TASK_RUNNING
bbae08213e6e iio: light: tsl2563: use correct event code
1ca3869234d3 iio: accel: bmc150: Always restore device to normal mode after suspend-resume
c5347390e57a staging:iio:resolver:ad2s1210 fix negative IIO_ANGL_VEL read
199a3f26e9d8 USB: hcd: Mark secondary HCD as dead if the primary one died
821ccbe2937e usb: musb: fix tx fifo flush handling again
4fd8c366acac USB: serial: pl2303: add new ATEN device id
566516401501 USB: serial: cp210x: add support for Qivicon USB ZigBee dongle
e27f58cd130b USB: serial: option: add D-Link DWM-222 device ID
2b3bf207b2a2 drm/i915: Fix out-of-bounds array access in bdw_load_gamma_lut
4381e2c30008 drm/etnaviv: Fix off-by-one error in reloc checking
00f3c2a253f7 nfs/flexfiles: fix leak of nfs4_ff_ds_version arrays
0a205d8145c2 mmc: mmc: correct the logic for setting HS400ES signal voltage
160c365b5879 nand: fix wrong default oob layout for small pages using soft ecc
227559e6233c fuse: initialize the flock flag in fuse_file on allocation
1da30c23b63b target: Fix node_acl demo-mode + uncached dynamic shutdown regression
b51a71635576 iscsi-target: Fix iscsi_np reset hung task during parallel delete
e6a0599b7464 iscsi-target: fix memory leak in iscsit_setup_text_cmd()
ced271b814e4 mtd: nand: Fix timing setup for NANDs that do not support SET FEATURES
a311810903c7 xtensa: don't limit csum_partial export by CONFIG_NET
a3ab0f069f46 xtensa: mm/cache: add missing EXPORT_SYMBOLs
03973c57e1a2 xtensa: fix cache aliasing handling code for WT cache
0041042de554 futex: Remove unnecessary warning from get_futex_key
e2286916ac07 mm: fix list corruptions on shmem shrinklist
b56cd77c1205 mm: ratelimit PFNs busy info message
6da35f43acde Linux 4.9.43
1166e3e03342 Revert "ARM: dts: sun8i: Support DTB build for NanoPi M1"
3f0075cdbdd8 KVM: arm/arm64: Handle hva aging while destroying the vm
6309eb77d823 sparc64: Prevent perf from running during super critical sections
33dc6a6a85f1 udp: consistently apply ufo or fragmentation
4688f042599f revert "ipv4: Should use consistent conditional judgement for ip fragment in __ip_append_data and ip_finish_output"
53eed8aadc58 revert "net: account for current skb length when deciding about UFO"
e58413550613 packet: fix tp_reserve race in packet_set_ring
f628c9df047b igmp: Fix regression caused by igmp sysctl namespace code.
69ffc9644ffe net: avoid skb_warn_bad_offload false positives on UFO
87fdcfe21195 tcp: fastopen: tcp_connect() must refresh the route
e392e305af01 net: sched: set xt_tgchk_param par.nft_compat as 0 in ipt_init_target
35d90144e2ce net/mlx4_en: don't set CHECKSUM_COMPLETE on SCTP packets
1b582a2c366d bpf, s390: fix jit branch offset related to ldimm64
05046af36302 net: fix keepalive code vs TCP_FASTOPEN_CONNECT
3914a7eccbc7 tcp: avoid setting cwnd to invalid ssthresh after cwnd reduction states
6ec6ec3bbb87 ppp: fix xmit recursion detection on ppp channels
3b25bfc11cf9 ppp: Fix false xmit recursion detect with two ppp devices
4c666b0d9070 Linux 4.9.42
f9636c9bdd58 workqueue: implicit ordered attribute should be overridable
c3c94716855a net: phy: Fix PHY unbind crash
ef09c9ff3431 net: account for current skb length when deciding about UFO
f102bb7164c9 ipv4: Should use consistent conditional judgement for ip fragment in __ip_append_data and ip_finish_output
a69f0d54fdc9 net/mlx5: E-Switch, Re-enable RoCE on mode change only after FDB destroy
22cccef1fc70 mm: don't dereference struct page fields of invalid pages
916a05b90d83 signal: protect SIGNAL_UNKILLABLE from unintentional clearing.
d12824c897a2 lib/Kconfig.debug: fix frv build failure
c736011052cf mm, slab: make sure that KMALLOC_MAX_SIZE will fit into MAX_ORDER
bebbe845cb50 ARM: 8632/1: ftrace: fix syscall name matching
e6d53f5f8c03 virtio_blk: fix panic in initialization error path
952d07ac1e6e nbd: blk_mq_init_queue returns an error code on failure, not NULL
44d52834efb3 iw_cxgb4: do not send RX_DATA_ACK CPLs after close/abort
984922f2c897 ARM: dts: sunxi: Change node name for pwrseq pin on Olinuxino-lime2-emmc
1e9e71782f34 ARM: dts: sun8i: Support DTB build for NanoPi M1
61cf0afe12eb drm/virtio: fix framebuffer sparse warning
2a60965a0ef7 scsi: qla2xxx: Get mutex lock before checking optrom_state
99eb27d6182d clk/samsung: exynos542x: mark some clocks as critical
ee96797b78ca ipv4: make tcp_notsent_lowat sysctl knob behave as true unsigned int
0bbbbaef6aa0 phy state machine: failsafe leave invalid RUNNING state
9acfb313849e netfilter: use fwmark_reflect in nf_send_reset
2e2a390b7f67 ASoC: rt5645: set sel_i2s_pre_div1 to 2
c77512d67102 spi: spi-axi: Free resources on error path
f897e9ae07c4 x86/boot: Add missing declaration of string functions
1042bd47ddfb tg3: Fix race condition in tg3_get_stats64().
5f7eeee7940e net: phy: dp83867: fix irq generation
bfe384ed452a sh_eth: R8A7740 supports packet shecksumming
2d4fef7f4102 sh_eth: fix EESIPR values for SH77{34|63}
b87145215abe wext: handle NULL extra data in iwe_stream_add_point better
b9d68cdce72d sparc64: Fix exception handling in UltraSPARC-III memcpy.
bfafa56e6c67 sparc64: Measure receiver forward progress to avoid send mondo timeout
816843a257c7 xen-netback: correctly schedule rate-limited queues
38e71eabb8f7 net: phy: Correctly process PHY_HALTED in phy_stop_machine()
33e25b2168dd net/mlx5e: Schedule overflow check work to mlx5e workqueue
862ade9a4383 net/mlx5e: Fix wrong delay calculation for overflow check scheduling
d7049799668a net/mlx5e: Fix outer_header_zero() check size
d19d0ac684e5 net/mlx5: Fix command bad flow on command entry allocation failure
fca84d617f77 net/mlx5: Consider tx_enabled in all modes on remap
df32d08293ea sctp: fix the check for _sctp_walk_params and _sctp_walk_errors
cc6f1486f2cb sctp: don't dereference ptr before leaving _sctp_walk_{params, errors}()
bb21d2e75378 dccp: fix a memleak for dccp_feat_init err process
4d938b6fcb90 dccp: fix a memleak that dccp_ipv4 doesn't put reqsk properly
9ffa6727f571 dccp: fix a memleak that dccp_ipv6 doesn't put reqsk properly
c0c8688f0deb net: ethernet: nb8800: Handle all 4 RGMII modes identically
23a91c8ab682 ipv6: Don't increase IPSTATS_MIB_FRAGFAILS twice in ip6_fragment()
47f3bf6e3116 packet: fix use-after-free in prb_retire_rx_blk_timer_expired()
d53ff3816d94 openvswitch: fix potential out of bound access in parse_ct
59e76ed17981 mcs7780: Fix initialization when CONFIG_VMAP_STACK is enabled
cda2bc91baf7 rtnetlink: allocate more memory for dev_set_mac_address()
0c47f11bc4a5 ipv4: initialize fib_trie prior to register_netdev_notifier call.
5a2d511a95cc net: dsa: b53: Add missing ARL entries for BCM53125
4a2ffe1707e3 ipv6: avoid overflow of offset in ip6_find_1stfragopt
0b83249a57ad net: Zero terminate ifr_name in dev_ifname().
a62bc8d336e3 ipv4: ipv6: initialize treq->txhash in cookie_v[46]_check()
0cd73c42b7a2 tcp_bbr: init pacing rate on first RTT sample
2e6b237dc03b tcp_bbr: remove sk_pacing_rate=0 transient during init
0c0ede36b9e0 tcp_bbr: introduce bbr_init_pacing_rate_from_rtt() helper
ec789686d79b tcp_bbr: introduce bbr_bw_to_pacing_rate() helper
73520d3814b6 tcp_bbr: cut pacing rate only if filled pipe
12d17d78e3f7 saa7164: fix double fetch PCIe access condition
3a63729427ac Btrfs: fix early ENOSPC due to delalloc
0f442c5b2e4a f2fs: sanity check checkpoint segno and blkoff
c14e327bee70 media: lirc: LIRC_GET_REC_RESOLUTION should return microseconds
e92add299fee mmc: core: Use device_property_read instead of of_property_read
baf4ad0e5162 mmc: dw_mmc: Use device_property_read instead of of_property_read
bdabf097f05b iscsi-target: Fix initial login PDU asynchronous socket close OOPs
733d7ab6c5bc media: platform: davinci: return -EINVAL for VPFE_CMD_S_CCDC_RAW_PARAMS ioctl
4f3544816937 ARM: dts: tango4: Request RGMII RX and TX clock delays
ff603e017bee ARM: dts: armada-38x: Fix irq type for pca955
12353a00df25 ext4: fix overflow caused by missing cast in ext4_resize_fs()
0814c3a9447b ext4: fix SEEK_HOLE/SEEK_DATA for blocksize < pagesize
b680e22fca76 gpiolib: skip unwanted events, don't convert them to opposite edge
be5c6efc996e iommu/amd: Enable ga_log_intr when enabling guest_mode
03ebdd1eb95a powerpc/64: Fix __check_irq_replay missing decrementer interrupt
8164692a2f66 powerpc/tm: Fix saving of TM SPRs in core dump
9ef8b23b94b9 timers: Fix overflow in get_next_timer_interrupt
7b95b7456362 mm/page_alloc: Remove kernel address exposure in free_reserved_area()
0c609d3e1fbd KVM: async_pf: make rcu irq exit if not triggered from idle task
650c763ea5ea ASoC: do not close shared backend dailink
69f15fff03e8 drm/amdgpu: Fix undue fallthroughs in golden registers initialization
c531a24057ac ALSA: hda - Fix speaker output from VAIO VPCL14M1R
45a636ec1849 cpuset: fix a deadlock due to incomplete patching of cpusets_enabled()
5a1eef71aa2a mm, mprotect: flush TLB if potentially racing with a parallel reclaim leaving stale TLB entries
943281eb4ecf mmc: core: Fix access to HS400-ES devices
1f32e67adac4 device property: Make dev_fwnode() public
347be00b56f7 mmc: sdhci-of-at91: force card detect value for non removable devices
f7d3e54fb40c NFSv4: Fix EXCHANGE_ID corrupt verifier issue
f5214eb4baf8 brcmfmac: fix memleak due to calling brcmf_sdiod_sgtable_alloc() twice
de8c33290f1c iwlwifi: dvm: prevent an out of bounds access
61a0adbfaad7 workqueue: restore WQ_UNBOUND/max_active==1 to be ordered
804b1a9f0aea libata: array underflow in ata_find_dev()
445ee6cdd91e cgroup: fix error return value from cgroup_subtree_control()
4a99eac8d2b3 cgroup: create dfl_root files on subsys registration
5d23e4f3a333 parisc: Handle vma's whose context is not current in flush_cache_range
db397d9c6e66 Linux 4.9.41
007dffc661cf ASoC: dpcm: Avoid putting stream state to STOP when FE stream is paused
27ef0283b60e ASoC: Intel: Skylake: Release FW ctx in cleanup
23ab274ddf83 scsi: bfa: Increase requested firmware version to 3.2.5.1
5f7040719202 scsi: snic: Return error code on memory allocation failure
2803ea76366a scsi: fnic: Avoid sending reset to firmware when another reset is in progress
3b6f4e292cbd HID: ignore Petzl USB headlamp
3f0dfa11cc0d ASoC: Intel: bytcr-rt5640: fix settings in internal clock mode
b899142ce21d perf/x86: Set pmu->module in Intel PMU modules
efa225254a4a x86/platform/intel-mid: Rename 'spidev' to 'mrfld_spidev'
12dac5fcf5ec ALSA: usb-audio: test EP_FLAG_RUNNING at urb completion
301681d60003 ARCv2: IRQ: Call entry/exit functions for chained handlers in MCIP
f10e2065ce76 sh_eth: enable RX descriptor word 0 shift on SH7734
2909c9c2d713 ASoC: fsl_ssi: set fifo watermark to more reliable value
2548d893a542 net: usb: asix_devices: add .reset_resume for USB PM
a7526723b7fc nvmem: imx-ocotp: Fix wrong register size
e95ec3582a29 arm64: mm: fix show_pte KERN_CONT fallout
812a7df6556f vfio-pci: Handle error from pci_iomap
a417ea5b9d22 video: fbdev: cobalt_lcdfb: Handle return NULL error from devm_ioremap
ddc0ec3be807 perf symbols: Robustify reading of build-id from sysfs
d8086c3bd3a5 perf tools: Install tools/lib/traceevent plugins with install-bin
0b8656414e29 xfrm: Don't use sk_family for socket policy lookups
ab5e7df9e064 tools lib traceevent: Fix prev/next_prio for deadline tasks
704a6d719d4c Xen: ARM: Zero reserved fields of xatp before making hypervisor call
f76ddff6c521 Btrfs: adjust outstanding_extents counter properly when dio write is split
49fc90b443c7 benet: stricter vxlan offloading check in be_features_check
673121283605 Btrfs: fix lockdep warning about log_mutex
78418b867334 Btrfs: use down_read_nested to make lockdep silent
92d6a813b03a usb: gadget: Fix copy/pasted error message
a15a3d92eca8 ACPI / scan: Prefer devices without _HID/_CID for _ADR matching
ebd4642ee412 ARM: s3c2410_defconfig: Fix invalid values for NF_CT_PROTO_*
69f3df1fd013 perf probe: Fix to get correct modname from elf header
3209f3f69eeb ARM64: zynqmp: Fix i2c node's compatible string
e3603533ae63 ARM64: zynqmp: Fix W=1 dtc 1.4 warnings
8af0937aee50 usb: dwc3: omap: fix race of pm runtime with irq handler in probe
29e0adf8bacd dmaengine: ti-dma-crossbar: Add some 'of_node_put()' in error path.
000224c1106c l2tp: consider '::' as wildcard address in l2tp_ip6 socket lookup
c2804b21f2e7 dmaengine: ioatdma: workaround SKX ioatdma version
2987ce159fb9 dmaengine: ioatdma: Add Skylake PCI Dev ID
88a86f8dfaad openrisc: Add _text symbol to fix ksym build error
033d5ce4ad8d irqchip/mxs: Enable SKIP_SET_WAKE and MASK_ON_SUSPEND
c612bba54b8c ASoC: nau8825: fix invalid configuration in Pre-Scalar of FLL
14e5c8c61791 spi: dw: Make debugfs name unique between instances
ed788dc6fa65 ASoC: tlv320aic3x: Mark the RESET register as volatile
ca40b2d039dc irqchip/keystone: Fix "scheduling while atomic" on rt
c7d0c0d84808 vfio-pci: use 32-bit comparisons for register address for gcc-4.5
7d33b41d34f5 drm/msm: Verify that MSM_SUBMIT_BO_FLAGS are set
50e3950d77ba drm/msm: Put back the vaddr in submit_reloc()
e0d5bb92c07b drm/msm: Ensure that the hardware write pointer is valid
237652fae500 net/mlx4_core: Fix raw qp flow steering rules under SRIOV
7e150f79134e net/mlx4: Remove BUG_ON from ICM allocation routine
a8820678afe1 net/mlx4_core: Use-after-free causes a resource leak in flow-steering detach
aeb230318ddb ipv6: Should use consistent conditional judgement for ip6 fragment between __ip6_append_data and ip6_finish_output
ea703cb0140b net/mlx5: Disable RoCE on the e-switch management port under switchdev mode
a0a4dd446904 ARM: dts: n900: Mark eMMC slot with no-sdio and no-sd flags
0ce84ef6a296 ARM: dts: am57xx-idk: Put USB2 port in peripheral mode
2bc4d1c95784 dt-bindings: input: Specify the interrupt number of TPS65217 power button
b1164693f770 dt-bindings: power/supply: Update TPS65217 properties
0686a9bc42ad ARM: omap2+: fixing wrong strcat for Non-NULL terminated string
82338e9ffba5 r8169: add support for RTL8168 series add-on card.
34fae9c906ec x86/mce/AMD: Make the init code more robust
a3ff46097a1d device-dax: fix sysfs duplicate warnings
48a70be0de9e net: skb_needs_check() accepts CHECKSUM_NONE for tx
e10f7bd6a6b8 pstore: Use dynamic spinlock initializer
a0840275e3eb pstore: Correctly initialize spinlock and flags
4693080316e6 pstore: Allow prz to control need for locking
5463a3dccf10 v4l: s5c73m3: fix negation operator
ad25f11ed216 dentry name snapshots
d933777b1b1b ipmi/watchdog: fix watchdog timeout set on reboot
196553666dce RDMA/uverbs: Fix the check for port number
62b5776c8c86 sched/cgroup: Move sched_online_group() back into css_online() to fix crash
016a638a518c mailbox: handle empty message in tx_tick
abe9090ac07b mailbox: skip complete wait event if timer expired
a23fba818203 mailbox: always wait in mbox_send_message for blocking Tx mode
2f16bcd4dba9 wil6210: fix deadlock when using fw_no_recovery option
59153e658936 ath10k: fix null deref on wmi-tlv when trying spectral scan
7b3a66739ff0 isdn/i4l: fix buffer overflow
b756862459d2 isdn: Fix a sleep-in-atomic bug
6c78197e4a69 net: phy: Do not perform software reset for Generic PHY
57154f0302cd nfc: fdp: fix NULL pointer dereference
35bdf9a61dc9 nfc: Fix hangup of RC-S380* in port100_send_ack()
6b3d13fe67da smp/hotplug: Replace BUG_ON and react useful
7b4e4b18ea64 smp/hotplug: Move unparking of percpu threads to the control CPU
755f65501f70 drm: rcar-du: Simplify and fix probe error handling
9bf0d78bf640 Staging: comedi: comedi_fops: Avoid orphaned proc entry
0f31691508c6 Revert "powerpc/numa: Fix percpu allocations to be NUMA aware"
c39c3aeb2b41 KVM: PPC: Book3S HV: Save/restore host values of debug registers
e5cd34d10459 KVM: PPC: Book3S HV: Restore critical SPRs to host values on guest exit
ae8faca6e2e7 drm/nouveau/bar/gf100: fix access to upper half of BAR2
34da5f74eb5c drm/nouveau/disp/nv50-: bump max chans to 21
e41779886b90 drm/vmwgfx: Fix gcc-7.1.1 warning
fabc7dffe9e1 md/raid5: add thread_group worker async_tx_issue_pending_all
d745f0f67b70 KVM: PPC: Book3S HV: Enable TM before accessing TM registers
9eb088e57edd crypto: authencesn - Fix digest_null crash
7d2a354861e9 NFSv4.1: Fix a race where CB_NOTIFY_LOCK fails to wake a waiter
b087b8b11e52 NFS: invalidate file size when taking a lock.
6d3d93ca2ef8 powerpc/pseries: Fix of_node_put() underflow during reconfig remove
fa2aa76efe7d parisc: Suspend lockup detectors before system halt
f0d23fa63243 parisc: Extend disabled preemption in copy_user_page
afe9fc012bc1 parisc: Prevent TLB speculation on flushed pages on CPUs that only support equivalent aliases
5f8bdd5edc82 ALSA: hda - Add missing NVIDIA GPU codec IDs to patch table
3d955095c597 ALSA: fm801: Initialize chip after IRQ handler is registered
3a79e1c8e709 jfs: Don't clear SGID when inheriting ACLs
26d01aa8a110 net: reduce skb_warn_bad_offload() noise
d97aff4f9770 pstore: Make spinlock per zone instead of global
0f94b36de37c af_key: Add lock to key dump
efcfbfb1d8bf Linux 4.9.40
91af5f04cd5b alarmtimer: don't rate limit one-shot timers
919e481152ce tracing: Fix kmemleak in instance_rmdir
7bd804a05eb0 PM / Domains: defer dev_pm_domain_set() until genpd->attach_dev succeeds if present
69fbb442144a reiserfs: Don't clear SGID when inheriting ACLs
1c7e5ca092c0 spmi: Include OF based modalias in device uevent
a18935b45e97 of: device: Export of_device_{get_modalias, uvent_modalias} to modules
6b50bca7cdb0 acpi/nfit: Fix memory corruption/Unregister mce decoder on failure
97de6f34b42b ovl: fix random return value on mount
5cf84432b422 hfsplus: Don't clear SGID when inheriting ACLs
b33da556255c mlx5: Avoid that mlx5_ib_sg_to_klms() overflows the klms[] array
a44042519469 drm/mst: Avoid processing partially received up/down message transactions
48376e6b71a6 drm/mst: Avoid dereferencing a NULL mstb in drm_dp_mst_handle_up_req()
bc3bd649ebb4 drm/mst: Fix error handling during MST sideband message reception
db2975396090 RDMA/core: Initialize port_num in qp_attr
acccf01a807a ceph: fix race in concurrent readdir
d42f9c7435c0 staging: lustre: ko2iblnd: check copy_from_iter/copy_to_iter return code
85643f6f5028 staging: sm750fb: avoid conflicting vesafb
2bc52403da8a staging: comedi: ni_mio_common: fix AO timer off-by-one regression
964a21a1300c staging: rtl8188eu: add TL-WN722N v2 support
a76a032300e2 Revert "perf/core: Drop kernel samples even though :u is specified"
61415418cdba perf annotate: Fix broken arrow at row 0 connecting jmp instruction to its target
d5f9cd081c66 iser-target: Avoid isert_conn->cm_id dereference in isert_login_recv_done
672145dfae84 target: Fix COMPARE_AND_WRITE caw_sem leak during se_cmd quiesce
fa67ac18eff4 udf: Fix deadlock between writeback and udf_setsize()
9ebfb4fa3ab7 NFS: only invalidate dentrys that are clearly invalid.
4dd0aa9ae6d0 sunrpc: use constant time memory comparison for mac
dd0d6509cbf4 IB/core: Namespace is mandatory input for address resolution
5c2717f41545 IB/iser: Fix connection teardown race condition
5b50e0e74e2e Input: i8042 - fix crash at boot time
6d77ac4bc514 MIPS: Fix a typo: s/preset/present/ in r2-to-r6 emulation error message
3330a05c5c6e MIPS: Send SIGILL for R6 branches in `__compute_return_epc_for_insn'
d4bd6a1df2c8 MIPS: Send SIGILL for linked branches in `__compute_return_epc_for_insn'
99ce76144dee MIPS: Rename `sigill_r6' to `sigill_r2r6' in `__compute_return_epc_for_insn'
86dd4aa30790 MIPS: Send SIGILL for BPOSGE32 in `__compute_return_epc_for_insn'
d79354cc1bc9 MIPS: math-emu: Prevent wrong ISA mode instruction emulation
040078ad0fe8 MIPS: Fix unaligned PC interpretation in `compute_return_epc'
434c9f2e3b46 MIPS: Actually decode JALX in `__compute_return_epc_for_insn'
f8c331cbc937 MIPS: Save static registers before sysmips
a9db2f4f887c MIPS: Fix MIPS I ISA /proc/cpuinfo reporting
c69280e9018e x86/ioapic: Pass the correct data to unmask_ioapic_irq()
036d59f40ac9 x86/acpi: Prevent out of bound access caused by broken ACPI tables
456a997498cb Revert "ACPI / EC: Enable event freeze mode..." to fix a regression
b2966b109b1a ACPI / EC: Drop EC noirq hooks to fix a regression
ec469b5e2aaf ubifs: Don't leak kernel memory to the MTD
02131aea6bd4 MIPS: Negate error syscall return in trace
f39f3b5d8260 MIPS: Fix mips_atomic_set() with EVA
dd2f83263dd8 MIPS: Fix mips_atomic_set() retry condition
198bd494cebf ftrace: Fix uninitialized variable in match_records()
d17cc7b7a752 nvme-rdma: remove race conditions from IB signalling
8f9dec0c2dbb vfio: New external user group/file match
e91a55790ddf vfio: Fix group release deadlock
fee760fc6c79 ovl: drop CAP_SYS_RESOURCE from saved mounter's credentials
0fb615f9cad7 drm/ttm: Fix use-after-free in ttm_bo_clean_mm
f97f9e94f666 f2fs: Don't clear SGID when inheriting ACLs
19e117a50135 f2fs: sanity check size of nat and sit cache
58d2eacd3b0e xfs: Don't clear SGID when inheriting ACLs
1b9008cdae94 ipmi:ssif: Add missing unlock in error branch
685e124ebc7f ipmi: use rcu lock around call to intf->handlers->sender()
6e7b1eff91aa drm/radeon: Fix eDP for single-display iMac10,1 (v2)
a844f8d2a564 drm/radeon/ci: disable mclk switching for high refresh rates (v2)
b85007c9114a drm/amd/amdgpu: Return error if initiating read out of range on vram
8302e9d2f50b s390/syscalls: Fix out of bounds arguments access
1e95148551f3 Raid5 should update rdev->sectors after reshape
4d1f97eb59a4 ext2: Don't clear SGID when inheriting ACLs
0fa705dc61ee libnvdimm: fix badblock range handling of ARS range
891c31e16cb7 libnvdimm, btt: fix btt_rw_page not returning errors
e82672f45ea3 cx88: Fix regression in initial video standard setting
4d3d3a1690c2 x86/xen: allow userspace access during hypercalls
03c1d9d45582 md: don't use flush_signals in userspace processes
dbc969ca944f usb: renesas_usbhs: gadget: disable all eps when the driver stops
5433bfcc8527 usb: renesas_usbhs: fix usbhsc_resume() for !USBHSF_RUNTIME_PWCTRL
a74779d8e172 USB: cdc-acm: add device-id for quirky printer
8665f40a06a0 usb: storage: return on error to avoid a null pointer dereference
8bc51b4f2a42 mxl111sf: Fix driver to use heap allocate buffers for USB messages
24a950e16eb5 xhci: Bad Ethernet performance plugged in ASM1042A host
01845a8347b7 xhci: Fix NULL pointer dereference when cleaning up streams for removed host
bf0440882ea9 xhci: fix 20000ms port resume timeout
445ea10969aa ipvs: SNAT packet replies only for NATed connections
33780512d9fe PCI/PM: Restore the status of PCI devices across hibernation
f257f4bf6f07 PCI: rockchip: Use normal register bank for config accessors
13b2f9f9b8aa PCI: Work around poweroff & suspend-to-RAM issue on Macbook Pro 11
3c17d418afb0 af_key: Fix sadb_x_ipsecrequest parsing
3b7babc6be0a powerpc/mm/radix: Properly clear process table entry
88481a2c40e4 powerpc/asm: Mark cr0 as clobbered in mftb()
5e35ee249e26 powerpc: Fix emulation of mfocrf in emulate_step()
53a282161317 powerpc: Fix emulation of mcrf in emulate_step()
99fc5a2254ef powerpc/64: Fix atomic64_inc_not_zero() to return an int
d638c8584462 powerpc/pseries: Fix passing of pp0 in updatepp() and updateboltedpp()
71b1caea95a8 xen/scsiback: Fix a TMR related use-after-free
732e3c76cf97 iscsi-target: Add login_keys_workaround attribute for non RFC initiators
fc866b296a46 scsi: Add STARGET_CREATED_REMOVE state to scsi_target_state
542c097f1cb6 scsi: ses: do not add a device to an enclosure if enclosure_add_links() fails.
d2bb0af4463d PM / Domains: Fix unsafe iteration over modified list of domains
178aa241fc07 PM / Domains: Fix unsafe iteration over modified list of domain providers
b87a32175a22 PM / Domains: Fix unsafe iteration over modified list of device links
4d94276155f8 ASoC: compress: Derive substream from stream based on direction
9a81c136f486 igb: Explicitly select page 0 at initialization
157302f97aaa btrfs: Don't clear SGID when inheriting ACLs
754f4e05e999 wlcore: fix 64K page support
3da27a9d9827 Bluetooth: use constant time memory comparison for secret values
fe5cdbcdafaa perf intel-pt: Clear FUP flag on error
94c38cd0aff2 perf intel-pt: Use FUP always when scanning for an IP
5a16bd39c501 perf intel-pt: Ensure never to set 'last_ip' when packet 'count' is zero
daa637832dd2 perf intel-pt: Fix last_ip usage
dc0401375f7a perf intel-pt: Ensure IP is zero when state is INTEL_PT_STATE_NO_IP
b338b87f2277 perf intel-pt: Fix missing stack clear
3e6837f1f414 perf intel-pt: Improve sample timestamp
d3503ef1a614 perf intel-pt: Move decoder error setting into one condition
244a7db0e9d5 NFC: Add sockaddr length checks before accessing sa_family in bind handlers
4a142251a315 nfc: Fix the sockaddr length sanitization in llcp_sock_connect
d1ac8a98f312 nfc: Ensure presence of required attributes in the activate_target handler
06be8e2767da NFC: nfcmrvl: fix firmware-management initialisation
10f03f0f7ef0 NFC: nfcmrvl: use nfc-device for firmware download
4b4f74d6c4f8 NFC: nfcmrvl: do not use device-managed resources
7de6ff402dd0 NFC: nfcmrvl_uart: add missing tty-device sanity check
f73de3f9915c NFC: fix broken device allocation
48879676a8c3 ath9k: fix an invalid pointer dereference in ath9k_rng_stop()
99f96831083b ath9k: fix tx99 bus error
b729a1aea14d ath9k: fix tx99 use after free
7cd7b56037ae thermal: cpu_cooling: Avoid accessing potentially freed structures
76572609e458 thermal: max77620: fix device-node reference imbalance
60813b6a2ab4 s5p-jpeg: don't return a random width/height
63d32e8af0dd dm mpath: cleanup -Wbool-operation warning in choose_pgpath()
70ec6b3635d9 ir-core: fix gcc-7 warning on bool arithmetic
78fbe21d83e3 disable new gcc-7.1.1 warnings for now
c03917de04aa 4.9.39
cce8d2ee4571 kvm: vmx: allow host to access guest MSR_IA32_BNDCFGS
07592d622536 kvm: vmx: Check value written to IA32_BNDCFGS
fab777e70ca4 kvm: x86: Guest BNDCFGS requires guest MPX support
bf7c21535617 kvm: vmx: Do not disable intercepts for BNDCFGS
04e002a5f681 tracing: Use SOFTIRQ_OFFSET for softirq dectection for more accurate results
cc7d3b7dd1ac PM / QoS: return -EINVAL for bogus strings
5480437f7963 PM / wakeirq: Convert to SRCU
758dc6a8dabc sched/topology: Fix overlapping sched_group_mask
3e165b2322c6 sched/topology: Optimize build_group_mask()
7c3f08eadcfd sched/topology: Fix building of overlapping sched-groups
542ebc96c200 sched/fair, cpumask: Export for_each_cpu_wrap()
a0a93e3e6e1e Revert "sched/core: Optimize SCHED_SMT"
80495c708490 crypto: caam - fix signals handling
48a9dff21398 crypto: caam - properly set IV after {en,de}crypt
db923288f37f crypto: sha1-ssse3 - Disable avx2
81cc2ef2677b crypto: atmel - only treat EBUSY as transient if backlog
2ff2cc768eb7 crypto: talitos - Extend max key length for SHA384/512-HMAC and AEAD
38dfd2e3a673 mm: fix overflow check in expand_upwards()
1e6f1af808c1 selftests/capabilities: Fix the test_execve test
54fcb2303ef4 mnt: Make propagate_umount less slow for overlapping mount propagation trees
bb4fbf094b44 mnt: In propgate_umount handle visiting mounts in any order
e260db757676 mnt: In umount propagation reparent in a separate pass
7d976da04345 nvmem: core: fix leaks on registration errors
ac5e9e801f47 rcu: Add memory barriers for NOCB leader wakeup
63c634cf9547 vt: fix unchecked __put_user() in tioclinux ioctls
445a945ad67b ARM64: dts: marvell: armada37xx: Fix timer interrupt specifiers
f31c4f65dd09 exec: Limit arg stack to at most 75% of _STK_LIM
fbc877cd08e5 s390: reduce ELF_ET_DYN_BASE
90fb0f7aefc9 powerpc: move ELF_ET_DYN_BASE to 4GB / 4MB
70779e0ebb37 arm64: move ELF_ET_DYN_BASE to 4GB / 4MB
abb79a56898e arm: move ELF_ET_DYN_BASE to 4MB
63c2f8f8c41b binfmt_elf: use ELF_ET_DYN_BASE only for PIE
93eae954050d checkpatch: silence perl 5.26.0 unescaped left brace warnings
a9aa6522a1a5 fs/dcache.c: fix spin lockup issue on nlru->lock
a48542e8b4ec mm/list_lru.c: fix list_lru_count_node() to be race free
8c6f19c25086 kernel/extable.c: mark core_kernel_text notrace
d2b64687b37f thp, mm: fix crash due race in MADV_FREE handling
68ea25f00ffe tools/lib/lockdep: Reduce MAX_LOCK_DEPTH to avoid overflowing lock_chain/: Depth
e3d2adaaf927 parisc/mm: Ensure IRQs are off in switch_mm()
8ed89cfc8692 parisc: DMA API: return error instead of BUG_ON for dma ops on non dma devs
bf1e4dc3b4fb parisc: use compat_sys_keyctl()
008a1f270748 parisc: Report SIGSEGV instead of SIGBUS when running out of stack
59613f80ec67 irqchip/gic-v3: Fix out-of-bound access in gic_set_affinity
6a90f81ab639 cfg80211: Check if NAN service ID is of expected size
7e9e9638afdf cfg80211: Check if PMKID attribute is of expected size
e471290603ee cfg80211: Validate frequencies nested in NL80211_ATTR_SCAN_FREQUENCIES
b68aa7dff96e cfg80211: Define nla_policy for NL80211_ATTR_LOCAL_MESH_POWER_MODE
6ae9dd281965 sfc: don't read beyond unicast address list
5f69bb1d18c5 brcmfmac: Fix glom_skb leak in brcmf_sdiod_recv_chain
fd325ddd5884 brcmfmac: Fix a memory leak in error handling path in 'brcmf_cfg80211_attach'
414848bba6ab brcmfmac: fix possible buffer overflow in brcmf_cfg80211_mgmt_tx()
181dda46a314 rds: tcp: use sock_create_lite() to create the accept socket
e6577f1ef3f8 vrf: fix bug_on triggered by rx when destroying a vrf
0bc26d1ca38d net: ipv6: Compare lwstate in detecting duplicate nexthops
05e165e9bc45 net: core: Fix slab-out-of-bounds in netdev_stats_to_stats64
beabc6032772 vxlan: fix hlist corruption
d2c951208578 ipv6: dad: don't remove dynamic addresses if link is down
743564306ee6 net/mlx5e: Fix TX carrier errors report in get stats ndo
a80a70a4822c liquidio: fix bug in soft reset failure detection
e20204dc2c74 net/mlx5: Cancel delayed recovery work when unloading the driver
067328078d14 net: handle NAPI_GRO_FREE_STOLEN_HEAD case also in napi_frags_finish()
cd5de9cb858d bpf: prevent leaking pointer via xadd on unpriviledged
bee807054892 rocker: move dereference before free
e5e5c0ec39dd bridge: mdb: fix leak on complete_info ptr on fail path
3f04c32bf47a net: prevent sign extension in dev_get_stats()
ef13840028c8 tcp: reset sk_rx_dst in tcp_disconnect()
cf81b4abe7ac net: dp83640: Avoid NULL pointer dereference.
0526ff300304 ipv6: avoid unregistering inet6_dev for loopback
3f7e07c37ade net/phy: micrel: configure intterupts after autoneg workaround
dc491cdd2c81 net: sched: Fix one possible panic when no destroy callback
13550ffc9515 net_sched: fix error recovery at qdisc creation
21f79ae43fd2 xen-netfront: Rework the fix for Rx stall during OOM and network stress
f0cd77ded512 Linux 4.9.38
fb2dc28cf20a saa7134: fix warm Medion 7134 EEPROM read
81ba752aa476 x86/mm/pat: Don't report PAT on CPUs that don't support it
c0d3a7bdc7c2 ext4: check return value of kstrtoull correctly in reserved_clusters_store
716986547f1f crypto: rsa-pkcs1pad - use constant time memory comparison for MACs
0d6758f74a46 crypto: caam - fix gfp allocation flags (part I)
090661e4073d staging: comedi: fix clean-up of comedi_class in comedi_init()
80c965cbd280 staging: vt6556: vnt_start Fix missing call to vnt_key_init_table.
5497d74e75f8 locking/rwsem-spinlock: Fix EINTR branch in __down_write_common()
3953403ca660 md: fix super_offset endianness in super_1_rdev_size_change
9a37d02c497c md: fix incorrect use of lexx_to_cpu in does_sb_need_changing
ce02effed0ec perf probe: Add error checks to offline probe post-processing
364973599e2e perf probe: Fix to probe on gcc generated symbols for offline kernel
cd206153672a perf scripting perl: Fix compile error with some perl5 versions
b9175b3fa90c perf header: Fix handling of PERF_EVENT_UPDATE__SCALE
15c249c85d57 perf bench numa: Avoid possible truncation when using snprintf()
b246fc09a223 perf tests: Avoid possible truncation with dirent->d_name + snprintf
93a3c47d033a perf intel-pt: Use __fallthrough
055237857974 perf thread_map: Correctly size buffer used with dirent->dt_name
a814c7d1d8f4 perf top: Use __fallthrough
94218786b3ba tools strfilter: Use __fallthrough
76efd703014f tools string: Use __fallthrough in perf_atoll()
dae518419a42 tools include: Add a __fallthrough statement
b635182b4f41 tpm: Issue a TPM2_Shutdown for TPM2 devices.
5a1e1c62f37e Add "shutdown" to "struct class".
e6952841ade0 mqueue: fix a use-after-free in sys_mq_notify()
c48f76d680ad Linux 4.9.37
3468d4ffa8ef rt286: add Thinkpad Helix 2 to force_combo_jack_table
84b00cd90f4d RDMA/uverbs: Check port number supplied by user verbs cmds
1803bec709f8 crypto: drbg - Fixes panic in wait_for_completion call
73a0a68779e4 KEYS: Fix an error code in request_master_key()
f986d63d788c ath10k: override CE5 config for QCA9377
afbf56592092 x86/uaccess: Optimize copy_user_enhanced_fast_string() for short strings
e353bfb63754 x86/tools: Fix gcc-7 warning in relocs.c
525ea5950e1c tpm: fix a kernel memory leak in tpm-sysfs.c
25b2ee6f9d9d gfs2: Fix glock rhashtable rcu bug
f59d04e34282 xhci: Limit USB2 port wake support for AMD Promontory hosts
07379c41aeaf USB: serial: qcserial: new Sierra Wireless EM7305 device ID
7b7d5a4d9f57 USB: serial: option: add two Longcheer device ids
369bbf4b44ac pinctrl: sh-pfc: Update info pointer after SoC-specific init
828bd8441de0 pinctrl: sh-pfc: r8a7791: Add missing HSCIF1 pinmux data
485b0f1194ea pinctrl: mxs: atomically switch mux and drive strength config
dee763a4d37d pinctrl: cherryview: Add terminate entry for dmi_system_id tables
b9970dd7c155 pinctrl: sunxi: Fix SPDIF function name for A83T
8240981690f3 pinctrl: stm32: Fix bad function call
a3f2e309f654 pinctrl: meson: meson8b: fix the NAND DQS pins
f24dee484be9 pinctrl: sh-pfc: r8a7795: Fix hscif2_clk_b and hscif4_ctrl
c5db45ef9e86 pinctrl: sh-pfc: r8a7791: Add missing DVC_MUTE signal
37705843587b pinctrl: sh-pfc: r8a7791: Fix SCIF2 pinmux data
275f905f1232 pinctrl: sh-pfc: r8a7794: Swap ATA signals
2bd57fa2558c pinctrl: cherryview: Add a quirk to make Acer Chromebook keyboard work again
aaaaa5b1881b pinctrl: qcom: ipq4019: add missing pingroups for pins > 70
7bdacd3d9f4e sysctl: report EINVAL if value is larger than UINT_MAX for proc_douintvec
3a20c57b4332 sysctl: don't print negative flag for proc_douintvec
4e84b9c79003 mac80211_hwsim: Replace bogus hrtimer clockid
d84e328c0243 USB: core: fix device node leak
18b3abb54305 usb: Fix typo in the definition of Endpoint[out]Request
19adf93ccd55 usb: usbip: set buffer pointers to NULL after free
3d1056874295 Add USB quirk for HVR-950q to avoid intermittent device resets
da8990d3c141 USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
3272bad0c2aa usb: dwc3: replace %p with %pK
366d9207d9e0 drm/virtio: don't leak bo on drm_gem_object_init failure
b96976c1a87b media: entity: Fix stream count check
3693042f1c9f tracing/kprobes: Allow to create probe with a module name starting with a digit
9403514ba1a2 ceph: choose readdir frag based on previous readdir reply
c4c592b2c137 driver core: platform: fix race condition with driver_override
26ff065b8401 fs: completely ignore unknown open flags
6efb1b0b6c82 fs: add a VALID_OPEN_FLAGS
(From OE-Core rev: 47b68405468c31e62b096ddfc66f3814bf53b468)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg -stable release with the following commit
summary:
6371f030c4dc Linux 4.12.10
849e96758ab2 powerpc/mm: Ensure cpumask update is ordered
53220a20cec0 ACPI: EC: Fix regression related to wrong ECDT initialization order
6e80b88a7f7d ACPI: APD: Fix HID for Hisilicon Hip07/08
49fa8c02e4a6 ntb: transport shouldn't disable link due to bogus values in SPADs
ab75f0274d34 ntb: ntb_test: ensure the link is up before trying to configure the mws
03e58884668e Clarify (and fix) MAX_LFS_FILESIZE macros
0b9a3f300f89 iommu: Fix wrong freeing of iommu_device->dev
75005bf89ad7 staging: rtl8188eu: add RNX-N150NUB support
91628e2afc86 iio: magnetometer: st_magn: remove ihl property for LSM303AGR
e59c095c11af iio: magnetometer: st_magn: fix status register address for LSM303AGR
fc7957b6cdd7 iio: hid-sensor-trigger: Fix the race with user space powering up sensors
a1d7b7e7e116 iio: imu: adis16480: Fix acceleration scale factor for adis16480
bf9b9d3b382b ANDROID: binder: fix proc->tsk check.
f6fc60d91549 binder: Use wake up hint for synchronous transactions.
7771e3f4b0b9 binder: use group leader instead of open thread
62ccb816aab8 Revert "android: binder: Sanity check at binder ioctl"
b42c44ade798 Bluetooth: bnep: fix possible might sleep error in bnep_session
b741896229c1 Bluetooth: cmtp: fix possible might sleep error in cmtp_session
e792d2d48928 Bluetooth: hidp: fix possible might sleep error in hidp_session_thread
1eb33a1b89e1 netfilter: nfnetlink: Improve input length sanitization in nfnetlink_rcv
8b5041077024 netfilter: nat: fix src map lookup
f5263887165a netfilter: expect: fix crash when putting uninited expectation
4909a7b79965 net: sunrpc: svcsock: fix NULL-pointer exception
a8da876c1e45 x86/mm: Fix use-after-free of ldt_struct
2e11eedec6f0 timers: Fix excessive granularity of new timers after a nohz idle
2c0dc7f00e19 perf/core: Fix group {cpu,task} validation
aa2da6c4d548 ftrace: Check for null ret_stack on profile function graph entry function
1b8ca8851c25 virtio_pci: fix cpu affinity support
78f2e29f27f1 ring-buffer: Have ring_buffer_alloc_read_page() return error on offline CPU
8d4f126c0791 nfsd: Limit end of page list when decoding NFSv4 WRITE
ea5745a5117f cifs: return ENAMETOOLONG for overlong names in cifs_open()/cifs_lookup()
1bc1c4391b79 cifs: Fix df output for users with quota limits
3b278d7e8945 kbuild: linker script do not match C names unless LD_DEAD_CODE_DATA_ELIMINATION is configured
51f49383a924 RDMA/uverbs: Initialize cq_context appropriately
53a38dfbb5e4 tracing: Fix freeing of filter in create_filter() when set_str is false
983ba8148e18 tracing: Fix kmemleak in tracing_map_array_free()
a23e782823d6 tracing: Missing error code in tracer_alloc_buffers()
3888c3aeb6bc tracing: Call clear_boot_tracer() at lateinit_sync
1344db83ee17 ACPI: device property: Fix node lookup in acpi_graph_get_child_prop_value()
dbe5b2d70cfd Revert "drm/amdgpu: fix vblank_time when displays are off"
4ac9a5daaf82 drm/i915/gvt: Fix the kernel null pointer error
bbb04b377f85 drm/i915/vbt: ignore extraneous child devices for a port
d76df456a313 drm/atomic: If the atomic check fails, return its value first
247122f138c0 drm/atomic: Handle -EDEADLK with out-fences correctly
d4ae641cc285 drm/sun4i: Implement drm_driver lastclose to restore fbdev console
08353913312a drm: Release driver tracking before making the object available again
b96c15655125 drm: Fix framebuffer leak
865d89f80907 arm64: fpsimd: Prevent registers leaking across exec
1c229d7ad7b9 mm/memblock.c: reversed logic in memblock_discard()
f5024bb32d4d fork: fix incorrect fput of ->exe_file causing use-after-free
4823f4630bfd mm/madvise.c: fix freeing of locked page with MADV_FREE
c237efed8b35 i2c: designware: Fix system suspend
3a9495fd3719 dax: fix deadlock due to misaligned PMD faults
735a252fc5b8 mm, shmem: fix handling /sys/kernel/mm/transparent_hugepage/shmem_enabled
b2719637b16e PM/hibernate: touch NMI watchdog when creating snapshot
8b366972d7d4 ARCv2: PAE40: set MSB even if !CONFIG_ARC_HAS_PAE40 but PAE exists in SoC
fcedf2f28570 ARCv2: PAE40: Explicitly set MSB counterpart of SLC region ops addresses
763ad31728e8 ARCv2: SLC: Make sure busy bit is set properly for region ops
8537b1e0ff7f ALSA: firewire-motu: destroy stream data surely at failure of card initialization
59d000610dc3 ALSA: firewire: fix NULL pointer dereference when releasing uninitialized data of iso-resource
2f45c61ba400 ALSA: hda - Add stereo mic quirk for Lenovo G50-70 (17aa:3978)
ba6b08b62f0c ALSA: core: Fix unexpected error at replacing user TLV
1157dcda136a ALSA: usb-audio: Add delay quirk for H650e/Jabra 550a USB headsets
2f76f62aef90 KVM: x86: block guest protection keys unless the host has them enabled
3c498d4bde88 KVM, pkeys: do not use PKRU value in vcpu->arch.guest_fpu.state
d0e52c825f00 KVM: x86: simplify handling of PKRU
6dc06cd600d0 KVM: s390: sthyi: fix specification exception detection
e516834ae81b KVM: s390: sthyi: fix sthyi inline assembly
ddae9e6ec5d5 Input: ALPS - fix two-finger scroll breakage in right side on ALPS touchpad
8dcee8e81a0e Input: elan_i2c - add ELAN0602 ACPI ID to support Lenovo Yoga310
38c36f9d1fca Input: trackpoint - add new trackpoint firmware ID
c9c682f3f029 bpf/verifier: fix min/max handling in BPF_SUB
eb6cf01cd6b7 bpf: fix mixed signed/unsigned derived min/max value bounds
659ee9687a11 bpf, verifier: add additional patterns to evaluate_reg_imm_alu
d8a4ae09809a net_sched: fix order of queue length updates in qdisc_replace()
09e1d36d0289 net: sched: fix NULL pointer dereference when action calls some targets
f4e4a2969919 irda: do not leak initialized list.dev to userspace
754df4da61d1 net/mlx4_core: Enable 4K UAR if SRIOV module parameter is not enabled
2d093adfb109 tcp: when rearming RTO, if RTO time is in past then fire RTO ASAP
7bbc60d9c916 ipv6: repair fib6 tree in failure case
368129fe14f6 ipv6: reset fn->rr_ptr when replacing route
c549de482f89 tipc: fix use-after-free
62b3580fc3f0 sctp: fully initialize the IPv6 address in sctp_v6_to_addr()
dda844773c47 tun: handle register_netdevice() failures properly
3c3181e17b35 nfp: fix infinite loop on umapping cleanup
9c579acf6522 ipv4: better IP_MAX_MTU enforcement
12ee6d75d6a1 ptr_ring: use kmalloc_array()
cb445bfc1041 openvswitch: fix skb_panic due to the incorrect actions attrlen
c6fc7b9892a5 net: igmp: Use ingress interface rather than vrf device
921739a95d4f bpf: fix bpf_trace_printk on 32 bit archs
99f635d1e70d net_sched: remove warning from qdisc_hash_add
cf665a603368 net_sched/sfq: update hierarchical backlog when drop packet
163db2c61aa1 ipv4: fix NULL dereference in free_fib_info_rcu()
f1d055463980 dccp: defer ccid_hc_tx_delete() at dismantle time
a8de69b93e86 dccp: purge write queue in dccp_destroy_sock()
94fd355614e3 af_key: do not use GFP_KERNEL in atomic contexts
729420142979 bonding: ratelimit failed speed/duplex update warning
b39ae1c8bdc4 bonding: require speed/duplex only for 802.3ad, alb and tlb
16caf8dff7ee sparc64: remove unnecessary log message
e0e7ae96b723 Linux 4.12.9
3f40666fff96 usb: qmi_wwan: add D-Link DWM-222 device ID
e2322bcce288 usb: optimize acpi companion search for usb port devices
6632ae821b59 debug: Fix WARN_ON_ONCE() for modules
c170b7930db3 pids: make task_tgid_nr_ns() safe
e950adf8983f Sanitize 'move_pages()' permission checks
7cbc3a8aaaa3 kernel/watchdog: Prevent false positives with turbo modes
ee7025fef78c genirq/ipi: Fixup checks against nr_cpu_ids
8eee5da54afe genirq: Restore trigger settings in irq_modify_status()
399193e8ef2d irqchip/atmel-aic: Fix unbalanced refcount in aic_common_rtc_irq_fixup()
2eceab663b9d irqchip/atmel-aic: Fix unbalanced of_node_put() in aic_common_irq_fixup()
c4ab73ef2cfc x86/elf: Remove the unnecessary ADDR_NO_RANDOMIZE checks
932769e10de9 x86: Fix norandmaps/ADDR_NO_RANDOMIZE
c588e0cb269d x86/asm/64: Clear AC on NMI entries
44e9d5afcec3 perf/x86: Fix RDPMC vs. mm_struct tracking
33f1d0c79b04 xen-blkfront: use a right index when checking requests
bd876f33dbeb powerpc: Fix VSX enabling/flushing to also test MSR_FP and MSR_VEC
a77b5b81ad59 blk-mq-pci: add a fallback when pci_irq_get_affinity returns NULL
e88bdec3ff7c ARM: dts: imx6qdl-nitrogen6_som2: fix PCIe reset
c1cee6062ac9 xen: fix bio vec merging
aab425db4279 mm: revert x86_64 and arm64 ELF_ET_DYN_BASE base changes
8ac8e1d2a254 mm/vmalloc.c: don't unconditonally use __GFP_HIGHMEM
6b2676ed32ba mm/mempolicy: fix use after free when calling get_mempolicy
8b53b7560a8b mm/cma_debug.c: fix stack corruption due to sprintf usage
76e8fe02bf50 mm: fix double mmap_sem unlock on MMF_UNSTABLE enforced SIGBUS
889a17078f25 slub: fix per memcg cache leak on css offline
4d45f00b927c mm: discard memblock data later
c24138794d14 ALSA: usb-audio: add DSD support for new Amanero PID
c482b084491b ALSA: usb-audio: Add mute TLV for playback volumes on C-Media devices
b33fcbb01b3a ALSA: usb-audio: Apply sample rate quirk to Sennheiser headset
8f05296965d8 ALSA: seq: 2nd attempt at fixing race creating a queue
6a280cd12306 MD: not clear ->safemode for external metadata array
7987c4066cbb md: always clear ->safemode when md_check_recovery gets the mddev lock.
febaf83252f2 md: fix test in md_write_start()
5f46f337bdeb Input: elan_i2c - Add antoher Lenovo ACPI ID for upcoming Lenovo NB
04d0645d62a5 Input: elan_i2c - add ELAN0608 to the ACPI table
b5e042f90f1f drm/amdgpu: save list length when fence is signaled
2149506faff1 drm/i915: Perform an invalidate prior to executing golden renderstate
aac1a12cc700 crypto: x86/sha1 - Fix reads beyond the number of blocks passed
f1615538cd1c crypto: ixp4xx - Fix error handling path in 'aead_perform()'
0a76684da5c2 parisc: pci memory bar assignment fails with 64bit kernels on dino/cujo
dfaf892df105 audit: Fix use after free in audit_remove_watch_rule()
a0fb6543b40f Linux 4.12.8
1d4efdd222c4 powerpc: Fix /proc/cpuinfo revision for POWER9 DD2
d40a54500008 MIPS: Octeon: Fix broken EDAC driver.
bc60edb6aa3f Revert "MIPS: Don't unnecessarily include kmalloc.h into <asm/cache.h>."
0a5a16f6cefd MIPS: DEC: Fix an int-handler.S CPU_DADDI_WORKAROUNDS regression
888986477133 pinctrl: meson-gxl: Add missing GPIODV_18 pin entry
d7b28b4cae66 pinctrl: meson-gxbb: Add missing GPIODV_18 pin entry
155407bbf9f2 pinctrl: samsung: Remove bogus irq_[un]mask from resource management
21d22dffc344 pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD20
338ac5dd59b9 pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD11
be9f65893e3b pinctrl: intel: merrifield: Correct UART pin lists
5fa72b4b746a pinctrl: sunxi: add a missing function of A10/A20 pinctrl driver
c75a48eed01f pinctrl: cherryview: Add Setzer models to the Chromebook DMI quirk
cc7f330bed71 pnfs/blocklayout: require 64-bit sector_t
e8a1edad18fa iio: adc: vf610_adc: Fix VALT selection value for REFSEL bits
0e1f0eaed6c2 xhci: Reset Renesas uPD72020x USB controller for 32-bit DMA issue
ea9647cf87f5 PCI: Add pci_reset_function_locked()
c71305e6854d PCI: Remove __pci_dev_reset() and pci_dev_reset()
31e71939a4dd PCI: Protect pci_error_handlers->reset_notify() usage with device_lock()
b23ef7b8dd7e usb:xhci:Add quirk for Certain failing HP keyboard on reset after resume
73e7a2dca9cc usb: quirks: Add no-lpm quirk for Moshi USB to Ethernet Adapter
488f4d8048e2 usb: core: unlink urbs from the tail of the endpoint's urb_list
7ff799af2c21 USB: Check for dropped connection before switching to full speed
c45923eb9413 usb: renesas_usbhs: Fix UGCTRL2 value for R-Car Gen3
f5324020bcef usb: gadget: udc: renesas_usb3: Fix usb_gadget_giveback_request() calling
7926348676f5 block: Make blk_mq_delay_kick_requeue_list() rerun the queue at a quiet time
67e1a98e3a74 firmware: avoid invalid fallback aborts by using killable wait
b1b5c0b23a90 firmware: fix batched requests - send wake up on failure on direct lookups
c2c32ed5e6bf firmware: fix batched requests - wake all waiters
f0834df3d97e uas: Add US_FL_IGNORE_RESIDUE for Initio Corporation INIC-3069
c208cb9a5596 staging: comedi: comedi_fops: do not call blocking ops when !TASK_RUNNING
20035abc9e08 iio: adc: Revert "axp288: Drop bogus AXP288_ADC_TS_PIN_CTRL register modifications"
c1164cc258bc iio: light: tsl2563: use correct event code
39e07a5c112c iio: pressure: st_pressure_core: disable multiread by default for LPS22HB
8886738d06fa iio: accel: bmc150: Always restore device to normal mode after suspend-resume
3fdd0854800e iio: accel: st_accel: add SPI-3wire support
5f26ebe1afdc iio: aspeed-adc: wait for initial sequence.
f0ab97d1aa14 staging:iio:resolver:ad2s1210 fix negative IIO_ANGL_VEL read
9ccd63a6fdbd USB: hcd: Mark secondary HCD as dead if the primary one died
792c00cb2377 usb: musb: fix tx fifo flush handling again
ab51515ece30 USB: serial: pl2303: add new ATEN device id
492eb6125c83 USB: serial: cp210x: add support for Qivicon USB ZigBee dongle
b576de1e12c9 USB: serial: option: add D-Link DWM-222 device ID
59f1322cc1e5 drm/i915: Fix out-of-bounds array access in bdw_load_gamma_lut
4eedc8a7f03b drm/etnaviv: Fix off-by-one error in reloc checking
8f0f15cc167d drm/bridge: tc358767: fix probe without attached output node
1cc5cd5b97b5 nfs/flexfiles: fix leak of nfs4_ff_ds_version arrays
8d189f60407f mmc: mmc: correct the logic for setting HS400ES signal voltage
3329fe0e05f8 nand: fix wrong default oob layout for small pages using soft ecc
1f2f0f1a75bd i2c: designware: Some broken DSTDs use 1MiHz instead of 1MHz
cfea0422a154 fuse: initialize the flock flag in fuse_file on allocation
59c74236092d target: Fix node_acl demo-mode + uncached dynamic shutdown regression
7b0d44e25fdb usb-storage: fix deadlock involving host lock and scsi_done
428048128bf0 iscsi-target: Fix iscsi_np reset hung task during parallel delete
f838bd1752be iscsi-target: fix memory leak in iscsit_setup_text_cmd()
a0e1953e0310 mtd: nand: Declare tBERS, tR and tPROG as u64 to avoid integer overflow
867c07788e97 mtd: nand: Fix timing setup for NANDs that do not support SET FEATURES
a34d48d5ca47 mtd: nand: atmel: Fix DT backward compatibility in pmecc.c
0eda7e0bf238 pinctrl: armada-37xx: Fix number of pin in south bridge
8452494828f7 xfs: Fix leak of discard bio
0af6995672cb xtensa: don't limit csum_partial export by CONFIG_NET
094849d602a0 xtensa: mm/cache: add missing EXPORT_SYMBOLs
5e96389b3adc xtensa: fix cache aliasing handling code for WT cache
5c1d458de22b futex: Remove unnecessary warning from get_futex_key
5f064f8a0d4b mm: fix list corruptions on shmem shrinklist
10df347170c3 mm: ratelimit PFNs busy info message
(From OE-Core rev: 180acc0b1044ff826478b1dac30d20f34eed3023)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building the qemuarma9 BSP, we get the following warnings:
---------- CONFIG_VGA_CONSOLE -----------------
Config: CONFIG_VGA_CONSOLE
From:
tmp/work-shared/qemuarma9/kernel-source/.kernel-meta/configs/standard/arm-versatile-926ejs/bsp/qemuarma9/qemuarma9.cfg
Requested value: # CONFIG_VGA_CONSOLE is not set
Actual value:
---------- CONFIG_USB_ISP1760_HCD -----------------
Config: CONFIG_USB_ISP1760_HCD
From:
tmp/work-shared/qemuarma9/kernel-source/.kernel-meta/configs/standard/arm-versatile-926ejs/bsp/qemuarma9/qemuarma9.cfg
Requested value: CONFIG_USB_ISP1760_HCD=y
Actual value:
Both of these options no longer need to be in the BSP fragments
for qemuarma9, we fix them with these meta data changes:
a2edeff915b9 qemuarma9: remove USB_ISP1760_HCD
5f76e8f64fa5 qemuarma9: drop VGA console disable
(From OE-Core rev: b3abced7aadf9d51017b1d0c1ae44886649ff6a3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 4.10 and 4.9 kernels need a fix applied to 4.12 to deal with
a configuration warning:
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Fri Aug 18 17:03:27 2017 -0400
wifi: drop BRCMFMAC_PROTO_MSGBUF, since it is selected
(From OE-Core rev: 288f3ce9bfe0c2964137bfc98e033466fbf418be)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yaffs2 needs some tweaks to build against the 4.12 kernel, we
import the following two commits:
084d8ae2f349 fs: yaffs2: includes the missing header file
595f7d1759d9 fs: yaffs2: replace CURRENT_TIME by other appropriate apis
(From OE-Core rev: c62fa4393014caa526875b7d7a07fc634314f279)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The aufs patches were out of sync with the latest upstream and hence
didn't build against 4.10.
With this update, we are once again building and up to date with the
upstream repo.
(From OE-Core rev: b8b7aa0f64e46e7e8134a8bc33948e2bbe63380f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix failure after commit "cooker/siggen: Reset siggen when reparsing"
(e4c6ca9440f63761560b49bbe12654441f54687e) when executing without
specifying a BB_SIGNATURE_HANDLER.
(Bitbake rev: 2a78c2d09aea0323632bbc927f370f1d3c9c249e)
Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BB_SERVER_TIMEOUT=100 oe-selftest -r devtool.DevtoolTests.test_devtool_build_image
fails, the reason is that internally, the limited_deps flag is set in
the bitbake server and then never cleared. This causes the sysroots to
be setup incorrectly (as per the limited dependency case) and builds
break. There is also potential for corruption of recipecaches.
Add shutdown/cleanup code to ensure these effects don't 'stick'.
This bug is particularly nasty as you can destroy TMPDIR with large
sysroots in build work directories which are prone to break.
Also ensure mtime cache is cleared (to match buildTargets) and
that no lasting changes are made to siggen either which ensures:
BB_SERVER_TIMEOUT=100 oe-selftest -r devtool.DevtoolTests.test_devtool_upgrade_git devtool.DevtoolTests.test_devtool_virtual_kernel_modify
works.
(Bitbake rev: 0a7ee8c8378bba9877c260b1aee782878f1935b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When fetching source for the first time within scripts such as
OpenEmbedded's recipetool, we don't want to be showing warnings about
NPM_SHRINKWRAP or NPM_LOCKDOWN not being set since there's no way we
could have set them in advance. Previously we were using
ud.ignore_checksums to suppress these but since we are now using a more
standard task-based path to fetch the source, we need to disable these
through the metadata. Look for a "noverify" parameter set on the npm URL
and skip the checks if it is set to "1".
(Bitbake rev: 8c4b35d1e4d31bae9fddd129d5ba230acb72c3bb)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you run some other operations that result in the cache being
populated, and then call buildFileInternal(), then you can end up in a
situation where the cache already contains information about the recipe.
For example in OE this can now happen when you use devtool upgrade.
Normally this doesn't cause any problems, unless you have a non-absolute
path in BBLAYERS - in buildFileInternal() we are calling matchfile() which
will convert the filename to absolute, but later when taskdata goes to find
the providers of the recipe it finds the non-absolute path, sets up the
task information using this and then the runqueue can't find any tasks
matching the absolute path. To fix this, back out the optimisation I did
earlier in bitbake rev ba53e067a2d448dd63b4ca252557ce98aa8e6321 to avoid
calling parseConfiguration() again, which is unfortunate but does result
in the cached information being that causes the problem being cleared
out.
This fixes "Task do_unpack does not exist for target ..." running
devtool upgrade within intel-iot-refkit.
(Bitbake rev: f120355eaec4571ba6d60fc5f7ae9e1f31d846d1)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you set tracking=True when creating the tinfoil object, that ensures
history is collected for the main datastore, but at the end of parsing
the configuration, history tracking gets turned off to save time with
the result that we don't collect history for any recipes we parse.
Enable tracking when we parse a recipe (and disable it afterwards if we
enabled it) in order to fix this.
This fixes functionality in OE's devtool that relies upon variable
history (such as devtool upgrade updating PV when it's set within a
recipe).
(Bitbake rev: cc8b4c81bb589fb70774a0151f87a8d277f40f06)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a task fails during build_targets(), we need to print out the log
lines as knotty does or the user will be missing information about the
failure.
(This should get some deeper refactoring, but now isn't the time for
that.)
(Bitbake rev: 24879df071d4803db3d39ae1d5cad852daa92f28)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With config_only=False we launch the UI and it sets up a logger, whereas
when config_only=True we don't, with the result that with True we are
seeing log messages from both our logger and the one set up by the UI.
Suppress our loggers with config_only=True to avoid this.
Fixes [YOCTO #11275] (again).
(Bitbake rev: b5e3b28b7c982dd8a3991d727f25710dbf58bb80)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the server exits quickly its PID may no longer exist. Handle
this gracefully.
(Bitbake rev: c1b00a9265fa4146b8db8b7d03a51bf2bfcf9f51)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
self has a quit function and a variable. Separate this to two different
things as the current setup is prone to breakage.
(Bitbake rev: ba7e3c73d8f4d2bd1d7434b97c326e7ab935231a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Shutdown from SIGTERM currently has to wait for the handler thread to timeout.
Add a sentinel value which triggers it to loop and allows for a quick exit.
(Bitbake rev: a7591ef34ce70ff1d7aa9362d7473e6f16fbd10f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If for example you run:
bitbake -r somefile.inc
rm somefile.inc
bitbake -e
bitbake will crash with an error about not being able to find somefile.inc. This
is because it tries to reparse the base config for the early getVariable requests
before it sees the updated missing -r option.
Send the updateConfig command earlier to avoid this.
(Bitbake rev: a38164620ebdc770690c5f39ff9ed69d3f82719e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cooker.reset() can be called before we've actually setup the datastore. Gracefully
handle this case instead of the current traceback+exit.
(Bitbake rev: 8fd30ca6d271c125a8ea03ef0c5d7ab176900701)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we reload the configuration, PRSERV_HOST can change. Therefore
restart the PR Server depending on the new configuration at reparse.
Note that the server has to be started from the right process, it
can't be in the UI which shuts down as that shutdown triggers a shutdown
of its children and the PR Server shuts down too. This is why we need
pre_serve() which ensures its executed in the right context.
(Bitbake rev: 971272e84f4efe7ebd0037e164ba54f013a2a34e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows for cleaner code in cooker as any existing server is dealt
with before a new one is started.
(Bitbake rev: b8616931bc0e523a3a3bb23b4f623f8b6e71d690)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the original prefile and postfile passed when starting bitbake
server are 'sticky'. With the new memory resident model this doesn't make
sense as the server the system is started with isn't special.
This patch changes the code so the prefile/postfile are used if specified
on the commandline and not used otherwise. This makes the behaviour much
more predictable and expected and as an added bonus simplifies the code.
(Bitbake rev: 638d366234fad78f283d3a13a12b07cb0ccbe914)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current passing of "tracking" backwards and forwards, client to server
is ugly and complex and error prone. Instead, set this during showEnvironment
commands triggering a reset there if/as required.
(Bitbake rev: 9dc7f384db0479569ff93a76a623d5395fecaf47)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop pointless unused function parameter.
(Bitbake rev: 8104b33656de0b619943bd7a9884eb650ccafbf4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 'needconfig' flag was meant to be the default as most commands do need
it and the "False" cases were the exception. The code was written backwards
with a default False value. Invert this to match the intent, resulting in
the config being reparsed if metadata has changed.
Also ensure the second level configuration is parsed for the getLayerPriorities
command as otherwise it can return stale info.
With these changes:
BB_SERVER_TIMEOUT=100 oe-selftest -r bblayers.BitbakeLayers.test_bitbakelayers_add_remove
passes instead of fails.
(Bitbake rev: af3c8928a69f204d5ced02c947485990ac04a776)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the memory resident mode, the user may not see a message about the server
starting, it would be in the cookerdeamon logfile. We don't need this to
test the server is functioning correctly so just drop the test.
Add in an extra check that the file we expected to be created was
created when exporting PR values.
(From OE-Core rev: 811edd95420e907e71b5c7646bde5013b43d4c73)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Waffle's REQUIRED_DISTRO_FEATURES statement looks into DEPENDS and if
virtual/libgl is present, it includes opengl as distro feature. However,
in a multilib environment, recipes provides virtual/${MLPREFIX}libgl,
thus waffle recipe needs to include the prefix. Also PACKAGECONFIG
statements need this change in order to properly include the libgl
dependency.
The way this error showed up was in a multilib environment and a distro
not containing opengl, i.e. nodistro, leading the following error when
building world -S none (because opengl was not included as required distro
feature):
ERROR: Nothing PROVIDES 'virtual/lib32-libgl' (but virtual:multilib:lib32:/meta/recipes-graphics/waffle/waffle_1.5.2.bb DEPENDS on or otherwise requires it). Close matches:
virtual/lib32-libsdl
virtual/lib32-libc
virtual/lib32-libsdl2
ERROR: Required build target 'lib32-meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['lib32-meta-world-pkgdata', 'meta-world-pkgdata', 'lib32-waffle', 'virtual/lib32-libgl']
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
[YOCTO #10900]
(From OE-Core rev: 2e3344a3b6d5c709ab0d368dd171240ab5cc6e22)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In OE-Core commit a48fea275b, a check on
the value of a "sha256" parameter was added, however there was no
mention of this in the commit message and no corresponding code to
actually verify the checksum as sha256 was added along with it either,
so there's no point in getting the value. Additionally it was assuming
that a sha256 value would be present without checking first, with the
result that if you leave out the md5 value in a recipe intentionally in
order to get it to tell you the correct value on the next build, you got
a traceback instead of the appropriate error containing the information.
Drop this entirely - if we want to implement this we need to do it
properly.
(From OE-Core rev: e9eaa7d15fe7ab643ab19556dab84051f8f1974e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is actually the same version as previously; upstream didn't have
a tag for it before and now it does, so we can reduce confusion. The SRCREV
change is due to a few added commits which modify upstream's debian
packaging (not used by us).
(From OE-Core rev: 8359730165908025b0762eaa25569e2fdcd9d086)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alexander Monakov (1):
__init_libc: add fallbacks for __progname setup
Daniel Sabogal (1):
fix signed overflow in ftok
Rich Felker (4):
fix unsynchronized access to FILE structure in fflush(0)
fix undefined behavior in memset due to missing sequence points
add powerpc64 and s390x to list of supported archs in INSTALL file
move IPPORT_RESERVED from netdb.h to netinet/in.h
Szabolcs Nagy (2):
fix mips ioctl macros to match linux asm/sockios.h
add SIOCGSTAMPNS socket ioctl macro to ioctl.h
(From OE-Core rev: 82ecd051e2f591be97185b14250382de4456e633)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
recipetool create (and hence devtool add) and devtool upgrade use
fetch_url() which creates a dummy recipe in order to fetch source.
Previously the random part of the name was using uppercase characters,
and this triggers a QA warning after OE-Core commit
4713f8b2c4f2c74239d284adcf1e59e61aa66576, so use lowercase instead as I
really should have in the first place.
(From OE-Core rev: b48c48b00e82491d1c69e4d89a79c6242361abec)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I recently found that variable history wasn't working properly for
recipes when we enable history tracking, resulting in minor
functionality loss in devtool upgrade, so add a test to ensure this
doesn't regress now that it's fixed.
(From OE-Core rev: f49042e707d641b59a71c687374b76df97c64c34)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since OE-Core revision 9a47a6690052ef943c0d4760630ee630fb012153 the
mechanism we were using to suppress the warnings about
NPM_LOCKDOWN and NPM_SHRINKWRAP not being set on the first fetch of the
source is no longer available since we are using the normal fetch/unpack
tasks to do the job. Use the newly added noverify parameter to suppress
the warnings again.
(From OE-Core rev: cb083b6f5f6e909b7c85548bcb1a92ca34d0c18a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you're fetching from an SCM other than git (for example subversion or
mercurial) then we need to use a different prefix for the SRCPV in PV
instead of +git.
(From OE-Core rev: ad1200c8729f21b325d347649f9dd5e5598de93e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The branch and tag handling code that was recently added in OE-Core revs
ecca596b75cfda2f798a0bdde75f4f774e23a95b and
3afdcbdc9a3e65bc925ec61717784ffec67d529d is specific to git, so only
apply it when we're fetching from a git URL.
(From OE-Core rev: 5d4bfe6cf788ce971a2e9419bc13492153023681)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At the moment when fetching source from a git repository you have to
know that you can specify the revision and branch in the URL with
';rev=' and ';branch=' respectively, and you can also get thrown off by
the shell splitting on the ; character if you forget to surround the URL
in quotes. Add explicit -S/--srcrev and -B/--srcbranch options
(consistent with devtool upgrade) to make this easier for the user to
discover and use. (The rev and branch URL parameters will continue to
work, however.)
(From OE-Core rev: 2d86cac853d6daa496c0315a5cb0662ebf1165b0)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We weren't testing the devtool find-recipe and edit-recipe subcommands,
with the result that when they regressed recently we didn't notice. Add
some code into the test_devtool_add to test this (since we need a
recipe in the workspace, and adding a new test with all that preamble
would seem a bit excessive for these simple checks). Also take the
opportunity to refactor the test a little bit so that the recipe name
and version are variables rather than hardcoding them everywhere.
(From OE-Core rev: 355d8f42679e37610c2947dece597ed7db774bee)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE-Core commit 5a16b3c804c5eca331a1c08a7ce31a54909af105 attempted to use
the same function to get the path to a recipe as the new "find-recipe"
command it implemented, except that cannot work because (a) it didn't
return anything and (b) event if it had tried, a command function can
only return an exit code and we don't want that for find-recipe if it
succeeded. Split out a separate reusable function for both commands.
(From OE-Core rev: d5191840212adbf480961ba6fc68e1ab17e5a77a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we're upgrading a recipe that appends additional patches for, say,
class-native, and we're just upgrading the target variant, then when we
copied the recipe into the workspace we skipped copying the additional patches
for the native variant. This caused warnings because the workspace
recipe is preferred. Look at SRC_URI for all variants when copying files
to work around this.
More work is needed to make it easier to work with recipes that use
BBCLASSEXTEND where you need to build more than one variant at once, but
this at least fixes the immediate ugliness.
(From OE-Core rev: 56bf5e93358187e31160d7893f57906bb3dc7ad7)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If your BBLAYERS has non-absolute paths in it (e.g.
"${COREBASE}/../something") then none of the paths matched in
copy_recipe_files() with the result that no files got copied and you
ended up with an error later on because the recipe file couldn't be
found at the destination. Fix this as well as adding an explicit check
to see if no files got copied - error out earlier if so.
Fixes [YOCTO #10981].
(From OE-Core rev: 3861486ad06f90c8644ebab119bbc5ddb9e693ca)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patches that we identify as having been "deleted" (i.e. patches in
SRC_URI that no longer appear in the git tree) need to be dropped even
if we're updating in srcrev mode. This fixes the case where HEAD of the
git tree is valid upstream (i.e. no extra commits), but there are
patches left over in the recipe, e.g. when we do devtool upgrade and
then all of the commits rebased on top of the new branch get skipped.
Fixes [YOCTO #11972].
(From OE-Core rev: 350f83dc1e317aeb93539f13966caca6d894f569)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compressing with "gzip", do not save the time stamp in
the compressed file metadata.
(From OE-Core rev: a88c16c2dc5dd7e2fbf7ca908a8b48da7be8b34c)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The lines in qemuboot.conf are in random order.
This patch fixes this by printing the lines in sorted order.
This makes it easier to compare two different builds for
any differences.
(From OE-Core rev: 0868edace0750862168abc8d504891646afc8c76)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating Packages.gz, do not save the time stamp in the compressed
file metadata.
(From OE-Core rev: 693fc377aa0788825b921d1b7804f5b2eafec76f)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
${BUILDSDK_CXXFLAGS} was introduced since
commit 55c83cb239df5faf5e2143fffca47f2f16931cb3
cross.bbclass: override TARGET_* flags
bitbake.conf has definitions for both ${BUILDSDK_CPPFLAGS} and
${BUILDSDK_CFLAGS} but there is none for ${BUILDSDK_CXXFLAGS}.
This was a regression as in the past, CXXFLAGS is the same as
CFLAGS in SDK environment.
Adding definition for ${BUILDSDK_CXXFLAGS} will resolve CXXFLAGS
being set wrongly in SDK environment.
[YOCTO #11769]
(From OE-Core rev: 073ca1cbd1b70d5b36618584a8c88cbba391a259)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A fuzz on libpcre1 through the pcretest utility revealed an invalid read in the
library. For who is interested in a detailed description of the bug, will
follow a feedback from upstream:
This was a genuine bug in the 32-bit library. Thanks for finding it. The crash
was caused by trying to find a Unicode property for a code value greater than
0x10ffff, the Unicode maximum, when running in non-UTF mode (where character
values can be up to 0xffffffff).
(From OE-Core rev: 1b87201784e733f3a9d436f56cb5a6151ba6bdfa)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The pcre2test.c in PCRE2 10.23 allows remote attackers to cause a denial of
service (heap-based buffer overflow) or possibly have unspecified other impact
via a crafted regular expression.
(From OE-Core rev: dd63a26fedb8a578d34850ede4c27e26b8876e7e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no COMPATIBLE_HOST in the recipe neither it makes sense for
this to be machine specific.
Possibly, initramfs-framework's based modules may be machine specific
but if there is the case they can just RDEPENDS on
initramfs-framework-base and provide the specific module as another
recipe.
(From OE-Core rev: 9a661bca9d9dd03627a5efaea0f9247394f05b0e)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix booting messages wrapped over two different lines:
Starting bluetooth
bluetoothd
Stopping bluetooth
/usr/libexec/bluetooth/bluetoothd
Also reworked whitespace (removed some empty lines).
(From OE-Core rev: 62f1122ef166eba56441d669c6b3b3fe5f367418)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For URIs with the npm:// transport but with no other slash in it, the
common MIRRORS and PREMIRRORS pattern of npm://.*/.* fails to match.
Make the last slash in the pattern optional in the mirros.bbclass and
own-mirrors.bbclass classes.
Many URIs with the npm:// transport have no slash after the host part:
npm://registry.npmjs.org;name=foo;version=0.1.2
This means that MIRRORS and PREMIRRORS containing entries like the
first one will not match these URIs:
npm://.*/.* # fails to match
npm://.*/?.* # matches this and URIs with path components
For normal regular expressions, a pattern like 'npm://.*(/.*)?' would
probably be preferred, but that won't work here: the pattern gets split
into the substrings 'npm', '.*(' and '/.*)?', which are not valid
regular expressions individually.
(From OE-Core rev: 0d1e2b4507af28fc451b8fa94130a39ac342637d)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a bit academic as building with wayland without opengl
should be uncommon: still, libepoxy needs opengl so we shouldn't
depend on it without opengl.
(From OE-Core rev: 38d4672ee9fe2d9ef341875434562be8bca7d9bb)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mesa can now build vulkan drivers without opengl: remove workaround.
(From OE-Core rev: c5fdda293a8f0b18293295d05a33697e3b2f1877)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mesa can build certain things without opengl: most importantly vulkan
drivers.
Add comments on the dependencies between the packageconfigs. Also add
a few dependencies to packageconfigs. Modify default packageconfig to
do the reasonable thing based on distro features.
Add a backported patch to fix the build with --disable-opengl. Fix
do_install_append() so it works even if dri drivers are not built.
(From OE-Core rev: 48d39cf43b59c96d4deca783ec66686f5c8cd3e7)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
DISTRO_VERSION may contain the current date, and so is prone to mismatches
particularly when keys are created on one date, and dnf is configured to use the keys
on another date.
[YOCTO #11983]
(From OE-Core rev: b8f33f3f0a1e24f89151743d5c0b82efe45a9df1)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This seems to be a leftover from the recipe sysroot transition. Remove
it, as it might mask configuration errors.
(From OE-Core rev: 9a0bdea2b9c2d3b5ad379a1d61f7e262693b75d0)
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Errors like:
runqemu - ERROR - Acquiring lockfile /tmp/qemu-tap-locks/tap0.lock failed: [Errno 11] Resource temporarily unavailable
are not really fatal errors. Change these to info messages instead
so people look later in the log for the real errors.
(From OE-Core rev: fac12de72bda1e864e71538be07d6c6f6e987498)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing timeouts in the autobuilder testing code. Increase these
timeouts to 120, print the length of time we're having to wait, change
the error messages to really be errors and don't print empty logs, its
not helpful, print a message about the empty log instead.
(From OE-Core rev: b87a33d9c86cc1d2ea196259020e1d3dc712ccef)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gettext has a notoriously slow configuration step, and so in my testing
this greatly speeds up building core-image-minimal: from 21m36s to 19m2s
(empty sstate and tmp, but pre-populated downloads).
I have also built world, and core-image-sato to make sure it doesn't break
or modify the build, and there is no difference whatsoever in packages
and images content. Target gettext seems not to be used for anything.
Also fix up insane.bbclass to remove the corresponding QA check.
(From OE-Core rev: 1a7b843d575b290917d1e379c2ba106460988230)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we disabled uppercase characters in overrides a few releases
ago, uppercase characters in recipe names (and for that matter, distro
and machine names) cannot be supported due to their reliance upon
overrides including the name.
QA check will produce an warning message when it verify that recipe
name is uppercase.
[YOCTO# 11592]
(From OE-Core rev: 4713f8b2c4f2c74239d284adcf1e59e61aa66576)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no way to make PACKAGECONFIG options sdkmachine specific using
overrides. This causes potential failures when running the Yocto Project
compatible script. Moving these to the OpenEmbedded Core recipe will
ensure that the options are always applied evenly and avoid any potential
problems with the compatible script.
(From OE-Core rev: 2454019844c762613a2c78ed7f7f2d30960c0bfd)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New devtool deploy-target option --strip which enables deploying
stripped binaries, saving some space on target.
* Copies the files of ${D} into a new directory and strips them in place
* Used oe.package.strip_execs for stripping directory
* Added devtool.conf option "strip" for changing default behavior
Config example:
[Deploy]
strip = true
[YOCTO #11227]
(From OE-Core rev: 7f10c5118793da6ded59ae6e60e796152dbd7ca3)
Signed-off-by: Tobias Hagelborn <tobiasha@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added test_expand_mbr_image test case to the wic oe-selftest suite.
The test expands directdisk wic image to 1Gb target, checks if it's
expanded correctly and boots it in qemu to make sure the image
is bootable, i.e. bootloader, kernel, boot and root partitions
are still functional.
(From OE-Core rev: 83739174be5b3fabd7df559a35ac6407d82a6280)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Got rid of lazy evaluation of self.partitions property.
It's not needed because partitions of the source image should
be always read.
(From OE-Core rev: 1186fd8fd4a4789dc7c60feb86cc9fdd03fee7b3)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This command writes image to the media or another file with
the possibility to expand partitions to fill free target space.
[YOCTO #11278]
(From OE-Core rev: ac5fc0d691aad66ac01a5cde34c331c928e9e25a)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added sfdisk, e2fsck, mkswap, resize2fs, mkdosfs to the
list of used tools in Disk class. They're going to be used
in 'wic write' implementation.
Added dependency to util-linux to wic-tools to ensure that
sfdisk and mkswap are available from wic-tools native sysroot.
(From OE-Core rev: 1add68e4d6150e3038609d8ce7e3cff28fe8fbb8)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This parameter specifies list of supported filesystems.
So far only 'fat' is supported, but 'wic write' is going
to support at least 'fat', 'ext' and 'swap'.
(From OE-Core rev: 7cffcdcfdf4f8934d212740a6d7cf136911ebdac)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Converted partition number to int in order to use
it as an index in the list of partitions.
(From OE-Core rev: f901f23eb05cd6b86a49ef1b6ec7efaf72f6d685)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Got partition type and sector sizes from the output
of 'parted print'. This info may be used in the implementation
of 'wic write' command.
(From OE-Core rev: 5c0926d8efa468177b7cb43a5f06b35058255644)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
So far every used tool have to have separate property and
private attribute in the Disk class. This is too verbose,
considering that there will be much more tools used.
Reimplemented getting tools paths using custom __getattr__
method. This is much more compact and readable.
(From OE-Core rev: d1a831a9870bc31e936eb480485b28f1ffc13080)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Not currently used, but include for completeness.
(From OE-Core rev: dcceb90516efc77e4d0cddc3caf4e203ab9321d6)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without the --disable-factory option, mate-terminal fails to start
with the error:
| There was an error creating the child process for this terminal
| Failed to execute child process "oe-gnome-terminal-phonehome" (No such file or directory)
The --disable-factory option was removed by:
http://git.openembedded.org/openembedded-core/commit/?id=e8dca725ed8211a874472300a3ed50e494039ab9
apparently based on an assuption that mate-terminal continues to
track gnome-terminal since forking from it. However, based on the
mate-terminal man page in the upstream master branch, the option is
still supported:
https://github.com/mate-desktop/mate-terminal
(From OE-Core rev: c7f769bd400756d180abf80dbfdf4ed2703fab60)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the less common terminal types haven't been tested with the
recent phonehome pid file changes and there may be error cases where
the pid file is never created.
(From OE-Core rev: 6b0cf568e9fbe28fb6e7b17f4ad92348d33e2bf4)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe-core commit 51b3ee298635b11d5784caaa0ac1c8f4034c25a5
[gnome-themes-standard: Fix packages so dev-pkgs image generation
works] disabled generation of the -dev pkg. Since a libtool archive
file was no longer being picked up by the -dev pkg the build will fail
with a QA issue (if ERROR_QA includes installed-vs-shipped):
ERROR: gnome-themes-standard-3.22.3-r0 do_package: QA Issue:
gnome-themes-standard: Files/directories were installed but not
shipped in any package:
/usr/lib64/gtk-2.0/2.10.0/engines/libadwaita.la
The libtool archive file is mostly useless in modern Linux with a
single shared library file so instead of including this in the -dev
pkg we simply drop it.
(From OE-Core rev: 77797a95569252024fca094d33ae9ecbc833597f)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently items are added to the sysroot, the obsolete items are removed. If
a change such as pkgconfig -> pkgconf is made, this leads to conflicts of
overlapping files in the sysroot.
In order to better support this, handle removing items before adding them.
This requires some minor refactoring to construct the installed list
before the main function loop, otherwise there are no changes in this
patch other than reordering the operations.
(From OE-Core rev: add4f107c151d32d9ea914bb0b93c3d3c17c776c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently a task could remove a dependency needed by another task leading
to build failures, often due to missing dependencies (e.g. dynamic libraries
not being found). This was often seen for all-arch recipes in package_write_rpm.
When removing a dependency, first check that no other task active for the
recipe has that same dependency.
(From OE-Core rev: ff3617cc2cd5618f48a25aa4e3b2014430fcbe23)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some layers may be setting their own EFI_CC
keep that possibility open
(From OE-Core rev: 4898d1883ae300ade52633109fa7dc3f6e208e14)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a bugfix release and has following upstream bugs as noteworth:
Bug 101334 - AMD SI cards: Some vulkan apps freeze the system
Bug 101766 - Assertion `!"invalid type"' failed when constant expression involves literal of different type
Bug 102024 - FORMAT_FEATURE_SAMPLED_IMAGE_BIT not supported for D16_UNORM and D32_SFLOAT
Bug 102148 - Crash when running qopenglwidget example on mesa llvmpipe win32
Bug 102241 - gallium/wgl: SwapBuffers freezing regularly with swap interval enabled
(From OE-Core rev: 4d6b5b85508f1b55c9ae38a9a9bb82e060e3c793)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its been highlighted that TARGET_SYS can be changed by MACHINE and DISTRO files
so this doesn't work at all today. build/ configuration files also don't see to
be used. Drop these forms of include files for those reasons and simplfy the code
slightly.
(From OE-Core rev: df61351b625fcd2e86aac7630944cc0403455de6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- rename type to exec_type not to shadow type
- rename isELF is_elf
(From OE-Core rev: c72bd726d3e8495aae3e57f524c43b3be6367796)
Signed-off-by: Tobias Hagelborn <tobiasha@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2017-12678: In TagLib 1.11.1, the rebuildAggregateFrames function in
id3v2framefactory.cpp has a pointer to cast vulnerability, which allows
remote attackers to cause a denial of service or possibly have
unspecified other impact via a crafted audio file.
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2017-12678
Patch from:
eb9ded1206
(From OE-Core rev: 24ac12ecb19efc7c131c9711ba32e298ba860eb7)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix hardcoded path for ptest script which would cause failure on
mulitilib:
ls: cannot access '/usr/lib/e2fsprogs/ptest/test/[a-zA-Z]_*': No such file or directory
./test_script: line 54: /usr/lib/e2fsprogs/ptest/test/test_post: No such file or directory
* Add missing '$' for shell variable reference
(From OE-Core rev: 82d244a9225bd1fa512e696aae917febe051fcf9)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should have been done after Pyro was released, but it apparently
slipped though the cracks.
(From meta-yocto rev: 4e6dc6596fd60c35e14ad95899ebd66d16375d77)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix do_configure to be able to regenerate configure files
Use cross libtool as installed by OE, as done in normal autotooled recipes
These changes help in invoking the libtool with proper tags for C
and C++ compiler and linker invocation and not use same tag across all
different invocations
Fixes errors like
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
(From OE-Core rev: afa9f769d62034d4443dfe929422d1d591adf709)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were relying on running ca-certificates from the -native version. This
meant the host and target path layouts had to match which might not be true,
it certainly isn't true for the sdk builds.
There was a dependency on run-parts which wasn't represented (we can get it
from busybox or debianutils).
Since this is an allarch script, call the script directly, making sure debianutils
and openssl are available as postinst rootfs time to resolve the issues.
(From OE-Core rev: d9575e05f2cb8bf293534c036ddc0d0336701256)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than just waiting for 5s, try and get the lockfile. If we gain
the lock, we know we're ready to retry and can skip any remaining timeout.
(Bitbake rev: 8a60106c6f7d586c793b965c5e9460b6016fab15)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its possible for a connection to connect to the server as its shutting down
but before its removed the socket file. This patch:
a) Removes the socket file earlier to avoid connections.
b) Handles EOFError in initial connections gracefully. These occur if the
socket is closed during the server shutdown.
c) Ensure duplicate events aren't shown on the console. This makes debugging
these issues very very confusing.
With these changes the backtrace that was concerning users is hidden and the
server works as expected with a reconnect when it catches it in a bad state.
(Bitbake rev: f45196cf84669723382730944dddc7eaf50826f2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This silences warnings generated after pkg-conf was added as an alternative
pkgconfig provider.
(From OE-Core rev: a8b89b3cf58fd3bc6c8f0cd3fd93a552818bc040)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst this should work we see failures in testsdkext at the moment when
this is set. Add this to the blacklist for now until we can fix these issues
meaning we can at least test BB_SERVER_TIMEOUT in other scenarios.
Bug 119733 has been opened to track this.
(From OE-Core rev: 88cb174680cd37b5afb2b79e8248979895c35312)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want to provide python libs by default, and some other
popular Linux distributions like redhat/fedora does the same.
(From OE-Core rev: 41744c418009dccc5f79c1a4a28419807d67837c)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit 44aea7b873 [kernel-yocto: ensure that only valid BSPs are built]
introduced a new check to ensure that a valid BSP definition was found,
rather than building something that 'closely' matched the current
MACHINE.
This check breaks valid configurations which do not have a bsp
definition but are otherwise completely configured machines.
To allow both elements to co-exist (and not add warnings or errors
to otherwise valid builds), we first check to see if an empty bsp
definition was found, but then check to see if a defconfig was
provided.
If a defconfig has been provided, that is a sign that the board
configuration is complete and we should continue the build without
otherwise bothering the user.
Tested on meta-raspberrypi and linux-yocto*
(From OE-Core rev: 156cf9e25f875a50f907e570d9b62cbc2c051133)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When bootparam_root was empty the if statement would resolve into
invalid syntax instead of short circuiting after the -z, causing a boot
failure.
(From OE-Core rev: dcd129504ea64986652e2e5907d9badf9373e367)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch was a temporal workaround needed with 4.1 kernels.
Remove it.
(From OE-Core rev: 9f32d9405ed5430e9e55de2f1562baac963e807c)
Signed-off-by: Jose Alarcon <jose.alarcon@ge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A gpg command, e.g, called by get_gpg_version(), may trigger such a warning:
gpg: WARNING: unsafe ownership on homedir '/home/user/.gnupg'
This sort of warning is harmless so it can be depressed through specifying
--no-permission-warning.
(From OE-Core rev: 0a740aa6f02deada56e0b7deb2bc1f7401e58726)
Signed-off-by: Jia Zhang <lans.zhang2008@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only build with the vulkan distro flag is set. (References to this flag
were found in the mesa recipe.)
In addition, only set the RRECOMEMND to mesa, if 'opengl' flag is set. Mesa
required opengl distro flag to build.
(From OE-Core rev: 152b59e07aed76de158d553178a2710330bc4cc1)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ptest log will be saved to buildhistory/ptest, we can easily get
the regression result between builds by:
$ git show HEAD ptest/pass.fail.skip.*
[YOCTO #11547]
(From OE-Core rev: dcb6cd19fb8c639cb844d116fb83827267f37421)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's very important to add IMAGE_CLASSES += "testimage" in local.conf firstly,
otherwise the var like TEST_LOG_DIR (defined in testimage.bbclass) will not be
in testdata.json.
[YOCTO #11547]
(From OE-Core rev: 5663ed989f0af5b1c61c74288ec421cbca2261e7)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes the user easier to know how to make commit in buildhistory.
[YOCTO #11547]
(From OE-Core rev: 164a0bd847f02ca65dcd53ddc789690060274191)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There might be wild strings when read from target (especially when
reading ptest results), replace the errors to avoid breaking the test.
Fixed: (Not always happen)
$ bitbake core-image-sato -ctestimage
[snip]
status, output = self.target.run('ptest-runner', 0)
File "/buildarea/lyang1/poky/meta/lib/oeqa/core/target/ssh.py", line 84, in run
status, output = self._run(sshCmd, processTimeout, True)
File "/buildarea/lyang1/poky/meta/lib/oeqa/core/target/ssh.py", line 55, in _run
status, output = SSHCall(command, self.logger, timeout)
File "/buildarea/lyang1/poky/meta/lib/oeqa/core/target/ssh.py", line 258, in SSHCall
run()
File "/buildarea/lyang1/poky/meta/lib/oeqa/core/target/ssh.py", line 236, in run
output = process.communicate()[0].decode("utf-8")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 4906: invalid continuation byte
[YOCTO #11547]
(From OE-Core rev: d0d2f892f0bed6adb5ec6fb59d64efcc97c83e19)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section might be None or '', so use "if section" for it.
Fixed:
File "/buildarea/lyang1/poky/meta/lib/oeqa/utils/logparser.py", line 113, in log_as_files
prefix += section
TypeError: Can't convert 'NoneType' object to str implicitly
[YOCTO #11547]
(From OE-Core rev: 320ea01f9eb33df462534bf08488ff6ada9bbe7b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Make it work with current oeqa
* Skip the test if ptest is not in DISTRO_FEATURES
* Skip the test if ptest-pkgs is not in IMAGE_FEATURES
* The logs are saved to:
testimage/ptest_log -> testimage/ptest_log.<datetime>
* This provides data that could be used to detect regressions in ptest results
[YOCTO #11547]
(From OE-Core rev: f1dfb59495db9e79441c8aa623ede7ef20045a20)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bmap-tools has run-time dependency on "python-mmp" which is missing in
the RDEPENDS. "bmaptool" command in the target will fail without this
patch.
(From OE-Core rev: 1127154b958d0a0e167cefff4bc40dfb86e3378a)
Signed-off-by: Binghua Guan <freebendy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
URLs do not have to have a path; currently our npm URLs don't, so
encodeurl() needs to handle if the path element isn't specified. This
fixes errors using OpenEmbedded's devtool add / recipetool create on an
npm URL after OE-Core revision ecca596b75cfda2f798a0bdde75f4f774e23a95b
that uses decodeurl() and encodeurl() to change URL parameter values.
(Bitbake rev: d5cab2dbf5682d2fd08e58316a3bf39a10f63df2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes error "Exception: NameError: name 'errno' is not defined"
during build-sysroots.bb:do_build_target_sysroot
(From OE-Core rev: b1e482ae20b9c714f4089d4da6470d041242e441)
Signed-off-by: Marko, Peter <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE-Core commit 1df60b09f7a60427795ec828c9c7180e4e52f98c caused a
regression in npm handling since it still expected to be able to get the
results of the license handling, but this no longer happens until after
the npm plugin is called. Thus, call the license handling function
ourselves here (which will record this as having been handled so it
doesn't get done again later).
(From OE-Core rev: 3e408aadaea85b6f192b34d37d508cbaf3cd7164)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With "import oe" in create_npm.py you get "AttributeError: module 'oe'
has no attribute 'package'" when it tries to call
oe.package.npm_split_package_dirs().
(From OE-Core rev: 1261900aeac725e5712e0180600753a9d4c67e60)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The underlying model is already sorted for use in the other view,
add a sorting model for the 'Dependent Tasks' view.
(Bitbake rev: 27ca94c33234f0ef9753f8285213dde2871a3fcf)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Toaster needs to allow the custom fixture file to specific an
alternate Layer Index URL for users that host their own Layer
Index Server via the 'CUSTOM_LAYERINDEX_SERVER' in
'custom.xml'.
Toaster also needs to allow the ability to completely override
the default fixture files, otherwise that content can leak into
the custom environment (by default the custom fixture is an
overlay that cannot remove existing values from the default
fixture) via the 'CUSTOM_XML_ONLY' value in 'setting.xml'.
[YOCTO #11938]
(Bitbake rev: ac29d4a9078494544a2627d8b6b021096b49cb34)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Toaster needs the ability to allow custom extensions to execute when
Toaster is started and stopped. Toaster will look for a custom
extension script in the fixtures directory and execute any applicable
hooks.
[YOCTO #11938]
(Bitbake rev: 12a73f6914488029f2b9dd680e004fba7dde41af)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When Toaster removes a package from a custom image, it must
also always remove the advised reverse-dependent recipes.
Similarly, when adding a package it must always add its advised
the packages it depends on. This code must be un-indented so
that it applies to all respective added or removed packages.
Toaster normally waits until a new custom image is built before
creating the custom layer and the recipe. However, an intermediate
different build can fail because the recipe has already been added
to the project, so the image's default recipe must be created
when the image is created.
[YOCTO #11915]
(Bitbake rev: bcd68fd7231f166baff875fb88e4f9ce0d9bf91d)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The header text has been moved to meta/conf/conf-notes.txt by:
[ meta: move some text from oe-setup-builddir to conf-notes.txt ]
Need do the same to meta-poky/conf/conf-notes.txt.
(From meta-yocto rev: 8a9d72abcf484fbe8001a08623910c5af1be07a0)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to the age of 4.1 and it being removed from oe-core master
as an active kernel, we can bump poky-lsb to the newer 4.9 LTSI
kernel version.
(From meta-yocto rev: 1f85cc33429e9a217a11adc298e2149f2950724c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The IDE driver in the kernel is fragile and in 4.12 is causing backtraces.
To unblock 4.12 kernel merging use the virtio CD driver instead to mount
iso images which should be faster and more stable.
(From OE-Core rev: f59e729f98ef9b506b0cfdc415567e03ec87f2a9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
THe newner kernels have ope firmware support enabled which leads to warnings
during boot on mips. These aren't interesting and we should ignore them.
(From OE-Core rev: 4ba9a6ffb4e7f6c7eee47aa13252fd981cfe5618)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* this recipe is intentionally empty, but useful for BSP layers to
provide machine specific systemd services in this MACHINE_ARCH
package.
(From OE-Core rev: 5f3dbcf71059939f1c33af7b8848eb18b311365a)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sushell is required by systemd service debug-shell
when selinux is enabled.
(From OE-Core rev: 0e4e43e2e6e4a906dfa45b9e89d179e46d593158)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sushell is required by systemd service debug-shell
when selinux is enabled, but it doesn't make sense
to make systemd depend on initscripts, so split sushell
into sub package initscripts-sushell.
* The bash dependency has been removed by:
'''
4917e36a77bd6821b45db52caa43939d344d92f6
initscripts: Fix regression for requiring /bin/bash
'''
so remove bash from RDEPENDS when selinux is enabled.
(From OE-Core rev: 9c84ca86f396886ae68774032724b53664ecf0ed)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ibt-firmware was not packaged separately and was part of big linux-firmware
package. Packaging allows to install it separately, according to requirements.
(From OE-Core rev: f1414d6f9c327547023375f9e298f6f021eaee1b)
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Package iwlwifi-3160-[10-17] firmware from iwlwifi-misc to seperate packages,
so it is possible to install only required firmare package.
(From OE-Core rev: 2a5966c957a6c2fbe914c1b3be0926ec0e62dab0)
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add statistic summary for run-ptest
* Ensure the script can be run anywhere
(From OE-Core rev: 8a6f5a2bc55975f38ad285ddea7122643b303c53)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pkgconf is a better replacement for pkg-config. Fedora 26 replaces the
system pkg-config implementation with pkgconf because it "provides better
support for handling .pc files and a stable library ABI/API for integrating
into applications." and is actively maintained, unlike pkg-config.
pkgconf aims to offer many improvements over pkg-config such as faster/more
efficient dependency resolver which "allows for the user to more conservatively
link their binaries -- which may be helpful in some environments, such as when
prelink(1) is being used.
pkgconf also aims to provide a more complete implementation of pkg-config.
The features most likely to benefit the Yocto Project build system are the
faster/more efficient dependency resolution and linker flag optimisation.
Move pkgconf recipe to oe-core from meta-pkgconf:
https://github.com/kergoth/meta-kergoth-wip/tree/master/meta-pkgconf
Links:
1. http://pkgconf.org
2. https://fedoraproject.org/wiki/Changes/pkgconf_as_system_pkg-config_implementation
3. https://bugzilla.yoctoproject.org/show_bug.cgi?id=11308
(From OE-Core rev: 879bd0ff00ebebfdeef52c3f61597d635e040aef)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows the end users to be able to override the entire notes
showing on the shell console. For instance, Our company uses a
external conf-notes.txt, and we run bitbake with some extra variables,
looks like: F=xxx D=xxx M=xxx bitbake <target>, so we want to show
exactly these texts on the shell console, that's why we need this
change.
(From OE-Core rev: 80bc8282df58dfeaae8f2f71ed2617d718e29f8b)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise, we get timeouts, leading to errors:
pip._vendor.requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /pypi/pip/json (Caused by ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7ff741bb3ef0>, 'Connection to pypi.python.org timed out. (connect timeout=5)'))
WARNING: TOPDIR/tmp/work/qemux86-poky-linux/build-appliance-image/15.0.0-r0/temp/run.do_populate_poky_src.185123:1 exit 1 from 'pip3 install --user -I -U -v -r TOPDIR/tmp/work/qemux86-poky-linux/build-appliance-image/15.0.0-r0/rootfs/home/builder/poky/bitbake/toaster-requirements.txt'
DEBUG: Python function do_image finished
Complete log at [1]
[1] http://errors.yoctoproject.org/Errors/Build/43393/
(From OE-Core rev: 8291156c30e54a05ad455dda2b8540a570bb0f4a)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before GNU tar 1.24, only the archive creation command had the '-h'
argument to preserve and follow symlinks. After >= 1.24 via commit
14efeb9f956e38d7be (tar: --dereference consistency) the capability to
preserve symlinks was also added to the archive extraction command.
-h is default at archive creation but is not default at extraction,
meaning that it will replace symlinks with directories even if the
original filesystem directory tree and archive contains them.
Add -h to the copyhardlinktree extraction step so the build can
support symlinks in variables like ${DEPLOY_DIR_IPK/RPM/DEB}.
(From OE-Core rev: c1b73fe26540c38086e259be6eb313e0826dceed)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refactor get_cc_option so it is simpler and also does not fail
when using external toolchain.
(From OE-Core rev: d4564ee59df907d1e01a3610ac88a35f9a78c1ce)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The compiled .pyc files contain time stamp corresponding to the compile time.
This prevents binary reproducibility. This patch allows to achieve binary
reproducibility by overriding the build time stamp by the value
exported via SOURCE_DATE_EPOCH.
Patch by Bernhard M. Wiedemann, backported from https://github.com/python/cpython/pull/296
[YOCTO#11241]
(From OE-Core rev: 2a044f1e4f5c63e11e631b31f741c7aabfa6f601)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the 4.10 SRCREVs to import the following changes:
65370fa249e2 drm/vmwgfx: limit the number of mip levels in vmw_gb_surface_define_ioctl()
530ec12a0cb0 ACPICA: Namespace: fix operand cache leak
b1098b5bbded char: lp: fix possible integer overflow in lp_setup()
56ee0c7811e5 dccp/tcp: do not inherit mc_list from parent
9f6cbd022bba nfsd: encoders mustn't use unitialized values in error cases
084036ebc243 nfsd: fix undefined behavior in nfsd4_layout_verify
973f780eeaa6 xen-blkback: don't leak stack data via response ring
20c4b5015fea brcmfmac: fix possible buffer overflow in brcmf_cfg80211_mgmt_tx()
1dff0f28b490 ipx: call ipxitf_put() in ioctl error path
d666a8e60a45 mm: fix new crash in unmapped_area_topdown()
73d059ba1a17 mm: larger stack guard gap, between vmas
Which address the following CVEs:
CVE-2017-8890
CVE-2017-1000363
CVE-2017-11472
CVE-2017-7346
CVE-2017-1000380
CVE-2017-7541
CVE-2017-10911
(From OE-Core rev: 6cfd520ea050aa449f0ac7ee0b2c647d14d588ad)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a bug in the search routines responsible for locating
BSP definitions which returned a valid match if only the ktype
matched.
This meant that someone looking for "qemux86foo" (which is an
invalid definition) would potentially end up building "qemuarm"
and be none the wiser (until it didn't boot).
With this fix to the tools search routine, and improved return
code testing, we will now stop the build and report and error to
the user.
[YOCTO: #11878]
(From OE-Core rev: 44aea7b87307795fe4e089c51d45afccaa2f6525)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Not all the qemu machines carry default kernel specifications.
While we could drop these references, we'll bump them to 4.12
to pick up the latest and remove them in future commits.
(From OE-Core rev: c58df63d88a07d3275e7337f7d284b0a50db82cc)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fall 2017 kernel will have 4.12 as the reference kernel, so
we update the libc-headers to match.
Build tested against glibc and muslc systems.
(From OE-Core rev: 4b5cce1c691e991c80d255a4900220068ff6f062)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have 4.4 and 4.9 as LTS kernels, the 4.1 variants are no longer
needed and are dropped.
(From OE-Core rev: 1a25cea311cbebb2af0c1a0b964208281e6026de)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 4.12 kernel will be the default/reference for the fall 2017
release.
These recipes represent the introduction of 4.12.7 + related kernel
meta data. Existing functionality has been validated against this
new kernel version, and older versions will be removed in separate
commits.
(From OE-Core rev: 4e5044bcea68f3bac3596507f0828d3cbe869df1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As requested by QA to enable testing of linux-yocto images out of the
box, we enable usb-net drivers for the various platforms in all kernel
versions.
(From OE-Core rev: 5322eef31c8b63ead49b2f13312d3356a016ff64)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mmc: sdhci: fix two compile errors
| CC drivers/mmc/host/sdhci.o
| drivers/mmc/host/sdhci.c: In function 'sdhci_execute_tuning':
| drivers/mmc/host/sdhci.c:1990:4: error: implicit
| declaration of function 'sdhci_do_reset'
| [-Werror=implicit-function-declaration]
| sdhci_do_reset(host, SDHCI_RESET_CMD);
| ^
| drivers/mmc/host/sdhci.c:2006:7: error: 'struct
| mmc_command' has no member named 'busy_timeout'
| cmd.busy_timeout = 50;
| ^
In function sdhci_execute_tuning, replace sdhci_do_reset
with sdhci_reset, replace busy_timeout with cmd_timeout_ms.
Commit a629a90ba0 adds eMMC DDR mode support for t2080qds and
modified some data structures and function name. Later
commit a2080cc280 just backport upstream commit 61e53bd004
without aligning the current source tree thus cause
these build errors. Fix them.
Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
(From OE-Core rev: 538d2f0857f09ca86026d5771ea7c3fb74c0f857)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2017-9727: make bounds check in gx_ttfReader__Read more robust
CVE-2017-9835: bounds check the array allocations methods
CVE-2017-11714: prevent trying to reloc a freed object
(From OE-Core rev: 2eae91f9fa1cfdd3f0e6111956c8f193fd0db69f)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e.g. with gentoo gcc-7.1 they define _FORTIFY_SOURCE by default with:
https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/gcc/7.1.0/gentoo/10_all_default-fortify-source.patch?view=markup
which results in following error while building grub-efi-native:
./config-util.h:1504:48: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
|| (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
^~~~~~~~~~~~~~~
this part comes from gnulib and it's used only for Apple and BSD,
so we can ignore it, but we cannot add -Wno-error=expansion-to-defined
because this warning was introduced only in gcc-7 and older gcc
will fail with:
cc1: error: -Werror=expansion-to-defined: no option -Wexpansion-to-defined
use #pragma to work around this
(From OE-Core rev: f5302b0ad2942f7705d46c33949ebc1c5ddf3f58)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With glibc upgrade to 2.26 release (commit d6a0bc57fa07
"glibc: Upgrade to 2.26 final release") it's not possible
to build x86/x86_64 SDK for kernels lower than 3.2.0
(see glibc commit 139ace95756a "Require Linux kernel 3.2
or later on x86 / x86_64.")
Thus drop SDK_OLDEST_KERNEL overrides from machine-specific
conf files, so default version 3.2.0 from conf/bitbake.conf
will be picked up.
(From OE-Core rev: 0724896f7a2092abf2f3bafa9fac96c5210d39a5)
Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fixes:
ERROR: nativesdk-libcheck-0.10.0-r0 do_package_qa: QA Issue: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/checkmk contained in package nativesdk-libcheck requires /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/gawk, but no providers found in RDEPENDS_nativesdk-libcheck? [file-rdeps]
(From OE-Core rev: 71c29b53f1a44430306eeda96dc43cf7d002afe5)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add new patches for enable builds on hosts that has GCC version
minor than 5 because doesn't support std::array and std::put_time,
those patches could be removed after get rid of Debian8 and Centos7
support.
- gcc_4.x_Revert-avoid-changing-the-global-LC_TIME-for-Release.patch
- gcc_4.x_Revert-use-de-localed-std-put_time-instead-rolling-o.patch
- gcc_4.x_apt-pkg-contrib-strutl.cc-Include-array-header.patch
The LIC_FILES_CHKSUM changed because the license file now has
style changes in the text remains GPLv2+.
The patch Revert-always-run-dpkg-configure-a-at-the-end-of-our
was updated because now the precision fields use floating
point numbers.
(From OE-Core rev: da99ae14c3a5719b317ff71b8f778a7c987f6158)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patches rebased due to don't apply, no major changes,
- 0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch
- arch_pm.patch
- noman.patch
Patches related to move ostable/triplettable insida data/ostable and
data/tupletable instead also needs to comply the new format of the
tables for arch detection.
- 0006-add-musleabi-to-known-target-tripets.patch
- add_armeb_triplet_entry.patch
And finally a patch to avoid usage --clamp-mtime in tar needs to be
modified because the dpkg-deb internal API changed.
- 0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch
(From OE-Core rev: dc1ae641435999095e8759812b096fec1f28c90d)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Updated update-gawk-paths.patch.
- Updated Makefile-ptest.patch
- Removed 0008-replace-struct-ucontext-with-ucontext_t.patch which is already in
the source.
- The LIC_FILES_CHKSUM is changed because the years have been updated,
the contents are the same.
(From OE-Core rev: 111e4a8642160c8441e447da32a4ef52995bbe99)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed the following 2 patches which are already in the source:
- 0001-e2fsck-exit-with-exit-status-0-if-no-errors-were-fix.patch
- e2fsprogs-1.43-sysmacros.patch
(From OE-Core rev: ce0efa2e38611428aff6d39d52ce29f8a6571813)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hard depending on the kernel makes it impossible to install kernel
modules without getting the kernel image installed too. This is
inconvenient in e.g. initramdisks, where the kernel is loaded from
outside the initramdisk.
Making the kernel modules rrecommend kernel-image-<version> instead of
rdepending on it, makes it possible to install kernel modules without
the kernel image by setting "kernel-image" in BAD_RECOMMENDATIONS.
(From OE-Core rev: 5dd7ddb66a6846d9bb59dc7833e8318992d0e645)
Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
dnsproxy: Fix crash on malformed DNS response
If the response query string is malformed, we might access memory
pass the end of "name" variable in parse_response().
[YOCTO #11959]
(From OE-Core rev: fb3e30e45eea2042fdb0b667cbc2c79ae3f5a1a9)
Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't hardcode the package name, it could be gdk-pixbuf or
lib32-gdk-pixbuf.
(From OE-Core rev: 92a299a550b5b9c68c0285fdeb3d4c9defa0dede)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were being a bit prescriptive in setting LICENSE and
LIC_FILES_CHKSUM. We can't always trust what's in the metadata
accompanying some source which plugins will almost always be pulling
from, however we do want to allow plugins to set the LICENSE and
LIC_FILES_CHKSUM values. Merge what we find in our license file scan
with what the plugin sends back.
Additionally, plugins can now add a "license" item to the handled list
in order to inhibit the normal LICENSE / LIC_FILES_CHKSUM handling if
they have already taken care of it completely.
Thanks to Mark Horn <mark.d.horn@intel.com> for prompting, testing and
fixing this patch.
(From OE-Core rev: 1df60b09f7a60427795ec828c9c7180e4e52f98c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously if we were able to auto-determine the name from the URL, that
took precedence over any name that might be set in extravalues by a
plugin. Some plugins might be able to get a better idea of the name and
thus we should move defaulting of the name further down after the
plugins have had a chance to set it.
(From OE-Core rev: 3bb979c13463705c4db6c59034661c4cd8100756)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, exports the whole workspace (all recipes) including the source code.
User can also limit what is exported with --included/--excluded flags. As
a result of this operation, a tar archive containing only workspace metadata
and its corresponding source code is created, which can be properly imported
with 'devtool import'.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10510
[YOCTO #10510]
(From OE-Core rev: f9bc3b5101b554a72298266519dbdd1497f262a6)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When devtool upgrade is run on a recipe with revision specified
that is not on master branch, and branch isn't set by --srcbranch or -B,
then we should get the correct branch and append the branch to the URL.
If the revision was found on multiple branches, we will display error
to inform user to provide a correct branch and exit.
[YOCTO #11484]
(From OE-Core rev: 29ced7387a92aed17b7fe93b1654790a981734c1)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During recipe creation, it seems that the automation for replacing
${PV} at the SRCURI for tag, (e.g mbed-tls-${PV}) is causing some
issue due to PV assuming it's a git source. A fix is implemented in
this patch to resolve this issue.
(From OE-Core rev: 9d3ec76c1b7dd75d904f5ff47297de0fb65b21c2)
Signed-off-by: Stanley Phoong <stanley.cheong.kwan.phoong@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change is to improve the buildability of the recipe created by
recipetool and devtool.
When recipetool create is run on a git URL and a revision specified
that is not on master, and "branch=" isn't already in the URL, then
we should get the correct branch and append the branch to the URL.
If the revision was found on multiple branches and 'master' is not
in the list, we will display error to inform user to provide a
correct branch and exit.
[YOCTO #11389]
(From OE-Core rev: ecca596b75cfda2f798a0bdde75f4f774e23a95b)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating new recipes, we are almost certainly fetching a new
source rather that something that has already been fetched. I have
disable PREMIRRORS and MIRRORS settings in the recipe that created
by devtool while leaving an option for users to enable them manually
if needed. Since devtool already has this options, we need to ensure
that recipetool is able to handle the options passed from devtool.
(From OE-Core rev: 091cee2bdc2378a3425a4ef8558d03e6f9c021ff)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is an interesting bug in the current code where a sync command
is not seen until the current async command completes, by which time
the UI may have shut down.
The reason is that if there are idle commands, we may not end up sleeping
in the select call at all, partiularly under heavy load like parsing.
Fix this by calling select with a zero timeout so that we see active
fds and know to read from them. This fixes various problems toaster was
having with the recent server changes.
[YOCTO #11898]
(Bitbake rev: bbcce58e824b2793abf50efa52db158ae16e23e4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The eSDK installation requires the meta-skeleton layer.
The build system might use the meta-skeleton recipes as layout
to create custom recipes. An example is the recipetool script
that uses the meta-skeleton kernel recipe when creating a custom
kernel recipe.
[YOCTO #11102]
(From OE-Core rev: 5c9ef0734d23909b5694ed43cdbb205c2ba9ca95)
Signed-off-by: Juan M Cruz Alcaraz <juan.m.cruz.alcaraz@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Our grub and syslinux bootloaders both define root=/dev/ram0 for live
images by default. Kernel docs show that root=/dev/ram0 is just a
sentinel value for the kernel to mount the initrd as root, which then
mounts and switches to the real root. This is exactly what our scripts
do, so just check for root=/dev/ram0 as well.
See: https://www.kernel.org/doc/html/v4.11/admin-guide/initrd.html#operation
This fixes the issue where the new initramfs-framework scripts would not
boot live images that use grub or syslinux bootloaders.
(From OE-Core rev: a30f8f60017d566d845ee5d3a8cfc338017211b0)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
openssl 1.1 broke 3rd party layers a lot more than was expected; let's flip
the switch at the start of next development cycle.
Add a PROVIDES = "openssl10" to openssl 1.0 recipe; any dependency that is
not compatible with 1.1 should use that in its DEPENDS, as the 1.0
recipe will later be renamed back to openssl10. This does not always work:
http://lists.openembedded.org/pipermail/openembedded-core/2017-August/140957.html
but for many recipes it does.
(From OE-Core rev: 5585103c195104e85ed7ac1455bef91b2e88a04d)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The behavior before this change was to check USER_CLASSES and adjust
the install script to return either exit 0 (don't do anything) or
exit 1 (run on first boot). This enabled a user to include the prelink
package without enablign the image-prelink bbclass and get a first boot
prelink.
Checking USER_CLASSES is not desired, as an image should be able to simply
inherit the image-prelink and get the same type of behavior. Modifying
the recipe based on the inclusion of a class is a bad idea as it makes
this style work more difficult. So we move to a more defined strategy
based on exist uses. (That we know of...)
If we ae doing a cross install, we want to avoid prelinking.
Prelinking during a cross install should be handled by the image-prelink
bbclass. If the user desires this to run on the target at first boot
they will need to create a custom boot script.
[YOCTO #11169]
(From OE-Core rev: e31c9d32072b9cf62c0e9e55b4d421849d3d489b)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace the deprecated '-usbdevice' option with '-device usb-xx' option.
This would fix runqemu boot error like below.
'-usbdevice' is deprecated, please use '-device usb-...' instead
(From OE-Core rev: 2f1f3480d344f8521e01f456d2dcd6c4e989ec59)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport two patches to fix the following error when booting qemu.
Failed to unlock byte 100
(From OE-Core rev: 91eee8b08cd52f49bb1c8f8c680607b3f3a52d24)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2017-9226 : check too big code point value for single byte
CVE-2017-9227 : access to invalid address by reg->dmin value
CVE-2017-9228 : invalid state(CCS_VALUE) in parse_char_class()
CVE-2017-9229 : access to invalid address by reg->dmax value
(From OE-Core rev: f15f01edbaa431829a50053d07ed6d6b333584c7)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The release version was actually working correctly; it only makes
the warning work properly.
(From OE-Core rev: e7986a5493ccd222b82c2388ea8c3bb7004b48dd)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CURL_FORMAT_OFF_T does not seem to exist anymore, use
CURL_FORMAT_CURL_OFF_T instead. This works with old and new curl.
(From OE-Core rev: 5548f9c87c6a10cda2baf6f198762380e55f6ae2)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Optional installation of khrplatform.h was implemented upstream by a slightly
different approach -> 0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch
can be removed.
(From OE-Core rev: 4473c9e846826bfb4f48cec9c6c7b1cad6666bb3)
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* without this package installed any WebKitGTK+ based browser
will fail to correctly open html files (and other files)
from disk (file:// URIs). It will open them as plain txt files.
(From OE-Core rev: b708cb53b46d9d82a7853bcd0f25ef6bc417bd10)
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_configure() will no longer convert references to
/usr/include into /path/to/recipes-sysroot/usr/include
for the file "Porting/Glossary".
[YOCTO #11243]
(From OE-Core rev: cb2dfe5627df2ff235b37622260484841f39af17)
Signed-off-by: Ooi Cinly <cinly.ooi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed all instances of -fdebug-prefix-map in LTCFLAGS
declaration because they contain references to host system
and are not needed.
/absolute/path/to/host/dd was replaced with 'dd' in
lt_truncate_bin declaration.
Please take note that the location of regex is important
for DEBUG_PREFIX_MAP. Removal of DEBUG_PREFIX_MAP has to be
done before other regex command modify its option value.
Both are modified because they affect binary reproducibility.
[YOCTO #11656]
(From OE-Core rev: 04db02138e363898e040e33557f1296e8a43c3fd)
Signed-off-by: Ooi Cinly <cinly.ooi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Disable build for muslx32.X32 isn't supported by valgrind at this
moment.
(From OE-Core rev: a945141062ac3d0736558be428f60af405b53a94)
Signed-off-by: sweeaun <swee.aun.khor@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In images built with pam in DISTRO_FEATURES, we end up with dangling symlinks
if su is not packaged into image
$ ls /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/core-image-minimal/1.0-r0/rootfs/etc/pam.d/su-l -l
lrwxrwxrwx 1 kraj users 2 Aug 9 07:56 /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/core-image-minimal/1.0-r0/rootfs/etc/pam.d/su-l -> su
This causes image do_rootfs to fail
| sed: can't read /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/core-image-minimal/1.0-r0/rootfs/etc/pam.d/s
u-l: No such file or directory
| WARNING: /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/core-image-minimal/1.0-r0/temp/run.ssh_allow_empty_
password.19238:1 exit 2 from 'sed -i 's/nullok_secure/nullok/' /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi
/core-image-minimal/1.0-r0/rootfs/etc/pam.d/*'
Therefore we need to filter out dangling symlinks before sed'ing
things out
(From OE-Core rev: b92105e5a085c8cd3c650579644922ed97163e73)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport the patch to fix CVE-2017-8363:
The flac_buffer_copy function in flac.c in libsndfile 1.0.28 allows
remote attackers to cause a denial of service (heap-based buffer
over-read and application crash) via a crafted audio file.
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2017-8363
(From OE-Core rev: 9cc9956c5ed09f9016cb23bd763652e5ab55f3cd)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport the patch to fix CVE-2017-8362:
The flac_buffer_copy function in flac.c in libsndfile 1.0.28 allows
remote attackers to cause a denial of service (invalid read and
application crash) via a crafted audio file.
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2017-8362
(From OE-Core rev: 0c8da3f6f85962196f2ad54fffd839239f5c2274)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport the patch to fix two CVEs:
CVE-2017-8361:
The flac_buffer_copy function in flac.c in libsndfile 1.0.28 allows
remote attackers to cause a denial of service (buffer overflow and
application crash) or possibly have unspecified other impact via a
crafted audio file.
CVE-2017-8365:
The i2les_array function in pcm.c in libsndfile 1.0.28 allows remote
attackers to cause a denial of service (buffer over-read and application
crash) via a crafted audio file.
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2017-8361https://nvd.nist.gov/vuln/detail/CVE-2017-8365
(From OE-Core rev: d92877ade8fd4dd9b548c6b664bf4357a1f9428a)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport 3 patches to fix CVE-2017-10971:
In the X.Org X server before 2017-06-19, a user authenticated to an X
Session could crash or execute code in the context of the X Server by
exploiting a stack overflow in the endianness conversion of X Events.
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2017-10971
(From OE-Core rev: 20428f660f2c046c63bbf63c4e4af95dac9f2b3d)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
testdata and testdata_link may point to the same file, in particular
when IMAGE_LINK_NAME and IMAGE_NAME are equal.
Check if this is the case before creating a symlink that points to
itself and makes the next build fail.
(From OE-Core rev: b516394f9e7858062aa7b042aa4a1bdef9d3a941)
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When IMAGE_NAME and IMAGE_LINK_NAME are equal, do_write_qemuboot_conf will
create a symlink that links to itself.
Check if this is the case before creating the link.
(From OE-Core rev: f46652e77f467861dc68c3a8e54f27d08659222d)
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When buildsystem with layer structure is going to be copied, only the last
meta-XXX layer is taken.
For example, during ext_sdk bblayers creating:
layers/oe/meta \
layers/oe/meta-oe \
layers/oe/meta-networking \
layers/oe/meta-webserver \
...
It restructured meta-oe, meta-networking,... contents into meta-oe.
Recipes from meta-oe will be on the same level like meta-networking,
meta-webserver, ... .
It should take the whole meta path instead of the last one.
layers/oe/meta \
layers/oe/meta-oe/meta-oe \
layers/oe/meta-oe/meta-networking \
layers/oe/meta-oe/meta-webserver \
...
Now the directory structure is the same like during build creation.
(From OE-Core rev: 5a59a6997f41e606d088e3e86812de56f72f543b)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Besides providing the NATIVELSBSTRING, include distro info when creating
the (json) error report. This information provides better info than the
standard 'universal*' string for uninative builds.
[YOCTO #11824]
(From OE-Core rev: fdfbfc954a3e0ad79dc2bed9828f9f5dc40d506f)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit d58b1d196 moved from chunk to serial signing, but neither of both approaches
allowed the user to select the chunks size. This patch allows the user to select
a chunk size through RPM_GPG_SIGN_CHUNK defaulting to BB_NUMBER_THREADS, considered
a good default. Indirectly, this change reduces the number of processes spawn
to number-of-packages/RPM_GPG_SIGN_CHUNK.
(From OE-Core rev: f7f78e73f1cd15f4233a231364b14438af758628)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We always forget to upgrade it when systemd is upgraded, keeping it
next to systemd will be an easy reminder to upgrade this recipe along
with systemd
Define EFI_CC, so far it has been using detection mechanism which
worked with gcc but falls back to native gcc when using non-gcc compiler
as default system compiler e.g. clang
(From OE-Core rev: e70f843b4fb5ee27d46543165a89d56c2ec5ee2e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
...
|ERROR: lib32-logrotate-3.12.3-r0 do_package: SYSTEMD_SERVICE_lib32-logrotate
value lib32-logrotate.service does not exist
|ERROR: lib32-logrotate-3.12.3-r0 do_package: Function failed:
systemd_populate_packages
...
The systemd sercie file should not be multilib expend.
(From OE-Core rev: e599c3d75a0e57a798ca360eb55d8661de355ec5)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While multilib, the local m4/python.m4 incorrectly assigned
am_cv_python_pyexecdir and am_cv_python_pythondir which caused
the following error enabled:
...
ERROR: gpgme-1.9.0-r0 do_package: QA Issue: gpgme: Files/directories
were installed but not shipped in any package:
/usr/lib/python3.5/site-packages/gpg-1.9.0-py3.5.egg-info
...
(From OE-Core rev: f5c7e236582028638a26a5855d5e7ba0b55bb8f0)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This file lists the licenses that the OE-Core meta data falls under
but should not be used as a LIC_FILES_CHKSUM, use the MIT license file.
(From OE-Core rev: e12fa3ac08962accb6585e2aa1c486e7852d174d)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libc headers now have a backported patch that fixes this.
(From OE-Core rev: 5dc1700ec6ff15aefb8ca540e5b7d3e89a14945b)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In commit 255caaad:
[ packagefeed-stability.bbclass: change a bb.plain to bb.note ]
I changed a bb.plain to bb.note to get a cleaner console, but there is
still one more bb.plain left which I forgot to change.
(From OE-Core rev: ccb96849e010883cb1cb4d384f017d05eb6bbcee)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Uprev from 3.19.3 to 3.2.0 for fixing CVE-2017-10989:
The getNodeSize function in ext/rtree/rtree.c in SQLite through 3.19.3,
as used in GDAL and other products, mishandles undersized RTree blobs
in a crafted database, leading to a heap-based buffer over-read or
possibly unspecified other impact.
https://nvd.nist.gov/vuln/detail/CVE-2017-10989
* LIC_FILES_CHKSUM updated for below changes:
-** 2001 September 15
+** 2001-09-15
(From OE-Core rev: 95b802bfe74ac6a3f6dc05edb52c87ef90600f40)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebase patches:
- tic-hang.patch -> 0001
- configure-reproducible.patch -> 0002
Drop fix-cflags-mangle.patch, which accepted by upstream
...
commit 1b74f120ab7be89011408a6ad0f1c748a314bae8
Author: Sven Joachim <svenjoac@gmx.de>
Date: Sun Feb 26 09:01:34 2017 +0100
Import upstream patch 20170225
20170225
+ fixes for CF_CC_ENV_FLAGS (report by Ross Burton).
...
(From OE-Core rev: a4ad0703e1209fee6cd89bf74088931785c4d8c7)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Rebase patches to 4.3.6
- define-macro-_PATH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch -> 0001
- dhcp-3.0.3-dhclient-dbus.patch -> 0002
- link-with-lcrypto.patch -> 0003
- fixsepbuild.patch -> 0004
- dhclient-script-drop-resolv.conf.dhclient.patch -> 0005
- 0001-site.h-enable-gentle-shutdown.patch -> 0006
- libxml2-configure-argument.patch -> 0007
- tweak-to-support-external-bind.patch -> 0008
- remove-dhclient-script-bash-dependency.patch -> 0009
- build-shared-libs.patch -> 0010
- Moved-the-call-to-isc_app_ctxstart-to-not-get-signal.patch -> 0011
2. Drop search-for-libxml2.patch
It is overrided by libxml2-configure-argument.patch
3. Rework dhclient-script-drop-resolv.conf.dhclient.patch and
Drop replace-ifconfig-route.patch.
vim client/scripts/linux
...
Script refresh in 2017. The aliasing code was too convoluted and needs
to go away. Migrated DHCPv4 script to ip command from iproute2 suite.
This is based on Debian script with some tweaks. ifconfig is no longer
used. Everything is done using ip tool from ip-route2.
...
(From OE-Core rev: 77878d2e6e8f36afa9a0fde8a6f0f955c84a5e5c)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Need to add ilp32 to known list of abi variants
(From OE-Core rev: 6c5e50d26cbb9172d7264e7a8fed3edf0c0e8414)
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new file, fs-perms-persistent-log.txt, which treats /var/log
as a directory instead of a link.
Modify package.bbclass to use this file if VOLATILE_LOG_DIR is set to boolean
false value.
[YOCTO #6132]
(From OE-Core rev: 6b22e247bf91f112401cad822cd7fe0b5621ffe0)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Respect VOLATILE_VAR_LOG variable so that if it's set to any valid boolean
false value, we could have persistent /var/log on the final image.
[YOCTO #6132]
(From OE-Core rev: 50914c4a84e0fb6b9bf6bb1864a2d653218753ce)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Respect VOLATILE_LOG_DIR variable. In this way, if the user overrides
this variable to be any valid boolean false value, /var/log on the final
image would reside on persistent storage.
[YOCTO #6132]
(From OE-Core rev: fc19114ca409fc3178ae5cbb44db875b12eeedfc)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The default value is "yes" which results in the /var/log being a link
pointing to /var/volatile/log which is on tmpfs.
Setting valid boolean false value ('no', 'n', 'false', 'f', '0') would make
/var/log to be a directory on persistent storage.
[YOCTO #6132]
(From OE-Core rev: 016bafce52f74462dc8f21a1c1b43ba2e6e59442)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to fix CVE-2017-12424.
In shadow before 4.5, the newusers tool could be made to manipulate
internal data structures in ways unintended by the authors.
Reference link: https://nvd.nist.gov/vuln/detail/CVE-2017-12424
CVE: CVE-2017-12424
(From OE-Core rev: 896495d4d2a9751e6e013a3498293b2443d7d809)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade nss from 3.30.2 to latest stable version 3.31.1.
* remove 0001-Fix-warnings-found-with-gcc7.patch which is not needed now
(From OE-Core rev: 86838f1c06002a62ded12a9a66d1eb82093c85a9)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed following patch as the parallel make issue was fixed upstream:
* fix-parallel-make.patch
(From OE-Core rev: 76c9ba6b3f7c0aecb00b7d9c0a1aace3f80d8b48)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE-core commit 800753069f667cd1664d70b3779150c467e3b3fe remove
RPROVIDES list to get runtime dependences from manifest file.
python3-misc is added in python3 recipe, we need to add
native runtime to use python3-misc with native recipes.
(From OE-Core rev: 31fd20811f6d11e7ed6ac84caf776ac46cd6fb6f)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mkelfimage uses different flags to compile as freestanding binary
it does not pour CFLAGS into them during configure as a result
-fno-stack-protector was never used. Which failed to build with
compilers configured to build with ssp by default. It worked with
gcc since we do not configure our toolchain to default to ssp
Fixes errors e.g.
| objdir/linux-i386/convert_params.o: In function `convert_params':
| linux-i386/convert_params.c:(.text+0x9f4): undefined reference to `__stack_chk_fail'
| objdir/linux-i386/convert_params.o: In function `compute_checksum':
| linux-i386/convert_params.c:(.text+0xa71): undefined reference to `__stack_chk_fail'
| objdir/linux-i386/convert_params.o: In function `printf':
| linux-i386/convert_params.c:(.text+0xcc7): undefined reference to `__stack_chk_fail'
| make: *** [linux-i386/Makefile:24: objdir/linux-i386/convert] Error 1
(From OE-Core rev: f6ed82482838e34202721be8f40ca1cc340c325e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When rpmdeps files a perl script, it attempts to determine what it provides
and what it requires. Often the requires are incorrect, within the context
of Wind River Linux. This results in an error that DNF is unable to install
a package due to one or more unresolved dependencies.
In RPM5 we had disabled this behavior, the alternative is to require that all
perl scripts be 'complete', in that they only require things they absolutely
need and that OE provides. If we ever enforce that, this commit can be
reverted. Until they fall back to prior behavior (which also matches ipkg
and deb style packages.)
(From OE-Core rev: 99376f602c997fec96dbb28ddbe3fa5f68fde2c3)
(From OE-Core rev: 586875cea5769fea7d17bae2677eab72e4fc7e31)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During the transition to dnf and rpm4, the functionality to
automatically make RPM determine dependencies was lost.
Before the transition, an OE specific tool called rpmdeps-oecore had
been added to the rpm suit. It was based on the rpmdeps tool that is
part of rpm. For each file specified on its command line, it would
output the provides and requires that RPM could determine.
During the transition to rpm4, rpmdeps-oecore was replaced with the
standard rpmdeps. However, what no one noticed was that unless rpmdeps
is given options, e.g., -P or -R, to tell it what it should output, it
will not output anything. Thus, it would do all the work to determine
the requirements, but would keep silent about it. And since no output
from rpmdeps is expected unless there are requirements, there were no
warnings indicating that everything was not working as expected.
Porting the old rpmdeps-oecore to work with rpm4 is not really
possible since it relied on being able to access internals of RPM that
are no longer available. However, it turned out that rpmdeps had a
debug option, --rpmfcdebug, that would output exactly the information
that we need, albeit in a different format and to stderr. To make this
usable, rpmdeps has now received a new option, --alldeps, which sends
the information we need to stdout.
(From OE-Core rev: 958501b3d9201aaabb81ec644c6049e0c9b737e7)
(From OE-Core rev: bf017930036f19b3d6df8e5b50d9979ee7045c5c)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since LTP includes a set of test cases, we need to skip file dependency
generation, as there will be dependencies that can not be satisfied. In this
case a csh and ksh dependency come from two tests.
The alternative would be to depend on csh/ksh (a bad idea as they're not
available in oe-core) or remove the tests (but this eliminates the tests if
someone DOES have csh/ksh in their configurations.)
(From OE-Core rev: 8c4dcdfa9d5a37acb6f492b1cf0e40a403e5fbe9)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ERROR: openssl-1.1.0f-r0 do_package_qa: QA Issue: /usr/lib/openssl/ptest/fuzz/helper.py contained in package openssl-ptest requires /usr/bin/python, but no providers found in RDEPENDS_openssl-ptest? [file-rdeps]
ERROR: openssl-1.1.0f-r0 do_package_qa: QA Issue: /usr/lib/openssl/ptest/test/certs/mkcert.sh contained in package openssl-ptest requires /bin/bash, but no providers found in RDEPENDS_openssl-ptest? [file-rdeps]
(From OE-Core rev: 7e70d0673df20669edd18b79ae065d8c2f655b8a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The scripts currently reference "python33", fix this so they reference
python3. The move the python3 likely broke these.
(From OE-Core rev: 1a734f037da37d14f780970a9532d1e2e3683bf8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original purpose of this code snippet was to repackage initramfs
bundled kernel images before do_image_complete, to be able to be
included by rootfs, but it's not going to achieve that since the
initramfs bundled kernel images are not even installed to ${D}/boot
after commit a49569e3a7534779bbe3f01a0647fd076c95798d:
[ kernel.bbclass: do not copy bundled initramfs to /boot ]
So there is not a initramfs bundled kernel package at all, we should
drop the code, because it is leading kernel do_initramfs_bundle
unnecessarily rerun and it's very time consuming and hence is impacting
the performance a lot.
(From OE-Core rev: eca501aeb4f2cc9255fabab14c68f6910367aaf9)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to support Nios2 emulation by QEMU, we need
at least QEMU version 2.9.
(From OE-Core rev: f2d725d9268563f7bbcac770a34aceacb56cb2aa)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove references to the host build system from generated/packaged
header file gmp.h. The file ends up in two different packages (libgmp-dev,
libgmp-dbg). Rather then modifying the file twice in two different
destinations after the installation, we modify the file gmp.h only once,
but before the installation.
[YOCTO #11922]
(From OE-Core rev: 693b42115e2f61abc9ca6096445dc494648cacb6)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
visibility is no more auto but disabled by default
we do not require to disable it explicitly.
* fix build failure for sh4a due to missing colon in asm statement
* trap UB from attempts to join a detached thread
* ppc64: fix setjmp/longjmp handling of TOC pointer
* qsort: add a short comment about the algorithm
* disable global visibility override hack (vis.h) by default
* add _NL_LOCALE_NAME extension to nl_langinfo
(From OE-Core rev: 82c0f16dbdd1a44438e8536a598277efed909b3c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This does not work as intended: enabling either of the alternatives
causes the other alternative to append a --disable-hls flag to
configure. Anyone needing openssl 1.0 should set it up manually
via EXTRA_OECONF_append or similar.
(From OE-Core rev: d2562cfe4517d85328e961f968db2c7cd3c6c6f2)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we upgrade to libva 1.8.3, we can remove the workaround patch
which disables visualizations in gst-player:
1. 0001-gtk-play-Disable-visualizations.patch
Also remove the upstreamed patches:
1. filechooser.patch
2. Fix-pause-play.patch
3. Add-error-signal-emission-for-missing-plugins.patch
Fixes [YOCTO #11437]
(From OE-Core rev: 50f1902cb44724aa4b030e4e42b115231217acc9)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.7.3 -> 1.8.3
Remove upstreamed patch:
0001-wayland-Don-t-commit-and-ship-generated-files.patch
Replace following patch by setting ac_cv_prog in EXTRA_OECONF:
0001-configure.ac-Use-wayland-scanner-in-PATH.patch
The dummy driver was removed in 1.8.3 release.
(From OE-Core rev: bcb77ab7f57a99284953a456399b90b6ed42e77d)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Utilities and tests in the libva was spun-off as libva-utils
during 1.8.0 release.
libva-utils is a collection of utilities and examples to exercise VA-API
in accordance with the libva project
(From OE-Core rev: ab7f6ba2bab04bdfaa76a1de83806dbadc82fefa)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When Thumb1 is used as default ISA, there are linker
issues, therefore always use ARM ISA
Fixes
relocation truncated to fit: R_ARM_THM_CALL against symbol `__gnu_thumb1_case_uhi' defined in .text section
(From OE-Core rev: a0c9d19b46ccefbb90eea5965e11ea21d13242b4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Filter out any file dependencies on absolute paths and any
dependencies on Perl modules for nativesdk packages. It is assumed
that they will be provided by the native host if needed, and they mess
up the dependency handling if they are present.
(From OE-Core rev: ce55e6c6d8b654b5fb21dec8180b471bfd33601a)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We do not build the Locale::gettext_xs Perl module and the code will
test for it and happily use Locale::gettext_pp instead if it is not
found. However, this still causes a file dependency on
perl(Locale::gettext_xs) to be generated, which must be satisfied by
adding an explicit provide for it.
(From OE-Core rev: c1e16ac6aea0ec15b35d227814bbf137ac8de6c2)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These git commands require Perl modules that do not exist in OE-Core.
Add PACKAGECONFIGs to enable them. Be aware though that if you enable
them you must also provide the missing dependencies.
(From OE-Core rev: d7909007b2a912ae5adf01edfabaa8b8646369cd)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gpg signing in file batches (which was default to 100) is a memory expensive
computation, causing trouble in some host machines (even on production AB
as seen on the bugzilla ID). Also, in terms of performance, there is no real
gain when rpm signing is done in batches. Considering the latter issues, perform the
rpm signing serially.
Log showing errors observed recently at AB workers:
| gpg: signing failed: Cannot allocate memory
| gpg: signing failed: Cannot allocate memory
| error: gpg exec failed (2)
| /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/core2-64-poky-linux/base-passwd/3.5.29-r0/deploy-rpms/core2_64/base-passwd-dev-3.5.29-r0.core2_64.rpm:
[YOCTO #11914]
(From OE-Core rev: d58b1d196f87128892b7b624bfb725afe01581f1)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise, the following bitbake error is observed
root@qemux86-64:~/openembedded-core/build# bitbake -e
NOTE: Starting bitbake server...
ERROR: Unable to start bitbake server
ERROR: Last 10 lines of server log /home/root/openembedded-core/build/bitbake-cookerdaemon.log:
File "/home/root/openembedded-core/bitbake/lib/bb/cooker.py", line 197, in __init__
self.initConfigurationData()
File "/home/root/openembedded-core/bitbake/lib/bb/cooker.py", line 348, in initConfigurationData
self.databuilder.parseBaseConfiguration()
File "/home/root/openembedded-core/bitbake/lib/bb/cookerdata.py", line 323, in parseBaseConfiguration
raise bb.BBHandledException
bb.BBHandledException
NOTE: Starting bitbake server...
ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
pod2man scp ssh
(From OE-Core rev: 2ece64bf8cb8841e2e1db87d6c426f3f1637e8a7)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The systemd 234 added some files to the polkit directory and the
directory the files live in must be owned by the polkitd user, else
you will receive the following error when the rootfs is being
assembled:
Error: Transaction check error:
file /usr/share/polkit-1/rules.d conflicts between attempted installs of polkit-0.113-r0.15.core2_64 and systemd-1:234-r0.0.core2_64
The fix similar to other packages such as libvirt where the user must
exist and the directory must be created with the proper attributes.
(From OE-Core rev: e2e36bb83355208aaf5a399107b4a99e62a708d3)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package resolver failes to assemble images because some of the man
pages in openssl10 conflict with the openssl package. In the case
where you want openssl, openssh and the documentation installed in the
same system you will see the failure.
The work around is to rename all the openssl10 man pages and symlinks
to have a prefix of openssl10-.
(From OE-Core rev: bb837cae92472b294ac886b121b2249e4314439f)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have two variables here, srcuri and fetchuri. srcuri is what
eventually ends up in the recipe, whereas fetchuri is what we actually
pass to the fetcher when we fetch the source within recipetool -
sometimes these need to be different particularly for an upcoming patch
to handle automatically setting the branch parameter. In OE-Core
revision 9a47a6690052ef943c0d4760630ee630fb012153 I erroneously changed
the call to scriptutils.fetch_url() to pass srcuri instead of fetchuri -
this likely didn't have any ill effect, but change it back to passing
fetchuri to match the original intent.
(From OE-Core rev: b66b73bcf5ee7e4488970576fdc31dfa25b35f5e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Assume event queue is empty if another thread is blocking waiting for event.
If one thread was blocking waiting for an event and another thread sent a
reply to the X server, both threads got blocked until an event was
received.
(From OE-Core rev: 26842b2e4fc9c1d243ce412e845a5444cb03c4b9)
Signed-off-by: Jose Alarcon <jose.alarcon@ge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tipcutils 2.2 in meta-oe removed the tipc-config tool and
recommended to use the new configuration tool named "tipc" in iproute2
package for configuring the tipc, which utilizes the new tipc netlink
kernel API.
Add tipc support and split it out into its own package.
(From OE-Core rev: 944ef0de241de77429ab0e5cb1dd4a7f355cf3fd)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Smallish releases with bug fixes and minor improvements.
shared-mime-info is now always used for image type sniffing.
The dependency does not seem to currently be a build-time dependency
but configure.ac does check for it: I took the easy route and just
added shared-mime-info to DEPENDS as well.
(From OE-Core rev: ebba8c2999fc6cf94eca988f8d942acd9f0137ba)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Small release with bug fixes and some flatpak portal related
improvements.
(From OE-Core rev: 0833691ff1d05b17a0c90c90800d7cdaeb871479)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bug fix upgrades.
* Remove one upstreamed patch.
* Update a license location.
* Add gperf-native as dependency as a hash function header is no
longer shipped and must be generated.
* Add workaround for a related build issue (reported upstream)
(From OE-Core rev: a9762bf5d28d578b9fbcc94c3bdd4866e66fdf97)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Things to note:
* This ends up enabling dri3 in mesa
* It does not completely enable dri3 in xorg with xf86-video-intel
because that requires a run time configuration (xorg.conf)
So vulkan in poky with xf86-video-intel still requires a xorg.conf
snippet to enable dri3. Otherwise (weston or X with other drivers)
it just works.
(From meta-yocto rev: f55e894b7fb9fa6974e8048032a8373073738f9e)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing the server fail to start within 8s on heavily loaded
autobuilders so increase this timeout to 30s which should be more
than enough time.
(Bitbake rev: 8d4c120ec46d6d7a54947c64d33e18cb60b60505)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There have been cases where the server could loop indefinitely and incorrectly
handle client disconnects. In the EOFError case, ensure a full disconnect
happens in the alternative disconnect path to avoid this.
(Bitbake rev: 5e267f14bb0155889615f567a920af4a37eb3c6b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prevent stale temp files and a possible (if unlikely) race in tempfile
usage.
(From OE-Core rev: 1b8ac555ee1443be5cd14614cc6b722960d228b8)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rename one dnf runtime test that it will recognized as a python module
and thus also found by the oe test loader. Also, fix value of
TEST_SUITES in dnf selftest so that all test dependencies are satisfied
and the runtime test may be successfully run from there.
(From OE-Core rev: ee3be65aa1348798d385ead9b80c6a6ada21d6b0)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If package feed signing is enabled enable repo gpg signature check for
rpm repositories added via PACKAGE_FEED_URIS. This has the implication
that all repositories added via this mechanism must be signed with the
same key.
[YOCTO #11209]
(From OE-Core rev: f7716f1de0791dfe778bb70f1769a7e1e83c7a54)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In particular, do_unpack needs to be deleted as it was causing missing
subpackages. Do_unpack cleans the builddir and if it was run after
do_get_public_keys it cleaned up all keys causing no packages to be
built.
(From OE-Core rev: 8fbe0d60322f1b02c1e9de1c6ab19648db97dbd9)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes it possible to enable 'repo_gpgcheck' in dnf.conf. That is, do
GPG signature check on repository metadata. Without gnupg dnf fails with
"error: Invalid crypto engine."
[YOCTO #11209]
(From OE-Core rev: 8a7154cfe150840b451bc56951f0fa31cb8d6fa0)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
getrandom() is only available in glibc 2.25+ and uninative may relocate binaries
onto systems that don't have this function. For now, force the code to the older
codepath until we can come up with a better solution for this kind of issue.
(From OE-Core rev: 95e31e4b15573eb1cbeb4ff1d0903c5141b84d54)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
getentropy/random() is only available in glibc 2.25+ and uninative may relocate
binaries onto systems that don't have this function. For now, force the code to
the older codepaths until we can come up with a better solution for this kind of
issue.
(From OE-Core rev: 92bda0024d85ae78345665cc2f9646c9881ed61b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I could see dozens of "Copying packages for recipe..." messages on the
console during a image build, this is sort of annoying. I would like
them to be dumped into the task log instead, so I can get a cleaner
console and would not miss real important messages.
(From OE-Core rev: 255caaad3574afec6ff5909c770eaee3f74a8155)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the code stands today, an event mask does not mask LogRecord events
since the log levels are controlled separately. We therefore need to
accept (and ignore) LogRecord events in this test to avoid errors.
(From OE-Core rev: efe1f2c8ad09af3c5ee9c778601c7463c532b012)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
getrandom() is only available in glibc 2.25+ and uninative may relocate
binaries onto systems that don't have this function. For now, force
the code to the older codepath until we can come up with a better solution
for this kind of issue.
(From OE-Core rev: da9ac8092497c3f2c246d3534f47e42cb2d9e4e8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Depending on whether large file support is enabled, the size of ino_t can
be 4 or 8 on 32 bit x86. Drop the value from the site cache and allow the
system to vary it depending on configuration. Very few other arches actually set
this so its likely obsolete and doesn't need to be hardcoded anymore.
Also drop the 64 bit and x32 variants since autodetection of this value appears
to work fine and this avoids any confusion or sizing errors depending on large
file support.
(From OE-Core rev: 31ae16003cac6c8cf587c98d0c58e9f21690cb40)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a new task "reproducible_final_image_task".
If binary reproducibility is desired ($BUILD_REPRODUCIBLE_BINARIES" = "1"),
then recursivley modify mtimes of all files to a reproducible vale.
The value is obtained via REPRODUCIBLE_TIMESTAMP_ROOTFS.
This task is executed as the very last step in image creation, once all
the files in the image have been finalized.
[YOCTO#11176]
(From OE-Core rev: df8df5f907736c3e5b7f15ea11898a1d49726ca5)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several tweaks to improve reproducibility:
1. If BUILD_REPRODUCIBLE_BINARIES == 1, set KBUILD_BUILD_TIMESTAMP
to a reproducible value. This is either a non-zero SOURCE_DATE_EPOCH, or the
value obtained from top entry of GIT repo, or (if there is no GIT repo)
fallback to REPRODUCIBLE_TIMESTAMP_ROOTFS as the last resort.
Also export KCONFIG_NOTIMESTAMP=1.
2. When compressing vmlinux.gz, use gzip "-n" option
3. Kernel and kernel modules contain hard coded paths referencing the host
build system. This is usually because the source code contains __FILE__
at some place. This prevents binary reproducibility. However, some compilers
allow remapping of the __FILE__ value. If we detect the compiler is capable
of doing this, we replace the source path $(S) part of __FILE__ by a string "/kernel-source".
For example:
/data/master/build/tmp/work-shared/qemux86/kernel-source/drivers/media/v4l2-core/videobuf2-core.c
will be replaced by a reproducible value:
/kernel-source/drivers/media/v4l2-core/videobuf2-core.c.
(From OE-Core rev: 012a70da7ae0617740cd0cf807d01c3cd912c823)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Conditionally support binary reproducibility in built images.
If BUILD_REPRODUCIBLE_BINARIES = 1 then:
1. Do not randomize library addresses
2. Set/export PRELINK_TIMESTAMP to a reproducible value.
If REPRODUCIBLE_TIMESTAMP_ROOTFS is specified, then the value will
be used. Otherwise the timestamp will be derived from the top git commit.
(From OE-Core rev: 40ce3db222f8557a01d041f8115d531cc90a54e8)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For reproducible builds do not generate build timestamp as part of
the version string.
Remove host tools references from .config file.
With this patch all eight busybox packages are built as
binary reproducible.
(From OE-Core rev: fad94cdb02be86b463e691ca2598b393e7875919)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The compiled .pyc files contain time stamp corresponding to the compile time.
This prevents binary reproducibility. This patch allows to achieve binary
reproducibility by overriding the build time stamp by the value
exported via SOURCE_DATE_EPOCH.
Patch by Bernhard M. Wiedemann.
[YOCTO#11241]
(From OE-Core rev: 2175aec10a764bfc925a3fb447547982d0ae662f)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order for u-boot to work on Nios II architecture,
the device tree file requires adding pre-relocation
flag to the CPU node.
Patch is tested on 10m50 board. Pass booting up
Linux.
[YOCTO #11628]
(From OE-Core rev: 1e301a9f959fd3816d96cfdb6f8530898cefafce)
Signed-off-by: Gan, Yau Wai <yau.wai.gan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compressing by gzip, do not save the original file name and time stamp.
[YOCTO #11916]
(From OE-Core rev: c32d526a056adb8ed1eb8beb9d495bfd01af2342)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-docutils recipe must be upgraded to latest stable release.
LIC_FILES_CHKSUM changed due to a typo fix from previous version,
but license type and information remained the same.
This change was tested on qemu with core-image-minimal.
(From OE-Core rev: f99247335485e15c820991e3ea20b766364111fc)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both python-setuptools and python3-setuptools must be updated
to latest stable release.
These changes were tested on qemu with core-image-minimal
(From OE-Core rev: 147d9260eb79edfdf7a91fb8bc3d915f141dc685)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix to create configuration file related to /var/log/sa for sysvinit
and systemd systems respectively.
(From OE-Core rev: 652e515cbdf0f6314b63ec52b9fcac42299c3d60)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use git rev-parse to determine the location of the .git directory, in
case it is not an immediate child of EXTERNALSRC (e.g. when using
submodules). In the event git can't resolve the .git directory, fall
back to the non-git method for hashing.
(From OE-Core rev: 95e1341b49f7184d280a03f64f131a4468a06867)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Drop 4 patches because the upstream already contains them:
0001-dirtyc0w-Include-stdint.h.patch
0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch
0037-faccessat-and-fchmodat-Fix-build-warnings.patch
0038-syscalls-add_key02-update-to-test-fix-for-nonempty-N.patch
2. Drop the do_compile_prepend function, because the upstream already fix
the parallel make race, we can check it here:
3f385652ef
3. Fix PAGE_SIZE redefinition and O_CREAT undeclear build failures when using musl
4. Fix runtime failed case file01
(From OE-Core rev: 46feafdc13b8c3c4b03d44a4a95a87d4ee25300c)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The intel vulkan driver requires libdrm-intel: Only enable it when
building for x86 or x86-64 similar to DRI drivers.
Building on non-x86* with vulkan leads to "--with-vulkan-drivers= ":
this is interpreted correctly by the build system.
(From OE-Core rev: 8e50f002823772a989f0f39b0ecb8a84517c94f5)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating a custom image which uses the DATE variable the basehash
seems to change every day and lead to errors such as:
ERROR: console-tdx-image-2.7.6-r0 do_image_customimg: Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:set_image_size(d)
...
Add DATE to the variables which should not get expanded early and to the
vardepsexclude list for the image task.
(From OE-Core rev: 4af13a4855c74cea9cf6c168fd73165d7094bf93)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case a systemd service disables itself while init is still in its
boot sequence the reloading of the service files can be problematic.
In that case: It seems that systemd looses the state of .device units,
and some services depend on such units (namely serial consoles such as
serial-getty@ttymxc0.service). As a result no getty is spawned on the
affected serial tty.
After a power-cycle the second boot (which does not disable services)
succeeds.
The following sequence shows this problem:
| Jan 09 16:36:28 apalis-t30 systemctl[162]: Removed /etc/systemd/system/sysinit.target.wants/run-postinsts.service.
| Jan 09 16:36:28 apalis-t30 systemd[1]: Reloading.
| ...
| And then the failing one:
| Feb 22 15:33:15 apalis-t30 systemd[1]: dev-ttyS0.device: Job dev-ttyS0.device/start timed out.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Timed out waiting for device dev-ttyS0.device.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Dependency failed for Serial Getty on ttyS0.
| Feb 22 15:33:15 apalis-t30 systemd[1]: serial-getty@ttyS0.service: Job serial-getty@ttyS0.service/start failed with result 'dependency'.
| Feb 22 15:33:15 apalis-t30 systemd[1]: dev-ttyS0.device: Job dev-ttyS0.device/start failed with result 'timeout'.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Reached target Login Prompts.
(the time has been updated between this two events, but that does not
influence the issue)
Using --no-reload in the service file avoids the "Reloading." message
above and seems to not cause such issues anymore.
Reported-by: Stefan Agner <stefan.agner@toradex.com>
(From OE-Core rev: 23b359b6e26d0b17037bf955bd15a16a3fd9ab8f)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 4a425d05bac5dcba023b67aa3d726f7e7869404f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case a systemd service disables itself while init is still in its
boot sequence the reloading of the service files can be problematic.
In that case: It seems that systemd looses the state of .device units,
and some services depend on such units (namely serial consoles such as
serial-getty@ttymxc0.service). As a result no getty is spawned on the
affected serial tty.
After a power-cycle the second boot (which does not disable services)
succeeds.
The following sequence shows this problem:
| Jan 09 16:36:28 apalis-t30 systemctl[162]: Removed /etc/systemd/system/sysinit.target.wants/run-postinsts.service.
| Jan 09 16:36:28 apalis-t30 systemd[1]: Reloading.
| ...
| And then the failing one:
| Feb 22 15:33:15 apalis-t30 systemd[1]: dev-ttyS0.device: Job dev-ttyS0.device/start timed out.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Timed out waiting for device dev-ttyS0.device.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Dependency failed for Serial Getty on ttyS0.
| Feb 22 15:33:15 apalis-t30 systemd[1]: serial-getty@ttyS0.service: Job serial-getty@ttyS0.service/start failed with result 'dependency'.
| Feb 22 15:33:15 apalis-t30 systemd[1]: dev-ttyS0.device: Job dev-ttyS0.device/start failed with result 'timeout'.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Reached target Login Prompts.
(the time has been updated between this two events, but that does not
influence the issue)
Using --no-reload in the service file avoids the "Reloading." message
above and seems to not cause such issues anymore.
Reported-by: Stefan Agner <stefan.agner@toradex.com>
(From OE-Core rev: 059bc9b164d239f0ba319f8e6a54b5edf7761b22)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 16b7b455ee40fd1be5bb9aacf24b106df0d9325e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case a systemd service disables itself while init is still in its
boot sequence the reloading of the service files can be problematic.
In that case: It seems that systemd looses the state of .device units,
and some services depend on such units (namely serial consoles such as
serial-getty@ttymxc0.service). As a result no getty is spawned on the
affected serial tty.
After a power-cycle the second boot (which does not disable services)
succeeds.
The following sequence shows this problem:
| Jan 09 16:36:28 apalis-t30 systemctl[162]: Removed /etc/systemd/system/sysinit.target.wants/run-postinsts.service.
| Jan 09 16:36:28 apalis-t30 systemd[1]: Reloading.
| ...
| And then the failing one:
| Feb 22 15:33:15 apalis-t30 systemd[1]: dev-ttyS0.device: Job dev-ttyS0.device/start timed out.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Timed out waiting for device dev-ttyS0.device.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Dependency failed for Serial Getty on ttyS0.
| Feb 22 15:33:15 apalis-t30 systemd[1]: serial-getty@ttyS0.service: Job serial-getty@ttyS0.service/start failed with result 'dependency'.
| Feb 22 15:33:15 apalis-t30 systemd[1]: dev-ttyS0.device: Job dev-ttyS0.device/start failed with result 'timeout'.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Reached target Login Prompts.
(the time has been updated between this two events, but that does not
influence the issue)
Using --no-reload in the service file avoids the "Reloading." message
above and seems to not cause such issues anymore.
Reported-by: Stefan Agner <stefan.agner@toradex.com>
(From OE-Core rev: e735c176361fca43420565dcb8900bbff2f3664e)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 94fabe4b03e899d8876027ee2ced649737a9e522)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* since following commit:
commit 2ff9d40dc88d43567472218cf3d3faf414398c71
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Sun Jul 30 16:06:57 2017 +0100
image/rm_work: Promote do_image_complete to be more sstate like
all image rm_work tasks are failing with:
mv: 1.0-r0.do_image_complete.228730130ba309f85b73b72222ba11d7.raspberrypi3 and
1.0-r0.do_image_complete.228730130ba309f85b73b72222ba11d7.raspberrypi3 are the same file
it's because for $i 1.0-r0.do_image_complete.228730130ba309f85b73b72222ba11d7.raspberrypi3
there will be first SSTATETASK in $j do_deploy, so the sed call doesn't replace anything
It might be different order of SSTATETASKS in my builds (it might work only when
do_image_complete is the first one in the list), but here:
SSTATETASKS="do_deploy do_image_complete do_image_qa do_package do_package_qa do_package_write_ipk do_packagedata do_populate_lic do_populate_sdk do_populate_sdk_ext do_populate_sysroot"
(From OE-Core rev: 0c905d4e7fa8e5416945fa0d61ebc1d34409d1e6)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove backported patch:
1. vaapivideobufferpool-create-allocator-if-needed.patch
* Add PACKAGECONFIG_GL variable to make it possible for BSP layers to
customize what should be the default, EGL or GLX
* Set virtual/egl instead of virtual/mesa as egl dependency in case
platform specific drivers provide virtual/egl functionality
(From OE-Core rev: 42daac1ade210d873aa4761d89d2402fbe80f07b)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmad plugin was removed in 1.12.0, since mad is GPLed,
unmaintained, and both gst-libav & the mpg123 plugin are
fully functional alternatives.
(From OE-Core rev: a963a2e38e246554b7083430710a2aba430df5e5)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove backported patches:
1. 0001-smoothstreaming-implement-adaptivedemux-s-get_live_s.patch
2. 0001-smoothstreaming-use-the-duration-from-the-list-of-fr.patch
3. 0001-mssdemux-improved-live-playback-support.patch
* Refreshed the following patches:
1. 0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
Extended patch to include fix for libgstallocators
2. 0001-Prepend-PKG_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch
Updated to apply to 1.12.2
3. gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch
Updated to apply to 1.12.2
* Removed license checks in tta directory as it doesn't exist anymore.
* In 1.12.0, old unsupported plugins were removed. As a result, the
list of unsupported plugins was removed.
(From OE-Core rev: 1fa8492e54dd71ce7d4d853e0cb7295c28fa5e76)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove backported patch:
1. 0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch
* Added RPROVIDES to handle the renamed plugins (oss4 is not enabled):
1. libgstpulse -> libgstpulseaudio
2. libgstsouphttpsrc -> libgstsoup
* Updated gstreamer1.0-meta-base to include this change:
1.gstsouphttpsrc plugin was renamed to gstsoup
(From OE-Core rev: 142d9e3d68147cdad18a3a60eaa22c33c418ffec)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Version 1.12 introduces support for libdw (provided by elfutils).
libdw adds source lines & numbers to backtraces. A new "dw"
packageconfig added for enabling/disabling this feature.
In addition, the old patch for deterministic unwind configuration
was replaced with one that also allows the same for the dw
configuration. This new patch was also submitted to bugzilla.
* Leftover docbook cruft was removed, meaning that the
"--disable-docbook" configure switch is gone.
(From OE-Core rev: a6c12ff35c97f4225a6b2f226ae4483d7bacdfb9)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gentoo is removing the package due to dead upstream;
Debian might carry it for a while longer.
(From OE-Core rev: 5026730a2f0701ebad4ddf57990b1ae3b484ae72)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These are optional per-recipe variables with the following meaning:
UPSTREAM_VERSION_UNKNOWN - set if the upstream version check fails reliably,
e.g. absent git tags, or weird version format used on our or on upstream side.
If this variable is not set and version check fails, or if it is set and
the version check succeeds, then the checkpkg selftest for the recipe will fail.
UPSTREAM_CHECK_UNRELIABLE - set if the upstream check cannot be reliably performed
due to transient network failures, or server behaving weirdly. This one should be used
sparingly, as it completely excludes a recipe from upstream checking, and thus
we don't get automatically notified about new upstream releases.
Also the upstream status string in the checkpkg csv output is clarified with the following
possible values:
MATCH - recipe is providing the latest upstream version
UPDATE - there is a new version released by upstream, recipe should be updated
CHECK_IS_UNRELIABLE - an upstream check was skipped as requested by recipe
via UPSTREAM_CHECK_UNRELIABLE
UNKNOWN - upstream version check was performed, but the upstream verison could
not be determined. The recipe acknowledges this via UPSTREAM_VERSION_UNKNOWN setting.
UNKNWON_BROKEN - same as previous, but the recipe does not include the acknowledgement
and should be fixed.
KNOWN_BROKEN - upstream check worked, but recipe claims it shouldn't; to fix this
remove UPSTREAM_VERSION_UNKNOWN from recipe.
[YOCTO #11896]
(From OE-Core rev: 2a44ac1add0338cd7ff012cda96bf113c9a01bd6)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is an error for populate_sdk when we exclude package by using
PACKAGE_EXCLUDE.
Reproduced steps:
echo "PACKAGE_EXCLUDE = \"psplash\"" >> conf/local.conf
bitbake core-image-sato -c populate_sdk
Error log:
ERROR: core-image-sato-1.0-r0 do_populate_sdk: Could not invoke dnf.
Command '/buildarea1/poky/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/recipe-sysroot-native/usr/bin/dnf -y -c
/buildarea1/poky/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/sdk/image/opt/poky/2.3/sysroots/i586-poky-linux/etc/dnf/dnf.conf
--setopt=reposdir=/buildarea1/poky/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/sdk/image/opt/poky/2.3/sysroots/i586-poky-linux/etc/yum.repos.d
--repofrompath=oe-repo,/buildarea1/poky/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/oe-rootfs-repo
--installroot=/buildarea1/poky/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/sdk/image/opt/poky/2.3/sysroots/i586-poky-linux
--setopt=logdir=/buildarea1/poky/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/temp
-x psplash --nogpgcheck install run-postinsts dnf
packagegroup-core-x11-base packagegroup-core-ssh-dropbear
packagegroup-core-standalone-sdk-target packagegroup-base-extended
packagegroup-core-x11-sato psplash packagegroup-core-boot rpm' returned 1:
Unable to detect release version (use '--releasever' to specify release version)
Added oe-repo repo from
/buildarea1/poky/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/oe-rootfs-repo
Last metadata expiration check: 0:00:00 ago on Thu 10 Aug 2017 09:26:32 AM UTC.
No package psplash available.
Error: Unable to find a match
Add handling package exclusions to do_populate_sdk. The code copies from
do_rootfs in image.bbclass.
(From OE-Core rev: 86db855da4ee000737281ef7cc893d56854b3952)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Writes to the cookerdaemon log and/or the lockfile were meaning the parser
cache was always being invalidated and reparsed. This is unnecessary so
spot accesses to these two common cases and ignore the files from a reparse
perspective.
This doesn't remove many sources of reparse but does improve several
common cases.
(Bitbake rev: 218e4b6418992588312b8ef5949b84ef43263d1a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a proper function for clearing the mtime cache. Clean up the inotify
event overflow case to err on the side of caution and clear any potentially
now out of sync caches.
(Bitbake rev: ec60459fe2ba16966544eebff43b061abb7ed3ba)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The inotify watch events are handled "at idle" which could in theory mean
a command could run before any preceeding inotify events have been processed.
This leads to a theoretical race window where those events may have a
signficicant effect on the command.
Add a mechanism to allow us to ensure all pending events are processed before
running commands.
(Bitbake rev: bf76cd7e5881adf264b8ba64e27a5b6ca9df4fde)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the directories searched by BBFILES are not currently being added
to the inotify watch list. This can mean that added append files are not
noticed leading to misleading metadata results when using
BB_SERVER_TIMEOUT != 0.
We use glob to expand the BBFILES references and without writing our own
implentation, figuring out the directories it searches is hard. We use
some horrible hacks here to intecept the listdir calls, I'm open
to better ways to handle this but this does ensure we have the right
watches set.
(Bitbake rev: 4d508d35a224e3a25d2d59c8415ab7985964b14f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The server currently crashes if we hit an EOFError due to controllersock
still being in ready and the continue meaning ready isn't re-evaluated.
Setting the value to False can mean the shutdown code doesn't handle the
situation cleanly.
Clear ready to avoid the crash/loop instead and handle any OSError whilst
we're in here.
(Bitbake rev: 2bc47e887c3b41417edaa89a8708c223fd2085de)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we don't do this, we get basehash mismatch errors occurring from the reparse
which would then set bitbake's error exit code.
This for example would cause oe-selftest -r bbtests.BitbakeTests.test_bbappend_order
to fail with a non-zero BB_SERVER_TIMEOUT.
(Bitbake rev: e4c6ca9440f63761560b49bbe12654441f54687e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some reason prelink was refusing to prelink musl images but now sometimes
does modify the binaries. Since musl has no support for this, such images
end up broken and unable to boot.
To avoid this, be explicit and only apply prelinking for libc-glibc.
[YOCTO #11913]
(From OE-Core rev: 5a25ed1071f0d9b7d95edcc2b5b4545f960d5f95)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It has not been ported to openssl 1.1 (and there's nothing in upstream git),
but it's possible to use nettle or gcrypt intead.
Also, provide a fallback option to use openssl 1.0 when necessary.
(From OE-Core rev: 624aed5d450664b0f0a36b14d658248202f864ed)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Existing openssl 1.0 recipe is renamed to openssl10; it will
continue to be provided for as long as upstream supports it
(and there are still several recipes which do not work with openssl
1.1 due to API differences).
A few files (such as openssl binary) are no longer installed by openssl 1.0,
because they clash with openssl 1.1.
(From OE-Core rev: da1183f9fa5e06fbe66b5b31eb3313d5d35d11e3)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test itself was removed but there were a few explicit checks and
dependencies for it, so remove those too.
(From OE-Core rev: 3a2feef644abff4feff371cc7175ac270f5fb671)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've already removed unsafe-references-in-binaries (which was fundamentally
broken) and nobody really cares about / and /usr being on different filesystems
anymore (at least if they, they're keeping very quiet and not fixing the bugs).
As this test was a minor detail in the scope of supporting separate / and /usr
which we don't support, it can be removed.
(From OE-Core rev: 5363a5e43462e22ed61e87923e00657b740f6823)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This QA test is about to be deleted, so remove it from selftest.
(From OE-Core rev: b9faf41ddc4510d484b5cbe8d182d8288fe00773)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Under some rare circumstances we may end up with GCC segmentation fault.
This was observed with versions of sysmacros.h, which contain macros
with embedded warning messages :
When trying to actually display the warning, we may end up with a segmentation
fault instead. The reason is the actual warning message gets parsed (the text is
unquoted) and words in the message such as "not", "and" etc. are interpreted as
operators CPP_NOT, CPP_AND. When the time comes to display the warning, the code
uses wrong structure to access the "name" corresponding to the operators.
[YOCTO #11738]
(From OE-Core rev: 6f81fe4f3a1177c0049b26a070e43546bc6fe974)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a patch to force a native build for a helper binary
(which is not installed or used outside of the build process).
(From OE-Core rev: 35e3ed68fd25941e3d76e5a063299b1d1cee0e70)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In upstream, the following commit:
e711cafab1
...
commit e711cafab13efc9c1fe6c5cd75826401445eb585
Author: Benjamin Peterson <benjamin@python.org>
Date: Wed Jun 11 16:44:04 2008 +0000
Merged revisions 64104,64117 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
...
(see diff in setup.py)
It assigned libraries for multiprocessing module according
the host_platform, but not pass it to Extension.
In glibc, the following commit caused two definition of
sem_getvalue are different.
https://sourceware.org/git/?p=glibc.git;a=commit;h=042e1521c794a945edc43b5bfa7e69ad70420524
(see diff in nptl/sem_getvalue.c for detail)
`__new_sem_getvalue' is the latest sem_getvalue@@GLIBC_2.1
and `__old_sem_getvalue' is to compat the old version
sem_getvalue@GLIBC_2.0.
If not explicitly link to library pthread (-lpthread), it will
load glibc's sem_getvalue randomly at runtime.
Such as build python on linux x86_64 host and run the python
on linux x86_32 target. If not link library pthread, it caused
multiprocessing bounded semaphore could not work correctly.
...
>>> import multiprocessing
>>> pool_sema = multiprocessing.BoundedSemaphore(value=1)
>>> pool_sema.acquire()
True
>>> pool_sema.release()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: semaphore or lock released too many times
...
And the semaphore issue also caused multiprocessing.Queue().put() hung.
(From OE-Core rev: ca1542cdf6b6437a2f3dcdb33ac5216bf841c04a)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oprofile package depends on kernel-vmlinux package
through RRECOMMENDS dependency. Thus provide it
here to satisfy dependencies.
(From OE-Core rev: d96e3ab2a344c40f9b132673923b191ce912d9a4)
Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A new command line argument (-R, which is the oposite of current -r) that allows
to run all test cases except the ones indicated through the command line.
Some command line examples:
* Run all except the distro test case:
$ oe-selftest -R distrodata
* Run all except the archiver test case and a single bblayers unit test
$ oe-selftest -R archiver bblayers.BitbakeLayers.test_bitbakelayers_add_remove
[YOCTO #11847]
(From OE-Core rev: e40eeaa790b95d9c25832405c0b0d5b3a0d0292b)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As this test has two nested loops and actually runs six times, use
UnitTest.subTest() so we can tell which instance is failing, and to run all
variations instead of failing on the first one.
Also set PACKAGE_CLASSES to just the type we need to reduce the verboseness of
the output, and consolidate the feature generation to be neater.
(From OE-Core rev: c7ef6000b11f1b1cd27c9bc408eea9f76bb94a3b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was needed when we were conflicting with clang-native
but this is solved via append PN to binaries of llvm-native
(From OE-Core rev: 82ea78bd2f03b6ba4d720595d3a3fbd96e0232f9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As eudev requires devtmpfs it is not necessary to keep a cache anymore
as the kernel handles entries in /dev itself.
(From OE-Core rev: 048f4149b8438c521e8b65a3c96d850a9b4a3e5b)
Signed-off-by: Oliver Stäbler <oliver.staebler@bytesatwork.ch>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not use the JD_TERMCAP macro since we cannot get the terminfo from
ncurses pkg-config variants, but fix the macro to not reference host
directories. Also add src/test/Makefile.in so that we can use -ltermcap
if we want to.
Since the recipe DEPENDS on ncurses, we assume terminfo is there.
(From OE-Core rev: 53fbc138c8f5652890d477ef21dcb52ec06abb21)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new version fixes gperf 3.1 issues, so the update is included
in this patchset.
Modified patches are all rebases to the new version.
Deleted patches are backports, except 0016-make-test-dir-configurable.patch
which is obsolete in the new version (TEST_DIR define is no longer used anywhere).
--with-testdir is removed from configure for the same reason.
(From OE-Core rev: 34afb46f75d6c356f23f70c5ece96e45594e1546)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New feature release, see
https://lists.freedesktop.org/archives/wayland-devel/2017-June/034286.html
for the major features. This is the last major release to support
autotools.
Configure flag "--enable-event-gui" changed name.
Configure flags no longer default to "auto": explicitly disable the
things that were previously automatically disabled.
Package the binaries into libinput-bin while being careful with
packaging as the main package gets renamed to libinput10.
Add patch to fix a race in install.
(From OE-Core rev: df7f5221a56118da7654476f072c37ae1e75dc50)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section about following best practices was more of a reference
section the way it was written. I recast the section and the
sub-sections such that it is a list of items to consider.
Also renamed the section to be more of an action section rather
than passive.
(From yocto-docs rev: 8b050a46c67a3d3e89d905cf028eec6ae370388a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I did some rewriting for clarity in the "Using .bbappend Files
in Your Layer" section. The section needed to be retitled so
focus on the layer aspect of .bbappend files. Also, while I
was in there, I did more work on the prose in general.
Also had to fix some links in the bsp, kernel, and ref manuals
that linked into the section whose name I changes.
(From yocto-docs rev: a82bcc9fe0f909135434ee1bd36b4414f6c046c9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I updated the wording to note that the steps are how to create
a layer without the aid of steps (i.e. by hand).
(From yocto-docs rev: 81800fa9ba0dd9ff439a43b286981eea51d4c87f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that meta-qt4 isn't used by the autobuilder, there's no need
to exclude broken recipes fron that layer either.
(From meta-yocto rev: feb7d9db5979a1b8d5f27c370d01755b50023255)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ export BB_SERVER_TIMEOUT=10000
$ bitbake --server-only
$ bitbake --status-only
[snip]
File "/buildarea/lyang1/poky/bitbake/lib/bb/server/process.py", line 472, in recvfds
msg, ancdata, flags, addr = sock.recvmsg(1, socket.CMSG_LEN(bytes_size))
OSError: [Errno 9] Bad file descriptor
And:
$ export BB_SERVER_TIMEOUT=10000
$ bitbake --server-only -B localhost:-1
$ bitbake --status-only # Everything is fine in first run
$ bitbake --status-only
[snip]
File "/buildarea/lyang1/poky/bitbake/lib/bb/server/process.py", line 472, in recvfds
msg, ancdata, flags, addr = sock.recvmsg(1, socket.CMSG_LEN(bytes_size))
OSError: [Errno 9] Bad file descriptor
This was because self.controllersock was not set to False, so it still ran
sock.recvmsg() when sock was closed.
And also need set command_channel to Flase, otherwise the
self.command_channel.get() will always run when EOF, and cause infinite loop.
(Bitbake rev: 7b739a38601b053d9bea4df2c0b44a952ab670c4)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is already a type=float, so the float() is not needed, which also makes
the error clearer:
$ export BB_SERVER_TIMEOUT=10000AA
With float():
$ bitbake quilt-native
[snip]
ValueError: could not convert string to float: '10000AA'
Without float():
$ bitbake quilt-native
[snip]
optparse.OptionValueError: option --idle-timeout: invalid floating-point value: '10000AA'
The second one tells clearly where is wrong.
(Bitbake rev: 7a4ea1e6a10f20d80009a78f4f0aebf8f90095fd)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In combination with the recent server reworking, this change actually
prevents messages sent from tasks from being logged properly. This will
of course give us the duplicated messages back, and I really hate to do
that effectively a second time, but that's better than seeing no error
at all in the case of a failure - we'll have to find the proper way of
avoiding the duplication that doesn't result in some messages going
missing.
This reverts commit 8a5bae76f91f2411187c638a42fa3c762052cf11.
(Bitbake rev: 645c8dd15762516ae5ab64a1df47fadb95d072d1)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The git mirror of LLVM doesn't have any tags we can track for release
announcements, so exclude llvm from the checkpkg test.
(From OE-Core rev: 91d1664d66ffd0d3ec06824ff13861faf89ba96a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When parsing this recipe on an unsupported or non-mappable architecture
an error is generated despite no dependencies on the recipe. E.g.
ERROR: .../llvm_git.bb: cannot map 'microblazeel' to a supported llvm architecture
Instead of generating an error which might confuse users, raise a
SkipRecipe exception similar to other arch-style mapping functions (e.g.
go_map_arch). This avoids showing the error during parse, and prevents
the use of the recipe on unsupported targets. Resulting in an error like
so when trying to build llvm:
ERROR: Nothing PROVIDES 'llvm'
llvm was skipped: Cannot map 'microblazeel' to a supported LLVM architecture
(From OE-Core rev: d796abac982f368aa088a291560b565cc47a2c27)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have a variable YOCTO_ALTERNATE_EXE_PATH to point to
target sysroot, utilize this in mesa to use native version
of llvm-config to report values from target sysroot.
(From OE-Core rev: 1c4444f7b2f5cbcaaf6f9d21d7b4f86555ed746a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to get llvm-config tool staged which is provided by llvm-native
(From OE-Core rev: 0aadad61bf740bb9a1859381790ecc0f37490c34)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It adds native sysroot chrpath due to llvm-config in cross compiling
we can delete them via chrpath, since libs are in standard paths rpath
is really not needed
(From OE-Core rev: 1882726f61216c1a490370456c2e68efc3862052)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Though the script bitbake-layers (from the bitbake project), this plugin
creates a simple layer with a example recipe, the latter with a single task
(do_build). Layer's license and priority is MIT and 6, respectively. Example
recipe and layer's priority can be specified through the command line.
[YOCTO #11567]
(From OE-Core rev: 2bd1dc287b8b0f7edac8c6fee076a70ebf7adf43)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The author's initial intent was to use a git hook to automatically call
update-server-info, but the wrong hook type was chosen (post-update). A
post-commit one will do the job, hence allowing to drop the explicit call to
update-server-info.
(From OE-Core rev: 0a8ae997c782794b6ef32654cb245b496ab1de8e)
Signed-off-by: Andrea Galbusera <gizero@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 4657bc9d165e51981e034e73e7b92552e873eef7 replaced the git pull logic with
the git fetch + git reset --hard combo, but resetting to HEAD does not really
pull in new commits from remote... Replace with resetting to the upstream branch
instead.
(From OE-Core rev: 0dcdb146f59a184419bffd4f24cdf8343a43c0ea)
Signed-off-by: Andrea Galbusera <gizero@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When support for dnf was introduced the check of the
no NO_RECOMMENDATIONS variable got broken.
This fixes the issue by compairing to the string "1"
rather than the number 1.
(From OE-Core rev: 1849ce3bd7c0af055f3e849a6508e746b6a0dca5)
Signed-off-by: Richard Röjfors <richard@puffinpack.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
live image type was replaced by hddimg recently. This made
NOHDD and NOISO options ineffective as they only influence
live builds. It also causes image building failure for
image sizes >4Gb
Returned back live image type and disabled building iso image.
This doesn't change result (hddimg is built), but it makes
NOHDD and NOISO working as expected.
[YOCTO #11842]
(From OE-Core rev: c787dcdd55bc55c6c64dec21b251706615114fe7)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alioth always redirects, so we might as well save time by looking in the right
place.
(From OE-Core rev: e681e25fb8fb97a8592df69180d2fd85d136352c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This causes us to fall out of the module setup/run loop in the base init
script should "root=" be defined, causing a boot failure.
(From OE-Core rev: 4f109da34a080c0d7cb86eaea1f7b6dfef3d04cb)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is highlighted when CC is passing flags like -fPIE
which are stripped by libtool when building shared libs
and replaced with -fPIC, this actually results in CC
not matching the CC computed from cmdline created for
compiling and as a result libtool heuristic to compute
tags auotmatically fails.
(From OE-Core rev: 519c34adeb0735f6ff606addd00a7bbe19f4b15c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.6.31 fixes pngpriv.h to work around failure to compile
arm/filter_neon.S.This bug was introduced in libpng-1.6.30beta01
No changes in License.The license checksums changed because of
update in Copyright dates in LICENSE and png.h files.
(From OE-Core rev: 8319dce16210ebe2d89cd1e0926ad937909bc9ea)
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>
fwupd contains polkit policy files that it translates using polkit.its
and polkit.loc files that the next polkit release is going to
install (see https://github.com/hughsie/fwupd/issues/107).
In order to make that work with OE-core, the gettext tools must be
told to look also for files in the recipe-sysroot. Otherwise it only
uses the GETTEXTDATADIR set by the gettext-native tool wrappers, and
that only points to the files provided by gettext-native itself.
(From OE-Core rev: ebb706f9dafdbb7c4aa18e5595930bbc1a0497b1)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
this causes include_next <stdlib.h> to not find
this header since -isystem <sysroot> is added via
cmake, we alrady are using --sysroot so rely on that
(From OE-Core rev: a0f2d1389a7e76b64003fea391a0cd485ff5fe77)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes
| /mnt/a/oe/build/tmp/work/corei7-64-bec-linux/python3-pycairo/1.10.0-r2/recipe-sysroot-native/usr/bin/x86_64-bec-linu
x/x86_64-bec-linux-ld: src/cairomodule.c.1.o: relocation R_X86_64_PC32 against symbol `CairoError' can not be used whe
n making a shared object; recompile with -fPIC
(From OE-Core rev: 058b155a66c5f81573379d258250323c72901ff7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
External compilers will explicitly pass -fPIE -pie flags
unlike internal toolchain which does not use them, so the build
fails with external toolchains because, its passing these
flags to linker when building with -r option and fails to link
| /mnt/a/oe/build/tmp/work/corei7-64-bec-linux/go/1.8.3-r0/recipe-sysroot-native/usr/bin/x86_64-bec-linux/x86_64-bec-linux-ld: -r and -pie may not be used together
(From OE-Core rev: bb89849b5edb05a953586d190826a67ba87c1c5a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Helps in fixing errors when using external toolchain
and hardening flags
(From OE-Core rev: 33ab086517c629158fd10d1818cad619883743db)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
External compilers will explicitly pass -fPIE -pie flags
unlike internal toolchain which does not use them, so the build
fails with external toolchains because, its passing these
flags to linker when building shared library, which is not
correct it should just use -fPIC
Fixes errors e.g.
| /mnt/a/oe/build/tmp/work/corei7-64-bec-linux/libproxy/0.4.14-r0/recipe-sysroot-native/usr/bin/x86_64-bec-linux/x86_64-bec-linux-ld: ../libmodman/libmodman.a(module_manager.cpp.o): relocation R_X86_64_PC32 against symbol `_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St6vectorIPN9libmodman14base_extensionESaISB_EEESt10_Select1stISE_ESt4lessIS5_ESaISE_EE8_M_eraseEPSt13_Rb_tree_nodeISE_E' can not be used when making a shared object; recompile with -fPIC
(From OE-Core rev: 8c8c01f8e68026228a3b76528a0039acf682c201)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libtool tries to guess the --tag value based on CC/CXX environment
variables and the compile commandline generated by makefiles. This
heuristics however fails when we construct CC variables in OE
and add security flags to it, especially -fPIE -pie which are added
by external compilers e.g. clang particularly. It fails because
libtool removed PIE flags from compiler cmdline intelligently
if it figures out that its building a library, which means that
the CC variable passed from cmdline does not match with the compiler
cmdline constructed by libtool and we end up with errors like
| arm-bec-linux-musleabi-libtool: compile: unable to infer tagged configuration
| arm-bec-linux-musleabi-libtool: error: specify a tag with '--tag'
This works with internal gcc toolchain because we configure gcc for
PIE when hardening is selected and dont pass -fPIE -pie options explicitly
but this is not an option for clang, and some external gcc toolchains
using older gcc
This patch adds the --tag option to help libtool set correct tags
in packages where it cant get it right via its heuristics
(From OE-Core rev: 0505075ae8d339ba097aebb82b4d0ae62f87c0a9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* If an error is logged while executing a task, we need to ensure we
exit instead of assuming everything went OK.
* If we receive CookerExit, the server is shutting down and we need to
stop waiting for events and probably exit (knotty does this). This
will occur if an exception or bb.fatal() happens during an event
handler.
This fixes a couple of issues highlighted when using devtool upgrade or
modify on a non-supported recipe with intel-iot-refkit together with
bitbake master, but I'd be very surprised if it were hard to reproduce
in other scenarios.
(From OE-Core rev: 65e644368fc9c294af96906528ee0cf30305e0a6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't need to reparse recipes just because BB_SERVER_TIMEOUT changed,
so exclude it from the config hash.
(From OE-Core rev: a686fcabacd49fdb814e646305c1f33fee1d5abf)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit generalizes the work done in [1] and [2], both fixing
issues on several areas (the former with -c patch and gnome-terminal and
the latter with -c menuconfig and several terminals, including
gnome-terminal and tmux). The main idea is to get the PID
from the new spawned terminal and loop there until finished.
[1] 76e8ab47c9: terminal: Fix gnome-terminal to work with recent versions
[2] 7d02ea283b: cml1.bbclass: wait until menuconfig terminal finishes
(From OE-Core rev: 55707401d5bfb1f7686c273fc2d0db89df206395)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of moving aclocal.m4 to acinclude.m4 in a custom do_configure, simply
tell autoreconf not to run aclocal.
(From OE-Core rev: 5cc53ea9347035f96a721ab057a338eded5c5c67)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Invisible Mirror FTP service is currently down, and FTP is horrible, so
switch to the HTTP mirror.
(From OE-Core rev: f31461f8ea11e82dbe14454a1149d9ec2120404d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lspci and some other software require "pci" in MACHINE_FEATURES and PCI
is valid in the qemux86* context.
(From OE-Core rev: aec9a159dbc7a78953da73ba9dfccc9e9c9514a7)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there are events in the UI queue we want to print them regardless of
whether we're handling an exception or something like SystemExit.
This improves error messages for some other failure cases where currently
no logging would get printed and leave the user confused as to what went
wrong.
(Bitbake rev: 76c4f2c20216719736766e8ae7d089ccd061b71b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"bitbake -g m4-native -c do_unpack" doesn't list any dependencies in
task-depends.dot. This is because no header describing the task was
added unless a task has dependencies. Tweak the code to fix this.
[YOCTO #10893]
(Bitbake rev: e2fbe728769f09ef4178e2ef4d69a2f60ffe3ebb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although 'test' is listed in the python module list
(https://docs.python.org/3/py-modindex.html) it is meant only to be
used 'internally' by folks developing python itself. Per the
documentation:
Note The test package is meant for internal use by Python only. It
is documented for the benefit of the core developers of Python. Any
use of this package outside of Python’s standard library is
discouraged as code mentioned here can change or be removed without
notice between releases of Python.
Per the above it is best not to include this module to discourage
folks who might not head the above warnings. Additionally this module
is one of the largest py modules going, by dropping this unneeded
module from the 'modules' package we can reduce overall image size,
something which is important for many embedded deployments.
The generator scripts as well as the manifests have thus been modified
accordingly, providing a generic mechanism to exclude modules from the
'all modules' package.
(From OE-Core rev: a5bb13a5d7d7a668ca61da6b17884e3b05b95355)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should reduce the chance of generating 0xffffffff as the disk
system identifier.
(From OE-Core rev: 5619e72facbc9228d3cf8f844f198e03b536ac8c)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_bootdirectdisk and do_vmimg had been dropped by commit 929ba563:
[ image: Convert vmdk/vdi/qcow2 to strict CONVERSION_CMD types ]
Also drop the references to them and image-vm.
(From OE-Core rev: 609f7f4ecd17c8299b97d9face098e3cc44fa6eb)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The COPYING file specifies pure GPLv3, not GPLv2 & GPLv3, with the
autoconf exception in COPYING.EXCEPTION. OE-core currently has
GPL-3.0-with-GCC-exception for this in meta/conf/licenses.conf, so
this is used here despite the deprecation note for that license
identifier in https://spdx.org/licenses/GPL-3.0-with-autoconf-exception.
(From OE-Core rev: 5849391a1854743af26503db603ad578d8d19e25)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The games we play with path manipulation of DL_DIR in uninative mean standard
PREMIRRORS don't work and we can't easily put 'chksum' into the url path from
a url parameter with the current fetcher url handling to make a generic
remapping. We therefore add to PREMIRRORS when we know the chksum to
create a premirror mapping which can work.
[YOCTO #9888]
(From OE-Core rev: 3b0309dbb5d52e9d7abf6fd89cc999ac4cc5d2fb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was originally based on some other code but its mostly misleading
comments now. Massively clean this up and accept its now a total fork.
There are no funciton changes here, just cleanup.
(Bitbake rev: 3daa9001269e5b9156d0eb3299d2628d2d219fff)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we create the child, if an exception occurred it was transfering
back into the parent context. We don't want to do that us use a try/finally
to ensure we exit.
We need to ensure a traceback is printed and any queued UI messages which
may not have made it to the client UI at this point.
(Bitbake rev: dec1d2c26f6cb3ffeb44beaab0129cd531a6d08b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have cases where the server is being started but we're not seeing any messages
from it. Add some earlier logging so we can try and better understand where
issues may be occurring.
(Bitbake rev: 10a6a48c0c5a2fe2051e90143e66075356853971)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the connection control socket and the command channel close together,
we can race and hit EOFError exceptions before we close the channel.
Reorder the code to handle this in the correct order and ignore the
EOFError exceptions as they mean the client is disconnecting and shouldn't
terminate the server.
(Bitbake rev: 974281ed72d8366baa16ee85f7e93970689b5956)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
My previous assertion about FusionForge appears to have been wrong, or
FusionForge has changed behaviour, or both.
FusionForge now mandates that downloads have the Accept header set, despite that
header being optional, and returns a 406 Not Acceptable error if it isn't set.
As we were pretending that 406 was actually 405 (Moved) and tried to handle it as a
redirect this results in an infinite loop until Python kills the recursion.
Delete the handling of 406 as 405, and pass Accept: */* in the headers.
(Bitbake rev: bb70ae0c9aac5ec688026d23a64ac0cac1947187)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bitbake option "-t SERVERTYPE" was deprecated and can be
removed since the desired XMLRPC listener now the default.
The bitbake server port cannot be "-1" anymore and must be
explicitly passed.
There is a race condition for the bblock file to not only
be created but to actually be populated, so a delay test loop
is required (usually only one pass).
The 'xmlrpcclient' is now the class that allows Toaster to for
example kill builds.
The events for populating the recipe parsing now either show only
the final result or are skipped entiredly, so the progress
calculator needs to be changed to not block on the parsing phase.
[YOCTO #11851]
(Bitbake rev: 2aa7ad38f760ec003fb18faa5aa0014cff191a7a)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support for Toaster aggregators with a set of api links that
return JSON data for (a) builds in progress, (b) builds completed,
(c) specific build data, and (d) an is-alive health ping link.
[YOCTO #11794]
(Bitbake rev: d8e79661c69671dd424dca5cc3f7f2f855b0afed)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having this as one huge long line isn't easy to manipulate, split it into
multiple lines for ease of debugging issues.
(Bitbake rev: 5753fe81194f75fbcf4ccdc733cc585d02794cb1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The checkstatus() code was expecting checkstatus to throw exceptions if it
failed, but in general it should return False.
(Bitbake rev: 57be5cc6228518e60f564570a39cebbeb6cf564e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add following in mesa.inc to enable llvmpipe
PACKAGECONFIG_append_x86 = " gallium-llvm gallium r600"
PACKAGECONFIG_append_x86-64 = " gallium-llvm gallium r600"
This would enable llvmpipe for swrast, to check run this
root@qemux86:~# glxinfo | grep llvm
Device: llvmpipe (LLVM 5.0, 128 bits) (0xffffffff)
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 5.0, 128 bits)
Backport patches to support llvm 5.0.0+
Add a patch to understand llvm version when llvm is build from git/svn
(From OE-Core rev: da29bc17e4dd748f50b054c5e3afaf8d41bf4077)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Based on recipe from meta-oe and clang recipe from meta-clang
Needed by mesa
Fixes
[YOCTO #11529]
(From OE-Core rev: 8724ef9c53e7804ead9ba0f019369b0e4daada63)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
llvm is using it, therefore move it from meta-oe
(From OE-Core rev: fc3aef67a95a90e9a485c6b0e93db8cdeab5d3ab)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar to do_image_complete, make do_image_qa a dummy sstate task
so that rm_work doesn't cause image generation to repeat on every
new build command.
(From OE-Core rev: ca61f5437cb2421a67f002785e644ba215e04aaf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We relied on the missing do_image_complete_setscene task to ensure the dummy
sstate tarball that was created would never be used. This lead to its own
issues and a better fix for SSTATE_SKIP_CREATION has now been merged.
We can therefore make do_image_complete look like a more standard sstate
task which means image generation doesn't keep rerunning when using rm_work.
We do need to turn do_image_complete's stamp into an sstate version to
handle this (it otherwise matches the do_image_* glob).
(From OE-Core rev: 2ff9d40dc88d43567472218cf3d3faf414398c71)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_image_complete has the do_build dependency, these other two tasks
don't need it. If this is present, it complicates the dependency tree
and convinces rm_work that the tasks need to rerun even if they
already did since the stamps are removed.
Drop the unneeded dependency to help resolve this issue.
(From OE-Core rev: f61bcae0926a1ad79032119cc5656c0e862b13af)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, dummy archives are created for skipped sstate tasks. We relied
on these never being installed (the setscene task is missing) however this
leads to odd behaviour as for example the setscene stamps are never looked
at.
Rather than trying to continue with the two separate behaviours, really
skip package creation. We do need the file manipulation steps to install files
under sstate control from a manifest perspective so we only skip at the final
creation step.
(From OE-Core rev: 1e95fc5419a131a5e4091b8ff01639de99284399)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than requiring each user to handle this individually, handle
addto_recipe_sysroot in the core class. As well as preserving the
sysroot directory, this also ensures the stamp is preserved rather
than rerunning the task every time as currently happens.
(From OE-Core rev: bf8b9858d9ccce27173d13938a83d249294cc473)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
MIRRORS needs to be pairs of values for the original URL to match and the
location find it on the mirror.
(From OE-Core rev: a649f3da630e8ca2d3ca58b610f3918720dd5229)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This style allows a writer to use the <para role='writernotes'>
tag to have text in the paragraph render in red.
(From yocto-docs rev: 65bb4edcd0a58ea8e17f28f9f5c13e2898c22745)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Because the YP development introductory information was moved to
the ref-manual, and the QS will get a CROPS section inserted,
the introductory section of the QS needed to be updated a bit.
(From yocto-docs rev: e173b762a74678cd660850e4f5bc28712c3d83ac)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The introductory stuff in the QS is really conceptual information and
needs to be in the ref-manual where YP is introduced. Regarding the
QS, all we really need to do is point to places where the reader can
go to find that stuff out.
Part of this move involved getting the diagram of the YP flow for
the environment from the QS to the ref-manual. That figure was
named "YP-flow-diagram.png". It was named "yocto-environment.png"
in the QS but I renamed it when moving it to the ref-manual. This
caused some edits to the "Makefile" to clean up the figure lists
for tarballs.
(From yocto-docs rev: ab108c0959e3a9f36d25080245482f8a790c8c87)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replaced "python34-pip" package with "python3-pip"
in the list of required packages for CentOS' variable.
(From yocto-docs rev: 5d48ea7953169b4392d6caf0fb8f2f952479f033)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed duplicated package, "which" in list of
required packages for Fedora's variable.
(From yocto-docs rev: e016735fe7ef0d866d44df1100597ab3f3af7d5f)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This updates to a newer glibc and updates patchelf to include a bugfix
to work with gold.
(From OE-Core rev: a2ab288bd002ebb6e64d46e941fb122e1157ff49)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We add a new test that will create core-image-minimal for wic.vmdk,
wic.vdi and wic.qcow2. We then confirm via qemu-img that the resulting
file is of the expected type.
Cc: Ed Bartosh <ed.bartosh@linux.intel.com>
(From OE-Core rev: 1392fdeaf6acc7c8d2ff9a5a2bf6ef2f5928957d)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new test to create a long (and not otherwise useful) image,
ext4.bmap.gz.bz2.lzo.xz.u-boot and also the sha256sum of it. Check that
the resulting sha256sum is valid.
Cc: Ed Bartosh <ed.bartosh@linux.intel.com>
(From OE-Core rev: ac4402bff547b017284b12c1874d4094c169419d)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We extend the existing test_bmap test to also produce an ext4.bmap.gz
file and then have gzip confirm that it contains valid gzip data. This
tests that we are able to chain at least 2 CONVERSION_CMDs together.
Cc: Ed Bartosh <ed.bartosh@linux.intel.com>
(From OE-Core rev: 1e9ca92f84d9d5b4e56d47dfd4b3d7f9aba3d21b)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The most portable way to specifiy a root device in a disk image that we
create is to use PARTUUID rather than /dev/sda2. As background, both
GPT and MBR tables provide valid UUID values for each partition and the
Linux Kernel contains the logic to parse this value. With this change
we can now boot the default disk images when used as any valid block
device that the included kernel uses. This for example means that
VirtualBox can be used to run vmdk without changes as it uses IDE for
the virtual disk controller.
Cc: Matt Porter <mporter@konsulko.com>
(From OE-Core rev: 8a58e9bb3e76a9962f1d14a8bdd3f7de675c3492)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The vmdk/vdi/qcow2 IMAGE_FSTYPEs predate wic. As such, they provide
some similar underlying functionality in order to produce a "disk" image
that in turn can be converted into different formats that various
hypervisor types work with. They do not however provide the ability for
other disk image types to be converted into these same output types.
Furthermore, they are less flexible than what wic does provide. This
drops the old style vmdk/vdi/qcow2 types and re-introduces them under
the CONVERSION_CMD framework. The equivalent of vmdk is now wic.vmdk
and so forth for the other types.
(From OE-Core rev: 929ba563f1bc7195c4981b8e139c432b2cc388ea)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade assimp to 4.0.0.
* Because there is also an assimp recipe in meta-oe, so update
DESCRIPTION, HOMEPAGE and SECTION from it.
* Remove redundant license file
* Update EXTRA_OECMAKE to fix library install path for multilib
(From OE-Core rev: e639f8845f78a0a75b9cab81d9a9f6a2810a313c)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Zero may be interpreted as no MBR signature present and another
partitioning program might install a new MBR signature.
(From OE-Core rev: f53b5555d6eaa171bc5882cfee807cf62576862d)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The COPYING file specifies pure GPLv3, not GPLv2 & GPLv3. There is
also the COPYING.EXCEPTION file with the autotools exception, which
gets ignored here in the recipe to keep it simpler.
All of the explicit dependencies seem unnecessary, and RDEPENDS_${PN}
doesn't do anything for native recipes either, so all of that gets
removed.
It also built fine without the m4 and parallel build workarounds.
There's no need to have a separate .inc file.
(From OE-Core rev: 5002004b891895654cbad53555ee46e2ed188630)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having common macros in OE-core that are needed by autotools based
projects makes sense. For example, tpm2.0-tools in meta-measured
depended on meta-oe only because of autoconf-archive.
This is a verbatim copy of the autoconf-archive recipe in
meta-openembedded rev 1cbd1bc1, with just one change: the patch which
disabled the installation of ax_code_coverage.m4 and
ax_check_enable_debug.m4 and the dependency on gnome-common were
removed.
So now autoconf-archive in OE-core provides them. gnome-common in
meta-oe will be changed to not install them and instead depend on
autoconf-archive.
(From OE-Core rev: 40711432b82fc6efb9e40748532ed68a64fbe628)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is in case that sometimes the copied target files might be
expected to have a desired mode, for instance, the ssh keys should not
be too open, otherwise the users will get a "Permission denied" error.
(From OE-Core rev: 0ae4c1eeb1a70bae324347445895c7d312cf503d)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test case boots the image in qemu and checks for mounted
partitions. As /boot is mounted automatically the test case fails.
Fixed this by adding /boot to the list of mounted partitions.
(From OE-Core rev: e5ba124b01ff6883a08c91daa47343dd09f6260d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic avoided adding /boot to fstab for no reason.
This exception was hardcoded in the wic code.
There is no need for this as mountpoint in .wks file is an optional
field. It can be used only if user wants to have partitions
automatically mounted on system boot.
[YOCTO #11662]
(From OE-Core rev: 2376b05512ddb8c4ec3aaf1df11071f536a76bd9)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Used unique suffix (line number from .wks file) for the
copied rootfs directory to avoid possible conflicts.
(From OE-Core rev: 01efc234a8caab67ed3138ab2de9bbd82ce97b44)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic gets rootfs paths from partition object property
'rootfs_dir' and shows them in final report.
rootfs plugin sets this property to the temporary path,
which causes temporary paths appearing in the report.
Changed the code to prevent storing temporary rootfs path
in part.rootfs_dir. This should fix the report.
(From OE-Core rev: 28d2d7d6f79df08431187c7debaab2a3fa516671)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using relative paths can cause copyhardlinktree API to fail as
it changes current directory when working. Converted all paths
to absolute paths using os.path.realpath.
(From OE-Core rev: a1c83cebe986e211dfc31be5cbd748f53fc298df)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic updates /etc/fstab on root partition if there are
valid mount points in .wks
When wic runs from bitbake this can cause incorrect results
or even breakage of other tasks working with the same rootfs
directory in parallel with do_image_wic.
Implemented copying rootfs directory to a temporary location
using copyhardlinktree before updating fstab to avoid conflicts with
other tasks working with the same rootfs directory.
(From OE-Core rev: 92e1c7d47e695eb4ce1a863cd0f6c49dca1c2339)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tar exists with 1 and produces warning "file changed as we read it"
if content is changed while tar archives it. Even hardlinking content
causes tar to fail this way as it changes file ctime.
Other tasks running in parallel with do_image_tar may need to hardlink
rootfs content in order to change it, e.g. do_image_wic does this to
update etc/fstab.
Ignored tar exit code 1 to be able to hardlink rootfs content while
do_rootfs_tar is tarring it.
[RP: Removed bashism]
(From OE-Core rev: 402b4cffbb4c58cfee93db18192f2b218ee0ae35)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we are adding the addto_sysroot that that is specific to the
native recipe, we must split this into a seperate -native .bb recipe.
When systemtap-native is built, the intention is that it's usable
from the native sysroot when done, ensure it's there with a forced
addto_recipe_sysroot task, we also don't want to clean the sysroot
when RM_WORK is enabled otherwise we loose the binaries.
[YOCTO #11403]
(From OE-Core rev: 98fba18e93abe8efce0a5b40d51e178c9de4d1e5)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
(cherry picked from commit 2fdb59741b4fdeaa4aee10812c4a409cdc11a02d)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since OEQA framework uses Python logging functionality to report test
results there is a class that wraps PyUnit writes into logging commands
(OEStreamLogger), so don't buffer the actual test execution to have
insight of what is currently executing.
This fix will change a little the test output format adding an '\n'
previous the test result, for example:
From:
test_nonmatching_checksum (lic_checksum.LicenseTests) ... ok
To:
test_nonmatching_checksum (lic_checksum.LicenseTests)
... ok
This is because the new line added by the PyUnit StreamLogger because
currently we don't have a manner to identify when a test execution
starts at report level (write msg).
[YOCTO #11827]
(From OE-Core rev: 4c2276469f58a88f864eb374c00dbbaace702de4)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If some test module/case is specified to run and isn't found the OEQA
framework didn't notice it, so complete the implementation using
modules_required and validate for the test case prescense.
Raise an exception when the test module/case required isn't found.
[YOCTO #11645]
(From OE-Core rev: e50b415aaaa1581473f85f0a8afa278b5f95129b)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After switching to Recipe Specific Sysroots, ncurses
will not be populated in its own sysroots, then
siteconfig_gencache fails to find some headers,
so add ${SYSROOT_DESTDIR}/${includedir} into the
search list to fix the issue.
(From OE-Core rev: 2ef34f7fb60ecdff29aae1d54a90a2e765c15e1e)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The siteconfig cache files in ACLOCALDIR setup by autotools.bbclass
has been dropped after switching to RSS, so change the siteconfig
search path back to SITECONFIG_SYSROOTCACHE and the parameter
name changed from aclocalcache to sysrootcache.
(From OE-Core rev: 5b1454304483a0bc725b32fd5458e5281c68112f)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
debianutils-run-parts should have higher priority than
busybox (which is 50), so set the priority to 60 for
debianutils-run-parts.
(From OE-Core rev: 56f6fc7d6de0a46046ea2abcc392b1da88e398ec)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configuration variable PACKAGE_DEBUG_SPLIT_STYLE includes
the new mode debug-with-srcpkg that instructs the system to
remove the source files from the debug package but include them in
a separate package with a "-src" suffix in the name.
[YOCTO #9998]
(From OE-Core rev: b8f9ffa37f67172a01837c88c861dc736d267569)
Signed-off-by: Juan M Cruz Alcaraz <juan.m.cruz.alcaraz@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some out of tree modules require the scripts for configuration. For
example, backport-iwlwifi.
(From OE-Core rev: 7a045f6df2366026d28fe8d36e6d594ce5aa559a)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 28fc6ba761ed4a47efa7c43e7f7dff5e2fe72b5e since it causes
runqemu.RunqemuTests.test_boot_machine_iso and runqemu.RunqemuTests.test_boot_deploy_hddimg
to fail in oe-selftest.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This plugin will be removed starting 2.5 development in favour
of using 'bitbake-layers create-layer' script/plugin, offering a single
script to manage layers.
(From meta-yocto rev: 76dd79e345d8edb22fc7aefd31f2a1f150916718)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`git fetch --tags` seems to interact badly with `mirror=fetch`, resulting in
the regular branches not being fetched, so drop the unnecessary `--tags`. This
fixes this unit test failure: `bb.fetch2.FetchError: Fetcher failure: Unable
to resolve 'master' in upstream git repository in git ls-remote output for
/tmp/tmp4ag_mgmn/gitsource`
[YOCTO #11698]
(Bitbake rev: 2d0203fae08c5ff8dc3e9afaa9a819abc4a1af6f)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the server isn't running return 0 as to do otherwise complicates
scripts which do cleanup of bitbake servers which would potentially
be memory resident.
(Bitbake rev: 0f85c54385f325f3ebbf911b35bbac11b8863b6b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This timeout path was commonly hit due to errors starting the server. Now we
have a better way to handle that, the retry logic can be improved and cleaned
up. This patch:
* Makes the timeout 5s rather than intervals of 1s with a message. Paul
noted some commands can take around 1s to run on a server which has just
been started on a loaded system.
* Allows a broke connection to exit immediately rather than retrying something
which will never work.
* Drops the Ctrl+C masking, we shouldn't need that anymore and any issues
would be better handled in other ways.
This should make things clearer and less confusing for users and is much cleaner
code too.
(Bitbake rev: 8633b7cd03cfaba3e0359aa5da22fc76b66768c7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we reconnect to the server, stop leaking pipes and clean up
after ourselves.
(Bitbake rev: f41e4e971e807157be68cf4496580494b8b60643)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if the server fails to start, the user sees no error message and
the server will be repeatedly attempted to be started until some longer
timeouts expire. There are error messages in the cookerdeamon log but
nobody thinks to look there.
Add in a pipe which can be used to tell the starting process whether the cooker
did actually start or not. If it fails to start, no further attempts can be
made and if present, the log file can be shown to the user.
[YOCTO #11834]
(Bitbake rev: 57000d44beb1aeba37dfc70782b0d6418943acc5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This cleans up the socket keep alive into better class structured code
and adds cleanup of the open file descriptors upon shutdown.
(Bitbake rev: 77fd3a3a29a569e212374b27aea742ddbaafcdd5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the monitoring thread exits with some error code or runs indefinitely. Allow
closure of the pipe its monitoring to have the thread exit cleanly/silently.
(Bitbake rev: 930d077637928213e13a07c78fee3bf7a8c37ebf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Expose the underlying close() and fileno() methods which allow connection
monitoring and cleanup.
(Bitbake rev: f79187f4ebfad7969be47b429995e7f7a3e33c1e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code would duplicate messages to stdout and stderr when no UI connected
and there were error level messages.
Rework the code so it either uses stderr (for errors and above) or
stdout for warnings/debug but not both for the same messages.
(Bitbake rev: 45cff5734ba2ba8c8d36d17d722a5804d39b258b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The minimum version of tar is now 1.27. This was changed in both
the yocto-project-qs and ref-manual.
(From yocto-docs rev: b0fe513e08de860e94a3617fd62382430e321c77)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At the end of the section that describes how to set up the
development machine for CROPS, I added some user links for more
information based on the type of container the use is interested
in.
(From yocto-docs rev: 6888d8454839bbb2ecdf96ce421c7d8723931d65)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Added content for steps to set up a native Linux host for using
the Yocto Project.
(From yocto-docs rev: d8a18d382c584dbdfa7f5f190a92cc7cde0f9601)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the initramfs-framework for initialization by default due to
the modularity and expansibility.
[YOCTO #10987]
(From OE-Core rev: 28fc6ba761ed4a47efa7c43e7f7dff5e2fe72b5e)
Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Utilized the existing init-install-efi.sh script and renamed it to
install-efi.sh to manage the installation process of images in
initramfs-framework model. This script will be executed when
"install" option is being chosen in the grub menu and install
the image on the target platform. A new install-efi module is
being added in the recipe to handle the installation process
using initramfs-framework.
[YOCTO #10989]
(From OE-Core rev: 41b34441c22143cbabace3d794ead05801afb7a0)
Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
setup-live module is a new module being introduced to integrate the
functionality of init-live.sh into new scriptlet named setup-live in
order to support the live boot image. The udev-extraconf rdepends is
being added to perform automounting. It gets to run before the rootfs
and finish module.
The setup-live scriplet include the changes for:
- Create a conditional loop for the bootparam_root variable. If it is
not set, then it will boot from ROOT_IMAGE. Else, it will boot normally
which is not from removable media.
- Gives a standard path to the original boot disk mount which can be
used to. While /media/sda is a good guess, it isn't always right, nor
is it a good assumption that only one boot disk is in the system.
- The current rootfs module has no support for rootfs images, currently
it only support for rootfs partitions for wic image. Therefore, there
is a need to assign the rootfs image for live image.
[YOCTO #11701]
(From OE-Core rev: 4d3300e85a8e65207a415b9cf84c9fa1f71b0406)
Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The checksum for doc/LICENSE is changed, but the content only changes
year from '2013' to '2017', so the license remains the same.
(From OE-Core rev: e1d27852bf21be49db574ed207bc90d42c4bd898)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diffutils-3.5-gcc7.patch is removed as it's merged in this version.
do_configure_prepend is removed to solve the following configure error.
error: possibly undefined macro: gl_TYPE_WINT_T_PREREQ
A workaround patch is made to fix the following compilation error for glibc.
error: dereferencing pointer to incomplete type 'const struct rpl_option'
(From OE-Core rev: 0c09f9f5700696670b2a9d0466124309100eb296)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use MIRRORS to provide git repo fallbacks using the https protocol,
for cases where git native protocol fetches may fail due to local
firewall rules, etc.
These rules should cover all git native repos used by recipes within
oe-core, with the exception of mtd-utils, for which there's currently
no upstream alternative to the git native protocol for anonymous
access ( see http://git.infradead.org/mtd-utils.git ).
(From OE-Core rev: abb8895d5b42a5dc171360a261a2652acd14ee7e)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[YOCTO #11730]
Include .kernel-meta directory in the prune list of the find to
prevent .kernel-meta directory included into installable package.
(From OE-Core rev: 3bcf227dc68f215b2d4d7b58aeea71d237ac719e)
Signed-off-by: sweeaun <swee.aun.khor@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Put it in goarch.bbclass which all go related recipes inherit.
(From OE-Core rev: 9e899bbc081cb932c1492f6d6802b908d70ef42f)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added e2fsprogs-native to the list of default dependencies for
wic (WKS_FILE_DEPENDS_DEFAULT) as all fs-related utilities
have to be in this list.
Thanks to Patrick Ohly for noticing this.
[YOCTO #11817]
(From OE-Core rev: b1d9f5ba5d75c6e4dae10d9d9b2c03fd3099721d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
test_mkfs_extraopts test case fails on ab with error caused
by using -K --mixed options:
output: extent-tree.c:2696: btrfs_reserve_extent: BUG_ON `ret` triggered, value -28
For this test case it's not important to use particular options,
so changing options to anything less influential is OK.
Changed extra options for mkfs.btrfs to '--quiet' to fix the failure.
(From OE-Core rev: 6a1489f8deb2b26181ca340a0f6ef62aa18a5188)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
RPM file signing is enabled with --with-imaevm during configuration.
If enabled, the RPM signing tool rpmsign will call libimaevm.so provided
by the recipe ima-evm-utils.
(From OE-Core rev: 9d7797e4374c111f0dff523fd49354bcc33dc2af)
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
Signed-off-by: Jia Zhang <lans.zhang2008@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added e2fsprogs-native to the list of dependencies for wic-tools
as all fs-related utilities have to be in this list.
(From OE-Core rev: d0ebcf62109d6a131e02cd4c0f04bba203ed6579)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Multi-users may run qemu on the same host, all of them should be able to
create or remove lock in lockdir, so set lockdir's mode to 0o777.
Note, os.mkdir()'s mode is default to 0o777, but the current umask value is
first masked out, so use os.chmod() to set it.
(From OE-Core rev: 4a5d21dbdc88982c2c90e660811b84983eaebeb7)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Error out ealier if the combos is invalid, e.g.:
$ runqemu tmp/deploy/images/qemux86/bzImage-qemux86.bin tmp/deploy/images/qemux86/core-image-minimal-qemux86.wic
This will fail at kernel panic, no we check and error out early. We can
add other checkings in the future.
[YOCTO #11286]
(From OE-Core rev: 8c6f253dfb4899324e91dd5d082190909e2bd25d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Handle them as nfs, so that cmd like the following can be boot:
$ runqemu tmp/deploy/images/qemux86/core-image-minimal-qemux86.tar.bz2
[YOCTO #11286]
(From OE-Core rev: 552093d1f60ca335d95bcfc9d6070ec551ebe6c0)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If qbconfload (.qemuboot.conf is found) is present, we can get
DEPLOY_DIR_IMAGE from it rather than "bitbake -e".
(From OE-Core rev: 89e97033a8a27a695567c321ed0ebf17f23f8d9b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
And move some debug info into logger.debug(), this can make it easy to
read key messages like errors or warnings.
I checked meta/lib/oeqa/ they don't depend on these messages. And I have
run "oe-selftest -a", it doesn't break anything.
[YOCTO #10474]
(From OE-Core rev: e696425e7627edada128b40304fddc84d8d56ba7)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were bridging the gap between the server and UI here by calling a
bb.siggen.find_siginfo, a function defined and set on that module from
the metadata. This worked from the UI side before but since the recent
server changes is no longer accessible. Create a new command so this can
execute on the server side and return the result by way of a new event.
(We're still running compare_sigfiles() on the signature generator but
that isn't quite the same thing and does still work.)
Fixes [YOCTO #11844].
(Bitbake rev: fdcea991baa4f83d9c98d468d7b49c8c388a4a15)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A change from Ross removed the dual -dev/-dbg packages but this broke
deb/ipk rootfs constuction due to a dependency on a package which doesn't
exist (for dev-pkgs images). Remove the dependency on that package to
allow images to build.
(From OE-Core rev: 51b3ee298635b11d5784caaa0ac1c8f4034c25a5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we have more than one CONVERSION_CMD being used, for example
ext4.gz.sha256sum we will see errors about "metadata is not
deterministic". This is because we do not have a stable order of
intermediate files that will be removed in the generated shell command.
We fix this by calling sorted() on the set of rm_tmp_images so that we
will have a stable hash again.
Cc: Patrick Ohly <patrick.ohly@intel.com>
(From OE-Core rev: 98a2afeb3a53bec7a72a4a9846e1dba636cc6f3d)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add 'bitbake -m' to the sync method and ensure all process related to
bitbake are correctly unloaded before doing the different measurements.
Also add a call to sync funtion on Test4 before final measurment of
eSDK deploy dir disk usage.
(From OE-Core rev: 9210c9ce051dfffaa7afa36bb4a926cea289ffd4)
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the introduction of chaining compression/conversion support we can
convert the old image_types_uboot.bbclass code that did a hand-chaining
of a set of ${filesystem}.${compression} into generic and arbitrary
support to sign whatever the user wants to sign for their image.
This, for the record, does remove setting a valid compression type in
the record in favour of just saying none. This is not a generally
useful feature in U-Boot and I believe being versatile in terms of being
able to pass in arbitrary compressions is more important.
(From OE-Core rev: 65f27122950a35a67ce39ae4cfe93d0dca6b0dab)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When chaining of compression/conversion types was added, we had a new
way to handle doing things like "ext4.bz2.sha256sum" or
"ext2.gz.u-boot". However, because the U-Boot image class isn't
included normally, it wasn't properly converted at the time. After the
support was added the "clean" argument that the .u-boot code uses no
longer functions. The fix for this inadvertently broke chaining
compression/conversion. First, correct the u-boot conversion code.
Fixes: 46bc438374de ("image.bbclass: do exact match for rootfs type")
Cc: Zhenhua Luo <zhenhua.luo@nxp.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Patrick Ohly <patrick.ohly@intel.com>
(From OE-Core rev: 0a7ce0b971a208956cb895ba5a869ec8c5d94703)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Gentoo mirror also deletes old versions when they're not used, so revert
back to the canonical SourceForge site, adding /older-releases/ to MIRRORS to
handle new releases moving the version we want.
Original idea by Maxin B. John <maxin.john@intel.com>.
(From OE-Core rev: 791a3493c88c9c249f21f6d893b2061e1d8a0af6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
FTP is inferiour to HTTP is all respects, so use the HTTP URL for the tarball.
(From OE-Core rev: 6a9e38be6e9dcbeff033944f9a3a18e3838af10d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using shutil.copy2() to copy .git/index to a temporary file tries to
copy SELinux attributes which might fail for confined users in SELinux
environments.
E.g. our builders are running in docker containers and modification of
sources (inclusive updated of .git/index) is done outside. Trying to
copy .git/index fails with
| $ python3 -c 'import shutil; shutil.copy2("index", "a")'
| ...
| PermissionError: [Errno 13] Permission denied: 'a'
and an AVC like
| denied { relabelto } for pid=18043 comm="python3" name="a" dev="dm-29" ino=1067553 scontext=system_u:system_r:container_t:s0:c39,c558 tcontext=unconfined_u:object_r:build_file_t:s0 tclass=file permissive=0
is created. This can not be solved by adapting the SELinux policy because
this is a very deep constraint violation:
| constrain file { create relabelfrom relabelto } ((u1 == u2 -Fail-) or (t1 == can_change_object_identity -Fail-) ); Constraint DENIED
|
| Possible cause is the source user (system_u) and target user (unconfined_u) are different.
I do not see much sense in using 'shutil.copy2()' here; 'shutil.copyfile()'
seems to be a better choice (target file is created in a secure way by
tempfile.NamedTemporaryFile()).
By placing the tempfile into /tmp we avoid potential problems related to
git's 'core.sharedRepository'. As a (positive) side effect, the source
tree will not be modified anymore (at least by this part of code) which
prevented to mount it read-only from somewhere else.
(From OE-Core rev: 3c3c8ecc61dfed68987750d79b5482ab2f6fa02f)
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic will attempt to use pseudo from the wic-tools sysroot to run, but it
was only sure to be in there if do_install had executed - which is not
the case if it had been restored from sstate, in which case it failed
horribly as seen when running the wic.Wic.test_fs_types and
test_mkfs_extraopts tests on the Yocto Project autobuilder recently. Add
an explicit dependency on pseudo-native to ensure it's always there.
(From OE-Core rev: ada7408a55ec58e4aa1b094462f8a681e60be613)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tested the quickstart guide on Fedora 26 and confirmed that it
can build a core-image-sato and run the image via runqemu.
(From meta-yocto rev: 4e719fb77d035123d0e2ff84d10cb68c7cc8eccd)
Signed-off-by: Benjamin Esquivel <code@esquibits.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When wget is fetching a listing for a directory over FTP it writes to a
temporary file called .listing in the current directory. If there are many such
operations happening in parallel - for example during 'bitbake world -c
checkpkg' - then up to BB_NUMBER_THREADS instances of wget will be racing to
write to, read, and delete the same file.
This results in various failures such as the file disappearing before wget has
processed it or the file changing contents, which causes checkpkg to randomly
fail.
Mitigate the race condition by creating a temporary directory to run wget in
when doing directory listings.
[ YOCTO #11828 ]
(Bitbake rev: 91d4ca93df092cf86ab84faaa94cc66ff9f43057)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The warning message currently shown can occur more frequently than previously
if a previous bitbake server is shutting down and we're reconnecting to a new
server. Change it to a note message to match the higher level connection
logging retry messages and so as not to interfer with selftests.
(Bitbake rev: b7514340cd6a2753eb217b059229bb279c3849ec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that there is only one server, this abstraction is no longer needed
and causes indrection/confusion. The server shutdown is also broken with
the cooker post_server calls happening too late, leading to "lock held"
warnings in the logs if PRServ is enabled.
Remove the abstraction and put the shutdown calls in the right order
with respect to the locking.
(Bitbake rev: c0ddde7cf680225127d6285685652b905ed176c3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The server shutdown is currenlty laggy and race prone. This patch:
* adds a waitpid so that no zombie server is left around if its not
running in daemon mode.
* adds a quit "sentinal" using a pipe so that we're not sitting in
a socket poll() until timeout in order just to quit.
* use a select() call to poll the socket and the pipe for a quit signal.
The net result of this change is that the prserv exits with the cooker server
and it does so immediately and doesn't wait for the select/poll calls to
timeout. This makes bitbake a lot more responsive for startup/shutdown and
doesn't cause UI timeout errors as often when prserv is used.
(Bitbake rev: 0b5a837477d18442caf97dd0fa14a806c54f5842)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch removes the machine specific overrides in poky.conf for all
the qemu machines. With this patch, if you set
PREFERRED_VERSION_linux-yocto="X%" then all the qemu machines as well as
the sample hardware boards will use that version. Without this patch,
the hardware boards would have used version X but the qemu machines
would have needed to have a PREFERRED_VERSION_linux-yocto_qemuarm="X%"
for qemuarm to use that version, for example. If we need to force a
specific machine (hardware or qemu) to a particular default version we
should add it to the machine conf files for that machine, not in the
distro conf.
(From meta-yocto rev: 6b194a137dcedcae7e4b03f9ebed822d44f53fe2)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The genericx86 and genericx86-64 machine confs do not need to set the
PREFERRED_PROVIDER_virtual/kernel as they will use the one set by the
distribution. If there needed to be a different version for one of these
machines in the future, we could add it in to the machine.conf.
(From meta-yocto rev: 89dd8159fc83f54d7fe234b619a28f5d97519156)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The distro should set a default kernel type (?=) which could be
overriden by local.conf (=) or extensions (templates). The kernel itself
should only use "??=" to provide a value which allows builds to succeed.
(From OE-Core rev: d3a41fbd94462efc8c6f1b55f6fb54001b447c45)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PV is the recipe major version number. cve-check tries to map that to
NVD database release versions of the component. If the recipe sources
are taken from git, the PV can be automatically modified to include
git details, but the syntax is like 233+gitAUTOINC+a1e2ef7ec9.
In CVE checks we want to remove the git details and just use the major
version information, in this example 233.
Thus use "+git" as the separator and use the first part before the separator
as SW product version number in CVE check.
Fixes version number for e.g. systemd recipe. If systemd PV is
233+gitAUTOINC+a1e2ef7ec9 there will be no matches from CVE database where
latest release mentioned is plain 233. If the filter is set to +git, then
CVE PV is 233 and issues like this are detected by do_cve_check:
https://nvd.nist.gov/vuln/detail/CVE-2017-1000082
(From OE-Core rev: db8815abe3db60b0510fb378bf6d82172c2f2768)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, we had a gst-python recipe, but it supported only GStreamer
0.1. After GStreamer switched the Python bindings to use GObject
introspection, we were no longer able to build the bindings, and they
were dropped in this patch:
https://patchwork.openembedded.org/patch/93793/
However, at this point, we have a gobject-introspection class, so we can
use the bindings again, this time with GStreamer 1.0.
(From OE-Core rev: 6650bd1b9c770b01525356f9a1fabd758360ee8f)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
in config.log we can see:
WARNING: aarch64-linaro-linux-pkg-config not found, library detection may fail.
ffmpeg configure script is not looking for pkg-config at the rigt place since it
is assuming cross compilation. let's force its value in the recipe.
This patches 'fixes' library detection, so it also adds:
--disable-libxcb
--disable-libxcb-shm
--disable-libxcb-xfixes
--disable-libxcb-shape
Which were dangling configure options, which started to be enabled after the
pkg-config fix, so they need now to be explicitely disabled. Follow up patch
will enable these options when DISTRO_FEATURES has x11.
(From OE-Core rev: 3d5f11f0a1fd036e28a1d3f0c3169d8e21cc1358)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The image consists only of the EFI system partition, therefore
we can avoid depending on the default wic tools.
(From OE-Core rev: f147b2502ae53d63a884a46e994ae18e12ec4ef6)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabling sdl2 will bring ffplay applications, which can be handy when working
with ffmpeg.
(From OE-Core rev: 5c880eb08ec29e169b9f6b7d6f2e0598a0395d30)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This way also bbclasses can override it. For example kernel.bbclass
could set CVE_PRODUCT to linux_kernel for all users of the class
which compile Linux kernels.
(From OE-Core rev: 74672a7de5ada45ab8e25b89cbdea3ec33b63b7f)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream is called eglinfo no matter how the recipes are named.
There are no existing CVE's for eglinfo in NVD yet.
(From OE-Core rev: 0b8e2a017e117810c83039a316a11da66fe148b1)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add dhclient.service. This service file mainly comes from meta-systemd,
with modifications to take nfs boot into consideration.
While using eth0 as the nfsboot interface, we'd like dhclient service
to skip it like what ifup and connman do in sysvinit.
(From OE-Core rev: faa8d0f5e8db4a99367d42ba8c8de5b2e339d8d2)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both python-setuptools and python3-setuptools need to be
upgraded to latest upstream version.
license checksum is now targeted to be performed over the actual
license text at license file.
These changes were tested using qemux86 with core-image-minimal.
(From OE-Core rev: 6ad635a33b5a49fa51165b6ac7606b27438f5d96)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We get linking errors on some hosts like
| ld -static --warn-multiple-gp --warn-common -T linux-i386/convert.lds -o objdir/linux-i386/convert ob
jdir/linux-i386/head.o objdir/linux-i386/convert_params.o
| objdir/linux-i386/convert_params.o: In function `printf':
| convert_params.c:(.text+0x1fd): undefined reference to `__stack_chk_fail_local'
This is because the build system is defaulting to host linker when building
32bit binaries and it may not have same defaults as OE toolchain and issue
gets highlighted.
fix it by using cross linker for 32bit links when building on x86_64
(From OE-Core rev: 470c8a0fb5f51a626a194c8fd3aabd448b50ebfa)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to a bug in calculating adresses of modified program
headers patchelf breaks executables linked by Gold linker
causing them to segfault, e.g.
$ tmp/sysroots-components/x86_64/m4-native/usr/bin/m4 --help
Segmentation fault
This is reproducible only in some cases and only for executables
of ET_DYN type produced by Gold or by ld linked with pie.
This should be solved by fix-adjusting-startPage.patch that
fixes calculation logic.
[YOCTO #11785]
(From OE-Core rev: 4e4c96db4b1d2356b5d071cee6746a96eca20439)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch has been accepted upstream.
Changed patch status Pending -> Accepted.
(From OE-Core rev: 4e9b1e9798e7b12664d4afc611e430a988b6b1ca)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
I took the section that described how to use a pre-built kernel
and run it through QEMU out. This is basically a QEMU usage
section and is not in that area. There were some QEMU speed
up items suitable for the QEMU concepts section in the ref-manual.
I put those in that area.
(From yocto-docs rev: b081013aa10b42e4eb88ed54940112c5ae106911)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
I converted the QEMU section to a procedure. Also took the
tips section and created individual sections from that.
Cleaned up some areas in the QEMU conceptual section in the
ref-manual
(From yocto-docs rev: dfd3466be605fdd7438653bf54fd0df3594a5c50)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The dev-manual had a section on QEMU that combined a lot of
reference information and usage information. I took the reference
information out and moved it to the ref-manual into a new section
in the second chapter, "Using YP".
(From yocto-docs rev: 188596c576e357925383d0cc3bd2b0cdf41926ec)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section needed to be a step-by-step procedure.
(From yocto-docs rev: de4868c97c1199b39b3c3e68b4ff159f6546cd9e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section "Locating Pre-Built SDK Installers" was turned into
a procedure. I also added some information on the actual names
of the *.sh files.
(From yocto-docs rev: 548886d5a392164783596c0c04779aaffd6ac930)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-git needs to be upgraded to latest upstream version.
"git" is added as RDEPENDS.
These changes were tested using qemux86 with core-image-minimal.
(From OE-Core rev: 0b48514d1d26d234c158a4b72087a67d2478362a)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-mako need to be upgraded to latest upstream version.
This change was tested using qemux86 with core-image-minimal
(From OE-Core rev: 1a2bb950b38035b842d120697d076cfdc832fa37)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3.19.2 -> 3.19.3
Fixes a bug associated with auto_vacuum that can lead to database
corruption.
(From OE-Core rev: 2635067901c932888a998ea0fbb45f5d4d3c7c24)
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>
Unzip is required for jar files. Without this patch:
ERROR: junit4-4.3.1-r0 do_unpack: Unpack failure for URL:
'http://downloads.sourceforge.net/junit/junit-4.3.1-src.jar'. Unpack
command
PATH="/var/lib/jenkins/workspace/qt5122-dyspro/build/tmp/sysroots-uninative/x86_64-linux/usr/bin ......."
unzip -q -o '/var/lib/yocto/downloads/junit-4.3.1-src.jar' failed with
return value 127
Suggested-by: Ross Burton <ross.burton@intel.com>
(From OE-Core rev: 96665f8b204b0f0ba571bb6634203aada5983f8a)
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a stable bugfix release. Following upstream bugs were fixed:
Bug 100242 - radeon buffer allocation failure during startup of Factorio
Bug 101657 - strtod.c:32:10: fatal error: xlocale.h: No such file or directory
Bug 101666 - bitfieldExtract is marked as a built-in function on OpenGL ES 3.0, but was added in OpenGL ES 3.1
Bug 101703 - No stencil buffer allocated when requested by GLUT
Also, the following patches were included in this release and as such
deleted:
- etnaviv_fix-shader-miscompilation.patch
(From OE-Core rev: 6e23b9589cd2e35d865f5d5e3469ad251c263af1)
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>
When the kernel's menuconfig target is called while using the esdk or an
esdk-based container, the pkg-config info that is found is not correct.
The pkg-config info is for the target, but we need the eSDK's information
in order to build the host based menuconfig.
The new pkg-config-esdk script checks both that it's in SDK and being
called from the check-lxdialog script in order to limit the scope of when
the pkg-config automagically switches to pkg-config-native.
The pkg-config-esdk is only installed as pkg-config inside the eSDK, which
is why we use the sstate post install script and check for if we are in the
esdk environment using the WITHIN_EXT_SDK
[YOCTO #11155]
(From OE-Core rev: 0954452d151613fa758fbde8ee9469b30d80776b)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows for other scripts to know that they are being executed in
the context of the eSDK in order to provide different behaviour as
needed.
[YOCTO #11155]
(From OE-Core rev: ebdd9b5a19eb6fb6c3249be4f0e2480a3de2aa8f)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* without this we cause nativesdk-linux-libc-headers to depend
on target specific KERNEL_CC (through icecc_get_tool ->
icecc_is_kernel -> KERNEL_CC -> HOST_CC_KERNEL_ARCH ->
TARGET_CC_KERNEL_ARCH -> TUNE_FEATURES(thumb) as shown by
bitbake-diffsigs:
OE qemux86@ ~/build/oe-core $ ls /OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemu*/*sdk*/*/*do_configure.sigdata*
/OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemuarm/x86_64-nativesdk-oesdk-linux/nativesdk-linux-libc-headers/4.10-r0.do_configure.sigdata.3a9a423878d56524e0ee8e42eba1804f
/OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemux86/x86_64-nativesdk-oesdk-linux/nativesdk-linux-libc-headers/4.10-r0.do_configure.sigdata.401071dbaa88903ece37d35a47965ff2
OE qemux86@ ~/build/oe-core $ bitbake-diffsigs /OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemu*/*sdk*/*/*do_configure.sigdata*
basehash changed from 39774238b66763c598153132e87a2c1a to aa2d66e770bf533e312536eb0a401c4c
Variable TARGET_CC_KERNEL_ARCH value changed from '${@bb.utils.contains('TUNE_FEATURES', 'thumb', '-mno-thumb-interwork-marm', '', d)} TUNE_FEATURES{thumb} = Set' to ''
(From OE-Core rev: aef5d6052a60f506e842110381a221aed042e054)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CDDL license is now used by open-vm-tools in meta-openembedded, so
we need to add it in order to prevent warnings.
(From OE-Core rev: 0dd9db29e56c75181219bb0dbac88a91989b702b)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bootmisc.sh is responsible for setting the system date to a sane
default. Currently, it is the last script to be run from the rcS
runlevel.
Problem is that the files created before appear to have been created
on 1/1/1970. Most notably, /var/log/dmesg created in dmesg.sh cannot be
properly rotated with logrotate which does not consider it a valid date
and stops processing.
There is no blocker on moving this script right before populating
volatiles because it just requires the local and virtual filesystems to
be mounted to work.
(From OE-Core rev: a0f6508847a28a78cb0a1e9613b6e5cc3047d995)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, this recipe only supports daily scheduling via a cron job.
This commit adds support for systemd in the recipe, as the feature is
already supported on upstream. When the corresponding distro feature is
enabled the systemd variant will be used. The timer granularity and its
accuracy are also configurable.
(From OE-Core rev: b942d0b17cb6622b653283109307346dcfb4f205)
Signed-off-by: Romain Perier <romain.perier@collabora.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit updates the recipe to the last upstream tag. Then, as the
tarball no longer contains the pre-generated Makefile, inherit from
autotools
(From OE-Core rev: 72490b7a327867872987e63d340051c4980044b2)
Signed-off-by: Romain Perier <romain.perier@collabora.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we have provide an option to manually enable PREMIRRORS and MIRRORS
in recipetool, we need to make sure devtool is having the same options
as devtool uses recipetool in creating new recipes.
(From OE-Core rev: 198bddeb928a318c3ad168bcb4f83b5cd9a604fb)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
devtool find-recipe will prints out the path to the recipe
in a workspace.
This subcommand can also help to find recipe outside of
current workspace using "-a" or "--any-recipe" option.
This enhancement helps developer to get the recipe path
when working with devtool.
[YOCTO #11434]
(From OE-Core rev: 5a16b3c804c5eca331a1c08a7ce31a54909af105)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
logger was not defined in scriptutils.py based on the
observation in python traceback.
Traceback (most recent call last):
File "/workdir/poky/scripts/devtool", line 351, in <module>
ret = main()
File "/workdir/poky/scripts/devtool", line 338, in main
ret = args.func(args, config, basepath, workspace)
File "/workdir/poky/scripts/lib/devtool/utilcmds.py", line 55, in
edit_recipe
return scriptutils.run_editor(find_recipe(args, config, basepath,
workspace))
File "/workdir/poky/scripts/lib/scriptutils.py", line 141, in
run_editor
logger.error("Execution of '%s' failed: %s" % (editor, exc))
NameError: name 'logger' is not defined
We pass in logger as parameter to run_editor() from where it has
been called (devtool/utilcmds.py and recipetool/newappend.py),
which both modules already has logger setup.
(From OE-Core rev: 21f04b61973dd9029f0e6bff5445e31cd762bf32)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
devtool edit-recipe now has ugly tracebacks if executed without an
editor available. This happens in the build containers whenever no
text editor is available.
subprocess.check_call will run text editing command with recipe path
provided. It will wait for command to complete. If the return code
was zero then return, otherwise raise CalledProcessError exception.
This enhancement will suppress the traceback by catching the exception
and prompt the error messages in a proper manner shown below:
pokyuser@59c99c507238:/workdir/docker-dbg$ devtool edit-recipe ifupdown
/bin/sh: 1: vi: not found
ERROR: Execution of 'vi' failed: Command 'vi
"/workdir/docker-dbg/workspace/recipes/ifupdown/ifupdown_0.8.16.bb"'
returned non-zero exit status 127
[YOCTO #11434]
(From OE-Core rev: c536ccfd162fc8871838fa229012c562e3f8e0d9)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Append " -fno-tree-switch-conversion -fno-tree-tail-merge" to
FULL_OPTIMIZATION to workaround login problem on qemumips64. Otherwise,
user cannot login onto the target even username and password are
provided.
(From OE-Core rev: 35403ba3707c3c8dd94bcc557eef6f7c66696bc5)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
png_mak.patch was created for ghostscript 9.16 and causes make circular
dependency now. Check source code base/png.mak after apply png_mak.patch:
Line 77: $(MAKEDIRS) : $(pnglibconf_h)
Line 83: $(pnglibconf_h) : $(PNGSRC)scripts$(D)pnglibconf.h.prebuilt $(TOP_MAKEFILES) $(MAKEDIRS)
So remove png_mak.patch.
(From OE-Core rev: 8a5890cc0b0a6c110edb36aec3614c3ebeb54e24)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mkelfImage was failing trying to use initrd from ${DEPLOY_DIR_IMAGE}:
DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_image_elf
| Cannot open `tmp/deploy/images/qemux86/core-image-minimal-qemux86.cpio.gz':
No such file or directory
As the images have only one deploy point it's not possible to reference
something the images themselves are deploying. They need to reference it
in the "pre-sstate" directory ${IMGDEPLOYDIR}, not the post sstate one
${DEPLOY_DIR_IMAGE}.
Fixed by using ${IMGDEPLOYDIR} instead of ${DEPLOY_DIR_IMAGE} in
mkelfImage command line.
[YOCTO #11767]
(From OE-Core rev: 13d675b0f8968bcfdf36035fd959be285e3da378)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
remove_initd and remove_initd will be created as the symbolic file
of chkconfig, which will be not existed when systemd is configured,
so adding the check for the existence of chkconfig before creating
the symbolic.
(From OE-Core rev: 0417cc64516c47fb4daddc80e41e3f9c6ab927fc)
Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Total number of partitions should be taken into account when calculating
real partition number for msdos partition table. The number can be
different for the 4th partition: it can be 4 if there are 4 partitions in
the table and 5 if there are more than 4 partitions in the table. In the
latter case number 4 is occupied by extended partition.
[YOCTO #11790]
(From OE-Core rev: 5689139b3cd862e2df49f6b21171f513e8a46c60)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When py3 applications are exiting we often see errors similar to the
following:
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7fcb56b09400>
Traceback (most recent call last):
File "/usr/lib64/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
After a quick search this was found to be a well reported issue
upstream and had an appropriate fix which is backported here.
(From OE-Core rev: 8aaf09a916a2f66f1a6a79cbddf45390ecefde4f)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing in oe-core requires gnome-common and it is also deprecated
upstream: Remove it.
(From OE-Core rev: 14b41d6ad6f582a229b6bd62fc4eb17f615d1ad7)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the status of following patch from Pending to Accepted:
a) 0001-hciattach-bcm43xx-fix-the-delay-timer-for-firmware-d.patch
(From OE-Core rev: f9ccac5dd359e9b874a39cd879ea23c841085eab)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the sstate is accessed via HTTP, the existence check can fail due
to network issues, in which case bitbake silently continues without
sstate.
One such network issue is an HTTP server like Python's own SimpleHTTP
which closes the TCP connection despite an explicit "Keep-Alive" in
the HTTP request header. The server does that without a "close" in the
HTTP response header, so the socket remains in the connection cache,
leading to "urlopen failed: <urlopen error [Errno 9] Bad file
descriptor>" (only visible in "bitbake -D -D" output) when trying to
use the cached connection again.
The connection might also get closed for other reasons (proxy,
timeouts, etc.), so this is something that the client should be able
to handle.
This is achieved by checking for the error, removing the bad
connection, and letting the check_status() method try again with a new
connection. It is necessary to let the second attempt fail
permanently, because bad proxy setups have been observed to also lead
to such broken connections. In that case, we need to abort for real
after trying twice, otherwise a build would just hang forever.
[YOCTO #11782]
(Bitbake rev: 6fa07752bbd3ac345cd8617da49a70e0b2dd565f)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Trim the entered built target value so that Toaster is not
confused with no real targets nor a ghost second target.
[YOCTO #11727]
(Bitbake rev: dd83c732b945ba6f9b7cdf66f6e88cfd15a745a0)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set the clone progress to be off by default for the benefit of
command line projects and 'Local Yocto' builds. For Toaster managed
projects that do use the clone feature the clone progress status
is already explicitly set by the existing code and thus displayed.
[YOCTO #11744]
(Bitbake rev: d25a3088150b2a277242027c12becdeb88c45517)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change the task progress counting from the task order field
which excludes setscene to the task completion field which
counts all completed tasks regardless of type.
[YOCTO #9971]
(Bitbake rev: 485b328430dcdfd0b52f09f01ebd490d09459ea3)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes only expect positive values from cmdline so it's better
to filter at parsing cmdline step instead of validate later.
(From OE-Core rev: 3ef5b518febd047bf90a0955fa2b9fb78ba6dde5)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The BBPATH environment could be set and can make a failure when try
to build an extensible sdk because it will look the bitbake.lock
file in the original build folder.
Example:
$ export BBPATH=`pwd`
$ bitbake core-image-minimal -c populate_sdk_ext
ERROR: bitbake failed:
ERROR: Only one copy of bitbake should be run against a build directory
ERROR: core-image-minimal-1.0-r0 do_populate_sdk_ext: Function failed:
copy_buildsystem
(From OE-Core rev: 33634b4c38d84e1c5d06056766933f1fe4f47e8d)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to avoid corrupt local.conf and bblayers.conf adds
signal handler for SIGTERM and use try/finally (KeyboardIntrrupt) block
to restore previously backuped configuration.
[YOCTO #11650]
(From OE-Core rev: 9419c81e69d2facc82e39c846466670c09e6b444)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since config paths are now passed in Test context the setUpClass
method is expected to be call.
(From OE-Core rev: 7281c995ff2b009c3fb23c7af1d91fe106ca8f87)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python versions has different features from branches 3.4.x, 3.5.x and
3.6.x, i expected in wrong mode that was incremental for example changes
in 3.4.4 be in 3.5.x but that's not true.
The _make_failed_test internal method differs and is only available in
certain versions >= 3.4.4 and in 3.5.x and 3.6.x branches but not
realeses have been made including it.
So to avoid futher problems inspect the _make_failed_test and generates
function definition according what parameters are needed, the unique
supossition is that exception argument is always passed.
Related to,
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d8380d098a290510b442a7abd2dd5a50cabf5844
(From OE-Core rev: b4740d2b325a80bcecc5e56dff9add9081fcd31b)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The cleanup can fail with:
ERROR [0.000s]: tearDownClass (eSDK.oeSDKExtSelfTest)
FileNotFoundError: [Errno 2] No such file or directory: 'bitbake.sock'
which is due to bitbake taking a small amount of time to shut down the server.
The easiest fix is just to ignore these kinds of errors, bitbake shouldn't create
any new files during shutdown.
(From OE-Core rev: 68009f4eb323e07cec8c4421d546bd3125dec033)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids test failures like:
======================================================================
ERROR [0.946s]: test_recipetool_load_plugin (recipetool.RecipetoolTests)
INFO - ----------------------------------------------------------------------
INFO - Traceback (most recent call last):
File "/media/build1/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
return func(*args, **kwargs)
File "/media/build1/poky/meta/lib/oeqa/selftest/cases/recipetool.py", line 514, in test_recipetool_load_plugin
with open(srcfile) as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'NOTE: Starting bitbake server...\n/media/build1/poky/meta-selftest/lib/recipetool/bbpath.py'
INFO - ----------------------------------------------------------------------
which comes from:
$ recipetool --quiet pluginfile
NOTE: Starting bitbake server...
/media/build1/poky/meta-selftest/lib/recipetool/bbpath.py
since there is corruption in the output despite the --quiet option. Setting
the logging up before calling tinfoil.prepare() resolves this.
(From OE-Core rev: e124eb73e6a66abbf43dffd82b834e906163614b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids test failures like:
INFO - ======================================================================
INFO - FAIL [1.755s]: test_devtool_layer_plugins (devtool.DevtoolTests)
INFO - ----------------------------------------------------------------------
INFO - Traceback (most recent call last):
File "/media/build1/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
return func(*args, **kwargs)
File "/media/build1/poky/meta/lib/oeqa/selftest/cases/devtool.py", line 1354, in test_devtool_layer_plugins
self.assertEqual(result.output, s[::-1])
AssertionError: "NOTE: Starting bitbake server...\noY senu[36 chars]rciM" != "oY senuZ s'enoynA morF tiforP oN edaM tfosorciM"
- NOTE: Starting bitbake server...
oY senuZ s'enoynA morF tiforP oN edaM tfosorciM
INFO - ----------------------------------------------------------------------
since there is corruption in the output. Setting the logging up before
calling tinfoil.prepare() resolves this.
(From OE-Core rev: 3c479fb17ae4d3e7e5f0889af0f68257ef66475c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids test failures like:
INFO - ======================================================================
INFO - FAIL [1.046s]: test_find_path (pkgdata.OePkgdataUtilTests)
INFO - ----------------------------------------------------------------------
INFO - Traceback (most recent call last):
File "/media/build1/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
return func(*args, **kwargs)
File "/media/build1/poky/meta/lib/oeqa/selftest/cases/pkgdata.py", line 50, in test_find_path
self.assertEqual(result.output, 'zlib: /lib/libz.so.1')
AssertionError: 'NOTE: Starting bitbake server...\nzlib: /lib/libz.so.1' != 'zlib: /lib/libz.so.1'
- NOTE: Starting bitbake server...
zlib: /lib/libz.so.1
INFO - ----------------------------------------------------------------------
since there is corruption in the output. Setting the logging up before
calling tinfoil.prepare() resolves this.
(From OE-Core rev: 39c1bf1feccc8dca57160a1e3cd8a50e8c30ef02)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Across devtool and recipetool we had an ugly set of code for ensuring
that we can call an npm binary, and much of that ugliness was a result
of not being able to run build tasks when tinfoil was active - if
recipetool found that npm was required and we didn't know beforehand
(e.g. we're fetching from a plain git repository as opposed to an npm://
URL where it's obvious) then it had to exit and return a special result
code, so that devtool knew it needed to build nodejs-native and then
call recipetool again. Now that we are using real build tasks to fetch
and unpack, we can drop most of this and move the code to the one place
where it's still needed (i.e. create_npm where we potentially have to
deal with node.js code in a plain source repository).
(From OE-Core rev: 8450de16ddb02d863204b411a94c6d84e0f88817)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we're unpacking any rpm (not just .src.rpm) then we'll need to call
rpm2cpio.sh. As of OE-Core rev a7da1aade118d1ccf1b286f82556cd9f706bd2a4
that script no longer uses file-native, but there is a chance that the
rpm file will be compressed internally using xz (for example, rpms from
Fedora) and therefore the script will need xzcat provided xz-native.
(From OE-Core rev: 2f31f1795bc0c85b1646bc7d9596bbe778cb84e5)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we have the ability to run the tasks in a more standard context
through tinfoil, change recipetool's fetching code to use that to fetch
files using it. This has the major advantage that any dependencies of
do_fetch and do_unpack (e.g. for subversion or npm) will be handled
automatically. This also has the beneficial side-effect of fixing a
recent regression that prevented this fetch operation from working with
memory resident bitbake.
Also fix devtool's usage of fetch_uri() at the same time so that we can
completely replace it.
Fixes [YOCTO #11710].
(From OE-Core rev: 9a47a6690052ef943c0d4760630ee630fb012153)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When dealing with package files (.rpm, .ipk etc.) we need to unpack them
ourselves to get the metadata, which is thrown away when the fetcher
unpacks them. However, since we've already fetched the file once, I'm
not sure as to why I thought I needed to fetch it again - we can just
get the local path and then unpack it directly.
(From OE-Core rev: be45e9b17e9dbc8c2594d3a939be377ab0720a7c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you pointed recipetool at a URL that should be a tarball e.g.
https://tls.mbed.org/download/start/mbedtls-2.4.2-apache.tgz but instead
it returns an HTML page, we try to unpack it, gzip complains but the
operation doesn't seem to fail - instead we just get back an empty
source tree. Change the checks to account for this - if the source tree
is empty, check if the downloaded file in DL_DIR looks like an HTML file
and error accordingly if it is. If it's not, error out anyway because
no source was unpacked and it should have been (otherwise we just
blindly set up EXTERNALSRC for this which is pointless).
Fixes an aspect of [YOCTO #11407].
(From OE-Core rev: 8496113b63d5a5d1f99056610c0fdb972a6200d4)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When extracting linux-yocto kernel source, we don't need to dance around
shutting down and starting up tinfoil anymore, we can just execute the
tasks as needed when needed using tinfoil's new build_targets()
function. This allows us to tidy up the code structure a bit.
(From OE-Core rev: 5c7f5031023fb74b5f2f26d6b3c829981f2f54d2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These messages were added for debugging during the recipe specific
sysroot work. They may still be useful but they don't need to be notes -
if they are they show up in recipetool / devtool output when fetching
source.
(From OE-Core rev: a0e93d5c5dcf59d1898a3db727a5ab2d75e3d20e)
(From OE-Core rev: bc1a4af950a2600028d89b7dcb4ff8f409b52739)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the new server structure we no longer need this separate
environment init script. Just set BB_SERVER_TIMEOUT to be greater
than zero and bitbake will remain in memory and the UI will auto-reconnect
to it.
Also clean out the old shutdown code from oe-init-build-env which
also doesn't make sense now.
(From OE-Core rev: a17724d687f9c04dc21f2f369da2b492f7119ba0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If BB_STRICT_CHECKSUMS is set to anything other than "1" i.e. we're not
going to raise an error, then fire an event so that scripts can listen
for it and get the checksums.
(Bitbake rev: 8b2ccb4b865f2df118ef668847df682a83f9c500)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If BB_STRICT_CHECKSUMS is set to "ignore" then don't display a warning
if no checksums are specified in the recipe. This is not intended to be
used from recipes - it is needed when we move to using more standard
code paths to fetch new files from scripts i.e. where we don't know what
the checksums are in advance.
(Bitbake rev: f15ca7339de8a448a93a14cf6130b3925178a920)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want this API to be easier to use, so add missing function
documentation to help with that.
(Bitbake rev: 3e0e002d6497caa987f327cd83ad4db82cca6810)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A common task for tinfoil-using scripts is to iterate over all recipes.
This isn't too difficult with the current API, but the pkg_* variables
are a little awkward and are really designed for bitbake's internal
usage - and it gets a bit more difficult when you want to access some of
the other information such as packages and rprovides. To resolve this,
create a new recipe info class and add an all_recipes() function to
generate this for all recipes. Also add a get_recipe_info() function to
get the information for a specific recipe (by PN).
(It might perhaps be suggested that we already have a structure similar
to this in the cache, however the one we add here is designed for
external use and allows the internal structures to change if needed
without affecting the API).
(Bitbake rev: 308994028e59735ca726c5d2c1f0f85baccfe89d)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add access to fn_provides, packages, packages_dynamic and rproviders on
the recipecache object. This requires an additional corresponding
command plumbing to be added.
(Bitbake rev: 3df9b7c615174a6557581f3cd157842a28f6bb26)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Up to this point, if you wanted to run build tasks in the normal way
they get run from a python script, there was no other way than to shell
out to bitbake. Worse than that, you couldn't have tinfoil active during
that because only one bitbake instance could be running at once. As long
as we're prepared to handle the events produced, we can create a wrapper
around calling the buildTargets command. Borrow code from knotty to do
this in such a way that we get the expected running task display
(courtesy of TermFilter) and Ctrl+C handling.
(Bitbake rev: 43761eee756be52a1021be53a40dc591a6c35fa7)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This isn't useful for knotty itself, but for use from tinfoil
in case we can't get access to either the console or errconsole, allow
either to be unspecified (None).
(Bitbake rev: 7544de437fc66b81502ecdb5db859182c45827cb)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is useful for the caller to know whether the uihelper has handled the
event passed so that it can skip other event handling code if so.
(Bitbake rev: be498abfbbb19bdd31e5b53713a74049007e3737)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We really ought to have just one place where the string representation
of these events is produced. This doesn't take any real control away
from the UI - if an alternative representation is desired, that can
still be made.
(Bitbake rev: cb15db2a799be6d8eab9a2a43a9a573f89229cff)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make it easy to determine if recipes are parsed (and thus information
about available recipes is in memory).
(Bitbake rev: 7efde2df2ff25063d36ac015146f1975284a69ff)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python style recommends underscore based naming rather than camelCase,
and thus the former has been used for most of tinfoil's functions. Add
an underscored version of parseRecipes() for consistency and change the
one place we call it to use the new version.
(Bitbake rev: 821f6c41d850752d2bcc2ccd4f8e75b2897a0a3e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In OE's devtool we want to repeatedly run build_file() without showing
unnecessary messages and triggering buildhistory for each call.
build_file() is just a wrapper around the buildFile command. Change
the final "hidewarning" parameter of the buildFile command to "internal"
and have this call a new buildFileInternal() function without triggering
any of the normal build events, silencing the normal info messages from
the runqueue ("Executing RunQueue Tasks", "Tasks Summary" etc.) and
avoiding calling parseConfiguration() which we've already done at this
point.
(Bitbake rev: ba53e067a2d448dd63b4ca252557ce98aa8e6321)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ bitbake --observe-only
FATAL: '--observe-only' can only be used by UI clients connecting to a server.
And even:
$bitbake --observe-only -B localhost:-1
FATAL: '--observe-only' can only be used by UI clients connecting to a server.
This was beucase the brackets were in a wrong position.
(Bitbake rev: 4ffc91a2b3eb13e98078e6b1913f056a0c1797bc)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed 1:
$ . ../poky/oe-init-build-env-memres .
$ bitbake -m
$ bitbake -m # shutdown it again
$ bitbake -m
Starting bitbake server...
Terminated bitbake server.
It starts the server and kill it which is redundant.
$ bitbake -m
$ bitbake --status-only
Starting bitbake server...
It starts the server which is not what we need.
(Bitbake rev: 335fd0106359dddfe1eeb0c7d0bc03f8454b895c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ bitbake --server-only -B localhost:-1
Infinite loop
Reconnecting to bitbake server...
[snip]
Break the loop when server-only can fix the problem.
(Bitbake rev: c4d5c3dab5b35f3c6713efad1c8a23229ce4e56b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no global var "configuration", so the old code hang at
self.bitbake_lock.write(), and nothing wrote to bitbake.lock. I didn't
figure out why it hang (but not print errors).
Reproducer:
$ bitbake -B localhost:-1 world -k
Check bitbake.log, there was nothing, now fixed.
(Bitbake rev: dbdd9010663cd8dcb328e1b6fb40e3a777293bc5)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This changes the way bitbake server works quite radically. Now, the
server is always a process based server with the option of starting
an XMLRPC listener on a specific inferface/port.
Behind the scenes this is done with a "bitbake.sock" file alongside
the bitbake.lock file. If we can obtain the lock, we know we need
to start a server. The server always listens on the socket and UIs
can then connect to this. UIs connect by sending a set of three file
descriptors over the domain socket, one for sending commands, one for
receiving command results and the other for receiving events.
These changes meant we can throw away all the horrid server abstraction
code, the plugable transport option to bitbake and the code becomes
much more readable and debuggable. It also likely removes a ton of
ways you could hang the UI/cooker in weird ways due to all the race
conditions that existed with previous processes.
Changes:
* The foreground option for bitbake-server was dropped. Just tail
the log if you really want this, the codepaths were complicated enough
without adding one for this.
* BBSERVER="autodetect" was dropped. The server will autostart and
autoconnect in process mode. You have to specify an xmlrpc server
address since that can't be autodetected. I can't see a use case
for autodetect now.
* The transport/servetype option to bitbake was dropped.
* A BB_SERVER_TIMEOUT variable is added which allows the server
to stay resident for a period of time after the last client
disconnects before unloading. This is used if the -T/--idle-timeout
option is not passed to bitbake.
This change is invasive and may well introduce new issues however I
believe the codebase is in a much better position for further
development and debugging.
(Bitbake rev: 72a3dbe13a23588e24c0baca6d58c35cdeba3f63)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if this code is used with something like oeqa's xml logging
it fails as sys.stdout is an io stream. Add in try/except to handle
this case.
Add a waitpid() call to remove a zombie whilst forking.
Also, append to the logfile, don't overwrite it (otherwise
debugging can be a real pain when the server is restarting for
unknown reasons).
(Bitbake rev: 4e780fa19fc720948cf73133f56f7d837ad9283a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Finding the top level build directory is currently hard and relies on
having a complete cooker being setup. Add a helper function which
does the same thing without all the extra overhead. This is needed
to be able to locate the bitbake lockfile and hence the socket
for connecting clients in the new server model.
(Bitbake rev: d196afe68032898c31a8599ca7d3ceba58d96b0a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In preparation for rewriting this code, expand the relatively useless
base classes into the code itself.
(Bitbake rev: a1c6151420d86bac658c08ae714647062edd6ef2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The UI may want to change its event mask however to do this, it needs the
event handler's ID. Tweak the code to allow this to be stored and add
a command to query it.
Use the new command in the process server backend.
(Bitbake rev: f8cf2cb58b80ce74f756a11a9773b6b0e78d51ee)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.1, 4,4 and 4.9.
(From meta-yocto rev: 41128b3640e5733e62cb633f7a3ce704dff6a4f2)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a unit has a statement such as User=0day where the username exists but is
strictly speaking invalid, the unit will be started as the root user instead.
Backport a patch from upstream to mitigate this by refusing to start units such
as this.
(From OE-Core rev: 549cb941c5b19909fb00f2bef9c04172ca1c162d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix one incorrect indentation and several lines with trailing spaces.
(Bitbake rev: 4dbf4f1907a32f303c2e9acf2f27817cf3c9ec38)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to match the other meta-yocto-bsp MACHINE definitions add wic.bmap
to the produced images.
(From meta-yocto rev: 43c3e1194bf789d16c3e9bd41b8aae0098362677)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new Ubuntu releases on 2017-04-13, after cutoff for Yocto Project 2.3.
I've been running builds of some images and a world build in a container
over the past couple of days without issue. I've also run a complete
oe-selftest run (with SANITY_TESTED_DISTROS = "") and did not observe any
errors.
(From meta-yocto rev: ecdaf38e0b6beaeaf8ea7f804ca73a18f0dbe371)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adjust some dependencies: libgcrypt is now required (instead of gnutls)
and the following build deps where missing: gettext-native, glib-2.0
and glib-2.0-native.
Also the CMake argument ENABLE_CREDENTIAL_STORAGE has been renamed to
USE_LIBSECRET.
This new upstream release (2.16.4 actually) includes security fixes for
CVE: CVE-2017-2538
(From OE-Core rev: ef68005a8c527e9b1d05b7769f0ec8ebe9ec3f91)
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patch out the one use of gnome-common macros: pygobject is moving to
autoconf-archive in next release so this patch is temporary.
(From OE-Core rev: 22525a706196544919586e1bc764f362661685ae)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only change is dropping dependency on gnome-common
(which is deprecated upstream).
(From OE-Core rev: 77ac45c242e65d90cda43199a33dae85dec0cd0a)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* The LIC_FILES_CHKSUM is changed becauses the files updated the date, and added
a BSD-3-clause-John-Birrell for man/timeradd.3bsd, this license is already
there for other files.
* Update 0002-Remove-funopen.patch
* Remove 0003-Fix-build-breaks-due-to-missing-a.out.h.patch, the a.out
code is gone in the source, so this patch is not needed any more.
(From OE-Core rev: 1be785e420c838080ce5dc608192794e46961582)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using "su - myuser" to change from root to a non-privileged user,
"mesg n" from the default .profile fails with "mesg: error: tty device
is not owned by group `tty' or "mesg: cannot open /dev/ttyS0:
Permission denied", depending on whether mesg comes from busybox or
util-linux.
This does not happen during a normal login because permissions on
/dev/tty* get changed while doing that, something that isn't possible
with plain "su -".
As the error can't be avoided and failures of mesg probably aren't
particularly important, now error messages get dumped to /dev/null.
[YOCTO #11127]
(From OE-Core rev: 4511a524f906c97db7c7674ad34e7bc8630649e3)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"su -" == "su --login" was broken because it uses /etc/pam.d/su-l and
lacking that, falls back to /etc/pam.d/other which denies the
operation. The fix is to symlink "su-l" to the normal "su" pam config
file.
Because "su" usually comes from "shadow" and has been broken like this
without anyone noticing, it probably is not used much and thus should
be packaged separately so that it can be installed only when really
needed. For backwards compatibility, "util-linux" still pulls it in.
It is a bit strange that DISTRO_FEATURES are getting checked when
deciding whether the packages should be defined. It is not wrong, the
packages will be simply empty and thus probably not created when the
distro feature is on and the package config is off. Perhaps there is a
reason, so this is kept unchanged. The symlink however only gets
created when su.util-linux really gets built.
[YOCTO #11126]
(From OE-Core rev: 1ad32536c2d4a3e55e698d27d827caee788cb0f7)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In https://source.isc.org/git/bind9.git, since the following
commit applied:
...
commit b99bfa184bc9375421b5df915eea7dfac6a68a99
Author: Evan Hunt <each@isc.org>
Date: Wed Apr 10 13:49:57 2013 -0700
[master] unify internal and export libraries
3550. [func] Unified the internal and export versions of the
BIND libraries, allowing external clients to use
the same libraries as BIND. [RT #33131]
...
(git show b99bfa184bc9375421b5df915eea7dfac6a68a99 -- ./lib/isc/unix/app.c)
In this commit, if bind9 enable threads(ISC_PLATFORM_USETHREADS),
it blocks signal SIGHUP, SIGINT and SIGTERM in isc__app_ctxstart.
Which caused dhclient/dhcpd could not be stopped by SIGTERM.
It caused systemd's reboot hung which send SIGTERM by default.
(From OE-Core rev: 7d3e734481e5d400d03ffd0a12669913fd264c5f)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade bind from 9.10.3-P3 to 9.10.5-P3
* Update md5sum of LIC_FILES_CHKSUM that it update year in file COPYRIGHT
* Remvoe mips1-not-support-opcode.diff which has been merged
* Remove CVE patches that there are backported from upstream
* Use python3 for build and make sure install .py files to right directory
(From OE-Core rev: 9ee6a0a6599d081767b63382a576e67aed12cf4d)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable release with the following commits:
9f86f302ec0e Linux 4.9.36
a29fd27ca268 KVM: nVMX: Fix exception injection
d1d3756f07da KVM: x86: zero base3 of unusable segments
f3c3ec96e5fb KVM: x86/vPMU: fix undefined shift in intel_pmu_refresh()
1eeb79426332 KVM: x86: fix emulation of RSM and IRET instructions
982d8d92f256 arm64: fix NULL dereference in have_cpu_die()
a4bfcab30928 mtd: nand: brcmnand: Check flash #WP pin status before nand erase/program
de5862335ed7 i2c: brcmstb: Fix START and STOP conditions
8ee785016d5a brcmfmac: avoid writing channel out of allocated array
65fc82cea84f infiniband: hns: avoid gcc-7.0.1 warning for uninitialized data
3e51ccbadd15 objtool: Fix another GCC jump table detection issue
92e66676523a clk: scpi: don't add cpufreq device if the scpi dvfs node is disabled
8a6f400a374c cpufreq: s3c2416: double free on driver init error path
1781a29b31fa iommu/amd: Fix interrupt remapping when disable guest_mode
0e55856b8f29 iommu/amd: Fix incorrect error handling in amd_iommu_bind_pasid()
f0c31c674abd iommu/dma: Don't reserve PCI I/O windows
d7fcb303d1ee iommu: Handle default domain attach failure
c19bfc6765d4 iommu/vt-d: Don't over-free page table directories
d5c5e8ba5d9d ocfs2: o2hb: revert hb threshold to keep compatible
8af88a950b42 x86/mm: Fix flush_tlb_page() on Xen
3667dafd6c04 x86/mpx: Correctly report do_mpx_bt_fault() failures to user-space
b287ade87c91 x86/boot/KASLR: Fix kexec crash due to 'virt_addr' calculation bug
15541e64163c tools arch: Sync arch/x86/lib/memcpy_64.S with the kernel
a2c222bef08f ARM: 8685/1: ensure memblock-limit is pmd-aligned
7661b19687b2 ARM64/ACPI: Fix BAD_MADT_GICC_ENTRY() macro implementation
4efe34b500a7 ARM: dts: OMAP3: Fix MFG ID EEPROM
07bb2c7e7ea3 ARM: OMAP2+: omap_device: Sync omap_device and pm_runtime after probe defer
e57aa416ca4c regulator: tps65086: Fix DT node referencing in of_parse_cb
88baad2e7159 regulator: tps65086: Fix expected switch DT node names
9846c67974d6 spi: fix device-node leaks
c52829f60f5f spi: When no dma_chan map buffers with spi_master's parent
478273e11521 sched/loadavg: Avoid loadavg spikes caused by delayed NO_HZ accounting
eea0261db8ef watchdog: bcm281xx: Fix use of uninitialized spinlock.
4211442b2088 netfilter: use skb_to_full_sk in ip_route_me_harder
ac2730234cc1 xfrm: Oops on error in pfkey_msg2xfrm_state()
c460f2beb6f0 xfrm: NULL dereference on allocation failure
1e1666257cb6 xfrm: fix stack access out of bounds with CONFIG_XFRM_SUB_POLICY
647f605276c0 mm/vmalloc.c: huge-vmap: fail gracefully on unexpected huge vmap mappings
f9f73c58feef ravb: Fix use-after-free on `ifconfig eth0 down`
adfe95fe5b42 ip6_tunnel, ip6_gre: fix setting of DSCP on encapsulated packets
168bd51ec5ef sctp: check af before verify address in sctp_addr_id2transport
399566f8a4fb net/mlx4_core: Eliminate warning messages for SRQ_LIMIT under SRIOV
b6f75b986a7f perf probe: Fix to probe on gcc generated functions in modules
9f8ffe4e0952 tipc: allocate user memory with GFP_KERNEL flag
18b200e0c8ee net: phy: dp83867: allow RGMII_TXID/RGMII_RXID interface types
e1eac347d971 perf probe: Fix to show correct locations for events on modules
cc439964fab1 be2net: fix MAC addr setting on privileged BE3 VFs
02434def6fd0 be2net: don't delete MAC on close on unprivileged BE3 VFs
fa1dbf505aef be2net: fix status check in be_cmd_pmac_add()
5f54c4e1e2af usb: dwc2: gadget: Fix GUSBCFG.USBTRDTIM value
0e9867b7113c s390/ctl_reg: make __ctl_load a full memory barrier
9d00195bc0af swiotlb: ensure that page-sized mappings are page-aligned
68a5dc385735 coredump: Ensure proper size of sparse core files
d21816c24591 aio: fix lock dep warning
82835fb33ce5 perf/x86: Reject non sampling events with precise_ip
1c68633329d2 perf/core: Fix sys_perf_event_open() vs. hotplug
48131dd0f2b1 x86/mpx: Use compatible types in comparison to fix sparse error
283994074501 x86/tsc: Add the Intel Denverton Processor to native_calibrate_tsc()
6baa8c92dab9 mac80211: initialize SMPS field in HT capabilities
8eaaf66d41ad pmem: return EIO on read_pmem() failure
25319ae8e8a7 drm/amd/powerplay: refine vce dpm update code on Cz.
f275ac7fc5d2 drm/amd/powerplay: fix vce cg logic error on CZ/St.
77e82094a3c9 drm/radeon/si: load special ucode for certain MC configs
4ae8dc6acb71 net: thunderx: acpi: fix LMAC initialization
f88f06e18318 arm64: assembler: make adr_l work in modules under KASLR
aabb797b4c12 spi: davinci: use dma_mapping_error()
c32462d0b523 scsi: lpfc: avoid double free of resource identifiers
582c1ca0ea1d HID: i2c-hid: Add sleep between POWER ON and RESET
c78b8de5c05c perf/x86/intel: Use ULL constant to prevent undefined shift behaviour
6130fac99481 mac80211: recalculate min channel width on VHT opmode changes
d48cb21fd50b net: phy: marvell: fix Marvell 88E1512 used in SGMII mode
849f2d0665e0 pinctrl: intel: Set pin direction properly
3a6edbc95ba0 perf/x86/intel/uncore: Fix hardcoded socket 0 assumption in the Haswell init code
b8c5e7b12413 drm/etnaviv: trick drm_mm into giving out a low IOVA
2bc8fcd633d8 Documentation: devicetree: change the mediatek ethernet compatible string
c5c8743642ae kernel/panic.c: add missing \n
00f468f51dd5 ibmveth: Add a proper check for the availability of the checksum features
32bd4d2ed9d8 vxlan: do not age static remote mac entries
b07bf2364605 ip6_tunnel: must reload ipv6h in ip6ip6_tnl_xmit()
7fdc81f6e1a9 virtio_net: fix PAGE_SIZE > 64k
a6c3e01bf32e mlxsw: spectrum_router: Correctly reallocate adjacency entries
ff3b1dd026bb vfio/spapr: fail tce_iommu_attach_group() when iommu_data is null
8895ef4e5357 drm/amdgpu: check ring being ready before using
e5a2ba9af818 net: dsa: Check return value of phy_connect_direct()
c6f284899e01 amd-xgbe: Check xgbe_init() return code
e99d86d76eed platform/x86: ideapad-laptop: handle ACPI event 1
e9a87e0f5bbb iwlwifi: fix kernel crash when unregistering thermal zone
322baf72eed5 scsi: virtio_scsi: Reject commands when virtqueue is broken
5d5c293af834 xen-netfront: Fix Rx stall during network stress and OOM
72191c7d82e7 swiotlb-xen: update dev_addr after swapping pages
884baf2abf6d virtio_console: fix a crash in config_work_handler
c3eab85ff11a Btrfs: fix truncate down when no_holes feature is enabled
e8b5068b64d0 Btrfs: Fix deadlock between direct IO and fast fsync
83571e9ef7c9 gianfar: Do not reuse pages from emergency reserve
c48a862c47d4 objtool: Fix IRET's opcode
251d00bf1309 bpf: don't trigger OOM killer under pressure with map alloc
a7a2a6d34fe7 bnxt_en: Fix "uninitialized variable" bug in TPA code path.
da805bc788b0 xen-netback: protect resource cleaning on XenBus disconnect
7bdccaa5da12 xen-netback: fix memory leaks on XenBus disconnect
5dcd08594276 net: ethtool: Initialize buffer when querying device channel settings
6e315b2b10b6 powerpc/eeh: Enable IO path on permanent error
ea7b808165a5 net: korina: Fix NAPI versus resources freeing
fded17be01ab perf/x86/intel: Handle exclusive threadid correctly on CPU hotplug
3eeb3459b7e6 net: phy: dp83848: add DP83620 PHY support
10c24e89b2b8 drm/amdgpu: add support for new hainan variants
9f2a36a7504c drm/amdgpu: fix program vce instance logic error.
0c9626619777 qla2xxx: Fix erroneous invalid handle message
8cfcaa2899f3 qla2xxx: Terminate exchange if corrupted
42a1d5b47594 scsi: lpfc: Set elsiocb contexts to NULL after freeing it
7782ab228f64 stmmac: add missing of_node_put
ee4494c6bda8 scsi: sd: Fix wrong DPOFUA disable in sd_read_cache_type
80b1a1180e4e KVM: x86: fix fixing of hypercalls
afaee3ef5136 xen/blkback: don't free be structure too early
13fa36f9fbc8 ARM64: dts: meson-gxbb-odroidc2: fix GbE tx link breakage
8bface142a8d dt: bindings: net: use boolean dt properties for eee broken modes
3897ae12b706 net: phy: use boolean dt properties for eee broken modes
40373d91a0f7 net: phy: fix sign type error in genphy_config_eee_advert
752ba680eb70 dt-bindings: net: add EEE capability constants
97ace183074d net: phy: add an option to disable EEE advertisement
0e8eca987e27 net: ethtool: add support for 2500BaseT and 5000BaseT link modes
8886196a7320 sparc64: Zero pages on allocation for mondo and error queues.
41172b772da4 sparc64: Handle PIO & MEM non-resumable errors.
2aa6d036b716 mm: numa: avoid waiting on freed migrated pages
08cb8e5f83fd l2tp: take a reference on sessions used in genetlink handlers
599e6f038777 l2tp: hold session while sending creation notifications
d9face6fc62a l2tp: fix duplicate session creation
806e98835683 l2tp: ensure session can't get removed during pppol2tp_session_ioctl()
6539c4f991c2 l2tp: fix race in l2tp_recv_common()
d2da8d394147 usb: gadget: f_fs: Fix possibe deadlock
ed96148d7f8e x86/mm: Fix boot crash caused by incorrect loop count calculation in sync_global_pgds()
1c0fa383b339 dm thin: do not queue freed thin mapping for next stage processing
466877f2d257 drm/vmwgfx: Free hash table allocated by cmdbuf managed res mgr
78c4244f8bdb gpiolib: fix filtering out unwanted events
cb2c6fdf620f NFSv4.1: Fix a race in nfs4_proc_layoutget
7d0e27fe24c5 ALSA: hda - set input_path bitmap to zero after moving it to new place
093750c3dec4 ALSA: hda - Fix endless loop of codec configure
dad3135e762b MIPS: Fix IRQ tracing & lockdep when rescheduling
e9e24faf823e MIPS: pm-cps: Drop manual cache-line alignment of ready_count
f7d3d40ea124 MIPS: Avoid accidental raw backtrace
3d4ac49a9538 MIPS: head: Reorder instructions missing a delay slot
b1355226a64e mm, swap_cgroup: reschedule when neeed in swap_cgroup_swapoff()
dbc808362b6c drm/ast: Handle configuration without P2A bridge
8dc9f9dede5b xen/blkback: don't use xen_blkif_get() in xen-blkback kthread
4ebe28d23d35 NFSv4.x/callback: Create the callback service through svc_create_pooled
955f270b6f5d NFSv4: fix a reference leak caused WARNING messages
b89bd0c715c1 netfilter: synproxy: fix conntrackd interaction
ced7689be60d netfilter: xt_TCPMSS: add more sanity tests on tcph->doff
8e2316399b8f rtnetlink: add IFLA_GROUP to ifla_policy
b9ca9b0f5510 ipv6: Do not leak throw route references
e4089baa08c4 sfc: provide dummy definitions of vswitch functions
08058c258afb net: 8021q: Fix one possible panic caused by BUG_ON in free_netdev
f1a0e7d172b0 decnet: always not take dst->__refcnt when inserting dst into hash table
c7d422d68fe9 net/mlx5e: Fix timestamping capabilities reporting
25ff35074e27 net/mlx5: Wait for FW readiness before initializing command interface
176b9874a203 net/mlx5e: Avoid doing a cleanup call if the profile doesn't have it
4c246863e7b4 sctp: return next obj by passing pos + 1 into sctp_transport_get_idx
fded2d74a350 ipv6: fix calling in6_ifa_hold incorrectly for dad work
cac2a9bb4034 igmp: add a missing spin_lock_init()
ecd6627f48bd igmp: acquire pmc lock for ip_mc_clear_src()
059686754c18 proc: snmp6: Use correct type in memset
78b24ab695ab net/mlx5e: Fix wrong indications in DIM due to counter wraparound
9854e5865990 net/mlx5e: Added BW check for DIM decision mechanism
57360bc3c7a6 net: tipc: Fix a sleep-in-atomic bug in tipc_msg_reverse
bb566ce3a60e net: caif: Fix a sleep-in-atomic bug in cfpkt_create_pfx
8cda426a7cfa sctp: disable BH in sctp_for_each_endpoint
c6d4ff85722b Fix an intermittent pr_emerg warning about lo becoming free.
bb84290cd296 af_unix: Add sockaddr length checks before accessing sa_family in bind and connect handlers
386ed38f0f28 net: vrf: Make add_fib_rules per network namespace flag
b5cc68e0c190 net: Zero ifla_vf_info in rtnl_fill_vfinfo()
fd9b13e6c175 decnet: dn_rtmsg: Improve input length sanitization in dnrmg_receive_user_skb
d2f459e3feb0 net: don't call strlen on non-terminated string in dev_set_alias()
98184bbb8dae ipv6: release dst on error in ip6_dst_lookup_tail
92905e331aea Linux 4.9.35
855b08e57777 brcmfmac: fix uninitialized warning in brcmf_usb_probe_phase2()
21eaaa76b701 jump label: fix passing kbuild_cflags when checking for asm goto support
ffa96c1a6afe net: phy: fix marvell phy status reading
5da6415e427b spi: double time out tolerance
25c7794ed046 dmaengine: bcm2835: Fix cyclic DMA period splitting
81135c71bde3 net: phy: Initialize mdio clock at probe function
948c4f17ab7e rt2x00: avoid introducing a USB dependency in the rt2x00lib module
225969acc0f1 usb: gadget: f_fs: avoid out of bounds access on comp_desc
5306119473b2 mtd: spi-nor: fix spansion quad enable
dcd015f733a7 of: Add check to of_scan_flat_dt() before accessing initial_boot_params
f20603874211 rxrpc: Fix several cases where a padded len isn't checked in ticket decode
581659a87820 drm/amdgpu: adjust default display clock
217e035d5120 drm/amdgpu/atom: fix ps allocation size for EnableDispPowerGating
e4b8d1e84410 drm/radeon: add a quirk for Toshiba Satellite L20-183
61ea7c2817bd drm/radeon: add a PX quirk for another K53TK variant
3900f24aa6fa iscsi-target: Reject immediate data underflow larger than SCSI transfer length
463440e6de4a iscsi-target: Fix delayed logout processing greater than SECONDS_FOR_LOGOUT_COMP
1f576d53d854 target: Fix kref->refcount underflow in transport_cmd_finish_abort
99f66b5182a4 arm64/vdso: Fix nsec handling for CLOCK_MONOTONIC_RAW
a53bfdda06ac time: Fix CLOCK_MONOTONIC_RAW sub-nanosecond accounting
02a37ccd6347 time: Fix clock->read(clock) race around clocksource changes
c81d034bd09a brcmfmac: unbind all devices upon failure in firmware callback
ba2d8d67875c brcmfmac: use firmware callback upon failure to load
1dd15bd62221 brcmfmac: add parameter to pass error code in firmware callback
20d8f785f974 Input: i8042 - add Fujitsu Lifebook AH544 to notimeout list
8eaa481dfb4c powerpc/64s: Handle data breakpoints in Radix mode
414f51ceb6ff powerpc/kprobes: Pause function_graph tracing during jprobes handling
f719f20abe2a signal: Only reschedule timers on signals timers have sent
99afebe8fef9 HID: Add quirk for Dell PIXART OEM mouse
cdf300d6105d cxgb4: notify uP to route ctrlq compl to rdma rspq
fb6dc831b5cf CIFS: Improve readdir verbosity
2f1527e359f4 KVM: PPC: Book3S HV: Context-switch EBB registers properly
468aa930c0a2 KVM: PPC: Book3S HV: Preserve userspace HTM state properly
df3a787b3a71 KVM: s390: gaccess: fix real-space designation asce handling for gmap shadows
5220378bd91c perf/x86/intel: Add 1G DTLB load/store miss support for SKL
7c679fe729c2 lib/cmdline.c: fix get_options() overflow while parsing ranges
bc6eecff3d95 autofs: sanity check status reported with AUTOFS_DEV_IOCTL_FAIL
4b660fcbc64e powerpc/perf: Fix oops when kthread execs user process
3d6848e491df fs/exec.c: account for argv/envp pointers
552a14a572a2 ALSA: pcm: Don't treat NULL chmap as a fatal error
8c9c55a0f576 ALSA: firewire-lib: Fix stall of process context at packet error
4ae2cb91a636 xen-blkback: don't leak stack data via response ring
e5c49c1703ae xen/blkback: fix disconnect while I/Os in flight
0e051f17bd04 clk: sunxi-ng: a31: Correct lcd1-ch1 clock register offset
493ecd5cd73e Linux 4.9.34
ce7fe8595902 mm: fix new crash in unmapped_area_topdown()
5d10ad629726 Allow stack to grow up to address space limit
cfc0eb403816 mm: larger stack guard gap, between vmas
04651048c79a alarmtimer: Rate limit periodic intervals
b355b899c74a crypto: Work around deallocated stack frame reference gcc bug on sparc.
7dfe7ca9ec12 vTPM: Fix missing NULL check
ecae47331a43 MIPS: .its targets depend on vmlinux
6b706cbb16e9 MIPS: Fix bnezc/jialc return address calculation
22921a9e232a usb: dwc3: exynos fix axius clock error path to do cleanup
f0ee203c864f usb: gadget: composite: Fix function used to free memory
8ee7f06f4dca alarmtimer: Prevent overflow of relative timers
766283254b67 genirq: Release resources in __setup_irq() error path
8a48b7eace4d sched/core: Idle_task_exit() shouldn't use switch_mm_irqs_off()
cf6ac3abb323 iio: imu: inv_mpu6050: add accel lpf setting for chip >= MPU6500
f7ae7d2229d2 swap: cond_resched in swap_cgroup_prepare()
1419b8752153 mm/memory-failure.c: use compound_head() flags for huge pages
0c0d3d8730db USB: gadgetfs, dummy-hcd, net2280: fix locking for callbacks
3ff5f4f6a8a7 USB: gadget: fix GPF in gadgetfs
06178662474c usb: xhci: ASMedia ASM1042A chipset need shorts TX quirk
4581d7dd44f3 usb: xhci: Fix USB 3.1 supported protocol parsing
2abac4084fb9 drivers/misc/c2port/c2port-duramar2150.c: checking for NULL instead of IS_ERR()
f28ba80c6a3e misc: mic: double free on ioctl error path
02d009e865a8 ath10k: fix napi crash during rmmod when probe firmware fails
07612c1227e8 usb: r8a66597-hcd: decrease timeout
f75f4d196ab5 usb: r8a66597-hcd: select a different endpoint on timeout
c8091f0e8549 USB: gadget: dummy_hcd: fix hub-descriptor removable fields
374aceef5912 pvrusb2: reduce stack usage pvr2_eeprom_analyze()
9ae5dac225e2 USB: usbip: fix nonconforming hub descriptor
7b5bce3a5128 usb: core: fix potential memory leak in error path during hcd creation
12bfbe157d06 USB: hub: fix SS max number of ports
cb53a4e03b2f usb: gadget: udc: renesas_usb3: lock for PN_ registers access
dd65c0958b77 usb: gadget: udc: renesas_usb3: fix deadlock by spinlock
723bd3b9f83f usb: gadget: udc: renesas_usb3: fix pm_runtime functions calling
b51e4b0ac661 IB/mlx5: Fix kernel to user leak prevention logic
dca02651cee7 iio: adc: ti_am335x_adc: allocating too much in probe
cf308c15103e iio: proximity: as3935: recalibrate RCO after resume
56251d138570 iio: st_pressure: Fix data sign
a1d51f7abf71 staging: iio: tsl2x7x_core: Fix standard deviation calculation
773fdcdc0957 staging: rtl8188eu: prevent an underflow in rtw_check_beacon_data()
ed13a9c6464b mfd: omap-usb-tll: Fix inverted bit use for USB TLL mode
caa6f1c7bcbe x86/mm/32: Set the '__vmalloc_start_set' flag in initmem_init()
ad3faea03fdf serial: sh-sci: Fix late enablement of AUTORTS
a50aacf5de52 serial: efm32: Fix parity management in 'efm32_uart_console_get_options()'
879d61f218a9 drm/vc4: Fix OOPSes from trying to cache a partially constructed BO.
5899b635ecc7 drm/mediatek: fix mtk_hdmi_setup_vendor_specific_infoframe mistake
5b754c994f38 mac80211: don't send SMPS action frame in AP mode when not needed
3e8c503d0a16 mac80211: fix dropped counter in multiqueue RX
6568f8f70152 mac80211: strictly check mesh address extension mode
c8143269c9c4 mac80211: fix IBSS presp allocation size
841e4e775bb1 mac80211: fix packet statistics for fast-RX
f79d740f3289 mac80211: fix CSA in IBSS mode
bd3f89002e52 usb: musb: dsps: keep VBUS on for host-only mode
a317afc0c1ce drm/i915: Fix GVT-g PVINFO version compatibility check
7f7bb1173db8 drm/amdgpu: Fix overflow of watermark calcs at > 4k resolutions.
f6e99a2efc03 mac80211/wpa: use constant time memory comparison for MACs
2ec5b68bf62e mac80211: don't look at the PM bit of BAR frames
63d34ea7042a vb2: Fix an off by one error in 'vb2_plane_vaddr'
5d5605cc5833 cpufreq: conservative: Allow down_threshold to take values from 1 to 10
47537bceb7b7 ila_xlat: add missing hash secret initialization
95f47cd7d7d8 can: gs_usb: fix memory leak in gs_cmd_reset()
a6d6282040b7 configfs: Fix race between create_link and configfs_rmdir
222aa34e5d79 fs: pass on flags in compat_writev
050639ef5810 Linux 4.9.33
bdc9a03fd9ce sparc64: make string buffers large enough
933b9b11f7ca drm/i915: Always recompute watermarks when distrust_bios_wm is set, v2.
4f59a7a895c4 drm/i915: Workaround VLV/CHV DSI scanline counter hardware fail
8e1a4006ff92 s390/kvm: do not rely on the ILC on kvm host protection fauls
a2f68276822c xtensa: don't use linux IRQ #0
57211e84dda0 RDMA/qedr: Return max inline data in QP query result
c5ea7aa57e24 RDMA/qedr: Don't spam dmesg if QP is in error state
13a87589af5f RDMA/qedr: Don't reset QP when queues aren't flushed
bbf61096e42c RDMA/qedr: Fix and simplify memory leak in PD alloc
a4fa249385b6 RDMA/qedr: Dispatch port active event from qedr_add
c47538f61016 netfilter: nft_log: restrict the log prefix length to 127
fefdd79403e8 netfilter: nf_tables: fix set->nelems counting with no NLM_F_EXCL
f68a45776a62 tipc: fix nametbl_lock soft lockup at node/link events
1d6e36d730ed tipc: add subscription refcount to avoid invalid delete
9f8df4f86a3f tipc: fix connection refcount error
c7a552e771cc tipc: ignore requests when the connection state is not CONNECTED
2552e2c11575 ARCv2: smp-boot: wake_flag polling by non-Masters needs to be uncached
8cb6045ec40d ARC: smp-boot: Decouple Non masters waiting API from jump to entry point
ae36f6a65af6 vhost/vsock: handle vhost_vq_init_access() error
b13b3b706a9d kernel/watchdog: prevent false hardlockup on overloaded system
0ce66ee6aec1 kernel/watchdog.c: move shared definitions to nmi.h
b969a240448b kernel/watchdog.c: move hardlockup detector to separate file
dbd9eee1aaaf userfaultfd: fix SIGBUS resulting from false rwsem wakeups
9618fba26499 proc: add a schedule point in proc_pid_readdir()
e23b1c05a50f frv: add missing atomic64 operations
918684681dc2 frv: add atomic64_add_unless()
013bbbc3e902 romfs: use different way to generate fsid for BLOCK or MTD
093d494c6d1d mn10300: fix build error of missing fpu_save()
5e4cafca06bf usb: musb: Fix external abort on non-linefetch for musb_irq_work()
fb72eca1333c sctp: sctp_addr_id2transport should verify the addr before looking up assoc
bf812fe92683 sctp: sctp gso should set feature with NETIF_F_SG when calling skb_segment
12a583ddf02a bnxt_en: Fix RTNL lock usage on bnxt_get_port_module_status().
66deb409251c bnxt_en: Fix RTNL lock usage on bnxt_update_link().
e89ffe41e9a6 bnxt_en: Enhance autoneg support.
710ea9b028de bnxt_en: Fix bnxt_reset() in the slow path task.
cb7188295d18 net-next: ethernet: mediatek: change the compatible string
e9ace99c4bb0 r8152: avoid start_xmit to schedule napi when napi is disabled
c1a7106b3b01 r8152: fix rtl8152_post_reset function
9507910ca46d r8152: re-schedule napi for tx
4242f0bce47e r8152: check rx after napi is enabled
993ba7ffcf6e r8152: avoid start_xmit to call napi_schedule during autosuspend
6149abe7f404 nvmet-rdma: Fix missing dma sync to nvme data structures
5a0d41409b4d nfs: Fix "Don't increment lock sequence ID after NFS4ERR_MOVED"
d16268259683 ravb: unmap descriptors when freeing rings
47c362f147aa drm/ast: Fixed system hanged if disable P2A
bfa4d2e461da drm/nouveau: Fix drm poll_helper handling
c94e2edacea7 drm/nouveau: Don't enabling polling twice on runtime resume
c7a29cf6c34a drm/nouveau: Handle fbcon suspend/resume in seperate worker
d2beb1a9dd82 drm/nouveau: Rename acpi_work to hpd_work
ef66745a1bd2 drm/nouveau: Intercept ACPI_VIDEO_NOTIFY_PROBE
eb846414674c gtp: add genl family modules alias
7dddbfcd96e2 net: phy: micrel: add support for KSZ8795
2f970b437e86 parisc, parport_gsc: Fixes for printk continuation lines
4038524f7fef net/mlx5: Return EOPNOTSUPP when failing to get steering name-space
b445ecbdff83 net/mlx5: E-Switch, Err when retrieving steering name-space fails
2bcbe747629e drm/i915: Check for NULL i915_vma in intel_unpin_fb_obj()
e6549f36278c net: adaptec: starfire: add checks for dma mapping errors
a15bbf44ab2f pinctrl: berlin-bg4ct: fix the value for "sd1a" of pin SCRD0_CRD_PRES
326fdffd7078 drm: Don't race connector registration
82b6693bd415 drm: prevent double-(un)registration for connectors
d934fe02ba17 cec: fix wrong last_la determination
62614714e30a pinctrl: baytrail: Rectify debounce support (part 2)
3564d41e5c84 gianfar: synchronize DMA API usage by free_skb_rx_queue w/ gfar_new_page
581e4003bf12 net/mlx4_core: Avoid command timeouts during VF driver device shutdown
c33f1bd7f289 drm/nouveau/fence/g84-: protect against concurrent access to semaphore buffers
cf336eea809d drm/nouveau: prevent userspace from deleting client object
16f733d8db52 ipv6: fix flow labels when the traffic class is non-0
0542f9791246 FS-Cache: Initialise stores_lock in netfs cookie
34f1a4626bad fscache: Clear outstanding writes when disabling a cookie
11696dcea282 fscache: Fix dead object requeue
f4d2d05ffb8b net: fix ndo_features_check/ndo_fix_features comment ordering
3a6ebd3f963c net: phy: Fix PHY module checks and NULL deref in phy_attach_direct()
ea14fabd43a5 net: phy: Fix lack of reference count on PHY driver
2fba4f5b70f3 ethtool: do not vzalloc(0) on registers dump
8de6ea44af5c log2: make order_base_2() behave correctly on const input value zero
5331baaeb7e6 kasan: respect /proc/sys/kernel/traceoff_on_warning
8936b74fd339 shmem: fix sleeping from atomic context
3ec4141c68de jump label: pass kbuild_cflags when checking for asm goto support
36d9659cde0d PM / runtime: Avoid false-positive warnings from might_sleep_if()
40f6d71c0a09 ARM: defconfigs: make NF_CT_PROTO_SCTP and NF_CT_PROTO_UDPLITE built-in
1cadd394bbf9 ipv6: Fix IPv6 packet loss in scenarios involving roaming + snooping switches
d536202202ee vfio/spapr_tce: Set window when adding additional groups to container
d385ed7ad307 ipv6: addrconf: fix generation of new temporary addresses
d7b2b380c08d net: thunderx: Fix PHY autoneg for SGMII QLM mode
baaa84b43608 kernel/ucount.c: mark user_header with kmemleak_ignore()
c419fe260b54 powerpc/powernv: Properly set "host-ipi" on IPIs
47a5aabc3424 i2c: piix4: Fix request_region size
c1a4306f24a0 i2c: piix4: Request the SMBUS semaphore inside the mutex
7a6fcf38fabb sierra_net: Add support for IPv6 and Dual-Stack Link Sense Indications
9217eeefee15 sierra_net: Skip validating irrelevant fields for IDLE LSIs
bed8b8627a33 net: hns: Fix the device being used for dma mapping during TX
008798746e6e NET: mkiss: Fix panic
ae0b63eb344e ibmvnic: Initialize completion variables before starting work
4544ba3173b7 ibmvnic: Call napi_disable instead of napi_enable in failure path
74e24d1ea1a4 NET: Fix /proc/net/arp for AX.25
2557969fb4f7 gfs2: Use rhashtable walk interface in glock_hash_walk
44bc7cae6031 tipc: Fix tipc_sk_reinit race conditions
cb351da6f2ba ipv6: Inhibit IPv4-mapped src address on the wire.
12ec2560d467 ipv6: Handle IPv4-mapped src to in6addr_any dst.
116589a5a7e0 tcp: tcp_probe: use spin_lock_bh()
a2901d01a6c7 net: xilinx_emaclite: fix receive buffer overflow
bff3001afae7 net: xilinx_emaclite: fix freezes due to unordered I/O
65e72723add0 ibmvnic: Fix endian error when requesting device capabilities
b5a1aa812a16 ibmvnic: Fix endian errors in error reporting output
d864e675c789 netfilter: nf_conntrack_sip: fix wrong memory initialisation
220b67a16fde partitions/msdos: FreeBSD UFS2 file systems are not recognized
7a7b2d5f65a7 drm/i915: Prevent the system suspend complete optimization
b372d35a5226 PCI/PM: Add needs_resume flag to avoid suspend complete optimization
05afd4c0af6a Linux 4.9.32
3eb235a1af14 netfilter: nft_set_rbtree: handle element re-addition after deletion
a8fc3159ee2c cpufreq: schedutil: Fix per-CPU structure initialization in sugov_start()
afe8d4a51c76 cpufreq: schedutil: move cached_raw_freq to struct sugov_policy
09fcb3561d9e drm/i915/vbt: split out defaults that are set when there is no VBT
555c443a1ab9 drm/i915/vbt: don't propagate errors from intel_bios_init()
a6a7d8ade88c usercopy: Adjust tests to deal with SMAP/PAN
eefa5e13dff9 ARM: 8637/1: Adjust memory boundaries after reservations
1df21f45fd55 ARM: 8636/1: Cleanup sanity_check_meminfo
9e09d90ac5ac arm64: entry: improve data abort handling of tagged pointers
1d61ccb5ac27 arm64: hw_breakpoint: fix watchpoint matching for tagged pointers
791d94ef40f6 arm64: traps: fix userspace cache maintenance emulation on a tagged pointer
d95202487334 serial: sh-sci: Fix panic when serial console and DMA are enabled
9ff4a1a36a58 drivers: char: mem: Fix wraparound check to allow mappings up to the end
106c77e82572 cpu/hotplug: Drop the device lock on error
eb8fa317cb01 ASoC: Fix use-after-free at card unregistration
82ecd2f054bd ALSA: timer: Fix missing queue indices reset at SNDRV_TIMER_IOCTL_SELECT
66e982d8f1a1 ALSA: timer: Fix race between read and ioctl
aae14f569f5d drm/nouveau/tmr: fully separate alarm execution/pending lists
7860d0e5e2bf drm/vmwgfx: Make sure backup_handle is always valid
a76ff847013a drm/vmwgfx: limit the number of mip levels in vmw_gb_surface_define_ioctl()
64c21af51d71 drm/vmwgfx: Handle vmalloc() failure in vmw_local_fifo_reserve()
3743c0e1276d perf/core: Drop kernel samples even though :u is specified
6e6d89e18e53 powerpc/kernel: Initialize load_tm on task creation
2cfdf4fd3292 powerpc/kernel: Fix FP and vector register restoration
cbf687acc1e1 powerpc/hotplug-mem: Fix missing endian conversion of aa_index
b4624ff952ec powerpc/numa: Fix percpu allocations to be NUMA aware
bb0a300f18ce powerpc/sysdev/simple_gpio: Fix oops in gpio save_regs function
59d9a40b5839 scsi: qla2xxx: Fix mailbox pointer error in fwdump capture
64dc431432ec scsi: qla2xxx: Set bit 15 for DIAG_ECHO_TEST MBC
ab2b484e8038 scsi: qla2xxx: Modify T262 FW dump template to specify same start/end to debug customer issues
fe42472e53eb scsi: qla2xxx: don't disable a not previously enabled PCI device
f75e09ebd3e4 KVM: arm/arm64: Handle possible NULL stage2 pud when ageing pages
66d6448475c6 btrfs: fix memory leak in update_space_info failure path
4d15ab90ec2b btrfs: use correct types for page indices in btrfs_page_exists_in_range
3fd1233dabd5 cxl: Avoid double free_irq() for psl,slice interrupts
172c70d1cd82 cxl: Fix error path on bad ioctl
84bef90a454f ufs_getfrag_block(): we only grab ->truncate_mutex on block creation path
3d4922b5bb5b ufs_extend_tail(): fix the braino in calling conventions of ufs_new_fragments()
55a00f816bd7 ufs: set correct ->s_maxsize
aed005fb7956 ufs: restore maintaining ->i_blocks
bf7bfef3eee3 fix ufs_isblockset()
4896c87d2464 ufs: restore proper tail allocation
61604a2626a3 fs: add i_blocksize()
829a1cab22c4 cpuset: consider dying css as offline
5aa8f833ca78 Input: elantech - add Fujitsu Lifebook E546/E557 to force crc_enabled
dff4c8bb1397 cgroup: Prevent kill_css() from being called more than once
b59ec7072c84 ahci: Acer SA5-271 SSD Not Detected Fix
b3a42bb630bd drm/msm: Expose our reservation object when exporting a dmabuf.
974a4eb16e84 target: Re-add check to reject control WRITEs with overflow data
96d7b43b42ba cpufreq: cpufreq_register_driver() should return -ENODEV if init fails
acd8f9173960 mei: make sysfs modalias format similar as uevent modalias
716dd37398ad iio: proximity: as3935: fix iio_trigger_poll issue
bad3b49b01aa iio: proximity: as3935: fix AS3935_INT mask
8067c911c5e9 iio: light: ltr501 Fix interchanged als/ps register field
e33679f994db iio: adc: bcm_iproc_adc: swap primary and secondary isr handler's
c5a8004434f0 staging/lustre/lov: remove set_fs() call from lov_getstripe()
5404b0c0ea85 usb: chipidea: debug: check before accessing ci_role
59db536f5812 usb: chipidea: udc: fix NULL pointer dereference if udc_start failed
405ac24a0aec usb: gadget: f_mass_storage: Serialize wake and sleep execution
1308eeec2fc5 drm: Fix oops + Xserver hang when unplugging USB drm devices
c404f0dee7a8 ext4: fix fdatasync(2) after extent manipulation operations
2e16921d1743 ext4: fix data corruption with EXT4_GET_BLOCKS_ZERO
9890b9cb75c9 ext4: keep existing extra fields when inode expands
9850844e0a0e ext4: fix SEEK_HOLE
9636c086532b xen/privcmd: Support correctly 64KB page granularity when mapping memory
08229c119c42 cfq-iosched: fix the delay of cfq_group's vdisktime under iops mode
1f67d28d2707 dmaengine: mv_xor_v2: set DMA mask to 40 bits
eb5afaba6177 dmaengine: mv_xor_v2: remove interrupt coalescing
b2c8bb06bc83 dmaengine: mv_xor_v2: fix tx_submit() implementation
0d0918504a96 dmaengine: mv_xor_v2: enable XOR engine after its configuration
e2a092eab8a5 dmaengine: mv_xor_v2: do not use descriptors not acked by async_tx
67b1684c4a5e dmaengine: mv_xor_v2: properly handle wrapping in the array of HW descriptors
f08c84d4c745 dmaengine: mv_xor_v2: handle mv_xor_v2_prep_sw_desc() error properly
f2e9d10bf1a2 dmaengine: ep93xx: Don't drain the transfers in terminate_all()
b7e7a4d52a95 dmaengine: ep93xx: Always start from BASE0
cd0ef520aa70 dmaengine: usb-dmac: Fix DMAOR AE bit definition
3e7a76b290f1 KVM: arm/arm64: vgic-v2: Do not use Active+Pending state for a HW interrupt
2a5c08a4d3fe KVM: arm/arm64: vgic-v3: Do not use Active+Pending state for a HW interrupt
81555e45852a KVM: async_pf: avoid async pf injection when in guest mode
85c19308cb37 arm: KVM: Allow unaligned accesses at HYP
8abce1e49c82 arm64: KVM: Allow unaligned accesses at EL2
b9824dd75fcf arm64: KVM: Preserve RES1 bits in SCTLR_EL2
19c9a115085e KVM: cpuid: Fix read/write out-of-bounds vulnerability in cpuid emulation
78f87ce2a17f kvm: async_pf: fix rcu_irq_enter() with irqs enabled
4809f0e56d98 efi: Don't issue error message when booted under Xen
e273ed246617 nfsd: Fix up the "supattr_exclcreat" attributes
bfeac838043f nfsd4: fix null dereference on replay
34bae9b3ba98 drm/amdgpu/ci: disable mclk switching for high refresh rates (v2)
d4783eb9f082 crypto: gcm - wait for crypto op not signal safe
2d0280070e6c crypto: drbg - wait for crypto op not signal safe
d24c1c1977d8 KEYS: encrypted: avoid encrypting/decrypting stack buffers
24369761029a KEYS: fix freeing uninitialized memory in key_update()
1b253e023f8f KEYS: fix dereferencing NULL payload with nonzero length
0e479742e8d1 crypto: asymmetric_keys - handle EBUSY due to backlog correctly
7c24a70c70b7 ptrace: Properly initialize ptracer_cred on fork
3802abc6e0df serial: ifx6x60: fix use-after-free on module unload
04ac452dadbf arch/sparc: support NR_CPUS = 4096
433a50e681df sparc64: delete old wrap code
b6bb22de0c9e sparc64: new context wrap
975f3cdc3915 sparc64: add per-cpu mm of secondary contexts
7932bfad0e82 sparc64: redefine first version
65e3443b61a8 sparc64: combine activate_mm and switch_mm
e7590a1b15c8 sparc64: reset mm cpumask after wrap
b3ad7a3e57b3 sparc: Machine description indices can vary
8d665e039e66 sparc64: mm: fix copy_tsb to correctly copy huge page TSBs
4b684e6474d0 sparc64: Add __multi3 for gcc 7.x and later.
0255284edddc net: bridge: start hello timer only if device is up
3dd4daf112fd net: stmmac: fix completely hung TX when using TSO
a83564d12863 net: ethoc: enable NAPI before poll may be scheduled
a97f807363d4 net/ipv6: Fix CALIPSO causing GPF with datagram support
0aa89f1b07de net: ping: do not abuse udp_poll()
599a4478d8cb ipv6: Fix leak in ipv6_gso_segment().
c242e1a8140e vxlan: fix use-after-free on deletion
3ee35b96825e tcp: disallow cwnd undo when switching congestion control
61c92d5a533c cxgb4: avoid enabling napi twice to the same queue
abbcb731d69c ipv6: xfrm: Handle errors reported by xfrm6_find_1stfragopt()
b5e9b7ad0dd4 vxlan: eliminate cached dst leak
96d145216b58 bnx2x: Fix Multi-Cos
(From OE-Core rev: d9d950bd48566e5a2e92ad4a2fd943ad828fb8df)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable commit with the following changes:
4282d39575bf Linux 4.4.76
be8c39b47061 KVM: nVMX: Fix exception injection
77d977dd78b3 KVM: x86: zero base3 of unusable segments
3b1609f6c436 KVM: x86/vPMU: fix undefined shift in intel_pmu_refresh()
b9b3eb5c774e KVM: x86: fix emulation of RSM and IRET instructions
3491a0b59fcd cpufreq: s3c2416: double free on driver init error path
aad7041e721e iommu/amd: Fix incorrect error handling in amd_iommu_bind_pasid()
48952c6d517a iommu: Handle default domain attach failure
3de9630abe3b iommu/vt-d: Don't over-free page table directories
404ef3b4bf62 ocfs2: o2hb: revert hb threshold to keep compatible
5d650fcef901 x86/mm: Fix flush_tlb_page() on Xen
6fb3b322307e x86/mpx: Correctly report do_mpx_bt_fault() failures to user-space
7cd8c4903171 ARM: 8685/1: ensure memblock-limit is pmd-aligned
d4960d58158b ARM64/ACPI: Fix BAD_MADT_GICC_ENTRY() macro implementation
6ca11db55f62 sched/loadavg: Avoid loadavg spikes caused by delayed NO_HZ accounting
f6115ec09225 watchdog: bcm281xx: Fix use of uninitialized spinlock.
f99737ce2e56 xfrm: Oops on error in pfkey_msg2xfrm_state()
ac78351c96e8 xfrm: NULL dereference on allocation failure
398ac7a19f17 xfrm: fix stack access out of bounds with CONFIG_XFRM_SUB_POLICY
736b342cc9b4 jump label: fix passing kbuild_cflags when checking for asm goto support
53ae0c2ffef7 ravb: Fix use-after-free on `ifconfig eth0 down`
db1323b77c2b sctp: check af before verify address in sctp_addr_id2transport
d521e9c384f9 net/mlx4_core: Eliminate warning messages for SRQ_LIMIT under SRIOV
9837392c2b3e perf probe: Fix to show correct locations for events on modules
0593fa8f34a2 be2net: fix status check in be_cmd_pmac_add()
5416a88c2fef s390/ctl_reg: make __ctl_load a full memory barrier
9a536d587246 swiotlb: ensure that page-sized mappings are page-aligned
878f37efac3e coredump: Ensure proper size of sparse core files
c20bdc08af9b x86/mpx: Use compatible types in comparison to fix sparse error
14339b018bc2 mac80211: initialize SMPS field in HT capabilities
11dd9e2c4803 spi: davinci: use dma_mapping_error()
be91b09750bf scsi: lpfc: avoid double free of resource identifiers
4ac60b20f703 HID: i2c-hid: Add sleep between POWER ON and RESET
70f41003b9d1 kernel/panic.c: add missing \n
e4272ebefc83 ibmveth: Add a proper check for the availability of the checksum features
8fa301abb31a vxlan: do not age static remote mac entries
00e83abf8e62 virtio_net: fix PAGE_SIZE > 64k
c64f4194a65b vfio/spapr: fail tce_iommu_attach_group() when iommu_data is null
d3be5e0471ab drm/amdgpu: check ring being ready before using
58a766c460b1 net: dsa: Check return value of phy_connect_direct()
3d2cbbcbde3d amd-xgbe: Check xgbe_init() return code
dac30e3dbd72 platform/x86: ideapad-laptop: handle ACPI event 1
666c821b0ae3 scsi: virtio_scsi: Reject commands when virtqueue is broken
230fe9c7d814 xen-netfront: Fix Rx stall during network stress and OOM
8df98ff6c394 swiotlb-xen: update dev_addr after swapping pages
23c7f01691a1 virtio_console: fix a crash in config_work_handler
6e1116a0b3e2 Btrfs: fix truncate down when no_holes feature is enabled
961efcd54e5b gianfar: Do not reuse pages from emergency reserve
477a2359c881 powerpc/eeh: Enable IO path on permanent error
e1db592de735 net: bgmac: Remove superflous netif_carrier_on()
e66647f0e1ff net: bgmac: Start transmit queue in bgmac_open
f01babed64e6 net: bgmac: Fix SOF bit checking
992048f8ae84 bgmac: Fix reversed test of build_skb() return value.
ebfa83ab5a53 mtd: bcm47xxpart: don't fail because of bit-flips
1124701061d8 bgmac: fix a missing check for build_skb
11e4bb957f1a mtd: bcm47xxpart: limit scanned flash area on BCM47XX (MIPS) only
e025a30dd8b0 MIPS: ralink: fix MT7628 wled_an pinmux gpio
cd1fe5c31e91 MIPS: ralink: fix MT7628 pinmux typos
c9336bbdd924 MIPS: ralink: Fix invalid assignment of SoC type
ad310161f513 MIPS: ralink: fix USB frequency scaling
9a23a35a4fc6 MIPS: ralink: MT7688 pinmux fixes
e1688f1677e6 net: korina: Fix NAPI versus resources freeing
ef0cb4c9d496 MIPS: ath79: fix regression in PCI window initialization
753be27f77eb net: mvneta: Fix for_each_present_cpu usage
0012ba253767 ARM: dts: BCM5301X: Correct GIC_PPI interrupt flags
50e18570d8ea qla2xxx: Fix erroneous invalid handle message
8c721e38055a scsi: lpfc: Set elsiocb contexts to NULL after freeing it
5c982bac211c scsi: sd: Fix wrong DPOFUA disable in sd_read_cache_type
b92f9f6a2c09 KVM: x86: fix fixing of hypercalls
cdbf92675fad mm: numa: avoid waiting on freed migrated pages
21d7c733251a block: fix module reference leak on put_disk() call for cgroups throttle
2449a71eb982 sysctl: enable strict writes
1e0f216195a6 usb: gadget: f_fs: Fix possibe deadlock
04686ab28a35 drm/vmwgfx: Free hash table allocated by cmdbuf managed res mgr
c70e2006d06a ALSA: hda - set input_path bitmap to zero after moving it to new place
11327be3570e ALSA: hda - Fix endless loop of codec configure
db60a2ec9acc MIPS: Fix IRQ tracing & lockdep when rescheduling
93206654a0b2 MIPS: pm-cps: Drop manual cache-line alignment of ready_count
cb611ead80a2 MIPS: Avoid accidental raw backtrace
74de12dbfa7c mm, swap_cgroup: reschedule when neeed in swap_cgroup_swapoff()
a9e5044b6804 drm/ast: Handle configuration without P2A bridge
542442710021 NFSv4: fix a reference leak caused WARNING messages
e052be55a598 netfilter: synproxy: fix conntrackd interaction
234e649840d1 netfilter: xt_TCPMSS: add more sanity tests on tcph->doff
095a41128cb6 rtnetlink: add IFLA_GROUP to ifla_policy
640a09c64ec6 ipv6: Do not leak throw route references
9de17701a3bc sfc: provide dummy definitions of vswitch functions
1f8bb6053249 net: 8021q: Fix one possible panic caused by BUG_ON in free_netdev
f50f2e0cb1a3 decnet: always not take dst->__refcnt when inserting dst into hash table
93911697a9f2 net/mlx5: Wait for FW readiness before initializing command interface
0d1effe95ebe ipv6: fix calling in6_ifa_hold incorrectly for dad work
4feb6121aa5e igmp: add a missing spin_lock_init()
ee8d5f9fd17e igmp: acquire pmc lock for ip_mc_clear_src()
7de53eed6fda net: caif: Fix a sleep-in-atomic bug in cfpkt_create_pfx
030a77d2f904 Fix an intermittent pr_emerg warning about lo becoming free.
0fc0fad07722 af_unix: Add sockaddr length checks before accessing sa_family in bind and connect handlers
e2c3ee003280 net: Zero ifla_vf_info in rtnl_fill_vfinfo()
dedb088a1d18 decnet: dn_rtmsg: Improve input length sanitization in dnrmg_receive_user_skb
e79948e2d90b net: don't call strlen on non-terminated string in dev_set_alias()
d68a4e380ff5 ipv6: release dst on error in ip6_dst_lookup_tail
6ee496d7218a Linux 4.4.75
cb7be08dee4e nvme: apply DELAY_BEFORE_CHK_RDY quirk at probe time too
bddc80274a12 nvme/quirk: Add a delay before checking for adapter readiness
e5f87c733842 net: phy: fix marvell phy status reading
9b54821d5184 net: phy: Initialize mdio clock at probe function
889caad4fbe4 usb: gadget: f_fs: avoid out of bounds access on comp_desc
db7130d63fd8 powerpc/slb: Force a full SLB flush when we insert for a bad EA
8fcb215c5426 mtd: spi-nor: fix spansion quad enable
7dfea167fc1d of: Add check to of_scan_flat_dt() before accessing initial_boot_params
eab38dfd66d7 rxrpc: Fix several cases where a padded len isn't checked in ticket decode
800d7454e50f USB: usbip: fix nonconforming hub descriptor
525e496a9722 drm/amdgpu: adjust default display clock
526527847355 drm/amdgpu/atom: fix ps allocation size for EnableDispPowerGating
4f3d0f468552 drm/radeon: add a quirk for Toshiba Satellite L20-183
f8242fa8119b drm/radeon: add a PX quirk for another K53TK variant
fe8003da6113 iscsi-target: Reject immediate data underflow larger than SCSI transfer length
d374be75f4c7 target: Fix kref->refcount underflow in transport_cmd_finish_abort
1fecf3977def time: Fix clock->read(clock) race around clocksource changes
255ad85b5ecc Input: i8042 - add Fujitsu Lifebook AH544 to notimeout list
3ee9033e228d powerpc/kprobes: Pause function_graph tracing during jprobes handling
bc7b3e9984a8 signal: Only reschedule timers on signals timers have sent
005253ffe4ad HID: Add quirk for Dell PIXART OEM mouse
63ba840a53d6 CIFS: Improve readdir verbosity
824b9506e4f2 KVM: PPC: Book3S HV: Preserve userspace HTM state properly
7b88f761929e lib/cmdline.c: fix get_options() overflow while parsing ranges
b95aa98e77d7 autofs: sanity check status reported with AUTOFS_DEV_IOCTL_FAIL
1d3d0f8b7cf7 fs/exec.c: account for argv/envp pointers
22da7ca81a3a Linux 4.4.74
1f2284fac218 mm: fix new crash in unmapped_area_topdown()
f41512c6acb7 Allow stack to grow up to address space limit
4b359430674c mm: larger stack guard gap, between vmas
26605a06dd92 alarmtimer: Rate limit periodic intervals
c24159adf222 MIPS: Fix bnezc/jialc return address calculation
94695386c79c usb: dwc3: exynos fix axius clock error path to do cleanup
aac7fa215e8f alarmtimer: Prevent overflow of relative timers
4d4d501cd707 genirq: Release resources in __setup_irq() error path
6af90091b610 swap: cond_resched in swap_cgroup_prepare()
bfbd244c5f18 mm/memory-failure.c: use compound_head() flags for huge pages
f5dc61753d0e USB: gadgetfs, dummy-hcd, net2280: fix locking for callbacks
89c15994a06d usb: xhci: ASMedia ASM1042A chipset need shorts TX quirk
5efd37fe7218 drivers/misc/c2port/c2port-duramar2150.c: checking for NULL instead of IS_ERR()
ab29b21a47ae usb: r8a66597-hcd: decrease timeout
4c7a6dd205cc usb: r8a66597-hcd: select a different endpoint on timeout
42c8b4b5fdca USB: gadget: dummy_hcd: fix hub-descriptor removable fields
dc6ecba3f6c1 pvrusb2: reduce stack usage pvr2_eeprom_analyze()
e33e866d1593 usb: core: fix potential memory leak in error path during hcd creation
ec443ee0c2aa USB: hub: fix SS max number of ports
7e2ad8b207f2 iio: proximity: as3935: recalibrate RCO after resume
0c967139e832 staging: rtl8188eu: prevent an underflow in rtw_check_beacon_data()
e59d91144545 mfd: omap-usb-tll: Fix inverted bit use for USB TLL mode
93d022e25642 x86/mm/32: Set the '__vmalloc_start_set' flag in initmem_init()
c79aab7007d8 serial: efm32: Fix parity management in 'efm32_uart_console_get_options()'
daebcf9871eb mac80211: fix IBSS presp allocation size
bb8428f4c954 mac80211: fix CSA in IBSS mode
5f1f39023c2a mac80211/wpa: use constant time memory comparison for MACs
156f00663af6 mac80211: don't look at the PM bit of BAR frames
a8686c968fe3 vb2: Fix an off by one error in 'vb2_plane_vaddr'
fa90f02d511d cpufreq: conservative: Allow down_threshold to take values from 1 to 10
58ab7a86cdc2 can: gs_usb: fix memory leak in gs_cmd_reset()
0ad134d81c07 configfs: Fix race between create_link and configfs_rmdir
1bd30958ec55 Linux 4.4.73
39e84dcd7876 sparc64: make string buffers large enough
d80aa84235ff s390/kvm: do not rely on the ILC on kvm host protection fauls
afb415f72daa xtensa: don't use linux IRQ #0
8b1aa2679812 tipc: ignore requests when the connection state is not CONNECTED
77d2b8dc9597 proc: add a schedule point in proc_pid_readdir()
202776694c2a romfs: use different way to generate fsid for BLOCK or MTD
50ef0e2e9abe sctp: sctp_addr_id2transport should verify the addr before looking up assoc
70752628521d r8152: avoid start_xmit to schedule napi when napi is disabled
5270bf63719c r8152: fix rtl8152_post_reset function
a4877e5564a5 r8152: re-schedule napi for tx
10bfb4c76c94 nfs: Fix "Don't increment lock sequence ID after NFS4ERR_MOVED"
82ce18b09bf1 ravb: unmap descriptors when freeing rings
3987a40362b7 drm/ast: Fixed system hanged if disable P2A
ff20cc9a6086 drm/nouveau: Don't enabling polling twice on runtime resume
711f4797a339 parisc, parport_gsc: Fixes for printk continuation lines
9343894a8b3d net: adaptec: starfire: add checks for dma mapping errors
3926d04ddec2 pinctrl: berlin-bg4ct: fix the value for "sd1a" of pin SCRD0_CRD_PRES
6e3ea31dfb01 gianfar: synchronize DMA API usage by free_skb_rx_queue w/ gfar_new_page
2b9f84ef46d8 net/mlx4_core: Avoid command timeouts during VF driver device shutdown
6f0a81edb918 drm/nouveau/fence/g84-: protect against concurrent access to semaphore buffers
9c7a11e6f994 drm/nouveau: prevent userspace from deleting client object
1507ea6df42e ipv6: fix flow labels when the traffic class is non-0
95a4659ee8d0 FS-Cache: Initialise stores_lock in netfs cookie
38481d7d43dd fscache: Clear outstanding writes when disabling a cookie
b421d230dfa1 fscache: Fix dead object requeue
e6b15f0fc7a6 ethtool: do not vzalloc(0) on registers dump
980660760aa7 log2: make order_base_2() behave correctly on const input value zero
55d0f89a1a0c kasan: respect /proc/sys/kernel/traceoff_on_warning
1948d0afe43e jump label: pass kbuild_cflags when checking for asm goto support
266e02bc69a2 PM / runtime: Avoid false-positive warnings from might_sleep_if()
8d228758f90f ipv6: Fix IPv6 packet loss in scenarios involving roaming + snooping switches
ee0cd47799dd i2c: piix4: Fix request_region size
68cac0741246 sierra_net: Add support for IPv6 and Dual-Stack Link Sense Indications
d95ffdd39566 sierra_net: Skip validating irrelevant fields for IDLE LSIs
716cca0a67ec net: hns: Fix the device being used for dma mapping during TX
aacf9de1e239 NET: mkiss: Fix panic
b9e9045d5e6b NET: Fix /proc/net/arp for AX.25
23287661af3e ipv6: Inhibit IPv4-mapped src address on the wire.
8faccb2b9442 ipv6: Handle IPv4-mapped src to in6addr_any dst.
10a762977267 net: xilinx_emaclite: fix receive buffer overflow
7f71f22a116f net: xilinx_emaclite: fix freezes due to unordered I/O
2ba464a4b748 Call echo service immediately after socket reconnect
691fe5610d58 staging: rtl8192e: rtl92e_fill_tx_desc fix write to mapped out memory.
3fc4d70453ee ARM: dts: imx6dl: Fix the VDD_ARM_CAP voltage for 396MHz operation
b28c21baf28a partitions/msdos: FreeBSD UFS2 file systems are not recognized
0fb2a1fe6155 s390/vmem: fix identity mapping
30c9187fa8ed Linux 4.4.72
4e528eb9160b arm64: ensure extension of smp_store_release value
01ce16f40c97 arm64: armv8_deprecated: ensure extension of addr
51ff10e72fc2 usercopy: Adjust tests to deal with SMAP/PAN
746d48934f51 RDMA/qib,hfi1: Fix MR reference count leak on write with immediate
3ccf69562ac2 arm64: entry: improve data abort handling of tagged pointers
4eaef3651815 arm64: hw_breakpoint: fix watchpoint matching for tagged pointers
bc5f31d34eab Make __xfs_xattr_put_listen preperly report errors.
e8a1086ae191 NFSv4: Don't perform cached access checks before we've OPENed the file
533020828366 NFS: Ensure we revalidate attributes before using execute_ok()
cb1fb15c8355 mm: consider memblock reservations for deferred memory initialization sizing
52d8b8ad2b4b net: better skb->sender_cpu and skb->napi_id cohabitation
3c0fcb52674a serial: sh-sci: Fix panic when serial console and DMA are enabled
cc04a1433843 tty: Drop krefs for interrupted tty lock
983c09ebdbc2 drivers: char: mem: Fix wraparound check to allow mappings up to the end
9a9388953bdc ASoC: Fix use-after-free at card unregistration
54d12fbf54d4 ALSA: timer: Fix missing queue indices reset at SNDRV_TIMER_IOCTL_SELECT
f5bc918760c8 ALSA: timer: Fix race between read and ioctl
5dffc1be6552 drm/nouveau/tmr: fully separate alarm execution/pending lists
74276868b455 drm/vmwgfx: Make sure backup_handle is always valid
619cc02fd85d drm/vmwgfx: limit the number of mip levels in vmw_gb_surface_define_ioctl()
e4c05b3a751a drm/vmwgfx: Handle vmalloc() failure in vmw_local_fifo_reserve()
e582b82c160a perf/core: Drop kernel samples even though :u is specified
1cfe1e9da629 powerpc/hotplug-mem: Fix missing endian conversion of aa_index
8c92870bdbf2 powerpc/numa: Fix percpu allocations to be NUMA aware
fc7fb9430d70 powerpc/eeh: Avoid use after free in eeh_handle_special_event()
93d03807f395 scsi: qla2xxx: don't disable a not previously enabled PCI device
f267b064a6e9 KVM: arm/arm64: Handle possible NULL stage2 pud when ageing pages
5c7955c8726c btrfs: fix memory leak in update_space_info failure path
cc8c67cadc27 btrfs: use correct types for page indices in btrfs_page_exists_in_range
8fe4345d6a1d cxl: Fix error path on bad ioctl
f0d2e153147e ufs_getfrag_block(): we only grab ->truncate_mutex on block creation path
34aa71cbd408 ufs_extend_tail(): fix the braino in calling conventions of ufs_new_fragments()
d6bd1e7ec7d8 ufs: set correct ->s_maxsize
4c516dff07d7 ufs: restore maintaining ->i_blocks
1df45bb64396 fix ufs_isblockset()
db9aafaf90b6 ufs: restore proper tail allocation
044470266a50 fs: add i_blocksize()
c8acec90d9dd cpuset: consider dying css as offline
fff08d245263 Input: elantech - add Fujitsu Lifebook E546/E557 to force crc_enabled
ba9fe2e8072f drm/msm: Expose our reservation object when exporting a dmabuf.
934d0a9f9c65 target: Re-add check to reject control WRITEs with overflow data
94d3dafe96f3 cpufreq: cpufreq_register_driver() should return -ENODEV if init fails
2ff1edbbb29b stackprotector: Increase the per-task stack canary's random range from 32 bits to 64 bits on 64-bit platforms
1025503bcee9 random: properly align get_random_int_hash
baae8c3c2e2a drivers: char: random: add get_random_long()
ff7739a28719 iio: proximity: as3935: fix AS3935_INT mask
64276cdbd418 iio: light: ltr501 Fix interchanged als/ps register field
a365c707d2ee staging/lustre/lov: remove set_fs() call from lov_getstripe()
bd2e8f0a72c5 usb: chipidea: debug: check before accessing ci_role
942dcb0ffa9d usb: chipidea: udc: fix NULL pointer dereference if udc_start failed
6ff96a61bb20 usb: gadget: f_mass_storage: Serialize wake and sleep execution
daa1357ff346 ext4: fix fdatasync(2) after extent manipulation operations
7b9694cb7bf2 ext4: keep existing extra fields when inode expands
08dc390b2745 ext4: fix SEEK_HOLE
e9560c2df474 xen-netfront: cast grant table reference first to type int
17a58bdf3d63 xen-netfront: do not cast grant table reference to signed short
4467b3a14557 xen/privcmd: Support correctly 64KB page granularity when mapping memory
3340c0e11086 dmaengine: ep93xx: Always start from BASE0
3ff231a0d399 dmaengine: usb-dmac: Fix DMAOR AE bit definition
445d08a6be93 KVM: async_pf: avoid async pf injection when in guest mode
7b69d79732eb arm: KVM: Allow unaligned accesses at HYP
c7740cbcc2c4 KVM: cpuid: Fix read/write out-of-bounds vulnerability in cpuid emulation
a8bbdf1921fd kvm: async_pf: fix rcu_irq_enter() with irqs enabled
e21ad4a956d4 nfsd: Fix up the "supattr_exclcreat" attributes
6a9b72248814 nfsd4: fix null dereference on replay
1f6791d4f208 drm/amdgpu/ci: disable mclk switching for high refresh rates (v2)
a3a3a1cf538c crypto: gcm - wait for crypto op not signal safe
8096a6748a92 KEYS: fix freeing uninitialized memory in key_update()
bc6be3433e69 KEYS: fix dereferencing NULL payload with nonzero length
c94bea2e4bf5 ptrace: Properly initialize ptracer_cred on fork
dd6a4b53d026 serial: ifx6x60: fix use-after-free on module unload
7816928f3435 arch/sparc: support NR_CPUS = 4096
8554f96c1656 sparc64: delete old wrap code
c9215ca71390 sparc64: new context wrap
3e557fd99a22 sparc64: add per-cpu mm of secondary contexts
7e5551fbb864 sparc64: redefine first version
e72963317bf1 sparc64: combine activate_mm and switch_mm
4c0cae481fae sparc64: reset mm cpumask after wrap
7047c2009be9 sparc: Machine description indices can vary
54e23c087f36 sparc64: mm: fix copy_tsb to correctly copy huge page TSBs
0774a35802e9 net: bridge: start hello timer only if device is up
9cbc6cbd9170 net: ethoc: enable NAPI before poll may be scheduled
45202cd2199c net: ping: do not abuse udp_poll()
406752726afc ipv6: Fix leak in ipv6_gso_segment().
92d88e8a7adc vxlan: fix use-after-free on deletion
f4c645f67e72 tcp: disallow cwnd undo when switching congestion control
03994b4b858f cxgb4: avoid enabling napi twice to the same queue
491809d0f8d8 ipv6: xfrm: Handle errors reported by xfrm6_find_1stfragopt()
d02f4c962d35 bnx2x: Fix Multi-Cos
(From OE-Core rev: ab2721fca72ed28f865b1ee3b7e33d9d09515d87)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable update that comprises the following
commits:
2ac51e21d8c5 Linux 4.1.42
dcda279dede7 mm: fix new crash in unmapped_area_topdown()
8b18c6b2a0dd mm: larger stack guard gap, between vmas
55e6060ddd5f alarmtimer: Rate limit periodic intervals
cedbfb3dc38c MIPS: Fix bnezc/jialc return address calculation
d490b0caf87f usb: dwc3: exynos fix axius clock error path to do cleanup
61e04a644bd8 genirq: Release resources in __setup_irq() error path
ec8376b633c9 swap: cond_resched in swap_cgroup_prepare()
331720703ebb mm/memory-failure.c: use compound_head() flags for huge pages
e28840566853 USB: gadgetfs, dummy-hcd, net2280: fix locking for callbacks
7ed474c302c1 usb: xhci: ASMedia ASM1042A chipset need shorts TX quirk
235efbf2e58c drivers/misc/c2port/c2port-duramar2150.c: checking for NULL instead of IS_ERR()
d5db08763ef2 usb: r8a66597-hcd: decrease timeout
152c8dcf311c usb: r8a66597-hcd: select a different endpoint on timeout
08e1f9869489 USB: gadget: dummy_hcd: fix hub-descriptor removable fields
0758e6a95a00 [media] pvrusb2: reduce stack usage pvr2_eeprom_analyze()
bdc69cc86e01 usb: core: fix potential memory leak in error path during hcd creation
11f00c7e1194 USB: hub: fix SS max number of ports
e507356624f1 iio: proximity: as3935: recalibrate RCO after resume
fe9474901810 staging: rtl8188eu: prevent an underflow in rtw_check_beacon_data()
94bfe4f31f46 mfd: omap-usb-tll: Fix inverted bit use for USB TLL mode
49919278f4ce x86/mm/32: Set the '__vmalloc_start_set' flag in initmem_init()
daccc774edf2 serial: efm32: Fix parity management in 'efm32_uart_console_get_options()'
394dc0f7c2ae mac80211: don't send SMPS action frame in AP mode when not needed
8373afb6cb12 mac80211: fix IBSS presp allocation size
26e7f9d274cf mac80211: fix CSA in IBSS mode
5125e4a41299 mac80211/wpa: use constant time memory comparison for MACs
1a8dacfbbbe7 mac80211: don't look at the PM bit of BAR frames
61df07cce8eb [media] vb2: Fix an off by one error in 'vb2_plane_vaddr'
6ea9210c046f can: gs_usb: fix memory leak in gs_cmd_reset()
d30248c41364 configfs: Fix race between create_link and configfs_rmdir
9307fb9f34e1 sparc64: make string buffers large enough
b865f707d7c6 xtensa: don't use linux IRQ #0
ddda59580e10 tipc: ignore requests when the connection state is not CONNECTED
1b98bab153c7 proc: add a schedule point in proc_pid_readdir()
a20b7cab8735 romfs: use different way to generate fsid for BLOCK or MTD
3e335922279b mn10300: fix build error of missing fpu_save()
86e9b2ee9cc6 sctp: sctp_addr_id2transport should verify the addr before looking up assoc
5fbc861ad7eb r8152: re-schedule napi for tx
41e0083c7ddb drm/ast: Fixed system hanged if disable P2A
9b50bb2bc343 drm/nouveau: Don't enabling polling twice on runtime resume
c29b8f7d2d1e parisc, parport_gsc: Fixes for printk continuation lines
8cc579971086 net: adaptec: starfire: add checks for dma mapping errors
6d43352435ba net/mlx4_core: Avoid command timeouts during VF driver device shutdown
295a19f594e8 drm/nouveau/fence/g84-: protect against concurrent access to semaphore buffers
510c29634e35 fscache: Clear outstanding writes when disabling a cookie
42c32ac3cec6 ethtool: do not vzalloc(0) on registers dump
eaabe4b74095 log2: make order_base_2() behave correctly on const input value zero
8bc30cf03ca1 kasan: respect /proc/sys/kernel/traceoff_on_warning
acd666657821 jump label: pass kbuild_cflags when checking for asm goto support
cb2098ab876e PM / runtime: Avoid false-positive warnings from might_sleep_if()
d3121ad14562 ARM: defconfigs: make NF_CT_PROTO_SCTP and NF_CT_PROTO_UDPLITE built-in
4c8eb6278488 ipv6: Fix IPv6 packet loss in scenarios involving roaming + snooping switches
0def8e45d25f sierra_net: Add support for IPv6 and Dual-Stack Link Sense Indications
0c2950fa861d sierra_net: Skip validating irrelevant fields for IDLE LSIs
a9cbb7cd1868 NET: mkiss: Fix panic
d914dc3b811d NET: Fix /proc/net/arp for AX.25
68978d69ea6f ipv6: Inhibit IPv4-mapped src address on the wire.
197082364320 ipv6: Handle IPv4-mapped src to in6addr_any dst.
dd4d061cf1f6 net: xilinx_emaclite: fix receive buffer overflow
742e7978eaba net: xilinx_emaclite: fix freezes due to unordered I/O
afae1d9da32e partitions/msdos: FreeBSD UFS2 file systems are not recognized
7f6abe4c0560 PCI/PM: Add needs_resume flag to avoid suspend complete optimization
cd1c4f855f68 usercopy: Adjust tests to deal with SMAP/PAN
9da808668b58 arm64: entry: improve data abort handling of tagged pointers
47e49f2d1eda drivers: char: mem: Fix wraparound check to allow mappings up to the end
bb3556c1d155 ASoC: Fix use-after-free at card unregistration
88c41586db86 ALSA: timer: Fix missing queue indices reset at SNDRV_TIMER_IOCTL_SELECT
5d28ba6eecde ALSA: timer: Fix race between read and ioctl
29837be8e922 drm/vmwgfx: Handle vmalloc() failure in vmw_local_fifo_reserve()
d6f90404eaa0 perf/core: Drop kernel samples even though :u is specified
f44556278b79 powerpc/hotplug-mem: Fix missing endian conversion of aa_index
7ee9689e6b68 powerpc/numa: Fix percpu allocations to be NUMA aware
eecbbd835e2e scsi: qla2xxx: don't disable a not previously enabled PCI device
4a213a0fe0b3 KVM: arm/arm64: Handle possible NULL stage2 pud when ageing pages
951269f95603 btrfs: fix memory leak in update_space_info failure path
d42014c8d4ce btrfs: use correct types for page indices in btrfs_page_exists_in_range
cc558c203ce1 cxl: Fix error path on bad ioctl
c58e11d1da35 ufs: set correct ->s_maxsize
7ba100d53ebc fix ufs_isblockset()
7f8053503ed2 cpuset: consider dying css as offline
51037ec2ee8e iio: proximity: as3935: fix AS3935_INT mask
60e9d774dc8e staging/lustre/lov: remove set_fs() call from lov_getstripe()
6f4f7e81b18e usb: chipidea: debug: check before accessing ci_role
9738b3df00b1 usb: chipidea: udc: fix NULL pointer dereference if udc_start failed
db87e41d61aa usb: gadget: f_mass_storage: Serialize wake and sleep execution
926295793364 ext4: keep existing extra fields when inode expands
4d1adc2ada19 ext4: fix SEEK_HOLE
8406f302e985 KVM: async_pf: avoid async pf injection when in guest mode
fdb67b2a3a16 arm: KVM: Allow unaligned accesses at HYP
1e8dabb6aa14 KVM: cpuid: Fix read/write out-of-bounds vulnerability in cpuid emulation
702eb8d270f2 kvm: async_pf: fix rcu_irq_enter() with irqs enabled
4b1bf4b008ca nfsd4: fix null dereference on replay
026ed759f4f4 crypto: gcm - wait for crypto op not signal safe
e02ed52dd2d3 KEYS: fix freeing uninitialized memory in key_update()
a38f69cb4a22 ptrace: Properly initialize ptracer_cred on fork
94d53c5028a3 arch/sparc: support NR_CPUS = 4096
252bf31f5d91 sparc64: delete old wrap code
0837a0481106 sparc64: new context wrap
169dc5fd241d sparc64: add per-cpu mm of secondary contexts
ccadb4e680e9 sparc64: redefine first version
5203c6c92724 sparc64: combine activate_mm and switch_mm
317a444875fd sparc64: reset mm cpumask after wrap
a2334e23c296 sparc: Machine description indices can vary
8ee93884863e sparc64: mm: fix copy_tsb to correctly copy huge page TSBs
246fa51013e3 net: ethoc: enable NAPI before poll may be scheduled
169a7e245c7f net: ping: do not abuse udp_poll()
59dc08f8f5e7 ipv6: Fix leak in ipv6_gso_segment().
f257e5d318a5 tcp: disallow cwnd undo when switching congestion control
fa95ca65fb86 cxgb4: avoid enabling napi twice to the same queue
cd276bb4fe54 ipv6: xfrm: Handle errors reported by xfrm6_find_1stfragopt()
e616f6da095e bnx2x: Fix Multi-Cos
d600ccd7fd21 xfs: fix unaligned access in xfs_btree_visit_blocks
20d07bb1567a xfs: bad assertion for delalloc an extent that start at i_size
45ed7e2f2f82 xfs: fix indlen accounting error on partial delalloc conversion
1a229fd5ae97 xfs: wait on new inodes during quotaoff dquot release
b822f03516c9 xfs: update ag iterator to support wait on new inodes
821afaaed81d xfs: support ability to wait on new inodes
9b1260c216af xfs: fix up quotacheck buffer list error handling
022e9b0e554b xfs: prevent multi-fsb dir readahead from reading random blocks
641967d1f903 xfs: handle array index overrun in xfs_dir2_leaf_readbuf()
17d031b4add7 xfs: fix over-copying of getbmap parameters from userspace
74d27999c51e xfs: use dedicated log worker wq to avoid deadlock with cil wq
ddf2f45b3344 xfs: fix kernel memory exposure problems
9bf638a08ad2 mm/migrate: fix refcount handling when !hugepage_migration_supported()
c7dbf874d6b5 drm/radeon/ci: disable mclk switching for high refresh rates (v2)
9fcaaa87e08c fs/ufs: Set UFS default maximum bytes per file
b36188f229d6 sparc: Fix -Wstringop-overflow warning
80f68f7daeb3 sctp: fix ICMP processing if skb is non-linear
01426eb3503d tcp: avoid fastopen API to be used on AF_UNSPEC
a10f1d6ad744 virtio-net: enable TSO/checksum offloads for Q-in-Q vlans
a05aec67cd6b be2net: Fix offload features for Q-in-Q packets
b7b05a3b40e8 vlan: Fix tcp checksum offloads in Q-in-Q vlans
d78ddec4e7fb ipv6: fix out of bound writes in __ip6_append_data()
acf388f77791 qmi_wwan: add another Lenovo EM74xx device ID
7144c12e891d ipv6: Check ip6_find_1stfragopt() return value properly.
e7f05ff30b0c ipv6: Prevent overrun when parsing v6 header options
3e674773cb5e tcp: eliminate negative reordering in tcp_clean_rtx_queue
e7b4f3d39f46 sctp: do not inherit ipv6_{mc|ac|fl}_list from parent
61d62ee79cec tcp: avoid fragmenting peculiar skbs in SACK
93dcd4929d18 net: fix compile error in skb_orphan_partial()
7a230cfdf208 netem: fix skb_orphan_partial()
8404b686a33c s390/qeth: avoid null pointer dereference on OSN
89b9ca1dd7d0 s390/qeth: unbreak OSM and OSN support
0b651772fed7 s390/qeth: handle sysfs error during initialization
4e0ecb773276 dccp/tcp: do not inherit mc_list from parent
4bd4cfc5210e Linux 4.1.41
c1dd3f51ad77 mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp
afeb39160249 xc2028: Fix use-after-free bug properly
5eef36af5974 iio: proximity: as3935: fix as3935_write
e8701e0f6768 ipx: call ipxitf_put() in ioctl error path
709dcf11a353 sched/fair: Initialize throttle_count for new task-groups lazily
0f665ed5581f sched/fair: Do not announce throttled next buddy in dequeue_task_fair()
953334de0819 iio: dac: ad7303: fix channel description
60e2e499e37d mwifiex: pcie: fix cmd_buf use-after-free in remove/reset
036ab4111761 rtlwifi: rtl8821ae: setup 8812ae RFE according to device type
df8198865a0f ARM: tegra: paz00: Mark panel regulator as enabled on boot
fda7c899dd76 fs/xattr.c: zero out memory copied to userspace in getxattr
273225634fef vfio/type1: Remove locked page accounting workqueue
358fa411ba9a crypto: algif_aead - Require setkey before accept(2)
e0b7d5eae185 staging: gdm724x: gdm_mux: fix use-after-free on module unload
47655216cdf4 drm/ttm: fix use-after-free races in vm fault handling
46527f8d11fa f2fs: sanity check segment count
2b674f4ecce8 ipv6: reorder ip6_route_dev_notifier after ipv6_dev_notf
4aaeda7f5c4f ipv6: initialize route null entry in addrconf_init()
1d9afaa5c0a8 rtnetlink: NUL-terminate IFLA_PHYS_PORT_NAME string
226d200531f4 ipv4, ipv6: ensure raw socket message is big enough to hold an IP header
14e82f4ce5bb tcp: fix wraparound issue in tcp_lp
38853e5c3775 tcp: do not underestimate skb->truesize in tcp_trim_head()
918d8536e126 ALSA: hda - Fix deadlock of controller device lock at unbinding
1c370084c6f3 staging: emxx_udc: remove incorrect __init annotations
8602853345b7 staging: wlan-ng: add missing byte order conversion
bd253cf63929 brcmfmac: Make skb header writable before use
c4efbc9ce69d brcmfmac: Ensure pointer correctly set if skb data location changes
62494116045e MIPS: R2-on-R6 MULTU/MADDU/MSUBU emulation bugfix
48ea252abd40 scsi: mac_scsi: Fix MAC_SCSI=m option when SCSI=m
ddfc6a095d10 serial: 8250_omap: Fix probe and remove for PM runtime
2c7105e86e3d USB: serial: io_edgeport: fix descriptor error handling
00f244650faf USB: serial: mct_u232: fix modem-status error handling
0379d54281fc USB: serial: quatech2: fix control-message error handling
e2eaebce9d20 USB: serial: ftdi_sio: fix latency-timer error handling
e7ccc604153b USB: serial: ark3116: fix open error handling
b5b985c3a0bd USB: serial: ti_usb_3410_5052: fix control-message error handling
dc7697bad3f6 USB: serial: io_edgeport: fix epic-descriptor handling
4e78688b4cb3 USB: serial: ssu100: fix control-message error handling
0f5e27457f1a USB: serial: digi_acceleport: fix incomplete rx sanity check
5d7985765271 USB: serial: keyspan_pda: fix receive sanity checks
9de980a19940 usb: host: ohci-exynos: Decrese node refcount on exynos_ehci_get_phy() error paths
08fd577b4b0f usb: host: ehci-exynos: Decrese node refcount on exynos_ehci_get_phy() error paths
0a9f0af48e3f KVM: nVMX: initialize PML fields in vmcs02
4736ccc83dfc Revert "KVM: nested VMX: disable perf cpuid reporting"
7a07dbb8c25c x86/platform/intel-mid: Correct MSI IRQ line for watchdog device
92e01bd47512 kprobes/x86: Fix kernel panic when certain exception-handling addresses are probed
19d416eaccbb x86/pci-calgary: Fix iommu_free() comparison of unsigned expression >= 0
ae0f7bd8e226 mwifiex: Avoid skipping WEP key deletion for AP
34390bea46f7 mwifiex: remove redundant dma padding in AMSDU
a5a09b34dab1 mwifiex: debugfs: Fix (sometimes) off-by-1 SSID print
039747b6ef2d power: supply: bq24190_charger: Install irq_handler_thread() at end of probe()
f3b0fe6bfcbf power: supply: bq24190_charger: Call set_mode_host() on pm_resume()
0ba15a289c67 power: supply: bq24190_charger: Fix irq trigger to IRQF_TRIGGER_FALLING
ab1b642339b3 powerpc/powernv: Fix opal_exit tracepoint opcode
5d1767ceff1f cpupower: Fix turbo frequency reporting for pre-Sandy Bridge cores
16968228efa5 9p: fix a potential acl leak
c41e1ba87961 net: tg3: avoid uninitialized variable warning
95660aa2822d mtd: avoid stack overflow in MTD CFI code
b9e4b97eb9a0 drbd: avoid redefinition of BITS_PER_PAGE
1de253cbd35b ALSA: ppc/awacs: shut up maybe-uninitialized warning
db14464180fa timerfd: Protect the might cancel mechanism proper
11d54db42149 ftrace/x86: Fix triple fault with graph tracing and suspend-to-ram
77ded373242b ipv6: check raw payload size correctly in ioctl
0c8f1722d1d6 ip6mr: fix notification device destruction
7f4ab2ced0a7 netpoll: Check for skb->queue_mapping
74c4460b6482 sctp: listen on the sock only when it's state is listening or closed
7d1a0fdd41f8 net: ipv4: fix multipath RTM_GETROUTE behavior when iif is given
6824dcd302fd l2tp: take reference on sessions being dumped
cc09115fb0b9 net/packet: fix overflow in check for tp_reserve
fed853407cc2 net/packet: fix overflow in check for tp_frame_nr
9ba240219c96 l2tp: purge socket queues in the .destruct() callback
28bad8a652e9 net: phy: handle state correctly in phy_stop_machine
b39245e33e95 net: neigh: guard against NULL solicit() method
9ffb20a69946 sparc64: Fix kernel panic due to erroneous #ifdef surrounding pmd_write()
1acc886c425e sparc64: kern_addr_valid regression
5023f12103b9 xen/x86: don't lose event interrupts
b64d082304fe usb: gadget: f_midi: Fixed a bug when buflen was smaller than wMaxPacketSize
e7211d1ff579 RDS: Fix the atomicity for congestion map update
92bf6b466b99 MIPS: Fix crash registers on non-crashing CPUs
d0388c0e2556 md:raid1: fix a dead loop when read from a WriteMostly disk
f364181f7aa2 crypto: testmgr - fix out of bound read in __test_aead()
9800a9a4b17a [media] xc2028: unlock on error in xc2028_set_config()
c5ef0e9f70d1 f2fs: do more integrity verification for superblock
5f1cef9e823a ping: implement proper locking
9c90c093b98f staging/android/ion : fix a race condition in the ion driver
073e9973d48b vfio/pci: Fix integer overflows, bitmask check
e21b00fe6cc7 [media] xc2028: avoid use after free
c8580e3dcd00 tipc: fix random link resets while adding a second bearer
5eb668f8442e gfs2: avoid uninitialized variable warning
6013c31fb7e1 hostap: avoid uninitialized variable use in hfa384x_get_rid
56c3cd096747 tty: nozomi: avoid a harmless gcc warning
39a978c3e192 tipc: re-enable compensation for socket receive buffer double counting
0c28e96f0fec block: fix del_gendisk() vs blkdev_ioctl crash
0c4670d5a6a4 Drivers: hv: balloon: account for gaps in hot add regions
2cbbeec3e5a7 Drivers: hv: balloon: keep track of where ha_region starts
5b9ab933c369 x86/mce/AMD: Give a name to MCA bank 3 when accessed with legacy MSRs
749cab856042 Drivers: hv: vmbus: Reduce the delay between retries in vmbus_post_msg()
38f9c4b9176a Drivers: hv: don't leak memory in vmbus_establish_gpadl()
9f4a8ebb750b net: ipv6: check route protocol when deleting routes
5ce729a895b0 tty/serial: atmel: RS485 half duplex w/DMA: enable RX after TX is done
9d86a569dbd7 catc: Use heap buffer for memory size test
4d7726afea37 catc: Combine failure cleanup code in catc_probe()
61bd90b31be7 rtl8150: Use heap buffers for all register access
7b69bee71416 pegasus: Use heap buffers for all register access
0dd8a4702cbc virtio-console: avoid DMA from stack
eb618d2eb22b mm: Tighten x86 /dev/mem with zeroing reads
187887b3dbae rtc: tegra: Implement clock handling
ea215d798bc2 platform/x86: acer-wmi: setup accelerometer when machine has appropriate notify event
4473dc376c48 [media] dvb-usb-v2: avoid use-after-free
68e9c254f662 kvm: fix page struct leak in handle_vmon
f800bcede54d char: lack of bool string made CONFIG_DEVPORT always on
d1cdf638cde8 char: Drop bogus dependency of DEVPORT on !M68K
6d1174d8ff9d net/mlx4_core: Fix when to save some qp context flags for dynamic VST to VGT transitions
8a8878b16056 net/mlx4_en: Fix bad WQE issue
037948b4f092 usb: hub: Wait for connection to be reestablished after port reset
dd07486ceba4 net/packet: fix overflow in check for priv area size
c9d0eb33ba82 MIPS: Select HAVE_IRQ_EXIT_ON_IRQ_STACK
cd7de3163c8c MIPS: Only change $28 to thread_info if coming from user mode
aa7ae7fee5d6 mtd: bcm47xxpart: fix parsing first block after aligned TRX
1669925abfce usb: dwc3: gadget: delay unmap of bounced requests
aa612d59c08f mm/mempolicy.c: fix error handling in set_mempolicy and mbind.
00fc586ea741 mlock: fix mlock count can not decrease in race condition
001360714b85 mm/memory-failure: introduce get_hwpoison_page() for consistent refcount handling
da7cbd0c660c mm/memory-failure: split thp earlier in memory error handling
aeb3435b4987 slub/memcg: cure the brainless abuse of sysfs attributes
afc6ec14b863 blkcg: use blkg_free() in blkcg_init_queue() failure path
f9fac98fc753 blkcg: always create the blkcg_gq for the root blkcg
712b6a6dceb2 iscsi-target: Use shash and ahash
1bd31de39e62 target/iscsi: Use proper SGL accessors for digest computation
89ff28d0d690 iscsi-target: Fix initial login PDU asynchronous socket close OOPs
09cb399b6219 target/iscsi: Fix indentation in iscsi_target_start_negotiation()
68185cb17f7e iscsi-target: Fix early sk_data_ready LOGIN_FLAGS_READY race
5df474e63ca5 cpufreq: cpufreq_register_driver() should return -ENODEV if init fails
7e144ca4d77a drm/msm: Expose our reservation object when exporting a dmabuf.
7e185e0063bc xfs: Fix missed holes in SEEK_HOLE implementation
59acce815cd6 xfs: fix off-by-one on max nr_pages in xfs_find_get_desired_pgoff()
b96e5f18eb81 drm/radeon: Unbreak HPD handling for r600+
81402e4033a7 dmaengine: ep93xx: Don't drain the transfers in terminate_all()
1a45b842de71 dmaengine: ep93xx: Always start from BASE0
72a5ed836013 drm/gma500/psb: Actually use VBT mode when it is found
4f268a106e88 PCI / PM: Avoid resuming more devices during system suspend
b060ae49eb94 PCI: Add quirk for Intel DH895xCC VF PCI config erratum
e0bda32c5bc5 ALSA: hda - apply STAC_9200_DELL_M22 quirk for Dell Latitude D430
9dbe42c5ae46 mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
0210333e202b i2c: i2c-tiny-usb: fix buffer not being DMA capable
8852d28b3f06 x86/mce: Don't use percpu workqueues
94d42e8811f4 osf_wait4(): fix infoleak
156c18c7d9ed KVM: X86: Fix read out-of-bounds vulnerability in kvm pio emulation
e8b80de6d76e watchdog: pcwd_usb: fix NULL-deref at probe
9ef27e6ccbe0 drivers: char: mem: Check for address space wraparound with mmap()
682182e924ea serial: core: fix crash in uart_suspend_port
b614900e0650 tty: Fix GPF in flush_to_ldisc()
2e279b7d786c tty: fix data race in flush_to_ldisc
3e984ccc90f8 serial: ifx6x60: fix use-after-free on module unload
191c13c554e5 serial: ifx6x60: Remove dangerous spi_driver casts
95a639d15067 Revert "tty_port: register tty ports with serdev bus"
1520f7e76d45 tty_port: register tty ports with serdev bus
0095625438b2 usb: musb: tusb6010_omap: Do not reset the other direction's packet size
d7cc01aa1796 usb: host: xhci-plat: propagate return value of platform_get_irq()
1458bfaae6c8 USB: xhci: fix lock-inversion problem
a0334d0ba6ad usb: host: xhci: simplify irq handler return
8732affeaf37 usb: host: xhci-mem: allocate zeroed Scratchpad Buffer
2f68fe68ad96 xhci: apply PME_STUCK_QUIRK and MISSING_CAS quirk for Denverton
e17762c03b3e tracing/kprobes: Enforce kprobes teardown after testing
78de28c67c8f of: fdt: add missing allocation-failure check
ac38837324c2 USB: serial: qcserial: add more Lenovo EM74xx device IDs
2a3835ffa5ed USB: hub: fix non-SS hub-descriptor handling
c5922c99f193 USB: hub: fix SS hub-descriptor handling
de90980c52da USB: iowarrior: fix info ioctl on big-endian hosts
46b3a375a926 uwb: fix device quirk on big-endian hosts
8ace7b038603 USB: core: replace %p with %pK
083112faaf11 USB: ene_usb6250: fix DMA to the stack
a3670852d2fb USB: serial: ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs
d0e929a4e63f char: lp: fix possible integer overflow in lp_setup()
da6d8dbb5da7 dm bufio: make the parameter "retain_bytes" unsigned long
b9805634c6de genirq: Introduce struct irq_common_data to host shared irq data
073bc325fdc4 usb: dwc3: make dwc3_debugfs_init return value be void
83204fd38a02 kvm arm: Move fake PGD handling to arch specific files
060e39373d8a ARM: KVM: Remove pointless void pointer cast
0bef2bd6fa64 dmaengine: usb-dmac: Fix DMAOR AE bit definition
873bdf5cd492 dm space map disk: fix some book keeping in the disk space map
a42b975f484e dm thin metadata: call precommit before saving the roots
2cd394cd1046 USB: serial: io_ti: fix div-by-zero in set_termios
a1dfb5701675 USB: serial: mct_u232: fix big-endian baud-rate handling
391f2e944624 USB: serial: ftdi_sio: fix setting latency for unprivileged users
048a9813c3e5 usb: serial: option: add Telit ME910 support
092c6f1e1630 ARM: dts: imx6sx-sdb: Remove OPP override
ba640473d7c9 ARM: dts: imx6sx-sdb: Add 198MHz operational point
4bb916c171fa cgroup: use bitmask to filter for_each_subsys
034dd596324d sched, cgroup: reorganize threadgroup locking
0e521eabd7a3 pid_ns: Sleep in TASK_INTERRUPTIBLE in zap_pid_ns_processes
57cd95a5dcbc net: irda: irda-usb: fix firmware name on big-endian hosts
38f915577c6e s390/cputime: fix incorrect system time
98442999b967 dccp: fix freeing skb too early for IPV6_RECVPKTINFO
56d847e3ef94 Linux 4.1.40
5c564705d3f0 udp: properly support MSG_PEEK with truncated buffers
f97e5ec81364 nfsd: encoders mustn't use unitialized values in error cases
a7b4cdeb22f5 arm64: uaccess: ensure extension of access_ok() addr
ed3ffd7c7fb9 arm64: documentation: document tagged pointer stack constraints
f8a4b26e261d target/fileio: Fix zero-length READ and WRITE handling
9d68722df885 CIFS: add misssing SFM mapping for doublequote
14f24a466cd1 iscsi-target: Set session_fall_back_to_erl0 when forcing reinstatement
3aa99b61c099 target: Fix compare_and_write_callback handling for non GOOD status
0c5623052d48 of: fix sparse warning in of_pci_range_parser_one
3e9e9c708f10 ceph: fix memory leak in __ceph_setxattr()
009a83913e29 SMB3: Work around mount failure when using SMB3 dialect to Macs
ffd28faab493 CIFS: fix mapping of SFM_SPACE and SFM_PERIOD
ae5175c8dba4 fs/block_dev: always invalidate cleancache in invalidate_bdev()
e895a1054e25 um: Fix PTRACE_POKEUSER on x86_64
327d78550aea metag/uaccess: Check access_ok in strncpy_from_user
31390049dfd2 Set unicode flag on cifs echo request to avoid Mac error
3ea80afb2dce metag/uaccess: Fix access_ok()
17535d260b75 target: Fix VERIFY and WRITE VERIFY command parsing
edd3ad16ead4 dm bufio: check new buffer allocation watermark every 30 seconds
bbe86592f9c3 dm bufio: avoid a possible ABBA deadlock
9575253a91e6 Bluetooth: Fix user channel for 32bit userspace on 64bit kernel
ca38d087f1b0 ext4: evict inline data when writing to memory map
3a9700b0709e proc: Fix unbalanced hard link numbers
2279c8b917f7 dm ioctl: prevent stack leak in dm ioctl call
5afff19d82af nfsd: stricter decoding of write-like NFSv2/v3 ops
24c3569dd195 nfsd4: minor NFSv2/v3 write decoding cleanup
c9bb9f02b048 nfsd: check for oversized NFSv2/v3 arguments
6a5e61496c48 usb: Make sure usb/phy/of gets built-in
372323131cd0 ASoC: intel: Fix PM and non-atomic crash in bytcr drivers
b583cc935477 Input: i8042 - add Clevo P650RS to the i8042 reset list
56e191701252 dm era: save spacemap metadata root after the pre-commit
6a887571cad2 dm btree: fix for dm_btree_find_lowest_key()
2ad7696baa06 powerpc/pseries: Fix of_node_put() underflow during DLPAR remove
e756dc9e7bfb IB/mlx4: Fix ib device initialization error flow
50f63ac752b8 x86/boot: Fix BSS corruption/overwrite bug in early x86 kernel startup
51cad4572c02 ring-buffer: Have ring_buffer_iter_empty() return true when empty
2933c0ba9193 ACPI / power: Avoid maybe-uninitialized warning
f7f44f588722 tracing: Allocate the snapshot buffer before enabling probe
73270592d94b usb: host: xhci: print correct command ring address
5ba52c08d1d1 [media] ttusb2: limit messages to buffer size
e1dfe98dda6a USB: serial: ftdi_sio: add device ID for Microsemi/Arrow SF2PLUS Dev Kit
00461b9f4817 PCI: Freeze PME scan before suspending devices
57b8e3a6524b regulator: tps65023: Fix inverted core enable logic.
1ff629068e6e [media] zr364xx: enforce minimum size when reading header
a0f82864854a KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyrings
86d961e25888 KEYS: Change the name of the dead type to ".dead" to prevent user access
4ef48e49b1c5 KEYS: Disallow keyrings beginning with '.' to be joined as session keyrings
369cd3933506 powerpc/kprobe: Fix oops when kprobed on 'stdu' instruction
199ea04d7d01 cifs: Do not send echoes before Negotiate is complete
b291f2ed870a p9_client_readdir() fix
98ae917fd128 ARM: dts: at91: sama5d3_xplained: not all ADC channels are available
429957317eac ARM: dts: at91: sama5d3_xplained: fix ADC vref
c7f3669caa0b zram: do not use copy_page with non-page aligned address
ac87ea2ff7d7 zram: fix operator precedence to get offset
7bee1c58a629 ALSA: seq: Don't break snd_use_lock_sync() loop by timeout
93dfafeefbb6 MIPS: KGDB: Use kernel context for sleeping threads
22afb4fc42e4 PCI: Fix pci_mmap_fits() for HAVE_PCI_RESOURCE_TO_USER platforms
1ecc90c7e6b4 MIPS: Avoid BUG warning in arch_check_elf
396f0fe4cc1b s390/mm: fix CMMA vs KSM vs others
fab0b034bd91 serial: omap: suspend device on probe errors
0ea0b8f3adbe serial: omap: fix runtime-pm handling on unbind
113cc52cf9fe CIFS: store results of cifs_reopen_file to avoid infinite wait
5c6d0e841556 CIFS: remove bad_network_name flag
417dc40ebaf2 Input: xpad - add support for Razer Wildcat gamepad
3a5df486f2e1 x86/vdso: Plug race between mapping and ELF header setup
7ec71e0bb16d md: update slab_cache before releasing new stripes when stripes resizing
2da764d4c67b padata: free correct variable
ce0e21e44f97 crypto: ahash - Fix EINPROGRESS notification callback
4ee5f3baad19 [media] cx231xx-audio: fix NULL-deref at probe
8b6c66045c33 [media] cx231xx-audio: fix init error path
5a4e9221b31b [media] cx231xx-cards: fix NULL-deref at probe
a44bcf6b4c54 [media] usbvision: fix NULL-deref at probe
c7bcf82e59ea [media] dib0700: fix NULL-deref at probe
27a0c2317453 serial: samsung: Use right device for DMA-mapping calls
5eb0c97fc835 sysfs: be careful of error returns from ops->show()
dad2a28d46e7 staging: android: ashmem: lseek failed due to no FMODE_LSEEK.
4ac302f8832f usb: misc: add missing continue in switch
34a2eb59fc13 ptrace: fix PTRACE_LISTEN race corrupting task->state
8624aeaec37d scsi: sd: Fix capacity calculation with 32-bit sector_t
9535300dd7e2 scsi: sr: Sanity check returned mode data
21ebc869930a ipmi: Fix kernel panic at ipmi_ssif_thread()
82bfc1d9bc5d xen, fbfront: fix connecting to backend
8dd5c1281e98 Reset TreeId to zero on SMB2 TREE_CONNECT
3707e32c8fcc [media] s5p-mfc: Fix unbalanced call to clock management
01ea8f2396af [media] gspca: konica: add missing endpoint sanity check
206374212c28 IB/IPoIB: ibX: failed to create mcg debug file
f585e26312b5 metag/usercopy: Add missing fixups
c31ac9be1dc2 metag/usercopy: Fix src fixup in from user rapf loops
09e3cca03b29 metag/usercopy: Set flags before ADDZ
7c3a804c24cc metag/usercopy: Zero rest of buffer from copy_from_user
f58b27f0ce36 metag/usercopy: Add early abort to copy_to_user
fde1ed807fc6 metag/usercopy: Fix alignment error checking
59465f2b425d metag/usercopy: Drop unused macros
8da28861bfab ring-buffer: Fix return value check in test_ringbuffer()
4cc0a6f14611 crypto: caam - fix RNG deinstantiation error checking
c94b3a0d7a27 powerpc/mm: Add missing global TLB invalidate if cxl is active
ca4f5edccb94 ath9k_htc: fix NULL-deref at probe
783494a2cf45 powerpc: Don't try to fix up misaligned load-with-reservation instructions
ea42f85ce0a6 kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd
407526d5f5cc tpm: add sleep only for retry in i2c_nuvoton_write_status()
779a96681b4b tpm_crb: check for bad response size
331f718a9746 tpm: msleep() delays - replace with usleep_range() in i2c nuvoton driver
e43c2447f8ed iscsi-target: Drop work-around for legacy GlobalSAN initiator
d2762e9848bb cdc-acm: fix possible invalid access when processing notification
4d8a7de65c82 mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()
5c9eddc3db73 ALSA: hda - fix a problem for lineout on a Dell AIO machine
d91a91d8f6ba drm/vmwgfx: fix integer overflow in vmw_surface_define_ioctl()
6431059d9e0f drm/vmwgfx: Remove getparam error message
b31c507e2c3b drm/vmwgfx: avoid calling vzalloc with a 0 size in vmw_get_cap_3d_ioctl()
13b52a46a677 drm/vmwgfx: NULL pointer dereference in vmw_surface_define_ioctl()
55f1d24ac1ab drm/vmwgfx: Type-check lookups of fence objects
18bcea4e8d2e iscsi-target: Fix TMR reference leak during session shutdown
bfa5d70414f2 ubi/upd: Always flush after prepared for an update
c127ce428b73 s390/uaccess: get_user() should zero on failure (again)
0d2f98e74d4f USB: Proper handling of Race Condition when two USB class drivers try to call init_usb_class simultaneously
6842ff6056ea ACPI: Fix incompatibility with mcount-based function graph tracing
e5dcf4e37e91 ACPI: Do not create a platform_device for IOAPIC/IOxAPIC
e2b3e7de14ba virtio_balloon: init 1st buffer in stats vq
a205b2e5a2a0 powerpc: Disable HFSCR[TM] if TM is not supported
f8889a244545 drm/radeon: Override fpfn for all VRAM placements in radeon_evict_flags
848f94592710 USB: fix linked-list corruption in rh_call_control()
3492352e1f34 ALSA: seq: Fix race during FIFO resize
55e9d9474816 [media] mceusb: fix NULL-deref at probe
91848cdb7ae7 xen/acpi: upload PM state from init-domain to Xen
970a7a72b32d pinctrl: qcom: Don't clear status bit on irq_unmask
fbb9dd5123de mmc: sdhci: Do not disable interrupts while waiting for clock
a2f7beb42427 usb: hub: Do not attempt to autosuspend disconnected devices
041fad219db7 usb: gadget: f_uvc: Fix SuperSpeed companion descriptor's wBytesPerInterval
d4cbbe1460c4 s390/decompressor: fix initrd corruption caused by bss clear
f1c9472e3dce ALSA: seq: Fix racy cell insertions during snd_seq_pool_done()
d57b1afab5a8 scsi: libsas: fix ata xfer length
972d4b4f2c7b arm/arm64: KVM: Take mmap_sem in kvm_arch_prepare_memory_region
474d78d49b8b arm/arm64: KVM: Take mmap_sem in stage2_unmap_vm
d59cf3fa94db USB: serial: qcserial: add Dell DW5811e
6338e370099a x86/perf: Fix CR4.PCE propagation to use active_mm instead of mm
1b9537d72610 tty: pty: Fix ldisc flush after userspace become aware of the data already
44705deddafe usb: hub: Fix crash after failure to read BOS descriptor
09b3048b2880 ACM gadget: fix endianness in notifications
861b5c18bb14 scsi: sg: check length passed to SG_NEXT_CMD_LEN
7268eabd5b5f Input: sur40 - validate number of endpoints before using them
84a91ce02105 Input: kbtab - validate number of endpoints before using them
f1ba9cf02776 Input: hanwang - validate number of endpoints before using them
36d425fcc164 Input: yealink - validate number of endpoints before using them
79cae616c940 Input: ims-pcu - validate number of endpoints before using them
6585effe7d22 Input: cm109 - validate number of endpoints before using them
76d981017361 Input: iforce - validate number of endpoints before using them
edf3bd9562a9 mmc: ushc: fix NULL-deref at probe
93d21fdc17e5 drm/radeon: reinstate oland workaround for sclk
71a1c9d004ed perf/core: Fix event inheritance on fork()
4da3251aac57 cpufreq: Fix and clean up show_cpuinfo_cur_freq()
85fa60732c80 drm/radeon/si: add dpm quirk for Oland
772653bea403 ext4: mark inode dirty after converting inline directory
e8959ed1fd07 futex: Add missing error handling to FUTEX_REQUEUE_PI
33fcd6ecaf0f futex: Fix potential use-after-free in FUTEX_REQUEUE_PI
56d75a164c87 ARM: at91: pm: cpu_idle: switch DDR to power-down mode
ce6df3d36d07 usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer
ed4b286d254b usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk
599dc7743f74 uwb: i1480-dfu: fix NULL-deref at probe
50c372bd694d uwb: hwa-rc: fix NULL-deref at probe
7896de4f8b00 USB: wusbcore: fix NULL-deref at probe
0b3718017641 USB: uss720: fix NULL-deref at probe
aee563c5ffb5 USB: lvtest: fix NULL-deref at probe
a2574cf7887d USB: idmouse: fix NULL-deref at probe
13cd0c011e73 isdn/gigaset: fix NULL-deref at probe
027a48c195e1 fat: fix using uninitialized fields of fat_inode/fsinfo_inode
c4743e805d43 md/raid1/10: fix potential deadlock
6eea126f9d6d usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers
92b280212adf USB: iowarrior: fix NULL-deref in write
c4b516612312 USB: iowarrior: fix NULL-deref at probe
4db7a852b417 ath9k_htc: Add support of AirTies 1eda:2315 AR9271 device
394e5f4a60c1 USB: serial: safe_serial: fix information leak in completion handler
e0f57e1a406c USB: serial: io_ti: fix information leak in completion handler
5dfb04937689 USB: serial: omninet: fix reference leaks at open
6aed13b2c40e USB: serial: io_ti: fix NULL-deref in interrupt callback
92fbcbfe994f MIPS: ralink: Fix typos in rt3883 pinctrl
7ba49ba6dd09 MIPS: End spinlocks with .insn
d7f84ae03ff3 MIPS: Force o32 fp64 support on 32bit MIPS64r6 kernels
248e94265dd0 target: Fix VERIFY_16 handling in sbc_parse_cdb
452c3c927325 target/pscsi: Fix TYPE_TAPE + TYPE_MEDIMUM_CHANGER export
076df4623c10 scsi: lpfc: Add shutdown method for kexec
e04d8b65f412 powerpc/boot: Fix zImage TOC alignment
5c8f767c657b serial: samsung: Continue to work if DMA request fails
46df5258a521 Input: i8042 - add noloop quirk for Dell Embedded Box PC 3000
9d3698c9b85c ima: accept previously set IMA_NEW_FILE
86525f9f4474 percpu: acquire pcpu_lock when updating pcpu_nr_empty_pop_pages
42ece5f50098 usb: gadget: dummy_hcd: clear usb_gadget region before registration
7ccd5568eab8 USB: serial: digi_acceleport: fix OOB-event processing
6842c8457292 staging: comedi: jr3_pci: cope with jiffies wraparound
29e34e47fadf staging: comedi: jr3_pci: fix possible null pointer dereference
c48408dff998 usb: gadget: function: f_fs: pass companion descriptor along
757895c336d6 usb: dwc3: gadget: make Set Endpoint Configuration macros safe
2e9d3a921000 tracing: Add #undef to fix compile error
bd38086c6b2a can: usb_8dev: Fix memory leak of priv->cmd_msg_buffer
99d3d49197e1 powerpc: Emulation support for load/store instructions on LE
381785176cc1 KVM: s390: Fix guest migration for huge guests resulting in panic
7caf29dc038c xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD
14abcbaa3f0d scsi: libiscsi: add lock around task lists to fix list corruption regression
28d5d8b2db22 ALSA: seq: Fix link corruption by event error handling
b78e49c3057a ALSA: hda - Add subwoofer support for Dell Inspiron 17 7000 Gaming
d19f6529f1c1 ALSA: timer: Reject user params with too small ticks
3d35f4422582 drm/ast: Call open_key before enable_mmio in POST code
2188c2b367c6 drm/ast: Fix test for VGA enabled
e8b120e25fbc drm/ast: Fix AST2400 POST failure without BMC FW or VBIOS
c9cf983337a0 ipc/shm: Fix shmat mmap nil-page protection
1827f7e6062b mac80211: flush delayed work when entering suspend
0dad072cfc1d ALSA: hda - Fix micmute hotkey problem for a lenovo AIO machine
e5ee49ad28a0 mm: do not access page->mapping directly on page_endio
21a6489deda1 mm: vmpressure: fix sending wrong events on underflow
091e3373d97f mm/page_alloc: fix nodes for reclaim in fast path
7ec8bd575e7b s390: TASK_SIZE for kernel threads
01592a4b8ba8 NFSv4: fix getacl ERANGE for some ACL buffer sizes
bb9e115a5e85 NFSv4: fix getacl head length estimation
05365e1fdea9 scsi: aacraid: Reorder Adapter status check
f90e6f9a26ba rdma_cm: fail iwarp accepts w/o connection params
a60c9ff335a1 IB/srp: Avoid that duplicate responses trigger a kernel bug
3cac36b0423b MIPS: BCM47XX: Fix button inversion for Asus WL-500W
512cbc94607b MIPS: OCTEON: Fix copy_from_user fault handling for large buffers
9b4ed3674858 MIPS: Fix special case in 64 bit IP checksumming.
85050844c0b9 dm cache: fix corruption seen when using cache > 2TB
c0601ca14e10 Bluetooth: Add another AR3012 04ca:3018 device
da1324e7080d regulator: Fix regulator_summary for deviceless consumers
01f9734353be ALSA: hda - fix Lewisburg audio issue
b57d6c457569 goldfish: Sanitize the broken interrupt handler
c1dbd97d8a2a x86/platform/goldfish: Prevent unconditional loading
58cec2bdba91 ath9k: use correct OTP register offsets for the AR9340 and AR9550
9aabd8dbacd8 powerpc/xmon: Fix data-breakpoint
c2fd678ea234 nlm: Ensure callback code also checks that the files match
e53554da9daf drivers: hv: Turn off write permission on the hypercall page
5fdf59513019 USB: serial: mos7840: fix another NULL-deref at open
61f3d2296678 NFSv4: Fix memory and state leak in _nfs4_open_and_get_state
95f495896ad8 drm/atomic: fix an error code in mode_fixup()
04df6689f870 ktest: Fix child exit code processing
a52f3859b78c ath9k: fix race condition in enabling/disabling IRQs
db5051f86016 rtlwifi: rtl8192c-common: Fix "BUG: KASAN:
f59f883503b7 USB: serial: ftdi_sio: fix line-status over-reporting
4a34581ed021 KVM: s390: Disable dirty log retrieval for UCONTROL guests
6631e70a42ff USB: serial: cp210x: add new IDs for GE Bx50v3 boards
31ac2f17fd85 serial: 8250_pci: Add MKS Tenta SCOM-0800 and SCOM-0801 cards
4c47ad359cc8 jbd2: don't leak modified metadata buffers on an aborted journal
2b24a8367068 s390/qdio: clear DSCI prior to scanning multiple input queues
36e4f568b8f1 s390/dcssblk: fix device size calculation in dcssblk_direct_access()
5e6ef5ef6eaf mnt: Tuck mounts under others instead of creating shadow/side mounts.
54195f1a32ee rtc: sun6i: Switch to the external oscillator
cdb2a7f22913 rtc: sun6i: Add some locking
af1af02352ee USB: serial: digi_acceleport: fix OOB data sanity check
adb1da2a98a2 [media] media: fix dm1105.c build error
c845c73b8396 bcma: use (get|put)_device when probing/removing device driver
e1d467993c45 [media] am437x-vpfe: always assign bpp variable
c53e17083e91 arm/arm64: KVM: Enforce unconditional flush to PoC when mapping to stage-2
75f37dab088e ext4: trim allocation requests to group size
07b79ed1e82c drm/radeon: handle vfct with multiple vbios images
1efa8e2ac68b drm/ttm: Make sure BOs being swapped out are cacheable
a99df0713f43 usb: gadget: udc: fsl: Add missing complete function.
8c06df5655c7 USB: serial: ftdi_sio: fix extreme low-latency setting
de143f74af3e w1: don't leak refcount on slave attach failure in w1_attach_slave_device()
271ce5038fbc w1: ds2490: USB transfer buffers need to be DMAable
57389faf841f ARM: dts: at91: Enable DMA on sama5d4_xplained console
61b067fb433a staging: rtl: fix possible NULL pointer dereference
434c09afa6c9 USB: serial: opticon: fix CTS retrieval at open
700b2315c254 USB: serial: spcp8x5: fix modem-status handling
da3a3becb7a8 USB: serial: ftdi_sio: fix modem-status error handling
270ffbd14d81 USB: serial: ark3116: fix register-accessor error handling
131d81690f18 IB/ipoib: Fix deadlock between rmmod and set_mode
24104f6ae3b4 RDMA/core: Fix incorrect structure packing for booleans
fc47912f44a7 ath5k: drop bogus warning on drv_set_key with unsupported cipher
c2e65cde1bd7 tty: serial: msm: Fix module autoload
ccb2e5cdaffa hv: init percpu_list in hv_synic_alloc()
fbb6950ea08a samples/seccomp: fix 64-bit comparison macros
33b9ac915dba scsi: storvsc: properly handle SRB_ERROR when sense message is present
f0cd3119dcd0 scsi: storvsc: use tagged SRB requests if supported by the device
88e4685b51d3 MIPS: Handle microMIPS jumps in the same way as MIPS32/MIPS64 jumps
a6c4b18bdb3a MIPS: Calculate microMIPS ra properly when unwinding the stack
339da589697a MIPS: Fix is_jump_ins() handling of 16b microMIPS instructions
4556bdd21af3 MIPS: Fix get_frame_info() handling of microMIPS function size
7c6a61c004ad MIPS: Prevent unaligned accesses during stack unwinding
39fffbc9b371 MIPS: Clear ISA bit correctly in get_frame_info()
e9ef2a32a2ec drm/i915/dsi: Do not clear DPOUNIT_CLOCK_GATE_DISABLE from vlv_init_display_clock_gating
(From OE-Core rev: 976c260bfd61e1346c1ef842567eee80a7b7ffca)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following kernel configuration changes to
clean up the SMP configuration fragments and fix a configuration
audit warning.
d0e5ea0e199b smp: Separate smp into 32 and 64 bit versions to avoid kernel warnings
f1369c1d817e bsp/mohonpeak: smp gets added by default, remove unnecessary include
6fc22aa1200b bsp/rangeley: smp gets added by default, remove unnecessary include
[YOCTO #11743]
(From OE-Core rev: 6bd4f855cfc95c82d6bf5b00531f1aad752002ee)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As pointed out by klapperichpaul@johndeere.com, missing configuration
fragments were being picked up twice, once by the tools and once by the
bbclass. Unfortunately, the tools error message was being detected as
configs, and hence no error was reported at all.
Rather than catching the output of the tools, we can instead check the
return code and propagate the error message from the tools directly to
the user.
[YOCTO #11649]
(From OE-Core rev: 960652416e2390337df6d9734375d6829ceb6420)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's possible that src/intel/vulkcan can be written into by sed before it has
been created, so add the required mkdir calls.
(From OE-Core rev: 19e793f65d214294baa9eeaf982f4ced351c7748)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't EXCLUDE_FROM_WORLD, mesa.inc already does this.
Don't add a non-existing path to FILESEXTRAPATHS.
(From OE-Core rev: fa3e2b4c07dffd14b02741470ce274619e9a9bd6)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the conflict between mesa and userland (when former is used to
provide GL and letter used to provide EGL+GLES) by not installing
khrplatform.h header when its not needed.
(From OE-Core rev: 6a079bf5a446c2e98e7444e04dfadaff96342b4f)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove git-relink from PERLTOOLS:
git-2.13.2/Documentation/RelNotes/2.12.0.txt:
* An ancient script "git relink" has been removed.
(From OE-Core rev: f759420ad2a60d0be4ca15f4c9294086ecc86e59)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Version 3.0.6 fixes a failure when using the pxe headers and allows us
to drop the explicit fall through patch as it was fixed upstream.
Other patches were rebased on top of the new version.
(From OE-Core rev: 20c1209f6fe0d56aa3698583a1b6d2774fbf4401)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
recipetool seems to be mangling and stripping out the parameters for git
URI. This will fix this issue as well as resolve the conflict of
protocol parameter added by user. If a user adds their own protocol as
an argument, it'll be honored.
[YOCTO #11390]
[YOCTO #11391]
(From OE-Core rev: 0cd2fc8ca278ebaa76de95545eef26a07b350c8e)
Signed-off-by: Stanley Cheong Kwan, Phoong <stanley.cheong.kwan.phoong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we used -fuse-ld gcc option, then it does not work
ending in
collect2: fatal error: cannot find 'ld' compilation terminated.
This is because we are not creating proper symlinks for BFD
and Gold linker in gcc installation
Secondly, we end up with dangling fortran compiler symlinks
if fortran is not enabled when confguring gcc, therefore
create these symlinks only when fortran support is enabled
in gcc
(From OE-Core rev: f84614c082406287e608860741a82edd2f3c9bca)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libxt build fails with this error:
/home/maxin/poky/build/tmp/work/i586-poky-linux/libxt/1_1.1.5-r0/recipe-sysroot/usr/include/bits/long-double.h:57:33:
fatal error: bits/long-double-64.h: No such file or directory
| compilation terminated.
| Makefile:408: recipe for target 'makestrs.o' failed
Fix the makestrs build.
(From OE-Core rev: 844d477982bb104fa1674324d2699b8995a51a58)
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>
libx11 build fails with this error:
fatal error: bits/long-double-64.h: No such file or directory
| compilation terminated.
This is due to the fact that "makekeys" should be compiled for the host
since it is executed at build time to generate ks_tables.h. Since we have
the X11 include files in the standard path of oe-core, we can remove the
X11_CFLAGS from Makefile.
(From OE-Core rev: c2bc26a163be231f489ea13e6f7226715765732e)
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>
Sascha Willems collection of Vulkan demos is useful as a smoke testing
tool.
* Add patch to install binaries and data.
* Add patch to fix build on X86
* Use a combination of patch and do_install_append to avoid some 3D
models with unclear licensing.
(From OE-Core rev: 88a6fa37e7ec2e68cdb2374f2a5371a6f44b3d67)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe was last upgraded about ~30 releases or three years ago,
it seems to only be touched when something breaks. It also has an
'interesting' license that maybe is open source...
(From OE-Core rev: 42a0fcec9c956834cc0f05bdf66701424472b1b4)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, RPM4 supports to sign the files in RPM payload with plugin
mechanism. We introduce more definitions to make the file signing
available for the users:
- RPM_FILE_CHECKSUM_DIGEST
Global switch to enable file signing.
- RPM_FSK_PATH
The file signing key.
- RPM_FSK_PASSWORD
The password of file signing key.
- RPM_FILE_CHECKSUM_DIGEST
The file checksum digest.
(From OE-Core rev: 95b9ee33d5595078e90c633f6155ec9ba3d184f0)
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Dependencies required for squashfs-lzo and squashfs-xz image builds were
assigned to do_image_squashfs-lzo and do_image_squashfs-xz. As these
tasks don't exist the dependencies were not installed and builds
were failing.
Correct task names for these image types are: do_image_squashfs_lzo and
do_image_squashfs_xz because '-' and '.' are replaced by '_' in all
do_image* task names.
[YOCTO #11760]
(From OE-Core rev: 1f8fc803262cdcc26dabc28af70bf0fdaf2e5847)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tested if core-image-minimal can be built for existing fstypes by
building an image and checking if result file <image>.<fstype> exists
in the image deploy directory.
(From OE-Core rev: 9db3dbde66e3590aea71400891eaea0ae2caf371)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added core-image-minimal -> syslinux dependency to ensure
syslinux artifacts are available from core-image-minimal
build. This should fix test_iso_image, test_bootloader_config and
test_default_output_dir test cases.
Used --native-sysroot in test_image_vars_dir_long and
test_image_vars_dir_short test cases to point out to wic-tools
native sysrtoot.
(From OE-Core rev: b7bcc4ba756aa3941c89999e9d6761738ea5bb05)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
isoimage-isohybrid plugin tries to build grub-efi in its working
directory if it can't find efi binary. Wic should avoid doing anything
in working directories of other recipes. It should use artifacts from
the image deployment directory instead.
(From OE-Core rev: 9a1709278de877085a8d92f6361624e279a603bf)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The default set of dependencies used via wic-tools is not used
anymore as wic images don't depend on wic-tools.
Set of packages required to produce wic image depends on the content
of the .wks file, so WKS_FILE_DEPENDS variable should be used to
provide correct list of dependencies when WKS_FILE variable is set.
As WKS_FILE_DEPENDS is not used in many existing recipes yet we need
to provide default value for it to ensure that removal of wic-tool
dependency doesn't cause image build failures.
Initialized WKS_FILE_DEPENDS with the set of dependencies previously
brought by wic-tool. This is done to provide compatibility and to
avoid breakages of existing image recipes that rely on current set
of dependencies.
Note: This is a temporary solution for transition period.
After some time the list will be either reduced or removed.
Recommended solution is to use WKS_FILE_DEPENDS in image recipes
together with WKS_FILE to specify dependencies.
(From OE-Core rev: 01fc31854f7da6b3a4546121f809875c35bbf0e0)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic-tools.env was uses only when wic is run from bitbake.
As wic doesn't use wic-tools anymore in this mode there is
no need for this file.
(From OE-Core rev: 47b569553f1211e04ee21ebdece2ee3a509a83be)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
isoimage-isohybrid plugin uses result of glob call to
get path to initrd image. When glob returns empty list
the plugin crashes with IndexError.
Checking if result of glob call is not empty should fix
the breakage.
(From OE-Core rev: ad02f253f08a3da3fa5c86ae4f6ba7f94b070578)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When wic can't find native sysroot it tries to build wic-tools
However, it's not possible when wic is run from bitbake.
Moreover, it's not even feasible anymore as wic-tools should be
used only when wic is run manually.
Checked if wic is run manually before building wic-tools.
(From OE-Core rev: 522ac21831944b06fbcc372ac61762576d792c22)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed isodir subrdirectory instead of removing temporary
working directory as working directory can contain copy of
rootfs partition and shouldn't be removed by any plugin.
(From OE-Core rev: fc12ce9d1b92cc0104cf456af1e3d5f146b9219d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At the moment, when building images with IMAGE_FSTYPES=wic one ends up
depending on wic-tools and thus syslinux and grub-efi even when not
using those at all. Ideally, building an image with wic should only
build the tools and components really needed.
The problem is that "wic-tools" is needed also for the manual
invocations of wic, in which case everything that might be needed has to
be built in advance.
Replaced dependency on wic-tools with dependency to a much shorter set
of tools that wic uses almost for any image: 'parted', 'gptfdisk',
'dosfstools' and 'mtools'.
[YOCTO #11552]
(From OE-Core rev: 33ca15b94dbe7204c556c4b5526edd529f6d85f4)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes it's needed to create FAT filesystem with specific
sector or cluster size, FAT size or to use one of other useful
mkdosfs options.
Introduced MKDOSFS_EXTRAOPTS variable to set options for mkdosfs.
[YOCTO #11709]
(From OE-Core rev: 18b52577484d3b86bc31980a50da04141afda5f9)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added packages with different names or based on sources that
generates multiple binaries eg: python-pycurl source generates
python3-pycurl as well. Currently, some of these packages are not
displayed as part of other distro due to naming differences on
the source rather than the binaries as a single source could
produce multiple binaries with different names.
(From OE-Core rev: aed3cebdfbd4f483644a8c200f27d52b981728a3)
Signed-off-by: Shen Joon Tan <shen.joon.tan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
IMAGE_EXTENSION_live is no longer used. It was used by Hob to map the
live image type, but Hob is no longer part of the Bitbake codebase.
(From OE-Core rev: 2b30dcdc903c1b0c18e14e39b954177628d058bd)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Case-insensitive file systems fail during builds in very mysterious ways, such
as mpfr:
ERROR: patch_do_patch: Not a directory
The problem here being that mpfr has a PATCHES file, so when we try to copy the
patches into ${S}/patches/ it fails.
We can't and won't support case-insensitive file systems so add a sanity check
to abort the build if one is found.
(From OE-Core rev: 20ce04fb64f559e64490d53678fa00644a92894a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabling ccache should not cause a complete rebuild, so filter out ccache-native
from the dependencies the same way we do for quilt-native (so the world doesn't
repatch if quilt changes).
This doesn't effect the actual dependencies, just the dependencies that impact
the hash.
[ YOCTO #11417 ]
(From OE-Core rev: ffeca7dcc1abe82cad8374a31bf72b36a472fa1b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CCACHE_DISABLE was added to bitbake.conf in oe-core dd2bab (June 2012) because
autogen-native exports HOME=/dev/null during the build, which is then used by a
host ccache to construct the path to it's cache (/dev/null/.ccache) and this
fails.
However we now always export CCACHE_DIR to solve the same problem in a more
efficient way so CCACHE_DISABLE can be deleted.
(From OE-Core rev: ef33a3138384667f819688141086102e6e83ec44)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using distrooverrides.bbclass without setting
DISTRO_FEATURES_OVERRIDES, the code failed because of a spelling error
in the default.
[YOCTO #11759]
(From OE-Core rev: 174277176fcdc13b4a29e291dafc2f508ff9da66)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Used check_output instead of Popen as it raises CalledProcessError
exception when command exits with non-zero exit code.
Catched the exception to produce user-friendly output.
[YOCTO #11719]
(From OE-Core rev: dac68d2323b0b630c019ce4d5256ed567eaf00da)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introduced custom RunQemuException that script raises on known
errors. This exception is handled in one place and prints
error output without printing Python traceback. This shoud make
error output less scary for the end user.
Handling of unknown errors has not been changed - both error and
traceback will be printed.
Reimplemented OEPathError exception code to handle it similarly
to RunQemuException.
Moved exception handling code into main() to keep it in one place.
[YOCTO #11719]
(From OE-Core rev: a779a382b66e7b43ac53286758b4370dc14b193b)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated manual descriptions to fit current
manual structures.
(From yocto-docs rev: 81d8add49fd09deef432d9a0cc08c9f380c671ed)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11715]
Replaced all instances of MinnowBoard MAX with
MinnowBoard Turbot.
Updated Welcome section to include links to key
sections of quick start.
(From yocto-docs rev: ed55dcd80ef5edddacb2d288e0a6cbe85dccf964)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I did a rewrite of the section to get it into a procedural form.
Missing some technical information and needs a review but it is
the best that can be done at this time. The code for initrd is
not settled.
(From yocto-docs rev: 0fdef8c5fed6ac510d1604a677e6546494b4c96b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The description suggested the reader see the
meta/poky/conf/local.conf.sample.extended file for more understanding
on INITRAMFS_IMAGE. The actual file is
meta-poky/conf/local.conf.sample.extended.
(From yocto-docs rev: 80b474d3417e88a47d1317b2af6552698e907b80)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added a figure for this simple build workflow that uses
BitBake from a Linux host. Also did a bit of re-writing.
A new figure was introduced so the Makefile had to be adjusted
to include that figure. The figure resides in the figures
directory of both the dev-manual and the mega-manual.
(From yocto-docs rev: c3b0b1d53f551c02202cef80a8a48dd24576b975)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The author of the book was still Intel Corporation. This
needs removed. I replaced it with "Scotty's Documentation
Services, Inc.".
(From yocto-docs rev: 14f1df18210a3dcb4b7174ddcad551aa9141696d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The section on the devtool workflow in the dev-manual was 99%
identical to what was in the sdk-manual. I have moved the
workflow procedure from the old "Model" chapter of the dev-manual
to be merged with what was in the sdk-manual. In truth, the
only things added were a note about devtool not being exclusive
to SDK development.
The result of moving (deleting) this section was that the "model"
chapter of the dev-manual went away. The devtool stuff, Quilt,
devshell, and python shell are all out now and there is no
chapter left. So, mega-manual had to be adjusted to not pull that
chapter in when building the dev-manual. I had to delete three
figures that were used in the flow. The figures were already
replicated in the sdk-manual. The figures were deleted from the
figures folder of both the dev-manual and the mega-manual.
I had to make sure all references to the old devtool stuf in the
YP doc set were adjusted.
(From yocto-docs rev: 5dbd643d31ab502df53a22229e457a03da7772b7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
These two sections can stand alone as tasks. I moved them to the
"Common Tasks" chapter.
(From yocto-docs rev: 60c810a9682f8a110fe7c7e4d0d40583a7d72735)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The section on useing Quilt can be a stand-alone task. I moved
it to the "Common Tasks" chapter.
(From yocto-docs rev: bb84b88fc8fc7f82e7bbe580d408ae7880f38d8b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
This section can stand as a separate task. I have moved it to the
Common Tasks chapter.
(From yocto-docs rev: e4fb1ce8b160528aae0f192add614a595b2560a3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some general cleanup and formatting.
(From yocto-docs rev: 8d4458f8fbe02cb8bfa78cbf18726cdd8126850a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The overview section of modifying the kernel needed to be in the
kernel-dev manual and not in the dev-manual. I moved it and took
care of all the links and external references throughout the YP
doc set. One figure was involved that had to be moved to the figures
folder in kernel-dev from dev-manual. That is why the Makefile had
to be edited.
(From yocto-docs rev: 3a704b64544678785b883f82d6e82aedac6790c5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11731]
Updated examples to so they checkout by tag rather
than by branch name.
(From yocto-docs rev: 9dca9fdc315998612f4cd5c9c69e2b3e045562ad)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New variable: METAINTELVERSION and META_INTEL_REL_TAG
and DISTRO_REL_TAG
(From yocto-docs rev: f8be6ea137df9b5964e2cc3fed43cda39a3d27ec)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The section that presented the Yocto Linux kernel file structure
resulting from a build using BitBake needed to be in the kernel-dev
manual. I moved it over. This required transferring over a
figure as well.
(From yocto-docs rev: 0abc6c7d87a6aa10dac28fefbb280eb51fea61a7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section in Appepndix A was full of redundancies used to
explain how the Yocto Project kernel development team has set
up branching and kernel architecture. I consolidated a couple
sub-sections into just the necessary single section.
(From yocto-docs rev: e42efe28aec6bad3779c4b9ea58941272fb01651)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Appendix A of the kernel-dev had a subsection dedicated to just
saying Git was the SCM used by the YP team for development. Having
this information in a dedicated section was overkill. The information
is better as an "aside". I put the stuff in a note.
(From yocto-docs rev: 7e28686f946188daaf0480d4cd68e0e8ff854d37)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The information in the dev-manual kernel overview area really neeeds
to be in the Appendix on kernel structure in the kernel-dev manual.
I moved that informtaion to the appendix. Removal of one redundant
image was necessary from the dev-manual. The figure was literally
repeated in the kernel manual already under a different file name.
(From yocto-docs rev: 00ca68e760e41448c225fb1ca4a77f5201434b93)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
I took the Yocto Linux kernel overview list of kernels out of the
dev-manual and moved them to the "Yocto Project Kernel Development
and Maintenance" section in Appendix A of the kernel-dev manual.
This is a much more logical area to introduce this type of Yocto
Linux kernel information.
(From yocto-docs rev: 0a5154cb4c23697f2b8e2341c8e1dc07362443d2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Took the small reference section out for developing an image
using toaster. This was just a pointer to the toaster manual.
(From yocto-docs rev: 8dcce4411aaa5d1d8fe2c809166a947d0e38a97b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
This section simply pointed to the SDK manual. Does not
need to be in the new "how-to" form of the dev-manual.
(From yocto-docs rev: 1cd842a323ba09ef69e14f56dca1c2a5576252ee)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I put in some edits to be very clear on the state of the files
for the user when they check out by tag.
(From yocto-docs rev: 622d324e7f167f55a5de86ec7af65d7554f2aec8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Re-wordings to be clear about what the user is getting when
they check out a development branch of an upstream repository.
(From yocto-docs rev: deb6ecfd35a76760bc2270bbbc69aa232b0c8cc7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Clarified wording so reader understands they are checking
out the master branch by default.
(From yocto-docs rev: d1e77fff752d9960120340601bc2520c51c4f073)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Manual style dictates use of bold lead-ins for a numbered list.
(From yocto-docs rev: 32469dc0d61d755d0119a0374070221b0bd4bdfb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Manual list style requires steps to have bold lead-ins.
(From yocto-docs rev: 2d226cf6710853f7be8f0c3bd8b1eea72cb4eb7f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Formatting style need bold lead-ins for steps.
(From yocto-docs rev: b75337188e2346dd40004e22b45a2975f1d4cff3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Moved the section on BSP Development workflow from the dev-manual
into the bsp-guide. This procedure needs to live in the BSP
guide.
Many links had to be fixed.
(From yocto-docs rev: fbf06240f83221929aea237660146e0076207f6a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Moved this section from the "Getting Started with the Yocto
Project" section. The topic is not really a getting started
topic. It is better suited in the "Common Tasks" chapter.
(From yocto-docs rev: d6cdade9066bdbce0596672978c178d2ec82c9a4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
I re-wrote the "Building Images" section into a "Performing
a Simple Build" section. A single link in the common tasks
chapter was affected by the section name change.
(From yocto-docs rev: de5a4cfa4f63538fe0a5ec0c2aacfb9222b70c4b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Was referencing the "Building Images" section when should have
been referencing the "Images" section in the ref-manual.
(From yocto-docs rev: 7340b358d57c110240e75c1164226144065120b7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The chapter on setting up YP has been completely re-written to
move towards a "how-to" manual. This involved touching every
aspect of the chapter. All subsections now have procedures
surrounding set up stuff. There are some development sections that
still need fleshed out.
Many, many links and references in other chapters were affected.
These have been fixed.
A couple style-sheet (*.css) files were also updated to support the
"writernotes" style, which renders paragraph text in red.
(From yocto-docs rev: c4c2a6cf575ce5c783b1cc84d9f7e961aebef49c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Added a new procedure section for using the Downloads page from
the YP website.
(From yocto-docs rev: 7efb29dfa7a0960710ca7cf3983048f166c6a13f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This addition allows an author to use the following form to
highlight a paragraph in red.
<para role="writernotes">
Blah Blah Blah
</para>
(From yocto-docs rev: 40d646229e5ec9fa905a372be795120449f9f9dd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
I have added a new procedure on using the Index of Releases area
to get snapshots of various tarballs. I recommend that is not
the way you usually want to get files as using Git is recommended.
The section exists for completeness.
In the ref-manual, I cross-reference the procedures from the
associated conceptual areas.
(From yocto-docs rev: 812f344966966591d883fbebb4ae1f72c11dd483)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
I created a new procedure for locating and viewing YP source
repositories using the GUI-based method. Created an anchor in the
ref-manual so I could reference the 'git clone' command.
(From yocto-docs rev: 2ae28682407039420f4fcca71a298e1dd34c81f0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
To move toward a "how-to" dev-manual, I am consolidating procedures
for locating and establishing local copies of YP source files into
a single heading. I set up a "Working With Yocto Project Source
Files" section. This will contain sub-sections to find the various
areas of YP files and how to clone and check out stuff.
(From yocto-docs rev: 87ff4ee41a50e8aed6b9c5402c51bb47f5a252a3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This material was being replicated across the Quick Start,
dev-manual, and ref-manual. I have created a single point in the
ref-manual that collects the disparate information that existed.
I deleted the entire section in the dev-manual since that book
is converting to a procedure manual and the very front of the manual
adequately mentions YP and provides pointers to where the user can
get more information.
The QS provides a more complete introduction of YP since it is a
QS.
(From yocto-docs rev: bd8093417af2d93556410d5482dad32c11a0a964)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11699]
Configuration example didn't work with "" around
baseurl. Removed "".
(From yocto-docs rev: c40d818fb92904b74e677749ee16c52716dd02a9)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipe and patches (including this patch) had been moved into meta-mingw,
this dangling patch is useless here, so should be removed.
(From OE-Core rev: b1c4661742d12cfd444043e597d01bd627ee4ca4)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mesa platforms no longer depend directly on egl. Current
implementation breaks without egl with x11 (which can happen with
mesa-gl).
Separate the platform selection. Make drm platform depend on gbm
PACKAGECONFIG by default.
(From OE-Core rev: 622d683273bab66f0b4dd385d083bff9fb7bb1de)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Delete the pinnings which are no longer required during world builds
becasue they have been fixed to build on musl
(From OE-Core rev: b82bc7f003d2133e818be5bd473e9c640d4b10bf)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The change to link libssp_nonshared.a only for musl was to move
spec file changes to config/linux.h under a conditional when
DEFAULT_LIBC == LIBC_MUSL which worked fine for all but ppc
since gcc for ppc provided its own linux.h overrides which are
used. This patch duplicates the change in those headers too
(From OE-Core rev: 9d39168a6acfa1f289a4448271c0bf9caaea10ec)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bring in following changes
* fix missing volatile qualifier on lock in __get_locale
* remove ineffective compiler assist from printf
* fix undefined behavior in ptrace
* unify the use of FUTEX_PRIVATE
* fix undefined behavior in free
* reapply va_arg hacks removal to wprintf
* remove useless declarations in string.h
* allow specifying argv[0] when invoking a program via ldso command
* fix regression in dlopen promotion from RTLD_LOCAL to RTLD_GLOBAL
* ldso: avoid spurious & possible erroneous work for libs with no deps
* powerpc64: add single-instruction math functions
* fix clang CFLAGS checks and silence unused argument warnings
* s390x: add single-instruction math functions
* fix arm run-time abi string functions
* fix regression in getspnam[_r] error code for insufficient buffer size
* fix omission of microblaze user.h definitions
* fix iconv conversions for iso88592-iso885916
* handle errors from localtime_r in ctime_r
* set errno when getpw*_r, getgr*_r, and getspnam_r fail
* handle localtime errors in ctime
* handle mremap failure in realloc of mmap-serviced allocations
* getdate: correctly specify error number
* catopen: set errno to EOPNOTSUPP
* fix glob failure to match plain "/" to root directory
* use hard-coded sh4a atomic opcodes to avoid linker errors on sh
(From OE-Core rev: 1e109651acd53b8bad5bc2ccdf152d747a91f1ac)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sigaltstack is no more exposed by glibc see (bug 21517)
therefore adjust to use stack_t instead
Use res_state typedef instead of referring to __res_state struct
(From OE-Core rev: c5cb3a582531dd1b9c40df5bcaa6f8bf5b451a54)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libnsl has been obsoleted in 2.26 and will be removed in future
until them we enable it
(From OE-Core rev: e8047c772f49fe5a4a18d54289d98fb2f98a8176)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Eventually it will be released as 2.26 final
(From OE-Core rev: 5a58883258206893d15990953c8691b05473eecb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test could break in a variety of ways:
a) If BB_HEARTBEAT_EVENT was less than ~0.25 it would hang indefinitely
b) The mask is set after draining the event queue meaning a heartbeat event
could have happened
c) The test exits once it sees the events it wants, it doesn't check for
spurious events such as heartbeats which shouldn't have occured.
d) The hardcoded delay of 0.25 is nasty and shouldn't be needed.
I found a bitbake bug and fixed that meaning we don't need the delay any
more which fixes d). That means a) is no longer an issue either.
We now set the mask, then drain the queue meaning no spurious events should
be able to sneak in. The test is also tweaked to wait for 5s in total to
ensure spurious events don't occur such as heartbeat events we shouldn't see.
[YOCTO #11045]
(From OE-Core rev: 7dd5dfc4d56f1201110d947ce1ca3c6d64fbc7da)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commands:
bitbake nodejs-native;
bitbake nodejs-native -c clean;
bitbake nodejs-native;
bitbake -c addto_recipe_sysroot nodejs-native;
bitbake -c devshell nodejs-native;
bitbake -c addto_recipe_sysroot nodejs-native;
bitbake -c devshell nodejs-native;
never result in npm in the sysroot within devshell. The reason is the
addto_recipe_sysroot stamp isn't removed when do_fetch is run but the sysroot
is cleaned.
With this patch, the second devshell will contain npm, which I think is probably
the best outcome we can hope for here.
[YOCTO #11461]
(From OE-Core rev: c440298674ab3b960c83a127eedb9e1b66bddf78)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Buildiptables test cases are conflicting with images built with “musl”
as standard C library, in order to avoid those issues lzip package was
selected to be used on the tests as this does not have any "musl"
dependency.
[YOCTO #11713]
(From OE-Core rev: b798284f62b3cb171373716b1ee84403439314aa)
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Buildiptables test cases are conflicting with images built with “musl”
as standard C library, in order to avoid those issues lzip package was
selected to be used on the tests as this does not have any "musl"
dependency.
This patch is applicable for testimage tests
[YOCTO # 11713]
(From OE-Core rev: 41683e0ab316049e28b1f4ceaf39f0fe17722d92)
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace with an mapping for http://www.mirrorservice.org to align
with recent changes to SRC_URI in the lsof recipe and allow
non-current lsof tar files to be found in the /OLD subdirectory.
(From OE-Core rev: 2ea075ffd6a4d68be546f0c10fc94f7a27e8f761)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream lsof releases are hosted on an ftp server which times out
download attempts from hosts for which it can not perform a DNS
reverse-lookup. See:
https://people.freebsd.org/~abe/http://www.mirrorservice.org seems to be the most commonly used
alternative (and using it for SRC_URI allows the custom
UPSTREAM_CHECK_URI to be removed).
(From OE-Core rev: 4e718242c1554021689a7946add055b22b81ec42)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current linuxloader.bbclass does not support musl libc ldso, so add it
in.
After changing, now the linuxloader function will call a subfunction
according to which virtual/libc is being used, glibc or musl, the
linuxloader_musl function is made on top of the LDSO macro defined
in musl source, by mapping related OE variables to it.
Change tested on following machines:
"genericx86"
"genericx86-64"
"beaglebone"
"qemumips64"
"qemuarm64"
"mpc8315e-rdb"
"edgerouter"
"qemumips"
"kc705-microblazeel" - meta-xilinx
"qemuppc"
(From OE-Core rev: 5d4acaed81a811912e60d85c507bee819623369e)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds a Vulkan video sink (using xcb and/or wayland).
Add a few patches to fix the build.
(From OE-Core rev: a80a0b3981d129a945ddd775690963cefa15376a)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Existing musl fixups in perl recipe doesn't cover linux-muslx32.
This is fixed to support musl-x32 build.
(From OE-Core rev: 4a50250edb48510fa6382b2700a39a74847d287b)
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>
The labels array may change its virtual address on a reallocation, so
it is invalid to cache pointers into the array. Rather than using the
pointer directly, remember the array index.
Fixes miscompilation of shaders in glmark2 ideas, leading to GPU hangs.
This is a backport from 17.1.5.
(From OE-Core rev: 7a0ababb9f5c7f09bf072412e0744dcf69534129)
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>
GCC44_IA32_X64_DLINK_COMMON and GCC49_IA32_X64_DLINK_COMMON
variables add to final linker flags that ovmf build forms
on its own, so trying to inject it from environment will not
work.
Here we add option to disable pie during linking, which should
have been accompanied with correcponding gcc/cflags.
Fixes
| /mnt/a/oe/build/tmp/work/i586-bec-linux/ovmf/git-r0/git/Build/OvmfIa32/RELEASE_GCC5/IA32/OvmfPkg/AcpiTables/AcpiTables/OUTPUT/./Facs.dll: Bad definition for symbol '<unknown>'@0 or unsupported symbol type. For example, absolute and undefined symbols are not supported.
(From OE-Core rev: 85476cdb19d5c383966ba753a71eaeb3622bd6b4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we have disabled FPIE from SECURITY_CFLAGS already, we have
to ensure the same with gcc, otherwise gcc (on-device) will be built
defaulting to PIE, and such binaries will fail to execute
(From OE-Core rev: 4f3a9ccdb1d45804f4c094589e69e0bc87dc9c62)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
userland graphics driver provided libegl for rpi depends upon
symbols from vchostif library, therefore add it to linker cmdline
helps with loadng gst-gl plugins on rpi
(From OE-Core rev: c32dbe73f2089177a071ba81a9de82dac7741e44)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patch the makefile so it can respect flags from environment
add a patch to fix a run time crash
(From OE-Core rev: 39c00c7c42fe7e555eb65ea7c01bfc9cb8a34514)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
glibc already provides the content for libssp_nonshared
in libc_nonshared.a therefore we dont need to make it
universal.
This also fixed build issues on glibc when linking statically
and using -fstack-protector
Fixed errors like
/mnt/a/oe/build/tmp/work/i586-bec-linux/aufs-util/3.14+gitAUTOINC+bdfcc0dcfc-r0/recipe-sysroot/usr/lib/../lib/libc.a(stack_chk_fail.o): In function `__stack_chk_fail': /usr/src/debug/glibc/2.26-r0/git/debug/stack_chk_fail.c:27: multiple definition of `__stack_chk_fail_local' /mnt/a/oe/build/tmp/work/i586-bec-linux/aufs-util/3.14+gitAUTOINC+bdfcc0dcfc-r0/recipe-sysroot/usr/lib/../lib/libssp_nonshared.a(libssp_nonshared_la-ssp-local.o):/usr/src/debug/gcc-runtime/7.1.0-r0/gcc-7.1.0/build.i586-bec-linux.i586-bec-linux/i586-bec-linux/libssp/../../../../../../../../work-shared/gcc-7.1.0-r0/gcc-7.1.0/libssp/ssp-local.c:47: first defined here collect2: error: ld returned 1 exit status
(From OE-Core rev: d71eba26850838b2878efea3f8c392a2eb2ebbfb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GCC is configured correctly to pass PIE cflags/ldflags
(From OE-Core rev: e93765ffb5718b0fce84f0b8123963176dea95e4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GCCPIE flag which is empty by default adds "--enable-default-pie"
configure option for harderned distros
We do not require to add -fpie -pie flag externally anymore
(From OE-Core rev: 1c7e195c94764d680a12a49b870f04cd58860f81)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This uses the newly added MultiConfigParsed event to handle problems where
checksums in multiconfig build were not fuctioning as expected.
The issue arises around SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS which contains
entries like:
* gcc-cross-${TARGET_ARCH}->virtual/${TARGET_PREFIX}libc-for-gcc
* gcc-cross-${TARGET_ARCH}->linux-libc-headers
These need to be expanded in the multiconfig data store but then placed
into the shared main datastore used by the siggen code. The only other
alternative would be a siggen instance for each multiconfig however that
seemed even more complex and invasive.
In real world usage, this issue would mean a qemux86 base config with
other armv5 and armv7 configs (e.g. beaglebone and qemuarm) would
try and build gcc-cross twice since dependencies normaly excluded
(e.g. linux-libc-headers) would now be included. This breaks sstate reuse
as well as breaking builds unless separate tmpdirs are used.
This patch adds all the entries for each multiconfig. Whilst there may
be duplicates, this shouldn't be an issue.
(From OE-Core rev: 7267e7c000c76c44d09835d4cd2bc485b6a39a2a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To quote Paul:
Not that long ago we added a prefix to logged messages to allow us to see
where the message has been generated (recipe / task). This is undoubtedly
useful for errors and warnings, however, I'm not sure it's really appropriate
for bb.plain(). As an example, see the output for -c listtasks now:
...
NOTE: Executing RunQueue Tasks
nodejs-native-4.5.0-r0 do_listtasks: do_addto_recipe_sysroot
nodejs-native-4.5.0-r0 do_listtasks: do_build Default task for a recipe - depends on all other normal tasks required to 'build' a recipe
nodejs-native-4.5.0-r0 do_listtasks: do_checklicense
nodejs-native-4.5.0-r0 do_listtasks: do_checklicenseall
nodejs-native-4.5.0-r0 do_listtasks: do_checkpkg
...
This patch excludes PLAIN messages from this prefixing making the log output
neater.
[YOCTO #11457]
(Bitbake rev: 4a14b44b3e4fad3a3e5e53461aa8ba9929a515b8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When heartbeat event support was added it was only added to process.py. Add
it to server/xmlrpc too. There is duplicated code however since we're likely
to combine the server abstractions soon its not worth worrying about now.
This ensures the backends have the same event support.
[YOCTO #10741]
(Bitbake rev: 00bf2e60222767b4dee84fb3f958732a83544e80)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Messages printed when no UI is connected (e.g. memres) are currently lost.
Use the existing queue mechanism to queue these until a UI attaches, then
replay them. This isn't ideal but better than the current situation of
losing them entirely.
(Bitbake rev: cb241fb8544dfb05646dbae1a1b04e17878a466c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
You might think Queue.Queue.get(True, 0) would return an event immediately
if present and otherwise return. It doesn't, it immediately "times out"
and returns with nothing from the queue.
The behaviour we want is not to wait but return anything present which is
what .get(False) does so map to this.
This fixes some odd behaviour observed in some of the tinfoil selftests.
(Bitbake rev: 412bfab8721ea317898a1974f6a7a0d0bea763df)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The datastore can assume internal API, this just removes the function indirection
overhead involved in this very common codepath (800,000 calls in parsing OE-Core).
(Bitbake rev: 9a36531ed2b2881a65e5d39ee4b68d2bb392ed78)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently builds in multiple TMPDIRs with multiconfig can break
since the BuildStarted event is used to create directory strutures in several
cases (e.g. buildstats.bbclass) and there is only on BuildStarted event
generated in a multiconfig build.
We have two options, a) to add a new MultiConfigBuildStarted event which is
generated once per multiconfig, or b) allow multiple BuildStarted events.
Having reviewed the code and current users of BuildStarted, sending one event
per multiconfig seems like its the best way forward and the existing code looks
able to cope with the duplication of events. I did also check toaster and I think
that can handle this issue too (multiconfig builds may have other issues there).
I'm therefore proposing we send multiple BuildStarted events for multiconfig
and for consistency, send multiple BuildCompleted events too.
We need to ensure that BUILDNAME, BUILDSTART and DATE/TIME are set consistently
in all the different multiconfig datastores. These events can write to the
datastore so copies are not used. buildFile was also cleaned up to ensure it
uses the right datastore in various places.
(Bitbake rev: 0b00f0382780ab5390a5c3f756a9b4efafe0aec8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are some cases where the metadata needs to be aware a multiconfig build
is happening and have access to the multiconfig data stores to merge data into
the common build. This adds such an event allowing access to these datastores.
(Bitbake rev: 160e47f5df90850e64dcb857c81a5039abc9235f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The image swabber had been dropped by commit e18657df:
[ meta: Drop swabber ]
We need also drop its reference in local.conf.
(From meta-yocto rev: af19371774b3181af7bdd59e12a16c37d922f429)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Missing user feature description file
when select linux-yocto-custom in script/yocto-bsp
and causes failure in script/yocto-kernel feature add.
[YOCTO #11585]
(From meta-yocto rev: 9939e7eacf8a205fb0b10de8a6cc065a8048b103)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To match with the target image, the generated nativesdk's target sysroot also
should have the root symlinks(/lib*, /bin/, /sbin). So, extended the
'create_merged_usr_symlinks' to reuse symlink creation part even for nativesdk
using POPULATE_SDK_PRE_TARGET_COMMAND.
(From OE-Core rev: 2d7a58ef7a9597fde868a0582153d1f9a3007f1e)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prepare the symlinks required for merged /usr at the time of rootfs creation.
The links created in rootfs are:
/bin --> /usr/sbin
/sbin --> /usr/sbin
/lib --> /usr/lib
/lib64 --> /usr/lib64
We cannot make these symlinks as part of 'base-files' or some other package.
Because at rootfs creation, installation of the package(say kernel) that depends
on these root folders/links fails, if package manager installs this package
prior to base-files.
These symbolic links in top level folder should be present as long as
- kernel tools use /lib/{module,firmware}
- shell scripts uses "#!/bin/sh"
(From OE-Core rev: 3f978f24ae2cf831bd2b82270f6353edda6364a5)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Enable/disable the split-usr support in systemd based on 'usrmerge'
DISTRO_FEATURE.
- Modify rootprefix to point to ${root_prefix}, rather than ${base_prefix}.
- And fixed firmware path to use ${nonarch_base_libdir} instead of hard-coded
'/lib', because when 'usrmege' distro feature enabled this path would be
'/usr/lib'.
(From OE-Core rev: 7ca0415c26d5a8b00716b0a49f069e26fdeac30c)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use ${root_prefix} instead of ${base_prefix} while setting
${target_base_prefix}, otherwise we might loose the root prefix configuration
change in case of 'usrmerge' distro feature is enabled.
(From OE-Core rev: 3ebb2da2eb1ff2f6072a2909e0ac71614e0db0bd)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A new configuration variable ${root_prefix} added, which shall be used by all
base_{lib,bin,sbin}dir variables. When usrmerge DISTRO_FEATURE is enabled
${root_prefix} points to ${exec_prefix} otherwise to ${base_prefix}
(From OE-Core rev: 700848c6ebd03bf3105d09a41d758883ab875618)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The US download mirror appears to be down, so use the main host instead.
(From OE-Core rev: 8766a93c2c9774e53bb7950f8407243ece4ac682)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Use a list and re-order alphabetically to make it easier to read and
update.
* Add missing runtime dependencies:
- acl (getfacl/setfacl commands are required)
- attr (getfattr/setfattr commands are required)
- iproute2 (required for netns tests)
- curl (curl command is required)
- util-linux (ipcs command is required)
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
(From OE-Core rev: a7480beb33e69d7cb63353ffa215326f4ae4b87d)
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebase the patch on latest ltp upstream:
0007-fix-__WORDSIZE-undeclared-when-building-with-musl.patch
[Yocto #11548]
(From OE-Core rev: 69bd27d9d268d4c52aa521a0ceed0eb5a259a516)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to the fact that the recipe uses INHIBIT_DEFAULT_DEPS, we need to
manually add the cross compiler as a dependency.
(From OE-Core rev: 00fba52c8a6f6383137cf89fc7aa34cc3e2ff45f)
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This includes following upstream bug fixes:
Bug 77240 - khrplatform.h not installed if EGL is disabled
Bug 95530 - Stellaris - colored overlay of sectors doesn't render on i965
Bug 96958 - [SKL] Improper rendering in Europa Universalis IV
Bug 99467 - [radv] DOOM 2016 + wine. Green screen everywhere (but can be started)
Bug 101071 - compiling glsl fails with undefined reference to `pthread_create'
Bug 101252 - eglGetDisplay() is not thread safe
Bug 101294 - radeonsi minecraft forge splash freeze since 17.1
Bug 101451 - [G33] ES2-CTS.functional.clipping.polygon regression
(From OE-Core rev: f0762f5bad36b7d7d93f8f24bc64cdb0c0d36f09)
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>
The 17.1.2 release has changed the platform setting and when not
explicitly disabled it assumes x11 support.
Fixes:
| checking for x11-xcb xcb xcb-dri2 >= 1.8 xcb-xfixes... no
| configure: error: Package requirements (x11-xcb xcb xcb-dri2 >= 1.8 xcb-xfixes) were not met:
|
| No package 'x11-xcb' found
| No package 'xcb' found
| No package 'xcb-dri2' found
| No package 'xcb-xfixes' found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.
|
| Alternatively, you may set the environment variables XCB_DRI2_CFLAGS
| and XCB_DRI2_LIBS to avoid the need to call pkg-config.
| See the pkg-config man page for more details.
The issue has been exposed by meta-freescale BSP. Fix tested with
imx6qsabresd machine.
(From OE-Core rev: 49c3dad38134857b31152bf76ebf2cd78c8a53c8)
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>
mirrors is a list after split() and results in:
AttributeError: 'list' object has no attribute 'strip'
when the 'mirror values are pairs' check fails.
(From OE-Core rev: 2b7232f2913cc3c8463f136bad7dd06b690c5141)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By specifying the -e <var> option one or multiple times, extra
variables available in the pkgdata can be displayed, e.,g,
`oe-pkgdata-util package-info -e SUMMARY -e LICENSE ...`. The extra
variables displayed are quoted since some of them may contain
whitespace.
(From OE-Core rev: 6f054fcf08f6d5aeb6b5ade74ac5cc61a99fb8fe)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The write_{host,target}_sdk_manifest don't need to be set as
SDK_POSTPROCESS_COMMAND because are already append to
POPULATE_SDK_POST_{HOST,TARGET}_COMMAND and the if doesn't
make sense because are only added for populate sdk task.
[YOCTO #11741]
(From OE-Core rev: b10ecbab3acd46e48d36910e30544e9f5f08d6d7)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to have some level of optimization level for FORTIFY_SOURCE
to work therefore set --enable-debug=no
Add a patch to fix build error due to unused result of fread
(From OE-Core rev: 8d3bd6fbf748ad6f67bb2e86854d15f99a07bf87)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bcm43xx failed as time out for firmware downloading.
The root cause is that it need wait 50ms to download firmware,
but the value of 50us is set to the timer.
(From OE-Core rev: bb8bc17ab8d71e3a30e2f0b655c42434dd968ea4)
Signed-off-by: Jun Zhu <junzhu@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update to the latest commit on the 2.28 branch to pick up:
a3e00a8 [GOLD] Avoid duplicate PLT stub symbols on ppc32
along with several backported bug fixes for arm*, etc.
This resolves the systemd link error for qemuppc
with the error message:
.../powerpc-oe-linux-ld.gold:
error: invalid STB_LOCAL symbol in external symbols
error: linker defined: multiple definition of '00000001.plt_call.memcpy+8000'
command line: previous definition here
described in:
[YOCTO #11696]
(From OE-Core rev: 0d1273cdf8652bf1844f1f1fe4ba0eacd27ada65)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This moves the main content of test_signature into a helper
function. It can be reused by arbitrary tests that need to do
a before/after signature comparison. Long-term this might even
be useful in oeqa itself.
(From OE-Core rev: ecc9a1f9ceec9996aeb2c602846d51277de0b4a5)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It may be useful to append a suffix denoting the file format. For
example, README.rst is rendered differently when viewed on Github, and
also helps editors to switch to a mode more suitable for the format.
The tests uses a file pattern to find the README file(s) and treats
the one with the shortest name as the main one which must not be
empty.
(From OE-Core rev: 501b5b7f338396a4a115355b8a78ae5b03f67d9a)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"test_signatures" ignores wold build breakage for the sake of
reporting differences also when a world build is broken. Therefore we
need a dedicated test that a world build at least theoretically can
proceed without obvious parse time problems (dependencies, parse
errors, dangling .bbappends, etc.).
This is similar to the BSP test_machine_world. The difference is
that test_world doesn't change the MACHINE.
(From OE-Core rev: 1ca35d8571a92c7f8f80c909ca38666da82eb929)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Software layers were previously allowed to change signatures, but
that's not desired for those layers either. The rule that a layer
which is "Yocto Compatible 2.0" must not change signatures unless
explicitly requested holds for all kinds of layers.
However, as this is something that software layers might not be able
to do right away, testing for signature changes in software layers can
be disabled. It's on by default, as that was Richard's
recommendation. Whether that should change needs further discussion as
part of finalizing "Yocto Compatible 2.0".
As it might still change, the tool now has both a with/without
parameter so that users of the tool can choose the desired behavior
without being affected by future changes to the default.
(From OE-Core rev: e7fe215f50a1b75771f33fffdda529a95c026d3f)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "test_signatures" test ignored a broken world build when getting
signatures, but the code which then tried to analyze a difference
found by the test didn't, which prevented printing the difference.
(From OE-Core rev: e8416554dfc9d4196543279a4845f6c0671f3e5c)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
add_layer_dependencies() might get called more than once, or one of
the layer dependencies might already be present. The function should
not add layers again because doing so can cause warnings like:
WARNING: Duplicate inclusion for .../meta-openembedded/meta-oe/conf/distro/include/meta_oe_security_flags.inc in .../meta-openembedded/meta-oe/conf/layer.conf
(From OE-Core rev: 4afb7c3c505a4d21906f07f88c966b794a968cbc)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Dropped obsolete patches, because the new version contains them:
- fix-cipher-des-ede3-cfb1.patch
- openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch
2. LICENSE checksum change due to copyright years and wording tweak.
3. Test binaries (x86-64) are included in source code. So remove those
only for ptest.
(From OE-Core rev: 64ec18d7e13d310e5e44080a04b3f2181ea96ae3)
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Imports the current EGL API registry from Khronos.
Makes EGL support optional: this is reflected in the recipe but
egl is enabled by default as before.
(From OE-Core rev: c6b71bc608c66c216a02fafa4781f19cf6f0f465)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch "0003-Add-disable-opengl-configure-option.patch" used Git
rename syntax, which is not supported by patch 2.6.x and older.
(From OE-Core rev: 43e640ddcf32c718b3e0bb3f3654ed60eb497058)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CMake does not define the `find_host_program` command we've
been using in the cross-compiling code path. It was
provided by a widely used Android toolchain file. For
compatibility, continue to use `find_host_program` if
available, but otherwise use just `find_program`.
(From OE-Core rev: e5f4e0df64531e2296bb1f5002eb106c3eec61e3)
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As gcc 4.5 is very old now (released in 2010, gcc 4.6 released in 2011)
this check can be removed now.
(From OE-Core rev: 78ea1af6bc5d314781be4a3c2d28347312238115)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemu-arm and libsdl-native are not in HOSTTOOLS, so there's no point in
checking that they're on PATH.
Also qemu uses pkg-config to find SDL, so libsdl-native isn't required.
(From OE-Core rev: a8d8b0d9e1c2346d5a314ed0a7bf5be66044a51d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a new POPULATE_SDK_PRE_TARGET_COMMAND variable, which can contain
functions need to be executed at pre traget sysroot creation phase.
classes/populate_sdk_base.bbclass: Added POPULATE_SDK_PRE_TARGET_COMMAND to sdk
command variables list.
(From OE-Core rev: b0c65c8a64cd0b77629c9f3c65fc827d4cdcf026)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mkefidsk currently writes a startup.nsh with embedded control characters.
This happens because \b etc are control sequences to the shell echo
command when using dash. The resulting startup.nsh causes the bootup
to fail, and the user is dropped into the EFI shell to manually run
startup.nsh.
Patch originally provided by Troy D. Hanson <troy.hanson@jhuapl.edu>
[YOCTO #9665]
(From OE-Core rev: 008d6cb5bb4969f53a228893c502be8c9420ecb0)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11675]
THere was a "hambedded" link that was broken. The link was
intended to give additional information on adding layers.
Replaced with link about layers and replaced the wording.
(Bitbake rev: 877a1f476212dc151b74ce0f1febdc48956ef0e9)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11675]
There was a "hambedded" link that was broken. The link was
intended to show the bitbake.conf file. I replaced it
with the link to show the actual bitbake.conf file.
(Bitbake rev: 3b8d101e564488ff1f5b27744404f9743da2b97d)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
'mirrortarball' is supposed to be a local variable to the function.
(Bitbake rev: a457cbfb1f20a47db3978290921d0708cd96bd70)
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This script analyses the patches we apply and can sanity check or output
statistics.
(From OE-Core rev: de7914954571ea8e717f56b6d6df13157b0973bc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Configure fails when rebuilding lz4 as LIBDIR is used in two different
places for two different things and we override it with a environment
variable.
(From OE-Core rev: c594cacc88b4239f2be2ee97ea127ae27186dbcd)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some "=" are missing in the regexp, which leads it match multiple results
if the variables have overrides, for instance:
...
SSTATE_DIR="xxxx"
SSTATE_DIR_qemux86="yyyy"
...
it will match both of them without "=".
(From OE-Core rev: 10cb4331caee4b960a6f9ad20023a4a4b69b684e)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A "=" is missing in the regexp, which leads it match multiple results
if STAGING_DIR_NATIVE has overrides, for instance:
...
STAGING_DIR_NATIVE="xxxx"
STAGING_DIR_NATIVE_qemux86="yyyy"
...
it will match both of them without "=".
(From OE-Core rev: fb9cf84b1d537e2b8c26cd78f6ac27c55a7e79fc)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This covers the traditional API as well as the new output_log feature.
While testing, it was noticed that killing hanging commands does not
work when a shell is used to run the command(s). This might be worth
fixing.
(From OE-Core rev: 62489e58ca9975f58b48fc2bd8cf27fd22e25564)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tests that use bitbake("my-test-image") can run for a long time
without any indication to the user of oe-selftest about what's going
on. The test author has to log the bitbake output explicitly,
otherwise it is lost in case of test failures.
Now it is possible to use bitbake("my-test-image",
output_log=self.logger) to get more output both on the console and in
the XML output (when xmlrunner is installed). Example output:
2017-06-23 12:23:14,144 - oe-selftest - INFO - Running tests...
2017-06-23 12:23:14,145 - oe-selftest - INFO - ----------------------------------------------------------------------
2017-06-23 12:23:14,151 - oe-selftest - INFO - Running: bitbake my-test-image
2017-06-23 12:23:16,363 - oe-selftest - INFO - Loading cache...done.
2017-06-23 12:23:17,575 - oe-selftest - INFO - Loaded 3529 entries from dependency cache.
2017-06-23 12:23:18,811 - oe-selftest - INFO - Parsing recipes...done.
2017-06-23 12:23:19,659 - oe-selftest - INFO - Parsing of 2617 .bb files complete (2612 cached, 5 parsed). 3533 targets, 460 skipped, 0 masked, 0 errors.
2017-06-23 12:23:19,659 - oe-selftest - INFO - NOTE: Resolving any missing task queue dependencies
Because the implementation was already using threading, the same is
done to decouple reading and writing the different pipes instead of
trying to multiplex IO in a single thread. Previously the helper
thread waited for command completion, now that is done in the main
thread.
The most common case (no input data, joined stdout/stderr) still uses
one extra thread and a single read(), so performance should be roughly
the same as before.
Probably unintentionally, result.error was left as byte string when
migrating to Python3. OE-core doesn't seem to use runCmd() with split
output at the moment, so changing result.error to be treated the same
as result.output (i.e. decoded to a normal strings) seems like a
relatively safe API change (or rather, implementation fix).
(From OE-Core rev: 00b8c7ff17cd8f1920728fdc2653068e63d71724)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
merge: wait()
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch adds ptest for slang, it uses `make runtests` to run tests.
The Makefile runs runtests.sh for each *.sl and *.slc tests.
runtests.sh is patched for printing test results in a common format,
Makefile is patched in order not to compile any dependencies.
Changes v2->v3: rebased on the latest master (1d9a88f6).
(From OE-Core rev: 643c81afc16f8d3522cc5dc491459a1bae14d827)
Signed-off-by: Stefan Strogin <sstrogin@cisco.com>
Cc: xe-linux-external@cisco.com
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* also add UVESA_MODE variable for easier change of resolution and respect it in QB_KERNEL_CMDLINE_APPEND
as well
* don't use init script just to call modprobe
* I wasn't able to test this all the way with runqemu, because runqemu
doesn't work on my system, but I've verified that the right params
appear there and that I can easily change UVESA_MODE from
conf/local.conf, the modules.d and modprobe.d files look OK:
OE qemux86@ ~/build/oe-core/tmp-glibc/deploy/images/qemux86/core-image-sato-qemux86-20170427212613.rootfs
$ cat etc/modules-load.d/uvesafb.conf
uvesafb
OE qemux86@ ~/build/oe-core/tmp-glibc/deploy/images/qemux86/core-image-sato-qemux86-20170427212613.rootfs
$ cat etc/modprobe.d/uvesafb.conf
options uvesafb mode_option=1600x1200-32
so I'll be able to drop this KERNEL_MODULE_AUTOLOAD +
KERNEL_MODULE_PROBECONF from my DISTRO conf.
(From OE-Core rev: f7ba5b5f76bb5678ca3e6ad51586f25871f7a9fb)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the changes introduced in ae9102bda3
("copyleft_filter.bbclass: Allow to filter on name"), it is
impossible to filter on the recipe type, all recipes are
treated as though they should be included if the license
matches, irrespective of the COPYLEFT_RECIPE_TYPES
variable.
Fix this.
(From OE-Core rev: e612dfa520c7d7ecf58006e82189be601204f38d)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There should be no reason to execute a full build, as we're
just interested in the deployment of the archives.
The newly added tests already do the same.
(From OE-Core rev: 78c2897dff7cd9fe2cab511549cb146d5231e573)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building with nftables support, connman doesn't ever
depend on the nftables command line tool.
connman will depend on libmnl and libnftnl at build and
run time. In addition, the nftables rules it creates
depend on various kernel modules being present.
Update the PACKAGECONFIG to reflect this. We use the
just introduced RRECOMMENDS field so as to make the
build still succeed if those kernel modules have been
linked statically into the kernel, i.e. when the
packages haven't actually been created.
(From OE-Core rev: ed6c92d62be1c98ec9dbf92317d850499d127631)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Acked-by: Sylvain Lemieux <slemieux@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It can be useful to add RRECOMMENDS to packages created, based
on certain PACKAGECONFIGs.
In particular where a package depends on certain linux kernel
infrastructure (kernel modules) which might or might not be
built as a module, being able to RRECOMMENDS instead of
RDEPENDS on the relevant packages avoids build failures in
case those modules are built statically into the kernel, i.e.
in case no package is being created for them.
Add another field to the PACKAGECONFIG syntax to achieve just
that.
(From OE-Core rev: ec96c985ce1c888c3ce3c4d964d7a106c3c88a5c)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch is generic enough, That it can be applied universally
and makes maintainence easier
(From OE-Core rev: f769b8389091b4ffaff8f6f8fc7e53462ce176a5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It would be possible to achieve any order of calling functions if
prefuncs are added with appendVarFlag and postfuncs with prependVarFlag.
Then image_X.bbclass can add code with either pre/post-funcs or
do_image_x_append or _prepend.
The execution order would be:
image_X prefuncs
image prefuncs
do_image_X_prepend from image_X.bbclass
do_image_X from image.bbclass
do_image_X_append from image_X.bbclass
image postfuncs
image_X postfuncs
[YOCTO #11372]
Thanks to Ola Nillsson for the idea.
(From OE-Core rev: c5fa6034708b344e184bb6fa361d5ea41371008f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The IMAGE_DEPENDS_<type> variables can be set to add dependencies for
individual image types. Those dependencies are added to the do_rootfs
task, while they really should be added to the specific image type tasks.
These variables are not documented anywhere.
Replaced usage of IMAGE_DEPENDS_<type> with explicitly added
dependencies to do_image_<type> tasks.
[YOCTO #11302]
(From OE-Core rev: c5f33d466122e53be910fa448af60ef3937eb828)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
musl _does_ define IFF_LOWER_UP DORMANT ECHO so we should
prevent redefinition of these when on musl.
As per the included patch, this can be triggered by
(from connman 6to4.c):
include <errno.h>
include <stdio.h>
include <stdlib.h>
include <string.h>
include <sys/socket.h>
include <netinet/in.h>
include <arpa/inet.h>
include <net/if.h>
include <linux/ip.h>
include <linux/if_tunnel.h>
include <linux/netlink.h>
include <linux/rtnetlink.h>
include <sys/ioctl.h>
include <unistd.h>
In file included from ../git/src/6to4.c:34:0:
.../usr/include/linux/if.h:97:2: error: expected identifier before numeric constant
IFF_LOWER_UP = 1<<16, /* __volatile__ */
^
This is because at that time, IFF_LOWER_UP has been converted
to 0x10000 already:
enum net_device_flags {
0x10000 = 1<<16,
0x20000 = 1<<17,
0x40000 = 1<<18,
};
Backport a patch that addresses this.
(From OE-Core rev: 24dc2200047bae5d32c168d2625d96ac08a93d3d)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prompt error message to guide user add argument
MKUBIFS_ARGS and UBINIZE_ARGS on
every UBI and UBIFS image creation.
[YOCTO #11589]
(From OE-Core rev: 4a63fa70462eb5a780380b92f916cc8e295246fc)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* when busybox is built with CONFIG_CRYPTPW=y, then it will provide
alternative for mkpasswd, which will fail in postinst, because
mkpasswd from expect wasn't using u-a:
update-alternatives: Error: not linking rootfs/usr/bin/mkpasswd to
/bin/busybox.nosuid since rootfs/usr/bin/mkpasswd exists and is not
a link
(From OE-Core rev: b12cdaf877bc6df71d19a6bbe8c4098d48dea269)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No need to set DEPENDS_class-native explicitly as self-dependencies are ignored
now.
Don't rewrite do_configure, autotools_do_configure works.
Actually invoke the install-private-headers target (autotools_do_install doesn't
take arguments).
Remove redundant cd.
(From OE-Core rev: e41c0827f54ea81274df98473e27263ef7e02c8d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python function subprocess.call() returns the return value of the
executed process. If return values are not checked, errors may
go unnoticed and bad things can happen.
Change all callers of subprocess.call() which do not check for
the return value to use subprocess.check_call() which raises
CalledProcessError if the subprocess returns with non-zero value.
https://docs.python.org/2/library/subprocess.html#using-the-subprocess-module
All users of the function were found with:
$ git grep "subprocess\.call" | \
egrep -v 'if.*subprocess\.call|=\ +subprocess\.call|return.*subprocess\.call'
Tested similar patch on top of yocto jethro. Only compile tested
core-image-minimal on poky master branch.
(From OE-Core rev: 578c8205fd14c48c6d30ef2889d86f1b4aee060a)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make use of the library function oe.package.strip_execs for stripping
sysroot executables. oe.packge.strip_execs is based on code previously
residing in sysroot_strip.
(From OE-Core rev: fc4e6a30c51f8b15b667c21aaa6de9ba45217c1e)
Signed-off-by: Tobias Hagelborn <tobiasha@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Strip all executables in a directory.
Utility function placed in oe-package together with run_strip.
strip_execs is based on strip_sysroot from staging.bbclass
Moving out datastore references in favor of function parameters.
(From OE-Core rev: a350bfc41e8a19dfdc5b16e5fb8f2b198e7c55c1)
Signed-off-by: Tobias Hagelborn <tobiasha@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This directory is deleted by do_install, so luckily the lack of error checking
meant this didn't break.
(From OE-Core rev: 4030274eceaf0b95cac5c54c55c3f91ef45fa9b4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The cache code currently inserts PN into the package list if it isn't already
present. Whilst this ensures that the package list contains something which is
important for native recipes that don't set PACKAGES, it causes confusing
behaviour where a normal recipe doesn't have PN in PACKAGES: for example adding
dhcp to IMAGE_INSTALL will parse successfully but fail at rootfs time as the
dhcp recipe doesn't generate a dhcp package.
Solve this by only adding PN to the cache's package list if the package list is
empty. This results in the package list for recipes such as DHCP being correct,
but native recipes continue to have just PN in the list as before.
[ YOCTO #5533 ]
(Bitbake rev: df31a88786ce5bd7708ff14e1379dc2a58a8c0cf)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 'commit' value should be tested and used first when resolving the ref
for a layer, since that is an explicit override in each layer index
'layeritem' record. If should take precedence over more-global 'branch'
and 'release' values, instead of being last.
[YOCTO #11515]
(Bitbake rev: b303365ca3a1ba5fb8c6839180f1ec26df60c6ce)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you build a project with a large package set, you will get a crash
in "views.py" when the dashboard attempts to fetch the package set to
calculate the package count and size. This is a sqlite limitation, and
it fails with as few as 1220 packages.
[YOCTO #11717]
(Bitbake rev: 02cb2b7f7ff594de75a404396f39a2428750c798)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the ability to select a distro in the project page,
based on values from the Layer Index. Add a distro selection
page with the add layer feature, based on the add machine
page.
[YOCTO #10632]
(Bitbake rev: a156a4eff67cdc3943494f5be72b96e3db656250)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a project has a lot of additional layers, the build may
appear to hang while those layers are checked out.
This patch adds a clone progress bar that is visible before
the parsing progress appears.
[YOCTO #9916]
(Bitbake rev: 0c94d947b74c4dee23d7b9d255facd3cf839ccbe)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are four main API deprecations in Django-1.10:
(a) String view arguments to url() must be replaced by
the explicit class reference
(b) New TEMPLATES stucture in settings.py consolidates
TEMPLATE_DIRS, TEMPLATE_CONTEXT_PROCESSORS,
TEMPLATE_LOADERS, TEMPLATE_STRING_IF_INVALID, and
TEMPLATE_DEBUG
(c) patterns() wrapper in url() is removed, with
urlpatterns now a simple list
(d) NoArgsCommand in commands() must be replace by
BaseCommand, and handle_noargs() changed to
handle()
Also, the Django version checker must be updated to accept
two digit sub-version numbers (e.g. "1.8" < "1.10")
[YOCTO #11684]
(Bitbake rev: e4c7a94fac7a53fc146387a57e5a09b9ec3caca0)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As oe-core has just dropped a number of recipes that were for LSB
conformance, bump the layer version so we can also remove meta-qt4 from
the autobuilder.
(From OE-Core rev: 179b7ae2511974173ae4aa72dfb49384ff69c2e5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The UsePrivilegeSeparation is no longer supported (recent SSHD always runs
with previlege separation), so remove this option from the default config
file to avoid this warning:
/etc/ssh/sshd_config line 110: Deprecated option UsePrivilegeSeparation
(From OE-Core rev: 8ee1c567b67ec55be0fa2fbcef3d5e8fb4e82709)
Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade libpcre2 from 10.22 to 10.23
2. Update the checksum of LIC_FILES_CHKSUM
The copyright time of LICENCE is updated to 2017, the content of LICENCE has no change.
(From OE-Core rev: ed80c94d0099c5a1a75c1e00805fd09f67b6cbbd)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17.1.2 release includes fixes for:
Bug 98833 - [REGRESSION, bisected] Wayland revert commit breaks
non-Vsync fullscreen frame updates
Bug 100741 - Chromium - Memory leak
Bug 100877 - vulkan/tests/block_pool_no_free regression
Bug 101110 - Build failure in GNOME Continuous
17.1.3 release includes fixes for:
Bug 100988 - glXGetCurrentDisplay() no longer works for FakeGLX
contexts?
The 17.1.3 release includes the "util/rand_xor: add missing include
statements" which is now merged upstream (thanks Nicolas Dechesne);
the referred patch is then dropped from the recipe.
(From OE-Core rev: a7417bab21d0fbe0746d9e2b840aa2d576149639)
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>
Use 0037-faccessat-and-fchmodat-Fx-build-warnings.patch instead of
0012-fix-faccessat01.c-build-fails-with-security-flags.patch.
The new patch has been merged upstream and will be available in next LTP
release.
(From OE-Core rev: 3c1d9629ac3b5af47d0f4db09b4eb7e0eb4b0afe)
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to recent modifications related to systemd, sysvinit builds began
to show this warning:
WARNING: connman-1.34-r0 do_package: connman: NOT adding alternative
provide /etc/resolv.conf: /etc/resolv-conf.connman does not exist
Fix this warning by making those updates specific to systemd.
(From OE-Core rev: 2a0afa9682d6119f403626ca31cd8c9854637312)
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>
1. Upgrade file from 5.30 to 5.31
2. Rebase the following patch file.
debian-742262.patch
(From OE-Core rev: f38290ec2a727427a6481e4dafb02ecd8a60fad1)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported patch.
Update paths to files that establish the licensing.
(From OE-Core rev: 40e0ca5902981388398f0e12537897233b5b4f07)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that epiphany needs a working msgfmt as well, let's do this trick
where it should be.
(From OE-Core rev: 7c0032b81f56fea5bec33aa0e74d6e28873f72a8)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the removal of autogen and remake, guile is no longer needed.
Nothing requires it in meta-oe either.
(From OE-Core rev: 0be43e383d6f86066dd1c633ed35839a66a4851b)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using remake as the provider of virtual/make has been broken for a while;
looks like no one is using it at all.
(From OE-Core rev: 8d682f7b60073d9ed6841f3b2fbe6cb9bd04efe8)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With grub no longer requiring it, there's nothing else in oe-core or meta-oe
that does.
(From OE-Core rev: 765fec2f363aeb0540970c57217a2ea1aab8e088)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License change is due to update in FSF address.
Library path needs to be specified in absolute form now.
Remove bash completion file from kernelshark package as it will cause
a conflict with trace-cmd package.
Add a patch to resolve musl build issues.
(From OE-Core rev: 9f07921c6dcb2ea0abeaf1943aa2de5d81c82c0f)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe was carried only for LSB compatibility,
with upstream being defunct for a long time; if there is a need
for a modern, supported implementation of mail/mailx, then
s-nail (http://sdaoden.eu/code.html) or mailutils (http://mailutils.org/)
should be used.
(From OE-Core rev: 0b44f399ce98c61353b30143c205831c1403626f)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These were required by LSB 4.1 tests; there's no other reason to continue
carrying them in oe-core.
(From OE-Core rev: 30fb4c8f329fe3aa3c528ffeba60ee7d702e873e)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was only in oe-core because of LSB; let's remove it. Current libpng is 1.6.x.
(From OE-Core rev: 839af0eafc39b4d182617925e6ab9299431c8601)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Last version of qt4 was released 2 years ago, and Qt4 was
officially EOLd at the end of 2015. On the other hand, LSB is no longer
being developed, and so will 'require' Qt4 until the end of time.
Let's pull the plug.
(From OE-Core rev: a9807738178529c76ea719af158cae1d8566b256)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing is using them in oe-core or meta-oe layers (except python-six is used by
and provided in meta-oe, so there was recipe duplication).
(From OE-Core rev: 701ac8e558c9c09cdab2306ebc416f0070585b11)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was in use by oe-core only when uclibc was used, and so serves
no purpose anymore. Both glibc and musl provide their own implementation.
However, meta-mingw still depends on it, and so the recipe has been moved there.
(From OE-Core rev: fd5f849353e045d60965079a1571160fdd980b0c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The perl-ptest package contains Perl internal modules and generating
file dependencies for it causes problems.
(From OE-Core rev: 77340043e9519ea29899e570dd36315241b188ef)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Following QAPATHTEST (QA hook for each file in each package) and QAPKGTEST (QA
hook for each package), add QARECIPETEST: a hook which is executed once per
recipe in do_package_qa.
This makes it trivial to add recipe-wide QA tests that integrate with the
existing tests.
(From OE-Core rev: 656780b79e55498250d14b2cbe3bed3849fa690d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gnome apps seem to increasingly package those, so let's make it common.
(From OE-Core rev: fc318fb191b68232cc400db2d5eb543d296ee884)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provide a descriptive error message and exit the environment-setup script,
when LD_LIBRARY_PATH is set on the host system.
(From OE-Core rev: 2ad6c563828e70728eb48095b2326b52342df37c)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This script expected the port number to be specified first, which is
somewhat counter-intuitive especially if you're used to
oe-init-build-env; besides, in local usage you are unlikely to need to
specify a custom port. Given that few people are using this yet (based
on the issues I have recently fixed), switch the arguments around so
that the two scripts behave consistently.
(From OE-Core rev: 5d8f4c46329fbd38ebd034c1e32aa49dfec5f529)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
remake was removed from oe-core: use another recipe in the devtool
extract test.
(From OE-Core rev: dbf680ce09ce54f97c781fc7a8e5e05ed4706073)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test runs an upstream version check, and then compares the
list of recipes that failed the check (i.e. those where latest
upstream version could not be established) against the list of
known-broken upstreams. Mismatches either way (upstream check failed,
recipe not in the exception list, or upstream check worked,
recipe in exception list) fail the test.
[YOCTO #11031]
(From OE-Core rev: 544e04a11ab6c26a367ac0b67774bf7ffdf43c88)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mandriva is no longer maintained, with its last release having been in
2011. It's no longer useful as a yard-stick distro, therefore drop it from
distro_check.create_distro_packages_list()
(From OE-Core rev: 4e1bef31e04044d26a948a9682a5122b46d15c0f)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since openSUSE switched to their dual development model of Leap and
Tumbleweed the urls we need to check for package lists has changed. Update
get_latest_released_opensuse_source_package_list() to use the new Leap
urls.
(From OE-Core rev: 263da717ba689eb7efe99234566e2b474e8ce95a)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gunpg added TLS support to the dirmngr for 2.1.0, mostly we linked with
gnutls and had the RDEPENDS for gnutls. Since we had TLS support continue
enabling it by default.
(From OE-Core rev: 7f9806afb0b05fcd6af14910ed488a2ce277913c)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the tests to be explicitly disabled to avoid floating dependnecy
issues. This is not really an issue with RSS but is on previous releases.
Currently the tests are enabled/disabled depending on the presence of
glib-2.0.
(From OE-Core rev: 6c12d0b8a44a91382d3aa064ebef43769d909e73)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Miscellaneous fixes and support for 4.12-rc kernels.
(From OE-Core rev: 65b7489f406e1d0a03a232f6e1ee3cf55a5f5bd2)
Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following commit has removed rpc ports from runqemu-export-rootfs, so
runqemu should also remove them, otherwise "runqemu nfs" doesn't work. And use
abspath for nfsroot, otherwise it doesn't work when it is a relative path.
commit 6bb9860ef7
Author: Cody P Schafer <dev@codyps.com>
Date: Tue Jun 6 18:30:49 2017 -0400
runqemu-export-rootfs: don't change RPC ports
[YOCTO #11687]
(From OE-Core rev: d7c5c9344de6974997c39097a7767ec338c3cca3)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds or fixes the Upstream-Status for all remaining patches missing it
in OE-Core.
(From OE-Core rev: 563cab8e823c3fde8ae4785ceaf4d68a5d3e25df)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a variety of spelling and format mistakes to improve the ease of reading the
tags programatically.
(From OE-Core rev: 6e1aaf80b0d951b48cd25cb7161ec19448295094)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tests for bitbake event module were created on bb.tests.event.
This change is to include them on the default test list in
bitbake-selftest script.
[YOCTO #10368]
(Bitbake rev: 22cc318be1aff16f1b653ff0650fe71d0e9f60bb)
Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change adds a new unit test module (bb.tests.event)
for bitbake event.
It includes the following items:
- Client and server stubs setup
- Testing the module's main functions including:
- get_class_handlers
- set_class_handlers
- clean_class_handlers
- enable_threadlock
- disable_threadlock
- get_handlers
- set_handlers
- execute_handler
- fire_class_handlers
- print_ui_queue
- fire_ui_handlers
- fire
- fire_from_worker
- register
- remove
- register_UIHhandler
- unregister_UIHhandler
- Testing event handling using:
- class Event(object)
- class OperationStarted(Event)
- class OperationCompleted(Event)
- class OperationProgress(Event)
- class ConfigParsed(Event)
[YOCTO #10368]
(Bitbake rev: 0be3ad391adc73cc0dff81bd0ed7874f2c6a00be)
Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current remove method for class event handlers does not update the
event mapping after an event handler is deleted from the main dictionary.
This change enhances the remove method by also updating the event mapping
accordingly.
This was detected after creating the bb.tests.event module.
[YOCTO #10368]
(Bitbake rev: 839f83dea1e99d1d182b138e5aea1df1c45a92fc)
Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, the qemu CPUs for are specified as generic, but the built
artifacts are not. For example, we build x86-64 artifacts targeting
core2duo but run them in qemu with generic qemu/kvm CPUs. This causes
some packages that take advantage of the host architecture to crash
because they try to use CPU features not advertised by qemu. As an
example, Qt uses ssse3. When artifacts linked against Qt and built
targeting core2duo attempt to run on a generic qemu/kvm CPU, we get
the following crash:
Incompatible processor. This Qt build requires the following features:
ssse3
We could fix this by making packages like Qt not take advantage of CPU
features. However, we will probably keep facing similar issues over
time, so it's better to resolve them in a more enduring way.
Fix this by making the qemu -cpu arguments match the built artifacts.
(From OE-Core rev: 20b3574749420a1fef2cb2e0579584453dd4c5c5)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- move X.org to MontaVista
- change Denys's email to ti.com
- move "compression" to TI
- move VA to Intel
- move some to LG
Thanks everyone for taking some recipes!
(From meta-yocto rev: 975143f63278a5873bcd41c9763426eebfc19e65)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
So that:
1) dnf does not complain anymore about releasever not being set and then fail
for the same reason;
2) it's possible to refer to $releasever in dnf package feed configuration
(repo paths in particular) without hardconding the release name (pyro, morty, etc.)
(From OE-Core rev: 789e3fc225adbb61f10aaa3bbc3677856f5f0238)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Revert-proper-check-of-releasever-when-using-install.patch
as the problem has been solved upstream.
Add 0001-Move-releasever-check-after-the-etc-dnf-vars-substit.patch,
as the warning for missing releasever is issued prematurely in our case.
(From OE-Core rev: 68b01f9fe239aa224daa8dc901fa3cf0350261c0)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
So we do not accidentally end of using static libraries when doing
PIE enabled builds
(From OE-Core rev: 164e0d57e5df5bbaeb03c41f0b265ad5ad56ae2f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use bfd linker on ppc, this is because gold fails to link
webkit libraries when PIE is enabled
(From OE-Core rev: 8808d4b13a946499bc6e84a1be15f53d8ab3f673)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix mips/mips64 along the way, it was broken in 3.3 as well
(From OE-Core rev: ace103370746b7d8ae38701d2ef472f53a68edfb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the check_whence.py script since it is only needed to validate
the WHENCE file, and only if explicitly running `make check`.
(From OE-Core rev: 1fc4d5a31f05970d8d80b0106ea81d486f298e33)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
../libpcap-1.8.1/grammar.y:78:10:
fatal error: scanner.h: No such file or directory
(From OE-Core rev: aaed4e92d79919e40c896536fcb4ff6567c9a755)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add information necessary to build for x11, but
do not enable that option.
Fix parallel build directory creation issue.
(From OE-Core rev: 2bfc7be412da501d8a9138a3dde33636c5fe2616)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
packagegroup-core-x11-sato-games package is being RDEPENDS by
packagegroup-core-x11-sato, hence will be installed if x11-sato is
choosen in IMAGE_FEATURES. So it's unnecessary appending it into
IMAGE_INSTALL.
Even worse, it's causing the following error when x11 is not
in DISTRO_FEATURES:
| ERROR: Required build target 'core-image-sato' has no buildable providers.
| Missing or unbuildable dependency chain was: ['core-image-sato', 'packagegroup-core-x11-sato-games']
(From OE-Core rev: 6c28b122e6214a9e57e4b116ff85145d9ac845ec)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new flag doesn't work and the change even broke the XML_PARSE_NONET option.
(From OE-Core rev: 8b586f60778579ee2c9adae429128a07e8437553)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix type confusion in xmlValidateOneNamespace
Comment out code that casts xmlNsPtr to xmlAttrPtr. ID types
on namespace declarations make no practical sense anyway.
Fixes bug 780228
CVE: CVE-2017-0663
(From OE-Core rev: a965be7b6a1d730851b4a3bc8fd534b9b2334227)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix NULL pointer deref in xmlDumpElementContent
Can only be triggered in recovery mode.
Fixes bug 758422
CVE: CVE-2017-5969
(From OE-Core rev: 0cae039cbe513b7998e067f4f3958af2ec65ed1a)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix handling of parameter-entity references
There were two bugs where parameter-entity references could lead to an
unexpected change of the input buffer in xmlParseNameComplex and
xmlDictLookup being called with an invalid pointer.
Fixes bug 781205 and bug 781361
CVE: CVE-2017-9049 CVE-2017-9050
(From OE-Core rev: 2300762fef8fc8e3e56fb07fd4076c1deeba0a9b)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xmlSnprintfElementContent failed to correctly check the available
buffer space in two locations.
Fixes bug 781333 and bug 781701
CVE: CVE-2017-9047 CVE-2017-9048
(From OE-Core rev: bb0af023e811907b4e641b39f654ca921ac8794a)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop uuid-test-error-api.patch as it's been fixed upstream differently:
b770b48700
Drop ptest for tailf, as it got deprecated and removed:
70ca1a7772
(From OE-Core rev: 6b69e08cf60abbc40236cc3894b9783d720a6e6d)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch adds missing PACKAGECONFIG options and allow for a more
fine-grained build of bluez5.
I took care of providing a default configuration that matches the
previous default config.
(From OE-Core rev: 2589cfb8a5b46be958ff3ee228c3a32f82dada86)
Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix up the generation of uImage from vmlinux when KEEPUIMAGE != 'yes'.
This fixes up the working directory that do_uboot_mkimage is run from,
such that it is run from the ${B} directory to access built artefacts.
Simplify the logic in the task so that the parse step either adds the
task or not if the conditions are met. This reduces the need for the
task to run in cases when it is not used. The task is also changed to
depend on the kernel_link_images task as arch/<arch>/boot/* is not
available until after kernel_link_images in certain cases (e.g.
vmlinux/uImage only KERNEL_IMAGETYPES).
Fix up the use of ${S}/vmlinux when pulling the entry symbols
address so that it accesses the vmlinux in ${B}.
(From OE-Core rev: e0b4f018d1c2a65e66c81e5be1da8894e9a6c132)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to the problem fixed in
'56c677a multilib: Move redefinition of STAGING_DIR_KERNEL'
STAGING_KERNEL_DIR must be redefined for lib32 in multilib.bbclass.
However this redefinition expanded STAGING_KERNEL_DIR to an absolute
path. This unconsciously added the TMPDIR path in the sstate object,
causing packages depended on STAGING_KERNEL_DIR being rebuild if the
TMPDIR was changed.
Solve this by forcing the unexpanded TMPDIR variable to remain in the
beginning of STAGING_DIR_KERNEL (as default). Since TMPDIR is included in
BB_HASHBASE_WHITELIST, the sstate object will not be depended on the
expanded path anymore.
(From OE-Core rev: 30238852a53d221ebcaa5b2dc30ea9617c2715a1)
Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When add meta-selftest by the script the testlayer_path needs to be
reloaded to avoid None value.
(From OE-Core rev: d1120849e12c46aa46b02905a3f43c0853bd11a0)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python unittest change the signature of the _make_failed_test
after python 3.4.4 don't pass the method name.
(From OE-Core rev: 767b68e6ca22512ff80e6fbc42154f3f0c2206c0)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current osselftest print confusing assertion message when using
self.assertTrue(os.path.exists(filepath)) to test file path,
example of confusing assertion message:
AssertionError: False is not true
Replce assertTrue/assertFalse with assertExists/assertNotExists to test
file path, this will improve assertion message and simplify coding,
self.assertExists(filepath) will print below
AssertionError: <filepath> does not exist
[YOCTO #11356]
(From OE-Core rev: 08b0702492536d41d3cf2c9c05d1fab36d32a566)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Moved remaining API to misc.py.
Removed runner.py.
Now misc.py is ready to be moved to the scripts/lib/wic and
utils directory can be removed.
(From OE-Core rev: 327e340a29d330f24117e24d0649fa156017208f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wic updates fstab if mount points are specified in .wks.
After partition images are created the original fstab is restored.
However, if exception is raised when partition image being prepared
wic doesn't restore original fstab. This can cause duplication of
added lines in fstab when 'wic create' runs next time.
Wrapping call of 'prepare' method and restoring original fstab
even if exception occurs should fix this.
[YOCTO #11633]
(From OE-Core rev: 29f7735030d383f9614bdb148b52a47c79f05eea)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The script run patchtest on local branch commits, printing results into
stdout. This script is useful to test patches before sending to the
mailing list.
Examples:
$ git checkout master-next-1.9
Branch master-next-1.9 set up to track remote branch master-next-1.9 from origin.
Switched to a new branch 'master-next-1.9'
$ ~/scripts/contrib/patchtest.sh
166e70e: Robert Yang: Thu Apr 2 12:01:37 2015 +0100: patch: fix CVE-2015-1196: FAIL
Issue Missing or incorrectly formatted CVE tag in commit message [test_cve_presence_in_commit_message]
Suggested fix Include a "CVE-xxxx-xxxx" tag in the commit message
Issue Missing or incorrectly formatted CVE tag in included patch file [test_cve_tag_format]
Suggested fix Correct or include the CVE tag on cve patch with format: "CVE: CVE-YYYY-XXXX"
eaa4536: Robert Yang: Thu Apr 2 12:01:37 2015 +0100: wget: 1.16.1 -> 1.16.2: OK
3c29ce3: Robert Yang: Thu Apr 2 12:01:38 2015 +0100: git: 2.3.0 -> 2.3.1: OK
85491f6: Khem Raj: Thu Apr 2 12:01:38 2015 +0100: gdb: Upgrade 7.8.1 -> 7.9: OK
f701142: Robert Yang: Thu Apr 2 12:01:38 2015 +0100: binutils: upgrade to 2.25: OK
385d0b1: Khem Raj: Thu Apr 2 12:01:39 2015 +0100: binutils: Fix ICE in gold: OK
[YOCTO #10720]
(From OE-Core rev: 4ba1334ab7c9b32502a4f8b3e656fb4f8242ccdd)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's possible for tasks to stage symlinks that point to non-existent
files; an example is ncurses-native.do_populate_sysroot. There wasn't
any error checking here so this broke the build when "task" was included
in BUILDHISTORY_FEATURES. In any case we shouldn't be following symlinks
and getting the sha256sum of the link target - we need concern ourselves
only with the target path, so check if the file is a link and sha256 the
target path instead if it is. If it's neither a regular file nor a
symlink (perhaps a pipe or a device), just skip it.
(From OE-Core rev: f60520d97f53dafe783f61eb58fe249798a1e1be)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that when an item fetched from a premirror has an invalid checksum the
fetcher falls back to the usual logic of trying the upstream and any configured
mirrors.
(Bitbake rev: 022adb30dbb0df764c9fb515918cb9a88e4f8d6f)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These were all used by support code for the Hob UI which has been
removed - nothing will currently fire or respond to these events.
(Bitbake rev: 03ba8db0595723286ad462fa197f862e1efdf0de)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the 'noweb' option for Toaster is used, perform the database
check/create if the Toaster database does not yet exist.
This will allow Toaster to not fail if the first use is with 'noweb'.
This avoids potentially clashing database updates if there are
multiple overlaping 'noweb' sessions (for example with a CI system).
If the user wished to update the database, they can either use the
explicit "lsupdate" command or (re)start a web hosted Toaster session
(which is gated by the webserver's PID).
[YOCTO #11378]
(Bitbake rev: 910b96b9894c712aa32b5d4dadda88b766d86e35)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The method "get_last_build_id" missing the "()" in several calls. This
has been failing silently with Django 1.8 but intermittently crash with
Django 1.9.
[YOCTO #11570]
(Bitbake rev: c29e137a6e65317b8a36804126511c2137878715)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The MockEvent needs to not only stand in for Toaster and Bitbake quick events,
it also needs to stand in for LogRecord, and for that it needs to provide
the new getMessage method.
[YOCTO #11440]
(Bitbake rev: d1ac359d460b1abe9815f323b3fd4cd0231cde6c)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For layers directories with sub-layers (for example meta-intel),
Toaster breaks when trying to exact match a dependency event for
that sub-layer against the top level layer directory paths.
Given that top the level layer directory paths are unique, adding
a test to see if the dependency path is a subset of a top level
path is also unique.
Also, since a warning was issued the processing should not fail
on the assert but instead should continue and gather the recipes
and tasks.
[YOCTO #11149]
(Bitbake rev: 6f1a42af19220a6a8d75790893da995e84ecd7aa)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add IDs to the build page menu lines, for example "Tasks", "Recipes",
"Time", "CPU Time", "Disk I/O", and so forth. This will support test
automation.
[YOCTO #11337]
(Bitbake rev: 49d11490fad683a96f71de21f55035398ad8247a)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add IDs to the navigation bar links "All builds", "All projects",
and "Documentation. This will support test automation.
[YOCTO #11335]
(Bitbake rev: 5cbf6f67994fc42dae72ece191e5c9630fc4b5af)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.4, 4,9 and 4.10.
(From meta-yocto rev: 294a7d2e1b8d7c54f6ec11804254e7028390c028)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added detail to the procedure about pushing a change to a
contrib directory and then requesting a pull using the scripts.
More detailed with examples.
Also, clarified some wording in the section about submitting a
patch through email.
(From yocto-docs rev: 76a358ba588b0f36d14aef0a68efe30c4e16746a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
I updated both the introductory sections of the ref-manual and the
dev-manual. These need to work more tightly with the projected
YP documentation set.
(From yocto-docs rev: 6a28537d03fad8a53198edc7f9a6229f4e58e551)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I want this first section to be titled "Welcome" rahter than
"Introduction." It is more in line with the YP QS and the YP
ref manual.
(From yocto-docs rev: 113b82c589c93a33a2a956790668e8c0a28894ec)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I moved the bit about using a VM if you don't have a Linux
machine to a note as it broke the natural flow of this section.
Also, inserted a link to the comprehensive list of links and
other documentation references to the existing list of
other information.
(From yocto-docs rev: 73750063580ef7bc20bd445adc3e2b0b01e2257f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I changed from "Pah-key" to "Pah-kee", which is more universal
and also matched what is used in the dev-manual terms section.
(From yocto-docs rev: 843e832f2416b0e3b0e9d941bf7755f206517603)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
I changed the section heading for the section that describes how
to make a change to the YP. It was passive. I need it to be
active and in line with the "how-to" dev-manual.
(From yocto-docs rev: 340e1b6ab9806ec11ec894d4472bc2c937c2b058)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Extensively updated the development environment section by
creating a task-oriented section.
(From yocto-docs rev: d440f0b5ceb1aca57a73d8bced515ae0bd3188f7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The section on how to submit a change was pretty much a procedure
section. I did some rewriting to make it more that way.
(From yocto-docs rev: d7edce9268ee5cae96c09c79fe34d5d2dbb701e0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I discovered a mis-placed block of DocBook text that was
causing the string "bug-id" to appear in a random spot in the
"Patch Submission Details" section. Re-ording this block
fixed the problem.
(From yocto-docs rev: 6cf0e8ff0d2b176c1faf492c7bdd7d38e23e4c98)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE native script now requires a native tool as part
of the command line. I added that to the example.
Removed a bad help command at the end of the section.
(From yocto-docs rev: 5eb965ea51d669ee3bac01050b42bee984572199)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list of supported kernels was out of date.
Edited with updated information.
(From yocto-docs rev: b287f76905637834ec6342285b99abd2c5594597)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
This new section has three new procedures for now: 1)
cloning the poky repository, 2) checking out a branch
based on an upstream repository branch name, and 3)
checking out a branch based on an upstream tag name.
More to be added for other key repositories.
(From yocto-docs rev: 4cbcd952ba395b19be5374470a95630a4bc6ffa7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Applied some formatting and some links
(From yocto-docs rev: a0881588fcf2314b6d7bcbfb7ee9b9d4d7a2ef2c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The "Git" section in the dev-manual is really about concepts.
There are a couple of examples that might or not might be
allowed to ultimately stay. I have moved the section to the
ref-manual. If those examples get replicated in the new
dev-manual, I will update the "Git" section further. For now,
however, these remain in this moved section.
(From yocto-docs rev: 2e4b87fdab29c13ce0d2314e50c93e37404b6f7e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
I moved the "Workflows" section to the ref-manual. This section is
primarily concepts and needs to be out of the dev-manual, which
is being reconstituted into a "how-to" manual.
(From yocto-docs rev: 2f8bfaac3da9e2d7042ea381a3e8957f96b5bf5a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For development purposes, static libraries need to be
present only in the SDK. We do not need those static
libraries in the image for most scenarios. So, replace
IMAGE_INSTALL with TOOLCHAIN_TARGET_TASK in the documentation.
I updated the note to reflect this.
Suggested-by: Maxin B. John <maxin.john@intel.com>
(From yocto-docs rev: c05458c6614c38961d23db8f894d542bf93dbf09)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Moved the "Licenses" section from the dev-manual to the ref-manual.
The information in the section is purely reference material and
does not belong in the dev-manual, which is being reconstructed
as a "how-to" manual.
(From yocto-docs rev: a89cb18f6cab6702a2bf2a0f77d46e64f82b1729)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11579]
I removed the sentence about throwing an error or warning.
(From yocto-docs rev: cfa3b1559122ec9e927ccd34afa0e26e877486f9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The "Yocto Project Source Repositories" section is purely conceptual
and thus does not belong in the reconstituted dev-manual, which is
converting to a "how-to" manual. I have moved this section to the
ref-manual under "The Yocto Project Development Environment" section.
Moving the section affected several things. Three figures that where
in the dev-manual were copied and moved to the figures folder of the
ref-manual. This required deleting them from the dev-manual and
adding them to the ref-manual.
The makefile had to be edited to move those figures into the ref-manual
and delete them from the latest version of the dev-manual in order for
the tarball of files to be correct when the manuals are made.
Links to anchors within the moved section had to be fixed in various
manuals. Links to the main section "id" had to be fixed to point
to the ref-manual manual.
(From yocto-docs rev: c619ae2bbc6be93cb0324ca44e936eefec12b28c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The "Open Source Philosophy" section that was in the dev-manual is
really conceptual reference information and has no place in the
dev-manual, which is being re-written to be a "how-to" manual. I
moved the section into the new "ref-development-environment.xml"
chapter.
No links were affected by this.
(From yocto-docs rev: 0a3e65bf7a23eec6e36a3cda3c2011b70aef325b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The ref-manual needs expansion for the old "closer-look" chapter.
This chapter previously held a detailed look at what happens when
a user uses the YP to develop something. Now, the chapter needs
to also contain YP development environment concepts (e.g. open-
source philosophy, etc.), which are coming from the dev-manual.
Because of this, I renamed the "closer-look.xml" chapter to be
"ref-development-environment.xml". I also renamed the larger
section that was formerly the entire chapter into its own section
named "Development Concepts".
Both these changes caused a few links to break. I fixed all the
links from within the various manuals so they would find appropriate
targets.
I did some re-writing for introductory material to introduce the new
chapter and the section on "Development Concepts".
A new file ("ref-development-environment.xml") was added by basically
renaming the "closer-look.xml" chapter. And, the tracking for
"closer-look.xml" was deleted.
(From yocto-docs rev: e37806474578b4f0ed137f64d68a39a17ab60644)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I made some changes to better introduce this reference manual.
Clarified the best scenario for using the manual. Removed the
long list of manual descriptions as that can be referenced further
down in the manual.
(From yocto-docs rev: 8f4555aa387ab3bd3f90f5fcda1d343811ecc168)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Moving the "Yocto Project Terms" section from dev-manual to
ref-manual broke all the links to the "Source Directory" term.
I fixed them.
(From yocto-docs rev: d3a206b141e0b0c623362622ec73bbf44118071a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Moving the "Yocto Project Terms" section from the dev-manual to
the ref-manual broke a single link to the "build-system-term"
id. I fixed it.
(From yocto-docs rev: 51bbfbb6030a5298fde1dc0e6f67332cfa59fae2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Moving the "Yocto Project Terms" section from the dev-manual
to the ref-manual broke the links to the "Metadata" term.
I fixed these.
(From yocto-docs rev: 190da4b4d44952d141db26ca72b5bc1a52d77023)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Moving the "Yocto Project Terms" section from the dev-manual to the
ref-manual broke links for the "cross-development-toolchain" term.
I have fixed these.
(From yocto-docs rev: f2d2b5936bd339d691ab859cbe3df86e3da58f0c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Moving the "Yocto Project Terms" section from the dev-manual to the
ref-manual broke several links to the id "build-directory". I fixed
these to reference into the ref-manual now.
(From yocto-docs rev: debe2ae8ce203ebe0f1cee0de54124c15df8bb7e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Moving the "Yocto Project Terms" section from the dev-manual to
the ref-manual caused many links local to that section to be
incorrect. I scrubbed the section and fixed all the links.
(From yocto-docs rev: 4b795159aa80184f26ff1181a564516840c373b2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Moving the "Yocto Project Terms" section from the dev-manual to
the ref-manual. Doing so caused all the links to the id
"bitbake-term" to break. These had to be individually fixed.
Discovered two unresolved references that were a consequence of
moving that section to the ref-manual. These were fixed as well.
(From yocto-docs rev: 829ca6b64562f00a69f3956e9636c7edaa90ce16)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was only added for eglibc. That is gone so we can drop this too.
(From OE-Core rev: 7c36b4316ad185088c65a4db8a84b5fcba9eef06)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patches patching content from other patches is bad. This folds the three
patches into one, improves some of what its doing to be a little
cleaner and adds a proper description to the patch header.
This also moves the STRIP override to the configure commandline rather
than patching and handles passing libdir the same way.
(From OE-Core rev: 186b30798cf74b738483e8708157cac628c1d3cd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of these are clearly dead, e.g. one binutils patch reverts the effects
of the earlier one.
This also removes the uclibc site files. We now have mechanisms to allow these
to be extended from another layer should someone ever wish to do that.
(From OE-Core rev: e01e7c543a559c8926d72159b5cd55db0c661434)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We now have gcc 6 and gcc 7 recipes, the gcc 5 series can be dropped
as we're no longer going to support it for targets.
(From OE-Core rev: 98183e57dffaa155fc207a28e1c788ff50dc2054)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
uclibc support was removed a while ago and musl works much better. Start to
remove the various overrides and patches related to uclibc which are no longer
needed.
uclibc support in a layer would still be possible. I have strong reasons to
believe nobody is still using uclibc since patches are missing and I doubt
the metadata even parses anymore.
(From OE-Core rev: ec03023d2165b49a52b83bac1ea2f0bfded7b852)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These comments/variables appear to be long dead, remove them.
(From OE-Core rev: a50c8fa7c6c9d40279724a04fb616462b1b491ff)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
uclibc support was removed a while ago and musl works much better. Start to
remove the various overrides and patches related to uclibc which are no longer
needed.
uclibc support in a layer would still be possible. I have strong reasons to
believe nobody is still using uclibc since patches are missing and I doubt
the metadata even parses anymore.
(From OE-Core rev: 653704e9cf325cb494eb23facca19e9f05132ffd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the creation of ipks to happen in parallel, making best use of resources
on multiprocessor systems.
(From OE-Core rev: 07f6c0b464f0671bc39116317138e4ddf27bdae9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the creation of debs to happen in parallel, making best use of resources
on multiprocessor systems.
(From OE-Core rev: dd540fba6c65fb74df014f5d9d2965078314a790)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we have large amounts of parallelism, pseudo can end up with too
many open connections and will no longer accept further connections,
hanging. This patch works around that by closing some clients, allowing
turnover of connections and unblocking the system. The downside is a small
but theoretical window of data loss. This is likely better than locking
up entirely though. Discussions with Peter are onging about how we could
better fix this.
(From OE-Core rev: f3589f154dad1c92e599737623d392508810ae7e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recent ovmf update broke secureboot because upstream changed the
way how openssl gets compiled into ovmf. It's now integrated directly
into the ovmf build process, without having to patch it first.
In addition, more recent OpenSSL releases are supported. 1.1.0e was
explicitly mentioned in the ovmf commits and because the current
1.1.0f only has minor build enhancements, 1.1.0e is used here.
(From OE-Core rev: 1d9a88f635549e68562de681e297b9270ad02d4e)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is the potential for sensitive information to leak through the urls
there and removing it brings this into the behavior of the other package
backends since filtering it is likely error prone.
Since ipks don't appear to be generated at all if we don't set this, set
the field to the recipe name used (basename only, no paths). This avoids
information leaking. We may want to drop the field if opkg can allow that
at a future point but the recipe name is a suitable identifier for now.
Reported-by: Andrej Valek <andrej.valek@siemens.com>
(From OE-Core rev: ec7feb9d315f357b9a073425a31b352ec24ddfd9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Just discovered a minor issue in the bitbake manual - under the variable
glossary entry for BBLAYERS_FETCH_DIR we say there's a default value of
${COREBASE} but that's not actually true in bitbake itself - there's no
default in bitbake, that default is set in OE-Core. We can keep this in the YP
ref manual but in the bitbake manual that sentence should be removed.
(Bitbake rev: 7b4e81772ed8789521661a3b32b576c91276ae34)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If an event handler for bb.event.BuildCompleted fails, we still need to
call finishAsyncCommand() or else BitBake will just exit immediately
without showing any error summary, or worse in the case of memory
resident mode BitBake will hang and if you Ctrl+C to break out, the
command won't be marked as finished which means that no further commands
will be able to be executed until the server is manually restarted.
(Bitbake rev: 5639faa3eef55cc476a82e810e61ca228cbdf221)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The main point of memory resident bitbake is to avoid loading data
unnecessarily on every bitbake invocation. Unfortunately the code that
updated options from the UI was simply treating the fact that either
of the "prefile" or "postfile" options were in the list of options
passed in as an indication that the configuration was invalid, which was
bad because these are always passed in. We only need to mark the
configuration as invalid and thus reload it (and thus reload the cache)
if the option value has actually changed.
At the same time, the recently handled "tracking" option needs to be
treated in a similar manner since the configuration needs to be reparsed
if that has changed. Also, add a few extra debug messages to aid
debugging this code in future.
(Bitbake rev: 18dfd144d0da6ff662308ce4f9d135dc11412133)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Differentiate between fn and taskfn in "execute".
This was somehow missed in "fakeroot" handling.
(Bitbake rev: d848bff7cf78f63986467b51f701a998a480eb25)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a process terminates, some messages may still remain in stdout or
stderr and do not make it into the log file.
In addition, the messages that do make it to the log file may end up in
the log file in incorrect order.
This patch flushes all messages into the log file after the
process terminates. Some additional log flushing is also needed
to keep the various messages showing up in the log file in proper order.
[YOCTO#10785]
(Bitbake rev: 1f6e6aa8262369eafc3bbf9f01f8d981f90becdf)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is OE-specific customisation so set the status as such.
(From OE-Core rev: 059846662f1ea1c82804cfce5f91afcb2980ec8a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* since this commit:
commit f5a1013ffa9815f22e13989e2bcb83f966e7ce2c
Author: Ross Burton <ross.burton@intel.com>
Date: Tue Apr 18 16:19:12 2017 +0100
package_manager: don't race on a file when installing complementary
packages
the file isn't closed before oe-pkgdata-util uses it and this
temporary file might look empty to oe-pkgdata-util, because it
wasn't flushed yet. Which resulted in almost empty debugfs tarballs
and no locale packages in regular rootfs.
* without this change:
124K May 30 07:41 core-image-full-cmdline-raspberrypi3-64-20170530054003-dbg.rootfs.tar.gz
* with this change:
173M May 30 07:29 core-image-full-cmdline-raspberrypi3-64-20170530052715-dbg.rootfs.tar.gz
(From OE-Core rev: 877d38db08aa7060d16405443cf70539c559fe82)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This achieves the same goal as the same change to bitbake.conf itself,
but because the class gets added later as part expanding INHERIT, this
new approach is less likely to run into problems when DISTRO_FEATURES
contains complex code.
Another difference is that the class currently does not get inherited
by default and thus is completely absent from a build unless some
layer or include file adds it to INHERIT.
Compared to the earlier code in bitbake.conf and a similar class in
intel-iot-refkit, additional overrides now get sorted. This makes the
final OVERRIDES more deterministic.
The lessons learned about unintentionally depending on OVERRIDES are
documented in the class because such problems are more likely to show
up as unexpected signature differences when using this class.
(From OE-Core rev: e982ca7f2d4fb0aef3fedc00af1e90f613e7b5ee)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 3b3ae91a22d6f685e804df4f32cdeebe1bd6bd88.
It turned out that the code which expands DISTRO_FEATURES early during
base config parsing can fail because some entries in DISTRO_FEATURES
might call Python functions like base_conditional() from base.bbclass
which aren't defined yet.
A different solution will be needed.
(From OE-Core rev: 0c6e4a14ba8d9d9701ec16ffe46d618f41633571)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* the /usr/lib/python3.5/_compression.py file is possibly incorrectly included
in python3-misc. This runtime dependency is needed in order to use e.g. gzip.py in runtime:
>>> import tarfile, zlib, gzip
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.5/gzip.py", line 12, in <module>
import _compression
ImportError: No module named '_compression'
* at least python3-tests and lzma and bz2 still in python3-misc are using this as well:
$ grep -R import.*_compression tmp-glibc/work/aarch64-oe-linux/python3/3.5.2-r1.0/packages-split/
tmp-glibc/work/aarch64-oe-linux/python3/3.5.2-r1.0/packages-split/python3-compression/usr/lib/python3.5/gzip.py:import _compression
tmp-glibc/work/aarch64-oe-linux/python3/3.5.2-r1.0/packages-split/python3-misc/usr/lib/python3.5/lzma.py:import _compression
tmp-glibc/work/aarch64-oe-linux/python3/3.5.2-r1.0/packages-split/python3-misc/usr/lib/python3.5/bz2.py:import _compression
tmp-glibc/work/aarch64-oe-linux/python3/3.5.2-r1.0/packages-split/python3-tests/usr/lib/python3.5/test/test_bz2.py:import _compression
tmp-glibc/work/aarch64-oe-linux/python3/3.5.2-r1.0/packages-split/python3-tests/usr/lib/python3.5/test/test_lzma.py:import _compression
and python3-tests are using it as well, so add new runtime dependency
on python3-compression
(From OE-Core rev: 987363c3c720b3764f4d64976d7455f6b0bae99c)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you attempt to build an image with both attr(-doc) and man-pages
packages your rootfs might fail to assemble. The error will be
something like:
Error: Transaction check error:
file /usr/share/man/man2/fgetxattr.2 from install of \
attr-doc-2.4.47-r0.core2_64 conflicts with file from \
package man-pages-4.11-r0.core2_64
(the error is usually only seen on builders which don't have manpages
installed, if you have /usr/share/man/man1/man.1.gz your build will
complete but you will have duplicate manpages, just one zipped and one
not)
Backporting changes from upstream attr removes the conflicted files in
favour of those in the man-pages package.
(From OE-Core rev: 5e6595ef42807c8d2a100da3d9862152daf68d3d)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If these are set to URLs then the errors produced are not helpful.
(From OE-Core rev: 946b6623154e748a0d75ff498802a720aeec27a6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Goes down to 40 seconds from over 4 minutes :)
Note that there is no control over the amount of shell jobs; on my machine
this is not a problem, but if it's a problem on less capable hardware,
we can add some kind of limiter.
(From OE-Core rev: cd9af17028c069f52fb0616074170093dd63c143)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
runqemu uses stty to change terminal settings to give users
better control to qemu. However, stty does not work when
runqemu is run directly or indirectly via oe-selftest in
a Docker container (presumably some problems with Docker's
pseudo-tty implementation).
The error reported is:
stty: 'standard input': Inappropriate ioctl for device
As runqemu recently moved to subprocess.check_call() for
stty calls we now get thrown an error and all runqemu
runs fail.
sys.stdin.isatty() does proper job in detecting if the stty
calls can work so we use that check before running the stty
subprocess operations.
(From OE-Core rev: 06742ed59092530aedf03f65c3c9542c24ff7ac3)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added leading space to vardeps to avoid flag value to be
added to the existing value without a separator.
(From OE-Core rev: f582773c2b1e8db441f397867d3c9665fd265cec)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replaced setVarFlag calls to appendVarFlag to allow
modification of prefuncs, postfuncs and subimages flags
in inherited image classes.
[YOCTO #11372]
(From OE-Core rev: 6690f3ab43c04fa7cff7215d4a5d8d639e41aed8)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replaced repeated expression "do_image_%s" % t with
a variable 'task' to simplify the code and increase
readability.
(From OE-Core rev: d24dd95f2c1c7f773875454bee3f2016c4e7553c)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The function is "sysroot_strip" instead of "split_and_strip_files".
(From OE-Core rev: f2d349887710dcae05db09dc2277223e85fa1c19)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
connman fails to start in systemd based read-only images while creating links:
Jun 08 12:53:56 qemux86-64 systemd[1]: Starting Create Volatile Files
and Directories...
Jun 08 12:53:56 qemux86-64 systemd-tmpfiles[366]:
[[0;1;31msymlink(/var/run/connman/resolv.conf, /etc/resolv.conf) failed:
Read-only file system[[0m
Fix this failure and make connman co-exist with systemd-resolved.
(From OE-Core rev: 732e1f74bb9f5ecc98b29197f6bcab117710adab)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable systemd-resolved and systemd-networkd by default.
Make it co-exist with connman and Fix associated problems
in read-only rootfs.
Fixes [YOCTO #11331]
(From OE-Core rev: d9b6d538e3d81ab0d5e7b7b6adecef555d782217)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was pointed out +1 is safer than -1 for systems with one processor.
(From OE-Core rev: 78041e20e43d9583448ff31f8b9b1c6157da8625)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove user-specific descrition files and config fragments from main machine
description file otherwise double patch/config inclusion may happen. These
files/fragments are already included on the SRC_URI (see poky commit 2db8f3),
so no need to reference these inside machine.scc files.
[YOCTO #11586]
(From meta-yocto rev: 86ab7ab6688f250bb5777371d2cbc28c770847d4)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It results in same link errors like armv4t
(From OE-Core rev: 7fb9648f7a055beef9c8a735850b1b51fd23ff1d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix build with gcc7
clang can not compile it therefore mark it gcc only recipe
(From OE-Core rev: 835b705ee92900f0d73cee612ce790fde4b1e2a4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The exhaustive list of useful links and references to other
YP documentation existed in the dev-manual. This is not the correct
place for this type of reference information. I have moved that
list to the ref-manual where it should be. The dev-manual now
simply provides a link into that section.
(From yocto-docs rev: eeceb597988134ced85aab4b9ddaeed923f17b03)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Reorganized the way the information about entering bugs using
Bugzilla is arranged in the documentation set. The dev-manual now
has a section that is purely procedural and steps the user through
the process of logging a new bug in the Bugzilla system. The
ref-manual has a conceptual section that introduces the YP
implementation of Bugzilla by simply telling the user what it is
and what what its purpose is.
(From yocto-docs rev: 4bfba345010be7bc2866b819b9754bb06f93c91f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The introductory paragraph for this figure was a cut/paste
problem from previous devtool figures.
(From yocto-docs rev: c02a2a57889bbdcd7e83ab9e2458397189bbb980)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Warning in step 5 indicated the wrong location for config file.
Updated with new location and referenced an illustration to
show an example.
(From yocto-docs rev: e853e5b89f1dbd7399909064b50bc59e06302560)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This paragraph had some links to old stuff. Removed the whole
paragraph.
(From yocto-docs rev: 95c1f348ed018c697cc996bc962787ede056b94b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This figure was a bit out of date. I updated a few of the file
names. Figure needs to reside in the Figures folder of both the
dev-manual and the mega-manual.
(From yocto-docs rev: 1e76477810b6be095f9ca190c9a8f0276ee4b8f9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section that describes how to create a patch and send it via
email is really an ordered procedure. I recast the list of steps
using numbers instead of bullets.
(From yocto-docs rev: c2d2256ca6d8c8b837bae87a5bd8a3118553935c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11600]
Removed the example. It was not needed.
(From yocto-docs rev: 402bb173b00a665fb55a8f740a4dbe60ead57f25)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11411]
Added a naming convention warning to the native.bbclass description
that is similar to the existing warning used in the description for
the nativesdk.bbclass.
(From yocto-docs rev: 2ceeb5416d439197e94640229e3685ab8b87e0fb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11600]
"configure" and "cmake" are not do_* tasks of BitBake. I updated
the formatting of these programs and removed links that were to
the tasks in the reference manual.
(From yocto-docs rev: 2605c7378f6b4b49c2e2baaf159fd2c289d83a1a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The figure that Scott Garman used for an old video cast is
much more appealing to the eye than the giant, square beast
the current manual was using. I have replaced the image.
The image is technically the same.
Because the mega-manual has to use a duplicate figure, I
put the new PNG files in the Figures directory for both the
yocto-project-qs and mega-manual books.
(From yocto-docs rev: ed64810e59110418d49fb6d3e61967fa62ab28c8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The YP doc set was using a link to an out-dated video that
showed how to configure and run Eclipse. The video was very
old and Jessica suggested just removing it. So, I replaced
all occurrences of the link to the up-to-date appendix in the
SDK manual that provides information on the latest supported
version of the Eclipse IDE.
(From yocto-docs rev: b4af1a79078352df5558e20c0b9cfa97fa141abc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link to the section on how to set up Eclipse had been broken
for a while. I fixed the link so that it goes to the appropriate
section (appendix) in the SDK manual.
(From yocto-docs rev: 873c2c53f661b18936595068d75b954e07774621)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes there's a need to change existing UBOOT_CONFIG setting from a recipe,
distro or local config, such as an override or even switch back to UBOOT_MACHINE.
Unfortunately, there's no easy way to override or unset flags, so using them as
an error condition is rather heavy-handed. Change those conditions to check the
UBOOT_CONFIG variable itself, not its flags.
(From OE-Core rev: b51383e5268ff33e43a39862814e065afbbd10ca)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Few of the perl scripts referring '#!/bin/sed' inside the script. But when
'usrmerge' feature is enabled this path would be /usr/bin/sed. So to satisfy
build dependency add '/bin/sed' to it's providers list.
(From OE-Core rev: 4f33950156c50aab68cbdf80fe52345eea6fb76c)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Most of the shell scripts refer to /bin/sh inside the script. When 'usrmege'
feature is enabled, this path would be /usr/bin/sh. Hence, to satisfy build
dependency add '/bin/sh' to it's providers list.
(From OE-Core rev: 1f6c14939c8daa5e09103789c3ff5031cc888d16)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Most of shell scripts refer to '#!/bin/{sh,bash}' inside the script. But when
'usrmege' feature is enabled this path will be /usr/bin/{sh, bash}.
so to satisify build dependency add '/bin/{sh,bash}' to its providers list.
(From OE-Core rev: 4759408677a4e60c5fa7131afcb5bc184cf2f90a)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-micro puts headers in /include rather than /usr/include in the
sysroot. ${target_includedir} means that the correct path will be used
automatically.
(From OE-Core rev: 12abcc3791592035d99064262eb3d229fa5ef88c)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Acked-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added test case for "wic rm" functionality.
- remove file from vfat partition
- remove directory from vfat partition
(From OE-Core rev: fc42914d426ad2dad8c3026668726c003b3ab10b)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added support for removing directories using mdeltree
utility to Disk.del method
[YOCTO #11283]
(From OE-Core rev: a5fc61d8f290d370f4bc51d4e2a67a5580edb1b1)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added implementation of Disk.del method and wic_r
function that removes files from the vfat partition
using mdel utility.
[YOCTO #11283]
(From OE-Core rev: 4abf2d2643c58322d96d63d5f3ffaf52d62c6792)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added empty 'wic rm' command that does nothing.
The functionality will be added by the next commits.
[YOCTO #11283]
(From OE-Core rev: f8e42c13609c482359fbdb225fb16a45101ae9ae)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added wic_rm_help and wic_rm_usage variables to help.py.
These variables contain help content that will be used in
'wic rm help' and 'wic rm --help' output.
(From OE-Core rev: b6894538b2a426762a07c0e7b014a04f4e00266d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added test case for "wic cp" functionality.
- copy file to vfat partition
- copy directory to vfat partition
(From OE-Core rev: cb416d1feea042bcdedc9f522d588fef2c4929bc)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added implementation of Disk.copy method and wic_cp
function that copies files/directories to the vfat partition
of the partitioned image.
[YOCTO #11283]
(From OE-Core rev: 416e4599960987f0ce31b3f16f3c6af0bf633a26)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This method copies partition image into the wic image.
It will be used in 'wic cp' and 'wic rm' subcommands
to copy changed partition back into wic image.
(From OE-Core rev: 7a7e6635e2e2ddfff2bca58c860634b7a199b0df)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed calculation of the dst file size using skip, seek and
length parameters. Current code does it incorrectly which
causes sparse_copy API to create unnecessary big output files.
(From OE-Core rev: e6d709a6382e4b913612f597e66ad07b0e351d5f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If lenght parameter is provided to sparse_copy call
it's mandatory to check if the output file is fully
written after reading unmapped block from input file.
If it's not done then sparse_copy can write more data
than specified length.
(From OE-Core rev: 289b1767182982dfb6912e64481150697ba93e4d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Renamed parameter offset->skip to match names of dd
parameters.
Changed affected sparse_copy calls.
Added explanation of the parameters to docstring.
(From OE-Core rev: 08e2f4e59816c5757686255b267b08cbc46fbd95)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added generic helper to use in property methods to
access commands in a lazy manner.
(From OE-Core rev: 4c1ded3ddbd04ad1640620ec1348831692a93dbe)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added empty 'wic cp' command that does nothing.
The functionality will be added by the next commits.
[YOCTO #11283]
(From OE-Core rev: f0dcf39d52185430422cb0c94c7fe99c12764acd)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added wic_cp_help and wic_cp_usage variables to
help.py. These variables contain help content that
will be used in 'wic cp help' and 'wic cp --help'
output.
[YOCTO #11283]
(From OE-Core rev: f3f0dadada1e297f2b54fa320bb817da7f755c1f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add parser for 'wic cp' subcommand and a custom argument type.
(From OE-Core rev: df5152c834ef58036b41ad51b19eda6abecd9543)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tested 'wic ls' functionality:
- list of image partitions
- list of directory content of vfat partition
(From OE-Core rev: 3b271f6a40d7ef93fff9700dd8ac98bddd92d581)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added empty 'wic ls' command that does nothing.
The functionality will be added by the next commits.
(From OE-Core rev: ba4613469cc2c3d3433be2e2f520f4fff6b3b333)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added wic_ls_help and wic_ls_usage variables to
help.py. These variables contain help content that
will be used in 'wic ls help' and 'wic ls --help'
output.
(From OE-Core rev: 5152f993777550e5e8a420db4d1f3c4370cd1d33)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Plugin code uses boot.img file name for an image file. If there are
two partitions that use bootimg-pcbios wic breaks with an error
"file already exists: boot.img"
Made image file name unique by adding wks like number to it to fix
the issue.
(From OE-Core rev: eec6e946cce36cba304851fa4a1c1d7bfd7b0bed)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added parameter 'length' to specify amount of data
to write into destination file. This is useful when only
part of source file should be written into destination file.
(From OE-Core rev: cc44e2eb3b5027a3531e6349937a23d73313b3c6)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed bug in processing 'skip' parameter:
don't read input file if end of bmap block is less than skip
Simplified logic of positioning to the start of data inside a
partially skipped bmap block.
(From OE-Core rev: c19f78a0713c8ac9d28b78f86c6d7b96157788f0)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed code that reads /etc/mtools.conf, /etc/default/mtools.conf,
/etc/mtools and /etc/default/mtools to ensure that mtools output
doesn't depend on the global host configs.
It's still possible to use ~/.mtoolsrc config or point MTOOLSRC
environment variable to any configuration file if user want
to configure mtools.
(From OE-Core rev: 868cb638c92f650a2f0bea9669b68c1e8aebabab)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A long time ago (6 years), this seemed like a good idea. The reality is
that OVERRIDES should not be being added to hashes and if it is, it likely
needs excluding in its own right. This was a nice workaround but we need
to fix the real underlying issues now. In some cases this means excluding
OVERRIDES from the variables dependency using the vardepsexclude flag however
caution is needed to ensure this is safe.
Variable values used to construct hashes are unexpanded but the values used
are computed after the application of OVERRIDES. The important detail is if
the end resulting unexpanded value changes, not the value of the OVERRIDES
used in the construction of that unexpanded value. This is why dependencies
on OVERRIDES itself shouldn't be in the hashes in general.
The recent DISTRO_FEATURES changes adding in override mappings for them
highlighted this issue. We have some good sstate tests which are effective
at highlighting where potential issues arrive with OVERRIDES contamination
(oe-selftest -r sstatetests.SStateTests).
(From OE-Core rev: b227781f9c59a7dfe30f3f1c0dcff87e29a1689b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the processing code for signature generation is now threaded,
use higher thread values as examples in this code for better performance.
(From OE-Core rev: f68ec7191546474f0bd688e57d2381a8e92be617)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In common with the other package handling functions, don't depend on the
value of OVERRIDES. This means when we change MACHINE, we don't have to
repackage everything.
(From OE-Core rev: 6e24b4bbe708a25c827364a2d6d979b354ab3ef2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These have values set elsewhere and this code was overwriting them leading
to odd signature issues. Append instead preserving the original values.
(From OE-Core rev: b756fd12c28d1ce3ca60b328927db996c6a52424)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"inherit" already allows inheriting more than one class in a single
statement. The same also makes sense for "include" and "require",
because then one can generate a list of files to be included
dynamically also for the case that more than one file needs to be
included.
(Bitbake rev: 8d0a76f5a595dddf16b7268bae2c00ef5f568316)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Writing .bbappends that only have an effect when some configuration
variable like DISTRO_FEATURES is changed becomes easier when allowing
"include" or "require" without a parameter. The same was already
allowed for "inherit".
Then one can write in a .bbappend:
require ${@bb.utils.contains('DISTRO_FEATURES', 'foo', 'bar.inc', '', d)}
(Bitbake rev: 8b39c6361758b96fce50a53a6dba8008cd7e6433)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The small module name was added to support run a whole suite that
has more that 3 levels in the test case name, but this broke the
behaviour for use a full test case name.
[YOCTO #11632]
(From OE-Core rev: 9ab20ceb5801bee8dd8b218b3928720da5e1d403)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The details of a test failure is upper on the unittest output
so don't log twice the actual failure.
[YOCTO #11622]
(From OE-Core rev: 0f2e81c2a4458ad0ec6bab2710952ac2c2bbf1af)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-ip-Remove-unneed-header.patch is to fix build error
built with musl.
(From OE-Core rev: 2a6fe7c6c1e113d930ddc8e06717747a779b46f1)
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes a following error:
| recipe-sysroot-native/usr/lib/rpm/debugedit: error while loading shared libraries: \
| libbz2.so.1: cannot open shared object file: No such file or directory
(From OE-Core rev: 61ecda8f7977ee2d30f31d2f384f65f933971568)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- This matches the linker flags to compiler flags in purgatory
- Compile arm64 without PIC
(From OE-Core rev: 653299d8c31eac6147b8183d9ec7ef82b7202cab)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
musl unearthed a problem when building out of tree, config.h was being
used from $(srcdir) instead of generated config.h in $(builddir)
this assumed functions e.g. mallinfo() and more which are not in musl
as a result tests broke.
Also add fixes to build remaining tests when building on musl
pass -fno-pie as it cant use PIE especially in ptests/x86_64
(From OE-Core rev: 8ab1828f073b5eab606161681a5f260cc0e77bf1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop patches to ChangeLog, they are in patch
header anyway
(From OE-Core rev: 0b0f545dbf16b0970c5a79975d451dc9d887c2a7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No need to skip textrel QA for x86 as it has
been fixed in 1.25.0
(From OE-Core rev: f635c097d0d43c88b00a00073b93712f1cc90fe0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This greatly reduces build times when there is a large amount of small
rpm packages to produce. The patches are rather invasive,
and so will be submitted upstream.
(From OE-Core rev: 964a6eb4732df462008883c4bb003f801777dfad)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit aea90e9ee6f34e7c1c08307080b1e29646668df6.
RP hadn't meant to merge this yet and its causing problems so delay it until its
ready.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During the transition to dnf and rpm4, the functionality to
automatically make RPM determine dependencies was lost.
Before the transition, an OE specific tool called rpmdeps-oecore had
been added to the rpm suit. It was based on the rpmdeps tool that is
part of rpm. For each file specified on its command line, it would
output the provides and requires that RPM could determine.
During the transition to rpm4, rpmdeps-oecore was replaced with the
standard rpmdeps. However, what no one noticed was that unless rpmdeps
is given options, e.g., -P or -R, to tell it what it should output, it
will not output anything. Thus, it would do all the work to determine
the requirements, but would keep silent about it. And since no output
from rpmdeps is expected unless there are requirements, there were no
warnings indicating that everything was not working as expected.
Porting the old rpmdeps-oecore to work with rpm4 is not really
possible since it relied on being able to access internals of RPM that
are no longer available. However, it turned out that rpmdeps had a
debug option, --rpmfcdebug, that would output exactly the information
that we need, albeit in a different format and to stderr. To make this
usable, rpmdeps has now received a new option, --alldeps, which sends
the information we need to stdout.
(From OE-Core rev: aea90e9ee6f34e7c1c08307080b1e29646668df6)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will send the output from rpmfcPrint() to stdout. This is an
alternative to using the --rpmfcdebug option, which will send the same
output to stderr. The two options have totally different use cases
though. While --alldeps is used when the output from rpmfcPrint() is
what is wanted, --rpmfcdebug can be used together with the other
output options, e.g., --requires, without affecting their output.
(From OE-Core rev: a58a0dc03398dcd9f81a9c8a6189ae13d90e0df7)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tc.hasTargetPackage uses a re.search to see if gtk+3 is on
the manifest but + in regex means 1 or more causing the test
to be skipped.
(From OE-Core rev: 271cd99d00bde0b9f2aa27141acbe06812f34638)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The manifests for eSDK are generated using shared states so there is a
need to validate to different "packages names" into the test cases.
For example for perl:
SDK provides nativesdk-perl
eSDK provides perl-native
[YOCTO #9090]
(From OE-Core rev: 8db06dd1290dd53d626050879c9c306f95d76ac2)
Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add get_extra_sdk_info to reuse code in buildhistory
The functionalities to generate SDK and eSDK manifest files are different,
the SDK comes from package information and the eSDK comes from sstate artifacts.
Only execute write_sdk_{host, target}_manifest when is on populate_sdk class.
Adds new functions write_sdk{host, target}_ext_manifest to execute on postprocess
in populate_sdk_ext because at the end we have all the sstate artifacts to
generate the manifest.
[YOCTO #9038]
(From OE-Core rev: 25ad7ed6f7bb0c931b404bda09576323200d093d)
Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function is going to be used for generating the target and host
manifest files packages for eSDK. Added some fixes for buildhistory.bblclass,
and docstring for get_extra_sdkinfo at oe.sdk
[YOCTO #9038]
(From OE-Core rev: f696b3bbe01969ce7ecb8174d63d3e1e172b473e)
Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids the following warning:
warning: Ignoring invalid regex %{_docdir}
when runing `rpmdeps -R <file>`, since %{_docdir} is only defined when
parsing a spec file.
(From OE-Core rev: 7e0964e506506d20a25aac570104938759f9f70e)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is nothing that requires, e.g., a DSO to be executable, but it
is still an ELF binary and should be identified as such.
(From OE-Core rev: 74d040f456269992a13850a626279b3b8e954847)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than trying to call rpmdeps with the correct arguments to work
with the sysroot as was done in package.bbclass, create a wrapper for
it like all the other native tools already had.
(From OE-Core rev: 124a6115af845fd892f53c8504db6ffd59f8bd45)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use a loop rather than calling create_wrapper for each individual
tool.
(From OE-Core rev: e299a396849acd515d51d377958d795e979e6262)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using RPM, depends.dot may contain dependencies such as
"/bin/sh", which will confuse _toaster_load_pkgdatafile(). Ignore
them. While at it, also ignore dependencies that contain parentheses,
e.g., "libc.so.6(GLIBC_2.7)".
(From OE-Core rev: 3b42c400d2d7a6ebe37429a363e1d79200f87e9b)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By using a single regular expression, the parsing of the depends.dot
file can be simplified a lot. This should also make it less
susceptible to formatting changes in that file.
(From OE-Core rev: 49a321d03e527ad15c3a7fcb9d94980577535ca3)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert incorrectly formatted dependencies such as:
"bar -> "foo" ">=" "1.2.3"
into dependencies with edge labels:
"bar -> "foo" [label=">= 1.2.3"]
* Remove rpmlib() and config() dependencies such as:
"foo" -> "rpmlib(CompressedFileNames)" [label="<= 3.0.4-1"]
and:
"base-files" -> "config(base-files)" [label="= 3.0.14-r89.49"]
* Remove the trailing semicolon that was added to each line. It fills
no purpose.
(From OE-Core rev: 37ea2c8b299483f0e12fad66efa789c6445571e0)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes the file-rdeps test support:
* versioned dependencies, e.g., "perl (>= 5.000)", and
* package dependencies among the file dependencies, e.g., "perl".
It also ignores all "perl(...)" dependencies since it is expected that
these are generated and handled by rpm itself and there is no reason
to second guess what it is doing.
(From OE-Core rev: 2cbeb6edbfcbd9378a5a79b17f7d31a49e0356ff)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we go through the trouble of copying the Python tests, we may as
well actually run them...
This also avoids the following QA issue:
ERROR: libxml2-2.9.4-r0 do_package_qa: QA Issue:
/usr/lib/libxml2/ptest/python/tests/push.py contained in package
libxml2-ptest requires /usr/bin/python, but no providers found in
RDEPENDS_libxml2-ptest? [file-rdeps]
(From OE-Core rev: 65bc9fac6dc6ba5252bf105659724c768d65f9d9)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During the transition to RPM4, the package names returned by
RpmPM.list_installed() changed from the expected names of the packages
that were installed into the image to some fictitious source RPM
names.
This restores the original functionality so that the
installed-packages.txt files produced by inheriting buildhistory yet
again contains a list of the names of the installed packages.
(From OE-Core rev: 25a36bcea4c02002d4895ba17f49ced09ae821c2)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.1, 4.4, 4,9 and 4.10.
(From meta-yocto rev: acedc2be541a29e33c5d44692aab75432e4d56a3)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This means mismatched layers are more clearly identified to the user in
cases where compatibility has not been tested.
(From meta-yocto rev: ca35ea46708e0514e4d5a20950880be0bf1d4147)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabling SSTATE_MIRRORS sometimes causes SRCREV values not
to be written/updated in the build history. This happens more
often if SRCREV is set to ${AUTOREV}
Explicitly writing SRCREVs when recipe history is being written
should fix this.
[YOCTO #10948]
(From OE-Core rev: df74b97599a789db742fc7588009783f5f37ebff)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
set() order is random and hence the filtered native/nativesdk DISTRO_FEATURES
could be set to random ordering. We've been lucky so far this tended not to
cause issues but some queued changes highedlighted this. Thrown in a sorted()
so the order is deterministic and we get consistent hash checksums between runs
and between machines.
(From OE-Core rev: 76391673754cf6a01d68eedbd4181e543fa2f427)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Following the lead from Fedora (as suggested by Rob Clark) always enable
--enable-texture-float for all gallium drivers, but then modify the code to
not enable it, at runtime, where the implementation isn't backed by hardware.
The patch comes from unpacking fedora-25's mesa-17.0.5-3.fc25.src.rpm from
https://dl.fedoraproject.org/pub/fedora/linux/updates/25/SRPMS/m/
Somewhere along the path from OpenGL ES 2.0 to OpenGL ES 3.0 are some
algorithms that are encumbered by patents. These algorithms are enabled
with mesa's --enable-texture-float configure flag. However, if hardware
acceleration is being used and the hardware supports --enable-texture-float,
it means the hardware vendor has paid for the patents.
Note that with this solution, non-hardware gallium drivers (e.g. swrast) can't
--enable-texture-float, which might cause issues with some piglit tests.
This solution was discussed and agreed-to on the mailing list:
http://lists.openembedded.org/pipermail/openembedded-core/2017-May/137233.html
(From OE-Core rev: 6fd63e24a1c6ac901edb393c9db8e245189a83e2)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The main intention is to provide easy-to-use and read helper functions
for including files only when certain distro features are
set. Functionally they are the same as bb.utils.contains and
bb.utils.contains_any.
Distro features are part of the base configuration and thus safe to
use for conditional inclusion in recipes and bbappends, in contrast to
recipe variables which might still change during parsing. Therefore
the check is limited to DISTRO_FEATURES. This is the reason for having
this in OE-core instead of bitbake.
Default values are set so that no redundant parameters have to be
passed for conditional includes. As a secondary usage, the functions
can also be used in boolean checks.
(From OE-Core rev: 13024ce5aae453769b546d5fbe533443aec3d6fd)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As discussed in "[Openembedded-architecture] Yocto Compatible 2.0 +
signature changes", changes in .bbappend must depend on some explicit
configuration change, typically selecting a distro feature.
For _append and _remove, adding an override that is set only when the
corresponding entry is in DISTRO_FEATURES achieves that:
In local.conf:
DISTRO_FEATURES_append = " my-distro-feature"
In layer.conf:
DISTRO_FEATURES_OVERRIDES += "my-distro-feature"
In a .bbappend:
do_install_append_df-my-distro-feature () {
...
}
The subset of DISTRO_FEATURES that are made available as overrides
must be configured explicitly because using them this way should
be a conscious decision.
(From OE-Core rev: 3b3ae91a22d6f685e804df4f32cdeebe1bd6bd88)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
RPC ports (also known as rpc program numbers) are values:
- given to rpcbind (aka portmapper) to allow nfsv3 clients that don't
know the tcp/udp port number of nfsd and mountd to look it up the
tcp/udp port number, and to
- allow a single transport (ie: tcp/udp port) to provide multiple
sunrpc services.
OE has carried patches to nfsutils & linux for some time to support the
mountprog & nfsprog options.
In the case of runqemu-export-rootfs, we don't need to use custom rpc
program numbers because runqemu-export-rootfs tells unfsd not to
register with the portmapper, and unfsd runs the nfs and mount rpc
services on tcp/udp ports unfsd binds itself (iow: the tcp/udp ports are
not shared in the sunrpc sense).
Linux's nfs client does not query rpcbind when tcp/udp port numbers are
specified (in net/sunrpc/clnt.c, call_bind checks for the tcp/udp port
with xprt_bound() and skips the call to rpcbind if xprtsock.c's
xs_setup_udp() or xs_setup_tcp() has found a non-zero tcp/udp port).
The program numbers _are_ sent over the mount & nfs protocol (really,
over sunrpc), and checked to match at both ends. As a result, even when
rpcbind is unused, using different program numbers in unfsd vs linux
nfs client causes mounts to fail (and nfsroot mounts to timeout).
The result is that specifying custom program numbers in
runqemu-export-rootfs doesn't solve any conflicts, it simply requires
that users of runqemu-export-rootfs carry a kernel patch & adds 2 extra
parameters to the kernel command line unnecessarily.
Change runqemu-export-rootfs to use the default program numbers.
For now, I have not dropped the custom program number patches to linux,
nfs-utils, and unfsd just in case someone is using them in a
non-runqemu-export-rootfs context.
CC: Bruce Ashfield <bruce.ashfield@gmail.com>
CC: Mark Hatle <mark.hatle@windriver.com>
(From OE-Core rev: 9c91df324dfe58273f5a1d1d33dba1d34a180db7)
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When testing core-image-sato with hardening flags, it fails with
SIGSEGV in libc.so during relocation time
This is due to relocations in .text [textrel]
build QA points it out clearly during qemux86 build as well
AssertionError: 2 != 0 : Log: /mnt/a/oe/build/tmp/work/qemux86-bec-linux-musl/core-image-sato/1.0-r0/dmesg_output.log
-----------------------
Central error: [ 19.043597] rngd[525]: segfault at 80098bb7 ip b77b14fc sp bfe9b380 error 7 in libc.so[b774c000+97000]
(From OE-Core rev: 5770cd5bee1c9ad3025435426361f0e407d43ef8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade gnutls from 3.5.9 to 3.5.13
2. Rebase the following patch file.
use-pkg-config-to-locate-zlib.patch
(From OE-Core rev: ba7e5f51327d9833776aa066f30c5e46606be374)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Note that this just removes a host path leakage: diffutils still
doesn't depend on coreutils so 'pr' might not actually be there
on image (this only breaks "diff -l" so no big deal).
(From OE-Core rev: 3f7fd738981752a8c34c6cf4a1f2d4c035b081ca)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit 51d32c6cd88ba0139c32793183fd6a236c1ef456 in
git://github.com/rpm-software-management/librepo.git
...
Author: Tomas Mlcoch <tmlcoch@redhat.com>
Date: Mon May 5 14:31:35 2014 +0200
Add LRO_SSLVERIFYPEER and LRO_SSLVERIFYHOST options (RhBug: 1093014)
...
It incorrectly setopt CURLOPT_SSL_VERIFYPEER for LRO_SSLVERIFYHOST.
Use CURLOPT_SSL_VERIFYHOST to correct.
(From OE-Core rev: 266545f5f5758be397a6c2cd4727d5c0895c924d)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We put the bitbake command line in the buildhistory commit message for
informational purposes, but calling sys.argv to get that as we were
previously doesn't really work in memory resident mode - that gives you
the command used to start the bitbake server which is much less
interesting. Use the just-introduced BB_CMDLINE variable instead.
Part of the fix for [YOCTO #11634].
(From OE-Core rev: 1a6424ee4c865601ff324e9599a2f48c9e6723ee)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to be able to use dpkg-perl on a system various stock perl
modules must also be installed on the system. Create the list of
required modules based on a read of the code and testing with additional
utilities and list them in RDEPENDS_${PN}-perl.
(From OE-Core rev: 2e0044ed32485fe24e0cedd9354dd546cb9c47a5)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order for the dpkg perl modules to be used the must reside in the
versioned perl library directory (as to be in the default include path).
Be explicit about this location in our FILES_${PN}-perl directive, so
that if this breaks in the future, the recipe will fail). We can now
drop the custom do_configure as it wasn't fixing this problem.
(From OE-Core rev: 05f6ff9a500bb97d8ef1f943eff1b9d90246651f)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is possible for non-CPAN recipes to contain perl modules. These perl
modules must reside in the versioned perl library directory in order to
work in normal circumstances.. Export this logic to a separate class so
that it can be reused without the rest of the cpan logic.
Without this, dpkg will not export its perl code to the correct location
and will not be found by utilities that expect to use it.
(From OE-Core rev: f4edc200d3a9645f9674eae0f8d10926680ba4f8)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With these changes it is possible to have a .bbappend that
- sets SYSCONFDIR to some persistent storage
- modifies SYSCONFDIR/sshd_config to use ssh host keys from
the (writable) sysconfdir
(From OE-Core rev: 106b59d9f96f70d133fa1421091ad280d27a5b6a)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Reviewed-by: Stephane Ayotte <sayotte@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed for avahi-autoipd, which attempts to
create a link-scope route as part of its work.
Without iproute scope support in busybox, the route is
not created due to an error message, and hence we
aren't accessible by, and can't access ourselves,
IP addresses outside the link-local scope
(169.254.0.0/16) unless we also have a proper
non link-local IP address, which somehow defeats the
purpose of zeroconf.
(From OE-Core rev: bd06a1cbe8e97b7f66979b12d4d248092379df4a)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Reviewed-by: Stephane Ayotte <sayotte@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
RPM's default is single-threaded gz; the change greatly helps with
both buildtimes (when there is a small number of large-sized packages)
and disk space taken by resulting rpms.
(From OE-Core rev: f108c4d09926bd28e7a57b665fc8cb5373827780)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the the latest 4.4 -stable release which comprises the
following commits:
4bbbc7696405 Linux 4.4.71
9d65be36a7cc xfs: only return -errno or success from attr ->put_listent
1b03d85a4f37 xfs: in _attrlist_by_handle, copy the cursor back to userspace
c56605c69ba6 xfs: fix unaligned access in xfs_btree_visit_blocks
9f7b5da0570f xfs: bad assertion for delalloc an extent that start at i_size
3ba13d7f5b2b xfs: fix indlen accounting error on partial delalloc conversion
1d41dd5c1fd6 xfs: wait on new inodes during quotaoff dquot release
9d97d6a15265 xfs: update ag iterator to support wait on new inodes
8e25af0dc5ad xfs: support ability to wait on new inodes
cf55c35974e1 xfs: fix up quotacheck buffer list error handling
a76647a71c8e xfs: prevent multi-fsb dir readahead from reading random blocks
8caa9a54b32b xfs: handle array index overrun in xfs_dir2_leaf_readbuf()
0ace12c11401 xfs: fix over-copying of getbmap parameters from userspace
fe705621b9b4 xfs: fix off-by-one on max nr_pages in xfs_find_get_desired_pgoff()
b9a7816997a3 xfs: Fix missed holes in SEEK_HOLE implementation
03489bfc7830 mlock: fix mlock count can not decrease in race condition
7e13bab109ea mm/migrate: fix refcount handling when !hugepage_migration_supported()
4e4b72c0ee3d drm/gma500/psb: Actually use VBT mode when it is found
14bfe118dd7d slub/memcg: cure the brainless abuse of sysfs attributes
023a8b0925be ALSA: hda - apply STAC_9200_DELL_M22 quirk for Dell Latitude D430
85ddc41a6c4a pcmcia: remove left-over %Z format
69877793e23d drm/radeon: Unbreak HPD handling for r600+
15de2e4c90b7 drm/radeon/ci: disable mclk switching for high refresh rates (v2)
3529600b1601 scsi: mpt3sas: Force request partial completion alignment
58b7cb10f6e2 HID: wacom: Have wacom_tpc_irq guard against possible NULL dereference
c0fd730b678d mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
2ca57fc82436 i2c: i2c-tiny-usb: fix buffer not being DMA capable
1b5286ba9f13 vlan: Fix tcp checksum offloads in Q-in-Q vlans
e989f9bf2a9d net: phy: marvell: Limit errata to 88m1101
605b6b2b4d8a netem: fix skb_orphan_partial()
338f665acb4b ipv4: add reference counting to metrics
97f54575ff57 sctp: fix ICMP processing if skb is non-linear
fe22b6005538 tcp: avoid fastopen API to be used on AF_UNSPEC
d7ed7fcecf20 virtio-net: enable TSO/checksum offloads for Q-in-Q vlans
8380f16d0702 be2net: Fix offload features for Q-in-Q packets
38f02f2ce0ca ipv6: fix out of bound writes in __ip6_append_data()
3a854210f9a5 bridge: start hello_timer when enabling KERNEL_STP in br_stp_start
b543ccc4f627 qmi_wwan: add another Lenovo EM74xx device ID
94c0bf3cbb99 bridge: netlink: check vlan_default_pvid range
f76d54a8882e ipv6: Check ip6_find_1stfragopt() return value properly.
017fabead5c2 ipv6: Prevent overrun when parsing v6 header options
640bfcf232a9 net: Improve handling of failures on link and route dumps
7ede5c90fcdd tcp: eliminate negative reordering in tcp_clean_rtx_queue
ffa551def59c sctp: do not inherit ipv6_{mc|ac|fl}_list from parent
704e6c6b8651 sctp: fix src address selection if using secondary addresses for ipv6
90e3f8a55871 tcp: avoid fragmenting peculiar skbs in SACK
182abc4e74a1 s390/qeth: avoid null pointer dereference on OSN
21b871582375 s390/qeth: unbreak OSM and OSN support
2ac37098ee3d s390/qeth: handle sysfs error during initialization
d1428ee54073 ipv6/dccp: do not inherit ipv6_mc_list from parent
5f67a1663c03 dccp/tcp: do not inherit mc_list from parent
b9978c27454c sparc: Fix -Wstringop-overflow warning
b409ba3b0535 Linux 4.4.70
837bfdb41337 drivers: char: mem: Check for address space wraparound with mmap()
52cf24769487 nfsd: encoders mustn't use unitialized values in error cases
da922dc48dcf drm/edid: Add 10 bpc quirk for LGD 764 panel in HP zBook 17 G2
bc428e94070e PCI: Freeze PME scan before suspending devices
5f36c8b4e4a3 PCI: Fix pci_mmap_fits() for HAVE_PCI_RESOURCE_TO_USER platforms
6384f782a69c tracing/kprobes: Enforce kprobes teardown after testing
d5fb96b955ff osf_wait4(): fix infoleak
e07db0d720d3 genirq: Fix chained interrupt data ordering
1736f2b3de62 uwb: fix device quirk on big-endian hosts
ca19dd15e7bb metag/uaccess: Check access_ok in strncpy_from_user
2d9b2e780832 metag/uaccess: Fix access_ok()
98d5e84363ea iommu/vt-d: Flush the IOTLB to get rid of the initial kdump mappings
cb89b1f9dff9 staging: rtl8192e: rtl92e_get_eeprom_size Fix read size of EPROM_CMD.
427907e599fa staging: rtl8192e: fix 2 byte alignment of register BSSIDR.
8b26f53bf026 mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp
f03484fd5a3a xc2028: Fix use-after-free bug properly
e0188a556da6 arm64: documentation: document tagged pointer stack constraints
06dd8281a7d3 arm64: uaccess: ensure extension of access_ok() addr
c23fee69f5b5 arm64: xchg: hazard against entire exchange variable
acbab784a9b6 ARM: dts: at91: sama5d3_xplained: not all ADC channels are available
6ae3be7167b7 ARM: dts: at91: sama5d3_xplained: fix ADC vref
1ab43a598996 powerpc/64e: Fix hang when debugging programs with relocated kernel
33c0c0f8edb9 powerpc/pseries: Fix of_node_put() underflow during DLPAR remove
a86b9ecf1158 powerpc/book3s/mce: Move add_taint() later in virtual mode
f3ffc64bf3dd cx231xx-cards: fix NULL-deref at probe
3208e455284b cx231xx-audio: fix NULL-deref at probe
bd14c18861c7 cx231xx-audio: fix init error path
f7c778fa707d dvb-frontends/cxd2841er: define symbol_rate_min/max in T/C fe-ops
e5a9ebb4387a zr364xx: enforce minimum size when reading header
a6e0caa34715 dib0700: fix NULL-deref at probe
a896652f6ad3 s5p-mfc: Fix unbalanced call to clock management
fc9753aa6ce9 gspca: konica: add missing endpoint sanity check
04f522476a26 ceph: fix recursion between ceph_set_acl() and __ceph_setattr()
0e9e19a66530 iio: proximity: as3935: fix as3935_write
8a5b15e198f1 ipx: call ipxitf_put() in ioctl error path
4ae1efc7cc98 USB: hub: fix non-SS hub-descriptor handling
af4e23402409 USB: hub: fix SS hub-descriptor handling
1e6e9c4c36f9 USB: serial: io_ti: fix div-by-zero in set_termios
4be0ae3d314c USB: serial: mct_u232: fix big-endian baud-rate handling
704f23f20c5e USB: serial: qcserial: add more Lenovo EM74xx device IDs
1c7f99aa2979 usb: serial: option: add Telit ME910 support
319be2ab4731 USB: iowarrior: fix info ioctl on big-endian hosts
1beae7405705 usb: musb: tusb6010_omap: Do not reset the other direction's packet size
5cbfae4ad360 ttusb2: limit messages to buffer size
9737909ff9d4 mceusb: fix NULL-deref at probe
f05c0dfd394f usbvision: fix NULL-deref at probe
14d0cafd3f95 net: irda: irda-usb: fix firmware name on big-endian hosts
ec0b553bd8df usb: host: xhci-mem: allocate zeroed Scratchpad Buffer
c0791b605fac xhci: apply PME_STUCK_QUIRK and MISSING_CAS quirk for Denverton
65ba07489dcd usb: host: xhci-plat: propagate return value of platform_get_irq()
ada79b5ecda7 sched/fair: Initialize throttle_count for new task-groups lazily
f01ae9cb0de2 sched/fair: Do not announce throttled next buddy in dequeue_task_fair()
ae3d7b8931eb fscrypt: avoid collisions when presenting long encrypted filenames
129a883b0191 f2fs: check entire encrypted bigname when finding a dentry
269d8211c400 fscrypt: fix context consistency check when key(s) unavailable
0aa3b8ef6975 net: qmi_wwan: Add SIMCom 7230E
22823e95193a ext4 crypto: fix some error handling
0a76f023e6f2 ext4 crypto: don't let data integrity writebacks fail with ENOMEM
f0486aa7bc80 USB: serial: ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs
16ac61cf707c USB: serial: ftdi_sio: fix setting latency for unprivileged users
6a70a5833ecc pid_ns: Fix race between setns'ed fork() and zap_pid_ns_processes()
ddf9b92f12dd pid_ns: Sleep in TASK_INTERRUPTIBLE in zap_pid_ns_processes
060d2642682e iio: dac: ad7303: fix channel description
14323b731072 of: fix sparse warning in of_pci_range_parser_one
000959316365 proc: Fix unbalanced hard link numbers
d22b933fb8eb cdc-acm: fix possible invalid access when processing notification
e4add1cf6b41 drm/nouveau/tmr: handle races with hw when updating the next alarm time
9d78e40f5f41 drm/nouveau/tmr: avoid processing completed alarms when adding a new one
5e07724c28f4 drm/nouveau/tmr: fix corruption of the pending list when rescheduling an alarm
27f82df2f026 drm/nouveau/tmr: ack interrupt before processing alarms
3819271d8a5f drm/nouveau/therm: remove ineffective workarounds for alarm bugs
7d2d6022807a drm/amdgpu: Make display watermark calculations more accurate
349666cfbe76 drm/amdgpu: Avoid overflows/divide-by-zero in latency_watermark calculations.
670a7c5db22e ath9k_htc: fix NULL-deref at probe
8431037ba10b ath9k_htc: Add support of AirTies 1eda:2315 AR9271 device
c26190b5378d s390/cputime: fix incorrect system time
d1f8ea3bd095 s390/kdump: Add final note
de74aedd71c0 regulator: tps65023: Fix inverted core enable logic.
6d380f50113c KVM: X86: Fix read out-of-bounds vulnerability in kvm pio emulation
e9c9e7588ef5 KVM: x86: Fix load damaged SSEx MXCSR register
08e589a97d38 ima: accept previously set IMA_NEW_FILE
0c99c8a22cc4 mwifiex: pcie: fix cmd_buf use-after-free in remove/reset
e367d1b00f81 rtlwifi: rtl8821ae: setup 8812ae RFE according to device type
c5ff397f075e md: update slab_cache before releasing new stripes when stripes resizing
d3df9403c075 dm space map disk: fix some book keeping in the disk space map
1dc9fb3cc12e dm thin metadata: call precommit before saving the roots
ea4889d6f39d dm bufio: make the parameter "retain_bytes" unsigned long
4a9631ffe520 dm cache metadata: fail operations if fail_io mode has been established
8d8fb01a62f2 dm bufio: check new buffer allocation watermark every 30 seconds
5d1df36c9d2c dm bufio: avoid a possible ABBA deadlock
4df4bf1df916 dm raid: select the Kconfig option CONFIG_MD_RAID0
fa499b361bd4 dm btree: fix for dm_btree_find_lowest_key()
c04397351fe5 infiniband: call ipv6 route lookup via the stub interface
63450e38efe3 tpm_crb: check for bad response size
025e33ee387a ARM: tegra: paz00: Mark panel regulator as enabled on boot
b171ce6c5e41 USB: core: replace %p with %pK
cda5c7e625ce char: lp: fix possible integer overflow in lp_setup()
ea99c2248495 watchdog: pcwd_usb: fix NULL-deref at probe
ca157f64dc9c USB: ene_usb6250: fix DMA to the stack
b572de59915e usb: misc: legousbtower: Fix memory leak
8a7f9dfbd4ae usb: misc: legousbtower: Fix buffers on stack
bb56ca291305 Linux 4.4.69
35df2085ec02 ipmi: Fix kernel panic at ipmi_ssif_thread()
d4392269f7ce wlcore: Add RX_BA_WIN_SIZE_CHANGE_EVENT event
4b86b46ef410 wlcore: Pass win_size taken from ieee80211_sta to FW
8ef67e0078b3 mac80211: RX BA support for sta max_rx_aggregation_subframes
d13333edbcc7 mac80211: pass block ack session timeout to to driver
0fe94dd915fd mac80211: pass RX aggregation window size to driver
f85e0c5f592c Bluetooth: hci_intel: add missing tty-device sanity check
bf3feec82ce3 Bluetooth: hci_bcm: add missing tty-device sanity check
ff1c4cf24642 Bluetooth: Fix user channel for 32bit userspace on 64bit kernel
9bd2cc56a089 tty: pty: Fix ldisc flush after userspace become aware of the data already
814c2bac9032 serial: omap: suspend device on probe errors
a52e1012585f serial: omap: fix runtime-pm handling on unbind
605fa1a2aa03 serial: samsung: Use right device for DMA-mapping calls
db467fee7ffb arm64: KVM: Fix decoding of Rt/Rt2 when trapping AArch32 CP accesses
f08bc4d63377 padata: free correct variable
9f4ba9062c2c CIFS: add misssing SFM mapping for doublequote
9a4050669919 cifs: fix CIFS_IOC_GET_MNT_INFO oops
a8900a64eabf CIFS: fix mapping of SFM_SPACE and SFM_PERIOD
b85fa4129e7a SMB3: Work around mount failure when using SMB3 dialect to Macs
89d23005fd63 Set unicode flag on cifs echo request to avoid Mac error
7aad381af8c3 fs/block_dev: always invalidate cleancache in invalidate_bdev()
bb7031c7e50f ceph: fix memory leak in __ceph_setxattr()
eb04a7344c83 fs/xattr.c: zero out memory copied to userspace in getxattr
a3e6be0e9447 ext4: evict inline data when writing to memory map
ab7ebca418bb IB/mlx4: Reduce SRIOV multicast cleanup warning message to debug level
1ad689bdc12d IB/mlx4: Fix ib device initialization error flow
1360f4301c78 IB/IPoIB: ibX: failed to create mcg debug file
1549c883d39b IB/core: Fix sysfs registration error flow
d96bb545d6ff vfio/type1: Remove locked page accounting workqueue
341adf516842 dm era: save spacemap metadata root after the pre-commit
dcd4004ae521 crypto: algif_aead - Require setkey before accept(2)
21cb4dc57b3c block: fix blk_integrity_register to use template's interval_exp if not 0
cbaeca8251bb KVM: arm/arm64: fix races in kvm_psci_vcpu_on
7b268351860c KVM: x86: fix user triggerable warning in kvm_apic_accept_events()
a2d5dcf338ea um: Fix PTRACE_POKEUSER on x86_64
b8cd9dd513bf x86, pmem: Fix cache flushing for iovec write < 8 bytes
d34ecdc9712c selftests/x86/ldt_gdt_32: Work around a glibc sigaction() bug
e89233f53e3d x86/boot: Fix BSS corruption/overwrite bug in early x86 kernel startup
3d3ca81d5e35 usb: hub: Do not attempt to autosuspend disconnected devices
0b4dad7c2cf4 usb: hub: Fix error loop seen after hub communication errors
7cad8a47ca94 usb: Make sure usb/phy/of gets built-in
6c3785cca656 usb: misc: add missing continue in switch
d3c04901f750 staging: comedi: jr3_pci: cope with jiffies wraparound
7fc6659b19a2 staging: comedi: jr3_pci: fix possible null pointer dereference
5ac489a80ffb staging: gdm724x: gdm_mux: fix use-after-free on module unload
265500bf9802 staging: vt6656: use off stack for out buffer USB transfers.
9d3c45786f27 staging: vt6656: use off stack for in buffer USB transfers.
de9d2d297ebe USB: Proper handling of Race Condition when two USB class drivers try to call init_usb_class simultaneously
fcd9a083cd22 USB: serial: ftdi_sio: add device ID for Microsemi/Arrow SF2PLUS Dev Kit
af3c8bf0e06b usb: host: xhci: print correct command ring address
8e1a740a5d66 iscsi-target: Set session_fall_back_to_erl0 when forcing reinstatement
6cd0200a9554 target: Convert ACL change queue_depth se_session reference usage
de41b0e12d6e target/fileio: Fix zero-length READ and WRITE handling
a1c2b01c310a target: Fix compare_and_write_callback handling for non GOOD status
8e209a07b106 xen: adjust early dom0 p2m handling to xen hypervisor behavior
(From OE-Core rev: 2e7d1a42b14de6f47543186f7855658a2ec36397)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest 4.9 -stable which comprises the following
commits:
f1aa865ae5d4 Linux 4.9.31
11214bd292ec xfs: Fix off-by-in in loop termination in xfs_find_get_desired_pgoff()
75c5afd58d46 xfs: fix unaligned access in xfs_btree_visit_blocks
7fb8ab8f0a38 xfs: avoid mount-time deadlock in CoW extent recovery
e40c145c023d xfs: xfs_trans_alloc_empty
0e542792a046 xfs: bad assertion for delalloc an extent that start at i_size
f60d76efa91a xfs: BMAPX shouldn't barf on inline-format directories
53c44c236f21 xfs: fix indlen accounting error on partial delalloc conversion
54894ea3c542 xfs: fix use-after-free in xfs_finish_page_writeback
d457f822817f xfs: reserve enough blocks to handle btree splits when remapping
0ba833fe73d2 xfs: wait on new inodes during quotaoff dquot release
2ea882d8ebc7 xfs: update ag iterator to support wait on new inodes
e86b616b5b9e xfs: support ability to wait on new inodes
10f0b2c3c225 xfs: fix up quotacheck buffer list error handling
95487d4be1e9 xfs: prevent multi-fsb dir readahead from reading random blocks
93bd169845e5 xfs: handle array index overrun in xfs_dir2_leaf_readbuf()
99226b890d63 xfs: fix integer truncation in xfs_bmap_remap_alloc
4e2762878a59 xfs: drop iolock from reclaim context to appease lockdep
4e8163fc8159 xfs: actually report xattr extents via iomap
de417ea6b0a6 xfs: fix over-copying of getbmap parameters from userspace
c2ad2dc3d264 xfs: use dedicated log worker wq to avoid deadlock with cil wq
3890d83805fe xfs: fix kernel memory exposure problems
ca659e086fb7 xfs: rework the inline directory verifiers
815414e7648b xfs: verify inline directory data forks
11b485477285 xfs: fix off-by-one on max nr_pages in xfs_find_get_desired_pgoff()
9c795fff53f9 xfs: use ->b_state to fix buffer I/O accounting release race
c9eab63b9e62 xfs: Fix missed holes in SEEK_HOLE implementation
670821b9482d drm/gma500/psb: Actually use VBT mode when it is found
74b416367b4e mm/slub.c: trace free objects at KERN_INFO
c1bb2a899b5f slub/memcg: cure the brainless abuse of sysfs attributes
873f3b0ebbfe ksm: prevent crash after write_protect_page fails
d5ecb4ca0da7 x86/boot: Use CROSS_COMPILE prefix for readelf
d1cff2222071 RDMA/qib,hfi1: Fix MR reference count leak on write with immediate
292f70cd9649 mm: consider memblock reservations for deferred memory initialization sizing
1163e785b150 mlock: fix mlock count can not decrease in race condition
d494cab70697 mm/migrate: fix refcount handling when !hugepage_migration_supported()
7d8ef0e0bc1e ALSA: hda - apply STAC_9200_DELL_M22 quirk for Dell Latitude D430
da856d05645c pcmcia: remove left-over %Z format
ebd4c110fd0b drm/radeon: Fix vram_size/visible values in DRM_RADEON_GEM_INFO ioctl
acc771fdaec7 drm/radeon: Unbreak HPD handling for r600+
c8d25fcb5980 drm/radeon/ci: disable mclk switching for high refresh rates (v2)
9869fb485cc6 scsi: mpt3sas: Force request partial completion alignment
21f33b157721 nvme: avoid to use blk_mq_abort_requeue_list()
510b0ec7f60f nvme: use blk_mq_start_hw_queues() in nvme_kill_queues()
ae0578089242 nvme-rdma: support devices with queue size < 32
34808d76dd77 HID: wacom: Have wacom_tpc_irq guard against possible NULL dereference
69b1d90e6a0f ibmvscsis: Fix the incorrect req_lim_delta
80569d0e09ad ibmvscsis: Clear left-over abort_cmd pointers
49d33fd10070 iscsi-target: Always wait for kthread_should_stop() before kthread exit
ecbf0f48d65e mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
8735cf2291cd Revert "ACPI / button: Change default behavior to lid_init_state=open"
32d8077f1e9b acpi, nfit: Fix the memory error check in nfit_handle_mce()
68c83a379106 x86/MCE: Export memory_error()
4472887cbd13 crypto: skcipher - Add missing API setkey checks
63399974effb i2c: i2c-tiny-usb: fix buffer not being DMA capable
d3b2d9ca90c2 drivers/tty: 8250: only call fintek_8250_probe when doing port I/O
1d74fc36f3ec powerpc/spufs: Fix hash faults for kernel regions
68a056175512 fs/ufs: Set UFS default maximum bytes per file
1a658771d5e1 sparc/ftrace: Fix ftrace graph time measurement
45ceb845ef34 sparc: Fix -Wstringop-overflow warning
c1133c671a04 bpf: add bpf_clone_redirect to bpf_helper_changes_pkt_data
988b9792b856 ipv4: add reference counting to metrics
1de51502a025 sctp: fix ICMP processing if skb is non-linear
4b81271ed1c3 tcp: avoid fastopen API to be used on AF_UNSPEC
9e056584770b virtio-net: enable TSO/checksum offloads for Q-in-Q vlans
9c6cfd5811bd be2net: Fix offload features for Q-in-Q packets
5f595d529796 vlan: Fix tcp checksum offloads in Q-in-Q vlans
cc6773b51bf3 net: phy: marvell: Limit errata to 88m1101
4fb5fd27dec0 net/mlx5: Avoid using pending command interface slots
1730a2b9e5b5 bonding: fix accounting of active ports in 3ad
304b41014acb ipv6: fix out of bound writes in __ip6_append_data()
ee72e7e5c2b4 bridge: start hello_timer when enabling KERNEL_STP in br_stp_start
0d10ebbc835f qmi_wwan: add another Lenovo EM74xx device ID
2ea4221eb4ae bridge: netlink: check vlan_default_pvid range
3fa202ef74c8 ipv6: Check ip6_find_1stfragopt() return value properly.
a2c845e51a82 ipv6: Prevent overrun when parsing v6 header options
68647616fd53 net: Improve handling of failures on link and route dumps
0174b07408f2 tcp: eliminate negative reordering in tcp_clean_rtx_queue
ac3735bf97f0 net/mlx5e: Fix ethtool pause support and advertise reporting
1594973b8e07 net/mlx5e: Use the correct pause values for ethtool advertising
f79d3307c035 net/packet: fix missing net_device reference release
5e7d9f0b3f72 sctp: do not inherit ipv6_{mc|ac|fl}_list from parent
eb7f6d6989ad sctp: fix src address selection if using secondary addresses for ipv6
8d625242e86b tcp: avoid fragmenting peculiar skbs in SACK
a5db124dc2a4 net: fix compile error in skb_orphan_partial()
5d165daafc44 netem: fix skb_orphan_partial()
21e3113298f9 bpf, arm64: fix faulty emission of map access in tail calls
c1f3f197d650 s390/qeth: add missing hash table initializations
96a81eb6ad5a s390/qeth: avoid null pointer dereference on OSN
b68c2e387a23 s390/qeth: unbreak OSM and OSN support
25c1a1e4d891 s390/qeth: handle sysfs error during initialization
4bd8f5e38e5a ipv6/dccp: do not inherit ipv6_mc_list from parent
8f1f08be3974 driver: vrf: Fix one possible use-after-free issue
4eed44029507 dccp/tcp: do not inherit mc_list from parent
db3fd4527ed3 Linux 4.9.30
5a597b225d48 drm/i915/gvt: Disable access to stolen memory as a guest
1489183c2005 drivers: char: mem: Check for address space wraparound with mmap()
51d9c51523ec nfsd: encoders mustn't use unitialized values in error cases
ea465551af30 nfsd: fix undefined behavior in nfsd4_layout_verify
f2b6f508c541 NFS: Use GFP_NOIO for two allocations in writeback
a8c35e5c88de NFS: Fix use after free in write error path
88ac6b7e0c82 NFSv4: Fix a hang in OPEN related to server reboot
5438f8952906 drm/edid: Add 10 bpc quirk for LGD 764 panel in HP zBook 17 G2
5956b2815f90 mtd: nand: add ooblayout for old hamming layout
6639b27f5a4c mtd: nand: omap2: Fix partition creation via cmdline mtdparts
e437af936a49 mtd: nand: orion: fix clk handling
db6636416195 PCI: Freeze PME scan before suspending devices
9ad81ecb28d6 PCI: Only allow WC mmap on prefetchable resources
6bec009a2f69 PCI: Fix another sanity check bug in /proc/pci mmap
fa3bbb1c7f06 PCI: Fix pci_mmap_fits() for HAVE_PCI_RESOURCE_TO_USER platforms
87e7dc97c8a0 PCI: hv: Specify CPU_AFFINITY_ALL for MSI affinity when >= 32 CPUs
d1d63f97dd76 PCI: hv: Allocate interrupt descriptors with GFP_ATOMIC
dd0023d7105c tracing/kprobes: Enforce kprobes teardown after testing
cc0aa21de47c um: Fix to call read_initrd after init_bootmem
541c67844198 osf_wait4(): fix infoleak
07d8aabff490 MIPS: Loongson-3: Select MIPS_L1_CACHE_SHIFT_6
6d6a43a08611 nvme: unmap CMB and remove sysfs file in reset path
423f1752a028 genirq: Fix chained interrupt data ordering
3fe116563d5d uwb: fix device quirk on big-endian hosts
f157261b55a4 stackprotector: Increase the per-task stack canary's random range from 32 bits to 64 bits on 64-bit platforms
e8a8a6972c50 metag/uaccess: Check access_ok in strncpy_from_user
9fefcb947ec2 metag/uaccess: Fix access_ok()
21f2950f91ff iommu/vt-d: Flush the IOTLB to get rid of the initial kdump mappings
58e36d6f7f11 staging: rtl8192e: GetTs Fix invalid TID 7 warning.
93a46fe4eb41 staging: rtl8192e: rtl92e_get_eeprom_size Fix read size of EPROM_CMD.
d0226f9adaf8 staging: rtl8192e: fix 2 byte alignment of register BSSIDR.
f4205502948b staging: rtl8192e: rtl92e_fill_tx_desc fix write to mapped out memory.
e6b8f5ade305 arm64: documentation: document tagged pointer stack constraints
e817a7fb2f31 arm64: uaccess: ensure extension of access_ok() addr
4775fbcc92d7 arm64: armv8_deprecated: ensure extension of addr
f2e4f4e538f0 arm64: ensure extension of smp_store_release value
88675139a81d arm64: xchg: hazard against entire exchange variable
31a331c8cf26 arm64: dts: hi6220: Reset the mmc hosts
5ee1c675ab92 ARM: dts: imx6sx-sdb: Remove OPP override
03d8b264bcb9 ARM: dts: at91: sama5d3_xplained: not all ADC channels are available
086ea4b9510c ARM: dts: at91: sama5d3_xplained: fix ADC vref
9f6cea2e3bbd ARM: 8670/1: V7M: Do not corrupt vector table around v7m_invalidate_l1 call
3304f5a1cb87 ARM: 8662/1: module: split core and init PLT sections
ee773459557d KVM: arm: plug potential guest hardware debug leakage
0ba7e8e34193 arm: KVM: Do not use stack-protector to compile HYP code
d0fb4b7d00bb arm64: KVM: Do not use stack-protector to compile EL2 code
a685601f8533 powerpc/tm: Fix FP and VMX register corruption
018b91870856 powerpc/64e: Fix hang when debugging programs with relocated kernel
3915c566ea94 powerpc/iommu: Do not call PageTransHuge() on tail pages
5ba5685a26b1 powerpc/pseries: Fix of_node_put() underflow during DLPAR remove
a0da3e00df38 powerpc/book3s/mce: Move add_taint() later in virtual mode
222f1d668d00 powerpc/eeh: Avoid use after free in eeh_handle_special_event()
690f09eb52bc powerpc/mm: Ensure IRQs are off in switch_mm()
2338de43e234 cx231xx-cards: fix NULL-deref at probe
8ebb884009b6 cx231xx-audio: fix NULL-deref at probe
1b24b8c07023 cx231xx-audio: fix init error path
40616929f87e dw2102: limit messages to buffer size
e42a6715d26b digitv: limit messages to buffer size
28590f1bb601 dvb-frontends/cxd2841er: define symbol_rate_min/max in T/C fe-ops
64579fcc57fd zr364xx: enforce minimum size when reading header
466b45af50fd dib0700: fix NULL-deref at probe
074912daab55 s5p-mfc: Fix unbalanced call to clock management
4a9c54250492 gspca: konica: add missing endpoint sanity check
e2f95f88106f s5p-mfc: Fix race between interrupt routine and device functions
6bee0b1fe4ed iio: hid-sensor: Store restore poll and hysteresis on S3
a99462b13dff iio: proximity: as3935: fix as3935_write
820adccd0e3b ipx: call ipxitf_put() in ioctl error path
c67e87a22dd8 USB: hub: fix non-SS hub-descriptor handling
3e4a4e68df08 USB: hub: fix SS hub-descriptor handling
f9cd79e0ad1f USB: serial: io_ti: fix div-by-zero in set_termios
c3e024ff9180 USB: serial: mct_u232: fix big-endian baud-rate handling
d8fc44d67488 USB: serial: qcserial: add more Lenovo EM74xx device IDs
7e5407600663 usb: serial: option: add Telit ME910 support
ee0f3a89842e USB: iowarrior: fix info ioctl on big-endian hosts
dbb127332abf usb: musb: Fix trying to suspend while active for OTG configurations
08c735a15d5b usb: musb: tusb6010_omap: Do not reset the other direction's packet size
ff9177b158c3 usb: dwc3: gadget: Prevent losing events in event cache
653cd31a2ca5 dvb-usb-dibusb-mc-common: Add MODULE_LICENSE
4f93054d9b45 ttusb2: limit messages to buffer size
c71b5040632f mceusb: fix NULL-deref at probe
736f41a47442 usbvision: fix NULL-deref at probe
a3adb4721ae2 net: irda: irda-usb: fix firmware name on big-endian hosts
1046d6a51f57 usb: host: xhci-mem: allocate zeroed Scratchpad Buffer
219628bb0c05 xhci: apply PME_STUCK_QUIRK and MISSING_CAS quirk for Denverton
1a926919364f usb: host: xhci-plat: propagate return value of platform_get_irq()
374a3fb5c3b0 xhci: remove GFP_DMA flag from allocation
fa313fd6673e libnvdimm: fix clear length of nvdimm_forget_poison()
af9bd5218855 fscrypt: avoid collisions when presenting long encrypted filenames
8daed21dbce1 f2fs: check entire encrypted bigname when finding a dentry
b9c0da6219e1 USB: chaoskey: fix Alea quirk on big-endian hosts
545a3171d37f USB: serial: ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs
038ccaa5d50e USB: serial: ftdi_sio: fix setting latency for unprivileged users
2ea2f891fa85 pid_ns: Fix race between setns'ed fork() and zap_pid_ns_processes()
6dc6a2700b6a pid_ns: Sleep in TASK_INTERRUPTIBLE in zap_pid_ns_processes
5e40ac3fbd0d IB/hfi1: Fix a subcontext memory leak
b894ea8263ca IB/hfi1: Return an error on memory allocation failure
dfb450b2b66e IIO: bmp280-core.c: fix error in humidity calculation
a03176f92a02 iio: dac: ad7303: fix channel description
05a36277a195 ibmvscsis: Do not send aborted task response
9907c838fc07 of: fdt: add missing allocation-failure check
80cdf2065bf0 of: fix "/cpus" reference leak in of_numa_parse_cpu_nodes()
ae5074ba9ef8 of: fix sparse warning in of_pci_range_parser_one
d10b21d6e562 proc: Fix unbalanced hard link numbers
168b2bfaa235 cxl: Route eeh events to all drivers in cxl_pci_error_detected()
393531299547 cxl: Force context lock during EEH flow
fc6b678ab1d4 ohci-pci: add qemu quirk
809ae061d998 cdc-acm: fix possible invalid access when processing notification
198ab4031873 gpio: omap: return error if requested debounce time is not possible
b77adf29b856 drm/nouveau/tmr: handle races with hw when updating the next alarm time
1ec3c712e231 drm/nouveau/tmr: avoid processing completed alarms when adding a new one
6445a49a8c59 drm/nouveau/tmr: fix corruption of the pending list when rescheduling an alarm
16e10490d260 drm/nouveau/tmr: ack interrupt before processing alarms
e8ee63059196 drm/nouveau/therm: remove ineffective workarounds for alarm bugs
d1f006efde1f drm/amdgpu: Add missing lb_vblank_lead_lines setup to DCE-6 path.
b334b3492888 drm/amdgpu: Avoid overflows/divide-by-zero in latency_watermark calculations.
ebf3cf5b9a67 drm/amdgpu: Make display watermark calculations more accurate
adc6647c4f0f ath9k_htc: fix NULL-deref at probe
c39bafb9ee7a ath9k_htc: Add support of AirTies 1eda:2315 AR9271 device
768ae64b2ab2 s390/cputime: fix incorrect system time
8c5157c1967e s390/kdump: Add final note
c849b4fa8e10 regulator: tps65023: Fix inverted core enable logic.
5b00d6c85a92 regulator: rk808: Fix RK818 LDO2
ae382caa96f7 x86: fix 32-bit case of __get_user_asm_u64()
54e385430e12 KVM: X86: Fix read out-of-bounds vulnerability in kvm pio emulation
c996ad7568c0 KVM: x86: Fix potential preemption when get the current kvmclock timestamp
b64ecb25b1d5 KVM: x86: Fix load damaged SSEx MXCSR register
91034255e42f ima: accept previously set IMA_NEW_FILE
ce7146cf9bdf mwifiex: pcie: fix cmd_buf use-after-free in remove/reset
385eb9b33e1d mwifiex: MAC randomization should not be persistent
444df795edf4 rtlwifi: rtl8821ae: setup 8812ae RFE according to device type
7e7897878783 md: MD_CLOSING needs to be cleared after called md_set_readonly or do_md_stop
fa9a4a9c6d6f md: update slab_cache before releasing new stripes when stripes resizing
f2bb8bcbc09d dm space map disk: fix some book keeping in the disk space map
cc681811a92c dm thin metadata: call precommit before saving the roots
eeaf13394d32 dm bufio: make the parameter "retain_bytes" unsigned long
e69242436b6b dm cache metadata: fail operations if fail_io mode has been established
042d8dbf69c6 dm mpath: split and rename activate_path() to prepare for its expanded use
e08047c90c8a dm bufio: check new buffer allocation watermark every 30 seconds
98e7b9d45bf4 dm bufio: avoid a possible ABBA deadlock
c5066c4c1b7e dm raid: select the Kconfig option CONFIG_MD_RAID0
4de8eceefbea dm btree: fix for dm_btree_find_lowest_key()
5db8f42b62da infiniband: call ipv6 route lookup via the stub interface
cb5cf8aaba2e mlx5: Fix mlx5_ib_map_mr_sg mr length
ece453e8b0ca ASoC: cs4271: configure reset GPIO as output
cc15d340ec6a tpm_crb: check for bad response size
0c150305212b tpm: add sleep only for retry in i2c_nuvoton_write_status()
40ca1fd38e11 tpm: msleep() delays - replace with usleep_range() in i2c nuvoton driver
568ea0dcc27e tpm_tis_spi: Add small delay after last transfer
c4b3779c9783 tpm_tis_spi: Remove limitation of transfers to MAX_SPI_FRAMESIZE bytes
d513cf24e240 tpm_tis_spi: Check correct byte for wait state indicator
daa432c1a65a tpm_tis_spi: Abort transfer when too many wait states are signaled
aad1e5c81cbb tpm_tis_spi: Use single function to transfer data
cc0f994c205d fanotify: don't expose EOPENSTALE to userspace
e8b6d43ce3ea ARM: tegra: paz00: Mark panel regulator as enabled on boot
0251f6affb11 ALSA: hda: Fix cpu lockup when stopping the cmd dmas
5c1bd0cb4992 tpm_tis_core: Choose appropriate timeout for reading burstcount
3888f62943bb USB: core: replace %p with %pK
5d263d94a870 char: lp: fix possible integer overflow in lp_setup()
7a2b8471ab12 watchdog: pcwd_usb: fix NULL-deref at probe
6e2078c10092 USB: ene_usb6250: fix DMA to the stack
7d96e4a404c1 usb: misc: legousbtower: Fix memory leak
810b7c559954 usb: misc: legousbtower: Fix buffers on stack
f5eea276d8de Linux 4.9.29
9ee8502bd2cc pstore: Shut down worker when unregistering
a4de93008625 pstore: Fix flags to enable dumps on powerpc
1a1029507258 libnvdimm, pfn: fix 'npfns' vs section alignment
c171b24fe508 libnvdimm, pmem: fix a NULL pointer BUG in nd_pmem_notify
5b6e7f353290 libnvdimm, region: fix flush hint detection crash
46ba11b007c1 ipmi: Fix kernel panic at ipmi_ssif_thread()
6e7de39ef9a4 Bluetooth: hci_intel: add missing tty-device sanity check
f2f6d77fabe2 Bluetooth: hci_bcm: add missing tty-device sanity check
518ca84479d7 Bluetooth: Fix user channel for 32bit userspace on 64bit kernel
89c91ea37581 tty: pty: Fix ldisc flush after userspace become aware of the data already
e38a4c3b0b4a serial: omap: suspend device on probe errors
f8d2751b0012 serial: omap: fix runtime-pm handling on unbind
c5689e0ab6e1 serial: samsung: Use right device for DMA-mapping calls
64a599ac5dcc fscrypt: fix context consistency check when key(s) unavailable
8dd114ef78c8 device-dax: fix cdev leak
6240377c574b padata: free correct variable
1c5d8b377e58 CIFS: add misssing SFM mapping for doublequote
6f3b2eed8c9a cifs: fix CIFS_IOC_GET_MNT_INFO oops
f13d96bf98c2 CIFS: fix oplock break deadlocks
411346640ccd cifs: fix CIFS_ENUMERATE_SNAPSHOTS oops
449a74439d15 cifs: fix leak in FSCTL_ENUM_SNAPS response handling
87c0604d860f CIFS: fix mapping of SFM_SPACE and SFM_PERIOD
8dd4e3ff1bfb SMB3: Work around mount failure when using SMB3 dialect to Macs
2ac2ad9fb045 Set unicode flag on cifs echo request to avoid Mac error
4f5e1c48e80b Fix match_prepath()
4e434d4fe28a mm: prevent potential recursive reclaim due to clearing PF_MEMALLOC
945d0ecdd9bd fs/block_dev: always invalidate cleancache in invalidate_bdev()
091784ae9738 ceph: fix memory leak in __ceph_setxattr()
9a6bb7b5637e fs/xattr.c: zero out memory copied to userspace in getxattr
1777e888bd40 orangefs: do not check possibly stale size on truncate
63907bb781e7 orangefs: do not set getattr_time on orangefs_lookup
59f496104112 orangefs: clean up oversize xattr validation
127adc188c62 orangefs: fix bounds check for listxattr
b2764f851db6 ext4: evict inline data when writing to memory map
7929b50dedd1 perf auxtrace: Fix no_size logic in addr_filter__resolve_kernel_syms()
e3cea38357ea IB/hfi1: Prevent kernel QP post send hard lockups
43c54927f6f4 IB/mlx4: Reduce SRIOV multicast cleanup warning message to debug level
9ae6b33dcbb4 IB/mlx4: Fix ib device initialization error flow
d20bfe223d3e IB/IPoIB: ibX: failed to create mcg debug file
7a227630ab89 IB/core: For multicast functions, verify that LIDs are multicast LIDs
ecb0ab0f89c7 IB/core: Fix sysfs registration error flow
377178321690 iov_iter: don't revert iov buffer if csum error
9f43f70dcc56 vfio/type1: Remove locked page accounting workqueue
1773131ec4b9 dm thin: fix a memory leak when passing discard bio down
f32e35bc3d54 dm rq: check blk_mq_register_dev() return value in dm_mq_init_request_queue()
f6ec18eb7425 dm era: save spacemap metadata root after the pre-commit
f8d05099ec72 crypto: ccp - Change ISR handler method for a v5 CCP
a0a232489c0f crypto: ccp - Change ISR handler method for a v3 CCP
93424b2b63e0 crypto: ccp - Disable interrupts early on unload
36dffff240d9 crypto: ccp - Use only the relevant interrupt bits
bcc70358396a crypto: algif_aead - Require setkey before accept(2)
9b2fb8ad5ba1 block: fix blk_integrity_register to use template's interval_exp if not 0
884ba252f3f1 arm64: KVM: Fix decoding of Rt/Rt2 when trapping AArch32 CP accesses
7b0d4391d0f4 KVM: arm/arm64: fix races in kvm_psci_vcpu_on
bdf1d5b4c129 KVM: x86: fix user triggerable warning in kvm_apic_accept_events()
f99985cdee64 perf/x86: Fix Broadwell-EP DRAM RAPL events
0750e8b865ee um: Fix PTRACE_POKEUSER on x86_64
e0c871792cc6 x86, pmem: Fix cache flushing for iovec write < 8 bytes
e65c6aa10860 selftests/x86/ldt_gdt_32: Work around a glibc sigaction() bug
acb6dc6aa744 x86/boot: Fix BSS corruption/overwrite bug in early x86 kernel startup
219a99dd2198 usb: hub: Do not attempt to autosuspend disconnected devices
181b0de7f7cc usb: hub: Fix error loop seen after hub communication errors
5a001a687f7c usb: Make sure usb/phy/of gets built-in
5c51e4b65fca usb: gadget: legacy gadgets are optional
af534bf9540e usb: misc: add missing continue in switch
a54ab7420ac7 staging: comedi: jr3_pci: cope with jiffies wraparound
2bdc2e8c29e9 staging: comedi: jr3_pci: fix possible null pointer dereference
55f9811b98f2 staging: gdm724x: gdm_mux: fix use-after-free on module unload
83f66c9a6026 staging: vt6656: use off stack for out buffer USB transfers.
3eff228fdd43 staging: vt6656: use off stack for in buffer USB transfers.
6312a84dc8b5 USB: Revert "cdc-wdm: fix "out-of-sync" due to missing notifications"
5ffe717f351d USB: Proper handling of Race Condition when two USB class drivers try to call init_usb_class simultaneously
c31ff3ceb326 USB: serial: ftdi_sio: add device ID for Microsemi/Arrow SF2PLUS Dev Kit
91cd8f900c75 usb: host: xhci: print correct command ring address
853469d53e86 usb: xhci: bInterval quirk for TI TUSB73x0
bb1f06f53bcb iscsi-target: Set session_fall_back_to_erl0 when forcing reinstatement
f788fa43d87a target/fileio: Fix zero-length READ and WRITE handling
a4e52cc7d81b target: Fix compare_and_write_callback handling for non GOOD status
f2b8de98f737 xen: adjust early dom0 p2m handling to xen hypervisor behavior
58cd97ff374b Linux 4.9.28
6a7620744e89 block: get rid of blk_integrity_revalidate()
48d9fa1ece5e drm/ttm: fix use-after-free races in vm fault handling
347d07bf3add wlcore: Add RX_BA_WIN_SIZE_CHANGE_EVENT event
bbd839a40dde wlcore: Pass win_size taken from ieee80211_sta to FW
5d7ab8339a9a xen: Revert commits da72ff5bfcb0 and 72a9b186292d
93862955cbf4 f2fs: sanity check segment count
265d382cc8db net: mdio-mux: bcm-iproc: call mdiobus_free() in error path
ced0a31e667f bpf: don't let ldimm64 leak map addresses on unprivileged
e37aab9c63b8 bnxt_en: allocate enough space for ->ntp_fltr_bmap
8795ee7bed24 ipv6: reorder ip6_route_dev_notifier after ipv6_dev_notf
ecbd3ed2ddfe ipv6: initialize route null entry in addrconf_init()
5d8e07740c69 rtnetlink: NUL-terminate IFLA_PHYS_PORT_NAME string
f19065308601 ipv4, ipv6: ensure raw socket message is big enough to hold an IP header
747a00193f26 tcp: do not inherit fastopen_req from parent
78f032b071c1 net: usb: qmi_wwan: add Telit ME910 support
0f4ac291a768 net: ipv6: Do not duplicate DAD on link up
91260baa9d67 tcp: fix wraparound issue in tcp_lp
493d0a7be31c bpf, arm64: fix jit branch offset related to ldimm64
7bca0a9702ed bpf: enhance verifier to understand stack pointer arithmetic
f3235cbd5be1 tcp: do not underestimate skb->truesize in tcp_trim_head()
3b0129d4111e macsec: dynamically allocate space for sglist
22d6b013ffcf sparc64: fix fault handling in NGbzero.S and GENbzero.S
7aa0e14336d9 ALSA: hda - Fix deadlock of controller device lock at unbinding
170e0abd886b staging: emxx_udc: remove incorrect __init annotations
d8e94d091376 staging: wlan-ng: add missing byte order conversion
47b7257fc20f staging/lustre/llite: move root_squash from sysfs to debugfs
0b77c687d4e0 brcmfmac: Make skb header writable before use
f73dfc29afa6 brcmfmac: Ensure pointer correctly set if skb data location changes
b0e2e3acfe8e MIPS: R2-on-R6 MULTU/MADDU/MSUBU emulation bugfix
2d652d0abd3c scsi: smartpqi: fix time handling
a46d03e35179 scsi: mac_scsi: Fix MAC_SCSI=m option when SCSI=m
76aa65a2c0fd scsi: qla2xxx: Fix crash in qla2xxx_eh_abort on bad ptr
71fd9a94bd3f serial: 8250_omap: Fix probe and remove for PM runtime
115fb7ec22b5 phy: qcom-usb-hs: Add depends on EXTCON
52dd14d76812 clk: rockchip: add "," to mux_pll_src_apll_dpll_gpll_usb480m_p on rk3036
6fa44d4ba212 USB: serial: io_edgeport: fix descriptor error handling
62b8b773ebde USB: serial: mct_u232: fix modem-status error handling
e17c48c3280e USB: serial: quatech2: fix control-message error handling
594c9b4b0acb USB: serial: ftdi_sio: fix latency-timer error handling
ca4e6525df05 USB: serial: ark3116: fix open error handling
94bbbfe21b5a USB: serial: ti_usb_3410_5052: fix control-message error handling
b07e930d1f49 USB: serial: io_edgeport: fix epic-descriptor handling
4d32e36d6262 USB: serial: ssu100: fix control-message error handling
9ca301067502 USB: serial: digi_acceleport: fix incomplete rx sanity check
84443215cf54 USB: serial: keyspan_pda: fix receive sanity checks
b6c17077e056 usb: chipidea: Handle extcon events properly
8eb8c9b16fdd usb: chipidea: Only read/write OTGSC from one place
4a36b6a7ee88 usb: host: ohci-exynos: Decrese node refcount on exynos_ehci_get_phy() error paths
8f50cb88d862 usb: host: ehci-exynos: Decrese node refcount on exynos_ehci_get_phy() error paths
30643b5ac754 usb: dwc2: host: use msleep() for long delay
d0ee36354f77 KVM: nVMX: do not leak PML full vmexit to L1
560a979735f4 KVM: nVMX: initialize PML fields in vmcs02
39058adebbb1 Revert "KVM: nested VMX: disable perf cpuid reporting"
b6cd52a0eeaf x86/platform/intel-mid: Correct MSI IRQ line for watchdog device
1eae95d4bc03 kprobes/x86: Fix kernel panic when certain exception-handling addresses are probed
c9f617223904 clk: Make x86/ conditional on CONFIG_COMMON_CLK
1f0c69cfb2ad x86/mpx: Re-add MPX to selftests Makefile
56e524a8c305 x86/pci-calgary: Fix iommu_free() comparison of unsigned expression >= 0
5ed26fad2d08 x86/ioapic: Restore IO-APIC irq_chip retrigger callback
3b141e2965a7 iwlwifi: mvm: writing zero bytes to debugfs causes a crash
1fb264cf7d54 iwlwifi: mvm: synchronize firmware DMA paging memory
495f91630205 iwlwifi: mvm: fix references to first_agg_queue in DQA mode
4d6f2ac95bc5 iwlwifi: mvm: fix pending frame counter calculation
48aa5ec292f3 iwlwifi: mvm/pcie: adjust A-MSDU tx_cmd length in PCIe
04dd401a5145 iwlwifi: mvm: Use aux queue for offchannel frames in dqa
a6fe39262c51 iwlwifi: mvm: fix reorder timer re-arming
20a9de99a0da iwlwifi: pcie: fix the set of DMA memory mask
562c868d94a8 iwlwifi: pcie: trans: Remove unused 'shift_param'
9c8655c0a860 iwlwifi: pcie: don't increment / decrement a bool
948634492b40 iwlwifi: mvm: overwrite skb info later
45dad03aca55 iwlwifi: mvm: don't restart HW if suspend fails with unified image
d0a8075ffe05 iwlwifi: fix MODULE_FIRMWARE for 6030
9291cabe094b mwifiex: Avoid skipping WEP key deletion for AP
dcdeaa743342 mwifiex: remove redundant dma padding in AMSDU
525fda9221a8 mwifiex: debugfs: Fix (sometimes) off-by-1 SSID print
1d61da618969 ARM: dts: sun7i: lamobo-r1: Fix CPU port RGMII settings
ebae7681697d ARM: OMAP5 / DRA7: Fix HYP mode boot for thumb2 build
f4bff2c44dc9 ARM: dts: NSP: GPIO reboot open-source
329607b4864d leds: ktd2692: avoid harmless maybe-uninitialized warning
f46fdb8a2611 arm64: Improve detection of user/non-user mappings in set_pte(_at)
aadb7e073e81 arm: dts: qcom: Fix ipq board clock rates
e33fb57428a1 arm64: dts: r8a7795: Mark EthernetAVB device node disabled
e7b34f4a74f6 power: supply: bq24190_charger: Handle fault before status on interrupt
7f2b4ad9c07a power: supply: bq24190_charger: Don't read fault register outside irq_handle_thread()
4b7dac0a23b7 power: supply: bq24190_charger: Call power_supply_changed() for relevant component
63e1acc84d28 power: supply: bq24190_charger: Install irq_handler_thread() at end of probe()
20e448f2251c power: supply: bq24190_charger: Call set_mode_host() on pm_resume()
d8d6aedd54ce power: supply: bq24190_charger: Fix irq trigger to IRQF_TRIGGER_FALLING
89e8bd3add69 perf/x86/intel/pt: Add format strings for PTWRITE and power event tracing
1641bb14e8be powerpc: Correctly disable latent entropy GCC plugin on prom_init.o
b47a6b40655b powerpc/ftrace: Fix confusing help text for DISABLE_MPROFILE_KERNEL
50e027728915 powerpc/powernv: Fix opal_exit tracepoint opcode
754a2bcfd8b1 powerpc/mm: Fixup wrong LPCR_VRMASD value
a19718bd0b19 cpupower: Fix turbo frequency reporting for pre-Sandy Bridge cores
4f39fcce99d7 power: supply: lp8788: prevent out of bounds array access
ccef31d22e80 crypto: caam - fix error path for ctx_dma mapping failure
819e3601d3c5 tmp: use pdev for parent device in tpm_chip_alloc
326f9b0a39d3 tpm: fix RC value check in tpm2_seal_trusted
a941f261c8f1 hwmon: (it87) Fix pwm4 detection for IT8620 and IT8628
898c6bbfc88d drm/sti: fix GDP size to support up to UHD resolution
f5ca890f138d 9p: fix a potential acl leak
(From OE-Core rev: d26a362b6bcee7e5e745b76bd6fb5ef94697bf22)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is possible to inherit meta data for either patches + config
or for just config.
It is possible that the patch queue contains invalid (when
sourced) shell characters in the patch names, which throws a
syntax error and aborts processing.
The patch + config case was fixed some time ago, but we recently
stumbled onto the config-only case which was still not properly
quoted and hence safe.
This commit brings the config-only inherit in line with the
patch + config processing and we won't abort processing if
characters like () are in patch names.
(From OE-Core rev: ce7044be10597d53725e6917a2949f3ab3de0c96)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Making the following kernel configuration fragment changes available:
c9f07d79f01d nftables: add more configuration options.
8d3cf0ad6c0c common-pc-wifi.cfg: add CONFIG_MT7601U module
55c9bf749c6d ktypes/developer: Enable CONFIG_KEXEC in config
(From OE-Core rev: a0d24f69425716ffd2439b1fb9170c343eaca453)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If for any reason the parse_recipe fail in extract command
the process gets locked because Cooker is expecting the
finish event by tinfoil.
For example:
$ devtool extract remake /tmp/remake
ERROR: remake is unavailable:
remake was skipped: PREFERRED_PROVIDER_virtual/make set to make, not remake
(From OE-Core rev: 2c0062b59178fa668b26487b6d2f1e81a0d868e0)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently there was a restriction to only execute tests that's
inherits from OETestCase but in some circunstancies the features
from the OEQA framework isn't needed so we need to support
basic unittests.
[YOCTO #10828]
(From OE-Core rev: baac26f1b36e89e07637b738dd31ec7356f05a02)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Our filtering allows to specify which tests to run using,
<module_name>.[test_class].[test_name]
But the module name logic was restricted to only accept one level,
for example: runtime_test vs oelib.types, to support multiple
submodules use only the first part for filtering.
This allows to run the whole tests in a module with more than tree
levels.
Due to the ambiguity on the test filtering options with test cases
with more than tree levels the supported sytnax is,
<module>
or
<module>.[submoduleN].[test_class].[test_name]
[YOCTO #11632]
(From OE-Core rev: cf2ee12b007e5570959ccfbb643159b21d90426e)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To make it obvious what is lost when python is disabled, actually delete the
scripts so the user can't attempt to use them.
(From OE-Core rev: 25c8d738b904c8755df203122067afa0047b27ad)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These commands are not whitelisted by the HOSTTOOLS variable which
silently prevents the MBR disk signature from being written to the
image.
Reported-by: Michael Davis <michael.davis@essvote.com>
(From OE-Core rev: a58e53f55259acd79a98a0f8b8a435d2a5aef36e)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since do_rootfs depends on cve-check results of all recipes,
we need to recursively depend on recipe do_cve_check.
(From OE-Core rev: a1af526e43cb476472a6203882c12deef297f542)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes there are control messages in cve-check-tool printed to
stderr. These lead to parsing error and thus failed build.
This can happen for instance when cve database needs to be
refreshed during build.
(From OE-Core rev: 6d8a17f4c50be292990e37de65630a6b84466ee6)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there is cve report for a recipe in previous build and there
is no result for current one, old cves are kept in CVE_CHECK_DIR.
This happens on version upgrade or when cve/recipe is whitelisted.
(From OE-Core rev: 85b4941c71a0e3c08a8c48d52a94dfe2897d2c92)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream init script uses SIGUSR2 to terminate that daemon because
SIGTERM is ignored. As the killproc function does not support specifying
a signal, switch to start-stop-daemon. Drop the retry loop because
SIGUSR2 is lethal for agent.
(From OE-Core rev: 7a47752f8223f3c0ed4354d5e39f1319071acf41)
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This means mismatched layers are more clearly identified to the user in
cases where compatibility has not been tested. This is perhaps not as
needed for the core repository (other than CORENAMES) but lets lead by
example.
(From OE-Core rev: cde66d5eac8e5c2821ba225dc4be4af4e0581652)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, someone trying a master branch of any given layer may
or may not find it works with the version of OE-Core that they
have picked.
This patchset introduces LAYERSERIES_CORENAMES and
LAYERSERIES_COMPAT_<layername> with the intention of allowing layers
to indicate which versions of the core project they're compatible with.
In general the master branch will use the next release codename as
the value of LAYERSERIES_CORENAMES, meaning that the waterfall model
of layer releases is supported with layers updating their
LAYERSERIES_COMPAT_ values as they branch for release.
Both variables support multiple strings and a given layer is accepted
if there is overlap of any one value. This means a layer can be compatible
with multiple core versions.
Setting LAYERSERIES_COMPAT_ will be required by the Yocto Project
Compatible v2 standard but the system will not error if its not set at this
point.
This should make it clear when a given layer is unmaintained and untested
with new releaes of OE-Core, a common user pain point.
(Bitbake rev: 92c49b9b1a16dfd35444db8143bd4cae4cda70cc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tinfoil sets up its own logger by default, but if and when we initialise
the UI (by default knotty) will also set one up, leading to duplicated
messages specifically from tasks. To avoid this, rather than adding some
kind of parameter, just check if there is already a logger outputting to
stdout/stderr and if so, skip adding our own.
Part of the fix for [YOCTO #11275].
(Bitbake rev: 66d866745f35468d1540a793d07e3a401298b84b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding an additional logger in setup_bitbake() interacts poorly with the
logger we have added by default in tinfoil's constructor, with the
result that messages may be doubled or even tripled in tinfoil-using
scripts. Disable adding this one when calling setup_bitbake() from
tinfoil to avoid this problem.
Part of the fix for [YOCTO #11275].
(Bitbake rev: 8a5bae76f91f2411187c638a42fa3c762052cf11)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop a number of the commands and support functions that were created
solely to support functionality in the now-removed Hob UI. In most cases
we now have this functionality elsewhere e.g. to modify config files and
recipes we have bb.utils.edit_metadata_file() and friends, and in OE we
have oe.recipeutils.patch_recipe_file() and friends which build on top of
the former. Additionally, some of it represented pretty egregious
incursion of OE metadata-specific references into BitBake code.
For now I have left in the find*File functions and commands as they are
relatively generic and possibly still useful, but they might be removed
in future.
(Bitbake rev: a322f13183c66a28d93cc4bc3d839d95fc1d90f4)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In OpenEmbedded's buildhistory class we want access to the bitbake
command line that launched the build, and up to now we were simply using
sys.argv from within the event handler to get that. Unfortunately that
doesn't work in memory resident mode, since the event handler is
naturally executing within the server and thus will give you the command
that launched the bitbake server which is much less interesting. Add a
dynamic variable BB_CMDLINE to provide access to this, set from sys.argv
within the UI process in updateToServer().
(Note that BB_CMDLINE isn't currently passed through to the worker, so
this is only really readable from event handlers plus any explicit
getVariable calls - in theory an observe-only UI could read it for
example.)
Part of the fix for [YOCTO #11634].
(Bitbake rev: 8ad31a3eff5cfcb7b1c462578a582dafcbc426d4)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we set these flags here then we can not only tidy up some of the code
that calls initConfigurationData() (and reset() which simply calls the
former), we also avoid calling initConfigurationData() an extra time
unnecessarily during startup (since setting baseconfig_valid = False in
updateConfigOpts() also resulted in initConfigurationData() being
called from updateCacheSync() at the end of the command.)
(Bitbake rev: 74d2ef99a920aa9e70470ba8e600ea973a3c672a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you build a recipe, modify one of the files referred to in SRC_URI,
then build it again, it should re-run do_fetch and the tasks that depend
upon it to incorporate the modified file. With memory resident mode this
was not working unless you restarted the server, because the mtime of
the file was cached and thus we never checked the actual file. Clear out
the mtime caches in buildTargets() to ensure this isn't an issue. I did
a minor refactoring to break this out to its own function since we were
already clearing out the build mtime cache here.
(The test I used for this was . ./oe-init-build-env-memres,
bitbake -c fetch mdadm, modify the comments at the top of one of the
patches referred to in the recipe, and then bitbake -c fetch mdadm again
and it should re-execute the fetch task ("... 0 didn't need to be
re-run".)
Fixes [YOCTO #10732].
(Bitbake rev: fe4f3487368bc35043a1ba464e1c69d2c9cbefc6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CookerConfiguration sets the "tracking" option to True when -e is
specified in order to have history tracking enabled in the datastore
so that we can show variable history (which isn't enabled by default for
performance reasons), however in memory resident mode this wasn't doing
anything because it was happening on the UI side only. We do have a
mechanism for updating the cooker configuration in the server, but the
tracking option wasn't being included in the list of options we updated,
so we just need to add this option to fix the issue.
Fixes [YOCTO #10730].
(Bitbake rev: 57d4977555cf892b15dd0302dfe261fe37d49327)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using 1000000 memory address for kernel and a00000 for dtb
can cause kernel image to overwrite dtb when uncompressing
and u-boot crashing with:
ERROR: image is not a fdt - must RESET the board to recover.
Updated flashing instructions for the board to use addresses
1000000 and 2000000 to avoid this error.
Got rid of resetting loadaddr and ftdaddr u-boot variables.
(From meta-yocto rev: 05fc7fc19a9b43cab31ea873e5c38a2737c799cf)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SMP kernel config presents issues on qemuarm because:
CONFIG_SMP=y
Dependencies Missing:
- CPU_V6K or CPU_V7:
These are selected by setting:
CONFIG_ARCH_MULTI_V7=y
or
CONFIG_ARCH_MULTI_V6=y
But our QEMU + ARM BSPs are based on armv4/v5 hence they are
incompatible with CONFIG_SMP.
This patch fixes the script, and avoids offering SMP to the user
when the created BSP is based on QEMU + ARM.
[YOCTO #11426]
(From meta-yocto rev: d63aa4acd20b2aa022701289e9ab7be7f551b0b2)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BBFILES_DYNAMIC can be used to activate content only when some other
layers are present. The other layers are identified by the collections
that they define.
The main use case is to avoid .bbappends without the corresponding .bb
file in layers that want to modify other layers via .bbappends without
introducing a hard dependency on those other layers. .bb files could
also be handled via BBFILES_DYNAMIC.
Entries in BBFILES_DYNAMIC must have the form <collection
name>:<filename pattern>. Example usage:
BBFILES_DYNAMIC += " \
clang-layer:${LAYERDIR}/bbappends/meta-clang/*/*/*.bbappend \
core:${LAYERDIR}/bbappends/openembedded-core/meta/*/*/*.bbappend \
"
Parsing is aborted when invalid entries are found with an error
message like this:
ERROR: BBFILES_DYNAMIC entries must be of the form <collection name>:<filename pattern>, not:
/work/my-layer/bbappends/meta-security-isafw/*/*/*.bbappend
/work/my-layer/bbappends/openembedded-core/meta/*/*/*.bbappend
Based on a patch by Richard Purdie.
(Bitbake rev: 04f8bd50aa04b12cf91dd6a3154527ad2c24695c)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This vulnerability is also called "rpcbomb".
Backport upstream patch to fix this vulnerability.
CVE: CVE-2017-8779
(From OE-Core rev: d10edb97f0a7d6952adf9e0dbb6b4d5c0d168195)
Signed-off-by: Fan Xin<fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade libtiff from 4.0.7 to 4.0.8
2. Delete the following patch file due to CVE-2017-5225 has been fixed in 4.0.8
libtiff-CVE-2017-5225.patch
(From OE-Core rev: 825927e85933322e6f195f0d937359017a9a9b97)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade hdparm from 9.51 to 9.52
2. Update the checksum of LIC_FILES_CHKSUM
The following content is appended to LICENSE.TXT, the licence is still BSD & GPLv2.
The apt.c file is Copyright (c) 2009 Jan Friesse <jfriesse@gmail.com>.
You may use/distribute apt.c freely, under the terms of either
(your choice) the GNU General Public License version 2,
or a BSD style license.
(From OE-Core rev: 3cd7aa486527d34bf6d20dd37046fe683230a4b6)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is wrongly detected by configure since it only checks for
__sync_add_and_fetch and not __atomic_fetch_add, it decides
to let compiler emit references to atomic functions which
it expects to be provided by libgcc, but thats not the
case for armv5 arch
[YOCTO #11616]
(From OE-Core rev: 6866ad53c5d49781002470195b4aae1ad1afde5c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix build when PIE is turned on. It tries to build
.so file using -pie and -shared flags together because
its doing compile and link in same step CFLAGS and LDFLAGS
are combined and does not work, ending in errors e.g.
| /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/python-pygpgme/0.3-r0/recipe-sysroot/usr/l
ib/Scrt1.o: In function `_start_c':
| /usr/src/debug/musl/1.1.16+gitAUTOINC+179766aa2e-r0/git/crt/crt1.c:17: undefined reference to `main'
| collect2: error: ld returned 1 exit status
This error while cryptic is due to the fact that we are
building a shared library but also pass -pie flag to the link
step after specify LDHSARED ( which is -shared linker flags )
we can not use -pie when doing shared libs. This is true for all the python
modules inheriting setup tools
Disable the pie flags thusly for all modules using setuptools since
this setting is done in setuptools makefiles which are then used
during module compiles
(From OE-Core rev: 6a4e3b696d32809279f1550cc1d67bc6b9979a03)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe explictly sets -DAO_USE_PTHREAD_DEFS on ARM, but with libunwind 1.2
this causes the linker to fail:
hidden symbol `__sync_synchronize' in libgcc.a(linux-atomic.o) is referenced by DSO
Removing these defines lets configure do the right thing and build libunwind.
(From OE-Core rev: f2efadab8b1ab1c50584a39908673e1a6717f753)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A following linking error was observed:
| ==========
| archival/lib.a(tar.o): In function `tar_main':
| archival/tar.c:1168: undefined reference to `unpack_Z_stream'
| archival/tar.c:1168: undefined reference to `unpack_Z_stream'
| ld: busybox_unstripped: hidden symbol `unpack_Z_stream' isn't defined
| ld: final link failed: Bad value
this happened with clang compiler, with the following configs:
| CONFIG_TAR=y
| # CONFIG_FEATURE_SEAMLESS_Z is not set
which can be fixed by adding IF_FEATURE_* checks in.
(From OE-Core rev: 789254b5ae983a94346f53de18286713b80eb5f2)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I got a following error when I run buildstats-diff against a invalid
buildstats file:
| Traceback (most recent call last):
| File "/poky/scripts/buildstats-diff", line 548, in <module>
| sys.exit(main())
| File "/poky/scripts/buildstats-diff", line 534, in main
| bs1 = read_buildstats(args.buildstats1, args.multi)
| File "/poky/scripts/buildstats-diff", line 222, in read_buildstats
| return read_buildstats_dir(path)
| File "/poky/scripts/buildstats-diff", line 165, in read_buildstats_dir
| os.path.join(recipe_dir, task))]
| File "/poky/scripts/buildstats-diff", line 124, in read_buildstats_file
| bs_task['elapsed_time'] = end_time - start_time
| UnboundLocalError: local variable 'end_time' referenced before assignment
the root cause is that a task was terminated by me on the terminal,
so the generated buildstats file was invalid, supposing that it would
make the buildstats.sh fail, but the script should give more graceful
error messages.
(From OE-Core rev: dee3c29071017b4d12c02b711c5e42ca96e0578d)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are using a temp directory, use the realpath for output log
to store the results in the original BUILDDIR.
[YOCTO #11571]
(From OE-Core rev: 0addd079966ece97abc2e0ba3e7d6434d23692aa)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Modify “test_devtool_virtual_kernel_modify” to be executed with default
configuration defined on oe-selftest test suite. A shorter string was
added to the the header file to avoid overlapped sections when building
kernel for qemux86-64.
[Yocto #11300]
(From OE-Core rev: a8bda790fded43eac72b2ad76d47c27363f02070)
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were two completely different tests inside selftest.py,
and the only reason for them to be together was that both needed
the same mechanism to execute (run testimage from within selftest)
This fixes the design issue and error-prone situation by separating
these tests. In add a new module for dnf-runtime and also has an
extra time added to running the tests, but it is minimal since
the builds reuse data from previuous build.
[YOCTO #11436]
(From OE-Core rev: 2f6a506018973f0eaf1306555df3e74a3ab25680)
Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Getting ip address from DHCP server is much more convenient
than setting static ip. It allows to configure u-boot in
more generic way and to avoid hardcoding static ip in
u-boot configuration.
Enabled dhcp client functionality for Yocto reference
hardware MPC8315E-RDB.
(From OE-Core rev: fa3a157e437aefa24c473ec53736a26f7e9fd470)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Catching a possible exception when importing the git module,
allows us to skip test if the latter is missing on the host.
Also, import oe.buildhistory_analysis inside fuctions
because this module also needs git to work correctly.
[YOCTO #11620]
(From OE-Core rev: 186882ca62bf683b93cd7a250963921b89ba071f)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the original implementation, "bitbake-layers add-layers <layer>"
succeeded without error checking. This will further introduce
failures in recipe parsing only when "bitbake" command is executed.
Adding a meta layer without its dependency layer(s) should failed
and exit the process gracefully.
Added extra argument "-F" to force add a layer without checking
layer dependency.
[YOCTO #10913]
(Bitbake rev: 705ab252e631903e6d2e46202b419a9e8adcd861)
Signed-off-by: Phoong Stanley Cheong Kwan <stanley.cheong.kwan.phoong@intel.com>
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Modify CFLAGS for several cases which will not compile otherwise.
Do not use the form CFLAGS_x_append because it will replace, not
append to CFLAGS for override x.
(From OE-Core rev: f8e63dff3eb807b07bd71f0e31f6e0cf18ecdb0c)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade lsbinitscripts from 9.68 to 9.72
2. Rebase the following patch file.
functions.patch
(From OE-Core rev: be117d6ea79882d10cce4c061385832e26d23bff)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kmscube depends on virtual/libgles2, virtual/egl (provided
by mesa) and gstreamer1.0 which require opengl in DISTRO_FEATURES.
(From OE-Core rev: ae78eac950e209da430ca0d258656f616a2ef9d2)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade libxml-namespacesupport-perl from 1.11 to 1.12
2. Update the checksum of licence file because the author and contributors's name list is deleted.
The content of licence has no change.
(From OE-Core rev: 6894a25d80358f48b3f503e5434f0e99354c9471)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade libxml-simple-perl from 2.22 to 2.24
2. Update the Licence checksum due to the address of Free Software Foundation changed.
The content of licence has no change.
(From OE-Core rev: 684dcc1c0d1aece28edfe18c89c27ffcf553a477)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade acpica from 20150515 to 20170303
2. Rebase the patch file for 20170303
(From OE-Core rev: c08ca9353fabb595de1011cf9d6db6ff6cc06ce3)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These patches fix a few building problems but are not being
taken into consideration at the moment, even though they have
been reviewed upstream with most of them merged (and accepted
already in OE-core master):
1.- CMake: define GBM_BO_MAP only when symbol is found
2.- util/egl: Honour Surfaceless MESA in get_default_display
3.- egl_mesa_platform_surfaceless: Don't use eglGetPlatformDisplay directly
4.- egl_mesa_platform_surfaceless: Use EXT functions for surfaces
(From OE-Core rev: 4322982346fb403bfd2c03b93bcad4c3d8694ea5)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade lzo from 2.09 to 2.10
2. Update the license checksum due to the date change, not license change.
3. Add a patch to fix the undefined error.
(From OE-Core rev: 874cf9e9ec72eb7235ef1997fdfea9c33b3628f6)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also clean up the logic in the script to be more Pythonic.
(From OE-Core rev: fae66dd3633aa8a6aa633fcfd7c4b9a728dee7a4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also clean up the logic in the script to be more Pythonic.
(From OE-Core rev: e5ac43e1b549e637f1820a03dd0a633fbecd395c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix build when PIE is turned on. It tries to build
.so file using -pie and -shared flags together because
its doing compile and link in same step CFLAGS and LDFLAGS
are combined and does not work, ending in errors e.g.
| /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/python-pygpgme/0.3-r0/recipe-sysroot/usr/l
ib/Scrt1.o: In function `_start_c':
| /usr/src/debug/musl/1.1.16+gitAUTOINC+179766aa2e-r0/git/crt/crt1.c:17: undefined reference to `main'
| collect2: error: ld returned 1 exit status
This error while cryptic is due to the fact that we are
building a shared library but also pass -pie flag to the link
step after specify LDHSARED ( which is -shared linker flags )
we can not use -pie when doing shared libs. This is true for all the python
modules inheriting setup tools
Disable the pie flags thusly for all modules using setuptools since
this setting is done in setuptools makefiles which are then used
during module compiles
(From OE-Core rev: dc1c16e9df365871b2c40998f63f304ffa610447)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_ar_configured alters WORKDIR but also expects to be able to run do_configure,
so forcibly expand the paths to the sysroots as otherwise they'll point to a
non-existant directory in the temporary WORKDIR.
[ YOCTO #11584 ]
(From OE-Core rev: aa2240657b015d46e9ba4bcb6264709a82313d83)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Error:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: matchbox-desktop-2.1-r0 do_ar_original: Can not determine archive names
for original source because 'name' URL parameter is unset in more than one URL.
Add it to at least one of these: git://git.yoctoproject.org/matchbox-desktop-2
file://vfolders/%2A
ERROR: matchbox-desktop-2.1-r0 do_ar_original: Function failed: do_ar_original
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function do_ar_original, when recipes have more than one source, it added the
"name" URL parameter as suffix to identify the created tarball.
But the URL type "file://" that we always used to represent a series of patches,
it didn't have "name" parameter, so it failed.
So set "name" to the folder name to identify the created tarball, for example:
In matchbox-desktop bb file, the SRC_URI contains:
file://vfloders/*
We set "name" to "vfolders" to identify the created tarball.
In connman-gnome bb file, the SRC_URI contains:
file://images/*
We set "name" to "images" to identify the created tarball.
(From OE-Core rev: 0af636c635391b30c987dedeffe597ef4f8a1ed8)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_unpack_and_patch was not correctly run until recently
("archiver.bbclass: various fixes for original+diff mode") but
with the fix applied, the errors we get indicate the function
is not adapted to work with recipe specific sysroots.
do_unpack_and_patch sets WORKDIR to ARCHIVER_WORKDIR which
affects all path settings relative to WORKDIR, inluding the paths
to recipes' sysroots. IOW, when do_unpack and do_patch are run, they
cannot find the necessary native tools and files located in the
sysroot (e.g., quiltrc) because the paths point to ARCHIVER_WORKDIR.
Adapt do_unpack_and_patch to RSS by restoring the original
STAGING_DIR_NATIVE after WORKDIR is changed to ARCHIVER_WORKDIR.
(From OE-Core rev: db7d2cc5a4df3c2077ba874c7ae395c73fd9ed13)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- systemd_boot.py: Use the new case class and change decorator for id
- __init__.py: Because isn't needed now
(From meta-yocto rev: 59b2135007d80b3b76ef1256bf5d5aa6076178bc)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default python logging module uses stderr as default stream
for output but is unix-like to use stdout instead, so change it.
(From OE-Core rev: 986452c410a958e339f31f8c05461c18a1a15eb5)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After Python 3.5 the init method contains initialization of
_loading_packages set to avoid infinite loops in recursive
loading.
Fix,
Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/scripts/oe-selftest", line 70, in <module>
ret = main()
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/scripts/oe-selftest", line 57, in main
results = args.func(logger, args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/context.py", line 214, in run
rc = self._internal_run(logger, args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/context.py", line 175, in _internal_run
self.tc.loadTests(self.module_paths, **self.tc_kwargs['load'])
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/core/context.py", line 51, in loadTests
self.suites = self.loader.discover()
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/core/loader.py", line 268, in discover
pattern='*.py', top_level_dir=path)
File "/usr/lib/python3.5/unittest/loader.py", line 341, in discover
tests = list(self._find_tests(start_dir, pattern))
File "/usr/lib/python3.5/unittest/loader.py", line 398, in _find_tests
full_path, pattern, namespace)
File "/usr/lib/python3.5/unittest/loader.py", line 473, in _find_test_path
self._loading_packages.add(name)
AttributeError: 'OETestLoader' object has no attribute '_loading_packages'
(From OE-Core rev: 17b832ba05d640570a773adbff2fa4e9ff83fce3)
Signed-off-by: Anibal Limon <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix build when PIE is turned on. It tries to build
.so file using -pie and -shared flags together because
its doing compile and link in same step CFLAGS and LDFLAGS
are combined and does not work, ending in errors e.g.
| /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/python-pygpgme/0.3-r0/recipe-sysroot/usr/l
ib/Scrt1.o: In function `_start_c':
| /usr/src/debug/musl/1.1.16+gitAUTOINC+179766aa2e-r0/git/crt/crt1.c:17: undefined reference to `main'
| collect2: error: ld returned 1 exit status
This error while cryptic is due to the fact that we are
building a shared library but also pass -pie flag to the link
step after specify LDHSARED ( which is -shared linker flags )
we can not use -pie when doing shared libs. This is true for all the python
modules inheriting setup tools
Disable the pie flags thusly for all modules using setuptools since
this setting is done in setuptools makefiles which are then used
during module compiles
(From OE-Core rev: 4b5d55228ed2565570d0e93cfea4efa8cbb789ea)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In some cases, it may be useful to populate a volatile file from an
existing one, e.g. a file in a read-only rootfs that may be edited in a
read-write destination.
To provide this behavior, creation of volatile files has been updated to
copy a file which has been given in the <linksource> field. If set to
none, the current behavior is preserved.
(From OE-Core rev: d44816bedadeef420226dc5efb67065cfcda6634)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* I had some components where the MACHINE name was also included in PV of allarch recipe
which was tripping the script into saying that they have different signatures (because
for one MACHINE was the string in PV replaced with 'MACHINE' and not for other MACHINEs
(From OE-Core rev: 36e6abf387848d8c4383b4d506340811dd371c86)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Toolchains are required to be prepopulated in sysroot before
entering devshell.
[YOCTO #11464]
(From OE-Core rev: eb8a1cdf5106d119f77db76f9a690826af9fcda3)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New framework has different classes/decorators so adapt current test cases to
support these. Changes include changes on base classes and decorators.
Also include paths in selftest/__init__.py isn't needed because the
loader is the standard unittest one.
(From OE-Core rev: ddbbefdd124604d10bd47dd0266b55a764fcc0ab)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new OEQA framework aims to re-use code into the different Test
components.
The previous oe-selftest implements it-self loading, run, and list test
cases in a non-standard way (unittest base) and other functionalities
like logging that is now on oeqa core. This ends on a compact oe-selftest
script.
All needed command line options was migrated but there are some of them
pending of implementation and others deprecated.
Deprecated options:
list-tags: The tag functionality into the old oeqa framework isn't
work, the selftest doesn't has tag decorators.
{run, list}-tests-by: Ambiguos options it accepts all the posibilites module,
class, name, id or tag.
Remaining to implement:
coverage: It enables covrage reports over a test run, currently isn't on
on use and some bugs [1], i filed a bug to add support to OEQA core module in
this way other Test components could enable it.
repository: It push XML results into a git repository and isn't in use,
i filed a bug to implement this into OEQA core module. [2]
[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=11582#c0
[2] https://bugzilla.yoctoproject.org/show_bug.cgi?id=11583#c0
(From OE-Core rev: 3b2a20eee4a39f40287bf67545839eaa09fc892d)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test layer is added at init of selftest and is the same
across test runs so pass it as a attr in the context.
(From OE-Core rev: 8441da8fbc7ff2237d9ccd3a5c5117345f5c87b2)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The machine selection is an operation that needs to be made
in every test run, the best place to it is on the context
module.
Use self.tc.custommachine variable instead of use environment.
SIgned-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
(From OE-Core rev: f295b70ace0ffc28256140a21af5c3a8903297cb)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The oe-selftest creates include files to store custom configuration to
make specific tests, every class executes a different test and may be
uses custom configuration.
So move to case class in order to simplify oe-selftest script and later
implement later a build folder per class.
(From OE-Core rev: 1130b40c3dfa65e7ece08a95b3941e4d1d20bcf0)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Summary of the changes:
- Use OETestCase as base class instead of unittest.TestCase
- Remove LogResults decorator the new framework provides logging into
the core functionality.
- Logger is now self.logger instead of self.log
- Move comments into docstrings in several help methods
- Use get_test_layer() method instead of access monkey patched variable
in old oeSelfTest case class.
(From OE-Core rev: c38cab77893f9d8fd505f050cc880a15677b73db)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to maintain compatibility with oe-selftest, the
load_test_components needs to be re-used, so the script
executor needs to pass to only load components supported
by certain script (oe-test, oe-selftest).
(From OE-Core rev: d6b78ae711b93b4059690320cb8d821aaadd1684)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test_recipetool_create_github test fetches HEAD of the repository so
upstream changes can (and do) break the test. Avoid these problems by passing
the rev= argument in the URL to lock the checkout to the same version that is
fetched in the github_tarball test.
Also pass the commands to runCmd() as a list instead of a string, the semicolon
in the URL needs more quotes if the shell is involved and passing a list
bypasses the shell entirely.
(From OE-Core rev: b35bedd209092432c560e998043b6a8c5c2e4d34)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These files should be removed as version 4.8 is no longer supported (6751dce4cf
and 1632f6623c) and errors may be produced when executing some commands.
For instance, "yocto-bsp list <karch> --property <property_name>" expects the
SRC_URI of the 4.8 kernel recipe, which doesn't exist anymore, throwing the
following exception:
$ yocto-bsp list arm --property existing_kbranch
Getting branches from remote repo None...
Traceback (most recent call last):
...
SyntaxError: function specified for 'gen' property returned nothing : input type:
"choicelist" name:"existing_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches"
branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this
BSP on:" default:"standard/base"
[YOCTO #9867]
(From meta-yocto rev: fb0ed1cdeac9e716d1eaa5b11c8262a209bf148e)
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The loop for populating the depends of the tree data should use dep
instead of item.
(Bitbake rev: 37c298b27e3f72b21513124237cfeffb22c0e2f0)
Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python function subprocess.call() returns the return value of the
executed process. If return values are not checked, errors may
go unnoticed and bad things can happen.
Change all callers of subprocess.call() which do not check for
the return value to use subprocess.check_call() which raises
CalledProcessError if the subprocess returns with non-zero value.
https://docs.python.org/2/library/subprocess.html#using-the-subprocess-module
All users of the function were found with:
$ git grep "subprocess\.call" | \
egrep -v 'if.*subprocess\.call|=\ +subprocess\.call|return.*subprocess\.call'
Tested similar patch on top of yocto jethro. Only compile tested
core-image-minimal on poky master branch.
(Bitbake rev: d2cf67bcaf001acb6be8fc5884fb450649849847)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code in these two functions is meant to be equivlanet in behaviour
but isn't. Add in code to ensure files that don't exist are handled
consistently by both functions. Users did report being able to generate
tracebacks otherwise.
(Bitbake rev: c11b4832879354b387a8c9c6a3096f2d621afeac)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
KERNEL_IMAGETYPES lists all the kernel images that we want to build. in
cb17b6c2a7 (kernel.bbclass: support kernel image type of vmlinux.gz), some logic
was added to support vmlinux.gz which is not a target built by kernel
makefiles (only vmlinux). It is clear that the goal of this logic is only to
support vmlinux.gz and not others compressed format (such as Image.gz) which are
valid target for kernel makefiles.
For Image.gz we should rely on the kernel makefiles and not do the compression
in kernel class.
This patch updates the logic used to filter out non supported kernel target from
KERNEL_IMAGETYPES, and make vmlinux.gz a 'special case', instead of *.gz. If
more special cases are needed in the future, we could add them in a similar way.
This patch should be a no-op for anyone using vmlinux or vmlinux.gz, and on top
of that it is fixing the build for Image.gz which was not working until now.
(From OE-Core rev: cfc0c897656fe67e81a6a5dcd936dff785529f41)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a comment to fix build musl<->glibc switch while
using same TMPDIR
(From OE-Core rev: bc940753ee4af8c656f33d63e33c3d12d419446e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a set of changes, those are:
- CMake now requires librhash for build and as there is no other
users in OE-Core we make it use its internal copy instead;
- Copyright.txt checksum has change due new contrubutors and 2017
year additions;
- Patch avoid-gcc-warnings-with-Wstrict-prototypes.patch was removed
as it is not need anymore;
- Patch 0001-KWIML-tests-Remove-format-security-from-flags.patch was
removed as it is included in this release.
(From OE-Core rev: cc75f693bde412edd0a1aa4fd4e92fb29b492b76)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated poky.ent to use 2.4 variables and numbering
Updated mega-manual.sed to use "2.4" string for links
Updated all manual revision tables to use "2.4" and
"Usually October, 2017" string.
(From yocto-docs rev: 17ec7da6ab3fd450c2010812f7ad689288b12dcc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11600]
Made some technical corrections to the PACKAGECONFIG_CONFARGS
variable description in the glossary.
(From yocto-docs rev: c422783984748f170943eab418bfa7d0111fa352)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11579]
Added a new description for the LAYERRECOMMENDS variable.
(From yocto-docs rev: 3004a5724c4ea7165e4f749f9c9237ee1fbd89f5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11579]
The syntax for specifying a layer version was incorrect. I
have added an explanation for the correct syntax and provided
an example.
(From yocto-docs rev: 5703fb2f8b9d3df408c596603b8b8416597fc67a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop patch support-out-of-tree-builds.patch:
Because the upstream has already contain it.
(From OE-Core rev: 2fd0757ae7fd63bc93a4ce8579c6ba0cdbb4c1cd)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Depend on gperf-native: The tarball used to include files generated
with gperf and this is no longer the case.
Use GIR_EXTRA_LIBS_PATH to fix introspection generation.
(From OE-Core rev: 028c398d0977b8f65a78f6a9ba2df8cc07dcc3cd)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Costmetic changes in license.html file required new MD5 hash
* Add PACKAGECONFIG option for libunwind support (new feature, disable by default)
* Rebased 0001-Use-wayland-scanner-in-the-path.patch
* Added zlib in DEPENDS, otherwise mesa no longer builds.
* Added 0001-util-rand_xor-add-missing-include-statements.patch, sent upstream
(From OE-Core rev: fa08267f1399904fed079277bc86ac1aa26c06dc)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Can compile in thumb1 and thumb2 modes now
AO_THUMB_GO_ARM, AO_THUMB_RESTORE_MODE are used
to guard swp instructions
Switch to github and use git for src_uri
(From OE-Core rev: 5d66e34f4be7dacf71251aefd303eb0fb721738e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Noteworthy changes:
1. Introduced the ASN1_TIME_ENCODING_ERROR error code to indicate an invalid
encoding in the DER time fields.
2. Introduced flag ASN1_DECODE_FLAG_ALLOW_INCORRECT_TIME. This flag allows
decoding errors in time fields even when in strict DER mode.
3. Added safety check in asn1_find_node(). That prevents a crash when a very
long variable name is provided by the developer.
(From OE-Core rev: 61752a41f2f0abe61e805d2ef1292cec1e202c36)
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>
Bug fixes:
1. Fix a problem in REPLACE that can result in a corrupt database
containing two or more rows with the same rowid.
2. Fix a problem in PRAGMA integrity_check that was causing a subsequent
VACUUM to behave suboptimally.
3. Fix the PRAGMA foreign_key_check command so that it works correctly with
foreign keys on WITHOUT ROWID tables.
4. Disallow leading zeros in numeric constants in JSON.
5. Disallow control characters inside of strings in JSON.
6. Limit the depth of recursion for JSON objects and arrays in order to
avoid excess stack usage in the recursive descent parser.
7. Fix more bugs in the LEFT JOIN flattening optimization.
(From OE-Core rev: 3d4d025b1cc6668fd7baefa01ebb9664e805e83a)
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>
Small update with mostly bug fixes.
Add a desktop file for rsvg thumbnailing (it points to
gdk-pixbuf-thumbnailer so there's no binary added).
(From OE-Core rev: 8ac6bd6144dab4b027b6c463fb542ce00db7e64d)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is possible that frontends/kconfig is written to by sed before frontends/
exists, so add a mkdir to ensure the directory always exits.
[ YOCTO #11574 ]
(From OE-Core rev: ad915e9baa04c73981c4795a97da95cea40b50c2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Error log will be logged into /var/log/message.
Added in more condition checking on the script. Check
/proc/tty/drivers and /proc/tty/driver/*
file system to retrieve active targeted serial.
Only establish getty with active serial in runtime.
[YOCTO #10844]
Reviewed-by: Saul Wold <sgw@linux.intel.com>
(From OE-Core rev: ac0e9541fe93e866e42914f65a0516b993f0cffe)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python function subprocess.call() returns the return value of the
executed process. If return values are not checked, errors may
go unnoticed and bad things can happen.
Change all callers of subprocess.call() which do not check for
the return value to use subprocess.check_call() which raises
CalledProcessError if the subprocess returns with non-zero value.
https://docs.python.org/2/library/subprocess.html#using-the-subprocess-module
All users of the function were found with:
$ git grep "subprocess\.call" | \
egrep -v 'if.*subprocess\.call|=\ +subprocess\.call|return.*subprocess\.call'
Tested similar patch on top of yocto jethro. Only compile tested
core-image-minimal on poky master branch.
(From OE-Core rev: 031cf9c7834cd1cba8b03832673a3e3cfcbfae7c)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
isoimage-isohybrid plugin fails with this error when
trying to find initrd image:
initrd = glob.glob('%s/%s*%s.%s' % (initrd_dir, image_name, target_arch, image_type))[0]
IndexError: list index out of range
as it uses TRANSLATED_TARGET_ARCH value as part of the image.
This approach stopped to work due to changes in oe core code.
initrd file name is made using MACHINE variable. wic can't get value
of this variable as it's not included into bitbake -e output.
Used basename of deploy dir as MACHINE value to fix the breakage.
(From OE-Core rev: cfbb3cc1279ea88ca3e2867f8a409c5120aa1f05)
(From OE-Core rev: e26fa1c34c33ffdc678f8073dade0126aff08b40)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package_qa_check_rdepends() in insane.bbclass has
incorrectly replace its localdata OVERRIDES value with
the package name. Fixing it by appending the package name
to the existing OVERRIDES value. This resolves RDEPENDS QA
error when setting PACKAGECONFIG using a pn- override at
local.conf.
[YOCTO #11374]
(From OE-Core rev: 60d28dd72daee235150ab6605cbf953f1ea691df)
Signed-off-by: Gan, Yau Wai <yau.wai.gan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The remote script is run with `set -e`, so doing rm without -f on a
$file that is already gone will exit the whole script, failing any
redeployment. Assume a use case where packages sometimes produces
certain test binaries stored on volatile media (tmpfs), and where the
system is occasionally rebooted.
(From OE-Core rev: db54c9a22a9b66c673df8e836de5e47fc9edda0b)
Signed-off-by: Daniel Lublin <daniel@lublin.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Either both or none of the paths must be passed through
os.path.abspath or things like 'A//B', 'A/./B/', and 'A/B/' in S will
cause unintentional mismatches even when B = "${S}".
Using os.path.abspath for both seems more likely to be correct as that
will also handle the case where ${B} != ${S} but the abspaths are
equal.
(From OE-Core rev: 061f2aab40fecbfe0dcb928baa95d6b3a6b45eed)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
find may be provided by busybox, which might be compiled without support
for -exec.
(From OE-Core rev: 404e8e3661469175e1ea087ebfaf3a7867bf4df2)
Signed-off-by: Daniel Lublin <daniel@lublin.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Way back in OE-Core commit fba198ac7efe476a25c5761878ef2fcee97bf9f1 in
2012 we split committing to the repository, making a commit per
top-level directory. However, as we add more information it becomes
harder to see which commits belong to which build. Switch back to a
single commit per build to keep the history tidier.
To address the original concern, if you do want to see just the changes
for a particular subdirectory, git can filter that for you - just
specify that subdirectory as the last parameter on the git show / git
diff command line and that's all you will see.
(From OE-Core rev: b49a4a47783609fe9161fbc11cc7c7ff3ff4b6bb)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipe name needs to be escaped when using it in a regular expression so
that and special characters are treated literally
(From OE-Core rev: 53c8cceb744adda1bf899d62071d11b20a5dea98)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If ASSUME_PROVIDES contains libsdl-native, we need to add sdl-config
to HOSTTOOLS to allow access to the host sdl-config.
(From OE-Core rev: eeb248c1a017e07e36b6fbaafe45006e3869f41a)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In certain cases, it's valuable to be able to exert more control over what
history is removed, beyond srcrev+depth. As one example, you can remove most
of the upstream kernel history from a kernel repository, keeping predominently
the non-publically-accessible content. If the repository is private, the
history in that repo couldn't be restored via `git fetch --unshallow`, but
upstream history could be.
Example usage:
# Remove only these revs, not at a particular depth
BB_GIT_SHALLOW_DEPTH_pn-linux-foo = "0"
BB_GIT_SHALLOW_REVS_pn-linux-foo = "v4.1"
(Bitbake rev: 97f856f0455d014ea34c28b1c25f09e13cdc851b)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we're building from a shallow mirror tarball, we don't want to do
anything with ud.clonedir, as it's not being used when we unpack. As such,
disable updating annex in that case. Also include annex files in the shallow
tarball.
(Bitbake rev: ca0dd3c95502b22c369fbf37f915f45e02c06887)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we're building from a shallow mirror tarball, we don't want to do
anything with ud.clonedir, as it's not being used when we unpack. As such,
disable updating the submodules in that case. Also include the repositories in
.git/modules in the shallow tarball. It does not actually make the submodule
repositories shallow at this time.
(Bitbake rev: 6c0613f1f2f9d4f009545f82a9173e80396f9d34)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, all unused refs (branches & tags) are removed from the repository,
as shallow processing scales with the number of refs it has to process. Add
the ability to explicitly specify additional refs to keep. This is
particularly useful for recipes with custom checkout processes, or whose
git-based versioning requires a tag be available (i.e. for `git describe
--tags`). The new `BB_GIT_SHALLOW_EXTRA_REFS` variable is a space-separated
list of refs, fully specified, and support wildcards.
Example usages:
BB_GIT_SHALLOW_EXTRA_REFS = "refs/tags/v1.0"
BB_GIT_SHALLOW_EXTRA_REFS += "refs/heads/*"
(Bitbake rev: 1771934cd9f8b5847c6fcae0a906fb99d6b0db16)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the user to explicitly adjust the depth for named urls/branches. The
un-suffixed BB_GIT_SHALLOW_DEPTH is used as the default.
Example usage:
BB_GIT_SHALLOW_DEPTH = "1"
BB_GIT_SHALLOW_DEPTH_doc = "0"
BB_GIT_SHALLOW_DEPTH_meta = "0"
(Bitbake rev: 9dfc517e5bcc6dd203a0ad685cc884676d2984c4)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds support to the git fetcher for fetching, using, and generating
mirror tarballs of shallow git repositories. The external git-make-shallow
script is used for shallow mirror tarball creation.
This implements support for shallow mirror tarballs, not shallow clones.
Supporting shallow clones directly is not really doable for us, as we'd need
to hardcode the depth between branch HEAD and the SRCREV, and that depth would
change as the branch is updated.
When BB_GIT_SHALLOW is enabled, we will always attempt to fetch a shallow
mirror tarball. If the shallow mirror tarball cannot be fetched, it will try
to fetch the full mirror tarball and use that. If a shallow tarball is to be
used, it will be unpacked directly at `do_unpack` time, rather than extracting
it to DL_DIR at `do_fetch` time and cloning from there, to keep things simple.
There's no value in keeping a shallow repository in DL_DIR, and dealing with
the state for when to convert the clonedir to/from shallow is not worthwhile.
To clarify when shallow is used vs a real repository, a current clone is
preferred to either tarball, a shallow tarball is preferred to an out of date
clone, and a missing clone will use either tarball (attempting the shallow one
first).
All referenced branches are truncated to SRCREV (that is, commits *after*
SRCREV but before HEAD are removed) to further shrink the repository. By
default, the shallow construction process removes all unused refs
(branches/tags) from the repository, other than those referenced by the URL.
Example usage:
BB_GIT_SHALLOW ?= "1"
# Keep only the top commit
BB_GIT_SHALLOW_DEPTH ?= "1"
# This defaults to enabled if both BB_GIT_SHALLOW and
# BB_GENERATE_MIRROR_TARBALLS are enabled
BB_GENERATE_SHALLOW_TARBALLS ?= "1"
(Bitbake rev: 5ed7d85fda7c671be10ec24d7981b87a7d0d3366)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This script will be used by the git fetcher to create shallow mirror tarballs.
usage: git-make-shallow [-h] [--ref REF] [--shrink] REVISION [REVISION ...]
Remove the history of the specified revisions, then optionally filter the
available refs to those specified.
positional arguments:
REVISION a git revision/commit
optional arguments:
-h, --help show this help message and exit
--ref REF, -r REF remove all but the specified refs (cumulative)
--shrink, -s shrink the git repository by repacking and pruning
While git does provide the ability to clone at a specific depth, and fetch all
remote refs at a particular depth, the depth is across all branches/tags, and
doesn't provide the flexibility we need, hence this script.
Refs (branches+tags) can be filtered, as the process of history removal scales
up rapidly with the number of refs. Even the existing `git fetch --depth=` is
extremely slow on an upstream kernel repository with all the branches and tags
kept.
This uses the same underlying mechanism to implement the history removal which
git itself uses (.git/shallow), and the results, when configured similarly, are
in line with the results git itself produces with `fetch --depth`.
(Bitbake rev: 0254020f0e1911c0eaf99111b91828d2a74a4ee1)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove ud.mirrortarball in favor of ud.mirrortarballs. Each tarball will be
attempted, in order, and the first available will be used. This is needed for
git shallow mirror tarball support, as we want to be able to use either
a shallow or full mirror tarball.
(Bitbake rev: 02eebee6709e57b523862257f75929e64f16d6b0)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, the xml runner class prints out the docstring for every
unit test but it order to keep the same format as the standard
runner, avoid docstring output setting descriptions to False.
(From OE-Core rev: 05b16219698fbd30ec76697e1b3be6d31e8f8878)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OETestLoader.modules must be an iterable object, otherwise
checking presence of specific modules with the 'in' operator fails
with the following command/error:
% oe-test core
.. - core - INFO - Running bitbake -p
Traceback (most recent call last):
File "..poky2/scripts/oe-test", line 108, in <module>
ret = main()
File "..poky2/scripts/oe-test", line 93, in main
results = args.func(logger, args)
File "..poky2/meta/lib/oeqa/core/context.py", line 235, in run
self.tc.loadTests(self.module_paths, **self.tc_kwargs['load'])
File "..poky2/meta/lib/oeqa/core/context.py", line 53, in loadTests
self.suites = self.loader.discover()
File "..poky2/meta/lib/oeqa/core/loader.py", line 204, in discover
pattern='*.py', top_level_dir=path)
File "/usr/lib64/python3.4/unittest/loader.py", line 275, in discover
tests = list(self._find_tests(start_dir, pattern))
File "/usr/lib64/python3.4/unittest/loader.py", line 339, in _find_tests
yield self.loadTestsFromModule(module)
File "..poky2/meta/lib/oeqa/core/loader.py", line 266, in loadTestsFromModule
and module.__name__ in self.modules \
TypeError: argument of type 'NoneType' is not iterable
(From OE-Core rev: 2bb02cd3d6ec6c2c22ab6b567e2985015655fae6)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OEQA framework has internal methods for provide functionality
in decorators so Test components aren't expected to override it.
Use the base unittest methods for setUp and tearDown.
(From OE-Core rev: 21df9f0f6d6272adc6131cdc113000a5e6ac9d46)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the new filters by <module>.[class].[testname] the modules
arg is expected to be a list so use split into TEST_SUITES variable.
(From OE-Core rev: b588c5c65e55a31d61c86553158eef409cd71086)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will enable only run certain module tests and filter by
class and test name.
(From OE-Core rev: 0f7531803aa6ffef2b7c5be9acee3efe7d2974ef)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A common operation is to list tests, currently only selftest
support it, this changes enables this functionality into the
core framework.
(From OE-Core rev: 7e803f1a855d3091a772b13efd3cc8e9c0c766e9)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add needed tests to validate the OEQA Threaded mode, the remaining
parts are tested by the OEQA without Threaded mode.
- test_loader.py: Add a test to validate rules when creating the
list of test suites.
- test_decorators.py: Add oetimeout test because the threaded mode
uses Timer instead of signal.
[YOCTO #11450]
(From OE-Core rev: fb9d91ca34c1b5d3e0034f5135e71f964fca5b82)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the new OEQA thread support there are problems running
devtool twice at the same time because only one instance of
bitbake/devtool is allowed.
[YOCTO #11450]
(From OE-Core rev: 44254caaef131402629d01f01cdee6722718adba)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In python signals are only allowed to delivery into the main thread,
to support the threading mode test if the runner is threaded and
use threading.Timer instead.
There are some considerations like SIGALRM interrupts the execution
after N seconds but the Timer only starts a Thread to notice the
timeout and the exception will be raised when the test run ends.
[YOCTO #11450]
(From OE-Core rev: 8ab201612e22493dc2509ba339a8f07ade611a54)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The _skipTestDependency needs to know if the thread mode is
enabled because the _results are by thread.
[YOCTO #11450]
(From OE-Core rev: 257d9ef4531052ba8507771b58884c7d2b64143d)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This class sets the {loader,runner}Class to the threaded versions and
overrides loadTests method to be able specify the process_num.
[YOCTO #11450]
(From OE-Core rev: 3ec0d3825aa31219e0ccabc1f158d3a2f8adbda2)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OETestRunnerThreaded overrides the run method of OETestRunner
it recieves a list of suites to be executed by a ThreadPool.
The new run method handles the ThreadPool creation and the
OETestResultThreaded fill.
[YOCTO #11450]
(From OE-Core rev: 48b7a407d692e6c49c41b16f2bd11e8c3f47a421)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OETestResultThreadedInternal extends OETestResult to stores
results by Thread.
The OETestResultThreaded is a simple class that provides the
implementation of interfaces needed by outside like wasSuccesful,
stop, logSummary, logDetails.
[YOCTO #11450]
(From OE-Core rev: 8e71844fc4dd3fcc8a19f9d4c25aafb09c5525fe)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This method is to assign results into the TestContext, create
an internal one to support change implementation in Thread version.
[YOCTO #11450]
(From OE-Core rev: 8a6a9cb816d78e4cf71b79c35b579918d31053f2)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OEStreamLoggerThreaded overrides OEStreamLogger to redirect
the PyUnit output to a logger.
Instead of log every line when comes the OEStreamLoggerThreaded
will buffer the PyUnit output and write everything at end of every
suite execution to don't have mixed suite outputs.
[YOCTO #11450]
(From OE-Core rev: 87d3e5b70c52e5c7439afe4af5aa002522043e81)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The threded module will implement Thread support into the OEQA
framework.
The OETestLoaderThreaded overrides discover to return a list of
suites every suite will be run by a separate Thread.
Some design considerations are:
- All the tests of a certain module needs to be run at one thread
because unittest framework needs to keep track of setUp{Module,
Class,} and tearDown{Module, Class,}.
- Tests that depends on other needs to be run at the same thread
because OEQA framework look at the status of dependant test to
decide if skip or not, this constraint can be change in the future
but a sync mechanishm is needed to implement between the Threads.
[YOCTO #11450]
(From OE-Core rev: b4ae730ee1d6003ff005148f741270e2878de484)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Those methods are used to write in the log the results so
it makes sense to have defined at OETestResult because
is a format of the result itself.
[YOCTO #11450]
(From OE-Core rev: 33a783f59ed4e232f41f8b09dfa7955f2ddc2f80)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I override this method before for keep track of results and forget
to remove it, now isn't need.
(From OE-Core rev: 63606ffaaac1b84ddcad8a1c1006f8110050e20e)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OEStreamLogger class is used for redirect PyUnit output
to a certain logger so there is not need to expose at level
of OETestContext because only OETestRunner needs to know.
[YOCTO #11450]
(From OE-Core rev: 8787fba3df8acd9d2438669d20b1a5060caa9022)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The run() methods of a OETestContext's are expected to return the
results.
(From OE-Core rev: c45546b771c3158e66b2df504576d6dc1758ea75)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This import was at level of OESDKTestContext.register_commands
but OESDKTestContext.run method need it to raise exceptions.
(From OE-Core rev: 35efb419de1dbebd269d87895645934707130746)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No functional changes, just use a consistent set of comments to
separate hard and soft float tuning options.
(From OE-Core rev: 4aa6cdfe9f069ecd976c1257702fe8ff28c57f07)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rename the mirror tarball to align with recipe name
and avoid clash if user have local svn version.
[YOCTO #11501]
(From OE-Core rev: 83a1fcabab5797fcad10bc24e9ddce519a6f1ea2)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds development shell support for out-of-tree kernel modules by reproducing
the build environment of the compile task.
(From OE-Core rev: 08e366a386caab547e0dbcad2d4ee08f44814262)
Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some EGL implementations do not actually ship all Khronos-
extensions. As it turns out, the Mali 450 driver does not
include any of the following symbols, used by the
egl_mesa_platform_surfaceless.c spec test:
* eglGetPlatformDisplay
* eglCreatePlatformPixmapSurface
* eglCreatePlatformWindowSurface
The Right Thing To Do was to obtain the implementation of
these functions (via eglGetProcAddress), as is provided
by their EXT counterparts. These are guaranteed to exist
since they are required by EGL_EXT_platform_base.
Upstream-Status: Submitted [piglit@lists.freedesktop.org]
(From OE-Core rev: 4f85500cfc76407fb4950bbb0df216577aea6bd7)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Piglit Bug #100978] -- https://bugs.freedesktop.org/show_bug.cgi?id=100978
When linking against Mali 450 r6, errors like the following
can be seen:
../../../../lib/libpiglitutil_gl.so.0: undefined reference to `gbm_bo_unmap'
../../../../lib/libpiglitutil_gl.so.0: undefined reference to `gbm_bo_map'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/point-sprite] Error 1
This is due to gbm_bo_map() and gbm_bo_unmap() being recently
added but not yet implemented by all graphics drivers.
Instead of relying on GBM's version, actually try to link
against those symbols.
Upstream-Status: Submitted [piglit@lists.freedesktop.org]
(From OE-Core rev: 2e0c8a510ee60d4ca97e58184c48995cd88a823f)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While building for Hikey using Mali 450 driver (r6p0), an
error like the following appears while linking:
[ 1%] Linking C shared library ../../../../lib/libpiglitutil.so
[...]
[...]/aarch64-linaro-linux/gcc/aarch64-linaro-linux/6.3.1/ld: cannot find -lEGL
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libpiglitutil.so.0] Error 1
Mesa generally provides virtual/egl (along with virtual/libgl,
which satisfies Piglit's current DEPENDS) but that is not the
implementation to use with Mali.
(From OE-Core rev: 02857bd952191e30830af54e21a675522ee3f830)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates in the new version:
37c86e6 : mmc-utils: Check for ext_csd_rev only once
c22a92f : mmc-utils: feature spec 5.0+, Pre EOL information
34a954b : mmc-utils: feature spec 5.0+, device life time estimation for MLC
and pSLC mode
(From OE-Core rev: 0a6f7707bfe0a6cef613e6b413a6d89c2f684a7e)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade to a more recent kmscube commit from git. Tested on DB410c and DB820c
with s/w and h/w codecs (v4l2).
(From OE-Core rev: 71c109f19ff90f300e2c370d263d28bda0965070)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Build without threads for bind is inherited from legacy openembedded.
All libc's support proper threading on Linux now, so enable threads
support for bind.
It is also need to disable static library build which cause package dhcp
fail to build after enable bind threads support.
Options devpoll and epoll are configured to choose most preferable
multiplex method for unix socket. The priorities are: epoll > poll >
select. When set '--enable-epoll', it just defines a var and include
header file that is available for cross compile. So use epoll for bind.
Add PACKAGECONFIG 'urandom' that could use /dev/urandom as random device.
Update file/directory ownerships to fix daemon start failure.
(From OE-Core rev: 598e5da5a2af2bd93ad890687dd32009e348fc85)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When enable bind threads support, it fails to compile dhcp:
| tmp/work/armv5e-poky-linux-gnueabi/bind/9.10.3-P3-r0/build/lib/isc/pthreads/../../../
| ../bind-9.10.3-P3/lib/isc/pthreads/thread.c:64: undefined reference to `pthread_create'
Enable build shared libraries for bind and dhcp to fix the build
failure. And the patch is ported from Fedora.
Add sub-package dhcp-libs to package shared libraries.
(From OE-Core rev: dde83ec778c09557d28b4388258e594be653875c)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Included error output from qemu-system into the runqemu error message.
Made error output more visible by printing new line before it.
[YOCTO #11542]
(From OE-Core rev: 7fe5f5c29ca271ab718bbd1383e596f2ae61554c)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These m4 files need to be deleted so that the versions in the sysroot that we've
patched are used. Specifically, building documentation fails as the gtk-doc
checks fail.
(From OE-Core rev: 4292886ee3b2311902af2b5aaa5f53c5b36c6bee)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some distros might choose another syslogd provider like rsyslogd.
update-alternative will update the link from syslogd to the right
provider. However the syslogd feature is still present and enabled
in busybox.
This commit adds a new configuration fragment to make syslogd
optionnal in busybox.
(From OE-Core rev: 9732a2ba2edf2607e61ae4fe0d65a02b7918cfe7)
Signed-off-by: Romain Perier <romain.perier@collabora.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move config-*/Makefile in libdir from misc package to dev package for
python3, because it is only needed in development process.
(From OE-Core rev: d715dc422ce1723c8d05af7ad4183eeeb36bc2ec)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Porting patch from
<409482251b>
to use _sysconfigdata.py to initialize distutils.sysconfig.
This patch makes that distutils.sysconfig doesn't need config-*/Makefile
in libdir any more. Next we can move it from python3-misc to python3-dev
package.
(From OE-Core rev: 659a80afc5894658f8b82fcd62ebe3562b441db9)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having 'lsof' as a +s (setuid) binary could lead to security issues if
a compromise in the binary is found. It is better that it be -s by
default as a precaution.
(From OE-Core rev: 346c65dd6855106069d1861ca965d3121eb084d1)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As suggested by Khem, we can create a virtualbox configuration
fragment that helps to run XFCE under virtualization.
This can be enabled via KERNEL_FEATURES for targest that
require it, and may be enabled by default in the future.
(From OE-Core rev: a256addb330ec7b781c381894cc72cbd4a5005dd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the kernel meta data with the following configuration change:
When we set NR_CPUS to something > than 8, we also need to set
X86_BIGSMP
according to Kconfig:
config X86_BIGSMP
bool "Support for big SMP systems with more than 8 CPUs"
otherwise NR_CPU will end up being reset to 8
[YOCTO #10362]
(From OE-Core rev: 98278549d960a84605f01fec73aefe5d8792d4bb)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the kernel meta-data to pick up a bluetooth configuration change:
BT_LE is nedded by BT_6LOWPAN
BT_BREDR is needed by:
BT_RFCOMM, BT_RFCOMM_TTY (secondary),
BT_BNEP, BT_BNEP_MC_FILTER (secondary), BNEP_PROTO_FILTER (secondary),
BT_CMTP, BT_HIDP
[YOCTO #10425]
(From OE-Core rev: 0457f08cce73ab8646f8a44e88884371e09f35b4)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gna! project announced that the download site from gna.org HTTP server
will soon be closing down. We have verified that the site is no longer
accessible without network proxy cache. We need to update SRC_URI to
point to new alternative (nwl.cc HTTP server) in order to avoid fetcher
issues in future.
[YOCTO #11575]
(From OE-Core rev: dc8b21ae0ed3bceb9f3df4f6cd8f8f55b9c306fb)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add package libpcap-native required by recipe daq-native in layer
meta-networking. And daq-native is added to fix snort start error.
(From OE-Core rev: 12373003cc3753421321d558813b1de95667c192)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This vulnerability is also called "rpcbomb".
Backport upstream patch to fix this vulnerability.
CVE: CVE-2017-8779
(From OE-Core rev: 7936c9451eb4c376a78a0ac7461d1b2430c7f1f3)
Signed-off-by: Fan Xin<fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
let gettext.bbclass provide the defaults they
are good for it.
What it needs it a dep on gettext-native for intltool-native
which now intltool-native expresses correctly
Helps compile when distros disable NLS
(From OE-Core rev: 0492eb8d781c49e29139d42973832593dd69cae5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When setting USE_NLS="no" and building systemd-boot
(which DEPENDS on intltool), configure fails,
complaining about missing gettext:
configure: error: GNU gettext tools not found; required for intltool
This is caused because USE_NLS="no" makes the gettext class
add gettext-minimal-native to BASEDEPENDS instead of adding
gettext-native.
Since we still would like to set USE_NLS="no" and build systemd-boot,
we add gettext-native as a dependency to intltool-native, which makes it
available for the configure script of systemd-boot fixing the problem.
[YOCTO #11562]
(From OE-Core rev: 26bd53aebf3430f1b9ec459c6c6ab42c57d18319)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The secondary EFI partition is used when booting in EFI mode, and
without the configuration data we don't get any boot targets.
Partial fix to [YOCTO #11503].
(From OE-Core rev: 84aa7a00810e135fdad3f77bdb1da7d1f5fb8627)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These are used with LTO enabled so it has to be
compiler specific, making it weak default, makes
clang to override them when enabled.
(From OE-Core rev: 23cfb8416fb13a32e42ec3860c419ee419e55734)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit d2eccccb70e809d482c493922f23aef4409cfd82 has changed suffixes for
all -crosssdk packages from SDK_ARCH to SDK_SYS, but missed one line with
binutils-crosssdk. This change fixes that omission.
(From OE-Core rev: 553d36ebbee364435e8c985961a7f829528658a4)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
NIS functionality has been split out into independent
library from glibc
(From OE-Core rev: b73de31cbf58efb303006125f8cd22f130e21d8c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* f9f686b7 have posix_spawnattr_setflags check for supported flags
* 77e895dc add no-op POSIX_SPAWN_USEVFORK to spawn.h
* 55550416 s390x: provide sigcontext struct definition
* bb439bb1 implement new posix_spawn flag POSIX_SPAWN_SETSID
* 58e2396a remove va_arg hacks in printf core with undefined behavior
* e1232f5b make ttyname[_r] return ENODEV rather than ENOENT
* 1a7fa5e5 fix regression in support for resolv.conf attempts option
* 8c44a060 fix scalbn when result is in the subnormal range
* 2577b1bc allow full-range file offsets to mmap on archs with 64-bit syscall args
* b3751c32 fix dl_iterate_phdr in static PIE binaries
* 1ca59755 fix read past end of buffer in getaddrinfo backend
(From OE-Core rev: 1aceb2dcf5bd671d90ec0517ed8f6fa817ea64c0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Perf is a tool build from the kernel source, which is normally available
in /work-shared/..., but when devtool is used to modify the kernel
source code, perf is not buildable since it gets an error about being unable
to add a depends to a non-exisit task do_patch.
This patch removes do_patch from the SRCTREECOVEREDTASKS and creates an empty
do_patch task to enable the VarFlags code to have someplace to attach depends
information to.
[YOCT #11120]
(From OE-Core rev: 86c793595e560e7bc52e3cd2a2752746e6adcb76)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a demo application that draws a three-dimensional spinning cube
using EGL on top of KMS, via Mesa's GBM library. A rough counterpart to
glxgears, it is a useful tool for BSP makers to try the 3D rendering
functionality based on EGL and OpenGL ES in a KMS environment, without
having to set up Wayland or X11.
It is also interesting for Yocto-based projects that do not need any
windowing environment and instead render their visual output fullscreen
to KMS directly, since they can use it as a reference.
(From OE-Core rev: 399c0fdbaacf660750f874e5190dd9955ad9bb58)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Re-introduce the patch that was deemed to be not needed
but it infact is still needed with musl
(From OE-Core rev: 3ba88c72e84c8c2a142b990b7547aa221f564d82)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current osselftest print confusing assertion message when using
self.assertTrue(os.path.exists(filepath)) to test file path,
example of confusing assertion message:
AssertionError: False is not true
Add the assertExists and assertNotExists to improve assertion
message and simplify coding, using selft.assertExists(filepath),
will print meaningful assertion message:
AssertionError: <filepath> does not exist
[YOCTO #11356]
(From OE-Core rev: b0a74554ef926ce05078494ca8e67178b56232f5)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By exporting KBUILD_BUILD_USER with a pre-defined value we improve the
reproducibility of the kernel and remove the requirement for whoami in the
HOSTTOOLS.
KBUILD_BUILD_HOST also helps improve the reproducibility of the kernel.
For more kernel reproducibility options see:
https://lwn.net/Articles/437864/
(From OE-Core rev: a5a14edb5573e33667b63b1e34cb4e19d075e8e8)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since recipe-specific sysroots were implemented, devtool add and devtool
upgrade operations that fetch from a URL that requires native sysroot
dependencies will fail to work as there is no recipe-specific sysroot
set up for them during fetching. An example was any URL pointing to a
tarball compressed with xz, e.g. devtool upgrade on gnutls.
The most expedient way to fix this is to set up a dummy recipe-specific
sysroot to use for the fetch/unpack operations. We do this in the same
manner as bitbake -b does, so we're just taking all of the sysroot
components available and creating a sysroot from those rather than
ensuring the correct dependencies are there - this means that we're
still going to have problems if e.g. xz-native hasn't been built yet,
but that issue will be trickier to solve and is tracked separately.
Fixes [YOCTO #11474].
(From OE-Core rev: 559151e783759af78b5cdd76cdbb9ce325a391e6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating lz4 in oe-core required back porting 3d4cf7de48a from master,
as versioning scheme changed.
(From OE-Core rev: ba71820ea16f2ee990dfca98b390d4ff586b7a49)
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Porting the mainline commit, to fix gcc7 builds:
474c90156c [give up on gcc ilog2() constant optimizations]
We also integrate the 4.1.39 -stable update to pick up additional
fixes.
(From OE-Core rev: f0effea8716faae749a7d15003647d68fa0cabf7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If building for nativesdk the wrong rss sysroot is used leading the
following error message.
| ERROR: oe_runmake failed
| In file included from tools/imximage.c:13:0:
| include/image.h:1024:27: fatal error: openssl/evp.h: No such file or directory
| # include <openssl/evp.h>
Tools needed on the build host (script/basic/fixdep) and code compiled
for the SDK machine are both built with the build host's compiler,
leading to additinal errors.
Adding CROSS_COMPILE="${HOST_PREFIX}" and using the cross-compiler for
the SDK_ARCH fixes the build error.
The resulting binary in the SDK is working.
(From OE-Core rev: 5d3df78367be0afbfe001b4fa776a98a82e6ce54)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
build_efi_cfg function creates configuration files for
systemd-boot entries in 'S' directory. This directory
may not exist when api is called, which breaks the build.
Creating the directory if it doesn't exist should fix
this issue.
(From OE-Core rev: 2731d1efba7a03b2c658c8bb57629f5469184599)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11498]
Enhanced the glossary description for the INHERIT variable to give more
detail and to cross-reference the reader back into the Chapter 3
section describing its use.
(Bitbake rev: 362f6044fcaafe51ab4377af8f2606165b112717)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Buildstats from oe-build-perf-test results have been optimized to not
have child rusage values at all. There, rusage is the sum of parent and
child rusage values. This patch makes buildstats-diff compatible with
this format.
[YOCTO #11355]
(From OE-Core rev: 496a9dc179fe9dc370c940f4a2f7bcab869a804f)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For dumping buildstats from the test runs being reported. The output
directory where buildstats are copied is 'oe-build-perf-buildstats/'.
Buildstats can be then further analyzed with buildstats-diff script, for
example.
[YOCTO #11355]
(From OE-Core rev: e06266798d975bd6bebdb6bfdbd3d21be1c44ffd)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We use rev-parse for turning git object names into SHA-1 and checking
their existence. Using --verify option makes sure git-rev-parse does
what we expect.
(From OE-Core rev: f5b420c7f07a008c11d492b055c7cc8869f644d3)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For git repositories in the absence of any other indicator, it's not an
unreasonable assumption that the name of the repository is the name of
the software package it contains, so use that as PN if we don't have
anything else.
(From OE-Core rev: ef73fa70f0955912b0da140922465a3c817424e9)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a value we extract from a spec file contains an unexpanded macro
(e.g. %{macroname}) then we should discard it since we're not seeing the
actual value and we don't have an easy way of expanding it at the
moment.
This fixes for example getting %{name} as the recipe name when running
the following:
recipetool create https://github.com/gavincarr/mod_auth_tkt.git
(From OE-Core rev: eee56a19cda051da6267f808cd3a04a4c644acb3)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Required with glibc 2.26
when x11 is not in distro features it errors
out due to mising CLOCK_REALTIME
error: 'CLOCK_REALTIME' undeclared (first use in this function);
did you mean '_XOPEN_REALTIME'?
if (clock_gettime(CLOCK_REALTIME, &ts) == -1)
^~~~~~~~~~~~~~
_XOPEN_REALTIME
(From OE-Core rev: 389b5f96af68439cc8e135a33f1e41116cb1d1aa)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
--enabled-x11grab option has been removed upstream
(and it was described as 'legacy' in the previous version)
(From OE-Core rev: e7be4005355808173d55bcc9f053f59939cc0048)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous patch used LARGE_BUFFER_MAX_SIZE instead
of SMALL_BUFFER_MAX_SIZE for cmd in function pkg_installLibrary,
which only fixed some of the cases when the command line
is too long, some other cases indicate that the
LARGE_BUFFER_MAX_SIZE is also needed in pkg_installCommonMode
and pkg_installFileMode to avoid overflow:
| *** buffer overflow detected ***: ../bin/pkgdata terminated
(From OE-Core rev: 2c3ec6b3c4e8faf9cf88ae33727b4fecef83d0f8)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.33 -> 1.34
1. Refreshed 0001-Fix-compile-on-musl-with-kernel-4.9-headers.patch
2. Removed upstreamed patch:
0003-stats-Fix-bad-file-descriptor-initialisation.patch
3. Provided PACKAGECONFIGs for nftables and iptables support
4. Add new patch to fix build with nftables:
0001-firewall-nftables-fix-build-with-libnftnl-1.0.7.patch
(From OE-Core rev: dfe40b7abbea36605e4ea8f74ec8e477505148a6)
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>
Rather than presuming `make` is the generator, use cmake's generic
`cmake --build` feature (which knows to call the appropriate generator).
Both DESTDIR and VERBOSE still behave as intended when used as
environment variables instead of make variable-arguments.
As cmake-based builds don't do any configuration with `make`
invocations, we only pass `PARALLEL_MAKE{,INST}` (via a
EXTRA_OECMAKE_BUILD variable) to the underlying build tool. Make &
ninja support the same `-j N` option (and a few others), so this does
happen to work for both.
This makes it more straight forward for others to select other cmake
generators (many folks have been reaching for `ninja` lately).
CC: Andre McCurdy <armccurdy@gmail.com>
(From OE-Core rev: 2b06cb961edbe52ff66e8edccd007edd0795c30b)
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In parallel builds utils/kconfig-tweak may be written to before utils/ exists,
so add a mkdir.
Also mark the pkgconfig patch as Submitted as I sent that upstream at the same
time.
(From OE-Core rev: 59921b3ce23fe0d391558425f7a5ade45cbcbd80)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added possibility to specify extra format-patch options
in the create-pull-request command line:
create-pull-request -u contrib -r master -- -v3
(From OE-Core rev: 19e51f05011e827a34890e0c098f3bfa66559e1a)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rasons:
- It breaks the script if script is used without -t
- Its functionality covered by the next patch
This reverts commit 3ad3fda6c5.
(From OE-Core rev: 9be68e6f058e2ab149e5c6f045479413cf0db69b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed failure of test_unsupported_subcommand caused by
switching to argparser by checking that parser returns
non-zero return code.
[YOCTO #9636]
(From OE-Core rev: 581db38a280bf4cb03faf568cefd8d97383b5417)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE checking in OE didn't work as do_populate_cve_db failed with the following
error message.
[snip]/downloads/CVE_CHECK/nvdcve-2.0-2002.xml is not consistent
Backport a patch to fix this error.
(From OE-Core rev: ee55b5685aaa4be92d6d51f8641a559d4e34ce64)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This resolves a conflict when both python-nose and python3-nose are pulled
into an image and try to install ${bindir}/nosetests binary.
This matches with how other distros are solving this problem, e.g. Debian:
https://packages.debian.org/jessie/all/python3-nose/filelist
Also, other packages like python3-setuptools are already doing the same with
their binaries.
(From OE-Core rev: 1a3247d38939392bfdcb3eff1da7a1e08eff35f9)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following warning occurs when building with meta-zephyr
with MACHINE set to arduino-101-sss:
WARNING: /srv/sdc/builds/11319/meta/recipes-extended/ghostscript/ghostscript_9.20.bb: Unable to get checksum for ghostscript SRC_URI entry objarch.h: file could not be found
This is due to the the TARGET_ARCH = "arc" for meta-zephyr is not
supported by ghostscript and causing bitbake unable to locate the
correct config file during recipe parse.
Adding checker in the recipe to raise an exception if the target
architecture is "arc". This would then only display an error if
someone specifically tries to build the recipe:
ERROR: ghostscript was skipped: incompatible with host arc-yocto-elf (not in COMPATIBLE_HOST)
[YOCTO #11344]
(From OE-Core rev: 720a7230b92d734106d5340a426270dd4e921e8e)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1) Upgrade libpng from 1.6.28 to 1.6.29.
2) License checksum changed,since the copyright date and contributing authors were updated.
(From OE-Core rev: 1a8438601db2e7fd367b6927f6fa4e03cb74854a)
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>
1) Upgrade libpciaccess from 0.13.4 to 0.13.5.
3) Delete three patches, since they are integrated upstream.
0001-Include-config.h-before-anything-else-in-.c.patch
0002-Fix-quoting-issue.patch
0003-linux_sysfs.c-Include-limits.h-for-PATH_MAX.patch
(From OE-Core rev: ef4bc266fb9e27d3335ba81a6a0f8ba19e3eb41f)
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>
Similar to gstreamer _git recipes, this recipe wasn't kept upto date
or tested regularly.
(From OE-Core rev: 9348ab34de2fe2ab04c8b84011809045c632fd87)
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>
Firmware files for the QCA61x4 ROME BT family chips. Firmware shares the
same license as used by ath10k.
(From OE-Core rev: cc5fa321bb8988344f10f4fbc843e23e5d73fe33)
Signed-off-by: Ricardo Salveti <rsalveti@rsalveti.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tools (my issue was with 'perf') only need the libbfd component of
binutils, so we can save space in images by splitting it out.
Previously, instead of `perf` pulling in `libbfd-VERSION.so`, it pulled
in all the libraries and binaries from binutils.
(From OE-Core rev: d57109e44f1a32d0e39d250ad7e71d7d80757d35)
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1) Upgrade libgpg-error from 1.26 to 1.27.
2) One file's LIC_FILES_CHKSUM checksums changed (src/gpg-error.h.in),but LICENSE remains the same.
3) Delete PR assignmen,since the version is upgraded.
(From OE-Core rev: db623a39e05b9d24ad6252dd24bb7610ed6f578a)
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>
Prior versions of python do not support openssl 1.1; updating to
Python 3.6 on the other hand is a lot more involved, and so should
be done by a specialist/maintainer.
LICENSE checksum change due to copyright years.
Drop upstreamed python3-fix-CVE-2016-1000110.patch
Rebase upstream-random-fixes.patch (taken from
ff558f5aba )
Rebase 0001-Do-not-use-the-shell-version-of-python-config-that-w.patch
Rebase 000-cross-compile.patch
(From OE-Core rev: b7b982a29e5d14c558b5fc25b4dc727810510ade)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When uses write it creates a full new configuration in selftest.inc
causing to fail populate_sdk_ext linux-yocto because the signature
of the sstate changes.
[YOCTO #11300]
(From OE-Core rev: 65bab9210be51aeb431ea85c90e31ad9f0d2340c)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
That a utility function permanently changes the process environment is
bad style and leads to subtle, hard to debug problems.
For example, we had one oe-selftest which used runqemu() with an
override for DEPLOY_DIR_IMAGE. Another test then just called runCmd()
and ended up passing the wrong DEPLOY_DIR_IMAGE set earlier in
os.environ.
The approach used here is to pass the desired environment dict to the
launch() method as a new, optional parameter, which then gets passed
on to subproject.Popen(). The modified env variables do not get
logged, as before.
[YOCTO #11443]
(From OE-Core rev: cab20f3b2fe668a63c58b44f2ad797fed74226fe)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When warning users about unpatched CVE, we'd better put CVE IDs into
the warning message, so that it would be more straight forward for the
user to know which CVEs are not patched.
So instead of:
WARNING: gnutls-3.5.9-r0 do_cve_check: Found unpatched CVE, for more information check /path/to/workdir/cve/cve.log.
We should have:
WARNING: gnutls-3.5.9-r0 do_cve_check: Found unpatched CVE (CVE-2017-7869), for more information check /path/to/workdir/cve/cve.log.
(From OE-Core rev: ad46069e7b58f2fba373131716f28407816fa1a6)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid archiving source for glibc-locale as its tasks
do_fetch do_unpack and do_patch have already been deleted.
(From OE-Core rev: 50ed224ebc8d88a900febdc78013fa0c791d71cf)
Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding or removing archiver.bbclass from a build configuration causes
rebuilds of linux-yocto-based kernels because of the
do_kernel_configme->do_unpack_and_patch task dependency.
This particular dependency can be ignored for the do_kernel_configme
sstate signature calculcation. Idea for the fix from Richard Purdie.
Note that building the kernel and adding archiver.bbclass later to
archive sources leads to do_unpack_and_patch running after
do_kernel_configme (because that already ran in the first build),
which might be problematic. This is independent of the change here.
The use case in YOCTO #11441 is to removed archiver.bbclass between a
production build with archiving enabled and builds via oe-selftests
without archiving. That direction is fine.
Fixes: YOCTO #11441
(From OE-Core rev: fed0ed82928e6a7846fbad233ac657bd17bcefc7)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The diff.gz gets created in do_unpack_and_patch, but
do_deploy_archives did not depend on it, so there was a race
condition. For example, "bitbake linux-intel:do_deploy_archives"
without a prior "bitbake linux-intel:do_kernel_configme" did not
deploy the diff.gz.
When do_unpack_and_patch ran first, it failed because the output
directory didn't exist yet and the error was not detected because the
result of the diff command wasn't checked.
Changing the current working directory in create_diff_gz() without
returning to the original directory caused warnings like this:
WARNING: linux-intel-... do_unpack_and_patch: Task do_unpack_and_patch changed cwd to .../tmp-glibc/work-shared/intel-corei7-64
(From OE-Core rev: 18aac553ca35049c80b6cc82ff0e69ce8a7a03a9)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, do_ar_recipe ran again unnecessarily when adding or
removing classes like buildhistory.bbclass, because that changes the
BBINCLUDED variable which do_ar_recipe uses to find .bbappend files.
This is both extra work and also sometimes triggered "basehash
changed" errors (seen under oe-selftest, which adds machine.inc and
bblayers.inc) because BBINCLUDED is special and does not cause
the basehash to be recalculated.
The file *content* already was not considered in the task signature,
instead relying indirectly on PF (which includes the revision assigned
by a PR server) to ensure that a new versioned source archive gets
created each time there is a rebuild.
Therefore it makes sense to use the same mechanism and also ignore the
file *list*, i.e. exclude BBINCLUDED from the task signature.
(From OE-Core rev: 9666f0e0b02efc14226c77497fd38f79fc372f98)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
opkg-utils ends up in any opkg/rpm image with package management as it's the
provider for update-alternatives. If dev-pkgs is enabled then opkg-utils-dev
will get installed, which is empty but will subsequently pull python3-dev into
the image (as opkg-utils-python depends on python3).
As this can result in all of Python appearing in otherwise small images, don't
generate these pointless packages.
(From OE-Core rev: 5da7a0ba47d39612b08b4f71518b8384a3058b3f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The scripts were fixed to be compatible with py3 some time ago,
but the shebang continued to refer to python 2.x.
(From OE-Core rev: bb5718b631151cff840bcfa171ad4f8326c2132e)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg v4.9.22 -> .27 releases with the following shortlog
summary:
89f3b8d5f264 Linux 4.9.27
a0d50c80a29e dm ioctl: prevent stack leak in dm ioctl call
7ad6de43deda cpu/hotplug: Serialize callback invocations proper
e99b0ea39354 ceph: try getting buffer capability for readahead/fadvise
1bf9bc481338 8250_pci: Fix potential use-after-free in error path
3fbd2ba1da3f hwmon: (it87) Avoid registering the same chip on both SIO addresses
d24261e567e1 scsi: storvsc: Workaround for virtual DVD SCSI version
1b7f385e049c tpm_tis: use default timeout value if chip reports it as zero
d8fd99d4721d Handle mismatched open calls
00cca9768ebe timerfd: Protect the might cancel mechanism proper
d071951e08ee Linux 4.9.26
6d10a6cfe85e ftrace/x86: Fix triple fault with graph tracing and suspend-to-ram
9cbf4337a51d ARCv2: save r30 on kernel entry as gcc uses it for code-gen
4684be169a67 net: can: usb: gs_usb: Fix buffer on stack
07389a140f48 macsec: avoid heap overflow in skb_to_sgvec
36e0be3187c2 ceph: fix recursion between ceph_set_acl() and __ceph_setattr()
d7809b9e99bb nfsd: stricter decoding of write-like NFSv2/v3 ops
8ed0797966fd nfsd4: minor NFSv2/v3 write decoding cleanup
fc6445df466f nfsd: check for oversized NFSv2/v3 arguments
b88e4113250d Input: i8042 - add Clevo P650RS to the i8042 reset list
990afef90e08 ASoC: intel: Fix PM and non-atomic crash in bytcr drivers
b2b93bbeec2d p9_client_readdir() fix
92f0ddece7da MIPS: Avoid BUG warning in arch_check_elf
6fbb6c02df30 MIPS: cevt-r4k: Fix out-of-bounds array access
4805f8a8a2f6 MIPS: KGDB: Use kernel context for sleeping threads
563300b9ff7f ARC: [plat-eznps] Fix build error
59f83369d44c ALSA: seq: Don't break snd_use_lock_sync() loop by timeout
26b9b1565baf ALSA: firewire-lib: fix inappropriate assignment between signed/unsigned type
827faa2e4ef7 ALSA: oxfw: fix regression to handle Stanton SCS.1m/1d
b1fc1b057b8e ipv6: check raw payload size correctly in ioctl
1dc1b7b50866 tcp: memset ca_priv data to 0 properly
df1926123f0c ipv6: check skb->protocol before lookup for nexthop
ae6a762dcdf0 net: phy: fix auto-negotiation stall due to unavailable interrupt
62817c314af3 net: ipv6: regenerate host route if moved to gc list
ae88c43c019f macvlan: Fix device ref leak when purging bc_queue
7bf657201c21 net/mlx5e: Fix ETHTOOL_GRXCLSRLALL handling
c3215c31ef5c net/mlx5e: Fix small packet threshold
03641c4ded85 net/mlx5: Fix driver load bad flow when having fw initializing timeout
b2440a5d3e25 ip6mr: fix notification device destruction
291e60458ddf netpoll: Check for skb->queue_mapping
94e5670c933d net: ipv6: RTF_PCPU should not be settable from userspace
7ab89b176b7a gso: Validate assumption of frag_list segementation
fcbf5a71a646 dp83640: don't recieve time stamps twice
e344e97fb359 sh_eth: unmap DMA buffers when freeing rings
b4580d6f10a3 net: vrf: Fix setting NLM_F_EXCL flag when adding l3mdev rule
8c04e2acd537 net-timestamp: avoid use-after-free in ip_recv_error
c86872a43400 ipv6: Fix idev->addr_list corruption
479beb4c6554 tcp: clear saved_syn in tcp_disconnect()
02f04309673e sctp: listen on the sock only when it's state is listening or closed
dbaaa5890df7 net: ipv4: fix multipath RTM_GETROUTE behavior when iif is given
425cc775d18a l2tp: fix PPP pseudo-wire auto-loading
b7902607693f l2tp: take reference on sessions being dumped
1f49c8cd2c9a net/packet: fix overflow in check for tp_reserve
10452124bac3 net/packet: fix overflow in check for tp_frame_nr
3ae0fc950603 l2tp: purge socket queues in the .destruct() callback
59bc404b3829 l2tp: hold tunnel socket when handling control frames in l2tp_ip and l2tp_ip6
501299e64381 net/mlx5: Avoid dereferencing uninitialized pointer
0ea3c235779a bpf: improve verifier packet range checks
d60d4e8c1b73 kcm: return immediately after copy_from_user() failure
c63d6180076b net: phy: handle state correctly in phy_stop_machine
4f99161f2ec5 net: neigh: guard against NULL solicit() method
512d211207df sparc64: Fix kernel panic due to erroneous #ifdef surrounding pmd_write()
24870a79dad6 sparc64: kern_addr_valid regression
e88a8e0a23c2 ping: implement proper locking
7c80a91b8877 Revert "mmc: sdhci-msm: Enable few quirks"
a8c90ef62281 Linux 4.9.25
c36eaa6ca346 device-dax: switch to srcu, fix rcu_read_lock() vs pte allocation
f8bc0881fe95 x86/mce: Make the MCE notifier a blocking one
6966a6579e1b x86/mce/AMD: Give a name to MCA bank 3 when accessed with legacy MSRs
1bd55ab13039 powerpc/kprobe: Fix oops when kprobed on 'stdu' instruction
790b2b5a01ce ubi/upd: Always flush after prepared for an update
87cfeaa5e5a1 mac80211: fix MU-MIMO follow-MAC mode
e0411f1eb549 mac80211: reject ToDS broadcast data frames
b93858556fd1 ubifs: Fix O_TMPFILE corner case in ubifs_link()
a260ff509b4d ubifs: Fix RENAME_WHITEOUT support
9fc131428536 mmc: sdhci-esdhc-imx: increase the pad I/O drive strength for DDR50 card
4420e5f323c4 ACPI / power: Avoid maybe-uninitialized warning
11ba522d7929 Input: elantech - add Fujitsu Lifebook E547 to force crc_enabled
3d42ca46f47a s390/mm: fix CMMA vs KSM vs others
f79ef57911ee CIFS: remove bad_network_name flag
0b7c97066341 cifs: Do not send echoes before Negotiate is complete
c0a602ad31ee mm: prevent NR_ISOLATE_* stats from going negative
d80e90712a50 ring-buffer: Have ring_buffer_iter_empty() return true when empty
d4decac1edaa tracing: Allocate the snapshot buffer before enabling probe
174a74dbca2d KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyrings
b2dd90e812f3 KEYS: Change the name of the dead type to ".dead" to prevent user access
a5c6e0a76817 KEYS: Disallow keyrings beginning with '.' to be joined as session keyrings
2f5e58ec793f Linux 4.9.24
35b9d61ea910 sctp: deny peeloff operation on asocs with threads sleeping on it
c67c2be735b1 net: ipv6: check route protocol when deleting routes
86c6667f6a5f virtio-console: avoid DMA from stack
fb00319317c1 cxusb: Use a dma capable buffer also for reading
28d1e8b7ef81 dvb-usb-firmware: don't do DMA on stack
36b62c08e72b dvb-usb: don't use stack for firmware load
2c0ad235ac77 mm: Tighten x86 /dev/mem with zeroing reads
ef793e6e1134 rtc: tegra: Implement clock handling
0dd962118a20 ACPI / EC: Use busy polling mode when GPE is not enabled
c07479f4b10a x86/xen: Fix APIC id mismatch warning on Intel
03470ba96a96 platform/x86: acer-wmi: setup accelerometer when machine has appropriate notify event
a6ca4946676b ASoC: Intel: select DW_DMAC_CORE since it's mandatory
25640e792f1a nbd: fix 64-bit division
7599166d7855 nbd: use loff_t for blocksize and nbd_set_size args
9c0c43527263 drm/nouveau/disp/mcp7x: disable dptmds workaround
754ae7efb383 mm: memcontrol: use special workqueue for creating per-memcg caches
b1574caf9664 ext4: fix inode checksum calculation problem if i_extra_size is small
1992564156b5 dvb-usb-v2: avoid use-after-free
de75264ee112 ath9k: fix NULL pointer dereference
a28acecbaf25 parisc: Fix get_user() for 64-bit value on 32-bit kernel
c10479591869 crypto: ahash - Fix EINPROGRESS notification callback
64ba06dc8a1d crypto: algif_aead - Fix bogus request dereference in completion function
7da0f8e547c2 ftrace: Fix function pid filter on instances
e3c7258bb4fe zram: do not use copy_page with non-page aligned address
75465e71ec31 kvm: fix page struct leak in handle_vmon
5a4c0738998a Revert "MIPS: Lantiq: Fix cascaded IRQ setup"
a9da1ac37ccf char: lack of bool string made CONFIG_DEVPORT always on
666452ffdbf7 ftrace: Fix removing of second function probe
fdaa36c75c5a irqchip/irq-imx-gpcv2: Fix spinlock initialization
5dda157006bc cpufreq: Bring CPUs up even if cpufreq_online() failed
5f48cacaa72c pwm: rockchip: State of PWM clock should synchronize with PWM enabled state
088e5800500e can: ifi: use correct register to read rx status
5ac50e714f60 libnvdimm: fix reconfig_mutex, mmap_sem, and jbd2_handle lockdep splat
5f377c4ad271 libnvdimm: fix blk free space accounting
0c6172ccbb59 make skb_copy_datagram_msg() et.al. preserve ->msg_iter on error
ff76ab9e03a5 new privimitive: iov_iter_revert()
e485875dff38 xen, fbfront: fix connecting to backend
92f8aa7bb825 target: Avoid mappedlun symlink creation during lun shutdown
08383b004426 scsi: sd: Fix capacity calculation with 32-bit sector_t
64e746983c4c scsi: qla2xxx: Add fix to read correct register value for ISP82xx.
82d181d7540f scsi: sd: Consider max_xfer_blocks if opt_xfer_blocks is unusable
c80c158bfe61 scsi: sr: Sanity check returned mode data
281e36cbaf43 iscsi-target: Drop work-around for legacy GlobalSAN initiator
0ae3c95e3a31 iscsi-target: Fix TMR reference leak during session shutdown
eff58f9084a0 efi/fb: Avoid reconfiguration of BAR that covers the framebuffer
60174fb3eaa6 efi/libstub: Skip GOP with PIXEL_BLT_ONLY format
1681bab7c450 parisc: fix bugs in pa_memcpy
6ef2f0178649 ACPI / scan: Set the visited flag for all enumerated devices
0b914aa8cdc6 acpi, nfit, libnvdimm: fix interleave set cookie calculation (64-bit comparison)
5e29a45f1ef0 x86/vdso: Plug race between mapping and ELF header setup
ec980b6f7dcc x86/vdso: Ensure vdso32_enabled gets set to valid values only
a9826aa4860a x86, pmem: fix broken __copy_user_nocache cache-bypass assumptions
59bf23088953 x86/signals: Fix lower/upper bound reporting in compat siginfo
41d8b02f6448 x86/efi: Don't try to reserve runtime regions
085656dad4b0 perf/x86: Avoid exposing wrong/stale data in intel_pmu_lbr_read_32()
0ea2dcf1f9e6 Input: xpad - add support for Razer Wildcat gamepad
730fecb3401f CIFS: store results of cifs_reopen_file to avoid infinite wait
3d8d2f234476 CIFS: reconnect thread reschedule itself
fd3be7eaff14 drm/etnaviv: fix missing unlock on error in etnaviv_gpu_submit()
e6bcbdc59356 drm/nouveau/mmu/nv4a: use nv04 mmu rather than the nv44 one
b29a17524bc1 drm/nouveau/mpeg: mthd returns true on success now
975a7ea950c6 orangefs: free superblock when mount fails
d19f745ea3a9 zsmalloc: expand class bit
5c9d08320229 thp: fix MADV_DONTNEED vs clear soft dirty race
f584803c4942 thp: fix MADV_DONTNEED vs. MADV_FREE race
5ef6f4dec559 tcmu: Skip Data-Out blocks before gathering Data-In buffer for BIDI case
890aec8eae09 tcmu: Fix wrongly calculating of the base_command_size
ef599fa52429 tcmu: Fix possible overwrite of t_data_sg's last iov[]
f44236a1b05b cgroup, kthread: close race window where new kthreads can be migrated to non-root cgroups
c3582cc56eac Linux 4.9.23
0ade21a2ed74 dma-buf: add support for compat ioctl
27dedde6895c net/mlx4_core: Fix when to save some qp context flags for dynamic VST to VGT transitions
48b2f1dd5787 net/mlx4_core: Fix racy CQ (Completion Queue) free
cee26997a604 net/mlx4_en: Fix bad WQE issue
ec0c5f06dba4 usb: hub: Wait for connection to be reestablished after port reset
d7045cbf4a06 blk-mq: Avoid memory reclaim when remapping queues
16fc98c2479f net/packet: fix overflow in check for priv area size
0ee72d8f9b8e Revert "drm/i915/execlists: Reset RING registers upon resume"
69fbc505c87b crypto: caam - fix invalid dereference in caam_rsa_init_tfm()
75964d0f1914 crypto: caam - fix RNG deinstantiation error checking
91f9f51b1836 MIPS: IRQ Stack: Fix erroneous jal to plat_irq_dispatch
aa05503149b3 MIPS: Select HAVE_IRQ_EXIT_ON_IRQ_STACK
e8fa51d31aee MIPS: Switch to the irq_stack in interrupts
aa6b1dac465e MIPS: Only change $28 to thread_info if coming from user mode
86b54e48c468 MIPS: Stack unwinding while on IRQ stack
742817bb77f9 MIPS: Introduce irq_stack
760327cb080b mtd: bcm47xxpart: fix parsing first block after aligned TRX
31c576a5fe50 rt2x00: Fix incorrect usage of CONFIG_RT2X00_LIB_USB
f0df317b2bb3 rt2x00usb: do not anchor rx and tx urb's
cb794d57931b rt2x00usb: fix anchor initialization
938f8e856064 i2c: bcm2835: Fix hang for writing messages larger than 16 bytes
f7513c9165bf orangefs: fix buffer size mis-match between kernel space and user space.
1b9921866dc5 orangefs: Dan Carpenter influenced cleanups...
dcac0d18e7e1 orangefs: fix memory leak of string 'new' on exit path
17fda94d181c drm/i915: Avoid rcu_barrier() from reclaim paths (shrinker)
82dafcb93b0f drm/i915: Stop using RP_DOWN_EI on Baytrail
954ce087072c drm/i915: Drop support for I915_EXEC_CONSTANTS_* execbuf parameters.
1cbf6296fb35 drm/i915: Only enable hotplug interrupts if the display interrupts are enabled
1435e12e4af9 drm/i915: Avoid tweaking evaluation thresholds on Baytrail v3
988028e55b88 drm/i915: Nuke debug messages from the pipe update critical section
8ac9915c3f86 drm/i915/gen9: Increase PCODE request timeout to 50ms
cf2586e60ede Linux 4.9.22
7eae64f9195c x86/reboot/quirks: Fix typo in ASUS EeeBook X205TA reboot quirk
af11789a0548 usb-storage: Add ignore-residue quirk for Initio INIC-3619
e5525c7419f1 x86/reboot/quirks: Add ASUS EeeBook X205TA/W reboot quirk
0605fff95d33 x86/reboot/quirks: Add ASUS EeeBook X205TA reboot quirk
7c6b1ad9deb5 platform/x86: asus-wmi: Detect quirk_no_rfkill from the DSDT
71f38c11cdb8 platform/x86: asus-wmi: Set specified XUSB2PR value for X550LB
4dc1eb47fbea watchdog: s3c2410: Fix infinite interrupt in soft mode
b18877ff66cf PCI: Add ACS quirk for Qualcomm QDF2400 and QDF2432
5feac34f670c PCI: Sort the list of devices with D3 delay quirk by ID
6b69d1f64499 mmc: sdhci-of-esdhc: remove default broken-cd for ARM
0ddf07d2a130 PCI: Disable MSI for HiSilicon Hip06/Hip07 Root Ports
28dd2313a6e4 PCI: Add Broadcom Northstar2 PAXC quirk for device class and MPSS
35b366d584da ARM: smccc: Update HVC comment to describe new quirk parameter
25bdb190ade0 drm/msm/adreno: move function declarations to header file
bec9918bb4da firmware: qcom: scm: Fix interrupted SCM calls
007f0a2f2c0f arm: kernel: Add SMC structure parameter
703f48a1c302 HID: wacom: don't apply generic settings to old devices
abb640893830 ASoC: sun4i-i2s: Add quirks to handle a31 compatible
3d2f06d8d180 ACPI: save NVS memory for Lenovo G50-45
09f78f116c03 ASoC: Intel: cht_bsw_rt5645: add Baytrail MCLK support
584f4318f923 ASoC: Intel: cht_bsw_rt5645: harden ACPI device detection
4060a32e9d24 ASoC: Intel: Baytrail: add quirk for Lenovo Thinkpad 10
d572cfb66264 ASoC: codecs: rt5670: add quirk for Lenovo Thinkpad 10
58153cca226f ASoC: rt5670: Add missing 10EC5072 ACPI ID
e4ae51e44b89 ACPI / button: Change default behavior to lid_init_state=open
b369fd719fa4 sata: ahci-da850: implement a workaround for the softreset quirk
f36d3f1fe79e PCI: Add ACS quirk for Intel Union Point
a452e4eb6ee2 ARM: dts: STiH407-family: set snps,dis_u3_susphy_quirk
9ec57c921b9d drm/mga: remove device_is_agp callback
ae3a3e209ef1 usb: dwc3: host: pass quirk-broken-port-ped property for known broken revisions
7bdf7bebbbed usb: host: xhci-plat: enable BROKEN_PED quirk if platform requested
15159247d25b usb: xhci: add quirk flag for broken PED bits
660b38eab885 ARM: davinci: PM: support da8xx DT platforms
db7c1706fa6d Input: gpio_keys - add support for GPIO descriptors
80b0d7e623d1 serial: 8250_omap: Add OMAP_DMA_TX_KICK quirk for AM437x
6b8deb108273 usb: chipidea: msm: Rely on core to override AHBBURST
c5fc946a15dc scsi: ufs: issue link starup 2 times if device isn't active
a17bddc4a781 scsi: ufs: introduce a new ufshcd_statea UFSHCD_STATE_EH_SCHEDULED
e94ed347105d ASoC: Intel: bytcr_rt5640: quirks for Insyde devices
0ed0810b8b02 drm/i915: actually drive the BDW reserved IDs
70797929ee36 drm/i915: more .is_mobile cleanups for BDW
0b348464eea0 drm/i915: fix INTEL_BDW_IDS definition
14ec1cf414cf drm/edid: constify edid quirk list
f188ee38d4cb HID: usbhid: Add quirk for Mayflash/Dragonrise DolphinBar.
7fd75759ba07 HID: usbhid: Add quirk for the Futaba TOSD-5711BB VFD
c1e94148f93c ACPI / sysfs: Provide quirk mechanism to prevent GPE flooding
43cfff65c989 nvme: simplify stripe quirk
8d620dff40ba platform/x86: acer-wmi: Only supports AMW0_GUID1 on acer family
2bd6cc1cce47 ALSA: usb-audio: Add native DSD support for TEAC 501/503 DAC
8ae7242fea54 PCI: Expand "VPD access disabled" quirk message
c0aac1bbb5d8 ALSA: usb-audio: add implicit fb quirk for Axe-Fx II
bedc629494cd scsi: ufs: add quirk to increase host PA_SaveConfigTime
5c6b8ad1ab25 PCI: thunder-pem: Factor out resource lookup
5582c1980eac arm64: PCI: Add local struct device pointers
cc49b39f3f2d arm64: PCI: Manage controller-specific data on per-controller basis
625fd9d1af70 x86/intel_idle: Add CPU model 0x4a (Atom Z34xx series)
607ca1dccbbd svcauth_gss: Close connection when dropping an incoming message
3a87bcdebf6e scsi: ufs: ensure that host pa_tactivate is higher than device
d84be51d1c1d mmc: sdhci-msm: Enable few quirks
c6e3c6628dfb HID: multitouch: do not retrieve all reports for all devices
68a83be38135 HID: multitouch: enable the Surface 3 Type Cover to report multitouch data
c5fcc6332ddb HID: sensor-hub: add quirk for Microchip MM7150
39f3c9291d69 HID: sensor-hub add quirk for Microsoft Surface 3
9b41ed79ec78 scsi: ufs: introduce UFSHCD_QUIRK_PRDT_BYTE_GRAN quirk
26cbe162df3d clocksource/drivers/arm_arch_timer: Don't assume clock runs in suspend
d2f1000c3ae3 net/mlx4_core: Use device ID defines
dcc4c6758100 arm64: dts: hisi: fix hip06 sas am-max-trans quirk
b340c9648c2f ASoC: Intel: bytct_rt5640: change default capture settings
d9a97dcdf5c2 usb: dwc3: gadget: delay unmap of bounced requests
ee670af5feed HID: i2c-hid: add a simple quirk to fix device defects
d640c41bced6 HID: usbhid: Add quirks for Mayflash/Dragonrise GameCube and PS3 adapters
e02a5d1d5a05 clk: lpc32xx: add a quirk for PWM and MS clock dividers
666d5f34d897 drm/sun4i: Add compatible string for A31/A31s TCON (timing controller)
6af7e1cae445 drm/sun4i: Add compatible strings for A31/A31s display pipelines
06a2bb472f71 drm/sun4i: tcon: Move SoC specific quirks to a DT matched data structure
7c0361334466 random: use chacha20 for get_random_int/long
cddab768d134 mm/mempolicy.c: fix error handling in set_mempolicy and mbind.
24317cb6b400 Documentation: stable-kernel-rules: fix stable-tag format
be56f92cc0a9 MIPS: c-r4k: Fix Loongson-3's vcache/scache waysize calculation
59b8725f2b1e MIPS: Flush wrong invalid FTLB entry for huge page
186fb3c52e39 MIPS: Add MIPS_CPU_FTLB for Loongson-3A R2
3d5e13d891b0 MIPS: Check TLB before handle_ri_rdhwr() for Loongson-3
c7f6633f7657 MIPS: Lantiq: fix missing xbar kernel panic
1e7deb9da033 MIPS: End spinlocks with .insn
19aa26f5be49 MIPS: ralink: Fix typos in rt3883 pinctrl
9dcb21e63b2e MIPS: Force o32 fp64 support on 32bit MIPS64r6 kernels
7b68273f79e8 s390/uaccess: get_user() should zero on failure (again)
f4938792af38 s390/decompressor: fix initrd corruption caused by bss clear
6a776f6ae3f8 xtensa: make __pa work with uncached KSEG addresses
c1dcea123655 nios2: reserve boot memory for device tree
27d382fb6afe dm raid: fix NULL pointer dereference for raid1 without bitmap
abbf0fd436a9 powerpc/crypto/crc32c-vpmsum: Fix missing preempt_disable()
45c2ed941c08 powerpc: Don't try to fix up misaligned load-with-reservation instructions
fba7546bbe65 powerpc/64: Fix flush_(d|i)cache_range() called from modules
24d945d4791f powerpc/mm: Add missing global TLB invalidate if cxl is active
6fbf84b5da23 powerpc: Disable HFSCR[TM] if TM is not supported
a1db9b2c1b12 metag/usercopy: Add missing fixups
ce154d517ae4 metag/usercopy: Fix src fixup in from user rapf loops
4f3f0dd2a75b metag/usercopy: Set flags before ADDZ
3dc0fe517a9f metag/usercopy: Zero rest of buffer from copy_from_user
4a93ac814ddc metag/usercopy: Add early abort to copy_to_user
49a292dcd86b metag/usercopy: Fix alignment error checking
2bb52b47e7f4 metag/usercopy: Drop unused macros
9afc076d2812 brcmfmac: use local iftype avoiding use-after-free of virtual interface
c0321505df2e mac80211: unconditionally start new netdev queues with iTXQ support
703cebf6e978 ring-buffer: Fix return value check in test_ringbuffer()
f7db18998e9c xfs: Honor FALLOC_FL_KEEP_SIZE when punching ends of files
dc62935ce0fb orangefs: move features validation to fix filesystem hang
c4fe79a44a5d Kbuild: use cc-disable-warning consistently for maybe-uninitialized
e4a62348935e ACPI / gpio: do not fall back to parsing _CRS when we get a deferral
ab83597b9d40 dm verity fec: fix bufio leaks
2ff087642643 dm verity fec: limit error correction recursion
d9fa4351037b ptrace: fix PTRACE_LISTEN race corrupting task->state
e3b08ebe4773 mm/page_alloc.c: fix print order in show_free_areas()
8446cb1adf95 Reset TreeId to zero on SMB2 TREE_CONNECT
57e1e90dda74 cfg80211: check rdev resume callback only for registered wiphy
3715dbf77f3b arm64: mm: unaligned access by user-land should be received as SIGBUS
71b44ef83d2a iio: bmg160: reset chip when probing
ac303c64cdb8 kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd
a1ea31893684 arm/arm64: KVM: Take mmap_sem in kvm_arch_prepare_memory_region
48f2825abc65 arm/arm64: KVM: Take mmap_sem in stage2_unmap_vm
8f8de8d2bf6c staging: android: ashmem: lseek failed due to no FMODE_LSEEK.
d9eedab38395 sysfs: be careful of error returns from ops->show()
4ddd24d54fed drm/vmwgfx: fix integer overflow in vmw_surface_define_ioctl()
28c84df739e3 drm/vmwgfx: Remove getparam error message
b116797b81e5 drm/ttm, drm/vmwgfx: Relax permission checking when opening surfaces
604d2eac67cb drm/vmwgfx: avoid calling vzalloc with a 0 size in vmw_get_cap_3d_ioctl()
73ab72517b61 drm/vmwgfx: NULL pointer dereference in vmw_surface_define_ioctl()
92cc48166e49 drm/vmwgfx: Type-check lookups of fence objects
9c2b46e720d5 ppdev: fix registering same device name
bf5202b58f61 ppdev: check before attaching port
(From OE-Core rev: 4af605ae6f5ca763c65b3dca10b7ffb60f5ffa2e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg v4.4.61 -> 4.4.67 releases with the following
commit summary:
dec1dc2a0ee8 Linux 4.4.67
3b9983bb354e dm ioctl: prevent stack leak in dm ioctl call
da1ce38aaac7 nfsd: stricter decoding of write-like NFSv2/v3 ops
35e13333c217 nfsd4: minor NFSv2/v3 write decoding cleanup
16fb859f9b2b ext4/fscrypto: avoid RCU lookup in d_revalidate
41948f88a521 ext4 crypto: use dget_parent() in ext4_d_revalidate()
2faff9d1dfc5 ext4 crypto: revalidate dentry after adding or removing the key
e2968fb8e798 ext4: require encryption feature for EXT4_IOC_SET_ENCRYPTION_POLICY
fee1f42b961e IB/ehca: fix maybe-uninitialized warnings
56cd2ed3e25a IB/qib: rename BITS_PER_PAGE to RVT_BITS_PER_PAGE
a8d47b4b3cb6 netlink: Allow direct reclaim for fallback allocation
35c9bfa51154 8250_pci: Fix potential use-after-free in error path
6f81dea4037c scsi: cxlflash: Improve EEH recovery time
24d17d7853fa scsi: cxlflash: Fix to avoid EEH and host reset collisions
69a9e016f0cc scsi: cxlflash: Scan host only after the port is ready for I/O
ec2170f98f9a net: tg3: avoid uninitialized variable warning
fd79e4363258 mtd: avoid stack overflow in MTD CFI code
ee6b88767e87 drbd: avoid redefinition of BITS_PER_PAGE
938206b8d798 ALSA: ppc/awacs: shut up maybe-uninitialized warning
a2b3b19acfde ASoC: intel: Fix PM and non-atomic crash in bytcr drivers
6c106b55eb47 Handle mismatched open calls
911bd54922cd timerfd: Protect the might cancel mechanism proper
0c49a2c16ca9 Linux 4.4.66
9c4a4755d9c5 ftrace/x86: Fix triple fault with graph tracing and suspend-to-ram
1aefe328a68d ARCv2: save r30 on kernel entry as gcc uses it for code-gen
82a0d8aabe04 nfsd: check for oversized NFSv2/v3 arguments
2032eebe2384 Input: i8042 - add Clevo P650RS to the i8042 reset list
91ce8d13faeb p9_client_readdir() fix
3bf0809930b8 MIPS: Avoid BUG warning in arch_check_elf
1c26c382c9e7 MIPS: KGDB: Use kernel context for sleeping threads
555f77106f77 ALSA: seq: Don't break snd_use_lock_sync() loop by timeout
8cbaf11c5026 ALSA: firewire-lib: fix inappropriate assignment between signed/unsigned type
5e52fffbb11c ipv6: check raw payload size correctly in ioctl
befb92542439 ipv6: check skb->protocol before lookup for nexthop
114f0c66dab4 macvlan: Fix device ref leak when purging bc_queue
bdeb026dfd9f ip6mr: fix notification device destruction
25c104023372 netpoll: Check for skb->queue_mapping
f6b94906b414 net: ipv6: RTF_PCPU should not be settable from userspace
f6b34b1709ac dp83640: don't recieve time stamps twice
78c4e3d4848d tcp: clear saved_syn in tcp_disconnect()
52e33b4e505d sctp: listen on the sock only when it's state is listening or closed
cc5a5c09d32b net: ipv4: fix multipath RTM_GETROUTE behavior when iif is given
593e185eaade l2tp: fix PPP pseudo-wire auto-loading
f710dbd92b27 l2tp: take reference on sessions being dumped
25adf4e32a89 net/packet: fix overflow in check for tp_reserve
cf71bd41f809 net/packet: fix overflow in check for tp_frame_nr
8625dfcfd338 l2tp: purge socket queues in the .destruct() callback
0e9eeb4676a7 net: phy: handle state correctly in phy_stop_machine
428b3cefab22 net: neigh: guard against NULL solicit() method
592d0e60a2b7 sparc64: Fix kernel panic due to erroneous #ifdef surrounding pmd_write()
80ec183214e8 sparc64: kern_addr_valid regression
c583862e95d2 xen/x86: don't lose event interrupts
5709321fd962 usb: gadget: f_midi: Fixed a bug when buflen was smaller than wMaxPacketSize
3e19487b9bf5 regulator: core: Clear the supply pointer if enabling fails
804605eae410 RDS: Fix the atomicity for congestion map update
b9baa0aa66ce net_sched: close another race condition in tcf_mirred_release()
1d1cb762524f net: cavium: liquidio: Avoid dma_unmap_single on uninitialized ndata
2907c91c9f9a MIPS: Fix crash registers on non-crashing CPUs
49b2fe4b0207 md:raid1: fix a dead loop when read from a WriteMostly disk
28320756e78b ext4: check if in-inode xattr is corrupted in ext4_expand_extra_isize_ea()
99e96ce5e315 drm/amdgpu: fix array out of bounds
10fc325c03d2 crypto: testmgr - fix out of bound read in __test_aead()
40a55e4f9401 clk: sunxi: Add apb0 gates for H3
531be60fc580 ARM: OMAP2+: timer: add probe for clocksources
bd2d6cb00d1a xc2028: unlock on error in xc2028_set_config()
716bcfeb12b8 f2fs: do more integrity verification for superblock
418b99042b87 Linux 4.4.65
416bd4a366f3 perf/core: Fix concurrent sys_perf_event_open() vs. 'move_group' race
b7f47c794bc4 ping: implement proper locking
a7544fdd1626 staging/android/ion : fix a race condition in the ion driver
d23ef85b123d vfio/pci: Fix integer overflows, bitmask check
65d30f7545ff tipc: check minimum bearer MTU
9540baadb61b netfilter: nfnetlink: correctly validate length of batch messages
0d9dac5d7cc3 xc2028: avoid use after free
c50fd34e1089 mnt: Add a per mount namespace limit on the number of mounts
59e0cd110fb9 tipc: fix socket timer deadlock
abc025d1e88a tipc: fix random link resets while adding a second bearer
d39cb4a59729 gfs2: avoid uninitialized variable warning
9a35bc2ae545 hostap: avoid uninitialized variable use in hfa384x_get_rid
58f80ccf09c4 tty: nozomi: avoid a harmless gcc warning
2847736f563d tipc: correct error in node fsm
76ca3053f32c tipc: re-enable compensation for socket receive buffer double counting
3f3155904308 tipc: make dist queue pernet
44b3b7e06887 tipc: make sure IPv6 header fits in skb headroom
12f4e1f54a13 Linux 4.4.64
6862fa9077de tipc: fix crash during node removal
6ddbac9aa800 block: fix del_gendisk() vs blkdev_ioctl crash
d1cc3cdd39e9 x86, pmem: fix broken __copy_user_nocache cache-bypass assumptions
5693f3fb5a66 hv: don't reset hv_context.tsc_page on crash
03e2fb9b5ce8 Drivers: hv: balloon: account for gaps in hot add regions
8e7a6dbc3b71 Drivers: hv: balloon: keep track of where ha_region starts
397488e09bf2 Tools: hv: kvp: ensure kvp device fd is closed on exec
2a60bb635236 kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd
e2587fba9911 x86/mce/AMD: Give a name to MCA bank 3 when accessed with legacy MSRs
6c107bba66dc powerpc/kprobe: Fix oops when kprobed on 'stdu' instruction
38be91ce7ea8 ubi/upd: Always flush after prepared for an update
b812c69019e4 mac80211: reject ToDS broadcast data frames
b74ba9dd91e5 mmc: sdhci-esdhc-imx: increase the pad I/O drive strength for DDR50 card
6986d0d29f3c ACPI / power: Avoid maybe-uninitialized warning
cdede60d6a30 Input: elantech - add Fujitsu Lifebook E547 to force crc_enabled
8d5ed79fb2d7 VSOCK: Detach QP check should filter out non matching QPs.
f803416632b5 Drivers: hv: vmbus: Reduce the delay between retries in vmbus_post_msg()
567dd48c4e71 Drivers: hv: get rid of timeout in vmbus_open()
5ab982a01201 Drivers: hv: don't leak memory in vmbus_establish_gpadl()
702db976b857 s390/mm: fix CMMA vs KSM vs others
859d615b5be1 CIFS: remove bad_network_name flag
f8fe51c86583 cifs: Do not send echoes before Negotiate is complete
a2a67e53f92f ring-buffer: Have ring_buffer_iter_empty() return true when empty
1dfb1c7bd63f tracing: Allocate the snapshot buffer before enabling probe
c9460fbceb2f KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyrings
eb78d9877579 KEYS: Change the name of the dead type to ".dead" to prevent user access
b5737b92560e KEYS: Disallow keyrings beginning with '.' to be joined as session keyrings
81af21fe95ba Linux 4.4.63
d00557976676 MIPS: fix Select HAVE_IRQ_EXIT_ON_IRQ_STACK patch.
e2f5fb9207a6 sctp: deny peeloff operation on asocs with threads sleeping on it
f00f18ebb3b2 net: ipv6: check route protocol when deleting routes
990a142ee0d3 tty/serial: atmel: RS485 half duplex w/DMA: enable RX after TX is done
8dc821b9f67d SUNRPC: fix refcounting problems with auth_gss messages.
403a728d1a35 ibmveth: calculate gso_segs for large packets
65596042c3af catc: Use heap buffer for memory size test
40531b26bade catc: Combine failure cleanup code in catc_probe()
a90604be51de rtl8150: Use heap buffers for all register access
be570e556dee pegasus: Use heap buffers for all register access
eb5267657d85 virtio-console: avoid DMA from stack
6be431f91632 dvb-usb-firmware: don't do DMA on stack
502157457f52 dvb-usb: don't use stack for firmware load
6739cc12f3db mm: Tighten x86 /dev/mem with zeroing reads
ba02781392fa rtc: tegra: Implement clock handling
ccf0904c49b1 platform/x86: acer-wmi: setup accelerometer when machine has appropriate notify event
51f8d95c89b4 ext4: fix inode checksum calculation problem if i_extra_size is small
0cb03b6e7086 dvb-usb-v2: avoid use-after-free
ea6d8d67001a ath9k: fix NULL pointer dereference
2673d1c5122e crypto: ahash - Fix EINPROGRESS notification callback
70e55aaf9f8c powerpc: Disable HFSCR[TM] if TM is not supported
9286385a3452 zram: do not use copy_page with non-page aligned address
c1fc1d2f214e kvm: fix page struct leak in handle_vmon
98c953a0a51f Revert "MIPS: Lantiq: Fix cascaded IRQ setup"
a32c5331b462 char: lack of bool string made CONFIG_DEVPORT always on
0a6aa0d1cf27 char: Drop bogus dependency of DEVPORT on !M68K
7fe57118a7c0 ftrace: Fix removing of second function probe
c51451e43bf1 irqchip/irq-imx-gpcv2: Fix spinlock initialization
66b531d3ff11 libnvdimm: fix reconfig_mutex, mmap_sem, and jbd2_handle lockdep splat
6058cf9929d9 xen, fbfront: fix connecting to backend
b689dfbed8c8 scsi: sd: Fix capacity calculation with 32-bit sector_t
448961955592 scsi: sd: Consider max_xfer_blocks if opt_xfer_blocks is unusable
925adae6664c scsi: sr: Sanity check returned mode data
1e1de2e841e1 iscsi-target: Drop work-around for legacy GlobalSAN initiator
05c5dd75d77c iscsi-target: Fix TMR reference leak during session shutdown
074bcc1302fd acpi, nfit, libnvdimm: fix interleave set cookie calculation (64-bit comparison)
ec3978e10ecc x86/vdso: Plug race between mapping and ELF header setup
f1c5d0163586 x86/vdso: Ensure vdso32_enabled gets set to valid values only
f42be33fe976 perf/x86: Avoid exposing wrong/stale data in intel_pmu_lbr_read_32()
a5e2f803b891 Input: xpad - add support for Razer Wildcat gamepad
f0899d0e1e9e CIFS: store results of cifs_reopen_file to avoid infinite wait
a11ab9dd4b78 drm/nouveau/mmu/nv4a: use nv04 mmu rather than the nv44 one
a737abe4d09a drm/nouveau/mpeg: mthd returns true on success now
ef4c962825c0 thp: fix MADV_DONTNEED vs clear soft dirty race
3144d81a7735 cgroup, kthread: close race window where new kthreads can be migrated to non-root cgroups
a80c068fbf43 Linux 4.4.62
7d170f270a95 ibmveth: set correct gso_size and gso_type
ac0cbfbb1e4b net/mlx4_core: Fix when to save some qp context flags for dynamic VST to VGT transitions
710f793a15de net/mlx4_core: Fix racy CQ (Completion Queue) free
f1e6b1149e49 net/mlx4_en: Fix bad WQE issue
0a007f74b826 usb: hub: Wait for connection to be reestablished after port reset
f4522e36edaa blk-mq: Avoid memory reclaim when remapping queues
d35f8fa0b93e net/packet: fix overflow in check for priv area size
fd8bae310684 crypto: caam - fix RNG deinstantiation error checking
ba7681e4eee6 MIPS: IRQ Stack: Fix erroneous jal to plat_irq_dispatch
f017e58da4ab MIPS: Select HAVE_IRQ_EXIT_ON_IRQ_STACK
b39b26381668 MIPS: Switch to the irq_stack in interrupts
93a82f8dbef8 MIPS: Only change $28 to thread_info if coming from user mode
336365351285 MIPS: Stack unwinding while on IRQ stack
d8b8b5528ea5 MIPS: Introduce irq_stack
5a527d80836e mtd: bcm47xxpart: fix parsing first block after aligned TRX
297f55bcb62a usb: dwc3: gadget: delay unmap of bounced requests
8cfaf0ae1f56 drm/i915: Stop using RP_DOWN_EI on Baytrail
cb0a2cba62d5 drm/i915: Avoid tweaking evaluation thresholds on Baytrail v3
(From OE-Core rev: 34e53af8ed9d27ab010e57bcc08dee6f333da9fd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merging the korg stable releases 4.10.10 -> 4.10.15 with the following
shortlog summary:
b1cff0b2ed20 Linux 4.10.15
de7b7a35c99e dm ioctl: prevent stack leak in dm ioctl call
8dee04de5def hwmon: (it87) Avoid registering the same chip on both SIO addresses
ad66b968a0e5 scsi: storvsc: Workaround for virtual DVD SCSI version
fc08ba650a2b Handle mismatched open calls
43c1696e5e91 timerfd: Protect the might cancel mechanism proper
d08276658dee Linux 4.10.14
3adeab312a65 ftrace/x86: Fix triple fault with graph tracing and suspend-to-ram
13d970940217 cpu/hotplug: Serialize callback invocations proper
bd7c4f5e1d25 net: can: usb: gs_usb: Fix buffer on stack
43a35e671f8f macsec: avoid heap overflow in skb_to_sgvec
e4720b009def ceph: fix recursion between ceph_set_acl() and __ceph_setattr()
43e360377b09 nfsd: stricter decoding of write-like NFSv2/v3 ops
144180dc4736 nfsd4: minor NFSv2/v3 write decoding cleanup
86eb1d0aab0d nfsd: check for oversized NFSv2/v3 arguments
b98d12a15ed1 Input: i8042 - add Clevo P650RS to the i8042 reset list
2f680d46a0b5 ASoC: intel: Fix PM and non-atomic crash in bytcr drivers
bec0749254e7 p9_client_readdir() fix
67355b67b41c MIPS: Avoid BUG warning in arch_check_elf
7cb5877dc20e MIPS: cevt-r4k: Fix out-of-bounds array access
09c953f73ff0 MIPS: KGDB: Use kernel context for sleeping threads
4a71345ea6f8 ARC: [plat-eznps] Fix build error
47dbabb85ef7 scsi: return correct blkprep status code in case scsi_init_io() fails.
dcb730f79d33 ALSA: seq: Don't break snd_use_lock_sync() loop by timeout
7b2b791c65d2 ALSA: firewire-lib: fix inappropriate assignment between signed/unsigned type
a33e886d3f19 ALSA: oxfw: fix regression to handle Stanton SCS.1m/1d
f62c45868079 ipv6: check raw payload size correctly in ioctl
466dfcd1d81a tcp: memset ca_priv data to 0 properly
04630e2ed834 ipv6: check skb->protocol before lookup for nexthop
683f8d60761c net: phy: fix auto-negotiation stall due to unavailable interrupt
f9a8970e9eee net: ipv6: regenerate host route if moved to gc list
e2ae71739253 macvlan: Fix device ref leak when purging bc_queue
b073c2c3d40c tcp: mark skbs with SCM_TIMESTAMPING_OPT_STATS
cdaf15b43bd3 tcp: fix SCM_TIMESTAMPING_OPT_STATS for normal skbs
df4c4820a0b0 net/mlx5e: Fix ETHTOOL_GRXCLSRLALL handling
cce19108367e net/mlx5e: Fix small packet threshold
3faae16bf93e net/mlx5: E-Switch, Correctly deal with inline mode on ConnectX-5
82aa6b2c1f19 net/mlx5: Fix driver load bad flow when having fw initializing timeout
ff247bdf248a ip6mr: fix notification device destruction
9db670f71b6a netpoll: Check for skb->queue_mapping
5e54291edfb9 net: ipv6: RTF_PCPU should not be settable from userspace
ee1f368e99ba gso: Validate assumption of frag_list segementation
03940f08b972 ipv6: fix source routing
c52ac0687247 ipv6: sr: fix double free of skb after handling invalid SRH
3b600a30d126 dp83640: don't recieve time stamps twice
a024074740e7 ipv6: sr: fix out-of-bounds access in SRH validation
7e793ce3b3e1 sh_eth: unmap DMA buffers when freeing rings
c526d0869a3a net: vrf: Fix setting NLM_F_EXCL flag when adding l3mdev rule
9ca5d7e426dd net-timestamp: avoid use-after-free in ip_recv_error
0d8ef98cefae ipv6: Fix idev->addr_list corruption
29dc163a721e tcp: clear saved_syn in tcp_disconnect()
1ebfe5cf3727 sctp: listen on the sock only when it's state is listening or closed
280a7e34a987 net: ipv4: fix multipath RTM_GETROUTE behavior when iif is given
c747d66b6c6f l2tp: fix PPP pseudo-wire auto-loading
2ba7cfd4f6a9 l2tp: take reference on sessions being dumped
0fbdeb789013 openvswitch: Fix ovs_flow_key_update()
f9bd6b937de6 net/packet: fix overflow in check for tp_reserve
57a88382a969 net/packet: fix overflow in check for tp_frame_nr
5894337297ad l2tp: purge socket queues in the .destruct() callback
7d5eb39c0d8c l2tp: hold tunnel socket when handling control frames in l2tp_ip and l2tp_ip6
63ae30d5caa7 net/mlx5: Avoid dereferencing uninitialized pointer
4f45e887a632 bpf: improve verifier packet range checks
443fac9f2618 secure_seq: downgrade to per-host timestamp offsets
a35c14672325 kcm: return immediately after copy_from_user() failure
c79db30fd1b0 net: phy: handle state correctly in phy_stop_machine
693d7da388c2 net: neigh: guard against NULL solicit() method
2ec8024c5672 sparc64: Fix kernel panic due to erroneous #ifdef surrounding pmd_write()
1797e172bf10 sparc64: kern_addr_valid regression
7cf480444103 ping: implement proper locking
b957be36d793 Linux 4.10.13
9254ada03382 device-dax: switch to srcu, fix rcu_read_lock() vs pte allocation
7d1c1be6c8d3 x86/mce/AMD: Give a name to MCA bank 3 when accessed with legacy MSRs
1136723a6cf0 powerpc/kprobe: Fix oops when kprobed on 'stdu' instruction
a6db433483db ubi/upd: Always flush after prepared for an update
a32ff3f07f9b x86/mce: Make the MCE notifier a blocking one
c77e7d37ac50 mac80211: fix MU-MIMO follow-MAC mode
ee9b489925a0 mac80211: reject ToDS broadcast data frames
71a3e3679e30 ubifs: Fix O_TMPFILE corner case in ubifs_link()
c1cadf6af8b7 ubifs: Fix RENAME_WHITEOUT support
2745665258c3 mmc: sdhci-esdhc-imx: increase the pad I/O drive strength for DDR50 card
b478c19f3de4 mmc: dw_mmc: Don't allow Runtime PM for SDIO cards
9b02ecd10cff ACPI / power: Avoid maybe-uninitialized warning
7010e15d1d22 Input: elantech - add Fujitsu Lifebook E547 to force crc_enabled
0cb760dfc75b s390/mm: fix CMMA vs KSM vs others
71766b913996 mmc: dw_mmc: silent verbose log when calling from PM context
9f8296778b61 CIFS: remove bad_network_name flag
5cd77ebf2254 cifs: Do not send echoes before Negotiate is complete
63ad4051e89c mm: prevent NR_ISOLATE_* stats from going negative
64d253367ae0 ring-buffer: Have ring_buffer_iter_empty() return true when empty
eff248618a59 HID: wacom: Treat HID_DG_TOOLSERIALNUMBER as unsigned
838a281c4a17 tracing: Allocate the snapshot buffer before enabling probe
523ae2e9e39a KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyrings
cc4f98410688 KEYS: Change the name of the dead type to ".dead" to prevent user access
4cbbfd6aafe1 KEYS: Disallow keyrings beginning with '.' to be joined as session keyrings
055c0a94117c Linux 4.10.12
e5349c13c7a8 virtio-console: avoid DMA from stack
e0116f4d9a9a cxusb: Use a dma capable buffer also for reading
b1bfb5083bfa mm: Tighten x86 /dev/mem with zeroing reads
2c4d8f20cc29 rtc: tegra: Implement clock handling
a16534a33305 ACPI / EC: Use busy polling mode when GPE is not enabled
8a73a223fb70 x86/xen: Fix APIC id mismatch warning on Intel
e765ef79fdf3 platform/x86: acer-wmi: setup accelerometer when machine has appropriate notify event
35549ee08285 ASoC: Intel: select DW_DMAC_CORE since it's mandatory
765c74b9cc27 dvb-usb-v2: avoid use-after-free
ce5fe5a547d8 parisc: Fix get_user() for 64-bit value on 32-bit kernel
aa7ca04fb26c crypto: lrw - Fix use-after-free on EINPROGRESS
cb0567fc5114 crypto: ahash - Fix EINPROGRESS notification callback
102da3a73f9a crypto: xts - Fix use-after-free on EINPROGRESS
25308983eda6 crypto: algif_aead - Fix bogus request dereference in completion function
a0a1e90f5057 ftrace: Fix function pid filter on instances
58bc856c41fb zram: do not use copy_page with non-page aligned address
9bf69094c2ad Revert "MIPS: Lantiq: Fix cascaded IRQ setup"
1cb293ab0236 char: lack of bool string made CONFIG_DEVPORT always on
ebe4deab5c80 drm/i915/gvt: set the correct default value of CTX STATUS PTR
4bf7df7b3bd7 ftrace: Fix removing of second function probe
9b35ab51a0b4 irqchip/irq-imx-gpcv2: Fix spinlock initialization
b648679070a9 cpufreq: Bring CPUs up even if cpufreq_online() failed
26052e29d6a2 pwm: rockchip: State of PWM clock should synchronize with PWM enabled state
96b121b50683 can: ifi: use correct register to read rx status
5b750d3c56e3 libnvdimm: band aid btt vs clear poison locking
f0f306710e24 libnvdimm: fix reconfig_mutex, mmap_sem, and jbd2_handle lockdep splat
e0d47228949e libnvdimm: fix blk free space accounting
66481ca0750d make skb_copy_datagram_msg() et.al. preserve ->msg_iter on error
a99a9ff2374a new privimitive: iov_iter_revert()
939707c50352 xen, fbfront: fix connecting to backend
22113847cd11 target: Avoid mappedlun symlink creation during lun shutdown
53204334cca0 scsi: sd: Fix capacity calculation with 32-bit sector_t
24c01b369765 scsi: qla2xxx: Add fix to read correct register value for ISP82xx.
8b30ed56fa89 scsi: sd: Consider max_xfer_blocks if opt_xfer_blocks is unusable
01fb9440938a scsi: sr: Sanity check returned mode data
c8270f29214c iscsi-target: Drop work-around for legacy GlobalSAN initiator
510152205d41 iscsi-target: Fix TMR reference leak during session shutdown
c100de410c1e efi/fb: Avoid reconfiguration of BAR that covers the framebuffer
6b8a0080915d efi/libstub: Skip GOP with PIXEL_BLT_ONLY format
ca3e0b6d6b25 parisc: fix bugs in pa_memcpy
87ad80ecdb5c ACPI / scan: Set the visited flag for all enumerated devices
122c16ccc71b acpi, nfit, libnvdimm: fix interleave set cookie calculation (64-bit comparison)
083d30d61a1a x86/vdso: Plug race between mapping and ELF header setup
90dc1120444f x86/vdso: Ensure vdso32_enabled gets set to valid values only
b8cb11e01a7f x86, pmem: fix broken __copy_user_nocache cache-bypass assumptions
1a99658f083d x86/intel_rdt: Fix locking in rdtgroup_schemata_write()
565194a42052 x86/signals: Fix lower/upper bound reporting in compat siginfo
c6be568a2f24 x86/efi: Don't try to reserve runtime regions
4ff9e6c2d86b perf/x86: Avoid exposing wrong/stale data in intel_pmu_lbr_read_32()
535adf24d1a7 perf annotate s390: Fix perf annotate error -95 (4.10 regression)
7869b4078ba9 Input: xpad - add support for Razer Wildcat gamepad
3f17ee38a808 CIFS: store results of cifs_reopen_file to avoid infinite wait
6e9b6937a923 CIFS: reconnect thread reschedule itself
d38b12ab7b05 drm/fb-helper: Allow var->x/yres(_virtual) < fb->width/height again
e97e515b7448 drm/etnaviv: fix missing unlock on error in etnaviv_gpu_submit()
3287a46c7829 drm/nouveau: initial support (display-only) for GP107
2efa4bd3b644 drm/nouveau/kms/nv50: fix double dma_fence_put() when destroying plane state
b6b2448efe64 drm/nouveau/kms/nv50: fix setting of HeadSetRasterVertBlankDmi method
8418bb809e55 drm/nouveau/mmu/nv4a: use nv04 mmu rather than the nv44 one
cc3c096855c6 drm/nouveau/mpeg: mthd returns true on success now
5de87d225e08 orangefs: free superblock when mount fails
5f8cde206712 zsmalloc: expand class bit
5c7de4610825 thp: fix MADV_DONTNEED vs clear soft dirty race
d7847a2203a1 thp: fix MADV_DONTNEED vs. MADV_FREE race
e2083153996d tcmu: Skip Data-Out blocks before gathering Data-In buffer for BIDI case
acbb93eb7447 tcmu: Fix wrongly calculating of the base_command_size
1486f834e887 tcmu: Fix possible overwrite of t_data_sg's last iov[]
e8339b9ddfe6 audit: make sure we don't let the retry queue grow without bounds
668e2d892499 cgroup, kthread: close race window where new kthreads can be migrated to non-root cgroups
4c031101dc08 Linux 4.10.11
2ef9c8dd6ecd dma-buf: add support for compat ioctl
10e13823b0a9 net/packet: fix overflow in check for priv area size
50d60091d294 crypto: caam - fix invalid dereference in caam_rsa_init_tfm()
41889ca0002a crypto: caam - fix RNG deinstantiation error checking
8e94a6f43dff MIPS: IRQ Stack: Fix erroneous jal to plat_irq_dispatch
4a1fe14b16c9 MIPS: Select HAVE_IRQ_EXIT_ON_IRQ_STACK
2c7235dbdd51 MIPS: Switch to the irq_stack in interrupts
b21e28eafd17 MIPS: Only change $28 to thread_info if coming from user mode
ece65a60793c MIPS: Stack unwinding while on IRQ stack
6b720ff376fd MIPS: Introduce irq_stack
612973c55404 rt2x00usb: do not anchor rx and tx urb's
244ff096a321 rt2x00usb: fix anchor initialization
df741f77edfa nfs: flexfiles: fix kernel OOPS if MDS returns unsupported DS type
f536c2058420 orangefs: fix buffer size mis-match between kernel space and user space.
f20e76a469c1 orangefs: Dan Carpenter influenced cleanups...
b01252079ec7 drm/i915: Do .init_clock_gating() earlier to avoid it clobbering watermarks
d5b5a4d3f77f drm/i915: Avoid rcu_barrier() from reclaim paths (shrinker)
de3571619eeb drm/i915: Stop using RP_DOWN_EI on Baytrail
29abfd4ee598 drm/i915: Drop support for I915_EXEC_CONSTANTS_* execbuf parameters.
b364cf79fc37 drm/i915: Only enable hotplug interrupts if the display interrupts are enabled
56613bca0578 drm/i915: Reject HDMI 12bpc if the sink doesn't indicate support
dba29c1139fc drm/i915: Avoid tweaking evaluation thresholds on Baytrail v3
fccb5940cc17 drm/i915: Nuke debug messages from the pipe update critical section
29a9a6a329d1 drm/i915: Store a permanent error in obj->mm.pages
432ae45238b8 drm/i915/gen9: Increase PCODE request timeout to 50ms
b93cb4cc2eab drm/i915: Squelch any ktime/jiffie rounding errors for wait-ioctl
ec417098e18f drm/i915/fbdev: Stop repeating tile configuration on stagnation
4f985d41bc5f drm/i915: Move updating color management to before vblank evasion
a8a20aecc9c1 drm/i915: Fix forcewake active domain tracking
e6925852d5b8 Linux 4.10.10
e6c5fe2374cd x86/reboot/quirks: Fix typo in ASUS EeeBook X205TA reboot quirk
a148ee8f7156 usb-storage: Add ignore-residue quirk for Initio INIC-3619
118b1ef49a33 x86/reboot/quirks: Add ASUS EeeBook X205TA/W reboot quirk
2b0766deb008 x86/reboot/quirks: Add ASUS EeeBook X205TA reboot quirk
3db435d09bc3 platform/x86: asus-wmi: Detect quirk_no_rfkill from the DSDT
d0331c21a1a6 watchdog: s3c2410: Fix infinite interrupt in soft mode
07371cd9ef21 PCI: Add ACS quirk for Qualcomm QDF2400 and QDF2432
e90d491bcf00 PCI: Sort the list of devices with D3 delay quirk by ID
9fd0dee94856 mmc: sdhci-of-esdhc: remove default broken-cd for ARM
8f24ffc2f9a0 PCI: Disable MSI for HiSilicon Hip06/Hip07 Root Ports
f2d9c08fc9b2 PCI: Add Broadcom Northstar2 PAXC quirk for device class and MPSS
0755d2b5fe92 ARM: smccc: Update HVC comment to describe new quirk parameter
7dd05d366148 firmware: qcom: scm: Fix interrupted SCM calls
cc9b9deb6197 arm: kernel: Add SMC structure parameter
2dca786b85e2 HID: wacom: don't apply generic settings to old devices
6ac0617424d4 ASoC: sun4i-i2s: Add quirks to handle a31 compatible
ab0b1f481fa9 ACPI: save NVS memory for Lenovo G50-45
36426b3a31dc ASoC: Intel: cht_bsw_rt5645: add Baytrail MCLK support
bdbe9135ead6 ASoC: Intel: cht_bsw_rt5645: harden ACPI device detection
88f1372e28b2 ASoC: Intel: Baytrail: add quirk for Lenovo Thinkpad 10
770049fddd84 ASoC: codecs: rt5670: add quirk for Lenovo Thinkpad 10
8d5dd97f5556 ACPI / button: Change default behavior to lid_init_state=open
53a898c2dc3b sata: ahci-da850: implement a workaround for the softreset quirk
fcfd2ac4abfb PCI: xgene: Fix double free on init error
c259b9b74ebc PCI: Add ACS quirk for Intel Union Point
8a4b2d4ba49c drm/mga: remove device_is_agp callback
f08ae685954e usb: dwc3: host: pass quirk-broken-port-ped property for known broken revisions
41d6d9750ba3 usb: host: xhci-plat: enable BROKEN_PED quirk if platform requested
9763fee4c38d usb: xhci: add quirk flag for broken PED bits
afdb6b99f54e serial: 8250_omap: Add OMAP_DMA_TX_KICK quirk for AM437x
99b4f57bffe5 usb: chipidea: msm: Rely on core to override AHBBURST
f576c28172a3 ASoC: Intel: bytcr_rt5640: quirks for Insyde devices
24fdd3f90f4c drm/i915: actually drive the BDW reserved IDs
0325b5e1b637 drm/i915: more .is_mobile cleanups for BDW
bb4c89250bcc drm/i915: fix INTEL_BDW_IDS definition
d7f19357fe65 drm/edid: constify edid quirk list
b04940e26f10 kvm: fix page struct leak in handle_vmon
af7291601501 random: use chacha20 for get_random_int/long
d57c764a703b mm/mempolicy.c: fix error handling in set_mempolicy and mbind.
596c2d180a96 Documentation: stable-kernel-rules: fix stable-tag format
813e1ac7259b usb: dwc3: gadget: delay unmap of bounced requests
5e87a005ff57 drm/i915/kvmgt: fix suspicious rcu dereference usage
cccf8321af1c drm/i915/gvt: Fix gvt scheduler interval time
fba7cfc66b25 MIPS: c-r4k: Fix Loongson-3's vcache/scache waysize calculation
42ce8ecfd141 MIPS: Flush wrong invalid FTLB entry for huge page
a854a7975ce0 MIPS: Add MIPS_CPU_FTLB for Loongson-3A R2
5dc665924208 MIPS: Check TLB before handle_ri_rdhwr() for Loongson-3
464d88e8a0ad MIPS: Lantiq: fix missing xbar kernel panic
187b957634f0 MIPS: End spinlocks with .insn
0c4b9fe70343 MIPS: ralink: Fix typos in rt3883 pinctrl
e09e410969ef MIPS: Force o32 fp64 support on 32bit MIPS64r6 kernels
94f3dd6b140a s390/uaccess: get_user() should zero on failure (again)
5d4d57697aa1 s390/decompressor: fix initrd corruption caused by bss clear
a66f5106e710 xtensa: make __pa work with uncached KSEG addresses
36463a76abeb nios2: reserve boot memory for device tree
be9fe9d48988 x86/mce: Don't print MCEs when mcelog is active
fe96b265778a dm raid: fix NULL pointer dereference for raid1 without bitmap
5c67d5410bbb powerpc/crypto/crc32c-vpmsum: Fix missing preempt_disable()
d625e1a1530d powerpc: Don't try to fix up misaligned load-with-reservation instructions
b129e418406b powerpc/64: Fix flush_(d|i)cache_range() called from modules
12502ae4c9a1 powerpc/mm: Add missing global TLB invalidate if cxl is active
2a3134e106d4 powerpc: Disable HFSCR[TM] if TM is not supported
be5569719b5c drm/msm: adreno: fix build error without debugfs
169b36bef88f metag/usercopy: Add missing fixups
191e4c735549 metag/usercopy: Fix src fixup in from user rapf loops
e6ca39ac0c0d metag/usercopy: Set flags before ADDZ
b03dd10e4c58 metag/usercopy: Zero rest of buffer from copy_from_user
60a0b56ea119 metag/usercopy: Add early abort to copy_to_user
e61ffb12b6ac metag/usercopy: Fix alignment error checking
804453ff0993 metag/usercopy: Drop unused macros
6d855e027553 brcmfmac: use local iftype avoiding use-after-free of virtual interface
96499191fe6d mac80211: unconditionally start new netdev queues with iTXQ support
ab23a82a0176 ring-buffer: Fix return value check in test_ringbuffer()
24d108e4dfec xfs: Honor FALLOC_FL_KEEP_SIZE when punching ends of files
1d656a4d8e87 orangefs: move features validation to fix filesystem hang
b92a638e002b jump label: fix passing kbuild_cflags when checking for asm goto support
7b73b72fbf82 Kbuild: use cc-disable-warning consistently for maybe-uninitialized
52b38ad09a6c ACPI / scan: Prefer devices without _HID for _ADR matching
e56bb92202f7 ACPI / gpio: do not fall back to parsing _CRS when we get a deferral
1c9925e63abb dm verity fec: fix bufio leaks
88c358b1f453 dm verity fec: limit error correction recursion
523a19324267 dax: fix radix tree insertion race
8bdc69ccb9f8 ptrace: fix PTRACE_LISTEN race corrupting task->state
0666cf6c9c18 mm/page_alloc.c: fix print order in show_free_areas()
674850494e19 Reset TreeId to zero on SMB2 TREE_CONNECT
c793e3374981 cfg80211: check rdev resume callback only for registered wiphy
b48b63d5f583 arm64: mm: unaligned access by user-land should be received as SIGBUS
3d44ecc1206e iio: bmg160: reset chip when probing
2501a0af1734 iio: st_pressure: initialize lps22hb bootime
a16d8c4e8f77 iio: core: Fix IIO_VAL_FRACTIONAL_LOG2 for negative values
0d50669ca41f kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd
e8c3d6542edb arm/arm64: KVM: Take mmap_sem in kvm_arch_prepare_memory_region
fc29073a15e8 arm/arm64: KVM: Take mmap_sem in stage2_unmap_vm
fb3ce7a85213 staging: android: ashmem: lseek failed due to no FMODE_LSEEK.
38b4b8a0969d sysfs: be careful of error returns from ops->show()
a709613559d6 PCI: thunder-pem: Fix legacy firmware PEM-specific resources
f8709a9ec8ae PCI: thunder-pem: Add legacy firmware support for Cavium ThunderX host controller
44eed6f02491 drm/vmwgfx: fix integer overflow in vmw_surface_define_ioctl()
a2d474ab560c drm/vmwgfx: Remove getparam error message
009eb75f7fb0 drm/ttm, drm/vmwgfx: Relax permission checking when opening surfaces
7a392c9a4563 drm/vmwgfx: avoid calling vzalloc with a 0 size in vmw_get_cap_3d_ioctl()
0570c0cd987f drm/vmwgfx: NULL pointer dereference in vmw_surface_define_ioctl()
3622a033c419 drm/vmwgfx: Type-check lookups of fence objects
(From OE-Core rev: 58063bcdb78c9434b4d36e3a73df977b64d1640f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bitbake now only processes overrides which are lowercase since
this allows variables like SRC_URI not to pollute the cache.
There was a corner case where XXX_append_SomeThing was still being
processed (yet XXX_append_SomeThing_SomeOtherThing would not be).
This patch ensures we're consistent and only process lowercase
_append/_prepend and _remove operators too.
(Bitbake rev: 6eb56624e6d8dc1944e559b4f6584bfe66f566ba)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #9001]
Updated the image-live class description to specifically mention
creating *.iso and *.hddimg images as "live" images. Provided more
explanation about usage through the NOISO and NOHDD variables.
Also, provided a cross-referencing link back to the updated
image-live class from the EFI_PROVIDERS variable.
(From yocto-docs rev: 788061b2911339c8396b798a0ab5635ab5bb89e1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11498]
I enhanced the description of the INHERIT variable's glossary
description to provide more detail. I also included a link into the
section of the BB manual where INHERIT is described.
(From yocto-docs rev: 663cde3cf05ebf564ff3a28cd37b696be2f91ad8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was required only by dnf, which has switched to official gpgme bindings.
pygpgme itself is old and unmaintaned.
(From OE-Core rev: 2e3432f6ff7580726c047637b44fdac89dfa73ee)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop dependency on pygpgme, replace it with gpgme's own bindings.
Add a patch that fixes an upstream regression.
(From OE-Core rev: ee5dcf78f3abfec40e278591ccbd1e475ca6df15)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was previously disabled, as rpm refused to package it into noarch
package, due to the firmware being considered arch-specific. This
check is disabled in rpm now.
The netronome binaries has ELF headers which will trigger an
arch-specific error. INSANE_SKIP variable is used to skip some
package_qa check usage.
(From OE-Core rev: 8b2f6b308019e697c9d3e66969807eb573350d78)
Signed-off-by: Ng Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed for packages like linux-firmware which have a
legitimate reason for it. Oe-core has a separate package_qa
test for this situation, so any accidental inclusions of such
binaries will still be caught.
[YOCTO #11329]
(From OE-Core rev: 6aaff392d703183d19192e2d171e10a92f259c65)
Signed-off-by: Ng Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
'fontforge issue' was actually a non-issue; fontforge is required only
when building ttf fonts from sfd source. We took prebuilt ttf fonts
when using 1.04 version, and can do the same thing with 2.00.1 version,
it's just that the tarball name for prebuilt fonts has slightly changed
and no one noticed somehow.
License has changed from GPLv2 to Open Font License v.1.1
(From OE-Core rev: 9b60def67028df65fa8894c49cf09e601f1670df)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make libxslt-native dependency conditional on api-documentation distro feature,
as vala now defaults to rebuilding the manual (which is slow).
(From OE-Core rev: f7f87b8840f5997f65ddf643f26dde0ed5f6c308)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcr needs xsltproc at build time if GObject Introspection is enabled.
Also, remove the explicit disabling of g-i and gtk-doc on x86-64 targets, this
appears to work now.
(From OE-Core rev: 58922a43f93f89dcf344394d8b1c84d82276b6a5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade speex to 1.2.0. Very small diff between 1.2rc2 and 1.2.0, mostly
compiler warning fixes, tabs vs spaces, trailing whitespaces and one
liners.
(From OE-Core rev: 3e414545d650835e351f2939375c92ac7aca0569)
Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
They have not been ported to Python 3, and they are for
browsing Amazon s3+ and Commodore 64/128 emulator filesystems -
hardly consequential.
(From OE-Core rev: f41a7b81a1957669e80e21e57df27d8cbc5cdbb8)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It hasn't been touched in almost two years; clearly the idea of
providing separate _git.bb recipes is not working.
(From OE-Core rev: d7147f677aaff5dc3f63c1e1138ca86b1ea93e23)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cleanup references to libasound-module since this code has been
completly removed from Bluez.
(From OE-Core rev: 8b433f49c8ea153f75d986e5b9ad89dd3f625cba)
Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New feautures/fixes in this version:
* fixes to BLE
* a new midi plugin
* support for single-mode controllers w/o public address
* most of the experimental tools have been promoted and are now part of
the official tools
* 'experimental' has been renamed to 'testing' (hence the addition of
the 'testing' package config option)
* classic command line tools like hciattach and hciconfig are now enabled
by the "--enable-deprecated" configure option (enabled by default for
backward compatibility).
(From OE-Core rev: dec3620bd13d43575bcfc5d99f40659672d7252b)
Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update libevent to version 2.1.8 and fix test directory creation
License file has been changed due to new MIT license in source code.
(From OE-Core rev: 028f3aaa29e23f0eff044698e7a39ec327450d49)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1) Upgrade libarchive from 3.2.2 to 3.3.1.
2) Fix an unknown-configure-option "--without-lzmadec" when do_configure.
3) Delete three patches, since they are integrated upstream.
0001-archive_write_disk_posix.c-make-_fsobj-functions-mor.patch
0002-Fix-extracting-hardlinks-over-symlinks.patch
non-recursive-extract-and-list.patch
(From OE-Core rev: b5a5ca83670f93879048758d0637ea0f0a3866ac)
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>
It is preferred to use `[ "$FOO" ] || ...` instead of
`[ -z "$FOO" ] && ...` as the latter leaves $? set to 1.
(From OE-Core rev: d76c68505c36dbf383a989f3c2458abc765e2c19)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test case verifies that opkg, dpkg, and rpm all have the same behaviour for
version ordering, specifically the behaviour of ~ which should be sorting
*before* nothing:
1.0 < 2.0~pre < 2.0 < 2.0-fix
(From OE-Core rev: 0bf875ea234bb9ff50d347345782e14d6b7d3ff9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Latest DNF has changed the amount of whitespace it outputs so use matches
instead of hardcoding the exact number of spaces.
(From OE-Core rev: 9ebeb374e49ecedecba8fe16fff3717edbc41994)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Split the configuration values (common and specific) so it is easier to read
what goes into the config file. Also the specific configurations are
set in every loop so these do not append on each iteration.
(From OE-Core rev: 58d43b470ffa9b498234b6845cacfd867218ca03)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using "read-only-rootfs" feature in minimal or special
purpose images (eg mounted images) makes build to fail
because ${IMAGE_ROOTFS}/etc/fstab file does not exist.
(From OE-Core rev: 43714514fb29a40830e6619552980d7f88d77fb7)
Signed-off-by: Panagiotis Tamtamis <panagiotis.tamtamis@unify.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The default dir for do_compile & do_configure is already ${B}, no need
to cd (other than broken appends)
CC: Andre McCurdy <armccurdy@gmail.com>
(From OE-Core rev: c5da7a3637b0eb8ec5b7368c7ac732d802a703f9)
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the LICENSE of every image is hard set to MIT.
This allows this to be overriden in derived images.
(From OE-Core rev: 62454568c12d4fd19bb69b1b679e9c7b6dc95927)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use a weak assignment for ROOTFS_RO_UNNEEDED to let users define their
own list overriding defaults.
(From OE-Core rev: aeec0b2ccdf8566dd07961f8c4c44fcff13b70c8)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When booting QEMU with slirp networking we want to use QEMUs TFTP server
to make the images in deploy accessible to the guest.
(From OE-Core rev: a6bef2fa065f8bb74d0084e44dd0ca47d7859113)
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move get_os_release() from oeqa.utils.metadata to oe.lsb, merging the
code with release_dict_osr() from oe.lsb. This removes some code
duplication and makes get_os_release() more robust.
(From OE-Core rev: 56b883f7765f6bd72e83dec26a5db8c7108c835d)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code in useradd-staticids is generally useful for user addition
functionality but is not reusable in its current form. Refactor the
code into a set of library functions.
(From OE-Core rev: a638ef304b1f1acb4c88f4f90b1ef22526cb8d2f)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If sstate was used to populate the build and one of the universal-4.8
or universal-4.9 mirror urls was used, the sstate checks during eSDK
construction could fail as it would zero out the SSTATE_MIRRORs
variable.
Use the same mirrors variable setting as the eSDK would end up using
to perform the checks to avoid this.
(From OE-Core rev: 6b9e8b780dcd8d5ffba3df35cfe41674413ee26d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We only build one gcc-cross per architecture and having target specific
flags means gcc-cross would rebuild. These flags are really for the
on target case, so they should be set in gcc-target only.
(From OE-Core rev: 851937dde81de2a9ef54c5f19a78fb12fb82afd4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you accidentally create symlinks in the glibc sources directory, it
fails in very hard to understand ways. Whilst most people don't do this,
since I debugged it, specifify the list of plugins we use to avoid
this biting anyone else.
(From OE-Core rev: 38a1d4ae4df8dd21546b7442e5a3bddca32a4734)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code dates from distant times before we had class overrides.
The comments are also rather stale. Rewrite this code using class
overrides which makes it safer, more modern and more easily
understandable.
(From OE-Core rev: fb3b160a6bf20a601d6cecf3f06a2b71c03fa91f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both python-git and python3-git need to be upgraded to latest
upstream
version.
This change was tested using qemux86 with core-image-sato.
(From OE-Core rev: c59fa3bd71b42410bf032846ee8fdb6e6eb1b95c)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to using tarballs as git is unreliable (not responding right now).
LICENSE file is gone; COPYING has an additional line on top with
copyright attribution, the license text that follows has not changed.
(From OE-Core rev: fd55e8a463f42e4012aeedacb2d168f41232bf25)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit apply bug fixes found in both mesa 17.0.2 and mesa 17.0.3
releases.
- Mesa 17.0.4 is a bug fix release which fixes the following bugs
found since the 17.0.3 release:
Bug 99515 - SIGSEGV MAPERR on Android nougat-x86 with mesa 17.0.0rc
Bug 100391 - SachaWillems deferredmultisampling asserts
Bug 100452 - push_constants host memory leak when resetting command buffer
Bug 100582 - [GEN8+] piglit.spec.arb_stencil_texturing.glblitframebuffer
corrupts state.gl_texture* assertions
- Mesa 17.0.3 is a bug fix release which fixes the following bugs
found since the 17.0.2 release:
Bug 96743 - [BYT, HSW, SKL, BXT, KBL] GPU hangs with GfxBench 4.0 CarChase
Bug 99246 - [d3dadapter+radeonsi & bisect] EVE-Online : hang on wormhole sight
Bug 100061 - LODQ instruction generated with invalid dst mask
Bug 100182 - Flickering in The Talos Principle on Sky Lake GT4.
Bug 100201 - Windows scons build with MSVC toolchain and LLVM 4.0 fails
(From OE-Core rev: 70ad501c9c49318dbed7e0c3adfd4fea1a59f7ac)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A vulnerability was found in a way bash expands the $HOSTNAME.
Injecting the hostname with malicious code would cause it to run
each time bash expanded \h in the prompt string.
Porting patch from <https://ftp.gnu.org/gnu/bash/bash-4.3-patches/
bash43-047> to solve CVE-2016-0634
CVE: CVE-2016-0634
(From OE-Core rev: 7dd6aa1a4bf6e9fc8a1998cda6ac5397bb5cd5cb)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1)Upgrade byacc from 20161202 to 20170201.
2)License checksum changed,since the copyright years were updated.
(From OE-Core rev: f859b95c0d3dce36c6d39f5aba414a27f855a18d)
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>
As we only ship one version of coreutils, having this directory be versioned
just complicates upgrades.
(From OE-Core rev: 860e9c7d5653deb31dc0f1b0ea55c8e2a843d2fa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
update SRC_URI: as of 1.7.3, repo changed. same owner
Renamed recipe to reflect PV and added Epoch
Added ptest, tests added v1.7.3
updated LICENSE to be more accurate.
(From OE-Core rev: 962459c55406432537e10ab743cfa325b703e12a)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix build with gcc7
Move all patches to webkit folder
Drop patches that were backports or have been upstreamed
(From OE-Core rev: bfbdd1a2069f199be9ba0909dd512469ff17b65e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport fix for gcc7 warning along the way
Remove --disable-rpath as this configure doesn't support it anymore [RB].
(From OE-Core rev: ccf630e78aad488da7b80f2981037d3d0559cfad)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This uses more modern formatting to handle the lockfiles and control
file cleanup with try/finally, taking advantage of the previous
extra indentation.
(From OE-Core rev: 9cd7c2631b0840a57b9ed6c201bcb4fc80094f71)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This prepares the way to parallelise deb generation and splits the iteration
over packages and the package generation into separate functions. Whitespace
indentation is unchanged deliberately and is fixed in a followup patch. There
should be no functional change.
Some checks on variables are removed as they were pointless when you looked
at the code.
(From OE-Core rev: 5054f66f8fbaaa422f74a4b5d0e61e68de6ffe91)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This prepares the way to parallelise ipk generation and splits the iteration
over packages and the package generation into separate functions. Whitespace
indentation is unchanged deliberately and is fixed in a followup patch. There
should be no functional change.
(From OE-Core rev: f190d8456c7e135164d3073acfb3319e75c9de76)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the limited dependency case we don't use any of the data from
BB_TASKDEPDATA. Restructure the code so this variable doesn't have
to be set. This allows the function to be called from other contexts
without creating artificial constructs. There should be no functional
change, behaviour remains unchanged.
(From OE-Core rev: 71e5243e3ebadb90b45fe418dac3eaa2c1b896bd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous change to relocate HOSTTOOLS wasn't complete as some files,
particularly in gcc stashed build directories were not being correctly
relocated. This patch addresses the issue.
(From OE-Core rev: 21dd36cc12a033b012544c5d15a6f8afd84dabc9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both native and target versions of this file reference mkdir and install
in hosttools paths. Use the version from PATH instead.
(From OE-Core rev: 080197bf3bdf612da8104c2ae7f0b2c8dea32a0b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the file encodes full paths to various host tools in the
HOSTTOOLS directory which is bad in native and target cases. We can
simply use the versions from PATH quite safely in OE.
(From OE-Core rev: be901200d94beaa35e1d05eb502b117b3b523609)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A number of features were disabled in OE due to historic problems
on ARM. In tcf-agent 1.4, they compile cleanly on all architectures
besides mips and libc-musl. These features are required for target
debugging with Eclipse Neon, CDT and TCF plugins - for example used
by Xilinx Vivado SDK 2016.4.
For MIPS and libc-musl, at least re-enable SERVICE_Symbols and
SERVICE_LineNumbers which compile cleanly.
(From OE-Core rev: b07242cfe4544e99daf0a8d2f7062530e366bfae)
Signed-off-by: Gernot Hillier <gernot.hillier@siemens.com>
Signed-off-by: Tim Offermann <tim.offermann@siemens.com>
Acked-by: Eugene Tarassov <eugene.tarassov@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tcf-agent uses "a64", not "aarch64", see agent/Makefile.inc. This fix
allows to re-enable features like SERVICE_Breakpoints and SERVICE_
MemoryMap on arm64.
(From OE-Core rev: 60c9b55d2247ca4a5074804eb42189c31d33fcf8)
Signed-off-by: Gernot Hillier <gernot.hillier@siemens.com>
Acked-by: Eugene Tarassov <eugene.tarassov@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to sed the Makefile (especially the wrong Makefile) when there's
a variable we can pass.
(From OE-Core rev: 43f7652baa0f1973477731ce05786eda2cc81c09)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There may be alternative gnutls recipes outside oe-core which include
gnutls.inc but which don't want BBCLASSEXTEND = "native nativesdk".
(From OE-Core rev: 1160b51fbe5661be83959c0e135e4b4231c94349)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Many new users add "python3" to their image using IMAGE_INSTALL and are then
surprised that they can't import any of the standard library. This is because we
split up the standard library into a number of packages, and python3-core (the
interpreter and essential modules only) RPROVIDES 'python3'.
Solve this by moving the RPROVIDES of 'python3' to python3-modules, so that the
entire Python standard library is installed.
[ YOCTO #11182 ]
(From OE-Core rev: 54a2549802a911cad2475a6aa379315a834419d8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The idea is copied from commit df0b217f3df2c36a32e5c4afaec36a28bfc77bbb:
[ classes/image_vm: allow different filesystems to be used for VM images ]
The same logic should apply to image_live.bbclass, to allow other
filesystems to be used vs just ext4. The default value of ext4 is kept
so there is no functional change unless LIVE_ROOTFS_TYPE is set in the
inherting recipe.
(From OE-Core rev: 270cd793fa2777bf15930ee4873c7b44a22ad005)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This error is seen on the Braswell RVP platform we have been using for
testing. The error is caused by atkbd.c keyboard driver, which is only
for AT and PS/2 keyboards. I tested a PS/2 keyboard with the board,
which worked fine, and the board does not have a separate AT connector,
so this error won't cause any functional issues.
[YOCTO #10110].
(From OE-Core rev: c9f83639242313ca04ec36b49602a8464e10dae8)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The NUC6 has issues bringing up Bluetooth early in the boot sequence. We
see:
[ 4.091790] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 4.097326] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
[ 4.145317] Bluetooth: hci0: Failed to send firmware data (-38)
Followed by this later on:
[ 11.509870] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 11.509988] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
[ 13.090308] Bluetooth: hci0: Waiting for firmware download to complete
[ 13.090829] Bluetooth: hci0: Firmware loaded in 1549114 usecs
[ 13.090987] Bluetooth: hci0: Waiting for device to boot
[ 13.101958] Bluetooth: hci0: Device booted in 10818 usecs
Bluetooth does successfully come up and the firmware is loaded. This
behavior is consistent across all kernels I've tested.
[YOCTO #10628].
(From OE-Core rev: 045ee89342ea8ce16e78fea9f1c73d978d66a337)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The create-patch-request script creates patches as replies to a cover
letter, in the form of an email thread. If further revisions are sent to
the mailing list without referencing to the first revision, these new
revisions are not identified at the mailing list as part of the original
thread, but as a new thread instead.
This change adds the "[-t in_reply_to]" option, where "in_reply_to" is
the original cover letter's Message-Id, so this reference is added
to the new cover letter to ensure the thread continuity.
[YOCTO #11294]
(From OE-Core rev: 8a3879a8ca71db7fb313417d86b3ac7904cb0f0e)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid using LTTng's BUILD_RUNTIME_BUG_ON macro, as it appears to run
into a similar problem as Linux experienced with __builtin_constant_p
and dead code elimination.
(From OE-Core rev: 22af48a50d40d6872adaa4f6b0bf144ef5781c1c)
Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes build with gcc7 in such a way that it keeps working
with older compilers who dont support -Wno-error=format-overflow=
option
(From OE-Core rev: 4b159968d6181155c270e2547706933b9df4d80b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use memset() API instead of __bzero()
Drop the patch removing des_* functions for musl
(From OE-Core rev: 2be873301420ec6ca2c70d899b7c49a7e2b0954d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace a local patch for format warning with the one
that got committed upstream
(From OE-Core rev: 0f3e67a5d9bcd304fef0618f62f48fcf087d30c7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were carrying patches which are no longer
needed when building rpcbind for musl
(From OE-Core rev: 56b3b440fa139c8f132b2b71dc6b8eb0ee974e7a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove recipe-specific-sysroot details from the preinst scripts
generated by useradd.bbclass.
This was added to match the default from bitbake.conf. Unlike the default
case, the dependencies used by useradd mean that a default passwd/group
file is always present. This means we don't need the native sysroot fallback.
Fixes [YOCTO #11460]
(From OE-Core rev: dfc9323c1cd7814989766be5bd1861fbaa739d2d)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The export of PSEUDO in useradd_sysroot() contains references to
${COMPONENTS_DIR}. These need to be handled when restoring
postinst-useradd-${PN} from the sstate cache.
(From OE-Core rev: 097875bc9ab9d60a452b01ac6825775983684d68)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The path to where to install and find the sysroot components is used
in many places. This warrants it to get its own variable.
(From OE-Core rev: 70a84b525470f72339568409daf84845904e4cab)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This scheme has changed due to recipe-specific sysroots making it
obsolete. Removed the entire section.
(From yocto-docs rev: c52a896829212863402e5532dd8fb7fe4c247fca)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The BB_SETSCENE_VERIFY_FUNCTION2 variable no longer exists. I removed
a link to the BB manual to this variable description, which no
longer exists. Also, removed a paragraph in the discussion around
setscene that talked about the variable.
(From yocto-docs rev: 1f8e3d53ee72c369cb1211332e074976737fd76b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should be "gdbserver" when referred to generically.
(From yocto-docs rev: 83b2be50e34b0c07cce1f27b55e595752b80b3ea)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These depend on context. In general, "DNF" is the preferred
terminology unless directly referring to an application or such.
(From yocto-docs rev: 29012a8f8e21b964e1ea6d32841dffa8dae7df9f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed to add cross-links into the glossary for various variables.
(From yocto-docs rev: 45acf78a2f99e8fda91042c2bee30094255e5a10)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Entry added for HOSTTOOLS and HOSTTOOLS_NONFATAL.
(From yocto-docs rev: c766920a13071c1bb46a195ea07be38962d2e12d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paths to host tools that have been copied to ${HOSTTOOLS_DIR} may end
up in the sstate cache. They thus need to be corrected when restoring
from the sstate cache.
(From OE-Core rev: f8671aecf05a286dd2b34b07bb5fbbe0c31e26d0)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The path to where to install and find the tools copied from the host
environment is already used in a couple of places. This warrants it to
get its own variable.
(From OE-Core rev: 8164c466943ffedff399009bf5547dba4f06d6c8)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11411]
To help clear up the importance of the naming convention a user
must follow when creating a nativesdk-myrecipe.bb recipe that
inherits the nativesdk class, I placed a warning note at the end
of the section for the "nativesdk.bbclass" section.
(From yocto-docs rev: e6dc512aaeb0267c2c15c17a599c6950728b4547)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11310]
Added the "iputils-ping" package to the list of essential host
packages.
(From yocto-docs rev: c6478419940405091d59312d22c45e3f32f9c94d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11310]
Added this package to Ubuntu/Debina, Fedora, and OpenSUSE.
(From yocto-docs rev: e010d1abc083ed064c5340146bcac213286d973c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoids parser errors if PACKAGE_ADD_METADATA_DEB is set to an
empty value.
(From OE-Core rev: f0959c0908dfb386d29f13fcd3e57b2b004c6c14)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In deb control files, each line of a long description starts with
a single space. Empty lines are represented by a single space
followed by a single full stop character.
(From OE-Core rev: f66278f471c0bf9421ce2c55a56a144a0f9332bf)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add bash to /etc/shells if busybox is built with bash applet anabled
to fix login via dropbear.
(From OE-Core rev: 86a2db0b2997fd05882ae0119ef45b1ea5411d39)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Audio playback in gtk-play is broken with vaapi because the
visualizations do not work: disable visualizations as workaround.
This should be reverted as soon as [YOCTO #11410] is fixed.
(From OE-Core rev: 1092a8d4bc78a53f60ad0137aeb08b31853db9eb)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After change to the rpm4, the rpm packages in lsbtest, such as:
lsb-setup-4.1.0-1.noarch.rpm
lsb-dist-checker-5.0.0.1-1.x86_64.rpm
......
lsb-cmdchk-5.0.3-1.x86_64.rpm
When install above rpm packages, the error log appears:
package lsb-setup-4.1.0-1.noarch is intended for a different operating system
......
So we should add option "--ignoreos" to the rpm install command in LSB_Test.sh
in ./meta/recipes-extended/lsb/lsbtest directory. In this way we can make sure
the correct installation of those rpm packages.
The YOCTO bug #11224 didn't create logs, this is because the above test rpm
packages didn't install.
[YOCTO #11224]
(From OE-Core rev: db2798d967dbffed834070b52fe778efa18cb4ae)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make it slightly easier to support situations where the default path
needs to be over-ridden more than once.
(From OE-Core rev: 07390e3d45cdf244079a6b91175512ebac789da0)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using bitbake variable syntax (i.e., ${FOO}) for shell variables is
bad practice. First of all it is confusing, but more importantly it
can lead to weird problems if someone actually defines a bitbake
variable with the same name as the shell variable.
Also use lower case for local shell variables.
(From OE-Core rev: ea6befae799f45cf93771442f242cb023dd809d1)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting QB_DRIVE_TYPE=/dev/vd selects virtio without triggering any
warnings. Previously, that was only possible by setting an unknown
value and relying on the fallback to virtio, which caused some
warnings to be printed.
(From OE-Core rev: 5cbf102662dde6f706a19fa133cfd1e7475eb8c1)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sstates are cleaned when ruining test_devtool_virtual_kernel_modify to
have a clean environment but this is affecting eSDK test that are
dependent of those sstates, hence “cleansstate” is replaced for
“clean”.
[YOCTO #11300]
(From OE-Core rev: 182fdb97ed6c11c7b55fdb99773da6f72c9828b3)
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gstreamer-vaapi fails to play files with specific frame sizes
because of buffer allocation issues. Fix is a backport.
Fixes [YOCTO #11311].
(From OE-Core rev: e01eb9b37ba5512d6fd9893c70b1f4d766fab2ac)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test was assuming the format of SRC_URI so broke when SRC_URI was changed.
Fix the test by hardcoding a complete SRC_URI instead of appending and hoping
for the best.
(From OE-Core rev: afe1d3073a435ef6c838cc676748842af4c4af83)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was reported that do_validate_branches was failing with the following
error:
Log data follows:
| DEBUG: Executing shell function do_validate_branches
| HEAD is now at fe0fb8d Merge tag 'v4.10.9' into standard/base
| mkdir: cannot create directory .: File exists
|
| [ERROR] Can't find patch dir at ./patches/standard/base
| usage: kgit s2q
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_validate_branches
This was triggered by the execution of 'kgit-s2q --clean' after forcing
the SRCREV to something other than the tip of the branch. --clean is
being run to remove any sentinel files from previous kernel builds to
ensure that the tree is in a consistent state.
There were two bugs, --clean was being executed and not exiting the
script as it was supposed to. Hence validation for applying patches
was done, and threw the error that eventually makes it to the console.
And the second bug is that since do_validate_branches actually calls
kgit-s2q --clean, the dependency on kern-tools-native needs to be on
that function (versus do_kernel_metadata which runs later).
With the tweaked kern-tool + the dependency fix, we no longer see this
error.
(From OE-Core rev: 4d5890b54cbdac01ee748759578b7b22ed8e61a2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OECORE_NATIVE_SYSROOT may come from environment vars, so don't clear
it, otherwise it broke runqemu-extract-sdk on sdk.
[YOCTO #11409]
(From OE-Core rev: 91faa9132821db4e7010b79943b2cfb804d6f4c5)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tunctl binary is here:
OE @ /OE/openembedded-core # find /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/qemu-helper-native/
/OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/qemu-helper-native/
/OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/qemu-helper-native/sysroot-providers
/OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/qemu-helper-native/sysroot-providers/qemu-helper-native
/OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/qemu-helper-native/usr
/OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/qemu-helper-native/usr/bin
/OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/qemu-helper-native/usr/bin/tunctl
But the script still complains that it cannot find tunctl:
OE @ /OE/openembedded-core # ./scripts/runqemu-gen-tapdevs 1026 1026 4 /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/qemu-helper-native/
Note: Destroying pre-existing tap interface tap0...
TUNSETIFF: Device or resource busy
Creating 4 tap devices for UID: 1026 GID: 1026...
Creating tap0
Error running tunctl: Error: Unable to find tunctl binary in '/OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/qemu-helper-native/', please bitbake qemu-helper-native
The message is actually from runqemu-ifup, which is called from runqemu-gen-tapdevs as:
++ ./scripts/runqemu-ifup 1026 1026 /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/qemu-helper-native/
But runqemu-ifup expects 3rd parameter to be STAGING_BINDIR_NATIVE directly not just SYSROOT dir
STAGING_BINDIR_NATIVE=$3
because tunctl is then used as:
TUNCTL=$STAGING_BINDIR_NATIVE/tunctl
It looks like it got broken by:
commit cc5513bf7a6114e14bb307acb88a44e9cf0aed8a
Author: Ed Bartosh <ed.bartosh@linux.intel.com>
Date: Wed Apr 12 23:40:59 2017 +0300
runqemu: use bindir_native property to run ifup/down scripts
Used self.bindir_native to point out to the native sysroot
when running runqemu-ifup and runqemu-ifdown scripts.
[YOCTO #11266]
[YOCTO #11193]
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Seemingly obvious fix would be to call runqemu-gen-tapdevs with path to STAGING_BINDIR_NATIVE in 4th parameter as well, but that won't work, because runqemu-gen-tapdevs checks for TUNCTL=$SYSROOT/usr/bin/tunctl
OE @ /OE/openembedded-core # ./scripts/runqemu-gen-tapdevs 1026 1026 4 /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/qemu-helper-native/usr/bin/
Error: /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/qemu-helper-native/usr/bin//usr/bin/tunctl is not an executable
I've tested that with this change it can call tunctl:
OE @ /OE/openembedded-core # ./scripts/runqemu-gen-tapdevs 1026 1026 4
/OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/qemu-helper-native/usr/bin
Note: Destroying pre-existing tap interface tap0...
TUNSETIFF: Device or resource busy
Creating 4 tap devices for UID: 1026 GID: 1026...
Creating tap0
Creating tap1
Creating tap2
Creating tap3
Note: For systems running NetworkManager, it's recommended
Note: that the tap devices be set as unmanaged in the
Note: NetworkManager.conf file. Add the following lines to
Note: /etc/NetworkManager/NetworkManager.conf
[keyfile]
unmanaged-devices=interface-name:tap*
but runqemu itself still doesn't work for me:
OE qemux86@ ~/build/oe-core $ runqemu
runqemu - INFO - Running MACHINE=qemux86 bitbake -e...
runqemu - INFO - Running ls -t /OE/build/oe-core/tmp-glibc/deploy/images/qemux86/*.qemuboot.conf...
runqemu - INFO - CONFFILE: /OE/build/oe-core/tmp-glibc/deploy/images/qemux86/core-image-sato-qemux86-20170427174052.qemuboot.conf
runqemu - INFO - Overriding conf file setting of STAGING_DIR_NATIVE to /OE/build/oe-core/tmp-glibc/work/i586-oe-linux/defaultpkgname/1.0-r0/recipe-sysroot-native from Bitbake environment
runqemu - INFO - Continuing with the following parameters:
KERNEL: [tmp-glibc/deploy/images/qemux86/bzImage--4.10.9+git0+ad2e885015_fe0fb8da3d-r0.2-qemux86-20170427085800.bin]
MACHINE: [qemux86]
FSTYPE: [ext4]
ROOTFS: [tmp-glibc/deploy/images/qemux86/core-image-sato-qemux86-20170427174052.rootfs.ext4]
CONFFILE: [/OE/build/oe-core/tmp-glibc/deploy/images/qemux86/core-image-sato-qemux86-20170427174052.qemuboot.conf]
runqemu - INFO - Running /bin/ip link...
runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap0.lock...
runqemu - INFO - Using preconfigured tap device tap0
runqemu - INFO - If this is not intended, touch /tmp/qemu-tap-locks/tap0.skip to make runqemu skip tap0.
runqemu - INFO - Network configuration: 192.168.7.2::192.168.7.1:255.255.255.0
runqemu - INFO - Running ldd tmp-glibc/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin//qemu-system-i386...
runqemu - INFO - Running tmp-glibc/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin//qemu-system-i386 -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -drive file=tmp-glibc/deploy/images/qemux86/core-image-sato-qemux86-20170427174052.rootfs.ext4,if=virtio,format=raw -vga vmware -show-cursor -usb -usbdevice tablet -device virtio-rng-pci -cpu qemu32 -m 256 -serial mon:vc -serial null -kernel tmp-glibc/deploy/images/qemux86/bzImage--4.10.9+git0+ad2e885015_fe0fb8da3d-r0.2-qemux86-20170427085800.bin -append 'root=/dev/vda rw highres=off mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0 vga=0 uvesafb.mode_option=640x480-32 oprofile.timer=1 uvesafb.task_timeout=-1 '
qemu-system-i386: -netdev tap,id=net0,ifname=tap0,script=no,downscript=no: could not configure /dev/net/tun (tap0): Device or resource busy
runqemu - INFO - Releasing lockfile for tap device 'tap0'
Traceback (most recent call last):
File "/OE/build/oe-core/openembedded-core/scripts/runqemu", line 1235, in <module>
ret = main()
File "/OE/build/oe-core/openembedded-core/scripts/runqemu", line 1228, in main
config.start_qemu()
File "/OE/build/oe-core/openembedded-core/scripts/runqemu", line 1139, in start_qemu
raise Exception('Failed to run %s' % cmd)
Exception: Failed to run tmp-glibc/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin//qemu-system-i386 -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -drive file=tmp-glibc/deploy/images/qemux86/core-image-sato-qemux86-20170427174052.rootfs.ext4,if=virtio,format=raw -vga vmware -show-cursor -usb -usbdevice tablet -device virtio-rng-pci -cpu qemu32 -m 256 -serial mon:vc -serial null -kernel tmp-glibc/deploy/images/qemux86/bzImage--4.10.9+git0+ad2e885015_fe0fb8da3d-r0.2-qemux86-20170427085800.bin -append 'root=/dev/vda rw highres=off mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0 vga=0 uvesafb.mode_option=640x480-32 oprofile.timer=1 uvesafb.task_timeout=-1 '
(From OE-Core rev: a31b1434c5f1edbd4e8faca813b4f084297c061d)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit 31dee7946340bf0f1e94e4e714191d3d6ca3bf6a added a new useradd and
groupadd option to specify a clear text password. The parsing logic in the
useradd-staticid class did not understand this new option. If the
meta-skeleton examples were run with the class enabled an error would be
generated, as an example uses the -P option.
Note, the code has a check that we do not attempt to set both a crypt and
clear text password. It is not allowed that these two options are set
at the same time, so we prefer the crypt option if they happen to be.
(From OE-Core rev: a1715970d5c454dd24d04972ffb9cf735b5d1338)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemu-native-helper has an additional task that needs to be run in order
for testimage to work. This task is usually run by default in a full
build but there are use cases where it might be skipped. This commit
adds the dependency explicitly.
Also, this commit adds a try/catch error message to make it clearer what
you need to do if you try to run testimage before you have built or
downloaded the image artifacts.
[YOCTO #11375]
(From OE-Core rev: 6e019537b9eb3af482e474a8cb248fe7312f4b58)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 7933fbbc637 "Security fix Drown via 1.0.2g update" included
a version-script change from Debian that was an ABI change. It did
not include the soname change that Debian did so we have been calling
our ABI 1.0.0 but it really matches what others call 1.0.2.
Bump SONAME to match the ABI. In practice this changes both libcrypto
and libssl sonames from 1.0.0 to 1.0.2.
For background: Upstream does not do sonames so these are set by
distros. In this case the ABI changes based on a build time
configuration! Debian took the ABI changing configuration and bumped
soname but e.g. Ubuntu kept the deprecated API and just made it not
work, keeping soname. So both have same version of openssl but support
different ABI (and expose different SONAME).
Fixes [YOCTO #11396].
Thanks to Alexander Larsson et al for detective work.
(From OE-Core rev: 1b430eef7131876bc735c22d66358379b0516821)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sadly this breaks previous OE releases as it means the source mirror contains a
tarball with the same name but different checksums as was previously available.
This reverts commit 99c6e89db1.
(From OE-Core rev: eb4fee616287ae731f7af52e0fe5fc81f2eea2c0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10995]
I implemented various wording changes based on feedback from the
review. One section title changes so some links in the ref-manual
and the dev-manual needed updating as well.
(From yocto-docs rev: 43a35a311a006d47db50602822e44ab431ca3e43)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the release name lookup into the layer index
from 'morty' to the 'pyro'.
Move the bitbake branch from 1.32 to 1.34.
[YOCTO #11377]
(Bitbake rev: 21d963149b5d97452420230a252101115b708d85)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you have, for example, no value set for a variable VARIABLE and a
then VARIABLE_pn-something = "value" and then you parse something.bb,
you expect getVar('VARIABLE') on the resulting datastore to return
"value", but the code here assumed that if the variable wasn't set
without overrides then we didn't need to return the overridedata and
thus we didn't get the overridden value.
In OE this affected the ability to get RECIPE_MAINTAINER for a recipe
in a script using tinfoil (since this is only set from an inc file with
_pn- overrides for each recipe, and no default is set).
(Bitbake rev: b3d2c9917c5fd8278878328794daa107ddf79b64)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This saves relative paths in the qemuboot.conf file instead of absolute
paths. This is to allow the images and kernels to be relocated and still
have the testimage and runqemu work.
[YOCTO #11375]
(From OE-Core rev: 235243d7be5df57df4767e4710b846e83f0aa9fd)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We pass the TOPDIR to do a search/replace in export2json so that we save
relative paths in the testdata.json file rather than absolute paths.
This is to allow the images and kernels to be relocated yet still allow
testimage to work.
[YOCTO #11375]
(From OE-Core rev: 7f9f1bdd714fbc6b2adc62f64bf0e4fd1d98ce05)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want to be able to save relative paths so that we can relocate the
deploy dir images and kernels, yet still have qemu and testimage work
correctly. This extends export2json with 2 named arguments so a
search/replace operation can be done to remove the leading path.
[YOCTO #11375]
(From OE-Core rev: 4829f1ebd89dc91860cf72fbbdc7b6bb0d5822bc)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The single purpose of "map_kernel_arch" is to set
export ARCH = "some-arch"
The case when "some-arch" is not a valid Linux architecture results in an error.
This makes sense if the TARGET_OS is Linux, but that is not always the case.
kernel-arch is also inherited by toolchain-script, which may be used to build
toolchains for architectures not supported by Linux.
Rather than modifying toolchain-script to provide its own version of "map_arch"
this patch bypasses the error if the TARGET_OS is not linux.
(From OE-Core rev: 0b931e983b1f663d5d7dc65f1db7687334dd3ef2)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
icedtea-native from meta-java needs sha256sum for checksum validation.
Therefore add sha256sum to HOSTTOOLS (as md5sum is already in there).
Without it the icedtea-native build will fail during configuration at
current master.
(From OE-Core rev: d0d3abdf9e2dec57f3849813faa5e7e3d34b83a4)
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The architecture list used by dnf/libsolv was in the wrong order.
As a result, the images were built with wrong and unpredictable
packages.
$ MACHINE=intel-corei7-64 bitbake core-image-sato
$ MACHINE=qemux86-64 bitbake core-image-sato
$ MACHINE=intel-corei7-64 bitbake -ccleansstate core-image-sato
$ MACHINE=intel-corei7-64 bitbake core-image-sato
The first image had 0 core2_64 packages in it, but the last one had
583 core2_64 packages (which were built for the qemu image in
between).
Reverse the arch order in etc/dnf/vars/arch.
Fixes [YOCTO #11384].
(From OE-Core rev: 4a82433de42943f8219beca3286f40b67157172f)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to have a shared sysroot usable within the eSDK after recipe
specific sysroots were implemented, we need to run
bitbake build-sysroots as a separate call. However, unlike the first
call, --quiet wasn't being specified and that somewhat undermined the
earlier effort to clean up the eSDK installation output. Make this
second call quiet as well so that the output is tidier.
(From OE-Core rev: 56b73788edaa0796e53f1a30e9ebdb2ae85b1646)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, in order to figure out variable values when run within the
eSDK, runqemu does not use the standard SDK method nor is it able to run
bitbake (since the eSDK environment isn't initialised like the normal
OE build environment). runqemu really ought to be fixed, but the quick
workaround is to set DEPLOY_DIR_IMAGE in the environment so that runqemu
can find image files.
Fixes [YOCTO #10447].
(From OE-Core rev: 1ef833b6393366a10f4bb65df89725ad65761386)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were specifying a default parameter; the get() function defined here
does not take such a parameter. I appears this code had not been tested.
This fixes runqemu erroring out immediately when used within the eSDK.
(From OE-Core rev: e4548531112c824653ae42b9bcc335a7ca8588e0)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In a multiconfig environment, a tinfoil call such as
tinfoil.parse_recipe("multiconfig:arduino-101-sss:gcc")
can fail with an error such as:
File "/data/master/poky/bitbake/lib/bb/tinfoil.py", line 373, in get_recipe_file
raise bb.providers.NoProvider('Unable to find any recipe file matching "%s"' % pn)
bb.providers.NoProvider: Unable to find any recipe file matching "multiconfig:arduino-101-sss:gcc"
The culprit is findBestProvider, which does not handle multiconfig.
This patch fixes the error and in the case mentioned above the tinfoil call returns:
"multiconfig:arduino-101-sss:/data/master/poky/meta/recipes-devtools/gcc/gcc_6.3.bb"
[YOCTO#11210]
(Bitbake rev: e9c03fbfd7b057b28645affa263cb4aebfa24b04)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If CMAKE_SYSTEM_NAME is defined, CMake assumes we're cross-compiling,
which is not necessarily the case.
(From OE-Core rev: bd082c9be6191e67ea1b1bf10ce5e130a3433ab5)
Signed-off-by: Kyle Russell <bkylerussell@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PackageManager.install_complementary() uses WORKDIR/installed_pkgs.txt as a
temporary file but if two tasks are executing for the same recipe which uses
this file (e.g. bitbake my-image my-image:do_populate_sdk) then it's possible
for the file to be overwritten or deleted.
Instead of using a static filename, use tempfile to generate a unique name and
ensure it is cleaned up when finished.
Also move the glob generation/expansion earlier in the function as if there are
no globs to install, we don't need to generate a package list.
(From OE-Core rev: f5a1013ffa9815f22e13989e2bcb83f966e7ce2c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The name of postinst scripts created by pixbufcache class
contains "useradd" in it. Remove it to avoid confusion.
As suggested by RP.
(From OE-Core rev: 2b939cd143549a3a6fc640c7c512c4ac5c246bff)
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>
This reverts commit 991620f3962a9917fa99abb5582f4b72ebd42a3d.
The commit breaks openssl-native (you can no longer generate keys
because it can't find the configuration file). Also the idea that we
would install configuration files normally but then add the symlinks
pointing to them in a postinstall feels wrong.
Fixes [YOCTO #11296]. The bug contains an alternative fix but I'm
sending a revert as I cannot fully understand the motive of the
original patch. See also discussion in
http://lists.openembedded.org/pipermail/openembedded-core/2017-April/135176.html
(From OE-Core rev: b192daef5d1e7f3501c533b92dc75e2d996afc13)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous patch added a check but incorrectly
change the elif to if, then it always return 0
for cpuid if the machine is not __i386__
getcpu01 1 TFAIL : getcpu01.c:140: getcpu() returned wrong value expected cpuid:7, returned value cpuid: 0
After this fix:
getcpu01 1 TPASS : getcpu() returned proper cpuid:7, node id:0
(From OE-Core rev: ca798705b3b8fa9b2f6467970e9bda9d9433986c)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the user wants to enable the 'glut' PACKAGECONFIG for mesa-demos, freeglut
is required to provide the dependency before the demos can be compiled.
NOTE! this is a cross-layer dependency (freeglut is currently only available
in meta-oe). However 'glut' is not a default PACKAGECONFIG (so this is
allowed).
(From OE-Core rev: cbf1708cf8d9fb8ace5520c9b6fec46c5fc9e9c8)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed race issue:
In file included from acl_copy_entry.c:22:0:
libacl.h:19:21: fatal error: sys/acl.h: No such file or directory
#include <sys/acl.h>
[snip]
compilation terminated.
acl_get_file.c:27:24: fatal error: acl/libacl.h: No such file or directory
#include <acl/libacl.h>
^
The acl.h is in "include" directory, and include/Makefile creates
symlink "sys" and "acl" poinst to current dirctory:
$ ls include/ -l
acl -> .
sys -> .
So if "libacl" target runs before "include", the error would happen
since no "acl" or "sys" directory.
Let libacl depend on include can fix the problem.
[YOCTO #11349]
(From OE-Core rev: 73d3d81fcdb92dd85c6ad1609e3a6eb20f1ea539)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11310]
After a bit of deliberation.. it was decided that
"python3-expect" is not needed in the Debian, Fedora,
and OpenSUSE distros as an essential package. They are
gone.
(From yocto-docs rev: 07fcb23a03122e5f4f9bb2a32e585d9cba7d5d93)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes covered several areas. Version 2.3 of the YP now supports
recipe-specific sysroots and is not limited to machine-specific
as was prior releases. Manual changes were as follows:
dev-manual: "Sharing Files Between Recipes" - Wordings were changed
to support the new functionality.
ref-manual: do_prepare_recipe_sysroot task added to the list of
tasks described in "Configuration and Compilation".
ref-manual: Extensive re-write of the "staging.bbclass" section.
ref-manual: Added a section to the build structure for
build/tmp/work/tunearch/recipename/version/. This section breaks
down the recipe-specific subdirectories used to create (stage)
the sysroot.
ref-manual: New section (entry) for the do_prepare_recipe_sysroot
task in the task chapter.
ref-manual: Added a variable glossary description for the
SSTATE_SCAN_FILES variable.
In addition to these changes, I sprinkled in a liberal amount
of cross-referencing for the readers pleasure.
(From yocto-docs rev: 3a8ca96861f4c5d3badb91d0cdc5a3df513d4e59)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ bitbake bmap-tools-native -ccleansstate && bitbake bmap-tools-native && oe-run-native bmap-tools-native bmaptool --help
[snip]
Error: Unable to find '' in <PATH>
[snip]
Note the blank '' word, it was because "tools" was overrided, now fix it.
And also check whether the recipe is a native one or not.
(From OE-Core rev: ba2884f6ad3a4e746fc80cbd707f83fa8abd4210)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport fixes from pseudo master for an acl issue and more importantly, a segfault
issue with bash which can be triggered by the recent useradd changes.
(From OE-Core rev: 949214761998a93fc6b8b009f1cdad0db3bfa5db)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.4, 4,9 and 4.10.
(From meta-yocto rev: d45f5894d8f73425b47e3cacbe07d0d5cf36dcd2)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this, eSDK builds are failing due to qemu-helper-native's dependency on this
task. It makes sense to allow this to execute in eSDK contexts (its a non-sstate task
intentionally).
(From OE-Core rev: 3e8ade8c0772c4492efd93824f78cb043281d235)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we update the SRCREV to latest, we will encouter the following
bitbake error.
Build error message:
| Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
| error: Arch dependent binaries in noarch package
|
|
| RPM build errors:
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0081-0001_1x40.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0099-0001_2x25.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0097-0001_8x10.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0081-0001_4x10.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0097-0001_4x10_1x40.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0099-0001_2x10.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0097-0001_2x40.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0096-0001_2x10.nffw
| Deprecated external dependency generator is used!
| Arch dependent binaries in noarch package
| WARNING: exit code 1 from a shell command.
This is due to netronome firmware is not included in noarch package.
Hence we removed the netronome firmware before it is packaged,
until the rpm issue is resolved.
(From OE-Core rev: cdfa43191f84dc3b1a592ce2e813509f6820184d)
Signed-off-by: Chang, Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
linux-firmwara-carl9170 was set to a wrong license string.
Carl9170 firmware is bounded by GPLv2 via code inspection on
linux firmware source tree. Hence we include GPLv2 in LICENSE
field and set carl9170 firmware to the correct license.
[YOCTO #11090]
(From OE-Core rev: a062b2aa51e28aa14e75435d8a618859499e1bd5)
Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-change in amdgpu firmware copyright year
-change in radeon firmware copyright year
-LICENCE.mwl8335 was removed in linux-firmware source tree
-specify the copyright year for siano
-change in qla2xxx firmware copyright year
(From OE-Core rev: d80b3bcfefc811ed159c1d860a1e333aa9b4db73)
Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The busybox _git recipe is not formally tested or kept up to date.
The gstreamer _git recipes were recently removed from oe-core and the
justifications for that change apply to the busybox _git recipe too.
(From OE-Core rev: 139c97fa7f71a554ce85900ac33054a216db62e9)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nativesdk builds now control the DISTRO_FEATURES (oe-core 731744) so this
workaround is no longer required.
This reverts commit 415b72ffcb.
(From OE-Core rev: 4f1f05295f12f619c87fb53e16e19a11775c2c84)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
dnf requires a serparate repo for each architecture. This patch
writes one config file per PACKAGE_FEED_URIS entry with an entry
for each architecture, if any.
It also uses a space separated version of the repo id as the repo
name instead of just the id again.
(From OE-Core rev: 3eed822b5c5661aa9f43af6582c1481bacf0d39a)
Signed-off-by: Ian.Arkver <ian.arkver.dev@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Existing patch was actually doing the wrong thing and
sometimes removing a linking flag (-lgpgme) that should be present.
Instead, gpgme-config actually has internal logic to remove /usr/lib from the output,
which works only in non-multilib setups, so it is adjusted to include all possible
/usr/lib* and /lib* directories.
(From OE-Core rev: 84cb611079b7cf78b9921c78978943fa4adae1c7)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
populate_sdk_ext sets TMPDIR to a known static value with '/tmp' directory
name and that name is hard coded in a few places (e.g., in
meta-environment-extsdk.bb that writes the eSDK environment variables).
Distros that do not reset TCLIBCAPPEND (poky does) end up getting
TMPDIR = /tmp-${TCLIBCAPPEND} via defaultsetup.conf and that breaks
the functionality in eSDK that expects everything is in /tmp.
To get TMPDIR consistent, we also need to reset TCLIBCAPPEND in
populate_sdk_ext.bbclass.
Fixes: [YOCTO #11298]
(From OE-Core rev: 9ec29153f279bb9e1dbcddc2c66e00fdbe3fd6e9)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a non-existent event - we already have the actual
bb.build.TaskSucceeded further down in the list hence why it wasn't
noticed earlier.
(From OE-Core rev: 4e059a5ceb6f44401154e89e37f56de1d664a7cb)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a task such as do_fetch fails when we're extracting source for a
recipe (within devtool modify / upgrade / extract / sync) then we should
naturally stop processing instead of blundering on; in order to do that
we need to be listening for the TaskFailed event. Thanks to Richard
Purdie for noticing and fixing this.
(From OE-Core rev: 9174b845bf6a6be7753bf6b921959b1f3f2dcbc0)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Most of the other extract-based commands have this option but oddly I
left it out for modify - I guess because if I was debugging an issue here
I just used devtool extract to do so, but there's no reason why we can't
have it here and it is useful.
(From OE-Core rev: 98fbc46e1a51237213bd7825a922389d3ab2ad9b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when len(TMPDIR) = 410:
aclocal: error: cannot open echo 'm4_define [snip]' configure.ac |: Argument list too long'
This is becuase it has a lot of m4 files, use relative path for them
can fix the problem.
(From OE-Core rev: 081974e75cc0cfa0a1a1bb01cd9f9cbc585b7692)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It should be ${libdir} rather than /usr/lib, otherwise it would fail
when multilib:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
$ bitbake apt
[snip]
install: target /path/to/apt/1.2.12-r0/image/usr/lib/apt is not a directory: No such file or directory
[snip]
(From OE-Core rev: bf867019c33c34dc997e10a3bdba4aeee81f559a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently there are multiple issues with useradd:
* If base-passwd rebuilds, it wipes out recipe specific user/group additions
to sysroots and causes errors
* If recipe A adds a user and recipe B depends on A, it can't see any of the
users/groups A adds.
This patch changes base-passwd so it always works as a postinst script
within the sysroot and copies in the master files, then runs any
postinst-useradd-* scripts afterwards to add additional user/groups.
The postinst-useradd-* scripts are tweaked so that if /etc/passwd doesn't exist
they just exit, knowning they'll be executed later. We also add a dummy entry to
the dummy passwd file from pseudo so we can avoid this too.
There is a problem where if recipe A adds a user and recipe B depends on A but
doesn't care about users, it may not have a dependency on the useradd/groupadd
tools which would therefore not be available in B's sysroot. We therefore also
tweak postinst-useradd-* scripts so that if the tools aren't present we simply
don't add users. If you need the users, you add a dependency on the tools in the
recipe and they'll be added.
We add postinst-* to SSTATE_SCAN_FILES since almost any postinst script of this
kind is going to need relocation help.
We also ensure that the postinst-useradd script is written into the sstate
object as the current script was only being added in a recipe local way.
Thanks to Peter Kjellerstedt <pkj@axis.com> and Patrick Ohly for some pieces
of this patch.
[Yocto #11124]
(From OE-Core rev: 1b5afaf437f7a1107d4edca8eeb668b9618a5488)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
bitbake-layers show-recipes | less
press "q" to exit
There will be a Broken pipe error output as follows:
"BrokenPipeError: [Errno 32] Broken pipe"
(Bitbake rev: 4fca9a07f2d6b0544977112672b786982d7bb8f2)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This script sources another script (oe-find-native-sysroot) with
arguments. It was using /bin/sh. Sourcing with arguments works only in
bash so it was failing in dash. This commit makes it dash proof.
(From OE-Core rev: 334020a800434d20e7c3312890a2baca295c41c7)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
right now, if it fails, the script tells the user to run bitbake foo
-caddto_recipe_sysroot. This works for native recipes but not things
like meta-ide. This patch checks whether the recipe is native and gives
out the appopriate warning.
(From OE-Core rev: fc61211efd57d1858954e5cd241fce58dee9d01b)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The generic STAGING_DIR_NATIVE is gone since RSS, so when find
OECORE_NATIVE_SYSROOT, the user has to specify which recipe's
STAGING_DIR_NATIVE will be used as OECORE_NATIVE_SYSROOT.
* The usage is changed from ". oe-find-native-sysroot" to
". oe-find-native-sysroot <recipe>".
* The oe-run-native's usage has changed from
"oe-run-native tool" to "oe-run-native native-recipe tool".
(From OE-Core rev: e2f6d937bd897083779507ecb9ecd15513b35f1f)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit f200f37699.
This reverts the patch that fixed runqemu-extract-sdk. It failed
to fix other issues in the script/tools that were introduced by RSS. The
following patch from Robert Yang fixes both. Therefore, reverting this
patch in favor of his.
(From OE-Core rev: 33263b69e6b470b4f02172dabe6815df8ab0cd0a)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 51edde6537 makes a wrong assumption
that SSTATE_MIRRORS have write permissions.
A mirror is by definition outside of it's user control. In my use case
it happens I does not have permissions to update the access time of the
dereferenced symbolic-link file.
Checked if file is writable before changing its atime.
Thanks to Paulo Neves for the patch.
[YOCTO #11307]
(From OE-Core rev: b8f26c011d5ed888d85fef040bd821400d54c8fe)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Native sysroot of qemu-helper contains all required tools
(qemu-system and tunctl atm) for runqemu to work. It's not
removed by rm_dir and should always exist. It makes sense
to write it into qemuboot.conf to make runqemu to use it
as a default directory for native tools.
This should also speed up runqemu as it doesn't need to run
to run 'bitbake qemu-helper -e' to get its native sysroot.
[YOCTO #11266]
[YOCTO #11193]
(From OE-Core rev: 0f207bfc1f7a4fd509b78d32bbe1a8d4ebea8053)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Used self.bindir_native to point out to the native sysroot
when running runqemu-ifup and runqemu-ifdown scripts.
[YOCTO #11266]
[YOCTO #11193]
(From OE-Core rev: cc5513bf7a6114e14bb307acb88a44e9cf0aed8a)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Isolated logic of getting path to native bin directory in
new bindir_native property method.
This property is going to be used to obtain location of
qemu-sytem and tunctl.
(From OE-Core rev: 26e97f7ebb7e3302e3d3c6646fb58baf395d62be)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If rm_work is enabled image native sysroot can be removed.
This makes runqemu to fail trying to find qemu binary.
Used native sysroot of qemu-helper-native to find system qemu
binary.
(From OE-Core rev: d42c02caaa4d6fb47681aa7ffe8b27fa38141e6a)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure that native sysroot contains qemu and tunctl binaries for
runqemu usage:
- excluded native sysroot from rm_work
- added qemu-native to DEPENDS to put qemu binaries into native sysroot
- forced addto_recipe_sysroot task
[YOCTO #11266]
[YOCTO #11193]
(From OE-Core rev: 2e7a155774952705d21109720985f6833fba2669)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg stable release, with the following changes:
f6392b77fb91 Linux 4.10.9
59529be9c99e drm/i915: A hotfix for making aliasing PPGTT work for GVT-g
0efab45f7092 drm/i915: Let execlist_update_context() cover !FULL_PPGTT mode.
e47bc4fb5db4 drm/i915: Move the release of PT page to the upper caller
e33cb9747fdf nvme/pci: Disable on removal when disconnected
2bfe1b12a496 nvme/core: Fix race kicking freed request_queue
311cd5ae37e7 padata: avoid race in reordering
a591a05f1d0a blk: Ensure users for current->bio_list can see the full list.
75a778ed4f3d blk: improve order of bio handling in generic_make_request()
b576c5833134 MIPS: Lantiq: Fix cascaded IRQ setup
77149f08767e ARM: dts: BCM5301X: Correct GIC_PPI interrupt flags
1229cd2fa5e0 drm/armada: Fix compile fail
847f0ffc12ae mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()
61b76d7af8e4 mm: workingset: fix premature shadow node shrinking with cgroups
9f424db185a2 mm: rmap: fix huge file mmap accounting in the memcg stats
fb29fe35575a lib/syscall: Clear return values when no stack
be6647667608 x86/mce: Fix copy/paste error in exception table entries
4ea2e307c7cf x86/mm/KASLR: Exclude EFI region from KASLR VA space randomization
d0a9dba54764 drm/i915/kvmgt: Hold struct kvm reference
65e5e864aad9 drm/etnaviv: (re-)protect fence allocation with GPU mutex
4a1b7b6c82dc drm/vc4: Allocate the right amount of space for boot-time CRTC state.
7a8453634601 drm/radeon: Override fpfn for all VRAM placements in radeon_evict_flags
5b79ca06a51d KVM: kvm_io_bus_unregister_dev() should never fail
00a3ca394871 KVM: x86: clear bus pointer when destroyed
b3ff1bac80ab serial: mxs-auart: Fix baudrate calculation
782cb86b0155 USB: fix linked-list corruption in rh_call_control()
6f168275df2e xhci: Set URB actual length for stopped control transfers
3cacfce024b1 tty/serial: atmel: fix TX path in atmel_console_write()
3eadc2dccb51 tty/serial: atmel: fix race condition (TX+DMA)
4f6116cf520c ACPI: Do not create a platform_device for IOAPIC/IOxAPIC
af7550a70dad ACPI: Fix incompatibility with mcount-based function graph tracing
92bca7fa882f parisc: Fix access fault handling in pa_memcpy()
fc12a50f7742 parisc: Avoid stalled CPU warnings after system shutdown
37e623429737 parisc: Clean up fixup routines for get_user()/put_user()
4bcd2ca3c361 dt-bindings: rng: clocks property on omap_rng not always mandatory
be14ea08d26f nfsd: map the ENOKEY to nfserr_perm for avoiding warning
8f5cfd1af067 NFSv4.1 fix infinite loop on IO BAD_STATEID error
61e6e72e9f9c ARCv2: SLC: Make sure busy bit is set properly on SLC flushing
9fef1e65279d crypto: xts,lrw - fix out-of-bounds write after kmalloc failure
5a16448c2132 crypto: ccp - Make some CCP DMA channels private
79105a2f8146 mmc: sdhci-of-at91: fix MMC_DDR_52 timing selection
41ece35ef4b4 mmc: sdhci: Disable runtime pm when the sdio_irq is enabled
d4dd65ff6716 HID: wacom: Don't add ghost interface as shared data
617c6850480b ASoC: rt5665: fix getting wrong work handler container
29f675437ceb ASoC: Intel: Skylake: fix invalid memory access due to wrong reference of pointer
48a5a47a050c ASoC: atmel-classd: fix audio clock rate
e12a232e9b64 ALSA: hda - fix a problem for lineout on a Dell AIO machine
c36ef6467420 ALSA: seq: Fix race during FIFO resize
d2e79b56ba2e PCI: thunder-pem: Use Cavium assigned hardware ID for ThunderX host controller
d9c6a97b3fae PCI: iproc: Save host bridge window resource in struct iproc_pcie
ef97d9485efa scsi: scsi_dh_alua: Ensure that alua_activate() calls the completion function
2b1725d1df36 scsi: scsi_dh_alua: Check scsi_device_get() return value
905385ad1309 scsi: libsas: fix ata xfer length
f7019040f6d7 scsi: sg: check length passed to SG_NEXT_CMD_LEN
f031e4f54f98 xfs: try any AG when allocating the first btree block when reflinking
83d33266c371 xfs: use iomap new flag for newly allocated delalloc blocks
ee74519c0876 xfs: Use xfs_icluster_size_fsb() to calculate inode alignment mask
87cdf91a6bf4 xfs: fix and streamline error handling in xfs_end_io
1c0d974bea21 xfs: only reclaim unwritten COW extents periodically
5d834e1adcb0 xfs: tune down agno asserts in the bmap code
854a9bf0acb1 xfs: Use xfs_icluster_size_fsb() to calculate inode chunk alignment
8c1e9cfd5b67 xfs: don't reserve blocks for right shift transactions
a3aca9b42d6f xfs: fix uninitialized variable in _reflink_convert_cow
1d7babf19237 xfs: split indlen reservations fairly when under reserved
177227735045 xfs: handle indlen shortage on delalloc extent merge
0b20c0afbb84 xfs: don't fail xfs_extent_busy allocation
e8eb2c060902 xfs: correct null checks and error processing in xfs_initialize_perag
304ec448ee8b xfs: update ctime and mtime on clone destinatation inodes
900c499df454 xfs: reject all unaligned direct writes to reflinked files
17c17805b76e xfs: reset b_first_retry_time when clear the retry status of xfs_buf_t
b0f88f0deb50 xfs: mark speculative prealloc CoW fork extents unwritten
a0c46fae264a xfs: allow unwritten extents in the CoW fork
1dc0e72c13e7 xfs: verify free block header fields
58565508b2b3 xfs: check for obviously bad level values in the bmbt root
2b9dcb947e73 xfs: filter out obviously bad btree pointers
cb308466d6dc xfs: fail _dir_open when readahead fails
8059f06199f0 xfs: fix toctou race when locking an inode to access the data map
025770917bcb xfs: fix eofblocks race with file extending async dio writes
696bfc8ec85c xfs: sync eofblocks scans under iolock are livelock prone
ff4ea420698d xfs: pull up iolock from xfs_free_eofblocks()
3eb243290edf KVM: nVMX: fix nested EPT detection
8a7eb087a5a4 libceph: force GFP_NOIO for socket allocations
3fdae700a361 Linux 4.10.8
d6854f591c22 usb: musb: fix possible spinlock deadlock
ca908a9a57e7 sched/rt: Add a missing rescheduling point
15eea140d991 qla2xxx: Allow vref count to timeout on vport delete.
f7c1a6ec45d6 metag/ptrace: Reject partial NT_METAG_RPIPE writes
400763ea4357 metag/ptrace: Provide default TXSTATUS for short NT_PRSTATUS
3e0a29e1b6c6 metag/ptrace: Preserve previous registers for short regset write
fc1ff8342c66 sparc/ptrace: Preserve previous registers for short regset write
d1b2aeaa4bcd mips/ptrace: Preserve previous registers for short regset write
53adbfdf3133 h8300/ptrace: Fix incorrect register transfer count
ff7ff50d9c07 c6x/ptrace: Remove useless PTRACE_SETREGSET implementation
90a1cbf54eb6 pinctrl: qcom: Don't clear status bit on irq_unmask
d4a3eba0eb0f virtio_balloon: init 1st buffer in stats vq
71a434f7c9b8 KVM: x86: cleanup the page tracking SRCU instance
737f7378c7e9 KVM: nVMX: Fix nested VPID vmx exec control
843e5b6c801a xfrm_user: validate XFRM_MSG_NEWAE incoming ESN size harder
ffcf5de81520 xfrm_user: validate XFRM_MSG_NEWAE XFRMA_REPLAY_ESN_VAL replay_window
58333eaf3123 xfrm: policy: init locks early
55db23d3a51e Linux 4.10.7
0dad3de86825 crypto: algif_hash - avoid zero-sized array
f9955dcaceae fbcon: Fix vc attr at deinit
2a3241044b1c drm: reference count event->completion
597584832d0c xen: do not re-use pirq number cached in pci device msi msg data
535693055d2a cpuidle: Validate cpu_dev in cpuidle_add_sysfs()
a27142e6d0eb scsi: sd: Check for unaligned partial completion
66c0812889de device-dax: fix pmd/pte fault fallback handling
96aa12df2410 libceph: don't set weight to IN when OSD is destroyed
8b38e3191816 mmc: block: Fix is_waiting_last_req set incorrectly
f2a9bf4d93df Drivers: hv: vmbus: Don't leak memory when a channel is rescinded
840065777b4d Drivers: hv: vmbus: Don't leak channel ids
f8dd767b84e2 intel_th: Don't leak module refcount on failure to activate
7bf105ac9277 jbd2: don't leak memory if setting up journal fails
8668c61ba509 auxdisplay: img-ascii-lcd: add missing sentinel entry in img_ascii_lcd_matches
67dfc0850f71 drm/amd/amdgpu: add POLARIS12 PCI ID
a7a14362e278 drm/amdgpu: reinstate oland workaround for sclk
51d3848c10b3 cpsw/netcp: cpts depends on posix_timers
16379a79ee45 blk-mq: don't complete un-started request in timeout handler
fee328fee946 cgroup, net_cls: iterate the fds of only the tasks which are being migrated
3742b9a08682 cpufreq: Restore policy min/max limits on CPU online
fc0af2511915 arm64: kaslr: Fix up the kernel image alignment
f464f86d8b8d ARM: at91: pm: cpu_idle: switch DDR to power-down mode
166fdccc86a5 Revert "ARM: at91/dt: sama5d2: Use new compatible for ohci node"
514e122cf8d0 iommu/exynos: Workaround FLPD cache flush issues for SYSMMU v5
03d92bd5b426 iommu/exynos: Block SYSMMU while invalidating FLPD cache
b7d02d90d03a iommu/vt-d: Fix NULL pointer dereference in device_to_iommu
fa477d804fd3 xen/acpi: upload PM state from init-domain to Xen
8b0219e35b43 vfio: Rework group release notifier warning
0d05871e5e43 fscrypt: remove broken support for detecting keyring key revocation
f115bf08b7d2 crypto: ccp - Assign DMA commands to the channel's CCP
c62625b6b383 ath10k: fix incorrect wlan_mac_base in qca6174_regs
2f69745c309c mwifiex: pcie: don't leak DMA buffers when removing
ad3b48d36e0d clk: sunxi-ng: mp: Adjust parent rate for pre-dividers
9300e322b68d clk: sunxi-ng: sun6i: Fix enable bit offset for hdmi-ddc module clock
76b5eb51114a hwrng: geode - Revert managed API changes
9b35f163f7fe hwrng: amd - Revert managed API changes
ce6c155ada08 mmc: sdhci-pci: Do not disable interrupts in sdhci_intel_set_power
f89c8a5007b2 mmc: sdhci: Do not disable interrupts while waiting for clock
b821a0a5fde9 mmc: sdhci-of-arasan: fix incorrect timeout clock
116418547216 mmc: sdhci-of-at91: Support external regulators
a0c48115cd23 audit: fix auditd/kernel connection state tracking
72c89fa6106a powerpc/64s: Fix idle wakeup potential to clobber registers
35637b59f675 ext4: lock the xattr block before checksuming it
26512e52106d ext4: mark inode dirty after converting inline directory
762602796be6 ppdev: fix registering same device name
f8155f4e6368 parport: fix attempt to write duplicate procfiles
c3a22b5f4339 mei: don't wait for os version message reply
0dc119af06a5 mei: fix deadlock on mei reset
bf1aedff42b2 iio: magnetometer: ak8974: remove incorrect __exit markups
6c2aab07d124 iio: hid-sensor-trigger: Change get poll value function order to avoid sensor properties losing after resume from S3
9323d92a280b iio: sw-device: Fix config group initialization
a12d1eadd0d1 iio: adc: ti_am335x_adc: fix fifo overrun recovery
f4004c87c8c6 mmc: core: Fix access to HS400-ES devices
a56eba20b447 nl80211: fix dumpit error path RTNL deadlocks
f876c1039440 mmc: ushc: fix NULL-deref at probe
90c2bb66e98e uwb: hwa-rc: fix NULL-deref at probe
05393ccea6e3 uwb: i1480-dfu: fix NULL-deref at probe
bb486e80a13f USB: usbtmc: fix probe error path
ad1bbccdf018 USB: usbtmc: add missing endpoint sanity check
9ec0027442cb usb: hub: Fix crash after failure to read BOS descriptor
9eae384ab967 usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer
a769fe27a7cf USB: wusbcore: fix NULL-deref at probe
bcf394acf736 USB: idmouse: fix NULL-deref at probe
f615aa74026f USB: lvtest: fix NULL-deref at probe
0918c32f09dd USB: uss720: fix NULL-deref at probe
dfdd59a3ec07 usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk
aacb73b7ae2f dvb-usb-firmware: don't do DMA on stack
f1b221121b16 usb: gadget: f_uvc: Fix SuperSpeed companion descriptor's wBytesPerInterval
c37fcc17bf36 ACM gadget: fix endianness in notifications
7cdfdddb2e61 USB: serial: qcserial: add Dell DW5811e
b1849b029cc1 USB: serial: option: add Quectel UC15, UC20, EC21, and EC25 modems
37e91f5d0105 ALSA: hda - Adding a group of pin definition to fix headset problem
0b7e15f1a165 ALSA: ctxfi: Fix the incorrect check of dma_set_mask() call
4c381c7affcb ALSA: seq: Fix racy cell insertions during snd_seq_pool_done()
9ccad2dfe28c Input: sur40 - validate number of endpoints before using them
fb50058c7970 Input: kbtab - validate number of endpoints before using them
865b020ff2a1 Input: cm109 - validate number of endpoints before using them
69cbb678881a Input: yealink - validate number of endpoints before using them
e8861cb37faf Input: hanwang - validate number of endpoints before using them
9318ae922a52 Input: ims-pcu - validate number of endpoints before using them
ed6a66dc2f7a Input: iforce - validate number of endpoints before using them
b5157d07935b Input: i8042 - add noloop quirk for Dell Embedded Box PC 3000
f1d4be3d754c Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw
b87dd1d7dacc Input: ALPS - fix trackstick button handling on V8 devices
0186e6a4e501 Input: ALPS - fix V8+ protocol handling (73 03 28)
00ca1a71292c HID: sony: Fix input device leak when connecting a DS4 twice using USB/BT
de93e41f7734 net: solve a NAPI race
a1fd7338b43e amd-xgbe: Fix the ECC-related bit position definitions
d3add547afd3 tcp: initialize icsk_ack.lrcvtime at session start time
a3639645a94b genetlink: fix counting regression on ctrl_dumpfamily()
aaa31c62f737 socket, bpf: fix sk_filter use after free in sk_clone_lock
1880e1308e9d ipv4: provide stronger user input validation in nl_fib_input()
212508f709ab net: bcmgenet: remove bcmgenet_internal_phy_setup()
30b72691dbca ipv6: make sure to initialize sockc.tsflags before first use
4162e85c7134 net/mlx5e: Count LRO packets correctly
4ec387a74cdc net/mlx5e: Count GSO packets correctly
345aad1f4602 net/mlx5: Increase number of max QPs in default profile
458034b72f35 net/mlx5e: Avoid supporting udp tunnel port ndo for VF reps
daa6e01308ad net/mlx5e: Use the proper UAPI values when offloading TC vlan actions
b709b83ea5ec net/mlx5: E-Switch, Don't allow changing inline mode when flows are configured
402073e7e39a net/mlx5e: Change the TC offload rule add/del code path to be per NIC or E-Switch
5e96d44bbdd4 net/mlx5: Add missing entries for set/query rate limit commands
eccc68710eff net: vrf: Reset rt6i_idev in local dst after put
29323e2def48 qmi_wwan: add Dell DW5811e
4f320b855b8a net: unix: properly re-increment inflight counter of GC discarded candidates
d965848569f9 openvswitch: Add missing case OVS_TUNNEL_KEY_ATTR_PAD
ae9d577f3dbb amd-xgbe: Fix jumbo MTU processing on newer hardware
5dd697af3014 net: properly release sk_frag.page
200caa0be5d2 net: bcmgenet: Do not suspend PHY if Wake-on-LAN is enabled
3c9f2c656aca net/openvswitch: Set the ipv6 source tunnel key address attribute correctly
df6ed56f4352 Linux 4.10.6
dcb196787cd9 drm/amdgpu/si: add dpm quirk for Oland
9ec87191ecee cgroup/pids: remove spurious suspicious RCU usage warning
db79c1978953 percpu: acquire pcpu_lock when updating pcpu_nr_empty_pop_pages
a69813714424 gfs2: Avoid alignment hole in struct lm_lockname
d369c16ffb46 isdn/gigaset: fix NULL-deref at probe
169c4019c7be target: Fix VERIFY_16 handling in sbc_parse_cdb
4a657746c52a scsi: mpt3sas: Avoid sleeping in interrupt context
d4700e2050df scsi: libiscsi: add lock around task lists to fix list corruption regression
5b769ee1ff5f scsi: lpfc: Add shutdown method for kexec
a62438951a61 target/pscsi: Fix TYPE_TAPE + TYPE_MEDIMUM_CHANGER export
11de2d238d6f md/raid1/10: fix potential deadlock
a42f27d91de7 hwrng: omap - Do not access INTMASK_REG on EIP76
65eb69be1999 hwrng: omap - use devm_clk_get() instead of of_clk_get()
48207bda7d79 hwrng: omap - write registers after enabling the clock
fd6fb9243d56 powerpc/boot: Fix zImage TOC alignment
602ef5c5b0c5 cpufreq: Fix and clean up show_cpuinfo_cur_freq()
84f16bb39c77 NFS prevent double free in async nfs4_exchange_id
a3c7894422c9 xprtrdma: Squelch kbuild sparse complaint
3e037a0fe0b6 md/r5cache: fix set_syndrome_sources() for data in cache
2fe91a8e5fd3 perf/core: Fix event inheritance on fork()
b1769d8402f2 perf/core: Fix use-after-free in perf_release()
f194549ebe65 parisc: Fix system shutdown halt
f81a9940e5ad parisc: support R_PARISC_SECREL32 relocation in modules
13ad0be78574 parisc: Optimize flush_kernel_vmap_range and invalidate_kernel_vmap_range
13b178142b19 qla2xxx: Fix request queue corruption.
b7306a2e2f62 qla2xxx: Fix memory leak for abts processing
afd4fdd0da49 give up on gcc ilog2() constant optimizations
(From OE-Core rev: 5674ca07a98f404156afa9c0f01e9469a8fb7fdc)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg -stable release, with the following shortlog
summary:
37feaf8095d3 Linux 4.9.21
02b23e059a9d nvme/pci: Disable on removal when disconnected
a5e39a7f2985 nvme/core: Fix race kicking freed request_queue
eb8c62a3848e padata: avoid race in reordering
5959cded91e3 blk: Ensure users for current->bio_list can see the full list.
d5986e0078f2 blk: improve order of bio handling in generic_make_request()
e3a55294fc20 mm: workingset: fix premature shadow node shrinking with cgroups
362721c4957d MIPS: Lantiq: Fix cascaded IRQ setup
1b442f9bdf9a ARM: dts: BCM5301X: Correct GIC_PPI interrupt flags
c1716f0c35cc qla2xxx: Allow vref count to timeout on vport delete.
5ed56ca86f96 ARM: BCM5301X: Add back handler ignoring external imprecise aborts
40c5b99f8ace mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()
b5707920e4d8 mm: rmap: fix huge file mmap accounting in the memcg stats
673dfb6d1bb4 lib/syscall: Clear return values when no stack
af5ef6dafea0 x86/mce: Fix copy/paste error in exception table entries
2211d19ac6dd x86/mm/KASLR: Exclude EFI region from KASLR VA space randomization
4366c7e346ce drm/etnaviv: (re-)protect fence allocation with GPU mutex
6acf52070857 drm/vc4: Allocate the right amount of space for boot-time CRTC state.
fa68e1d3cecc drm/radeon: Override fpfn for all VRAM placements in radeon_evict_flags
1563625c717c KVM: kvm_io_bus_unregister_dev() should never fail
ef46a13b9c4e KVM: x86: clear bus pointer when destroyed
5289f1ce39a7 serial: mxs-auart: Fix baudrate calculation
67e41b1368b1 USB: fix linked-list corruption in rh_call_control()
1f1c9e29651d tty/serial: atmel: fix TX path in atmel_console_write()
e087ae68e87b tty/serial: atmel: fix race condition (TX+DMA)
b3641939b1ae ACPI: Do not create a platform_device for IOAPIC/IOxAPIC
000d2bb6c059 ACPI: Fix incompatibility with mcount-based function graph tracing
76343bfbcafa parisc: Fix access fault handling in pa_memcpy()
99e354a59ac5 parisc: Avoid stalled CPU warnings after system shutdown
09b931fcb87c parisc: Clean up fixup routines for get_user()/put_user()
3967cf7e6a91 nfsd: map the ENOKEY to nfserr_perm for avoiding warning
461bbb90942a NFSv4.1 fix infinite loop on IO BAD_STATEID error
80df2b3e185e mmc: sdhci-of-at91: fix MMC_DDR_52 timing selection
fa3b4f4f574a mmc: sdhci: Disable runtime pm when the sdio_irq is enabled
8d6c33224261 HID: wacom: Don't add ghost interface as shared data
e5a134739151 ASoC: Intel: Skylake: fix invalid memory access due to wrong reference of pointer
7a042a4eeb8d ASoC: atmel-classd: fix audio clock rate
8aabccdc9d4f ALSA: hda - fix a problem for lineout on a Dell AIO machine
74a2c1ff88a4 ALSA: seq: Fix race during FIFO resize
0dd5b335ed69 PCI: iproc: Save host bridge window resource in struct iproc_pcie
8f9155989f12 scsi: scsi_dh_alua: Ensure that alua_activate() calls the completion function
68b275b7cbf0 scsi: scsi_dh_alua: Check scsi_device_get() return value
cf31d6d21559 scsi: libsas: fix ata xfer length
c2a869527865 scsi: sg: check length passed to SG_NEXT_CMD_LEN
d5dbd1c95920 xfs: try any AG when allocating the first btree block when reflinking
da617af8f0c6 xfs: use iomap new flag for newly allocated delalloc blocks
77aedb0cbe6a xfs: Use xfs_icluster_size_fsb() to calculate inode alignment mask
d07b5855ab7f xfs: fix and streamline error handling in xfs_end_io
3b83a02af271 xfs: only reclaim unwritten COW extents periodically
a24029369433 xfs: tune down agno asserts in the bmap code
9559c48c1a7d xfs: Use xfs_icluster_size_fsb() to calculate inode chunk alignment
5db7b41b607d xfs: don't reserve blocks for right shift transactions
e5e2e56fd4dd xfs: fix uninitialized variable in _reflink_convert_cow
c251c6c2dec9 xfs: split indlen reservations fairly when under reserved
2d7c1c7ffafd xfs: handle indlen shortage on delalloc extent merge
47d7d1ea6c5f xfs: don't fail xfs_extent_busy allocation
5bbf5ba693ac xfs: reject all unaligned direct writes to reflinked files
67eb7bf836af xfs: update ctime and mtime on clone destinatation inodes
e060f4884c93 xfs: reset b_first_retry_time when clear the retry status of xfs_buf_t
e02f0ff252f2 xfs: mark speculative prealloc CoW fork extents unwritten
8370826f7d32 xfs: allow unwritten extents in the CoW fork
3d2bd2fd5cba xfs: verify free block header fields
4056a74aafba xfs: check for obviously bad level values in the bmbt root
efab3ae29c15 xfs: filter out obviously bad btree pointers
7e2dd1fb7102 xfs: fail _dir_open when readahead fails
0a6844abacc1 xfs: fix toctou race when locking an inode to access the data map
4127a5d9fb89 xfs: fix eofblocks race with file extending async dio writes
4d725d7474df xfs: sync eofblocks scans under iolock are livelock prone
798b1dc5cbdf xfs: pull up iolock from xfs_free_eofblocks()
08a2a2681682 xfs: use per-AG reservations for the finobt
9be1c33d4a99 xfs: only update mount/resv fields on success in __xfs_ag_resv_init
8b08aec62c24 xen/setup: Don't relocate p2m over existing one
860153772461 libceph: force GFP_NOIO for socket allocations
f67677274670 Linux 4.9.20
1dc3a068cc11 usb: musb: fix possible spinlock deadlock
916c5cfeab40 sched/rt: Add a missing rescheduling point
2984e52c75c6 fscrypt: remove broken support for detecting keyring key revocation
21c95eca627b metag/ptrace: Reject partial NT_METAG_RPIPE writes
2d6532ceb45b metag/ptrace: Provide default TXSTATUS for short NT_PRSTATUS
2739b4874165 metag/ptrace: Preserve previous registers for short regset write
84b94c4356c6 sparc/ptrace: Preserve previous registers for short regset write
0ba34c87f7ce mips/ptrace: Preserve previous registers for short regset write
616fe993f410 h8300/ptrace: Fix incorrect register transfer count
d77bd2d6a478 c6x/ptrace: Remove useless PTRACE_SETREGSET implementation
dd6054234bd8 pinctrl: qcom: Don't clear status bit on irq_unmask
b82b2f930c2b virtio_balloon: init 1st buffer in stats vq
3e8c6bd9dbc4 KVM: x86: cleanup the page tracking SRCU instance
79191ea36dc9 xfrm_user: validate XFRM_MSG_NEWAE incoming ESN size harder
64a5465799ee xfrm_user: validate XFRM_MSG_NEWAE XFRMA_REPLAY_ESN_VAL replay_window
f68a09c7944e xfrm: policy: init locks early
c8e131605de2 Linux 4.9.19
bc959a402d1e crypto: algif_hash - avoid zero-sized array
3fd37725c4e0 fbcon: Fix vc attr at deinit
c75fe7899538 drm: reference count event->completion
56769e7a0526 nl80211: fix dumpit error path RTNL deadlocks
7b3c8b2a2e63 drm/bridge: analogix dp: Fix runtime PM state on driver bind
eae72468c45d device-dax: fix pmd/pte fault fallback handling
81ec3dc1de0a libceph: don't set weight to IN when OSD is destroyed
df1fe6c9ad48 Drivers: hv: vmbus: Don't leak memory when a channel is rescinded
b1f6b0a5a066 Drivers: hv: vmbus: Don't leak channel ids
3076066bb507 intel_th: Don't leak module refcount on failure to activate
b176a6eed370 jbd2: don't leak memory if setting up journal fails
90f39ad2ce94 auxdisplay: img-ascii-lcd: add missing sentinel entry in img_ascii_lcd_matches
9740abe0fd18 drm/amdgpu: reinstate oland workaround for sclk
21d17f1b53ce blk-mq: don't complete un-started request in timeout handler
62f6341c858b cgroup, net_cls: iterate the fds of only the tasks which are being migrated
f565084692d6 cpufreq: Restore policy min/max limits on CPU online
b9ed800f7188 arm64: kaslr: Fix up the kernel image alignment
2ab97521ce11 ARM: at91: pm: cpu_idle: switch DDR to power-down mode
ca5477ad190b Revert "ARM: at91/dt: sama5d2: Use new compatible for ohci node"
352c0214b7f2 iommu/vt-d: Fix NULL pointer dereference in device_to_iommu
bc63212d2271 xen/acpi: upload PM state from init-domain to Xen
b1ef9daa50cc crypto: ccp - Assign DMA commands to the channel's CCP
cb6e07ba5878 mwifiex: pcie: don't leak DMA buffers when removing
35ef543eb372 clk: sunxi-ng: mp: Adjust parent rate for pre-dividers
867f7804ce65 clk: sunxi-ng: sun6i: Fix enable bit offset for hdmi-ddc module clock
c445f9969641 hwrng: geode - Revert managed API changes
5d6f7b36111d hwrng: amd - Revert managed API changes
0d69a8804134 mmc: sdhci-pci: Do not disable interrupts in sdhci_intel_set_power
b43ba21b3523 mmc: sdhci: Do not disable interrupts while waiting for clock
2ab2e879110b mmc: sdhci-of-arasan: fix incorrect timeout clock
ace22e6fdb4f mmc: sdhci-of-at91: Support external regulators
1e360905f61f powerpc/64s: Fix idle wakeup potential to clobber registers
9a9dc3ec7ce1 ext4: lock the xattr block before checksuming it
f572ba9a7138 ext4: mark inode dirty after converting inline directory
0f29bcfdcf68 parport: fix attempt to write duplicate procfiles
1e6b50335012 iio: magnetometer: ak8974: remove incorrect __exit markups
9808ff151781 iio: hid-sensor-trigger: Change get poll value function order to avoid sensor properties losing after resume from S3
cf43d679ccc5 iio: sw-device: Fix config group initialization
ec271b0e05b2 iio: adc: ti_am335x_adc: fix fifo overrun recovery
dfcacd07bf06 mmc: ushc: fix NULL-deref at probe
2e7486a05b81 uwb: hwa-rc: fix NULL-deref at probe
f01c54fe0a8f uwb: i1480-dfu: fix NULL-deref at probe
5e50afb2273c USB: usbtmc: fix probe error path
73c4e2ede5a9 USB: usbtmc: add missing endpoint sanity check
4e615886770a usb: hub: Fix crash after failure to read BOS descriptor
51a3f3ec531a usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer
46aeeb2ac18a USB: wusbcore: fix NULL-deref at probe
a4887ea588e9 USB: idmouse: fix NULL-deref at probe
21e0621e3cd7 USB: lvtest: fix NULL-deref at probe
e4942716bb78 USB: uss720: fix NULL-deref at probe
222ccd4f837b usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk
d8ec35ad8b36 usb: gadget: f_uvc: Fix SuperSpeed companion descriptor's wBytesPerInterval
ff8d97a822c6 ACM gadget: fix endianness in notifications
381420a46ae5 USB: serial: qcserial: add Dell DW5811e
21586e4dcc9b USB: serial: option: add Quectel UC15, UC20, EC21, and EC25 modems
0fe8771373c2 ALSA: hda - Adding a group of pin definition to fix headset problem
e800ff1fade6 ALSA: ctxfi: Fix the incorrect check of dma_set_mask() call
ca79952dfc63 ALSA: seq: Fix racy cell insertions during snd_seq_pool_done()
425823646eae Input: sur40 - validate number of endpoints before using them
b1feb4e5aab4 Input: kbtab - validate number of endpoints before using them
83d920e464fa Input: cm109 - validate number of endpoints before using them
9f6a8dca9874 Input: yealink - validate number of endpoints before using them
d9a3e6424e61 Input: hanwang - validate number of endpoints before using them
1f5a512844a8 Input: ims-pcu - validate number of endpoints before using them
0afac79f6696 Input: iforce - validate number of endpoints before using them
de2ba8081e6d Input: i8042 - add noloop quirk for Dell Embedded Box PC 3000
3c9da7cfb7cf Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw
4ccef6bd3a02 Input: ALPS - fix trackstick button handling on V8 devices
81643d000315 Input: ALPS - fix V8+ protocol handling (73 03 28)
9e13bcef2469 tcp: initialize icsk_ack.lrcvtime at session start time
a53ea6051c7f socket, bpf: fix sk_filter use after free in sk_clone_lock
62e85fe59072 ipv4: provide stronger user input validation in nl_fib_input()
2f94dd54cfe6 net: bcmgenet: remove bcmgenet_internal_phy_setup()
d80caeb9b86d ipv6: make sure to initialize sockc.tsflags before first use
c87ef8734d25 net/mlx5e: Count LRO packets correctly
36bb24fadbaa net/mlx5e: Count GSO packets correctly
0ceb7181e876 net/mlx5: Increase number of max QPs in default profile
38d23e13ba07 net/mlx5e: Use the proper UAPI values when offloading TC vlan actions
f375f73c720b net/mlx5: Add missing entries for set/query rate limit commands
4e7c821b6862 net: vrf: Reset rt6i_idev in local dst after put
4b9b7f17bab1 qmi_wwan: add Dell DW5811e
91ad0c0885c8 net: unix: properly re-increment inflight counter of GC discarded candidates
ef7c1e297d44 openvswitch: Add missing case OVS_TUNNEL_KEY_ATTR_PAD
fafc9555d87a amd-xgbe: Fix jumbo MTU processing on newer hardware
e9c1b1ab1225 net: properly release sk_frag.page
4d5bc781eb2c net: bcmgenet: Do not suspend PHY if Wake-on-LAN is enabled
03e9554ac48f net/openvswitch: Set the ipv6 source tunnel key address attribute correctly
2a486264b736 Linux 4.9.18
c2eeabe94145 ext4: fix fencepost in s_first_meta_bg validation
dea2f1e0c5e9 drm/amdgpu/si: add dpm quirk for Oland
228514bf2430 cgroup/pids: remove spurious suspicious RCU usage warning
3f406ecddf8a percpu: acquire pcpu_lock when updating pcpu_nr_empty_pop_pages
a33e71c5f0cb gfs2: Avoid alignment hole in struct lm_lockname
c795d8780cc8 isdn/gigaset: fix NULL-deref at probe
033850b95300 target: Fix VERIFY_16 handling in sbc_parse_cdb
de1ff848c74f scsi: libiscsi: add lock around task lists to fix list corruption regression
42ba2c265b08 scsi: lpfc: Add shutdown method for kexec
f8e24eab9bcd target/pscsi: Fix TYPE_TAPE + TYPE_MEDIMUM_CHANGER export
ad5166415ff3 md/raid1/10: fix potential deadlock
4265e0b487da powerpc/boot: Fix zImage TOC alignment
bb8c61ad784d cpufreq: Fix and clean up show_cpuinfo_cur_freq()
b76d4fb2d944 NFS prevent double free in async nfs4_exchange_id
87144ec25091 xprtrdma: Squelch kbuild sparse complaint
69efd8e21246 perf/core: Fix event inheritance on fork()
c04a938229e7 perf/core: Fix use-after-free in perf_release()
13695ce5b102 parisc: Fix system shutdown halt
a690a42ae7b9 parisc: Optimize flush_kernel_vmap_range and invalidate_kernel_vmap_range
66e70bdca599 qla2xxx: Fix request queue corruption.
c5ad350d6144 qla2xxx: Fix memory leak for abts processing
85f687708c81 give up on gcc ilog2() constant optimizations
2bbcbc24474e drm/vc4: Use runtime autosuspend to avoid thrashing V3D power state.
dd0b0e22a588 drm/vc4: Fix termination of the initial scan for branch targets.
(From OE-Core rev: d42d49cfed9ab7afbf6aceaa4547cece9564c75e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg stable relase with the following shortlog summary:
8f8ee9706b0a Linux 4.4.60
84bd21a708b8 padata: avoid race in reordering
5cca175b6cda blk: Ensure users for current->bio_list can see the full list.
2cbd78f4239b blk: improve order of bio handling in generic_make_request()
063d30f187f5 power: reset: at91-poweroff: timely shutdown LPDDR memories
42462d23e60b KVM: kvm_io_bus_unregister_dev() should never fail
3a1246b46df5 rtc: s35390a: improve irq handling
a55ae9d1937b rtc: s35390a: implement reset routine as suggested by the reference
fdd4bc9313e5 rtc: s35390a: make sure all members in the output are set
b3ed3864912e rtc: s35390a: fix reading out alarm
6280ac931a23 MIPS: Lantiq: Fix cascaded IRQ setup
47e2fe17d14d mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()
ef55c3df5dbd drm/radeon: Override fpfn for all VRAM placements in radeon_evict_flags
3eb392056aeb KVM: x86: clear bus pointer when destroyed
eac3ab3e6915 USB: fix linked-list corruption in rh_call_control()
0a1757cfa5ba tty/serial: atmel: fix TX path in atmel_console_write()
74b8fc017d76 tty/serial: atmel: fix race condition (TX+DMA)
566a8711a7dd ACPI: Do not create a platform_device for IOAPIC/IOxAPIC
3342857ac074 ACPI: Fix incompatibility with mcount-based function graph tracing
ab48ab614b8c ASoC: atmel-classd: fix audio clock rate
ce3dcfdbff04 ALSA: hda - fix a problem for lineout on a Dell AIO machine
a90d7447e4a1 ALSA: seq: Fix race during FIFO resize
75a03869c93a scsi: libsas: fix ata xfer length
a92f411914ca scsi: sg: check length passed to SG_NEXT_CMD_LEN
18639c4bad72 scsi: mpt3sas: fix hang on ata passthrough commands
1eed198ce16b xen/setup: Don't relocate p2m over existing one
ba46d8fab00a libceph: force GFP_NOIO for socket allocations
61a4577c9a44 Linux 4.4.59
2bed5987692c sched/rt: Add a missing rescheduling point
7a5202190810 fscrypt: remove broken support for detecting keyring key revocation
573341eba9c4 metag/ptrace: Reject partial NT_METAG_RPIPE writes
e441102d8c07 metag/ptrace: Provide default TXSTATUS for short NT_PRSTATUS
2d9bc3695012 metag/ptrace: Preserve previous registers for short regset write
962b95a88574 sparc/ptrace: Preserve previous registers for short regset write
c8693666856c mips/ptrace: Preserve previous registers for short regset write
e1dc8904b33b h8300/ptrace: Fix incorrect register transfer count
6e174bbd0631 c6x/ptrace: Remove useless PTRACE_SETREGSET implementation
800791e7e0fd pinctrl: qcom: Don't clear status bit on irq_unmask
927d04793f8a virtio_balloon: init 1st buffer in stats vq
22c9e7c092f6 xfrm_user: validate XFRM_MSG_NEWAE incoming ESN size harder
cce7e56dd73f xfrm_user: validate XFRM_MSG_NEWAE XFRMA_REPLAY_ESN_VAL replay_window
a9a76a3e318e xfrm: policy: init locks early
0a5766a6a73b Linux 4.4.58
f8a62dbc7902 crypto: algif_hash - avoid zero-sized array
540d6d756ff8 fbcon: Fix vc attr at deinit
ac601978a2aa serial: 8250_pci: Detach low-level driver during PCI error recovery
b8687d83b34c ACPI / blacklist: Make Dell Latitude 3350 ethernet work
d3607fc2976e ACPI / blacklist: add _REV quirks for Dell Precision 5520 and 3520
4e2c66bb6658 uvcvideo: uvc_scan_fallback() for webcams with broken chain
ce5494107946 s390/zcrypt: Introduce CEX6 toleration
7023f502c835 block: allow WRITE_SAME commands with the SG_IO ioctl
9fd9e1436380 vfio/spapr: Postpone allocation of userspace version of TCE table
4110080574ac PCI: Do any VF BAR updates before enabling the BARs
bcbdcf48469b PCI: Ignore BAR updates on virtual functions
d4f09ea7e35c PCI: Update BARs using property bits appropriate for type
131f7969048b PCI: Don't update VF BARs while VF memory space is enabled
40a85d68185f PCI: Decouple IORESOURCE_ROM_ENABLE and PCI_ROM_ADDRESS_ENABLE
1278c9f87f11 PCI: Add comments about ROM BAR updating
cef498a2c75a PCI: Remove pci_resource_bar() and pci_iov_resource_bar()
a87693ec42f2 PCI: Separate VF BAR updates from standard BAR updates
e4ce31c0265d x86/hyperv: Handle unknown NMIs on one CPU when unknown_nmi_panic
ca7e3bdc9c7e igb: add i211 to i210 PHY workaround
4db313df4946 igb: Workaround for igb i210 firmware issue
ec52364445a4 xen: do not re-use pirq number cached in pci device msi msg data
6d43e485e006 xfs: clear _XBF_PAGES from buffers when readahead page
f154de03f416 USB: usbtmc: add missing endpoint sanity check
74c8dd066cc0 nl80211: fix dumpit error path RTNL deadlocks
7922c1becb36 xfs: fix up xfs_swap_extent_forks inline extent handling
c4cf86f69597 xfs: don't allow di_size with high bit set
48da8f817b9d libceph: don't set weight to IN when OSD is destroyed
73dd1edf50a6 raid10: increment write counter after bio is split
175039632065 cpufreq: Restore policy min/max limits on CPU online
e1af444e52ce ARM: dts: at91: sama5d2: add dma properties to UART nodes
2705b183263b ARM: at91: pm: cpu_idle: switch DDR to power-down mode
55b6c187cf9d iommu/vt-d: Fix NULL pointer dereference in device_to_iommu
c856b66c8aac xen/acpi: upload PM state from init-domain to Xen
52e40a2fcc39 mmc: sdhci: Do not disable interrupts while waiting for clock
27d9bf096406 ext4: mark inode dirty after converting inline directory
c7d1545c48ff parport: fix attempt to write duplicate procfiles
7413d1f8991e iio: hid-sensor-trigger: Change get poll value function order to avoid sensor properties losing after resume from S3
8f189e1d0eca iio: adc: ti_am335x_adc: fix fifo overrun recovery
dcf879cb9ed3 mmc: ushc: fix NULL-deref at probe
2c251e568e1a uwb: hwa-rc: fix NULL-deref at probe
815321da2e26 uwb: i1480-dfu: fix NULL-deref at probe
14a2032287d4 usb: hub: Fix crash after failure to read BOS descriptor
47285be050ca usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer
a7cb1fafe429 USB: wusbcore: fix NULL-deref at probe
d6389d6abb8a USB: idmouse: fix NULL-deref at probe
a7712869e2e7 USB: lvtest: fix NULL-deref at probe
73490abe249c USB: uss720: fix NULL-deref at probe
2c929ea720f9 usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk
8a8a8007871a usb: gadget: f_uvc: Fix SuperSpeed companion descriptor's wBytesPerInterval
19f0fe67b9d0 ACM gadget: fix endianness in notifications
9218793a39de USB: serial: qcserial: add Dell DW5811e
8f0f081647cc USB: serial: option: add Quectel UC15, UC20, EC21, and EC25 modems
1ea551eec703 ALSA: hda - Adding a group of pin definition to fix headset problem
ed00b613bbcb ALSA: ctxfi: Fix the incorrect check of dma_set_mask() call
b55ffcb1bc8a ALSA: seq: Fix racy cell insertions during snd_seq_pool_done()
549993001e7d Input: sur40 - validate number of endpoints before using them
b3c4c0c470b5 Input: kbtab - validate number of endpoints before using them
c05490638ddf Input: cm109 - validate number of endpoints before using them
e916f1d6188e Input: yealink - validate number of endpoints before using them
0812c6855c89 Input: hanwang - validate number of endpoints before using them
6bed7c1e2b78 Input: ims-pcu - validate number of endpoints before using them
a07d3669654a Input: iforce - validate number of endpoints before using them
5f9243e4fca6 Input: i8042 - add noloop quirk for Dell Embedded Box PC 3000
9ac7bd114e13 Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw
afaed241928f tcp: initialize icsk_ack.lrcvtime at session start time
95aa915c2f04 socket, bpf: fix sk_filter use after free in sk_clone_lock
38dece41e5be ipv4: provide stronger user input validation in nl_fib_input()
85f00dac91a1 net: bcmgenet: remove bcmgenet_internal_phy_setup()
fdcee7c1e2f8 net/mlx5e: Count LRO packets correctly
9d1894cba25c net/mlx5: Increase number of max QPs in default profile
610c6bcc5fcf net: unix: properly re-increment inflight counter of GC discarded candidates
ae43f9360a21 amd-xgbe: Fix jumbo MTU processing on newer hardware
f3126725228c net: properly release sk_frag.page
12f0bffc489d net: bcmgenet: Do not suspend PHY if Wake-on-LAN is enabled
b362d6735156 net/openvswitch: Set the ipv6 source tunnel key address attribute correctly
a5c3f390eb77 Linux 4.4.57
5fa513cb0721 ext4: fix fencepost in s_first_meta_bg validation
d88b83e66bbf percpu: acquire pcpu_lock when updating pcpu_nr_empty_pop_pages
e08f608ab428 gfs2: Avoid alignment hole in struct lm_lockname
4f47ca488256 isdn/gigaset: fix NULL-deref at probe
d267ecbdfdb4 target: Fix VERIFY_16 handling in sbc_parse_cdb
246760c61d9c scsi: libiscsi: add lock around task lists to fix list corruption regression
82bd06aba880 scsi: lpfc: Add shutdown method for kexec
0a621633cdfa target/pscsi: Fix TYPE_TAPE + TYPE_MEDIMUM_CHANGER export
582f548924cd md/raid1/10: fix potential deadlock
b24473976b98 powerpc/boot: Fix zImage TOC alignment
09875d1393d4 cpufreq: Fix and clean up show_cpuinfo_cur_freq()
f02729f2ab87 perf/core: Fix event inheritance on fork()
4cb0c0b73d1c give up on gcc ilog2() constant optimizations
6052eb871217 kernek/fork.c: allocate idle task for a CPU always on its local node
6cc5b73d7969 hv_netvsc: use skb_get_hash() instead of a homegrown implementation
cea050150323 tpm_tis: Use devm_free_irq not free_irq
13a26889cbc1 drm/amdgpu: add missing irq.h include
68ea3948ed3d s390/pci: fix use after free in dma_init
50730d7f361f KVM: PPC: Book3S PR: Fix illegal opcode emulation
e2d9577854f5 xen/qspinlock: Don't kick CPU if IRQ is not initialized
b1a0f744f8e6 Drivers: hv: avoid vfree() on crash
0a2512768f16 Drivers: hv: balloon: don't crash when memory is added in non-sorted order
3787a071d145 pinctrl: cherryview: Do not mask all interrupts in probe
962c66c74184 ACPI / video: skip evaluating _DOD when it does not exist
12e1a3cd11ea cxlflash: Increase cmd_per_lun for better throughput
f8c07cbc2e72 crypto: mcryptd - Fix load failure
10659b8f5c60 crypto: cryptd - Assign statesize properly
c78c3376ec67 crypto: ghash-clmulni - Fix load failure
45d9558837d4 USB: don't free bandwidth_mutex too early
ac1a97d8a562 usb: core: hub: hub_port_init lock controller instead of bus
(From OE-Core rev: 52a6823d4279d580a2b4bbfdc06234a903a17d93)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On the do_uboot_mkimage task from kernel-uimage.bbclass, in case
KEEPUIMAGE is different than the default "yes" value, the uboot-mkimage
command fails because the path of the created uImage does not exist.
On this task, we are under the BUILDDIR so there is no folder arch/<ARCH>/boot.
Add the ${B} (for kernel build directory) as prefix to this folder fixes the problem.
(From OE-Core rev: e5a6ee0d0655827d06a6030380277ee61a6db0ef)
Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use pwd data instead of os.getlogin() to get the username for fallback
email address. os.getlogin() basically returns the name of the user
logged in on the controlling terminal of the process and raises an
exception on some systems if the process does not have a controlling
terminal - when executed from a cron script, for example.
(From OE-Core rev: 66b7f495bb000c043ae24176dcdec0cb087eeecf)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting SANITY_TESTED_DISTROS or PRSERV_HOST are known to break oe-selftest.
Rather than have the user experience this, refuse to execute unless the
environment is correct.
Ideally we'd try and unset these but that is a more invasive change and this
at least makes people aware of the problem.
[YOCTO #11292]
(From OE-Core rev: 0c9b981e88c76da316e76f17e6da3a03b87c5008)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was found a case (see the bugzilla entry) where two runners were running at the same
second, creating identical test result folders, so one of them (the second runner)
was not able to create the folder because the other has already created it,
raising the following exception (many text was removed from log)
NOTE: Executing RunQueue Tasks
NOTE: Running task 1 of 2 (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/meta/recipes-core/images/core-image-minimal.bb:do_testsdkext)
NOTE: Running task 2 of 2 (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/meta/recipes-sato/images/core-image-sato.bb:do_testsdkext)
NOTE: recipe core-image-sato-1.0-r0: task do_testsdkext: Started
NOTE: recipe core-image-minimal-1.0-r0: task do_testsdkext: Started
.
.
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_testsdkext(d)
0003:
File: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/meta/classes/testsdk.bbclass', lineno: 188, function: do_testsdkext
0184:
0185:testsdkext_main[vardepsexclude] =+ "BB_ORIGENV"
0186:
0187:python do_testsdkext() {
*** 0188: testsdkext_main(d)
0189:}
0190:addtask testsdkext
0191:do_testsdkext[nostamp] = "1"
0192:
File: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/meta/classes/testsdk.bbclass', lineno: 171, function: testsdkext_main
0167: except Exception as e:
0168: import traceback
0169: bb.fatal("Loading tests failed:\n%s" % traceback.format_exc())
0170:
*** 0171: result = tc.runTests()
.
.
File: '/usr/lib64/python3.5/os.py', lineno: 241, function: makedirs
0237: cdir = bytes(curdir, 'ASCII')
0238: if tail == cdir: # xxx/newdir/. exists if xxx/newdir exists
0239: return
0240: try:
*** 0241: mkdir(name, mode)
0242: except OSError:
0243: # Cannot rely on checking for EEXIST, since the operating system
0244: # could give priority to other errors like EACCES or EROFS
0245: if not exist_ok or not path.isdir(name):
Exception: FileExistsError: [Errno 17] File exists: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/build/TestResults_20170409130114'
[YOCTO #11318]
(From OE-Core rev: 10aa09d39c1b70ce2a88f59601f1f8dbc96ed817)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is fairly common that BSP layers enable recipes when choosing
machines from that layer without checking whether the recipe actually
builds in the current distro. That breaks "bitbake world", retrieving
signatures and thus the test_machine_signatures test.
It's better to let that test continue with the signatures that can be
retrieved and report the broken world build separately. Right now, the
new test_machine_world iterates over all machines. More elegant and
useful in combination with a (currently missing) selection of which
tests to run would be to generate one test instance per machine. But that
is not straightforward and has to wait.
The "-k" argument alone was not enough to proceed despite failures,
because bitbake then still returns a non-zero exit code. The existance
of the output file is taken as sign that the bitbake execution managed
was not fatally broken.
(From OE-Core rev: 02f5d7836b726e40fef82b50b8145acc839b360b)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Selecting a machine is only allowed to affect the signature of tasks
that are specific to that machine. In other words, when MACHINE=A and
MACHINE=B share a recipe foo and the output of foo, then both machine
configurations must build foo in exactly the same way. Otherwise it is
not possible to use both machines in the same distribution.
This criteria can only be tested by testing different machines in combination,
i.e. one main layer, potentially several additional BSP layers and an explicit
choice of machines:
yocto-compat-layer --additional-layers .../meta-intel --machines intel-corei7-64 imx6slevk -- .../meta-freescale
To simplify the analysis and limit the amount of output, mismatches
are sorted by task order such that tasks that run first are also
reported first. Following tasks for the same recipe and set of
machines then get pruned, because they are likely to be different
because of the underlying task (same approach as in
test_signatures). The difference here is that we get information about
all machines. The task order in the base configuration serves as
heuristic for sorting that merged list.
The test has already found issues in go-cross (depended on
tune-specific libgcc) and gdb-cross (had a tune-specific path
unnecessarily), so it is also useful to uncover issues that are not
caused by the BSP layer itself.
(From OE-Core rev: cb0d3de4540e412cfcb7804b4b1689141c80e3a1)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If devtool is called with a URL to a source repository containing a
node.js module, we don't know that until recipetool has fetched it, and
due to the structure of the code we have to exit with a special code in
order to let devtool know it needs to build nodejs-native. We also want
to suppress the error message that recipetool would normally print under
these circumstances; there is already a mechanism for this but it wasn't
operative in the case where we're pointed to a source repository rather
than an npm:// URL, so create some plumbing so that we know to hide the
message.
(From OE-Core rev: 0c2d0fbb1c6c5b82183799eb7ef80074f86bcfc4)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If recipetool returns with exit code 14 this means devtool needs to
build nodejs-native and then call it again. If recipetool returns exit
code 14 again then clearly something has gone wrong and we should just
quit with an error.
(From OE-Core rev: 8d7cced6e06d7c2037f5ab75ac859f501129532e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The change over to recipe specific sysroots means that we can no longer
get a known location simply from configuration for the npm binary - we
need to get the recipe sysroot for nodejs-native, look there for npm if
we need to check it's present, and add that to PATH when calling out to
npm. Unfortunately this means anywhere we need to get that path we have
to have parsed all recipes, otherwise we have no reliable way of
resolving nodejs-native. Thus we have to change recipetool create to
always parse all recipes (the structure of the code does not allow us to
do this conditionally).
In the worst case, if npm hasn't already been added to its own sysroot
and we are fetching from a source repository rather than an npm
registry, this gets a bit ugly because we end up parsing recipes three
times:
1) recipetool startup, which then fetches the code and determines it's
a node.js module, finds that npm isn't available and then exits with
a specific error to tell devtool it needs to build npm
2) when we invoke bitbake -c addto_recipe_sysroot nodejs-native
3) when we re-invoke recipetool
This code is badly in need of refactoring, but now is unfortunately not
the time to do that, so we're going to have to live with this ugliness
for now.
Fixes [YOCTO #10992].
(From OE-Core rev: acfdbd796c99882b8586023c8c6b848716105c8d)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE-Core commit c0cfd9b1d54b05ad048f444d6fe248aa0500159e added handling
for AND / OR in license strings coming from npm, but made the assumption
that an & would always be present in the license value. Check if it's
there first so we don't fail if it isn't.
(From OE-Core rev: abe2955df2dc558de6068d9373dfcb47d690704b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fixed:
The netmap has been blacklisted in
meta-networking/recipes-kernel/netmap/netmap_git.bb, but lib32-netmap still can
be built (suppose it doesn't depend on another broken recipe netmap-modules, it
is a little complicated, will talk below):
$ bitbake lib32-netmap
This is because of the old code masks on bb.event.ConfigParsed which can only
handle global blacklist, netmap sets blacklist in the recipe, so it can't be
handled, and lib32-netmap can be built. which was incorrect:
blacklist_multilib_eventhandler[eventmask] = "bb.event.ConfigParsed"
Move multilib code into multilib.bbclass can fix the problem easily:
$ bitbake lib32-netmap
ERROR: Nothing PROVIDES 'lib32-netmap'
ERROR: lib32-netmap was skipped: Recipe is blacklisted: BROKEN: <foo>
* Not fixed
Another problem is netmap-modules has also been blacklisted in the recipe, and
the recipe inherits module.bbclass, so multilib.bbclass doesn't handle it as the
code shows:
# There should only be one kernel in multilib configs
# We also skip multilib setup for module packages.
provides = (e.data.getVar("PROVIDES") or "").split()
if "virtual/kernel" in provides or bb.data.inherits_class('module-base', e.data):
raise bb.parse.SkipPackage("We shouldn't have multilib variants for the kernel")
And netmap-modules provides lib32-netmap-modules which is handled in
multilib_global.bbclass, so bitbake lib32-netmap-modules can't show
the blacklist message:
$ bitbake netmap-modules
ERROR: Nothing PROVIDES 'netmap-modules'
ERROR: netmap-modules was skipped: Recipe is blacklisted: BROKEN: <foo>
ERROR: netmap-modules was skipped: We shouldn't have multilib variants for the kernel
$ bitbake lib32-netmap-modules
ERROR: Nothing PROVIDES 'lib32-netmap-modules'. Close matches:
netmap-modules
netmap-modules
lib32-fbset-modes
Note the different messages between netmap-modules and lib32-netmap-modules.
This is because multilib.bbclass doesn't handle the "module" recipe so
there is no PN called lib32-netmap-modules, therefore blacklist.bbclass can't
handle it.
Note, there are two "netmap-modules" which needs to be fixed later.
(From OE-Core rev: c8749ed1edcbb544f6656ee5da80f2cf647c405a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10995]
I applied some revisions to the related sections for incrementing
a binary package version and revision sections. Mainly clarified
terminology and pulled the sections into one single section head.
I also cleaned up referencing to all these sections throughout the
YP manual set (i.e. the ref-manual).
(From yocto-docs rev: 7deda18dd496cc383c5de71a10f2b11b1ca0688f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10995]
For the dev-manual, I added a new section on incrementing package
revision numbers that explains how the build system uses various
variables to create linearly numbered revisions for packages.
For the ref-manual, I cross-referenced into the new section from the
AUTOSRC and SRCREV variables.
(From yocto-docs rev: 53c3092e0f0293f4db0a88659abb4cf1c93f208c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #8596]
Added a new section to describe the right way to use headers to
interface to a device or custom Linux kernel API. Too often a
user wants to modify the libc header file, which absolutely wrong.
This new section provides some guidance.
(From yocto-docs rev: 960c49bf6446398a9efb2d018d09d63b49e97196)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11274]
When a post-installation or pre-installation script uses tools that
have dependencies, you need to specify the tools using the new
PACKAGE_WRITE_DEPS variable. I added this information at the end
of the "Post Installtion Scripts" section in the dev-manual.
I also added a new variable entry for the PACKAGE_WRITE_DEPS variable
in the glossary.
(From yocto-docs rev: 4d130b63cba5ebabd4af52b62421d387a4b54353)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10887]
I placed a small paragraph at the end of the introduction to the
"Performing Automated Runtime Testing" section that points into the
new section on QA and testing infrastructure in the ref-manual.
(From yocto-docs rev: 493051e1770e07b89c19a1f235f1dd226610c77a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10887]
There needed to be an overview of the test and QA infrastructure
used by the YP development team for releases and that is visible
to the developer. I added a new section for this information into
the existing section on YP release processes.
(From yocto-docs rev: 17b3d6898b37bdbfbd23a333a4d659a9746696d0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10596]
No information existed for the version 1.0 YP Compatibility Program
for layers. Additionally, the version 2.0 flavor is adding a script
as part of the application process. I put in a new section on the
whole topic. Also, integrated the information into relevant sections
with some cross-referencing.
(From yocto-docs rev: 6341705d4c08901b2657c489f4e995968db00d85)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is common for *ash shells to have 'command' available as a built-in
function. POSIX 2008 also documents the availability of this command.
Additionally the /etc/profile of base-files requires this command to be
available as of commit e77cdb7611 ("base-files: profile: Do not assume
that the tty command exists"). If it is not available the following
message is output during login on a image using busybox.
-sh: command: not found
It however should be noted that tcsh and csh do not provide 'command'
(built-in or otherwise).
(From OE-Core rev: e41c90b852167bbcb434da57b84280e855acae33)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recipes/variables that raise a SkipRecipe exception are intentionally
skipped, and should not generate warnings.
[YOCTO #11319]
(Bitbake rev: edf6e6094a9f7ad4b2ba06eef8fd34756edbedce)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We clear append/prepend on newly set variables, we should also clear
remove operations. If we don't do this, there is no way we can actually
delete a remove operation. Bitbake internally uses parsing=True to avoid
these side effects when making its own internal calls.
Also add a testcase to bitbake-selftest to ensure we remain consistent going
forward from here.
(Bitbake rev: 3a319f079d699c870d8531e051ab65e6278d1fa5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed dependency to core-image-minimal rootfs from the
recipe and .wks file. This was a bad idea as recipes are
not allowed to use other recipe's rootfs or anything else
from workdir.
This should also fix test_qemu test case when rm_work is
enabled.
(From OE-Core rev: 0f1879982ab6006f14ac2c9f5546a7b1f79460cd)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new --addditional-layers parameter takes a list of layer
directories and adds them to the build configuration before starting
testing. The resulting base configuration then more closely matches
a full distro.
This is relevant in two cases:
1. some layers like meta-freescale dynamically enable more recipes
in their layer.conf depending on which other layers are active,
so testing only against OE-core might miss problems which occur
only when also some other layers are active
2. BSP layers might be fine in combination with machines from
OE-core, but might break in combination with some other machines
As before, test_signatures only warns about signature changes
introduced by the layer which is under testing, and not those changes
introduced by the additional layers.
(From OE-Core rev: 0e8528f7c6201e8a5d2799123241c0e1b85081ce)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
locked-sigs.inc groups tasks according to their tune flags (allarch,
i586, etc.). Also retrieve that information while getting signatures,
it will be needed to determine when setting a machine changes tasks
that aren't machine-specific.
(From OE-Core rev: 67f9a8759f47680dbf349797801b2a1e8d149377)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After filtering out potential false positives, it becomes feasible to
include the output of bitbake-diffsigs for those tasks which
definitely have a change.
Depends on bitbake-diffsigs with the "--signature" parameter.
Enhanced output now is:
AssertionError: False is not true : Layer meta-xxxx changed 120 signatures, initial differences (first hash without, second with layer):
gstreamer1.0-plugins-base:do_fetch: 76973f19f2e30d282152bdd7e4efe5bb -> e6e7c6fa9f2bd59d7d8d107f7c6ca1ac
Task dependencies changed from:
['PV', 'SRCREV', 'SRC_URI', 'SRC_URI[md5sum]', 'SRC_URI[sha256sum]', 'base_do_fetch']
to:
['GST_IMX_PATCHES_TO_APPEND', 'PV', 'SRCREV', 'SRC_URI', 'SRC_URI[md5sum]', 'SRC_URI[sha256sum]', 'base_do_fetch']
basehash changed from d679d30bd1ea41c56e57419b57587f3c to 090a79b45f5fa26d10f9d34e2ed7a1e6
List of dependencies for variable SRC_URI changed from '{'PV', 'SRC_URI[md5sum]', 'SRC_URI[sha256sum]'}' to '{'GST_IMX_PATCHES_TO_APPEND', 'PV', 'SRC_URI[md5sum]', 'SRC_URI[sha256sum]'}'
changed items: {'GST_IMX_PATCHES_TO_APPEND'}
Dependency on variable GST_IMX_PATCHES_TO_APPEND was added
Variable SRC_URI value changed:
" http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${PV}.tar.xz file://get-caps-from-src-pad-when-query-caps.patch file://0003-ssaparse-enhance-SSA-text-lines-parsing.patch file://0004-subparse-set-need_segment-after-sink-pad-received-GS.patch file://encodebin-Need-more-buffers-in-output-queue-for-bett.patch file://make-gio_unix_2_0-dependency-configurable.patch file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch file://0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch file://0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch file://0003-riff-add-missing-include-directories-when-calling-in.patch file://0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch [--] {+${GST_IMX_PATCHES_TO_APPEND}+}"
pulseaudio:do_install: 6bb6fe23e11a6d5fef9c3a25e73e4f9c -> 3f54ea75673a792e307197cfa6ef2694
basehash changed from ac4efcfa783bd04a5a98a2c38719aedd to 37679d99623a37c8df955da3a01415a5
Variable do_install value changed:
@@ -1,3 +1,7 @@
autotools_do_install
install -d ${D}${sysconfdir}/default/volatiles
install -m 0644 ${WORKDIR}/volatiles.04_pulse ${D}${sysconfdir}/default/volatiles/volatiles.04_pulse
+ if [ -e "${WORKDIR}/daemon.conf" ] && [ -e "${WORKDIR}/default.pa" ]; then
+ install -m 0644 ${WORKDIR}/daemon.conf ${D}${sysconfdir}/pulse/daemon.conf
+ install -m 0644 ${WORKDIR}/default.pa ${D}${sysconfdir}/pulse/default.pa
+ fi
[YOCTO #11161]
(From OE-Core rev: 312edd42b6cc553de4d476c76e8e36a882e11cdd)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"yocto-compat-layer.py --machines" showed that shared packages like
gcc-cross-powerpc64 have a sstate signature that depends on
TUNEFLAGS. As a result, there are unnecessary rebuilds and potential
conflicts in a multiconfig.
That's due to the way how TARGET_ARCH is set. Richard Purdie suggested
setting TARGET_ARCH[vardepvalue] as fix, which works. It would be
shorter to do that in cross.bbclass instead of repeating the relevant
line in different recipes, but Richard was concerned about potential
side-effects in other usages of cross.bbclass.
TARGET_GOARM as used in go.inc is still causing signature differences
for go-cross-powerpc64 and machines b4420qds-64b and p5020ds-64b. This
needs further investigation.
(From OE-Core rev: 39bfa0dd3237cbca47e7fca1075d521f9d073f25)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gdb-cross used to be specific to the tune flags, but isn't
anymore. Therefore it is enough to use TARGET_SYS instead of
TUNE_PKGARCH to create a unique path.
Fixes a sstate signature difference that was found via
yocto-compat-layer.py's test_machine_signatures check. In practice it
probably showed up as unnecessarily rebuilding gdb-cross when
switching between machines like intel-corei7-64 and qemux86-64.
(From OE-Core rev: f346473a4868563db7fb63665e808c3fe25a8b58)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libgcc gets compiled differently depending on the tune flags for the
target. That dependency would make go-cross also tune specific and
prevent sharing it between different machines using the same
architecture.
For example, MACHINE=intel-corei7-64 and MACHINE=qemux86-64 shared the
same go-cross-x86_64, but compiled libgcc differently.
The libgcc dependency gets inherited from go.inc, but does not seem to
be necessary for go-cross (compiling go-helloworld still succeeds).
The dependency is left in go.inc conditionally, just in case that it
really is relevant for the various on-target recipes which inherit
that.
Because go-cross*.bb includes go*.bb, moving the DEPENDS into a .inc
file that only gets included for the target recipes doesn't
work. Reshuffling the content of three .bb files seems too intrusive
at this point.
(From OE-Core rev: 58149a7be4172074349951aaf5af95fa40fd4bdb)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has removed the 1.14.1 release from ftp.gnu.org and
moved to the latest 1.14.2. Since we don't want to upgrade at
this point of time, temporarily move the SRC_URI to yoctoproject
mirror.
(From OE-Core rev: a2f1026b3d8c9f9810cb4389a8a93fabb04e15a4)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There seems to be little advantage to letting distro features affect
native builds. There is a significant disadvantage: a change to
DISTRO_FEATURES will trigger a lot of unnecessary native tasks. In a
test like this:
$ bitbake core-image-minimal
# append " systemd" to DISTRO_FEATURES
$ bitbake core-image-minimal
The latter build takes 44 minutes (28%) of cpu-time less with this
patch (skipping 135 native tasks). Sadly wall clock time was not
affected as glibc remains the bottleneck.
Set native distro features to DISTRO_FEATURES_NATIVE appended with
an intersection of DISTRO_FEATURES and DISTRO_FEATURES_FILTER_NATIVE.
Current default values (baitbake.conf) are
* DISTRO_FEATURES_FILTER_NATIVE ?= "api-documentation" (as gtk-doc-native
has much less dependencies when built without it)
* DISTRO_FEATURES_NATIVE ?= "x11" (to enable native UIs even if target
does not containe them)
Do the variable setting in native_virtclass_handler() because otherwise
it could still be overridden by appends and the feature backfilling.
Shuffle the early returns so DISTRO_FEATURES gets set as long as
the packagename ends with "-native".
Add similar variables for nativesdk.
To make nativesdk work we need to enable the locale options so
nativesdk-glibc-locales can build and to avoid the init manager check
in the nativesdk case so add those fixes.
(From OE-Core rev: 731744d5538e315702be828e6f2bd556309dee07)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds repo_name as the name, which is the same as the
repo ID and hence a bit pointless, but it stops dnf from
complaining that the repo doesn't have a configured name.
(From OE-Core rev: c92cff23893e87cfb7ef9f77b16761310104543a)
Signed-off-by: Ian.Arkver <ian.arkver.dev@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, runqemu grep root=/dev/sd or root=/dev/hd on the image, and
would use vda if no grep result, now we have set QB_DRIVE_TYPE to
"/dev/sd" by default, and the device will be /dev/sda, so use sda to
replace vda in the test case.
(From OE-Core rev: a722016df3f452f7a870157a99a1abb7d97d8280)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added new parameter 'api' to sparse_copy function to specify
underlying filemap API to use. By default sparse_copy will
try both available APIs.
Added test case for sparse_copy to wic test suite.
(From OE-Core rev: 88701cef6ba399e82f96ed1b0eef9a44ed8c1687)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, runqemu grep root=/dev/sd or root=/dev/hd on the image, and
would use vda if no grep result, now we have set QB_DRIVE_TYPE to
"/dev/sd" by default, and the device will be /dev/sda, so use sda to
replace vda in the test case.
(From OE-Core rev: 3f1f42984021d87ac43aaa16f38b706c2c965e02)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can use self.rootfs as self.nfs_dir when self.fstype is nfs, this can
reduce the code's complexity and we can re-use the code of checking
ROOTFS conflictions.
(From OE-Core rev: 1aafa13ae6faf620acac7338c42a8838e75da6b9)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, runqemu grep root=/dev/sd or root=/dev/hd on the image, and
would use vda if no grep result, now we have set QB_DRIVE_TYPE to
"/dev/sd" by default, and the device will be /dev/sda, so use sda to
replace vda in the test case.
(From OE-Core rev: aa8df7e17bb4bb0a92938cbc36cd8b22bcf14cfa)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when the image is large and not enough memory:
grep: memory exhausted
Aborted
[YOCTO #11073]
(From OE-Core rev: a99deb30a0138594147ae28aab016fe4b74b8959)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we can get MACHINE and others from env vars and "bitbake -e",
"runqemu" can work without any arguments.
(From OE-Core rev: 9ebcb2b6f41420ae3686afad03bb26a68cfacf95)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use self.env_vars to support get vars from environment explicity. The
MACHINE, ROOTFS and KERNEL was supported by shell based runqemu, and
the help text says support them from env vars, so add them back.
[YOCTO #11141]
(From OE-Core rev: 20008d0bfe2cacecba77e11b0a0faf3d959eaf1e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To fix a problem when print ERROR after a ptest timeout, this
causes the user confusion about if a test ends or not.
[YOCTO #10842]
(From OE-Core rev: 210c518ba8f8d6ec6e9d34e0df8b963a3b2e0593)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch ensures videometa is added to mem2mem decoder output in case
the output frames have padding rows/columns
(From OE-Core rev: ef94ffee8f11db57ecea398af76dc22576c2068a)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Dependencies on svn:// urls were failing as the cleandirs on do_fetch was destroying
any sysroot setup by the extend_recipe_sysroot function.
Add code so that if the task do_fetch, we move the cleandirs to a separate function before
the extend_recipe_sysroot prefunc else we'd wipe out the sysroot we just created.
This allows fetcher do_populate_sysroot dependencies to work correctly again.
I did try various other approaches and a seperate function with cleandirs was the
cleanest way to add this without code duplication or too much complexity.
(From OE-Core rev: b32fbfc85b14059f0bfdeeffe2c52f8d3c20f276)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport upstream commit to address vulnerabilities:
CVE: CVE-2017-6965
[BZ 21137] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21137
Fix readelf writing to illegal addresses whilst processing corrupt input
files containing symbol-difference relocations.
PR binutils/21137
* readelf.c (target_specific_reloc_handling): Add end parameter.
Check for buffer overflow before writing relocated values.
(apply_relocations): Pass end to target_specific_reloc_handling.
CVE: CVE-2017-6966
[BZ 21139] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21139
Fix read-after-free error in readelf when processing multiple, relocated
sections in an MSP430 binary.
PR binutils/21139
* readelf.c (target_specific_reloc_handling): Add num_syms
parameter. Check for symbol table overflow before accessing
symbol value. If reloc pointer is NULL, discard all saved state.
(apply_relocations): Pass num_syms to target_specific_reloc_handling.
Call target_specific_reloc_handling with a NULL reloc pointer
after processing all of the relocs.
(From OE-Core rev: 8c52a530ba2beb438aa47956bcec3777a1eafe5f)
Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move config/Makefile in libdir from core package to dev package for
python, because it is only needed in development process.
(From OE-Core rev: 8b55d055f046677c18eeaefe3ca18869eedeb14d)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All build project test cases will try to copy the requested source
artefacts from DL_DIR before fetching. This testcase is referencing bzipped
tarball whereas the recipe fetches a gzipped tarball.
Switch to fetching the gzipped tarball in the test case so that we're able
to use a cached tarball from DL_DIR
(From OE-Core rev: 27a5883e8ae01e69f5425efe8b035bea7087b2f9)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the TaskArtifacts event to scan the SDK and ESDK manifests
to cleanly collect the respective artifact files.
The previous method was broken when the SDK file deployment moved
from the do_populate_sdk[_ext] tasks to their sstate tasks. That
method is disabled (but not yet removed) in preparation for the
rest of refactor work for the parent #10283 work.
[YOCTO #10850]
(From OE-Core rev: a6ec56d372f833be50f57bcb79b6ebe78bb93be0)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Save a file per task listing sha256sums for each file staged, i.e.
the output of the task. Some caveats:
1) This only covers sstate tasks since it uses SSTATEPOSTUNPACKFUNCS,
however those are generally the most interesting in terms of output
anyway.
2) The signature is taken before applying any relocations, so any
relocated files will actually have different signatures, but that's
churn that you probably won't want to see here.
3) At the moment if you run the same build twice without sstate you will
very likely see changes in the output for certain tasks due to things
like timestamps being present in the binary output. Fixing that is
a general Linux ecosystem problem - see this page for our efforts to
resolve it on our side:
https://wiki.yoctoproject.org/wiki/Reproducible_Builds
NOTE: you need to set your BUILDHISTORY_FEATURES value to include
"task" to enable collection of these signatures as it is is disabled by
default.
(From OE-Core rev: ca5d1273432e20059ab66d721a9eb314a54e81e7)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Append to the value with appendVarFlag() instead of setting it outright,
so that we can also append to it in other places. Accordingly, this
varflag is pipe-separated (since we want to be able to exclude any
string fragment, in this case including the leading space), thus put a
leading pipe character to play nicely with any existing value.
(From OE-Core rev: a147838c3dfd4c53084a19b052b8d4e183293412)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the code underpinning bitbake-diffsigs to add an option to
buildhistory-diff to determine and display the differences between the
actual signature inputs, with a twist - we collapse identical
changes across different tasks, showing only the most recent task to
have that difference, meaning that there's less noise to wade through
when you just want to know what changed in order to cause some
rebuilding you're seeing.
(From OE-Core rev: 86cb4b01f2020553902554e512c02147eb4e0f51)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having added writing out of the task signature list to buildhistory
(when BUILDHISTORY_FEATURES includes "task"), we now need a way to
compare the list. This just shows which tasks have been added / changed
signature / removed.
(From OE-Core rev: 63bd7e9f780a98dda458d612877495756bcc5463)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we want to determine what changed since the last build, one angle
from which to look at it is to check the signatures. However, if we
don't actually have the signatures from the last build we don't have
anywhere to start. Save the signatures on each build in order to give us
the starting point.
NOTE: you need to set your BUILDHISTORY_FEATURES value to include
"task" to enable collection of these signatures as it is is disabled by
default.
(From OE-Core rev: 11f68f65c46c5bc26ddeeade3021e83b3a7f895a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the cwd is named "buildhistory" and the user hasn't specified an
alternative path on the command line, then assume that the current
directory is the buildhistory directory. This makes it easier to run
buildhistory-diff and also interact with the buildhistory git repository
as you no longer have to jump into the buildhistory directory and up to
the parent again when doing so.
(From OE-Core rev: e4ccec2e4c2f521a2bb473083b42aefd494eea23)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 54807d47 aarch64: add single instruction math functions
* b6e1fe0d fix strptime output for %C without %y
* 834ef7af fix processing of strptime %p format
* 85dfab7e fix off-by-one in strptime %j
* 9571c531 regex: fix newline matching with negated brackets
* e6917ece increase limit on locale name length from 15 to 23 bytes
* e4fc9ad7 search locale name variants for gettext translations
* 16319a5d make setlocale return a single name for LC_ALL if all categories match
* 0c53178e fix dlopen/dlsym regression opening libs already loaded at startup
* dbff2bb8 fix POSIX-format TZ dst transition times for southern hemisphere
* 74bca42e s390x: fix fpreg_t and remove unused per_struct
* a393d5cc precalculate gnu hash rather than doing it lazily in find_sym inner loop
* 8cba1dc4 fix threshold constants in j0f, y0f, j1f, y1f
(From OE-Core rev: 340b3fa6be034bf6a4cd9b2d1ad4788668fabb5b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to github.com.
Update the ${PN} to ${BPN} in order to pass the autobuilder
mulitlib enable configuration.
[YOCTO #11226]
(From OE-Core rev: 73a358bdef99771b493fefb5114a936138cb78ce)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabling or disabling buildhistory caused a rebuild of images, which
is undesirable. For example, it prevented image reuse from a main
build with buildhistory in a following oe-selftest where buildhistory
must be disabled.
The reason are the additional ROOTFS_POSTUNINSTALL_COMMAND and
ROOTFS_POSTUNINSTALL_COMMAND entries. Those need to be excluded both
via vardepvalueexclude and vardepsexclude.
(From OE-Core rev: e4c28ea05ef4514deb3d19e8e33f81d352712455)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default the feed_archs variable is split into single characters
resulting in very many broken short repo_uris. Add a split() to
split the string into words first.
(From OE-Core rev: 7bd6a4d56c08bf7f9ced7c07327e6163216fee08)
Signed-off-by: Ian.Arkver <ian.arkver.dev@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gnu-efi needs to be build for 64bit since it is a boot time tool. It
needs these 2 headers to be in 64 bit versions, we can use the existing
32bit ones as there is not really any difference.
[YOCTO #11051]
(From OE-Core rev: 3398552663e1e18aaf352d682a77a8ad3af94e5a)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The method "prioritized" returns a list sorted by the value
of the "priority" field, in descending order. However, if several
list items have the same priority, the ordering of those items
within the priority-sorted list becomes random. As a consequence,
we may end up with a non-deterministic oe-terminal spawning, as several
terminals have the same priority. So running commands such as
$ bitbake xxx -cdevshell
$ bitbake yyy -cmenuconfig
may spawn a different terminal each time, for example sometimes Gnome
and sometimes Konsole as hey have the same priority.
Rather than modifying the priorities so they all differ, we sub-sort
the list based on (terminal) names.
This way we achieve a deterministic outcome.
[YOCTO#10938]
(From OE-Core rev: 82ae62f28dd2d5fb2fb261478ac6161315ac6c38)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.4, 4,9 and 4.10.
(From meta-yocto rev: ee6e8f2926a7e2bd02b6b7991ba30ea6e6c9f2f2)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After the change in kernel commit a291b6b3d287 ("ARM: dts:
am335x-boneblack: Add blue-and-red-wiring -property to LCDC node"),
the pixel format we support for 32bit bpp has been changed from
XRGB8888 to XBGR8888. But the fbdev created by modesetting driver use
the XRGB8888 format by default, this causes the X malfunction. There is
no easy way to adjust the pixel format of the fbdev created by the
modesetting driver. So we create a xorg.conf to use the 16bit bpp to
work around this issue.
[YOCTO #11267]
(From meta-yocto rev: 1ef8a9584298a8745a28c0c92fa3ecbf92ffe494)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the TaskArtifacts event to scan the SDK and ESDK manifests
to cleanly collect the respective artifact files.
The previous method was broken when the SDK file deployment moved
from the do_populate_sdk[_ext] tasks to their sstate tasks. That
method is disabled (but not yet removed) in preparation for the
rest of refactor work for the parent #10283 work.
[YOCTO #10850]
(Bitbake rev: 1360d7b847cc01031edb2f4b289fac9560d72fa7)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the move over to argparse we've made the two signature file arguments
optional and thus if -t is not in use we need to explicitly check if at
least one signature file has been specified - and if not, show an error
and the command-line help.
(Bitbake rev: 9011366689b26305281fcb2d412dcacece917e18)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a missing close quote in the layer add button, and
use the layer index for the xhr_layer call.
[YOCTO #11213]
(Bitbake rev: 54d61e7c64c97799de85b3563119f0f5d051675e)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There seems to be an issue with the patch, revert for now.
This reverts commit cd5e0a32184d98beb8d81e6b5527166d3ca4fb3c.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Dependencies on svn:// urls were failing as the cleandirs on do_fetch was destroying
any sysroot setup by the extend_recipe_sysroot function.
Add code so that if the task do_fetch, we move the cleandirs to the extend_recipe_sysroot
task else we'd wipe out the sysroot we just created.
This allows fetcher do_populate_sysroot dependencies to work correctly again.
(From OE-Core rev: cd5e0a32184d98beb8d81e6b5527166d3ca4fb3c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This script appears broken and is actively breaking build directories.
For example, binutils-cross-i586 gets run do_fetch to do_populate_sysroot by:
$ oe-selftest -r devtool.DevtoolTests.test_devtool_virtual_kernel_modify
then:
$ oe-selftest -r oescripts.BuildhistoryDiffTests.test_buildhistory_diff
wipes out the contents of tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/
but does not wipe out the corresponding stamps, then:
$ oe-selftest -r runtime-test.Postinst.test_postinst_rootfs_and_boot
needs binutils-cross-i586:do_populate_lic and if and only if this is
unavailable from sstate, it fails since it thinks the source is already
unpacked when it isn't resulting in:
WARNING: binutils-cross-i586-2.28-r0 do_populate_lic: Could not copy license file /home/pokybuild/yocto-autobuilder/yocto-worker/nigh
tly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/git/COPYING3.LIB to /home/pokybuild/yocto-autobuilder/yocto
-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/license-destdir/binutils-cross-i586/COPYING3.LI
B: [Errno 2] No such file or directory: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-l
inux/binutils-cross-i586/2.28-r0/git/COPYING3.LIB'
ERROR: binutils-cross-i586-2.28-r0 do_populate_lic: QA Issue: binutils-cross-i586: LIC_FILES_CHKSUM points to an invalid file: /home/
pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/git/COPYING3 [license-checksum]
and similar errors.
Its safer for users to wipe tmp than try and maintain scripts which try
to remove pieces of tmp and get it wrong so remove the script.
(From OE-Core rev: 809b23c829f352c0eae455ea89f53e2a9ee87f06)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cleanup-workdir isn't a partcularly good way to attempt to cleanup after
tests and in some cases is actively breaking the workdir. Whilst this is
a bug in cleanup-workdir, I'd prefer it didn't break tests, particularly
when as far as I can see, these calls are "belt and braces" and don't appear
to serve a specific purpose. If this introduces bugs, we should fix this
bugs.
For the purposes of history, binutils-cross-i586 gets run do_fetch to
do_populate_sysroot by:
$ oe-selftest -r devtool.DevtoolTests.test_devtool_virtual_kernel_modify
then:
$ oe-selftest -r oescripts.BuildhistoryDiffTests.test_buildhistory_diff
wipes out the contents of tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/
but does not wipe out the corresponding stamps, then:
$ oe-selftest -r runtime-test.Postinst.test_postinst_rootfs_and_boot
needs binutils-cross-i586:do_populate_lic and if and only if this is
unavailable from sstate, it fails since it thinks the source is already
unpacked when it isn't resulting in:
WARNING: binutils-cross-i586-2.28-r0 do_populate_lic: Could not copy license file /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/git/COPYING3.LIB to /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/license-destdir/binutils-cross-i586/COPYING3.LIB: [Errno 2] No such file or directory: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/git/COPYING3.LIB'
ERROR: binutils-cross-i586-2.28-r0 do_populate_lic: QA Issue: binutils-cross-i586: LIC_FILES_CHKSUM points to an invalid file: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/git/COPYING3 [license-checksum]
and similar errors.
(From OE-Core rev: a66857096df3f68d38271b3a6792150f009a54b1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The python-pycurl recipe can be used with python2 only even
though python3 is officially supported by upstream.
Create python3-pycurl recipe enabling the pycurl module for
python3.
(From OE-Core rev: 6cb9c0a4e75c647b38c81d2d7217b54b2fdfd972)
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use properly formatted fallback email address instead of just the
username.
(From OE-Core rev: 5e07504d7a74f0641e2a374b9d12590ce9c9cc89)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make it possible to provide (extra) command line arguments to the
oe-build-perf-test-email script via a new environment variable
OE_BUILD_PERF_REPORT_EMAIL_EXTRA_ARGS.
(From OE-Core rev: 9cdd4ea5e006fe326bdf39ea437b9ba61a66b778)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some distros (ubuntu 16.10, debian-testing) default to gcc configured with
--enable-default-pie (see gcc -v). This breaks e.g. prelink-native on a pie
default system if binutils-native was built on a system which is not pie default
We therefore enable pie unconditionally for native recipes where static libs are
used such as libiberty from binutils, for now, until our minimum distro set is
all default pie.
(From OE-Core rev: 80b450cca746f068dd63e4546fa4c1eef2d86a0d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The --disable-static option doesn't exist in ncurses. Its equivalent is
--without-normal so remove the option which does nothing.
(From OE-Core rev: 974ddd2f99be04f44978c1bce054ed75c9367631)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yes, the option to disable static libraries in boost really is
"--without-normal". Add this for ncurses and its variants.
(From OE-Core rev: 6b386e444e494b852b59a9f9e80426d564382139)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The intent in these tests was to find something early in the bootstrap
process to run tests against which didn't require long build times.
This breaks with the removal of the glibc-initial do_build target.
Replacing it with linux-libc-headers seems like a good choice
and simplifies the conditionals too.
(From OE-Core rev: c37d610272f9d0a506334ff9f724c025acace137)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some TARGET_* flags are being exported in bitbake.conf currently, so
they are impacting all the tasks of a cross-canadian recipe even they
are not in use at all.
This can lead a lot of churn when the cross-canadian sysroot are shared
by machines while they have defined different TARGET_* flags.
Fix it by overriding with BUILDSDK_* flags.
(From OE-Core rev: 767335c92b7cc657a008722a908380a3c89c3c66)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some TARGET_* flags are being exported in bitbake.conf currently, so
they are impacting all the tasks of a nativesdk recipe even they are
not in use at all.
This can lead a lot of churn when the nativesdk sysroot are shared by
machines while they have defined different TARGET_* flags.
Fix it by overriding with BUILDSDK_* flags.
(From OE-Core rev: 85b69a5ec9ba9ea9ebdcd8ac18e1e147ddb1ff33)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some TARGET_* flags are being exported in bitbake.conf currently, so
they are impacting all the tasks of a crosssdk recipe even they are
not in use at all.
This can lead a lot of churn when the crosssdk sysroot are shared by
machines while they have defined different TARGET_* flags.
Fix it by overriding with BUILD_* flags.
(From OE-Core rev: 3facbe700a2f28a11620c4954686ed5d5e47a3d9)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some TARGET_* flags are being exported in bitbake.conf currently, so
they are impacting all the tasks of a cross recipe even they are not
in use at all.
This can lead a lot of churn when the cross sysroot are shared by
machines while they have defined different TARGET_* flags.
And sometimes it even causes "Taskhash mismatch" errors.
Fix it by overriding with BUILD_* flags.
(From OE-Core rev: 55c83cb239df5faf5e2143fffca47f2f16931cb3)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In find_siginfo(), which is used by bitbake-diffsigs among other things,
avoid adding a siginfo file from the sstate-cache where we've already
collected a sigdata file from the stamps directory with the same hash.
This avoids the possibility that the top two files (as picked by default
using the bitbake-diffsigs -t option) are for the same signature and
thus the tool would report no differences. In order to do that, just use
the hashfiles dict that we already have - we just need to change the
code to populate that even if we're collecting matching files without
looking for a fixed set of hashes (i.e. taskhashlist isn't set).
This replaces previous code in bitbake-diffsigs that attempted to filter
these out with limited success.
(From OE-Core rev: 5b69eef40868180c59400624096d7ebbbbea446b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When comparing signatures with bitbake-diffsigs -t or bitbake -S
printdiff, we use this find_siginfo() function implemented in this
module to find the siginfo/sigdata files corresponding to the tasks
we're looking for. However, native sstate files go into a
NATIVELSBSTRING subdirectory and there was no handling for this when
asking about native recipes.
I'm not even sure why we were walking SSTATE_DIR in order to find
this - we don't need to, we just need to run glob.glob() on the filespec
we calculate, which should be a little bit more efficient.
(From OE-Core rev: 8cb472e4ed25e56ec0d9cf6d8d101d1ab6687a5b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf puts python2.7 into the HOSTTOOLS variable but not
python2, so only python2.7 is guaranteed. In addition, on some distros -- such
as Amazon Linux -- /usr/bin/python2 doesn't exist but python2.7 does. So, use
python2.7 for the --python= argument in the qemu configure step.
(From OE-Core rev: 88dc8b532817f4779b35422a413d5c700c130a74)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed dependency task for syslinux from do_build to
do_populate_sysroot as do_build dependency caused conflicts in
populating image recipe sysroot using conflicting recipes. This
makes do_image_wic task to fail with FileExistsError trying to
copy the same file from two conflicting recipes.
This should also speed up image creation a bit as do_populate_sysroot
task is faster than do_build.
[YOCTO #11295]
(From OE-Core rev: b7bb02901b7002641a8e8cc3fc0b6ec31e5a21f7)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building gcc-cross-initial with GCC7 on the host fails due to the
comparison of a pointer to an integer in ubsan_use_new_style_p, which
is forbidden by ISO C++:
ubsan.c:1474:23: error: ISO C++ forbids comparison between pointer and
integer [-fpermissive]
|| xloc.file == '\0' || xloc.file[0] == '\xff'
Backport the fix from upstream GCC to enable the build with GCC 7
(From OE-Core rev: 7a7fcbab0365b9501c737dbc02715be14dda72a3)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a fix from upstream for a -Wformat-truncation=2 warning
and implement a simple fix for a -Wimplicit-fallthrough warning.
(From OE-Core rev: aaf4c4f3d09ac3897205417eb15e19d54e0c0d05)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We never need these tasks as dependencies of other sstate tasks since
they're only ever needed to build artefacts so we can always skip them
and save some time/space.
(From OE-Core rev: 246df3df4b7da4b75de0745938438124c2b1d4a5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two identical builds can end up having deploy/licenses folders
that differ. This is observed in cases where there are several
different license files of the same name in different folders,
i.e. "COPYING". In those case we have to differentiate the files
somehow and we do it via file expensions such as COPYING.0, COPYING.1.
However, which file will get which extension is presently random.
This means, for example, that COPYING.0 in one build is the same
as COPYING.1 in the other (and vice versa).
Although there is mothing wrong with this, for the sake of binary
reproducibility it is preferable to have a deterministic outcome.
(From OE-Core rev: 007ebc84979b1bc8b7520097793c7ab6d646c243)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
WIC test case requires wic-tools which in turn depends on intltool-native and
gettext-native. However, if NLS is disable, the gettext-minimal-native is used instead
of gettext-native causing a failure on intltool-native as seen below:
checking for msgfmt... no
checking for gmsgfmt... no
configure: error: GNU gettext tools not found; required for intltool
ERROR: Function failed: do_configure (log file is located at /home/lsandov1/poky/build/tmp/work/i586-poky-linux-musl/systemd-boot/232-r0/temp/log.do_configure.7518)
ERROR: Task (/home/lsandov1/poky/meta/recipes-bsp/systemd-boot/systemd-boot_232.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 609 tasks of which 604 didn't need to be rerun and 1 failed.
[YOCTO #10902]
(From OE-Core rev: ccd2faca99331e010badbb78d42b0ee644ca1a0a)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The http.server module from python3-netclient imports the html module
which is in python3-html. Also xmlrpc.server imports pydoc which is a
part of python3-pydoc. But those run-time dependencies are missing
from python3-netclient and python3-xmlrpc respectively.
Add the missing run-time dependencies.
(From OE-Core rev: 8e30b726c44f873e5fd9d3f36c3464a29b97abd8)
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The shebang's length is usually 128 as defined in /usr/include/linux/binfmts.h:
#define BINPRM_BUF_SIZE 128
So there would be errors when /path/to/hosttools/bash is longer than 128:
/bin/sh: ./doltcompile: [snip]: bad interpreter: No such file or directory
Set ac_cv_path_DOLT_BASH to "/usr/bin/env bash" to fix the problem.
(From OE-Core rev: fd2758ed26e8ed6d76c66af0275c4aafbec758ac)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The shebang's length is usually 128 as defined in /usr/include/linux/binfmts.h:
#define BINPRM_BUF_SIZE 128
So there would be errors when /path/to/hosttools/perl is longer than 128.
This patch fixes the problem when POSIX_SHELL and perl are used as the interpreters.
(From OE-Core rev: 055838283349530e6f60f4169d9190aa5b59b190)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when len(TMPDIR) = 410:
Can't exec "/bin/sh": Argument list too long at /usr/lib/perl/5.18/IO/File.pm line 65.
This is becuase it has a lot of m4 files, use relative path for them
can fix the problem.
(From OE-Core rev: 123df94f511cbaad088b25bbbae1f1137f957c7e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when len(TMPDIR) = 410:
Can't exec "/bin/sh": Argument list too long at /usr/lib/perl/5.18/IO/File.pm line 65.
This is becuase it has a lot of m4 files, use relative path for them
can fix the problem.
(From OE-Core rev: 7e8fece3a09bed18bc72c529b8b471ccbc144bf5)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The shebang's max length is usually 128 as defined in
/usr/include/linux/binfmts.h:
#define BINPRM_BUF_SIZE 128
So there would be errors when /path/to/hosttools/perl is longer than 128.
Set ac_cv_path_PERL to "/usr/bin/env perl" to fix the problem.
(From OE-Core rev: e828223a8238d85d47e9314e1dcc30b83b7ba3da)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The shebang's max length is usually 128 as defined in
/usr/include/linux/binfmts.h:
#define BINPRM_BUF_SIZE 128
There would be errors when @PERL@ (hostools/perl) is longer than 128,
use '/usr/bin/env perl' can fix the problem, but '/usr/bin/env perl -w'
doesn't work:
/usr/bin/env: perl -w: No such file or directory
So replace "perl -w" with "use warnings" to make it work.
(From OE-Core rev: 85decf26fe580acdf072baf561418bf73b7bfca4)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The shebang's max length is usually 128 as defined in
/usr/include/linux/binfmts.h:
#define BINPRM_BUF_SIZE 128
There would be errors when @PERL@ (hostools/perl) is longer than 128,
use '/usr/bin/env perl' can fix the problem, but '/usr/bin/env perl -w'
doesn't work:
/usr/bin/env: perl -w: No such file or directory
So replace "perl -w" with "use warnings" to make it work.
(From OE-Core rev: f3408bcf9d2710b07f5825683931e28571de130c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've had a lot of users running into RSS issues where -initial recipes
were being installed into sysroots alongside their counterparts and
causing overlapping files issues.
In general this was through do_build dependencies. Such dependencies are
bad in general and I'd encourage people to compare the taskgraphs with
using a more specific dependency like do_populate_sysroot, do_image_complete
or do_deploy as often the more specific dependency will result in a much
cleaner build.
Regardless, we don't want -initial dependencies getting in the way like
this and there are cases a do_build dependency could make sense.
Deleting the do_build task in these cases makes sense since this is not
a build "endpoint" we'd ever want a user to use, its a behind the scenes
piece of bootstrappping.
Unfortunately to make this work, we need a newer bitbake version which
has a bitbake bug fixed.
(From OE-Core rev: 04c053d42ab05f77b2d1ca93a0fabae44073d57e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need the bitbake bug in recrdeptask handling of missing tasks fixed in
order to apply a fix for OE-Core.
(From OE-Core rev: ef16288f3e1e801e5c763ed49fad8eb0c885183e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids the following error when logging in to a host that does
not have the tty command:
-sh: tty: not found
Reported-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
(From OE-Core rev: e77cdb761169e404556487ac650dc562000da406)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Emit CONFFILES variable in pkgdata, or else the get_conffiles function
will return 'None' for some packages instead of the expected value. This
is especially true for optional module packages.
(From OE-Core rev: ee44dabc065912ac17f1ee5f06f12695c90b5482)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
opkg uses empty lines as separator for next package and if an ipk file was
packaged with empty lines in DESCRIPTION opkg won't be able to handle such ipk
file, this happens at execution time.
This commit will replace empty lines in DESCRIPTION with a '.' when generating
an ipk package to avoid this issue.
[YOCTO #10677]
(From OE-Core rev: 3e678d9b6a9eaeed76ce538d7f6ecf9f423864bc)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Typically a single change cascades through the entire task dependency
chain. Developers had to figure that out themselves, based on hard to
read and interpret output (not sorted, no indention, no explanations):
$ yocto-compat-layer.py -n meta-xxxx
...
AssertionError: True is not false : Layer meta-xxxx changed signatures.
webkitgtk:do_install changed fe2edc9082bc0da98f9cb1391c52f565 -> b3a44684c5cd9aacd3f7c6ed88eefab5
gstreamer1.0-plugins-good:do_configure changed 3b2f8211be3fe08422bf6087f3af16d1 -> 7d80e42fa1f4f01ff4dfe2ea4477d382
pulseaudio:do_package_qa changed 5d0a58ada66ff17f5576555302ac319a -> 0e13bcb96143d1ae54c451bc3de0aa30
epiphany:do_prepare_recipe_sysroot changed 29e1b277dbcb005bd54950594c50d91b -> d3c45527b37677a0668ce483c6db3052
...
gst-player:do_packagedata changed 9ce6efdd357dd74919bc4957458b1e95 -> d0c083ce629f37adfc9c4ba9eff81f83
gstreamer1.0-plugins-base:do_install changed 1161cd867d15bea63e5dd5d9abf0519c -> 5bf2b652a2d77fee3eedb35af2f201a0
gstreamer1.0-rtsp-server:do_packagedata changed 6781dc3070f80b843ed1970d74dd323e -> 454620c2e3b9fea87e525d14b6ed0344
alsa-plugins:do_packagedata changed 1808c3f737cb805b169d004e948ea19c -> 480124b7fa5eab1f73bf96440d725231
Now the tool automates the problem analysis: it retrieves the depgraph
using the tinfoil API and only reports those tasks with modified
signatures whose dependencies have not changed, i.e. those tasks which
definitely introduce a change.
>From the previous example, that just leaves two tasks that need to be
checked:
AssertionError: False is not true : Layer meta-xxxx changed 120 signatures, initial differences (first hash without, second with layer):
gstreamer1.0-plugins-base:do_fetch: 76973f19f2e30d282152bdd7e4efe5bb -> e6e7c6fa9f2bd59d7d8d107f7c6ca1ac
pulseaudio:do_install: 668eb1e30af129df9806b0aa0d7c10cd -> 1196bdb88eef56eeee4613bb06b9387e
This pruning might be a bit too aggressive in the sense that tasks
which inherit a change and then add more changes themselves won't be
reported initially. They will be found when fixing the reported tasks
and re-running the check.
For a developer it seems better to have something listed which
definitely is a problem and needs fixing instead of everything,
including the tasks which don't need fixes.
(From OE-Core rev: 7ab0e09de75bfd7e7498bfa72d1f2f5d02a96747)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In commit 5b9ac62ab535d, one place was fixed where a command was
invoked such that failures caused double stack traces and stderr was
lost. The same problem also occurs elsewhere, triggered for example by
a layer with parsing problems.
Now a new utility method is used instead of repeating the code.
(From OE-Core rev: b6c72c0d169473e2626938be2ee59f850624612e)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sending report email was not working correctly if the script was given
an html report path that contained directory components.
(From OE-Core rev: 1da641661bb5963fcbd7ac2c20bc997c3eae6f18)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The DEPLOY_DIR_IMAGE maybe relative or absolute path since it can be
read from env vars, so use realpath for both imgdir and
DEPLOY_DIR_IMAGE when compare.
(From OE-Core rev: dad9f27278850d0d3818344fea877835632576cb)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* "is it" -> "it is"
* Remove "<image>.qemuboot.conf =" in the error message which looked strange.
(From OE-Core rev: a6152dd9f6f4e17855548ceffa8d864855a67f5c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the output is a TTY, add colour to the output in order to make it
easier to read. At the moment this is fairly basic, just add colour to
the "titles" of each change and to the diff output.
I tried to introduce this without changing the code too much - rather
than moving everything over to the new python formatting style, I've
introduced a color_format() function which takes care of the colour
formatting, either accepting additional format arguments or
alternatively leaving the caller to use the old-style formatting (%) to
insert values.
(Bitbake rev: 04a023c8fdea1e1812fcdcaf00345aab59f9abe1)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a variable value has changed and either the new or old value contains
spaces, a word diff should be appropriate and may be a bit more readable.
Import the "simplediff" module and use it to show a word diff (in the
style of GNU wdiff and git diff --word-diff).
Also use a similar style diff to show changes in the runtaskhashes list.
I didn't use an actual word-diff here since it's a little different - we
can be sure that the list is a list and not simply a free-format string.
(Bitbake rev: 20db6b6553c80e18afc4f43dc2495435f7477822)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we just want to drill down to the actual differences then we don't
need to see certain things in the output, e.g. basehash changing or the
signature of dependent tasks. This will be used for comparing signatures
within buildhistory-diff in OE-Core; the default mode as used by
bitbake-diffsigs and bitbake -S printdiff remains unchanged for the
moment.
(Bitbake rev: 6543a59b1ebd3194a7c6421cffc66ebe31a67c62)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the -t option which recurses to find the ultimate cause of a
signature change, it was hardcoded to take the last two executions of
the specified task. On the other hand, if you have two specific task
hashes (say from bitbake output, or some other tool) then you'll want to
pick those, so provide an option to specify those as well. (Note, the
new -s option needs to be specified alongside -t rather than instead of
it.)
(Bitbake rev: d9813b1a4223cf8dc80cab90e467ddf4bf8d1078)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Argparse is a bit easier to deal with than optparse, and since we're
about to add some options, migrate this script over.
(Bitbake rev: 7f130e0b5ce6cfc6b35176465f260092cd3b3d64)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the runtaskdeps list hasn't actually changed (but the signatures of
some of the tasks did) then it doesn't make sense to print out the old
and new lists as they are both the same and may be very long, e.g. for
do_rootfs in OE.
(Bitbake rev: cb170543605288b3e8badfac3a54c588f4c95413)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When dumping changes to signatures e.g. output of bitbake -s printdiff,
if for example a function has changed, it's much more readable to see a
unified diff of the changes rather than just printing the old function
followed by the new function, so use difflib to do that.
Note: I elected to keep to one item in the returned list per change,
rather than one line per line of output, so that the caller can still
look at changes individually if needed. Thus I've added some handling to
bitbake-diffsigs to split the change into lines so that each line is
displayed indented.
(Bitbake rev: 4d254ae63a35231c98e3f73f669b040ed1144042)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This logic doesn't work in practice, certainly not with current versions
where sigdata files are preserved in the stamps directory and therefore
there will often be multiple sigdata files - you can now easily get
files for the same signature from sstate and the stamps directory with the
result that bitbake-diffsigs reports nothing has changed. Instead, let's
change the find_siginfo function in OE-Core to simply not return
duplicates so we don't have to filter them out here.
(Bitbake rev: f0d7ab259d8ef95643e7229474b7850608aa4426)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If just one of the two signatures we want to compare aren't available,
report that one rather than misleadingly claiming both are missing.
(Bitbake rev: c87764b9147792a10efad3ed5378f36f0a055bc6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Printing "pbzip2pbzip2_1.1.13.bb" is ugly, we need to add a separating
slash so that we get "pbzip2/pbzip2_1.1.13.bb" instead.
(Bitbake rev: 55cd4045a37afc954f4d5091f524756b266064fc)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We weren't picking the right files to compare here - according to the
order in which the list is sorted (by mtime), we need to be taking the
last two items and not the first two.
(Bitbake rev: 99f49b56115b1f8d1a0a0b911da62ffd1f997b5f)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Valid machine names cannot include spaces anywhere
in the name and doing so will result in a build failure.
This implements a mechanism to alert the user against
such a misconfiguration and does not allow input of
such machine names.
[YOCTO #8721]
(Bitbake rev: 6fb642935a3787659aa316ca906025d2d87964cf)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if you specify a recrdeptask, it must exist for all recipes or
you get a python traceback. This is a bug and it should be possible to have
recipes which don't have the specified task.
As well as preventing such a traceback (which shouldn't happen, it should be
a user readable error), this allows us to fix issues in OE-Core which would
otherwise trigger the traceback.
(Bitbake rev: f93a77f2f188e18de9e3d812e86d77c2f3c71889)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python-pyqt in meta-qt4 is about to require sip 4.19 that only meta-oe
provides; as we only bring in meta-qt4 for LSB, there's no need to be
building this as part of world and it would fail without meta-oe anyway.
(From meta-yocto rev: 202598d670a1d335d2a8de7685244fa7f480bd26)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than hard-coding the tmpdir for TargetBuildProject to /tmp allow the
parent's default handling to define an appropriate tmpdir.
(From OE-Core rev: 901659a51cd53625a93f57a9c5865e90a07ec09d)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't hard-code /tmp as the tmpdir, instead use WORKDIR as the tmpdir if the
instantiater doesn't specify a value.
(From OE-Core rev: c43c966e0ed4ed836bdf90b1d4c3f2f45426f1ec)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than hardcoding /tmp as the default tmpdir make a more unique tmpdir
with tempfile.mkdtemp() when the caller doesn't specify a tmpdir value.
(From OE-Core rev: 9425c2658fea0b45468a04574cd77bffc6668a8d)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configuration change was already done for -native but
we really want it when USE_NLS is set.
Fixes [YOCTO #11285].
(From OE-Core rev: 95d6910bb5d9331adb7a693fcb4f7b1271c68cc6)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
EXTRA_OEMAKE no longer contains '-e MAKEFLAGS=' so the comment
explaining that it needs to be removed / over-ridden is obsolete.
(From OE-Core rev: 19be2237798f51c01c1c21a68382d114a2f6ead2)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipe being tested (devtoo-test-patch-gz) by devtool has dependencies (at
least libxres and virtual/libx11) that cannot be built with poky-tiny distro so
skip the test for this particular policy.
[YOCTO #10891]
(From OE-Core rev: 03751783cb063bc6a57cd19357bc1016bfa2a814)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The library libxml2 can provide its own bindings for python2 in addition
to the third party python-lxml and python3-lxml packages if this
functionality is enabled in PACKAGECONFIG.
But in case the functionality is disabled there's no need to depend
on python2.
Make the dependency on python2 enabled only if the python feature
is added to PACKAGECONFIG. Also add missing run-time dependency on make
to libxml2-ptest.
(From OE-Core rev: 3f1be2c3875fc112d9c67af16759091e007e5b99)
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
NASM is a x86-specific assembler so it is only required when building for x86
targets. Use x86-architecture and class-target overrides to depend on NASM, but
explicitly disable and don't depend on it for native as complications in the
native overrides meant NASM was enabled for x86-64 but disabled for x86 (this
will be investigated later).
Original patch by Tristan Van Berkom <tristan.vanberkom@codethink.co.uk>, more
work to solve selftest failures by Richard Purdie
<richard.purdie@linuxfoundation.org>. I just wrote a nice commit message.
Also fix some missing whitespace in _appends.
[ YOCTO #11240 ]
(From OE-Core rev: 3b1871b7c6df66d3bf3453668f46566b8af3e6d9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently some shebang lines end up as
#! /usr/bin/env perl -w
env does not like the argument. Also the current sed to insert env
does not cover the copies ptests use. Fix these issues by:
- using --with-perl to insert "env"
- Replacing "-w" in shebang lines with a new "use warning;" line
Remove a EXTRA_OECONF_append_class_target from the native recipe.
Don't overwrite EXTRA_OECONF in native: the values should be correct
for native as well.
--with-patch is used within the gnu patch wrapper only: before this
commit the wrapper contained a (build host) path to native patch.
Also tweak one test so busybox mv output is accepted.
All ptests should now pass: Fixes [YOCTO #11221].
(From OE-Core rev: 4b667d268fe410a21cacaecd1b5e3bfbbe7d53d8)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using `wic create mkefidisk -e core-image-minimal', the following
error message appeared.
Please bake it with 'bitbake parted-native' and try again.
However, following this command doesn't do any help. The same problem
still appeared.
The problem is that when we 'bitbake parted-native', it doesn't have
anything to do with core-image-minimal. And the required tool 'parted'
is not under core-image-minimal's recipe-sysroot-native directory.
Improve the error message so that following it could get things done.
(From OE-Core rev: f0425c0a0f1c98f65bf61fd9aa7e023ed41a35fa)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
FIEMAP API is not supported by tmpfs file system, but
SEEK_HOLE/SEEK_DATA is supported.
Returned back FilemapSeek class that implements support
of SEEK_HOLE/SEEK_DATA API to make sparse_copy API working
on tmpfs again.
This reverts commit 6b80c13f7a.
(From OE-Core rev: e75bd6a7dd5c1b4bad039c35cf4a2ffc2f77c60a)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Implement new '-P' option for spefifying a Git remote where to push
results after committing to a local Git repository.
(From OE-Core rev: d8e14df29d28bfe805dc746f43c9f3a7726e57ce)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Support <branch>:<commit> format for the -c argument. This makes it
possible to test older commits of a certain branch (not just the tip of
it) so that the branch name will still be correctly recorded in the test
report data.
(From OE-Core rev: be3d1718a99e59e636f349586e0a64eb8e2824a4)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The javascript console log messages are used in scraping, when
converting an html test report to html email. Before this patch a
console message indicating that all charts have been drawn was not
correctly sent if the last test failed (or didn't have chart data for
some other reason) which, in turn, caused oe-build-perf-report-email.py
script to fail with a timeout.
(From OE-Core rev: 79b90ae02257002ea831a48f6798794b7711c1f8)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When getting info from the latest commit, don't search all refs but only
branches. We don't get correct data from refs/tags/* or refs/notest/*,
for example.
(From OE-Core rev: f84d0bd7deb4c19fdb1e821b3a50e8c8f54a731b)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The initial signatures need to be collected -after- the dependency layers have
been added to the system. Otherwise changes that happen due to dependencies,
outside of the layer being scanned, will show up as signature problems.
The add_layer function was split into two pieces so that we can process
the dependencies first, and then add the layer itself for the comparison.
(From OE-Core rev: 4eb0932e755b7cb582a8db811aeed1397ecb92cc)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When processing a layer for dependencies, you have to process the layer
itself, it's dependencies, the dependencies dependencies and so forth until
all items have been processed.
i.e.: LayerA requires LayerB requires LayerC requires layerD
The end result should be LayerB, LayerC and LayerD are all dependencies of
LayerA.
(From OE-Core rev: 6e0a268b750fb6701604dd936cd2cf3b47a6e804)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When processing a large number of items, there are times that it would be
nice to be able to pass in a series of layers that can be used as dependencies
for the layer that is being scanned. This avoids the significant overhead
of processing all of the layers to compatibility.
(From OE-Core rev: 57fc8a9771174b7d0533a42c045053adefa537a8)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If items were skipped because the dependencies could not be found, we
want to record this was skipped so we can display it later.
(From OE-Core rev: 402ef1c8bd1ea994581a39672f31ab1203a0899d)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This script will be used to create it's own build directory to make
runs of yocto-compat-layer.py againts layers isolated.
Example:
$ source oe-init-build-env
$ yocto-compat-layer-wrapper LAYER_DIR LAYER_DIR_N
[YOCTO #11164]
(From OE-Core rev: 9414382f96d4a5d81cca440c75140950ca515aab)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to update
the SRC_URI to point to github.com.
[YOCTO #11226]
(From OE-Core rev: 0fb5427937576fe46d463b9c9953d0bcdc1f256a)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to github.com.
[YOCTO #11226]
(From OE-Core rev: 9b3c9193d4a04061e64e43d55782a4d73ee166ad)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to github.com.
[YOCTO #11226]
(From OE-Core rev: b0703175ed650d89870309e4065cda917199ac93)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to pagure.io. pagure.io is a
replacement for fedorahosted.
[YOCTO #11226]
(From OE-Core rev: 441ad240db4ce64d854e263e14dc6a1752aed956)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to pagure.io. pagure.io is a
replacement for fedorahosted.
[YOCTO #11226]
(From OE-Core rev: b85905bc8b845c9da7d2a086ea239ec00d5142e3)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to pagure.io. pagure.io is a
replacement for fedorahosted.
[YOCTO #11226]
(From OE-Core rev: bbe3cde5fc2102fd84ba065ed14f2732bcd0d420)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to pagure.io. pagure.io is a
replacement for fedorahosted.
[YOCTO #11226]
(From OE-Core rev: 79ae1e98a7c3fd4c732ea4cd0b3099d4e319a111)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are a number of reasons that importing a module could cause output on
stderr that isn't a fatal error (compatibilty problems with inputrc, or encoding
warnings) so backport a patch from autoconf-archive to only check the exit code
instead of asserting that stderr is empty.
[ YOCTO #11231 ]
(From OE-Core rev: ebfd79ae6e5954253c3bb0886d476be480b24de8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To generalize the unit test for other kernel providers, use virtual/kernel instead
of linux-yocto, allowing to run the selftest on non-poky distros, i.e. poky-tiny.
(From OE-Core rev: 087e1204fb27e2952f16c2e4761f5993b7722732)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change allows quering for variables with the format A_B, i.e.
PREFERRED_PROVIDER_virtual/kernel instead of just A.
(From OE-Core rev: 3810738eff6bdcf27c7e291dbeaedc699ab14bfc)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 4.8 version was removed in:
commit 466e6e45ca04a07ebe1b1f52de747f077b362d54
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Tue Mar 28 08:58:07 2017 -0400
linux-yocto: drop 4.8 recipes
We have 4.1 (LTSI), 4.4 (LTS), 4.9 (LTS/LTSI) and 4.10 available in
master. 4.8 is no longer required, so we drop the recipe to keep
the version selection under control.
* causing each build to start with 188 lines of this stuff:
NOTE: preferred version 4.8% of linux-yocto not available (for item virtual/kernel)
NOTE: versions of linux-yocto available: 4.1.38+gitAUTOINC+7140ddb86e_4d2c95e78c 4.10.5+gitAUTOINC+01f18cba44_b97dcd4f06 4.4.56+gitAUTOINC+271b0c8d51_01aaede0a2 4.9.17+gitAUTOINC+8b97a445fa_3ff3760c2a
NOTE: preferred version 4.8% of linux-yocto not available (for item kernel-module-raid456)
NOTE: versions of linux-yocto available: 4.1.38+gitAUTOINC+7140ddb86e_4d2c95e78c 4.10.5+gitAUTOINC+01f18cba44_b97dcd4f06 4.4.56+gitAUTOINC+271b0c8d51_01aaede0a2 4.9.17+gitAUTOINC+8b97a445fa_3ff3760c2a
(From OE-Core rev: 57357d4e7f5d256a5cc657798f955f1ac8416665)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add kernel_link_images task in kernel.bbclass instead of adding it in
linux-yocto.inc, or else the recipes inheriting kernel.bbclass might
run into implicit dependency issues.
(From OE-Core rev: 3211d43d80f69d9c200a0e4f90fd37736046aafe)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
devtool/runqemu.py was relying on STAGING_BINDIR_NATIVE to find the host
tools it needed like qemu-system-<arch>. In the post RSS world, this no
longer exists. This patch points it to
{STAGING_DIR}/{BUILD_ARCH}/{bindir_native}.
[YOCTO #11223]
(From OE-Core rev: 1910f9e9336bfedc8278a3bc02e7e7f934a4fc86)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The results of meta-ide-support are used by utilities like runqemu and
runqemu-extract-sdk. Since the usr/bin that meta-ide-support creates is
subsequently removed bu rm_work, we exclude this recipe from the rm_work
list.
[YOCTO #11119]
(From OE-Core rev: 6c0fc4daee0e32c85c8895ce77126d3d0c6c2ed5)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe-find-native-sysroot: Recipe Specific Sysroots have eliminated the
large STAGING_DIR_NATIVE. Now, we will rely on the meta-ide-support
sysroot that is what was populating the large STAGING_DIR_NATIVE in
previous versions anyway. We now look for RECIPE_SYSROOT_NATIVE.
[YOCTO #11119]
(From OE-Core rev: d8b4c58676705e9749347be0e8f191ccccc37f05)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
FILESDIR is long dead and unreferenced pretty much anywhere now, drop these
sanity references too.
(From OE-Core rev: 760ab75be6b794fdcd0b1717439fcea605db9e0b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has long since been deprecated and is no longer used anywhere, FILESPATH
is the commonly used varaible which offers much more flexibility. Remove
the FILESDIR code and references from bitbake.
(Bitbake rev: 751c9dc51fd01fa64a1ff37ba2638110335f71af)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a few comments at the top of the file explaining what it's for, and
a comment pointing out that you need to increment the cache version when
changing any code that changes the output.
(Bitbake rev: c1780bc1872bb35bc28c76eff9110717f02d9db2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add some tests to verify that we are extracting "contains" information
from python expressions in the code in the bb.data and bb.codeparser
modules.
(Bitbake rev: 88fda492df875dd79b7aecf1f34b38517fc1eb33)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure we handle bb.utils.contains_any() as separate items, rather than
how we handle contains() where every item must be in the list.
Additionally, enable handling bb.utils.filter() which for the purposes
of looking at dependencies is the same as contains_any().
Additionally bump the codeparser cache and recipe cache versions to
invalidate the user's existing caches (ensuring that the changes take
effect and avoiding "taskhash mismatch" errors respectively).
(Bitbake rev: 496e3c84820a2a889d99d3604659e47a550941d5)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code that determines variable dependencies uses the codeparser to
find references to "contains" type operations e.g. bb.utils.contains().
That function can take multiple items to check, and all specified items
have to be present. However this code didn't handle that - it assumed
that only one item would be specified and thus it was treating the
multiple items as a single item with spaces in between. Split the value
and check if all words are present in order to determine whether the
check is "set" or "unset".
(Bitbake rev: 272f1245acdd4fb85cb78612aa03627a9c246d8f)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #9962]
The new output for -D was copied into the manual and merged by
the engineering team before checking to see if the manual
would make properly. The next output for -D introduced an
error through the string "<task>". The angled bracket
characters are illegal in docbook and must be replaced by
"<" and ">", respectively. I made this fix.
(Bitbake rev: 0476ec4605c94b9e0208cfd3fa48ecf3e3f04181)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the fetcher retrieves file:// URLs, there is no lock file being
used. This means that in case two separate tasks (typically from two
concurrent invocations of bitbake) want to download the same file://
URL at the same time, there is a very small chance that they also end
up wanting to create a symbolic link to the file at the same time.
This would previously lead to one of the tasks failing as the other
task would have created the link.
(Bitbake rev: 58a03531c8183b165bb7dcad86d8559c92bc150d)
Signed-off-by: Peter Kjellerstedt <pkj@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If build host perl (and other tools) is old and we use some kind
of toolchain to provide recent perl/python/etc to the OE build
we still locked to use build host perl due to hardcoded shebang
lines in automake scripts.
Behaviour was observed with Enterprise Linux 6 and devtoolset
toolchain from SCL (Software Collections) used to provide recent
version of perl (not provided with default buildtools-tarball).
Pass /usr/bin/env perl in ac_cv_path_PERL configuration variables
for class-native and class-nativesdk. Use patch to automake to replace
-w option in shebang line with modern way to enable warnings on perl
(i.e. "use warnings").
Also add nativesdk-autoconf to RDEPENDS to bring runtime dependencies
inline with other targets.
Note that ac_cv_path_PERL must be valid perl interpreter path
since configure will check perl version and Flock implementation.
It is not possible currently to use nativeperl from native
sysroot because automake does not DEPENDS on perl-native (and
doing so fails due to circular dependencies). Only possible
solution is to overwrite shebangs with nativeperl somewhere at
do_install() and update RDEPENDS for class-native. Or add perl
symlinks to nativeperl in sysroot.
For now it seems good to use perl found by /usr/bin/env from
automake-native.
Cc: XE-Linux <xe-linux-external@cisco.com>
(From OE-Core rev: 3b7111b30dbd9a4cdd141b594164da18c15ae970)
Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If build host perl (and other tools) is old and we use some kind
of toolchain to provide recent perl/python/etc to the OE build
we still locked to use build host perl due to hardcoded shebang
lines in autoconf scripts.
Behaviour was observed with Enterprise Linux 6 and devtoolset
toolchain from SCL (Software Collections) used to provide recent
version of perl (not provided with default buildtools-tarball).
Pass /usr/bin/env perl in ac_cv_path_PERL configuration variables
for class-native and class-nativesdk. Use patch to autoconf to replace
-w option in shebang line with modern way to enable warnings on perl
(i.e. "use warnings").
Also add nativesdk-m4 and nativesdk-gnu-config to RDEPENDS to bring
runtime dependencies inline with other targets.
Note that ac_cv_path_PERL must be valid perl interpreter path
since configure will check perl version and Flock implementation.
It is not possible currently to use nativeperl from native
sysroot because autoconf does not DEPENDS on perl-native (and
doing so fails due to circular dependencies). Only possible
solution is to overwrite shebangs with nativeperl somewhere at
do_install() and update RDEPENDS for class-native. Or add perl
symlinks to nativeperl in sysroot.
For now it seems good to use perl found by /usr/bin/env from
autoconf-native.
Cc: XE-Linux <xe-linux-external@cisco.com>
(From OE-Core rev: 443d2d31732fa5700aa00ff020a0d79ab245c114)
Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Script for sending build perf test reports as an email. Mangles an html
report, generated by oe-build-perf-report, into a format suitable for
html emails. Supports multipart emails where a plaintext alternative can
be included in the same email.
Dependencies required to be installed on the host:
- phantomjs
- optipng
[YOCTO #10931]
(From OE-Core rev: 9e97ff174458f7245fc27a4c407f21a9d2e317ab)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A new tool for pretty-printing build perf test results stored in a Git
repository. The scripts is able to produce either simple plaintext
report showing the difference between two commits, or, an html report
that also displays trendcharts of the test results. The script uses
Jinja2 templates for generating HTML reports so it requires
python3-jinja2 to be installed on the system.
[YOCTO #10931]
(From OE-Core rev: 3b25404f0f99b72f222bdca815929be1cf1cee35)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Build static libraries without the binutils "ar" -U option.
This option deliberately breaks deterministic mode.
The option seems to be a relic from 2015, intended as a workaround
for some unspecified build problems.
[YOCTO#11247]
(From OE-Core rev: 46c757d0ca7ff294a7e55c130698fd256b69b62e)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reference url is a stale, non existent site that returns a 404, so get rid of it
Change impacts both the manifest files and the scripts that generate the manifests
Run the following from within recipes-devtools/python
../../../scripts/contrib/python/generate-manifest-2.7.py > python-2.7-manifest.inc
../../../scripts/contrib/python/generate-manifest-2.7.py -n > python-native-2.7-manifest.inc
../../../scripts/contrib/python/generate-manifest-3.5.py > python-3.5-manifest.inc
../../../scripts/contrib/python/generate-manifest-3.5.py -n > python-native-3.5-manifest.inc
(From OE-Core rev: ae13f580b759211c1a6b59a276f75d589f1db11c)
Signed-off-by: Bob Cochran <openembedded@mindchasers.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
liblzma is part of xz and we already build it but configure it out. This makes
no sense. Enabling it means we gain multithreaded compression and it speeds
dpkg-deb up massively. It also removes the fork overhead of separate xz processes.
Turning the existing config into a PACKAGECONFIG and turning it on by default
therefore makes best use of what we have available.
The manual RDEPENDS are no longer needed since it uses liblzma which is picked
up by the shlibs code magically.
(From OE-Core rev: 97b2a20b55acf76ebaacff0054e0f3c2b4236847)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we do not set the 64 bit flags, newer kernels seem to build 64bit
config files by default. This is due to a hard-coded uname -m check that
selects the KBUILD_DEFCONFIG based on the host, not the cross target.
Similar to e9ec769926b2378e63380bd7762ce7ce201af151 in the yocto-kernel-cache repo
(From meta-yocto rev: e35017cc67f6d3c5cc00488d3460de0dcec773b3)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It defaults to ${INITRAMFS_IMAGE}-${MACHINE} if INITRAMFS_IMAGE is not
empty.
This allows the end users to be able to override the initramfs image
name with a customized value.
(From OE-Core rev: e788fb2b894852f71b1c545abde71b45b9f230dc)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't want to run resize on non serial consoles. There's
been an earlier attempt (6557787), so this builds upon that.
The problem we're seeing is that if there is text buffered in
the virtual console (like from a desperate user trying to
enter login details), resize will get stuck while calling
ioctl(tty, TCSETAW);
Since serial consoles are named (not just numbered), this
change limits resize's reach even further to run only on
/dev/tty[A-z] (thus avoiding /dev/tty[0-9]).
(From OE-Core rev: 474ef7c95722aa68ee5dfbae2920d7c3d436d717)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were two remaining cases that could end up creating /lib64
rather than ${base_prefix}/lib64. The difference matters when building
with usrmerge.
(From OE-Core rev: b791f13286c8c58ce1f3fa3745ffdd5bd5ff1d02)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use ${D}${var} rather than ${D}/${var} for variables where ${var}
contains an absolute path.
(From OE-Core rev: 2799eda9f373b430ad64c8b61f8047abce7f1e22)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allowing to remove the systemd-vconsole-setup package without specifying
the --disable-vconsole configure option for systemd will make the system
boot with the failure prompt
| systemd-udevd[142]: failed to execute '/lib/systemd/systemd-vconsole-setup' '/lib/systemd/systemd-vconsole-setup': No such file or directory
| systemd-udevd[96]: Process '/lib/systemd/systemd-vconsole-setup' failed with exit code 2.
as the 90-vconsole.rules will still be installed with having a
RUN+="/lib/systemd/systemd-vconsole-setup" in it that attempts to
execute a non-existing binary.
(From OE-Core rev: 396e9dcf308a2a6660a84eb36c5ff29f8a0d08de)
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These parameters are copied from the ext image class.
-D will let fsck perform further directory optimizations
-v might be helpful for debugging purpose
(From OE-Core rev: be93e378506a85772503005294503cfc348a552c)
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is not much sense in creation of empty squashfs
partition. It's also not possible to create empty squashfs
partition of specified size.
Even more, prepare_empty_partition_squashfs method is
absolutely broken. It raises exception when called and
even its signature differs from the rest of of similar
methods. It means that nobody uses it and it's safe
to remove it.
Removed prepare_empty_partition_squashfs method and
testing of empty squashfs partition.
(From OE-Core rev: 9152960f250cb4df1e559d747fb09005675a0d75)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added msdos partition to the .wks file in test_fs_types
wic test case.
[YOCTO #11137]
(From OE-Core rev: 044dd146d39542d0e6b598ee1dcadc49e0db3de9)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added vfat and msdos to the list of supported fstypes in
'wic help kickstart' output.
[YOCTO #11137]
(From OE-Core rev: ab7f2a77e124d8859002619e7ba3117e8a165df7)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Explicitly set system id 0x6(FAT16) for msdos partitions.
Removed old code that attempts to achieve the same result
using 'parted ... lba off'.
(From OE-Core rev: 230452faf151e277bfb2b49526923f8097755b35)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Used '-F 16' parameter for mkdosfs to create FAT16 partitions for
'msdos' partition type.
[YOCTO #11137]
(From OE-Core rev: b6243a03ced9a719a5801afcee014b03313cc43c)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added prepare_empty_partition_msdos and prepare_rootfs_msdos
methods to support 'msdos' filesystem type.
Created aliases prepare_empty_partition_vfat and prepare_rootfs_vfat
to continue supporting creation of vfat patitiions.
(From OE-Core rev: f06c507078da72f616f45effe5005cc01615a17c)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed wic code that loops through hard-coded list of known fstypes
to find prepare_rootfs_<fstype> or prepare_empty_partition_<fstype>
methods and silently skipping unknown fstypes.
(From OE-Core rev: ebb8fb5f81f473156c9aa4bf1965e538492a851b)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Restricted possible values of --fstype to the list of
supported types. This should catch incorrect values
when .wks file is being parsed.
Removed checks for empty fstype and mentioning of
unsupported fstype 'ontrackdm6aux3'.
(From OE-Core rev: 21af89a6d44ccea6aef975ffd2483a8fad1231de)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Test image-bootpart wic plugin with globbed value of
IMAGE_BOOT_FILES variable to increase test coverage.
[YOCTO #10618]
(From OE-Core rev: 4da2526800de1d40b51db96b0d5ab44dbaff68ff)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed unused APIs 'outs' and 'quiet'.
Removed 'catch' parameter from runner.runtool API as wic
uses only one value of it. Removed the code that handles
unused values of 'catch' parameter.
[YOCTO #10618]
(From OE-Core rev: 1e45a4f72b16c7ab64f46907d2d2ee9cd749dc23)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replaced runner.show call to exec_cmd call in bootimg-pcbios
plugin. Removed runner.show API as it's not used anywhere else.
[YOCTO #10618]
(From OE-Core rev: 9749336c37249af99c92478c3e4dc8821cb9a816)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If bootloader artifacts are not found in default bootimg_dir
use wic-tools sysroot for the same purpose. This should
prevent wic from failing if bootloader artifacts can't be
found in image native sysroot.
(From OE-Core rev: 9674bbd0585fc25ccd362f233b83d07ff8f6ff53)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed fsimage plugin and prepare_rootfs_from_fs_image API as
they duplicate functionality of rawcopy plugin. Fsimage plugin makes
wic to remove the image artifact from deployment directory, which
can cause problems too.
[YOCTO #10618]
(From OE-Core rev: 9a470752f5698f791f8f78e28d163a0b9c695186)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added test_kickstart_parser test case to test wks parser
options not yet covered by tests.
[YOCTO #10618]
(From OE-Core rev: 36779a95f2e1e2c0d94ba81d30c8b1fc9dd161e4)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
FIEMAP API was added to Linux kernel 2.6.28 back in 2008
SEEK_HOLE and SEEK_DATA API was added much letter.
As FIEMAP is used by filemap module as a default API it's
safe to remove FileMpSeek class as it's never used.
[YOCTO #10618]
(From OE-Core rev: 44e9406ea6e3263d2fb95e9d534a21f74f318480)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added wic test case to test all possible filesystem
types for empty and not empty partitions.
[YOCTO #10618]
(From OE-Core rev: 95ec9e6b987706fac9bd410681f0950f957989bb)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added btrfs-tools-native and squashfs-tools-native to DEPENDS as
wic uses these tools to support btrfs and squashfs filesystems.
(From OE-Core rev: d6fea657671637af30fe9bf9a2264746b5bd6deb)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd-tmpfiles-setup will fail at boot, so we suppress
the default versions of etc.conf and home.conf.
We also make sure that /var/{cache,spool} and /srv are writeable
if they exist.
(From OE-Core rev: 4a44a7658cebafab336f061f270b6ff44150a6d6)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were two missing cases to be migrated to the new framework: _qemutiny and
_ptest.
qemutiny was straightforward.
ptest on the other hand wasn't working even in previous releases; it has been
migrated from smart to dnf, and how ptest packages are gathered to be
installed, adapted to use unicode, and removed a lot of code that wasn't needed
anymore.
(From OE-Core rev: ee7c19546b686e852d01df25143504d9798d10d6)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In 2.4 development cycle openssl 1.1 will replace openssl 1.0 as the
default openssl version. Openssl 1.0 will stay but will be renamed
to openssl10, and eventually it will be removed (hopefully much
sooner than the official end of support date of Dec 2019, as we do not
want an unsupported openssl version in supported Yocto releases).
There are several recipes that are not API compatible with 1.1; some
of them will eventually be fixed, but others will never be (such as Qt4).
To avoid breaking such recipes when openssl 1.1 is added to oe-core,
let's provide "openssl10" already now and change the recipes to depend
on that where necessary; Qt4 is a particularly pressing issue as it is
causing failures on the autobuilder with my work in progress
openssl 1.1 branch, and so I'm not able to see what else would fail
later in the build process.
(From OE-Core rev: cffc3a88608bd295eb1220fadae56eb4676414df)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure we have all build time dependencies of perl-native
satisfied before we start building it.
Behaviour was observed with RHEL6 build hosts where perl-native
build fails at linging stage when attempting to link to the build
hosts old Berkley DB because virtual/db-native is missing in
native sysroot.
Add dependencies to the native packages taken from perl recipe.
Cc: XE-Linux <xe-linux-external@cisco.com>
(From OE-Core rev: c0e0b3774313f6acb00374c87a4f99201daa2270)
Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10854]
Feedback from the review indicated that CentOS python3-pip and
python3-expect should be python34-pip. Did this change.
(From yocto-docs rev: ae307a183328b3c572e3f63c0274806af244c618)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #9675]
I missed one occurrence of changing "smart" to "dnf" in the
Enabling Tests section. Corrected.
(From yocto-docs rev: b5106c7a38f51dbfea6d200072039f624be7ed3a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10350]
Based on Henry's assesment that the wording was unclear in some
spots, I did a little smithing to try and help.
(From yocto-docs rev: b52bb8d73071ad6b7a0956dec2f84a84ae1c7045)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10946]
Based on feedback, I made some minor rewrites to a sentence describing
when you need to use a different form to get BitBake to pick up
hierarchical data as kernel data.
(From yocto-docs rev: 65fcd23826e9a69152933f84cb3f8bac650cd4e5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #9675]
Various fixes to replace the "smart" package manager references
with "dnf".
(From yocto-docs rev: 721dc7fb637c4c03534eb19f61b0b08a7303826d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10898]
I altered the verbiage used to describe the inclusive nature of
the beginline and endline note to be clear to non-native English
speaker based on feedback.
(From yocto-docs rev: 5edf417cd044ded30d1f8366ac0cde336d0da016)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10854]
I added extra "yum" commands and a make command to deal with
some essential packages needed for CentOS distribution. These
packages were missing.
(From yocto-docs rev: 38ac6cf0165f7dd7bbfd583e218b6948dafae29c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10946]
There was insufficient information in the combination of the
BSP Guide and the Kernel Development Manual on just how to locate
and use kernel metadata.
* bsp-guide - Removed the detailed append file example for the
kernel recipe. This is moved now to the chapter in the kernel
manual that describes append files.
* kernel-dev - Placed the example from the BSP Guide into the
section that describes kernel append files. Cleaned up some
terminology issues throughout chapter 3. Added information
about how BitBake picks up kernel metadata when the metadata
is in a hierarchical directory and not just a simple *.scc
file.
(From yocto-docs rev: 1048acb7127e77ca9c1f524a208fe25344fcb57c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change is similar to the recently introduced
change to the distutils.bbclass fixing shebang
line in python scripts for nativesdk class builds.
v2: Rebased on top of new head.
Cc: XE-Linux <xe-linux-external@cisco.com>
(From OE-Core rev: 49772e1a1f291d1cacce27b381009dbb441c483e)
Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 11229de (distutils: Replacing path to native python by path
to python in the image to support python packages with
console-script setup) replaces path to python-native with path
to the python interpreter in the target image.
However on nativesdk builds ${bindir} expanded to the
${SDKPATHNATIVE}${prefix_nativesdk} making shebang line
pointing to the absolute path to env(1) in SDKPATHNATIVE
which may not be present if coreutils isn't part of nativesdk.
On the other hand commit cf63d90 (bitbake.conf: Define USRBINPATH
globally instead of individually) introduces USRBINPATH variable
which has correct value regarding build class and intended for
this use case.
v2: Rebased on top of new head.
Cc: XE-Linux <xe-linux-external@cisco.com>
(From OE-Core rev: 2a83c22a510e10b169015ce936eb51a6fc959ec1)
Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 'c8da8ce openssl: Fix build with clang' introduced a regression.
do_compile fails when building with gcc/thumb2.
Note that I did not test if it still builds with clang.
Prevents the following when building with thumb2:
| ghash-armv4.S: Assembler messages:
| ghash-armv4.S:88: Error: thumb conditional instruction should be in IT block -- `ldrplb r12,[r2,r3]'
| ghash-armv4.S:98: conditional infixes are deprecated in unified syntax
| ghash-armv4.S:98: Error: thumb conditional instruction should be in IT block -- `ldrplb r8,[r0,r3]'
| ghash-armv4.S:105: Error: thumb conditional instruction should be in IT block -- `eorpl r12,r12,r8'
| ghash-armv4.S:107: Error: thumb conditional instruction should be in IT block -- `andpl r14,r12,#0xf0'
| ghash-armv4.S:108: Error: thumb conditional instruction should be in IT block -- `andpl r12,r12,#0x0f'
| ghash-armv4.S:144: conditional infixes are deprecated in unified syntax
| ghash-armv4.S:144: Error: thumb conditional instruction should be in IT block -- `ldrneb r12,[r2,#15]'
| ghash-armv4.S:231: conditional infixes are deprecated in unified syntax
| ghash-armv4.S:231: Error: thumb conditional instruction should be in IT block -- `ldrplb r12,[r0,r3]'
| ghash-armv4.S:248: Error: thumb conditional instruction should be in IT block -- `andpl r14,r12,#0xf0'
| ghash-armv4.S:249: Error: thumb conditional instruction should be in IT block -- `andpl r12,r12,#0x0f'
(From OE-Core rev: 65cfb24033278fd4fb27013d3272394197649ca2)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nasm can build on every architecture, it just can't generate anything but X86
code. As we can't know what the user intends to do with nasm, remove the
COMPATIBLE_HOST line.
(From OE-Core rev: 41d6e5bb295e952de6e1a3e36b313caa58e935bf)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
net-tools-native is needed by swtpm-wrappers (in meta-security)
because swtpm_setup.sh calls netstat, which cannot be assumed to be
present in all Linux installations (for example, it is not in OpenSUSE
minimal base).
(From OE-Core rev: 508163bef169cf0d9aa97e73c02d1ecc68480e91)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the new executable argument to bb.utils.which() to ensure that the symlinks
point to executable files and not for example directories with the right name
which happened to be on $PATH.
[ YOCTO #11256 ]
(From OE-Core rev: 7f40c934c3aeb1d34f95f30b281e25a17c428fce)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This pulls in changes to bb.utils.which() for HOSTTOOLS.
(From OE-Core rev: 398fd35bfc2b4795067e25659841adaeea211809)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is long dead (thankfully), remove stale reference/comment.
(From OE-Core rev: 2340fcb1af3c9ca350dba89d48a44f414277d1a8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've been using 4.10 for a while now, I think 4.4 was accidentally left
behind so clean it up.
(From OE-Core rev: b114d2f2f53e2c1b327f140fb5d29f8bf1641ac9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With this change (combined with the previous linux-libc-header fix), a
combined sysroot for 32 and 64 bit arm works meaning our SDK works
correctly for that multilib setup.
(From OE-Core rev: 4690cd8e34fc23de10400cc1c178b2c73c7690c7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its rather sad we need to do this but in order to make combined 32 and 64 bit
SDKs work, we need a common set of headers and this is the delta that
allows things to work. It only applies on arm.
(From OE-Core rev: 592ae8e521a3926e8e5f87e2364e1ba8d92b8c2d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having arm 32/64 bit headers coexisting turns out to be tricky. Unfortunately
our wrapper works using wordsize.h and this differs on arm so we can't use it.
Therefore replicate the logic here for arm. I did look into writing our
own wordsize.h but we also need to remap kernel headers on arm and
since wordsize.h comes from libc, that doesn't work for kernel headers.
(From OE-Core rev: 141dc7136c9c62da1d30132df4b3244fe6d8898d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are no users of this left after recipe specfic sysroots was implemented,
drop the variable as it no longer makes sense or is useful.
(From OE-Core rev: a2fbf85f68b685c32049fb48aed0248369911c49)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I suspect this was a typo and that TARGET_SYS makes more sense here. Its
also the only remaining user of MULTIMACH_HOST_SYS in OE-Core. Change it.
(From OE-Core rev: fd51900f203ae997b0f606f94ab87c12e37696c0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we get to version 12 we have a hard break as we can't convert to newer
versions. There is no point in running the old conversions on an old tmpdir
only to hit that block. Remove all the old conversions to avoid that and
make things clearer.
(From OE-Core rev: 163b27bdfe323b648929240375aaf251e8d5edf4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Users should be able to locally choose DEPLOY_DIR without impacting
the reuse of sstate, this change allows that.
[YOCTO #11110]
(From OE-Core rev: 460f6ca573667dfcbd66f5efcaebf686f1442b36)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you are using relative paths and change to other folder for
execution it will fail, so use realpaths always.
[YOCTO #11164]
(From OE-Core rev: 14283700f8ec9dcb29cbc00c92d76173f1601bf5)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"bitbake -c populate_dsk_ext" must not trigger do_rm_work, because it
is impossible to declare that the additional tasks activated by "-c
populate_dsk_ext" must run before do_rm_work. When do_populate_dsk_ext
and do_rm_work are both active, the resulting race condition breaks
do_populate_dsk_ext.
The existing bitbake dependencies can't be used for that, because
"addtask populate_dsk_ext before do_rm_work" would then always execute
populate_dsk_ext also in normal builds.
do_populate_dsk_ext triggers do_rm_work indirectly through the
dependency on do_build of the SDK_TARGETs. Using the new
do_build_without_rm_work instead (when available, with do_build as
before if not) avoids the problem.
However, one has to be careful to not trigger do_rm_work in the same
build in some other way. "bitbake core-image-sato:do_populate_sdk_ext
core-image-sato:do_build" still fails, for example. Doing one after
the other works.
Fixes: [YOCTO 11042]
(From OE-Core rev: 00b1911c65fa1b21c3dedec40170998573b62178)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some classes, for example populate_sdk_ext.bbclass, must be able to
trigger a full build of a recipe without also triggering
do_rm_work. They cannot depend on do_build anymore, because that would
trigger do_rm_work.
Instead, do_build_without_rm_work can be used. It has the exact same
dependencies as do_build, minus do_rm_work and do_rm_work_all.
This may also be useful in a test build of a recipe where one wants
to preserve the work directory without having to modify configuration
settings:
bitbake foobar:do_build_without_rm_work
(From OE-Core rev: 04a7b8d6d2e86cc4dd1362c775f5e3ac1eb1d19d)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Linking with gold fails due to an internal error in gold. The ovmf
linker is gcc, which has a -fuse-ld=bfd option to choose the linker
which (for ovmf) is known to work.
Like the choice of the compilers, this is done in ovmf-native. To keep
that recipe independent of DISTRO_FEATURES, choosing bfd is done
unconditionally.
(From OE-Core rev: 7ee548b9f6f2893caf6b5ade8c892f2968d4ec47)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Normally bb.utils.which() is used by the unpack code to find a file in a variety
of places, but it is useful as a slightly more powerful version of os.which().
Support this by allowing it to only return matches which are executable files,
instead of just the first filename that matches.
(Bitbake rev: c0b94f02f0cba7a424aaa16cf98c0f7a3f62b889)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
URL decoding was improved in the core a while ago and this looks like
a leftover from those times which caused urls needing a user/password to
fail. Use the parameters from the core instead of the broken split
implementation.
[YOCTO #11262]
(Bitbake rev: 6a917ec99d659e684b15fa8af94c325172676062)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Turn reasons from a list into a string (usually there will be only one
reason, but the interface provides for more than one) and state up
front that the recipe is unavailable for clarity
* Use quotes around invalid recipe name
(Bitbake rev: 8922f1d23400049d2894a97915a533769a24ca07)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function calls cooker.findBestProvider() but didn't handle the fact
that that function returns a tuple (None, None, None, None) when there
is no matching recipe. (This fixes devtool in OpenEmbedded showing a
traceback when an invalid recipe is specified instead of a proper error
message.)
(Bitbake rev: 54a4757ca706afc6e98c7692f960592e80cab12b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit looks to see if FETCHCMD_s3 is set and if not, sets
it.
This is needed because I've use cases where I don't use aws, but
s3cmd (due to license).
(Bitbake rev: fdeaed70a7d1ff8be1a1de937cb864130b0c2c86)
Signed-off-by: Elizabeth 'pidge' Flanagan <pidge@toganlabs.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds aws to HOSTTOOLS_NONFATAL in order to get the s3 fetcher
working again.
(From OE-Core rev: 6d6d0737a29bbf3dcd231bfefe13784ed16dd55a)
Signed-off-by: Elizabeth 'pidge' Flanagan <pidge@toganlabs.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make use of lnr while creating relative symlinks to enable
builds on host with old ln that does not support -r option.
Cc: XE-Linux <xe-linux-external@cisco.com>
(From OE-Core rev: dd162286921ccac4981e091de1df4c36d5cfbf5b)
Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have 4.1 (LTSI), 4.4 (LTS), 4.9 (LTS/LTSI) and 4.10 available in
master. 4.8 is no longer required, so we drop the recipe to keep
the version selection under control.
(From meta-yocto rev: 8be1b026d1f56ef18d19fae90cbae45bd7dd97c7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This aligns with the behavior of grub-efi and gummiboot, and is needed to fix
auto-boot of intel-corei7-64 for non-GPLv3 builds.
(From OE-Core rev: c187326afcf1e9d781c1bd0923e1362a6f50f613)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Dead symlinks, or symlinks to existing files will show up in 'files' of an
os.walk, but symlinks to existing directories show up in 'dirs', so we need to
consider both.
As one example where this is an issue, the symlink from /usr/lib/ssl/certs was
left pointing to /etc/ssl/certs rather than the relative path when the sdk was
built on hosts where the latter exists.
(From OE-Core rev: c5b522378fff13962a5187d9d09979866f805cb5)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
update_gio_module_cache intercept creates file:
$D${libdir}/gio/modules/giomodule.cache
Change ownership of this file to root:root to avoid user contamination
by host.
(From OE-Core rev: 9a23af37ad11a7176248ade88511f34fe6dd97bb)
Signed-off-by: Abdur Rehman <abdur_rehman@mentor.com>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some layers don't have dependencies so add a validation to avoid
exception when trying to None.split().
(From OE-Core rev: 39103285029a0bb7b64dc5a305c484988b4c651a)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have 4.1 (LTSI), 4.4 (LTS), 4.9 (LTS/LTSI) and 4.10 available in
master. 4.8 is no longer required, so we drop the recipe to keep
the version selection under control.
(From OE-Core rev: 466e6e45ca04a07ebe1b1f52de747f077b362d54)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker has made the 4.9-rt12 available to linux-yocto, so
we integrate it here and update the SRCREVs.
(From OE-Core rev: 919a789adbb06d8220e7f9025ebe983832132bf3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable release with the following shortlogs:
c3825da143fc Linux 4.9.17
ecdc5b12d7a0 crypto: powerpc - Fix initialisation of crc32c context
c40609652267 locking/rwsem: Fix down_write_killable() for CONFIG_RWSEM_GENERIC_SPINLOCK=y
1522181f4bc1 futex: Add missing error handling to FUTEX_REQUEUE_PI
6244ffc5a122 futex: Fix potential use-after-free in FUTEX_REQUEUE_PI
9f9115b67aa5 x86/perf: Fix CR4.PCE propagation to use active_mm instead of mm
24ba2842a49d x86/kasan: Fix boot with KASAN=y and PROFILE_ANNOTATED_BRANCHES=y
5ec98e6ffdce x86/tsc: Fix ART for TSC_KNOWN_FREQ
095635be809a irqchip/gicv3-its: Add workaround for QDF2400 ITS erratum 0065
61e79860b4bc arm64: KVM: VHE: Clear HCR_TGE when invalidating guest TLBs
8ca7ef0d9af9 drm/vc4: Fix ->clock_select setting for the VEC encoder
6b3306706733 drm/vc4: Fix race between page flip completion event and clean-up
f4d40cfd61ea clk: bcm2835: Fix ->fixed_divider of pllh_aux
7885195b9177 powerpc/mm: Fix build break when CMA=n && SPAPR_TCE_IOMMU=y
ce7aeffe7596 usb: gadget: udc: atmel: remove memory leak
4fa1c65cf040 serial: 8250_pci: Detach low-level driver during PCI error recovery
56c28e7983a8 ACPI / blacklist: Make Dell Latitude 3350 ethernet work
5c19e9070df8 ACPI / blacklist: add _REV quirks for Dell Precision 5520 and 3520
bc01eb939899 slub: move synchronize_sched out of slab_mutex on shrink
bd2de45031b9 uvcvideo: uvc_scan_fallback() for webcams with broken chain
e627116c0c35 s390/zcrypt: Introduce CEX6 toleration
61a153d06ef4 block: allow WRITE_SAME commands with the SG_IO ioctl
0042afe117c6 drm/nouveau/disp/nv50-: specify ctrl/user separately when constructing classes
5001756c1c70 drm/nouveau/disp/nv50-: split chid into chid.ctrl and chid.user
ddc23b5212b9 drm/nouveau/disp/gp102: fix cursor/overlay immediate channel indices
53e18968a9c0 vfio/spapr: Postpone default window creation
2e60baca235b vfio/spapr: Add a helper to create default DMA window
080eb13542a8 powerpc/mm/iommu, vfio/spapr: Put pages on VFIO container shutdown
92e44bcd71ae vfio/spapr: Reference mm in tce_container
5b34666bd2e7 powerpc/iommu: Stop using @current in mm_iommu_xxx
2ba7ef21820e powerpc/iommu: Pass mm_struct to init/cleanup helpers
5d8b3e755974 vfio/spapr: Postpone allocation of userspace version of TCE table
3c0cbb47a8d6 Drivers: hv: ring_buffer: count on wrap around mappings in get_next_pkt_raw() (v2)
3e5a7f5b95f0 ibmveth: calculate gso_segs for large packets
fb7c521a1460 PCI: Do any VF BAR updates before enabling the BARs
3d58444dea81 PCI: Ignore BAR updates on virtual functions
74cce811a4b6 PCI: Update BARs using property bits appropriate for type
a38012dc69eb PCI: Don't update VF BARs while VF memory space is enabled
bb479246bb3e PCI: Decouple IORESOURCE_ROM_ENABLE and PCI_ROM_ADDRESS_ENABLE
ed09d211d28e PCI: Add comments about ROM BAR updating
7b65c3a84311 PCI: Remove pci_resource_bar() and pci_iov_resource_bar()
6a5f3e664ac7 PCI: Separate VF BAR updates from standard BAR updates
29d928785f5e x86/hyperv: Handle unknown NMIs on one CPU when unknown_nmi_panic
456be98b4e79 scsi: ibmvscsis: Synchronize cmds at remove time
94700877c25f scsi: ibmvscsis: Synchronize cmds at tpg_enable_store time
189491f81cf6 scsi: ibmvscsis: Rearrange functions for future patches
4d36f4859fa4 scsi: ibmvscsis: Clean up properly if target_submit_cmd/tmr fails
29022860df8e scsi: ibmvscsis: Return correct partition name/# to client
0ad1d7660a57 scsi: ibmvscsis: Issues from Dan Carpenter/Smatch
61229e62c1aa igb: add i211 to i210 PHY workaround
15ffc931eeb9 igb: Workaround for igb i210 firmware issue
4b40611a9b7e xen: do not re-use pirq number cached in pci device msi msg data
2382c1486c62 dmaengine: iota: ioat_alloc_chan_resources should not perform sleeping allocations.
0e0f1d6fdb35 bpf: fix mark_reg_unknown_value for spilled regs on map value marking
1889d6d9b5e7 bpf: fix regression on verifier pruning wrt map lookups
b7f5aa1ca0be bpf: fix state equivalence
1411707acb85 bpf: Detect identical PTR_TO_MAP_VALUE_OR_NULL registers
9e38375a4b17 dccp: fix memory leak during tear-down of unsuccessful connection request
beaa66cce556 tun: fix premature POLLOUT notification on tun devices
98933eb36dd2 dccp/tcp: fix routing redirect race
9bce26f224d8 bridge: drop netfilter fake rtable unconditionally
683100ed4576 ipv6: avoid write to a possibly cloned skb
4a8d3bb73a82 ipv6: make ECMP route replacement less greedy
87c0286a07f9 mpls: Do not decrement alive counter for unregister events
b61206e25302 mpls: Send route delete notifications when router module is unloaded
47c8dc47c008 act_connmark: avoid crashing on malformed nlattrs with null parms
ccb65adc6ca6 uapi: fix linux/packet_diag.h userspace compilation error
b07eed8f7119 net/tunnel: set inner protocol in network gro hooks
db6e7796186a vrf: Fix use-after-free in vrf_xmit
7c0eaeec84d1 dccp: fix use-after-free in dccp_feat_activate_values
5f79aab41ded net/sched: act_skbmod: remove unneeded rcu_read_unlock in tcf_skbmod_dump
f157cc1d7251 net: fix socket refcounting in skb_complete_tx_timestamp()
98fa3d2a8e39 net: fix socket refcounting in skb_complete_wifi_ack()
07753bc6a281 tcp: fix various issues for sockets morphing to listen state
4547f03d1a62 strparser: destroy workqueue on module exit
51ae1fbcf173 dccp: Unlock sock before calling sk_free()
0bcc319d554c ipv6: orphan skbs in reassembly unit
3d87dce3dfd6 net: net_enable_timestamp() can be called from irq contexts
62fe0521fb6c net: don't call strlen() on the user buffer in packet_bind_spkt()
fa7c48fb3ad1 net: bridge: allow IPv6 when multicast flood is disabled
bbaeb9b73fa8 tcp/dccp: block BH for SYN processing
8f4db60c7fb5 mlxsw: spectrum_router: Avoid potential packets loss
02595f472548 geneve: lock RCU on TX path
0a40da4a74f1 vxlan: lock RCU on TX path
feaa5bab4335 net: phy: Avoid deadlock during phy_error()
837786cbbb60 l2tp: avoid use-after-free caused by l2tp_ip_backlog_recv
063893e4ec88 net sched actions: decrement module reference count after table flush.
36931eb015ee ipv4: mask tos for input route
a64407fafe09 vxlan: don't allow overwrite of config src addr
f7081057d12c vti6: return GRE_KEY for vti6
ee2da79de289 vxlan: correctly validate VXLAN ID against VXLAN_N_VID
0c6e38e791e9 net/mlx5e: Fix wrong CQE decompression
a63326646995 net/mlx5e: Do not reduce LRO WQE size when not using build_skb
9e354abf9ce3 net/mlx5e: Register/unregister vport representors on interface attach/detach
8a16224b4054 Linux 4.9.16
c8186699527b IB/mlx5: Verify that Q counters are supported
8fed8fc18839 ext4: don't BUG when truncating encrypted inodes on the orphan list
39df5977fd41 rc: raw decoder for keymap protocol is not loaded on register
21582cd0b64c dm: flush queued bios when process blocks to avoid deadlock
d29e6215e5ab KVM: arm/arm64: Let vcpu thread modify its own active state
9d89c20f3b8f KVM: s390: Fix guest migration for huge guests resulting in panic
ce8ab5f168f6 serial: samsung: Continue to work if DMA request fails
d0ef6ecee85e USB: serial: io_ti: fix information leak in completion handler
449b0bb23708 USB: serial: io_ti: fix NULL-deref in interrupt callback
f06b17020a84 USB: iowarrior: fix NULL-deref in write
653418adaf10 USB: iowarrior: fix NULL-deref at probe
6d6c5895f454 USB: serial: omninet: fix reference leaks at open
0ab90ddba78a USB: serial: safe_serial: fix information leak in completion handler
24db1c5a1c52 usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers
d86376790752 usb: host: xhci-dbg: HCIVERSION should be a binary number
03123df08e6b Revert "usb: gadget: uvc: Add missing call for additional setup data"
5ce2e4ce4a8a usb: gadget: function: f_fs: pass companion descriptor along
40192c96660f usb: ohci-at91: Do not drop unhandled USB suspend control requests
accadd8164b7 usb: dwc3-omap: Fix missing break in dwc3_omap_set_mailbox()
808ee146d733 usb: dwc3: gadget: make Set Endpoint Configuration macros safe
de90394b0c6b usb: gadget: dummy_hcd: clear usb_gadget region before registration
ed99f5a09cc6 PCI: Prevent VPD access for QLogic ISP2722
1ced52ead244 powerpc/xics: Work around limitations of OPAL XICS priority handling
bc8d2eefe63f powerpc: Emulation support for load/store instructions on LE
ac4666a7fd1a i2c: add missing of_node_put in i2c_mux_del_adapters
06996254a605 dw2102: don't do DMA on stack
56d91e106b13 efi/arm: Fix boot crash with CONFIG_CPUMASK_OFFSTACK=y
ee6f7ee1e4cd ucount: Remove the atomicity from ucount->count
8bb208d02acc tracing: Add #undef to fix compile error
b72ae5ca7a8b cpmac: remove hopeless #warning
04275d2a8af3 bcm63xx_enet: avoid uninitialized variable warning
b7e968da04d7 MIPS: ralink: Remove unused rt*_wdt_reset functions
dd2419e1cec0 MIPS: ralink: Remove unused timer functions
f34064186f0e MIPS: ralink: Cosmetic change to prom_init().
7b767f6b515d mtd: pmcmsp: use kstrndup instead of kmalloc+strncpy
976e40d7f6fe MIPS: Update lemote2f_defconfig for CPU_FREQ_STAT change
dd2ef28eb76e MIPS: ip22: Fix ip28 build for modern gcc
aff853abd298 MIPS: Update ip27_defconfig for SCSI_DH change
23096c56787e MIPS: ip27: Disable qlge driver in defconfig
ad8387a60228 MIPS: VDSO: avoid duplicate CAC_BASE definition
5841e3d37db9 MIPS: Update defconfigs for NF_CT_PROTO_DCCP/UDPLITE change
2c1820ea8dcc crypto: improve gcc optimization flags for serpent and wp512
ce4d67cb3e6e USB: serial: digi_acceleport: fix OOB-event processing
e1533c46151c USB: serial: digi_acceleport: fix OOB data sanity check
d962bf8dd954 Linux 4.9.15
182ff0ebbdab drivers: hv: Turn off write permission on the hypercall page
63e873679ba9 fat: fix using uninitialized fields of fat_inode/fsinfo_inode
16ace91043bf mm: do not call mem_cgroup_free() from within mem_cgroup_alloc()
1771fc58a35d thp: fix another corner case of munlock() vs. THPs
2f18b39499b2 x86/tlb: Fix tlb flushing when lguest clears PGE
91cdd9d79616 x86, mm: fix gup_pte_range() vs DAX mappings
290215a2abfd libceph: use BUG() instead of BUG_ON(1)
ff3bcdc9b5f0 drm/i915: Fix not finding the VBT when it overlaps with OPREGION_ASLE_EXT
686ea5862eb6 drm/i915: Avoid spurious WARNs about the wrong pipe in the PPS code
967e17bcc96d drm: Cancel drm_fb_helper_resume_work on unload
9edc456fe621 drm: Cancel drm_fb_helper_dirty_work on unload
868a747c77cb drm/i915/gvt: Disable access to stolen memory as a guest
f72b751f4340 drm/atomic: fix an error code in mode_fixup()
98620b564fad drm/imx: imx-tve: Do not set the regulator voltage
3a654a85932f dmaengine: imx-sdma - correct the dma transfer residue calculation
56a567de553e drm/vmwgfx: Work around drm removal of control nodes
55f47122c2e8 drm/ttm: Make sure BOs being swapped out are cacheable
ec8e40b117c3 drm/edid: Add EDID_QUIRK_FORCE_8BPC quirk for Rotel RSX-1058
f96c10c2bd1b drm/ast: Fix AST2400 POST failure without BMC FW or VBIOS
5da03582e212 drm/ast: Call open_key before enable_mmio in POST code
54aa80e300d6 drm/ast: Fix test for VGA enabled
0734a3213ca8 drm/amdgpu: add more cases to DCE11 possible crtc mask setup
b507df2e236e mac80211: use driver-indicated transmitter STA only for data frames
39813849996f mac80211: don't handle filtered frames within a BA session
42e7f3771429 mac80211: don't reorder frames with SN smaller than SSN
b116db0da1bd mac80211: flush delayed work when entering suspend
9ad1571da2c0 nfit, libnvdimm: fix interleave set cookie calculation
a7b9c9ddb6f4 xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD
019c088dc403 pwm: pca9685: Fix period change with same duty cycle
1f2f16c7b7e3 nlm: Ensure callback code also checks that the files match
4f77c55c3ac2 drivers/pci/hotplug: Fix initial state for empty slot
1afe7b4ac3df drivers/pci/hotplug: Handle presence detection change properly
17ea11d55322 target: Fix NULL dereference during LUN lookup + active I/O shutdown
54eff720c99f pci/hotplug/pnv-php: Disable surprise hotplug capability on conflicts
4ee3508f7abe pci/hotplug/pnv-php: Remove WARN_ON() in pnv_php_put_slot()
5da90d0018a7 ceph: remove req from unsafe list when unregistering it
ff61e0123b7d ktest: Fix child exit code processing
1f2ca141ec53 memory/atmel-ebi: Fix ns <-> cycles conversions
b2b0f6ffd3f9 orangefs: Use RCU for destroy_inode
d3381fab77cb fs: Better permission checking for submounts
48e2181b0b8d IB/srp: Fix race conditions related to task management
d5d1d2cc4be7 IB/srp: Avoid that duplicate responses trigger a kernel bug
516a12ab11bd IB/SRP: Avoid using IB_MR_TYPE_SG_GAPS
04f16db056d0 IB/mlx5: Fix out-of-bound access
2e539fa49efd IB/IPoIB: Add destination address when re-queue packet
1626076b8e1c IB/ipoib: Fix deadlock between rmmod and set_mode
808e83e5add1 mnt: Tuck mounts under others instead of creating shadow/side mounts.
c9b3f3173fa5 brcmfmac: fix incorrect event channel deduction
53d43706f2ba cxl: fix nested locking hang during EEH hotplug
411d0b0ced69 cxl: Prevent read/write to AFU config space while AFU not configured
60037aa689ba net: mvpp2: fix DMA address calculation in mvpp2_txq_inc_put()
e067f68db256 s390: use correct input data address for setup_randomness
321081d522d3 s390: make setup_randomness work
9d38fd6a4f6c s390: TASK_SIZE for kernel threads
dc31841fcdce s390/chsc: Add exception handler for CHSC instruction
91cfcaa6ed46 s390/kdump: Use "LINUX" ELF note name instead of "CORE"
b848102542f5 s390/dcssblk: fix device size calculation in dcssblk_direct_access()
5cec5e32ba56 s390/qdio: clear DSCI prior to scanning multiple input queues
519b6cead21e Bluetooth: Add another AR3012 04ca:3018 device
7c3bab189c16 KVM: VMX: use correct vmcs_read/write for guest segment selector/base
035dcc8e87f6 KVM: s390: Disable dirty log retrieval for UCONTROL guests
c4c590be4944 serial: 8250_pci: Add MKS Tenta SCOM-0800 and SCOM-0801 cards
e5b977876155 tty: n_hdlc: get rid of racy n_hdlc.tbuf
(From OE-Core rev: 9b91f4ed409aeee3fa856c9ae1c5bdb3ad73f6cd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg release with the following shortlog:
0136bca4e0f6 Linux 4.4.56
99d403faba47 futex: Add missing error handling to FUTEX_REQUEUE_PI
44854c191e2c futex: Fix potential use-after-free in FUTEX_REQUEUE_PI
62f57041fbdf x86/perf: Fix CR4.PCE propagation to use active_mm instead of mm
8e0ec20539f8 x86/kasan: Fix boot with KASAN=y and PROFILE_ANNOTATED_BRANCHES=y
3a19419c50c6 fscrypto: lock inode while setting encryption policy
fd74e8d258da fscrypt: fix renaming and linking special files
c10ffe988f15 net sched actions: decrement module reference count after table flush.
676fe978525d dccp: fix memory leak during tear-down of unsuccessful connection request
4ab956b56133 dccp/tcp: fix routing redirect race
56f9b9502f2d bridge: drop netfilter fake rtable unconditionally
aed728c38c48 ipv6: avoid write to a possibly cloned skb
5f8bc3856e28 ipv6: make ECMP route replacement less greedy
b57955ea30e1 mpls: Send route delete notifications when router module is unloaded
710fbeb3f5c5 act_connmark: avoid crashing on malformed nlattrs with null parms
6c72458ab428 uapi: fix linux/packet_diag.h userspace compilation error
e671f1cc588f vrf: Fix use-after-free in vrf_xmit
d0ebde92fbeb dccp: fix use-after-free in dccp_feat_activate_values
ec4d8692b76e net: fix socket refcounting in skb_complete_tx_timestamp()
9e7683301bee net: fix socket refcounting in skb_complete_wifi_ack()
2681a7853ad7 tcp: fix various issues for sockets morphing to listen state
9216632bf4a0 dccp: Unlock sock before calling sk_free()
a70c32859704 net: net_enable_timestamp() can be called from irq contexts
f331d6445a3e net: don't call strlen() on the user buffer in packet_bind_spkt()
2cd0afc64e33 l2tp: avoid use-after-free caused by l2tp_ip_backlog_recv
354f79125f12 ipv4: mask tos for input route
f1b3aae1f1bf vti6: return GRE_KEY for vti6
51a219a1371e vxlan: correctly validate VXLAN ID against VXLAN_N_VID
0c0be310ba29 netlink: remove mmapped netlink support
28ec98bc2e4a Linux 4.4.55
1c5265be54d3 ext4: don't BUG when truncating encrypted inodes on the orphan list
cd8ad4d9eb6d dm: flush queued bios when process blocks to avoid deadlock
66dd58f56eab nfit, libnvdimm: fix interleave set cookie calculation
a084aeef5633 s390/kdump: Use "LINUX" ELF note name instead of "CORE"
b0e85701a776 KVM: s390: Fix guest migration for huge guests resulting in panic
61fbad6a28fd mvsas: fix misleading indentation
72ca0ab30680 serial: samsung: Continue to work if DMA request fails
72bb2b96b856 USB: serial: io_ti: fix information leak in completion handler
e71c7bad6844 USB: serial: io_ti: fix NULL-deref in interrupt callback
6498086195b9 USB: iowarrior: fix NULL-deref in write
179295c38d23 USB: iowarrior: fix NULL-deref at probe
54f11a9662b6 USB: serial: omninet: fix reference leaks at open
3cdc94638746 USB: serial: safe_serial: fix information leak in completion handler
cf09c7d60ccc usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers
40c5634ffe3d usb: host: xhci-dbg: HCIVERSION should be a binary number
4a1a3bb70fb4 usb: gadget: function: f_fs: pass companion descriptor along
10af24856503 usb: dwc3: gadget: make Set Endpoint Configuration macros safe
f47b97f2cdaa usb: gadget: dummy_hcd: clear usb_gadget region before registration
2ca39d130015 powerpc: Emulation support for load/store instructions on LE
074893495b72 tracing: Add #undef to fix compile error
127651058594 MIPS: Netlogic: Fix CP0_EBASE redefinition warnings
2e4aff2405af MIPS: DEC: Avoid la pseudo-instruction in delay slots
5fad17434465 mm: memcontrol: avoid unused function warning
5e45d834f762 cpmac: remove hopeless #warning
32883383f5e0 MIPS: ralink: Remove unused rt*_wdt_reset functions
4b91e7a2a9a7 MIPS: ralink: Cosmetic change to prom_init().
3dc8f1e3a8f2 mtd: pmcmsp: use kstrndup instead of kmalloc+strncpy
d2a8d746ae95 MIPS: Update lemote2f_defconfig for CPU_FREQ_STAT change
c018595d83a3 MIPS: ip22: Fix ip28 build for modern gcc
7a6a965f350e MIPS: Update ip27_defconfig for SCSI_DH change
8ed0fdcc0c11 MIPS: ip27: Disable qlge driver in defconfig
adc48c710b7e MIPS: Update defconfigs for NF_CT_PROTO_DCCP/UDPLITE change
e041ad066440 crypto: improve gcc optimization flags for serpent and wp512
a8cb5c02a20f USB: serial: digi_acceleport: fix OOB-event processing
4d95645f3dd5 USB: serial: digi_acceleport: fix OOB data sanity check
(From OE-Core rev: aac3bd4b9a3a2dca42eff68beec1b075ae8e532a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable release with the following shortlog
summary:
034612ee057c Linux 4.10.5
7814c9bd217a crypto: s5p-sss - Fix spinlock recursion on LRW(AES)
4310604e21dd crypto: powerpc - Fix initialisation of crc32c context
de3c88fa6a29 locking/rwsem: Fix down_write_killable() for CONFIG_RWSEM_GENERIC_SPINLOCK=y
d80e46d90742 futex: Add missing error handling to FUTEX_REQUEUE_PI
575caefc01f3 futex: Fix potential use-after-free in FUTEX_REQUEUE_PI
57ad6c8ecb1f x86/perf: Fix CR4.PCE propagation to use active_mm instead of mm
343146100991 x86/intel_rdt: Put group node in rdtgroup_kn_unlock
7621600b480e x86/kasan: Fix boot with KASAN=y and PROFILE_ANNOTATED_BRANCHES=y
bd5ee529d0be x86/tsc: Fix ART for TSC_KNOWN_FREQ
a0256e0c0dc6 x86/unwind: Fix last frame check for aligned function stacks
5b115b8b53d8 drm/i915/lspcon: Fix resume time initialization due to unasserted HPD
ebd9dbabb5fc drm/i915/gen9+: Enable hotplug detection early
b9208ab35001 drm/i915/lspcon: Enable AUX interrupts for resume time initialization
1740a61cf09e irqchip/gicv3-its: Add workaround for QDF2400 ITS erratum 0065
ef217ea7f1fb arm64: KVM: VHE: Clear HCR_TGE when invalidating guest TLBs
f70ce6c63e02 dccp: fix memory leak during tear-down of unsuccessful connection request
a79fa23c82a1 tun: fix premature POLLOUT notification on tun devices
b34c9f7fe45e dccp/tcp: fix routing redirect race
7ebf301d8476 net: use net->count to check whether a netns is alive or not
47808872e25b bridge: drop netfilter fake rtable unconditionally
fdb09132bdea ipv6: avoid write to a possibly cloned skb
b74b74e2087e ipv6: make ECMP route replacement less greedy
ed44bf89ab5f mpls: Do not decrement alive counter for unregister events
61cc1778ad62 mpls: Send route delete notifications when router module is unloaded
8e9bacd9add7 act_connmark: avoid crashing on malformed nlattrs with null parms
cdb9caeb7177 amd-xgbe: Enable IRQs only if napi_complete_done() is true
110e7778ea32 uapi: fix linux/packet_diag.h userspace compilation error
5344ec08726a net/tunnel: set inner protocol in network gro hooks
7360a1fda857 vrf: Fix use-after-free in vrf_xmit
be18cce7e665 team: use ETH_MAX_MTU as max mtu
92ab4dea27c1 dccp: fix use-after-free in dccp_feat_activate_values
a6ff06211b84 net/sched: act_skbmod: remove unneeded rcu_read_unlock in tcf_skbmod_dump
27d0c80f1089 net: fix socket refcounting in skb_complete_tx_timestamp()
80691f3808fc net: fix socket refcounting in skb_complete_wifi_ack()
81a43770b456 tcp: fix various issues for sockets morphing to listen state
178e86ff331d strparser: destroy workqueue on module exit
aa677aafef5c bonding: use ETH_MAX_MTU as max mtu
0ee7666f639a amd-xgbe: Don't overwrite SFP PHY mod_absent settings
9919f222968c amd-xgbe: Be sure to set MDIO modes on device (re)start
4381ffdfb32b amd-xgbe: Stop the PHY before releasing interrupts
7558c56cfe35 dccp: Unlock sock before calling sk_free()
a8ee7ed1b03d ipv6: orphan skbs in reassembly unit
eb39579a675a net: net_enable_timestamp() can be called from irq contexts
fa8bc7b48168 net: don't call strlen() on the user buffer in packet_bind_spkt()
e89adaa7d0cf net: bridge: allow IPv6 when multicast flood is disabled
da2da823497c tcp/dccp: block BH for SYN processing
8f05976cbfba mlxsw: spectrum_router: Avoid potential packets loss
40f9f783920f geneve: lock RCU on TX path
d6705c8c0cb0 vxlan: lock RCU on TX path
4c94beba3aee l2tp: avoid use-after-free caused by l2tp_ip_backlog_recv
639fdd961af0 net sched actions: decrement module reference count after table flush.
467bec3656bd sctp: set sin_port for addr param when checking duplicate address
91f4f5bfaa29 ipv4: mask tos for input route
0a33d62a6f9d ipv4: add missing initialization for flowi4_uid
2b5a48d6c6eb vxlan: don't allow overwrite of config src addr
fef3f97a58b2 vti6: return GRE_KEY for vti6
36ec2150ae0a vxlan: correctly validate VXLAN ID against VXLAN_N_VID
f44877534257 sctp: deny peeloff operation on asocs with threads sleeping on it
55bb0dd0256c net/mlx5e: Fix wrong CQE decompression
c0dc4855e92b net/mlx5e: Update MPWQE stride size when modifying CQE compress state
c34c17861ab1 net/mlx5e: Fix broken CQE compression initialization
850a1bfbf35d net/mlx5e: Do not reduce LRO WQE size when not using build_skb
96b457b80526 net/mlx5e: Register/unregister vport representors on interface attach/detach
8ea22fb3114d Linux 4.10.4
42b16fffb79b IB/mlx5: Verify that Q counters are supported
dc37bb8db47b ext4: don't BUG when truncating encrypted inodes on the orphan list
1cda29082a30 rc: raw decoder for keymap protocol is not loaded on register
22fc2f9efa27 dm: flush queued bios when process blocks to avoid deadlock
2030aedc5404 serial_ir: ensure we're ready to receive interrupts
81383a00ce83 drm/i915/gvt: Fix superfluous newline in GVT_DISPLAY_READY env var
523379cd6b65 KVM: arm/arm64: Let vcpu thread modify its own active state
1f9175b9ee7c KVM: s390: Fix guest migration for huge guests resulting in panic
45dc259a4734 serial: samsung: Continue to work if DMA request fails
7daf817d076d USB: serial: io_ti: fix information leak in completion handler
9bb084c79f20 USB: serial: io_ti: fix NULL-deref in interrupt callback
14bca59b1660 USB: iowarrior: fix NULL-deref in write
5ec59765f503 USB: iowarrior: fix NULL-deref at probe
cc6ba470ebf8 USB: serial: omninet: fix reference leaks at open
dc944b117e6c USB: serial: safe_serial: fix information leak in completion handler
a062cb395946 usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers
7202353681d5 usb: host: xhci-dbg: HCIVERSION should be a binary number
222095ea6487 Revert "usb: gadget: uvc: Add missing call for additional setup data"
d60b1053a5bb usb: gadget: function: f_fs: pass companion descriptor along
a0f69738c10e usb: ohci-at91: Do not drop unhandled USB suspend control requests
25b1a4fdd8ae usb: dwc3-omap: Fix missing break in dwc3_omap_set_mailbox()
894a0dfaaef7 usb: dwc3: gadget: make Set Endpoint Configuration macros safe
c73210fdd40d usb: gadget: dummy_hcd: clear usb_gadget region before registration
b5ea65b25a33 PCI: Prevent VPD access for QLogic ISP2722
27469baaef1a powerpc/xics: Work around limitations of OPAL XICS priority handling
74e236a5bd99 powerpc/booke: Fix boot crash due to null hugepd
1006828d1104 powerpc: Emulation support for load/store instructions on LE
80eae855b694 i2c: add missing of_node_put in i2c_mux_del_adapters
be20197df07d dw2102: don't do DMA on stack
7399dec22e72 efi/arm: Fix boot crash with CONFIG_CPUMASK_OFFSTACK=y
da603aadd53a ucount: Remove the atomicity from ucount->count
b7e9ef5cf4d9 tracing: Add #undef to fix compile error
3eded4f5bab1 i2c: bcm2835: Avoid possible NULL ptr dereference
393be4bcb329 MIPS: ralink: Remove unused rt*_wdt_reset functions
4ddb085a9b0a MIPS: ralink: Remove unused timer functions
e1d9f7592b80 MIPS: ralink: Cosmetic change to prom_init().
02b210c18667 mtd: pmcmsp: use kstrndup instead of kmalloc+strncpy
ee9cc4c573d5 MIPS: Update lemote2f_defconfig for CPU_FREQ_STAT change
9ad686e6937a MIPS: ip22: Fix ip28 build for modern gcc
715bb84b6ff6 MIPS: Update ip27_defconfig for SCSI_DH change
b57e5d5daf99 MIPS: ip27: Disable qlge driver in defconfig
2260890bb6c7 MIPS: VDSO: avoid duplicate CAC_BASE definition
d2b0d01a11b3 MIPS: Update defconfigs for NF_CT_PROTO_DCCP/UDPLITE change
aab419fc3980 crypto: improve gcc optimization flags for serpent and wp512
5af39bb8492f USB: serial: digi_acceleport: fix OOB-event processing
2d32308355a8 USB: serial: digi_acceleport: fix OOB data sanity check
a3137ad2e14f ARM: qcom_defconfig: Enable RPM/RPM-SMD clocks
fa190b2a7f87 iio: 104-quad-8: Fix off-by-one error when addressing flag register
adfb98cd3e93 Linux 4.10.3
070dfed4d04e drivers: hv: Turn off write permission on the hypercall page
9cafe6bb9aa2 fat: fix using uninitialized fields of fat_inode/fsinfo_inode
0d9cc8aa34ad kasan: resched in quarantine_remove_cache()
44c95966fb81 mm: do not call mem_cgroup_free() from within mem_cgroup_alloc()
933f0f3ad49a thp: fix another corner case of munlock() vs. THPs
459bc5065631 x86/tlb: Fix tlb flushing when lguest clears PGE
ac312c7e0a90 x86, mm: fix gup_pte_range() vs DAX mappings
0af36e434a3c libceph: use BUG() instead of BUG_ON(1)
cde805106887 drm/i915: Fix not finding the VBT when it overlaps with OPREGION_ASLE_EXT
5eeb3c0eb7ec drm/i915: Pass timeout==0 on to i915_gem_object_wait_fence()
d11d14c5fc0b drm/i915: Check for timeout completion when waiting for the rq to submitted
e2a946bb97bb drm/i915: Avoid spurious WARNs about the wrong pipe in the PPS code
c50f65f12705 drm/i915: Recreate internal objects with single page segments if dmar fails
4a8a58eed276 drm: Cancel drm_fb_helper_resume_work on unload
616c9bd8b288 drm: Cancel drm_fb_helper_dirty_work on unload
cdb4f19aae0f drm/i915/gvt: Disable access to stolen memory as a guest
f7189c6bb9f2 drm/atomic: fix an error code in mode_fixup()
99eb5a10a7f7 drm/imx: imx-tve: Do not set the regulator voltage
5e0b0839f3ce drm/vmwgfx: Work around drm removal of control nodes
e6d03fc74541 drm/ttm: Make sure BOs being swapped out are cacheable
0586602fc10f drm/edid: Add EDID_QUIRK_FORCE_8BPC quirk for Rotel RSX-1058
68279b15119b drm/radeon: handle vfct with multiple vbios images
e51353092182 drm/ast: Fix AST2400 POST failure without BMC FW or VBIOS
cd8183923984 drm/ast: Call open_key before enable_mmio in POST code
f38a3c87d6ee drm/ast: Fix test for VGA enabled
af7fe73a14fc drm/ast: Handle configuration without P2A bridge
0f9e6fc5b76d Revert "drm/amdgpu: update tile table for oland/hainan"
2deaea3e0d07 drm/amdgpu/pm: check for headless before calling compute_clocks
33d129a09aae drm/amdgpu: add more cases to DCE11 possible crtc mask setup
fc758b77745e mac80211: use driver-indicated transmitter STA only for data frames
4a6d105fb277 mac80211: don't handle filtered frames within a BA session
df7db05561f6 mac80211: don't reorder frames with SN smaller than SSN
f5bf0a15c63e mac80211: flush delayed work when entering suspend
ea708e9581d8 nfit, libnvdimm: fix interleave set cookie calculation
3f56c495a42e xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD
5a4312c2a651 pwm: pca9685: Fix period change with same duty cycle
c634f19b9501 nlm: Ensure callback code also checks that the files match
1a02f33a6302 drivers/pci/hotplug: Fix initial state for empty slot
487163f3f316 drivers/pci/hotplug: Handle presence detection change properly
f9b90f204749 target: Fix NULL dereference during LUN lookup + active I/O shutdown
81bd29553ee3 pci/hotplug/pnv-php: Disable surprise hotplug capability on conflicts
7e8b77528445 pci/hotplug/pnv-php: Remove WARN_ON() in pnv_php_put_slot()
ab3398e159fd ceph: remove req from unsafe list when unregistering it
0569b5ed3e73 ktest: Fix child exit code processing
9dbea7f7bcec tracing: Fix return value check in trace_benchmark_reg()
8a915b3ccbb2 memory/atmel-ebi: Fix ns <-> cycles conversions
a4755943204e orangefs: Use RCU for destroy_inode
2708a2d33e04 Btrfs: fix data loss after truncate when using the no-holes feature
ade784b0f3a7 fs: Better permission checking for submounts
35065a1f6ec2 IB/srp: Fix race conditions related to task management
a9397e4365d6 IB/srp: Avoid that duplicate responses trigger a kernel bug
a51892e0c136 IB/SRP: Avoid using IB_MR_TYPE_SG_GAPS
e0d15d562ee7 IB/mlx5: Fix out-of-bound access
b92c4a09f589 IB/IPoIB: Add destination address when re-queue packet
91948b0944af IB/ipoib: Fix deadlock between rmmod and set_mode
6de9d08a9718 mnt: Tuck mounts under others instead of creating shadow/side mounts.
f03d5078063c brcmfmac: fix incorrect event channel deduction
8cdfa0d8b0f5 cxl: fix nested locking hang during EEH hotplug
e5603a5c6deb cxl: Prevent read/write to AFU config space while AFU not configured
4144a307cb46 net: mvpp2: fix DMA address calculation in mvpp2_txq_inc_put()
c9ac3e943deb s390: use correct input data address for setup_randomness
0075504d83ce s390: make setup_randomness work
ca54585dd5dd s390/topology: correct allocation of topology information
c61a874ea0ec s390: TASK_SIZE for kernel threads
162668c000ab s390/chsc: Add exception handler for CHSC instruction
836f9814f092 s390/kdump: Use "LINUX" ELF note name instead of "CORE"
1f2659aa7dfe s390/dcssblk: fix device size calculation in dcssblk_direct_access()
3c3c4d25c589 s390/qdio: clear DSCI prior to scanning multiple input queues
ac7c6461addb phy: qcom-ufs: Fix misplaced jump label
04b5101049ac phy: qcom-ufs: Don't kfree devres resource
a6ed492d6cca Bluetooth: Add another AR3012 04ca:3018 device
3904b32cfe50 KVM: VMX: use correct vmcs_read/write for guest segment selector/base
f89d6db0c50c KVM: s390: Disable dirty log retrieval for UCONTROL guests
c9dc3873046e serial: 8250_pci: Add MKS Tenta SCOM-0800 and SCOM-0801 cards
72e544022383 tty: n_hdlc: get rid of racy n_hdlc.tbuf
(From OE-Core rev: 22dc7a724622c8670cbccca630902014ebc26eb0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BufferedLogger was sending log records to the target logger without
checking if the logger is enabled for the level of the record - and
handle() doesn't check this either (it's normally checked earlier when
the relevant log function is called e.g. logger.debug()), leading for
example to debug messages from codeparser getting printed when the log
level for the main BitBake logger was set to logging.WARNING.
(Bitbake rev: 968a77388dd1a24c1dadec6ce49bf53ebb5b643f)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Imagine you have an sstate mirror accessed over http and an SSTATE_MIRRORS
which maps file:// urls to http:// urls.
File urls set donestampneeded = False, http urls don't. This can result in
races in the try_mirror_url() code since it will trigger new downloads after
aquiring the lockfile as verify_donestamp() doesn't look at origud and there
is no donestamp.
verify_donestamp() already has code to look at origud, we're just missing
some code at the start of the function to do this. Fix it to avoid
these races.
(Bitbake rev: b8b14d975a254444461ba857fc6fb8c725de8874)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the DISTRO_FEATURES contain systemd then the systemd class won't delete the
units for us. Until the class is fixed to do this automatically, delete them
explicitly.
(From OE-Core rev: d68a86d87aa017dd0fecb0f626d22711efefcd3f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, QemuRunner avoids modifying the image files that it boots
into by enabling the qemu snapshot mode. However, some tests may want
to test changes that must persists across reboots, so this mode
should be optional.
This can be combined by copying the image file to a temporary location
first and then booting with that copy. It's also useful when testing
with additional drives attached to a virtual machine.
QemuTinyRunner doesn't use the snapshot parameter and therefore ignores
the new parameter.
Long term, a better way of passing these various configuration
parameters should be used, and perhaps QemuRunner and QemuTinyRunner
can be merged into one again to avoid code duplication. But for now
the patch follows the exiting style.
Also beware that QemuTarget.start() now acts in two different modes
(with or without explicit launch command), and depending on that mode
parameters like discard_writes must be ignored, i.e. not get passed to
launch().
(From OE-Core rev: 969d079a33a57f5a8f7af86d7bab04d35ab07584)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
runqemu() takes all parameters for the virtual machine from the
variables of the given recipe. By allowing the caller to provide a
hash with variables that get applied locally, the caller gets more
control.
Here's the intended usage:
<prepare internal-image in self.resultdir>
overrides = {
'DEPLOY_DIR_IMAGE': self.resultdir,
'IMAGE_LINK_NAME': 'internal-image-%s' % self.image_arch,
}
with runqemu('refkit-installer-image', ssh=False,
overrides=overrides) as qemu:
....
This can be used to replace the image completely with something else
or to copy it before allowing runqemu() to write into it.
(From OE-Core rev: 4c6ba32abd6b9de33f4b8a0b87e8a56432ed7825)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes it is useful to reconfigure the qemu virtual machine
directly. runqemu has the "qemuparams" parameter for that, and the
underlying start() methods also supported modifying that via their
"params" parameter. Only the runqemu() wrapper function lacked
a way to specify additional parameters.
One potential usage is to attach additional disks.
(From OE-Core rev: b2a1cf09ea65ed6f561886b1b4241f9adf3e5709)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, SRCREV is set to AUTOREV, causing mismatch between PV and the kernel
version shown in the makefile (see below to see the bitbake log). The solution
is to skip this check, suggesting to remove it once SRCREV is locked.
ERROR: linux-yocto-4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1 do_kernel_version_sanity_check: Package Version (4.10+gitAUTOINC+01f18cba44_53be19cad6) does not match of kernel being built (4.10.5). Please update the PV variable to match the kernel source or set KERNEL_VERSION_SANITY_SKIP="1" in your recipe.
ERROR: linux-yocto-4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1 do_kernel_version_sanity_check: Function failed: do_kernel_version_sanity_check (log file is located at /home/lsandov1/poky2/build/tmp/work/myqemu-poky-linux/linux-yocto/4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1/temp/log.do_kernel_version_sanity_check.26904)
ERROR: Logfile of failure stored in: /home/lsandov1/poky2/build/tmp/work/myqemu-poky-linux/linux-yocto/4.10+gitAUTOINC+01f18cba44_53be19cad6-r0.1/temp/log.do_kernel_version_sanity_check.26904
ERROR: Task (/home/lsandov1/poky2/meta/recipes-kernel/linux/linux-yocto_4.10.bb:do_kernel_version_sanity_check) failed with exit code '1
[YOCTO #11064]
(From meta-yocto rev: 79bfd911f826c6c7e26827bb200dd69e6f567b17)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, QEMU_USE_KVM=True enabled the use of kvm only when "x86"
was in the MACHINE name. That is too limiting, because for example
intel-corei7-64 can also use kvm but it wasn't possible to enable that
without changing OE-core.
That traditional usage is still supported. In addition, QEMU_USE_KVM
can be set to a list of space-separated MACHINE names for which kvm is
to be enabled.
(From OE-Core rev: d5421dd00b9cf785fa77e77c6c739e8bd8822fa3)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes, the OEQA utility code aborts with:
...
File ".../meta/lib/oeqa/utils/qemurunner.py", line 131, in start
return self.launch(launch_cmd, qemuparams=qemuparams, get_ip=get_ip, extra_bootparams=extra_bootparams)
File ".../meta/lib/oeqa/utils/qemurunner.py", line 259, in launch
sread, swrite, serror = select.select(socklist, [], [], 5)
InterruptedError: [Errno 4] Interrupted system call
strace shows that this is because of a SIGWINCH:
Connection from 127.0.0.1:52668
select(21, [20], [], [], {5, 0}) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
This is related to some special conditions:
* whether qemu opens a graphical console window (enabled in Poky by default)
* where that window gets opened
* whether the window manager changes the size of the shell window (mine
is a tiling window manager and reorders and resizes windows automatically)
Ignoring the interrupted system calls avoids the problem. Code elsewhere (for example,
run() in ssh.py) already does the same thing.
(From OE-Core rev: 44fe106baf5fd5aebe26c5f28004e2b18d839b7c)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was not working in multilib or x32 setups and amazingly, was not
noticed until now.
The actual modification is in Lib/site.py, the rest is just devtool moving things around in the patch.
(From OE-Core rev: f60d261b682f1526fb7a754c425300954ef85042)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Missing runtime dependencies should result in an error rather than a
warning. Indeed, if RPM is listed in PACKAGE_CLASSES, it will throw
an error rather than install packages with missing dependencies. This
functionality should be consistent across package types. This patch
ensures that an error will be thrown.
[YOCTO #10949]
(From OE-Core rev: 90bc7bfa1b27cd5ea2480463f7631f179a296b10)
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When devtool writes to the kconfig fragment, it writes the output of
the diff command returned from pipe.communicate(). This function
returns binary objects. We should open the kconfig fragment file in
binary mode if we expect to write binary objects to it.
[YOCTO #11171]
(From OE-Core rev: 72bec63ab0e78753fb6ed1794d11beef9485c014)
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This sycncs eudev with systemd. This is required for old kernels to
work and does same backport as did in:
,----
| commit 31163abc7bedd477c1aad10e6d1f47dbee194513
| Author: Jonathan Liu <net147@gmail.com>
| Date: Thu Mar 19 15:38:32 2015 +1100
|
| systemd: restore userspace firmware loading support
|
| This changes the minimum required Linux version from 3.7 back to 3.0.
|
| [YOCTO #7409]
|
| Signed-off-by: Jonathan Liu <net147@gmail.com>
| Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`----
(From OE-Core rev: d6b139ef1b52ee4842f8706c1b8b950cc50a3d54)
Signed-off-by: Lauren Post <lauren.post@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Underscore modules are meant to be run only when manually added to the test
suite, so far another mechanisms are in place to make this happen with
runtime, sdk, and esdk (mostly in test* bbclasses).
This will add such functionality in the core framework so other specific
frameworks can take use this without adding something else.
[YOCTO #10980]
(From OE-Core rev: 2c6eac774768aa610a8b3784483b9e90fb629c2d)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Expanded and clarify documentation for the -v, --verbose and -D, --debug
options.
[YOCTO #9962]
(Bitbake rev: 921592026c69287cdb40ffd90944d5944f28e2c3)
Signed-off-by: Diana Thayer <garbados@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you had a script that uses tinfoil and it failed to connect to the
BitBake server, you did't see any of the expected messages - this was
because client-side logging wasn't being handled at all. Since you'll
almost always want this when using tinfoil, have it use the new
bb.msg.logger_create() function to enable client-side logging by
default.
Relates to [YOCTO #11185].
(Bitbake rev: 824e73e0f3eaa96b4d84da7e31f9a17ce5c5d7ee)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We use this code to set up a logger with colour in a number of different
places, so create one function that does this and make some of bitbake's
utility scripts use it.
(Bitbake rev: b1ba7d1cc8ec33e2d081230287abd07f52136097)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We call git ls-remote to get the latest revision from a git repository,
however by calling runfetchcmd() we can end up recursively running
git ls-remote a number of times with OE e.g. if ${SRCPV} is in PV, ${PV}
is in WORKDIR, and ${WORKDIR} is in PATH (as a result of recipe-specific
sysroots), our call to runfetchcmd() exports PATH so _lsremote() will
get called again - with the end result that we run git ls-remote 30
times in quick succession (!). Prevent that from happening by using a
guard variable and returning a dummy value if it's called recursively.
Fixes [YOCTO #11185].
(Bitbake rev: ff1ccd1db5d70b3fc9ad0d3e8f3d7b804c22bf36)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* devtool: oeqa.selftest.devtool.DevtoolTests is taking 4 or more hours on the
autobuilder because the cleanall call deletes the tarball of the kernel
source, forcing a large clone which is especially long on an NFS mount.
The cleanall invocation isn't really required here and switching to clean
instead should avoid hours of re-cloning the same repository each time we
run oe-selftest on the autobuilder.
* buildoptions: We only need to ensure the first image isn't an incremental
image, clean will suffice here.
* runtime-test: no need to clean up the artefacts generated during the test,
let's leave that to a higher level process rather than using the cleanall
hammer.
(From OE-Core rev: 9c948d3de08f158387e08a17cdc0cedc7d26bb54)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ifupdown does not provide an initscript so this recipe should not
inherit update-rc.d class. Instead, we rely on init-ifupdown recipe to
startup networking.
(From OE-Core rev: 4e6bf6ea766a0d47f96b3c4682d4f7e81a5763e7)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The rpm 5 has a rpm-build package, so here should use RPROVIDES rather
than PROVIDES to keep compatibility.
(From OE-Core rev: de2ee88f9cc0fc8d6d92ac2a79364e79a99ae98e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The MESA 17.0 has Etnaviv and i.MX support. Expose them in
PACKAGECONFIG for use.
(From OE-Core rev: b77c0355e272e9e7a7ab625eef27a8717225b132)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a bugfix only release.
,----
| Bug fixes
|
| Bug 68504 - 9.2-rc1 workaround for clover build failure on ppc/altivec: cannot convert 'bool' to '__vector(4) __bool int' in return
| Bug 97988 - [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API
| Bug 99484 - Crusader Kings 2 - Loading bars, siege bars, morale bars, etc. do not render correctly
| Bug 99715 - Don't print: "Note: Buggy applications may crash, if they do please report to vendor"
| Bug 100049 - "ralloc: Make sure ralloc() allocations match malloc()'s alignment." causes seg fault in 32bit build
`----
(From OE-Core rev: 7559db30e161851ea944763ee4c1adb17ef6a797)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In entire meta/classes/ directory, replace shell tests of the form
"if test -? ..." with POSIX tests of the form "if [ -? ...
(From OE-Core rev: 78928016f4cf38cf6751cb089200bf950d07ae93)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Partition UUID for msdos partitioning is based on a 4 bytes long
system identifier. Wic uses random number to generate system
identifier. For the numbers starting with 0 partition uuid is
shorter, which makes wic images non-bootable as kernel expects
8 charactest in PARTUUID parameter.
Padded system identifier with '0' when generating partition UUID
to make it always 8 characters long. This should fix the boot
issue.
(From OE-Core rev: bdaba95af2b2c9174311374436f184d2a927f6f1)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For aesthetic style reasons, use "grep -q" instead of ">/dev/null".
(From OE-Core rev: 39a7bfde92211b3546ff0a8e6a3e549714996b28)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the kernel templates (those use by the yocto-bsp script) is a mechanical
process (and prone to errors) which consists of copying latest kernel template then
applying string replacements from old to new kernel version. This script collects
these commands allowing quick updates in the future.
(From meta-yocto rev: 450313d9d8bb1e728ed5a7208decd30f50633be1)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mdadm only works with corosync 2.x which provides header file corosync/cmap.h.
If build mdadm with corosync 1.x, it fails with:
| member.c:12:27: fatal error: corosync/cmap.h: No such file or directory
| #include <corosync/cmap.h>
| ^
Build with corosync only header file corosync/cmap.h exists.
Ref:
https://github.com/neilbrown/mdadm/blob/master/mdadm.h#L63
(From OE-Core rev: b2a785f19fe25d244179b8672c846925da6d455a)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When performing a file system check, the image created with mkfs will
trigger Pass 3A ('Optimizing directories') which turns the file system
into state "changed" (EXT2_FLAG_CHANGED).
This will let fsck request a reboot by setting the return code flag "2".
The result of this is that each ext-image built with oe-core will
trigger a reboot during the first time an fsck is triggered.
A common case where this might occur is when fsck detects having
a future superblock write time. This always happens when booting a
newly created ext4 rootfs with a target that does not have a recent time
set.
This patch moves the initial fsck run that performs the optimization
from the target to the host system and thus prevents the target from
performing an avoidable reboot.
(From OE-Core rev: a93d005934192402d7cceb36016b25b7d0c65547)
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Ulrich Ölmann <uol@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Limit the length of error logs to 40 lines. We don't need to
show/archive thousands of lines of bitbake logs if an error occurs.
(From OE-Core rev: 3f1996cb016713295edf35edc32dd5e84888a5c7)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make it possible to limit the length of output lines shown in runCmd
exceptions. E.g when running bitbake we easily get thousands of lines of
log output, where only the last few (tens) are interesting or relevant
when an error occurs.
(From OE-Core rev: 403dd205828002d6ef4e8b474aedb6082289e22f)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to dramatically reduce the data footprint of the result
branches. This makes cloning/pulling result repositories a lot faster.
Buildstats can still be accessed, when needed by doing
git fetch refs/notes/buildstats/*:refs/notes/buildstats/*
[YOCTO #10582]
(From OE-Core rev: 5b52bbf09bb2fbec9d2d54f3c3c46c74a09fbfd0)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of separate rusage and child rusage values, only store their sum
value in buildstats. This is a big reduction in data footprint without
really losing any interesting data.
Also, utilize OrderedDict to order data more logically.
[YOCTO #10582]
(From OE-Core rev: 70c41bb721c00ed2abbb88d273eebc3a8bb01f5d)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Write out all buildstats into one big json file, instead of using
multiple per-measurement files. Individual buildstats will be indexed
using "<test_name>.<measurement_name>" as the key. Also, changes the
per-testcase working directories into temporary directories that will be
removed after test execution as there are no more per-testcase data files
to store permanently.
[YOCTO #10582]
(From OE-Core rev: a7f2e8915db379021f3409ca640de5d3b054a830)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_diffs in the vg_regtest script compares the actual test output
against the expected test output and returns 0 if it matches.
Previous upgrade modified the return value of do_diffs() and that
resulted in ptest failures.
[YOCTO #8471]
(From OE-Core rev: fa5f7b5090468da0ed1e30160e68362c97350c47)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
@PERL@ in vg_regtest.in causes recipe specific sysroot based perl to
be present in the vg_regtest script, making it unusable in the target.
Use /usr/bin/perl instead of @PERL@ to fix it.
(From OE-Core rev: 7a0caa23965185ac8268ae1da2f61fc7ca6de682)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Re-order some assignments to be logically arranged.
Remove the set -ex statements as they serve no purpose.
Pass --debug-configuration to see what configuration steps boost is taking.
(From OE-Core rev: 2dc4796f02ecdc99ee3c51c668e8d9090e68a655)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As Python 3 is the default Python version, change Boost to build against Python
3 instead of Python 2 if enabled. It's not simple to support both, so this
means that support for building boost-python against Python 2 has been removed.
This involves backporting a number of patches upstream to fix Python 3 support,
and telling Boost precisely where to find the Python headers and libraries so
that it doesn't try to invoke the host Python to determine these values.
[ YOCTO #11104 ]
(From OE-Core rev: 0f5418eb0ce12811b16d2e3c28c28140a509f685)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly: Haiti has resumed DST.
Changes to past and future time stamps
Haiti resumed observance of DST in 2017. (Thanks to Steffen Thorsen.)
Changes to past time stamps
Liberia changed from -004430 to +00 on 1972-01-07, not 1972-05-01.
Use "MMT" to abbreviate Liberia's time zone before 1972, as "-004430"
is one byte over the POSIX limit. (Problem reported by Derick Rethans.)
(From OE-Core rev: 70ff7cfa8a7ffb537da19aeca026032bab55a00d)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bb.note prints multiple same lines when invoke this class again, but
if we set mainlogger.propagate = False, nothing would be printed,
according to logging's document:
https://docs.python.org/3/library/logging.html
Note
If you attach a handler to a logger and one or more of its ancestors, it
may emit the same record multiple times. In general, you should not need
to attach a handler to more than one logger - if you just attach it to
the appropriate logger which is highest in the logger hierarchy, then it
will see all events logged by all descendant loggers, provided that
their propagate setting is left set to True. A common scenario is to
attach handlers only to the root logger, and to let propagation take
care of the rest.
We may need avoid using bb.note or bb.warn in oeqa since it attaches
multiple log handlers which may cause confusions
This patch only sets "mainlogger.propagate = False" in
selftest/runqemu.py and use logger.info to replace bb.note in
targetcontrol.py to minimize the impact.
[YOCTO #10249]
(From OE-Core rev: b139790422bc8e0d80bad063bb78bc1632731bc1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Modify the following files to test runqemu:
targetcontrol.py
utils/commands.py
utils/qemurunner.py
We need simulate how "runqemu" works in command line, so when test
"runqemu", the targetcontrol.py, utils/commands.py and
utils/qemurunner.py don't have to find the rootfs or set env vars.
[YOCTO #10249]
(From OE-Core rev: 9305d816bdf8837ea3a407091cb7f24a9a3ae8dc)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some commands might need to run longer than the default timeout of
five seconds. If that occurred, run_serial() returned with a status
code of zero (sic!) and no other indication of what went wrong.
Now the timeout is configurable (with five still the default) and
an explicit warning ("<<< run_serial(): command timed out after 5 seconds without output >>>")
gets appended at the end of the data returned to the caller.
While at it, the logic for checking for the timeout was updated a bit
because both implementations could overshoot the timeout when entering
select() right before the final deadline.
(From OE-Core rev: accf0362f964cc9d6330b6e52e83d748d890521f)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a PACKAGECONFIG option to allow the user to disable the mouse
cursor/pointer in the X server. This might be useful where a
touchscreen is used.
(From OE-Core rev: 680940250c9a1c7b43229c5e4f4fed5cc3e31033)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It seems that the two sections "Kernel Metadata Location" and
"Kernel Metadata Syntax" were flipped regarding their order of
apperance in the kernel-dev manual. I belive that syntax should
be first and then followed by a discussion on the location. I
have swapped these section's ordering in the manual.
(From yocto-docs rev: 167b088f459c7128bdc1abddd0b948be8f3bf5fe)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Convention is to avoid using hyperlinks for variables that appear
in <literallayout>/</literallalyout> coded blocks. I removed the
links for the KERNEL_FEATURES and LINUX_KERNEL_TYPE variables,
which appeared in a literal block and put the links into the
context of the description.
(From yocto-docs rev: 3384f67e4b9f15e8f96297ceb2aafc63a5994d22)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section in the dev-manual that introduces BSP Layers for the
first time was missing a general link to reference into the BSP
Guide to help the user understand BSP Layer structure. I added
a note.
(From yocto-docs rev: c515e30a551e96e11091c3850f7eed1b034abdad)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
poky.ent - changed the "tbd" and "TBD" strings to "pyro" and
"Pyro", respectively.
Manual Head Files - Updated the manual history table with the
May release month.
(From yocto-docs rev: 076226d2986d0cf69685121e4342f50c1603fc7b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10898]
It is hard to get the exact start and end for included license text
during a LIC_FILES_CHKSUM operation. I updated the notes indicating
that the QA message returned upon failure includes the attempted
license text. The user can better adjust his LIC_FILES_CHKSUM
statement to then dig out the proper text.
(From yocto-docs rev: 1db04334703f35f1cab933c345fb1db43fd0af79)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11017]
There is no current way to specify or list plug-in dependencies
when building a Wic image. The variable WKS_FILE_DEPENDS was introduced
to allow the user to use this in the recipe building the image.
I added a description and example of the variable to the ref-manual
variable glossary. I also cross-referenced the variable in the
"Plug-ins" section of the dev-manual to point to the variable for
more information.
(From yocto-docs rev: 5a1072499ab80f74ffec6af2cc0b2f1987843a25)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10350]
A situation exists where a user deploys a new application using
devtool target-deploy and the new application has runtime dependencies
that are not already on the target. When this situation exists, the
application misbehaves if it calls a missing function. I added the
explanation of this situation to the section that describes the
devtool deploy-target command. Also, put a pointer in the section
on devtool add for cross-reference purposes.
(From yocto-docs rev: 694151e397ff40871b3ec8700c39d32a15814535)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11048]
No documentation existed for telling the user how to create signed
RPM packages or for how to use signed package feeds. I have created
a new section on the topic to describe both scenarios.
(From yocto-docs rev: cbdde75f06b1fc190b8e4f7f93f302dc238e3e7f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10888]
The YP documentation was missing information on how the major
and minor (point) release process works. I added a new chapter
in front of the "Maintenance" chapter that details the naming
schemes, cadence, and maintenance for YP releases.
(From yocto-docs rev: b486f871e1fb8a6f763510ed385f459fe215fa27)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10854]
The distros for Fedora, OpenSUSE and CentOS needed these.
(From yocto-docs rev: a83dcca50681d589fbcc924de4845e62de053810)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10855]
In order for BitBake to run, we needed to add two more packages to
the essential host packages: "xz" and "which". I have added these
to the poky.ent file variables for each host and did the formatting
so that the manuals render properly.
(From yocto-docs rev: 1bfbdcb58e31ca6e978d6dcccd6d58fbd68dbf2b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11021]
The "Maintaining Open Source License Compliance During Your
Product's Lifecycle" section in the dev manual covers use of
archiver.bbclass, but is missing mention of the filtering
options (e.g COPYLEFT_LICENSE_INCLUDE, COPYLEFT_LICENSE_EXCLUDE
and COPYLEFT_RECIPE_TYPES). I added descriptions for these
three. During the write-up, Paul noticed a couple other variables
missing: COPYLEFT_PN_INCLUDE and COPYLEFT_PN_EXCLUDE. I also
added descriptions for these two variables.
(From yocto-docs rev: 450311037ea3048d30057c0b9d294efd33db2d3c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed test failure caused by using bootimg_dir path
instead of kernel_dir to find systemd-efi bootloader:
FAIL: test_systemd_bootdisk (oeqa.selftest.wic.Wic)
...
FileNotFoundError: [Errno 2] No such file or directory:
'tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot/usr/share'
(From OE-Core rev: 552bd782d9ffe275b8fc7d7cb0b9aaceb51888c3)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, if something is added to a sysroot, its hash remains unchanged,
and it continues to be buildable, it doesn't get removed from the sysroot.
This patch handles the case where something is removed from DEPENDS or
[depends].
It does introduce its own issue where something could get removed even
though some other task in parallel may have the same requirement. This
case should be extrememly rare and fixing the more common DEPENDS removal
is likely the bigger win though.
(From OE-Core rev: 06227bc5e533841ab12cde84a6ed6f8b8ddeb5cb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed were made to the code but not reflected in vardepsexclude, fix this.
(From OE-Core rev: e59dc6985e22e7ac30b6afa81d448fbc372f5dab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original description for this was:
"""
Since we clean out do_populate_sysroot if do_configure runs, don't
allow do_populate_sysroot_setscene functions if we're going to
run do_configure.
"""
With RSS, we don't need to clean do_populate_sysroot any more. Since
we no longer do that, this function also has no purpose any longer
and can also be removed.
(From OE-Core rev: 637c6d17b4a812379cbab64d340660092e046965)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With recipe specific sysroots its now pointless to do this, may as well
save the cpu cycles.
(From OE-Core rev: b70c8e91e6c4240e95e8b22bcc36525a5a0703f9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BB_SETSCENE_VERIFY_FUNCTION2 replaced BB_SETSCENE_VERIFY_FUNCTION
and due to our minimum bitbake requirements there is no point in
retaining the older version any more.
(From OE-Core rev: f08d6ccda5db9fdc81d53370aea1f599718897da)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make use of lnr/ln -r while creating relative symlinks than guessing the
relalive path.
(From OE-Core rev: 8205b92631bc1dcb3419c709ef5a98b2b3cd9d70)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the path in example so that '/usr/bin/tunctl' could be found under
this path.
(From OE-Core rev: d1b8e1460b25018ac8f65d3647bc736f3393ed3e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Try to avoid native recipes accidentally being dependent on
MACHINE_FEATURES. This simple change doesn't prevent MACHINE_FEATURES
set via MACHINE_FEATURES_BACKFILL sneaking through, but it's better
than nothing.
(From OE-Core rev: 96c20c9df714cdf3f0e9461ec566c4f5d3bdb5f1)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the list of available IMAGE_FEATURES with the sub-features of
'debug-tweaks' and add 'splash'.
(From OE-Core rev: 1e46220bb3901476266846447ff40533c9bffa1d)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* respect it for incremental rootfs generation
* add lists_dir option to opkg.conf
* also fix setting info_dir and status_file when they use default value, the
problem is that self.opkg_dir is already prefixed with rootfs directory,
comparing it with /var/lib/opkg always returned false and the options were
appended to config file unnecessary
* with opkg 0.3.4 we can use VARDIR prefix added in:
commit d2a8e23dc669adc398f4bb8bcfcabfcf925708f7
Author: Florin Gherendi <floring2502@gmail.com>
Date: Mon Dec 19 12:25:38 2016 +0200
libopkg: make the /var and /etc directories configurable at compile time.
(From OE-Core rev: b14c11d062872c3dcf95e03b61017005dea5b754)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* when OPKGLIBDIR doesn't have the default /var/lib value it will
silently fail to copy package database from normal rootfs to debugfs
rootfs and then when trying to install *-dbg complimentary packages
it won't install anything, because installed_pkgs.txt file generated
from debugfs is empty
(From OE-Core rev: bebdb056c8bd0efc056f07b275a154e5d5a3aa2b)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The windres binutils binary which is used for Windows resource files
requires utf-16 and cp1252 encoding support in order to correctly
generate resource files with strings. As such when using uninative to
build mingw resources for a nativesdk target the windres binary is
executed on the native host, thus using the uninative libc and gconv
modules.
(From OE-Core rev: 778fb2342da55e202cfb7af04bbf120c1b68620a)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently shows the name of the signature files that were found when
--task is used.
(Bitbake rev: 751b06c25d22eea8240f9429cb49874082245e52)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently shows the name of the signature file that was found when
--task is used.
(Bitbake rev: 84533c6dbd175a51f4dd59735161adfd10056888)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use --task <recipe> <task> to dump the signature info for a given
recipe and task. This is similar to the --task option of
bitbake-diffsigs.
(Bitbake rev: bdc4356c7afc542b67b78e4e5225b813d7668ecd)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dependency graph in the bb.event.DepTreeGenerated and the
corresponding pn-buildlist and task-depends.dot from "bitbake -g"
contained entries like multiconfig:qemuarm.gcc (dot as last separator)
instead of the correct multiconfig:qemuarm:gcc (colon as separator).
(Bitbake rev: cccd1578d84f041cd0c2dcddb91f317c69af70de)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rpm 5.x was packaging build tools separately, so we need to unbreak
things that relied on that.
[YOCTO #11167]
(From OE-Core rev: 3b5ac72bdf76ac8ff98dc3c882a4edc77c6e2c33)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is entirely unnecessary (we can ask the signer backend to export the
key to a file when needed), and was causing confusing selftest failures
due to the variable being set from two different places.
[YOCTO #11191]
(From OE-Core rev: 74ea979044368dc28c24325e7e77471b70aa8fe8)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test case builds wic image using rawcopy plugin
running wic directly.
[YOCTO #10618]
(From OE-Core rev: acbeaa37554f3546b036ff8ef9aebfe00f2537c6)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added test_rawcopy_plugin_qemu test case and wks template.
This test builds ext4 rootfs image, copies it to the root
partition of the wic image using rawcopy plugin and
boots wic image in qemu.
[YOCTO #10618]
(From OE-Core rev: db1f511228e26aaeeff452427637942747bbf42b)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Used wic-tools STAGING_DATADIR if syslinux can't be found
in default bootimg_dir.
(From OE-Core rev: 79a935cfc86ffce6f4b4f328b90337de36ba6dbb)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed do_install_disk and do_configure_partition methods from
bootimage-partition, fsimage and rawcopy plugins as they're empy
and not used.
[YOCTO #10618]
(From OE-Core rev: d58c8ef2836418056f776a9586e0bb0d33afb788)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Default value for bootimg_dir was not set in main wic script
unlike the rest of artifacts: kernel_dir, roofts_dir and
native_sysroot. Set it to the value of STAGING_DATADIR for
consistency and to avoid confusion of wic plugin developers.
(From OE-Core rev: afc486b6316f1118c8dcc74a5e217bb217dd1f85)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sparse_copy creates output file that is smaller than input
file when input file ends with unmapped blocks.
Used truncate(<input file size>) when output file is created
to ensure the size of output file will always be equal to
the size of input file.
(From OE-Core rev: 567186f995302a095a771baede4ff5034d1d1862)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bootimg_dir is usually set to the value of STAGING_DATADIR and
kernel_dir - to the value of DEPLOY_DIR_IMAGE, so usage of
kernel_dir is more logical in bootimg-efi, bootimg-partition and
rawcopy plugins.
Replaced usage of bootimg_dir to kernel_dir in 3 above mentioned
plugins that use DEPLOY_DIR_IMAGE as a default artifact location.
(From OE-Core rev: 48a5d67d7cafdeac821e6f35bea380521ef017d5)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changing bootimg_dir in plugins is a dangerous hack as this
value comes from wic command line and can be used by multiple
plugins.
(From OE-Core rev: 2457ea5338f7309316b474562b4723e8cb09286d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In machine configuration files, there is no need to use OVERRIDES that
match the precise machine being defined, so remove them for clarity
and consistency from these lines in those respective files:
PREFERRED_VERSION_linux-yocto_genericx86-64 ?= "4.10%"
PREFERRED_VERSION_linux-yocto_genericx86 ?= "4.10%"
UBOOT_MACHINE_mpc8315e-rdb = "MPC8315ERDB_config"
(From meta-yocto rev: 035d4e7763171068d2b4df0622b6cc0fc1cf4b32)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the genericx86*.conf file directly set PREFERRED_VERSION remove it
from here to avoid confusion.
(From meta-yocto rev: 2383d50b084cafdf04f7bd15ea732cd98982625b)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Displaying the environment data in a sorted manner makes it easier
to compare data between different setups and means you can know
where to find specific entries.
(Bitbake rev: baa417e44b009149eb1dfb07d5a488740b6e68ef)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
FetchError isn't defined, use bb.fetch2.FetchError in this context.
(Bitbake rev: 945fa980e027753df2c21d84eb63dcaddb2caaee)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The touch of .done explicitly specifies the path, so there's no need for
workdir=, and "os.path.join('.')" is identical to just '.'.
(Bitbake rev: 955cbfdaa2400d15ec428b65848e6835c9f44860)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
list.index() isn't a particularly efficient operation, so keep track of our
position via enumerate() instead, which is more pythonic as well.
(Bitbake rev: dec6e90a4d27ee335e9c78aeebd277098fec94d1)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Various run.do_xxx files export dozens of variables.
Presently they are in random order. Among other things,
this makes it difficult to compare two files for relevant changes.
This patch ensures they are enumerated/printed in a sorted
(alphabetical) order.
(Bitbake rev: 27b501d1400d1942b5ba9f35218ca7aacd9bfefe)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is what was reported when variable expansion in the 'depends'
varflag of a task was broken:
ERROR: Error for .../refkit-image-common.bb, dependency ${@ does not contain exactly one ':' character.
Task 'depends' should be specified in the form 'packagename:task'
It's not clear which task had this broken 'depends' and while one can
guess that variable expansion failed, the full expression isn't
printed either.
This is more useful:
ERROR: Error for .../refkit-image-common.bb:do_stage_swupd_inputs[depends], dependency ${@ in ' virtual/fakeroot-native:do_populate_sysroot ${@ ' '.join(['bundle-refkit-image-common-%s:do_swupd_list_bundle' % x for x in '${SWUPD_BUNDLES}'.split()]) } ' does not contain exactly one ':' character.
Task 'depends' should be specified in the form 'packagename:task'
The 'depends' part gets repeated intentionally, to ensure that it doesn't get overlooked.
(Bitbake rev: eeeed7693710e4a78fec639b8050d8efe4ea3c33)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The data we read from an HTTPConnection comes in the form of bytes, but
we need it as a string, so in Python 3 we need to decode it (missed in
the Python 3 migration).
(Bitbake rev: 7e6a3cd1472e1a1c8304b46611e1676914a68b59)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable the following operations from a remote datastore to affect the
other end:
* setVarFlag()
* delVar()
* delVarFlag()
* renameVar()
In practice I don't expect these to be used much, but they should be
present so that the implementation is at least reasonably filled out
and that the tests pass.
Also add tests for the interface, mostly by subclassing the existing
local test classes so that they are using a remote datastore. (These
don't actually test remote usage via tinfoil, just that the
datastore's interface can be used.)
(Bitbake rev: 282dc0719d22a39df746eea762ebe05c66aa8f8a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a huge gap in the remote datastore code introduced in the
tinfoil2 rework - we weren't handling overrides at all, since these are
stored separately from the actual data in the DataSmart object. Thus,
when a datastore actually represents a remote datastore we need to go
back to that remote datastore to get the override data as well, so
introduce code to do that.
To avoid a second round-trip I had to modify the _findVar() function to
return the override data as well. This will increase the overhead a
little when that data is superfluous, but without making the function
even uglier I don't think there's a way to avoid that.
(Bitbake rev: 4f9d6f060ed247fb6fa2f45668a892a1788d3f91)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When you enable the systemd DISTRO_FEATURE, opkg-native contains systemd units
which have a relocation fixme list. When systemd isn't in DISTRO_FEATURES, there
are no fixmes required. Unfortunately as sstate isn't cleaning up its installation
directory before use, if you install the systemd version, then install the
non-systemd version from sstate, it would leave behind the fixme file from the
systemd version and breakage results as it would try and fixup files which don't
exist.
The solution is to ensure the unpack/install directory is clean before use. It
does raise other questions about opkg-native, systemd and DISTRO_FEATURES but there
is an underlying sstate issue here too which would cause missing file failures.
(From OE-Core rev: d1d55041e38b12d40f896834b56475ea19a6047f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Not sure why this cleanup is disabled but it clearly should be running
so enable it.
(From OE-Core rev: 83867079182d8b9e981935da2b254947a89097bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I've been debugging a selftest failure on Centos7. The problem turns out
to be the elderly git version (1.8.3.1) on those systems. It means that
the system doesn't correctly checksum changed files in the source tree,
which in turn means do_compile fails to run and this leads to the following
selftest failure:
======================================================================
FAIL [141.373s]: test_devtool_buildclean (oeqa.selftest.devtool.DevtoolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/devtool.py", line 530, in test_devtool_buildclean
assertFile(tempdir_mdadm, 'mdadm')
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/devtool.py", line 497, in assertFile
self.assertTrue(os.path.exists(f), "%r does not exist" % f)
AssertionError: False is not true : '/tmp/devtoolqag88s39z8/mdadm' does not exist
The solution is to use -A on the git add commandline which matches the behaviour
in git 2.0+ versions and resolves the problem.
(From OE-Core rev: 964e8b8cae4b28e21ade12b5effb494e459b1f0f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic has a new flag for setting a fixed parition size --fixed-size. Add
tests that verify if partition is indeed sized properly and that errors
are signaled when there is not enough space to fit partition data.
(From OE-Core rev: 84c2184546779ece3eb23c5628e4c9d177568043)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of assuming that bzImage is available, query bitbake enviroment
for KERNEL_IMAGETYPE.
(From OE-Core rev: d3e1d25a06dd4cb3ec80ea63352de24e50552481)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wic tests will unconditionally attempt to build images that may require
dependencies that are incompatible with current target.
Resolve this by consulting HOST_ARCH first (which defaults to TARGET_ARCH)
before proceeding to build images that may be incompatible.
A convenience decorator only_for_arch() can be used to skip test cases for
specific architectures.
(From OE-Core rev: ff46125082f08eb93cc549bbe1d79c3b8f9cba64)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use wictestdisk instead of directdisk thus allowing more tests to be run on
non-x86 compatible machines.
(From OE-Core rev: 071785b01cdaa0d35808fa0b7308162cfebf54f1)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a kickstart for an image that is not limited to use on x86 compatible
machines. This allows us to run more wic tests on non-x86 architectures.
(From OE-Core rev: c722569a8b136ffbbe4d2723bbc50fc3ae5aed42)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If some layer depends on other tries to find layer dependency, if the
layer dependency isn't found avoid to test the layer and notice the
user.
(From OE-Core rev: 1e7cf9bb71521f1632dd2e6b01fe7fcc95732983)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes there is a need to only analyze the layer specified by the
command line, the new option -n will disable autodiscovery of layers
and only will try to test specified layers.
(From OE-Core rev: f2f6f0c938226802163698ef14a8a9103da362a0)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is useful to know which layer provided a given recipe and its
binary packages.
Many projects combine a number of layers and some of them
also provide same recipe names in which case bitbake
can prioritize between them. buildhistory can record
the decision by saving the layer from where the recipe
was taken from.
Also, if a project is split to sub projects which maintain
recipes in different meta layers, then meta layer specific
summaries of e.g. disk usage can be calculated if
source recipes meta layer name is recorded for example in
buildhistory.
If source layer is not in build history, then layer providing
the recipe can be exported from build environment using
'bitbake-layers show-recipes', but it takes a long time to execute
since all recipes are parsed again and requires full source tree
with correct build configuration.
This patch exports the name of layer as configured in BBFILE_COLLECTIONS
append of its layer.conf. 'bitbake-layers show-recipes' exports the
meta layers directory path name. For several open source layers
these are different, e.g. meta-openembedded/meta-perl/conf/layer.conf
is perl-layer, poky/meta/conf/layer.conf is core,
poky/meta-skeleton/conf/layer.conf is skeleton etc.
(From OE-Core rev: d8e59d1f840e4282859ad14397d1c06516b8eb11)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For the native tools, a static patch inserted gcc/g++/ld/ar while later
adding BUILD_LDFLAGS and BUILD_CFLAGS with sed. Now it's all done with sed,
which has the advantage that it uses the actual compile variables. However,
in practice those are the same.
More importantly, picking the build tools for the target was
broken. ovmf-native tried to insert TARGET_PREFIX into the tools
definition file, but that variable is empty in a native recipe. As a
result, "gcc" was used instead of "${HOST_PREFIX}gcc", leading to an
undesirable dependency on the host compiler and potentially
(probably?!) causing some of the build issues that were seen for ovmf.
The new approach is to override the tool selection in ovmf-native so
that the HOST_PREFIX env variable is used, which then gets exported
during do_compile for the target.
While at it, Python code that gets appened to do_patch only to call
shell functions gets replaced with the do_patch[postfuncs] mechanism.
Incremental builds now always use the tools definition from the
current ovmf-native; previously, only the initial build copied the
template file.
Probably the entire split into ovmf-native and ovmf could be
removed. This merely hasn't been attempted yet.
(From OE-Core rev: 23a12d87a6e82f80f4ccc1a01c707faa89ff7abd)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The meta-world-pkgdata recipe can be modified when a layer is added
may be can add recipes to world target, so exclude by default.
[YOCTO #11162]
(From OE-Core rev: cde30d70b04eb66bff66a351ddf733022e98ddab)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only create a log file when --output-log option is specified, since
logger is dumping to stdout by default is better to let the user
decide if a log needs to be created.
[YOCTO #11160]
(From OE-Core rev: f91ccdeb8b0b3e4063ed2bf22215a25f8902cbd9)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The common unix tools uses stdout as standard for log output, by default
python logging uses stderr if not stream is specified.
[YOCTO #11160]
(From OE-Core rev: 95ad04f7daed17bde5be5fc264f6c731fecfdfa9)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, bin/go and bin/gofmt collide between go-native
and go-bootstrap-native packages, these are scripts anyway
which call the go compiler proper from right install, in
this case create go1.4 and gofmt1.4 names for these scripts
to avoid namespace collision
(From OE-Core rev: c46faa132d39d3dc235a019d9abf6e46f74e3bae)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Default CC is same as used here, there is no need to
duplicate it, as a plus it helps in compiling acpitests with
non-gcc cross compilers
(From OE-Core rev: e23601390833fe93d58ca61a7158458dfdbd6fac)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test was attempting to exercise a broken test, for some reason this broke
with patches under review but investigation revealed that the test itself is
broken. The test has been removed, so there's no need to test it.
(From OE-Core rev: 4f5f552cd6601ba244ef4efc782616bc477e1340)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test aims to detect binaries in /bin which link to libraries in /usr/lib,
for the case where the user has /usr on a separate filesystem to /.
However it doesn't scan both image/ and the sysroot, so if a binary in /bin
links to a library in /usr/lib that was built by the same recipe then it will
error out.
This test isn't enabled by default, and because of this serious bug I suspect
nobody else is enabling it either. As /usr being on a separate partition to /
is a very rare configuration these days I think we should delete the test: if
someone cares sufficiently they should write a test that actually works.
(From OE-Core rev: a6af5bbf3dad6f0951c67a0aae13ef86a8906893)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to PRIVATE_LIBS should change the sstate checksum. To make
that happen, it needs to be listed in the list of package specific
variables, therefore add it.
(From OE-Core rev: 1a6555dfd17e180b81dec407095787d8a72a9edd)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building the C++ bindings for native requires a host C++ compiler with
C++11 support. Since these bindings are currently not needed, we can
disable them and thus avoid increasing the requirement for the host C++
compiler.
(From OE-Core rev: 052547561f3b2c13d357da87061716c6eb968fb9)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In a stateless image, /etc is not a good place for the "build"
file. By definining the location with a variable it becomes possible
to have the file created elsewhere on a per-image basis. The default
is the same as before.
(From OE-Core rev: 6750ea8160edccb156cb2ab68548adfc1c789895)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch avoids the creation of a corrupt EXT file system.
Since there are no checks if a EXT file system was successfully created,
this should add to prevent possible system failures.
(From OE-Core rev: 95ac3d0637cad7e12f246b8bd64ab64348df0483)
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fsck.ext will return an error code of 1 if a file systems was checked
and successfully repaired. Even when an optimization was performed it
will return this error code.
This patch will change the error code to 0 if only optimizations had
changed the file systems.
The reason for this patch is a question I asked at the ext4 ML:
http://www.spinics.net/lists/linux-ext4/msg55700.html
Backport from git://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
Based on commit bf9f3b6d5b10d19218b4ed904c12b22e36ec57dd
(From OE-Core rev: 8341ee45d721cf07b19d50c249bb3a77ef1bf100)
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We do a hard link to speed up sdk creation but if your sstate-cache is
across a file system boundary, this tries and fails. This patch catches
that error and does a copy instead.
(From OE-Core rev: fb9fdd7a74917cdcab039aa3a9a9944b18246fea)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using multilib configurations either on arm/arm64 and x86/x86-64
python3 failed to execute due to a failure when looking for its
platform independent and dependent libraries.
This patch fixes this issue by assigning lib_python to the appropriate
macro.
[YOCTO #10812]
(From OE-Core rev: 9e99897f17d9c62ca5da208751d6560fc98927b6)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the tinfoil2 refactoring, if an error occurred during parsing, we
were showing a traceback and not correctly exiting (since we weren't
calling shutdown()). Fix both of these issues.
(From OE-Core rev: 18304036e1b513fd12c049dbf549ba75c503ed84)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A recent patch to bitbake fixes these datastore operations so that they
actually affect the server end, so we should test that they work.
(For full disclosure, some of these tests would probably pass without
those fixes, since the operation would be done on the client side
instead - but we are at least exercising the code paths.)
(From OE-Core rev: 4eb3c705b9cadccacdb191ae89f5242a00f397f3)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having changes the sdk test to cpio from cvs, we no longer require an
editor to be present. This patch removes vi from the list of required
tools.
(From OE-Core rev: cca2ccb6d77a433e9d7c535344c4fc1e04589bc0)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We currently fetch,configure,build, and install cvs as our test for the
sdk. cvs unfortunately, requires a default editor in order to run. The
change in 94790a8254 that checks to see if you have something like vi
installed is fragile since you may have a different default editor. This
patch switches from using cvs as a test to using cpio. cpio also uses
autotools so the functionality tested is equivalent.
(From OE-Core rev: 233d36b0382a8b2e430c3377e50885d1a0c3ba21)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When rewriting the do_rm_work injection, do_rm_work_all had been
removed because it seemed obsolete, as do_build now always triggers
do_rm_work.
However, do_build does not get triggered for all recipes and thus
do_rm_work was not called for recipes that got built only
partially. For example, zlib depends indirectly on
zlib-native:do_populate_sysroot. Because of that dependency,
zlib-native got compiled, but do_rm_work was never called for it.
Re-introducing do_rm_work_all fixes that by making do_build depend on
do_rm_work_all, which then recursively depends on do_rm_work of all
dependencies. This has the unintended side-effect that do_rm_work then
also triggers additional work (like do_populate_lic) that normally
doesn't need to be done for a build. This seems like the lesser evil,
compared to an incomplete cleanup because it mostly enables the
lighter tasks after do_populate_sysroot.
The real solution would be to have two kinds of relationships: a weak
ordering relationship ("if A and B are enabled, A must run before B,
but B can also run without A") and hard dependencies ("B cannot run
unless A has run before").
(From OE-Core rev: b3de5d5795767a4b8c331fa5040166e7e410eeec)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Depending on wic-tools:do_build pulls a lot of additional, indirect
dependencies into the image sysroot during do_image_wic as soon as
rm_work.bbclass is active, because then we have
do_build->do_rm_work_all->[all dependencies]. One of those
dependencies is libgcc-initial, which clashes with libgcc itself,
leading to errors in extend_recipe_sysroot like this:
Exception: FileExistsError: [Errno 17] File exists: '.../tmp/sysroots-components/corei7-64/glibc-initial/usr/include/fstab.h' -> '.../tmp/work/intel_corei7_64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot/usr/include/fstab.h'
As the image recipe only needs the sysroot of wic-tools and does not
need to wait for the build of wic-tools to finish, depending on
do_populate_sysroot is the better choice and happens to avoid
the problem above.
(From OE-Core rev: a678f54e710e46b3cf674ffa41d6432b22effbdf)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before this, dtb sections were named by their position index in KERNEL_DEVICETREE. Also there was only one item in the config section, so only the first dtb was seen by the bootloader.
This patch adds a config section for each dtb named by the dtb filename. This is what bootloaders usually know about the machine they run on.
(From OE-Core rev: cd2ed7f80b555add07795cc0cbaee866e6c193a3)
Signed-off-by: Florian Wickert <fw@javox-solutions.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mips definition of kernel_sigaction was added later
and the patch did not apply to mips part which ended
in ltp failing to compile on mips parts
In file included from rt_sigaction01.c:42:0:
../../../../include/lapi/rt_sigaction.h:39:2: error: unknown type name '__sighandler_t'
__sighandler_t k_sa_handler;
^~~~~~~~~~~~~~
(From OE-Core rev: 74f4dcfd447fb528ab230e67e3f7ab37e8f93898)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using of bitbake environment variables in-place of hardcoded strings makes this
recipe portable to all environments.
(From OE-Core rev: 61135e4134b7e0b42b57a87a9a30c32002cb1067)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not assume '/lib' for kernel modules location, instead use
${nonarch_base_libdir}. When 'usrmerge' is enabled, kernel modules are not
located in /lib/modules, but /usr/lib/modules.
(From OE-Core rev: d0f99c7f264fb99e7a940e9b02d27a418bafad27)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
net-tools Makefile was hardcoded sbin, bin installation paths to /bin and /sbin
respectively. This change moves the installed files to appropriate location as
per configured bitbake environment.
This might be solved much better way by patching Makefile, but that causing
build issues, as net-tools recipe is using pre-generated config.{h/status}.
(From OE-Core rev: 8be0740f8cc8d909a8983b499f200b99261124c4)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move binary(ies) only when ${base_bindir} != ${bindir}.
When usrmerge is enabled they both can point to same location.
(From OE-Core rev: 3a571f24b183ba0bb0795b9df2b2c9bad331d715)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace hardcoded '/lib' in kernel modules installation path with
${nonarch_base_libdir}, which is meant exactly for this.
(From OE-Core rev: 22f5ba7154fcbe826d0a3283740903312b2aab46)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both shadow and util-linux packages provides 'nologin' binary in ${base_sbindir}
and ${sbindir} respectively, this leads to conflict when 'usrmerge' feature is
enabled, where ${sbindir} == ${base_sbindir}. Hance, handle this to alternative
system to resolve the conflict.
(From OE-Core rev: 07d6d0fb4dc689008bb0022d7d2ecc890c9159e5)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
update-alternative.bbclass might rename the 'reset' binary when LINK_NAME ==
TARGET, This is true (${base_bindir} == ${bindir}) in 'usrmerge' distros.
Hence, suffix with * to properly package the renamed binary.
(From OE-Core rev: ebf5cc1a6fecb0761fd88e113fac785b49bc1a45)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libnss_* files should be part of corresponding sub-packages, the split happens
by do_package_split(). By adding ${libdir}/libnss_* to FILES_${PN}, those files
end up in the systemd package when ${libdir} == ${base_libdir}.
(From OE-Core rev: 46046880e42ae924548eb5c0ec53f9448f6f932e)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure fsck.cramfs is packaged before fsck so the latter
does not steal the fsck.cramfs binary when building with usrmerge.
(From OE-Core rev: 333e959448c2bc0d2c472e0b7d1dab606ab723e6)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If base_bindir=bindir, /usr/sbin/ldconfig gets packaged into glibc-utils instead
of glibc: Switch PACKAGES order to prevent this.
(From OE-Core rev: 2794b1cc12af051db404d46aea4db4c74e8e1fe3)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't need the gap that the extended partition occupies if we
already know that we have less than five partitions. Saves up to one
full alignment of space.
(From OE-Core rev: 485315dc170e29962a8848db38db73abafd0586e)
Signed-off-by: Kristian Amlie <kristian.amlie@mender.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, with USERADD_ERROR_DYNAMIC set to error/warn, if a static
UID/GID was specified in the recipe, then no error/warning would be
issued even if no ID was specified in the passwd/groups files.
(From OE-Core rev: 8e4b4e28a7c3a9dbd6b9298bea5d2c1328b3f24a)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If this bbclass is used and a recipe specifies a static ID for a
user/group as part of the USERADD_PARAM_${PN} or GROUPADD_PARAM_${PN},
the build would fail with and error like this if there was no
corresponding ID in the passwd/group files specified via
USERADD_UID_TABLES/USERADD_GID_TABLES:
ERROR: meta-oe/recipes-support/postgresql/postgresql_9.4.11.bb:
meta-oe/recipes-support/postgresql/postgresql_9.4.11.bb inherits
useradd but doesn't set USERADD_PARAM, GROUPADD_PARAM or
GROUPMEMS_PARAM for package postgresql
(From OE-Core rev: e744fac05fc5cc19cabc59c1e79ff4c1b3ee396d)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Often, eg when using angular2, there's a need to install also
the devDependencies.
The default is to keep the old behaviour, to not install
devDependencies.
(From OE-Core rev: 9377d16751aeff0a913e754d711bca6e4e4d9df1)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Web applications built using e.g. angular2, usually requires that the
packages in devDependencies are available.
Thus, add an option '--fetch-dev' to both devtool add and recipetool, to
add npm packages in devDependencies to DEPENDS.
(From OE-Core rev: f246f820d53b459596fde6758a09f7a0d7db7c4c)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current definition for ARM_THUMB_SUFFIX doesn't consider armv8
and will therefore cause TUNE_PKGARCH to be set incorrectly for
machines which inherit arch-armv8 and don't include aarch64 in
TUNE_FEATURES (ie when building for 32bit ARMv8).
Also fix typo in comments and improve TUNEVALID[thumb] wording.
(From OE-Core rev: 3691fd7dbe7f01ca29c14fc603c6946864af3b3c)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
runqemu is using sudo to configure tap networking. Without sudo
in HOSTTOOLS_NONFATAL it may cause bitbake -c testimage to fail
with this error:
runqemu - INFO - Setting up tap interface under sudo
/bin/sh: sudo: command not found
(From OE-Core rev: 716e0524cfbcac2eb272be1014280833b74bc5c4)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Configured guest network interface through serial connection
when kernel is not run by qemu.
This should make it possible to test wic images with testimage.
[YOCTO #10833]
(From OE-Core rev: 2032d9be26b539bf867622c0090fb4696209eba9)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Parsed runqemu output to get guest network configuration
if it's not present in runqemu command line.
[YOCTO #10833]
(From OE-Core rev: d4d7ed48c1cff1351ddc2f60bcfa153c373a8ab8)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
runqemu adds network configuration parameters to the kernel
command line to configure guest networking. This works only
for the images that run with external kernel using qemu -kernel
parameter. It doesn't work for the images that use bootloader
to boot kernel as -kernel parameter is not used and network
configuration is not possible to get.
Added host and guest ip addresses and netmask of tap link
to the runqemu output. This should allow external programs
that execute runqemu to get network configuration.
[YOCTO #10833]
(From OE-Core rev: cf66a1850677548aa63a54276fa4917f40259daf)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16777216 bytes is a minimal possible filesystem size for BTRFS.
mkfs.btrfs fails to create a filesystem if rootfs size is too small.
Increased filesystem size to make it possible for mkfs.btrfs
to create an image for small rootfs directories,
e.g. for core-image-minimal.
[YOCTO #11163]
(From OE-Core rev: 17c2b1ca8a4e2023583645840db61bbde22bf65e)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit adb71e06768adadda7b69c3b5e81ca3ad67237f4.
Upstream restored the original hashes.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe-core 759eed (binutils: Enable threading when gold is enabled and is not
default linker) causes linking in mingw SDKs to fail:
.../work/i686-nativesdk-mingw32-pokysdk-mingw32/binutils-cross-canadian-x86-64/2.28-r0
/recipe-sysroot-native/usr/bin/i686-pokysdk-mingw32/../../libexec/i686-pokysdk-mingw32/gcc/i686-pokysdk-mingw32/6.3.0/ld:
cannot find -lpthread
Work around this by disabling gold entirely in mingw SDKs.
(From OE-Core rev: b5a595a4be09756b88e91f3353e3b221b165ab44)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This only started showing up now for some reason but it does seem like
a legitimate bug in Makefile.am.
(From OE-Core rev: f43290f6e302dbacf5581d1fe1c6c991dd387779)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Eclipse plugin uses cmake from the SDK and currently has issues
because cmake is not installed as a host tool. This patch adds cmake as
a host tool for the sdk/esdk.
(From OE-Core rev: b1ccab95464855877558972c4523956be32dee36)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of ccache-3.3, ccache tries to ensure that the paths in the debug
information are always correct. It does this by including the current
directory in the hash if debug output is enabled. It includes support for
detecting remapping via a single -fdebug-prefix-map argument uses the
remapped directory in the hash instead.
The DEBUG_PREFIX_MAP in bitbake.conf remaps the source directory, target
sysroot and native sysroot separately which results in multiple
-fdebug-prefix-map arguments. Although ccache passes all these arguments
through to the compiler, it only enables the special behaviour described
above if the last one matches the current directory. (See
https://github.com/ccache/ccache/issues/163 )
Even if ccache did correctly honour each of the remapping arguments, the
hashes would still be different every time ${PV} or ${PR} change because
the default DEBUG_PREFIX_MAP contains maps to paths including them.
So it seems that for ccache to be of any use with this configuration,
CCACHE_NOHASHDIR needs to be set.
(From OE-Core rev: fb7a5cdcff19bb44a25a51e20de0440c1ebcc057)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Helped-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was out of date compared to config/libopts.def, so regenerate it via
"autogen config/libopts.def" command.
(From OE-Core rev: 221403f6e73c2bea327f3df4e8b76c11e5dd8aa7)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Issue: LIN9-1648
Fixed when len(TMPDIR) = 410:
$ bitbake core-image-sato-sdk
[snip]
Subprocess output:
/bin/sh: /bin/cp: Argument list too long
ERROR: core-image-sato-sdk-1.0-r0 do_rootfs: Function failed: do_rootfs
[snip]
This is because "copyhardlinktree(src, dst)" does "cp -afl src/* dst",
while src/* is expanded to "src/file1 src/file2, src/file3..." which
causes the "Argument list too long", use ./* as src and change cwd in
subprocess.check_output() to fix the problem.
(From OE-Core rev: a3dc93eb25fba32109edd1db6e8766074fb52e4b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
U-Boot people are amazingly pedantic in their insistence on proper
spelling of "U-Boot", so humour them.
(From OE-Core rev: f346a9bdc372ec477bafcda358f9339ff4e4c79d)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The copy of extended attributes is interesting for
Smack systems because it allows to set the security
template of the user's home directories without
modifying the tools (useradd here). But the version
of useradd that copies the extended attributes doesn't
copy the extended attributes of the root. This can make
use of homes impossible! This patch corrects the issue
by copying the extended attributes of the root directory:
/home/user will get the extended attributes of /etc/skel.
The patch is submitted upstream (see
http://lists.alioth.debian.org/pipermail/pkg-shadow-commits/2017-March/003804.html)
The existing patch specific to open-embedded is updated:
0001-useradd.c-create-parent-directories-when-necessary.patch
Also, attr are activated for native tools.
This is needed when users are created during image creation.
(From OE-Core rev: eed66e85af5ca6bbdd80cc3d5cf8453e8d8880bc)
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create symlinks for gcov and gcov-tool and that they can be used trivially
on target.
(From OE-Core rev: 5b5a506a6d81095c967304fe4ec38a4bc3dc1edd)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove duplicate entry for /srv already defined earlier in file.
* Use "${localstatedir}" rather than "/var" for consistency.
(From OE-Core rev: 0cb3a4b299506b4503c5728a0f0c80db8d603e91)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OpenSSL recipe tried to workaround the -e make flag (overriding
variables from the environment). And when the -e flag was dropped as
the global default, it was specifically added for OpenSSL. This is
unnecessary, as only the value of ${AR} seems to be affected, and that
can be handled correctly by OpenSSL's build system if we just let it.
(From OE-Core rev: 537a404cfbb811fcb526cdb5f2e059257de6ef13)
Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recent change in buildhistory.bbclass to use a tab in
installed-package-sizes.txt between "KiB" and the package name caused
toaster_buildhistory_dump() to fail since it parses the file and
expected a space there.
(From OE-Core rev: 7b3692f57628b33840f6dbcddbe05ae56c24b98e)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file /usr/libexec/gcc/.../cc1 has been installed in package gcc
instead of package cpp, because FILES statements for both packages match
the cc1 binary. Move the file to package cpp and add cpp to RDEPENDS_gcc
to fix the dependency.
Having the cc1 binary in cpp fixes errors such as: "cpp: error trying to
exec 'cc1': execvp: No such file or directory".
(From OE-Core rev: 4bf84edeb6cf4ba82a21bc7ceb1da4f59d839064)
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, 'pidof' utility has two providers, sysvinit and procps, and
both have the same priority 200. Fix procps to lower the priority of its
'pidof' to 150 to avoid conflict.
(From OE-Core rev: 468f9c9899016c46635c9f39eef3483303a5be81)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mips32r1 is only one supported for mips32
(From OE-Core rev: d39b819579c767aa7892835624540fd6509db201)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Machines that cloned a while ago will have the commit, but new
deployments won't because it seems the upstream changed/rebased
and the old commit ID has been garbage-collected away. Hence
the fetch fails to check out the named commit ID.
Both the old (gone) commit, and the "new" commit show the same
dates and commit log and point at 5.30, so hopefully this is
the right thing to do. A git diff of the two seems to only show
a blanket uprev of CVS tags and deletion of a couple autogen'd
files, and no real source changes.
Cc: Christos Zoulas <christos@zoulas.com>
(From OE-Core rev: adb71e06768adadda7b69c3b5e81ca3ad67237f4)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want PV values to be easily ordered, so
use the latest entry in build-compare.changes which
will also match the date of SRCREV.
(From OE-Core rev: c796cd4ac39e704e0795385c9b4ec9a2d73459b5)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not try to do runtime tests during cross compile
Fixes
| CMake Error at Source/cmake/OptionsCommon.cmake:73 (math):
| math cannot parse the expression: "-1": syntax error, unexpected exp_MINUS,
| expecting exp_OPENPARENT or exp_NUMBER (1)
(From OE-Core rev: 528006009dddd876a830e0a8f248658182a37f37)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rich Felker (11):
fix ld-behavior-dependent crash in ppc64 ldso startup
rework ldso handling of global symbol table for consistency
reorder addend handling before symbol lookup in relocation code
emulate lazy relocation as deferrable relocation
fix free of uninitialized buffer pointer on error in regexec
in static dl_iterate_phdr, fix use of possibly-uninitialized aux data
fix possible fd leak, unrestored cancellation state on dns socket fail
fix wide scanf's use of a compound literal past its lifetime
fix one-byte overflow in legacy getpass function
avoid loading of multiple libc versions via explicit pathname
remove unused refcnt field for shared libraries
Szabolcs Nagy (1):
treat STB_WEAK and STB_GNU_UNIQUE like STB_GLOBAL in find_sym
(From OE-Core rev: 2b1e9ddb10d4766cc4f8be3e55e4fc3d2810bbcb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was a solution needed for musl but now musl has
got lazy loading.
(From OE-Core rev: 6ea72c6bd0aeaed694d58d68ede4de70d96b7e4b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we enable threaded linking feature of gold linker only
when its used as default ld. There is no need to restrict it when
its not default linker either. As long as gold is enabled, which
is the case here, we should be able to do threaded linking.
(From OE-Core rev: 759eed2b02e0a7b5c8b19d4b087d9151c009eed4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need all packaging tasks when building
go for target
(From OE-Core rev: 8f504a7737d5e6be6ec61f9ce8728a2c74102a8a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
with mesa 17 crypto packageconfig has been removed
(From OE-Core rev: 7df24c84999048f863428f4e442922e60ce776a5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Configure has an unbridled check for llvm and
when distro provided llvm is installed on build host it
will use that from /usr/bin to poke for llvm libs
and configs. This would result in a subtle errors
however do_qa_configure catches it as a host include/lib
contamination during configure checks
ERROR: mesa-gl-2_17.0.1-r0 do_configure: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
Rerun configure task after fixing this.
This is correct because when configure detects build host provided
llvm then it add the include/lib paths to compiler cmdline which are
looking into /usr/include and /usr/lib
(From OE-Core rev: df53927b9c07bc45ce8a756217c07ce306ed5bbe)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also remove the override from security_flags.inc
(From OE-Core rev: 33d084a66a371fb10e26a0a23c639c69ddd3f1e5)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport build fix that removes -Wformat-security for specific tests.
Enable "-Wformat-security" for cmake in security_flags.inc.
(From OE-Core rev: b00f9c77ebd211578ba133c28abcbc5752305e25)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To fix:
file /usr/share/man/man8/syslogd.8 conflicts between attempted installs
of inetutils-doc-1.9.4-r0.core2_64 and sysklogd-doc-1.5.1-r0.core2_64
(From OE-Core rev: d08cfe3d3de01c529dda1a60f42870dd3132c256)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To fix:
file /usr/share/man/man1/dnsdomainname.1 conflicts between attempted installs
of inetutils-doc-1.9.4-r0.core2_64 and net-tools-doc-1.60+26-r0.core2_64
(From OE-Core rev: 412d6b31b23b30f71b8acf2ecd37463f770cd8be)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To fix:
file /usr/share/man/man1/eject.1 conflicts between attempted installs
of util-linux-doc-2.29.1-r0.core2_64 and eject-doc-2.1.5-r1.core2_64
and
file /usr/share/man/man1/logger.1 conflicts between attempted installs
of util-linux-doc-2.29.1-r0.core2_64 and inetutils-doc-1.9.4-r0.core2_64
(From OE-Core rev: a65e69d006bceacb042b377f2cd0dd8a3e72ea62)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To fix:
file /usr/share/man/man1/which.1 conflicts between attempted installs
of debianutils-doc-4.8.1-r0.core2_64 and which-doc-2.21-r3.core2_64
(From OE-Core rev: ba304046307cd741694b25215b562d5f05c9c7a5)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We see:
file /usr/share/info/bfd.info conflicts between attempted installs
of gdb-doc-7.12.1-r0.core2_64 and binutils-doc-2.28-r0.core2_64
You can't really have gdb and not binutils, so there is no need
to do alternatives here ; just clobber the one from gdb and let
the binutils one be the default.
(From OE-Core rev: 19a825a578e2e705e5502982b787cff54d021359)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All documentation refers to dnf binary as 'dnf' yet make install
does not create one - it's done by Fedora's spec file when building
the rpm. Let's replicate this behavior.
(From OE-Core rev: 456c4a8ffc9a292d7a3e036d92baf4a8f14d1f45)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Import the gpg key used in rpm signing into rpmdb. This makes it
possible again to create images when rpm signing is enabled.
Also, instruct dnf to enforce signature check if rpm signing is enabled.
(From OE-Core rev: f30c1653cc5ef9daf594cbd3faad329b9fa08ab7)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I've used a previous patch (which was never merged) by
Humberto Ibarra <humberto.ibarra.lopez@intel.com> as a model
for how to do runtime testing of this feature (e.g. we need to boot
an image, run dnf on it, and check that it is indeed able to
access the remote repo over http). Here's his original commit message:
=====
Testing that feeds specified with PACKAGE_FEED_URIS var are set
correctly has two parts. First a build with this var set is required,
and then smart update needs to be issued in the running taget.
The previous is not a common selftest practice because this is a
simple test, but requires building and running a specific image,
which takes a lot of time. testimage is not a good fit either,
since the images tested there do not have the PACKAGE_FEED_URIS
var set.
For this test, the runtime-test module is being used, which is a
selftest module but runs a testimage command. The var and test
environment were set in runtime-perf.py and the actual test is
done in a new testcase added to meta-selftest layer.
=====
[YOCTO #10872]
(From OE-Core rev: 3a9e2fdef9316e24b52ce99ac355fc2b09786c72)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to SKIP_FILEDEPS should change the sstate checksum. To make
that happen, it needs to be listed in the list of package specific
variables, therefore add it.
(From OE-Core rev: 4d9fb8414300c0adc003f2d77041713a17b49bd4)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can fix a problem:
IMAGE_FSTYPES += "iso"
$ bitbake core-image-minimal
$ runqemu qemux86
It may boot core-image-minimal-initramfs rather than core-image-minimal, this
is not what we want usually. This patch makes it avoid booting ramfs when there
are other choices, or when it is specified, for example, "runqemu qemux86 ramfs"
(From OE-Core rev: 614bde6774f4dfd414066bbaf75ed422943e37ab)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.1, 4.4, 4,9 and 4.10. Also set
the default kernel to 4.10.
(From meta-yocto rev: fbb8276e16976b5188efe5a9ee9bdda1ff44d931)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In 2bc4d35fb32defc59cd6ed1fc87e35924c201a5c we fixed cases where an inactive
remove override was influecing the value of a variable. This adds a test
case for this issue.
(Bitbake rev: 1ff9b3c669fa187f152de7b8b57d14c2468d926c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ runqemu core-image-minimal
[snip]
Exception: FSTYPE is NULL!
[snip]
Get DEPLOY_DIR_IMAGE from "bitbake -e" to make it work.
[YOCTO #10471]
(From OE-Core rev: ca551b72a020782f164703765b97156000b908d2)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's regrettable that code in here is referring to BBFILE_COLLECTIONS,
but it is, and the result is that this packagegroup will rebuild simply
by adding or removing a layer which may be completely unrelated to
whether you've got meta-qt4 or not. Add BBFILE_COLLECTIONS to
vardepsexclude for the function to avoid this. (This was flagged up when
testing the new yocto-compat-layer script - it understandably but
undesirably reports it as a change caused by a layer).
(From OE-Core rev: 10dc69467677a4ce2a26aa670bbb9c1d7d783a0e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adjust the message slightly to make it clearer, in particular mentioning
the HOSTTOOLS variable.
(From OE-Core rev: e022b27d189c1dcc7b3baea2b99dba8d724e6e2b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch was removed from SRC_URI as merged upstream in 587778e24c9.
(From OE-Core rev: 818dced4e4409c112b35022b86b830b0c2a2a7da)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch has seemingly never been applied in the recipe (even when
it lived in meta-intel). I don't think we should have unused patches
in the repo: If the patch is useful it could be reintroduced so that
the binaries are packaged into a separate package.
(From OE-Core rev: cd33ae2f21547354e1ef9776b2c4ebcea4eb7e99)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch was only used in the ancient and recently removed git recipe.
(From OE-Core rev: 2d2d4c31d04f5f29250a307c1f3da739ab351ecd)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-update-alternatives-warn-when-multiple-providers-hav.patch was
removed from SRC_URI without mention in commit 60c9a9704.
001-Makefile-use-defined-bindir-and-mandir-as-installati.patch was
removed from SRC_URI in d6b04e121.
Current opkg does not need either patch.
(From OE-Core rev: 789ec510495ca6eab379ec829e3013c977236966)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2016-4490 applied to gcc < 6.1.1, our version is 6.3
(From OE-Core rev: d8329861bf6f48f6e541a04062b8d1f373dfcd78)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
avoid_parallel_make_races_on_pgen.patch was removed from SRC_URI as
handled in upstream in db9508891b.
(From OE-Core rev: 7e2a5a213535bfac14f0b2e3a3b7857b7fdcaffc)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2016-5636.patch and avoid_parallel_make_races_on_pgen.patch were
removed from SRC_URI as handled upstream in adf4266524.
(From OE-Core rev: 53c0d1f18d4a11b0130e54466c91320acf4f5b18)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2016-5636.patch and use_packed_importlib.patch were removed from
SRC_URI as handled in upstream in b192bc02bb.
(From OE-Core rev: 71c539483350a4b45fb5d397d29b6ebcfc863e2f)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch has not been used since the ancient git version was removed.
(From OE-Core rev: 292f519dad5ed9e4389f2a3ad2307c168328a038)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
config-dirent-symbols.patch was removed from SRC_URI as "already
applied in upstream" in 983a4986947.
(From OE-Core rev: 43e764a54458c9c6665bb7734b1fc7e7956bffdc)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
--enable-uuid no longer exists: There's a uuid implementation in
libqemuutil.
(From OE-Core rev: 9da623d569ae552b1772a3b3a06df3cbf76cd573)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that pip3-native is used by build-appliance, we should no longer
need this host tool.
(From OE-Core rev: 096f943d4b7a7cf5d4c3d45f34be5ddcd2475790)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"pod2man" went missing from BA, but it is required.
This patch fixes the Toaster error:
<...>
ERROR: These tools appear to be unavailable in PATH, please install
them in order to proceed:
pod2man
<...>
[YOCTO#11144]
(From OE-Core rev: 562c184d52db2182eafde3cf9866606145784deb)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not rely on pip3 being installed on the host.
Use pip3-native instead.
[YOCTO#10909]
[YOCTO#11022]
(From OE-Core rev: 0c349f06b6b026e9bbd3e9a8188e3d8645fd00d9)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Presently, runqemu sets up rootfs as part of network setup.
In case there is no network desired we will end up without rootfs
as well.
This patch sets up network and rootfs independently.
It is also possible to bypass setup of rootfs if QB_ROOTFS is set to "none".
(From OE-Core rev: 006ab8c6bcfe9d065c215cab15289357cefc9259)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When "bitbake -k -S none world" failed, the error printed by
yocto-compat-layer.py contained the stack trace multiple times and did not
contain the stderr output from bitbake, making the error hard to understand
and debug:
INFO: ======================================================================
INFO: ERROR: test_signatures (common.CommonCompatLayer)
INFO: ----------------------------------------------------------------------
INFO: Traceback (most recent call last):
File "/fast/work/poky/scripts/lib/compatlayer/__init__.py", line 144, in get_signatures
stderr=subprocess.PIPE)
File "/usr/lib/python3.4/subprocess.py", line 620, in check_output
raise CalledProcessError(retcode, process.args, output=output)
subprocess.CalledProcessError: Command 'bitbake -k -S none world' returned non-zero exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/fast/work/poky/scripts/lib/compatlayer/cases/common.py", line 51, in test_signatures
curr_sigs = get_signatures(self.td['builddir'], failsafe=True)
File "/fast/work/poky/scripts/lib/compatlayer/__init__.py", line 149, in get_signatures
raise RuntimeError(msg)
RuntimeError: Traceback (most recent call last):
File "/fast/work/poky/scripts/lib/compatlayer/__init__.py", line 144, in get_signatures
stderr=subprocess.PIPE)
File "/usr/lib/python3.4/subprocess.py", line 620, in check_output
raise CalledProcessError(retcode, process.args, output=output)
subprocess.CalledProcessError: Command 'bitbake -k -S none world' returned non-zero exit status 1
Loading cache...done.
Loaded 1328 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: Runtime target 'zlib-qat' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['zlib-qat']
...
Summary: There were 5 ERROR messages shown, returning a non-zero exit code.
The yocto-compat-layer.log was incomplete, it only had the first part
without the command output.
stderr was missing due to stderr=subprocess.PIPE.
Instead of the complicated try/except construct it's better to check
the return code ourselves and raise just a single exception. The
output (both on stderr and in the yocto-compat-layer.log) now is:
INFO: ======================================================================
INFO: ERROR: test_signatures (common.CommonCompatLayer)
INFO: ----------------------------------------------------------------------
INFO: Traceback (most recent call last):
File "/fast/work/poky/scripts/lib/compatlayer/cases/common.py", line 51, in test_signatures
curr_sigs = get_signatures(self.td['builddir'], failsafe=True)
File "/fast/work/poky/scripts/lib/compatlayer/__init__.py", line 147, in get_signatures
raise RuntimeError(msg)
RuntimeError: Generating signatures failed. This might be due to some parse error and/or general layer incompatibilities.
Command: bitbake -k -S none world
Output:
Loading cache...done.
Loaded 1328 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'qat16' (but /fast/work/meta-intel/common/recipes-extended/openssl-qat/openssl-qat_0.4.9-009.bb DEPENDS on or otherwise requires it)
ERROR: qat16 was skipped: incompatible with machine qemux86 (not in COMPATIBLE_MACHINE)
...
Missing or unbuildable dependency chain was: ['openssl-qat-dev']
...
Summary: There were 5 ERROR messages shown, returning a non-zero exit code.
(From OE-Core rev: 5b9ac62ab535d2791b9713857e1016f49f53dd8d)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to the recently implemented update-alternatives for bash binary,
sanity checker may end up with a (false-positive) error such as:
Error, /bin/sh links to /bin/bash.bash, must be dash or bash
This patch modifies the test: presence of "/bash" or "/dash" in shell binary
name results in pass.
[YOCTO#11108]
(From OE-Core rev: ef51746cdd12e6b08109e9bd90a0a465c3f9f93c)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building ed into an sstate mirror, then leaving it enabled for
oe-selftest -r signing.Signing.test_signing_sstate_archive results in:
NOTE: recipe ed-1.14.1-r0: task do_populate_lic_setscene: Started
WARNING: ed-1.14.1-r0 do_populate_lic_setscene: Failed to fetch URL file://29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz.sig;downloadfilename=29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz.sig, attempting MIRRORS if available
ERROR: ed-1.14.1-r0 do_populate_lic_setscene: Fetcher failure: Unable to find file file://29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz.sig;downloadfilename=29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz.sig anywhere. The paths that were searched were:
/media/build1/poky/build/test-sstate
/media/build1/poky/build/test-sstate
WARNING: ed-1.14.1-r0 do_populate_lic_setscene: Cannot verify signature on sstate package /media/build1/poky/build/test-sstate/29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz
NOTE: recipe ed-1.14.1-r0: task do_populate_lic_setscene: Succeeded
so we need to disable SSTATE_MIRRORS for this test.
(From OE-Core rev: 2ce9962851fe58c099599679340fd87e90f426ec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe-git-proxy depends on socat host tool but it's not
whitelisted and triggers a 'binary not in PATH' error.
Whitelist socat but make it a HOSTTOOLS_NONFATAL since
it's not a hard dependency.
(From OE-Core rev: 97f979ee61a06349139ccc47feaf051bdbcf0e16)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debugfs output may contain a newline in file names in 'ls -p' output. Make sure
that output is correctly split into lines by matching '/\n' and newlines are
removed from file names.
Fixes the following error appearing in AB tests:
Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/wic.py", line 388, in test_exclude_path
files = [line.split('/')[5] for line in res.output.split('\n')]
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/wic.py", line 388, in <listcomp>
files = [line.split('/')[5] for line in res.output.split('\n')]
IndexError: list index out of range
(From OE-Core rev: 477805b913a6c4b4b630e42f08cd9e59f1e4e254)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch was added to fix a CVE, but wasn't actually added to SRC_URI:
CVE: CVE-2004-2761
The MD5 Message-Digest Algorithm is not collision resistant,
which makes it easier for context-dependent attackers to
conduct spoofing attacks, as demonstrated by attacks on the
use of MD5 in the signature algorithm of an X.509 certificate.
(From OE-Core rev: 8791800f84321b3f46772bc2d9e4f754e6213946)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating from v4.4.41 to v4.4.53, with the following list of changes:
49616e715061 Linux 4.4.53
9cee69465035 scsi: lpfc: Correct WQ creation for pagesize
1d316060cad5 MIPS: IP22: Fix build error due to binutils 2.25 uselessnes.
4dd29050e46e MIPS: IP22: Reformat inline assembler code to modern standards.
15959b728d07 powerpc/xmon: Fix data-breakpoint
afee78f03ee6 dmaengine: ipu: Make sure the interrupt routine checks all interrupts.
79a7ff1443bd bcma: use (get|put)_device when probing/removing device driver
5a1f03f1ee91 md linear: fix a race between linear_add() and linear_congested()
037cd23726b3 rtc: sun6i: Switch to the external oscillator
ee360e99dae0 rtc: sun6i: Add some locking
a0378b5bfc27 NFSv4: fix getacl ERANGE for some ACL buffer sizes
5d23e89065cd NFSv4: fix getacl head length estimation
52fb4bdcea4c NFSv4: Fix memory and state leak in _nfs4_open_and_get_state
3ee4f442e5b3 nfsd: special case truncates some more
6030493a3422 nfsd: minor nfsd_setattr cleanup
781e6a08381d rtlwifi: rtl8192c-common: Fix "BUG: KASAN:
6e10c33cb87a rtlwifi: Fix alignment issues
70a09029b7be gfs2: Add missing rcu locking for glock lookup
44dd30e04c1f rdma_cm: fail iwarp accepts w/o connection params
88326fe95f59 RDMA/core: Fix incorrect structure packing for booleans
f414af249f1e Drivers: hv: util: Backup: Fix a rescind processing issue
9b45ab285388 Drivers: hv: util: Fcopy: Fix a rescind processing issue
abaeda7f709a Drivers: hv: util: kvp: Fix a rescind processing issue
862d2b7d21d3 hv: init percpu_list in hv_synic_alloc()
374907e8d116 hv: allocate synic pages for all present CPUs
80190fcc48f6 usb: gadget: udc: fsl: Add missing complete function.
61e9e9bcfd7b usb: host: xhci: plat: check hcc_params after add hcd
900466a746f5 usb: musb: da8xx: Remove CPPI 3.0 quirk and methods
89eb5ed1536e w1: ds2490: USB transfer buffers need to be DMAable
1df66c452471 w1: don't leak refcount on slave attach failure in w1_attach_slave_device()
20bc8a897e48 can: usb_8dev: Fix memory leak of priv->cmd_msg_buffer
3584716db12a iio: pressure: mpl3115: do not rely on structure field ordering
2ab6b8c7172c iio: pressure: mpl115: do not rely on structure field ordering
e83a28c521a6 arm/arm64: KVM: Enforce unconditional flush to PoC when mapping to stage-2
d4a8db66b946 fuse: add missing FR_FORCE
434ed4aff140 crypto: testmgr - Pad aes_ccm_enc_tv_template vector
7666ef1a36cc ath9k: use correct OTP register offsets for the AR9340 and AR9550
1aeced70f77d ath9k: fix race condition in enabling/disabling IRQs
dc7bbf895e43 ath5k: drop bogus warning on drv_set_key with unsupported cipher
6af0acc0b69f target: Fix multi-session dynamic se_node_acl double free OOPs
4a3c526ced41 target: Obtain se_node_acl->acl_kref during get_initiator_node_acl
da259399e487 samples/seccomp: fix 64-bit comparison macros
6ad4196f1952 ext4: return EROFS if device is r/o and journal replay is needed
9a79248c083d ext4: preserve the needs_recovery flag when the journal is aborted
6ec4583e9b03 ext4: fix inline data error paths
9d636818dbac ext4: fix data corruption in data=journal mode
8774c73cf696 ext4: trim allocation requests to group size
a3068b3e8066 ext4: do not polute the extents cache while shifting extents
3daefdae5f8b ext4: Include forgotten start block on fallocate insert range
cd3db55c64ae loop: fix LO_FLAGS_PARTSCAN hang
356d71df7398 block/loop: fix race between I/O and set_status
973f40f368f7 jbd2: don't leak modified metadata buffers on an aborted journal
c0ef1f537a97 Fix: Disable sys_membarrier when nohz_full is enabled
ea240cfed99b sd: get disk reference in sd_check_events()
33950b56d2c2 scsi: use 'scsi_device_from_queue()' for scsi_dh
2dc9a859eb89 scsi: aacraid: Reorder Adapter status check
18dbfcae65a3 scsi: storvsc: properly set residual data length on errors
80bccab34a57 scsi: storvsc: properly handle SRB_ERROR when sense message is present
5cdc8193ac38 scsi: storvsc: use tagged SRB requests if supported by the device
6a284310d5dd dm stats: fix a leaked s->histogram_boundaries array
fdea1f972158 dm cache: fix corruption seen when using cache > 2TB
f0ae01568e0c ipc/shm: Fix shmat mmap nil-page protection
c5c893e7c44e mm: do not access page->mapping directly on page_endio
66f43a576879 mm: vmpressure: fix sending wrong events on underflow
612e4679b865 mm/page_alloc: fix nodes for reclaim in fast path
31dac0e870dd iommu/vt-d: Tylersburg isoch identity map check is done too late.
07852563dba6 iommu/vt-d: Fix some macros that are incorrectly specified in intel-iommu
5cc0cd0e3a5a regulator: Fix regulator_summary for deviceless consumers
272d60bfce0e staging: rtl: fix possible NULL pointer dereference
8c8f42c9a4a7 ALSA: hda - Fix micmute hotkey problem for a lenovo AIO machine
cd585d3ba5c8 ALSA: hda - Add subwoofer support for Dell Inspiron 17 7000 Gaming
003aa343724f ALSA: seq: Fix link corruption by event error handling
70dbc00f7e11 ALSA: ctxfi: Fallback DMA mask to 32bit
9879f9d01a3c ALSA: timer: Reject user params with too small ticks
b9bf1f0657c5 ALSA: hda - fix Lewisburg audio issue
1f4f37076d52 ALSA: hda/realtek - Cannot adjust speaker's volume on a Dell AIO
6b1d7b6f54c7 ARM: dts: at91: Enable DMA on sama5d2_xplained console
be83ed085fcd ARM: dts: at91: Enable DMA on sama5d4_xplained console
b401418c6cc3 ARM: at91: define LPDDR types
f3a0b2004080 media: fix dm1105.c build error
b0bde9f6a057 uvcvideo: Fix a wrong macro
5988e7320179 am437x-vpfe: always assign bpp variable
ab7546e49100 MIPS: Handle microMIPS jumps in the same way as MIPS32/MIPS64 jumps
cc387ae0898e MIPS: Calculate microMIPS ra properly when unwinding the stack
d75d675a0552 MIPS: Fix is_jump_ins() handling of 16b microMIPS instructions
72a0cfae59b4 MIPS: Fix get_frame_info() handling of microMIPS function size
2998bf60d385 MIPS: Prevent unaligned accesses during stack unwinding
0d45490221a2 MIPS: Clear ISA bit correctly in get_frame_info()
f1be0f5814a6 MIPS: Lantiq: Keep ethernet enabled during boot
093292b8f8f7 MIPS: OCTEON: Fix copy_from_user fault handling for large buffers
b32e43cf3f74 MIPS: BCM47XX: Fix button inversion for Asus WL-500W
5636da7aba4d MIPS: Fix special case in 64 bit IP checksumming.
faf6aa4b129d samples: move mic/mpssd example code from Documentation
dd4534d88b93 Linux 4.4.52
c171caf7be28 kvm: vmx: ensure VMCS is current while enabling PML
e0913cc300c7 Revert "usb: chipidea: imx: enable CI_HDRC_SET_NON_ZERO_TTHA"
151d4c0fb55b rtlwifi: rtl_usb: Fix for URB leaking when doing ifconfig up/down
de5634875b60 block: fix double-free in the failure path of cgwb_bdi_init()
15696979d80f goldfish: Sanitize the broken interrupt handler
d7f97304a485 x86/platform/goldfish: Prevent unconditional loading
67f47e57f9ca USB: serial: ark3116: fix register-accessor error handling
b04a2ca5c4b3 USB: serial: opticon: fix CTS retrieval at open
06b1cf346a4d USB: serial: spcp8x5: fix modem-status handling
22034ee5dab8 USB: serial: ftdi_sio: fix line-status over-reporting
cfad0817222d USB: serial: ftdi_sio: fix extreme low-latency setting
af82872b65e0 USB: serial: ftdi_sio: fix modem-status error handling
bcea8e993772 USB: serial: cp210x: add new IDs for GE Bx50v3 boards
1ae570ab1c06 USB: serial: mos7840: fix another NULL-deref at open
04fae8abfaef tty: serial: msm: Fix module autoload
49ed6307508e net: socket: fix recvmmsg not returning error from sock_error
ce9ecb8d7f3c ip: fix IP_CHECKSUM handling
353dd7290025 irda: Fix lockdep annotations in hashbin_delete().
a95df078e866 dccp: fix freeing skb too early for IPV6_RECVPKTINFO
fe41cfb48f2d packet: Do not call fanout_release from atomic contexts
abd672deb170 packet: fix races in fanout_add()
2b3eb43342a0 net/llc: avoid BUG_ON() in skb_orphan()
e8330cb5ae47 blk-mq: really fix plug list flushing for nomerge queues
f0414c1f8bb7 rtc: interface: ignore expired timers when enqueuing new timers
a82ac399bcf2 rtlwifi: rtl_usb: Fix missing entry in USB driver's private data
f1924ac09c96 Linux 4.4.51
5a86b1150f6c mmc: core: fix multi-bit bus width without high-speed mode
6f26f0ba2435 bcache: Make gc wakeup sane, remove set_task_state()
aee7d0412f17 ntb_transport: Pick an unused queue
c6c6851adbaf NTB: ntb_transport: fix debugfs_remove_recursive
efa061998d22 printk: use rcuidle console tracepoint
6787d3ecbef7 ARM: 8658/1: uaccess: fix zeroing of 64-bit get_user()
e6394c7d1c19 futex: Move futex_init() to core_initcall
906bb56e3a12 drm/dp/mst: fix kernel oops when turning off secondary monitor
b32128386bf8 drm/radeon: Use mode h/vdisplay fields to hide out of bounds HW cursor
c6cbae45a57f Input: elan_i2c - add ELAN0605 to the ACPI table
65de8bfbbe20 Fix missing sanity check in /dev/sg
8107096d243d scsi: don't BUG_ON() empty DMA transfers
d7b146c69229 fuse: fix use after free issue in fuse_dev_do_read()
385a592dc7ce siano: make it work again with CONFIG_VMAP_STACK
f9400118b015 vfs: fix uninitialized flags in splice_to_pipe()
c50b74d88661 Linux 4.4.50
b9dee56027ae l2tp: do not use udp_ioctl()
afb4feb8bfef ping: fix a null pointer dereference
9117c897c9aa packet: round up linear to header len
58691e5b4f27 net: introduce device min_header_len
6f99825e7632 sit: fix a double free on error path
a4226c7ebfb5 sctp: avoid BUG_ON on sctp_wait_for_sndbuf
f46f344841ec mlx4: Invoke softirqs after napi_reschedule
0db25098cb6c macvtap: read vnet_hdr_size once
625bd9e43b3b tun: read vnet_hdr_sz once
82e9f6b90a0e tcp: avoid infinite loop in tcp_splice_read()
96ada0a978fa ipv6: tcp: add a missing tcp_v6_restore_cb()
eaa3a58f4503 ip6_gre: fix ip6gre_err() invalid reads
13c3646dac70 netlabel: out of bound access in cipso_v4_validate()
2d9c2e011fd3 ipv4: keep skb->dst around in presence of IP options
22449a01baa5 net: use a work queue to defer net_disable_timestamp() work
f3ece3b38437 tcp: fix 0 divide in __tcp_select_window()
3f5b5134ec7c ipv6: pointer math error in ip6_tnl_parse_tlv_enc_lim()
41e07a7e01d9 ipv6: fix ip6_tnl_parse_tlv_enc_lim()
e6c654c9c092 can: Fix kernel panic at security_sock_rcv_skb
702c0ce9a7c7 Linux 4.4.49
5b0465dd4ad4 drm/i915: fix use-after-free in page_flip_completed()
a44ca389a736 ALSA: seq: Don't handle loop timeout at snd_seq_pool_done()
e5f20a3fd6db ALSA: seq: Fix race at creating a queue
010ada0cfcb9 xen-netfront: Delete rx_refill_timer in xennet_disconnect_backend()
1c0da0ac217b scsi: mpt3sas: disable ASPM for MPI2 controllers
4d6bdf7c73e7 scsi: aacraid: Fix INTx/MSI-x issue with older controllers
52e02d6bf304 scsi: zfcp: fix use-after-free by not tracing WKA port open/close on failed send
f2d256a2d49f netvsc: Set maximum GSO size in the right place
b9c29d45f980 mac80211: Fix adding of mesh vendor IEs
2f46791849be ARM: 8642/1: LPAE: catch pending imprecise abort on unmask
04ed4a9e21f5 target: Fix COMPARE_AND_WRITE ref leak for non GOOD status
0c863accadb0 target: Fix early transport_generic_handle_tmr abort scenario
ee44e73832c2 target: Use correct SCSI status during EXTENDED_COPY exception
44d03b9280ed target: Don't BUG_ON during NodeACL dynamic -> explicit conversion
fcc038db5959 ARM: 8643/3: arm/ptrace: Preserve previous registers for short regset write
cc187c6200f8 hns: avoid stack overflow with CONFIG_KASAN
3b7ff5ed114f cpumask: use nr_cpumask_bits for parsing functions
fd96835e205d Revert "x86/ioapic: Restore IO-APIC irq_chip retrigger callback"
e72c13d93e9e selinux: fix off-by-one in setprocattr
e871ea6bcf99 ARC: [arcompact] brown paper bag bug in unaligned access delay slot fixup
6a1bd9063246 Linux 4.4.48
87ebcc534d47 base/memory, hotplug: fix a kernel oops in show_valid_zones()
374d06699537 x86/irq: Make irq activate operations symmetric
94c0517fd0cb USB: serial: option: add device ID for HP lt2523 (Novatel E371)
9cf89ade1afd usb: gadget: f_fs: Assorted buffer overflow checks.
e4c1e6648298 USB: Add quirk for WORLDE easykey.25 MIDI keyboard
b4b3442e5032 USB: serial: pl2303: add ATEN device ID
244e7f00035d USB: serial: qcserial: add Dell DW5570 QDL
f4f09b79a0c4 KVM: x86: do not save guest-unsupported XSAVE state
8b51676d6cd9 HID: wacom: Fix poor prox handling in 'wacom_pl_irq'
b3c8c31ed24c percpu-refcount: fix reference leak during percpu-atomic transition
3a8e217851c9 mmc: sdhci: Ignore unexpected CARD_INT interrupts
85fb980acb01 can: bcm: fix hrtimer/tasklet termination in bcm op removal
4025ab36c81c mm, fs: check for fatal signals in do_generic_file_read()
e86a8769579e mm/memory_hotplug.c: check start_pfn in test_pages_in_a_zone()
920bba109299 cifs: initialize file_info_lock
7aeb95ceb84b zswap: disable changing params if init fails
5dadebc67586 svcrpc: fix oops in absence of krb5 module
2b4e56fde91b NFSD: Fix a null reference case in find_or_create_lock_stateid()
f584bb6df7a2 powerpc: Add missing error check to prom_find_boot_cpu()
9b993e2c3df6 powerpc/eeh: Fix wrong flag passed to eeh_unfreeze_pe()
db18e92ceb8d libata: apply MAX_SEC_1024 to all CX1-JB*-HP devices
579a917538f1 ata: sata_mv:- Handle return value of devm_ioremap.
d49d465d178f perf/core: Fix PERF_RECORD_MMAP2 prot/flags for anonymous memory
72bb4b549085 crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes
ae7d33f53a56 crypto: api - Clear CRYPTO_ALG_DEAD bit before registering an alg
c4305f00852c drm/nouveau/nv1a,nv1f/disp: fix memory clock rate retrieval
2a3797ef69c5 drm/nouveau/disp/gt215: Fix HDA ELD handling (thus, HDMI audio) on gt215
e21a3cad35bc ext4: validate s_first_meta_bg at mount time
62e546b2d3a0 PCI/ASPM: Handle PCI-to-PCIe bridges as roots of PCIe hierarchies
4686ea264f1d Linux 4.4.47
384e4bf0def9 net: dsa: Bring back device detaching in dsa_slave_suspend()
74a7c39ec627 qmi_wwan/cdc_ether: add device ID for HP lt2523 (Novatel E371) WWAN card
0492a033fb71 af_unix: move unix_mknod() out of bindlock
e674c70bafe7 r8152: don't execute runtime suspend if the tx is not empty
980b9afd9ecc bridge: netlink: call br_changelink() during br_dev_newlink()
8f9e4ad8d7f3 tcp: initialize max window for a new fastopen socket
8051bf2890e9 ipv6: addrconf: Avoid addrconf_disable_change() using RCU read-side lock
8a066a87025e net: phy: bcm63xx: Utilize correct config_intr function
6fec199362c4 net: fix harmonize_features() vs NETIF_F_HIGHDMA
4f5e54bdd052 ax25: Fix segfault after sock connection timeout
062b7f35ff6c ravb: do not use zero-length alignment DMA descriptor
7d691d89eed0 openvswitch: maintain correct checksum state in conntrack actions
b82981fb273d tcp: fix tcp_fastopen unaligned access complaints on sparc
ec9e993f30f6 net: systemport: Decouple flow control from __bcm_sysport_tx_reclaim
40e7c725ab0f net: ipv4: fix table id in getroute response
2e84b8ce6fc3 net: lwtunnel: Handle lwtunnel_fill_encap failure
290db2cd517e mlxsw: pci: Fix EQE structure definition
811bb1b9d9ab mlxsw: switchx2: Fix memory leak at skb reallocation
9edb2d75d81b mlxsw: spectrum: Fix memory leak at skb reallocation
595ac452c451 r8152: fix the sw rx checksum is unavailable
6c1ed78cb074 Linux 4.4.46
d0721893214e mm, memcg: do not retry precharge charges
14b97492d6e1 platform/x86: intel_mid_powerbtn: Set IRQ_ONESHOT
d430c37db796 pinctrl: broxton: Use correct PADCFGLOCK offset
5ddaf6804e24 s5k4ecgx: select CRC32 helper
5288474d2f48 IB/umem: Release pid in error and ODP flow
e114e66eec3d IB/ipoib: move back IB LL address into the hard header
800a78f9e62b drm/i915: Don't leak edid in intel_crt_detect_ddc()
d79e41188a1e SUNRPC: cleanup ida information when removing sunrpc module
edef1086bf09 NFSv4.0: always send mode in SETATTR after EXCLUSIVE4
0f64f22c0686 nfs: Don't increment lock sequence ID after NFS4ERR_MOVED
bde741e9cc23 parisc: Don't use BITS_PER_LONG in userspace-exported swab.h header
acb63c8b576d ARC: [arcompact] handle unaligned access delay slot corner case
42ad7663677d ARC: udelay: fix inline assembler by adding LP_COUNT to clobber list
bca1a95c9e20 can: ti_hecc: add missing prepare and unprepare of the clock
63fe33a78428 can: c_can_pci: fix null-pointer-deref in c_can_start() - set device pointer
bae49e72f951 s390/ptrace: Preserve previous registers for short regset write
8637de3a318d RDMA/cma: Fix unknown symbol when CONFIG_IPV6 is not enabled
d65032ab06f4 ISDN: eicon: silence misleading array-bounds warning
d1b232c2ce53 sysctl: fix proc_doulongvec_ms_jiffies_minmax()
f11e8bf8e99b mm/mempolicy.c: do not put mempolicy before using its nodemask
c83ad9703e71 drm: Fix broken VT switch with video=1366x768 option
23bc4e136bca tile/ptrace: Preserve previous registers for short regset write
63db7c91a3c0 fbdev: color map copying bounds checking
ef30573ef2b1 Linux 4.4.45
8323d0555fe3 arm64: avoid returning from bad_mode
6e65a4c698cf selftest/powerpc: Wrong PMC initialized in pmc56_overflow test
a5291c1a9eae dmaengine: pl330: Fix runtime PM support for terminated transfers
238623ce487f ite-cir: initialize use_demodulator before using it
b02d7a8219bc blackfin: check devm_pinctrl_get() for errors
a4d2fa085b9a ARM: 8613/1: Fix the uaccess crash on PB11MPCore
baa2610c4962 ARM: ux500: fix prcmu_is_cpu_in_wfi() calculation
68664ae14535 ARM: dts: imx6qdl-nitrogen6_max: fix sgtl5000 pinctrl init
c55f8aaf4a19 arm64/ptrace: Reject attempts to set incomplete hardware breakpoint fields
4c87fc7f2059 arm64/ptrace: Avoid uninitialised struct padding in fpr_set()
03ee97d68d8b arm64/ptrace: Preserve previous registers for short regset write - 3
d8263f1753ce arm64/ptrace: Preserve previous registers for short regset write - 2
76e08d2966a9 arm64/ptrace: Preserve previous registers for short regset write
41a9abb0e06b ARM: dts: da850-evm: fix read access to SPI flash
62c3d36309d3 ceph: fix bad endianness handling in parse_reply_info_extra
abfa5e8ae937 ARM: 8634/1: hw_breakpoint: blacklist Scorpion CPUs
294b0aadc8c2 svcrdma: avoid duplicate dma unmapping during error recovery
098b62b757a4 clocksource/exynos_mct: Clear interrupt when cpu is shut down
a07563c3cf05 ubifs: Fix journal replay wrt. xattr nodes
7ea1eb731453 qla2xxx: Fix crash due to null pointer access
86915782ff65 x86/ioapic: Restore IO-APIC irq_chip retrigger callback
212bab3c5b0b mtd: nand: xway: disable module support
80aeb7bf5ca0 ieee802154: atusb: do not use the stack for buffers to make them DMA able
8f6f508f70ff mmc: mxs-mmc: Fix additional cycles after transmission stop
75c60df15c85 HID: corsair: fix control-transfer error handling
0f37d20fdc70 HID: corsair: fix DMA buffers on stack
4740d1d7d429 PCI: Enumerate switches below PCI-to-PCIe bridges
dc4e372f9a47 fuse: clear FR_PENDING flag when moving requests out of pending queue
6f3002c22087 svcrpc: don't leak contexts on PROC_DESTROY
3b434ca8592a x86/PCI: Ignore _CRS on Supermicro X8DTH-i/6/iF/6F
36672b8b99e2 tmpfs: clear S_ISGID when setting posix ACLs
39d7c9ce35a1 ARM: dts: imx31: fix AVIC base address
d2e4968e3c0d ARM: dts: imx31: move CCM device node to AIPS2 bus devices
280d00a94293 ARM: dts: imx31: fix clock control module interrupts description
2ba399c693c0 perf scripting: Avoid leaking the scripting_context variable
aa02f29e95f3 IB/IPoIB: Remove can't use GFP_NOIO warning
ea470497eb31 IB/mlx4: When no DMFS for IPoIB, don't allow NET_IF QPs
f1c9169478ca IB/mlx4: Fix port query for 56Gb Ethernet links
c7a40c48f7a5 IB/mlx4: Fix out-of-range array index in destroy qp flow
1be54a4ec45a IB/mlx4: Set traffic class in AH
4ffb36efe22c IB/mlx5: Wait for all async command completions to complete
97085e2a386a ftrace/x86: Set ftrace_stub to weak to prevent gcc from using short jumps to it
a7dd347a67c0 Linux 4.4.44
45611fb9e0af pinctrl: sh-pfc: Do not unconditionally support PIN_CONFIG_BIAS_DISABLE
ef6eadbf7b16 powerpc/ibmebus: Fix device reference leaks in sysfs interface
488e7b2c5b6a powerpc/ibmebus: Fix further device reference leaks
4d1b5086f7e2 bus: vexpress-config: fix device reference leak
6e8210ad2585 blk-mq: Always schedule hctx->next_cpu
ddf0c377bf82 ACPI / APEI: Fix NMI notification handling
4af7970b3593 block: cfq_cpd_alloc() should use @gfp
2c1dd423a567 cpufreq: powernv: Disable preemption while checking CPU throttling state
33ebdfe913fd NFSv4.1: nfs4_fl_prepare_ds must be careful about reporting success.
11804232d1ad NFS: Fix a performance regression in readdir
8ff851bf2240 pNFS: Fix race in pnfs_wait_on_layoutreturn
7aae6e3c0c52 pinctrl: meson: fix gpio request disabling other modes
f0382c090a20 btrfs: fix error handling when run_delayed_extent_op fails
205e997acde7 btrfs: fix locking when we put back a delayed ref that's too new
68b97d287e28 x86/cpu: Fix bootup crashes by sanitizing the argument of the 'clearcpuid=' command-line option
0cf23324af1c USB: serial: ch341: fix modem-control and B0 handling
1d25a05642c8 USB: serial: ch341: fix resume after reset
a1a0612b7dde drm/radeon: drop verde dpm quirks
b9d6631395a1 sysctl: Drop reference added by grab_header in proc_sys_readdir
ca81117b7432 sysrq: attach sysrq handler correctly for 32-bit kernel
075f493a974e tty/serial: atmel_serial: BUG: stop DMA from transmitting in stop_tx
4a6716f16517 mnt: Protect the mountpoint hashtable with mount_lock
836fd7c9e6e6 vme: Fix wrong pointer utilization in ca91cx42_slave_get
d5fcd719e889 xhci: fix deadlock at host remove by running watchdog correctly
ae76af251806 i2c: fix kernel memory disclosure in dev interface
f64b9acc368c i2c: print correct device invalid address
085f4ebec797 Input: elants_i2c - avoid divide by 0 errors on bad touchscreen data
214a8e98e6bc USB: serial: ch341: fix open and resume after B0
802b4ef3b989 USB: serial: ch341: fix control-message error handling
bc74606d8d80 USB: serial: ch341: fix open error handling
e29f709c2f56 USB: serial: ch341: fix initial modem-control state
3ef5bc0b385f USB: serial: kl5kusb105: fix line-state error handling
4a1ecf37a59f nl80211: fix sched scan netlink socket owner destruction
9d3875c0c462 KVM: x86: Introduce segmented_write_std
3490e72ad6d0 KVM: x86: emulate FXSAVE and FXRSTOR
d9c4c1e7c2cf KVM: x86: add asm_safe wrapper
4fa0090249fb KVM: x86: add Align16 instruction flag
1fc673d96f9d KVM: x86: flush pending lapic jump label updates on module unload
3d27cd4b2527 jump_labels: API for flushing deferred jump label updates
34a55c9d4a2d KVM: eventfd: fix NULL deref irqbypass consumer
816307c80d4d KVM: x86: fix emulation of "MOV SS, null selector"
1a46e6ecf896 mm/hugetlb.c: fix reservation race when freeing surplus pages
6bbb8ff3b68e ocfs2: fix crash caused by stale lvb with fsdlm plugin
70429b970bde mm: fix devm_memremap_pages crash, use mem_hotplug_{begin, done}
6de62ec07d2a selftests: do not require bash for the generated test
2deaeea23fbd selftests: do not require bash to run netsocktests testcase
2e2679a168fe Input: i8042 - add Pegatron touchpad to noloop table
51377793758a Input: xpad - use correct product id for x360w controllers
d9ea51a9bea4 Linux 4.4.43
e21901d7a5eb mm/init: fix zone boundary creation
e3f77bb158f9 ALSA: usb-audio: Add a quirk for Plantronics BT600
a1c81f839c6f spi: mvebu: fix baudrate calculation for armada variant
dfd64d112a02 ARM: OMAP4+: Fix bad fallthrough for cpuidle
04dc1be104fe ARM: zynq: Reserve correct amount of non-DMA RAM
bed280bbc995 powerpc: Fix build warning on 32-bit PPC
fa48a1607580 ALSA: firewire-tascam: Fix to handle error from initialization of stream data
a2f727149ee4 HID: hid-cypress: validate length of report
70e05a9f2f4f net: vrf: do not allow table id 0
c177d491a948 net: ipv4: Fix multipath selection with vrf
67b21973ecf4 gro: Disable frag0 optimization on IPv6 ext headers
db7119eaacf4 gro: use min_t() in skb_gro_reset_offset()
5169043e9722 gro: Enter slow-path if there is no tailroom
0d3b9c2746d3 r8152: fix rx issue for runtime suspend
c31a3c79928b r8152: split rtl8152_suspend function
807cac887d95 ipv4: Do not allow MAIN to be alias for new LOCAL w/ custom rules
0d431f94c181 igmp: Make igmp group member RFC 3376 compliant
14e8d568f14f drop_monitor: consider inserted data in genlmsg_end
81e7916476ca drop_monitor: add missing call to genlmsg_end
1ff0308f33ce net/mlx5: Avoid shadowing numa_node
18d971f84c84 net/mlx5: Check FW limitations on log_max_qp before setting it
3f2847608cb9 net: stmmac: Fix race between stmmac_drv_probe and stmmac_open
67bce5821c9a net, sched: fix soft lockup in tc_classify
58d0d7a45ef8 ipv6: handle -EFAULT from skb_copy_bits
6ac0b3810cdc net: vrf: Drop conntrack data after pass through VRF device on Tx
1e5298d4c82b ser_gigaset: return -ENOMEM on error instead of success
33c7b0f74c57 netvsc: reduce maximum GSO size
49c4446a2e13 Linux 4.4.42
adf640eaefac usb: gadget: composite: always set ep->mult to a sensible value
f108b2de9cd0 Revert "usb: gadget: composite: always set ep->mult to a sensible value"
6053479cbbc5 tick/broadcast: Prevent NULL pointer dereference
af817b3fc6e5 drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values
9205be7fa632 cx23885-dvb: move initialization of a8293_pdata
6b59fb520123 net: vxge: avoid unused function warnings
8003ac65d0a5 net: ti: cpmac: Fix compiler warning due to type confusion
becfb50c66cb cred/userns: define current_user_ns() as a function
f5a636fd416f staging: comedi: dt282x: tidy up register bit defines
8f251525da14 powerpc/pci/rpadlpar: Fix device reference leaks
ccd7bd29c2e6 md: MD_RECOVERY_NEEDED is set for mddev->recovery
1d3124821f3a crypto: arm64/aes-ce - fix for big endian
5b21c5489206 crypto: arm64/aes-xts-ce: fix for big endian
abca9c2d2cab crypto: arm64/sha1-ce - fix for big endian
83f8a200af45 crypto: arm64/aes-neon - fix for big endian
bd17e2d36615 crypto: arm64/aes-ccm-ce: fix for big endian
bed5c78798e1 crypto: arm/aes-ce - fix for big endian
4c575a30db8c crypto: arm64/ghash-ce - fix for big endian
820c2ac4c9f4 crypto: arm64/sha2-ce - fix for big endian
6119edd2d87a s390/crypto: unlock on error in prng_tdes_read()
85baf9416b7e mmc: mmc_test: Uninitialized return value
b0cb7f60998c PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend
fc44d3d05478 irqchip/bcm7038-l1: Implement irq_cpu_offline() callback
69dc8473b750 target/iscsi: Fix double free in lio_target_tiqn_addtpg()
e57c830c9041 scsi: mvsas: fix command_active typo
079c4b43e1fe ASoC: samsung: i2s: Fixup last IRQ unsafe spin lock call
83882724eb65 iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped
91bc81b9661c iommu/vt-d: Fix pasid table size encoding
dc78a9e1b4f8 iommu/amd: Fix the left value check of cmd buffer
b54dcc3b68ef iommu/amd: Missing error code in amd_iommu_init_device()
46105512474f clk: imx31: fix rewritten input argument of mx31_clocks_init()
f371ee85268d clk: clk-wm831x: fix a logic error
92e993abb928 hwmon: (g762) Fix overflows and crash seen when writing limit attributes
fd504f529160 hwmon: (nct7802) Fix overflows seen when writing into limit attributes
5e351caeaa96 hwmon: (ds620) Fix overflows seen when writing temperature limits
fbab1832e7e8 hwmon: (amc6821) sign extension temperature
07c05622f63d hwmon: (scpi) Fix module autoload
9453d46a12ba cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected
8353a5deec10 ath10k: use the right length of "background"
56ef587b77fd stable-fixup: hotplug: fix unused function warning
acb7df233b72 usb: dwc3: ep0: explicitly call dwc3_ep0_prepare_one_trb()
ecd4ad9ab7e9 usb: dwc3: ep0: add dwc3_ep0_prepare_one_trb()
efcd2e082f0f usb: dwc3: gadget: always unmap EP0 requests
7927c0314060 staging: iio: ad7606: fix improper setting of oversampling pins
3e4302f99aed mei: bus: fix mei_cldev_enable KDoc
e94800df8c1f USB: serial: io_ti: bind to interface after fw download
1224bb23fe15 USB: phy: am335x-control: fix device and of_node leaks
d36d0122ff51 ARM: dts: r8a7794: Correct hsusb parent clock
de2cf4998a52 USB: serial: kl5kusb105: abort on open exception path
f5531856c2c7 ALSA: usb-audio: Fix bogus error return in snd_usb_create_stream()
d576c36a3e1f usb: musb: blackfin: add bfin_fifo_offset in bfin_ops
e675483ee2f1 usb: hub: Move hub_port_disable() to fix warning if PM is disabled
02ef64ac647f usb: musb: Fix trying to free already-free IRQ 4
60dffc173220 usb: dwc3: pci: add Intel Gemini Lake PCI ID
59185ef00b46 xhci: Fix race related to abort operation
ce737ba8e23e xhci: Use delayed_work instead of timer for command timeout
b07b4fa72500 usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL
3e3f05182b39 USB: serial: mos7720: fix parallel probe
5c83e07c3c8b USB: serial: mos7720: fix parport use-after-free on probe errors
2f525ed5efb8 USB: serial: mos7720: fix use-after-free on probe errors
f2e8b37a9970 USB: serial: mos7720: fix NULL-deref at open
857757872704 USB: serial: mos7840: fix NULL-deref at open
1b1fdc715807 USB: serial: kobil_sct: fix NULL-deref in write
b60b91268cd0 USB: serial: cyberjack: fix NULL-deref at open
b835f4cd6700 USB: serial: oti6858: fix NULL-deref at open
374250ed9b26 USB: serial: io_edgeport: fix NULL-deref at open
ad4de3d91872 USB: serial: ti_usb_3410_5052: fix NULL-deref at open
f0bdd7e0ccb2 USB: serial: garmin_gps: fix memory leak on failed URB submit
e3d6a0da47e6 USB: serial: iuu_phoenix: fix NULL-deref at open
11743d704e51 USB: serial: io_ti: fix I/O after disconnect
7ef8807cce7d USB: serial: io_ti: fix another NULL-deref at open
33a5d0cc25f4 USB: serial: io_ti: fix NULL-deref at open
0243498813d2 USB: serial: spcp8x5: fix NULL-deref at open
65d107038ec6 USB: serial: keyspan_pda: verify endpoints at probe
c6aa86222ec5 USB: serial: pl2303: fix NULL-deref at open
4e106709060f USB: serial: quatech2: fix sleep-while-atomic in close
7b5d7880019c USB: serial: omninet: fix NULL-derefs at open and disconnect
d88f0f6c5ba0 usb: xhci: hold lock over xhci_abort_cmd_ring()
f286c2513ba6 xhci: Handle command completion and timeout race
86bb666386ee usb: host: xhci: Fix possible wild pointer when handling abort command
3447b3772934 usb: xhci: fix return value of xhci_setup_device()
2d1b4fcba4a7 xhci: free xhci virtual devices with leaf nodes first
b303a108541e usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Apollo Lake
b4b404b99177 xhci: workaround for hosts missing CAS bit
e224b8b7215f usb: xhci: fix possible wild pointer
438efb640e83 usb: dwc3: core: avoid Overflow events
96a21e702606 usb: gadget: composite: Test get_alt() presence instead of set_alt()
bd4e78bbc93f USB: dummy-hcd: fix bug in stop_activity (handle ep0)
7cc00abef071 USB: fix problems with duplicate endpoint addresses
f6ff9981743c USB: gadgetfs: fix checks of wTotalLength in config descriptors
74e36bffe645 USB: gadgetfs: fix use-after-free bug
fe75330a27fc USB: gadgetfs: fix unbounded memory allocation bug
10a4380ea145 usb: gadgetfs: restrict upper bound on device configuration size
9cc601b40d76 usb: storage: unusual_uas: Add JMicron JMS56x to unusual device
96175db0a647 usb: musb: dsps: implement clear_ep_rxintr() callback
2a0e2a89cc41 usb: musb: core: add clear_ep_rxintr() to musb_platform_ops
e72575d2d76e KVM: MIPS: Flush KVM entry code from icache globally
7b95f36fc6fa KVM: x86: reset MMU on KVM_SET_VCPU_EVENTS
9b73f43fcef4 mac80211: initialize fast-xmit 'info' later
6e28a02f0e86 ARM: davinci: da850: don't add emac clock to lookup table twice
bb1cacd88e07 ALSA: usb-audio: Fix irq/process data synchronization
16b968a1ca96 ALSA: hda - Apply asus-mode8 fixup to ASUS X71SL
b87483c27624 ALSA: hda - Fix up GPIO for ASUS ROG Ranger
(From OE-Core rev: bf00e5e265d3f878d2af36a48d597ce477bd6f4f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable update, which contains the following changes:
1e4d47787a21 Linux 4.10.2
92d90f089848 ceph: update readpages osd request according to size of pages
519f6fa2addb scsi: lpfc: Correct WQ creation for pagesize
209cf1f25d0d MIPS: IP22: Fix build error due to binutils 2.25 uselessnes.
b647284905d6 MIPS: IP22: Reformat inline assembler code to modern standards.
84c131c8c9d0 module: fix memory leak on early load_module() failures
cf1c6beafa75 powerpc/mm/hash: Always clear UPRT and Host Radix bits when setting up CPU
543fd2ab74dc powerpc/mm: Add MMU_FTR_KERNEL_RO to possible feature mask
4ffde229727e powerpc/xmon: Fix data-breakpoint
737af93c3dce xprtrdma: Reduce required number of send SGEs
387fb7dc3fde xprtrdma: Disable pad optimization by default
5d53884b2c1b xprtrdma: Per-connection pad optimization
921fe03af2b5 xprtrdma: Fix Read chunk padding
143ac52c3ba8 dmaengine: ipu: Make sure the interrupt routine checks all interrupts.
700c30c5179d mtd: nand: ifc: Fix location of eccstat registers for IFC V1.0
6c12c1cec4bd bcma: use (get|put)_device when probing/removing device driver
fe83da6961f8 md linear: fix a race between linear_add() and linear_congested()
3c1afb4c72be rtc: sun6i: Switch to the external oscillator
5fcdc5edafc2 rtc: sun6i: Add some locking
c45b4fe3ca45 rtc: sun6i: Disable the build as a module
b97cb8ece888 f2fs: Fix zoned block device support
e8917cd860db f2fs: avoid to issue redundant discard commands
c85fc3f1d59f f2fs: add ovp valid_blocks check for bg gc victim to fg_gc
f213a0f926de f2fs: fix multiple f2fs_add_link() calls having same name
88cf812869fd f2fs: fix a problem of using memory after free
fd414a3e7d2c NFSv4: fix getacl ERANGE for some ACL buffer sizes
ca83d7a97e36 NFSv4: fix getacl head length estimation
81df387e03e0 Revert "NFSv4.1: Handle NFS4ERR_BADSESSION/NFS4ERR_DEADSESSION replies to OP_SEQUENCE"
ad2ce81eeeb0 pNFS/flexfiles: If the layout is invalid, it must be updated before retrying
7776aaacda12 NFSv4: Fix reboot recovery in copy offload
607137e3f171 NFSv4: Fix memory and state leak in _nfs4_open_and_get_state
982898d7f97a nfsd: special case truncates some more
8defb389140f nfsd: minor nfsd_setattr cleanup
11596d936ec4 VME: restore bus_remove function causing incomplete module unload
031fad61741f rtlwifi: rtl8192c-common: Fix "BUG: KASAN:
d0ff495de343 rtlwifi: Fix alignment issues
28cd8db6a715 remoteproc: qcom: mdt_loader: Don't overwrite firmware object
8e2b7672b43e gfs2: Add missing rcu locking for glock lookup
6baafeb34b87 rdma_cm: fail iwarp accepts w/o connection params
fc11f49a6a46 RDMA/core: Fix incorrect structure packing for booleans
93919359467c Drivers: hv: util: Backup: Fix a rescind processing issue
48dc52df9155 Drivers: hv: util: Fcopy: Fix a rescind processing issue
f38bcff39862 Drivers: hv: util: kvp: Fix a rescind processing issue
ec6f27bd19e0 Drivers: hv: vmbus: Fix a rescind handling bug
42b0681b7fe9 Drivers: hv: vmbus: Prevent sending data on a rescinded channel
f791a7b4a7ae hv: don't reset hv_context.tsc_page on crash
a34da99e9468 hv: init percpu_list in hv_synic_alloc()
aa2765857f74 hv: allocate synic pages for all present CPUs
d03229ccf262 usb: gadget: f_hid: fix: Move IN request allocation to set_alt()
ae1756eb2af9 usb: gadget: f_hid: Use spinlock instead of mutex
b1d6621ad636 usb: gadget: f_hid: fix: Prevent accessing released memory
afa9556b5fe6 usb: gadget: f_hid: fix: Free out requests
6be8bf7cbcc2 usb: gadget: udc: fsl: Add missing complete function.
0d95b60e8e9e usb: gadget: udc-core: Rescan pending list on driver unbind
3afb5a0bd1f1 usb: host: xhci: plat: check hcc_params after add hcd
8fd8890d42fc usb: dwc3: gadget: skip Set/Clear Halt when invalid
fed46b526628 usb: musb: da8xx: Remove CPPI 3.0 quirk and methods
53021fb71918 w1: ds2490: USB transfer buffers need to be DMAable
1d1b1e1738ef w1: don't leak refcount on slave attach failure in w1_attach_slave_device()
c903cc53f760 can: usb_8dev: Fix memory leak of priv->cmd_msg_buffer
e9394d5a762d can: gs_usb: Don't use stack memory for USB transfers
8d0db6065243 iio: pressure: mpl3115: do not rely on structure field ordering
bab740787fd1 iio: pressure: mpl115: do not rely on structure field ordering
615b1dc4f615 Revert "arm64: mm: set the contiguous bit for kernel mappings where appropriate"
b6c72c4e3d93 KVM: arm/arm64: vgic: Stop injecting the MSI occurrence twice
68b83bee9b90 arm64: fix erroneous __raw_read_system_reg() cases
c5d1e9cc2879 arm64: dma-mapping: Fix dma_mapping_error() when bypassing SWIOTLB
91dc54c352c4 arm/arm64: KVM: Enforce unconditional flush to PoC when mapping to stage-2
6039863d6c97 x86/pkeys: Check against max pkey to avoid overflows
f7e1174b9d53 fuse: add missing FR_FORCE
f5e2e7ca6e6a crypto: vmx - Use skcipher for xts fallback
1fd2ec10d3e1 crypto: vmx - Use skcipher for cbc fallback
e7fa3bd29e07 crypto: api - Add crypto_requires_off helper
ddde9085f58c crypto: xts - Propagate NEED_FALLBACK bit
d5b190f8689c crypto: testmgr - Pad aes_ccm_enc_tv_template vector
0c2f646b90b7 crypto: xts - Add ECB dependency
0fd8c1cb80a1 Drivers: hv: vmbus: Raise retry/wait limits in vmbus_post_msg()
2c849a5c6a83 PCI: altera: Fix TLP_CFG_DW0 for TLP write
bc4c9766324a pci/hotplug/pnv-php: Disable MSI and PCI device properly
91f5bce789d9 PCI: hv: Fix wslot_to_devfn() to fix warnings on device removal
1306371f6cac ath9k: use correct OTP register offsets for the AR9340 and AR9550
5bdf880b74c3 ath9k: fix race condition in enabling/disabling IRQs
a5294659a572 ath5k: drop bogus warning on drv_set_key with unsupported cipher
21b7618b6a79 ath10k: fix boot failure in UTF mode/testmode
8fbc16143918 mei: remove support for broken parallel read
8655a4538d01 samples/seccomp: fix 64-bit comparison macros
4c30d59d397e ext4: fix fencepost in s_first_meta_bg validation
b1062240132b ext4: return EROFS if device is r/o and journal replay is needed
9605f3406975 ext4: preserve the needs_recovery flag when the journal is aborted
5dda2495d85f ext4: fix inline data error paths
c9bcbdfebb1f ext4: fix use-after-iput when fscrypt contexts are inconsistent
c8f246b40261 ext4: fix data corruption in data=journal mode
c4fbdc012479 ext4: trim allocation requests to group size
011fe6ade610 ext4: do not polute the extents cache while shifting extents
ac870011b6dc ext4: Include forgotten start block on fallocate insert range
cdc13a3e453e loop: fix LO_FLAGS_PARTSCAN hang
d957eb76b468 block/loop: fix race between I/O and set_status
94cbe6f239a8 jbd2: don't leak modified metadata buffers on an aborted journal
f4639f7eef3c Fix: Disable sys_membarrier when nohz_full is enabled
112db4f65c53 power: reset: at91-poweroff: timely shutdown LPDDR memories
c2990d648cf2 scsi: use 'scsi_device_from_queue()' for scsi_dh
9acc751068e8 scsi: aacraid: Reorder Adapter status check
154f7a1523b7 scsi: qla2xxx: Fix Regression introduced by pci_alloc_irq_vectors_affinity call.
699abe249b0e scsi: qla2xxx: Fix response queue count for Target mode.
cf9d91108064 scsi: qla2xxx: Cleaned up queue configuration code.
e5fbe2328cc5 scsi: storvsc: properly set residual data length on errors
0aeb049529f3 scsi: storvsc: properly handle SRB_ERROR when sense message is present
99b3ba253c8b scsi: storvsc: use tagged SRB requests if supported by the device
4517ad77e7e6 dm raid: fix data corruption on reshape request
37ce3ec1e70b dm round robin: revert "use percpu 'repeat_count' and 'current_path'"
72ea8179bc80 dm stats: fix a leaked s->histogram_boundaries array
d18f5797ecf3 dm cache: fix corruption seen when using cache > 2TB
ae74de54c982 PM / devfreq: Fix wrong trans_stat of passive devfreq device
f1aa0ed61368 PM / devfreq: Fix available_governor sysfs
45c01d51bb34 ima: fix ima_d_path() possible race with rename
87d1f686d6bf ipc/shm: Fix shmat mmap nil-page protection
7d24d588d82e sigaltstack: support SS_AUTODISARM for CONFIG_COMPAT
97ddabf533f7 mm, vmscan: consider eligible zones in get_scan_count
e2338022cded mm, vmscan: cleanup lru size claculations
3b156aab44c9 mm balloon: umount balloon_mnt when removing vb device
e560c8b23c3b mm: do not access page->mapping directly on page_endio
67b5c7997148 mm: vmpressure: fix sending wrong events on underflow
6fd7a425d925 mm/page_alloc: fix nodes for reclaim in fast path
d0e2f86dff3a mm, devm_memremap_pages: hold device_hotplug lock over mem_hotplug_{begin, done}
069634bd9e51 CIFS: Fix splice read for non-cached files
9d654322f85e iommu/vt-d: Tylersburg isoch identity map check is done too late.
1f8d55b2050c iommu/vt-d: Fix some macros that are incorrectly specified in intel-iommu
b54dc49d8c4f tpm_tis: fix the error handling of init_tis()
c15aff9ef901 tpm_tis: use default timeout value if chip reports it as zero
992b0ac79a12 regulator: Fix regulator_summary for deviceless consumers
2eb4d8daec86 coresight: fix kernel panic caused by invalid CPU
91b8d5b2f2e3 coresight: STM: Balance enable/disable
805c95a692ed staging: rtl: fix possible NULL pointer dereference
f2bdb905fec2 staging/lustre/lnet: Fix allocation size for sv_cpt_data
d43004bdde3f staging: greybus: loopback: fix broken udelay
75225bc818b0 hwmon: (it87) Ensure that pwm control cache is current before updating values
3b43f4161a5f hwmon: (it87) Do not overwrite bit 2..6 of pwm control registers
3d2c16ca46bd ALSA: hda - Fix micmute hotkey problem for a lenovo AIO machine
dfd8367d0c85 ALSA: hda - Add subwoofer support for Dell Inspiron 17 7000 Gaming
80ed6047658c ALSA: seq: Fix link corruption by event error handling
7b1c5904ad8d ALSA: ctxfi: Fallback DMA mask to 32bit
cff10ccb6060 ALSA: timer: Reject user params with too small ticks
a517802c5b33 ALSA: hda - fix Lewisburg audio issue
3895ed1823d4 ALSA: hda/realtek - Cannot adjust speaker's volume on a Dell AIO
75cf4b6b6e29 ARM: dts: at91: Enable DMA on sama5d2_xplained console
67f1dd02b98d ARM: dts: at91: Enable DMA on sama5d4_xplained console
55015e149d5b ARM: at91: define LPDDR types
8e07d34fd09c spi: s3c64xx: fix inconsistency between binding and driver
7cf6b709b641 ext4: fix deadlock between inline_data and ext4_expand_extra_isize_ea()
c4b6ff75838f media: Properly pass through media entity types in entity enumeration
81d5066323a8 lirc_dev: LIRC_{G,S}ET_REC_MODE do not work
1a0fc4b1d6ae dvb-usb: don't use stack for firmware load
aa315c9614c8 cxd2820r: fix gpio null pointer dereference
a1403c576b0b media: fix dm1105.c build error
0dafb0204953 uvcvideo: Fix a wrong macro
895bff918136 am437x-vpfe: always assign bpp variable
4dc455047ef2 mmc: sdhci-acpi: support deferred probe
70d4818d1c89 MIPS: Handle microMIPS jumps in the same way as MIPS32/MIPS64 jumps
6f6914d77b18 MIPS: Calculate microMIPS ra properly when unwinding the stack
f4ab4d6fd79b MIPS: Fix is_jump_ins() handling of 16b microMIPS instructions
6ec5e28dfb8d MIPS: Fix get_frame_info() handling of microMIPS function size
f9bba20eaae7 MIPS: Prevent unaligned accesses during stack unwinding
953f805442e1 MIPS: Clear ISA bit correctly in get_frame_info()
734696a238da MIPS: Lantiq: Keep ethernet enabled during boot
1764303e5e5a MIPS: OCTEON: Fix copy_from_user fault handling for large buffers
f2b15d500123 MIPS: BCM47XX: Fix button inversion for Asus WL-500W
890fb4e3c3e1 MIPS: Fix special case in 64 bit IP checksumming.
87592def9b31 MIPS: pic32mzda: Fix linker error for pic32_get_pbclk()
(From OE-Core rev: b4fae40422f7fe0022bfe51623b6daf8222563bb)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg 4.1.38 -stable release with the following changes:
f40b3cc69de8 Linux 4.1.38
d8435bb5e8fb gro: Allow tunnel stacking in the case of FOU/GUE
066b300e5be4 tunnels: Don't apply GRO to multiple layers of encapsulation.
b11e1542feca net: ipv4: Convert IP network timestamps to be y2038 safe
5023ae270216 ipip: Properly mark ipip GRO packets as encapsulated.
3e3267311e3b sg_write()/bsg_write() is not fit to be called under KERNEL_DS
363f1a90b7f3 fs: exec: apply CLOEXEC before changing dumpable task flags
c63e64ae7665 IB/cma: Fix a race condition in iboe_addr_get_sgid()
6242668e855c Revert "ALSA: usb-audio: Fix race at stopping the stream"
dd5035276792 kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)
6fdb4af13f9f drivers/gpu/drm/ast: Fix infinite loop if read fails
d1b9fb84c423 target/user: Fix use-after-free of tcmu_cmds if they are expired
bbe48c2f932e kernel/debug/debug_core.c: more properly delay for secondary CPUs
1b51fce881b2 scsi: avoid a permanent stop of the scsi device's request queue
f413092ea8e0 IB/multicast: Check ib_find_pkey() return value
8c84816cedcb IPoIB: Avoid reading an uninitialized member variable
5eba61298b74 block_dev: don't test bdev->bd_contains when it is not stable
25e9e2367457 btrfs: limit async_work allocation and worker func duration
ced9b7a66a35 mm/vmscan.c: set correct defer count for shrinker
a62e45871b7b Input: drv260x - fix input device's parent assignment
e1589b27ffb9 libceph: verify authorize reply on connect
ed21b94ebbf4 ALSA: hiface: Fix M2Tech hiFace driver sampling rate change
f8c36e2b98b7 s390/vmlogrdr: fix IUCV buffer allocation
0848a2672eb3 kconfig/nconf: Fix hang when editing symbol with a long prompt
7b53fb41d447 SUNRPC: fix refcounting problems with auth_gss messages.
14927595fec9 ext4: return -ENOMEM instead of success
576cfe615feb nfs_write_end(): fix handling of short copies
77f3c11c13dd fgraph: Handle a case where a tracer ignores set_graph_notrace
29955c9a00d5 timekeeping_Force_unsigned_clocksource_to_nanoseconds_conversion
951f4b1f13a7 USB: serial: option: add dlink dwm-158
0c4f2f61d68f USB: serial: option: add support for Telit LE922A PIDs 0x1040, 0x1041
0a32f5b4f72d ALSA: usb-audio: Add QuickCam Communicate Deluxe/S7500 to volume_control_quirks
1d53a630766e dm space map metadata: fix 'struct sm_metadata' leak on failed create
67bcfac25cb8 arm/xen: Use alloc_percpu rather than __alloc_percpu
d09b66f9e70b drm/radeon: add additional pci revision to dpm workaround
e9631583d6c0 drm/radeon: Hide the HW cursor while it's out of bounds
beeda93356ae drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values
7198dbbaa242 drm/radeon: Also call cursor_move_locked when the cursor size changes
15a12fbbf365 CIFS: Fix a possible memory corruption during reconnect
51fce08b64ec CIFS: Fix a possible memory corruption in push locks
7f16769173df CIFS: Fix missing nls unload in smb2_reconnect()
0ee8faf89305 USB: cdc-acm: add device id for GW Instek AFG-125
a2080cc28041 mmc: sdhci: Fix recovery from tuning timeout
2a1dc36fdc71 ALSA: usb-audio: Fix race at stopping the stream
93f5b2b5d28b xfs: set AGI buffer type in xlog_recover_clear_agi_bucket
73e7d7aef06c block: protect iterate_bdevs() against concurrent close
a6d0744b18ae ASoC: intel: Fix crash at suspend/resume without card registration
90604ed2f10c Btrfs: fix tree search logic when replaying directory entry deletes
575b6eddbf73 Btrfs: fix deadlock caused by fsync when logging directory entries
32a27da220fb powerpc/ps3: Fix system hang with GCC 5 builds
07340eaf0743 USB: serial: kl5kusb105: fix open error path
b4fa7414cb79 thermal: hwmon: Properly report critical temperature in sysfs
3225aec938da md/raid5: limit request size according to implementation limits
93da0de16c94 firmware: fix usermode helper fallback loading
d7a1bfa59593 xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing
315419538d84 tpm xen: Remove bogus tpm_chip_unregister
fee2ddaee775 f2fs: set ->owner for debugfs status file's file_operations
f52d439916f0 ALSA: hda - fix headset-mic problem on a Dell laptop
506d7d521174 dm crypt: mark key as invalid until properly loaded
4a7036809383 KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT
ec05ce11c1e9 KVM: PPC: Book3S HV: Save/restore XER in checkpointed register state
b1a758009739 ext4: add sanity checking to count_overhead()
31eb998aa42d ext4: use more strict checks for inodes_per_block on mount
526cfedac0b3 ext4: sanity check the block and cluster size at mount time
c2404d06b82e usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices
2861b336b594 ssb: Fix error routine when fallback SPROM fails
44ef406441e2 ath9k: Really fix LED polarity for some Mini PCI AR9220 MB92 cards.
be733405b057 staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data mask
9d45d2e79800 ext4: fix stack memory corruption with 64k block size
d6ddc9cf431b ext4: fix mballoc breakage with 64k block size
b3409ef1849b loop: return proper error from loop_queue_rq()
9e19c28455b3 crypto: caam - fix AEAD givenc descriptors
332086b806ac regulator: stw481x-vmmc: fix ages old enable error
9e4033f56d3d USB: UHCI: report non-PME wakeup signalling for Intel hardware
257cb82ee6d7 PCI: Check for PME in targeted sleep state
78ef3e710efd scsi: megaraid_sas: For SRIOV enabled firmware, ensure VF driver waits for 30secs before reset
28a8e88f1d2f drm/gma500: Add compat ioctl
6ec54b062038 usb: gadget: composite: correctly initialize ep->maxpacket
33166482bf49 drm/i915: Unalias obj->phys_handle and obj->userptr
d7633e23c7f6 drm/i915/gen9: fix the WaWmMemoryReadLatency implementation
(From OE-Core rev: b60f1f2e0a5db22b466c8c812dea1716787c0d9a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit adds a kernel feature to have the kernel support
for Intel Memory Protection Extensions (MPX).
A quote from kernel arch/x86/Kconfig:
"MPX provides hardware features that can be used in conjuction
with compiler-instrumented code to check memory references. It
is designed to detect buffer overflow or underflow bugs."
Intel MPX is available, e.g., on Skylake and on Goldmont (e.g.,
Intel 570x).
(From OE-Core rev: 12cd5bb61de6f254d34cc070816adeacdbe39d5c)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker made the -rt9 integration available for the 4.9
linux-yocto kernel.
This updates our SRCREVs to pull in that content.
(From OE-Core rev: 6812934630a68deca76177c55fb0b153e17d6058)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change summary is as follows:
3737a5f72234 Linux 4.9.13
d00400605597 xfs: clear delalloc and cache on buffered write failure
57d759622aa7 rtlwifi: rtl_usb: Fix for URB leaking when doing ifconfig up/down
1cb3de83ab74 block: fix double-free in the failure path of cgwb_bdi_init()
62c153f346fe ACPICA: Linuxize: Restore and fix Intel compiler build
8f9872be6db9 netfilter: nf_ct_helper: warn when not applying default helper assignment
e6bdd8d2fffc goldfish: Sanitize the broken interrupt handler
2709c2a1b016 x86/platform/goldfish: Prevent unconditional loading
fef3fdf2d83c USB: serial: console: fix uninitialised spinlock
960a38eae80a USB: serial: ark3116: fix register-accessor error handling
a2ce74e35d5f USB: serial: opticon: fix CTS retrieval at open
a1fc6fb5f31e USB: serial: spcp8x5: fix modem-status handling
26805681a45d USB: serial: ftdi_sio: fix line-status over-reporting
a1510a8c0ded USB: serial: ftdi_sio: fix extreme low-latency setting
f3d56f7a586e USB: serial: ftdi_sio: fix modem-status error handling
4420e0f8fddf USB: serial: cp210x: add new IDs for GE Bx50v3 boards
308a96c857cc USB: serial: mos7840: fix another NULL-deref at open
9ab870e7425c tty: serial: msm: Fix module autoload
1a0e2594ef76 net: socket: fix recvmmsg not returning error from sock_error
481aedf869fb ip: fix IP_CHECKSUM handling
7c56012e92b5 ptr_ring: fix race conditions when resizing
c2219da51664 irda: Fix lockdep annotations in hashbin_delete().
f23fd87e154f vxlan: fix oops in dev_fill_metadata_dst
171d92a9d915 dccp: fix freeing skb too early for IPV6_RECVPKTINFO
6c854afc5399 net: neigh: Fix netevent NETEVENT_DELAY_PROBE_TIME_UPDATE notification
9206efc8a1f7 packet: Do not call fanout_release from atomic contexts
722737f27774 packet: fix races in fanout_add()
e0cb28247882 net: ethernet: ti: cpsw: fix cpsw assignment in resume
42b52783a59c net/llc: avoid BUG_ON() in skb_orphan()
859900c24bff net/mlx5e: Disable preemption when doing TC statistics upcall
90aa7993d5c7 kcm: fix a null pointer dereference in kcm_sendmsg()
1409935400aa kcm: fix 0-length case for kcm_sendmsg()
ae7d43192ff2 Linux 4.9.12
7b0712345376 videodev2.h: go back to limited range Y'CbCr for SRGB and, ADOBERGB
8629aed2387c bcache: Make gc wakeup sane, remove set_task_state()
68214ad3926c ntb_transport: Pick an unused queue
f42026015094 ntb: ntb_perf missing dmaengine_unmap_put
43325382fc7a NTB: ntb_transport: fix debugfs_remove_recursive
215d4d62ccfd timekeeping: Use deferred printk() in debug code
7ee210365adf printk: use rcuidle console tracepoint
5c3765bbc1db PCI/PME: Restore pcie_pme_driver.remove
48a415827882 Revert "i2c: designware: detect when dynamic tar update is possible"
17c443421458 ARM: 8658/1: uaccess: fix zeroing of 64-bit get_user()
808de347ebd4 futex: Move futex_init() to core_initcall
dfe8f5757ec4 drm/dp/mst: fix kernel oops when turning off secondary monitor
7499da90c0cc drm/radeon: Use mode h/vdisplay fields to hide out of bounds HW cursor
19d2d869d00e Input: elan_i2c - add ELAN0605 to the ACPI table
a975e8e81e55 Fix missing sanity check in /dev/sg
a026c97e8824 scsi: don't BUG_ON() empty DMA transfers
920b60aa3cc2 powerpc/64: Disable use of radix under a hypervisor
ef746a305de3 mmc: core: fix multi-bit bus width without high-speed mode
80a0477665d0 fuse: fix uninitialized flags in pipe_buffer
7283448f8273 fuse: fix use after free issue in fuse_dev_do_read()
6cf921be8fb9 siano: make it work again with CONFIG_VMAP_STACK
166a2464cdcf vfs: fix uninitialized flags in splice_to_pipe()
eee1550b3e89 Linux 4.9.11
724aedaa5ca6 x86/fpu/xstate: Fix xcomp_bv in XSAVES header
0d4c19ee68c9 tcp: don't annotate mark on control socket from tcp_v6_send_response()
0e0751cdfa46 net/mlx5: Don't unlock fte while still using it
7c4c32a2976e tcp: fix mark propagation with fwmark_reflect enabled
16a3fbe5239a igmp, mld: Fix memory leak in igmpv3/mld_del_delrec()
53a76d633b86 mld: do not remove mld souce list info when set link down
5b1bb4cbd7ec l2tp: do not use udp_ioctl()
12758a282435 net: dsa: Do not destroy invalid network devices
a700cf26a3be ping: fix a null pointer dereference
82849541895f packet: round up linear to header len
6ebde312a8ed net: introduce device min_header_len
4cd0362114c8 sit: fix a double free on error path
2b7f50d67f5d lwtunnel: valid encap attr check should return 0 when lwtunnel is disabled
00eff2ebbd22 sctp: avoid BUG_ON on sctp_wait_for_sndbuf
4400acce6881 mlx4: Invoke softirqs after napi_reschedule
970390fd5d53 catc: Use heap buffer for memory size test
61bf9f381c38 catc: Combine failure cleanup code in catc_probe()
e898f6f008aa rtl8150: Use heap buffers for all register access
878b015bcc72 pegasus: Use heap buffers for all register access
b90cb484c068 macvtap: read vnet_hdr_size once
26989c9d9904 tun: read vnet_hdr_sz once
0f895f51a831 tcp: avoid infinite loop in tcp_splice_read()
1e340bb22af3 ipv6: tcp: add a missing tcp_v6_restore_cb()
ae1768bbbc46 ip6_gre: fix ip6gre_err() invalid reads
66cdd4347573 netlabel: out of bound access in cipso_v4_validate()
f5b54446630a ipv4: keep skb->dst around in presence of IP options
d5b6fd77519d net: use a work queue to defer net_disable_timestamp() work
455a457780b6 stmmac: Discard masked flags in interrupt status register
ca876dff1e8c tcp: fix 0 divide in __tcp_select_window()
e6fbace87c7b ipv6: pointer math error in ip6_tnl_parse_tlv_enc_lim()
a7fe4e5d0633 ipv6: fix ip6_tnl_parse_tlv_enc_lim()
6c8556f6e114 net/sched: matchall: Fix configuration race
64cc7ef5cf1d net/mlx5e: Fix update of hash function/key via ethtool
adf86d59bb9b can: Fix kernel panic at security_sock_rcv_skb
(From OE-Core rev: fb86863ce3164fa412555da98c8c0de4dd112337)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are several issues with rpmdeps after the rpm v5 -> v4 transition:
* _rpmfc_magic_path is an invalid option for rpm4
* --rpmpopt is an invalid option for rpm4
* we need to use the path to rpmrc since otherwise it poitns at the
original build path
* we need to set MAGIC in the environment so libmagic can find its
files.
This patch addresses those and ensures rpmdeps works in relocated builds
from sstate (or with rm_work).
(From OE-Core rev: 806e37264d7102ae982867350ad8363ed3e5f475)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is used by some of our proxy scripts but isn't required for all
builds so add to HOSTTOOLS_NONFATAL.
(From OE-Core rev: 4837b8cc3248c07f77a91745b80e6129ec3dfa1f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This causes MBs of log messages which overload the standard 200kb syslog limit
used by busybox syslog by default. This means some tests which rely on messages
being detected in syslog, e.g.
rpm.RpmInstallRemoveTest.test_check_rpm_install_removal_log_file_size
fail (AssertionError: 54 not greater than or equal to 80 : Cound not find sufficient
amount of rpm entries in /var/log/messages, found 54 entries).
We enabled this to aid debugging of some systemd race issues, those are
now resolved so we can disable this. Leave the log level parameter as a
comment to save others having to look it up if they need debugging.
(From OE-Core rev: 84d4daffaebcb4816d597671b287329e8a472f59)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After discussions with upstream this version of the patch was proposed
and is being submitted to upstream u-boot. Update to that version
(which is better than my workaround).
(From OE-Core rev: 048af2455aa65b25fd74bfe0e6d3a0af7562b42f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures that remapping happens correctly, particularly
when package groups list noarch packages, and multilib is in use. Previously
this was masked by rpm doing *another* layer of remapping on top of this.
(From OE-Core rev: ad0e32014e846d20a1449de76e152e5f06812685)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is done for reasons I cannot establish, and greatly complicates the code
that installs packages into rootfs.
(From OE-Core rev: d9ea9003677d195f64eb4b3202e1c5d37d21b330)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It breaks rpm 4.x because musl is printing an error message
when the symbol is not found, and rpm takes it as an actual error.
(From OE-Core rev: ff750c42e2eb5e9ddb5ef438e571d708ec0adf77)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Packages need to contain just one value for the os field, otherwise
rpm will refuse to install them if they don't match what is in
/etc/rpm/platform.
(From OE-Core rev: 580ba965f5f38f6718a83f690bbe23a63fbcd3dd)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nativesdk-* rpm packages all require /bin/sh because postinst scriptlets
are run with it. We can either teach rpm4 and dnf to ignore that dependency
(a lot of non-upstreamable work), or add auto-satisfy the dependency
in each package. I've chosen to do the latter.
(From OE-Core rev: b18c32ab6bc9c4f1953e9f79aa39bc92d1c4e30d)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The logic is scattered all over the place, but amounts to
"install, unless the rootfs is read only". Let's express that directly.
(From OE-Core rev: 697804229a172125ce7d3bfc9b343812d6fe3240)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The parsing fails on my machine, and we use a key with a hardcoded name,
and so can provide it directly.
(From OE-Core rev: b69bad2c4e51a24868422f39619a0598fd2a0533)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This means
a) calling rpmkeys and rpmsign instead of rpm
b) instructing gpg to run non-interactively; otherwise on my machine
it pops up windows requesting a key passphrase
(From OE-Core rev: f82f270df2da59702026721612563aea57cd77eb)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was fetching and building the toolchain and everything else
against empty download dir and sstate cache, and so was enormously slow.
The test does not need that, it only checks that one fetch task fails and
another succeeds when using bitbake's -k option.
(From OE-Core rev: 19cdac1a625189eb4a41ce5a7a204b08729c1b92)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the ${W}/package directory which may be reused in subsequent builds.
Also clean up various default directories rpm 4 creates.
(From OE-Core rev: bdebe0d50a210438730ee7797968eafe169ded23)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To properly look at this patch, you probably need a side-by-side diff viewing tool.
(From OE-Core rev: 65581c68d130fa74d703f6c3c92560e053857ac7)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously they were swapped, not sure why. Their meaning, as far as rpm
world goes, is different:
- Recommends is a soft dependency and will be installed by default; there is
an option not to do that.
- Suggests is a suggestion to be picked up and presented to end user by
package management tools; it has no special meaning otherwise.
OE packages use RRECOMMENDS, which should be mapped to Recommends rpm tag,
so that the packages will be picked up as dependencies.
(From OE-Core rev: 06270f20ba4312d20d0fd348595adf1b239bcac5)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No need to store the configuration as class members,
just pass it directly into the method.
(From OE-Core rev: a5cc38481be3c5e6ccbecf951f9fdc049e5101d5)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Too many places in dnf/rpm4 stack make that assumption; let's not fight against it.
(From OE-Core rev: 341810aff923ace6b1cc1e15e19383c4f8773b51)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Version 6.x of Berkeley DB has been rejected by open source community due to its hostile
AGPLv3 license; both Fedora and Debian are sticking with db 5.x - and by extension,
all the open source projects are still developed and tested with db 5.x
In oe-core the only thing that was requiring db 6.x was rpm 5.x, and so there's no reason
to continue carrying db 6.x in oe-core. If someone needs API features that are only available in
db 6.x, it can be re-added to meta-oe.
(From OE-Core rev: 2694de76542840f79e3953c546d07b8ae479b8a1)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is replacing Smart package manager, which is unsupported upstream, and has a growing
amount of issues (lack of python 3.x support in particular). We identified dnf as
the only feasible replacement.
(From OE-Core rev: 2da1f03ad5957fc130f9d4fac30f0048873e9d7c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dnf stack is written and tested against rpm 4.x. So if we want to use dnf for packaging,
we should also use rpm 4 - there's simply too much work involved in making rpm 5 work with it due
to significant API differences, and supporting that going forward.
(From OE-Core rev: 2358e786ec8d1199d90e181eb5d8d00816f669b4)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The source code is incompatible with rpm4 API - let's use rpm
binary itself for now.
(From OE-Core rev: 127112fa05c7102dacda4173adf380c557bacecb)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rpm4 installs them in different locations than rpm5. This also replaces
our custom rpmdeps-oecore with standard rpmdeps; I'm not seeing a
significant performance penalty.
(From OE-Core rev: ec20cda53caeebfdf95e2871d5da8b926e84d2aa)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the regular expression for matching a variable name was amended
with allowing the ~ character as part of the variable name, this was
never done to the regular expression that matches export
lines. Similarly, the regular expression that was used for matching
unset variables also used the one without support for the ~ character.
This unifies the regular expressions. For good measures it also
corrects the regular expression used to match a variable flag name for
the unset command to match the one used when setting a variable flag.
(Bitbake rev: acd2fd74ed467dc85ec75d5d0815f43e493f29bf)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some reason, BBProgress.setextra() always adds a space at the end.
This prevents the task progress bars from filling the entire width of
the terminal, making them stop one character short. This looks odd
when shown together with the main progress bar, which does fill the
entire terminal width.
(Bitbake rev: 6540e98090d6a88607489a23c063be338bcc3b57)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For example:
$ bitbake core-image-minimal --runall unpack
...
NOTE: Tasks Summary: Attempted 326 tasks of which 88 didn't need to be rerun and all succeeded.
$ bitbake core-image-minimal --runall patch
NOTE: Tasks Summary: Attempted 453 tasks of which 332 didn't need to be rerun and all succeeded.
This can replace fetchall as well:
$ bitbake core-image-minimal --runall fetch
NOTE: Tasks Summary: Attempted 135 tasks of which 119 didn't need to be rerun and all succeeded.
(Bitbake rev: 7c0fa6ba66cdb956b37d94055307cde857633df9)
Signed-off-by: Matthew McClintock <msm-oss@mcclintock.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also fixes a use before defined bug with localdata.
(From OE-Core rev: 86b09a7ed67a43a45c805f44778bed0bfdf57361)
Signed-off-by: Jack Mitchell <jack@embed.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a race condition in the uboot-extlinux bbclass where
only a half written extlinux.conf would be put in the deploy
directory. Fix this by adding the deploy task after the do_install
rather than after the do_compile.
(From OE-Core rev: 60c90398580998b2379bb438f0f75b29285135a5)
Signed-off-by: Jack Mitchell <jack@embed.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we filter out PATH to only the utilities we rely upon, the devshel
terminal was broken since it can no longer find the terminals. Even if
we fix that, the user couldn't access any of their commands within
devshell which somewhat defeats its purpose.
Add the original PATH back to the environment to restore that behaviour
since this is more in line with user expectations and it wouldn't be possible
(or desireable) to whitelist all the commands a user might want to use from
the shell.
(From OE-Core rev: 67d7ea2db8bce766daf3419feae3cd8045af5114)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is needed by dnf, and only when using Python 2.x, so can
be dropped after moving dnf/rpm4 stack to Python 3.x.
(From OE-Core rev: e58f876acdac8fff24ecd3076287eda61ef1e4d3)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of this commit:
39f5a05152aa0c3503735e18dd3b4c066b284107
patchelf no longer inflates file sizes. Since the files are no longer
inflated by patchelf, we can skip using cp with the --sparse option.
More details as to how patchelf has changed are available in that
commit log.
(From OE-Core rev: a2519a2f96bfea53a527c704e620e3584c97c67d)
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is causing a problem in multilib where base-files and lib64/32-base-files
clash because they may have different dates. Also, if the package is coming
from sstate it has an incorrect date anyway.
(From OE-Core rev: 846c86ffc4574feafd89a028e50f7719075633f2)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's a machine-specific script, which is causing conflicts
when multiple versions of bash are installed in multilib setting,
and it also does not really make sense for embedded systems anyway.
(From OE-Core rev: dbe57bd0aec855c81b03850367b3b483f622c328)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise it will cause conflicts in mutlilib setting, as it
varies from one machine to another.
(From OE-Core rev: a3b19882e2f50089c785b1e2591550356c12a175)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously the GIO tests would be built or not depending on whether the host had
a dbus-daemon binary available. Fix this by seeding the AC_CHECK_PROGS check
with the right value, and adding a RDEPENDS for dbus-daemon on the target.
(From OE-Core rev: 1944c9a1764105c15844c7dbf1d430389c02b631)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This preserves the current behaviour because the auto
test by configure will never return yes. ./libtool is
needed by the test and it will never exist.
(From OE-Core rev: ad151cf2de2f1990297e7ba18fa78958b00a3dd3)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to latest revision so that update-alternatives could detect priority
conflict.
Also, we could remove the following patch because opkg-utils has already
fixed the problem in another way.
0001-Makefile-use-defined-bindir-and-mandir-as-installati.patch
[YOCTO #8314]
(From OE-Core rev: d6b04e12127dd65b96ac7f4509b829510ef21071)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we are both having a bootloader and a U-Boot environment file, we
can end up with two entries using "--source rawcopy" and "--no-table",
and since they reuse the same file [1], their cleanup handlers will
try to delete the same file twice. So make sure we only do it once.
[1] Although they reuse the same file, the resulting output is
correct, so it appears the file is accessed in properly sequential
order.
(From OE-Core rev: f1a3eac376c4600cdb128d870ad9b7e9d51ed9c0)
Signed-off-by: Kristian Amlie <kristian.amlie@mender.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The libsolv backend is vastly superior than the currently enabled
internal ad-hoc solver. While the switch does have a small impact on
disk and memory footprint, it make sense to change the default as for
most cases the disk/memory footprint hit should be acceptable.
========================
Disk Footprint Increase
========================
qemux86-64 523K
qemuarm 445K
qemux86 576K
====================================================
Command [1] Libsolv Internal Solver
====================================================
opkg update 26.21 MB 26.21 MB
opkg list 29.87 MB 29.87 MB
opkg install procps 30.99 MB 27.33 MB
opkg remove procps 1.69 MB 1.69 MB
opkg update 30.97 MB 27.75 MB
[1] Profile done via 'valgrind --tool=massif <command>' in a feed with
~18K packages.
(From OE-Core rev: 1ff3de844c78e3766c7f92ca17c308ef3c9427e1)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This class lets you use BBCLASSEXTEND to add a variant of the recipe that
fetches from an alternative URI (such as git:) instead of a tarball.
For example:
BBCLASSEXTEND = "devupstream:target"
SRC_URI_class-devupstream = "git://git.example.com/example"
SRCREV_class-devupstream = "abcd1234"
This variant will have DEFAULT_PREFERENCE set to -1 so it needs to be selected
to be used, and any development-specific tweaks can be done with the
class-devupstream override, for example:
DEPENDS_append_class-devupstream = " gperf-native"
do_configure_prepend_class-devupstream() {
touch ${S}/README
}
It currently only supports creating a development variant of the target recipe,
not native or nativesdk. The BBCLASSEXTEND syntax (devupstream:target) was
chosen so that support for native and nativesdk can be added at a later date.
Support for other version control systems such as subversion is limited, as
bitbake's automatic fetch dependencies on for example subversion-native are not
generated.
[ YOCTO #10215 ]
(From OE-Core rev: c48ef2d7c7198232846f36a975c673cc57f4a090)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We currently have a determinism problem in that the host tools present
in PATH can influence the build. In particular, the presence of pkg-config
on the build host can mask missing pkgconfig class dependencies.
This adds in a new HOSTTOOLS variable and then uses it to set up a directory
of symlinks to the whitelisted host tools. This directory is placed as PATH
instead of the usual /usr/bin:/bin and so on.
This should improve determinism of builds and avoid the issues which have
been particularly obvious since the introduction of recipe specific sysroots.
If users find there is a tool missing, they can extend HOSTTOOLS from a global
class or global conf file.
Right now the settings should be enough to build everything in OE-Core.
(From OE-Core rev: fa764a403da34bb0ca9fa3767a9e9dba8d685965)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise cc may be used which isn't correct.
(From OE-Core rev: 30a9f0fcf608815cc920de4aba8ec0d1cf467b07)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE needs to be able to change the default compiler. If we pass in HOSTCC
through the make command, it overwrites not only this setting but also the
setting in tools/Makefile wrapped in ifneq ($(CROSS_BUILD_TOOLS),) which
breaks the build.
We therefore add a way of changing the default in the top level Makefile
without interfering with the other setting.
I've emailed this workaround to Masahiro Yamada for discussion.
(From OE-Core rev: e777d6873ce9a8a80288ecbcfc86239e0ed0e2f9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* This is converging the recipes for go from
meta-virtualization and oe-meta-go
* Add recipes for go 1.7
* go.bbclass is added to ease out writing
recipes for go packages
* go-examples: Add an example, helloworld written in go
This should serve as temlate for writing go recipes
* Disable for musl, at least for now
* Disable for x32/ppc32 which is not supported
(From OE-Core rev: 78615e9260fb5d6569de4883521b049717fa4340)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Figuring how the correct commandline isn't trivial, improve the help
text with RSS in mind.
(From OE-Core rev: 056a9da9f3ac2bc175f19243b11864ca90eee28b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoids:
quilt-0.65-r0 do_package_qa: QA Issue: /usr/lib/quilt/ptest/quilt/scripts/edmail contained in package
quilt-ptest requires /media/build1/poky/build/tmp/hosttools/perl, but no providers found in
RDEPENDS_quilt-ptest? [file-rdeps]
(From OE-Core rev: e0188f6ccebaaf7c9948c771d3da5b07eed09a94)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If cc isn't in PATH, the recipe fails. Set a variable to avoid this.
(From OE-Core rev: a6816d62ae37506c8ab7a1294be23da82a2e9d6e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This triggers warnings about absolute symlink paths with the PATH changes.
In reality we simply don't need/care about these so just remove/disable
them.
(From OE-Core rev: b319e43b9fee62f30c11d266a23cea4ff30addcd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Everything else in the system manages fine with rm, use rm instead of unlink
here too.
(From OE-Core rev: d292641ca52072a3629e589cc413344310d35280)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building on a system without "cc" showed this recipe doesn't respect
the $CC variable. Fix this by passing the right option to the makefile.
(From OE-Core rev: 402080c0a77443f541fa3d658b79f3fba327279d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For the PATH host tool whitelisting to work, the sbin directories need to be
in PATH. In the cleaned SDK environment on some distros, this isn't the case
and the SDK would then fail to setup there. This adds code to add such paths
if they do happen to be missing, ugly, but unblocks the PATH whitelisting
which I believe to be important.
(From OE-Core rev: 8c49ab40c2ff2e60b717f479822d1a0021735429)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This postfunc assumes it's run from S, whereas that seems not to always
be the case in practice. Explicitly define the full path of the file
we wish to sed.
(From OE-Core rev: 6486dd71c6c9977e5d67fd803d1bd85001654b5a)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
IPv6 routes need the device argument for link-local routes, or they
cannot be used at all. E.g. "gateway fe80::def" seems to be used in
some places, but kernel refuses to insert the route unless device
name is explicitly specified in the route addition.
(From OE-Core rev: 96ed437d57316153453bb5e170a4fd4f3a95883d)
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace some "+=/=+" with "=" when setting BBCLASSEXTEND, they are
redundant and inconsistent with the same setting in other recipes.
(From OE-Core rev: 09266d6c91acd8ba4df6e8242aa44d9ba41e9cee)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yet again these were checking out 1.8.2 tags and then trying to apply 1.10.4
patches on top.
Clearly nobody is actually using them, so delete them so they can't go stale
again.
(From OE-Core rev: 2b15451e3f1b9fb9a7f44317f3f9cd22d8712ff5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can't assume that source files are entirely UTF-8, so when copying the
license blocks open the file as binary instead of text.
[ YOCTO #11135 ]
(From OE-Core rev: b606e1430c36f1ad528fbfbbf9b8b6243390b879)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Intel MPX was recently enabled on x86 (_append_x86) but that didn't
enable it on x86-64. Explicitly enable libmpx on x86-64 too.
(From OE-Core rev: 5111bd5e666408dbca7db0e6d664fe0103744253)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Symlinking the openssl configuration file at install time results in
errors when overriding it using an external package which also provides
openssl-conf. This should be done as a postinstall task for such
packages.
(From OE-Core rev: 991620f3962a9917fa99abb5582f4b72ebd42a3d)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patches removes the empty space in front of the copied file which
was skipped. Without this reduction it's not possible to place a
partition with rawcopy and skip parameter on a desired alignment.
(From OE-Core rev: 5c024d71f9413b81ee1707dbc41f0721f8f27bdb)
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without the int() function this variable will be a string. This will led
to a error in Filemap on line 545 due wrong types.
> [...]
> File
> ".../poky/scripts/lib/wic/filemap.py", line 545, in sparse_copy
> if start < skip < end:
> TypeError: unorderable types: int() < str()
(From OE-Core rev: 46b5814bcdc0e7e3cb293e877e2aa949baf5fef8)
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When DISTRO_FEATURES has 'xattr' the shadow package
now automatically activates its config 'attr'.
(From OE-Core rev: 860c941741ca57bdc6fdbb67ea3ad94bb8d08c16)
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Defaulting to softfp probably isn't the best choice anymore,
especially as there are now ARM BSP layers which leave DEFAULTTUNE
entirely up to the distro:
https://lists.yoctoproject.org/pipermail/yocto/2017-February/034637.html
Also add 't' to the ARMv7 default DEFAULTTUNEs, since there's no
clear reason to default to ignoring ARM_INSTRUCTION_SET for ARMv7.
(From OE-Core rev: 2b3ae58f5eaecc8474761c543ff5347aa0e3c4c8)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a recipe for vulkan loader library and the vulkaninfo binary.
Vulkan can be built to support X11 or wayland or both. There is
currently no support for building tests, validation layers or even
the demos as that would require a bunch of otherwise unnecessary
dependencies.
Fix the build on musl by defaulting to getenv() if secure_getenv()
is not available.
(From OE-Core rev: ce0acee244cdae287fa0d3b048d371627a69a030)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PACKAGECONFIG "vulkan" enables building libvulkan_intel.so.
The radeon driver can be added to recipe as well but it requires
llvm so recent that I couldn't test it.
(From OE-Core rev: 33c8918d41dda8218fd28d667182d71029ab22d5)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
.siginfo files are not being accessed from local or NFS-mounted
sstate mirrors when sstate package is installed, so their atime
is not updated. If sstate mirror is cleaned based on access time,
they get deleted, even though they are still being used.
Updated atime of .siginfo symlinks with 'touch -a'. This command
dereferences symlinks pointing to the local mirror and updates
atime of the .siginfo file on the mirror.
[YOCTO #10857]
(From OE-Core rev: fb1499a42756faeef025122bbde98bc14f4ae61e)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GPLv2 recipes have been moved to a new layer (meta-gplv2), instead of
readline perform this test on the selftest-ed recipe in meta-selftest
which has gplv2 and gplv3 variants.
Tested with oe-selftest -r bbtests.BitbakeTests.test_non_gplv3
(From OE-Core rev: 35b244b292cddb3ded31c2766fb1313511343f06)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use a recipe which is bundled in the meta-selftest layer for this test,
rather than relying on OE-Core remaining static (or updating the tests
when OE-Core changes recipes).
Tested with oe-selftest -r oescripts.TestScripts.test_cleanup_workdir
(From OE-Core rev: f8aabeb1a755f3312782a7b64fe863c155510b33)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The oe-selftest oescripts.TestScripts.test_cleanup_workdir was using
gzip and the GPLv2 variant to test cleanup of the workdir. This broke
with the removal of GPLv2 recipes from OE-Core.
Instead of relying on recipes in OE-Core remaining static we should
ensure that meta-selftest provides recipes required for the tests to pass.
To that end we take a copy of the current GPLv2 and GPLv3 variants of ed
and include them in meta-selftest as new recipes.
We chose ed over gzip as gzip has dependencies which would require
additional GPLv2 recipes to be included in meta-selftest.
(From OE-Core rev: 2ac83239698c403bb575e6c5b19f19fcffa389ed)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ERROR: gcc-runtime-6.3.0-r0 do_package: QA Issue: gcc-runtime: Files/directories were installed but not shipped in any package:
/usr/lib/libmpxwrappers.la
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
gcc-runtime: 1 installed and not shipped files. [installed-vs-shipped]
(From OE-Core rev: 3658da86e57dc87ac3957b05f853a7f1a56bfab2)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Licence updated by removing its first line which was containing
copyright notice including year, which could change quite often.
Additional empty line was deleted, too.
(From OE-Core rev: 8b15b7bd10db83b3390827231b54aeb3452bcb6f)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cleanup useradd class by removing the code made obsolete by
the introduction of Recipe Specific Sysroot.
(From OE-Core rev: 2c126e704ebb58afc0d79fe220dc370e09d6bfd5)
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>
Debug files only have debug symbols hence don't need
to be relocated. Relocation script throws errors when
run on the debug files. This change skips these files
that have zero size.
(From OE-Core rev: 132e8bfd499c713eb63075fd6380317b60f0bd27)
(From OE-Core rev: 93b73b2495f9cb18741837c5437de629adfd3780)
Signed-off-by: Nikunj Kela <nkela@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move all the version specific patches, overrides and configuration that
are in qemu.inc to the versioned QEMU recipe.
This includes moving patches that target the versioned recipe, ptest
configuration (which is not available in QEMU by default) and the
installing of the powerpc_rom.bin. All these patches/files are also
only located in the FILESEXTRAPATHS that is valid from the recipe file
and not from qemu.inc itself.
The purpose of this change is to make the qemu.inc re-usable for
multiple versions of QEMU as well as forks and recipes that intend to
provide custom patches.
(From OE-Core rev: 2431faeb88a008b501547808fb8632943b992dcb)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the KVMOPTS configuration checks and option setting to a
PACKAGECONFIG option.
This also changes the checking of KVM support on the host build machine
so that it is processed as a PACKAGECONFIG _remove for class-native
only. The darwin/mingw32 overrides are kept and applied as _remove
overrides.
(From OE-Core rev: 75a1dd39a63329e9b2d41d3a12ff58049248d2ff)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Consolidate the configure options into the EXTRA_OECONF variable,
including merging any native(sdk) specific options.
This consolidation also makes the use of 'system' pixman in the
nativesdk case, this is desirable as the QEMU internal pixman may not be
available (using QEMU git as opposed to tarball) and pixman is already
in DEPENDS. Additionally the QEMU configure recommends to use the system
pixman if available.
Additionally move the options specified in the do_configure into the
EXTRA_OECONF variable. And flesh out all the target directories.
(From OE-Core rev: 9d908f6369e938f1da4456dbc07c64f328656182)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the '--disable-bluez' and '--disable-iscsi' options to
PACKAGECONFIG. And added the ${BLUEZ} dependency.
Fix up the 'gcrypt' option to depend on 'libgcrypt' instead of gcrypt.
This is the expected dependency as noted in the QEMU configure help.
Handle the '--audio-drv-list' option inside the PACKAGECONFIG[alsa]
args. The previous setting uses a ',' to denote the options for the arg
however a space inside quotes is also acceptable and allows the arg to
be used into the PACKAGECONFIG flag.
(From OE-Core rev: 0aca9b735c6f9d7ffe2826e624942a563c501d1f)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemu output can contain control characters. This cause qemurunner
API to crash when decoding the output to utf-8:
Traceback (most recent call last):
File "/usr/lib64/python3.4/threading.py", line 911, in _bootstrap_inner
self.run()
File "meta/lib/oeqa/utils/qemurunner.py", line 472, in run
threading.Thread.run(self)
File "/usr/lib64/python3.4/threading.py", line 859, in run
self._target(*self._args, **self._kwargs)
File "meta/lib/oeqa/utils/qemurunner.py", line 465, in threadtarget
self.eventloop()
File "meta/lib/oeqa/utils/qemurunner.py", line 526, in eventloop
self.logfunc(data)
File "meta/lib/oeqa/utils/qemurunner.py", line 77, in log
msg = msg.decode("utf-8")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xda in position 0:
unexpected end of data
Added errors='ignore' to decode call to fix this.
(From OE-Core rev: 4a46dd5190d97fdcb6297a0c1d8c824d425c4c51)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added test_qemu_efi test case to wic test suite.
It uses ovmf qemu extention to test mkefidisk image.
(From OE-Core rev: 770b87d903644641da41594193ee61b564dd99e9)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemu runner picks up first fsimage type from the hard-coded
list of supported types. This makes it impossible to test
particular image type unless it's not ext4(first type in
the hardcoded list of types).
Added image_fstypes argument to commands.runqemu and QemuTarget
__init__ to specify type of the image to run qemu with.
This will be used to pass wic image type to test efi wic images.
(From OE-Core rev: f1f224a2d4d3f2a760632c2254e91a8f94c8814f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added possibility to pass additional runqemu parameters
down the stack of APIs:
commands.runqemu -> QemuTarget.start -> QemuRunner.start
This will be used to pass ovmf parameter in testing of
efi wic images under qemu.
(From OE-Core rev: 5aa4b5a10fb8191cd3453d09701c8beeff9a952f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous wording, e.g.
ERROR: wget was skipped: incompatible with license GPLv3
isn't very clear and could be taken to imply that the recipe is
incompatible with its own license.
(From OE-Core rev: c2047067daadb40ff3a944f380c10b2a56b8e080)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a bug fix release and first non-development release in 17.0
branch. There are ~50 bug fix commits (plus a few release script
commits).
(From OE-Core rev: 465a6b49b680e1fedb059e97eb682cf5814cf078)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If sdk ins't in BUILDHISTORY_FEATURES the get_extra_sdkinfo fails
because no information about sdk is generated in buildhistory repo.
(From OE-Core rev: e6a0ea6146171635c49b18e00b4b11a9a7ff20ee)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This upgrades to a version of patchelf which works on newer distros
and doesn't inflate binaries in crazy ways.
(From OE-Core rev: b857ec92564ee3f23adf88d2675d920aff13e141)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The largefile distro feature has been enabled by default in oe-core
for a long time and, more recently, also in poky-tiny. Building
without the largefile distro feature receives little or no testing.
Many packages now enable LFS without exposing a configure option, so
there should be very little expectation that disabling the distro
feature will result in a distro which globally disables LFS.
Respecting the distro feature adds a maintenance over-head and may be
the source of configurations oddities (e.g. dbus-native currently
builds with LFS disabled for no clear reason - fixed by this commit).
Ignore the largefile distro feature more widely, as a first step
towards deprecating and eventually removing it.
(From OE-Core rev: a75ccaea77c8aad8d46e87e8ed4af2e2e0ad5327)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gpgme failed when configuring since you can only configure for one python
system at a time (via the inherits). So we need to have a PACKAGECONFIG
that defines which one [or neither] you want to use.
The prior pkgconfig patch introduced the usage of the variable PKG_CONFIG,
which is not defined anywhere. Define this.
When building the python module, we can not call gpg-error-config, so we
need to find an alternative way of finding the information the setup.py.in
requires. (In this case, it's easy to just use the environment
STAGING_INCDIR.)
(From OE-Core rev: 839d6f124c2761194c868cf5597e1aa96571e1ca)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The crosstap script needed to be updated for recipe specific sysroot
changes including adding support for finding the systemtap binaries.
[YOCTO #10990]
(From OE-Core rev: 1098bcbc4520874967e7bd23fe798ab1a123fac4)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes the -I include lines that are getting passed to the
kernel macros
[YOCTO #10990]
(From OE-Core rev: b4d2f41a474c111e5fc64cae635d851386d860ba)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some task events are missing the 'virtual:native[sdk]:' prefixes.
The Toaster has code to help match missing prefixes, but needs
additional help resolving between 'native:' and 'nativesdk:', by
way of the '_package' event field.
[YOCTO #10849]
(Bitbake rev: e455e40ba309837903b9e2d5f1dff55cce1135de)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These are recipes where the upstream has moved to GPLv3 and these old
versions are the last ones under the GPLv2 license.
There are several reasons for making this move. There is a different
quality of service with these recipes in that they don't get security
fixes and upstream no longer care about them, in fact they're actively
hostile against people using old versions. The recipes tend to need a
different kind of maintenance to work with changes in the wider ecosystem
and there needs to be isolation between changes made in the v3 versions
and those in the v2 versions.
There are probably better ways to handle a "non-GPLv3" system but right
now having these in OE-Core makes them look like a first class citizen
when I believe they have potential for a variety of undesireable issues.
Moving them into a separate layer makes their different needs clearer, it
also makes it clear how many of these there are. Some are probably not
needed (e.g. mc), I also wonder whether some are useful (e.g. gmp)
since most things that use them are GPLv3 only already. Someone could
now more clearly see how to streamline the list of recipes here.
I'm proposing we mmove to this separate layer for 2.3 with its future
maintinership and testing to be determined in 2.4 and beyond.
(From OE-Core rev: 19b7e950346fb1dde6505c45236eba6cd9b33b4b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing two issues with patchelf, one where it inflates binaries to MBs in
size, the other where stripping the resulting binary fails:
$ strip fixincl
Not enough room for program headers, try linking with -N
[.note.ABI-tag]: Bad value
The patch header describes more about what the problem is and how the patch
fixes it.
[YOCTO #11123]
[YOCTO #11009]
(From OE-Core rev: 39f5a05152aa0c3503735e18dd3b4c066b284107)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bring in some needed chnages for arm
Bobby Bingham (1):
s390x: implement dlsym
Rich Felker (2):
fix build regression in arm atomics asm with new binutils
allow page size to vary on arm
Szabolcs Nagy (1):
fix lsearch and lfind to pass key as first arg to the compar callback
(From OE-Core rev: 1e47495223aa75ebee6018429c92271c359ec2b9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Treat tar files compressed with 7-Zip in the same way as tar files
compressed with other compression formats.
(Bitbake rev: 363a0f54dc7d9930537f0df25173fa31ca1f98ac)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly: Southern Chile moves from -04/-03 to -03, and Mongolia
discontinues DST.
Changes to future time stamps
Mongolia no longer observes DST. (Thanks to Ganbold Tsagaankhuu.)
Chile's Region of Magallanes moves from -04/-03 to -03 year-round.
Its clocks diverge from America/Santiago starting 2017-05-13 at
23:00, hiving off a new zone America/Punta_Arenas. Although the
Chilean government says this change expires in May 2019, for now
assume it's permanent. (Thanks to Juan Correa and Deborah
Goldsmith.) This also affects Antarctica/Palmer.
Changes to past time stamps
Fix many entries for historical time stamps for Europe/Madrid
before 1979, to agree with tables compiled by Pere Planesas of the
National Astronomical Observatory of Spain. As a side effect,
this changes some time stamps for Africa/Ceuta before 1929, which
are probably guesswork anyway. (Thanks to Steve Allen and
Pierpaolo Bernardi for the heads-ups, and to Michael Deckers for
correcting the 1901 transition.)
Ecuador observed DST from 1992-11-28 to 1993-02-05.
(Thanks to Alois Treindl.)
Asia/Atyrau and Asia/Oral were at +03 (not +04) before 1930-06-21.
(Thanks to Stepan Golosunov.)
Changes to past and future time zone abbreviations
Switch to numeric time zone abbreviations for South America, as
part of the ongoing project of removing invented abbreviations.
This avoids the need to invent an abbreviation for the new Chilean
new zone. Similarly, switch from invented to numeric time zone
abbreviations for Afghanistan, American Samoa, the Azores,
Bangladesh, Bhutan, the British Indian Ocean Territory, Brunei,
Cape Verde, Chatham Is, Christmas I, Cocos (Keeling) Is, Cook Is,
Dubai, East Timor, Eucla, Fiji, French Polynesia, Greenland,
Indochina, Iran, Iraq, Kiribati, Lord Howe, Macquarie, Malaysia,
the Maldives, Marshall Is, Mauritius, Micronesia, Mongolia,
Myanmar, Nauru, Nepal, New Caledonia, Niue, Norfolk I, Palau,
Papua New Guinea, the Philippines, Pitcairn, Qatar, Réunion, St
Pierre & Miquelon, Samoa, Saudi Arabia, Seychelles, Singapore,
Solomon Is, Tokelau, Tuvalu, Wake, Vanuatu, Wallis & Futuna, and
Xinjiang; for 20-minute daylight saving time in Ghana before 1943;
for half-hour daylight saving time in Belize before 1944 and in
the Dominican Republic before 1975; and for Canary Islands before
1946, for Guinea-Bissau before 1975, for Iceland before 1969, for
Indian Summer Time before 1942, for Indonesia before around 1964,
for Kenya before 1960, for Liberia before 1973, for Madeira before
1967, for Namibia before 1943, for the Netherlands in 1937-9, for
Pakistan before 1971, for Western Sahara before 1977, and for
Zaporozhye in 1880-1924.
For Alaska time from 1900 through 1967, instead of "CAT" use the
abbreviation "AST", the abbreviation commonly used at the time
(Atlantic Standard Time had not been standardized yet). Use "AWT"
and "APT" instead of the invented abbreviations "CAWT" and "CAPT".
Use "CST" and "CDT" instead of invented abbreviations for Macau
before 1999 and Taiwan before 1938, and use "JST" instead of the
invented abbreviation "JCST" for Japan and Korea before 1938.
Change to database entry category
Move the Pacific/Johnston link from 'australasia' to 'backward',
since Johnston is now uninhabited.
(From OE-Core rev: 784a8379260759700ab8482b1699c9567d6e9f3f)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to code
zic no longer mishandles some transitions in January 2038 when it
attempts to work around Qt bug 53071. This fixes a bug affecting
Pacific/Tongatapu that was introduced in zic 2016e. localtime.c
now contains a workaround, useful when loading a file generated by
a buggy zic. (Problem and localtime.c fix reported by Bradley
White.)
zdump -i now outputs non-hour numeric time zone abbreviations
without a colon, e.g., "+0530" rather than "+05:30". This agrees
with zic %z and with common practice, and simplifies auditing of
zdump output.
zdump is now buildable again with -DUSE_LTZ=0.
(Problem reported by Joseph Myers.)
zdump.c now always includes private.h, to avoid code duplication
with private.h. (Problem reported by Kees Dekker.)
localtime.c no longer mishandles early or late timestamps
when TZ is set to a POSIX-style string that specifies DST.
(Problem reported by Kees Dekker.)
date and strftime now cause %z to generate "-0000" instead of
"+0000" when the UT offset is zero and the time zone abbreviation
begins with "-".
Changes to documentation and commentary
The 'Theory' file now better documents choice of historical time
zone abbreviations. (Problems reported by Michael Deckers.)
tz-link.htm now covers leap smearing, which is popular in clouds.
(From OE-Core rev: 6c95fbf51ec538e29083a4a890d106b732c1b182)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only ever change the CMD_LICENSE in the u-boot config if it is enabled
to prevent corruption of the config file. In case the CMD_LICENSE was
already disabled, the sed substitution inserted another "# " in front
of the CMD_LICENSE which triggered a restart of Kconfig oldconfig and
failed the build.
(From OE-Core rev: f7d4375146af22c72e2bdc9426329cd37f610a47)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removing this recipe since we have the latest gstreamer1.0-omx_1.10.4
in place.
(From OE-Core rev: aa06a18d59eb391d1a7ace9daa0681bdf8daf17f)
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>
Avoid trying to call ldconfig at run-time in distros which don't
provide ldconfig on the target.
(From OE-Core rev: faff19f046e881f546c1ad397e101c000c9bba3d)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A following flaw was detected by verify-bashisms script:
......
meta/recipes-devtools/guile/guile_2.0.13.bb
possible bashism in guile_cross_config line 94 ($'...' should be "$(printf '...')"):
echo '#!'`which ${BUILD_SYS}-guile`$' \\\n--no-auto-compile -e main -s\n!#\n(define %guile-build-info '\'\( \
> ${B}/guile-config.cross
......
Fixed by removing $'...' from echo command, using a printf instead.
(From OE-Core rev: 7b73fbc64fe087098b9d1744aeb781eede355f12)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This includes a significant fix for kernel tracing on 32-bit systems;
kernel and user space events may be uncorrelated without it.
(From OE-Core rev: 7776b51f22791542866789608a135cba83d8881d)
Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For mingw32 targets do not attempt to replace the
syscfg/lock-obj-pub.*.h as for mingw32 there are no arch specific
headers that are included in the libgpg-error source.
(From OE-Core rev: 45a5253a6c8d3e394c1a74491b95fc63a1616646)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17.0.0 is considered a development release: 17.0.1 is expected to be
the first stable in this series. Typically the .1 release comes about
two weeks after .0.
* New feature release with lots of changes
* Versioning change (17 as in 2017, no longer relates to GL bumps)
* OpenGL 4.5 support on Haswell
* mesa now implements its own sha1 instead of having 5
configurable sha-providers
* Remove libxvmcsoftpipe packaging, the library hasn't
existed since 2013
(From OE-Core rev: be95558834eed0564ec00c65ac8067c7c65006c5)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All other fields are separated by tabs except KiB and binary package
name. This helps users, *cough managers*, who import this file into
MS Excel to calculate file system usage summaries.
(From OE-Core rev: e26bed8493d7b096740cd6fff2e72ab27d48a933)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having no opt-out method and adding the task to linux-yocto.inc was
causing issues. For example, linux-yocto-dev would often fail because
it uses AUTOREV with no way to dynamically change the PV.
Add a variable to turn off the sanity check, allowing an easy opt out,
and set the opt-out variable in linux-yocto-dev, fixing the issue with
AUTOREV.
(From OE-Core rev: 1b6a3c17874ead7ee0957e67329aa3bd019fa129)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support to detect dll files as shared objects as well as process
Windows .dll and .exe files to determine the runtime libraries
dependencies.
This implementation is sufficient to detect and map runtime library
dependencies between packages. And does not implement any version naming
conventions that might apply for .dll files (e.g. lib*-x.dll).
(From OE-Core rev: 7df031e1ffe409573753585ba2f1a82ff707ad7e)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building for mingw32 targets (e.g. nativesdk cross compiling for
windows), disable the dependency on update-alternatives as the Windows
platform does not support symlinks or package management.
This avoids the complex (partly non-buildable for mingw32) dependency
chain virtual/update-alternatives -> opkg-utils -> python -> ...
(From OE-Core rev: 0131abe2d94d6836a54bc1616566c3bf3f2d6eb0)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The autotools_copy_aclocals has been droped, so the varflag set for that should
be removed.
(From OE-Core rev: 2940340cc3c8581d16acdaec3ba1dbfd3e88f840)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use BPN instead of PN in PTEST_PATH for multilib builds,
or we get two directories for a package in libdir which
doesn't make sense, e.g.
$ ls /usr/lib/*coreutils
/usr/lib/coreutils:
libstdbuf.so
/usr/lib/lib32-coreutils:
ptest
(From OE-Core rev: 0e949b7bfc4207aba0e3c4d12b76cc1f1815470d)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The assigned value clearly needs a leading space to be consistent with
standard "_append" usage.
(From OE-Core rev: f031aa735dbf5e566130e39498033b140bf2b7ba)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Big endian flag marked in a little endian configuration by mistake.
Remove it.
(From OE-Core rev: 5a7f2f9abb9c471d08497face0954db9749df0ca)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
USE_LDCONFIG could previously be set to 0 by distros which do not
require ldconfig or ld.so.conf on the target. Since more and more
recipes may need to respect that option, replace the ad-hoc variable
with a distro feature.
Distros which previously set:
USE_LDCONFIG = "0"
Should now instead use:
DISTRO_FEATURES_BACKFILL_CONSIDERED_append = " ldconfig"
(From OE-Core rev: a905df2dd8f43a2febffa64a39b6e508510326a0)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The yocto-compat-layer script serves as a tool to validate the alignament
of a layer with YP Compatible Layers Programme [1], is based on an RFC
sent to the ML to enable automatic testing of layers [2] that wants to
be YP Compatible.
The tool takes an layer (or set of layers) via command line option -l
and detects what kind of layer is distro, machine or software and then
executes a set of tests against the layer in order to validate the
compatibility.
The tests currently implemented are:
common.test_readme: Test if a README file exists in the layer and isn't
empty.
common.test_parse: Test for execute bitbake -p without errors.
common.test_show_environment: Test for execute bitbake -e without errors.
common.test_signatures: Test executed in BSP and DISTRO layers to review
doesn't comes with recipes that changes the signatures.
bsp.test_bsp_defines_machines: Test if a BSP layers has machines
configurations.
bsp.test_bsp_no_set_machine: Test the BSP layer to doesn't set
machine at adding layer.
distro.test_distro_defines_distros: Test if a DISTRO layers has distro
configurations.
distro.test_distro_no_set_distro: Test the DISTRO layer to doesn't set
distro at adding layer.
Example of usage:
$ source oe-init-build-env
$ yocto-compat-layer.py LAYER_DIR
[YOCTO #10596]
[1] https://www.yoctoproject.org/webform/yocto-project-compatible-registration
[2] https://lists.yoctoproject.org/pipermail/yocto-ab/2016-October/001801.html
(From OE-Core rev: e14596ac33329bc61fe38a6582fa91f76ff5b147)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently runqemu hardcodes the "ip=" kernel boot parameter
when configuring QEMU to use tap or slirp networking. This makes
the guest system to have a network interface pre-configured
by kernel and causes systemd to fail renaming the interface
to whatever pleases it:
Feb 21 10:10:20 intel-corei7-64 systemd-udevd[201]: Error changing
net interface name 'eth0' to 'enp0s3': Device or resource busy,
Always append user input for kernel boot params after the ones
added by the script. This way user input has priority over runqemu's
default params.
(From OE-Core rev: 3f68b5c8d24b52aed5bb3ed970dd8f779b65b1b3)
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We always wants ttyS0 and ttyS1 in qemu machines (see SERIAL_CONSOLES),
if not serial or serialtcp options was specified only ttyS0 is created
and sysvinit shows an error trying to enable ttyS1:
INIT: Id "S1" respawning too fast: disabled for 5 minutes
[YOCTO #10491]
(From OE-Core rev: 3a0efbbe6bb5a7f0fb3df0f6052b11e56788405f)
(From OE-Core rev: ab8d1a73ad5285dbc86352813b24db2adb3c6367)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rewrite Public Domain as PD, as that's what the place holder in
meta/files/common_licenses is called.
(From OE-Core rev: d7f0af5aa90a9ef7714c842fb4cb762017820768)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Handle npm packages with multiple licenses (AND and OR).
Prior to this, AND and OR were treated as licensed in their
own.
(From OE-Core rev: c0cfd9b1d54b05ad048f444d6fe248aa0500159e)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rewrite the 'SEE LICENSE IN EULA' to a single string (without
spaces), to avoid splitting the string later on.
(Otherwise, each word gets split, and assumed to be a license
on it's own.
(From OE-Core rev: 39127702cee80c972ee9a447ef4006751f47475e)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
@ isn't allowed in package names. Angular2 packages often have
@ in their names.
(From OE-Core rev: 3c4291bc58bcc5c66ef539eed29b7c37ac968a06)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Quite a few npm packages declare MIT/X11 as their license. This is equal to
a pure MIT license.
(From OE-Core rev: 8df5e731a10cc9ade1266e9daaa26ec7c855c062)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added 3 new targets to directdisk-bootloader-config.cfg to
match hddimg syslinux config.
This is a preparation for dropping hddimg in favor of wic.
[YOCTO #11044]
(From OE-Core rev: 95bf0af5293a7f5868abd85f4fc15f5c542bfd09)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Installed vesamenu.c32 and its dependencies to support
vesamenu ui in syslinux config.
(From OE-Core rev: 6d7e57ca7e77f3164e4d24470bb1e3ee91a07a89)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replaced forgotten calls of logger.error with raising
WicError exception. Otherwise errors will be ignored.
(From OE-Core rev: 7a5156092699593903a4bedb4cb23cc6e42ea62e)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This variable should be used to specify dependencies that
will be added to DEPENDS only if wic image build is 'active'
i.e. when 'wic' is in IMAGE_FSTYPES.
(From OE-Core rev: 243ccd6b8b389231f6c4a8e251c2bd6b2cf6eaad)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Defined variable 'out' to fix this exception:
UnboundLocalError: local variable 'out' referenced before assignment
(From OE-Core rev: d994340ec32ec04226ec185a8998775602c8b8bf)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added search paths to the debug message to make it
easier to see where the native command is searched.
[YOCTO #11017]
(From OE-Core rev: 3e78aa91aa07510a75ec2eecdd2dd00b1c583c26)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switched from using wic-tools recipe sysroot to using
image sysroot in wic script. This way is more logical
and consistent with the way wic uses other artifacts.
[YOCTO #11017]
(From OE-Core rev: fc94feda4f4785bc020413943c80050adea13dc0)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently there is no way to specify a dependency on native
tools for wic without modifying wic-tools recipe. Obvious
way to make it more flexible is to use image sysroot and
wic-tools together to find an executable.
Modified run_native_cmd to use image and wic-tools sysroots
to find native executable.
[YOCTO #11017]
(From OE-Core rev: 06f976cb7c593ab14ee221365d9afbaf9de94a91)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made PluginMeta to populate global PLUGINS dictionary that
is accessed by PluginMgr. This should make the code more
understandable as PluginMgr don't need to get data directly
from PlugnMeta attribute.
(From OE-Core rev: 68df14eb43103537279824c5f627cc5914b5282c)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As PluginMgr class contains only one method it's
better to move it to pluginbase to have all plugin
related APIs in one module.
(From OE-Core rev: 244585b369ecc0019002ca51bf7f8fd506234462)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Store results of PluginMgr.get_plugins to avoid
loading plugins more than once.
This should speed up finding plugins.
(From OE-Core rev: 95ba37b394d01a6ed81f32ffa03813a070d682dc)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Call methods directly instead of getting them with
get_plugin_methods and then calling.
(From OE-Core rev: efcd07fe17bf55441059b00a5becc3952e0a4075)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Throw WicError if do_create method of imager plugin is
not implemented.
(From OE-Core rev: 87031c933047a37ddc26be3d04ea17b6e60ea10a)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Used more readable syntax to specify metaclass for
the base plugin classes.
(From OE-Core rev: 808451f154867caef73e00af04f56f051b7d5f6b)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed all private methods and complicated logic.
Put all code to get plugins into get_plugins method.
(From OE-Core rev: 9b8c69cdc8500ce065dbe607ba07ee95c1016659)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Simplified the implementation of get_plugin_methods:
- get rid of looping over the dicrtionary, used access by key instead
- get rid of filling a dictionary that passed as a parameter
(From OE-Core rev: 875d4eede61b548d64f426c2ef077cc17e50cd45)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Used get_plugins('source') instead of get_source_plugins to
unify and simplify API to get plugins.
(From OE-Core rev: aaab003e472416124d7342fc8c4a17c252b83f4d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of making a singleton object of PluginMgr class
it's simpler to use PluginMgr class directly as any class
is a singleton.
(From OE-Core rev: cbe7dbd31f2292416d8e801e142679c69d9a44bc)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed unused exceptions from error.py
Moved definition of WicError to lib/wic/__init__.py
(From OE-Core rev: 15442d072bb6d93bd9b941726f93262503053da5)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no need to raise special exceptions. Raising
WicError should be enough.
(From OE-Core rev: b952076cc9f458c3d5eb03e12dc3ec316a44804c)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replaced sys.exit with raising WicError in the core wic modules.
(From OE-Core rev: 1b11437fb25ece5b3eede52344b071e875fa738f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Moved from lib/wic/utils/ to lib/wic as this is a core module.
(From OE-Core rev: 808c70b81de5c3cfc3dcb01f08213e2ea33b7252)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set up wic logger using standerd logging module.
This is going to replace custom msger module.
(From OE-Core rev: f7d9e33aa129d8ab98dd1971154c29c275d103b0)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabling building the Intel Memory Protection Extension library for x86.
Leave this disabled in musl builds as it doesn't build there yet.
(From OE-Core rev: 4b144b55acbd43b38d92d29829d8ec68ff372e9d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Other linux-yocto recipes have the virtio fragment added to qemu* targets.
If you plan on booting a kernel with qemu, we need these options .. or
things like the virtual disk won't be present.
(From OE-Core rev: 7e30a0db7b587a72a50d6d981ba8cf275ca61b23)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 4.10 kernel has been released, so we can bump our libc-headers
to match.
We also drop the 4.9 headers, since we only want one variant in the
tree.
Tested against glibc and muslc core-image* variants.
(From OE-Core rev: 4e50f18401b0c4bbb6923b88302411cad7917930)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 4.10 kernel has been released, so we introduce the linux-yocto
variant.
This version supercedes the 4.4 and 4.8 versions in the tree, leaving us
with 4.1 (LTSI), 4.9 (LTS) and 4.10 (most recent) as the three active
versions.
Build tested against all qemu variants, core-image-kernel-dev + sato,
with musl and glibc as the C libraries.
(From OE-Core rev: e8f07d2966a3fc6cfc6466020dc6603a84fe33da)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the previous lock removal patch I mixed up the two tasks and broke sdk
testing. Fix this by removing locks for both sdk and extsdk.
(From OE-Core rev: 20c6e876ed6b8c8ac007848e2b36e9a8a56bb703)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
auto.conf is included before local.conf. Instead of keeping them separate, merge
them into the extsdk local.conf. As it happens we can do this quite neatly, more
neatly than the current code IMO and it makes the configuration easier for the end
user to understand too.
This means auto.conf is then available for the testsdk code to use for testing
purposes.
(From OE-Core rev: fb625e555707478d5b4931c6bc83ab06b17a8ca9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to appent to SSTATE_MIRRORS in case other areas of code are also
setting the variable.
(From OE-Core rev: 9cab832b1e85822fa9be5ea9fa0415f48fba86f2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We should be able to test sdks in parallel. As far as I can tell, this
restriction crept in for no good reason, based on locks that testimage used
for the non-qemu case.
Therefore remove the lock and allow sdks to test in parallel.
(From OE-Core rev: 54477664dc13c6aa15b3246f328b66591a340659)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
test_extend_autotools_recipe_creation needs libxml2 so ensure this is
installed/present as it may not be in the minimal eSDK case.
(From OE-Core rev: fb274c7fe588c556936a0df1ae583907875c2a76)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Class for fetching files from Amazon S3 using the AWS Command Line
Interface. The aws tool must be correctly installed and configured
prior to use.
The class supports both download() and checkstatus(), which therefore
allows S3 mirrors to be used for SSTATE_MIRRORS.
(Bitbake rev: 6fe07ed25457dd7952b60f4b2153d56b15d5eea6)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Forcing the use of "\n" in mirror variables is pointless, we can just require that
there are pairs of values.
(Bitbake rev: 044fb04dbe69313ee6908bf4d3cee7f797d0c41c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Forcing the use of "\n" in mirror variables is pointless, we can just require that
there are pairs of values. With the bitbake restriction relaxed, we can relax
the sanity check too.
(From OE-Core rev: 7313b10e242da9225211ca9fd53d14a121c5fa42)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The local.conf file can get overritten and changed by the SDK so (ab)use
auto.conf instead to ensure our configuration tweaks get applied.
Also ensure we append to any other configured SSTATE_MIRROR variable
that already exists.
(From OE-Core rev: 444a71b1c2d8f86fc4c35c8ff8e92bcbbe646b75)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_locked_sigs() uses ${D} to hold a file as input to the sstate staging code.
Generally this isn't a problem as it happens after packaging, but sometimes (if
the recipe is rebuild, perhaps) do_package() will see the file inside ${D} and
fail because there is an uninstalled file.
Solve this by using a directory under ${WORKDIR} so it can't be packaged.
(From OE-Core rev: 97056011c17f343e697aa9f0d418f6487b9f7465)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're on the margin of the 4GB size limit for certain image types with
this configuration. This is a temporary workaround to avoid total
failures whilst we figure out better ways to save space. On such a
large image, the standard 1.3 is large and 1.2 is reasonable.
(From OE-Core rev: 0116e4814aa55feb0f8944deb98e39b4534bab0c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Skipping the tests if a toolchain wasn't installed out of the box (for example,
a minimal eSDK) doesn't make sense as the first thing the tests should do is
install a toolchain.
(From OE-Core rev: 1e776c1a7f4827f5a14c00dbffae0bdfb027e21e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the finally: block to always to cleanup.
Now that the test harness in testsdk.bbclass has monkey-patched
CalledProcessException to display the output we don't need to do that in the
test case.
(From OE-Core rev: 9f0f6326083ee76b72b431fbfcbe12c1ab2793b2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Out of the box subprocess.CalledProcessError.__str__() just displays the command
and exit code, which isn't very useful for debugging.
Add a function to oeqa.utils.subprocesstweak to monkey-patch __str__() so that
it can also display the value of stdout and stderr.
(From OE-Core rev: c55401ba1646202fa36e4973b05dbacaa146cb16)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These methods are class not instance methods, so the argument should be cls not
self.
Also don't put variables into cls that we don't need there.
(From OE-Core rev: 6ecd671fb09486b5852c47f06b5db372a2eb082b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using httpServer from python for sharing sstate is known to be buggy, it can't
cope with the number/type of requests coming from bitbake and quietly fails
to share files.
This causes intermittent build failures which are hard to debug. We can
use a file:// url for the sstate mirror instead, removing the need for
the http server.
The sdk-update test is simply dropped since the SDK is never published
to this location and hence it would never have any update. Its equiavalent
to pointing at an empty web server. There is a better eSDK update test in
testsdk so rather than improve this one, lets drop it and concentrate on
the one there.
(From OE-Core rev: 7606f05e48ad2e31650e3a56bfcd04b4fbfad1e3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you build a minimal eSDK currently, you don't build meta-extesdk-toolchain
even if you will have built most of its dependencies. This means when you try
and install a toolchain into the eSDK, it fails, breaking our automated testing
of the eSDK.
Therefore add the dependency unconditionally even when a minimal eSDK is being
built and allow the automated testing to work.
(From OE-Core rev: 6e4ae81d76c5a61e7603ff4ca94452a6e724c244)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is admitted a bit of a hack but it does allow a number of significant sdk
tests to run successfully and hence improves testing of eSDK which is good.
I'm therefore proposing we do this until we come up with a better solution
since the current lack of testing is worrying and would have caught other issues
had it been present.
(From OE-Core rev: 633b95ea32bbccf59b341a9d37b0b11027b48a63)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This removes the need for some of the ugly decode calls with hardcoded
locales.
(From OE-Core rev: a14dddc77e553d2fa90d12576503dd3fc2e52bbc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The directory list of sdk tests to run can vary so this code effectively selects
a random set of SDK tests to run in the eSDK. We want to attemp all the SDK tests
so remove the element selection.
(From OE-Core rev: 11365d869c03cb0e476ea43e75ce27090a33dfa7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After running sdk-install we need to ensure that the standalone sysroots are
updated as done when the eSDK is originally built. Add such a call so this
happens automatically and the envrionment scripts in the SDK work correctly
after updates.
(From OE-Core rev: 4f422071d6f9a074986f399d9e648977bd2e0a68)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using a minimal eSDK, testing currently fails as the sdk isn't
populated. We therefore setup the eSDK under test to point at local
sstate and execute a command to ensure the toolchain is populated
since most of the tests depend on this being present.
At the same time, add in a link to DL_DIR through own-mirrors so
that tests which fetch source (e.g. the kernel module one) can
use the local stash. This cuts test execution of the kernel module
test from 2000s to 120s.
We did try using DL_DIR directly but that causes uninative issues
requiring other workarounds so own-mirrors is neater.
Together these fixes unbreak eSDK testing on the autobuilder.
(From OE-Core rev: 866b55905eabf93f45c10a08d5b53c459ac4c056)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Call the generated recipe librdfa instead of bb-example to make it clearer what
is happening.
(From OE-Core rev: c59b82ec151618bb4bcb1953b8ca7d23255d3357)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop two patches that are upstream. Rebase other patches.
* Separate libweston into its own package, modify the recipe
as needed because files have changed location.
* Remove "--disable-rpi-compositor": the backend does not exist
anymore.
Libweston is already at version 2 and is likely to have new major
versions. The versions should be parallel installable (but weston
itself will not be).
(From OE-Core rev: 44068f2ba74228b78268efa58ca5f2bc85449f14)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Dynamic packaging isn't useful if every library needs to be
listed manually.
This also merges the -dev packages into a single ffmpeg-dev, as is typical.
(From OE-Core rev: 7731035a14e3caf90ae220692ec2def5cb1aaad5)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
package_qa task requires some tools installed in sysroot; with
the introduction of recipe specific sysroot this task won't
have such tools installed if it's forced to run.
(From OE-Core rev: cf351eb49c44d9cbba82392f3331e7cba0c0d0ee)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A potential flaw was introduced by commit a8dc4bc0:
[ python: fix python-tests rdepends ]
It made python-tests RDEPENDS on python-modules which is correct, but
this should be done in generate-manifest-2.7.py, and re-generate the
manifest.
Fixed by adding this dependency in generate-manifest-2.7.py as well.
(From OE-Core rev: 13adc5bbfd2ef64133a086ec6c917ac3ef274087)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-native supposes to RPROVIDE all native packages as added in
generate-manifest-3.5.py, but it does not so far, this leads a problem
that sometimes bitbake cant find a runtime provider for a python3-*-native
when a new runtime dependency on it being required, this usualy happens
after a new native python3-* recipe is created or the old native python3-*
recipes are upgraded.
To avoid manually extending RPROVIDE every time when a new runtime
dependency is introduced, an argument '-n/--native' is added to the
manifest generator, allowing it create a native python3 manifest, with a
RPROVIDE line only, the RPROVIDE should contain all the sub-packages.
The generated python-native-3.5-manifest.inc is also added which is
included by python3-native recipe.
(From OE-Core rev: 800753069f667cd1664d70b3779150c467e3b3fe)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python-native supposes to RPROVIDE all native packages as added in
generate-manifest-2.7.py, but it does not so far, this leads a problem
that sometimes bitbake cant find a runtime provider for a python-*-native
when a new runtime dependency on it being required, this usualy happens
after a new native python-* recipe is created or the old native python-*
recipes are upgraded.
To give a example, the following commit is trying to address such a issue:
commit 4583cd1bb15306e8f0ab7bcd80732e6f35aa4533:
[ python-native: Make python-native also RPROVIDE python-unittest-native ]
To avoid manually extending RPROVIDE every time when a new runtime
dependency is introduced, an argument '-n/--native' is added to the
manifest generator, allowing it create a native python manifest, with a
RPROVIDE line only, the RPROVIDE should contain all the sub-packages.
The generated python-native-2.7-manifest.inc is also added which is
included by python-native recipe.
(From OE-Core rev: 0cb15d9559e34faffea1ac0be825d0602f225ba9)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The buildhistory_analysis module (in which buildhistory-diff is
based) was lacking unittest for its functions. Created selftest
module for this and a few testcases to cover basic cases.
[YOCTO #10727]
(From OE-Core rev: d868816ecb470d59216eecc97ef5d42261625cc1)
Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If importing a test with the same name as a built-in module,
it will silently import the built-in and check for tests in
built-in module. This happened with syslog module in debian
based machines, so add a raise to avoid this behavior.
[YOCTO #10978]
(From OE-Core rev: d9548f981448307b042807373e469f0d0b110bfe)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With this we get the class that is actually having the problem,
not just a TypeError with an unknown class causing the error.
(From OE-Core rev: d6ff4891376417504018af27e8e729a412feeeea)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
get_bb_var calls bitbake every time it is used and every call
would take about 7 seconds. There are tests that calls get_bb_var
several times when they can use get_bb_vars. Also there are tests
that calls it to fetch the same variable over and over again.
This will optimize the use of get_bb_var and get_bb_vars for a
little speed up in the tests.
[YOCTO #11037]
(From OE-Core rev: e53f86ba8aeb6d2e9eb259329001d27d62401072)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some distributions (like opensuse421) supported by the project
comes with older gcc releases, -fstack-protector=strong is supported
by GCC>=4.9.
This causes a build failure when install perl-native from a sstate that
comes from a machine supporting -fstack-protector=strong [1].
So disable usage of this flag in perl-native builds, this patch could
be removed when all supported distros comes with GCC>=4.9.
[YOCTO #10338]
[1] http://errors.yoctoproject.org/Errors/Details/109589/
(From OE-Core rev: 37fd073526811dee6edcfbb78a1864dd37991f4d)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bug-fix release:
*) Various fixes for crashes, assertions, deadlocks and memory leaks on
fuzzed input files and in other situations (CVE-2017-5847, CVE-2017-5848)
*) gst-libav was updated to ffmpeg 3.2.4, fixing a couple of CVEs
(From OE-Core rev: 6718e2cbb40fb8cb90f98f297fdfb6cbf01d52c8)
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>
4.9.0 -> 4.10.0
added the following patch to fix build with musl libc
1) 0001-libc-compat.h-add-musl-workaround.patch
(From OE-Core rev: 306c79e303bd09a2e35a037635e5943d8711ef3d)
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>
There is some probability (depends on system load) to get empty
or line containing "0" as the last line while reading /proc/PID/io.
Avoid build failure by checking if line contains separator
":" before split.
(From OE-Core rev: b26feaf51af55f17fad79dbd53dd3ec0a37c38ff)
Signed-off-by: Pavel Modilaynen <pavelmn@axis.com>
Signed-off-by: Daniel Lublin <daniel@lublin.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove a reference to WebKit/LICENSE, as the directory is not there anymore
(and the LICENSE file in it hasn't been moved somewhere else) - it was
a relic of webkit 1.x era.
(From OE-Core rev: 10331f42acfa5dc429198b7c025cc2360511e534)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed patches are in upstream.
Rebase monitor-option.patch and no-msgfmt-check.patch
Add support for python 3 probes
(this necessitates the 0001-Do-not-let-configure-write-a-python-location-into-th.patch
and the Add 0001-Install-python-modules-to-correct-library-dir.patch to
install python modules to correct destination).
Add perl to RDEPENDS to fix a QA warning about one of the installed files.
(From OE-Core rev: e3bccfba499565ea13f154a11dadcab48ef5e0ab)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade ltp from 20160126 to 20170116.
2. Delete some patches because these have been integrated in upstream.
0001-ltp-Don-t-link-against-libfl.patch
0006-sendfile-Use-off64_t-instead-of-__off64_t.patch
0007-replace-SIGCLD-with-SIGCHLD.patch
0009-Guard-error.h-with-__GLIBC__.patch
0012-fsstress.c-Replace-__int64_t-with-int64_t.patch
0013-include-fcntl.h-for-getting-O_-definitions.patch
0014-hyperthreading-Include-sys-types.h-for-pid_t-definit.patch
0015-mincore01-Rename-PAGESIZE-to-pagesize.patch
0016-ustat-Change-header-from-ustat.h-to-sys-ustat.h.patch
0017-replace-sigval_t-with-union-sigval.patch
0019-tomoyo-Replace-canonicalize_file_name-with-realpath.patch
0022-include-sys-types.h.patch
0029-trace_shed-Fix-build-with-musl.patch
0031-vma03-fix-page-size-offset-as-per-page-size-alignmen.patch
0032-regen.sh-Include-asm-unistd.h-explicitly.patch
0037-containers-netns_netlink-Avoid-segmentation-fault.patch
0038-run-posix-option-group-test-replace-CWD-qith-PWD.patch
0040-containers-userns05-use-unsigned-int-for-ns-id.patch
3. Add new patch based on Khem Raj's 0007-replace-SIGCLD-with-SIGCHLD.patch
0001-add-_GNU_SOURCE-to-pec_listener.c.patch
4. Add new patches fix building errors with musl:
0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch
0007-fix-__WORDSIZE-undeclared-when-building-with-musl.patch
0009-fix-redefinition-of-struct-msgbuf-error-building-wit.patch
Add new patch fix building errors, when the distro is poky-lsb
0012-fix-faccessat01.c-build-fails-with-security-flags.patch
5. Modify some patches because the upstream contains changes, those patches
maybe failed when they apply to the new version of ltp.
0011-Rename-sigset-variable-to-sigset1.patch
0027-sysconf01-Use-_SC_2_C_VERSION-conditionally.patch
0030-lib-Use-PTHREAD_MUTEX_RECURSIVE-in-place-of-PTHREAD_.patch
0035-fix-test_proc_kill-hang.patch
6. Rename and modify this patch.
fcntl-fix-the-time-def-to-use-time_t.patch to
0039-fcntl-fix-the-time-def-to-use-time_t.patch
7. The new version of ltp add the checking for ksh and csh, we doesn't support
ksh and csh in oe-core, so remove the checking files when the system executes
do_install function.
(From OE-Core rev: 25c71d320198d41cf760dbea96840d352681dced)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Revert to the upstream server, now that we can handle .lz files.
License checksum changes are due to copyright years.
(From OE-Core rev: 007c624781076264fab88cc355146ec68cdd15b4)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Delete the 'charset.alias' file during the do_install task if it exists.
This file is not shipped in any packages and on the targets that it is
generated (musl and mingw32) it is undesired.
(From OE-Core rev: ba69323b58071593fa917bf902314eb6eace25a8)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When renaming the 'gio-querymodules' binary to prefix with the current
MLPREFIX, only do this for target packages where the MLPREFIX makes
sense. This skips renaming for nativesdk targets which have MLPREFIX set
to 'nativesdk-'.
(From OE-Core rev: a84ac3667d8b216164b80c88866325908c5ad98f)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The copy_license_files() function in license.bbclass is called in two
different contexts. First, it is run as part of the do_populate_lic
task. In addition, it is called from do_package task when
LICENSE_CREATE_PACKAGE is enabled. The function has code that changes
the owner of license files to root which is meant only to happend in the
latter case - i.e. under do_package which is run under pseudo.
Previously, the code was blindly always running chown and just ignored
errors that happened when running from do_populate_lic. This patch
changes it to be more intelligent, only doing chown when running under
pseudo.
[YOCTO #10897]
(From OE-Core rev: 19118a1408f32bb24d95ab3d7d7faed58cbae900)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported 0002-boost-test-execution_monitor.hpp-fix-mips-soft-float.patch
Rebase consider-hardfp.patch to 0001-When-using-soft-float-on-ARM-we-should-not-expect-th.patch
(From OE-Core rev: ef603f41b5df4772bb598ec9d389dd5f858592af)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Do-not-add-cli-args.h-to-cli-args.stamp-Makefile-tar.patch, it's merged upstream.
Rebase 0001-configure.ac-fix-sed-command.patch.
(From OE-Core rev: bed7c85e9ed77ae961c4588d4f7eca6b20d2f1e8)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
configfs is another kernel virtual file system that should be mounted
if configured, so if it's configured into the kernel, mount it. It is
used to configure e.g. USB gadget mode and devicetree overlays.
(From OE-Core rev: 4f52130475d026c32f0380d301f56f6fa3df7ac9)
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
TARGET_SYS is defined in terms of TARGET_ARCH, so it's not valid
until after TUNE_ARCH has been set by the machine config. The
original order of includes resulted in an attempt to include
non-existent files such as:
conf/target/INVALID-oe-linux.conf
(From OE-Core rev: b33e644da0d8b6edb97257b16430b545c289883a)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently selftest doesn't use sstates because some tests
clean sstate cache; using sstates would give a performance
boost instead of building everything from scratch.
With this sstates are not corrupted using different methods
depending on tests:
devtool: These tests needed to delete the cache so SSTATE_DIR
as SSTATE_MIRRORS and set a temporal SSTATE_DIR.
sstatetests: This module already used a temporal SSTATE_DIR, so
just set up the SSTATE_MIRRORS.
Rest: Removed cleansstate, some of them required to force a
certain task, others were just removed or changed for another
task.
[YOCTO #10929]
(From OE-Core rev: 62c61087a10cc3b26fbff32c9e2efd1704a39724)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new %_gpg_sign_cmd_extra_args macro that allows customizing the
gpg options used when signing rpm packages. This is needed to be able to
sign packages with gpg 2.1 which requires "--pinentry-mode loopback" to
allow non-interactive signing.
[YOCTO #11054]
(From OE-Core rev: 373a7146d596d27376a003014df0d06f3df5348d)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Split the file list into chunks in order to avoid
"OSError: [Errno 7] Argument list too long"
This would happend when a package has huge amount of subpackages, e.g.
glibc-locale.
[YOCTO #11069]
(From OE-Core rev: 874f5016fd4dc76bc867b68470297fe59e78a9e6)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The update contains a small number of bug fixes. Removed one
upstreamed patch.
gst-player does not have releases: this is the current git master.
(From OE-Core rev: 72889d45c610c4895c6a2f439439755ef4853fab)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This includes a number of small fixes and some new PCI IDs, no
major changes.
For background, xf86-video-intel does not get releases so
we have to follow git.
(From OE-Core rev: 7dd5a74df4b19c30456f4e7e844856c5e9cbaa7f)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mostly bug fix releases.
Generating the thumbnailer metadata now requires running yet another
tool at build time. This is broken for cross-compiling, add a
work-around.
Add gdk-pixbuf-native to DEPENDS to make the above workaround possible:
We already build gdk-pixbuf-native anyway so this is not a huge deal.
(From OE-Core rev: 645e14bb39d10a50648daaf7a015f2d75bf357db)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Very small bug fix release.
Use --disable-umockdev: Testing is great but a single regression test
isn't really worth a new build dependency (that isn't in oe-core yet).
(From OE-Core rev: 942946a18ec2e644a297e45787a3947f3229a783)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license checksum for doc/LICENSE is changed. It's a small change.
'2015' is changed to '2017'. Nothing else is changed. So the licenses
remain the same.
(From OE-Core rev: a14b935461d231429b6dc3bd0fdc34142b48fe86)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* The license cheksum is changed becuase a new line is added:
Copyright (C) 2001-2017 The strace developers.
* Remove use-asm-sgidefs.h.patch, it doesn't check sgidefs.h any more, it was
use for building on mips, I checked it built well.
* Update Makefile-ptest.patch and disable-git-version-gen.patch.
(From OE-Core rev: 204e0e9916f6acfa02d7a49bf5e33678abb0578d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a patch to don't use --clamp-time when call tar because
isn't supported in tar hosts versions. See
0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch
patch for details.
Rebased patch:
- 0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
(From OE-Core rev: 4c23b8ce417551f2ee252426158fea272b8a9dfd)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade config.sh to match new version.
Removed CVE patches already in upstream:
- perl-fix-CVE-2016-1238.patch
- perl-fix-CVE-2016-6185.patch
Update customized.dat patch to match new hashes.
(From OE-Core rev: f3f1614b87aa5c55653fe8f3247fb094baf98087)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 3632abd01abb8dfff230e18f828af705da488f97.
Multiple people have expressed issues with flex-2.6.2; personally I had
problems compiling libsepol from meta-selinux (for libselinux). I tried
upgrading to flex-2.6.3, but that caused binutils-cross_2.27 to fail.
The simplest for now is to downgrade to flex-2.6.0.
(From OE-Core rev: b45776bbdafa6f6afe815714ac329494ad57e644)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3.16.2 -> 3.17.0
* Approximately 25% better performance from the R-Tree extension.
* Other performance improvements. Uses about 6.5% fewer CPU cycles.
(From OE-Core rev: 2ecc3dc9cb11feb6804ec08d1b7b1470f01aadbe)
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>
Fixed:
$ rpm -qplv tmp/deploy/rpm/qemuppc/kernel-devsrc-1.0-r0.qemuppc.rpm | grep kernel/source
/usr/src/kernel/source -> /buildarea/lyang1/test_yocto/tmp/work/qemuppc-poky-linux/kernel-devsrc/1.0-r0/image/usr/src/kernel
It is generated by kernel's "make clean _mrproper_scripts", the
kernel-devsrc includeds full sources, this symlink is not needed, and
the path is invalid on target, so remove it.
(From OE-Core rev: 65804d1239e626bbe1a4b5772f2464db21163713)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Usually a recipe only provides one package but when provides more
than one package the LICENSE variable per package (i.e. linux-firmware)
needs to take into account to avoid unnecesary copy of licenses into
packages.
The patch validates if LICENSE exists in package LICENSES in order to
don't copy unneeded licenses.
As result of this patch some packages will not contain licenses there
are not into LICENSE variable.
For example:
acl contains GPLv2+ instead of GPLv2+ and LGPLv2.1+
libacl contains LGPLv2+ instead of GPLv2+ and LGPLv2.1+
This behaviour is declared on the acl recipe as:
SUMMARY = "Utilities for managing POSIX Access Control Lists"
HOMEPAGE = "http://savannah.nongnu.org/projects/acl/"
SECTION = "libs"
LICENSE = "LGPLv2.1+ & GPLv2+"
LICENSE_${PN} = "GPLv2+"
LICENSE_lib${BPN} = "LGPLv2.1+"
[YOCTO #10325]
(From OE-Core rev: 8c8c8edea9c9015e21f47f3d10e6f45446a2823b)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The NO_GENERIC_LICENSE mapping was added [1] to enable copy LICENSES
from upstream source code into recipe licenses, previously that only
common-licenses was processed.
This result on copy twice the NO_GENERIC_LICENSE specified because there
is a mapping between license in LIC_CHKSUM and NO_GENERIC_LICENSE.
In order to avoid double copy one as generic_ and other as LICENSE. keep
track of licenses already copied.
For linux-firmware the result will be only generic_ licenses into
common-licenses.
[YOCTO #10325]
[1] http://lists.openembedded.org/pipermail/openembedded-core/2015-April/104222.html
(From OE-Core rev: 95b9e2cd26c7cae265ff52af90480b75251f00e5)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10405]
The section on the SVN Fetcher was missing information on the
"path_spec" option. I added this option and also updated the
examples at the bottom of the section to include that parameter.
Also, made the other two examples consistent.
I also removed the "date" parameter.
Also, updated the "protocol" parameter as well as the "modify"
parameter. For "modify" I removed the reference to "rsh". I
applied a small wording change to the "protocol" parameter.
Finally, I added a new "ssh" parameter.
(Bitbake rev: 3ce6169afa646ef2b847e5fbabfe0191c93928b7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package-depends.dot and pn-depends.dot files are inaccurate,
missing out key dependencies such those made via the [depends]
flags. As such they can be misleading to the user.
They mainly exist for historical reasons, coming from a time
before we had task based execution.
This commit removes the two dated file formats and replaces
them with a recipe-depends.dot which is a flattened version
of task-depends.dot.
The old format files are removed if present so that the user
can't get confused about why data might not match between files.
The code is also rewritten to use 'with f: f.write()' syntax as
is more commonly used now. Also update the docs to match the change.
(Bitbake rev: f82537d27f2a5bf9d576aa841593db9ec0985ea8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want to update to a version with the bb.utils.filter() function.
(From OE-Core rev: 6db26339522a22c3e3c13287ea0c9daf40c7c15e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It isn't clear that the README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
file in the deploy directory warrants the complexity it brings elsewhere.
Let's just remove it entirely.
In particular, if two do_image_complete tasks run in parallel they risk
both trying to put their image into ${DEPLOY_DIR_IMAGE} at the same time.
Both will contain a README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
file. In theory this should be safe because "cp -alf" will just cause one
to overwrite the other. Unfortunately, coreutils cp also has a race[1]
which means that if one copy creates the file at just the wrong point the
other will fail with:
cp: cannot create hard link ‘..../tmp-glibc/deploy/images/pantera/README_-_DO_NOT_DELETE_FILES_IN_THIS_D.txt’ to
+‘..../tmp-glibc/work/rage_against-oe-linux-gnueabi/my-own-image/1.0-r0/deploy-my-own-image-complete/README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt’: File exists
[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25680
(From OE-Core rev: 71e9e88847d7000781642ea6187ebd8f40dfdcfe)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The VfrCompile tool has a hard-coded maximum length for path names
which turned out to be too small by around 20 characters in the
Yocto autobuilder setup. Increasing the maximum by a factor of 4
is relatively easy and makes the problem less likely.
(From OE-Core rev: ea296ab42a7a65055657b950d8248d94f0ac56f1)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch was added to meta-luv for kernel testing purposes and
probably is not relevant for OE-core.
(From OE-Core rev: 240e96e6196c32ddabb0c1aff3ee83458c98a9bd)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When booting a qemu virtual machine with ovmf.secboot, it comes up
with no keys installed and thus Secure Boot disabled. To lock down
the machine like a typical PC, one has to enroll the same keys
that PC vendors normally install, i.e. the ones from Microsoft.
This can be done manually (see
https://wiki.ubuntu.com/SecurityTeam/SecureBoot and
https://github.com/tianocore-docs/Docs/raw/master/White_Papers/A_Tour_Beyond_BIOS_into_UEFI_Secure_Boot_White_Paper.pdf) or automatically with the EnrollDefaultKeys.efi helper
from the Fedora ovmf rpm.
To use this with qemu:
$ bitbake ovmf-shell-image
...
$ runqemu serial nographic qemux86 ovmf-shell-image wic ovmf.secboot
...
UEFI Interactive Shell v2.1
EDK II
UEFI v2.60 (EDK II, 0x00010000)
Mapping table
FS0: Alias(s):HD2b:;BLK4:
PciRoot(0x0)/Pci(0x5,0x0)/HD(1,GPT,06AEF759-3982-4AF6-B517-70BA6304FC1C,0x800,0x566C)
BLK0: Alias(s):
PciRoot(0x0)/Pci(0x1,0x0)/Floppy(0x0)
BLK1: Alias(s):
PciRoot(0x0)/Pci(0x1,0x0)/Floppy(0x1)
BLK2: Alias(s):
PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)
BLK3: Alias(s):
PciRoot(0x0)/Pci(0x5,0x0)
Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
Shell> fs0:EnrollDefaultKeys.efi
info: SetupMode=1 SecureBoot=0 SecureBootEnable=0 CustomMode=0 VendorKeys=1
info: SetupMode=0 SecureBoot=1 SecureBootEnable=1 CustomMode=0 VendorKeys=0
info: success
Shell> reset
Remember that this will modify
deploy/images/qemux86/ovmf.secboot.qcow2, so make a copy and use the
full path of that copy instead of the "ovmf" argument if needed.
The ovmf-shell-image contains an EFI shell, which is what got started
here directly. After enrolling the keys, Secure Boot is active and the
same image cannot be booted anymore, so the BIOS goes through the
normal boot targets (including network boot, which can take a while to
time out), and ends up in the internal EFI shell. Trying to invoke
bootia32.efi (the shell from the image) or EnrollDefaultKeys.efi then
fails:
Shell> bootia32.efi
Command Error Status: Security Violation
The main purpose at the moment is to test that Secure Boot enforcement
really works. If we had a way to sign generated images, that part could
also be tested by booting in a locked down qemu instance.
0007-OvmfPkg-EnrollDefaultKeys-application-for-enrolling-.patch is
from
https://src.fedoraproject.org/cgit/rpms/edk2.git/tree/0007-OvmfPkg-EnrollDefaultKeys-application-for-enrolling-.patch?id=b1781931894bf2057464e634beed68b1e3218c9e
with one line changed to fix
https://bugzilla.redhat.com/show_bug.cgi?id=132502:
"EFI_STATUS Status = EFI_SUCCESS;" in EnrollListOfX509Certs() lacked
the initializer.
(From OE-Core rev: 1913ace7d0898b5a23a2dbdc574ab1d8648927c5)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the simplest case, "runqemu qemux86 <some-image> qcow2 ovmf" for an
EFI-enabled image in the qcow2 format will locate the ovmf.qcow2
firmware file deployed by the ovmf recipe in the image deploy
directory, override the graphics hardware with "-vga std" because that
is all that OVMF supports, and boot with UEFI enabled.
ovmf is not built by default. Either do it explicitly ("bitbake ovmf")
or make it a part of the normal build
("MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append = ' ovmf'").
The firmware file is activated as a flash drive instead of using the
qemu BIOS parameters, because that is the recommended method
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764918#47) as it
allows storing UEFI variables in the file.
Instead of just "ovmf", a full path to an existing file can also be
used, just as with the rootfs. That may be useful when making a
permanent copy of the virtual machine data files.
It is possible to specify "ovmf*" parameters more than once, then
each parameter creates a separate flash drive. This way it is possible
to use separate flash drives for firmware code and variables:
$ runqemu qemux86 <some-image> qcow2 ovmf.code ovmf.vars"
Note that rebuilding ovmf will overwrite the ovmf.vars.qcow2 file in
the image deploy directory. So when the goal is to update the firmware
while keeping variables, make a copy of the variable file and use
that:
$ mkdir my-machine
$ cp tmp/deploy/images/qemux86/ovmf.vars.qcow2 my-machine/
$ runqemu qemux86 <some-image> qcow2 ovmf.code my-machine/ovmf.vars.qcow2
When Secure Boot was enabled in ovmf, one can pick that instead of
the non-Secure-Boot enabled ovmf.code:
$ runqemu qemux86 <some-image> qcow2 ovmf.secboot.code my-machine/ovmf.vars.qcow2
(From OE-Core rev: b91fc0893651b9e3069893e36439de0b4e70ad13)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The magic detection of the rootfs parameter only worked for image
recipes which embedd the "image" string in the middle, as in
"core-image-minimal".
Sometimes it is more natural to call an image "something-image". To
get such an image detected by runqemu, "-image" at the end of a
parameter must also cause that parameter to be treated as the rootfs
parameter.
Inside the image directory, "something-image" has an -<arch> suffix
and thus no change is needed for those usages of
re.search('-image-'). However, while at it also enhance those string
searches a bit (no need for re; any()+map() a bit closer to the
intended logic).
(From OE-Core rev: ca0fad3ad9d75d4198388b2a3133326267fc58db)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
'arg' isn't defined, the right name there is 'p'.
This fixes a rather obscure error message when that code path
ends up being taken:
$ runqemu some/existing-file-name
runqemu - ERROR - name 'arg' is not defined
runqemu - ERROR - Try 'runqemu help' on how to use it
(From OE-Core rev: 3f11e4cbb36fc65ff92296065e5f0a508b210ac7)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When enabled via PACCKAGECONFIG = "secureboot" (off by default because
of the extra work and license change), the recipe compiles OVMF twice,
once without Secure Boot, once with. This is the same approach as in
https://src.fedoraproject.org/cgit/rpms/edk2.git/tree/edk2.spec
The results are "ovmf.qcow2" and "ovmf.secboot.qcow2" in the
image deploy directory, so
runqemu <machine> <image> ovmf.secboot
will boot with Secure Boot enabled.
ovmf.secboot.code.qcow2 is provided for those who want separate code
and variable flash drives. The normal ovmf.vars.qcow2 can be used with
it.
In contrast to Fedora, no attempt is made to strip potentially patent
encumbered algorithms out of the OpenSSL archive. OVMF does not use
the ones considered problematic for Fedora, so this shouldn't be a
problem.
Fixes: luv-yocto/#38
(From OE-Core rev: d493f0b4760808f880a0fd6dedf918a3b85006b7)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Fedora srpm [1] seems to have no problems with parallel
compilation, so let's also use that for the target. The native
tools however indeed have dependency problems:
| test_Ecc_CParser (CheckPythonSyntax.Tests) ... gcc -o ../bin/EfiRom -L/fast/build/ostro/x86/tmp-glibc/sysroots/x86_64-linux/usr/lib -L/fast/build/ostro/x86/tmp-glibc/sysroots/x86_64-linux/lib -Wl,-rpath-link,/fast/build/ostro/x86/tmp-glibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/fast/build/ostro/x86/tmp-glibc/sysroots/x86_64-linux/lib -Wl,-rpath,/fast/build/ostro/x86/tmp-glibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/fast/build/ostro/x86/tmp-glibc/sysroots/x86_64-linux/lib -Wl,-O1 EfiRom.o -L../libs -lCommon
| /usr/bin/ld: cannot find -lCommon
| collect2: error: ld returned 1 exit status
ERROR: Task (virtual:native:.../meta/recipes-core/ovmf/ovmf_git.bb:do_compile) failed with exit code '1'
[1] https://src.fedoraproject.org/cgit/rpms/edk2.git/tree/edk2.spec
(From OE-Core rev: be307609a067b7d23dc2cd8e39e3a35f770bebc7)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When used with '-drive if=pflash', qemu will store UEFI variables
inside the firmware image file. That is unexpected for a file located in
the sysroot, which should be read-only, while it is normal for image
files in the deploy/images directory. Therefore that directory is a
better place for use with runqemu.
The name was chose so that "runqemu ovmf" can be used as shorthand for
"runqemu <full path>/ovmf.qcow2" by treating "ovmf" as the base name
of the firmware file. "ovmf.secboot.qcow2" is meant to be used for the
Secure Boot enabled firmware.
qcow2 is used because it is needed for "savevm" snapshots of a virtual
machine.
With code and variables stored in the same ovmf.qcow2 it is not
possible to update the firmware code without also overwriting the
variables. For users who care about persistent variables, the code and
variables are also provided as separate files, in ovmf.code.qcow2 and
ovmf.vars.qcow2.
The traditional usage of OVMF via the qemu bios parameter ("biosdir"
and/or "biosfilename" in runqemu) is no longer recommended, and
therefore this recipe no longer provides the bios.bin file. Instead,
OVMF is meant to be used as flash drive in qemu. See the "runqemu:
support UEFI with OVMF firmware" patch for details on how to use OVMF
that way.
(From OE-Core rev: 6f84653e34b75a821fbf31b9f1aa912858e27f43)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes a build issue when nasm was not build already because of
something else.
(From OE-Core rev: 92198bdda7add49f2c76ce55ab1f310e2128bf8f)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is an unmodified copy of
github.com/01org/luv-yocto/meta-luv/recipes-core/ovmf revision
4be4329.
(From OE-Core rev: 49cdce8716ded0b612069d7614c3efe7724e5b40)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Manipulating stderr after freopen() fails as done by upstream
does not work with musl. The replacement is Unix specific
and uses open()/dup2().
(From OE-Core rev: d656298e1438c9c5a2979a1c76f5cdb804a267fb)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this patch, linking fails with a missing implementation of
yy_scan_string. This looks like a regression in flex, because 2.6.0 generated
different code that called PrParser_scan_string
resp. DtParser_scan_string.
Working around that in acpica until this is better understood or fixed
in flex is the easiest solution for now.
(From OE-Core rev: 8f2ace5e1b396ad97b8e9cc88e7bb773d18acd21)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemu support for UEFI in OE-core depends on OVMF, which needs the iasl
tools provided by this recipe. There's also an iasl recipe in
meta-luv, but than can and will be replaced by this one, thus reducing
overall maintenance work.
Copied from meta-openembedded rev fa65be9ba (current master).
(From OE-Core rev: 020f7ea3aa5c1f311841d4fb16bc525ae1dd5f11)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This enables the use of swtpm (from meta-security) as a virtual TPM in
qemu. These patches extend the existing support in qemu for TPM
passthrough so that a swtpm daemon can be accessed via CUSE (character
device in user space).
To use this:
- add the meta-security layer including the swtpm enhancements for qemu
- bitbake swtpm-native
- create a TPM instance and initialize it with:
$ mkdir -p my-machine/myvtpm0
$ tmp-glibc/sysroots/x86_64-linux/usr/bin/swtpm_setup_oe.sh --tpm-state my-machine/myvtpm0 --createek
Starting vTPM manufacturing as root:root @ Fri 20 Jan 2017 08:56:18 AM CET
TPM is listening on TCP port 52167.
Successfully created EK.
Successfully authored TPM state.
Ending vTPM manufacturing @ Fri 20 Jan 2017 08:56:19 AM CET
- run swtpm *before each runqemu invocation* (it shuts down after use) and
do it as root (required to set up the /dev/vtpm0 CUSE device):
$ sudo sh -c 'PATH=`pwd`/tmp-glibc/sysroots/x86_64-linux/usr/bin/:`pwd`/tmp-glibc/sysroots/x86_64-linux/usr/sbin/:$PATH; export TPM_PATH=`pwd`/my-machine/myvtpm0; swtpm_cuse -n vtpm0' && sudo chmod a+rw /dev/vtpm0
- run qemu:
$ runqemu 'qemuparams=-tpmdev cuse-tpm,id=tpm0,path=/dev/vtpm0 -device tpm-tis,tpmdev=tpm0' ...
The guest kernel has to have TPM support enabled, which can be done with:
KERNEL_FEATURES_append = " features/tpm/tpm.scc"
(From OE-Core rev: 1264d26fa251ac11a9069f3e602dec6be9d8b9ba)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cleanup some more usage of bb.data APIs in the fetchers.
(Bitbake rev: 9752fd1c10b8fcc819822fa6eabc2c1050fcc03b)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bb.utils.filter() function can be used to filter a variable
containing whitespace separated words based on another set of words.
It has been modeled after the bb.utils.contains_any() function.
A typical example of how it can be used is to simplify constructs for
PACKAGECONFIG that depend on DISTRO_FEATURES:
-PACKAGECONFIG ?= "\
- ${@bb.utils.contains('DISTRO_FEATURES', 'acl', 'acl', '', d)} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
-"
+PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)}"
(Bitbake rev: 03ae490366d2046f5b5c185fe4ec2adf1b0a902e)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python3 regards b"" as False so it is not being converted to a string by
d0f904d407f57998419bd9c305ce53e5eaa36b24. This confusingly causes three
different potential types for each member of the returned tuple.
Let's just assume that everything that's not None is a bytes object and
convert it to a string.
(Bitbake rev: 0cf5589b7fb3582a6caca5014c4d8152347df545)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Most angular2 packages have names of the form @angular/xxx.
The / obviously can't be used in a file name, replace it with -.
(Bitbake rev: d3bd41d0ec9621307c362b394872b18b8b7ed8d6)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A number of npm packages use @ as a leading chararacter.
Examples are most of the angular2 packages.
(Bitbake rev: 628c4bf6c89b3d62c9b864380b5c8e131a899bff)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The functionality around the 'rsh' parameter seemed to be broken. The
'rsh' parameter was only used when 'protocol' was set to 'svn+ssh' which
is confusing. The 'rsh' parameter was used for setting the value of
'svn_RSH' environment variable, which however, is not supported by svn
(not at least according to SVN documentation).
This patch removes the 'rsh' parameter and replaces it with 'ssh'. This
new (optional) parameter is used when svn+ssh protocol is used and it
can be used to specify the ssh program used by svn. This is achieved by
setting the SVN_SSH environment variable which is mentioned in SVN
documentation.
(Bitbake rev: 5b364b02270b0d7c2b7ca8d67fa2731bf93720ee)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add a patch to make sure wayland-scanner from native sysroot is used
* Depend on wayland-native to get the scanner into the sysroot
* Add a patch to make sure the scanner really is used
(From OE-Core rev: 65cfc8aca3ff7e39453977a0215a350d13cb85ef)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Lately autobuilders are experiencing hangs with selftest,
it seems it is cause if an error happens in setUpClass
method of oeSDKExtSelfTest class because HTTP server
keeps running in background.
This patch will ensure tearDownClass will be run if there
is an error in setUpClass.
(From OE-Core rev: eb1383949f76c6eb36f86c051057f761a71016a3)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.6.0 -> 1.6.1
Refreshed the following patches:
a) 0001-configure-Add-option-to-enable-disable-libnfnetlink.patch
b) 0002-configure.ac-only-check-conntrack-when-libnfnetlink-enabled.patch
(From OE-Core rev: 0148bb131b2ac68f168562e9eaedce8aa4e4a875)
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>
FFmpeg has complicated licensing options, so it should also
have complicated license statements in its recipe.
(From OE-Core rev: b0881c295e868535a8eb55fc0658a330d0f1465d)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These set of patches backported from upstream, which fixes the issues in
extracting hardlinks over softlinks while etracting packages by opkg.
(From OE-Core rev: d123490284331c02854f6527a04086c058b7c32e)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
configure.ac from dbus uses $PATH to get the location of systemctl.
If it is not found /usr/bin/systemctl is used. It is possible to
override the location by passing SYSTEMCTL=[value] to configure.
The value is used to replace @SYSTEMCTL@ in systemd-user/dbus.socket.in.
dbus.socket sets the environment variable DBUS_SESSION_BUS_ADDRESS
using systemctl.
dbus does not depend on systemd-systemctl-native, so location from
host installation or the default value gets used. Adding
systemd-systemctl to the build would give path from sysroot.
Forcing SYSTEMCTL=${base_bindir}/systemctl for target gives the
correct path there and the environment variable is set after a user
session was opened.
[YOCTO #11002]
(From OE-Core rev: e9471f8da3946439141ccdd8284200aa614df46c)
Signed-off-by: Andy Kling <andreas.kling@peiker-cee.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As far as I can see, there's no benefit in having separate alsa-conf and
alsa-conf-base packages. libasound depended on both, so it was not
really possible to only install alsa-conf-base.
(From OE-Core rev: 04b57e357bc016d174015a56077bb026ad9bb498)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
EXTRA_OECONF = "--disable-python" overrode the previous EXTRA_OECONF
assignment, so softfloat didn't get enabled when needed. Fixed this by
replacing "=" with "+=".
Bitbake then complained about tabs in alsa-fpu.inc, changed them to
spaces.
(From OE-Core rev: 1ed6f860de22321342404a49ba78658153ff5eb8)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog: http://alsa-project.org/main/index.php/Changes_v1.1.2_v1.1.3
Added a patch to fix a build failure with musl (cherry-picked from
upstream).
The new release doesn't any more install the smixer modules when Python
support is disabled. The modules weren't usable without Python support
before either, so this change does not constitute a loss of
functionality [1].
alsa-lib-dev has automatic dependencies on alsa-lib and libasound, but
since the smixer modules were the only thing in the alsa-lib package,
the alsa-lib package doesn't get generated any more. alsa-lib-dev still
has an automatic dependency on alsa-lib, however, so I had to override
the RDEPENDS of alsa-lib-dev to only include libasound.
[1] http://mailman.alsa-project.org/pipermail/alsa-devel/2016-November/114682.html
(From OE-Core rev: dc549b5510bfcf83f6e5e8e3aa7ed663dee83444)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Busybox implementation only supports head -1 option if ENABLE_INCLUDE_SUSv2
or ENABLE_FEATURE_FANCY_HEAD configuration options are enabled. Also the -and
option for find is only supported if ENABLE_DESKTOP configuration option is
enabled. These configuration options are not enabled in several builds, which is
why this patch is needed.
[YOCTO #11041]
(From OE-Core rev: 9b036ac92073cadd26819def37ac0199f1ec9934)
Signed-off-by: Athanasios Oikonomou <athoik@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ccache tarballs have been available in tar.xz format since at least v3.1.1.
The v3.3.4 tarball is about 30% smaller so we might as well switch to it.
(From OE-Core rev: 0e0122ab57ffaf0119b9614b9ac4833d7acb997b)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only the copyright year has been updated in LICENSE.txt. The license text
itself has not changed.
This version fixes a bug with dependency output that could cause problems
when compiling kernels for different MACHINEs using a shared ccache. See
https://github.com/ccache/ccache/issues/158
(From OE-Core rev: 01751da07a6822f0b5d1c08bb73cc7ef376e39b7)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when compile with "-Wformat -Wformat-security -Werror=format-security":
| gettext-tools/gnulib-lib/libcroco/cr-statement.c: In function 'cr_statement_dump_charset':
| gettext-tools/gnulib-lib/libcroco/cr-statement.c:2661:17: error: format not a string literal and no format arguments [-Werror=format-security]
| fprintf (a_fp, str) ;
And:
gettext-tools/gnulib-lib/libxml/timsort.h:326:80: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=]
fprintf(stderr, "Error allocating temporary storage for tim sort: need %lu bytes", sizeof(SORT_TYPE) * new_size);
[YOCTO #9544]
(From OE-Core rev: 41eb2da1b05515e3803a331686fa6ca763ae2e69)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream is releasing development snapshots of the form
unifdef-2.11.23.1cca442.tar.gz so filter out versions which end is something
that looks like a git SHA.
(From OE-Core rev: dcf582f8f210c8e9d46f96950d48743819b87f9a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These plugins follow the GStreamer versioning, so inherit this class to ensure
we don't get notified about development releases.
(From OE-Core rev: cde7b38bcbd419799070da92013b4ea98468e643)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The native doesn't have to depend on udev, fixed:
$ bitbake btrfs-tools-native
ERROR: Nothing PROVIDES 'udev-native' (but virtual:native:btrfs-tools_4.8.5.bb DEPENDS on or otherwise requires it). Close matches:
[snip]
(From OE-Core rev: 48e0174aaf7201cb0ee0b15381638213171fa208)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of running autogen.sh (which runs autoconf et al) before running
autoreconf (which runs autoreconf et al...) just do the one task that we need
from autogen.sh: copying install-sh from automake's libdir.
(From OE-Core rev: 0e3a933c376b3bdb46bd3a2993932888ecfde434)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On buildhosts where default python has switched to using python3
qemu-native fails configure like this
| ERROR: Cannot use 'python', Python 2.6 or later is required.
| Note that Python 3 or later is not yet supported.
| Use --python=/path/to/python to specify a supported Python.
|
we still expect build host to have python2 pre-installed
and is always available.
(From OE-Core rev: 2cac9544752775262fa87517ed49fcac2fb3a574)
(From OE-Core rev: 42c32a9c8e3ca28e553a3b95089e0d51390c1758)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When DEPENDS=bzip2 becomes bzip2-native in libarchive-native,
the dependency ends up getting ignored because bzip2-native
is in ASSUME_PROVIDED.
But we need the library and thus have to depend on
bzip2-replacement-native, otherwise the build proceeds
without it despite the explicit --with-bz2lib.
(From OE-Core rev: 7ae1c93ab6df46dc88b0ffaa52778738849ff38d)
(From OE-Core rev: 76772f36c4ae8e416b471abe883f117977803aac)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[NVD] -- https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-6131
The demangler in GNU Libiberty allows remote attackers to cause a denial
of service (infinite loop, stack overflow, and crash) via a cycle in the
references of remembered mangled types.
[BZ #71696] -- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71696
2016-08-04 Marcel Böhme <boehme.marcel@gmail.com>
PR c++/71696
* cplus-dem.c: Prevent infinite recursion when there is a cycle
in the referencing of remembered mangled types.
(work_stuff): New stack to keep track of the remembered mangled
types that are currently being processed.
(push_processed_type): New method to push currently processed
remembered type onto the stack.
(pop_processed_type): New method to pop currently processed
remembered type from the stack.
(work_stuff_copy_to_from): Copy values of new variables.
(delete_non_B_K_work_stuff): Free stack memory.
(demangle_args): Push/Pop currently processed remembered type.
(do_type): Do not demangle a cyclic reference and push/pop
referenced remembered type.
cherry-picked from commit of
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239143 138bc75d-0d04-0410-961f-82ee72b054a4
(From OE-Core rev: 3c288b181a4cfecc80b48994f4dd2df285e4d1d0)
(From OE-Core rev: 96a16c4181d18b8580dad243350d589586cb2b07)
Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The command:
sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh
was used for replacing "${WORKDIR}", but it also replaced
"-L${WORKDIR}", but binconfig.bbclass would replace "-L${WORKDIR}", too,
which caused incorrect result, use "'${WORKDIR}" to fix the problem.
(From OE-Core rev: 2edfcbf0291c0d39be4a37348696329eba8a41f8)
(From OE-Core rev: 68960cbdf12de8aaff0f792091f839c987cc0aa0)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
They are required by nativesdk-cve-check-tool.
(From OE-Core rev: 7252c6f1b4b9a63e3bac79c6eba1b66ab85e21b9)
(From OE-Core rev: 84f254cb8c75fbd368041b7637effe42a05b2203)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python-six-native depends on it.
(From OE-Core rev: 475585ed84bf8dac339f97f811582bf782972930)
(From OE-Core rev: 6334ffac9996e48fd5898fdee1db5e7eed6370e2)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tested by building gnuradio stack.
(From OE-Core rev: d3e5a6d38870ecede87812cb81c0b5630bd3b3ff)
(From OE-Core rev: 66122e4f19e880f5e48130b318f98452b992cad4)
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove backported patches. Add runtime dependency for netserver
(as socketserver was recently moved there) and depend on
libxkbcommon (this is really only needed for wayland support
which could be made configurable).
(From OE-Core rev: 5a3fa55f397bb89f75fb714b1d93aa76125cc09a)
(From OE-Core rev: 87f10ec9ed63794ffd216c752cf14fd68d009d46)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Layout updates from the last 16 months.
(From OE-Core rev: 22ae7375bb03531349060f11a4f2bfc99d851e52)
(From OE-Core rev: 452160980af60807c8ed51eabd291b4bf3ce8348)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Small release with mostly build system fixes.
(From OE-Core rev: 638af9cff97cf3ead79226b616e29f9135cbf53d)
(From OE-Core rev: 549669a7bace51fd9e44b4629cb4ce7c65e98ffe)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tiny release to fix build with new xmlto.
(From OE-Core rev: ef523527b68eef0ce1fdacac87b4eee27677589b)
(From OE-Core rev: 8a52a4a64727f573fa11951ee0d387cc977a8b25)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New release requires libpcre 2.
Enable gnutls by default to remove an annoying warning on every
vte widget. core-image-sato already has gnutls so this shouldn't
be a big deal.
(From OE-Core rev: c9b65168a6e5ca329c013d5932567eb6cca770f3)
(From OE-Core rev: 03f707ba1134b9706aed85665dc5f61aebbd5fb7)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
here is shortlog
* d6601f0a avoid unbounded strlen in gettext functions
* dbbb3734 fix use of uninitialized pointer in gettext core
* 01e6bbec fix bindtextdomain logic error deactivating other domains
* 6894f847 fix spurious EINTR errors from multithreaded set*id, etc.
* 1f53e7d0 fix crashes in x32 __tls_get_addr
* 27b3fd68 fix crash from corrupted tls module list after failed dlopen
* 809ff8cf treat base 1 as an error in strtol-family functions
* 786fda87 fix getopt[_long] clobbering of optopt on success
* 150747b4 reduce impact of REG_* namespace pollution in x86[_64] signal.h
(From OE-Core rev: 6f42e7be18e0896aac357ce2aedaa3b32b2ad98e)
(From OE-Core rev: 72146e579e2df3b1132776a81b47e842dc262229)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are two major versions of the PCRE library. The newest version, PCRE2,
was released in 2015 and is at version 10.22.
The original, very widely deployed PCRE library, originally released in 1997,
is at version 8.40, and the API and feature set are stable, future releases
will be for bugfixes only. All new future features will be to PCRE2, not the
original PCRE 8.x series.
The newer vte depends on libpcre2, so add it.
(From OE-Core rev: f7165d379cb67c4d4918a8a3e9509d3d823d61da)
(From OE-Core rev: 69c4d94dd6b825c710c6e76fe77e5255ddd1183d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that Tremor isn't enabled by default in oe-core's GStreamer plugins and has
been added to meta-multimedia, it can be removed from oe-core.
(From OE-Core rev: 30f5c80943f69884b3d7323b540c8bb0f1efd8fd)
(From OE-Core rev: a8b476e7d6a5bf43cceb8c7b2610c9b66fe2f33e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I discovered that we were not running autoreconf (and cannot due to the
unconvential file structure upstream), so manually run autoconf and move the
generated configure to the right place as we do already for gnu-configize.
Update no-x.patch (now that it is actually being used) so that it doesn't break
the build.
Patch out the use of INST_LIB_DIR in slsh/Makefile.in as this is the *target*
path, so is inappropriate to link to. This means we can remove the custom
do_install() which was working around the problem.
Remove all rpath patches (now overwritten by autoconf) and replace
with just passing RPATH='' via oe_runmake.
Remove the library search path patches (now overwritten by autoconf) and replace
with passing explicit pointers to the sysroot in the options.
[ YOCTO #10969 ]
(From OE-Core rev: 48fe39b09fbac973ba188938ab2a080f71ee8d68)
(From OE-Core rev: 3506898dbd62bb028349b83e1538a7ea665c3d1c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default these pull in binutils-cross since they're a cross tool
and pull in any native tool requirements. In reality they don't
need such tools at build time or runtime since they're scripts.
Therefore clear the dependency and save on some processing time.
(From OE-Core rev: 63796765122e2eee2b78930797d571acb5c244d1)
(From OE-Core rev: 50feffd0917b0ab408b34ded9c2f741a9c4e5b74)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its sad we need to do this but do_install and do_populate_sysroot appear
to change the files in ${B} and this breaks if something works in parallel
like gcc_stash_builddir. We've seen a few too many race errors on the
autobuilder which appear to be from this so make things run in sequence
deterministically for now.
An example failure was this from do_populate_sysroot whilst stash_builddir was running
in parallel:
ERROR: gcc-cross-initial-arm-6.3.0-r0 do_populate_sysroot: split_and_strip_files: 'file
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work/x86_64-linux/
gcc-cross-initial-arm/6.3.0-r0/sysroot-destdir/home/pokybuild/yocto-autobuilder/yocto-worker/
nightly-arm-lsb/build/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/6.3.0-r0/recipe-sysroot-native/
usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/arm-poky-linux-gnueabi-gcov' failed
Exception: subprocess.CalledProcessError: Command '('patchelf-uninative', '--set-interpreter',
'/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/sysroots-uninative/
x86_64-linux/lib/ld-linux-x86-64.so.2', '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/
build/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/6.3.0-r0/sstate-build-populate_sysroot/
recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/arm-poky-linux-gnueabi-gcov')' returned non-zero exit status 1
Subprocess output:
missing section headers
(From OE-Core rev: 75b76eb08c7e344142f0326605aeb6b24e61e38e)
(From OE-Core rev: 7265e99d0b4b662ca7f23d480f2845a309ac57fc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The command was:
s += " -e 's:-L${libdir}:-LOELIBDIR:;'"
s += " -e 's:-I${includedir}:-IOEINCDIR:;'"
s += " -e 's:OELIBDIR:${STAGING_LIBDIR}:;'"
s += " -e 's:OEINCDIR:${STAGING_INCDIR}:;'"
s += " -e 's:-I${WORKDIR}:-I${STAGING_INCDIR}:'"
s += " -e 's:-L${WORKDIR}:-L${STAGING_LIBDIR}:'"
The STAGING_LIBDIR and STAGING_INCDIR now contains WORKDIR, so the
result would be incorrect like:
TCL_INCLUDE_SPEC='-IFIXMESTAGINGDIRTARGET/usr/include/recipe-sysroot/usr/include/tcl8.6'
Note, the "/usr/include/recipe-sysroot" is not needed. Move the last two
sed commands ahead will fix the problem.
(From OE-Core rev: 42e4e36de37b8e06a2ff56172d04d3ffeccfbfae)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows a native package's recipe-sysroot-native to be populated with
that packages native image files. This in turns allows it to be used by
scripts or other tools without creating un-necessary DEPENDS.
An example of this is systemtap-native and the crosstap script.
(From OE-Core rev: 7f6b4359e1f2d9d748d23305a2af73c0efba5928)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
upgrade.py imports oe.recipeutils in meta/lib/ but path to oe.recipeutils
is not provided. This fails populate_sdk_ext.
(From OE-Core rev: 5f140359f859fea9cfe8c8d9c9584bceec875adb)
Signed-off-by: Luck Hoang <huyht1205@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
So that we can easily reproduce configure by:
$ $CACHED_CONFIGUREVARS ./configure $CONFIGUREOPTS $EXTRA_OECONF
[YOCTO #9423]
(From OE-Core rev: a851f57de63fe527e04f2296245e9720c40f9c2e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a typo in the useradd-staticids.bbclass that
causes error during do_install.
If build was configured to use usedadd-staticids and
the recipe included (for example):
USERADD_PARAM_${PN} = "--expiredate '' testUser"
Due to the typo this added the wrong option '--expiredata '
that caused an error.
(From OE-Core rev: 9d26a2f9f52ae9df6aa5e0ee20683ada35c32af1)
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Incorrect data was printed (recipe name instead of epoch number) when
displaying changes in epoch.
(From OE-Core rev: 5e2b1bfb684dc76963f692172f7457c2249c3266)
(From OE-Core rev: d3f4ec2ad5e83f52f7d3824cfe1f5a64f2d81bcf)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add .xz to the list of extensions recognized by patch_path(), so that
compressed patches ending in .patch.xz or .diff.xz are automatically
applied.
(From OE-Core rev: f1a2c45765d14d3ca09657ad1f6b526554af2bb6)
(From OE-Core rev: f50fd7f247d5bb05bc7d1109c574a682067688da)
Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The idea on getTarget is to use kwargs to send custom variables
to different targets, instead of this, a new variable was added
(just used for custom targets) and this broke testexport. So
in order to fix it, just add the custom variable to kwargs.
This fixes the use of getTarget() in testexport class that was
introduced in 1dc8010afd71fe46fb28bb86fb7c07a5fbd3d7cf.
(From OE-Core rev: cf138029a1f18f991fc7a28c81d85884942e9d56)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The word 'uninstall' was spelled incorrectly in various parts of
oeqa files.
(From OE-Core rev: af365e025030436f83b233fa51ecc9c58c58ce3c)
(From OE-Core rev: 9d25188e873645b849584b51a77b86588a51d4ba)
Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Variable WKS_SEARCH_PATH was not fully expanded when used directly
in this expression:
WKS_FULL_PATH = "${@wks_search('${WKS_FILES}'.split(), '${WKS_SEARCH_PATH}') or ''}"
This caused expansion error: bb.data_smart.ExpansionError:
Failure expanding variable WKS_FULL_PATH, .... which triggered exception
SyntaxError: invalid syntax (WKS_FULL_PATH, line 1)
Calling d.getVar instead of directly referencing variables
should fix the issue.
(From OE-Core rev: 20f8fddd28fe46d7e694804de3d894cdf9f7c636)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since 59a99cd8 "oeqa/sdk: Updates sanity tests for minimal eSDK"
we can now run oe-selftests against a minimal eSDK.
We need to increase the layer version so that we can detect this
change in behaviour in our automated testing.
(From OE-Core rev: def3800c7e58d9d1b54ea1df27b190a0f6d1d544)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #9376]
Expanded many of the brief descriptions for the kernel-related
tasks.
(From yocto-docs rev: ee9e54aa9f148e5438cd9bdf7e55d7fa43cc3ec5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section "Maintaining Open Source License Compliance During
Your Product's Lifecycle" had a vew minor typo things (e.g. duplicated
word and some formatting issues). I fixed these.
(From yocto-docs rev: 67beb658445e79129d8aae1739bb33c000367107)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11010]
The second example was incorrect in the glossary entry. Instead
of "1" an image name place holder was in the example. I put "1"
in there.
(From yocto-docs rev: 00ab787d0d90da5c6d384c3669e804c9b2baca53)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10076]
The note on the title page for each manual was brief regarding
where to find the latest version of the manual. I updated the
note to have more detailed information on finding current,
alternate, and latest versions of the manual based on YP
releases.
(From yocto-docs rev: 0ec81465296a7a78309d3039af4d00caa52d2285)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test checks to make sure only the files expected exist in a
container image. Currently only ROOTFS_BOOTSTRAP_INSTALL, gets added to
all images without the user specifying it.
But this test should help if a developer in the future ever silently
adds more than just ROOTFS_BOOTSTRAP_INSTALL, and that the developer can
make sure it also gets removed from a container image.
[YOCTO #9502]
(From OE-Core rev: 4f5e5321fafe491f91d78a35d11afc0dc0527d4b)
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the typical case of a container, the user doesn't particularly care
about the kernel version used. Since using linux-dummy prevents building
a kernel in the most common case, alert the user if they choose a
container image, but don't also specify linux-dummy.
In the cases the user actually does want to build against particular
kernel headers, etc, they can override by setting
IMAGE_CONTAINER_NO_DUMMY = "1".
[YOCTO #9502]
(From OE-Core rev: f0645e172bb839803d616f19307e1e81e0d204c0)
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "container" fstype does very little other than pick tar.bz2 as the
actual image type and disable installation of ROOTFS_BOOTSTRAP_INSTALL.
[YOCTO #9502]
(From OE-Core rev: e45f074b792a43aa2fd84a5a3f0e20bf1d88ad7e)
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we removed the postinst sstate dependency handling code from
setscene_depvalid, we noticed things being installed into the old
style sysroot for rootfs tasks which should not have been there,
causing a performance regression.
Analysis revealed that setscene dependencies were "bubbling" over
sstate tasks when they should have been stopping there. The
'continue' added by this patch avoids this issue and eusures
sstate tasks remain contained to their specific chains.
There was another bug in the code this exposed where the acconting
for tasks as they were removed from sq_revdeps was not correct. In
fixing this, what looks like a workaround in another test can then
be simplified.
After this change, populate_sysroot tasks are no longer depending
on package_write_rpm tasks for example, which would make no sense.
A before/after analysis of image dependencies only revealed improved
dependencies after this change.
Recipe specific sysroots did highlight the issue here since the
behaviour of the sysroot dependencies (and processing with depvalid)
was not matching what bitbake itself was doing, with bitbake being
incorrect. Failures were 'safe' in that too many dependencies would
get installed.
(Bitbake rev: 5ef2cb50041fa7106c8de170af73d2a54cb0b1f0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tinfoil.prepare method can raise Exceptions when is parsing initial
data so add this call inside try, finally to avoid get blocked for
don't call tinfoil.shutdown().
The tinfoil_init function was remove because isn't make sense now since
tinfoil.prepare() needs to be inside try, finally closures.
Example of raised exception and gets blocked:
$ bitbake-layers add-layer ~/repos/meta-openembedded/meta-python/
Traceback (most recent call last):
File "/home/alimon/repos/poky/bitbake/bin/bitbake-layers", line 83, in
main
tinfoil.prepare(True)
...
File "/home/alimon/repos/poky/bitbake/lib/bb/tinfoil.py", line 268, in
run_command
raise TinfoilCommandFailed(result[1])
bb.tinfoil.TinfoilCommandFailed: Traceback (most recent call last):
File "/home/alimon/repos/poky/bitbake/lib/bb/command.py", line 81, in
runCommand
result = command_method(self, commandline)
...
File "/home/alimon/repos/poky/bitbake/lib/bb/cooker.py", line 1314, in
handleCollections
raise CollectionError("Errors during parsing layer configuration")
bb.cooker.CollectionError: Errors during parsing layer configuration
(Bitbake rev: 61ebe9a026652e32f9482f66fc3fe7a8672fc093)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The runqueue expects to be able to run 'bitbake-worker' from PATH, but
for example in the OE extensible SDK, tinfoil is used within devtool
where this isn't the case (we're not exposing bitbake to the user, thus
bitbake's bin directory isn't in PATH).
This fixes devtool modify usage within the extensible SDK which has
apparently been broken since the tinfoil2 changes went in.
Fixes [YOCTO #11034].
(Bitbake rev: 52d87e4a58a52174e8e0b6297abaac8fd93ffcc3)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- In some cases the file descriptor
is held by nfs client and none of os.path.* is catching
that, it could mean that error is not doled out because
client has cached the stat info. In this case we are
out of luck. Needed to catch IOError, which would be
causing the Stale error.
- In download method, update_stamp is invoked
md5sum validation which is found to be throwing
Stale errors.
- Added error handling to fix the stale errors.
(Bitbake rev: 5a53e7d7b017769a6eb0f0a6335735a1fe51a5ec)
Signed-off-by: Balaji Punnuru <balaji_punnuru@cable.comcast.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For spelling's sake, rename Python routine "setup_revisons" to
"setup_revisions."
(Bitbake rev: 4df59b027c02ef39d72476251ccd3fd62fc20bf6)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When constructing an older style single regex, it's possible for BBMASK
to end up beginning with '|', which matches and masks _everything_.
(Bitbake rev: 56ad67017e601c7e0f6085ca84e29c28d8d4519f)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package-depends.dot and pn-depends.dot files are inaccurate, missing
out key dependencies such those made via the [depends] flags. As such
they can be misleading to the user.
They mainly exist for historical reasons, coming from a time before
we had task based execution.
This commit removes the two dated file formats and replaces them with
a recipe-depends.dot which is a flattened version of task-depends.dot.
The old format files are removed if present so that the user can't get
confused about why data might not match between files.
The code is also rewritten to use 'with f: f.write()' syntax as is more
commonly used now.
Also update the docs to match the change.
(Bitbake rev: d3e182bc18ff2894f1efc8aad3d508dd432c996e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The depexp UI has been replaced with taskexp, also remove old
references to goggle and hob.
(Bitbake rev: 814c2b232ea5f88b5ad5031fb9d389c9c594aa01)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The data displayed by the depexp UI is buggy, bitbake can't convey
accurate runtime dependency information.
Convert the UI to become taskexp ("Task Explorer") which provides
a graphical way of exploring the task-depends.dot file. This data
is accurate and being able to visualise the data is an often requested
feature as standard dot file viewers can't usualy cope.
(Bitbake rev: 416a496edc692982af2feec768ac4df8fb799853)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backup are files sometimes are inconsistent and then cannot be
sorted (YOCTO #11043), and more importantly, are not needed in
the initial rootfs, so they get deleted.
Fixes: [YOCTO #11007]
(From OE-Core rev: e5628c80a52f3caeea9d9dc7f67d1b8a61222aef)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the SRCREVs to make Paul Gortmaker's port of 4.9-rt6 active.
(From OE-Core rev: b3e3ef85f5fd64473cae4aa72243665ac1e618e9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A typo introduced an extra } in the logging of the bsp_definition.
While this won't cause problems .. it needs to be fixed!
(From OE-Core rev: 9b95f3fca2a94ca922e05321096e07a11e98f9bb)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit already in 4.9 and 4.8:
intel-quark: Add intel-quark-preempt-rt bsp configuration
While there are intel-quark configurations for the KTYPEs standard
and tiny in bsp/intel-common, there's none for the preempt-rt KTYPE.
Trying to build preempt-rt enabled kernels such as linux-yocto-rt for
intel-quark yields a .config having a potentially misconfigured
architecture. More importantly, however, preempt-rt related CONFIG
options are not enabled. Hence, a build of, e.g., linux-yocto-rt, does
not result in a preempt-rt enabled kernel.
This patch qualifies to be (back)ported to other branches than
master.
Signed-off-by: Christian Storm <christian.storm@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
(From OE-Core rev: e853327447908d1be085a96f8dda1c53305f9552)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg -stable release. Changelog is as follows:
d2e4b66b4ef2 Linux 4.9.9
f2a0409a0850 drm/i915/execlists: Reset RING registers upon resume
72cd604cfd86 fs: break out of iomap_file_buffered_write on fatal signals
bf9ab22c350d iw_cxgb4: set correct FetchBurstMax for QPs
13363b6988f6 x86/irq: Make irq activate operations symmetric
e02136282296 irqdomain: Avoid activating interrupts more than once
c6b0333baea0 iio: health: max30100: fixed parenthesis around FIFO count check
12c2fcf6bcf7 iio: dht11: Use usleep_range instead of msleep for start signal
7baa8491d47d iio: health: afe4403: retrieve a valid iio_dev in suspend/resume
5f0ee562605b iio: health: afe4404: retrieve a valid iio_dev in suspend/resume
54d2ccc4003b iio: adc: palmas_gpadc: retrieve a valid iio_dev in suspend/resume
db0e02ef6b82 staging: greybus: timesync: validate platform state callback
89cc65c1117f USB: serial: option: add device ID for HP lt2523 (Novatel E371)
12a9c11c2e19 usb: gadget: f_fs: Assorted buffer overflow checks.
e40d15fce929 usb: musb: Fix host mode error -71 regression
cbd819e7db3a USB: Add quirk for WORLDE easykey.25 MIDI keyboard
4807725aab0b USB: serial: pl2303: add ATEN device ID
8bc382a9652b USB: serial: qcserial: add Dell DW5570 QDL
0dcbd0aa44e6 KVM: x86: do not save guest-unsupported XSAVE state
bc05a2e940fe dmaengine: cppi41: Fix oops in cppi41_runtime_resume
2c2e7fe7c9c5 dmaengine: cppi41: Fix runtime PM timeouts with USB mass storage
bebb9d75e84d perf/x86/intel/uncore: Clean up hotplug conversion fallout
e6bd712154aa HID: wacom: Fix poor prox handling in 'wacom_pl_irq'
f24bc920612c HID: hid-lg: Fix immediate disconnection of Logitech Rumblepad 2
80246551c7d7 HID: usbhid: Quirk a AMI virtual mouse and keyboard with ALWAYS_POLL
40add19d3897 iwlwifi: mvm: avoid crash on restart w/o reserved queues
97663735a96f iwlwifi: fix double hyphen in MODULE_FIRMWARE for 8000
3d8ec7d2d5f9 pinctrl: intel: merrifield: Add missed check in mrfld_config_set()
2cf6c49264e4 pinctrl: baytrail: Debounce register is one per community
449d3ecfbd76 Revert "vring: Force use of DMA API for ARM-based systems with legacy devices"
16f61dee7e7c Revert "bcma: init serial console directly from ChipCommon code"
12f822d23dee percpu-refcount: fix reference leak during percpu-atomic transition
8ee8ff9e2652 regulator: axp20x: AXP806: Fix dcdcb being set instead of dcdce
1594edd9ea0d vhost: fix initialization for vq->is_le
04eb7db25bb1 mmc: sdhci: Ignore unexpected CARD_INT interrupts
1d88791d5ed5 cgroup: don't online subsystems before cgroup_name/path() are operational
a150e08704b2 can: bcm: fix hrtimer/tasklet termination in bcm op removal
a93ae8dccc3c tracing: Fix hwlat kthread migration
b67c7d39bc28 mm, fs: check for fatal signals in do_generic_file_read()
6cb0497aec81 base/memory, hotplug: fix a kernel oops in show_valid_zones()
72f7419610c8 mm/memory_hotplug.c: check start_pfn in test_pages_in_a_zone()
9e255997c2e1 cifs: initialize file_info_lock
f0c3a0ac3349 zswap: disable changing params if init fails
a3d729526f2f svcrpc: fix oops in absence of krb5 module
743146d347f3 NFSD: Fix a null reference case in find_or_create_lock_stateid()
4c953848c95b powerpc/mm: Use the correct pointer when setting a 2MB pte
8f415333be3a powerpc: Fix build failure with clang due to BUILD_BUG_ON()
bbf69e5197da powerpc: Add missing error check to prom_find_boot_cpu()
73d45909780e powerpc/eeh: Fix wrong flag passed to eeh_unfreeze_pe()
4b70d598c2ee libata: Fix ATA request sense
6d08607ef35b libata: apply MAX_SEC_1024 to all CX1-JB*-HP devices
fc794153c407 ata: sata_mv:- Handle return value of devm_ioremap.
b41615aa7056 perf/core: Fix PERF_RECORD_MMAP2 prot/flags for anonymous memory
3996a91e3bdc perf/core: Fix use-after-free bug
53bed1f64025 crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes
b04a39f88ced crypto: api - Clear CRYPTO_ALG_DEAD bit before registering an alg
2eb8f7c4225a drm/nouveau/nv1a,nv1f/disp: fix memory clock rate retrieval
bd5cefed1ccc drm/nouveau/disp/gt215: Fix HDA ELD handling (thus, HDMI audio) on gt215
c9fb422fd938 drm/amdgpu/si: fix crash on headless asics
20658b3df8b9 pinctrl: baytrail: Add missing spinlock usage in byt_gpio_irq_handler
7396685a1bca HID: cp2112: fix gpio-callback error handling
a18c4584a489 HID: cp2112: fix sleep-while-atomic
dfd713307adb xtensa: fix noMMU build on cores with MMU
f2e24dd91818 efi/fdt: Avoid FDT manipulation after ExitBootServices()
f0c7412edfc1 x86/efi: Always map the first physical page into the EFI pagetables
13e6ef99d23b ext4: validate s_first_meta_bg at mount time
610c2b7ff8f6 PCI/ASPM: Handle PCI-to-PCIe bridges as roots of PCIe hierarchies
(From OE-Core rev: e1866b78d8365855583250877db7f11f98de65df)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits to fix a configuration warning
and to add a tpm configuration feature:
8f3bc608ae61 features: add dm-verity
0ad64750fef1 tpm: avoid warning due to double CONFIG_TCG_TPM
(From OE-Core rev: 7fc93859ce805a604814b1b373d77ecc547e812f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While there are intel-quark configurations for the KTYPEs standard and
tiny in bsp/intel-common, there's none for the preempt-rt KTYPE.
Trying to build preempt-rt enabled kernels such as linux-yocto-rt for
intel-quark yields a .config having a potentially misconfigured
architecture. More importantly, however, preempt-rt related CONFIG
options are not enabled. Hence, a build of, e.g., linux-yocto-rt, does
not result in a preempt-rt enabled kernel.
(From OE-Core rev: bf822184419592bb680fa6886c0d18f105857f0e)
Signed-off-by: Christian Storm <christian.storm@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the 4.9-rt4 new changes:
56a3dd6fb4e9 x86/mm/cpa: avoid wbinvd() for PREEMPT
221db3244e71 pinctrl: qcom: Use raw spinlock variants
43158f23e188 radix-tree: use local locks
109a8fea2c4a cpuset: Convert callback_lock to raw_spinlock_t
3741fb19d20f softirq: wake the timer softirq if needed
(From OE-Core rev: c1fd9a544d2165c0f3d827d3ad3c90f9c7781f09)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker has started doing 4.8 -stable updates. This integrates
his 4.8.18 queue from:
git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux-4.8.y.git
Change log is as follows:
28dda89acd7c Linux 4.8.18
936e79682048 tick/broadcast: Prevent NULL pointer dereference
f22b03e15427 clocksource/dummy_timer: Move hotplug callback after the real timers
8f78db7e5df0 xfs: use GPF_NOFS when allocating btree cursors
1d818a81bac6 xfs: ignore leaf attr ichdr.count in verifier during log replay
62ef2c9c1d94 xfs: don't allow di_size with high bit set
db28776559c7 xfs: error out if trying to add attrs and anextents > 0
fb70f2a64910 xfs: don't crash if reading a directory results in an unexpected hole
ebff27d76e7e xfs: complain if we don't get nextents bmap records
14c3f0b270aa xfs: check for bogus values in btree block headers
31f0f90742a3 xfs: pass state not whichfork to trace_xfs_extlist
430a362685e9 xfs: Move AGI buffer type setting to xfs_read_agi
20aa52b53586 xfs: new inode extent list lookup helpers
c7b75fcea4e6 xfs: fix unbalanced inode reclaim flush locking
e89df591f833 xfs: check minimum block size for CRC filesystems
b04a2c02f4d7 xfs: provide helper for counting extents from if_bytes
f4e7f4cd52b1 xfs: don't BUG() on mixed direct and mapped I/O
49f159ae6e80 xfs: check return value of _trans_reserve_quota_nblks
23bb39fdbb96 xfs: don't call xfs_sb_quota_from_disk twice
d3c7d2aa00d4 tpm_tis: Check return values from get_burstcount.
9fc58e555d78 drm/i915/gen9: fix the WM memory bandwidth WA for Y tiling cases
4f075608d2c4 drm/i915/gen9: unconditionally apply the memory bandwidth WA
55e9c9d00d70 drm/i915: disable PSR by default on HSW/BDW
2c266a9a3631 drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values
e4d1900e15db s390/topology: always use s390 specific sched_domain_topology_level
b04e5322d8a4 powerpc/pci/rpadlpar: Fix device reference leaks
458e63f135d6 PCI: Enable access to non-standard VPD for Chelsio devices (cxgb3)
05a725c46f56 PCI: Support INTx masking on ConnectX-4 with firmware x.14.1100+
8d12795b1eac PCI: Convert Mellanox broken INTx quirks to be for listed devices only
24af87eb2ffa PCI: Convert broken INTx masking quirks from HEADER to FINAL
ec9f277f52e9 PCI: Add Mellanox device IDs
9e7c8ebc1316 staging: media: davinci_vpfe: unlock on error in vpfe_reqbufs()
8c6c73a692c9 f2fs: hide a maybe-uninitialized warning
a91f2c1d4f45 f2fs: remove percpu_count due to performance regression
93634e1cc928 md: MD_RECOVERY_NEEDED is set for mddev->recovery
239b31c50bde crypto: arm64/aes-ce - fix for big endian
a3141467e092 crypto: arm64/aes-xts-ce: fix for big endian
7c26ef18f05a crypto: arm64/sha1-ce - fix for big endian
cb70151453a1 crypto: arm64/aes-neon - fix for big endian
c1c451bea4af crypto: arm64/aes-ccm-ce: fix for big endian
c4957563b255 crypto: arm/aes-ce - fix for big endian
dcb0c4ebc7ad crypto: arm64/ghash-ce - fix for big endian
d60ecc7f02a4 crypto: arm64/sha2-ce - fix for big endian
f9315853c7c1 s390/crypto: unlock on error in prng_tdes_read()
a76c795f53e7 mm, compaction: fix NR_ISOLATED_* stats for pfn based migration
d3b82f9a9716 mm: khugepaged: fix radix tree node leak in shmem collapse error path
ab533014582f mm: khugepaged: close use-after-free race during shmem collapsing
c9777f749c4c mm/hugetlb.c: use the right pte val for compare in hugetlb_cow
0ff00251359e mmc: mmc_test: Uninitialized return value
abe558647a0f PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend
b90b6b8cce53 irqchip/bcm7038-l1: Implement irq_cpu_offline() callback
d6229a05dd06 ima: fix memory leak in ima_release_policy
8cbe9b689467 sbp-target: Fix second argument of percpu_ida_alloc()
fed8068fd1de target/iscsi: Fix double free in lio_target_tiqn_addtpg()
ec92af68808e scsi: mvsas: fix command_active typo
efe08cc6939b ASoC: samsung: i2s: Fixup last IRQ unsafe spin lock call
a5a550bd0768 ASoC: cht_bsw_rt5645: Fix leftover kmalloc
3fcdecb0f9f6 iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped
22604a045edb iommu/vt-d: Fix pasid table size encoding
f7dd8813279b iommu/amd: Fix the left value check of cmd buffer
9a134d29af48 iommu/amd: Missing error code in amd_iommu_init_device()
35a294dd5723 clk: renesas: mstp: Support 8-bit registers for r7s72100
8a7022b2ffad clk: imx31: fix rewritten input argument of mx31_clocks_init()
8b4940dd9224 clk: sunxi-ng: sun8i-h3: Set CLK_SET_RATE_PARENT for audio module clocks
a13af6a13e68 clk: ti: dra7: fix "failed to lookup clock node gmac_gmii_ref_clk_div" boot message
c54f34533601 clk: clk-wm831x: fix a logic error
36c3481984b5 clk: qcom: ipq806x: Fix board clk rates
fdd91f12bebc hwmon: (g762) Fix overflows and crash seen when writing limit attributes
18d749bb756f hwmon: (nct7802) Fix overflows seen when writing into limit attributes
1e6b9473280a hwmon: (ds620) Fix overflows seen when writing temperature limits
0bc18f1d87d9 hwmon: (amc6821) sign extension temperature
4c8493cb90b9 hwmon: (scpi) Fix module autoload
d618b1647e27 platform/x86: fujitsu-laptop: use brightness_set_blocking for LED-setting callbacks
b803e5984015 x86/cpu: Probe CPUID leaf 6 even when cpuid_level == 6
1121b5f49eb7 debugfs: improve DEFINE_DEBUGFS_ATTRIBUTE for !CONFIG_DEBUG_FS
f4b9eaba036c clk: renesas: cpg-mssr: Fix inverted debug check
a25cb9b5744b efi/efivar_ssdt_load: Don't return success on allocation failure
b36f676475bd cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected
40b0bbe612bb ath10k: use the right length of "background"
3e0f61361a82 nl80211: Use different attrs for BSSID and random MAC addr in scan req
3d04e6a06abc mac80211: fix tid_agg_rx NULL dereference
f4ded840a335 drm/i915: tune down the fast link training vs boot fail
2ed2b3cc6ae3 drm/i915/dp: add lane_count check in intel_dp_check_link_status
ac2370c93a40 usb: dwc3: gadget: always unmap EP0 requests
6039272a760e usb: dwc3: ep0: explicitly call dwc3_ep0_prepare_one_trb()
4f76ead23734 usb: dwc3: ep0: add dwc3_ep0_prepare_one_trb()
7acc87fae524 iio: accel: st_accel: fix LIS3LV02 reading and scaling
d59378efa7ac staging: iio: ad7606: fix improper setting of oversampling pins
401316ef7253 mei: move write cb to completion on credentials failures
3ab87b8fd267 mei: bus: fix mei_cldev_enable KDoc
c103d55bb7d7 USB: serial: io_ti: bind to interface after fw download
d302588a910f ARM: dts: sun7i: bananapi-m1-plus: Enable USB PHY for USB host support
56dce131ec69 arm64: dts: hip06: Correct hardware pin number of usb node
0c03658a3e7b USB: phy: am335x-control: fix device and of_node leaks
518a4d8d533c ARM: dts: r8a7794: Correct hsusb parent clock
7780eb2fd54b usb: gadget: Fix second argument of percpu_ida_alloc()
a3ff51875d83 USB: serial: kl5kusb105: abort on open exception path
5f8a0a2fd33b ALSA: usb-audio: Fix bogus error return in snd_usb_create_stream()
fb106dc8b847 usb: musb: blackfin: add bfin_fifo_offset in bfin_ops
1bff22506598 usb: gadget: udc: core: fix return code of usb_gadget_probe_driver()
c7c4ad7fce6d usb: hub: Move hub_port_disable() to fix warning if PM is disabled
b7fb0479ecd6 usb: musb: Fix trying to free already-free IRQ 4
217c03eaf10c usb: dwc3: gadget: Fix full speed mode
7de3c659811a usb: dwc3: pci: Fix dr_mode misspelling
6fdac0047799 usb: dwc3: pci: add Intel Gemini Lake PCI ID
220d6521aac2 xhci: Fix race related to abort operation
d3f3b0bd0756 xhci: Use delayed_work instead of timer for command timeout
0da62a5b5242 usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL
997d598c694f USB: serial: mos7720: fix parallel probe
eb9e22ac9265 USB: serial: mos7720: fix parport use-after-free on probe errors
c91243377c8d USB: serial: mos7720: fix use-after-free on probe errors
b756fba5e563 USB: serial: mos7720: fix NULL-deref at open
8cc2ae8e130e USB: serial: mos7840: fix NULL-deref at open
68ab1ccfc085 USB: serial: kobil_sct: fix NULL-deref in write
37ca8378e77c USB: serial: cyberjack: fix NULL-deref at open
fd435e99f5ed USB: serial: oti6858: fix NULL-deref at open
1653f66ba3fb USB: serial: io_edgeport: fix NULL-deref at open
73ec9d58b1c7 USB: serial: ti_usb_3410_5052: fix NULL-deref at open
d1706b42d164 USB: serial: garmin_gps: fix memory leak on failed URB submit
b653000d9b0c USB: serial: iuu_phoenix: fix NULL-deref at open
427bac51ce67 USB: serial: io_ti: fix I/O after disconnect
59f740cd834c USB: serial: io_ti: fix another NULL-deref at open
2ef82cf063c8 USB: serial: io_ti: fix NULL-deref at open
8d5f29b2d578 USB: serial: spcp8x5: fix NULL-deref at open
e1fe8df45b74 USB: serial: keyspan_pda: verify endpoints at probe
10da95b6a2eb USB: serial: pl2303: fix NULL-deref at open
e29498ba6e1f USB: serial: quatech2: fix sleep-while-atomic in close
05859d754d6f USB: serial: omninet: fix NULL-derefs at open and disconnect
be17e1c916ce usb: return error code when platform_get_irq fails
0e9fc72194ce usb: xhci: hold lock over xhci_abort_cmd_ring()
527f810d8a86 xhci: Handle command completion and timeout race
c18ca85fd6de usb: host: xhci: Fix possible wild pointer when handling abort command
67a7de5a2f35 usb: xhci: fix return value of xhci_setup_device()
775a2bec9cdf xhci: free xhci virtual devices with leaf nodes first
80c502e0ce6f usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Apollo Lake
d3a9f7c7e8c4 usb: xhci: fix possible wild pointer
5ded28d83128 usb: gadget: composite: Test get_alt() presence instead of set_alt()
16718d267e09 USB: dummy-hcd: fix bug in stop_activity (handle ep0)
47acb8434892 USB: fix problems with duplicate endpoint addresses
a45f34e820c6 USB: gadgetfs: fix checks of wTotalLength in config descriptors
27b4d04d1b87 USB: gadgetfs: fix use-after-free bug
cd4da96b1bac USB: gadgetfs: fix unbounded memory allocation bug
1fa95887b663 usb: gadgetfs: restrict upper bound on device configuration size
e4efa88511eb usb: storage: unusual_uas: Add JMicron JMS56x to unusual device
05ace125078d usb: musb: dsps: implement clear_ep_rxintr() callback
38caa4d8986e usb: musb: core: add clear_ep_rxintr() to musb_platform_ops
483c56831853 KVM: MIPS: Flush KVM entry code from icache globally
08aa895b61e1 KVM: MIPS: Don't clobber CP0_Status.UX
d33b04df932e KVM: x86: reset MMU on KVM_SET_VCPU_EVENTS
e3843cdbf81a drm/i915: Force VDD off on the new power seqeuencer before starting to use it
dbce182845b4 gcc-plugins: update gcc-common.h for gcc-7
970150316c04 mac80211: initialize fast-xmit 'info' later
cf3b94f8fe70 ARM: davinci: da850: don't add emac clock to lookup table twice
391c21a9ab0a parisc: Mark cr16 clocksource unstable on SMP systems
684f6df20889 fscrypt: fix renaming and linking special files
6c55d3ad7fb3 ALSA: usb-audio: Fix irq/process data synchronization
3074297922e2 ALSA: hda - Apply asus-mode8 fixup to ASUS X71SL
81a35981225c ALSA: hda - Fix up GPIO for ASUS ROG Ranger
576b9d7789d8 iio: bmi160: Fix time needed to sleep after command execution
ad2a1ae984c6 iio: max44000: correct value in illuminance_integration_time_available
ee8e4a73dbf6 iio: common: st_sensors: fix channel data parsing
(From OE-Core rev: 1a3daa89e28d58d35692cd2ae2af3e49c9f536fb)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable releases. Changelog is as follows:
c8ea2f3b8247 Linux 4.9.8
b5b4d4a9141e xfs: fix bmv_count confusion w/ shared extents
5d44dd54bd57 xfs: clear _XBF_PAGES from buffers when readahead page
29f96b7e9023 xfs: extsize hints are not unlikely in xfs_bmap_btalloc
aab858dabd5e xfs: remove racy hasattr check from attr ops
29094164ea99 xfs: verify dirblocklog correctly
214d55efa255 xfs: fix COW writeback race
29f319275e76 xfs: fix xfs_mode_to_ftype() prototype
d062d90c35f2 xfs: don't wrap ID in xfs_dq_get_next_id
d3201a14b36a xfs: sanity check inode di_mode
43ce5921773b xfs: sanity check inode mode when creating new dentry
b5f68e24cc7b xfs: replace xfs_mode_to_ftype table with switch statement
4fac84ba1da7 xfs: add missing include dependencies to xfs_dir2.h
e5325fcf70b1 xfs: sanity check directory inode di_size
624e54b5aff1 xfs: make the ASSERT() condition likely
4f4d5082ec73 xfs: don't print warnings when xfs_log_force fails
e9b776519107 xfs: don't rely on ->total in xfs_alloc_space_available
6b81365b1e57 xfs: adjust allocation length in xfs_alloc_space_available
c63f4d3aa09d xfs: fix bogus minleft manipulations
d20e4ad06c4b xfs: bump up reserved blocks in xfs_alloc_set_aside
9f42bc4f9c1c net: dsa: Bring back device detaching in dsa_slave_suspend()
e972cce0c833 lwtunnel: Fix oops on state free after encap module unload
89c2588627c2 net: Specify the owning module for lwtunnel ops
087c2ecb21af qmi_wwan/cdc_ether: add device ID for HP lt2523 (Novatel E371) WWAN card
93ff5e03bcba af_unix: move unix_mknod() out of bindlock
37b27b20a8a9 r8152: don't execute runtime suspend if the tx is not empty
ad864d9fce0e net: mpls: Fix multipath selection for LSR use case
74423145d931 bridge: netlink: call br_changelink() during br_dev_newlink()
087dced61adc net/mlx5e: Do not recycle pages from emergency reserve
0c687a735cdb tcp: initialize max window for a new fastopen socket
79453ab88164 ipv6: addrconf: Avoid addrconf_disable_change() using RCU read-side lock
e9db042dca20 lwtunnel: fix autoload of lwt modules
b335e6566661 net: phy: bcm63xx: Utilize correct config_intr function
948e137ad9ba net: fix harmonize_features() vs NETIF_F_HIGHDMA
d1c95f9ce102 vxlan: fix byte order of vxlan-gpe port number
1e7cbb413f63 virtio-net: restore VIRTIO_HDR_F_DATA_VALID on receiving
3eab5dd0eb19 virtio: don't set VIRTIO_NET_HDR_F_DATA_VALID on xmit
b260a714a638 net sched actions: fix refcnt when GETing of action after bind
2d6b61ec9d3a ax25: Fix segfault after sock connection timeout
c7a5df92d1e8 ip6_tunnel: Account for tunnel header in tunnel MTU
08e650708dd0 ravb: do not use zero-length alignment DMA descriptor
77ce30dc4df4 mlx4: do not call napi_schedule() without care
18767acb7b67 openvswitch: maintain correct checksum state in conntrack actions
3524f64224bd tcp: fix tcp_fastopen unaligned access complaints on sparc
b66b1f5ac33d net: systemport: Decouple flow control from __bcm_sysport_tx_reclaim
958bb1bdc2c2 net: ipv4: fix table id in getroute response
6980c52c4efb net: lwtunnel: Handle lwtunnel_fill_encap failure
ec1aa8d49532 mlxsw: pci: Fix EQE structure definition
4ec59d1fe470 mlxsw: switchx2: Fix memory leak at skb reallocation
7c249f3306b6 mlxsw: spectrum: Fix memory leak at skb reallocation
5b3df4401064 netvsc: add rcu_read locking to netvsc callback
a37f2311e63c r8152: fix the sw rx checksum is unavailable
fd2ffe57dda0 Linux 4.9.7
b59dd202f231 drm/i915: Remove WaDisableLSQCROPERFforOCL KBL workaround.
922813f4d66f perf/core: Fix concurrent sys_perf_event_open() vs. 'move_group' race
f5f415c13209 mm, memcg: do not retry precharge charges
98185d4b18a1 platform/x86: intel_mid_powerbtn: Set IRQ_ONESHOT
adb260d15134 platform/x86: mlx-platform: free first dev on error
776050a9b55e virtio_mmio: Set DMA masks appropriately
143a9ad4e68c memory_hotplug: make zone_can_shift() return a boolean value
da1fdb8456ac pinctrl: baytrail: Rectify debounce support
583eded5860b pinctrl: uniphier: fix Ethernet (RMII) pin-mux setting for LD20
35948ae694c0 pinctrl: broxton: Use correct PADCFGLOCK offset
668a827a6c9d s5k4ecgx: select CRC32 helper
9a335996bfcf IB/rxe: Prevent from completer to operate on non valid QP
fed1e89a16e3 IB/rxe: Fix rxe dev insertion to rxe_dev_list
c81ee4ed9c0d IB/umem: Release pid in error and ODP flow
d7c3d7e453b7 drm/i915: Check for NULL atomic state in intel_crtc_disable_noatomic()
181478cdb75e drm/i915: Fix calculation of rotated x and y offsets for planar formats
ff4956555513 drm/i915: Don't init hpd polling for vlv and chv from runtime_suspend()
8d7c76ae613e drm/i915: Don't leak edid in intel_crt_detect_ddc()
2cff678d0bb5 drm/i915: prevent crash with .disable_display parameter
9913aca2d587 drm/i915: Clear ret before unbinding in i915_gem_evict_something()
1b8ff91ae545 v4l: tvp5150: Don't override output pinmuxing at stream on/off time
11e5015ae1d1 v4l: tvp5150: Fix comment regarding output pin muxing
d25f9bfeb62f v4l: tvp5150: Reset device at probe time, not in get/set format handlers
fe6531075e1d pctv452e: move buffer to heap, no mutex
0bd3cb8d470b iw_cxgb4: free EQ queue memory on last deref
cb1d48f55a6d SUNRPC: cleanup ida information when removing sunrpc module
5637949edb50 NFSv4.0: always send mode in SETATTR after EXCLUSIVE4
0a7023506112 NFSv4.1: Fix a deadlock in layoutget
73fdda3b01cd nfs: Don't increment lock sequence ID after NFS4ERR_MOVED
2b95f1210e50 parisc: Don't use BITS_PER_LONG in userspace-exported swab.h header
ca332b96ba62 ARC: [arcompact] handle unaligned access delay slot corner case
9d5f2c151ec0 ARC: udelay: fix inline assembler by adding LP_COUNT to clobber list
50f5972cc231 can: ti_hecc: add missing prepare and unprepare of the clock
9f56548b0077 can: c_can_pci: fix null-pointer-deref in c_can_start() - set device pointer
a1af471b4151 IB/srp: fix invalid indirect_sg_entries parameter value
c2293e76babe IB/srp: fix mr allocation when the device supports sg gaps
24be606cd3b4 IB/iser: Fix sg_tablesize calculation
95600605ffaa IB/cxgb3: fix misspelling in header guard
d7f56ee1198a s390/ptrace: Preserve previous registers for short regset write
62d7f2123f19 s390/mm: Fix cmma unused transfer from pgste into pte
97a2e39b7ab9 RDMA/cma: Fix unknown symbol when CONFIG_IPV6 is not enabled
ffb97c11d05f Btrfs: remove ->{get, set}_acl() from btrfs_dir_ro_inode_operations
ad80fada9d6d Btrfs: disable xattr operations on subvolume directories
79babd4a6ce2 Btrfs: remove old tree_root case in btrfs_read_locked_inode()
959f9709c025 ISDN: eicon: silence misleading array-bounds warning
485952414360 xfs: prevent quotacheck from overloading inode lru
03707d6c36f9 sysctl: fix proc_doulongvec_ms_jiffies_minmax()
c7556867782e userns: Make ucounts lock irq-safe
13e39d5930ec vring: Force use of DMA API for ARM-based systems with legacy devices
96e5cec10e7a mm, page_alloc: fix premature OOM when racing with cpuset mems update
b678e4ff7ce0 mm, page_alloc: move cpuset seqcount checking to slowpath
d1656c5aef4d mm, page_alloc: fix fast-path race with cpuset update or removal
ade7afe9dca6 mm, page_alloc: fix check for NULL preferred_zone
9b1a1ae9b528 mm/mempolicy.c: do not put mempolicy before using its nodemask
6676aa65464f mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp
a2104c7cd3b2 drm/atomic: clear out fence when duplicating state
bbae3c452596 Revert "drm/radeon: always apply pci shutdown callbacks"
5270c017f19f drm/vc4: fix a bounds check
cfba2a001d0e drm/vc4: Return -EINVAL on the overflow checks failing.
b9edac54cb85 drm/vc4: Fix an integer overflow in temporary allocation layout.
32600835ebe1 drm/vc4: Fix memory leak of the CRTC state.
4c741e2adb35 drm/i915: Ignore bogus plane coordinates on SKL when the plane is not visible
f1dc9aaee029 drm: Fix broken VT switch with video=1366x768 option
2abb7f408f7c drm: Schedule the output_poll_work with 1s delay if we have delayed event
e4be4d4942b9 tile/ptrace: Preserve previous registers for short regset write
544160b6ea18 fbdev: color map copying bounds checking
(From OE-Core rev: 83722e881167e3b6414a9a83056f7a25ee23ae91)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In some cases it is seen that kernel_checkout and validate_branches are
run again in simultaneous builds. During do_patch the kgit-s2q mechanism
looks for a sentinel file inside the .git directory, finds a fence post
and starts picking up patches after that.
This can create trouble as validate_branches checks out the HEAD of the
branch and so the patches should be reapplied rather than skipped due to
finding of the fence post.
We can call kgit-s2q --clean to remove the sentinel file when the
branches are checked out.
(From OE-Core rev: d57aeafdd2b49010a9fa6d1cd9d10f3cfd5754a5)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also run sanity check for all additional multiconfig configurations
as listed in BBMULTICONFIG, not just the "default" configuration.
[YOCTO#10810]
(Bitbake rev: b9777374cbe63cdcf80767033f628c26d23e90f9)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add wic.bmap file extension support for toaster
(Bitbake rev: 6a3f6f1b5cc9ec69b28bebf70daed7579c60cd9e)
Signed-off-by: Sujith H <sujith.h@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a superfluous section in toaster start/stop script that was
setting the TOASTER_DIR and had a set of comments around that setting.
This was done in two places and only the last one was effective. This
patch removes the spurious section to make it clearer what was
happening and what TOASTER_DIR was actually getting set to.
(Bitbake rev: e551e73a094f5a1937bce78de9e41908bf3e07c3)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The toaster.sqlite database was located in TOASTER_DIR/build. This
meant that if you named your build directory something else (like cow),
Toaster would fail to make/find the database. TOASTER_DIR is on the
whitelist unlike BUILDDIR and we need to be able to write there anyway
given our current layout so this should not disrupt anything.
[YOCTO #9992]
(Bitbake rev: 2c48168a86309c0cf2be793e7409a78ba21fca14)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a superfluous section in toaster start/stop script that was
setting the TOASTER_DIR and had a set of comments around that setting.
This was done in two places and only the last one was effective. This
patch removes the spurious section to make it clearer what was
happening and what TOASTER_DIR was actually getting set to.
(Bitbake rev: 1f0eac0a172a4fbe1799675f2c3ce989743bd862)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that the datastore works dynamically we don't need the update_data calls
so we can just remove them. They're not actually done anything at all for
a while.
(Bitbake rev: 2300beb50333bb620013b058a7309e7f2042101d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Moved creation of PartitionedImage object from DirectPlugin.create
method to init. It makes the code a bit more readable and logical.
(From OE-Core rev: 9f225ef5620f2e47e762b2fd16fa5f8d6f1f60fd)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Moved the code that generates real partition numbers from DirectPlugin
to PartitionedImage.
The idea is to have all code that works with partitions
in PartitionedImage class.
(From OE-Core rev: dbd58b0b32288821d9dd5d1a3118cf7c6e8f098a)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Moved code that calls prepare method of Partition objects
from DirectPlugin to PartitionedImage.prepare.
The idea is to have all code that works with partitions
in PartitionedImage class.
(From OE-Core rev: 700aa424f0aa239cf4149eed4bfb1dc7d9677431)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Moved setting of bootloader source from do_create method
to __init__ as it doesn't have anything to do with image
creation.
(From OE-Core rev: 361b890da1c7b24de0a62516545e4c164830081d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Moved code that generates partition UUIDs from DirectPlugin to
PartitionedImage class as it's more logical to have it there.
This allows the code to be reused by other imager plugins.
Got rid of having yet another list of partitions in PartitionedImage.
Reused the list passed from DirectPlugin.
(From OE-Core rev: 20c70dd617d4abfff507e210610a58a9989f7c9b)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replaced call of _get_part_num method with an attribute.
This eliminates the need to call the method and loop over
partitions every time we need to know realnum for partition.
(From OE-Core rev: 96a26b6ddf22346dafa06b00816579439e98445f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't transform ImagerError exception into warning.
Let wic to catch it on the upper level.
(From OE-Core rev: 0cc84c81dd4a776aa37c8d1bcdcc3fa3af78d1e4)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed java-like setter set_bootimg_dir. It's more pythonic
to access public attributes directly.
(From OE-Core rev: c2a6ca4883ea59e6492ad3b4aa0e9bc358b87fed)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set default value of --ondisk to 'sda' to ensure
we always have disk name for the partition.
This is a first step of replacing --ondisk with
disk <name> attribute of .wks. This is better as
all partitions share the same disk.
(From OE-Core rev: caa243a86ba50c676f8eb0a71440885a49f10cc4)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This file and utils/oe folder are not needed anymore as
all modules were removed or moved out of this directory.
(From OE-Core rev: e3b73b1c07620cde423cc7db7e2f7d8b1ad25e25)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As PartitionedImage is only used in direct.py it makes sense
to move it there. It's easier to maintain (and refactor) it
this way.
(From OE-Core rev: 2550622371f5c50857e5d58eabab01a1823c6fc3)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Disk operations were spread over DirectPlugin, DiskImage and Image
code making the code hard to understand.
Renamed Image class to PartitionedImage.
Removed DiskImage class.
Moved disk operations to PartitionedImage.
There was an implicit support for multiple disks: if different devices
were specified in .wks file (e.g. --ondisk sda and --ondisk sdb), wic
would theoretically generate multiple images. This is quite confusing
option and the code supporting it was broken for a long time. The same
effect (multiple output images) can be achieved in obvious and clear
way - by using multiple .wks files.
This functionality was removed. PartitionedImage works only with
one image. This makes the code less complex and easier to maintain.
(From OE-Core rev: 4dc9dbfc7fbc16d349a019e8973d50905cd28244)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Based partially on an earlier patch by Maciej Borzecki.
Note that because tools now reside in recipe specific sysroots, we
need to import the path from bitbake and apply it during the test.
(From OE-Core rev: c826233ad08ee5a4b9943a05d4e73f3fb3281588)
Signed-off-by: Kristian Amlie <kristian.amlie@mender.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It will omit the given path from the resulting partition, and if the
given path ends in a slash, it will only delete the content, and keep
the directory.
Since mkfs only accepts whole directories as input, we need to copy
the rootfs directory to the workdir so that we can selectively delete
files from it.
Since we want to use the copyhardlinktree() function, we need to put
the generic oe lib in the module search path.
(From OE-Core rev: 6602392db3d391d926dead49fcc54326015cfe35)
Signed-off-by: Kristian Amlie <kristian.amlie@mender.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no need to pass scripts_path from main wic module
down the stack as it's not used there.
Removed scripts_path argument from DirectPlugin class
and wic_create function.
(From OE-Core rev: f9f72c506befdff13260f37ded0beaea3aa30fad)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Partition attributes were copied to the dictionary in partitionedfs
code, which makes the code hard to follow.
Used partition object passed from direct.py module as is in
partitionedfs.
(From OE-Core rev: 97db24d34847a641868f9ee83aae56f9dd5e0a8a)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replaced _get_parts getter with direct attribute
access to self.parts
Removed code that implicitly created partition
if there are no partitions mentioned in .wks file
(From OE-Core rev: 7ece57a80f4002d0d83dc322092e9178380ab509)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Renamed private methods with leading double underscores:
__create_partition -> _create_partition
__add_disk -> _add_disk
There is no point to have those names mangled, one underscore
is enough.
(From OE-Core rev: 26f3218070d34ccd4e81fa3b8e1a15c03583d070)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 lines long private method __add_partition is called only
from add_partition method. Merged them together to increase
readability.
(From OE-Core rev: b7fb20fffada61211dda6d41f99407618428f23c)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Private method __format_disks is called only from create
method making the code less readable. Merged the code
into one method.
(From OE-Core rev: b76b1bd404487df38fd99bc0d0e6a59acb10c9d3)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Libraries must be linked with "-lm", otherwise gold fails to link
binaries with those libraries.
(From OE-Core rev: 9175164380b50852a21a05d4e81294394c5486f4)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
strace-4.15: /usr/lib/strace/ptest/tests/caps-abbrev.awk contained in package strace-ptest requires /bin/gawk, but no providers found in RDEPENDS_strace-ptest? [file-rdeps]
The path should be /usr/bin/gawk as other scripts use in this package.
(From OE-Core rev: e71c205d7672d33ad00a5a5c6c41452746c77e2f)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The LIC_FILES_CHKSUM is changed because the date is changed, here is
diff result:
< Copyright (c) 1997-2017 University of Cambridge
(From OE-Core rev: 5ad1c48cf7819eb12138706503106c7253c84df8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Rebased Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch.
* The mkfs.ext4dev is gone.
(From OE-Core rev: 54a012bff9430a8e973ddef61d14ac10d9ec9ed3)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use RRECOMMENDS for the udev hardware data base, to allow for this
to be suppressed if desired (saves many MB - useful for smaller systems)
(From OE-Core rev: b9035db1c6915020a394c455f8dab48936aa851a)
Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent kernel build jvmti, java profiling agent, if a host jdk is
detected. The library will be packaged in -dev and throws a qa error.
Disable the jvmti build per default.
(From OE-Core rev: c2cae2874d88c8e41e12da04198b5368d9968131)
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to cd to the target directory when creating symlinks, so don't.
[ YOCTO #10985 ]
(From OE-Core rev: 64d75438955c39e01187e897e9df47c93ac6c45a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In git://sourceware.org/git/elfutils.git:
----------------
commit 1700fd25e6caf26663af2bd994d1d99fab9df59f
Author: Mark Wielaard <mark@klomp.org>
Date: Sat Dec 24 22:31:41 2016 +0100
http://elfutils.org/ is now hosted at http://sourceware.org/elfutils/
fedorahosted used to be our home, but we are now hosted at sourceware.
Change the elfutils project home to http://elfutils.org/
Point hosted services (email, release, git, bug tracker and web pages)
to https://sourceware.org/elfutils/
Move design notes from README to NOTES.
Add URLs for home, releases, bugs, git and mailinglist to README.
Make the --version output of all tools the same by using a common
print_version function and update the publicly shown copyright holder
to the elfutils developers.
Signed-off-by: Mark Wielaard <mark@klomp.org>
------------------
(From OE-Core rev: 8c25c6999c990d63dfeb35b411ae40554553f433)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Backport patches from debian to 0.168 and add US tags.
- Rebase 0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch to support libc musl
(From OE-Core rev: 13e5819dc4ef44d99d0f22686365fd3c988d6bce)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- errorref.txt is part of the documentation so should be in PN-doc.
(From OE-Core rev: 9bbd661303473b8ecf51cdaa25510c90ea926387)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Drop gpgme.pc, it is duplicated with pkgconfig.patch
- Rebase pkgconfig.patch to 1.8.0
- Split cmake config to ${PN}-dev
- Update LIC_FILES_CHKSUM, because copytright year changed.
- The libgpgme-pthread is obsolete by upstream;
- Add package libgpgcpp;
TODO: Do not remove gpgme-pthread.pc from pkgconfig.patch,
the upstream explains:
git://git.gnupg.org/gpgme.git
commit 09b64554328445e99a8cc78fc34ea49c2ea2e7f9
------------------------------
libgpgme-pthread is removed but gpgme-config still supports
--thread=pthread for compatibility with find scripts.
------------------------------
(From OE-Core rev: 62b91f655977bdf2faaf53443c47785738c1d0f6)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise this fails to build the libraries:
relocation R_X86_64_PC32 against undefined hidden symbol `__init_array_start'
can not be used when making a shared object
(From OE-Core rev: 632eee4fbd4627482aae752eb41104b3a848fd58)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update LIC_FILES_CHKSUM md5 checksum, because "http" has been
changed to "https".
(From OE-Core rev: ec672ab878ca203385b3fbd764c17af6b56d8475)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
watchdog-keepalive is a simplified version of the watchdog daemon
and can't be installed along with watchdog daemon, we need to
choose which daemon install.
(From OE-Core rev: 35e36f7f2d1f7e3ef70ba473a91fb6f946752f1b)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configure.ac uses pkg-config now and this macro doesn't exist in the tarball
anymore, so remove the deletion.
(From OE-Core rev: 371ec2cb0ed5b04082b29b949cb831d69a8ebb32)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we've fixed the string formatting issue in console-tools, we don't
need to override SECURITY_STRINGFORMAT for console-tools any more.
[YOCTO #9540]
(From OE-Core rev: 3883332f84d9da0792c2c7337e842da34ea1b06c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix string formatting issue in console-tools. Otherwise, when compiling with
'-Wformat -Wformat-security -Werror=format-security', we would have compilation
error.
[YOCTO #9540]
(From OE-Core rev: bee65a820842c233e74502ee2af0a6223c60b45f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to fix userns05 case:
<<<test_output>>>
user_namespace5 1 TFAIL : userns05.c:95: userns:parent should be not equal to cpid2
user_namespace5 1 TFAIL : userns05.c:95: userns:parent should be not equal to cpid2
user_namespace5 0 TINFO : Child process returned TPASS
user_namespace5 0 TINFO : Child process returned TPASS
user_namespace5 0 TINFO : Child process returned TFAIL
incrementing stop
Rename the previous patch to add a number prefix
(From OE-Core rev: b96c5d18839cff345a3a2c4b952dd62aad119121)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch from 2.7 branch to fix a regression with glibc
2.24 causing "OSError: [Errno 38] Function not implemented" when
calling urandom() with older kernels.
(From OE-Core rev: 3f2be1c857a44030478ce25b4a722667b73de446)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update to the newly minted 1.8.2, dropping several patches we'd
backported since the last release.
(From OE-Core rev: 6437f14c9177fd7ec7a9b6bca873362b0c94abfb)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit be0cabf816 on 2016/05/17, smartpm will retry the transaction if ts.run() returns with an empty list of problems, and we're in attempt mode.
But then, since all the packages are already installed, the transaction will fail with "package already installed" error.
In attempt mode, it's fine to not retry nor generate an error when the transaction fails for no reason linked to files/packages conflicts, so this patch fixes this behaviour.
(From OE-Core rev: 327f263be285525adcbbf472db6ac7722c84ac2f)
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Relase notes:
https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/10.0/
The checksum of the LICENSE file changed due to some clarifications.
There were no changes to the actual licensing terms.
The LICENSE variable was not accurate, so I made changes to it.
Specifically:
* there's no GPL code in PulseAudio so I dropped GPL from the list
* the LGPL code allows using later versions of the license rather than
limiting to just 2.1
* there are some MIT and BSD licensed bits
I added more files to LIC_FILES_CHKSUM to have better coverage of all
the differently licensed code.
Dropped json-c and gdbm from DEPENDS. The new release doesn't use json-c
any more. gdbm isn't used when --with-database=simple is passed to
configure, so it should have been removed from DEPENDS a long time ago.
The new release dropped the Xen module, so the --without-xen configure
option isn't needed any more.
Added a comment for why --without-fftw is used.
Disabled the adrian echo canceller, because it has an unusual license,
and disabling the code was simpler than adding a new license to OE-Core.
Dropped upstreamed patches.
(From OE-Core rev: 4ddaf28fd36294fd940f26d55973da20eeeeb0d8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop the two patches that add the ability to disable GLX, this has been added
upstream.
Drop the Python3 patch as the code generator works with Py3 now.
(From OE-Core rev: 8ba197b3ae10a90ca988f0021597dfd20463c2d2)
(From OE-Core rev: 0066327d79b2ea942c414208a3daa0ecf4361730)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
because of the way that the test cases are looked in the results,
the file logger is incompatible with extended implementations of the
unittest runner.
as the xml runner extends the unittest runner, it shares the id()
method which returns the full name of the test, not only the test
function name. With that, a single check of the full name reviews at
the same time the class name as well as the function name.
[YOCTO#11012]
(From OE-Core rev: 19b025333846018fd3e4ee4ca5cc18d375fa6213)
Signed-off-by: Benjamin Esquivel <benjamin.esquivel@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop support for committing results into Git repository. The
functionality was not directly related to testing and feels unnecessary
complication of the script. The functionality has been moved into a
separate oe-git-archive script.
[YOCTO #10582]
(From OE-Core rev: 4de387c0cfcb6b58760c6b6e150474abe82bfe4c)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A helper script for committing data to git and pushing it upstream. The
motivation for the script stems from the need to archiving QA test
results in git, but it could be used elsewhere, of course. The script
needs to be run under an initialized build environment because it
utilizes bitbake configuration information.
[YOCTO #10582]
(From OE-Core rev: 801e612b137b9d5366639d5b1635151347da5983)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stop capturing output of the shell commands into <test>/commands.log.
Redirecting output into a file prevented the unittest framework from
capturing it, causing useless errors (with empty output) like:
oeqa.utils.CommandError: Command '['bitbake', 'core-image-sato']'
returned non-zero exit status 1 with output:
In general, the console output of commands is only interesting when
something fails. Also, dropping the commands.log file is a huge saving
in disk space, and thus, repository size when results are archived in
Git.
(From OE-Core rev: e004664287ec03e7367a7bf553d9a3038444e82e)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recipes have the option of specifying a 'beginline' and 'endline'
options in LIC_FILES_CHKSUM which will cause the license bbclass to
only extract those specific lines from the license file when generating
the license database.
(From OE-Core rev: 515f4c129ad27e9502621738d0bf7f5552627f19)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unlike rpm, debian packaging does not allow file paths in 'Provides:' field.
When 'usrmerge' distro feature enabled bash/busybox packages adds '/bin/sh' to
it's RPROVIDES to satisfy build dependencies, this entry should be filtered out.
(From OE-Core rev: a36165ea8bf8c7a061a0173076c83ae6806d65b6)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove several old/untested distros from the list:
* poky-1.8 and poky-2.0 are no longer supported releases
* ubuntu-14.04 is an LTS but we plan to remove it from the
project's autobuilder cluster as the kernel is old and
it doesn't use systemd -- therefore this will no longer
be tested.
* ubuntu-14.10 and ubuntu-15.10 are no longer supported
* fedora-22 and fedora-23 are EOL
* opensuse-13.2 is discontinued
Add opensuse-42.2, it's the openSUSE version we run on the Yocto
Project autobuilder cluster.
The distro support plan is documented on the Yocto Project wiki:
https://wiki.yoctoproject.org/wiki/Distro_Testing_Plan
they are easily summarised as:
- Fedora: most recent 2 releases
- Ubuntu: most recent LTS and latest release, unless they are the same
in which case the most recent 2 releases
- CentOS: latest release
- openSUSE: latest release
(From meta-yocto rev: ba5ad19cbe9066823fe3a3b432a893f4cf67be47)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.1, 4.4, 4,8 and 4.9. Also set
the default kernel to 4.9.
(From meta-yocto rev: 5db023bddd808b01dd7d02c20b3188657c959168)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If for some reason (most likely incorrect TEST_SUITES var)
you end with an empty test suite, testimage will start the
target (qemu by default) and will run an empty suite, so
better have a check before starting the target.
[YOCTO #10979]
(From OE-Core rev: 8345f834a080737f03bee3f0c615dd9654401d93)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When 'populate_sdk_ext' was first introduced in commit bf81d6bb7f6 it
replaced the inheriting of 'populate_sdk_base'. For non-linux targets
building the extensible SDK caused build errors, and the image class was
changed to inherit 'populate_sdk' when targeting a non-linux SDK_OS (in
commmit e471ce3464d). However inheriting 'populate_sdk' instead of
'populate_sdk_base' causes the SDK to always be built, this is not
expected for the image class.
This change makes the image class inherit 'populate_sdk_base' in the
non-linux SDK_OS case so that it behaves the same as it is expected to
behave where 'bitbake <image> -c populate_sdk' must be executed to
generate the SDK deployables.
(From OE-Core rev: b7d6bb07fd37c55d07903a1e8921f17e39afde0a)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using docker with the Fedora 23 container exposed an issue with
the rpm-native configure step. If which is not present the configure
script fork bombs. After much pain, I tracked this to which not being
present in the default container. Add a check for which so others
do not have to have this experience.
(From OE-Core rev: 096c07900250db157bb0c38785b9d8efc6301cab)
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When multible targets are defined it is useful to allow for
a default target along with a timeout. After timeout, the
default target will be selected.
(From OE-Core rev: 1e01c2e32c168805a9b71c1dba4b487916955813)
Signed-off-by: Dalon Westergreen <dwesterg@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we're including all GPL licenses then we should include AGPL in
the default COPYLEFT_LICENSE_INCLUDE since it has similar terms (and
currently we do have one AGPL-licensed recipe in OE-Core, namely db).
(Note that the default list isn't meant to be a guaranteed complete
safe list - seek legal advice based on what you're distributing if
unsure.)
(From OE-Core rev: a16fbf6970056a79cac8b70ce54e55e61ef63a8d)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The changes committed with 6e58f54be103814b6b8a85b236510633c49e6832 did only
consider the vmlinuz ELF kernel but some devices do reqire a raw vmlinuz.bin
(as for example gcw0 in meta-handheld booted by ubiboot).
Expand the above mentioned patch to consider this case.
(From OE-Core rev: 413a5faf99280f4e083358e4134aebbcfa47bb4c)
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Native libcurl looks for CA certs in the wrong place by
default.
* Add patch that allows overriding the default CA certificate
location. Patch is originally from meta-security-isafw.
* Use the new --cacert to set the correct CA bundle path
(From OE-Core rev: 73bd11d5190a072064128cc13b4537154d07b129)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Use --enable-relative-plugins so cve-check-tool looks for
loadable modules relative to binary location instead of
hard-coding a wrong sysroot location
* do_populate_cve_db() assumes that the binary cve-check-update is in
the sysroot. Ensure that this is true by adding a task dependency
(From OE-Core rev: 2da6b01893d0afe8750bd0b12a8d55aafa82f58c)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With recipe-specific sysroots the cve_check task must depend on
cve-check-tool-native:do_populate_sysroot to get the cve-check-tool
binary into the recipe sysroot.
A normal DEPENDS isn't used to avoid cyclic dependencies.
(From OE-Core rev: bd60b1018bc0304bc928701e6d1090c8b1223616)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch implements custom target loading for testimage, currently
missing due to major changes to the test framework.
Custom targets can be defined in various meta-layers, so we
need an extra path information in order to find them.
Any other additional info is retrieved as usual via the variables
TEST_TARGET and TEST_SUITES
(From OE-Core rev: 1dc8010afd71fe46fb28bb86fb7c07a5fbd3d7cf)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has moved to use 01.org and github, Update the various URIs
that track info. S needs to be changed to WORKDIR/git as we are now a
git repo.
(From OE-Core rev: 9f80b36a74d4eb407f9fc4d3afc056c41241cbc6)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change conditional to avoid losing stack traces when log
into the logger. The logic only needs to don't log empty lines.
(From OE-Core rev: 545dd180cc27a69732f2332565038bd06d01c014)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that the datastore works dynamically we don't need the update_data calls
so we can just remove them. They're not actually done anything at all for
a while.
(From OE-Core rev: 8de0c5d3bd01919e2bf0394f9c485936d6098cec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switching between 32 and 64 bit BUILD_ARCH shows:
$ bitbake-diffsigs tmp-sstatesamehash*/stamps/*/nss-native/3.27.1-r0.do_compile.sigdata.*
basehash changed from 944cc4554a823ba966aeda0ac3d33b79 to 2475db3659c248d81d0e4dadb3c1b4cd
Variable SITEINFO_BITS value changed from '32' to '64'
We shouldn't have this dependency and it would fail oe-selftest test_sstate_32_64_same_hash
if nss-native were included, therefore exclude it.
(From OE-Core rev: d1109378d730c5cf50240c4d1a468e3aef5208ea)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current relocation code is broken, at least in the native case. Fixing it
would mean trying pass in new data on sstate tasks about the relative positioning
of symlinks compared to the sstate relocation paths. Whilst we could do this,
right now I'm favouring making this an error and fixing the small number of
problematic recipes we have in OE-Core (3).
(From OE-Core rev: cf94de4ddee3e5072da8608c9151301fcec02cd0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Absolute path symlinks are a bit of a pain for sstate and the native versions
of these recipes currently contain broken symlinks as a result. There are
only a small number of problematic recipes, at least in OE-Core, namely the
three here.
Rather than trying to make sstate handle this magically, which turns out to
be a harder problem than you'd first realise, simply make the symlinks relative
early in the process and avoid all the problems.
The alternative is adding new complexity to sstate which we could really
do without as without the complexity, you can't always tell where the
absolute symlink is relative to (due to prefixes used for native sstate).
(From OE-Core rev: e478550c8cd889f12e336e268e9e3b30827bf840)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need a function to walk a directory and replace absolute symlinks with
relative ones. Add such a function to the path module of lib/oe.
It does this relative to the directory being walked for files.
(From OE-Core rev: 15376e5ff35367c1b40941d10e7b19302058a53e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We used to need to build gcc-cross-initial against a bare sysroot to avoid
contamination. With RSS, we no longer need to do this since the recipe sysroot
is already bare. We can therefore simply point at that and drop this code.
(From OE-Core rev: f70603887f823c14030bb738c4951d7aa3f022db)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removing these nearly halves the python3-native disk footprint meaning
more optimal sysroot operations. We don't need these tests for anything.
(From OE-Core rev: 5c8dda390cacef69bc7996eb26099d55e2b8427b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The change to make do_stash_locale an sstate task between do_install and
do_package has some unforeseen problems since the function deletes part of
${D} but may or may not run depending on whether the task is installed from
sstate.
This cleans up the current "pre packaging" function to be more deterministic
and result in the same set of files, whichever code path we end up reaching
that point by. Its not an ideal sitation but it should avoid the race
failures we've seen on some builds.
(From OE-Core rev: 2a60bba00da9c4e2b1a1ce30e509dba82cc6c94a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The pkgdata test broke due to oe-core cf0fd8b which added alternatives support
to bash, so the binary is now /bin/bash.bash.
Instead of fixing the test case for this new name, use the m4 recipe instead as
it has less build dependencies.
(From OE-Core rev: 68da6c98841f4450736ae170e443aa744c8b77eb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If image type "foo" depends on image type "bar.xz", then dependencies
should be collected from the base image type (ie "IMAGE_DEPENDS_bar")
not from "IMAGE_DEPENDS_bar.xz".
(From OE-Core rev: 8a9f249a9166347cc0468191ce130003e3d306e1)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes it possible to restore the behaviour changed by commit 78cde87
"kernel-module-split: Append KERNEL_VERSION string to kernel module name".
(From OE-Core rev: 4aabdddf67859cd8518e5cb672fb391c859817e0)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes
ERROR: iproute2-4.9.0-r0 do_package: QA Issue: iproute2: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/tc
(From OE-Core rev: eac08770b1ea3ca6640941dc8fd03fc3fa5ff869)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes
ERROR: pcmciautils-018-r1 do_package: QA Issue: pcmciautils: Files/directories were installed but not shipped in any package:
/pcmcia-socket-startup
/pcmcia-check-broken-cis
/rules.d
/rules.d/60-pcmcia.rules
Since we do not have pkg-config in native sysroot it is not
computing paths correctly and causes above error
(From OE-Core rev: 748b14caed95e7c0d45f1196398689a22975dcc9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The monster configure file does call pkg-config somewhere in there.
(From OE-Core rev: 8f7eb210257318dfa630bbc39b3eb9be936fddcc)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The usage of pkg-config is sneakily hidden in do_compile()
(From OE-Core rev: b55186f93163e120c73bacb7400b94c21cfaa675)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the move to tinfoil2, the behaviour when parsing failed has changed
a bit - exceptions are now raised, so handle these appropriately.
Specifically when if parsing the recipe created when running devtool add
fails, rename it to .bb.parsefailed so that the user can run bitbake
afterwards without parsing being interrupted.
(From OE-Core rev: b9592bd3c1ab2155b9f62d18ce593b9c88eff279)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Numbers within SCM (e.g. git) URLs are extremely unlikely to be valid
version numbers - more likely they are just part of the name, thus don't
try to extract them and use them as the version - doing so causes pretty
bad behaviour within devtool:
--------- snip ---------
$ devtool add https://github.com/inhedron/libtr50
NOTE: Fetching git://github.com/inhedron/libtr50;protocol=https...
...
NOTE: Using default source tree path .../build/workspace/sources/libtr
...
RecursionError: maximum recursion depth exceeded while calling a Python object
--------- snip ---------
(This was because ${PV} was being substituted into the URL, but PV's
value was being set to include ${SRCPV}, so there was a circular
reference.)
(From OE-Core rev: 3427508b6ce865654f8bf01a6fc04b83c70315d3)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
npm's package.json supports two types of dependencies -
optionalDependencies and dependencies; in the code for creating a recipe
from a non-npm source (e.g. a git repository) we were not handling
optionalDependencies and thus when pointed at a node.js application
outside of npm we weren't taking care of all dependencies.
(From OE-Core rev: 2b66cb9982d10ce1744d430858eaef3e5a72c8c0)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In do_compile we set HOME so that ~/.npm* only get created in the work
directory; we need to do the same in do_install as well or they'll go
into the user's home directory which we do not want.
(From OE-Core rev: a667cb9ed2dceb804b85d1a024e2619bc34d2681)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Any custom tasks that were added on the image between do_image_complete
and do_build were not being taken into account. Use the newly added
bb.build.tasksbetween() function to take care of that.
(From OE-Core rev: c966dee6208d3b7a9fa3c1b8aa1266058dcb65ff)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A generic version of the code to work out the tasks between two
tasks (based on the code here) has been added to bb.build, so use that
instead.
(From OE-Core rev: 1226e2eb2678407c315befd5700e653602e616a0)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Up until recently it was possible to set SDK_TARGETS to include a native
recipe you wanted installed into the sysroot when installing the eSDK.
I'm not sure what happened but now when you try to add a native recipe
to SDK_TARGETS you get a missing task error because this recipe has no
do_package_write_* task. Of course such a task dependency is erroneous
and is apparently caused by setting SDK_RDEPENDS. I've checked and it
turns out that we no longer need to set SDK_RDEPENDS anyway (probably
because we explicitly set up task dependencies further down in the
class, which I don't think we were fully doing in early versions of the
eSDK). Thus, drop setting this variable to restore the functionality.
(From OE-Core rev: fe8268ede33a8c76492b85da0f41062f47a5279c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A recent devtool change needs bitbake changes so bump the minmium bitbake
version requirement to match.
(From OE-Core rev: e7b624c268cb917c00e88e8e9a6a87585eb98eac)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you abort a build mid execution of the staging extend_sysroot function
there are currently races and cleanup of that function may fail.
This change splits the code into separate phases so that the manifests are
manipulated before files are installed, meaning we should be able to reverse
actions if builds fail, crash or are interrupted.
(From OE-Core rev: fc504b6b8538453d2f058d7cc69be098f52f8091)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is large and needs fixups to relocate it in each case. We can drop it, save
the work and the ~150MB disk space its various copies take up. Its not needed
for anything that I can see.
(From OE-Core rev: 9792ba51c5caf56d182f1290df41f2a89b85f744)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This wastes space/time as the ptest files aren't going to be used in the
sysroot so add them to the blacklist.
(From OE-Core rev: 61591fe2eea588ff92ff7f81f2ed8844617f5307)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Putting the locale and script files into the sysroot for use by their
specific recipes used to be a simple way to share the files. With RSS,
we don't want to copy these into many different recipes so put these
files in their own sstate task.
(From OE-Core rev: c283f2532851e2a65e08fe7b3fd71c5d9abb70f2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When I originally added this check I didn't quite understand how the
values in this field should be expressed - it seems from reading the
documentation if there is an entry starting with '!' then the list is
a blacklist and we shouldn't expect "linux" to be in the list, or we'll
end up skipping important dependencies.
This fixes fetching the "statsd" npm package.
Fixes [YOCTO #10760].
(Bitbake rev: 7aa6d1586417e0e7d9925917a82caee5884957db)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An npm package.json file has two dependency fields: dependencies and
optionalDependencies. An item in optionalDependencies *may* also be
listed in dependencies, but this is not required (and not necessary
since if it's in optionalDependencies it will be optional, adding it to
dependencies won't do anything). The code here was assuming that an
optional dependency would always be in both, that's probably because
that was true of the examples I was looking at at the time. To fix it,
just add the optional ones to the list we're iterating over.
(Bitbake rev: c0c50d43266150a80be31ae2c6fcaf37f5ba231d)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a utility function that gives the list of dependent tasks between
two specified tasks (just within the same recipe). This is intended to
be able to be executed from recipe context so it uses the datastore
rather than having access to the runqueue.
This will be used in OpenEmbedded-Core's populate_sdk_ext.bbclass to
get the list of tasks between do_image_complete and do_build.
(Bitbake rev: 433379bf12cf31fdf46defdf66695cf8be9994b1)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introduce a 4.9 bbappend for the h/w reference BSPs. Since 4.8 will
be removed, we need to have this file in place.
(From meta-yocto rev: 8f93dc8d5e90c321d58ab46dccaa7d8f65c06d13)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit e024cb13eaf7d5bd484995390ba75f3ab85ec0ef as applied
to the wrong repo.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GCC provides some of std* headers including stddef.h
and it syncs with glibc definitions via __needed* defines
to find which datatypes are expected to be defined on top
of glibc. we need same for musl.
Drop unused 0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch
(From OE-Core rev: 7da04721a620ad741ea50adf116e6b5afd47caa5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Busybox may offer a bash applet. If enabled, the alternatives mechanism
avoids breaking logins if bash gets deinstalled while /bin/bash is configured
as a login shell.
(From OE-Core rev: cf0fd8bff79a12b6eec45145ef168ebf5afebdcc)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As syslinux module has been recently removed and
serial_consloe_form_kargs became local API in rootfs_pcbios_ext plugin
it should be called without syslinux. prefix.
(From OE-Core rev: d701673b658d879726d6cf846a6d5f4173c3b0e5)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed 'IMAGE_FSTYPES = "iso" as this functionality depends on
do_bootimg, which is going to be obsoleted soon.
As wic doesn't depend on bootimg it's safe to remove this.
(From OE-Core rev: a08e2019223d7c04916967d8fd42279e8e1e186f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
STAGING_DIR variable is used to get path to a boot dir.
It's better to use wic-tools recipe to it as it contains
all bootloader artifacts.
Modified test_build_artifacts and test_rootfs_artifacts to
use wic-tools target to get STAGING_DIR.
(From OE-Core rev: eb648ac5566fbcc679e8544fd8403a730ce71058)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic-tools recipe specific sysroot contains syslinux as wic-tools
depends on it. Used wic-tools target to get syslinux path should
guarantee that syslinux is installed there and can be used.
(From OE-Core rev: be8ebac3b055070f690d42836bb0fdad32d29204)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make name of the wic image type class consistent with
existing naming scheme for image types.
(From OE-Core rev: 4aab1b77d5f9403cbb3fae790069ef54821491fb)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic code is hard to follow due to deep and twiggy class
inheritance tree.
Flatten imager tree:
wic -> wic_create -> Creator -> DirectPlugin -> DirectImageCreator
to
wic -> wic_create -> DirectPlugin
by
removing Creator class and creator module
merging DirectImageCreator into DirectPlugin
Changed APIs to use the same parameters names.
Passed parsed command line options as an object down the stack.
(From OE-Core rev: 1e28d512341ce470c7afb256a01e597ab87170ca)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The runtime oeqa tests were failing in the on-target case, only for
aarch64. This was because an old config.sub was being used.
Similar to the SDK testing, call gnu-configize in the on-target
case too to resolve the failing tests.
(From OE-Core rev: 7918fe08d8e48f46cf2402afa66d35063eb72545)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Printing a message which says "configure failed" without the log output
is effectively useless. If a command fails, print the output by default
and simplify the calling code which makes debugging any of these failures
much easier.
(From OE-Core rev: b6352ff001c29f0bff10c18879b92c5618ec645c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New bugfix release:
* updated version/checksums
* removed 1 patch in -good which was merged upstream
(From OE-Core rev: f61cdef0a8b2771225c6bc86881a16f8ef747983)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xxx-native packages should not depend on ${DISTRO} settings. Doing
so feels inherently wrong and limits the usefulness of sstate-cache.
This patch changes how this package is installed, in particular
removing the dependency on the ${DISTRO_FEATURES} variable in
glib-2.0-native. This will further improve the ability to share
native packages between builds with differences in ${DISTRO_FEATURES}
(From OE-Core rev: ef2b49408f82daaf9bb72b3b339b70a48b9a134b)
Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 6a5a4e60373c1386b311b2a8bb666c32d68a9d99 removes the configure of
useSIGIO option:
xfree86 SIGIO support is reworked to use internal versions of
OsBlockSIGIO and OsReleaseSIGIO
The check for useSIGIO is no longer needed.
(From OE-Core rev: 5ed1bc5b4dadc74f1db52179238fbbd145a59043)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introduce a 4.9 bbappend for the h/w reference BSPs. Since 4.8 will
be removed, we need to have this file in place.
(From OE-Core rev: e024cb13eaf7d5bd484995390ba75f3ab85ec0ef)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merging three fixes to yaffs2, which adjust to mainline changes in the
vfs subsystem:
4700f2f8b9db fs: yaffs2: fix the prototype of function yaffs_rename()
56e654cab1db fs: yaffs2: switch to the generic xattr handler
102082f3c245 fs/yaffs2: adjust to the change of inode_change_ok()
(From OE-Core rev: 3fac012408e4f6aac6520539bc6c6b0d59e2e629)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When debugging a kernel configuration issue, one of the first questions
is "what BSP was used". To answer this qusetion, we log the BSP .scc
file that was used to generate the kernel configuration in the kernel
source meta directory.
(From OE-Core rev: 1003615b866bfe196994bdc25d305ff5eace2715)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The common-pc ethernet selection has drivers that depend on pci_iov
being defined. As such, we should include that feature fragment
or we get build warnings:
---------- CONFIG_BNX2X_SRIOV -----------------
Config: CONFIG_BNX2X_SRIOV
From: work-shared/qemux86-64/kernel-source/.kernel-meta/configs/standard/bsp/common-pc/common-pc-eth.cfg
Requested value: CONFIG_BNX2X_SRIOV=y
Actual value:
Config 'BNX2X_SRIOV' has the following conditionals:
BNX2X && PCI_IOV (value: "n")
BNX2X && PCI_IOV (value: "n")
Dependency values are:
BNX2X [m] PCI_IOV [n] y [y]
---------- CONFIG_BNXT_SRIOV -----------------
Config: CONFIG_BNXT_SRIOV
From: work-shared/qemux86-64/kernel-source/.kernel-meta/configs/standard/bsp/common-pc/common-pc-eth.cfg
Requested value: CONFIG_BNXT_SRIOV=y
Actual value:
Config 'BNXT_SRIOV' has the following conditionals:
BNXT && PCI_IOV (value: "n")
BNXT && PCI_IOV (value: "n")
Dependency values are:
y [y] BNXT [m] PCI_IOV [n]
(From OE-Core rev: c08d3519c4408e8c51853ffb4b69f05fc55d2df8)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the 4.9.5 and 4.9.6 -stable updates. The commit logs
are as follows:
09f886dc5a69 Linux 4.9.6
f77ef5348d4b libceph: stop allocating a new cipher on every crypto request
5b482bf58868 libceph: uninline ceph_crypto_key_destroy()
12274f2c17f2 tools/virtio/ringtest: fix run-on-all.sh for offline cpus
fa555d021d2b selftest/powerpc: Wrong PMC initialized in pmc56_overflow test
f37b7a3004bb soc: ti: wkup_m3_ipc: Fix error return code in wkup_m3_ipc_probe()
97d5e2057564 spi: pxa2xx: add missed break
d21814a8068a dmaengine: pl330: Fix runtime PM support for terminated transfers
172270c74348 dmaengine: rcar-dmac: unmap slave resource when channel is freed
3bef7578e05f s5p-mfc: Fix clock management in s5p_mfc_release() function
d47e1e7c46fe s5p-cec: mark PM functions as __maybe_unused again
dfe8e5730fa1 st-hva: fix some error handling in hva_hw_probe()
b9dc16170dbf ite-cir: initialize use_demodulator before using it
278997a8e002 gs1662: drop kfree for memory allocated with devm_kzalloc
cec5ef6ac520 platform: pxa_camera: add VIDEO_V4L2 dependency
2a3060531768 blackfin: check devm_pinctrl_get() for errors
fcdab6ca9c31 rpmsg: virtio_rpmsg_bus: fix channel creation
0f3418442d7b mtd: spi-nor: Fix some error codes in cqspi_setup_flash()
e55e6c026b7c mtd: spi-nor: Off by one in cqspi_setup_flash()
ebdfcaa14eef PM / devfreq: Fix the bug of devfreq_add_device when governor is NULL
795983547317 PM / devfreq: exynos-bus: Fix the wrong return value
16236802bfec scsi: mpt3sas: fix hang on ata passthrough commands
a07a122ad2a2 scsi: ses: Fix SAS device detection in enclosure
41c6b3e8989e swiotlb: Add swiotlb=noforce debug option
1fd1e6cd6314 swiotlb: Convert swiotlb_force from int to enum
776c2b2d165d arm64: Fix swiotlb fallback allocation
962957889d74 arm64: mm: avoid name clash in __page_to_voff()
d34b6684e60f xprtrdma: Squelch "max send, max recv" messages at connect time
8ade1c2b4530 xprtrdma: Make FRWR send queue entry accounting more accurate
a193c7247596 libceph: make sure ceph_aes_crypt() IV is aligned
6e9fa67c58cc ceph: fix endianness bug in frag_tree_split_cmp
2e4f2131b66f ceph: fix endianness of getattr mask in ceph_d_revalidate
8934e069674a ceph: fix ceph_get_caps() interruption
48baa924108e ceph: fix scheduler warning due to nested blocking
04c9fe63166f ARM: 8613/1: Fix the uaccess crash on PB11MPCore
dd8334a5e17e ARM: ux500: fix prcmu_is_cpu_in_wfi() calculation
cd9601caa2fa ARM: dts: omap3: Fix Card Detect and Write Protect on Logic PD SOM-LV
a075ac9c0a40 ARM: dts: imx6qdl-nitrogen6_max: fix sgtl5000 pinctrl init
cfcb94b3a498 ARM: dts: omap2: Add an empty chosen node to top level DTSI
5921b26bf744 ARM: dts: omap3: Add an empty chosen node to top level DTSI
bec062cd47bd ARM: dts: am4372: Add an empty chosen node to top level DTSI
c3f7ca43b2d4 ARM: dts: omap5: Add an empty chosen node to top level DTSI
835bf872d924 ARM: dts: omap4: Add an empty chosen node to top level DTSI
355a8fced2bf ARM: dts: am33xx: Add an empty chosen node to top level DTSI
3e1c70972204 ARM: dts: dm814x: Add an empty chosen node to top level DTSI
ab6dc01db1f7 ARM: dts: dm816x: Add an empty chosen node to top level DTSI
d4f12aa133db ARM: dts: dra7: Add an empty chosen node to top level DTSI
b8add6715c9a libceph: remove now unused ceph_*{en,de}crypt*() functions
2982b9c92a66 libceph: switch ceph_x_decrypt() to ceph_crypt()
717a145bd5a9 libceph: switch ceph_x_encrypt() to ceph_crypt()
6e371f9a4144 libceph: tweak calcu_signature() a little
788a0bbc7011 libceph: rename and align ceph_x_authorizer::reply_buf
ecf7ced85628 libceph: introduce ceph_crypt() for in-place en/decryption
0548b8298938 libceph: introduce ceph_x_encrypt_offset()
be60457612a2 libceph: old_key in process_one_ticket() is redundant
2e62bf3c6fe9 libceph: ceph_x_encrypt_buflen() takes in_len
6d9b544d88a4 Input: ALPS - fix TrackStick support for SS5 hardware
6e53a62a0d52 arm64/ptrace: Reject attempts to set incomplete hardware breakpoint fields
f9081dd0c8be arm64/ptrace: Avoid uninitialised struct padding in fpr_set()
5c5839be0842 arm64/ptrace: Preserve previous registers for short regset write - 3
a4aafb8c4204 arm64/ptrace: Preserve previous registers for short regset write - 2
357cfd6c83ee arm64/ptrace: Preserve previous registers for short regset write
de327948c009 arm64: avoid returning from bad_mode
71c496495514 ARM: dts: da850-evm: fix read access to SPI flash
5b6618615215 ARM: dts: OMAP5 / DRA7: indicate that SATA port 0 is available.
1f75575aca7b ceph: fix bad endianness handling in parse_reply_info_extra
a14aeccb65e5 ibmvscsis: Fix max transfer length
51cff2c64d20 ibmvscsis: Fix sleeping in interrupt context
df35a8f51fcb ARM: 8634/1: hw_breakpoint: blacklist Scorpion CPUs
73a2e2405d30 svcrdma: avoid duplicate dma unmapping during error recovery
c49b31b585a1 clocksource/exynos_mct: Clear interrupt when cpu is shut down
ce5c52f039cf ubifs: Fix journal replay wrt. xattr nodes
bab10a549fd6 mac80211: implement multicast forwarding on fast-RX path
beecb1e72cc5 qla2xxx: Fix crash due to null pointer access
33038189bcab x86/ioapic: Restore IO-APIC irq_chip retrigger callback
bf15e45eee7a powerpc: Ignore reserved field in DCSR and PVR reads and writes
e09778546713 powerpc/ptrace: Preserve previous TM fprs/vsrs on short regset write
9e10a0fc7312 powerpc/ptrace: Preserve previous fprs/vsrs on short regset write
98e60a8345ae powerpc/perf: Fix PM_BRU_CMPL event code for power9
09187cdf50c1 powerpc/icp-opal: Fix missing KVM case and harden replay
26c4d513b6af KVM: arm/arm64: vgic: Fix deadlock on error handling
e0641f201114 KVM: s390: do not expose random data via facility bitmap
001ed27d088a mtd: nand: xway: fix build because of module functions
c8dce6e0ef2c mtd: nand: xway: disable module support
d8d82ac42e27 mtd: nand: lpc32xx: fix invalid error handling of a requested irq
86249aef233e ieee802154: atusb: do not use the stack for buffers to make them DMA able
ad17175732ca mmc: mxs-mmc: Fix additional cycles after transmission stop
c1274eeb2fe3 mmc: sdhci-acpi: Only powered up enabled acpi child devices
35028599bc88 HID: corsair: fix control-transfer error handling
63df1ccb937f HID: corsair: fix DMA buffers on stack
4922a6a5cfa7 PCI: Enumerate switches below PCI-to-PCIe bridges
c6bdc450fe93 PCI: designware: Check for iATU unroll only on platforms that use ATU
07f0267561c6 fuse: fix time_to_jiffies nsec sanity check
0181b3603681 fuse: clear FR_PENDING flag when moving requests out of pending queue
bb82fb48df8c ARC: module: Fix !CONFIG_ARC_DW2_UNWIND builds
3c4d83a1a41e libnvdimm, namespace: fix pmem namespace leak, delete when size set to zero
f29f3616b932 svcrpc: don't leak contexts on PROC_DESTROY
a297ed84b928 sunrpc: don't call sleeping functions from the notifier block callbacks
90687fc3c8c3 rcu: Narrow early boot window of illegal synchronous grace periods
bdeaa468e221 rcu: Remove cond_resched() from Tiny synchronize_sched()
f779e00d2e86 x86/PCI: Ignore _CRS on Supermicro X8DTH-i/6/iF/6F
782b361c9306 tmpfs: clear S_ISGID when setting posix ACLs
9170948a24b7 ARM: dts: omap3: Add DTS for Logic PD SOM-LV 37xx Dev Kit
efba7a37efe2 ARM: dts: imx31: fix AVIC base address
173470b1b10a ARM: dts: imx31: move CCM device node to AIPS2 bus devices
979f63227c98 ARM: dts: imx31: fix clock control module interrupts description
e95bd2ca11a9 ARM: dts: imx6q-cm-fx6: fix fec pinctrl
387812143cbe ARM: dts: r8a7794: remove Z clock
57a10f29e0b3 ARM: dts: r8a7794: Use SYSC "always-on" PM Domain for sound
97136d1ef47a ARM: dts: bcm283x: fix typo in mailbox address
03f5be20ec9b perf jit: Enable jitdump support without dwarf
3ef6a3c0136b perf scripting: Avoid leaking the scripting_context variable
ea738532666a perf callchain: Fixup help/config for no-unwinding
a1d308914090 perf diff: Do not overwrite valid build id
0f242c0ae0a6 perf trace: Check if MAP_32BIT is defined (again)
8b5484fab145 perf mem: Fix --all-user/--all-kernel options
567eea578016 perf trace: Use the syscall raw_syscalls:sys_enter timestamp
d622b626270a IB/IPoIB: Remove can't use GFP_NOIO warning
656a7d657533 IB/mlx4: Check if GRH is available before using it
661600ff77f1 IB/mlx4: When no DMFS for IPoIB, don't allow NET_IF QPs
8f95735412ad IB/mlx4: Fix port query for 56Gb Ethernet links
1039b7f5c7ef IB/mlx4: Handle well-known-gid in mad_demux processing
618d14b01a45 IB/mlx4: Fix out-of-range array index in destroy qp flow
970f6806c2b1 IB/mlx4: Set traffic class in AH
0d64860aa638 IB/mlx5: Wait for all async command completions to complete
7c8441c89043 IB/mlx5: Assign SRQ type earlier
dae9f4f14411 IB/mlx5: Fix reported max SGE calculation
4db097fe49ea IB/mlx5: Avoid system crash when enabling many VFs
45f3a7eb2ca0 IB/rxe: avoid putting a large struct rxe_qp on stack
25c72b518734 IB/rxe: Increase max number of completions to 32k
b7c551559834 IB/core: Release allocated memory in cache setup failure
40bf0662fe3f Linux 4.9.5
4e764538512e pinctrl: sh-pfc: Do not unconditionally support PIN_CONFIG_BIAS_DISABLE
b90a617fef04 arm64: hugetlb: fix the wrong return value for huge_ptep_set_access_flags
2021e55d719a arm64: hugetlb: remove the wrong pmd check in find_num_contig()
736aec92c4e9 arm64: hugetlb: fix the wrong address for several functions
3083593700dd powerpc/powernv: Don't warn on PE init if unfreeze is unsupported
dcd15c20c208 powerpc/ibmebus: Fix device reference leaks in sysfs interface
25bba7152f2a powerpc/ibmebus: Fix further device reference leaks
ae4c24b2d584 powerpc/mm: Correct process and partition table max size
42eded92c42b bus: vexpress-config: fix device reference leak
d9c19f90f3a5 blk-mq: Always schedule hctx->next_cpu
cb50d45c3d42 power: supply: bq27xxx_battery: Fix register map for BQ27510 and BQ27520
df386a0c2804 bq24190_charger: Fix PM runtime use for bq24190_battery_set_property
4b07d85374f5 iw_cxgb4: Fix error return code in c4iw_rdev_open()
aa3ee06a2ae2 powercap/intel_rapl: fix and tidy up error handling
f53cfb081f00 ACPI / APEI: Fix NMI notification handling
f57d8710096d block: cfq_cpd_alloc() should use @gfp
f99694cdaf76 block: Change extern inline to static inline
a4e73cc229d8 ACPI / CPPC: set an error code on probe error path
26991b28b47c regulators: helpers: Fix handling of bypass_val_on in get_bypass_regmap
89c728ed9237 cpufreq: powernv: Disable preemption while checking CPU throttling state
e5f33ef0a601 powerpc/64: Simplify adaptation to new ISA v3.00 HPTE format
f607fd883654 remoteproc: st: Fix error return code in st_rproc_probe()
0e38a0b7acbb remoteproc: qcom_wcnss: Fix circular module dependency
b4a69e3877ca drm: Initialise drm_mm.head_node.allocated
5bdb57418845 drm/i915: Move the min_pixclk[] handling to the end of readout
699fbc4cb7d4 drm/panel: simple: Check against num_timings when setting preferred for timing
214417a0419b drm: avoid uninitialized timestamp use in wait_vblank
3b376640445a drm/i915/gen9: Fix PCODE polling during SAGV disabling
26eae206b786 i2c: mux: pca954x: fix i2c mux selection caching
396b25173370 NFSv4.1: nfs4_fl_prepare_ds must be careful about reporting success.
e331f2f2b1fb NFS: Fix a performance regression in readdir
4c4d4bec6c90 pNFS: Fix race in pnfs_wait_on_layoutreturn
633b57037699 NFS: fix typo in parameter description
a5209aa99042 pinctrl: meson: fix gpio request disabling other modes
7a1dcd92fd39 btrfs: fix error handling when run_delayed_extent_op fails
003e3163fcc7 btrfs: fix locking when we put back a delayed ref that's too new
0aefd99f37f3 nvme: apply DELAY_BEFORE_CHK_RDY quirk at probe time too
9bae3c370a9e x86/cpu: Fix bootup crashes by sanitizing the argument of the 'clearcpuid=' command-line option
64e236812197 i2c: piix4: Avoid race conditions with IMC
ce31072b4342 net/mlx5: Only cancel recovery work when cleaning up device
2f946414a080 USB: serial: ch341: fix modem-control and B0 handling
12a26bd342b5 drm/amdgpu: drop verde dpm quirks
d52e714b39ce drm/amdgpu: update si kicker smc firmware
0c37b07002d5 drm/radeon: drop verde dpm quirks
7cd7aea3dc78 drm/radeon: update smc firmware selection for SI
5375b71f3b17 drm: Clean up planes in atomic commit helper failure path
6d15a83af982 drm/i915/gen9: Fix PCODE polling timeout in stable backport
9297e0c189f5 net/af_iucv: don't use paged skbs for TX on HiperSockets
00cf64fbaa1e sysctl: Drop reference added by grab_header in proc_sys_readdir
eca02f01be96 Clearing FIFOs in RS485 emulation mode causes subsequent transmits to break
86820a103f51 extcon: return error code on failure
ef8ee4495171 sysrq: attach sysrq handler correctly for 32-bit kernel
4a940d6503e1 orinoco: Use shash instead of ahash for MIC calculations
0edcc47cdb7f ibmvscsis: Fix srp_transfer_data fail return code
ba04d869974e tty/serial: atmel_serial: BUG: stop DMA from transmitting in stop_tx
2d789bd1fc24 tty/serial: atmel: RS485 half duplex w/DMA: enable RX after TX is done
199c89fd32b2 virtio_blk: avoid DMA to stack for the sense buffer
6c6ae8c43df9 dmaengine: omap-dma: Fix dynamic lch_map allocation
3fbaff3adc76 drivers: char: mem: Fix thinkos in kmem address checks
1a62a0f76556 mnt: Protect the mountpoint hashtable with mount_lock
52fd0ab07676 pid: fix lockdep deadlock warning due to ucount_lock
57bfd5a3710b vme: Fix wrong pointer utilization in ca91cx42_slave_get
1f363639eb30 Revert "tty: serial: 8250: add CON_CONSDEV to flags"
f9cf776b0555 ASoC: hdmi-codec: use unsigned type to structure members with bit-field
28dad9aa9b36 btrfs: fix crash when tracepoint arguments are freed by wq callbacks
4d0f302bf56a xhci: fix deadlock at host remove by running watchdog correctly
d06367ac1730 fix a fencepost error in pipe_advance()
ab8957396a69 i2c: fix kernel memory disclosure in dev interface
93c94ec23fae i2c: print correct device invalid address
61a8c3372adb Input: elants_i2c - avoid divide by 0 errors on bad touchscreen data
0556a65e8b7d USB: serial: ch341: fix open and resume after B0
3ed1f6da3a17 USB: serial: ch341: fix control-message error handling
139556a98511 USB: serial: ch341: fix open error handling
1685daad0b0c USB: serial: ch341: fix resume after reset
4aeab97a0515 USB: serial: ch341: fix initial modem-control state
58ede4beda66 USB: serial: kl5kusb105: fix line-state error handling
dfd48efcde84 usb: musb: fix runtime PM in debugfs
88d3670a1de4 wusbcore: Fix one more crypto-on-the-stack bug
99ff99b830c1 x86/CPU/AMD: Fix Bulldozer topology
bd7e769457f9 x86/bugs: Separate AMD E400 erratum and C1E bug
e2d9ad2c540b x86/cpu/AMD: Clean up cpu_llc_id assignment per topology feature
259495a0440f bridge: netfilter: Fix dropping packets that moving through bridge interface
6ba35da690f3 xfs: Timely free truncated dirty pages
86673e9331c9 gpio: Move freeing of GPIO hogs before numbing of the device
0a28f5393689 nl80211: fix sched scan netlink socket owner destruction
14d6c966744d x86/efi: Don't allocate memmap through memblock after mm_init()
99b17ac0014b efi/x86: Prune invalid memory map entries and fix boot regression
74ce3fd64bc4 efi/libstub/arm*: Pass latest memory map to the kernel
736e77c07fba KVM: x86: Introduce segmented_write_std
83fedbb76051 KVM: x86: emulate FXSAVE and FXRSTOR
aae8f3464b1f KVM: x86: add asm_safe wrapper
bc5e1316efd6 KVM: x86: add Align16 instruction flag
90f70fcd6f72 KVM: x86: fix NULL deref in vcpu_scan_ioapic
5ed21cc0cf26 KVM: x86: flush pending lapic jump label updates on module unload
483ecebb22c1 jump_labels: API for flushing deferred jump label updates
7caf473f99b8 KVM: eventfd: fix NULL deref irqbypass consumer
7718ffcf9a64 KVM: x86: fix emulation of "MOV SS, null selector"
1e26cec60668 mm/hugetlb.c: fix reservation race when freeing surplus pages
8315c22ea879 mm/slab.c: fix SLAB freelist randomization duplicate entries
6ca29ee3ca0d mm: support anonymous stable page
07fc9575e88a mm, memcg: fix the active list aging for lowmem requests when memcg is enabled
6c9bd81cb9ea ocfs2: fix crash caused by stale lvb with fsdlm plugin
692755b1006d mm: fix devm_memremap_pages crash, use mem_hotplug_{begin, done}
8edd365ee94c mm: pmd dirty emulation in page fault handler
87fa6f37fa29 dax: fix deadlock with DAX 4k holes
2e264fb546fa zram: support BDI_CAP_STABLE_WRITES
ad4764b4c8eb zram: revalidate disk under init_lock
057ac4429aef selftests: do not require bash for the generated test
91ee732cb563 selftests: do not require bash to run netsocktests testcase
d65146c7fb91 drm/savage: dereferencing an error pointer
c730a84aff6f drm/vc4: Fix a couple error codes in vc4_cl_lookup_bos()
a63bb198dc14 drm/tegra: dpaux: Fix error handling
6b94626c9edf regulator: axp20x: Fix axp809 ldo_io registration error on cold boot
8ac055af47ae regulator: tps65086: Fix 25mV ranges for BUCK regulators
9229336861cb pinctrl: sh-pfc: Add helper to handle bias lookup table
5e1595223a2c pinctrl: sh-pfc: r8a7795: Use lookup function for bias data
b01bbf221fcc pinctrl: imx: fix imx_pinctrl_desc initialization
f34fbb92fe81 Input: i8042 - add Pegatron touchpad to noloop table
5975358bf2ad Input: xpad - use correct product id for x360w controllers
(From OE-Core rev: 629ec06de1c2b3aba5a941ac03e92f023c9703f1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To avoid kernel-devsrc failing with missing a dependency on "/bin/awk".
Due to the way this script is invoked, using #!/usr/bin/env can run into
issue when invoked.
Since most distros have awk in /usr/bin and not /bin, we change the
script while this is sorted out upstream.
(From OE-Core rev: 3360eadb719f1d3b406e6cf48d99a74fdb2f6c77)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following kernel config updates:
f7f388ec4d89 Add support and drivers for CAN bus as feature
2b20935eb14b Filesystem encryption support
8520e18f2956 Update NFC support
a079d66845cd Add eCryptFS filesystem feature
(From OE-Core rev: 8a83c808988f646bd6ecab4905a74c33699451ef)
Signed-off-by: Jussi Laako <jussi.laako@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ability to merge two branches directly from a .scc file was
dropped during the streamlining of the tools.
As was pointed out by David Vincent <freesilicon@gmail.com>, there is
once again a valid use case for this functionality, so we restore the
capability.
(From OE-Core rev: a0059ebbb52c659282e355664bba1a2fa282170e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable release with the following changes:
75353ac8ff43 Linux 4.9.4
6fea974494af rtlwifi: rtl_usb: Fix missing entry in USB driver's private data
7dae85b5c355 rtlwifi: Fix enter/exit power_save
3f41ee3a45cb drm/i915/gen9: Fix PCODE polling during CDCLK change notification
93f2976eb027 ALSA: usb-audio: Add a quirk for Plantronics BT600
f52e670a5b29 spi: mvebu: fix baudrate calculation for armada variant
05b7bdf1c3d8 ARM: omap2+: am437x: rollback to use omap3_gptimer_timer_init()
b8ba5faa7a6b ARM: 8631/1: clkdev: Detect errors in clk_hw_register_clkdev() for mass registration
87dbf3dc1652 ARM: OMAP4+: Fix bad fallthrough for cpuidle
b336dc57bc92 ARM: OMAP5: Fix build for PM code
0f665deba9bc ARM: OMAP5: Fix mpuss_early_init
aa1c7b01c9c7 bus: arm-ccn: Prevent hotplug callback leak
bd99e7a6036e svcrdma: Clear xpt_bc_xps in xprt_setup_rdma_bc() error exit arm
c2ce1c4133b3 ARM: qcom_defconfig: Fix MDM9515 LCC and GCC config
e925eb342659 ARM: zynq: Reserve correct amount of non-DMA RAM
78e2d9405e2d ARM: pxa: fix pxa25x interrupt init
596ff0afbe8e ARM64: dts: bcm2835: Fix bcm2837 compatible string
e3937bc1cc0b ARM64: dts: bcm2837-rpi-3-b: remove incorrect pwr LED
d40152d5ac67 arm64: dts: mt8173: Fix auxadc node
08aed6e8883d tools/virtio: fix READ_ONCE()
e7d05ec1923e powerpc: Fix build warning on 32-bit PPC
2fc33ff4ba81 ALSA: firewire-tascam: Fix to handle error from initialization of stream data
2c867216c555 HID: hid-cypress: validate length of report
e425ed1d3c75 net: vrf: do not allow table id 0
7b7a5a85b1d9 net: ipv4: Fix multipath selection with vrf
7cc73483a4c7 net/mlx5e: Remove WARN_ONCE from adaptive moderation code
17a561b19a27 gro: Disable frag0 optimization on IPv6 ext headers
934ca017c850 gro: use min_t() in skb_gro_reset_offset()
ec0fdcb88c6f gro: Enter slow-path if there is no tailroom
33364eee1fe4 net: add the AF_QIPCRTR entries to family name tables
2ff4a0243c9e net: dsa: Ensure validity of dst->ds[0]
66f24d624baa r8152: fix rx issue for runtime suspend
c8a89b4f5248 r8152: split rtl8152_suspend function
294f2c889637 net: dsa: bcm_sf2: Utilize nested MDIO read/write
ac77aab46168 net: dsa: bcm_sf2: Do not clobber b53_switch_ops
b55f6ca7380d bpf: change back to orig prog on too many passes
a4d205a59521 net: vrf: Add missing Rx counters
efc455f08ea8 ipv4: Do not allow MAIN to be alias for new LOCAL w/ custom rules
fe1e13cfe2c4 igmp: Make igmp group member RFC 3376 compliant
7826d11cf44c flow_dissector: Update pptp handling to avoid null pointer deref.
9f65f5d4746b drop_monitor: consider inserted data in genlmsg_end
9f7551e05b0f drop_monitor: add missing call to genlmsg_end
a8a213f296ae net: ipv4: dst for local input routes should use l3mdev if relevant
e7422080e35d net: fix incorrect original ingress device index in PKTINFO
2ffc694b5727 rtnl: stats - add missing netlink message size checks
8cb7d6277f01 net/mlx5e: Disable netdev after close
ee9f2fd3f6b6 net/mlx5e: Don't sync netdev state when not registered
33c782dd1514 net/mlx5: Prevent setting multicast macs for VFs
b22c86ff8e78 net/mlx5: Mask destination mac value in ethtool steering rules
efbbc75c00fc net/mlx5: Avoid shadowing numa_node
ca8a64467f2a net/mlx5: Cancel recovery work in remove flow
7bf1de7f2749 net/mlx5: Check FW limitations on log_max_qp before setting it
9b4a34ff8987 net/sched: cls_flower: Fix missing addr_type in classify
99f40c6bf565 net: stmmac: Fix race between stmmac_drv_probe and stmmac_open
09babe4ce12e net, sched: fix soft lockup in tc_classify
ee99e2bc5e8a ipv6: handle -EFAULT from skb_copy_bits
d36a1cb1e328 inet: fix IP(V6)_RECVORIGDSTADDR for udp sockets
ed3cc329c7bc sctp: sctp_transport_lookup_process should rcu_read_unlock when transport is null
8b8fbe5c25ab net: vrf: Drop conntrack data after pass through VRF device on Tx
d4a0b2e40c46 net: vrf: Fix NAT within a VRF
(From OE-Core rev: 9b4c9986ebed75ee71a8179e04a4384624c0e7e0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bug fixes release.
This is really needed for Qualcomm based h/w since freedreno
driver had a regression in 13.0.x branch which is fixed in 13.0.4.
(From OE-Core rev: bc4804dccb268831e2fdffb21c15d6d78a2a06d3)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed the following Backported patches:
1. 0001-configure-don-t-add-Werror-to-build-flags.patch
2. 0002-ASN.y-corrected-compiler-warning.patch
3. 0003-parser_aux-corrected-potential-null-pointer-derefere.patch
4. 0004-tools-eliminated-compiler-warnings.patch
fixed the following build error with musl
...
| from ../../libtasn1-4.10/gl/getopt.c:28:
| ./stdint.h:89:5: error: #if with no expression
| #if
| ^
(From OE-Core rev: 70138279e4f4da74cd63402d7201c74ab2528fa8)
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>
This allows us to use typing.py without having to add the whole
python3-misc package.
(From OE-Core rev: 66c282541a13f2d1224d3ba933a953c0f613fb2a)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows us to use ipaddress without requiring the add the whole
python3-misc.
(From OE-Core rev: d0e9013f6c68104369de940f5dd8a6ef76cd0210)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows us to depend on _compat_pickle.* wihtout having to add the whole
python3-misc.
(From OE-Core rev: 6c435672b27d1c97ce3776c98d073a92fde887cd)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit: 512334f102a33833d39af53467894315f0715d07
"python-3.5-manifest: Add imp to importlib"
added imp to importlib in the generated manifest, but not in the generator script.
(From OE-Core rev: bfe1d948ab034017622110c8365be7026e139fbf)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pkg-config currently only handles -I and -L correctly, but misses
-isystem, so we need to do this workaround to fix this issue.
There's a open bug in:
https://bugzilla.freedesktop.org/show_bug.cgi?id=99516
This appears when building lldpd and shows error:
ERROR: lldpd-0.9.6-r0 do_configure: This autoconf log indicates
errors, it looked at host include and/or library paths while
determining system capabilities.
Rerun configure task after fixing this.
ERROR: lldpd-0.9.6-r0 do_configure: Function failed: do_qa_configure
Change-Id: I83255b5952e19bb2f516b1186276cd03eb67eed3
(From OE-Core rev: 5bd23c01fd800c43ba3979b23585fe8ac30d7ec8)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise the common name udev-hwdb is only provided by systemd, meaning that
other recipes can't depend on a single name.
(From OE-Core rev: dea267d576695e23223a2f402f6c9c126b0413dc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we switched to recipe specific sysroots (rss), performance took a nose dive. Its
easy to blame rss but it turns out not to be entirely at fault.
Three configurations are compared here:
a) Pre-RSS (revision 45df694a9f)
b) Post-RSS (revision 226a508da9)
c) as b) with this change
Overall build times:
a) 22794.25user 2687.88system 30:32.84elapsed 1390%CPU (0avgtext+0avgdata 919056maxresident)k
b) 22677.25user 3238.79system 36:16.68elapsed 1190%CPU (0avgtext+0avgdata 918896maxresident)k
c) 23571.84user 3383.65system 31:36.83elapsed 1421%CPU (0avgtext+0avgdata 919068maxresident)k
For the overall build and sstate directories, du -s shows:
a)
3992588 build-pre-rss/sstate-cache
30804484 build-pre-rss/tmp
b)
4013272 build-with-rss/sstate-cache
36519084 build-with-rss/tmp
c)
4014744 build-with-rss2/sstate-cache
35336960 build-with-rss2/tmp
However more worryingly:
$ du -s build-pre-rss/tmp/sysroots/
2506092 build-pre-rss/tmp/sysroots/
$ du -s build-with-rss/tmp/sysroots-components/
3790712 build-with-rss/tmp/sysroots-components/
$ du -s build-with-rss2/tmp/sysroots-components/
2467544 build-with-rss2/tmp/sysroots-components/
These numbers *should* be equivalent but as you can see, b) is ~1.2GB larger. The reason turned out
to be patchelf. Taking a specific binary from a specific recipe, bc from bc-native, in a) its 82kb
(stripped) yet in b) its 2.17MB.
$ ./patchelf --set-interpreter /bin/rp bc
warning: working around a Linux kernel bug by creating a hole of 2084864 bytes in ‘bc’
https://github.com/NixOS/patchelf/blob/master/src/patchelf.cc#L710 shows that this "hole" is just
padded zeros using memset, its not a proper sparse hole.
This patch copies files with cp --sparse=always after modifying them with patchelf, then replacing
the original file. The better fix will be to fix this in patchself itself and seek() there
when writing the new file but that means new uninative tarballs and will take a bit of work
so I'm proposing this workaround in the meantime.
Also, this patch drops error handling since subprocess check_output() tracebacks will print this
information if the command fails so we can simplify the code.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Used options.outdir instead of image_output_dir.
There is no sense to use extra variable for this.
(From OE-Core rev: c6013dcb158a84d48cc2677f1509681cf9e0a3cb)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was a typo in current code: mktemp was used instead of
mkdtemp to create work directory. This is fixed by using
mkdtemp.
Create work directory as a subdirectory of output directory
to make sure both are on the same partition to make moving
of result image faster.
This also fixes possible disk space issues as mkdtemp uses
TMPDIR, TEMP or TMP environment variables to get default value
of its 'dir' parameter. Those variables are usually pointing
to /tmp, which is not the best location to create huge images.
(From OE-Core rev: e6579b4e007ce89000c46c09917fbd3c72f18a73)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure output directory exists before creating an image.
Create it if it doesn't exist.
(From OE-Core rev: e52bfb0e81d3fb2a474f08b2e2b8b89aadc61d14)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libudev will be autodetected by the linkage, the intention here was to depend on
udev-hwdb to ensure that the USB ID lists are installed.
(From OE-Core rev: 04624464690da71b3ec904a48d5caa8087ca6381)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently test_postinst_roofs_and_boot is building a full-cmdline image
this is taking a lot of time to execute the test, so a minimal image
will be build instead.
(From OE-Core rev: 3a6b0b9f94b7097a825edf3fe258a2f86b73edd6)
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This module contains singe function serial_console_form_kargs, which
is used only by rootfs_pcbios_ext plugin. Moved it there and removed
syslinux module to make it easy to find and mainain plugin code.
[YOCTO #10619]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replaced parse_sourceparams function with list comprehension.
Used local variables instead of attributes.
Moved global variable to the local scope.
[YOCTO #10619]
(From OE-Core rev: 4adbac84046ff744f1452b5ff4d017d17d2d45e2)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As this files is located in plugins/imager subdirectory it's
obvious that it's an imager plugin. Renamed to direct.py to
be consistent with plugin naming scheme.
[YOCTO #10619]
(From OE-Core rev: d5db8c2ee91bdd51bfbb2ebf61aea8ff0378d512)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed wrong continued indentation, unused import and
trailing new line pyling warnings.
[YOCTO #10619]
(From OE-Core rev: e78762a4b52c31357ef29a5b93c53db7190fa4f2)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Synchronized attribure names in DirectImageCreator and
DirectPlugin for better readability. Simplified code,
removed unneeded global variable disk_methods.
(From OE-Core rev: b87b9ef84791615636424a224f74386a4aa0c2fa)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replaced class method __rootfs_dir_to_dict with a list
comprehension.
[YOCTO #10619]
(From OE-Core rev: 266fd31410771db4c06539f7368c196a6d03000a)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This move simplifies directory structure and makes
further refactoring easier. The code from direct.py was used
only in direct_plugin, so it's safe to move it there.
[YOCTO #10619]
(From OE-Core rev: a8f5ebb26183faa9af6eb72f4dabfcf83aa1e8d4)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a preparation to removing conf.py and config/wic.conf
from the codebase.
Got rid of using configmgr global object in direct_plugin and direct
modules. It was used to implicitly parse kickstart file and set
couple of variables.
Replaced usage of configmgr by passing parameters directly to the
DirectImageCreator.
[YOCTO #10619]
(From OE-Core rev: 79191119de010acb107f9392a991108728858441)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a preparation to removing conf.py and config/wic.conf
from the codebase.
confmgr object is complicated for no reason and almost
useless as all configuration info comes from command line and
bitbake variables. It's used it creator.py to store information
about output directory, logs and some never used functionality
like tmpfs for future use, which doesn't actually happen.
[YOCTO #10619]
(From OE-Core rev: 702ee7a1fe30d87d55ba9528ae89abff4e294fd9)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sysroot of wic-tools is needed for wic, but if rm_work is enabled,
it will be removed before wic has a chance to use it, hence this fix.
(From OE-Core rev: fc59d35a8ceae6302e0a161bab04829fdfd157cd)
Signed-off-by: Kristian Amlie <kristian.amlie@mender.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building for the target, pkg-config uses the target glib-2.0 instead of
it's own minimal fork. To find this it needs to use pkg-config so ensure this
dependency exists in case it doesn't exist on the host already.
(From OE-Core rev: 2e55ecb93ecbbd8bfe626c07d3a032c2fe98efca)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This puts the dependencies on the correct task and removes pointless
noexec tasks allowing for a slightly cleaner task structure.
(From OE-Core rev: 8b80aee29150fcd50b11dedaab42cdec6e3f222b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The number of mkdir calls was showing up high on the profile charts since
it was getting called once per file which is excessive. Each call results
in one or more syscalls which is bad for performance. Cache which
directories we've seen to reduce the calls to a more reasonable number
and speed up recipe specific sysroots.
(From OE-Core rev: 680fb343be5d0a7f9abbe9c75ca232abe5871663)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
According to profile data, repeated calls to bb.debug and bb.note in
the extend_recipe_sysroot() codepath were accounting for 75% of the time
(1.5s) in calls from tasks like do_image_complete.
This batches up the log messages into one call into the logging system
which gives similar behaviour to disabling the logging but retains the
debug information.
Since setscene_depvalid is also called from bitbake's setscene code,
we have to be a little creative with the function parameters and leave
the other debug output mechanism in place. This should hopefully
speed up recipe specific sysroots.
(From OE-Core rev: 3b0af8dc0f796345d1f1ba77ea35bbd090a5feb3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't need to hardcode a path to tail, follow the other tools examples and
don't specify a path since PATH is good enough for us.
(From OE-Core rev: 1a1e70304932cce5ad194e0a7ebb495da7b24c2e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't put target libs into a native/cross ${exec_prefix} but having
this in the default search path means all linker scripts have to be relocated.
This is a considerable chunk of files to create multiple copies of for no good
reason.
Instead, patch out the paths we don't need.
(From OE-Core rev: 20816eb5398512652c971a37589a2ca28ffd3d68)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Relocation of native .la files during recipe specific sysroot relocation
is probably the final straw in just killing these files off.
Change things so this class is inherited by default. If distros don't want to
do this, they can opt out but it seems like the best thing to do now since
.la files aren't needed on Linux.
(From OE-Core rev: 11d801f6a7319a95f824842df118c446f8da7a71)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The native .pc files currently have hardcoded paths in them meaning each has
to be relocated at final install time. pkg-config has built in functionality
to avoid this, namely the pcfiledir variable.
This function translates .pc files to use the variable meaning further
relocation later is unnecessary.
(From OE-Core rev: a3f4e9ff55c7d9eba175e83eb6c99cf349a74432)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst the path to the executable is dynamically determined, the passed in
environment variables or parameters are not relocatable and rely on the sstate
remapping code. In the recipe specific sysroot case this has become more costly.
This patch translates such paths into relocatable entries which means that
a sed replacement at final installation isn't needed.
(From OE-Core rev: 3e02a7cda0ba70e3f9886c5cce37d71361280b11)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The run-tests option is optional so if isn't specified set
to None instead of crash on split().
(From OE-Core rev: 877732406cad2ee4bf11293dc8ccddc2998ffbaf)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian based distros has a builtin syslog module so when
try to load tests using unittest it references the builtin
module instead of runtime/cases.
[YOCTO #10964]
(From OE-Core rev: 9923e3cdb58c2b3c54ec5fe99b2cec4cdc9fff92)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are some missing suites on sato-sdk and lsb-sdk images so add it.
The createrepo-native needs to be built before run testimage in
order to create a repository from install packages.
The DL_DIR data also needs to be updated from the current bitbake
environment instead of use the value from testdata file.
[YOCTO #10964]
(From OE-Core rev: 42f3026b39519ba98ae3153329622ce670d57c09)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes a potential pollution by the build host and build error
when yacc isn't installed on the build host:
| ../../libtasn1-4.9/build-aux/ylwrap: line 175: yacc: command not found
| Makefile:1116: recipe for target 'ASN1.c' failed
| make[3]: *** [ASN1.c] Error 127
(From OE-Core rev: 1135024502bb120c331e065f4c441d6a3efb6d4f)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All warnings start with "possible bashism in", followed by one or more
(in the case of line continuation) lines of source code. To support
more than one line, we now split by matching against the known intro
text.
Example:
$ verify-bashisms guile
...
/.../openembedded-core/meta/recipes-devtools/guile/guile_2.0.13.bb
possible bashism in guile_cross_config line 94 ($'...' should be "$(printf '...')"):
echo '#!'`which ${BUILD_SYS}-guile`$' \\\n--no-auto-compile -e main -s\n!#\n(define %guile-build-info '\'\( \
> ${B}/guile-config.cross
(From OE-Core rev: e2dd3621c45e854b4eb054b4d4537487462cdd39)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several scripts that are defined in .bbclass files end up in multiple
different recipes. It's better (faster, less repetitive error reports)
to check them only once.
In addition, the real information for the developer is where he can
find the script, not which recipe file uses it. verify-bashisms now
prints the original file instead of the recipe whenever possible
(i.e. 'filename' is set) and also bumps the line number so that it is
relative to the file and not the script.
Example with one real error and one added just for testing:
$ verify-bashisms core-image-minimal core-image-sato
Loading cache: 100% |#################################################################################| Time: 0:00:00
Loaded 2935 entries from dependency cache.
Parsing recipes: 100% |###############################################################################| Time: 0:00:01
Parsing of 2137 .bb files complete (2101 cached, 36 parsed). 2935 targets, 412 skipped, 0 masked, 0 errors.
Generating scripts...
Scanning scripts...
/.../openembedded-core/meta/classes/populate_sdk_ext.bbclass
possible bashism in install_tools line 515 (should be 'b = a'):
if [ "${SDK_INCLUDE_TOOLCHAIN}" == "1" -a ! -e $unfsd_path ] ; then
possible bashism in install_tools line 521 (type):
type fixme
(From OE-Core rev: ca4932b60f464430266cc43e34122b2973e8a200)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The actual code recently changed to:
if ${@use_updatercd(d)} && type update-rc.d >/dev/null 2>/dev/null; then
(From OE-Core rev: 32ae3e686db067a2a63932782970db79eb1703e8)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tinfoil2 is based on a client/server architecture, which broke the
verify-bashisms script:
- The tinfoil instance and its data proxies can't be pickled, so
all interaction with the bitbake server has to run in the main
script process and only processing of the plain scripts can
be done with multiprocessing:
_pickle.PicklingError: Can't pickle <class 'bb.tinfoil.TinfoilCookerAdapter.TinfoilRecipeCacheAdapter'>: attribute lookup TinfoilRecipeCacheAdapter on bb.tinfoil failed
- The multiprocessing pool has to be created before initializing
tinfoil, otherwise the pool workers end up trying to communicate
with the bitbake server during shutdown:
ERROR: UI received SIGTERM
Process ForkPoolWorker-2:
Traceback (most recent call last):
File "/usr/lib/python3.4/multiprocessing/process.py", line 257, in _bootstrap
util._exit_function()
File "/usr/lib/python3.4/multiprocessing/util.py", line 286, in _exit_function
_run_finalizers(0)
...
File "/usr/lib/python3.4/multiprocessing/process.py", line 131, in is_alive
assert self._parent_pid == os.getpid(), 'can only test a child process'
AssertionError: can only test a child process
- func() needs to defined before creating the pool to avoid:
AttributeError: Can't get attribute 'func' on <module '__main__' from '/work/openembedded-core/scripts/verify-bashisms'>
(From OE-Core rev: aa439f11c7f414774843720d68ebe0a6d3375ea6)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current tinfoil2 requires manually shutting down the server.
Without that, the script hangs during exit. This might change
in the future.
(From OE-Core rev: 62f42ce063115f4a02c219e323252223818a150f)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current SourceForge project seems to be unmaintained (last release
2.0.0.2 from 2015) while the copy used by Debian is quite active (last
commit 2016-09-30).
Ideally, checkbashisms.pl should get installed automatically via a
recipe, but for now at least provide the link for manual installation.
(From OE-Core rev: 65e74348b4ed40b24671776410d2a579dcc7abab)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Variable was renamed, it's now called "output".
(From OE-Core rev: c3d125b4132e5a706f6265a5bcaedafbe8e5355f)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Missing dependency revealed by recipe specific sysroots. If the host
system does not have glib-compile-schemas installed have (via
libglib2.0-dev, glib2, glib2-tools or similar) do_configure would fail
with:
configure: error: glib-compile-schemas not found.
(From OE-Core rev: 483801020f358fb201703b56326cb90e6df84fdb)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Missing dependency uncovered after recipe specific sysroots were enabled.
(From OE-Core rev: 3173505ba6014271e59fdde2450ecc0d3cd4c8c2)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rpm needs pkg-config in order to build successfully. Recipe specific
sysroots revealed this missing dependency when trying to build on a host
without pkg-config.
(From OE-Core rev: 6ad1deb0d728b8d34589b1a42acc8fa268e95f28)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows both grub and systemd-boot efi bootloaders to co-exisit
(From OE-Core rev: 26f4eb19b6e9c71374659605a01af762a0361f41)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When booting core-image-tiny-initramfs, since we want to live on initrd,
on purpose, we never find a rootfs image to switch root to,
this causes init to show an error as it would with other images,
this patch replaces the message shown to the user, avoiding confusion
when it was indeed a successful boot.
(From OE-Core rev: 3378c322247f5c261f40d06480379da9a24e3082)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add an image that simply creates image artifacts using
image-live-artifacts support instead of creating an actual image.
The image artifacts can then be subsequently assembled by an external
tool such as wic to create an actual image.
This eliminates redundant image creation when using such tools.
(From OE-Core rev: 97237259a9acb9a1511823914dea52b9719fbafd)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The source makes no reference to insert_feed_uris any more, simply drop
the unused reference, to avoid confusing the developers.
(From OE-Core rev: 26dddb7d4a4945abaaefd460a342de6abd609594)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a complementary fix to commit 2dea9e49:
[ meta: remove True option to getVarFlag calls ]
it intended to remove all True option to getVarFlag calls, but there are
still some remaining.
Search made with the following regex: getVarFlag ?\((.*), True\)
(From OE-Core rev: 5b53b34dcb64dc65ee651cbf78cbbd9105dc4f4c)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a complementary fix to commit 7c552996:
[ meta: remove True option to getVar calls ]
it intended to remove all True option to getVar calls, but there are
still some remaining.
Search made with the following regex: getVar ?\((.*), True\)
(From OE-Core rev: 87d03ffe03d6f01e360bfd51714be96e62506e0a)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At present it is silently assumed all QEMU machines support networking.
As a consequence, one cannot run QEMUs without network emulation
using "runqemu".
This patch allows bypassing any network setup providing the qemuboot.conf
file contains:
qb_net = none
[YOCTO#10661]
(From OE-Core rev: 6a9454027ced4efbb401a23df94f711b8253c8fa)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the change to the new framework data store dependecy was
removed, instead a new file is generated and used in testimage.
When testing builds from the autobuilders the test data values
are from the autobuilder, including the paths.
Some tests require paths to current environment in order to run,
this commit will update such paths and fix the error of running
images donwloaded from autobuilders.
[YOCTO #10964]
(From OE-Core rev: 26ad5105fc2ce03b7ee8ecc6911fd40a52bd573a)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
smart test requires to build the image using rpm packages, this check was
included, but it checked for PACKAGE_CLASSES=='package_rpm', and this is
not true when building packages for rpm and deb/ipk. So this would check
IMAGE_PKGTYPE instead.
[YOCTO #10964]
(From OE-Core rev: 570f50b30072a10c5eadfbbfea2647339ee85176)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oeRuntimeTest class is not used anymore as part of runtime
migration, this particular case was missed, so fix it.
[YOCTO #10964]
(From OE-Core rev: d928e5166d8812e7e20bc95c0a8b5cb5439ec497)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a module parameter on the command line contains quotes, any
spaces inside those quotes should be included as part of the
parameter.
Upstream-Status: Accepted
(From OE-Core rev: a54be23887cdc24a9b128be0913029fc8e63973d)
Signed-off-by: James Minor <james.minor@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Specify whether to use libseccomp or not. Do not
just let configure check for it.
(From OE-Core rev: 62cc91e8831c72e9beceff13ad68dd69298135b5)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates sanity tests to cope with minimal eSDK installer
1. Skips the validation of sanity if packagegroup-cross-canadian is in
host package.
2. Skips if SDK does not include toolchain at cases/devtool.py
This should fix [YOCTO #10794]
(From OE-Core rev: 59a99cd8661af594ee0c33e086578d29d50a6268)
Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add created symlinks to the exclude file. This will both make them
less distracting and hide them from the srctree_hash_files function.
(From OE-Core rev: c11fcd6fbde4a90913960b223451e0ce9e6b4b64)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For this we move them out of the python section so they can be
overridden on a per-recipe basis.
The motivation for this change is that not all tool chains need the
path modifications provided by the command, and these will provide
alternative or empty commands. The Go compiler is such an example.
(From OE-Core rev: 7d2a2160336413736dd4640f5b84ba4d74bb00f5)
Signed-off-by: Kristian Amlie <kristian.amlie@mender.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If ext sdk is built by gcc version higher than host gcc version
and host gcc version is 4.8 or 4.9 the installation is known to
fail due to the way uninative sstate package is built.
It's a known issue and we don't have a way to fix it for above
mentioned combinations of build and host gcc versions.
Detected non-installable combinations of gcc versions and
print an installation error.
[YOCTO #10881]
(From OE-Core rev: bfb9ea2604557804bd8c16adb57ccdd868a4020f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add readline support to PACKAGECONFIG. If readline needs if left out
of compilation, the bluez utilities which depend on readline are not
included in build or packages.
The defaults in PACKAGECONFIG are the same as before, so there should be
no change to current users.
(From OE-Core rev: 3985eed70c194c3d9d0c6e94a65e2edfa3f29a8e)
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Libtiff is vulnerable to a heap buffer overflow in the tools/tiffcp
resulting in DoS or code execution via a crafted BitsPerSample value.
Porting patch from <https://github.com/vadz/libtiff/commit/
5c080298d59efa53264d7248bbe3a04660db6ef7> to solve CVE-2017-5225.
(From OE-Core rev: 434990304bdfb70441b399ff8998dbe3fe1b1e1f)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To enable glamor, we need to also enable both dri3 and xshmfence as dependencies.
(From OE-Core rev: 33864ddc1ca5326e0b2bb7443410069a8cd9f57b)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using the modesetting with glamor and MUSL, the glamoregl
library needs to be pre-loaded, so add it to the list here.
(From OE-Core rev: 95701f1491e50e894a7c5f2543137c3bda1877b9)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make's switch '-e' replaced important compiler flags from the
project's Makefile, i.e. -D_FILE_OFFSET_BITS=64.
(From OE-Core rev: 93996a327d4c8652a16292824a06a163b13dc228)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Let util-linux-bash-completion depend on it, because it uses it.
(From OE-Core rev: 27efae1e0ba8fc6b08117b31c4cb35638afc37e4)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pyshtables.py should be ignored by git as it is generated. If kept in
the repo, causes subsequent runs of sdk-update to fail.
[ YOCTO #10963 ]
(From OE-Core rev: 0ac1387bd12b5d023dea06ffe65d1fdcb050bcb4)
Signed-off-by: Andrea Galbusera <gizero@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ACLs are pretty useful in the modern world, with security systems such as
SELinux and Smack that use them extensively. As the overhead is minimal, add
ACL to DEFAULT_DISTRO_FEATURES so that support for them is enabled by default.
The overhead for core-image-sato is that coreutils, libarchive, and opkg link
against libacl. The size increase of those packages is minimal, and libacl is
35kb.
[ YOCTO #8200 ]
(From OE-Core rev: 0c4d6dec32615af10fdaa4f1685b8c4f2a167feb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was discovered that buildtools-tarball can't be built with Debian packaging:
E: Unable to locate package nativesdk-buildtools-perl-dummy
The package exists but dpkg doesn't see it because the Architecture field isn't
valid: for this package the Architecture field is 'allarch' which isn't in the
list of valid architectures we define.
package_deb already has a mapping of OE architectures (PACKAGE_ARCH) to dpkg
architectures (DPKG_ARCH), for example our x86_64 is amd64 in dpkg. However
allarch.bbclass sets an invalid TARGET_ARCH of 'allarch' (to break anything
which attempts to use the target architecture) and package_deb relied on the
PACKAGE_ARCH check later turning the Architecture field into 'all'.
This usually works, but nativesdk-buildtools-perl-dummy inherits allarch but
then changes PACKAGE_ARCH to buildtools-dummy-nativesdk to isolate the packages
in a separate feed. We can handle this by explictly checking for allarch in the
TARGET_ARCH check, as that everything that inherits allarch will want to have
Architecture: all in their packages.
[ YOCTO #10700 ]
(From OE-Core rev: 58a5771f20f7851816b5f39df0ada8f16438065c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This task uses DATETIME so add it to vardepsexclude so bitbake doesn't refuse to
execute the task when the time changes between the controller and the worker
calculating the hash.
[ YOCTO #10960 ]
(From OE-Core rev: e6784ef0d56a1b297001bc59c0da3aecebd1c656)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Renamed variable hdd_dir to deploy_dir as this variable is
assigned to the value of DEPLOY_DIR_IMAGE.
(From OE-Core rev: fc84893c319f3e8c72f13c58f25e0b54095c3a49)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added systemd-boot to the list of dependencies of wic-tools
as wic bootimg-efi plugin depends on it.
(From OE-Core rev: 1ac0a182bd21e38588fc5b168e7dfea01a6c4b26)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
grub-efi recipe added 'grub-efi-' prefix to the file name of
efi binary. Changed grub-efi.bbclass accordingly.
(From OE-Core rev: 860c44435ea7cbbe3517d5ab9146213cc80fd0e7)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added "iso" to IMAGE_FSTYPES to build iso artifacts required
to fix test of isoimage-isohybrid wic plugin.
(From OE-Core rev: 055d6814f6de2e54ae27c5fa2e0c40e3e531590e)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed hddimg from IMAGE_FEATURES as wic code doesn't
use hddimg anymore.
[YOCTO #10835]
(From OE-Core rev: 885a5beae86a55cc228fb2aa998a8b1135371eb4)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
isoimage-sihybrid plugin uses MACHINE_ARCH to get the name of initrd image.
It doesn't work for all machines, for example for quemux86-64 machine
MACHINE_ARCH is quemux86_64 and initrd name is
core-image-minimal-initramfs-qemux86-64.cpio.gz
Used TRANSLATED_TARGET_ARCH variable to get the initrd image name.
Replaced MACHINE_ARCH->TRANSLATED_TARGET_ARCH in WICVARS variable to
make it available from <image>.env file.
(From OE-Core rev: edf0830412de66eada9ef3f3947ca42e301c5377)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than have each image type look for artifacts in image-specific
locations, move towards having them look for artifacts in a common
location, in this case DEPLOY_DIR_IMAGE
Use the existing deploy.bbclass to have the bootloaders put their binaries
in DEPLOY_DIR_IMAGE and then wic will find them and place them in the image
(From OE-Core rev: 1c8acea91e775b1b6f8b25e774aaba3e790fc59b)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed HDDDIR as it's not used by wic anymore.
Stopped usage of HDDDIR in wic test suite.
(From OE-Core rev: b3ed3a79852f85651c8fa192a8118f9904e88ef8)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stop using HDDDIR in isoimage-isohybrid wic plugin.
This variable is set by hddimg code, which is going to be
removed soon.
All required artifacts should be available from ISODIR.
wic-image.bbclass has been modified to build iso artifacts,
so it should be safe to remove usage of HDDDIR.
[YOCTO #10835]
(From OE-Core rev: 4ceb0df10db7254b290784cabc5279ffa2b946a4)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
INITRD variable is not set if hddimg is disabled.
isoimage-isohybrid can't get correct name for initrd if INITRD
variable is not set.
Added INITRD_LIVE to WICVARS and used it in isoimage-isohybrid
code to get initrd artifact name. Used INITRD if INITRD_LIVE is not set.
(From OE-Core rev: c672753be60550b15d5d593c251b61776d5b104d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a lot of wic code in image.bbclass and image_types.bbclass
Having all code separated in one file should make it more readable
and easier to maintain.
(From OE-Core rev: 786368568a9525212e69f5cbf6da236f0a6be013)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tested that result images are produced in test_image_vars_dir_long
and test_image_vars_dir_short test cases.
(From OE-Core rev: 9ed399b99e40ec9ec76df1fbdedfb8104a463acc)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Split tests to run wic only once per test case.
This should fix failures caused by result images left
from the previous wic run.
(From OE-Core rev: 71e3c631bac859d00cef05bbf7bd901a96bac520)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set proper gpt partition name for the partitions in case given
in the configuration
(From OE-Core rev: bc6e6a34f35bd081d828160bab8ee12e770c7e1e)
Signed-off-by: Jukka Laitinen <jukka.laitinen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current location of .env files $STAGING_DIR/imagedata. It doesn't
depend on machine and be rewritten by the builds for different
machines.
Changed location to $STAGING_DIR/$MACHINE/imagedata to avoid .env
files to be rewritten.
(From OE-Core rev: 94245144f5cef344d90bc2a7b3267cdae9d192e4)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As tests now explicitly specify output directory we don't
need test_alternate_output_dir test case. However, we need
to test wic output to default output location.
Removed test_alternate_output_dir test case.
Added test_default_output_dir test case.
(From OE-Core rev: c1be1161cf555727aa56ee2109ee77f420f67c9f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic started to use current directory as a default output dir.
Specified output directory in wic command line to make tests
more predictable and easier to maintain.
(From OE-Core rev: 0f205aed90edd90fcba0a565a6cadfe96339b410)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wic put result images into <output dir>/build, which was confusing.
Now it's fixed in wic code and images are put into output directory.
Changed code in image_types to reflect this.
[YOCTO #10783]
(From OE-Core rev: 3983507bf859f6c3c29e9dea06ffe51f42c0759c)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Attributes with two leading underscores are mangled in Python
and used mainly for avoiding name clashes with names from
subclasses. They're not needed in most of wic classes.
(From OE-Core rev: 2f92c0490f1acf5a6926fc6654ce3b6588ddcc24)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wic used hardcoded path /var/tmp/wic/ as a work directory,
which caused conflicts if two wic instances run in parallel.
Made work directory unique and temporary. Moved results from
work directory to output directory when they're ready.
[YOCTO #10783]
(From OE-Core rev: 5d948f04823dedfa26a879aa6a5dc23de2bb9354)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Simplified DirectImageCreator code by removing inheritance
from BaseImageCreator. This inheritance doesn't make much sense
as DirectImageCreator is the only class that was inherited from
BaseImageCreator.
(From OE-Core rev: 4e9952514211ef4b9a3731ce915090385f335a31)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a stale sysroot object was found the complete stamp wasn't removed,
meaning later code could fail when the new link creation was attempted.
Ensure the stale complete stamp is also removed if present.
(From OE-Core rev: d7d26488f252d60628862ee114a4404e8d6cb6f1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent changes exposed the fact this dependency was missing in nativesdk
cases, fix this.
(From OE-Core rev: 46bd7e48cb5ae654d915fa493420534219682e85)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Splitted to test_debug_short and test_debug_long to make each
of the test cases to run wic once. This is consistent with the
rest of the test cases and ensures that test cases are set up
properly.
This also fixes the following test failure caused by the image
left from the first wic run:
FAIL: test_debug (oeqa.selftest.wic.Wic)
Test debug
----------------------------------------------------------------------
Traceback (most recent call last):
File "meta/lib/oeqa/utils/decorators.py", line 109, in wrapped_f
return func(*args, **kwargs)
File "meta/lib/oeqa/selftest/wic.py", line 270, in test_debug
self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct")))
AssertionError: 1 != 2
(From OE-Core rev: a453009821d7d7cb1dd8a7ae05c0d32227b4753b)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With rss, moving these around was having an increasing overhead and we don't
need them in the native case so remove them.
(From OE-Core rev: 3b8dcd210a494baecead7dd1e568fb60ac93ed9b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The main sysroot components of unreachable build targets will be removed by the core
code. This currently doesn't trigger a removal in the individual workdirs. This
adds in symlinking between the complete stamps and the component sysroot meaning
we can detect when someting was removed and hence remove it from the sysroot.
This fixes cases where DISTRO_FEATURES like systemd are changed amongst other
things and makes builds more robust against configuration changes.
If a dependency is rebuild, that is caught by checksum comparision code elsewhere
in this function as before.
(From OE-Core rev: 7656347c556915dc9acc5a2311ec4e879de6f43d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Manifest files containing the same duplicated prefix are wasteful on space
and ultimately this costs build time. Drop the WORKDIR prefix from the manifest
files since this small change mounts up a lot.
(From OE-Core rev: 1cb245a99762e21a170b6a9beabb07e558424946)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Manifest files containing the same duplicated prefix are wasteful on space
and ultimately this costs build time. Add support for manifest files with
common prefixes removed and use the prefix if the path isn't absolute.
(From OE-Core rev: 71e8c98238d627f9665faee9d7c226b9c07bd256)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With recipe specific sysroots, the gzip-replacement-native dance/class
is obsolete, simplify the code accordingly.
(From OE-Core rev: 39865fdf3698a130f792d41853f9c9ca1901e335)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that STAGINGDIR_HOST doesn't contain MACHINE, we no longer need to expand
the value. Pre-expansion can mean components like PV can be expanded too early
and cause problems for certain use cases.
(From OE-Core rev: d04f0363a1e8ae641da3e80ffbd4c8803cb1c91a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We used to have issues removing tasks like do_fetch due to implications
for targets like world and universe. These have now been resolved.
Removing uneeded tasks has advantages compared to noexec since it means
that accidentally left in dependencies are no longer needed/processed
(e.g. do_patch depends on quilt-native).
This cleans up a number of cases which local analysis highlighted as
being unneeded leading to slightly cleaner task graphs.
(From OE-Core rev: 4e6ee37e09c60e83c0dfd844ba9cf8a07507f099)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Simply use floats instead of datetime and timedelta objects for handling
timestamps.
(From OE-Core rev: d97c844f388bd4c52248fe597d5985ef20d5a96d)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
WKS_FILE(S) can refer to .wks.in files which get expanded during the
build by do_write_wks_template. The actual content of the .wks.in file
gets added to the recipe meta data during parsing, and thus we need to
ensure that the recipe gets re-parsed when the file changes.
This fixes two related problems:
- editing the .wks.in file and rebuilding an image did not recreate
the image unless something else changed or "bitbake -c clean" was
used explicitly
- when forcing a rebuild, the cached meta data and the actual one
do not match, leading to "ERROR: Taskhash mismatch ... for ....bb.do_write_wks_template"
(From OE-Core rev: d00b95b18237b276c221b16dfc511a6da150ef06)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we don't do this, things break with rm_work which removes things
before the task completes causing task failures.
(From OE-Core rev: bfea0e6a5aee9ce15bf20bcb2781329e6281284c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recipe specific sysroots and mutliconfig need recent versions of bitbake,
look for version 1.33.0 as a minimum
(From OE-Core rev: 3a617a4c66941cecbdccb6f410e1b0d8bfde9845)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
exc_func() fails with a hard to debug exception when the
function does not exist, for example due to a typo:
ERROR: ...: Traceback (most recent call last):
File "/work/bitbake/lib/bb/build.py", line 644, in exec_task
return _exec_task(fn, task, d, quieterr)
File "/work/bitbake/lib/bb/build.py", line 584, in _exec_task
exec_func(func, localdata)
File "/work/bitbake/lib/bb/build.py", line 198, in exec_func
cleandirs = flags.get('cleandirs')
AttributeError: 'NoneType' object has no attribute 'get'
There is code further down which will print a warning, but we don't
reach that unless we allow None as result of of d.getVarFlags() first.
The warning is further down intentionally and has to stay there, to
ensure that 'cleandirs' gets executed also for empty functions.
(Bitbake rev: 25df3db5eeda9dbf417e67e96845f376e5c8e6b3)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Small release with bug fixes and config improvements.
(From OE-Core rev: 8fcffd2ac817a44dc60f915977d498b944d4c74e)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bug fixes, new quirks and touchpad acceleration improvements.
(From OE-Core rev: b719dc085b1f120a0520611e4df3d3bf2d25a7e9)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only changes in helper tools and a header (to support new keycodes in
linux 4.9 headers).
(From OE-Core rev: b84e78a793fec4e36d9f9c7821b20f63e19675d2)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bug fixes and some new features: support for Adobe CFF2 font format
and OpenType 1.8 variation fonts.
(From OE-Core rev: 1f99a31609be7028444075b176e752a44c93115c)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Drop CVE patch: fix-CVE-2016-8858.patch, because the version 7.4p1 have
been fixed it.
2. Rebase the remaining patchs on the version 7.4p1.
(From OE-Core rev: b648b382046bd94f0cf5fe0aa4b77ab250f126cd)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This upgrade fixes the vulnerability: CVE-2016-10087
License file changes are due to updates in Version and Copyright date. ie:
'libpng versions 1.0.7, July 1, 2000, through 1.2.57, December 29, 2016, are
Copyright (c) 2000-2002, 2004, 2006-2016 Glenn Randers-Pehrson'
(From OE-Core rev: ca763e7e784e7f485423752d1e23917652a057a1)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This upgrade fixes the vulnerability: CVE-2016-10087
License file changes are due to updates in Package Version
and Copyright date. ie:
'libpng version 1.6.28, January 5, 2017'
(From OE-Core rev: 94bb606b9f21b7fe4c5d7e9ae3fda17da047ece5)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed for building the swtpm TPM simulator (recipe
in meta-security).
Native compilation disables tcp-wrappers by default to simplify
the build.
"nativesdk" is added just in case that someone also wants this
in an SDK.
(From OE-Core rev: a33a252462e2d7b90a1c89e42a96b9696eb08b23)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed for building the swtpm TPM simulator (recipe
in meta-security).
"nativesdk" is added just in case that someone also wants this
in an SDK.
(From OE-Core rev: 4b43aab5b2043a5b83ef1fa9a8406f8a46ccfa72)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bumping the linux-libc-headers to the 4.9 kernel variant. Since 4.9
will be a LTSI kernel, and there will be an associated linux-yocto
it is worth moving to these headers sooner rather than later.
This commit also drops the 4.8 headers and sets 4.9 to be the default.
(From OE-Core rev: cb0ef6e5fe096cecade81d42e95918f056bba052)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Kernel headers break when musl defines IFF_LOWER_UP. While
waiting for more proper fix in musl, add a workaround to connman.
(From OE-Core rev: e6178138968717e1bdb7af7b5aed42fc74d956ab)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds systemd test automatically when an image
is build with systemd DISTRO_FEATURE
[YOCTO #10935]
(From OE-Core rev: 2e6ba167bee7c7b42b1e0e96eb5a7be2eb0fd2c0)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Even old hardware these days doesn't really need fixed-integer Vorbis decoding
by default, so disable Tremor out of the box.
(From OE-Core rev: 958926dd51d5e18ef983280a6e3b50fc8f33eb12)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
perform_groupdel() tries to delete a group irrespective if other
users have it as their primary group, thus the call to groupdel will
fail with the following error error:
groupdel: cannot remove the primary group of user '<user>'
Add a check to perform_groupdel() to determine if there are other
users and keep the group, printing a warning. This is called right
after a user is deleted to delete it's group. If the last user is
deleted, only then the group is also deleted.
(From OE-Core rev: bba1f02cb6d80279c6fed34bb18f010aa921fc1e)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When invoking "runqemu" with a mistyped image or architecture name,
the resulting error message is about the missing qemuboot.conf,
without any indication about the root cause:
$ runqemu core-image-mimimal ext4 intel-corei7-64
runqemu - INFO - Assuming MACHINE = intel-corei7-64
runqemu - INFO - Running MACHINE=intel-corei7-64 bitbake -e...
runqemu - INFO - MACHINE: intel-corei7-64
runqemu - INFO - DEPLOY_DIR_IMAGE: /fast/build/refkit/intel-corei7-64/tmp-glibc/deploy/images/intel-corei7-64
Traceback (most recent call last):
File "/work/openembedded-core/scripts/runqemu", line 1095, in <module>
ret = main()
File "/work/openembedded-core/scripts/runqemu", line 1082, in main
config.read_qemuboot()
File "/work/openembedded-core/scripts/runqemu", line 643, in read_qemuboot
raise Exception("Failed to find <image>.qemuboot.conf!")
Exception: Failed to find <image>.qemuboot.conf!
Including the name of the actual file the scripts expects to find plus
adding some hints what to check for might help. The error now is:
$ runqemu core-image-mimimal ext4 intel-corei7-64
...
Exception: Failed to find <image>.qemuboot.conf = .../tmp-glibc/deploy/images/intel-corei7-64/core-image-mimimal-intel-corei7-64.qemuboot.conf (wrong image name or BSP does not support running under qemu?).
The comment about the BSP is included because that would be the real
reason why the file might be missing.
(From OE-Core rev: 946c4558f6c2726d0f12e48974568188a4ffef0d)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a group name is duplicated between USERADD_PARAM and
GROUPADD_PARAM, this class tries to add it twice which results in
failure of the groupadd command.
(From OE-Core rev: 5b84cc895500c28674d2a7b7c2dd618cf8fb30e9)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CCACHE_PATH was added to the toolchain-scripts in commit
1d31ddb856a80ba9da1a64ed5d701dc0f7351ef7 without a detailed
explanation as to why. This commit removes that environment
variable as it's causing failures since the introduction of
host_gcc_version() to oe.utils in
d36f41e5658bbbb6080ee833027879c119edf3e0, as used by
uninative to determine NATIVELSBSTRING.
This causes errors when the host has ccache available in in PATH
- host_gcc_version() fails because ccache has been told to only
look for the compiler in CCACHE_PATH and can't find gcc in order
to check its version. Toolchain compilers aren't detected due to
the binaries being prefixed with the triplet of the target.
(From OE-Core rev: e47fb403c2cb472d2666ed3ba4b10933467c8c7b)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This script was useful to delete the sysroot so that future builds happen from a
clean sysroot. Now that recipes have their own sysroot this script doesn't need
to exist anymore, and if in fact if used will break your TMPDIR.
(From OE-Core rev: e8bc8dc1b2a54a00792c61e134f48a6c06ad861e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rsync.samba.org has disappeared from the Internet and isn't responding anymore,
so point the SRC_URI at the canonical samba.org download server instead.
(From OE-Core rev: 792368afdf61e7670bc5002e99880449098d50fb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ppp.samba.org has disappeared from the Internet and isn't responding anymore, so
point the SRC_URI at the canonical samba.org download server instead.
(From OE-Core rev: 9b2f5a57bdff46973cc1625da78d04b666710209)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This really is the last subversion url in OE-Core so replacing it with
a mirror tarball will save us from the subversion-native build chain.
(From OE-Core rev: 187f7c18582e76beca76c523cad6be2d5fff5786)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We currently have to override the default setting using a particular
assignment order in the recipe, setting it weakly helps to get rid
of this problem.
(From OE-Core rev: 57be81156f74666ff2ed2755f5faa48edf00e4dc)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use of bb.fatal means build-sysroots fails as soon as multiple gdb's are
built with overlapping files, or multiple recipes with overlapping headers
exist.
Change the fatal call into an exception which we can then trap. Also
avoid trying to call readlink on something with isn't a symlink.
This allows build-sysroots to work better under various scenarios.
(From OE-Core rev: e20343a90e401bc92167867729076d321081d120)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting do_populate_sysroot as noexec means the code keeps thinking it can find
a manifest file for it. It also complicates sstate installtion since the code
would believe there is an sstate object there it should look for.
Instead, delete the task. This causes sdk failures as the dependencies are wrong
so fix those as well.
(From OE-Core rev: bd7d0314038a4c1a8e8c9ebdb7194f8e17db3fef)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SDKPKGSUFFIX could only really be "nativesdk" and TARGET_SYS never contains
that so the code manipulating TARGET_SYS is pointless. I suspect this once
worked against MULTIMACH_TARGET_SYS which would be a different question but
it no longer does. Its been cut and pasted everywhere.
This patch cleans up the variable references to make things a little more
readable.
(From OE-Core rev: 5599cb72d17bce2ba6e2be16ef64d9a388bcfb25)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently there is a race where if you build -cross-canadian without building gcc (target)
you see QA errors about RPATHS. I've tracked this down to this manipulation where the
target gcc recipe changes libcc1 in the shared sources directory. As long as you build
things in the right order, the problem doesn't occur.
Since its changing ${S} move it to gcc-source and avoid the race, saving RP
some head scratching about why unrelated changes failed to build cleanly.
(From OE-Core rev: 626064c69b6fd1b5cead6995097f99e5fbda3f19)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we stashed the gcc build directory for use in generating the various runtimes
we were being lazy and just used the staging directory. With recipe specific
sysroots this means we're copying a large chunk of data around with the cross
compiler which we don't really need in most cases.
Separate out the data into its own task and inject this into the configure
step. We have to do that here since autotools will wipe out ${B} if it thinks
we're rebuilding and we therefore have to time its recreation after that.
This also takes the opportunity to remove some pointless (as far as I can tell)
conditionals from the do_install code.
(From OE-Core rev: dcf15ccf3cc9d55e77228ba8d526f967fc9791b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mixing PACKAGE_ARCH with BUILD_* has always seemed somewhat odd. This
comes into play when building different SDKMACHINES as the PN space
for the recipes did once overlap. With the modern build process we
use, this overlap is a thing of the past since PN has SDK_SYS appended
to it.
cross.bbclass sets PACKAGE_ARCH == BUILD_ARCH so this change only affects
crosssdk.bbclass where PACKAGE_ARCH == SDK_ARCH.
The current structure is quite confusing and this removes this artefact
of history, allowing other gcc cleanups rather than meaning we futher
complicate the code.
(From OE-Core rev: 525bbfd08dacba84c92da0ab34310a85369526b7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code was making an assumption that the only PACKAGE_ARCH in use
was TUNE_PKGARCH. This is incorrect so iterate over the list from
PACKAGE_EXTRA_ARCH instead.
We also need to change allarch to preserve this variable, else the
staging code doesn't function. We do this in a way which clears the
variable history so that the task hashes remain unaffected.
[Thanks to Andrew Goodbody <andrew.goodbody@cambrionix.com> for
testing/fixing]
(From OE-Core rev: b1bab7a6eff6b195824be7d754de58c6e9ee2bfb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
core-image-directfb was removed from oe-core with this commit:
remove core-image-directfb.bb as part of moving directfb
from oe-core
(From OE-Core rev: 8871fe1189776d78e5848b08edb9c990b9aebf2d)
I made the similar change to the ref-manual by removing it
from the "Images" chapter.
(From yocto-docs rev: bee62aea8469cfca77e6f5e97a9ef2f52f16c9cb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The generated package-depends.dot and pn-depends.dot stuff
contains partial data about the taskgraph and tends to
confuse users. Richard Purdie suggested removing these from
bitbake/lib/bb/cooker.py. I have removed the references to
them in the "Viewing Dependencies Between Recipes and Tasks"
section of the ref-manual.
(From yocto-docs rev: 3dc9b124532b52369cec2de8209f33aebce2b648)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you use subprocess.check_output() the traceback will contain the output
when the command fails which is very useful for debugging. There is no
good reason not to use this everywhere.
(From OE-Core rev: ad750dd1cc9d789abe723daddd098ce41d8547f5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a stra quote character after the word database
and I removed it.
(Bitbake rev: 50afcab054b2d93be96bfd3c224affebcab023cc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10886]
Added text descriptions for many of the events in the list of the
"Events" section.
(Bitbake rev: e3b7e8430cb207756b59b32128aa3cef6a626fa1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the recipe specific sysroots, we need a clean tmpdir, else pseudo-native,
openssl-native, subversion-native and serf-native need to be manually cleaned.
After these there are probably more places where software doesn't rebuild correctly
even if we pass in new parameters to it.
The simplest solution is to force people to start from a clean TMPDIR since
everything would rebuild anyway.
(From OE-Core rev: da58e27a0f8fc8200f1953f05888834abd79c9f8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Clearly the echo into ld.so.conf doesn't make sense and there was a cut and paste
error when writing this code. As long as the directory existed, the builds worked
so it created a race. Fix it as people hit build failures.
(From OE-Core rev: b7b45faaf1246bef262a65d033aa1daa3219e318)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has removed a number of releases from the canonical download site,
including the 1.9 release we were using.
We shoud upgrade to the latest release but as new releases are only compressed
using lzip that means adding lzip-native to oe-core, so this is a suitable
short-term fix.
(From OE-Core rev: 7d24d476e03f88bf47385f7a85ceb7c82662ed76)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10889]
Missing this package. Speculation is that this package was
part of the Python 2.7 stuff but not Python 3. So, adding it
clears the issue up.
(From yocto-docs rev: c61672267f872ed0f57ecf83d86b0d96080aac51)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The cooker is added to the BBServer and then detached creating
a copy of the cooker in the process, if the server isn't in
foreground it cause fd leaks on inotify this can be see using
many instances of tinfoil.
Example:
from bb.tinfoil import Tinfoil
while True:
with Tinfoil() as tinfoil:
input("Pre\n")
tinfoil.prepare(config_only=True)
input("Post\n")
[YOCTO #10873]
(Bitbake rev: 2ada2efb057a291eb34c66d975eb339232137956)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Call explicity close in _writer to avoid fd leakage because isn't
called on Queue.close()
[YOCTO #10873]
(Bitbake rev: 12dfac442d2d5674198485fbeb708a01d215c576)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add ability to limit output per package:
$ bitbake-layers show-appends m4
=== Matched appended recipes ===
m4_1.4.17.bb:
/home/mattsm/git/openembedded-core/meta-selftest/recipes-test/m4/m4_1.4.17.bbappend
Useful for writing tools to process the output, and debugging
bbappends for specific packages
(Bitbake rev: 43668657a8a679acc957e26e6fd8f47ab4cb3da8)
Signed-off-by: Matthew McClintock <msm-oss@mcclintock.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the only remaining svn url in OE-Core and building subversion-native
for things like the url checker is wearing and slows down builds. Since
this rarely changes, use the mirror tarball instead.
(From OE-Core rev: 0be6f3b5a69a65107b49a90bee98815a5a7ac9d8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If busybox is interrupted during do_compile, it can corrupt .config with
the suid version, or worse. Typically this leads to files disappearing,
particularly /etc/init.d/* which leads to an empty busybox-hwclock.
That then results in errors at do_rootfs time due to the missing package.
The fix is to use any 'orig' present to restore stat at the start of
compile.
(From OE-Core rev: 601abb497531823a73bdec3baf56952086e5b4f4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kernel-fitimage:fitimage_assemble() was calling copy_initramfs from
kernel.bbclass which decompresses the initramfs cpio. Assume that if
INITRAMFS_FSTYPES includes a compressed cpio, that is what it desired in
the FIT image.
(From OE-Core rev: 842ad404b36e00c89f615a3f7db4a2d30062effa)
Signed-off-by: Rick Altherr <raltherr@google.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merging the following meta-data changes:
03a2d3f7f999 Add support for NVMe storage devices
27a79fa51d44 Modularize PCI/PCIe ethernet drivers
53d2a7d9c9f8 Modularize USB network drivers
And the 4.9.3 -stable update, which has the following shortlog:
584fd7872c1b Linux 4.9.3
3999c535da7a usb: gadget: composite: always set ep->mult to a sensible value
7ff469ceba26 Revert "usb: gadget: composite: always set ep->mult to a sensible value"
ec3d5c521af8 Revert "rtlwifi: Fix enter/exit power_save"
cf365b117388 tick/broadcast: Prevent NULL pointer dereference
34db201f0de7 clocksource/dummy_timer: Move hotplug callback after the real timers
1b9c2556809a xfs: fix max_retries _show and _store functions
91192ae41e6f xfs: fix crash and data corruption due to removal of busy COW extents
b96e4e87d2b0 xfs: use the actual AG length when reserving blocks
d9c7c9fa600a xfs: fix double-cleanup when CUI recovery fails
aa38f370b25a xfs: use GPF_NOFS when allocating btree cursors
3c382dda47e4 xfs: ignore leaf attr ichdr.count in verifier during log replay
c00203386d50 xfs: don't cap maximum dedupe request length
f8b20705a383 xfs: don't allow di_size with high bit set
12815dd15c48 xfs: error out if trying to add attrs and anextents > 0
cd4bf1d416ef xfs: don't crash if reading a directory results in an unexpected hole
b88398de1833 xfs: complain if we don't get nextents bmap records
4bb31bccea38 xfs: check for bogus values in btree block headers
b85f32481d93 xfs: forbid AG btrees with level == 0
4081d4a79a95 xfs: handle cow fork in xfs_bmap_trace_exlist
a585e1c4ec93 xfs: pass state not whichfork to trace_xfs_extlist
bdbfd4ee6bc7 xfs: Move AGI buffer type setting to xfs_read_agi
06ac11df915d xfs: pass post-eof speculative prealloc blocks to bmapi
553937d3cce8 xfs: use new extent lookup helpers xfs_file_iomap_begin_delay
3d6e3b12bb4e xfs: clean up cow fork reservation and tag inodes correctly
4a323331d8c9 xfs: use new extent lookup helpers in __xfs_reflink_reserve_cow
cf168f2ff8ba xfs: track preallocation separately in xfs_bmapi_reserve_delalloc()
cf4fb510473b xfs: remove prev argument to xfs_bmapi_reserve_delalloc
390325766033 xfs: always succeed when deduping zero bytes
2b7dae91a134 xfs: factor rmap btree size into the indlen calculations
49dc19915d3b xfs: new inode extent list lookup helpers
b49ef758f600 xfs: fix unbalanced inode reclaim flush locking
63fa793e757d xfs: check minimum block size for CRC filesystems
f380ee72a7a4 xfs: provide helper for counting extents from if_bytes
3978c5bb0043 xfs: don't BUG() on mixed direct and mapped I/O
2f092422e1ce xfs: don't skip cow forks w/ delalloc blocks in cowblocks scan
a11f90ca5f30 xfs: check return value of _trans_reserve_quota_nblks
ae8b6cb40cb2 xfs: don't call xfs_sb_quota_from_disk twice
56d22b912542 tpm_tis: Check return values from get_burstcount.
4ffac6f06dfa drm/i915/gen9: fix the WM memory bandwidth WA for Y tiling cases
f482823e99f0 drm/i915/gen9: unconditionally apply the memory bandwidth WA
2bdb638de2fc drm/i915: disable PSR by default on HSW/BDW
9ab30a6529b5 drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values
5417f59cb996 s390/pci: fix dma address calculation in map_sg
dae9151a88f7 s390/topology: always use s390 specific sched_domain_topology_level
b3539f813578 powerpc/pci/rpadlpar: Fix device reference leaks
1aaa777ec009 PCI: Enable access to non-standard VPD for Chelsio devices (cxgb3)
c444cc34534b PCI: Support INTx masking on ConnectX-4 with firmware x.14.1100+
e2822904ace5 PCI: Convert Mellanox broken INTx quirks to be for listed devices only
890661544739 PCI: Convert broken INTx masking quirks from HEADER to FINAL
04b97a6be2ed PCI: Add Mellanox device IDs
090cce6f6f88 PCI: rockchip: Correct the use of FTS mask
6e4bcf8539af PCI: rockchip: Fix negotiated lanes calculation
257349bedca3 staging: media: davinci_vpfe: unlock on error in vpfe_reqbufs()
a299abd23081 f2fs: hide a maybe-uninitialized warning
725ba1a3ebc4 f2fs: remove percpu_count due to performance regression
5cc85ef4ffe6 md: fix refcount problem on mddev when stopping array.
60a931c20d1a md: MD_RECOVERY_NEEDED is set for mddev->recovery
d33a490770e5 crypto: arm64/aes-ce - fix for big endian
eb64cbc5665d crypto: arm64/aes-xts-ce: fix for big endian
c3edfe038a75 crypto: arm64/sha1-ce - fix for big endian
39b7e1c2fdda crypto: arm64/aes-neon - fix for big endian
d018dc9540f7 crypto: arm64/aes-ccm-ce: fix for big endian
e6ce55f7be90 crypto: arm/aes-ce - fix for big endian
a7c9666735f4 crypto: arm64/ghash-ce - fix for big endian
cdeaed7dda7b crypto: arm64/sha2-ce - fix for big endian
a05aa258b237 s390/crypto: unlock on error in prng_tdes_read()
5d7d362abc40 mm, compaction: fix NR_ISOLATED_* stats for pfn based migration
dc1b6d0aed97 mm: khugepaged: fix radix tree node leak in shmem collapse error path
058a4a534c23 mm: khugepaged: close use-after-free race during shmem collapsing
cd6d9ffffc4c docs-rst: fix LaTeX \DURole renewcommand with Sphinx 1.3+
66c677037936 mm/hugetlb.c: use the right pte val for compare in hugetlb_cow
17df3e74fb51 rpmsg: qcom_smd: Correct return value for O_NONBLOCK
1d8286ccbcc6 mmc: mmc_test: Uninitialized return value
74e365e69687 genirq/affinity: Fix node generation from cpumask
65f796837e00 PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend
3b198ddd5855 irqchip/bcm7038-l1: Implement irq_cpu_offline() callback
5cbea795f4d1 PCI/MSI: Check for NULL affinity mask in pci_irq_get_affinity()
825e6a0f7c51 ima: fix memory leak in ima_release_policy
c4c11b4bdbf6 relay: check array offset before using it
3dd50a5e2be9 sbp-target: Fix second argument of percpu_ida_alloc()
0e79a6b45677 target/iscsi: Fix double free in lio_target_tiqn_addtpg()
962a12f8e523 scsi: mvsas: fix command_active typo
5157e98aa024 scsi: g_NCR5380: Fix release_region in error handling
d451b3cc89c7 ASoC: samsung: i2s: Fixup last IRQ unsafe spin lock call
574bac4f4022 ASoC: Intel: Skylake: Fix a shift wrapping bug
d61a969f0e94 ASoC: cht_bsw_rt5645: Fix leftover kmalloc
311742c40da9 ASoC: lpass-platform: initialize dma channel number
afd7e2b4258a iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped
ef41459ab279 iommu/vt-d: Fix pasid table size encoding
2148835de3c2 iommu/amd: Fix the left value check of cmd buffer
48ffae87e913 iommu/amd: Missing error code in amd_iommu_init_device()
54eed7ab1367 clk: renesas: mstp: Support 8-bit registers for r7s72100
5dd700e897e4 clk: imx31: fix rewritten input argument of mx31_clocks_init()
6c9f62846872 clk: sunxi-ng: sun8i-h3: Set CLK_SET_RATE_PARENT for audio module clocks
36a6f7005f38 clk: sunxi-ng: sun8i-a23: Set CLK_SET_RATE_PARENT for audio module clocks
7af503c02b33 clk: ti: dra7: fix "failed to lookup clock node gmac_gmii_ref_clk_div" boot message
411873a0390e clk: clk-wm831x: fix a logic error
e3b665ef4110 clk: qcom: ipq806x: Fix board clk rates
447433e5f804 Input: synaptics-rmi4 - unlock on error
584cb7dd15a3 hwmon: (lm90) fix temp1_max_alarm attribute
2aca9a4fe104 hwmon: (g762) Fix overflows and crash seen when writing limit attributes
81616a9f751e hwmon: (nct7802) Fix overflows seen when writing into limit attributes
a69a6ebd036a hwmon: (ds620) Fix overflows seen when writing temperature limits
29e7b170db90 hwmon: (amc6821) sign extension temperature
af3cd3f0a805 hwmon: (scpi) Fix module autoload
7a13086bd457 platform/x86: fujitsu-laptop: use brightness_set_blocking for LED-setting callbacks
36c1bc65d211 x86/cpu: Probe CPUID leaf 6 even when cpuid_level == 6
bedcab8723ce x86/prctl/uapi: Remove #ifdef for CHECKPOINT_RESTORE
e641c92fd2ae debugfs: improve DEFINE_DEBUGFS_ATTRIBUTE for !CONFIG_DEBUG_FS
629138cd28be clk: renesas: cpg-mssr: Fix inverted debug check
47e3472507f0 efi/efivar_ssdt_load: Don't return success on allocation failure
4e1dfb0035e1 cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected
15e0355a1ec5 ath10k: use the right length of "background"
ac86312e0870 mfd: tps65217: Fix page fault on unloading modules
a24f1f3520e6 ath10k: fix failure to send NULL func frame for 10.4
45816391e1a5 nl80211: Use different attrs for BSSID and random MAC addr in scan req
cd84516473a7 mac80211: fix tid_agg_rx NULL dereference
1d9c33f1b45c drm/i915: tune down the fast link training vs boot fail
8b4879154a67 drm/i915/dp: add lane_count check in intel_dp_check_link_status
5af6f56bb16c usb: dwc3: gadget: always unmap EP0 requests
c008309f53e5 usb: dwc3: ep0: explicitly call dwc3_ep0_prepare_one_trb()
5f7fd4d2f94d usb: dwc3: ep0: add dwc3_ep0_prepare_one_trb()
96a0c8ee7ce6 iio: accel: st_accel: fix LIS3LV02 reading and scaling
a673f99884e3 staging: iio: ad7606: fix improper setting of oversampling pins
fc322290fc06 mei: move write cb to completion on credentials failures
5d46c4e9a05e mei: bus: fix mei_cldev_enable KDoc
af776953108b mei: fix parameter rename KDoc
c1ec6ba3d7c7 USB: serial: io_ti: bind to interface after fw download
fb0a00fb0843 dibusb: fix possible memory leak in dibusb_rc_query()
5f6136debf7e ARM: dts: sun7i: bananapi-m1-plus: Enable USB PHY for USB host support
5ef54ae37b13 arm64: dts: hip06: Correct hardware pin number of usb node
93f6891a383f USB: phy: am335x-control: fix device and of_node leaks
d387f98cb0c1 ARM: dts: r8a7794: Correct hsusb parent clock
a10a1b797a0f usb: gadget: fix request length error for isoc transfer
b429e37b80fd usb: gadget: Fix second argument of percpu_ida_alloc()
8da83724d491 USB: serial: kl5kusb105: abort on open exception path
e7c72dccd725 ALSA: usb-audio: Fix bogus error return in snd_usb_create_stream()
2eb09ccfa45b usb: musb: blackfin: add bfin_fifo_offset in bfin_ops
64244edf304b usb: gadget: udc: core: fix return code of usb_gadget_probe_driver()
8ecf70fb0889 usb: hub: Move hub_port_disable() to fix warning if PM is disabled
d7550d7d6ae2 usb: musb: Fix trying to free already-free IRQ 4
5e3c2920e9f2 usb: dwc3: gadget: Fix full speed mode
81f1f24d1873 usb: dwc3: pci: Fix dr_mode misspelling
6af3ba285acb usb: dwc3: pci: add Intel Gemini Lake PCI ID
63d92d10a820 xhci: Fix race related to abort operation
799dfdeb33a0 xhci: Use delayed_work instead of timer for command timeout
6db52153fea3 usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL
1bd67e85edf1 USB: serial: mos7720: fix parallel probe
6ea44fb2183c USB: serial: mos7720: fix parport use-after-free on probe errors
e7cf756c8932 USB: serial: mos7720: fix use-after-free on probe errors
ac81f1fa956f USB: serial: mos7720: fix NULL-deref at open
bd52ddb0996a USB: serial: mos7840: fix NULL-deref at open
9de856caff86 USB: serial: kobil_sct: fix NULL-deref in write
b2aa55142ea5 USB: serial: cyberjack: fix NULL-deref at open
4de811c61ac5 USB: serial: oti6858: fix NULL-deref at open
65914eeb39f4 USB: serial: io_edgeport: fix NULL-deref at open
2e5167b239e6 USB: serial: ti_usb_3410_5052: fix NULL-deref at open
0556702bf34e USB: serial: garmin_gps: fix memory leak on failed URB submit
9401cc62b7f5 USB: serial: iuu_phoenix: fix NULL-deref at open
69017618a61e USB: serial: io_ti: fix I/O after disconnect
a66274a9b2f4 USB: serial: io_ti: fix another NULL-deref at open
32631d1a739f USB: serial: io_ti: fix NULL-deref at open
b5264ea24484 USB: serial: spcp8x5: fix NULL-deref at open
dda7611ec4a5 USB: serial: keyspan_pda: verify endpoints at probe
69c415ed5c98 USB: serial: pl2303: fix NULL-deref at open
2a4ae7bc3d8d USB: serial: quatech2: fix sleep-while-atomic in close
6ae3e89aa6b1 USB: serial: omninet: fix NULL-derefs at open and disconnect
9acba5179d6c usb: return error code when platform_get_irq fails
cb02cce9a7f8 usb: xhci: hold lock over xhci_abort_cmd_ring()
9e6c400bb582 xhci: Handle command completion and timeout race
78ccc1966c9e usb: host: xhci: Fix possible wild pointer when handling abort command
a2118d097409 usb: xhci: fix return value of xhci_setup_device()
3bf5e7410178 xhci: free xhci virtual devices with leaf nodes first
40359f915694 usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Apollo Lake
9da8e3e48e88 usb: xhci: fix possible wild pointer
9bdd47c53b7c usb: dwc3: core: avoid Overflow events
2b95c939cb88 usb: gadget: composite: Test get_alt() presence instead of set_alt()
735daeec9e60 USB: dummy-hcd: fix bug in stop_activity (handle ep0)
05b0f2fc3c2f USB: fix problems with duplicate endpoint addresses
da4543b3bce0 USB: gadgetfs: fix checks of wTotalLength in config descriptors
46427c247b62 USB: gadgetfs: fix use-after-free bug
b946777664db USB: gadgetfs: fix unbounded memory allocation bug
404954e5b8a6 usb: gadgetfs: restrict upper bound on device configuration size
72271ae49d6b usb: storage: unusual_uas: Add JMicron JMS56x to unusual device
4a37dbe68289 usb: musb: dsps: implement clear_ep_rxintr() callback
5de2dd7f1be1 usb: musb: core: add clear_ep_rxintr() to musb_platform_ops
84fd8feb5bb5 KVM: MIPS: Flush KVM entry code from icache globally
26a401a6a52f KVM: MIPS: Don't clobber CP0_Status.UX
f39969ab0418 KVM: x86: reset MMU on KVM_SET_VCPU_EVENTS
fe4fc2d67d0b drm/i915: Initialize overlay->last_flip properly
f0f7f38e8068 drm/i915: Force VDD off on the new power seqeuencer before starting to use it
73d425635989 drm/i915: Fix oops in overlay due to frontbuffer tracking
5652dd3f005d drm/i915: Fix oopses in the overlay code due to i915_gem_active stuff
8f8157c2a72a gcc-plugins: update gcc-common.h for gcc-7
8c775affbbd6 asm-prototypes: Clear any CPP defines before declaring the functions
5e7598a625ee mac80211: initialize fast-xmit 'info' later
3c4eef316703 pinctrl/amd: Set the level based on ACPI tables
c7b1b7951d9d ARM: davinci: da850: don't add emac clock to lookup table twice
5f390df2baf7 HID: sensor-hub: Move the memset to sensor_hub_get_feature()
0c8033357b1d parisc: Mark cr16 clocksource unstable on SMP systems
e569eef6298a parisc: Add line-break when printing segfault info
d259b6853732 fscrypt: fix renaming and linking special files
be4e3aec5667 ALSA: usb-audio: Fix irq/process data synchronization
5b2c3cafcafc ALSA: hda - Apply asus-mode8 fixup to ASUS X71SL
71c88fc3bde7 ALSA: hda - Fix up GPIO for ASUS ROG Ranger
755259ba2a3a staging: octeon: Call SET_NETDEV_DEV()
ea991c8354c3 iio: bmi160: Fix time needed to sleep after command execution
7090b8da3836 iio: max44000: correct value in illuminance_integration_time_available
cf49219364fd iio: common: st_sensors: fix channel data parsing
(From OE-Core rev: 0f72ddb55b42bc96acca2ee52257e5beabf8d071)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker has updated 4.8 to the latest -rt release. This
integrates those changes to standard/preempt-rt/*. As usual the
branches are kept fast forward, and a clean copy of the patches
can be found on standard/preempt-rt/rebase.
(From OE-Core rev: 9b4a71785221e2b67180fe6047e2ba2ad83f6523)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable release. Changes are as follows:
35327468a79d Linux 4.1.37
c27edfb64bbf scsi: megaraid_sas: fix macro MEGASAS_IS_LOGICAL to avoid regression
016d02981cce tipc: check minimum bearer MTU
efcf38bd4020 net: ping: check minimum size on ICMP header length
e29fdf045048 packet: fix race condition in packet_set_ring
fabaaaa96d54 net: add recursion limit to GRO
7abf32087c1d Bluetooth: Fix potential NULL dereference in RFCOMM bind callback
74cd81c810b9 ptrace: being capable wrt a process requires mapped uids/gids
8165fc3eb28c scsi: arcmsr: Buffer overflow in arcmsr_iop_message_xfer()
1171afc4a34e mnt: Add a per mount namespace limit on the number of mounts
62fa696b7b43 posix_acl: Clear SGID bit when setting file permissions
de42b9559d0c fs: Avoid premature clearing of capabilities
cb8e1eef351b fs: Give dentry to inode_change_ok() instead of inode
2ee3ceeccd34 nfsd: Disable NFSv2 timestamp workaround for NFSv3+
820bc4582ab9 fuse: Propagate dentry down to inode_change_ok()
89bc54c54027 xfs: Propagate dentry down to inode_change_ok()
1b364dc9edba xattr: Option to disable meta-data block cache
9a66bc6ee0f9 tcp: fix use after free in tcp_xmit_retransmit_queue()
ebdb88b8e465 x86/kexec: add -fno-PIE
672612a21845 scripts/has-stack-protector: add -fno-PIE
e06ded86d961 x86/init: Fix cr4_init_shadow() on CR4-less machines
eec746939372 ARM: 8617/1: dma: fix dma_max_pfn()
58024f829d0b mm,ksm: fix endless looping in allocating memory when ksm enable
d427d645ccf9 can: dev: fix deadlock reported after bus-off
791a92897274 cpuset: handle race between CPU hotplug and cpuset_hotplug_work
6b82b0601ac2 mtd: nand: davinci: Reinitialize the HW ECC engine in 4bit hwctl
e537a0977f3e drm/msm: fix use of copy_from_user() while holding spinlock
b56eb9cdc5f1 bus: arm-ccn: Fix PMU handling of MN
7298a8bf4c63 bus: arm-ccn: Provide required event arguments
(From OE-Core rev: 592468a262cc01e4954be33b4281ffca84fea838)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable release. Changes are as follows:
cdd86b972265 Linux 4.4.41
9f11a0ab6a96 net: mvpp2: fix dma unmapping of TX buffers for fragments
d85727365859 sg_write()/bsg_write() is not fit to be called under KERNEL_DS
7fb5a936457d kconfig/nconf: Fix hang when editing symbol with a long prompt
e321f384d8a5 target/user: Fix use-after-free of tcmu_cmds if they are expired
e5de1c724c06 powerpc: Convert cmp to cmpd in idle enter sequence
cadaba838f1b powerpc/ps3: Fix system hang with GCC 5 builds
8a2bcaae1bc7 nfs_write_end(): fix handling of short copies
b66e3126569e libceph: verify authorize reply on connect
edfe6a79f905 PCI: Check for PME in targeted sleep state
8db00756afbd Input: drv260x - fix input device's parent assignment
44685f03dd56 media: solo6x10: fix lockup by avoiding delayed register write
952a9f5af9f8 IB/cma: Fix a race condition in iboe_addr_get_sgid()
b7f73ada92a3 IB/multicast: Check ib_find_pkey() return value
7b1369215616 IPoIB: Avoid reading an uninitialized member variable
0de381ca35b5 IB/mad: Fix an array index check
e945df4c6bc2 fgraph: Handle a case where a tracer ignores set_graph_notrace
88e41441ccd4 platform/x86: asus-nb-wmi.c: Add X45U quirk
2ef502e860f1 ftrace/x86_32: Set ftrace_stub to weak to prevent gcc from using short jumps to it
19aa9c14989e kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)
129e4323df37 KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT
ddf5718adfb8 KVM: PPC: Book3S HV: Save/restore XER in checkpointed register state
1c8841c9b7d2 md/raid5: limit request size according to implementation limits
d78006d2345f sc16is7xx: Drop bogus use of IRQF_ONESHOT
b988320dab53 s390/vmlogrdr: fix IUCV buffer allocation
656c9abd574b firmware: fix usermode helper fallback loading
429a533a3d9a ARC: mm: arc700: Don't assume 2 colours for aliasing VIPT dcache
dbb67e1d585d scsi: avoid a permanent stop of the scsi device's request queue
565ae61d8995 scsi: zfcp: fix rport unblock race with LUN recovery
3b3739dfa69c scsi: zfcp: do not trace pure benign residual HBA responses at default level
1cc0f9488b91 scsi: zfcp: fix use-after-"free" in FC ingress path after TMF
bccd78746f88 scsi: megaraid_sas: Do not set MPI2_TYPE_CUDA for JBOD FP path for FW which does not support JBOD sequence map
49ea06561154 scsi: megaraid_sas: For SRIOV enabled firmware, ensure VF driver waits for 30secs before reset
edf1169bbbaa vt: fix Scroll Lock LED trigger name
f4f02a856a92 block: protect iterate_bdevs() against concurrent close
abb78811e242 mei: request async autosuspend at the end of enumeration
1f9c91a37542 drivers/gpu/drm/ast: Fix infinite loop if read fails
970dc8cdec9c drm/gma500: Add compat ioctl
0e0b70f581fc drm/radeon: add additional pci revision to dpm workaround
62a272498dbe drm/radeon: Hide the HW cursor while it's out of bounds
deac395e0ba8 drm/radeon: Also call cursor_move_locked when the cursor size changes
cb8d63d885e9 drm/nouveau/i2c/gk110b,gm10x: use the correct implementation
adea4a7b0f2b drm/nouveau/fifo/gf100-: protect channel preempt with subdev mutex
d32d4b3d7c9f drm/nouveau/ltc: protect clearing of comptags with mutex
3a2990e67b05 drm/nouveau/bios: require checksum to match for fast acpi shadow method
a163451c80b0 drm/nouveau/kms: lvds panel strap moved again on maxwell
69e236e70ead ACPI / video: Add force_native quirk for HP Pavilion dv6
2c2375e40d28 ACPI / video: Add force_native quirk for Dell XPS 17 L702X
01b6089b5622 staging: comedi: ni_mio_common: fix E series ni_ai_insn_read() data
5283a7bedbcb staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data mask
e692edec93c1 thermal: hwmon: Properly report critical temperature in sysfs
9d9541d44a26 clk: bcm2835: Avoid overwriting the div info when disabling a pll_div clk
e01b04be3eb0 timekeeping_Force_unsigned_clocksource_to_nanoseconds_conversion
96ea1b9ea099 regulator: stw481x-vmmc: fix ages old enable error
842ec27cd3f2 mmc: sdhci: Fix recovery from tuning timeout
dae7cb414834 ath9k: Really fix LED polarity for some Mini PCI AR9220 MB92 cards.
b63929e8e130 cfg80211/mac80211: fix BSS leaks when abandoning assoc attempts
05f4183ab5a4 rtlwifi: Fix enter/exit power_save
f5d90f434c9a ssb: Fix error routine when fallback SPROM fails
a3edc7b2e537 Linux 4.4.40
7a2b4ee54b3f ppp: defer netns reference release for ppp channel
37de955c11b5 driver core: fix race between creating/querying glue dir and its cleanup
f85a337b4066 xfs: set AGI buffer type in xlog_recover_clear_agi_bucket
fdb17ddd0a49 arm/xen: Use alloc_percpu rather than __alloc_percpu
9397e79c4b2d xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing
00a0de085d60 tpm xen: Remove bogus tpm_chip_unregister
f93777c91544 kernel/debug/debug_core.c: more properly delay for secondary CPUs
f2b8b3455b22 kernel/watchdog: use nmi registers snapshot in hardlockup handler
597f9c03b2d5 CIFS: Fix a possible memory corruption in push locks
a9c69e152897 CIFS: Fix missing nls unload in smb2_reconnect()
f0b715409cb9 CIFS: Fix a possible memory corruption during reconnect
6dcb01e78333 ASoC: intel: Fix crash at suspend/resume without card registration
701ec6e5cea7 dm space map metadata: fix 'struct sm_metadata' leak on failed create
85290a163b06 dm crypt: mark key as invalid until properly loaded
9188611f81e3 dm flakey: return -EINVAL on interval bounds error in flakey_ctr()
f0898dc2852b blk-mq: Do not invoke .queue_rq() for a stopped queue
c53af76d5de1 usb: gadget: composite: always set ep->mult to a sensible value
b35f34f66943 exec: Ensure mm->user_ns contains the execed files
0812936b11ea fs: exec: apply CLOEXEC before changing dumpable task flags
14d8e5cae039 mm/vmscan.c: set correct defer count for shrinker
ffef1630187b loop: return proper error from loop_queue_rq()
011ded975e34 f2fs: set ->owner for debugfs status file's file_operations
3460edfc70c2 ext4: do not perform data journaling when data is encrypted
36af7cd560b9 ext4: return -ENOMEM instead of success
519a30148e23 ext4: reject inodes with negative size
f655b3575c47 ext4: add sanity checking to count_overhead()
3995881b0f72 ext4: fix in-superblock mount options processing
386588013810 ext4: use more strict checks for inodes_per_block on mount
7b74c351de1c ext4: fix stack memory corruption with 64k block size
26492d8a22b0 ext4: fix mballoc breakage with 64k block size
4b6050922fb8 crypto: caam - fix AEAD givenc descriptors
1c1f15f8ebfb ptrace: Capture the ptracer's creds not PT_PTRACE_CAP
03eed7afbc09 mm: Add a user_ns owner to mm_struct and fix ptrace permission checks
d80411dea6a4 block_dev: don't test bdev->bd_contains when it is not stable
85cfbd9db2c6 btrfs: make file clone aware of fatal signals
323ffc03ddb2 Btrfs: don't BUG() during drop snapshot
107800061996 Btrfs: fix memory leak in do_walk_down
5a9b659edef6 Btrfs: don't leak reloc root nodes on error
8ca6845a58cd Btrfs: return gracefully from balance if fs tree is corrupted
78a587c608f9 Btrfs: bail out if block group has different mixed flag
25ee81e54620 Btrfs: fix memory leak in reading btree blocks
590202271ffd clk: ti: omap36xx: Work around sprz319 advisory 2.1
119b6658ce05 ALSA: hda: when comparing pin configurations, ignore assoc in addition to seq
f0ea0ade046e ALSA: hda - Gate the mic jack on HP Z1 Gen3 AiO
fa695bdc1741 ALSA: hda - fix headset-mic problem on a Dell laptop
faff777fb456 ALSA: hda - ignore the assoc and seq when comparing pin configurations
518fca87c645 ALSA: hda/ca0132 - Add quirk for Alienware 15 R2 2016
29348065c339 ALSA: hiface: Fix M2Tech hiFace driver sampling rate change
d0ba0f6a8291 ALSA: usb-audio: Add QuickCam Communicate Deluxe/S7500 to volume_control_quirks
cbb2a2563587 USB: UHCI: report non-PME wakeup signalling for Intel hardware
8ede2d7908aa usb: gadget: composite: correctly initialize ep->maxpacket
c67c2ed829f3 usb: gadget: f_uac2: fix error handling at afunc_bind
747b31526369 usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices
acca3cf0d62b USB: cdc-acm: add device id for GW Instek AFG-125
5d6a392b6d36 USB: serial: kl5kusb105: fix open error path
6a6e113cd928 USB: serial: option: add dlink dwm-158
17907f291779 USB: serial: option: add support for Telit LE922A PIDs 0x1040, 0x1041
1f5adadcd032 Btrfs: fix qgroup rescan worker initialization
b5e715ed11ec btrfs: store and load values of stripes_min/stripes_max in balance status item
919b74ba5ed5 Btrfs: fix tree search logic when replaying directory entry deletes
0d619cf6f982 btrfs: limit async_work allocation and worker func duration
a34f0e8a2f89 Linux 4.4.39
5d488dee9236 crypto: rsa - Add Makefile dependencies to fix parallel builds
1c0f4e0ebb79 hotplug: Make register and unregister notifier API symmetric
537e42d759ae batman-adv: Check for alloc errors when preparing TT local data
f03531d09125 m68k: Fix ndelay() macro
55e15b2f44d7 arm64: futex.h: Add missing PAN toggling
e29949ed3903 can: peak: fix bad memory access and free sequence
083021bdba1e can: raw: raw_setsockopt: limit number of can_filter that can be set
9a3baed9103b crypto: mcryptd - Check mcryptd algorithm compatibility
c4db8a7d1e0c perf/x86: Fix full width counter, counter overflow
c6a5bf4cda12 locking/rtmutex: Use READ_ONCE() in rt_mutex_owner()
b27d9147f24a locking/rtmutex: Prevent dequeue vs. unlock race
e286b6c16758 zram: restrict add/remove attributes to root only
a0bd6aa097a4 parisc: Fix TLB related boot crash on SMP machines
605f315c5a83 parisc: Remove unnecessary TLB purges from flush_dcache_page_asm and flush_icache_page_asm
db9598605768 parisc: Purge TLB before setting PTE
4bcea472de10 powerpc/eeh: Fix deadlock when PE frozen state can't be cleared
c95b7f1fab0c Linux 4.4.38
52783ada69b4 esp6: Fix integrity verification when ESN are used
3bf28ce9c749 esp4: Fix integrity verification when ESN are used
2176ec1c82ea ipv4: Set skb->protocol properly for local output
25d8b7c105e1 ipv6: Set skb->protocol properly for local output
d41fb2fbb28d Don't feed anything but regular iovec's to blk_rq_map_user_iov
fd1aa12c6340 constify iov_iter_count() and iter_is_iovec()
899b60535a2a sparc64: fix compile warning section mismatch in find_node()
ed7b60db00a1 sparc64: Fix find_node warning if numa node cannot be found
438e91da24fa sparc32: Fix inverted invalid_frame_pointer checks on sigreturns
06cdad2b6d92 net: ping: check minimum size on ICMP header length
77125815f058 net: avoid signed overflows for SO_{SND|RCV}BUFFORCE
6e682c528b3e geneve: avoid use-after-free of skb->data
a89e2ff894bc sh_eth: remove unchecked interrupts for RZ/A1
c36a2a14f26d net: bcmgenet: Utilize correct struct device for all DMA operations
5a01eaf19858 packet: fix race condition in packet_set_ring
1a15519fdcdb net/dccp: fix use-after-free in dccp_invalid_packet
baaf0c65bc8e netlink: Do not schedule work from sk_destruct
d1ed9c1dba63 netlink: Call cb->done from a worker thread
6c42bd6a393c net/sched: pedit: make sure that offset is valid
cfa7c16d4577 net, sched: respect rcu grace period on cls destruction
94de6f2ffb3d net: dsa: bcm_sf2: Ensure we re-negotiate EEE during after link change
56366fa0ad46 l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind()
aece024e38cb rtnetlink: fix FDB size computation
6ef59b986190 af_unix: conditionally use freezable blocking calls in read
acf9504ae220 net: sky2: Fix shutdown crash
49695d1e3b81 ip6_tunnel: disable caching when the traffic class is inherited
2b54505c877f net: check dead netns for peernet2id_alloc()
790fd11f9ed6 virtio-net: add a missing synchronize_net()
(From OE-Core rev: 2042e74352fcec84ac69645387273438794966f6)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg 4.8.17 -stable release. Changes are as follows:
3d8f8d06abb3 Linux 4.8.17
adf363fd5ab9 drm/i915: skip the first 4k of stolen memory on everything >= gen8
000e612673da drm/i915: Initialize dev_priv->atomic_cdclk_freq at init time
22aba475d97b drm/i915: Fix cdclk vs. dev_cdclk mess when not recomputing things
294bb3402c76 drm/i915/dsi: Do not clear DPOUNIT_CLOCK_GATE_DISABLE from vlv_init_display_clock_gating
6a412ff3df87 drm/i915/dsi: Fix chv_exec_gpio disabling the GPIOs it is setting
4803ec2a74c4 net: mvpp2: fix dma unmapping of TX buffers for fragments
48f26edb689c sg_write()/bsg_write() is not fit to be called under KERNEL_DS
d787c6b32c3f kconfig/nconf: Fix hang when editing symbol with a long prompt
e141d1a21e31 target/user: Fix use-after-free of tcmu_cmds if they are expired
29f3d1127c4b libnvdimm, pfn: fix align attribute
3a4e4281b5cd powerpc/ps3: Fix system hang with GCC 5 builds
e451d674bac5 powerpc/64e: Convert cmpi to cmpwi in head_64.S
0349fbebd984 SUNRPC: fix refcounting problems with auth_gss messages.
c513ade4ca56 pNFS: Fix a deadlock between read resends and layoutreturn
abb2903f1ac2 pNFS: Clear NFS_LAYOUT_RETURN_REQUESTED when invalidating the layout stateid
f061c76c1d56 pNFS: Don't clear the layout stateid if a layout return is outstanding
7de1b81c27fd pNFS: On error, do not send LAYOUTGET until the LAYOUTRETURN has completed
8f5ff877bf19 nfs_write_end(): fix handling of short copies
1678adac85da libceph: verify authorize reply on connect
1f93d1a77b17 PCI: Check for PME in targeted sleep state
c75bc2bde102 i40iw: Use correct src address in memcpy to rdma stats counters
7d0a6cf3e8c9 Input: drv260x - fix input device's parent assignment
b7843712cbd2 v4l: tvp5150: Add missing break in set control handler
4963b1910090 media: solo6x10: fix lockup by avoiding delayed register write
88bfde25e60f s5p-mfc: fix failure path of s5p_mfc_alloc_memdev()
c3fe33d185e0 mn88473: fix chip id check on probe
84b2f664409c mn88472: fix chip id check on probe
15d1d226eab4 IB/cma: Fix a race condition in iboe_addr_get_sgid()
7b3721aff59b IB/rxe: Fix a memory leak in rxe_qp_cleanup()
2a0aa77a54fb IB/multicast: Check ib_find_pkey() return value
37d4adba02d3 IPoIB: Avoid reading an uninitialized member variable
f079fc11f28e IB/mad: Fix an array index check
e661b5d4b94f fgraph: Handle a case where a tracer ignores set_graph_notrace
b2758da04d73 platform/x86: asus-nb-wmi.c: Add X45U quirk
f61152e3bbf0 ftrace/x86_32: Set ftrace_stub to weak to prevent gcc from using short jumps to it
8569aadeed3f vsock/virtio: fix src/dst cid format
576ea9e5e92e fsnotify: Fix possible use-after-free in inode iteration on umount
43983ce75e61 kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)
9a5cf8c4b112 KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT
b751eb6e9d99 KVM: PPC: Book3S HV: Save/restore XER in checkpointed register state
0773e9248ae3 scsi: aacraid: remove wildcard for series 9 controllers
b202064f0b3f md/raid5: limit request size according to implementation limits
47090341ec97 sc16is7xx: Drop bogus use of IRQF_ONESHOT
c33e1abd2e31 arm64: KVM: pmu: Reset PMSELR_EL0.SEL to a sane value before entering the guest
d3d61bb37afb s390/kexec: use node 0 when re-adding crash kernel memory
9652b62af49d s390/vmlogrdr: fix IUCV buffer allocation
f356ab038e78 firmware: fix usermode helper fallback loading
5c98bf834d6f ARC: mm: arc700: Don't assume 2 colours for aliasing VIPT dcache
cc328ce59a4a scsi: avoid a permanent stop of the scsi device's request queue
6d675dffd425 scsi: zfcp: fix rport unblock race with LUN recovery
057fe03d627e scsi: zfcp: do not trace pure benign residual HBA responses at default level
5cebfea8080c scsi: zfcp: fix use-after-"free" in FC ingress path after TMF
de8a06c673ac iscsi-target: Return error if unable to add network portal
9c3928be0dba scsi: megaraid_sas: Do not set MPI2_TYPE_CUDA for JBOD FP path for FW which does not support JBOD sequence map
dbd4e6c60b4f scsi: megaraid_sas: For SRIOV enabled firmware, ensure VF driver waits for 30secs before reset
3863ab6d710d stm class: Fix device leak in open error path
698ac693dbb4 vt: fix Scroll Lock LED trigger name
6d8bb567102c block: protect iterate_bdevs() against concurrent close
2695afd5e9c2 mei: me: add lewisburg device ids
7be0a5f39d64 mei: request async autosuspend at the end of enumeration
dfc3c8a0fa1b drivers/gpu/drm/ast: Fix infinite loop if read fails
0f95e4a58ecd drm/amdgpu: fix init save/restore list in gfx_v8.0
8bfa4f5e6395 drm/gma500: Add compat ioctl
10b598df92d9 drm/radeon/si: load the proper firmware on 0x87 oland boards
cdb7aaaaecff drm/radeon: add additional pci revision to dpm workaround
1f884ec818a6 drm/radeon: Hide the HW cursor while it's out of bounds
6fb94229b2f6 drm/radeon: Also call cursor_move_locked when the cursor size changes
9c6fb7bf404d drm/nouveau/fifo/gf100-: protect channel preempt with subdev mutex
2a7a43772bff drm/nouveau/i2c/gk110b,gm10x: use the correct implementation
28d186430686 drm/nouveau/ttm: wait for bo fence to signal before unmapping vmas
82d9824d9446 drm/nouveau/ltc: protect clearing of comptags with mutex
ce71868acee2 drm/nouveau/bios: require checksum to match for fast acpi shadow method
764e8e8af190 drm/nouveau/kms: lvds panel strap moved again on maxwell
00e1fb138ffa drm/nouveau/gr: fallback to legacy paths during firmware lookup
fef542735a48 drm/amd/amdgpu: enable GUI idle INT after enabling CGCG
bab520835f81 ACPI / video: Add force_native quirk for HP Pavilion dv6
b7eea51a3a5c ACPI / video: Add force_native quirk for Dell XPS 17 L702X
ce8100660364 staging: comedi: ni_mio_common: fix E series ni_ai_insn_read() data
689d59259385 staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data mask
823c5c94f716 hv: acquire vmbus_connection.channel_mutex in vmbus_free_channels()
235394e1625c docs: sphinx-extensions: make rstFlatTable work with docutils 0.13
a26a016a4e2f thermal: hwmon: Properly report critical temperature in sysfs
def2c87dc7ac clk: bcm2835: Avoid overwriting the div info when disabling a pll_div clk
2f885dafe704 arm64: tegra: Add VDD_GPU regulator to Jetson TX1
bd12562fceb4 gpio: chardev: Return error for seek operations
61d0b7139cf9 timekeeping_Force_unsigned_clocksource_to_nanoseconds_conversion
95d2a43e5a59 regulator: stw481x-vmmc: fix ages old enable error
52980ceb1832 mmc: sdhci: Fix recovery from tuning timeout
0ed0b2592437 ath9k: Really fix LED polarity for some Mini PCI AR9220 MB92 cards.
d80ff7cb5d06 ath9k: fix ath9k_hw_gpio_get() to return 0 or 1 on success
42e76c596c93 cfg80211/mac80211: fix BSS leaks when abandoning assoc attempts
d2546f653bb0 rtl8xxxu: Work around issue with 8192eu and 8723bu devices not reconnecting
2abcc023a460 perf/x86/intel/cstate: Prevent hotplug callback leak
7b9e1a16a1b0 perf/x86: Fix exclusion of BTS and LBR for Goldmont
e24523a80c19 rtlwifi: Fix enter/exit power_save
c9fce6ba9c09 ssb: Fix error routine when fallback SPROM fails
c65ed08dcc04 Linux 4.8.16
645897231f96 driver core: fix race between creating/querying glue dir and its cleanup
f199bdbaab37 Revert "netfilter: move nat hlist_head to nf_conn"
99d6d4e0c50c Revert "netfilter: nat: convert nat bysrc hash to rhashtable"
774225699b4d arm64: mark reserved memblock regions explicitly in iomem
587e89bd56c1 xfs: set AGI buffer type in xlog_recover_clear_agi_bucket
959e363eaf14 arm/xen: Use alloc_percpu rather than __alloc_percpu
6fbd3fb6c4df xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing
883f12a20583 tpm xen: Remove bogus tpm_chip_unregister
8419f5215db3 kernel/debug/debug_core.c: more properly delay for secondary CPUs
63b33e0885d6 watchdog: qcom: fix kernel panic due to external abort on non-linefetch
bf902ead61d8 watchdog: mei_wdt: request stop on reboot to prevent false positive event
2f826a72ea8b kernel/watchdog: use nmi registers snapshot in hardlockup handler
bbf23f00d55e CIFS: Fix a possible memory corruption in push locks
9f1f5076149a CIFS: Fix missing nls unload in smb2_reconnect()
ff04da387c10 CIFS: Fix a possible memory corruption during reconnect
6cb589c7529f ASoC: intel: Fix crash at suspend/resume without card registration
769c0922d4a6 dm space map metadata: fix 'struct sm_metadata' leak on failed create
ab10ab0a2a3d dm raid: fix discard support regression
454b98d3f2b5 dm rq: fix a race condition in rq_completed()
26011e67339e dm crypt: mark key as invalid until properly loaded
bd5fcd18c8c3 dm flakey: return -EINVAL on interval bounds error in flakey_ctr()
1ca66d6a19d2 dm table: an 'all_blk_mq' table must be loaded for a blk-mq DM device
d948d3b1e416 dm table: fix 'all_blk_mq' inconsistency when an empty table is loaded
45f631113b36 blk-mq: Do not invoke .queue_rq() for a stopped queue
e3742a15d6cd PM / OPP: Pass opp_table to dev_pm_opp_put_regulator()
8b63a922ac07 usb: gadget: composite: always set ep->mult to a sensible value
d4f4b2e659f5 mm, page_alloc: keep pcp count and list contents in sync if struct page is corrupted
0927d281a2fc mm/vmscan.c: set correct defer count for shrinker
3e0ef1b8e0cc nvmet: Fix possible infinite loop triggered on hot namespace removal
6290a3bcd3c3 loop: return proper error from loop_queue_rq()
bf0f02079039 f2fs: fix overflow due to condition check order
154d83a8384e f2fs: set ->owner for debugfs status file's file_operations
67e5239c8366 Revert "f2fs: use percpu_counter for # of dirty pages in inode"
d06eaf28f1bb ext4: do not perform data journaling when data is encrypted
e33673bef6f0 ext4: return -ENOMEM instead of success
3664877022ea ext4: reject inodes with negative size
1bfcffbb8801 ext4: add sanity checking to count_overhead()
9689eb99ce0f ext4: fix in-superblock mount options processing
52a9daa3d5c0 ext4: use more strict checks for inodes_per_block on mount
7505584356d2 ext4: fix stack memory corruption with 64k block size
86efd99f0ebe ext4: fix mballoc breakage with 64k block size
8022387d236a crypto: caam - fix AEAD givenc descriptors
ade692b8f1f5 ptrace: Capture the ptracer's creds not PT_PTRACE_CAP
23d179acb363 vfs,mm: fix return value of read() at s_maxbytes
e45692fa1aea mm: Add a user_ns owner to mm_struct and fix ptrace permission checks
04804d83d483 block_dev: don't test bdev->bd_contains when it is not stable
52d69727a441 fs: exec: apply CLOEXEC before changing dumpable task flags
781e976ac2c6 exec: Ensure mm->user_ns contains the execed files
fc1d3e5f3cd0 btrfs: make file clone aware of fatal signals
8c59356c1232 Btrfs: fix incremental send failure caused by balance
02fffa116bda Btrfs: don't BUG() during drop snapshot
0f2e022db237 btrfs: fix a possible umount deadlock
65563ab7271b Btrfs: fix memory leak in do_walk_down
364b85c57d25 btrfs: clean the old superblocks before freeing the device
6a6e9276f3f5 Btrfs: don't leak reloc root nodes on error
4d3d9b59d963 Btrfs: return gracefully from balance if fs tree is corrupted
a6522e487b2c Btrfs: bail out if block group has different mixed flag
d7839adcb0e3 Btrfs: fix memory leak in reading btree blocks
1a087cd869c6 clk: ti: omap36xx: Work around sprz319 advisory 2.1
2b96c4b19e0a ALSA: hda: when comparing pin configurations, ignore assoc in addition to seq
dc8144f49988 ALSA: hda - Gate the mic jack on HP Z1 Gen3 AiO
685c4db17890 ALSA: hda - fix headset-mic problem on a Dell laptop
b757fc019fc9 ALSA: hda - ignore the assoc and seq when comparing pin configurations
38c6095f48fe ALSA: hda/ca0132 - Add quirk for Alienware 15 R2 2016
5496ec423449 ALSA: hiface: Fix M2Tech hiFace driver sampling rate change
abf549a8b969 ALSA: usb-audio: Add QuickCam Communicate Deluxe/S7500 to volume_control_quirks
6b0a56e9aaf3 usbip: vudc: fix: Clear already_seen flag also for ep0
a9143e58d3cc USB: UHCI: report non-PME wakeup signalling for Intel hardware
4422a26936ae usb: gadget: composite: correctly initialize ep->maxpacket
be8f1c44177a usb: gadget: f_uac2: fix error handling at afunc_bind
79d5a30e37ab usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices
e3dfbc8904b3 usb: dwc3: gadget: set PCM1 field of isochronous-first TRBs
269edaef820f USB: cdc-acm: add device id for GW Instek AFG-125
741523f3da82 USB: serial: kl5kusb105: fix open error path
f34b7e027eeb USB: serial: option: add dlink dwm-158
e47e81c4e705 USB: serial: option: add support for Telit LE922A PIDs 0x1040, 0x1041
3aa3cb940878 Btrfs: fix qgroup rescan worker initialization
691ea6c7eb1e Btrfs: fix emptiness check for dirtied extent buffers at check_leaf()
0695d8b10a88 btrfs: store and load values of stripes_min/stripes_max in balance status item
80f7d2836e37 Btrfs: fix relocation incorrectly dropping data references
f1b268d7a8e2 Btrfs: fix tree search logic when replaying directory entry deletes
65553a02a313 Btrfs: fix deadlock caused by fsync when logging directory entries
361e82137a2d Btrfs: fix BUG_ON in btrfs_mark_buffer_dirty
562de9c7ce24 btrfs: limit async_work allocation and worker func duration
f080d7094838 aoe: fix crash in page count manipulation
8bba2e2e62cb Linux 4.8.15
762c9bb16fce crypto: rsa - Add Makefile dependencies to fix parallel builds
014e5a7d9354 hotplug: Make register and unregister notifier API symmetric
3527ad05b46e batman-adv: Check for alloc errors when preparing TT local data
32ccd76788a5 m68k: Fix ndelay() macro
9fc7a4758608 ceph: don't set req->r_locked_dir in ceph_d_revalidate
a05f493f8d4e ARM: dts: imx7d: fix LCDIF clock assignment
798c825fb006 ARM: dts: orion5x: fix number of sata port for linkstation ls-gl
d271b9bec2d3 Revert "ACPI: Execute _PTS before system reboot"
3ee9f16cff18 can: peak: fix bad memory access and free sequence
212e0ff80970 can: raw: raw_setsockopt: limit number of can_filter that can be set
bdb5ed2040f5 crypto: marvell - Don't corrupt state of an STD req for re-stepped ahash
bfef274e4dae crypto: mcryptd - Check mcryptd algorithm compatibility
86bea59218a0 crypto: caam - fix pointer size for AArch64 boot loader, AArch32 kernel
666531ca650e crypto: marvell - Don't copy hash operation twice into the SRAM
04925ba9b944 acpi, nfit: fix bus vs dimm confusion in xlat_status
53ed7c2e8d02 acpi, nfit: validate ars_status output buffer size
e04e2dace316 acpi, nfit, libnvdimm: fix / harden ars_status output length handling
483ac1487a9d acpi, nfit: fix extended status translations for ACPI DSMs
0525cebf8ef7 perf/x86: Fix full width counter, counter overflow
eceab1fd7f9e vhost-vsock: fix orphan connection reset
b0224f36735e sched/autogroup: Fix 64-bit kernel nice level adjustment
2a477999977c scsi: lpfc: fix oops/BUG in lpfc_sli_ringtxcmpl_put()
ac65fe0bbdea device-dax: fix private mapping restriction, permit read-only
2386c6b188c5 locking/rtmutex: Use READ_ONCE() in rt_mutex_owner()
7b2347c8e803 locking/rtmutex: Prevent dequeue vs. unlock race
bed4eef2e8fa zram: restrict add/remove attributes to root only
4fb7569c7370 parisc: Fix TLB related boot crash on SMP machines
b81e5db49515 parisc: Remove unnecessary TLB purges from flush_dcache_page_asm and flush_icache_page_asm
7e8f68aa1833 parisc: Purge TLB before setting PTE
6e284445bab5 fuse: fix clearing suid, sgid for chown()
e70d6d2d7383 powerpc/boot: Fix build failure in 32-bit boot wrapper
a82ad493f045 powerpc/mm: Fix lazy icache flush on pre-POWER5
84b36287c72d powerpc/eeh: Fix deadlock when PE frozen state can't be cleared
7b8c57cad53a Linux 4.8.14
1670d1584701 esp6: Fix integrity verification when ESN are used
b3e9d4982939 esp4: Fix integrity verification when ESN are used
be5339492b29 flowcache: Increase threshold for refusing new allocations
3a116fa8c95d Revert: "ip6_tunnel: Update skb->protocol to ETH_P_IPV6 in ip6_tnl_xmit()"
686182870c6a ipv4: Set skb->protocol properly for local output
e67bd82fb79d ipv6: Set skb->protocol properly for local output
22d94c326660 Don't feed anything but regular iovec's to blk_rq_map_user_iov
e4a6c61c6b71 constify iov_iter_count() and iter_is_iovec()
907bc3181c9a sparc32: Fix inverted invalid_frame_pointer checks on sigreturns
360e257f8cf3 sparc64: fix compile warning section mismatch in find_node()
2f02dcb673a4 sparc64: Fix find_node warning if numa node cannot be found
ad02ec7d37a2 ipv4: Drop suffix update from resize code
0b1c601d367f ipv4: Drop leaf from suffix pull/push functions
cd8a6c0e95bf ipv4: Fix memory leak in exception case for splitting tries
a8780378b39e ipv4: Restore fib_trie_flush_external function and fix call ordering
5ff5e5c06c25 net: ping: check minimum size on ICMP header length
f818e5d86aef net: avoid signed overflows for SO_{SND|RCV}BUFFORCE
bfecf9017f8b geneve: avoid use-after-free of skb->data
4daa2c73eb05 tipc: check minimum bearer MTU
1ff3209a21c8 sh_eth: remove unchecked interrupts for RZ/A1
bbf913d774b7 net: bcmgenet: Utilize correct struct device for all DMA operations
accb7c99fc0f cdc_ether: Fix handling connection notification
34457543e203 ip6_offload: check segs for NULL in ipv6_gso_segment.
cef222d40f2e packet: fix race condition in packet_set_ring
17941a9d6409 GSO: Reload iph after pskb_may_pull
ff0d7874078d net/dccp: fix use-after-free in dccp_invalid_packet
023cd33ece37 net: macb: fix the RX queue reset in macb_rx()
25d9b4bb64ea netlink: Do not schedule work from sk_destruct
f5dad3473d83 netlink: Call cb->done from a worker thread
360d6a23e79d net/sched: pedit: make sure that offset is valid
aa239369bdfa net: dsa: fix unbalanced dsa_switch_tree reference counting
9a7479273949 net, sched: respect rcu grace period on cls destruction
a9437ebc69f5 net: dsa: bcm_sf2: Ensure we re-negotiate EEE during after link change
ddf053431efe udplite: call proper backlog handlers
7b0aa75be3ab ipv6: bump genid when the IFA_F_TENTATIVE flag is clear
58c8cc33de6c rtnl: fix the loop index update error in rtnl_dump_ifinfo()
84df56749f48 l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind()
7f8b251a0985 rtnetlink: fix FDB size computation
c39caa8f80c0 af_unix: conditionally use freezable blocking calls in read
bdc5c63e4b38 net: sky2: Fix shutdown crash
a75684ab7a12 ip6_tunnel: disable caching when the traffic class is inherited
1b079d5b9fc1 net: check dead netns for peernet2id_alloc()
65dfc8b4547f net: dsa: b53: Fix VLAN usage and how we treat CPU port
f959eb507439 virtio-net: add a missing synchronize_net()
8070f33be6c4 gro_cells: mark napi struct as not busy poll candidates
55d64c0b3c15 Linux 4.8.13
a4edb1a2b045 arm64: suspend: Reconfigure PSTATE after resume from idle
6353400d9130 arm64: mm: Set PSTATE.PAN from the cpu_enable_pan() call
b49b1ae6d341 arm64: cpufeature: Schedule enable() calls instead of calling them via IPI
e4e77deda200 batman-adv: Detect missing primaryif during tp_send as error
f106de5604dd clk: sunxi: Fix M factor computation for APB1
9e2d9e95094a perf/x86: Restore TASK_SIZE check on frame pointer
ab34b429a01f drm/mediatek: fix null pointer dereference
43b5bb262711 pwm: Fix device reference leak
6c6947613979 KVM: use after free in kvm_ioctl_create_device()
ff8b06b4efa6 arm64: dts: juno: fix cluster sleep state entry latency on all SoC versions
f67b89acdfa1 drm/radeon: fix check for port PM availability
835bb5cd3653 drm/amdgpu: fix check for port PM availability
972d595824b6 drm/radeon: fix power state when port pm is unavailable (v2)
be1b75edf20b drm/amdgpu: fix power state when port pm is unavailable
bd78c077f8fe drm/i915: drop the struct_mutex when wedged or trying to reset
5dd86b6e5873 drm/i915: Don't touch NULL sg on i915_gem_object_get_pages_gtt() error
05abe7452b71 KVM: arm/arm64: vgic: Don't notify EOI for non-SPIs
ca42bd35d308 mwifiex: printk() overflow with 32-byte SSIDs
de9ba13ebfdb PCI: Set Read Completion Boundary to 128 iff Root Port supports it (_HPX)
4f4857148b4a PCI: Export pcie_find_root_port
27dce9bcad4d mm: workingset: fix NULL ptr in count_shadow_nodes
60e33689a06e rcu: Fix soft lockup for rcu_nocb_kthread
b6f9e236b7ef Input: psmouse - disable automatic probing of BYD touchpads
6ca8ab7052c4 Input: change KEY_DATA from 0x275 to 0x277
600bec25b855 ovl: fix d_real() for stacked fs
5661a6926871 mm: fix false-positive WARN_ON() in truncate/invalidate for hugetlb
48b6b50a2ba5 kasan: update kasan_global for gcc 7
db04d354b7f1 zram: fix unbalanced idr management at hot removal
010020900006 thp: fix corner case of munlock() of PTE-mapped THPs
08fd95de5eee mm, thp: propagation of conditional compilation in khugepaged.c
76e59ecacd54 ARC: Don't use "+l" inline asm constraint
b43fb9f6f162 ARC: mm: PAE40: Fix crash at munmap
8d1ee7b245ef scsi: libfc: fix seconds_since_last_reset miscalculation
10e2627377b0 scsi: hpsa: use bus '3' for legacy HBA devices
e170c1003c02 libata-scsi: Fixup ata_gen_passthru_sense()
(From OE-Core rev: 9cd1850a0a8882796f89c65c073bc80f915f413f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The shortlog of changes follows:
6f2fabab8d63 Linux 4.9.2
8ed8791885aa drm/i915: Fix setting of boost freq tunable
18a00ac6d7f1 drm/i915: skip the first 4k of stolen memory on everything >= gen8
639641105443 drm/i915: Initialize dev_priv->atomic_cdclk_freq at init time
159e2ea9ed49 drm/i915: Fix cdclk vs. dev_cdclk mess when not recomputing things
d816da6f5766 drm/i915/dsi: Do not clear DPOUNIT_CLOCK_GATE_DISABLE from vlv_init_display_clock_gating
6cb4179f97cf drm/i915/dsi: Fix chv_exec_gpio disabling the GPIOs it is setting
2037b1b46cdb net: mvpp2: fix dma unmapping of TX buffers for fragments
3f3a6bbe6f9f sg_write()/bsg_write() is not fit to be called under KERNEL_DS
d024532a97db kconfig/nconf: Fix hang when editing symbol with a long prompt
173fd37a3d21 target/user: Fix use-after-free of tcmu_cmds if they are expired
630a2ef354bb libnvdimm, pfn: fix align attribute
6838ac125324 of, numa: Return NUMA_NO_NODE from disable of_node_to_nid() if nid not possible.
d5cf5ae25c95 powerpc/boot: Request no dynamic linker for boot wrapper
efcb3d9442ff powerpc/ps3: Fix system hang with GCC 5 builds
4b23132d6cf5 powerpc/64e: Convert cmpi to cmpwi in head_64.S
369b330c9d82 SUNRPC: fix refcounting problems with auth_gss messages.
ba15defe1807 pNFS: Fix a deadlock between read resends and layoutreturn
e523ce8c99f9 pNFS: Clear NFS_LAYOUT_RETURN_REQUESTED when invalidating the layout stateid
f32659df6e15 pNFS: Don't clear the layout stateid if a layout return is outstanding
24b049fa0cd9 pNFS: On error, do not send LAYOUTGET until the LAYOUTRETURN has completed
b775b86a5fe8 nfs_write_end(): fix handling of short copies
fc6cb9c303e2 libceph: verify authorize reply on connect
d8c34b0cc0be PCI: Check for PME in targeted sleep state
7cc603e9a828 i40iw: Use correct src address in memcpy to rdma stats counters
6195cd1a9628 bad_inode: add missing i_op initializers
afd2a1994ea4 Input: drv260x - fix input device's parent assignment
e5d92c0c84f3 v4l: tvp5150: Add missing break in set control handler
7f89c1373637 media: solo6x10: fix lockup by avoiding delayed register write
3fbe140e9d36 s5p-mfc: fix failure path of s5p_mfc_alloc_memdev()
9fd64b830259 mn88473: fix chip id check on probe
eb9afff9513d mn88472: fix chip id check on probe
9aff8b170fe0 IB/cma: Fix a race condition in iboe_addr_get_sgid()
476ed812c42d IB/rxe: Fix a memory leak in rxe_qp_cleanup()
5984423bf7eb IB/multicast: Check ib_find_pkey() return value
4187dfa67fa9 IPoIB: Avoid reading an uninitialized member variable
382072e09f19 IB/mad: Fix an array index check
239b40eb6189 fgraph: Handle a case where a tracer ignores set_graph_notrace
a035dc674dd4 x86/smpboot: Make logical package management more robust
3168762e8ad3 platform/x86: asus-nb-wmi.c: Add X45U quirk
21be088c36c6 ftrace/x86_32: Set ftrace_stub to weak to prevent gcc from using short jumps to it
e80ceb2da52e vsock/virtio: fix src/dst cid format
d06485e0fcf5 fsnotify: Fix possible use-after-free in inode iteration on umount
3f618a0b872f kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)
94107133ae81 KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT
75b1053c2b8c KVM: PPC: Book3S HV: Save/restore XER in checkpointed register state
483eeca2cf38 scsi: aacraid: remove wildcard for series 9 controllers
8beb252f2be2 md/raid5: limit request size according to implementation limits
a0357979d620 sc16is7xx: Drop bogus use of IRQF_ONESHOT
7d5ec9eb3eea latent_entropy: fix ARM build error on earlier gcc
959e95305f13 arm64: KVM: pmu: Reset PMSELR_EL0.SEL to a sane value before entering the guest
111e0ccaf979 s390/kexec: use node 0 when re-adding crash kernel memory
53bbee3348d8 s390/vmlogrdr: fix IUCV buffer allocation
b3854cefe3d2 firmware: fix usermode helper fallback loading
ce7ec3d7526c ARC: mm: arc700: Don't assume 2 colours for aliasing VIPT dcache
9d33a3995667 scsi: avoid a permanent stop of the scsi device's request queue
2a940b853ef6 scsi: zfcp: fix rport unblock race with LUN recovery
744807cb251f scsi: zfcp: do not trace pure benign residual HBA responses at default level
2ce34d9da427 scsi: zfcp: fix use-after-"free" in FC ingress path after TMF
8032a30081c1 iscsi-target: Return error if unable to add network portal
113783ec1cdb scsi: megaraid_sas: Do not set MPI2_TYPE_CUDA for JBOD FP path for FW which does not support JBOD sequence map
6089f8712dcb scsi: megaraid_sas: For SRIOV enabled firmware, ensure VF driver waits for 30secs before reset
2d2914349286 stm class: Fix device leak in open error path
fbb28e76454f vt: fix Scroll Lock LED trigger name
11aa5c10102a block: protect iterate_bdevs() against concurrent close
09c154920e77 mei: me: add lewisburg device ids
0814c3ede27a mei: request async autosuspend at the end of enumeration
66469319c01a drivers/gpu/drm/ast: Fix infinite loop if read fails
8dbd6f709e62 drm/amdgpu: fix init save/restore list in gfx_v8.0
f2d3d7f84cdf drm/amdgpu: fix enable_cp_power_gating in gfx_v8.0.
326760ba1802 drm/amd/powerplay: bypass fan table setup if no fan connected
aa286e88fd91 drm/gma500: Add compat ioctl
6187f21f8c97 drm/radeon/si: load the proper firmware on 0x87 oland boards
851bedd86b95 drm/radeon: add additional pci revision to dpm workaround
126f676b087d drm/radeon: Hide the HW cursor while it's out of bounds
45ec673dfe0f drm/radeon: Also call cursor_move_locked when the cursor size changes
9195157f7d03 drm/nouveau/fifo/gf100-: protect channel preempt with subdev mutex
64a5c4725fd3 drm/nouveau/i2c/gk110b,gm10x: use the correct implementation
bfa563bae251 drm/nouveau/ttm: wait for bo fence to signal before unmapping vmas
a5b4c77c92da drm/nouveau/ltc: protect clearing of comptags with mutex
d95ef8af5425 drm/nouveau/bios: require checksum to match for fast acpi shadow method
2c256b8e81bf drm/nouveau/kms: lvds panel strap moved again on maxwell
42e5fd6bce5b drm/nouveau/gr: fallback to legacy paths during firmware lookup
c2a51dd3138d drm/amd/amdgpu: enable GUI idle INT after enabling CGCG
8e1b86f30bc1 drm/amdgpu: Also call cursor_move_locked when the cursor size changes
2cea21516231 drm/amdgpu: Store CRTC relative amdgpu_crtc->cursor_x/y values
eb0d743b4188 drm/amdgpu: add additional pci revision to dpm workaround
f3dd47e0f683 drm/amdgpu/si: load the proper firmware on 0x87 oland boards
a04465251f94 ACPI / video: Add force_native quirk for HP Pavilion dv6
6d46601e6564 ACPI / video: Add force_native quirk for Dell XPS 17 L702X
745f7d0d1951 staging: comedi: ni_mio_common: fix E series ni_ai_insn_read() data
bd1692bed615 staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data mask
3b2f287b7795 staging: lustre: ldlm: pl_recalc time handling is wrong
38b2dc0b0f38 staging/lustre/osc: Revert erroneous list_for_each_entry_safe use
bf6a9b31e8a9 hv: acquire vmbus_connection.channel_mutex in vmbus_free_channels()
5bd6ccd9c95f docs: sphinx-extensions: make rstFlatTable work with docutils 0.13
fab303ba78ee thermal: hwmon: Properly report critical temperature in sysfs
05bc2071b11b clk: bcm2835: Avoid overwriting the div info when disabling a pll_div clk
b6d666315b99 arm64: tegra: Add VDD_GPU regulator to Jetson TX1
5f654078b760 gpio: chardev: Return error for seek operations
acd0993f8e97 gpio: stmpe: fix interrupt handling bug
ca22975afa14 timekeeping_Force_unsigned_clocksource_to_nanoseconds_conversion
efd16f76f4da mmc: sd: Meet alignment requirements for raw_ssr DMA
dbcde92b1b44 regulator: stw481x-vmmc: fix ages old enable error
cee935845420 mmc: sdhci: Fix recovery from tuning timeout
5bb425033ef1 Revert "mmc: sdhci: Reset cmd and data circuits after tuning failure"
71717a3ef900 ath9k: do not return early to fix rcu unlocking
de5d62f892c3 ath9k: Really fix LED polarity for some Mini PCI AR9220 MB92 cards.
072ebf89ca23 ath9k: fix ath9k_hw_gpio_get() to return 0 or 1 on success
1976c7689a58 cfg80211/mac80211: fix BSS leaks when abandoning assoc attempts
3f23f7f21ac5 rtl8xxxu: Work around issue with 8192eu and 8723bu devices not reconnecting
19d55b9f32b6 perf/x86/intel/cstate: Prevent hotplug callback leak
ba12b35fbd69 perf annotate: Don't throw error for zero length symbols
54fa190d0a54 perf/x86: Fix exclusion of BTS and LBR for Goldmont
98068574928f rtlwifi: Fix enter/exit power_save
ea23fca0c600 ath10k: fix soft lockup during firmware crash/hw-restart
b8425f413466 ssb: Fix error routine when fallback SPROM fails
6437abdb624e Linux 4.9.1
705df55bd0cf x86/kbuild: enable modversions for symbols exported from asm
c728f2b5edf2 builddeb: fix cross-building to arm64 producing host-arch debs
e12096297ea5 xfs: set AGI buffer type in xlog_recover_clear_agi_bucket
c11a13d6f527 xfs: fix up xfs_swap_extent_forks inline extent handling
e67053ad4840 arm/xen: Use alloc_percpu rather than __alloc_percpu
45394bf3e11e xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing
b7bbf06c21aa tpm xen: Remove bogus tpm_chip_unregister
f726f4f411f9 kernel/debug/debug_core.c: more properly delay for secondary CPUs
9b78d6905424 watchdog: qcom: fix kernel panic due to external abort on non-linefetch
2eccf0e0bcb1 watchdog: mei_wdt: request stop on reboot to prevent false positive event
36b08b819713 kernel/watchdog: use nmi registers snapshot in hardlockup handler
c954acc0007b CIFS: Fix a possible memory corruption in push locks
9f9d98246e5f CIFS: Decrease verbosity of ioctl call
46890ffba1d6 CIFS: Fix a possible double locking of mutex during reconnect
69d13b69e79c CIFS: Fix missing nls unload in smb2_reconnect()
48f9526f4dcb CIFS: Fix a possible memory corruption during reconnect
7aa58e7ad53b cifs: Fix smbencrypt() to stop pointing a scatterlist at the stack
41c856b32900 ASoC: intel: Fix crash at suspend/resume without card registration
f5dca4881fac dm space map metadata: fix 'struct sm_metadata' leak on failed create
461f272954cf dm raid: fix discard support regression
e362c317ba76 dm rq: fix a race condition in rq_completed()
2c017f77e13d dm crypt: mark key as invalid until properly loaded
3fae2a9e994b dm flakey: return -EINVAL on interval bounds error in flakey_ctr()
e74fb822281e dm table: an 'all_blk_mq' table must be loaded for a blk-mq DM device
470b6910f7c1 dm table: fix 'all_blk_mq' inconsistency when an empty table is loaded
67b0069a5175 blk-mq: Do not invoke .queue_rq() for a stopped queue
7ac62bcde2d4 PM / OPP: Don't use OPP structure outside of rcu protected section
c7a8a0ac8fee PM / OPP: Pass opp_table to dev_pm_opp_put_regulator()
eab1c4e2d0ad usb: gadget: composite: always set ep->mult to a sensible value
44919a2ac4c6 mm, page_alloc: keep pcp count and list contents in sync if struct page is corrupted
04597beae7c2 mm/vmscan.c: set correct defer count for shrinker
fe3d462821b0 nvmet: Fix possible infinite loop triggered on hot namespace removal
890c39d35eb0 loop: return proper error from loop_queue_rq()
01e15b3328c4 f2fs: fix to determine start_cp_addr by sbi->cur_cp_pack
027611ef345d f2fs: fix overflow due to condition check order
1134ef11ffff f2fs: set ->owner for debugfs status file's file_operations
a43e1c459a3d Revert "f2fs: use percpu_counter for # of dirty pages in inode"
9abce3ca80a7 ext4: do not perform data journaling when data is encrypted
acf3efd6f003 ext4: return -ENOMEM instead of success
3e4f8da9d177 ext4: reject inodes with negative size
8084f57bc468 ext4: add sanity checking to count_overhead()
956e2a0e6779 ext4: fix in-superblock mount options processing
01772f4683a9 ext4: use more strict checks for inodes_per_block on mount
b493c715cdce ext4: fix stack memory corruption with 64k block size
c3881abae6e7 ext4: fix mballoc breakage with 64k block size
24d1251a5d83 ext4: don't lock buffer in ext4_commit_super if holding spinlock
21cc91554c3d crypto: caam - fix AEAD givenc descriptors
e71b4e061c96 ptrace: Don't allow accessing an undumpable mm
e747b4ae3b6b ptrace: Capture the ptracer's creds not PT_PTRACE_CAP
48466c4772d2 vfs,mm: fix return value of read() at s_maxbytes
694a95fa6dae mm: Add a user_ns owner to mm_struct and fix ptrace permission checks
cfa2d65b2622 block_dev: don't test bdev->bd_contains when it is not stable
b6cce9b8e813 splice: reinstate SIGPIPE/EPIPE handling
c1df5a63716b fs: exec: apply CLOEXEC before changing dumpable task flags
21245b8635e8 exec: Ensure mm->user_ns contains the execed files
0de98eef9c11 clk: ti: omap36xx: Work around sprz319 advisory 2.1
0ce4f00087b4 ALSA: hda: when comparing pin configurations, ignore assoc in addition to seq
e029ef3a9c82 ALSA: hda - Gate the mic jack on HP Z1 Gen3 AiO
0119d5d44034 ALSA: hda - fix headset-mic problem on a Dell laptop
37b7c5db5a30 ALSA: hda - ignore the assoc and seq when comparing pin configurations
0f1047be4a9f ALSA: hda/ca0132 - Add quirk for Alienware 15 R2 2016
fa2e770f88bc ALSA: hiface: Fix M2Tech hiFace driver sampling rate change
205d3de9637f ALSA: usb-audio: Add QuickCam Communicate Deluxe/S7500 to volume_control_quirks
77bd73ce21fa usbip: vudc: fix: Clear already_seen flag also for ep0
420f170ce1ba USB: UHCI: report non-PME wakeup signalling for Intel hardware
e0aa5ec40d6e usb: gadget: composite: correctly initialize ep->maxpacket
5180169dae85 usb: gadget: f_uac2: fix error handling at afunc_bind
eab169397ad6 usb: core: usbport: Use proper LED API to fix potential crash
32a35351b7ec usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices
3666b6280351 usb: dwc3: gadget: set PCM1 field of isochronous-first TRBs
20d7c1a68b5b USB: cdc-acm: add device id for GW Instek AFG-125
c094cd32b0c7 USB: serial: kl5kusb105: fix open error path
5e7c90bd53c6 USB: serial: option: add dlink dwm-158
142513d6dc7c USB: serial: option: add support for Telit LE922A PIDs 0x1040, 0x1041
1a5ec7dd17a9 Btrfs: fix qgroup rescan worker initialization
a1e0e0476afb Btrfs: fix emptiness check for dirtied extent buffers at check_leaf()
c01ea880e88a btrfs: store and load values of stripes_min/stripes_max in balance status item
01f285fe1d88 Btrfs: fix relocation incorrectly dropping data references
26dc52465f0d Btrfs: fix tree search logic when replaying directory entry deletes
664b053c5363 Btrfs: fix deadlock caused by fsync when logging directory entries
7d470f04e36c Btrfs: fix BUG_ON in btrfs_mark_buffer_dirty
3bac322e18c3 btrfs: limit async_work allocation and worker func duration
56eaecc8ecf3 hotplug: Make register and unregister notifier API symmetric
(From OE-Core rev: 338874156bbe1b63a225643910bcdf0491d5c7f9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating firewire and audio configuration updates from Jussi:
Add support for IEEE-1394 (Firewire)
Adds support for IEEE-1394 aka Firewire bus and some commonly used
devices.
Signed-off-by: Jussi Laako <jussi.laako@linux.intel.com>
Update audio support
Updates audio support to work with modern audio hardware while
dropping some legacy parts.
Signed-off-by: Jussi Laako <jussi.laako@linux.intel.com>
(From OE-Core rev: bbde3fa90ea4470630049a92ee7f683115868466)
Signed-off-by: Jussi Laako <jussi.laako@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This changes adds 'nat' table in iptables. The netfilter side
is already configured for NAT but iptables config was missing.
Further, CONFIG_IP_NF_TARGET* configured below depend on
CONFIG_IP_NF_NAT but remain disabled unless CONFIG_IP_NF_NAT
is explicitly enabled.
CONFIG_IP_NF_TARGET_MASQUERADE is needed by Connman to
support tethering.
(From OE-Core rev: 0a382b58c01bb359b225f48f312f696f0badf27b)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following patches for the 4.4/4.8 and 4.9
kernel to enable LTO for linux-yocto-tiny configurations
(i.e. poky-tiny).
b9735c0b4235 intel-quark: Remove support for serial-all
ce02da2e7833 features/usb/serial: Add new usb serial feature
f5b00d3a7e68 soc/x1000: Remove 'default policy' features
ca2dc186ff32 soc/x1000: Remove unnecessary features
90061752cbb5 soc/x1000: Remove bsp/common-pc/*
00b26ed213c4 meta/intel-common: Have intel-quark-tiny use common-drivers-32-essential
7ce24a2c497b meta/intel-common: Add intel-common-drivers-32-essential feature
ef711e0ab70e meta: Add lto-debug feature
1ca570817bf3 meta: Add lto-disable feature
45e5c2e9118e meta: Add lto (Link-Time Optimization) enablement feature
(From OE-Core rev: 6a8e6b66ff65cf849a3c34a506cf650abfef2420)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 4.9-rt kernel has been released, and this commit integrates
the 286 patches in that series.
(From OE-Core rev: 5249e168ac3afac7ddc5d67d526c3bf74d82aa5c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introducing the 4.9 kernel recipes. 4.9 will be a LTSI kernel, so we
introduce these recipes with the intent that they'll replace 4.1 as
the LTSI kernel, and other older kernels (i.e 4.4/4.8) once 4.9
shown to be stable.
linux-yocto-tiny and linux-yocto-rt are also part of this commit, but
are placeholders while we wait for their content to be available. They
will build, but provide nothing above the standard kernel at the
moment.
(From OE-Core rev: e8a1f4ccb10af234af1f2cb6905c638992558556)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Test case adds perl recipe before build eSDK.
2. After this added recipe, the script verifies the update:
${SDK_DEPLOY}/${TOOLCHAINEXT_OUTPUTNAME}.sh
oe-publish-sdk [esdk] [path-to-http]
CORE_IMAGE_EXTRA_INSTALL = "perl"
bitbake -c populate-sdk-ext [some-image]
devtool sdk-update
This should fix [YOCTO #9369]
(From OE-Core rev: 21bd406bf89e9ceafe1a807877406be817cacca6)
Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
adding the meta-selftest layer is a small bump you always encounter
when you want to run selftest. Adding an automatic procedure to include
the layer if it is not yet present.
(From OE-Core rev: b5000dd7b1d74d5dfede869ffa75ed87f5a8553c)
Signed-off-by: Benjamin Esquivel <benjamin.esquivel@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The newer firmware blobs were versioned and landing in the default
package so move them to their appropriately named package.
[YOCTO #10942]
(From OE-Core rev: d7657df13d18f982d8ca08f1c992f4605f88ceb4)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The /cgit.cgi/ part is no longer valid in cgit URLs on
git.openembedded.org as of recent infrastructure changes.
(From OE-Core rev: a17ac420290c7e0debddec78b9540ae8726720dc)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to ensure the locale is UTF-8 or otherwise strange errors will
occur later on during execution - the same reason we check this in
BitBake itself. Unfortunately this check has to be before command line
parsing and therefore showing the help text in response to --help, since
that relies upon parsing bitbake's configuration (as we need to load
plugins in other layers).
Fixes [YOCTO #10908].
(From OE-Core rev: 370c6ba16c72bb52e80da098a5812ed1e09ac659)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add blank lines in comments to make it easy for readind and updating.
(From OE-Core rev: 3f3344d1c063b0013a9ae7203bac30ab8f4ea17c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
- Add QB_NETWORK_DEVICE to set network device, it will be used by both
slirp and tap.
- Set QB_NETWORK_DEVICE to "-device virtio-net-pci" in qemuboot.bbclass
but runqemu will default to "-device e1000" when QB_NETWORK_DEVICE is
not set, this is because oe-core's qemu targets support
virtio-net-pci, but the one outside of oe-core may not,
"-device e1000" is more common.
- Set hostfwd by default: 2222 -> 22, 2323 -> 23, and it will choose a
usable port when the one like 222 is being used. This can avoid
conflicts when multilib slirp qemus are running. We can forward more
ports by default if needed, and bsp.conf can custom it.
- Use different mac sections for slirp and tap to fix conflicts when
running both of them on the same host.
[YOCTO #7887]
CC: Nathan Rossi <nathan@nathanrossi.com>
CC: Randy Witt <randy.e.witt@linux.intel.com>
(From OE-Core rev: 7dddd090806914a62d977730440d803e48f44763)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
* In build1:
$ runqemu nfs qemux86-64
In build2:
$ runqemu nfs qemux86-64
It would fail before since the port numerbs and conf files are
conflicted, now make runqemu-export-rootfs work together with runqemu to
fix the problem.
* And we don't need export PSEUDO_LOCALSTATEDIR in runqemu, the
runqemu-export-rootfs can handle it well based on NFS_EXPORT_DIR.
* Remove "async" option from unfsd to fix warning in syslog:
Warning: unknown exports option `async' ignored
* Fixed typos
Both slirp and tap can work.
(From OE-Core rev: 84b2281595bbdb497daa42640e3ee4658bf0bed8)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to have scriptlet output captured in log. If we don't do so,
some useful information from scriptlets (especially postinstall script)
would be missing. In case a script has a warning message but it does not
necessarily have to fail, the message should be captured.
Opkg has already done that. Change for rpm and dpkg so that scriptlet
output is captured and no warning message is missing.
(From OE-Core rev: 0e52e0c619e02327602d83999a61d978d3a9240e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Store measurements as a dict, instead of an array, in the JSON report.
This change makes traversing of the report much easier. The change also
disallows identically named measurements under one test, as a sanity
check for the test cases.
[YOCTO #10590]
(From OE-Core rev: 81065092f38c9631dcf5917d70a25809a21de5f4)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use OrderedDict() instead of sort_keys=True (of json.dump()). Makes for
more logical sorting of the values in the report.
[YOCTO #10590]
(From OE-Core rev: 75e8aec0e0d81888be47b35c3c84df73edb91868)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch introduces a new metadata (.json or .xml) file in the output
directory. All test meta data, e.g. git revision information and tester
host information is now stored there. The JSON report format is slightly
changed as the metadata is not present in results.json anymore.
[YOCTO #10590]
(From OE-Core rev: 2036c646019660e32f1bc277fdec0cdbff0afdd4)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add --xml command line option to oe-build-perf-test script for producing
a test report in JUnit XML format instead of JSON.
[YOCTO #10590]
(From OE-Core rev: 21ae1c491b93675254b7733640662b566ed76f98)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will typically mean assert message and exception type plus a
traceback. In case of skipped tests the reason (i.e. skip message) is
included.
[YOCTO #10590]
(From OE-Core rev: bd5f5ab6f7350b4487c9cc2dbd100fa4b687d0fa)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Options with spacs around = signs will be droped/ignored by the
kernel.
The audit phase can detect this and warn the user:
% kconf_check --report -o .kernel-meta/cfg/ \
linux-qemux86-standard-build/.config `pwd` $cfgs
[errors (3): .kernel-meta/cfg/fragment_errors.txt
There are errors withing the config fragments.
% cat .kernel-meta/cfg/fragment_errors.txt
Warning: Ignoring "CONFIG_PARAVIRTT_CLOCK =y" -- spaces around equals are invalid
Warning: Ignoring "CONFIG_PARAVIRTTT_CLOCK = y" -- spaces around equals are invalid
Warning: Ignoring "CONFIG_PARAVIRTTTT_CLOCK= y" -- spaces around equals are invalid
(From OE-Core rev: 952a455c09eb88755b2d24ae05c2d6b886922b63)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 626ceac135fa66277c2fa53197be33cc9d4d7614 broke the error
check in process_file by adding in three lines that stomp on $? which
print the output file when verbose is set.
Move output file on verbose print to an elif after the error check.
Signed-off-by: George McCollister <george.mccollister@gmail.com>
(From OE-Core rev: 01657e8023ee535420ab5ba4a5d1952e13bce0cd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream accepted the flock fix with some improvements. Backport those
changes.
(From OE-Core rev: 16813b55d1cd624820f955ab752c922f305856e8)
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>
Drop 0001-Cus428Midi-Explicitly-cast-constant-to-char-type.patch,
because the new release has an equivalent fix (and that's actually the
only change in the new release).
(From OE-Core rev: df748d5b9f1cc0166cb8de5d770e001171cc3926)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3 fails to work with recent glibc versions on older hosts, giving
errors like:
Fatal Python error: getentropy() failed
Aborted
This breaks buildtools-tarball and hence eSDK. This patch backports the
changes to random.c from upstream that address the problem.
(From OE-Core rev: 126b2c47b1806b53fbd9a4706bc48bc7c4efd3be)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adapt the current runtime selftest to use the new runtime
framework.
(From OE-Core rev: cfeec8a59ba03f98944fd3dca1a67d80e7edb4c9)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This migrates current testexport implmentation to use the
new OEQA framework.
[YOCTO #10686]
(From OE-Core rev: 92cb884c989460563a063b29d2be8b7acd20577e)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds default values to OERuntimeTestContextExecutor class in
order to make easier the execution of exported test that were
generated with testexport class.
[YOCTO #10686]
(From OE-Core rev: c78aeaac3b75610bada62b138c9670815a07ee80)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows to use the package install feature with
the new OEQA framework.
[YOCTO #10234]
(From OE-Core rev: 077dc19445574457769eb4f231de97e8059cb75e)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
testimage support the installation of packages without a package
manager in the target. This adds support for package extraction
required to support the installation feature.
[YOCTO #10234]
(From OE-Core rev: 8c7335290cb00ed0683241249297ca573ebd353a)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will add functions to get module file path from a test
case or a complete suite.
[YOCTO #10234]
(From OE-Core rev: 11dd49cb9faaf6588f045083ab5bd6679e2eafc1)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This migrates the smart test from the old framework to
the new one. This has its own commit because smart
test was using bb and oe libraries that are available
when exporting the test cases to run in a different host.
Because of the removal of bb and oe libraries index and
packages feeds creation will be managed in testimage bbclass.
[YOCTO #10234]
(From OE-Core rev: 8d64ac4208e8dcb8a6fde6ea2959c9b3edfe2172)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This migrates current runtime test suite to be used with the new framework.
[YOCTO #10234]
(From OE-Core rev: b39c61f2d442c79d03b73e8ffd104996fcb2177e)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This migrates testimage class to use the new framework. Most of
the code added here is to get rid off the data store dependency.
[YOCTO #10234]
(From OE-Core rev: 2aa5a4954d7610f31875ba7e655f25f8892517b6)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds qemu target to be used in testimage.
It uses the current QemuRunner class in order
to boot and control qemu.
[YOCTO #10231]
(From OE-Core rev: 44d4e9d0bb31fbc28d8c1fad8860ff56e5ae043a)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current targets (ssh and qemu) require a logger in their
constructors, so in order to get a new target we need
to provide the logger.
[YOCTO #10686]
(From OE-Core rev: 26bae3c255bc1e1cc8d81db0cffc809de0182a43)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit will prepare context to use qemu and not just
simpleremote.
(From OE-Core rev: 7485a08c967916fb6edff4cc573d9314ec577031)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This add the option to select what tests to run in the
<module>[.<class>[.<test>]] format.
Currently it just support modules
(From OE-Core rev: 0050565d71cee5a0cc22660b2398e4334d4b6719)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
skipIfNotDataVar will skip a test if a variable doesn't have certain value.
skipIfNotInDataVar will skip a test if a value is not in a certain variable.
(From OE-Core rev: a81045f4e2b740173237f5ae4e80e2bc0b287faa)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of the refactor we require to move the files used
in runtime testing to the new directory. This also adds
the path to the runtime test context.
[YOCTO #10234]
(From OE-Core rev: f80c21b46f69c42ff0853bf8abd01cf0c082c346)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds a new decorator to check if image under tests has
certain DISTRO_FEATURE or IMAGE_FEATURE.
[YOCTO #10234]
(From OE-Core rev: 8740803d0696a0e97b72210a56f4fbd3135826ed)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This new decorator will be used to skip the test
if the image under test doesn't have the required
packages installed.
[YOCTO #10234]
(From OE-Core rev: 021449938ff0b4d182d7f02930a80693f109c8ba)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds OERuntimeTestCase, OERuntimeTestContext, and OERuntimeTestLoader
to be used for runtime testing.
As expected there are some changes in runtime context:
- Adds the target to be used for runtime testing, the default
is a SSH connection to the device under test running a OE image.
- Runtime context requires image manifest because several
tests are skipped if a package is missing or installed.
- Several tests require the output of the ps command and it changes
its output and arguments if busybox o procps is installed, so the
case must use the correct ps command.
[YOCTO #10234]
(From OE-Core rev: f995f178de79d6d11422cd879d06371811f50651)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With this commit now it is possible to add targets with SSH for testing.
Most of it was imported for existing code, with improvements in log
handling.
[YOCTO #10234]
(From OE-Core rev: 3bc13548df4adb85f09467d200530a9c9f60da04)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new oeqa core framework will modify the structure of the runtime
folder the new runtime folder will have python code inside to support
runtime test cases.
(From OE-Core rev: 637b712096e9d230e15b1a432a561e4118db34c8)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Common files was move to oeqa/files from oeqa/runtime/files
because the same files are used across Runtime,SDK,eSDK tests.
(From OE-Core rev: f099302efe8f222c3e4ae3604429f5ede4fd8c67)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
TargetBuildProject was refactored to avoid bitbake dependency so
the instance don't allow to pass data store anymore.
classes/testimage: Export proxies before run tests
The TargetBuildProject based tests download archives from network.
(From OE-Core rev: e275f29de500a338a02402ecc570405309963b35)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Summary,
- Changes base case class to OESDKExtTest.
- Changes decorator classes to new ones.
- Chnages variable names sdktestdir -> sdk_dir.
- Added missing license to MIT.
(From OE-Core rev: 49568055df0a64e4228f27130b13ccafbba2a460)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The extensible sdk context and case modules extends the sdk ones,
this means that the tests from sdk are run also the sdkext tests.
Enables support in context for use oe-test esdk command for run
the test suites, the same options of sdk are required for run esdk tests.
Removes old related to case and context inside oetest.py.
[YOCTO #10599]
(From OE-Core rev: 1f0bb99249744b87dd39227a4cf37f2341f5499c)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For match with the new structure of the OEQA framework.
In the new framework Test component base directory in this case
sdk module will contain case and context implementations.
[YOCTO #10599]
(From OE-Core rev: bdb92fa4d9bd2e4a0a14e3adc62a6b9e9bf639d3)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The TEST_LOG_DIR was used for store sdk_target_log this log
contains the output of the run of build commands now that information
could be found also on log.do_testsdk under WORKDIR.
The log will continue to store into SDK_DIR instead of TEST_LOG_DIR.
(From OE-Core rev: 1c9ba4b698bab916d42b58255692a7bf3d773bbc)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Summary of the changes:
- Remove auto extend_path using pkgutil at __init__, is not needed.
- Change base class to OESDKTestCase.
- Add td_vars attr to set dependencies of certain variables in test
data.
- Change skips from module level to class level because Test context
(tc)
now isn't at module level.
- Variable names changes to be consistent (i.e. sdktestdir ->
sdk_dir).
[YOCTO #10599]
- Don't use bb.utils functions use instead remove_safe and shutil
for copy files.
- SDKBuildProject pass test data variables instead of call getVar
inside.
[YOCTO #10231]
(From OE-Core rev: 91cd1ed19a3f34c29cd77eb136036975fe465444)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't use bitbake references inside utils modules, in order todo
that changes getVar calls for arguments in the __init__ method like
dl_dir for all the classes and testlogdir, builddatetime in
SDKBUildProject.
Also don't export proxies inside _download_archive method, a good
practice is to setup the proxies at init of the process instead of
do it in this helper module.
[YOCTO #10231]
[YOCTO #10599]
(From OE-Core rev: 581c34d1efe9839f50ef322761269b4e4d8a56a6)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new buildproject module will contain only BuildProject class
a helper class for build source code.
The remaining classes TargetBuildProject and SDKBuildProject was
move to runtime and sdk respectively.
[YOCTO #10599]
(From OE-Core rev: 525fd2a5cda00890e921b63f7f608a10bc024d73)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The functionality provided is the same with imporvements on code
reuse and better interfaces.
(From OE-Core rev: 7a1ae3149965b162fb2c71fc7067e07a7a189249)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds case and context modules for SDK based on oetest.py old code.
Enables SDK Test component usage with oe-test, the SDK Test component
adds command line options for specify sdk installed dir, sdk environment
and target/hosts maniftest.
[YOCTO #10599]
(From OE-Core rev: 19e875dd81c42841666e6db5f6b665b4e1cddfe6)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For match with the new structure of the OEQA framework.
In the new framework Test component base directory in this case
sdk module will contain case and context implementations.
[YOCTO #10599]
(From OE-Core rev: 57af8ee4021c302bd351adf03e6d85274ad7efd5)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bitbake logger changes the way debug is logged and adds
different levels within debug, this is passed as argument
to the function and breaks compatibility with vanilla loggers.
This implements a way to handle this adding a new function for
debug, that will dispatch the correct logging method signature.
Also overrides info method to use logging.INFO + 1 in order to
see plain data.
Also this commit fix the issue of not showing the test summary
and results when running from bitbake.
[YOCTO #10686]
(From OE-Core rev: 619c9ab308fbef9e3563dc661e432603e764b562)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The export2json function export the variables contained in
the data store to JSON format, the main usage for now will be
to provide test data to QA framework.
(From OE-Core rev: 57c7bf68ed66a56601e1431bb2db750c5742b5ce)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OETestContextExecutor class supports to use oe-test for run core
test component also is a base class for the other test components
(runtime, sdk, selftest).
Te principal functionality is to support cmdline parsing and execution
of OETestContext, the test components could extend the common options
to provide specific ones. The common options between test components
are test data file, output log and test cases path's to scan.
Also it initializes the logger to be passed to the whole OEQA framework.
[YOCTO #10230]
(From OE-Core rev: 039deafa5f2c8fab31b8373b39f8bc219377b893)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new oe-test script will be use to run test components with
one single script.
The oe-test script search for test components inside meta/lib/oeqa,
the test components needs to implement OETestContextExecutor inside
context module in order to be supported by oe-test.
[YOCTO #10230]
(From OE-Core rev: 04b69cff3957731fa1ed2f7d23f2f616978ed0b7)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test suite covers the current functionality for the OEQA
framework.
For run certain test suite,
$ cd meta/lib/oeqa/core/tests
$ ./test_data.py
(From OE-Core rev: 7d7d0dc3736fc12ae7848de2785f0066e6470cd1)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OETestDataDepends decorator skips a test case if a variable
isn't into test data (d).
The skipIfDataVar decorator skips a test case if a variable
has certain value.
(From OE-Core rev: 7dc519d20e835ee7693c31903e164c4bc0e5e598)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OETimeout provides support for specify certain timeout
in seconds for a test case, if the timeout is reach the SIGALRM
is sent and an exception is raised to notify the timeout.
[YOCTO #10235]
(From OE-Core rev: 1bf66a370361912e9950d7ff45e382c93622a169)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OETestDepends decorator could be used over test cases to
define some dependency between them.
At loading time sorting the tests to grauntee that a test case
executes before also raise an exception if found a circular
dependency between test cases.
At before test case run reviews if the dependency if meet, in the
case of don't it skips the test case run.
(From OE-Core rev: 2385bd3c8a7c012fd1cad5465ec7d34675552c75)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
loader: Implements OETestLoader handling OETestDecorator
and filtering support when load tests. The OETestLoader is
responsible to set custom methods, attrs of the OEQA
frameowork.
[YOCTO #10231]
[YOCTO #10317]
[YOCTO #10353]
decorator: Add base class OETestDecorator to provide a common
way to define decorators to be used over OETestCase's, every
decorator has a method to be called when loading tests and
before test execution starts. Special decorators could be
implemented for filter tests on loading phase.
context: Provides HIGH level API for loadTests and runTests
of certain test component (i.e. runtime, sdk, selftest).
[YOCTO #10230]
(From OE-Core rev: 275ef03b77ef5f23b75cb01c55206d1ab0261342)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
misc: Functions for transform object to other types.
path: Functions for path handling.
test: Functions for operations related to test cases and suites.
[YOCTO #10232]
(From OE-Core rev: 102d04ccca3ca89d41b76a8c44e0ca0f436b7004)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
case: Defines OETestCase base class that provides custom
methods/attrs defined by the framework.
Every OETestCase instance contains a reference to the test
data (d), the test context (tc) and the logger.
Also implements _oe{SetUp,TearDown}Class for make special
handling of OEQA decorators and validations.
runner: Defines OETestRunner/OETestResult with support for RAW
and XML result logs.
exception: Custom exceptions related to the OEQA framework based
on class OEQAException.
[YOCTO #10230]
[YOCTO #10233]
(From OE-Core rev: c466086ccc4d4bb02d578a821cfb945945bfd529)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebuild wic-tools if its native sysroot doesn't exist to ensure
that all required tools are available.
(From OE-Core rev: 0d005d099a2b8ee1303b98710cdc78e06e14ab39)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This parameter will be used to allow or prevent variable caching.
For example, we don't want to cache value of RECIPE_SYSROOT_NATIVE
wic-tools variable as we may decide to rebuild wic-tools.
(From OE-Core rev: e4269fdb4c3ef06b97df063f8586f74986215c83)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed test_systemd_bootdisk, test_wic_image_type and test_qemu
test cases by building core-image-minimal with correct configuration.
(From OE-Core rev: 897fe85d34302953c98d07ade4fa2dd749ae2d22)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting WKS_FILE variable should be done only when
wic image is expected to be built by bitbake.
If it's set for all images it breaks image building in
some cases.
(From OE-Core rev: 46b84310f7df157c2ef290a60f5c2136d4206f09)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed isoimage-isohybrid plulgin and correspondent wic tet case:
- used wic-tools target when getting varlue of STAGING_LIBDIR variable
- ensured that image is built with efi and hddimg enabled
(From OE-Core rev: 5878484da64c38c7fde45bb06d76e22e608eb022)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Renamed grub-efi-native -> grub-efi in NATIVE_RECIPES
dictionary as '-native' suffix is added to the recipe name in
the code.
(From OE-Core rev: cd0e7b20de2de67793d0454f4e5cf6bb6f4a16f7)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic used native sysroot to get path to pseudo utility.
This approach doesn't work with recipe specific sysroots.
Using FAKEROOTCMD should fix the issue.
(From OE-Core rev: 03e051d594f285ea3c014d45e9b30028e683c602)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As STAGING_DIR_TARGET started to point to a recipe specific
sysroot wic is not able to add .env files when .wks file refers
to multiple rootfs recipes.
Used STAGING_DIR instead of STAGING_DIR_TARGET to make the
directory with .env files the same for all recipes.
(From OE-Core rev: 3797cfd7473d3f9b7c0d999dcf9cd9608c8c7c6c)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added RECIPE_SYSROOT_NATIVE to the WICVARS for wic
to be able to access it when run from bitbake.
(From OE-Core rev: 3443ff47374c7e20ea54e838609b991f3f72810e)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic used STAGING_DIR_NATIVE variable as a path to native sysroot.
This doesn't work with recipe specific sysroots as STAGING_DIR_NATIVE
points to the native sysroot of the current recipe.
Used RECIPE_SYSROOT_NATIVE variable of wic-tools recipe
to fix the issue.
(From OE-Core rev: de9d7d14cd03e4dfc5812890a53c79b706b56537)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Built wic-tools recipe instead of set of tools recipes
to ensure that all tools are available from one recipe sysroot.
(From OE-Core rev: 52ce14d5ea667ffd319fdb3e147b6eb29505cf8e)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added dependency do_image_wic -> wic-tools:do_build to ensure
that all required tools are ready to use by wic.
(From OE-Core rev: 9f547605d2bec282c5679fb35cd5b28a37c5a0d5)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This meta recipe is for building tools used by wic.
It allows wic to find tools in recipe specific sysroot as
all tools will be present in wic-tools sysroot.
NOTE: task do_build_sysroot is created to ensure that
sysroot is re-populated when package is built. Otherwise it will
be taken from sstate and sysroot will not be populated.
Generated wic-tools.env file for wic to be able to get values of
wic-tools variables when wic run from bitbake.
Also add dependency to grub-efi
Without grub-efi test_iso_image test case fails with this error:
AssertionError: Command 'wic create mkhybridiso --image-name
core-image-minimal' returned non-zero exit status 1:
Error: Please build grub-efi first
Fixed by adding dependency wic-tools -> grub-efi.
[RP: Added syslinux exclusion for non-IA arches]
(From OE-Core rev: 71066ce21514725428860ca926cc29161f710af6)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The extend_recipe_sysroot itself is excluded from the task hashes. This is
because it only ever acts upon the contents of the task dependencies and hence
those checksums accurately relfect what its doing. It does mean sysroots don't
repopulate if this function changes but there are other easy ways to achieve
that if needed.
(From OE-Core rev: cec305150801d43d58e3758e020e714d2e90e10b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no common sysroot any more so add the libusb dependency using DEPENDS
and check for the output in the sysroot output directory so the tests
work with recipe specific sysroots.
(From OE-Core rev: ff30b833a423d300ec2b81bf80ef6733a6d8039b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch is comparatively large and invasive. It does only do one thing, switching the
system to build using recipe specific sysroots and where changes could be isolated from it,
that has been done.
With the current single sysroot approach, its possible for software to find things which
aren't in their dependencies. This leads to a determinism problem and is a growing issue in
several of the market segments where OE makes sense. The way to solve this problem for OE is
to have seperate sysroots for each recipe and these will only contain the dependencies for
that recipe.
Its worth noting that this is not task specific sysroots and that OE's dependencies do vary
enormously by task. This did result in some implementation challenges. There is nothing stopping
the implementation of task specific sysroots at some later point based on this work but
that as deemed a bridge too far right now.
Implementation details:
* Rather than installing the sysroot artefacts into a combined sysroots, they are now placed in
TMPDIR/sysroot-components/PACKAGE_ARCH/PN.
* WORKDIR/recipe-sysroot and WORKDIR/recipe-sysroot-native are built by hardlinking in files
from the sysroot-component trees. These new directories are known as RECIPE_SYSROOT and
RECIPE_SYSROOT_NATIVE.
* This construction is primarily done by a new do_prepare_recipe_sysroot task which runs
before do_configure and consists of a call to the extend_recipe_sysroot function.
* Other tasks need things in the sysroot before/after this, e.g. do_patch needs quilt-native
and do_package_write_deb needs dpkg-native. The code therefore inspects the dependencies
for each task and adds extend_recipe_sysroot as a prefunc if it has populate_sysroot
dependencies.
* We have to do a search/replace 'fixme' operation on the files installed into the sysroot to
change hardcoded paths into the correct ones. We create a fixmepath file in the component
directory which lists the files which need this operation.
* Some files have "postinstall" commands which need to run against them, e.g. gdk-pixbuf each
time a new loader is added. These are handled by adding files in bindir with the name
prefixed by "postinst-" and are run in each sysroot as its created if they're present.
This did mean most sstate postinstalls have to be rewritten but there shouldn't be many of them.
* Since a recipe can have multiple tasks and these tasks can run against each other at the same
time we have to have a lock when we perform write operations against the sysroot. We also have
to maintain manifests of what we install against a task checksum of the dependency. If the
checksum changes, we remove its files and then add the new ones.
* The autotools logic for filtering the view of m4 files is no longer needed (and was the model
for the way extend_recipe_sysroot works).
* For autotools, we used to build a combined m4 macros directory which had both the native and
target m4 files. We can no longer do this so we use the target sysroot as the default and add
the native sysroot as an extra backup include path. If we don't do this, we'd have to build
target pkg-config before we could built anything using pkg-config for example (ditto gettext).
Such dependencies would be painful so we haven't required that.
* PKDDATA_DIR was moved out the sysroot and works as before using sstate to build a hybrid copy
for each machine. The paths therefore changed, the behaviour did not.
* The ccache class had to be reworked to function with rss.
* The TCBOOTSTRAP sysroot for compiler bootstrap is no longer needed but the -initial data
does have to be filtered out from the main recipe sysroots. Putting "-initial" in a normal
recipe name therefore remains a bad idea.
* The logic in insane needed tweaks to deal with the new path layout, as did the debug source
file extraction code in package.bbclass.
* The logic in sstate.bbclass had to be rewritten since it previously only performed search and
replace on extracted sstate and we now need this to happen even if the compiled path was
"correct". This in theory could cause a mild performance issue but since the sysroot data
was the main data that needed this and we'd have to do it there regardless with rss, I've opted
just to change the way the class for everything. The built output used to build the sstate output
is now retained and installed rather than deleted.
* The search and replace logic used in sstate objects also seemed weak/incorrect and didn't hold
up against testing. This has been rewritten too. There are some assumptions made about paths, we
save the 'proper' search and replace operations to fixmepath.cmd but then ignore this. What is
here works but is a little hardcoded and an area for future improvement.
* In order to work with eSDK we need a way to build something that looks like the old style sysroot.
"bitbake build-sysroots" will construct such a sysroot based on everything in the components
directory that matches the current MACHINE. It will allow transition of external tools and can
built target or native variants or both. It also supports a clean task. I'd suggest not relying on
this for anything other than transitional purposes though. To see XXX in that sysroot, you'd have
to have built that in a previous bitbake invocation.
* pseudo is run out of its components directory. This is fine as its statically linked.
* The hacks for wayland to see allarch dependencies in the multilib case are no longer needed
and can be dropped.
* wic needed more extensive changes to work with rss and the fixes are in a separate commit series
* Various oe-selftest tweaks were needed since tests did assume the location to binaries and the
combined sysroot in several cases.
* Most missing dependencies this work found have been sent out as separate patches as they were found
but a few tweaks are still included here.
* A late addition is that extend_recipe_sysroot became multilib aware and able to populate multilib
sysroots. I had hoped not to have to add that complexity but the meta-environment recipe forced my
hand. That implementation can probably be neater but this is on the list of things to cleanup later
at this point.
In summary, the impact people will likely see after this change:
* Recipes may fail with missing dependencies, particularly native tools like gettext-native,
glib-2.0-native and libxml2.0-native. Some hosts have these installed and will mask these errors
* Any recipe/class using SSTATEPOSTINSTFUNCS will need that code rewriting into a postinst
* There was a separate patch series dealing with roots postinst native dependency issues. Any postinst
which expects native tools at rootfs time will need to mark that dependency with PACKAGE_WRITE_DEPS.
There could well be other issues. This has been tested repeatedly against our autobuilders and oe-selftest
and issues found have been fixed. We believe at least OE-Core is in good shape but that doesn't mean
we've found all the issues.
Also, the logging is a bit chatty at the moment. It does help if something goes wrong and goes to the
task logfiles, not the console so I've intentionally left this like that for now. We can turn it down
easily enough in due course.
(From OE-Core rev: 809746f56df4b91af014bf6a3f28997d6698ac78)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If was pointed out that if we have:
XXX = " A"
XXX_remove_inactive-override = "YY"
then XXX can become "A" and the leading space can be removed. This is because
the remove override code changes the variable value even when there is no
removals active. In the process it dirties the cache.
We don't really need to do this so tweak the code accordingly.
(Bitbake rev: 2bc4d35fb32defc59cd6ed1fc87e35924c201a5c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The exception handling in this function seemed mildly crazy. Python will
given perfectly good or in several cases better information if we let its
standard traceback/exception handling happen. Remove the pointless code.
(From OE-Core rev: 5ecdab6c2589a83bbbc522074052ff4438782102)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The exception handling in this function seemed mildly crazy. Python will
given perfectly good or in several cases better information if we let its
standard traceback/exception handling happen. Remove the pointless code.
(From OE-Core rev: 61390438aec4a1f9beb4d332821cc6cda82e0379)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if the dpkg-deb command fails you see an error message like this:
ERROR: nss-3.27.1-r0 do_package_write_ipk: opkg-build execution failed
ERROR: nss-3.27.1-r0 do_package_write_ipk: Function failed: do_package_ipk
which is pretty much useless. If we use subprocess.check_output, we see a
traceback and then:
Exception: subprocess.CalledProcessError: Command '<cmd>' returned non-zero exit status 1
Subprocess output:
<output>
which is much easier to debug from.
(From OE-Core rev: 64c8366a805e9cf0168ea2331c50c8d6a70c6dc4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The exception handling in this function seemed mildly crazy. Python will
given perfectly good or in several cases better information if we let its
standard traceback/exception handling happen. Remove the pointless code
along with the duplicated key checking which was broken in the inner loop
by usage of the wrong variable.
(From OE-Core rev: f755b07b528e828618141eda402399d791efba4a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if the dpkg-deb command fails you see an error message like this:
ERROR: nss-3.27.1-r0 do_package_write_deb: dpkg-deb execution failed
ERROR: nss-3.27.1-r0 do_package_write_deb: Function failed: do_package_deb
which is pretty much useless. If we use subprocess.check_output, we see a
traceback and then:
Exception: subprocess.CalledProcessError: Command '<cmd>' returned non-zero exit status 1
Subprocess output:
<output>
which is much easier to debug from.
(From OE-Core rev: 18160442869f56ee71538bc2dc60d7cb6c08c8a2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic-tools has tasks which would always rerun and not come from sstate
to ensure we have a correctly populated sysroot. This is low overhead
and can be ignored from an eSDK perspective.
(From OE-Core rev: b631fe91b3939b7981dbf62cb2fb70f7baebe403)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since Paul reverted the sstate.bbclass change which was checking the sstate
mirror test results, this change should also not be needed anymore.
This reverts commit e30f5002c4.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gettext and glib-2.0 tools are required during build.
(From OE-Core rev: 082db0d21e4b628b6063b1ec713a8f15fe2caa4e)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the recipe depends on the mulitlib libcs all being built
but the dependencies don't account for this. Fix the DEPENDS so
that the requires pieces are all built first rather than relying on
luck.
(From OE-Core rev: ef16a14725fe9bc44bff41e4632721ca611b1728)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code is already used in two places and we need it in others so
turn it into its own function.
(From OE-Core rev: 2a57e1334ff261a7ab45084be0f217e2acfe99af)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Apparently, this package dropped out when migrating to Python3.
So, I have added it to all the supported distributions as an
essential package.
Fixes [YOCTO #10909]
(From yocto-docs rev: e5f915fb80fc36db515ad5a56bc31228a7f875d3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed [YOCTO #10854]
BitBake fails on a new Ubuntu/Debian installation unless the
"cpio", "Python", and "python3" packages are installed. I added
these to the essentials list variable for the distro. Affects
both the YP Quick Start and YP ref-manual.
(From yocto-docs rev: 7a0ef9a85404ef4478bae103d1ea47c3e1c675f0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10855]
On Fedora version 24, missing packages were preventing
BitBake from running. These essential packages included
"python", "cpio", and "file". Also, missing for openSUSE
were "python3", "python3-curses", and "tar".
I added these sets of packages to the essentials variable
for each of the hosts involved. They resolve to both the
YP Quick Start and YP Reference Manual, appropriately.
(From yocto-docs rev: 5150bb932536dc17d99f94a96245655144ae5137)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10905]
I updated the section with suggested improvements for completeness.
The section has been broken into more subsections and provides the
reader with more direction on mailing lists based on components
changed.
(From yocto-docs rev: f7c9010c14d96c64d00ca32e2e217d2dd1343919)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10898]
No information indicated the use of "endline" and "beginline"
in the examples setting LIC_FILES_CHKSUM. I added a note
indicating that line numbering starts with one and the "endline"
value is inclusive.
(From yocto-docs rev: 21114f09efa423033da67af1f27c99eb3cb9695d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10076]
Added a new note for where the reader can find the most recent
version of the manual dictated by release or in-progress work.
(From yocto-docs rev: 8c2bd2a72ba89354027fa87872395d5b727c8b90)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The -C option isn't available in versions of git older than 1.8.5,
and officially we only require git 1.8.3.1 or newer (and the latter is
the version you'll find on CentOS 7, so the test fails there). In any
case we can simply specify the working directory to runCmd() so just
do that instead.
(From OE-Core rev: ce5c7075d530c0950f2feed35f95fbcd9f50721f)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The depmodwrapper dependency is not actually used by the class but
anyone using pkg_postinst_kernel-base() will need it.
(From OE-Core rev: e3f5290d8deba9b7cead73b52ac45a37228fece9)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Qemu is used to run gio-querymodules on postinstall.
(From OE-Core rev: d5361cc25fb7dd749e69063be48275c52462f72c)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
glib-compile-schemas is needed during postinstall.
(From OE-Core rev: e049427e09b51c09b55d7f1299a7b878fe21768a)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Qemu is used to run gtk-query-immodules-* on postinstall.
(From OE-Core rev: 7103447b198a12a30fdee3f789ff9e0d81534d54)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
use_updatercd() will always return true in rootfs generation so
checking that is not required.
(From OE-Core rev: 0db5328ee2a80152904b9f82b738f92e9e38da55)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemctl is needed if both systemd and sysvinit are in distro
features.
(From OE-Core rev: 39fb37a5143981ae16e722f4ebbbe1b29cbed5a4)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pwconv and grpconv are used in the postinstall script.
(From OE-Core rev: 5a59e292d1382ea6858f6ccb532e48a9f1f4bea6)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mkfontdir and mkfontscale are used in the postinstall script.
(From OE-Core rev: 7b2ab076386a6a8e92a90c0c804647feca61dd40)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nss-native is required in postinst. It's also needed during
build so not removed from DEPENDS.
(From OE-Core rev: 88540c5b08dea069660d1a68e506aebdd68e6ae0)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The postinstall needs shadow-native, mark the dependency
(From OE-Core rev: f3140f9c9cb8ff7ea29d0b77a9bfac419a216cf4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The postinstall needs ca-certificates-native, mark the dependency
(From OE-Core rev: 723a924adf0661167690987acfc4213803ec3305)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The postinstall needs gconf-native, mark the dependency and drop
the now unneeded DEPENDS.
(From OE-Core rev: f480815b2ed0ea5a1792b0ab9c681d39f60701e3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The postinstall needs systemd-systemctl-native, mark the dependency
(From OE-Core rev: 5e8336b2d45da36c64039080f896338537ec234e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The postinstall needs systemd-systemctl-native, mark the dependency
(From OE-Core rev: 279fec228282749f4ff6c95f79295c1e8b3db76d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The postinstall needs systemd-systemctl-native, mark the dependency
(From OE-Core rev: 14388db7f0b605536129c925aa667998777b4077)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The postinstall needs systemd-systemctl-native, mark the dependency
(From OE-Core rev: 853f05b4d81c9af0fe1050cd15f13b8d3f9a93a9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The postinstall needs systemd-systemctl-native, mark the dependency
(From OE-Core rev: f97d9e6befb4b96531a381547d546632ec0e8496)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The postinstall needs systemd-systemctl-native, mark the dependency
(From OE-Core rev: 84fed37e18b17c419f0538c6b414e3b79ed2df8d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The postinstall needs systemd-systemctl-native, mark the dependency
(From OE-Core rev: d2fb76e4aed927e9900de2e87e7e1b792bc88651)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The postinstall needs qemu-native and gdk-pixbuf-native, mark these dependencies
(From OE-Core rev: 334a12bb25770dfcd999a7def3612db4b6cd762a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The postinstall needs kmod-native and depmodwrapper-cross, mark these dependencies.
(From OE-Core rev: 0e4f5eb4f8443ed98d7c8aaf0b999c5618b7cf25)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gdk-pixbuf-native and gtk-icon-utils-native are needed by the postinstall
scripts so mark the dependency. The utils may be needed at icon build
time too so DEPENDS is unchanged.
(From OE-Core rev: d62e9fe21a47f5b38278a9b12b73d617c29d3c4f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dependencies of do_package_write_* tasks are either going to be packaging
tools needed to build the packages, or, native tools needed at postinst
time. Now we've formalised this dependency pattern, drop the hardcoded
list and work based on the rule. The package creation tools are usually
the same tools needed at rootfs/postinst time anyway so the difference is
moot.
(From OE-Core rev: 8082c6aabf838a2cc5253d2bb1bd8867f2e1ba6a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new variable to allow markup of postinstall (and preinst)
script dependnecies on native/cross tools.
If your postinstall can execute at rootfs creation time rather than on
target but depends on a native tool in order to execute, you need to
list that tool in PACKAGE_WRITE_DEPENDS.
(From OE-Core rev: aff8ca95b8303a4a2a5600c0d8ec0a50ad677258)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is useful when manipulating depends strings for task [depends]
flags and is slightly easier to parse than some inline python.
(From OE-Core rev: 7b05ea65a8db8a27b2a5579675775ee34ceb63c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 0ccb2efe9837e2915c093341a662dffc1df00866.
The OVS fails to function and the kernel modules cannot be found by
any of the kernel tools such as depmod because they are installed
into the wrong directory in multilib 64bit/32bit bulids.
(From OE-Core rev: 85cec1e3df68e932c7b210956ef5f17b85f3616f)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit a46a23fed9acd097ecc8ab3985d18688abe7b065.
The 64bit/32bit multilib builds break because the kernel's
firmware loader cannot find the firmware because it
gets placed int the wrong directory.
(From OE-Core rev: 91673c29d079117d18b6b405645b94222930e33b)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It turns out that this check cannot work. We don't have the information
to know whether an sstate package is really needed at this point in the
execution, so we check the availability for things that we won't
actually end up needing later on. Thus we can't fail if some of these
aren't found or we'll get needless failures.
This check was intended to give earlier more accurate errors when sstate
artifacts failed to download, but that's not practical so we'll rely
solely on the task execution check that was added within the runqueue.
This reverts most of commit 9e711b54487c3141d7264b8cf0d74f9465020190 (we
still need to allow BB_SETSCENE_ENFORCE through from the external
environment since the eSDK relies upon that.)
(From OE-Core rev: ff29ac6901d04487312f554d9e62250a18729c6c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If TMPDIR is configured to be somewhere outside of TOPDIR (a not
uncommon configuration where you have multiple disks and space on /home
is at a premium) then our attempt to find out the location of paths
under TMPDIR by using a relative path led to horribly broken paths
ending up in the eSDK. To save pain, just force a known value for TMPDIR
(i.e. ${TOPDIR}/tmp) and then we can assume that everywhere else.
Fixes [YOCTO #10797].
(From OE-Core rev: 4fe60d526a94f30b201c434994e80fef0f7392f0)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SDK (and its tests) need these tools. We happened to be finding them
from the native tools in PATH but recipe specific sysroots prevents that.
This fixes the SDK to work as originally intended and contain these tools.
We have to clear this in the eSDK case since the _append can't be overridden
from the class. Ugly, but we'll have to come back to this issue.
(From OE-Core rev: edde4c52872fbd089f85b10b94db4d6ef1796be5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The staging code strips binaries and we need virtual/binutils for that.
Add a specific dependency since the one from do_configure and others
may not be enough to ensure the binaries are in our own sysroot.
(From OE-Core rev: 9a799f70574ee8e0b1267497edfb4ac63166ef8f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
buildhistory interfers with various tests so error if the user has it enabled,
hence avoiding time spent running the tests only for them to fail.
For example, if there is an sstate cache and something comes from that cache,
you can get a "version went backwards" warning from buildhistory which would
then change the outcome of a test. Its safer/easier to disable it.
(From OE-Core rev: 941ec7c50c30052e346e72fef2920135dba89a21)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code was pointless so cleanup, drop the unused event and the
filtering is no longer needed.
(From OE-Core rev: 4fd9e74035703b45a9e6e9143b1ec421e172200c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When extracting source for a recipe within devtool (for extract, modify
or upgrade) We need to redirect WORKDIR, STAMPS_DIR etc. under a
temporary directory so that:
(a) we pick up all files that get unpacked to the WORKDIR, and
(b) we don't disturb the existing build
However, with recipe-specific sysroots the sysroots for the recipe will
be prepared under WORKDIR, and if we used the system temporary directory
i.e. usually /tmp) as used by mkdtemp by default, then our attempts to
hardlink files into the recipe-specific sysroots will fail on systems
where /tmp is a different filesystem, and we'd have to fall back to
copying the files which is a waste of time. Put the temp directory under
the WORKDIR to prevent that from being a problem.
(From OE-Core rev: e10a973cd9390eacb13bdb99693a0622bd3695f5)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
[RP: Add needed mkdirhier call]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code wasn't working properly, tweak so that it works as expected and
the grep expression includes the right patterns. Not sure this code has ever
worked prior to this.
(From OE-Core rev: 6a46a974611c5262efefc21a11adb736c0fb206a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These recipes use glib-2.0 NLS tools so we need to depend on glib-2.0-native.
(From OE-Core rev: 3e521148bbec01ccd1818b0a26221ab6342a3299)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Configure searches for xmllint which comes from libxml2-native.
(From OE-Core rev: 087c89fd62db5701b268cfbb0bbdaf3be907daf0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Configure searches for xmllint which comes from libxml2-native.
(From OE-Core rev: 122f18ddf65ee025cfd164738eb76359cad2656b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Configure searches for this and fails if its not present.
(From OE-Core rev: d4d2dcf3fb00ef1ccd9f1471a8017b1df5052a88)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This tool has been missing from the SDKs, the recipe specific sysroot
work highlighted the issues.
(From OE-Core rev: e4346299da911dd7c43c2e221b941e5cda502d1e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed in order to be able to build nativesdk-intltool.
(From OE-Core rev: 427ec49e34dee36157e706bb2bbb93c5f15e2d6a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having do_rm_work depend on do_build had one major disadvantage:
do_build depends on the do_build of other recipes, to ensure that
runtime dependencies also get built. The effect is that when work on a
recipe is complete and it could get cleaned up, do_rm_work still
doesn't run because it waits for those other recipes, thus leading to
more temporary disk space usage than really needed.
The right solution is to inject do_rm_work before do_build and after
all tasks of the recipe. Achieving that depends on the new bitbake
bb.event.RecipeTaskPreProcess and bb.build.preceedtask().
It can't just run in an anonymous function, because other anonymous
functions that run later may add more tasks. There's still such a
potential conflict when some future RecipeTaskPreProcess event handler
also wants to change task dependencies, but that's not a problem
now. Should it ever occur, the two handlers will have to know about
each other and cooperate to resolve the conflict.
Benchmarking (see "rm_work + pybootchart enhancements" on the OE-core
mailing list) showed that builds with the modified rm_work.bbclass
were both faster (albeit not by much) and required considerably less
disk space (14230MiB instead of 18740MiB for core-image-sato).
Interestingly enough, builds with rm_work.bbclass were also faster
than those without.
(From OE-Core rev: 936179754c8d0f98e1196ddc6796fdfd72c0c3b4)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rm_work.bbclass never deletes downloaded files, even if they are not
going to be needed again during the
build. rm_work_and_downloads.bbclass is more aggressive in minimizing
the used disk space during a build, but has other disadvantages:
- sources required by different recipes need to be fetched once per
recipe, not once per build
- incremental builds do not work reliably because sources get
removed without ensuring that sources gets fetched again
That makes rm_work_and_downloads.bbclass useful for one-time builds in
a constrained environment (like a CI system), but not for general use.
(From OE-Core rev: ca23a07fc6677720508197f2b44573bfd6b52f28)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, do_rm_work either skips recipes entirely (when listed in
RM_WORK_EXCLUDE) or removes everything except for temp.
In meta-swupd, virtual image recipes collaborate on producing update
data for the base recipe. Tasks running in the base recipe need some
information from the virtual images.
Those files could be passed via a new shared work directory, but that
scatters data in even more places. It's simpler to use the normal
WORKDIR and teach rm_work.bbclass to not remove the special output
with the new RM_WORK_EXCLUDE_ITEMS.
(From OE-Core rev: 28fbb2dd17033308cc09811fbc4f43e2f6c17f54)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The idea is that tasks which complete building a recipe (like
do_package_qa) are more important than tasks which start building new
recipes (do_fetch) or those which increase disk usage
(do_compile). Therefore tasks get ordered like this (most important
first, do_rm_work before do_build because the enhanced rm_work.bbclass
was used):
1. ID /work/poky/meta/recipes-support/popt/popt_1.16.bb:do_build
2. ID /work/poky/meta/recipes-core/readline/readline_6.3.bb:do_build
3. ID /work/poky/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb:do_build
...
464. ID /work/poky/meta/recipes-sato/images/core-image-sato.bb:do_build
465. ID /work/poky/meta/recipes-graphics/xorg-proto/inputproto_2.3.2.bb:do_rm_work
466. ID /work/poky/meta/recipes-devtools/python/python3_3.5.2.bb:do_rm_work
467. ID /work/poky/meta/recipes-core/packagegroups/packagegroup-base.bb:do_rm_work
...
3620. ID virtual:native:/work/poky/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb:do_install
3621. ID /work/poky/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb:do_install
3622. ID /work/poky/meta/recipes-core/zlib/zlib_1.2.8.bb:do_compile_ptest_base
3623. ID /work/poky/meta/recipes-extended/bzip2/bzip2_1.0.6.bb:do_compile_ptest_base
...
3645. ID /work/poky/meta/recipes-support/libevent/libevent_2.0.22.bb:do_compile_ptest_base
3646. ID /work/poky/meta/recipes-core/busybox/busybox_1.24.1.bb:do_compile_ptest_base
3647. ID /work/poky/meta/recipes-kernel/linux/linux-yocto_4.8.bb:do_uboot_mkimage
3648. ID /work/poky/meta/recipes-kernel/linux/linux-yocto_4.8.bb:do_sizecheck
3649. ID /work/poky/meta/recipes-kernel/linux/linux-yocto_4.8.bb:do_strip
3650. ID /work/poky/meta/recipes-kernel/linux/linux-yocto_4.8.bb:do_compile_kernelmodules
3651. ID /work/poky/meta/recipes-kernel/linux/linux-yocto_4.8.bb:do_shared_workdir
3652. ID /work/poky/meta/recipes-kernel/linux/linux-yocto_4.8.bb:do_kernel_link_images
3653. ID /work/poky/meta/recipes-devtools/quilt/quilt-native_0.64.bb:do_compile
3654. ID /work/poky/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb:do_compile
...
The order of the same task between different recipes is the same as
with the speed scheduler, i.e. more important recipes come first.
(Bitbake rev: 70e297e5c285ce0a02e9efd3117ff62cdc77ec12)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The API is required by the revised rm_work.bbclass implementation,
which needs to know all tasks that do_build depends so that it
can properly inject itself between do_build and those tasks.
The new API primarily hides the internal implementation of the "after"
and "before" dependency tracking. Because tasks defined as
precondition via "recrdeptask" may or may not be relevant (they are for
rm_work.bclass), the API also includes support for that.
There's no default value for including recrdeptasks, so developers
have to think about what they need.
(Bitbake rev: 9289ab40e77906e983a2f79cd7602ee95be5025a)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If PATH contains WORKDIR which contains PV which contains SRCPV we can end
up in circular recursion within the fetcher. This code change allows for the recursion
to be broken by giving PV a temporary dummy value in a data store copy.
(Bitbake rev: ce1e70b8018340b54dba3a81d7d379182cb77514)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we're running with bitbake -b, BB_TASKDEPDATA is incorrect and limited.
We really need a way to know this from the metadata and this new variable
provides this in worker context. This means existing code can stop having
to guess.
(Bitbake rev: 05763bc886024dcce2ce6b3060fb00abf79a9402)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are various pieces of code which need to run after the tasks are
finalised but before bitbake locks in on the task dependencies. This
adds such an event so dependency changes in anonymous python can
be accounted for and acted upon by these specific event handlers.
(Bitbake rev: 4dcd0e53f5ff4bf4f2d6cbdc51ff33a5f5f206af)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this, bitbake -b of image recipes cause tracebacks since
the list of providers is empty.
(Bitbake rev: c53e43f3c6a675c0934a7a4e358fd66b049ffca3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently "bitbake universe -c fetch" will error if every task in the system
doesn't have a fetch task. This seems unreasonable so filter the list based
upon whether the task exists. This implementation does assume if a task exits
for a given provider name, it can run, even if the preferred provider that
ends up getting built might be the namespace without the task. This is unlikely
to be a real world issue at this point.
(Bitbake rev: 438986f4e39974930ee3205ca4c4d620090e57bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The modify testcase had to be updated as it started failing when mdadm was
upgraded due to hardcoding version numbers in the test. I then noticed how
inefficient the test was and mostly rewrote it.
Start by changing the minor modification to change "Linux Software RAID" (the
subtitle of the man page) to "antique pin sardine" (a nonsense phrase that is
unlikely to appear upstream), and neaten the logic.
Start by not removing sstate at the beginning of the test. To ensure builds
happen we can use -f and -C, and iterating the sstate cache is time consuming.
Don't bitbake mdadm repeatedly until it stabilizes, we can start with bitbake -C
unpack to ensure that a full build is done from scratch.
os.path.join has the interesting quirk that join(/foo, /bar) results in /bar, so
use oe.path.join instead of working around that manually.
Don't repeatedly call get_bb_var(), each call results in a call to bitbake.
These changes reduce the runtime of the test from over 600 seconds to around 160
seconds on my machine.
(From OE-Core rev: fc97963bc61bf16112859fe1d7e460a13d34baca)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When runqemu fails, qemu-system process would keep running
and won't be killed, setpgrp() was used when runqemu was
a shell script but it seems it doesn't work always with python.
This would kill qemu-system explicity and to avoid leaving
it behind.
(From OE-Core rev: 9d2b1aa1bcfb2f1933a8eeb9470b4174d5da2f0d)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds the missing sys module used by the child process
to exit. It seems the exception was cached in testimage and
selftest. It seems nobody noticed this because the module
is only used for sys.exit().
(From OE-Core rev: 66f66d1d763ff7bbaab9e8fcdf7fc882f2dfbb13)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make it possible to store any bitbake config variables in the metadata.
Config values will be stored under a new config element in the xml report:
<config>
<variable name="MACHINE">qemux86</variable>
</config>
The value of MACHINE is moved there instead of having a dedicated
<machine> element.
[YOCTO #10590]
(From OE-Core rev: 6e7e6e37664b0a86111272f5f6f4a4e1d0f23302)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Have the layer name as an attribute instead of of the name of the
element itself. That is, have <layer name="layer_name"/> instead of
<layer_name/>. A bit better XML design.
[YOCTO #10590]
(From OE-Core rev: 50ea44c19005b536a2791113f8b536fd10548ead)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Revision is a bit vague and could point to a tag, for example. Git
commit objects are unambiguous and persistent so be explicit that the
element should contain git commit hash.
[YOCTO #10590]
(From OE-Core rev: a6521b89e86ddba6bd646dd3974d7b0390323b56)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Always return a valid branch name, or, '(nobranch)' if the current HEAD
is detached. Also, always return the hash of the commit object that HEAD
is pointing to. Previous code returned an incorrect branch name (or
crashed) e.g. in the case of detached HEAD.
[YOCTO #10590]
(From OE-Core rev: 02d3ba17a8090bd088beb973980651d664f713bb)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's better just to not have the xml elements than to have elements with
faux data. One could have git branch named 'unknown', for example.
[YOCTO #10590]
(From OE-Core rev: fce531c21f5e56d0f416b3405a0b0fc5ba567679)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Put all host distro data under one <host_distro> element. In addition
take the data directly from /etc/os-release instead of the "lsb API".
The /etc/os-release file is virtually ubiquitous, now, and using its
field names and values provides a more standardized and extensible
format.
[YOCTO #10590]
(From OE-Core rev: 98cad0b4063772dad94fea96edce1a5422256c32)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Testopia entrances were created and the IDs retrieved are
added to their corresponding test case on tinfoil script.
(From OE-Core rev: 486e5ad8270a4d3897f477ae5ae61422826f93ce)
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It doesn't seem to make sense to unconditionally enable cairo
support, as this pulls in lots of other dependencies, where
none of these can actually be used without some sort of
graphical interface.
Not having a generic distro feature to detect this, we just
use any of DirectFB / Wayland / X11
(From OE-Core rev: 9fc8ea24914a322536d831ea11295c4ef0dc6b66)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
buildhistory-diff says:
/usr/lib/liblttng-ust-python-agent.so.0 was removed
/usr/lib/liblttng-ust-python-agent.so.0.0.0 was removed
This is because prior versions of lttng-ust unconditionally built
the Python agent libraries; this was fixed upstream in 21ddb8e ("Only
build python lib when agent is enabled").
Switch to using release tarballs.
(From OE-Core rev: a40bb2b7991adf5ef7121a45461747226c04bac1)
Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding "manpages" to PACKAGECONFIG results in a lttng-ust-doc package
with no manpages. Fix the patch we carry to only exclude the examples
directory, which seems to have been its original intent anyway.
(From OE-Core rev: 54d9fb2664d16a561f9e9232a53b60810678f9bf)
Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
aarch64 target was being configured for linux-generic64 but openssl has
linux-aarch64 target. Change to use linux-aarch64 as default.
(From OE-Core rev: 13e9a692510151383bc3243c3917154896b0e049)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise libunwind support will be based on the contents of the sysroot, which
can cause problems.
(From OE-Core rev: 14cb8fe36fcb2dc20830fb4ba63ed1302255b61b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise it's possible to race with systemtap headers being present during the autodetection and disappearing during the build:
tests/sdt.c:14:21: fatal error: sys/sdt.h: No such file or directory
#include <sys/sdt.h>
^
(From OE-Core rev: 8aafed5f4757550f2ff688e1b8981e5e8e6e3428)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PERF_FEATURES_ENABLE and perf_feature_enabled() was basically a poor man's clone
of PACKAGECONFIG, without the automatic handling of dependencies and configure
options.
As part of the port to PACKAGECONFIG the options have been changed to remove the
perf- prefix, but are otherwise unchanged.
Also remove BUILDPERF_libc_uclibc assignment as nothing in the metadata uses a
BUILDPERF variable.
(From OE-Core rev: 33d05772c30036e8d2bb2dc8928989bf98d388f1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5.3 -> 5.4
Refreshed the following patch:
a) netbase-add-rpcbind-as-an-alias-to-sunrpc.patch
(From OE-Core rev: 3a63b7530377cb225c05a68fb8130d2ec3c3981c)
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>
3.4 -> 4.0
Removed the following upstreamed or backported patches:
a) 0001-Fix-some-type-comparison-problems.patch
b) 0001-Fix-typo-in-comparision.patch
c) 0001-mdadm.h-bswap-is-already-defined-in-uclibc.patch
d) 0001-raid6check-Fix-if-else-indentation.patch
e) 0001-util.c-include-poll.h-instead-of-sys-poll.h.patch
f) mdadm-3.2.2_fix_for_x32.patch
(From OE-Core rev: b32f5098fc06c96d9331abe0f4ff9cc7c7c08c76)
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>
0001-byacc-do-not-reorder-CC-and-CFLAGS.patch is added to fix the problem
of byacc dropping options from $CC.
(From OE-Core rev: e7a4eea6fe9ed9630eddf508a07af0e9dccd66da)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using "deltask" assumes that do_rm_work has been added already, which
won't be the case anymore in the upcoming improved rm_work.bbclass,
because then an anonymous python method will add do_rm_work.
Setting RM_WORK_EXCLUDE works with the current and upcoming
rm_work.bbclass and is the API that is meant to be used for excluding
recipes from cleaning, so use that.
(From OE-Core rev: 1f2a3cdadac1560b0e03a7be25f452ad48c27ddb)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ runqemu nfs qemux86-64
[snip]
On your target please remember to add the following options for NFS
nfsroot=IP_ADDRESS:/path/to/nfsroot,nfsvers=3,port=,mountprog=,nfsprog=,udp,mountport=
[snip]
Note that the values are null, this is because their var names are
inconsistent.
[YOCTO #10519]
(From OE-Core rev: 10c136a382006c0ec2679a70f47ff2446c10372c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When "runqemu /path/to/<file>.cpio.gz", it used the last suffix "gz" as
the fstype which was wrong. Check filename against self.fstypes firstly
can fix the problem.
(From OE-Core rev: 68c7589b67a83977331a04356b53aa51680a1d9d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the move to use lists instead of strings in subprocess
calls, package extraction was broken for ipk and deb. This
fixes this issue.
(From OE-Core rev: 3e1d8e5c7ac3238eda85ee95dfef044bef2a6411)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating users at the image level using extrausers class, the
current behavior is to ignore the status of USERADDEXTENSION. This could
lead to undefined behavior when static ids are expected but the system
falls back to dynamic ones.
(From OE-Core rev: 331140e892f84b70bced44a0b5d14f32ec95042e)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 8c1c43b790 `wic: Create a logical partition
only when it is really mandatory` did not account for partitions that are not
present in partition table.
(From OE-Core rev: 57b05e924bba7b2fff07a34690474c0fa3046865)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The KERNEL_VERSION string is added to kernel module package names in order
to make the kernel modules for different kernel versions distinct packages
instead of different versions of the same package. With this change, when
a new kernel is installed together with its kernel modules (e.g. by upgrade
of the packages kernel and kernel-modules) using some package manager such
as apt-get or rpm, the kernel modules for the older kernel will not be
removed. This enables a fall back to the older kernel if the new one fails.
Also, for backwards compatibility and to enable kernel version agnostic
dependencies to kernel modules, create a virtual package with the old
(shorter) kernel module package name using RPROVIDES.
(From OE-Core rev: 78cde87bb6e71ec5b603426879267874900d09f3)
Signed-off-by: Ola Redell <ola.redell@retotech.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Check the value of UBOOT_SIGN_ENABLE, as it is defaulted to "0" which
for matches as True in python due to being a non-empty string.
(From OE-Core rev: 35ebe793f2d933366863d17fb807b3d39f594334)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The name of the output image for a fitImage that contains a ramdisk
should match the same as for the fitImage that does not contain a
ramdisk. As such it should not be assumed that KERNEL_IMAGETYPE is
"fitImage". This change explicitly sets the name of the output
ramdisk/initramfs to start with fitImage as does the non-ramdisk output.
(From OE-Core rev: 81caed2b7071ffc9ed8077d7d76952f2a2a4713d)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the load and entry addresses to remain unset if the UBOOT_RD_*
variables are also unset for ramdisk entries in the image tree. This
allows for U-Boot to decide dynamically where to load the ramdisk.
(From OE-Core rev: 941b6ce3b297ed83f1c05dd76bfeefbf93482e6f)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I have tested Fedora 25 enough times to add it to the tested distros
list. Additionally, in Guadalajara's staging autobuilder has been
tested for some time now so it is safe to put it in.
(From meta-yocto rev: c6ac52f061207e8fcedebda0ca4279fa5b07b9a6)
Signed-off-by: Benjamin Esquivel <benjamin.esquivel@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I'm this locally on my build machine so its likely to work.
(From meta-yocto rev: df2bdba3b96ae0957fee5065befa569fc940b5e3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently you cannot build a target for all the configured multiconfigs without
specifying a list. The list can be quite long, requiring to type several lines
of text.
This enhancement is to support globbing so that you can do this,
e.g. instead of:
$ bitbake multiconfig:A:bash multiconfig:B:bash bash
you can do:
$ bitbake multiconfig:*:bash
There are real world use cases where it is desirable to use multiconfig with
two different tasks. For example: SDKs with multiple toolchains but also
containing set of additional host tools, or multiconfig builds requiring one image for
the main CPU(s) and a different co-image for a companion CPU.
For this reason, two variations of the new syntax are supported.
For example, the following:
$ bitbake multiconfig:*:meta-toolhchain
would expand to:
$ bitbake multiconfig:A:meta-toolchain multiconfig:B:meta-toolchain meta-toolchain
However the following:
$ bitbake multiconfig:*:meta-toolhchain hosttools
would expand to:
$ bitbake multiconfig:A:meta-toolchain multiconfig:B:meta-toolchain hosttools
In other words, if the user specified the "default" task explicitly, it replaces the implicit
"default" task.
[YOCTO#10680]
(Bitbake rev: 1559ad1fc3ae8b1e4e75b210f598b90be192571b)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the tinfoil2 changes resulted in TOASTER_DIR being cleared by
the memory resident bitbake server toaster starts up. This prevented
toaster from being able to connect to its sqlite database. Adding
TOASTER_DIR to the BB_ENV_EXTRAWHITE list stops the cooker from clearing
out the TOASTER_DIR variable.
[YOCTO #9252]
(Bitbake rev: 2420953b3d03551d8254609300ca572717aecdcd)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a non-existing MACHINE is specified, sanity check issues
the following message:
Please set a valid MACHINE in your local.conf or environment
However, MACHINE can also be set in multiconfig .conf file(s).
Hence we may have several different MACHINE settings within one
(multiconfig) build, so the present error message is fairly
ambiguous.
This patch remedies this by explicitly naming the offending MACHINE and
by amending the list of places where this erroneous MACHINE definition
could have originated.
MACHINE=xyz is invalid. Please set a valid MACHINE in your local.conf, environment or other configuration file.
[YOCTO#10810]
(From OE-Core rev: a7cb408dd784178197687a2129e936620bf6a0d3)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Presently there is no check to verify the existence of configuration
files as listed in BBMULTICONFIG.
For example, BBMULTICONFIG = "foobar" in local.conf does not trigger
an error or even a warning when there is no conf/multiconfig/foobar.conf.
The missing file is silently ignored.
This patch changes the inclusion of all multiconfig configuration files as
a non-optional requirement. If the file is missing, we get an error such as:
ERROR: ParseError at /data/master-multi/poky/meta/conf/bitbake.conf:704: Could not include required file conf/multiconfig/foobar.conf
Although the "default" configuration is not listed in BBMULTICONFIG,
this change also requires the file multiconfig/default.conf to exist.
The "default" (non-multiconfig) configuration is normally configured via local.conf,
so although this file is required, it can/should be empty. This patch creates
an empty file default.conf in meta/conf/multiconfig.
[YOCTO#10917]
(From OE-Core rev: ca46c09d38b766b69f485f1e82fc78f2a5e6a4c8)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the gitsm fetcher is used with a repo that includes a .gitattributes
file that makes git modify files on cloning (e.g. line break characters),
the subsequent checkout performed in the update_submodules function fails.
This is fixed by adding the force flag (-f) to the checkout command.
(Bitbake rev: c05e1396625b14e66d795408ea2ae4cd2afc3209)
Signed-off-by: Ola Redell <ola.redell@retotech.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change significantly shortens the time on reparsing stage
of '-S' option.
Each file is reparsed and then dumped within a dedicated
process. The maximum number of the running processes is not
greater than the value of BB_NUMBER_PARSE_THREADS if it is set.
The dump_sigs() in class SignatureGeneratorBasic is _replaced_
by a new dump_sigfn() interface, so calls from the outside and
subclasses are dispatched to the implementation in the base
class of SignatureGeneratorBasic.
Fixes [YOCTO #10352]
(Bitbake rev: 99d3703edd77a21770b366c6ad65a3c0f5183493)
Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Moved mpc8315e-rdb.wks from scripts/lib/wic/canned-wks/ to
layer wic/ directory to gather all wks files for reference
BSPs in one place.
(From meta-yocto rev: 73337565a4489225a9a204aaf24b8fa82fdb821e)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently edgerouter machine uses sdimage-bootpart.wks from
scripts/lib/wic/canned-wks. It'd be easier to find this file
if it's name contains machine name and it's located in the same
layer.
Added edgerouter.wks to meta-yocto-bsp/wic/ to make it independent
from changes in oe-core and easier to maintain.
[YOCTO #8719]
(From meta-yocto rev: 6313c8fffe0dd4c3670ed06eca4c0a815d931e4a)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently genericx86* machines use mkefidisk.wks from
scripts/lib/wic/canned-wks. It'd be easier to find this file
if it's name contains machine name and it's located in the same
layer.
Added genericx86.wks to meta-yocto-bsp/wic/ to make it independent
from changes in oe-core and easier to maintain.
[YOCTO #8719]
(From meta-yocto rev: becb5f506198d94762e43f1b5a47b50d24b5ab35)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added wic images to the list of default image types for mpc8315e-rdb
machine. Configured wic sdimage-boot plugin to put u-boot.bin, kernel
and device tree on the first partition.
[YOCTO #8719]
(From meta-yocto rev: dfbd39add8c24b366ba1709154f453dadd17a5a5)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently beaglebone machine uses sdimage-bootpart.wks from
scripts/lib/wic/canned-wks. It'd be easier to find this file
if it's name contains machine name and it's located in the same
layer.
Added beaglebone.wks to meta-yocto-bsp/wic/ to make it independent
on changes in oe-core and easier to maintain.
[YOCTO #8719]
(From meta-yocto rev: e88c4da453f24845f3b95f9ff7b23a4a38dc670a)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch makes sure the directory which will contain
the systemd configuration (loader.conf) is created before
the configuration file is written, fixing errors when it
tried to write it to a non-existent directory
(From OE-Core rev: f4ba23212c97fb8c3351a3cf981ee355ae2fc9b1)
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>
'ksum.py' generates a combined summary of vmlinux and module sizes for
a built kernel, as a quick tool for comparing the overall effects of
systemic tinification changes. Execute from the base directory of the
kernel build you want to summarize. Setting the 'verbose' flag will
display the sizes for each file included in the summary.
(From OE-Core rev: 016b19c2589582d7ec3c8cac9cfa75a1edc716fe)
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
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>
While both result in the same in this case, postrm
should really be referring to $D as we do everywhere
else.
(From OE-Core rev: 7e459843e0371953d3d9d3ad05b019947ed7ca04)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When removing unneeded packages from a (read-only) rootfs
during rootfs creation, alternative symlinks from those
packages may or may not be removed.
The reason is as follows:
update-alternatives(-native) is used during package
installation as part of the image creation. It uses
a database which contains entries for all the
alternative symlinks possible, and the -native version
uses the target's database by means of $OPKG_OFFLINE_ROOT,
i.e. the rootfs we're in the process of creating.
Once the rootfs has been created, OE removes certain
packages because we have a read-only rootfs - in
particular ROOTFS_RO_UNNEEDED which includes
VIRTUAL-RUNTIME_update-alternatives, i.e. the
update-alternatives. Recently, a change was made in
OE, where uninstallation of update-alternatives from the
rootfs causes removal of its database, too, to save space
(700KiB (uncompressed) in a busybox system)
b24a63d71b517af701dfedbc7f7b541d25af708f
http://git.openembedded.org/openembedded-core/commit/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb?id=b24a63d71b517af701dfedbc7f7b541d25af708f
Following from that, if update-alternatives is removed
from the target file system, update-alternatives-native
has no database anymore, meaning it can't manage any of
the alternative symlinks anymore.
Because the order of packages to uninstall is
non-deterministic, and update-alternatives could well
be removed before any packages that use the mechanism
provided, sometimes the extra symlinks are removed,
sometimes not.
By sorting the list of packages to be removed such that
update-alternatives is removed last, we can ensure that
that tings work reliably. (Certainly opkg seems to
uninstall packages in the order given on the command
line.)
[YOCTO #10916]
(From OE-Core rev: 5263dd3eac9d9fbdb7ef654d0cd532c192baed16)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fetching the DISTRO variable in the base constructor means that we have to start
bitbake for every test case instance, which adds minutes to the startup time.
(From OE-Core rev: ac1c118dcb3cb27807b55115ef274a92bb512dd6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It it is hard to select exactly the right lines from a file, in
particular because the documentation did not specify the exact
semantic (YOCTO #10898).
When the QA license check fails, it now includes the license text for
which the md5sum was calculated. When adding a new entry to
LIC_FILES_CHKSUM, developers can then verify that they picked the
desired lines. When the checksum of an older entry changes, the developer
does not have to manually look up the changed text.
Here's an example which probably has an endline which is too large
(message triggered by changing the md5sum in the recipe):
ERROR: cmake-native-3.7.1-r0 do_populate_lic: QA Issue: cmake-native: The LIC_FILES_CHKSUM does not match for file://Source/cmake.h;beginline=1;endline=3;md5=deadbeef
cmake-native: The new md5 checksum is 4494dee184212fc89c469c3acd555a14
cmake-native: Here is the selected license text:
vvvvvvvvvvvvvvvvvvvvvvvvvvvv beginline=1 vvvvvvvvvvvvvvvvvvvvvvvvvvvvv
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ endline=3 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cmake-native: Check if the license information has changed in .../cmake.h (lines 1 through to 3) to verify that the LICENSE value "BSD" remains valid [license-checksum]
The beginline/endline values are only repeated in the borders if set.
License snippets larger larger than 20 lines (configurable with
QA_MAX_LICENSE_LINES) are truncated in the middle.
(From OE-Core rev: b5b869348adc8e932eb58ecdfdff93d1d63e775c)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In some cirsumstances the user doesn't want to supply a kernel, rootFS
or DTB to QEMU. This will occur more now that QEMU supports loading
images using a '-device loader' method.
Allow users to specify 'none' for QB_DEFAULT_FSTYPE or QB_DEFAULT_KERNEL
to avoid supplying these options to QEMU.
(From OE-Core rev: 2cc01c4e46b05b7ffcc8a11e7ebde6c43256c3c3)
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These are already inherited by grub2.inc.
(From OE-Core rev: 98cd9cd5fe99d0466712be3ec7c4a4ff74afeb11)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test only exercises the include/exclude behaviour so it only needs to build
the two recipes that it tests against, not an entire image.
Part of #10874.
(From OE-Core rev: 9b02216be6c9dbf2f680db1ad1309bcb9fb32b23)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current code doesn't always show error output of the
external command and even ignores non-zero exit code.
Moved checking of exit code value to the lowest level
possible: to _exec_cmd. This should make wic to always
check exit code of the external command and issue
an error if it's not 0.
[YOCTO #10816]
(From OE-Core rev: 7f68001579c08509332d633b27b5c2ea9386b6c9)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
part.rootfs_dir was used as an image name in the code.
However, when multi-rootfs feature is used this attribute
points to the name of the rootfs, e.g. if --rootfs command line
is rootfs1=core-image-minimal partf.rootfs_dir is 'rootfs1'.
The code also fails when image name is not provided in wic
commandline. For example, when wic is called with
--rootfs-dir=<path> part.rootfs_dir will contain path and
wic will crash trying to call bitbake -e <path> to get
value of ROOTFS_SIZE variable.
Fixed the code by getting image name properly and checking
if it's not a path.
[YOCTO #10815]
(From OE-Core rev: 2e05d9709f1308fc95d3406b8a409ea982c5b474)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These recipes should be excluded from target 'world' because these are
just intended to be used internally by oe-selftest (devtool, recipetool, etc.)
(From OE-Core rev: 4868bc94b8c4ebcf427ea6d321332d8b8fe6ce4a)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The etnaviv project is a free and open source linux driver for Vivante
2D/3D GPUs in i.MX SoCs.
Support for etnaviv in libdrm was added in 2.4.71.
(From OE-Core rev: a6721e69400f214de147f72f274ff1b240fce8ad)
Signed-off-by: Christoph Settgast <christoph.settgast@methodpark.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Have onboard (onscreen-keyboard) in the pipe for meta-oe. For that working
properly we need python3-pygobject build with cairo support.
(From OE-Core rev: 7355a3c4f665e066925ea6327ac72365ab1f2f39)
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3.15.2 -> 3.16.2
1. Updated the SRC_URI for releases in 2017
2. Removed the following revert patch as the fix is present in this release:
a) 0001-revert-ad601c7962-that-brings-2-increase-of-build-ti.patch
[YOCTO #10695]
(From OE-Core rev: 05317fe9f11565d40b84ad71300b39c990a53f6d)
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>
Fix path assumption for DEPLOY_DIR_SRC, otherwise, the testcase may fail
even if the functionality works well.
(From OE-Core rev: dab5d3901755a965cdd8f5b5e8ffb8e4cb79f2e5)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix path assumption for LICENSE_DIRECTORY, otherwise, the test case
may fail even if the functionality it tests works well.
(From OE-Core rev: ae388652b8de0665390560e78429e10119d4d537)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The /etc and /usr/lib/ssl directories were only put into the opkg-generated
debugfs because of a bug in opkg which means that a conffile has to exist if
we're running 'opkg status'. This is now fixed, so the workaround can be
reverted.
(From OE-Core rev: 7267b1f6fa25e290eac070263355aa7f30b2ebcb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a conffile has been deleted (common when building a debugfs) the status
command will throw errors instead of handling that situation. Stop the code
being executed in the first place if it wasn't asked for, and handle errors
gracefully.
[ YOCTO #10761 ]
(From OE-Core rev: 0aaaacdf4456fe832b1c3940997c097e7e94b9e6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Apt can run multiple tasks daily, such as for example clean, update,
autoclean, unattended-upgrades etc.
[YOCTO #10669]
(From OE-Core rev: cde67af8ce9b8e72b5818233a7ef4c2aa181404a)
Signed-off-by: Linus Wallgren <linus.wallgren@scypho.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The buildclean task should call the package build system clean
command, just implemented for Make for now.
This is meant for recipes where S == B, but can be useful as a
standalone task for other recipes too.
When S == B, set it to run before do_clean which will do what most
developers expect when calling bitbake -c clean. For S != B, do not
add it before clean as it is not needed and may take some time.
(From OE-Core rev: cfaad320d9565003e97893efcb14d00d0b8e23bb)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the error below when SSTATE_DIR is not "${BUILDDIR}/sstate-cache".
FileNotFoundError: [Errno 2] No such file or directory: '/xxx/../sstate-cache'
(From OE-Core rev: 785f0343d04c1684363b5289a3012cf7e1caa95f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The purpouse of this function was to check dependencies for building a
hybrid iso and build them using bitbake if not found. Calling bitbake in
this context means this wic plugin itself cannot be instrumented inside
bitbake recipes which is undesirable, the benefits of this are clear:
there is no need to maintain outside scripts to generate an iso using wic
and the isohybrid building logic can be further abstracted away into an
isohybrid.bbclass in the future which can be easily inherited or something
similar.
So remove the function and add all dependencies to NATIVE_RECIPES so that
wic can print useful errors when they're not built.
To automate building the isohybrid image dependencies, add the following
somewhere in your image build inheritence hierarcy (or maybe create a
bbclass in the future to do these sort of things automatically):
DEPENDS += "syslinux syslinux-native cdrtools-native e2fsprogs-native \
parted-native dosfstools-native mtools-native grub-efi-native"
(From OE-Core rev: ba4346069ab87f1cf942d1928f911eca6a9d65cd)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If LPAE is enabled, 3 level page table is used and the 'SECTION_SIZE'
is (1<<21), so add_buffer_phys_virt() should align to (1 << 21).
(From OE-Core rev: 582cad510953d3540ffe35b10b1ce2a8d034b535)
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The /etc passwd files in a rootfs consist of the default entries from
base-passwd plus anything that gets added via package installation,
EXTRA_USERS_PARAMS and/or system sysusers.
The execution order of preinst scripts is not perfectly deterministic,
or at least unrelated changes caused it to change in a
non-deterministic way, resulting in irrelevant changes in the order of
passwd entries.
useradd-staticids.bbclass ensures that the numeric IDs don't change,
but re-ordering can still occur, which is bad for reproducible builds
and file-based update mechanisms like swupd which work best if changes
are as minimal as possible.
To achieve that, the files get sorted in a post-processing command,
enabled by default. Sorting is based primarily on the numeric IDs, so
for example, the "root" user continues to be listed first. "nobody"
now is at the end, which wasn't the case before.
The order of the entries should not matter, but in obscure cases where
it does (like having multiple entries for the same numeric ID) this
behavior can be disabled by setting SORT_PASSWD_POSTPROCESS_COMMAND to
an empty string.
Fixes: YOCTO #10520
(From OE-Core rev: ba684f436908ac2300a00c174d5aa06b4f824367)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding http module from Python's standard library. This allow use
of the http module without installing all python-misc modules.
(From OE-Core rev: 3d0060f9703ba39fbdaafcbdf91e0c319b56f7b3)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patches dropped as they are merged upstream:
- CVE-2016-6354.patch
- 0002-avoid-c-comments-in-c-code-fails-with-gcc-6.patch
- do_not_create_pdf_doc.patch
Apply a patch from github to simplify cross-compilation and not need a
flex-native to bootstrap.
(From OE-Core rev: 3632abd01abb8dfff230e18f828af705da488f97)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current parsing code can wrongly interpret arbitrary lines
that are of 'key=value' format as legitimate bitbake variables.
Implemented more strict parsing of key=value pairs using
regular expressions.
(From OE-Core rev: f0ec387ad40fb9c098ac8d761993bc2bacc76e65)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was noticed that syslogd and klogd were no longer running on system
startup, meaning no /var/log/messages etc.. It appears as though
sysklogd has never been updated to follow the expected logging
requirement for systemd as described here:
https://www.freedesktop.org/wiki/Software/systemd/syslog/
As such no service was started and no logging present. Using the above
guidelines we create two new service files syslogd.service and
klogd.service. We make use of tmpfiles.d in order to ensure the
xconsole device node exists and do other minor recipe cleanup to
ensure peaceful coexistence with sysvinit and systemd implementations.
The systemd documentation also asks that for a logger which is not
rsyslog that we also enable 'ForwardToSyslog=' in journald.conf, but
this is already the case so no action is required.
With this change in place syslogd and klogd are started at system
startup and the expected logs are available.
Unfortunately I was not able to find any work done on this upstream or
in other distros so this is my best effort at making this work.
(From OE-Core rev: 914e08cf627e54e5019eda2154663c30b9a68ded)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream project remove that option as it was quote:
It is completely ineffective.
[YOCTO #10843]
(From OE-Core rev: 52a12c6e5360f3f60b5610eb9ad6edaa076427c1)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Various changes needed to enable to run Toaster in the
Build Appliance:
1. Pre-install packages as specified by the file
"bitbake/toaster-requirements.txt"
2. Include pip3 in the image
3. Include tzdata in the image (needed by django)
4. Bump SRCREV to a commit with proper settings.py (ALLOWED_HOSTS)
for Django 1.8.16
5. Added README_VirtualBox_Toaster.txt to provide steps for
configuring VirtualBox network adapters (NAT or Bridged)
and steps to launch Toaster
[YOCTO#10767]
(From OE-Core rev: dffbac64bbf86c91247ba7373b3b5bd6af24103f)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously if IMAGE_TYPEDEP_* contained a conversion type of the form,
"foo.bar", the dependency on CONVERSION_DEPENDS_bar would not get added
to the task depends for do_rootfs.
[YOCTO #10883]
(From OE-Core rev: 037d39898e0e16c6d5b24a8d3844abfb328d3c14)
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a test that ensures if IMAGE_TYPEDEP_* contains a conversion type,
that the corresponding CONVERSION_DEPENDS_ for that type gets added to
the dependency tree for do_rootfs.
(From OE-Core rev: 9cf9c725f7d534c326ffd95ec539b041f4ad286f)
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added <layer>/wic directory to the list of paths to look
for wks files. This makes wic behaviour consistent when
invoked manually and by bitbake.
(From OE-Core rev: d345985db69dc86e9a8f8e2506b250d8780374cb)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These alternatives are only used to provide an unversioned brcmfmac-sdio.bin,
which was required by kernels prior to 3.13. As these alternatives all have the
same priority there's no determinism in which one is selected, and current
kernels (since January 2014) use the appropriately versioned firmware names.
(From OE-Core rev: 7ac00f2efee4973703ef9725c81242bd6eae36c0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the gummiboot project is no longer being maintained
and we are using systemd-boot as a replacement instead,
we can now clean up all remaining gummiboot files.
[YOCTO #10332]
(From OE-Core rev: 65eb3f51b70baaf24de871301a7247d5baed00ed)
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>
Fixes [YOCTO #10818]
There is a weird and intermittant error that can occur on any given
distribution that has a 4.3+ Linux kernel and a version 228+ systemd.
The error happens during an initial build of an image and indicates
that resources are unavailable. Investigation determines that
resources are available. The combination of the kernel and the
systemd in a distro is causing issues when a distro is upgraded.
yocto-project-qs:
I added a note in the two areas where the user is stepped through
the bitbake process to build an image. The note mentions the
possibility of the error, the host configuration situation, and a
couple work-arounds, which are to reboot the machine or to set the
"DefaultTaskMax" systemd parameter to "infinity".
ref-manual:
Added the same note in the "Building an Image" section.
(From yocto-docs rev: 3516803f9e6b5a29e4f95d31742c6e03ff63ef41)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10621]
bmaptool is integrated into the OpenEmbedded build system but is
not documented. I added a new section describing how to flash an
image to media using the tool. Also, updated a small section in the
Wic part of the manual that used "dd" to flash an example. I added
a bmaptool counterpart here and referenced the reader back to the
main new section.
(From yocto-docs rev: 98ebe9acccceea2b833c1372a3e664befd1b6aef)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10621]
bmaptool is integrated into the OpenEmbedded build system but is
not documented. I added a new section describing how to flash an
image to media using the tool. Also, updated a small section in the
Wic part of the manual that used "dd" to flash an example. I added
a bmaptool counterpart here and referenced the reader back to the
main new section.
(From yocto-docs rev: 83a9a3aa5f20c7f389306eea9213eabea997aba1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #7096]
Applied a couple review comments to the section to clarify where
to set key variables. Also fixed an incorrect variable name used
to specify the *.cpio file.
(From yocto-docs rev: 24861b36804cbd636aafc36b1918bcfe33ca3811)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #6132]
No mention of how to make the target directory /var/log
persistent. I added a note to the "post-install-logging"
image feature that points to the new VOLATILE_LOG_DIR
variable description, which I added to the glossary.
(From yocto-docs rev: 5d2bdf49e569e44d02602501d72418f04dbe6e4a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10763]
The final example in the section describing how to create
the base recipe using receipetool create was wrong. I updated
it to use the -d option in addition to the -o opetion. I also
changed the description to match appropriately.
(From yocto-docs rev: 8cc6d5e21532eeaac0e6d9ace3e0b58803a9804e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #7096]
We did not document how to create an initramfs image to be included
with a kernel build. Various variables sort of inferred the
knowledge. I created a new section in the "Common Tasks" section
of the dev-manual that describes how to create an initramfs image.
Also, I updated the kernel.bbclass reference section to point back
to the new "how-to" section.
Finally, I also created a bunch of cross-reference links from various
related variables back to the new "how-to" section.
(From yocto-docs rev: 289dfbd5d24241e42446a043104eecd6dca76f13)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This term was incorrect and I have replaced it with the
term "partitioned."
(From yocto-docs rev: 50dd5c6994a2f799fdaf1ccbf7138b0074e981ee)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
new information on how wic works
(From yocto-docs rev: 7b6a54a593a678442541b1fa6847498a792183c7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This new variable points to the location of the wics kickstart
file.
(From yocto-docs rev: 80d18224140f95fdca0b4efad8f6a6e545ee4d56)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bbmake hasn't existed for a while (a decade+) so we should
probably remove the references.
(Bitbake rev: 4170cf874850b950f31d2e36c895c110c0b096c3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These imports were from python 2.6 and earlier, 2.4 in some cases.
Drop them since we're all python3 now.
(Bitbake rev: 7ef12684e8647b006bf46cae695069d4bfece1cf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new mtd-utils (version 2.0) has been autotooled so the test needs to touch
Makefile.am instead of Makefile.
(From OE-Core rev: acce512a0b85853b5acf2ef07e4163a3b4f33a98)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove "-e MAKEFLAGS=" from EXTRA_OEMAKE to fix:
ERROR: hdparm-9.50-r0 do_package: QA Issue: File '/sbin/hdparm.hdparm' from hdparm was already stripped, this will prevent future debugging! [already-stripped]
ERROR: hdparm-9.50-r0 do_package: Fatal QA errors found, failing task.
The "-e MAKEFLAGS=" would cause submake can't get vars from environment,
The git log said that it was added for fixing a QA warning, but
everything is OK after remove it now.
(From OE-Core rev: 6305c1361c0d1140e37513402532600528a63744)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes following error in configure:
FATAL ERROR: msgfmt does not seem to be installed.
attr cannot be built without a working gettext installation.
(From OE-Core rev: d044fad8a0ac5d57deb88b25106f3a39cb7c1636)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Explicitly use strftime+strptime rather than snprintf+atol. This fixes the
build for X32, where long's size doesn't match that of time_t.
(From OE-Core rev: 72fa7d558a43ed053547ddc74972631504e40614)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was casting to a pointer, and the pointer sizes are 32-bit on X32, not
64-bit. Adjust as appropriate.
(From OE-Core rev: d9dca61ed26af166df913f34bdce3f2830682b33)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We should probably patch it to stop adding the -m argument to CFLAGS/LDFLAGS
in the first place, since we pass it in via CC, but this will do for now.
(From OE-Core rev: 5d2b0816a92965cdbbb2dca5d3009fbd5064b9ca)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the usual way this is handled in desktop distros (see debian, gentoo).
I wasn't able to track down a patch to add proper x32 support to ffmpeg. There
was, however, a libav patch series which may be worth investigating.
(From OE-Core rev: 94bfdb0accab0a2638e3bea1271cb80596f38e00)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The included libav lacks support for x32, so disable the assembly
optimizations.
(From OE-Core rev: 7bac614503d0d9fda03b087501690e5f8262d966)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
boost was adding -march/-mcpu itself, and adding -m32/-m64 itself as well.
Patch that behavior out, apply another similar patch from elsewhere, and
adjust BJAM_OPTS to fix the x32 build.
(From OE-Core rev: 2dc30ad281b625e0c4f2437879bce58245aa45b1)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to use the correct time() definition with time_t rather than a long,
since long is 32-bit on x32.
(From OE-Core rev: 520cee660efa60e44dbf004a617c130597be6cae)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
valgrind doesn't seem to support x32 at this time, even in current upstream.
(From OE-Core rev: 0203ae47dacc1a4b37007062f962fa8d4bd602e2)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream have removed the file from zlib.net as a new version has
been released, switch to fetching from the official sourceforge
mirror.
[YOCTO #10879]
(From OE-Core rev: bb99e4a620efd59556539c156cd98ea23aae74c8)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has started using automake which means that the recipe must now
inherit from autotools and pkgconfig.
The source tree has been reorganised too which requires the paths in the
patches to be modified. None of the patches appear to have been applied
upstream.
(From OE-Core rev: dacf6ab5aaf8cc588280b92d64db2e28c6c07a22)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original configure script detects the header files
of openssl to set variable like 'HAVE_OPENSSL_AES_H' in
config.h and ignore the value of '--enable-openssl', this
may cause inconsistent build.
(From OE-Core rev: 17e34c083aa53914610d8eca2341e82d0e1208e2)
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When installing NSS on a read-only rootfs, the current postinstall
scriptlet exits after having run the signing part. This causes an error
when appending the task because the rest of the script is simply ignored
and therefore never run.
(From OE-Core rev: 8f782f7095e718dd9452055af53363beb6bdbece)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ppp no longer provides the duplicate if_pppox.h header so no need to patch that
out of the Makefile.
(From OE-Core rev: 015574ac9335799e0a3da00cf882b103177c3744)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
--ignore-fail-on-non-empty is coreutils specific, and you
are not always going to have coreutils on target systems
especially small ones. They will use the busybox applet which
does not support --ignore-fail-on-non-empty, use pipe and true
to ignore the errorcode from rmdir instead
Fixes upgrade errors on target e.g.
rmdir: unrecognized option '--ignore-fail-on-non-empty'
BusyBox v1.24.1 (2016-12-20 10:41:39 PST) multi-call binary.
Usage: rmdir [OPTIONS] DIRECTORY...
To remove package debris, try `opkg remove update-alternatives-opkg`.
To re-attempt the install, try `opkg install update-alternatives-opkg`.
Collected errors:
* pkg_run_script: package "update-alternatives-opkg" postrm script returned status 1.
* postrm_upgrade_old_pkg: postrm script for package "update-alternatives-opkg" failed
(From OE-Core rev: 5ec8934a495e9b9a782889bc3a84936c8a381165)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use of awk -F "." in do_install/do_deploy to strip filename extension
was deprecated long time ago in 72980d5bb465f0640ed451d1ebb9c5d2a210ad0c.
Make a similar change in postinst/postrm to properly use basename command.
Otherwise DTB files that contain dots in the name result in broken symlinks
that point to non-existent truncated files.
(From OE-Core rev: 40c2addf0f0ee16b1c1334cf00f1490ffeaac475)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add code to verify that not only does a change trigger a build, but so
does reverting that change.
Reverting a change in a devtool managed git repo may cause the current
checksum to match the checksum of a previous build, which will cause
bitbake to skip builds that are needed.
(From OE-Core rev: 58a31d8dd7293f14c70e56ec9639c420d15e7dfc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sort keys of dict 'types' prior to dumping, in order to have
identical output every time. This could make it a little easier
to diff these human-readable dumps.
(From OE-Core rev: 8abbaba1931e2cb2b87aa733aa9a3e8eb359b500)
Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the file is expected to exist, then we should always be using require
so that if it doesn't we get an error rather than some other more
obscure failure later on.
(From OE-Core rev: 603ae6eb487489e65da69c68e532cb767ccc1fc2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you delete the log file that the oe-selftest.log symlink points to
but not the symlink itself, because we were using os.path.exists() here
the code assumed that the symlink didn't exist when in fact it still
did. Use os.path.lexists() instead.
(From OE-Core rev: 263af91a0efd21e041ecdb0c40f9b2d4e735f67d)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After systemd-boot was introduced, its been tested for a while with no major
issues being found until now, this patch completely replaces all gummiboot
instances with systemd-boot ones, taking the next step into cleaning
up systemd-boot/gummiboot.
[YOCTO #10332]
(From OE-Core rev: f9a61d3400ad9068a6d83b8eb6aefe3098c58e68)
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>
If multiple providers for a utility have the same alternatives priority,
which one would be chosen is determined by which one is installed later.
Our alternatives system should be able to detect such problem and warn users
so that potential problems could be avoided.
Modify update-alternatives to warn users when detecting multiple providers
with the same priority.
[YOCTO #8314]
(From OE-Core rev: 06cf956e3441868d69f81d6c034778d855ce1c98)
(From OE-Core rev: 0b413d502868c89b7ddbe50a978317ffa774b3cc)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using an alternative as an initscript, the ordering between
update-rc.d and update-alternatives tasks during prerm and postinst
tasks must always be the following in order to work:
* prerm:
- stop daemon
- remove alternative
* postinst:
- add alternative
- start daemon
This patchset adds comments to the scripts generated by both classes and
organize the generated sections based on those comments.
[YOCTO #10433]
Changes since v5:
- Remove boolean in d.getVar() calls
(From OE-Core rev: aa87b1a4dcc14e4dfe719b6c55045c5662bc59c2)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only the last stamp file should be kept, but unless STAMPCLEAN matches
files generated using STAMP old stamp files may linger. This may
cause false positives for skipping tasks.
(From OE-Core rev: 6d60f60e38e0e00e6753f5b136277f27d6204e63)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're placing an object into the datastore - it's very definitely not
something we want to be expanding.
(From OE-Core rev: adfee41d2b1edbd2abd09f9101c359919e21e5d6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix not decoding output from grep ("Matched in b'manifest...')
* Fix showing "Matched in b''" if no match (show "not matched to any
task" instead)
* Drop the filtering out of .populate-sysroot from matched manifest
names - it should have been .populate_sysroot so it doesn't work, and
in any case the value of removing the task name is questionable given
that we aren't removing it for any other task, and that the rest of
the filename isn't only the task name, we might as well have the whole
thing. At least then you can do a find on that exact name without
wildcards and find it.
* Fix indenting of file list entries and indent "matched in" further
underneath
* Minor punctuation fixes
(From OE-Core rev: 4675ce43496898fccbac738835d7e92b1cca648e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a recipe installs a file or directory whose name contains square
brackets [ ] that form a valid glob expression and that file then they
won't be correctly removed from the sysroot, because we pass each path
in the sstate manifest to our oe.path.remove() function which calls
glob.glob() on the path passed into it and the expression won't
actually match the original filename. Since we don't expect to put any
wildcarded expressions in the sstate manifests, and we already have a
try...except around this, we can actually use os.remove() here instead.
Similarly, when we pass existing file paths to "grep" looking through
the manifests, we don't want those paths to be treated as regexes - so
use grep's -F command line switch.
Fixes [YOCTO #10836].
(From OE-Core rev: fd8a57861024fc82e15a2a4ec8c20ed0ebb242f6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When constructing a spec file we list files and directory paths in the
%files section. If ] or [ characters are in a file or directory name,
rpm treats them as wildcards which will mean it won't properly match the
filename. Instead, transform these into an ? wildcard so they don't
cause a problem.
(This fixes packaging the npm package "file-set" and anything that
happens to depend upon it, since it includes tests with files that
contain unusual characters including ] and [).
(From OE-Core rev: f95adb749619e70920c6cc6cd01c6d02cd348fd8)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a warning in the doc comment for oe.path.remove() about using that
function on paths that may contain wildcards in the actual
file/directory names.
(From OE-Core rev: 18cc0965741102bccc62dfb32ed7753cdacbadc7)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were a few straggling expansion parameter removals left for
getVar/getVarFlag where the odd whitespace meant they were missed
on previous passes. There were also some plain broken ussages such
as:
d.getVar('ALTERNATIVE_TARGET', old_name, True)
path = d.getVar('PATH', d, True)
d.getVar('IMAGE_ROOTFS', 'True')
which I've corrected (they happend to work by luck).
(From OE-Core rev: 688f7a64917a5ce5cbe12f8e5da4d47e265d240f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At end of BBCooker needs to release fd's associated with pyinotify
watchers to avoid: Too many open files (EMFILE) error in different
scenarios like several instances of tinfoil.
[YOCTO #10873]
(Bitbake rev: ae6045b84978940c365c95c33d6996359c3e299d)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've been seeing oe-selftest failures under puzzling circumstances. It
turns out if you run oe-selftest on a machine with xmlrunner installed
and have the recent tinfoil2 changes, the launching of PR server crashes
leading to selftest hanging if using an autoloaded PR server.
The reason is that xmlrunner uses an io.StringIO object as stdout/stderr
instead of the usual io.TextIOWrapper and StringIO lacks a fileno() method.
We have to deal with both cases and in the python way, we try and then seek
forgivness if we see an AttributeError or UnSupportedOperation exception.
Unfortunately we have to deal with both cases as we may be performing a
traditiional double fork() from the commandline, or a larger python program.
[YOCTO #10866]
(Bitbake rev: 26243f04e3af652291d13e85c084057104fe155b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This group pulls in libglu, which needs virtual/libgl, whose providers require
opengl in DISTRO_FEATURES.
(From OE-Core rev: af330fc0087692039d4256a6fb1e122742e8ec1a)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The .inc already included this, but the x11 version was overriding it. This is
a problem, as the x11 version still needs opengl as well as x11. Append
instead.
(From OE-Core rev: e2006b11d36e3ead725ae6e5613b6b0087f28029)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This requires libgl, and mesa requires the opengl distro feature.
(From OE-Core rev: 2f4c6b833d3d57c394bce5f7ebba688a0ce8e66e)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe depend on virtual/libgl, whose providers require the opengl distro
feature.
(From OE-Core rev: 009c088f6d0bf75ebb17825f6a3aba356a5b659d)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With enabled SSTATE_MIRRORS sstate code expects mirrors to
contain entries for all tasks, which is not the case for ext
installer as it uses reduced sstate cache.
Added do_package tasks to BB_SETSCENE_ENFORCE_WHITELIST to prevent
installer failing with ERROR: Sstate artifact unavailable
[YOCTO #10832]
(From OE-Core rev: 2ed46ada4b8e496493835e84b36f7e9c367f59d2)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mapped uninative sstate directories to make ext SDK installer to
use them when it's run on systems with gcc version different from
gcc version used to build installer.
[YOCTO #10832]
(From OE-Core rev: 549df5f82c9b2d4feb6f459cb3b2f240efb9a981)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its possible something (like bitbake/tinfoil2) may mess around with the
environment and using the enviroment as a global variable store isn't
particularly nice anyway.
This patch changes the BUILDDIR usages so that the environment isn't used
as a global store and a global variable is used instead. Whilst that
is still not perfect, it does avoid the current double and triple backtraces
we're seeing where tinfoil2/bitbake has trampled the enviroment leading
to failures of failures making debugging even harder.
(From OE-Core rev: 689b676bbf2f1a5fadb04aeb41d5e68e35356545)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It may be necessary to override the parameters gathered for the qemu
invocation. For example, the qemux86 machine configuration sets "-vga
vmware", but when using OVMF as BIOS, only "-vga std" is supported.
By putting the parameters derived from custom runqemu parameters like
"qemuparams" after the parameters derived from the machine
configuration the user gets the possibility to override those.
(From OE-Core rev: b6feb7578d60289c8b6e376cfaac8a3ee45e72f9)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Requiring all build systems for external kernel modules to
place Module.symvers directly into ${B}/. is quite an
artificial assumption/requirement. It doesn't have to end
up there, but could easily end up somewhere below ${B}.
Allow to override the location below ${B}
Note that we still don't make use of multiple
Module.symvers in case there are any generated by one
single kernel module build, but this is no change in
behaviour from before and could be added if there really
is a demand for that.
Reported-by: Denys Dmytriyenko <denis@denix.org>
(From OE-Core rev: caa0fa2ddf0c97255b38b1ec8579944ab4821ff1)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refreshed the following patch:
* inet-6-.defn-fix-inverted-checks-for-loopback.patch
(From OE-Core rev: 1daa09aa82c528dcc7682553dd6704a93aafdc88)
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>
Remove 0002-Recognize-nios2-as-compilation-target.patch which is already
in the source.
(From OE-Core rev: a2b7f442d8872afe8edec062c60264b31e860218)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Removed install.patch since it is already in the patch.
* Fix indent for file://test.sh
(From OE-Core rev: bd8b1d79b50819486e5882db05abb6b358b7392a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
TOOLCHAIN_TARGET_TASK doesn't need to explicitly list sdk-target-dbg because if
SDKIMAGE_FEATURES contains dbg-pkgs (as it does by default) then they'll all be
installed anyway. This means that if the user removes dbg-pkgs from
SDKIMAGE_FEATURES then the SDK correctly doesn't have debug packages in.
[ YOCTO #9078 ]
(From OE-Core rev: 4c711830ae26008f73bbf557964bdb86b8c922da)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
People are struggling with multiconfig as the point the conf file
is injected into the data store is not what people expect. We can't
really use a post config since that is too late and we can't really
use a pre config file since that is too early. In OE terms, we need
something right around the local.conf point so it behaves in a similar
way.
A way to handle this is to set the new variable BB_CURRENT_MC to be the
currently selected multiconfig, then the metadata itself can choose
when to inject the approriate configuration.
(Bitbake rev: 518b9015c2be8d3894277a8e54890d6f04d656c0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fakeroot workers usually have dependencies that need to be ready before they
can be started. Starting them as a block therefore doesn't work as the
dependencies may or may not have been built. Therefore start the multiconfig
fakeworkers individually upon demand.
[YOCTO #10344]
(Bitbake rev: ab15486c636e451ed5a62e561980946887901c3b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In multiconfig, mutliple tasks can execute which share the same stamp file. These
must not execute in parallel, the idea is the first should execute, the subsequent
ones should see a valid stamp and get skipped.
The normal task execution code has stamps code to handle this, this adds similar
code to the setscene execute() function to handle the issue there too.
(Bitbake rev: 937acf267fa9e45f538695b2cf8aa83232a96240)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
setscene was being entirelu skipped for multiconfig variants as the tasks
were simply not being spotted. If the default config was also being built
it masked the problem. When this was fixed by using taskfn instead of fn
in lookups against dataCache, several other instances of this problem were
highlighted.
This goes through and corrects the setscene code to correclty use taskfn
instead of fn in the appropriate places meaning setscene tasks for multiconfig
now work correctly.
(Bitbake rev: cead85cf219c07b40aeb7c0d948c25f0429136db)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tasknames can now start with "multiconfig:" which broke the virtual: comparison code and
lead to unpredictable checksums with nativesdk recipes. This adds in handling for
the new additional prefix which unbreaks nativesdk builds when using multiconfig.
(Bitbake rev: 4da296c0c93391ec37f8b6e2245071657759771e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the UI shows X is building, possibly multiple times but doesn't
say which of the multilibs that might be. This adds a prefix to the task
name so the mulitconfig being built can be identified.
(Bitbake rev: d93ddd185dde53f50aea06ada094bb0d9b5ba4f0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The location of the fakeroot command and the various environmental values need
to be taken from the right multiconfig datastore, not the shared one. This
patch ensures the right one is used for cases like a split TMPDIR.
[YOCTO #10344]
(Bitbake rev: 813a7600bc26b7132ac36d1515571d321f566afb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've moved to python3, we don't need this compatibility code which just makes
the code less readable.
(From OE-Core rev: 425afe2484707640ac71194885fdb263e95e9950)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nativesdk-libgcc doesn't need a symlink into the target space and if we do this
sstate installation of the recipe can fail depending on whether it races with
the cross-canadian toolchains.
(From OE-Core rev: b2c1e1fe4221862e0dbf5d08960f0d0228e47c72)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
People are strugling with multiconfig as the up front inclusion of the
configuration file doesn't do what people expect. The only way to meet
user expectations is to include the file immediately after local.conf.
We add BB_CURRENT_MC to bitbake so that the metadata can determine when
to include the extra configuration.
(From OE-Core rev: a6a3894fb2cb2097d2404b8b8cb2b85df595cfa9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This means that a user can change TMPDIR in a multiconfig situation
and still only have one path to the uninative setup. Without this change
its not possile to make such a setup work.
(From OE-Core rev: 779422c5458f5f643b3a4a0dedaa4d9ad709367a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you want to be able to use -fstack-protector then you need the
runtime support - you can either write this yourself or use libssp
supplied with GCC. If you're using GCC then it seems likely that you'd
just be using libssp, so include in the SDK by default; however use
RRECOMMENDS just in case it's been disabled or you aren't using GCC.
(From OE-Core rev: 6c990655e35bb3a14d59555662ec5802c9980028)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rm: can't remove '/etc/resolv.conf': Read-only file system
ln: /etc/resolv.conf: File exists
/etc/default/volatiles contains an entry:
l root root 0644 /etc/resolv.conf /var/run/resolv.conf
which causes populate-volatile.sh to execute the following in link_file():
if [ -L \"$2\" ]; then
[ \"\$(readlink -f \"$2\")\" != \"\$(readlink -f \"$1\")\" ] && { rm -f \"$2\"; ln -sf \"$1\" \"$2\"; };
elif [ -d \"$2\" ]; then
...
At the time the image is created, /etc/resolv.conf is already a
symlink to /var/run/resolv.conf, but at boot time when
populate-volatiles.sh is run, /var/run/resolv.conf doesn't
exist, causing it to try to rm -f and ln -sf which of course
fails due to the read-only filesystem.
[YOCTO #10814]
(From OE-Core rev: 765ee275f5499254b1f09e394c757072bea5f459)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The glew 2.0.0 release added support for building for EGL:
http://glew.sourceforge.net/log.html
Add PACKAGECONFIG options for 'opengl' (ie the previous default, with
dependencies on opengl and X11) and 'egl-gles2', which depends on EGL
and GLESv2 and allow glew to be built for non-X11 distros.
(From OE-Core rev: f6344f20e3aed640b3218438e69c0b641e58d630)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous WIC script selftest didn't cover all of its command line
options. Some option variants were included in existing test cases and
the following tests were added to complete covering them:
1552 Test wic --version
1553 Test wic help create
1554 Test wic help list
1555 Test wic list images
1556 Test wic list source-plugins
1557 Test wic listed images help
1558 Test debug
1563 Test skip build check
1564 Test build rootfs
1559 Test image vars directory selection
1562 Test alternate output directory
(From OE-Core rev: b4d52c3f1e0ad2c14028ff08c0938d1b24b7f648)
Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following test cases were assigned an ID number on Testopia:
1496 Test generation of .bmap file
1560 Test creation of systemd-bootdisk image
1561 Test creation of sdimage-bootpart image
(From OE-Core rev: b53e432206eaba7c6c67e4689c25b5e62d7ee9b2)
Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When installing a kernel package, the symlinks created by
update-alternatives should point to a path relative to KERNEL_IMAGEDEST
and not an absolute path to '/boot'.
Failing to do so causes problems when resolving the symlink inside some
bootloaders which mount the boot partition elsewhere.
(From OE-Core rev: c7bc46b9bc29dd0953ab8d63b50fa105bb66892e)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If commands are run asynchronously they may be completed out of
order causing problems if later entries depend on earlier ones.
(From OE-Core rev: bead9e59768209dd70f9cba51d2f1e5925cc284d)
Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added new option --fixed-size to wks. The option can be used to indicate
the exact size of a partition. The option cannot be added together with
--size, in which case an error will be raised. Other options that
influence automatic partition size (--extra-space, --overhead-factor),
if specifiec along with --fixed-size, will raise an error.
If it partition data is larger than the amount of space specified with
--fixed-size option wic will raise an error.
(From OE-Core rev: fdd217ba874bd480e0180830fe2e6bd54dde19d9)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tests may need to run a native tool that is not available on the host
filesystem, but can be built using one of the *-native recipes. In such case,
the tool will be available in native sysroot, and running in from that location
will require adjustments to PATH.
runCmd() can now take a path to native sysroot as one of its arguments and
setup PATH accordingly.
(From OE-Core rev: f2a04631949db72d4261d1c142c5044fad3741f9)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
when using clang, configure it poking at build host
if we do not use it then it falls back to sysroot
which is what we need here.
(From OE-Core rev: ee0b0da237c1661f43e27e26e0ab24b7d8ed174f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Disable asm to fix
| You specified a pre-MSA CPU in your CFLAGS.
| If you really want to run on such a CPU, configure with --disable-asm.
(From OE-Core rev: 302124c1cc8353f4d0e13ab9ba9057d6b3862bde)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using devtool modify on the kernel, we have to do a bit of a dance
with tinfoil instances because we only find out that we're working on a
kernel recipe after tinfoil is initialised, but then we need to build
kern-tools-native which we're doing just by running bitbake directly.
With the tinfoil2 changes, a datastore for the recipe that we were
keeping around across the opening and closing of tinfoil is no longer
able to be used. Re-parse the recipe to avoid this problem.
(In future this whole thing will be able to be done in the same tinfoil
instance thanks to tinfoil2, but that refactoring is yet to be done.)
(From OE-Core rev: 06127d0115ba449bf04e2579cd1010065e0ed6e3)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently wic looks for wks files in
<layer dir>/scripts/lib/wic/canned-wks/ directories.
This path is too nested and doesn't look consistent with the
naming scheme of layer directories.
Added <layer>/wic directory to the list of paths
to look for wks files.
(From OE-Core rev: 803b5fa798cf7580c7c10401eb04a1cccf51b8ab)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When subversion run on x86 and lib32 on x86-64, it use the APR's
apr.h header file. But when configure the APR, APR meets the cross
compiling, it was hardcoded in configure.in in apr source code. As
the following:
APR_CHECK_SIZEOF_EXTENDED([#include <sys/types.h>], off_t, 8)
It pass 8 bytes to off_t when meets cross compiling, but on x86 or lib32
the off_t in glibc was 4 bytes, so it let the application who use apr.h
go to wrong.
Such as subversion:
svnadmin create test
So we should let the APR detect the correct off_t when cross compiling,
change it to the following:
AC_CHECK_SIZEOF(off_t)
The same for the following hardcoded types for cross compiling:
pid_t 8
size_t 8
ssize_t 8
Change the above correspondingly.
(From OE-Core rev: e18820ca9202c07e2406d702c46f45415182b7a6)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit cfe6f3e251.
This is because the apr configure wrong, when the apr configure meets the
cross compiling, it pass 8 bytes to "off_t", in apr source code configure.in,
it was hardcoded:
APR_CHECK_SIZEOF_EXTENDED([#include <sys/types.h>], off_t, 8)
The macro "APR_CHECK_SIZEOF_EXTENDED" was defined in build/apr_common.m4,
it use the "AC_TRY_RUN" macro, this macro let the off_t to 8, when cross
compiling enable.
But in glibc on the x86 or multilib target the "off_t" was 4 bytes, so this
cases dismatch for softwares which use the apr.h, such as subversion, run this:
svnadmin create test
It failed because the "APR_OFF_T_FMT" was "lld" in apr.h when apr configure,
but the "apr_off_t" was 4 bytes, in the apr source code: apr_snprintf.c
i_quad = va_arg(ap, apr_int64_t);
When the function apr_vformatter meets "lld", it would use the above to parse,
but the above read 8 bytes, so the follow-up data go to wrong.
So we should configure the apr correct when cross compiling. I do this on the
following patchs.
(From OE-Core rev: fbdfb39c011676fe61a4d58b62226126e0e9ec62)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
latest systemd has changed the resolved defaults which points to
127.0.0.53 port 53 on local network. If someone wants to use
host-local IP address then it can be pointed to copy in /lib/systemd
(From OE-Core rev: 99d1199fd0961f94732a1a533d66472ca17cf6f5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 873e33d0479e977520106b65d149ff1799195bf6 [fetch2/wget:
add Basic Auth from netrc to checkstatus()] causes "Fetcher failure
for URL: 'https://www.example.com/'. URL https://www.example.com/
doesn't work." on new builds when a user has a .netrc file but there
is no default and no matching host. The call to netrc.authenticators()
will return None in these cases and the attempted assignment to the
3-tuple will raise a TypeError exception. Add the TypeError to the
exceptions caught to get around this issue.
(Bitbake rev: c0c0af40ebddaf9dc99353c580a65d4c04295613)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 68cb3180c1b0dcee50812b21f98850d188d8621b as this wasn't
ready for merge and there are new better versions.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fetch2/wget uses urllib to check the status of the mirrors, wget will
use netrc to pass login and password information however checkstatus
will skip that.
This adds netrc login and password to checkstatus so both will work the
same.
(Bitbake rev: 873e33d0479e977520106b65d149ff1799195bf6)
Signed-off-by: Matthew McClintock <msm-oss@mcclintock.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For the purposes BB_SETSCENE_ENFORCE is designed for (in OE, it is used
by the installation process for the extensible SDK), we don't actually
need the whitelisted real tasks to execute - we just need to have them
in the dependency tree so that we get all of the setscene tasks they
depend on to run. Therefore we can actually dry-run those real tasks
i.e. they won't be run (and thus we won't waste a significant amount of
time doing so) and won't be stamped as having run either. We do already
have a dry-run mode in BitBake (activated by the -n or --dry-run command
line option), but it dry-runs the setscene tasks as well which we don't
want here.
Note that this has no effect on the checking we are doing with
BB_SETSCENE_ENFORCE to ensure that only whitelisted real tasks are
scheduled to run - that's handled separately.
Fixes [YOCTO #10369].
(Bitbake rev: 58f084291beb3a87d8d9fdb36dfe7eff911fa36b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was bug with alignment frags for aarch64 in binutils. This is fixed in
master of binutils. This patch backports the fix to binutils 2.27 version.
(From OE-Core rev: f6f87019073d4f3caa7766aca89faa6781690fba)
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
git module is not included into standard Python
library and therefore causes import errors on the systems
where PythonGit is not installed.
As git module only used in the code implementing --repository
functionality it's better to import git only in the scope
that requires it.
[YOCTO #10821]
(From OE-Core rev: 66be32c1a075201d6ee0e9b9e10b84e6a2ace745)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New binary gdk-pixbuf-thumbnailer packaged in ${PN}-bin.
(From OE-Core rev: 2103089819dd2df27753b4d04789680a26580848)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes
| /usr/bin/ld: libcrypto.a(sha1-x86_64.o): relocation R_X86_64_PC32 against undefined symbol `OPENSSL_ia32cap_P' can not be used when making a shared object; recompile with -fPIC
| /usr/bin/ld: final link failed: Bad value
(From OE-Core rev: 0a19e72081771fca8ed94fb2a2a8996fd3dce00c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport the patch from master for 2.69
(From OE-Core rev: 83081afc08695ea42046208ca8ab077e482d3018)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous WIC script selftest didn't cover all of its command
line options. The following test cases were added to complete
covering them:
1552 Test wic --version
1553 Test wic help create
1554 Test wic help list
1555 Test wic list images
1556 Test wic list source-plugins
1557 Test wic listed images help
1558 Test wic debug, skip-build-check and build_rootfs
1559 Test image vars directory selection
1562 Test alternate output directory
In addition, the following test cases were assigned an ID number on
Testopia:
1560 Test creation of systemd-bootdisk image
1561 Test creation of sdimage-bootpart image
Finally, part of the test methods were rearranged to group them by
functionality, and some cleanup was made to improve the code's
compliance with PEP8 style guide.
Fixes [YOCTO 10594]
(From OE-Core rev: 3d2ac67765020885a0996ebdd97a576ba37dbec0)
(From OE-Core rev: 68cb3180c1b0dcee50812b21f98850d188d8621b)
Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The am335x_evm_config target has a subtle problem which is not present
in the am335x_boneblack_config target: When booting from an external
MMC card, the internal MMC is not accessible using the former target.
This problem was introduced in U-Boot in commit 80b24fcd3083515e6b961,
due to the addition of the CONFIG_DM_MMC option, and the
am335x_boneblack_config target does not have this problem.
(From meta-yocto rev: 18d0692f70e05b382e8404dbed34e9fad7f348aa)
Signed-off-by: Kristian Amlie <kristian.amlie@mender.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When calculating PKGSIZE we sum the size of files after doing lstat() so we
don't count directory metadata overhead, but were not correctly handling
hardlinks. This results in packages such as e2fsprogs-mke2fs having PKGSIZE of
1.5M when it's actually a single 300K binary with five hardlinks.
[ YOCTO #10423 ]
(From OE-Core rev: e82a7f879419828b42b5cc71e6229c8235090f21)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both python-git and python3-git need to be upgraded to latest upstream
version.
This change includes python3 dependencies added and was tested
using qemux86 with core-image-sato.
(From OE-Core rev: c9c54f352c5122b9a4239f69779400e3ba250827)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When no --size is specified for the rootfs in the .wks, we want to obey the
rootfs size from the metadata, otherwise the defined IMAGE_ROOTFS_EXTRA_SPACE
and IMAGE_OVERHEAD_FACTOR will not be obeyed. In some cases, this can result
in image construction failure, if the size determined by du was insufficient
to hold the files without the aforementioned extra space.
This fallback from --size to ROOTFS_SIZE was already implemented when
--rootfs-dir is specified in the .wks, but it did not occur otherwise, neither
when --rootfs-dir= was passed to `wic create` nor when IMAGE_ROOTFS was used.
This made a certain amount of sense, as this fallback logic happened at such
a level that it wasn't able to identify which partitions were rootfs
partitions otherwise. Rather than doing it at that level, we can do it in
prepare_rootfs(), which is run by the rootfs source plugins.
Note that IMAGE_OVERHEAD_FACTOR and a --overhead-factor in the .wks will now
both be applied when --size isn't specified in the .wks. A warning is added
about this, though a user won't see it unless wic fails or they examine the
do_image_wic log.
Fixes [YOCTO #10815]
(From OE-Core rev: 1d50e11286722c4114c1ae0bc285f846cd85fc4c)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If createrepo isn't found then the errors later are mysterious, so explicitly
check and error out early if it isn't there.
(From OE-Core rev: e09636bbb3ea8ec58984197fd9c691bb908efe00)
(From OE-Core rev: c87361fc886432a9db584712bf3e41ecd0541960)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly: Saratov, Russia moves from +03 to +04 on 2016-12-04.
Changes to future time stamps
Saratov, Russia switches from +03 to +04 on 2016-12-04 at 02:00.
This hives off a new zone Europe/Saratov from Europe/Volgograd.
(Thanks to Yuri Konotopov and Stepan Golosunov.)
Changes to past time stamps
The new zone Asia/Atyrau for Atyraū Region, Kazakhstan, is like
Asia/Aqtau except it switched from +05/+06 to +04/+05 in spring
1999, not fall 1994. (Thanks to Stepan Golosunov.)
Changes to past time zone abbreviations
Asia/Gaza and Asia/Hebron now use "EEST", not "EET", to denote
summer time before 1948. The old use of "EET" was a typo.
(From OE-Core rev: a0b389b5f3effad5194109f9914dec6125b3569d)
(From OE-Core rev: 147d7802926153ef0abb12d5e738576d8dfd02d7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to code
zic no longer mishandles file systems that lack hard links, fixing
bugs introduced in 2016g. (Problems reported by Tom Lane.)
Also, when the destination already contains symbolic links, zic
should now work better on systems where the 'link' system call
does not follow symbolic links.
Changes to documentation and commentary
tz-link.htm now documents the relationship between release version
numbers and development-repository commit tags. (Suggested by
Paul Koning.)
The 'Theory' file now documents UT.
iso3166.tab now accents "Curaçao", and commentary now mentions
the names "Cabo Verde" and "Czechia". (Thanks to Jiří Boháč.)
(From OE-Core rev: 3fb5ddce97af1d4ada0dcc7f9c0ceef6ac392918)
(From OE-Core rev: f9d6b482f2275c054dff91b81ac901b612f9c9b4)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the current set of PACKAGECONFIG, we end up building with 'gles2' and neither
'opengl', nor 'egl'. As a result we are building -bad with neither 'glx' nor
'egl' platform support. So let's make sure that we at least have egl by default
(since we default to 'gles2').
(From OE-Core rev: 4de8447c6536385ca134866682709efebf7d4e3d)
(From OE-Core rev: a4111417b1b46cc852bf96a443b0edb0a525f346)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add rtl8188 rtl8712 rtl8723 rtl8821 packages to install only firmware for the
corresponding chipset. Uses a rather blunt approach by simply adding all firmware
files with matching prefix, to keep the package count down a bit.
(From OE-Core rev: 62a5c0a40d13594a0f16a01701e70dac5e492125)
(From OE-Core rev: 41061a812239dcfde2e4cd5636250ff2cd7e4cbb)
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Even though upstream hasn't tagged new versions for a long while,
we should not report a bogus tag as something that can be updated to.
(From OE-Core rev: e16e4892368ec2475853d69332f3732dbf7b06cd)
(From OE-Core rev: c4b71ff17f630d5289a8105ec9465ff29ecd0e6c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a 0001-Do-not-add-cli-args.h-to-cli-args.stamp-Makefile-tar.patch
to fix a compile issue (incorrect creation of an empty header).
Add a libunistring dependency as gnutls has gained it.
(From OE-Core rev: b2ec343ad770c26f39f3a6d335e4bb3ccbf41aec)
(From OE-Core rev: 84c6a3bcf44950049bba255075177a0004058a44)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
while we are at it clean up sed
(From OE-Core rev: 69e9f7ec8ba8649784a27e9c7dc7a6987a53c22e)
(From OE-Core rev: cb4f5ecf32006192baaf41218a3d7b43ca1c2951)
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no break in busybox's "defconfig" file to show where Runit
settings suddenly morph into SELinux settings, so add some comments.
(From OE-Core rev: 0fa590ed6c26aa065a9da8edbf65436fa1f6d04f)
(From OE-Core rev: 21c3d1b354dbb6cd6f3d574785f70858d828d977)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1)Upgrade ghostscript from 9.19 to 9.20.
2)Modify ghostscript-9.15-parallel-make.patch, since the data has been changed.
(From OE-Core rev: 4f3483c3a0ba22f46d768d78d6f56880e8ac5608)
(From OE-Core rev: 9133ba6b8138951f3ef798f0a1cc6f694fe71868)
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>
1)Upgrade libxkbcommon from 0.6.1 to 0.7.0.
2)License checksum changed,since the copyright years were updated.
(From OE-Core rev: 3f972e6a6b69da1b459e75ec1e1a5c9373427ae7)
(From OE-Core rev: 30cfa14c9cfce5da13ee33762c3caa82de7847cb)
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>
1)Upgrade wpa-supplicant from 2.5 to 2.6.
2)Delete 5 patches below, since they are integrated upstream.
0001-Reject-psk-parameter-set-with-invalid-passphrase-cha.patch
0001-WPS-Reject-a-Credential-with-invalid-passphrase.patch
0002-Reject-SET_CRED-commands-with-newline-characters-in-.patch
0002-Remove-newlines-from-wpa_supplicant-config-network-o.patch
0003-Reject-SET-commands-with-newline-characters-in-the-s.patch
3)License checksum changes are not related to license changes.
(From OE-Core rev: 878d411eb53e96bf78e902cc2345eccda8807bfc)
(From OE-Core rev: 8751dbde2736a4dbea83f6f581fe90f0c60def76)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license has changed from LGPLv3+ to "LGPLv3+ or GPLv2"
* README (Copyright): Rewrite section
* doc/libunistring.texi (Licenses): Change accordingly
(From OE-Core rev: e06584e6f5fcf259dcd0a10383aa4d05b3e74b70)
(From OE-Core rev: 371049b5d47d130d644659b9d24d306e70a6d6a7)
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>
Backport a patch to replace CWD with PWD to avoid
error messages in test results:
basename: missing operand
Try 'basename --help' for more information.
(From OE-Core rev: 8665ccb5c3cefca43898caea06198e79504fdeff)
(From OE-Core rev: 527437174bf74b2205dd5b48cbb64a54d7698162)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is more pythonic and can handle unclosed file warnings better
than the previous code structure.
(Bitbake rev: 50633012a64a3b5f0662145e29ff426374fb7683)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of our metadata assumes that BuildStarted and BuildCompleted events
see the same data store. This is the case for buildTarget but not for
buildFile and recent changes mean this is now a problem.
The update_data() call is now an empty operation and there is no difference
between the expanded_data and data so we can simply remove the expanded_data
and its references and use data everywhere. This has been inteded for a while
but the above issue makes this more pressing to finally clean up.
(Bitbake rev: e3694e738e98f26f413ada6860ca7d829d3662f0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.
Search made with the following regex: getVar ?\(( ?[^,()]*), True\)
(a follow on patch to fix up a few recent introductions)
(Bitbake rev: f9961fd5beb31d5ab9656a5be59f7ab3effef2f0)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BUILD_CC may reference something like ccache and expect this to come from
ccache-native, we at least have some selftests which assume this. Modify the
code to use PATH when runnig BUILD_CC to ensure the tests continue to work
as expected.
(From OE-Core rev: f3e753372baac43d0921186340cf260df056de20)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A follow-up of a fix introduced in
1b32c6ed02 (selftest: wic: fix test_qemu).
Wic test_qemu fails on qemux86 due to a direct assignment of WKS_FILE in machine
configuration. Using default assignment allows WKS_FILE to be overwritten in
test setup.
(From OE-Core rev: 9afaeadb37b2b2fab935755ab570cf4b1f3195f4)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
getVarFlag() now defaults to expanding by default, thus remove the
True option from getVarFlag() calls with a regex search and
replace.
Search made with the following regex:
getVarFlag ?\(( ?[^,()]*, ?[^,()]*), True\)
(From OE-Core rev: 3e4806063fe11092b2307f113a6c0b0f04104091)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
getVarFlag() now defaults to expanding by default, thus remove the
True option from getVarFlag() calls with a regex search and
replace.
Search made with the following regex:
getVarFlag ?\(( ?[^,()]*, ?[^,()]*), True\)
(From OE-Core rev: 2dea9e490a98377010b3d4118d054814c317a735)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.
Search made with the following regex: getVar ?\(( ?[^,()]*), True\)
(From OE-Core rev: 0a36bd96e6b29fd99a296efc358ca3e9fb5af735)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.
Search made with the following regex: getVar ?\(( ?[^,()]*), True\)
(From OE-Core rev: 7c552996597faaee2fbee185b250c0ee30ea3b5f)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hack: Depending on how glibc was compiled (e.g. optimised
for size or built with _FORTIFY_SOURCE enabled) the strlen
symbol might not be found in ld-XXX.so. Therefore although
we should still try to intercept it, don't make it mandatory
to do so.
(From OE-Core rev: 84ec50e587e7464b260b1b189659b93b6dab0ef6)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The script detects directory renaming if two different
directories with the same set of files are added and removed.
[YOCTO #10691]
(From OE-Core rev: 944db779a9f45cbeeebc976c00da37a517eea237)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some c++ libraries fail to build if uninative is built
with gcc 5.x and host gcc version is either 4.8 or 4.9.
The issue should be solved by making separate uninative sstate
directory structure sstate-cache/universal-<gcc version> for host gcc
versions 4.8 and 4.9. This causes rebuilds of uninative if host gcc
is either 4.8 or 4.9 and it doesn't match gcc version used to build
uninative.
[YOCTO #10441]
(From OE-Core rev: d36f41e5658bbbb6080ee833027879c119edf3e0)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building systemd with multilib support enabled in your build you
will get the following QA warnings (if the 'libdir' QA check is
enabled.)
WARNING: systemd-1_232-r0 do_package_qa: QA Issue: systemd-dbg: found \
library in wrong location: /lib/systemd/.debug/libsystemd-shared-232.so
systemd: found library in wrong location: /lib/systemd/libsystemd-shared.so
systemd: found library in wrong location: /lib/systemd/libsystemd-shared-232.so [libdir]
Since systemd 231 upstream has included an 'internal' library which
they explicitly place in the application specific /lib/systemd
directory. You can see some of the discussion about this placement
here https://github.com/systemd/systemd/issues/3810
This placement is being picked up by the QA checker since when
multilibs are enabled it expects all libraries to be in lib32 or
lib64. Since the systemd and systemd-dbg packages don't contain any
other libraries we can respect the upstream placement and skip this QA
check for these packages. Unfortunately the QA mechanism doesn't allow
us to specify individual files so this approach is the best we can do.
(From OE-Core rev: 422077ff91c4147f08108fe8510b238730f2367c)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Namespace nodes must be copied to avoid use-after-free errors.
But they don't necessarily have a physical representation in a
document, so simply disallow them in XPointer ranges.
(From OE-Core rev: 00e928bd1c2aed9caeaf9e411743805d2139a023)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xpath:
- Check for errors after evaluating first operand.
- Add sanity check for empty stack.
- Include comparation in changes from xmlXPathCmpNodesExt to xmlXPathCmpNodes
(From OE-Core rev: 96ef568f75dded56a2123b63dcc8b443f796afe0)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add test case that verify behavior of postinst scripts at
roofts time and when is delayed to the first boot directly
on the target.
(From OE-Core rev: 82b171f3b37e6733997fc1e7685b7cac5a3476e7)
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It verifies the following:
1. Compile a minimal image.
2. The compiled image will add the layer with the recipe postinst,
previously created at:
"meta-selftest/recipes-test"
3. Run QEMU.
4. Validate the task execution order.
[YOCTO #5319]
(From OE-Core rev: a8ff789a3bfedcbc4358db7907a45270d8b1b76a)
Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will add support to use qemu from the running host,
with this is possible to put qemu-native in ASSUME_PROVIDED
variable.
By default it will try to get qemu from the build sysroot,
and only if it fails will try to use the host's qemu.
(From OE-Core rev: fe7fd2cd3a9c4fb5b31bd3cab81c96a3b81cb540)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
getty devices were not being removed in some cases because device name
was not at the end of the line, for example a ttyS1 device:
S1:12345:respawn:/bin/start_getty 115200 ttyS1 vt102
Removing this limitation allows sed to remove any line containing
the device.
(From OE-Core rev: 2e0b36981c1f91ed0d3d457c370df10a099407af)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pseudo links against this and uses PIC, so some toolchain combinations will
refuse to link against sqlite unless it is also PIC.
(From OE-Core rev: 6a58e12d19c539deac9e90679a68438497a42fa4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These changes are required for compatibility with ConnMan, which by default
uses table ids greater than 255.
(From OE-Core rev: e9114bdd8a83b88f59526780910c49e3092fdd57)
Signed-off-by: Lukasz Nowak <lnowak@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These tests don't get ran often (as demonstrated by the fact that some were not
ported to Python 3), so move them to oeqa/selftest so they get executed
frequently and can be extended easily.
[ YOCTO #7376 ]
(From OE-Core rev: 2001979ad41e6fdd5a37b0f90a96708f39c9df07)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* add sysroot prefix to wayland core protocols
* do not use pkg-config to find wayland-scanner
(From OE-Core rev: a8e7c5b415b99973c39a7ddd57cae45695fb0119)
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The initramfs image recipes changed to use PACKAGE_INSTALL
so they will not be affected by IMAGE_INSTALL, and will cause
error when inherit extrausers:
| ERROR: core-image-minimal-initramfs-1.0-r0 do_rootfs:
core-image-minimal-initramfs: usermod command did not succeed.
So use PACKAGE_INSTALL as well in extrausers.bbclass to fix it.
(From OE-Core rev: fa541362e2d2cc0494a86a413b7b52dfe3eee908)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Preferred kernel recipes depends on the distro, so remove the kernel
checks to avoid failures on non-poky distros and make the test
distro agnostic.
(From OE-Core rev: ae92b72990b3ac804791b501d08126491fdddb7c)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of quering it multiple times, query once and use it on
test method skip checks. Also, rename current distro sstate object
member to a more meaninful name.
(From OE-Core rev: bde9d99575a63ad2d7fd5974ce6ce19aad9a8984)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Check that man .in file actually gets modified, since sed -i doesn't
fail if it it doesn't
* Use a variable for man file path
(From OE-Core rev: 9ad36e945fa5b03726f78ba99e823eade8daa710)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we don't catch this then attempting to run devtool in non-memres mode
when bitbake is already running will produce a traceback instead of just
an error message.
(From OE-Core rev: e01b75dff599ffa2b66e6608b28bbb3564365eee)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using the setVariable commands here followed by buildFile will result in
"basehash mismatch" errors, and that's expected since we are deviating
*at runtime* from what was previously seen by changing these variable
values. Set BB_HASH_IGNORE_MISMATCH to turn off the errors.
(From OE-Core rev: b0169796f294bbec0397b7eae86454a46b68cdc5)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was intended to be used with tinfoil, but tinfoil now has its own
parse_recipe() method to do this which works properly in the memres
case.
(From OE-Core rev: cdfc6173cb06ca374b7d927442a0fdde8373ba48)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Extracting the source for a recipe (as used by devtool's extract, modify
and upgrade subcommands) requires us to run do_fetch, do_unpack,
do_patch and any tasks that the recipe has inserted inbetween, and do so
with a modified datastore primarily so that we can redirect WORKDIR and
STAMPS_DIR in order to have the files written out to a place of our
choosing and avoid stamping the tasks as having executed in a real build
context respectively. However, this all gets much more difficult when in
memres mode since we can't call internal functions such as
bb.build.exec_func() directly - instead we need to execute the tasks on
the server. To do this we use the buildFile command which already exists
for the purpose of supporting bitbake -b, and setVariable commands to
set up the appropriate datastore.
(I did look at passing the modified datastore to the buildFile command
instead of using setVar() on the main datastore, however its use of
databuilder makes that very difficult, and we'd also need a different
method of getting the changes in the datastore over to the worker as
well.)
(From OE-Core rev: eb63b5339014fc72ba4829714e0a96a98e135ee2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The autotools code imports oe.package; we weren't experiencing a problem
with this probably due to OE itself adding that path previously.
(From OE-Core rev: a61d7bf8447b2d2c65eb34315c86086ff35c8bc9)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move patch_path(), src_patches() and should_apply() to oe.patch, making
them easier to call from elsewhere (particularly across the
UI/server boundary).
(From OE-Core rev: 2724511e18810cc8082c1b028e3b7c8a8b5def56)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If PATCHTOOL is "git", and PATCH_COMMIT_FUNCTIONS is set to "1", for
additional tasks between do_unpack and do_patch, make a git commit. This
logic was previously implemented in devtool itself, but it makes more
sense for it to be implemented in the patch class since that's where the
rest of the logic is for this (or in lib/oe/patch.py). It also makes
it possible for this to work with tinfoil2.
(From OE-Core rev: f24f59ea1d8bc335ea8576f6a346d0935f4a3548)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the changes to the code for extracting source for a recipe, we are
properly executing the tasks for a recipe, which means their stamps (and
therefore signatures) are important. When running devtool extract on
the lsof recipe I noticed that do_fetch and do_unpack were executing a
second time when we called for do_patch, and this turned out to be
because LIC_FILES_CHKSUM in that recipe contains an entry which
is an absolute path (has ${S} at the start). Normally this wouldn't be
an issue since S is under TMPDIR and thus the existing code would ignore
it, however devtool's extraction code extracts to a temporary directory
which is not under TMPDIR; the result was the path to this file was not
being ignored and the second time around when the license file had been
extracted it was incorporated into the signature. We don't want this, so
explicitly exclude S as well as B and WORKDIR for good measure.
(From OE-Core rev: 1c99d74a862f25e23ea6465fab7ddc9ce74d6974)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use Tinfoil.parse_recipe_file() and Tinfoil.parse_recipe() instead of
the recipeutils equivalents, and replace any local duplicate
implementations. This not only tidies up the code but also allows these
calls to work in memres mode.
(From OE-Core rev: f13b56266ee96dfab65a3a7db50e8051aa9f071a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't need to see the parsing/cache loading message in the
oe-selftest output, so use the newly added quiet option to disable it.
(From OE-Core rev: c023bc55ff000d1de891d1a8e2a163e94bf63de6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We now have a function in cooker itself that can do this lookup;
additionally, the rewritten tinfoil's cooker adapter has its own
implementation that can work remotely, so if we use it then this
function can work in that scenario as well.
(From OE-Core rev: 0a6a4be99c1e4ef3c0da53d63f18ad579545d6a8)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
setup_tinfoil() already calls prepare(), we don't need to call it again
ourselves and doing so with tinfoil2 results in "ERROR: Only one copy of
bitbake should be run against a build directory". Calling prepare()
twice should probably still be allowed, so that ought to be fixed
separately, but in the mean time this code is still wrong so fix it
here.
(From OE-Core rev: 38b8a7d4aff096ea0a62f2ddf3fe2de1df591bf5)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you printed a warning through bb.warn() / bbwarn or an error through
bb.error() / bberror, this was also being picked up by our log_check
mechanism that was designed to pick up warnings and errors printed by
other programs used during do_rootfs. This meant you saw not only the
warning or error itself, you saw it a second time through log_check,
which is a bit ugly. Use the just-added BB_TASK_LOGGER to access the
logger and add a handler that we can use to find out if any warning or
error we find in the logs is one we should ignore as it has already been
printed.
Fixes [YOCTO #8223].
(From OE-Core rev: fb37304d27857df3c53c0867e81fbc8899b48089)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were calling _log_check() in the RPM-specific rootfs class as well as
in the base class; this is unnecessary and resulted in any errors/warnings
generated during the actual package installation time triggering two warnings
instead of one. Drop the call from RpmRootfs._create() to fix this.
(From OE-Core rev: 541c56d755ba0354297673e857628026ad9e4df2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some variables in pkgdata files have a package-name override. When
the bare variable can not be found, try with the override-variant.
PKGSIZE is one such variable, and already had special code to handle this.
Test included.
(From OE-Core rev: 6df99cda894033cba68bc6ab91e47f67e0d788a5)
Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In certain circumstances it can be useful to get access to BitBake's
logger within a task; the main example is in OpenEmbedded's image
construction code where we want to be able to check the log file for
errors and warnings, but we don't want to see any errors or warnings
that were emitted through the logger; so we need a way to exclude those.
In order to do this, pass the logger object into the task via a
BB_TASK_LOGGER variable, and add a logging handler class to bb.utils
that can be added to it in order to keep a list of warnings/errors that
have been emitted.
(Bitbake rev: f1cd6fab604f14d8686b1d783cbfe012d923ee42)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On terminating the connection to the server, we were disabling SIGINT -
and this is executed on the UI side. I'm not sure whether the intention
here was to undo the SIGINT disabling we did in the server, and it was
just a mistake that it disabled rather than restored and it's run on the
wrong side, or whether we wanted to stop the user from breaking out of
the shutdown code - the commit message provides no clues either way.
Regardless, we do not want to permanently disable Ctrl+C here - it's
legitimate to terminate the connection to the server and then
re-establish it within the same process; at least currently, devtool
modify by virtue of using tinfoil in two separate parts of the code does
this, and the result of this disabling is that during the second tinfoil
usage we can potentially be parsing all recipes without the ability to
easily interrupt the process.
(Bitbake rev: 58c60a951229dcbd8253863fb24228d046c23f6e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you run the setVariable command to set variables then you end up
causing the basehash to not match the previously computed values, which
triggers error messages. These mismatches are expected, so add a means
of disabling them.
(Bitbake rev: 5a80c0e210f26526afbe8f266b7b1a9c03334967)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the client to set variables with the setVariable command and have
those changes take effect when running tasks. This is accomplished by
collecting changes made by setVariable separately and pass these to the
worker so it can be applied on top of the datastore it creates.
(Bitbake rev: 69a3cd790da35c3898a8f50c284ad1a4677682a4)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The COW object used within VariableHistory can't be serialised itself,
but we can convert it to a dict when serializing and then back when
deserialising. This finally allows DataSmart objects to be serialized.
NOTE: "serialisation" here means pickling, not over XMLRPC or any other
transport.
(Bitbake rev: bbbb2a53d5decf3b613a92c4ff77c84bfc5d4903)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we want to use this function/command internally, we don't want this
warning shown.
(Bitbake rev: 5cfbb60833e7b12d698c1c2970c17ccf2a4971bf)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you're expanding a value that refers to the value of a variable in
python code, we need to ensure that the datastore that gets used to get
the value of that variable is the client-side datastore and not just the
part of it that's on the server side. For example, suppose you are in
client code doing the following:
d.setVar('HELLO', 'there')
result = d.expand('${@d.getVar("HELLO", True)}')
result should be "there" but if the client part wasn't taken into
account, it would be whatever value HELLO had in the server portion of
the datastore (if any).
(Bitbake rev: cbc22a0a9aadc8606b927dbac0f1407ec2736b35)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's not really practical for us to parse recipes on the client side, we
need to do it on the server because that's where we have the full python
environment (including any "pure" python functions defined in classes).
Thus, add some functions to tinfoil do this including a few shortcut
functions.
(Bitbake rev: 8f635815d191c9d848a92d51fdbf5e9fd3da1727)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For the purposes of server-side parsing and expansion allowing for
client-side use of the datastore, we need a means of sending a datastore
from the client back to the server, where the datastore probably
consists of a remote (server-side) original plus some client-side
modifications. To do this we need to take care of a couple of things:
1) xmlrpc can't handle nested dicts, so if you enable memres and simply
try passing a serialised datastore then things break. Instead of
serialising the entire datastore, just take the naive option of
transferring the internal dict alone (as a list of tuples) for now.
2) Change the TinfoilDataStoreConnector object into simply the handle
(number) when transmitting; it gets substituted with the real
datastore when the server receives it.
(Bitbake rev: 784d2f1a024efe632fc9049ce5b78692d419d938)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rewrite tinfoil as a wrapper around the UI, instead of the earlier
approach of starting up just enough of cooker to do what we want. This
has several advantages:
* It now works when bitbake is memory-resident instead of failing with
"ERROR: Only one copy of bitbake should be run against a build
directory".
* We can now connect an actual UI, thus you get things like the recipe
parsing / cache loading progress bar and parse error handling for free
* We can now handle events generated by the server if we wish to do so
* We can potentially extend this to do more stuff, e.g. actually running
build operations - this needs to be made more practical before we can
use it though (since you effectively have to become the UI yourself
for this at the moment.)
The downside is that tinfoil no longer has direct access to cooker, the
global datastore, or the cache. To mitigate this I have extended
data_smart to provide remote access capability for the datastore, and
created "fake" cooker and cooker.recipecache / cooker.collection adapter
objects in order to avoid breaking too many tinfoil-using scripts that
might be out there (we've never officially documented tinfoil or
BitBake's internal code, but we can still make accommodations where
practical). I've at least gone far enough to support all of the
utilities that use tinfoil in OE-Core with some changes, but I know
there are scripts such as Chris Larson's "bb" out there that do make
other calls into BitBake code that I'm not currently providing access to
through the adapters.
Part of the fix for [YOCTO #5470].
(Bitbake rev: 3bbf8d611c859f74d563778115677a04f5c4ab43)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In memory resident mode we don't really want to actually shut down since
it's only the client going away.
(Bitbake rev: 74db369c46043116359101cab70486afd82372c0)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows you to maintain a local reference to a remote datastore. The
actual implementation of the remote connection is delegated to a
connector object that the caller must define and supply. There is
support for getting variable values and expanding python references
(i.e. ${@...} remotely, however setting variables remotely is not
supported - any variable setting is done locally as if the datastore
were a copy (which it kind of is).
Loosely based on an earlier prototype implementation by Qing He.
(Bitbake rev: a3edc3eefa2d03c4ad5d12187b32fa4dc495082a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you send back a string here you get "TypeError: 'str' does not
support the buffer interface" errors in bitbake-cookerdaemon.log and
"IncompleteRead(0 bytes read, 22 more expected)" errors on the client
side.
(Bitbake rev: 0d659a7dfe5fb096f8aa4380320f9e2a464b3cb5)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we're in observe-only mode then we cannot run commands that would
affect the server's state, including getSetVariable, so prevent that
from being called in observe-only mode.
(Bitbake rev: 2c5a8661430edebff67ab4a108995033d182b5d6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow you to specify -q / --quiet more than once to reduce the messages
even further. It will now operate as follows:
Level Option Result
----- ------ ----------------------------------------
0 Print usual output
1 -q Only show progress and warnings or above
2 -qq Only show warnings or above
3+ -qqq Only show errors
(Bitbake rev: 6cf2582e17c28ca04f5cfb59858c4a9778c700d4)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no "datasmart" member, only dataroot. This dates back to the
original implementation of variable history support - it's surprising we
haven't noticed the issue until now, but I guess it's rare to change a
copy of a datastore in a manner which using the old reference would
cause an issue.
(Bitbake rev: febd5534b07edfdef15cedb0578730c582c7373f)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabled generation of block map(bmap) files for wic images
built for edgerouter machine. This should simplify flashing
images with bmaptool.
[YOCTO #10621]
(From meta-yocto rev: dd867484a43f90ac9a1a903b3e3ce3953a6fca59)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabled generation of block map(bmap) files for wic images
built for beaglebone machine. This should simplify flashing
images with bmaptool.
[YOCTO #10621]
(From meta-yocto rev: 503516e37e09f9f1b693e3741687661a56b905b0)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabled generation of block map(bmap) files for wic images
built for genericx86 and genericx86-64 machines. This should
simplify flashing images with bmaptool.
[YOCTO #10621]
(From meta-yocto rev: 1178a9b2ef56af55cc022aec506dce19f38a5633)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Disable bits of remote capture support inherited from the WinPCAP merge
which cause applications to fails to build if they define HAVE_REMOTE.
(From OE-Core rev: 4e412234c37efec42b3962c11d44903c0c58c92e)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bug fixes + libinput now supports tablets (but wacom driver is
used instead if it is installed).
(From OE-Core rev: 83e433769415f79d0e00c07708147e5c977d28bc)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver depends on xfont2 now.
* xwayland support requires wayland-scanner: Add patch to find
wayland-scanner and protocol files while cross-compiling.
* patch MONOTONIC_CLOCK check so it works when cross-compiling
(otherwise we always end with no monotonic clock and xwayland
compile fails)
* Add vardepsexclude for MACHINE to ensure consistent hashes (RB)
(From OE-Core rev: f9c2b4284fafaa8998bbd2a6f443b0b7b98dafaa)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the same old libxfont but with a new API.
xserver-xorg 1.19 depends on libxfont2.
(From OE-Core rev: c5442176ddfd56bd644b83e6f783693aaac46f3d)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
According to the vapi_DEPS definition:
gcr-3.vapi depends on gck-1.vapi,
gcr-ui-3.vapi depends on gck-1.vapi and gcr-3.vapi
But these dependencies are missing for the make targets,
so it will fail when build in parallel:
error: Package `gck-1' not found in specified Vala API directories or GObject-Introspection GIR directories
error: Package `gcr-3' not found in specified Vala API directories or GObject-Introspection GIR directories
(From OE-Core rev: 8f582cf189ee6c4efdb1e0f1748ad1b13bad951b)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Major changes:
The libtiff tools bmp2tiff, gif2tiff, ras2tiff, sgi2tiff, sgisv, and ycbcr are completely removed from the distribution, used for demos.
CVEs fixed:
CVE-2016-9297
CVE-2016-9448
CVE-2016-9273
CVE-2014-8127
CVE-2016-3658
CVE-2016-5875
CVE-2016-5652
CVE-2016-3632
plus more that are not identified in the changelog.
removed patches integrated into update.
more info: http://libtiff.maptools.org/v4.0.7.html
(From OE-Core rev: 9945cbccc4c737c84ad441773061acbf90c7baed)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Joule is very new hardware and there is ongoing kernel and firmware
work to fix these issues, which will be available in future kernel and
firmware releases. In the meantime, don't clog QA reports.
[YOCTO #10611]
(From OE-Core rev: facf9fa905100945738c13f9f79e938ed4a81030)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To trap errors and halt processing, do_kernel_metadata was recently
switched to exit on any non zero return code. While the concept is
sound, there are subcommands that have legitimate non-zero return
codes.
Instead of removing set +e, we'll explicitly check the return code
of the commands that can error, and throw a bbfatal to alert the
user.
(From OE-Core rev: a4705e62d0973c290011fc0d250501d358b659e8)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ARM stack frames for abort and raise were limited to the the actual
abort and raise call, such as:
Obtained 4 stack frames.
./test-app(print_trace+0x1c) [0x10a08]
./test-app() [0x10b3c]
/lib/libc.so.6(__default_sa_restorer+0) [0x4adae1e0]
/lib/libc.so.6(gsignal+0xa0) [0x4adacf74]
This is not terribly useful when trying to figure out what function
may have called called the abort, especially when using pthreads.
After the change the trace would now look like:
Obtained 8 stack frames.
./test-app(print_trace+0x1c) [0x10a08]
./test-app() [0x10b3c]
/lib/libc.so.6(__default_sa_restorer+0) [0x4befe1e0]
/lib/libc.so.6(gsignal+0xa0) [0x4befcf74]
/lib/libc.so.6(abort+0x134) [0x4befe358]
./test-app(dummy_function+0x50) [0x10adc]
./test-app(main+0xd4) [0x10c24]
/lib/libc.so.6(__libc_start_main+0x114) [0x4bee7a58]
(From OE-Core rev: 93bf8713d8e13c278543baea94fb8dad0cb80e49)
Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a critical regression in the default behavior with systemd
232 which prevents lxc, docker, and opencontainers from working
properly out of the box. The change was already committed to the
systemd 233 code stream.
The failure looks like what is shown below.
% lxc-start -n container -F
lxc-start: cgfsng.c: parse_hierarchies: 825 Failed to find current cgroup for controller 'name=systemd'
lxc-start: cgfsng.c: all_controllers_found: 431 no systemd controller mountpoint found
lxc-start: start.c: lxc_spawn: 1082 failed initializing cgroup support
lxc-start: start.c: __lxc_start: 1332 failed to spawn 'container'
lxc-start: lxc_start.c: main: 344 The container failed to start.
lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.
Commit 843d5baf6aad6c53fc00ea8d95d83209a4f92de1 from the systemd git
has been backported and can be dropped in a future uprev.
(From OE-Core rev: d212e97aeae502cd0d11cb922f7711aee5c1ace0)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If "opengl" distro feature is not set, libva recipe is skipped. Since
missing libva breaks gstreamer-vaapi-1.0 build, the same check has to be
done in gstreamer-vaapi-1.0 recipe too.
(From OE-Core rev: e87250d801622befa09ddba9ec8ecf7a4dcf902c)
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When configure pokes for wayland-protocols isntallations it ended up
using the ones from host, which is because it did not account for sysroot
prefix
Remove MACHINE from variable reference tracking to avoid unnessary rebuilds for different machine
with same arch
(From OE-Core rev: 0d349956417f00831025ccca5c8caa91f4771985)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove backported patches and upstreamed ones
Drop --disable-trace its no more in 1.10.x
Add packageconfig option for kms, keep it disabled by default
in bad plugins recipe
(From OE-Core rev: 309e02b7313398a05e70915560882c880c7f7c76)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to add do_write_qemuboot_conf to the list of tasks to be wiped as
otherwise the second time an image is built it will fail.
[ YOCTO #10758 ]
(From OE-Core rev: 3206f408e908870629eb47afac6249a3c9497a66)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some virtualized environments like Linux-VServer do not have the
entries under /proc that the new system usage sampling expected,
leading to an exception when trying to open the files.
Now the presence of these files is checked once before enabling the
corresponding data collection. When a file is missing, the
corresponding log file is not written either and pybootchart will not
draw the chart that normally displays the data.
Errors while reading or writing of data samples is intentionally still
a fatal error, because that points towards a bigger problem that
should not be ignored.
Reported-by: Andreas Oberritter <obi@opendreambox.org>
(From OE-Core rev: daeee2d6731014c33f0d1f8a3846830c099932b4)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case "opengl" is missing from DISTRO_FEATURES, libva fails to satisfy
its dependencies. The dependency check is done by BitBake when
meta-world-pkgdata gathers information about all available packages
during image builds, even if libva isn't included in the build. This
patch makes libva recipe be skipped if the "opengl" DISTRO_FEATURE isn't
found.
(From OE-Core rev: a78c420c4a2cf298e790b71b564a9f52949b966a)
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use weak assignment for SERIAL_CONSOLES in qemu configuration files so that
the value could serve as a default value and could be easily overridden in
configuration files like local.conf.
When using the default value for SERIAL_CONSOLES in qemux86-64,we would have
annoying messages on console complaining about respawning getty on ttyS1.
Although the value is set by purpose, at least we need to provide an easy way
to override it.
(From OE-Core rev: 5f060b66162c41a295995947b918253450870117)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to chdir() as tarfile.add() can be told what name to use in the
archive.
(From OE-Core rev: d0b282bce34db44dde4dd7f53a64dfaafe6789de)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To allow recipetool plugins in one layer to shadow another in a well
defined way, first search BBPATH/lib/recipetool directories and then
scripts/lib/recipetool and load only the first found.
The previous search and load loop would load all found plugins with the
ones found later replacing any found before.
(From OE-Core rev: 7a8726a3662a3909dc6ef6e8d1029d0b1aa938c3)
Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To allow devtool plugins in one layer to shadow another in a well
defined way, first search BBPATH/lib/devtool directories and then
scripts/lib/devool and load only the first found.
The previous search and load loop would load all found plugins with the
ones found later replacing any found before.
(From OE-Core rev: 1b2b8a0a80de17ea053002fdd124055d2798029a)
Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade cups from 2.1.4 to 2.2.1.
License checksum changes are not related to license changes.
(From OE-Core rev: 1b4427483349d4653a0060b045a7df964a779870)
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>
Rather than erroring out on a single attempt while
terminating EFI services, make a few retries because
such quirks are found in a few implementations.
Also fix a div by zero issue in the same framework
which causes an infinite reboot on the target.
Both patches included here are backports.
(From OE-Core rev: 5e6ac806bd9b8bf885ef1e88484e91e4cdaaa69a)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Short variant of wic command line option --skip-build-check
is incorretly named -p. It's named -s in wic help and Yocto
documentation.
(From OE-Core rev: 8d4121459334349f10bfb0f4cda00a8461aab245)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't worth bother with logical partition on MBR partition type (aka
msdos) if disk image generated by wic should have 4 partitions.
(From OE-Core rev: 36a558fbdc96094626e7de1a3510691e30885368)
Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1)Upgrade slang from 2.3.0 to 2.3.1.
2)Delete 0001-Fix-error-conflicting-types-for-posix_close.patch, since it is integrated upstream.
(From OE-Core rev: ff8865af3975fafcbe4cdf31e335a8c94c49304d)
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>
This reverts commit 812c52f654c1bccca033163100055e3a8b8cda6e.
Upstream fixed the issue with GCC. But the build still fails with Clang.
Therefore reintroduce this patch until a better solution is found.
Upstream bug: https://bugs.webkit.org/show_bug.cgi?id=161697
(From OE-Core rev: 39be43943e3de0eb0ab9b61b405f3b76f12a307d)
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
'tar' utility from tar and bsdtar has the same alternative priority.
'cpio' utility from cpio and bsdcpio has the same alternative priority.
Lower the ALTERNATIVE_PRIORITY to avoid conflict.
(From OE-Core rev: 9a59ff628771b586666999d44923968a6bc58956)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This improves the config file parsing to permit blank lines and
comments following an entry or preceeded by whitespace.
(From OE-Core rev: 415eaacb83b1c6df5210fb423e3e96e530b1dc42)
Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This new option allows to commit the result to a git repository,
along with the results it will add a metadata file for information
of the current selftest run, such as: hostname, machine, distro,
distro version, host version, and layers.
This implementation will have a branch per different hostname,
testing branch, and machine.
To use this feature use:
oe-selftest <options> --repository <repository_link>
[YOCTO #9954]
(From OE-Core rev: 758e4b7e619f9aaa79e3910b5539ff8fb2d1064a)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The function get_bb_vars will remove items for the list passed
as the function argument, this will leave the caller with an
empty list and the function never says it will consume the items.
This hasn't been found before because only get_bb_var uses this
function.
(From OE-Core rev: 22b7fa24fefcc3974806d1b282c93b8c5880f6a4)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new variable CVE_PRODUCT for the product name to look up in the NVD
database. Default this to BPN, but allow recipes such as tiff (which is libtiff
in NVD) to override it.
(From OE-Core rev: ba330051570a4c991885ee726cb187e0c911bd4f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the template context to JSON decorator function as this is
deprecated by having a proper REST API.
(Bitbake rev: b65a8193368ffa1d15af24a6acde8dce6bd4d383)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update js tests so that we use the new Layer REST API.
(Bitbake rev: 81764ce3ebf0d2fcb3dc6965f6f07931d39e5524)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch the front end to use the proper REST API for retrieving layer
information.
(Bitbake rev: 5ea25c49091f4d4b5007af948e063ed25ba5766f)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the url to the Layer typeahead so that this can be used later on by
the front end code to look up layer details.
(Bitbake rev: d195f24a1b30ae8698bff5e87308347b9596a2e2)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the front end mechanism to load the typeahead for the git revision
field on importing a layer.
Also fix one indentation issue and update the js test.
(Bitbake rev: 28114be42174095b812a93d4b5a0e01e953d74f8)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we're importing a layer it's useful to suggest available git revisions of the
layers. This uses git ls-remote to fetch the revisions and then filter on this.
Caching is added for this typeahead to avoid having to fetch this
information multiple times in a single session.
[YOCTO #8429]
(Bitbake rev: a94ae3ad0cb07a52004143c6f86f371b9e330e9f)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix flake8 issues and remove redundant __init__ function definitions
from typeaheads (likely a copy and paste error).
(Bitbake rev: be1f9f48da480d813e3364815cb3e002ba70dd22)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch the importlayer.js to use the new REST API for importing a new layer.
(Bitbake rev: 6475fd7e0d2488bf300b75322f2c00297cd1440b)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add layer adding REST api and remove old views method.
(Bitbake rev: 0c8e41d2217fd568a84e857d1be230fcfd4bb5c7)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow passing none as the project id, this is convenient for layers
which belong to projects already and therefore have their own project
field.
Add documentation string to function
(Bitbake rev: 78dc7b9f1801e7f4c266ba1369e5706f177ddaa1)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a visual indicator when the data is changing in the table, for instance if
it's being re-ordered, searched or paginated.
[YOCTO #10104]
(Bitbake rev: 554c4992b33b77526b4b37c7484f1dd00032ddef)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes an error such as:
Exception: File "/master/poky/meta-yocto-bsp/lib/oeqa/controllers/edgeroutertarget.py", line 47
self.image_fstype = self.get_image_fstype(d)
TabError: inconsistent use of tabs and spaces in indentation
(From meta-yocto rev: 5ff5dc2767dfef93c314e7465a52ca2dce553604)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ClassType was removed from python3.
The code testing for ClassType kept throwing AttributeError exceptions:
module 'types' has no attribute 'ClassType'
The exceptions prevented loading of any dynamically resolved target
controllers.
(From OE-Core rev: d62f18c39bc0ed3b0f5ac8465b393c15f2143ecf)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After the update to 4.4.36 -rt no longer builds. The fixes for the
issues are found in the v4.4-rt43 release.
(From OE-Core rev: 262fff10ba5cdedbee9ba9ecf00f98dc9159477c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to avoid using shared/common directories for any files that are
part of specific build, since permissions issues in multi user
environments will cause issues.
Integrating the following commit to solve the issue:
scc: move unused patch queue under output dir
(From OE-Core rev: cad65cc0eef2e06cb5ae08062ffae7a4d43a51ad)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
shortlog of the changes follow:
356ccf6d2b0c Linux 4.8.12
f81c90012f2f scsi: mpt3sas: Unblock device after controller reset
3de3eebb10fd flow_dissect: call init_default_flow_dissectors() earlier
7838fbe25a95 mm, oom: stop pre-mature high-order OOM killer invocations
374ff835e2b6 can: bcm: fix support for CAN FD frames
7ed8d94b99b3 powerpc/boot: Fix the early OPAL console wrappers
7cbe9568fa04 powerpc/mm: Fixup kernel read only mapping
30988ea31783 powerpc: Set missing wakeup bit in LPCR on POWER9
8d248df485f2 device-dax: fail all private mapping attempts
f87a483126b5 device-dax: check devm_nsio_enable() return value
5b08489eba14 xc2028: Fix use-after-free bug properly
9030deb21f29 X.509: Fix double free in x509_cert_parse() [ver #3]
0257b7e20c07 mpi: Fix NULL ptr dereference in mpi_powm() [ver #3]
bdab996a7a9e mmc: sdhci-of-esdhc: fixup PRESENT_STATE read
0a80bef18a9f parisc: Also flush data TLB in flush_icache_page_asm
09e35a83cdc9 parisc: Fix race in pci-dma.c
3cb2bc6fdc54 parisc: Switch to generic sched_clock implementation
113b60efa37c parisc: Fix races in parisc_setup_cache_timing()
b2f64572db2e thermal/powerclamp: add back module device table
6dfe1643b56a perf/x86/intel: Cure bogus unwind from PEBS entries
403f47ddbf6b perf/core: Fix address filter parser
c5795c5f682d x86/traps: Ignore high word of regs->cs in early_fixup_exception()
885bad1e5f32 x86/fpu: Fix invalid FPU ptrace state after execve()
1a42cd56229b NFSv4.x: hide array-bounds warning
154c665b2b02 apparmor: fix change_hat not finding hat after policy replacement
9c15a98542f0 cfg80211: limit scan results cache size
f204d21ee0b7 tile: avoid using clocksource_cyc2ns with absolute cycle count
c707019bef62 scsi: mpt3sas: Fix secure erase premature termination
b33387f6a68d Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y
89a28f3a3c77 USB: serial: ftdi_sio: add support for TI CC3200 LaunchPad
6476f6530187 USB: serial: cp210x: add ID for the Zone DPMX
7445ffb75ed5 usb: chipidea: move the lock initialization to core file
32fe669c8634 KVM: x86: check for pic and ioapic presence before use
c02d13809180 KVM: x86: fix out-of-bounds accesses of rtc_eoi map
39b653013527 KVM: x86: drop error recovery in em_jmp_far and em_ret_far
3c22c81377d4 KVM: x86: fix out-of-bounds access in lapic
eb060c1a03f7 iommu/vt-d: Fix IOMMU lookup for SR-IOV Virtual Functions
8b23f16343f6 iommu/vt-d: Fix PASID table allocation
36bd5bfe4349 Linux 4.8.11
a9a0027757f8 gpio: pca953x: Fix corruption of other gpios in set_multiple.
88fce76cf590 gpio: pca953x: Move memcpy into mutex lock for set multiple
9a7b80894951 netfilter: nft_dynset: fix element timeout for HZ != 1000
fd4251fa4d09 IB/cm: Mark stale CM id's whenever the mad agent was unregistered
8ce92be782f8 IB/uverbs: Fix leak of XRC target QPs
160149299f71 IB/hfi1: Remove incorrect IS_ERR check
46e47543175b IB/core: Avoid unsigned int overflow in sg_alloc_table
82c377d05311 IB/mlx5: Fix NULL pointer dereference on debug print
554e4b69f1bb IB/mlx5: Fix fatal error dispatching
32091ee63d17 IB/mlx5: Fix memory leak in query device
21822a5bbddd IB/mlx5: Use cache line size to select CQE stride
ad886a0e9035 IB/mlx5: Validate requested RQT size
76a93a6f8dd7 IB/mlx4: Fix create CQ error flow
4234e6a06f8b IB/mlx4: Check gid_index return value
fc9275365065 IB/rxe: Clear queue buffer when modifying QP to reset
3c87b4a8f6d5 IB/rxe: Fix handling of erroneous WR
c4605a0e9605 IB/rxe: Fix kernel panic in UDP tunnel with GRO and RX checksum
04d016249998 IB/rxe: Update qp state for user query
bac1543b764c perf hists: Fix column length on --hierarchy
4cba876de64d PM / sleep: don't suspend parent when async child suspend_{noirq, late} fails
2e2c8f0e7502 PM / sleep: fix device reference leak in test_suspend
fd669bf2a099 uwb: fix device reference leaks
ab17baeaea91 sunrpc: svc_age_temp_xprts_now should not call setsockopt non-tcp transports
8c7ea73e3a9b mfd: core: Fix device reference leak in mfd_clone_cell
545ea4003db9 iwlwifi: mvm: wake the wait queue when the RX sync counter is zero
8bfaf856695b iwlwifi: mvm: fix d3_test with unified D0/D3 images
8cdfd32398b5 iwlwifi: mvm: fix netdetect starting/stopping for unified images
6e3324dc039c iwlwifi: pcie: mark command queue lock with separate lockdep class
b822907865cc iwlwifi: pcie: fix SPLC structure parsing
edb60ee4bc65 rtc: omap: Fix selecting external osc
5f95e68daae3 clk: imx: fix integer overflow in AV PLL round rate
fec43900c9b7 clk: mmp: mmp2: fix return value check in mmp2_clk_init()
63465eaf7b2e clk: mmp: pxa168: fix return value check in pxa168_clk_init()
a42bbd552ded clk: mmp: pxa910: fix return value check in pxa910_clk_init()
bb6c9ec826be virtio-net: drop legacy features in virtio 1 mode
899f5426eebf drm/i915: Assume non-DP++ port if dvo_port is HDMI and there's no AUX ch specified in the VBT
f6920e506992 drm/i915: Refresh that status of MST capable connectors in ->detect()
56a02a5f60ea drm/amdgpu: Attach exclusive fence to prime exported bo's. (v5)
3eac4767dd7e powerpc/64: Fix setting of AIL in hypervisor mode
fc312878ffe3 crypto: caam - do not register AES-XTS mode on LP units
54f28973e8a5 ARM: dts: imx53-qsb: Fix regulator constraints
7001b98b9dce ext4: sanity check the block and cluster size at mount time
56df604296c2 kbuild: Steal gcc's pie from the very beginning
e14754cb8f0c x86/kexec: add -fno-PIE
ad4e2f324ade scripts/has-stack-protector: add -fno-PIE
1c7727d0bca0 kbuild: add -fno-PIE
20bcbe246933 Disable the __builtin_return_address() warning globally after all
504b60516ba7 i2c: i2c-mux-pca954x: fix deselect enabling for device-tree
45244660281c i2c: mux: fix up dependencies
ce97f5012b6d ALSA: hda - Fix mic regression by ASRock mobo fixup
23e14ee1abcf ALSA: hda - add a new condition to check if it is thinkpad
85fcb62a58b2 ALSA: usb-audio: Fix use-after-free of usb_device at disconnect
e902f10da218 gpio: do not double-check direction on sleeping chips
b21b327d96bc can: bcm: fix warning in bcm_connect/proc_register
50e6cd2feff7 mfd: stmpe: Fix RESET regression on STMPE2401
e015527c6fbd mfd: intel-lpss: Do not put device in reset state on suspend
8b4d44f46bf2 IB/hfi1: Fix rnr_timer addition
06eac15f11e0 IB/rdmavt: rdmavt can handle non aligned page maps
ca720a2b11b4 fuse: fix fuse_write_end() if zero bytes were copied
de58c50e84e2 genirq: Use irq type from irqdata instead of irqdesc
8844024c8839 ftrace: Add more checks for FTRACE_FL_DISABLED in processing ip records
c5d20ce0b459 ftrace: Ignore FTRACE_FL_DISABLED while walking dyn_ftrace records
f271087fb2ea KVM: arm64: Fix the issues when guest PMCCFILTR is configured
8d8b37e242de arm64: KVM: pmu: Fix AArch32 cycle counter access
1cb9b2489e77 KVM: Disable irq while unregistering user notifier
23555ca21394 KVM: x86: fix missed SRCU usage in kvm_lapic_set_vapic_addr
f8c74cf95655 x86/cpu/AMD: Fix cpu_llc_id for AMD Fam17h systems
(From OE-Core rev: beb9adb4763a1bbed182503371921e676ccd4ae2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
shortlog of the changes follow:
87c6c6ef5b17 Linux 4.4.36
6eddf5c993dd scsi: mpt3sas: Unblock device after controller reset
c178e4809df7 flow_dissect: call init_default_flow_dissectors() earlier
0b7860d6e88c mei: fix return value on disconnection
bab2f72f70ea mei: me: fix place for kaby point device ids.
4f13967ecd20 mei: me: disable driver on SPT SPS firmware
e1049372d7a7 drm/radeon: Ensure vblank interrupt is enabled on DPMS transition to on
249090830942 mpi: Fix NULL ptr dereference in mpi_powm() [ver #3]
cd4235a794c0 parisc: Also flush data TLB in flush_icache_page_asm
7a1ab6a2bf3a parisc: Fix race in pci-dma.c
e541fd815db9 parisc: Fix races in parisc_setup_cache_timing()
0c0ddbf7efec NFSv4.x: hide array-bounds warning
be79d7fa43f9 apparmor: fix change_hat not finding hat after policy replacement
8316338a201b cfg80211: limit scan results cache size
4df31626fc08 tile: avoid using clocksource_cyc2ns with absolute cycle count
ffffc1ed47e7 scsi: mpt3sas: Fix secure erase premature termination
ab0867dd8bc8 Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y
f3f95f177269 USB: serial: ftdi_sio: add support for TI CC3200 LaunchPad
1f36db0b397f USB: serial: cp210x: add ID for the Zone DPMX
55d061bf9d23 usb: chipidea: move the lock initialization to core file
341f9730c29b KVM: x86: check for pic and ioapic presence before use
b7f9404d1b48 KVM: x86: drop error recovery in em_jmp_far and em_ret_far
c091bbddbc5e iommu/vt-d: Fix IOMMU lookup for SR-IOV Virtual Functions
d88a1bd00cfa iommu/vt-d: Fix PASID table allocation
0a5b451a53d4 Linux 4.4.35
1ba7fafae3c2 netfilter: nft_dynset: fix element timeout for HZ != 1000
698a8dddb8a5 IB/cm: Mark stale CM id's whenever the mad agent was unregistered
2b026a265a9a IB/uverbs: Fix leak of XRC target QPs
eba83a85caba IB/core: Avoid unsigned int overflow in sg_alloc_table
c524185c81d4 IB/mlx5: Fix fatal error dispatching
734039913373 IB/mlx5: Use cache line size to select CQE stride
7cf5b7882184 IB/mlx4: Fix create CQ error flow
41664d7077e9 IB/mlx4: Check gid_index return value
04c0800c73b2 PM / sleep: don't suspend parent when async child suspend_{noirq, late} fails
469fcbcb84d8 PM / sleep: fix device reference leak in test_suspend
680bc27065b9 uwb: fix device reference leaks
dd214a159de6 mfd: core: Fix device reference leak in mfd_clone_cell
d2adb5ebec61 iwlwifi: pcie: fix SPLC structure parsing
1f995573bac8 rtc: omap: Fix selecting external osc
c8aa3e98c1a8 clk: mmp: mmp2: fix return value check in mmp2_clk_init()
96576127ffb7 clk: mmp: pxa168: fix return value check in pxa168_clk_init()
a4709b4582ac clk: mmp: pxa910: fix return value check in pxa910_clk_init()
d039fc37ec7f drm/amdgpu: Attach exclusive fence to prime exported bo's. (v5)
96f10a6239a2 crypto: caam - do not register AES-XTS mode on LP units
454cf79b05c5 ext4: sanity check the block and cluster size at mount time
147117cf23c0 kbuild: Steal gcc's pie from the very beginning
e543f094a38a x86/kexec: add -fno-PIE
3a868dde1824 scripts/has-stack-protector: add -fno-PIE
f740b5cc39dd kbuild: add -fno-PIE
936d157fa7ae i2c: mux: fix up dependencies
4e583b89add6 can: bcm: fix warning in bcm_connect/proc_register
0c6e0db9686b mfd: intel-lpss: Do not put device in reset state on suspend
b7321bcc8b1c fuse: fix fuse_write_end() if zero bytes were copied
d4a774fdb92f KVM: Disable irq while unregistering user notifier
b689e86c9a8f KVM: x86: fix missed SRCU usage in kvm_lapic_set_vapic_addr
aea9d760b8ba x86/cpu/AMD: Fix cpu_llc_id for AMD Fam17h systems
4eb9a8100248 Linux 4.4.34
b4bbdcef7d90 sparc64: Delete now unused user copy fixup functions.
cb85910b0d45 sparc64: Delete now unused user copy assembler helpers.
1c7e17b1c4d6 sparc64: Convert U3copy_{from,to}_user to accurate exception reporting.
7181969338f8 sparc64: Convert NG2copy_{from,to}_user to accurate exception reporting.
bfc8be659309 sparc64: Convert NGcopy_{from,to}_user to accurate exception reporting.
dc3a7a7d2c85 sparc64: Convert NG4copy_{from,to}_user to accurate exception reporting.
1731d90d8a55 sparc64: Convert U1copy_{from,to}_user to accurate exception reporting.
8a444c770f6e sparc64: Convert GENcopy_{from,to}_user to accurate exception reporting.
c718e917b3d3 sparc64: Convert copy_in_user to accurate exception reporting.
dd8a78b2b6ad sparc64: Prepare to move to more saner user copy exception handling.
756723ad553d sparc64: Delete __ret_efault.
f5a69ff7486e sparc64: Handle extremely large kernel TLB range flushes more gracefully.
d36a1ac49d24 sparc64: Fix illegal relative branches in hypervisor patched TLB cross-call code.
5d8eb954763d sparc64: Fix instruction count in comment for __hypervisor_flush_tlb_pending.
217f829ae967 sparc64: Fix illegal relative branches in hypervisor patched TLB code.
2ba06323db41 sparc64: Handle extremely large kernel TSB range flushes sanely.
75931800733c sparc: Handle negative offsets in arch_jump_label_transform
8fd11efa2140 sparc64 mm: Fix base TSB sizing when hugetlb pages are used
4e90b6880135 sparc: serial: sunhv: fix a double lock bug
a395f7a66eec sparc: Don't leak context bits into thread->fault_address
4e772c53ab98 tty: Prevent ldisc drivers from re-using stale tty fields
225a24ae9733 tcp: take care of truncations done by sk_filter()
ae9e052a58ef ipv4: use new_gw for redirect neigh lookup
5c67f9477bb2 net: __skb_flow_dissect() must cap its return value
b67ed647d135 sock: fix sendmmsg for partial sendmsg
0650eeb4f187 fib_trie: Correct /proc/net/route off by one error
3f8857a4971d sctp: assign assoc_id earlier in __sctp_connect
65d29c185614 ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped
99131760a885 ipv6: dccp: fix out of bound access in dccp_v6_err()
a2df29ed840f dccp: fix out of bound access in dccp_v4_err()
ad6d0a82016b dccp: do not send reset to already closed sockets
69a5c7ca2e62 tcp: fix potential memory corruption
8777977b22c4 ip6_tunnel: Clear IP6CB in ip6tunnel_xmit()
c5bad811ca4d bgmac: stop clearing DMA receive control register right after it is set
6e9ca1b61cc8 net: mangle zero checksum in skb_checksum_help()
ac4c2cf6f57a net: clear sk_err_soft in sk_clone_lock()
74e53a3a053f dctcp: avoid bogus doubling of cwnd after loss
86429bd405de Linux 4.4.33
21cc1a183a9d netfilter: fix namespace handling in nf_log_proc_dostring
ee5dd6878886 btrfs: qgroup: Prevent qgroup->reserved from going subzero
ae6d4df4a7a0 mmc: mxs: Initialize the spinlock prior to using it
ae5b8dbfe6be ASoC: sun4i-codec: return error code instead of NULL when create_card fails
125e84726d7c ACPI / APEI: Fix incorrect return value of ghes_proc()
5cd2cd84d573 i40e: fix call of ndo_dflt_bridge_getlink()
5be7e6b48b21 hwrng: core - Don't use a stack buffer in add_early_randomness()
ba8580f6cf03 lib/genalloc.c: start search from start of chunk
c048b6711ed6 mei: bus: fix received data size check in NFC fixup
19426f065d1e iommu/vt-d: Fix dead-locks in disable_dmar_iommu() path
f029e7b34f25 iommu/amd: Free domain id when free a domain of struct dma_ops_domain
f5bb84163704 tty/serial: at91: fix hardware handshake on Atmel platforms
49163391881a dmaengine: at_xdmac: fix spurious flag status for mem2mem transfers
fff40ee4d224 drm/i915: Respect alternate_ddc_pin for all DDI ports
d7b0055e5566 KVM: MIPS: Precalculate MMIO load resume PC
d24587404922 scsi: mpt3sas: Fix for block device of raid exists even after deleting raid disk
6e897d034d4c scsi: qla2xxx: Fix scsi scan hang triggered if adapter fails during init
29cf142cefed iio: orientation: hid-sensor-rotation: Add PM function (fix non working driver)
caff14e99c63 iio: hid-sensors: Increase the precision of scale to fix wrong reading interpretation.
dbbc5e6bcf36 clk: qoriq: Don't allow CPU clocks higher than starting value
2c5cdadeab5d toshiba-wmi: Fix loading the driver on non Toshiba laptops
f523deedff82 drbd: Fix kernel_sendmsg() usage - potential NULL deref
f1de32232db3 usb: gadget: u_ether: remove interrupt throttling
0ab4186bf238 USB: cdc-acm: fix TIOCMIWAIT
290ffd550e34 staging: nvec: remove managed resource from PS2 driver
4aa859ea591e Revert "staging: nvec: ps2: change serio type to passthrough"
729eb8d9f7b7 drivers: staging: nvec: remove bogus reset command for PS/2 interface
6bba8c37ceed staging: iio: ad5933: avoid uninitialized variable in error case
a98e483ca784 pinctrl: cherryview: Prevent possible interrupt storm on resume
126d0a2fe878 pinctrl: cherryview: Serialize register access in suspend/resume
c45bfaa9211e ARC: timer: rtc: implement read loop in "C" vs. inline asm
3b21a0b468a3 s390/hypfs: Use get_free_page() instead of kmalloc to ensure page alignment
e835220ed25f coredump: fix unfreezable coredumping task
5c54f79ad234 swapfile: fix memory corruption via malformed swapfile
2f7496c48a7b dib0700: fix nec repeat handling
a04769029386 ASoC: cs4270: fix DAPM stream name mismatch
f3155797b91c ALSA: info: Limit the proc text input size
c1ea2b3c07c6 ALSA: info: Return error for invalid read/write
(From OE-Core rev: 7d8d71ba5bc2dd8884c3f43a8d71a6d399c4e2fe)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following meta-data change to remove warnings during
kernel configuration checking:
bec7e0ace0e5 leds.cfg: Remove CONFIG_LEDS_TRIGGER_CPU
cc857e64ea34 bsp/intel-quark: Remove bosch-pressure-sensor-i2c
3198ab25af74 features/i2c: Support I2C_MUX by default
(From OE-Core rev: 2cf5fae50a3b7f232ad667c6c60eaa3f2aafd149)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits to fix aufs/ixgbe issues:
Author: Liwei Song <liwei.song@windriver.com>
Date: Mon Dec 5 00:50:16 2016 -0500
ixgbe: initialize u64_stats_sync structures early at ixgbe_probe
Fix the following CallTrace:
INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
CPU: 71 PID: 1 Comm: swapper/0 Not tainted 4.8.8-WR9.0.0.1_standard #11
Hardware name: Intel Corporation S2600WTT/S2600WTT,
BIOS GRNDSDP1.86B.0036.R05.1407140519 07/14/2014
00200086 00200086 eb5e1ab8 c144dd70 00000000 00000000 eb5e1af8 c10af89a
c1d23de4 eb5e1af8 00000009 eb5d8600 eb5d8638 eb5e1af8 c10b14d8 00000009
0000000a c1d32911 00000000 00000000 e44c826c eb5d8000 eb5e1b74 c10b214e
Call Trace:
[<c144dd70>] dump_stack+0x5f/0x8f
[<c10af89a>] register_lock_class+0x25a/0x4c0
[<c10b14d8>] ? check_irq_usage+0x88/0xc0
[<c10b214e>] __lock_acquire+0x5e/0x17a0
[<c1abdb9b>] ? _raw_spin_unlock_irqrestore+0x3b/0x70
[<c10cf14a>] ? rcu_read_lock_sched_held+0x8a/0x90
[<c10b3c5f>] lock_acquire+0x9f/0x1f0
[<c1922dcf>] ? dev_get_stats+0x5f/0x110
[<c176e6b3>] ixgbe_get_stats64+0x113/0x320
[<c1922dcf>] ? dev_get_stats+0x5f/0x110
[<c1922dcf>] dev_get_stats+0x5f/0x110
[<c1ab5415>] rtnl_fill_stats+0x40/0x105
[<c193dd45>] rtnl_fill_ifinfo+0x4c5/0xd20
[<c11c5115>] ? __kmalloc_node_track_caller+0x1a5/0x410
[<c1917487>] ? __kmalloc_reserve.isra.42+0x27/0x80
[<c191754f>] ? __alloc_skb+0x6f/0x270
[<c1942291>] rtmsg_ifinfo_build_skb+0x71/0xd0
[<c194230a>] rtmsg_ifinfo.part.23+0x1a/0x50
[<c1923dad>] ? call_netdevice_notifiers_info+0x2d/0x60
[<c194236b>] rtmsg_ifinfo+0x2b/0x40
[<c192f997>] register_netdevice+0x3d7/0x4d0
[<c192faa7>] register_netdev+0x17/0x30
[<c177b83d>] ixgbe_probe+0x118d/0x1610
[<c1498202>] local_pci_probe+0x32/0x80
[<c1498172>] ? pci_match_device+0xd2/0x100
[<c14991e0>] pci_device_probe+0xc0/0x110
[<c1652cc5>] driver_probe_device+0x1c5/0x280
[<c1498172>] ? pci_match_device+0xd2/0x100
[<c1652e09>] __driver_attach+0x89/0x90
[<c1652d80>] ? driver_probe_device+0x280/0x280
[<c165114f>] bus_for_each_dev+0x4f/0x80
[<c165269e>] driver_attach+0x1e/0x20
[<c1652d80>] ? driver_probe_device+0x280/0x280
[<c1652317>] bus_add_driver+0x1a7/0x220
[<c1653a79>] driver_register+0x59/0xe0
[<c1f897b8>] ? igb_init_module+0x49/0x49
[<c1497b2a>] __pci_register_driver+0x4a/0x50
[<c1f8985d>] ixgbe_init_module+0xa5/0xc4
[<c1000485>] do_one_initcall+0x35/0x150
[<c107e818>] ? parameq+0x18/0x70
[<c1f395d8>] ? repair_env_string+0x12/0x51
[<c107ead0>] ? parse_args+0x260/0x3b0
[<c1074f73>] ? __usermodehelper_set_disable_depth+0x43/0x50
[<c1f39e90>] kernel_init_freeable+0x19b/0x267
[<c1f395c6>] ? set_debug_rodata+0xf/0xf
[<c10b1e7b>] ? trace_hardirqs_on+0xb/0x10
[<c1abdc02>] ? _raw_spin_unlock_irq+0x32/0x50
[<c1085f0b>] ? finish_task_switch+0xab/0x1f0
[<c1085ec9>] ? finish_task_switch+0x69/0x1f0
[<c1ab6a30>] kernel_init+0x10/0x110
[<c108bd65>] ? schedule_tail+0x25/0x80
[<c1abe422>] ret_from_kernel_thread+0xe/0x24
[<c1ab6a20>] ? rest_init+0x130/0x130
This CallTrace occurred on 32-bit kernel with CONFIG_PROVE_LOCKING
enabled.
This happens at ixgbe driver probe hardware stage, when comes to
ixgbe_get_stats64, the seqcount/seqlock still not initialize, although
this was initialize in TX/RX resources setup routin, but it was too late,
then lockdep give this Warning.
To fix this, move the u64_stats_init function to driver probe stage,
which before we get the status of seqcount and after the RX/TX ring
was finished init.
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Author: Kexin(Casey) Chen <Casey.Chen@windriver.com>
Date: Tue Nov 29 14:14:07 2016 -0800
aufs: fix compile warning
fs/aufs/debug.h:95:19: warning: comparison of constant '0'
with boolean expression is always false [-Wbool-compare]
if (unlikely((e) < 0)) \
^
fs/aufs/vdir.c:852:2: note: in expansion of macro 'AuTraceErr'
AuTraceErr(!valid);
^~~~~~~~~~
In expansion of AuTraceErr(!valid), comparison of (!valid)
and constant '0' always passes unlikely(x) false. function
'static int seek_vdir(struct file *file, struct dir_context *ctx)'
is to find whether there is a valid vd_deblk following ctx->pos.
return 1 means valid, 0 for not. Change to AuTraceErr(valid - 1)
makes more sense.
Signed-off-by: Kexin(Casey) Chen <Casey.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
(From OE-Core rev: ae7d870954cf6a3608933335fedc425677aee0e3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10714]
Apparently there is some issues with GTK3 libraries for the Mars
Eclipse version. The note provides a workaround that requires
editing the eclipse.ini file.
(From yocto-docs rev: f940d5d3f7bf446af8f3c7cec5958c8395425a69)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fact that the OpenEmbedded build system can now build
multiple image types caused the KERNEL_IMAGE_BASE_NAME variable
to have the KERNEL_IMAGETYPE portion removed. This could cause
existing recipes that use the KERNEL_IMAGE_BASE_NAME variable
directly issues. I added a section indicating that the user
should address those recipes to avoid problems.
(From yocto-docs rev: c433fca3840440c14bb364a51afc5c3c2bfc7c88)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10717]
Now that multiple images can be built, the KERNEL_IMAGE_BASE_NAME
no longer requires "${KERNEL_IMAGETYPE}" as part of its default
value. I have removed this portion of the default definition
described in the glossary.
(From yocto-docs rev: 713b3c141dfb66fc3852b5a997a7fc19d494e97b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10444]
Added a new section about syntax called "Line Joining". The
section describes how you can use the backslash character (\)
to joing stuff.
(Bitbake rev: a2768ecae7846d72a1bdb7cbbc5e8d242af854f6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we use python3, we should refer to pip3, not pip.
[YOCTO #10774]
(Bitbake rev: 99136f5f591deef0c96d9aea2dbea1c216f38121)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If GLIBC_SPLIT_LC_PACKAGES is set to a non-zero value, convert
glibc-binary-localedata-XX-YY to be a meta package depending on
glibc-binary-localedata-XX-YY-lc-address and so on. This enables
saving quite some space if someone doesn't need LC_COLLATE for
example.
Some regex code was removed from output_locale_binary_rdepends,
because legitimize_package_name already converts to lowercase.
(From meta-yocto rev: fcbff9f5e3c32fb8cc3781c0584899e8fce0254c)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We no longer use this file to start toaster. Toaster's configuration is
setup by Toaster itself using the standard Django data fixtures.
(From meta-yocto rev: eea72a2d34924f90f7ff5ddf07181c8a331b643b)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If many files change and the inotify queue overflows, rather than print
a traceback, invalidate the caches and warn the user.
[YOCTO #10676]
(Bitbake rev: 058f8517c041b80e8b591ad7d34a68281b2d03fc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The processing of the "do_" prefix to tasks is currently inconsistent
and has resulted in "bitbake world -g" being broken as task prefixes
don't get handled correctly.
Make the "do_" task prefix handling consistent through various codepaths.
[YOCTO #10651]
(Bitbake rev: 3d7186353e804c9410096c408bc337a98c8b33fe)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We now have code in OE that needs BB_TASKDEPDATA for setscene tasks. Therefore
generate and send this data. In this case its a "pre collapsed" tree
but that is fine for the use cases in question.
(Bitbake rev: 38b857d086af43af6ea3aa60d3876a2c9b225401)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its useful to know the task hash in code using TASKDEPDATA so add this
data to the data structure. The recipe specific sysroots in OE
need this data.
(Bitbake rev: 758867e8dc74283bb1f031e158ec54cefdd5c2a6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Looking further at the CPU loads on systems running large numbers of tasks,
the following things helps performance:
* Loop on waitpid until there are no processes still waiting
* Using select to wait for the cooker pipe to be writable before writing
avoiding pointless 100% cpu usage
* Only reading from worker pipes that select highlights are readable
(Bitbake rev: 9375349e27b08b4d1cfe4825c042d4c82120e00b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add missing dependency on nativesdk-python3-importlib so the imp Python
module is installed.
Before this patch, running gdb from the sdk would give the following
error:
Python Exception <class 'ImportError'> No module named 'imp':
(From OE-Core rev: ad00a31fbe93e073a2d83616efcd08c5a7ef37c9)
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The imp python module is the forerunner of importlib. Include imp in
the importlib subpackage instead of the misc subpackage so that it can
be depended on without bringing in a bunch of unrelated, unused modules.
(From OE-Core rev: 512334f102a33833d39af53467894315f0715d07)
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using subprocess call and check_output, it is better to use arrays
rather than strings when possible to avoid whitespace and quoting
problems.
[ YOCTO #9342 ]
(From OE-Core rev: b12cec9a5ef14ecb02be7feec65508cf5d65c795)
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change allows to pass QA for packages built with sh4-oe-linux-musl
toolchain, the problem is reproted while building core-image-minimal target:
ERROR: readline-7.0-r0 do_package_qa:
Error executing a python function in exec_python_func() autogenerated
(From OE-Core rev: dff25cb16ffca0876e5a747644bd6223129df402)
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Old version was broken by perl update. It was found by investigating configure
errors in meta-qt5-extra/kf5:
| [superandy@mueller-a-nb-linux 5.28.0-r0]$ /home/superandy/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/bin/perl-native/perl -e "use URI::Escape"
| \C no longer supported in regex; marked by <-- HERE in m/(\ <-- HERE C)/ at /home/superandy/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/lib/perl-native/perl/vendor_perl/5.24.0/URI/Escape.pm line 205.
| Compilation failed in require at -e line 1.
| BEGIN failed--compilation aborted at -e line 1.
(From OE-Core rev: 0c2afb0f38a23d4f1540887b125914c9dde16dae)
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Opkg can defer running postinst scripts to first boot, which can take
a while on some systems. The output of `opkg configure` (or whatever pm
is used) is redirected to a file when logging is enabled
(I.e. $POSTINST_LOGGING == 1), making the machine appear hung during
this process. This change simply prints a wait message on the console
to inform the user of this potentially long and silent operation so
that they do not mistakenly reboot their machine.
Why not simply `tee` the output instead?
Tee might be provided by BusyBox in some distros, which may need to run
update-alternatives in the very postinst scripts being executed by this
process. It's therefore not safe to assume Tee (or any other packaged
util) is available until the configure process finishes.
(From OE-Core rev: 3f8f1d8e4b129e5dfdd63d450887320aa0e33228)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build failed in multiple configurations. First, the native and
nativesdk was using the host compiler and was pulling host libraries
into the build. Second, the target configuration was attempting to
execute tools/bin2header tool on host, which is compiled for target,
to generate license header file that is not used by tools.
This patch changes the EXTRA_OEMAKE to address these issues, to build
both native and target builds with the correct compilers and correct
sysroots. Moreover, this patch removes the CONFIG_CMD_LICENSE from
tools build, thus disabling the execution of target tools/bin2header.
(From OE-Core rev: c2980c1d2fe127d56d4c1b797df5a1047d0e2db0)
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nfs-server failed to start after installation from a package feed.
(From OE-Core rev: c4d276f9f639a1a534789de12a4783ae931e6aa4)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Contains just enough to mount and unmount nfs volumes, i.e.
the same as nfs-utils-client before commit 39bb7e3 ("nfs-utils:
separate package as Debain style").
Drop nfs-utils-client's dependency on bash. It contains two shell
scripts, /etc/init.d/nfscommon and /usr/sbin/start-statd, both
using /bin/sh.
(From OE-Core rev: e21bba827e06f4d6574bbb2b0f453dd0bb627d2c)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Start daemons by default like the initscripts do, but only if
/etc/exports exists.
- Inform systemd.bbclass about nfs-utils-client package.
(From OE-Core rev: 94602d8ced3a8fd033de93b47320c94db6de8755)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In hybrid systemd/sysvinit builds, if the recipe inherits systemd and systemd
is installed, we can safely assume that the service gets stopped by the prerm
script fragment from systemd.bbclass. This fixes deinstallation of packages
with initscripts returning errors when no running service was found. The preinst
shouldn't run the initscript either, because postinst will call systemctl restart.
(From OE-Core rev: f2cc0fdfd97b097145e40bc52674e17378cec863)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If GLIBC_SPLIT_LC_PACKAGES is set to a non-zero value, convert
glibc-binary-localedata-XX-YY to be a meta package depending on
glibc-binary-localedata-XX-YY-lc-address and so on. This enables
saving quite some space if someone doesn't need LC_COLLATE for
example.
Some regex code was removed from output_locale_binary_rdepends,
because legitimize_package_name already converts to lowercase.
(From OE-Core rev: 40b4b31092058f8833ada3dfc254d362dd3139c1)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
MACHINE = "qemuarm"
IMAGE_FSTYPES += "ext3.bz2.u-boot"
[snip]
No IMAGE_CMD defined for IMAGE_FSTYPES entry 'ext3.bz2.u-boot' - possibly invalid type name or missing support class
[snip]
This is because image_types_uboot is not inherited, inherit it when
needed will fix the problem.
(From OE-Core rev: 742a22ab7fd333e99d8701220d5a1db28347b1af)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when len(TMPDIR) = 410:
aclocal: error: cannot open echo [snip]: Argument list too long
This is becuase it has a lot of m4 files, use relative path for them
can fix the problem.
It doesn't happen when MACHINE="qemux86", I think it is because
intel-x86-64 is longer than qemux86.
(From OE-Core rev: 5210ccd61ef52a191454a4587cfeb22079df746d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These files cause warnings because they don't get packaged, now that they
don't land in kernel-vmlinux anymore.
(From OE-Core rev: a49569e3a7534779bbe3f01a0647fd076c95798d)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With multiple kernel images enabled starting with 'vmlinux', e.g.
vmlinux.gz and vmlinux.bin, all files landed inside the
kernel-vmlinux package.
On top of that, even initramfs images were included, e.g.
vmlinux.gz-initramfs-*.
(From OE-Core rev: b7f4133b44b740e8ac8e758b0d4a3ee32d326332)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When iterating over kernel image types to set up their packaging
variables, don't use make targets but the real names.
It was surprising if both vmlinux.bin and vmlinux.gz were enabled
and only the latter had its filename extension removed from the
package name.
(From OE-Core rev: aa189f183e10588f7e8d642f351bd9b8d69f3ea9)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code failed to copy the initramfs in case it was a plain
cpio archive.
(From OE-Core rev: 7dbdb4ea91aa027866da2bd46c65fe65a25c848f)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yet another instance of us expecting a string back from subprocess when
in Python 3 what you get back is bytes. Just decode the output within
run_command() so we avoid this everywhere.
(From OE-Core rev: 103faae78cdff5280c7b7cdb7ca01e0868d02ec9)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop support for rcS.d SysV init scripts.
These are prone to cause dependency loops, and almost all packages with
rcS scripts now ship a native systemd service.
* Drop mount propagation patch, it only happens with libseccomp, OE doesnt
enable it
* kdbus option has disappeared from configure
* Ignore dev-so for PN now since systemd introduced private .so see
https://github.com/systemd/systemd/issues/3810
* Add libnss* to PACKAGES_DYNAMIC for libnss-resolve to work correctly
* Forward port systemd-boot patches to systemd-232
(From OE-Core rev: e6c1765a05c1321f08f3d1fb521dfe6b07bc8e92)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The existing sed expression can match expressions like
--sysroot=/some/path/xxx-linux/ which clearly isn't intended and
injects incorrect paths into LDFLAGS.
Fix this in the same way we address the problem in CFLAGS. This fixes corrupt
build paths and incorrect paths in .la files amongst other issues.
(From OE-Core rev: 9a8382422ddbb0972dc25b752204f4908bb9857c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A SSTATEPOSTINSTFUNCS function here is overkill, just do this in a
do_install_append_class-native and create relative symlinks rather
than absolute ones which would then have to be relocated.
(From OE-Core rev: 518e8d0216b0f42f574e42288804f553b9ff6f99)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This hasn't been used in years and isn't referenced anywhere, drop
the definition.
(From OE-Core rev: 68258f856f08f35813964e58ef761471e29373ad)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Historically the processing of kernel meta data contained some
commands that exited with a non-zero return code. Special processing
was required to properly deal with their exit.
That is no longer true, and instead of handling all return codes
and doing an explicit 'exit' call, we can remove set -e from the
routine and have all errors be trapped and stop processing.
(From OE-Core rev: 476ffd57cf5b6fba40d4e3f5dd913824ab8a8d3d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Lernel meta-data that has patches, but no branches, can trigger an
error due to no branch specific patch queue.
This error then cascades to more issues since the tools are using
a named file in /tmp to store and display error messages to the
user.
We fix both issues though the following kern tools tweaks:
commit bd9e1d6c9b0a34ff3e19a06999aaf57ffadfd04c
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Fri Dec 2 13:09:40 2016 -0500
scc: use mktemp for consolidated output capture
To provide useful error messages the tools dump pre-processed
files and messages to a temporary file. If multiple users are
doing builds, this means they either race, or can have permissions
issues.
By creating the temporary file via mktemp, we avoid both issues.
(We also make sure to clean these up on exit, or /tmp will get
polluted quickly).
commit a287da4bfe0b4acb8f2b0627bd8e7abd1a1dde26
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Fri Dec 2 13:08:08 2016 -0500
patch: do not assume a branch specific patch queue is needed
When processing input files per-branch and global patch queues are
generated. If the meta-data has not created any branches in the
repo, no branch specific queue is required.
The tools assumed that one is always valid, and hence would throw a
non-zero exit code and stop processing.
By testing for a named per-branch queue, we avoid this issue.
(From OE-Core rev: 0fd7da7375f0dcc59b56791fd482de557507c04c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the 4.8.9 and 4.8.10 -stable updates. The commit log is
as follows:
cf5ae2989a32 Linux 4.8.10
5cd8f6788ff3 usb: gadget: f_fs: stop sleeping in ffs_func_eps_disable
e2458382c792 usb: gadget: f_fs: edit epfile->ep under lock
e34a0f1c53b5 sparc64: Delete now unused user copy fixup functions.
af97481a6f5b sparc64: Delete now unused user copy assembler helpers.
ac663c54f40b sparc64: Convert U3copy_{from,to}_user to accurate exception reporting.
d91bb7a87e26 sparc64: Convert NG2copy_{from,to}_user to accurate exception reporting.
a15859f9d839 sparc64: Convert NGcopy_{from,to}_user to accurate exception reporting.
bb522726d311 sparc64: Convert NG4copy_{from,to}_user to accurate exception reporting.
b0580eadc19f sparc64: Convert U1copy_{from,to}_user to accurate exception reporting.
50e927483ccf sparc64: Convert GENcopy_{from,to}_user to accurate exception reporting.
620ec41010d1 sparc64: Convert copy_in_user to accurate exception reporting.
bf4d0da8e800 sparc64: Prepare to move to more saner user copy exception handling.
bbbab9f59ea7 sparc64: Delete __ret_efault.
81a91edbb91a sparc64: Handle extremely large kernel TLB range flushes more gracefully.
7f8a50eb38d3 sparc64: Fix illegal relative branches in hypervisor patched TLB cross-call code.
f7ef55af2f1b sparc64: Fix instruction count in comment for __hypervisor_flush_tlb_pending.
2a28ab3d4148 sparc64: Fix illegal relative branches in hypervisor patched TLB code.
f4fb552a033e sparc64: Handle extremely large kernel TSB range flushes sanely.
51915c6d9070 sparc: Handle negative offsets in arch_jump_label_transform
da6fe239ceff spi: spidev_test: fix build with musl libc
4ea98e573d65 net: stmmac: Fix lack of link transition for fixed PHYs
150b491b1b88 sctp: change sk state only when it has assocs in sctp_shutdown
5235fcfa6cf8 bnx2: Wait for in-flight DMA to complete at probe stage
6523ff2e27fe Revert "bnx2: Reset device during driver initialization"
224fb8cbefb2 mlxsw: spectrum_router: Correctly dump neighbour activity
9092bbd64bd9 mlxsw: spectrum: Fix refcount bug on span entries
5712922773b5 Revert "include/uapi/linux/atm_zatm.h: include linux/time.h"
2b5f22e4f7fd tcp: take care of truncations done by sk_filter()
22a78d4c7f43 ipv4: use new_gw for redirect neigh lookup
bccb4093d464 net: __skb_flow_dissect() must cap its return value
a1632e969a55 net: icmp_route_lookup should use rt dev to determine L3 domain
9885f474d92b sock: fix sendmmsg for partial sendmsg
b78ba0a0f231 fib_trie: Correct /proc/net/route off by one error
92fd1c1f2fd2 net: icmp6_send should use dst dev to determine L3 domain
09ee09498bca bpf: fix htab map destruction when extra reserve is in use
de289ad2e575 sctp: assign assoc_id earlier in __sctp_connect
76b5fee5cfa0 ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped
84d9c612bb7a ipv6: dccp: fix out of bound access in dccp_v6_err()
ba93cf7d2118 dccp: fix out of bound access in dccp_v4_err()
378a61101374 dccp: do not send reset to already closed sockets
72b03e549b95 dccp: do not release listeners too soon
b3523a0773ed tcp: fix return value for partial writes
1f49cc6fa91c ipv4: allow local fragmentation in ip_finish_output_gso()
842a858fa048 tcp: fix potential memory corruption
fc3b825f2c81 ip6_tunnel: Clear IP6CB in ip6tunnel_xmit()
f5f4b71d5632 bgmac: stop clearing DMA receive control register right after it is set
0c7f764d2c6a net: mangle zero checksum in skb_checksum_help()
ac22a3ba0796 net: clear sk_err_soft in sk_clone_lock()
5b078dc6fb64 dctcp: avoid bogus doubling of cwnd after loss
876577321657 Linux 4.8.9
07d00beb1e04 netfilter: fix namespace handling in nf_log_proc_dostring
8ef009e09c13 drm/i915: Fix mismatched INIT power domain disabling during suspend
88a45e5d2c0d drm/amdgpu: fix a vm_flush fence leak
25ed6e4b0b65 drm/amdgpu: fix fence slab teardown
de5e9aa77a3c NFSv4.1: work around -Wmaybe-uninitialized warning
18c801047a18 libceph: fix legacy layout decode with pool 0
53c1792b94da memcg: prevent memcg caches to be both OFF_SLAB & OBJFREELIST_SLAB
02e1ee6b3e1c mmc: mxs: Initialize the spinlock prior to using it
ce0702e35aeb pinctrl: iproc: Fix iProc and NSP GPIO support
320244ac9eb6 ASoC: sun4i-codec: return error code instead of NULL when create_card fails
2140d4fd9277 ASoC: Intel: Skylake: Always acquire runtime pm ref on unload
5037fdbc62c2 gpio: of: fix GPIO drivers with multiple gpio_chip for a single node
7a9239fd0480 gpio/mvebu: Use irq_domain_add_linear
6de98e87effb batman-adv: Modify neigh_list only with rcu-list functions
a3f000ce7b44 ACPI/PCI: pci_link: Include PIRQ_PENALTY_PCI_USING for ISA IRQs
6c76dd0c7066 ACPI/PCI: pci_link: penalize SCI correctly
86c711665c84 ACPI/PCI/IRQ: assign ISA IRQ directly during early boot stages
ad185d9251e1 ACPI / APEI: Fix incorrect return value of ghes_proc()
b55ebc89ab1d mmc: sdhci-msm: Fix error return code in sdhci_msm_probe()
85284c0850f9 i40e: fix call of ndo_dflt_bridge_getlink()
1242c9dfab0c hwrng: core - Don't use a stack buffer in add_early_randomness()
c1a2ada73dac lib/genalloc.c: start search from start of chunk
06bb5ebedbb4 s390/dumpstack: restore reliable indicator for call traces
1ef1bd02ad23 rtc: pcf2123: Add missing error code assignment before test
4baabb72e9dd clk: samsung: clk-exynos-audss: Fix module autoload
3bbdbd8aa3c8 x86/build: Fix build with older GCC versions
f5eadc27a60c Revert "clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init"
645a6b823739 nvme: Delete created IO queues on reset
07c4cbe01341 svcrdma: Tail iovec leaves an orphaned DMA mapping
4131e00a436e svcrdma: Skip put_page() when send_reply() fails
755ab7aa1466 mei: bus: fix received data size check in NFC fixup
d1b564536c6a perf top: Fix refreshing hierarchy entries on TUI
6ac4e06b717f Input: synaptics-rmi4 - fix error handling in I2C transport driver
d3716f1b3e4b Input: synaptics-rmi4 - fix error handling in SPI transport driver
66503ec38f34 watchdog: core: Fix devres_alloc() allocation size
c5e9e5cc8cd1 agp/intel: Flush chipset writes after updating a single PTE
813617a4c8dc iommu/vt-d: Fix dead-locks in disable_dmar_iommu() path
b6ef0b142208 iommu/amd: Free domain id when free a domain of struct dma_ops_domain
2ef38255b588 iommu/io-pgtable-arm: Check for v7s-incapable systems
d3d9428d7133 xprtrdma: Fix DMAR failure in frwr_op_map() after reconnect
31c749bee3de xprtrdma: use complete() instead complete_all()
67080e2785a3 drm/amd: fix scheduler fence teardown order v2
b0da5ab2ffb5 drm/amdgpu: fix sched fence slab teardown
920a85ba4306 tty/serial: at91: fix hardware handshake on Atmel platforms
9d76a886eb2f drm/amdgpu: fix crash in acp_hw_fini
6e652d18d73d drm/amdgpu: disable runtime pm in certain cases
8c8fdc683295 drm/i915/dp: Extend BDW DP audio workaround to GEN9 platforms
db8e005bf2ba drm/i915/dp: BDW cdclk fix for DP audio
f50b7450a8e4 drm/i915: Respect alternate_ddc_pin for all DDI ports
e1b24f6a0b3c drm/radeon: disable runtime pm in certain cases
eb13abb0e515 KVM: arm/arm64: vgic: Prevent access to invalid SPIs
2850fad5acb0 scsi: scsi_dh_alua: Fix a reference counting bug
5fac70d772a4 scsi: scsi_dh_alua: fix missing kref_put() in alua_rtpg_work()
f29bcd11a170 scsi: mpt3sas: Fix for block device of raid exists even after deleting raid disk
b2040deabb07 scsi: qla2xxx: Fix scsi scan hang triggered if adapter fails during init
1281b9683f96 iio: st_sensors: fix scale configuration for h3lis331dl
4dfb6d1dd11d iio: orientation: hid-sensor-rotation: Add PM function (fix non working driver)
341c5534edad iio: hid-sensors: Increase the precision of scale to fix wrong reading interpretation.
b9d031f354da cdc-acm: fix uninitialized variable
c480880cd12c clk: qoriq: Don't allow CPU clocks higher than starting value
ee27fd32c499 toshiba-wmi: Fix loading the driver on non Toshiba laptops
f713523a234c drbd: Fix kernel_sendmsg() usage - potential NULL deref
31da266e4b9a usb: gadget: u_ether: remove interrupt throttling
264e4131a167 USB: cdc-acm: fix TIOCMIWAIT
c12c24eeaf77 usb: dwc3: Fix error handling for core init
6b95417150b7 staging: nvec: remove managed resource from PS2 driver
82239ab105a5 Revert "staging: nvec: ps2: change serio type to passthrough"
529789866abe drivers: staging: nvec: remove bogus reset command for PS/2 interface
dea774aac054 staging: comedi: ni_tio: fix buggy ni_tio_clock_period_ps() return value
5d510185f99a staging: sm750fb: Fix bugs introduced by early commits
45983d678b70 staging: iio: ad5933: avoid uninitialized variable in error case
5289e59246dd mmc: mmc: Use 500ms as the default generic CMD6 timeout
ce4dfe7d927e mmc: sdhci: Fix unexpected data interrupt handling
bde8d3f73375 mmc: sdhci: Fix CMD line reset interfering with ongoing data transfer
10d24701f3f4 cpupower: Correct return type of cpu_power_is_cpu_online() in cpufreq-set
f062e738c19b pinctrl: cherryview: Prevent possible interrupt storm on resume
1d99fe3317e3 pinctrl: cherryview: Serialize register access in suspend/resume
f5ad96462615 arc: Implement arch-specific dma_map_ops.mmap
004e7c97f181 PCI: Don't attempt to claim shadow copies of ROM
7fac0361f94e ARC: timer: rtc: implement read loop in "C" vs. inline asm
4058116db4d0 s390/hypfs: Use get_free_page() instead of kmalloc to ensure page alignment
2f3e0b82ebe9 coredump: fix unfreezable coredumping task
d6ee4f47e2e7 mm/hugetlb: fix huge page reservation leak in private mapping error paths
e87bf4f558f1 mm: hwpoison: fix thp split handling in memory_failure()
67c79e166d46 swapfile: fix memory corruption via malformed swapfile
c87739e5d029 shmem: fix pageflags after swapping DMA32 object
5b5243b606ec mm, frontswap: make sure allocated frontswap map is assigned
2e594273d4c5 dib0700: fix nec repeat handling
9964230320d5 ASoC: cs4270: fix DAPM stream name mismatch
9386a722d250 ALSA: info: Limit the proc text input size
c3ea1b15b71e ALSA: info: Return error for invalid read/write
(From OE-Core rev: b5e43be6aaf912cf6c679ee98ed61cf34dd00ee8)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of html5lib 0.9999999/1.0b8 (released on July 14, 2016), some modules
have moved from _base to base. Handle this, while staying compatible
with earlier versions.
(Bitbake rev: 1679188f9c55c615cae780f2b5e6852dea9cf2ec)
Signed-off-by: Daniel Lublin <daniel@lublin.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We assume that the value taken by variable v can be string,
integer or any type which can be marshalled by xmlrpc. This
change would help us to convert the non marshallable types
to string. So that we don't get exception from xmlrpc.
[YOCTO #10740]
(Bitbake rev: efb0e47479b3526bc047112f7200087c5844bba4)
Signed-off-by: Sujith H <sujith.h@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds the ability to specify a Selenium Docker container server as
a driver. This allows for repeatable tests independent of host.
Currently we assume you are using the Firefox container. Instructions
are located in the README in tests/browser.
(Bitbake rev: 7df842f8f8b2ae640109ed06729ab59c9469fc64)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The parameters to Python string formatting need to be inside a tuple.
(Bitbake rev: 3c82af11b89cf251c3e56725a1eed2d3f4bd835b)
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current disk usage is interesting and may be worth logging over
time as part of the build statistics. Instead of re-implementing the
code and the configuration option (BB_DISKMON_DIRS), the information
gathered by monitordisk.py is made available to buildstats.bbclass via
a new event.
This has pros and cons:
- there is already a useful default configuration for "interesting" directories
- no code duplication
- on the other hand, users cannot configure recording separately from
monitoring (probably not that important)
(Bitbake rev: f065ac17d0031dca6309ddbff18c8792630de865)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to encode and decode the hash key as a single string,
a tuple works just fine. Iterating over entries can be written more
concisely.
Entries in the stat results are integers, not floating point values.
(Bitbake rev: 3c943e989964382c0b819d92de26a0c914ebed33)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hooking the disk monitor into the regular heatbeat event instead
of the runqueue solves two problems:
- When there is just one long running task which fills up the disk,
the previous approach did not notice that until after the completion
of the task because _execute_runqueue() only gets called on task
state changes. As a result, aborting a build did not work in this
case.
- When there are many short-lived tasks, disk space was getting
checked very frequently. When the storage that is getting checked
is on an NFS server, that can lead to noticable traffic to the
server.
(Bitbake rev: 4547eea26803a9cd355d8b045197bcbdbb36a9ad)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The intended usage is for recording current system statistics from
/proc in buildstats.bbclass during a build and for improving the
BB_DISKMON_DIRS implementation.
All other existing hooks are less suitable because they trigger at
unpredictable rates: too often can be handled by doing rate-limiting
in the event handler, but not often enough (for example, when there is
only one long-running task) cannot because the handler does not get
called at all.
The implementation of the new heartbeat event hooks into the cooker
process event queue. The process already wakes up every 0.1s, which is
often enough for the intentionally coarse 1s delay between
heartbeats. That value was chosen to keep the overhead low while still
being frequent enough for the intended usage.
If necessary, BB_HEARTBEAT_EVENT can be set to a float specifying
the delay in seconds between these heartbeat events.
(Bitbake rev: 7cf22ea057d28c54bd98dc1ab7a43402a29ff1f5)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting WKS_FILE variable in qemux86-64 made wic test to
use wrong wks file to produce an image and resulted in
test_qemu failure.
Used conditional assignment in qemux86-64 and explicitly
set WKS_FILE in wic testing suite to make the suite to use
wic-image-minimal.wsk. This should fix test_qemu failure.
(From OE-Core rev: 3bca4d18c2712e3b154bacfb917f0a749ebaddeb)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The do_deploy runs depmodwrapper which requires
pkgdata/kernel-depmod/kernel-abiversion, which is generated by
PACKAGEFUNCS. So we need let do_deploy depend on do_packagedata.
This can fix the errors which happens sometimes when kernel upgrades:
DEBUG: Executing shell function do_deploy
Error: Kernel version 4.8.8-WR9.0.0.1_standard does not match kernel-abiversion (4.8.8-WR9.0.0.0_standard)
And we only see this error when kernel upgrades and rebuild, but doesn't
see it in a normal build, this is becuase depmodwrapper doesn't exit
error when kernel-depmod/kernel-abiversion doesn't exit, it just prints
an error which should go into log.do_deploy:
if [ ! -r /path/to/sysroots/qemux86-64/pkgdata/kernel-depmod/kernel-abiversion ]; then
echo "Unable to read: /path/to/sysroots/qemux86-64/pkgdata/kernel-depmod/kernel-abiversion" >&2
else
[foo]
fi
We can see that there is no "exit 1", I guess it was designed to let it
can run without kernel-abiversion
(From OE-Core rev: 64148a30397b8c92414262c0d414d103d2b97ddd)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While I couldn't find explicit documentation, it appears
that the list of MACHINEOVERRIDES should be sorted from
less specific to more specific left to right, so that
more specific overrides take precedence.
(From OE-Core rev: 59c724db5628775e77fa090183897c6ae0fdf9a8)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Required for meta-swupd performance enhancements: in meta-swupd, the
so called "mega" image contains a rootfs with all files that can
potentially be installed on a device. Other virtual image recipes need
a subset of those files or directories, and a partial extraction from
a single tar archive is faster than letting all virtual image recipes
share access to a directory under a single pseudo instance.
It may be necessary to extract a directory with all of its attributes
without the content of the directory, hence this patch. Upstream
agreed to consider merging such a patch (see
https://groups.google.com/forum/#!topic/libarchive-discuss/JO3hqSaAVfs)
but has been slow in actually commenting on it, so for now it has
to be carried as distro patch.
(From OE-Core rev: 53126f0fbc63148cc5b22605ffbdf54d0610b545)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently run-postinsts script has code to run postinst scripts
via opkg/dpkg configure but that code is never used. The advantage
of using package managers instead of just executing the scripts is
to keep the package manager DB updated.
Fix the script so that the package managers are used when appropriate.
Also use $localstatedir for the opkg runtime file location.
Fixes [YOCTO #10478].
(From OE-Core rev: b645919f173512f9e75aeb26348d60b63dcdc53c)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pre-processing /proc data during the build considerably reduces the
amount of data written to disk: 176KB instead of 4.7MB for a 20
minuted build. Parsing also becomes faster.
buildstats.bbclass only writes the reduced logs now, but support for
the full /proc files is kept around as reference.
(From OE-Core rev: b5e47df9af1ebbb477074587fdeae17eb2f55582)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pre-processing /proc data during the build considerably reduces the
amount of data written to disk: 176KB instead of 4.7MB for a 20
minuted build. Parsing also becomes faster.
The disk monitor log added another 16KB in that example build. The
overall buildstat was 20MB, so the overhead for monitoring system
utilization is small enough that it can be enabled by default.
(From OE-Core rev: b17812385cd55e81066d3ceda92dffdc6e5564da)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The internal representation after parsing now matches exactly
what the drawing code needs, thus speeding up drawing a bit.
However, the main motivation is to store exactly that required
information in a more compact file.
(From OE-Core rev: ca06e67a0bb5820b38fda4c8dfee20764c1e59ae)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds a new, separate chart showing the amount of disk space used
over time for each volume monitored during the build. The hight of the
graph entries represents the delta between current usage and minimal
usage during the build.
That's more useful than showing just the current usage, because then a
graph showing changes in the order of MBs in a volume that is several
GB large would be just flat.
The legend shows the maximum of those deltas, i.e. maximum amount of
space needed for the build. Minor caveat: sampling of disk space usage
starts a bit later than the initial task, so the displayed value may
be slightly lower than the actual amount of space needed because
sampling does not record the actual initial state.
(From OE-Core rev: 263d189d066b578debf08b2bd07494a69b70f70d)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When matching fails, m.group(0) is invalid and can't be used in the
error message.
(From OE-Core rev: ddfea21e06a2e6b1a1e766969f8c134a6de7388a)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hooks into the new monitordisk.py event and records the used space for
each volume. That is probably the only relevant value when it comes to
visualizing the build and recording more would only increase disk
usage.
(From OE-Core rev: 21a5b569370f47cc02291e1d8b76fe43faa04ea6)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The only real change is the addition of two if checks that skips the
corresponding drawing code when there is no data.
(From OE-Core rev: 1658fd5e9ca1ba793cae604c2a395d54e3ec9056)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This enables rendering of the original bootchart charts for CPU, disk
and memory usage. It depends on the /proc samples recorded by the
updated buildstats.bbclass. Currently, empty charts CPU and disk usage
charts are drawn if that data is not present; the memory chart already
gets skipped when there's no data, which will also have to be added
for the other two.
(From OE-Core rev: 233d3e50b361feea07803a9c0f2a691e687c6cd5)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code did not handle x scaling correctly when drawing starts at
some time larger than zero, i.e. it worked for normal bootchart data,
but not for the system statistics recorded by buildstats.bbclass.
(From OE-Core rev: 166f8f9aaa1f01fc6d6a5451f8f06b815c51ffae)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Substracting curr_y when determining the hight of the process chart is
wrong because the height is independent of the position where the
chart is about to be drawn. It happens to work at the moment because
curr_y is always 10 when render_processes_chart() gets called. But it
leads to a negative height when other charts are drawn above it, and
then the grid gets drawn on top of those other charts.
Substracting some constant is relevant because otherwise the box is
slightly larger than the process bars. Not sure exactly where that
comes from (text height?); leg_s seems a suitable constant and happens
to be 10, so everything still gets rendered exactly as before.
(From OE-Core rev: b6bb690728c329ae448f89a1b68298c6dd8a573a)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
/proc/[diskstats|meminfo|stat] get sampled and written to the same
proc_<filename>.log files as during normal bootchat logging. This will
allow rendering the CPU, disk and memory usage charts.
Right now sampling happens once a second, triggered by the heartbeat
event.That produces quite a bit of data for long builds, which will be
addressed in a separate commit by storing the data in a more compact
form.
(From OE-Core rev: 6f4e8180b5b4857eaf6caf410fd3a4a41ed85930)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The warning occurs when the GPT image is not the same size than the
media into which it's being flashed, causing the backup GPT table
not being at the end of the disk. However, this is expected as the
image is created before having the information about the destination
media. The error is harmless, so it will be whitelisted.
Fixes [YOCTO 10481].
(From OE-Core rev: 5cc5cdc788308a79f8f0706e6d794c602ef427ed)
Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The iwlwifi module of any given kernel has a minimum and maximum
supported firmware version. The kernel begins by attempting to load the
maximum version, and decrements until it is successful. The 4.8 kernel's
maximum supported firmware version is 24, but thus far only 22 has been
released, meaning we get errors for 24 and 23.
Filter out iwlwifi firmware load error messages, as they are not
necessarily indicative of real problems.
(From OE-Core rev: 7df570c2310efac8f9898da15deaac2b7df16655)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating a patch set with cover letter using the
send-pull-request script, both the "In-Reply-To" and "References"
headers are appended twice in patch 2 and subsequent.
That's because git-format-patch already inserted them and then
git-send-email repeats that. Suppressing mail threading in
git-send-email with --no-thread avoids the problem and is the
right solution because it works regardless whether git-send-email is
called once or twicee.
Repeating these headers is a violation of RFC 2822 and can confuse
mail programs. For example, Patchwork does not detect a patch series
problem when there are these extra headers.
[YOCTO #10718]
(From OE-Core rev: 303a1aa3df43eb0b693d8602062fa33c4a08fdd6)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BBVERSIONS is moderately horrible and it doesn't appear to be actually used by
anyone, so remove it to simplify the finalise codepaths.
(Bitbake rev: 0bb188f01e396052b127e170a25246d79a6d6741)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For shell constructs like
echo hello & wait $!
the process_tokens() method ended up with a situation where "token"
in the "name, value = token" assignment was a list of tuples
and not the expected tuple, causing the assignment to fail.
There were already two for loops (one in _parse_shell(), one in
process_tokens()) which iterated over token lists. Apparently the
actual nesting can also be deeper.
Now there is just one such loop in process_token_list() which calls
itself recursively when it detects that a list entry is another list.
As a side effect (improvement?!) of the loop removal in
_parse_shell(), the local function definitions in process_tokens() get
executed less often.
Fixes: [YOCTO #10668]
(Bitbake rev: d18a74de9ac75ba32f84c40620ca9d47c1ef96a3)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function is simplified by not trying to handle replacing the regex
and just compiling and using it for matching.
- Fix typo in logger output with undefined variable
- Fix pyflake errors
(Bitbake rev: ea298ece8d678889cd5bcde46e00545e9a73edb9)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Simplify the layer event information to layer version object in toaster
function. Previously this attempted many different methods of trying to
obtain the correct layer from toaster by manipulating the data from the
event or the data from the known layers to try and match them together.
We speed up and simplify this process by making better use of django's
orm methods and by working down the most likely matching methods in order
of accuracy.
[YOCTO #10220]
(Bitbake rev: 6935cc06974ea94c9971ede89b6e8f0eae9c195b)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the custom image file creation (i.e. create the layer file
structure, conf and recipe file) into it's own function and remove the
creation of the BRLayer as this is done at schedule_build just like all
the other layers.
Fix a bug where the toaster-custom-images layer was always being appened
to the layer list if the directory exists.
(Bitbake rev: 15a42b36c01fccd79e5aa0788dea5640b253982b)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The schedule_build function on the project object is where the BRLayers
are created for the build. Instead of creating the BRLayer for the
CustomImageRecipe in the localhostbbcontroller create it here so that
all that mechanism is in one place.
Also fix a number of pyflake errors.
(Bitbake rev: f8d3ea784937b6e416d3e5a4feb1283c478e4caa)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes the unidentified layers issue by making the
toaster-custom-images layer a local layer. By doing this we also fix the
git assumptions made for the local layers which stop recipes and other
meta data being associated with them. This also removed some of the
special casing previously needed when we didn't have the concept of a
local (non git) layer.
Also rename created flag var to a have a different var for each returned
value so that the same value isn't used multiple times.
[YOCTO #10220]
(Bitbake rev: ba5332d4960d7f4f79aef63136796e2fa67284e3)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of updating conf/bblayers, here we update toaster-bblayers.conf
file. So extra effort to update bblayers.conf can be removed safely.
(Bitbake rev: f3e99d820f3798869a2a1d1604709c1c324dbbab)
Signed-off-by: Sujith H <sujith.h@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When passed variable CUSTOM_BUILD_INIT_SCRIPT to toaster
setting, it would be nice to use it. Else toaster
can use oe-init script. This gives an oppurtunity to
use customized build init scritps.
(Bitbake rev: 9d168bb5f05453bdb7156793eea25da0a3119b4d)
Signed-off-by: Sujith H <sujith.h@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Limit the recursion (to say 20 levels) when processing layer dependencies
so that circular dependecies do not cause infinite decent and an
out-of-memory failure. The duplicate found layers are already immediately
filtered in the code.
[YOCTO #10630]
(Bitbake rev: e9efef0bdb8068984c3013b87aac9e872ffb38ae)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add an example settings that can be used for the basis of the production
instance of Toaster.
[YOCTO #10581]
(Bitbake rev: 1a7c356491b88c8decced39fb2039ef90065f2d2)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add some simple sanity tests for the management commands that we use for
Toaster.
Can be executed with ./manage.py test tests.commands
For faster execution use the test settings and keepdb flag:
DJANGO_SETTINGS_MODULE=toastermain.settings_test ./manage.py test
tests.commands --keepdb
(Bitbake rev: 161ea71519e7f70d4aadaafc9c3294a12612f0cb)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Write the pid file out in the start up of this management command. This
ensures this has happened instead of relying on the shell command having
been run which may or may not be the case. This also makes it simpler for
testing.
Couple of clean ups of runbuilds as identified by pyflake
(Bitbake rev: 999e980ee1a58d16f33ef6c0e41aecdcd0206f39)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
getVarFlag() now defaults to expanding by default, thus remove the
True option from getVarFlag() calls with a regex search and
replace.
Search made with the following regex:
getVarFlag ?\(( ?[^,()]*, ?[^,()]*), True\)
(Bitbake rev: c19baa8c19ea8ab9b9b64fd30298d8764c6fd2cd)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.
Search made with the following regex: getVar ?\(( ?[^,()]*), True\)
(Bitbake rev: 3b45c479de8640f92dd1d9f147b02e1eecfaadc8)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lighttpd no longer builds modules for which dependencies are not present,
so some previously available modules are no more.
(From OE-Core rev: 1008d711b57d82313e53f767fd6fae93e10418ea)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Forward-port-mips-arm-memory-barrier-patches.patch; upstream
is using standard C11 facilities for this now.
Drop 0001-callgraph-Use-U64_TO_POINTER.patch; it has been merged upstream.
(From OE-Core rev: 9425992b59afa887fbbb1d3b3598f08757de4765)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The copyright for the software has been transferred to Unicode Inc from IBM,
but the terms are same.
libiculx and libicule are no longer produced as they depend on an external
package icu-le-hb (previous versions had an option of using an internal
implementation which now has been dropped). I have verified that icu
dependencies in oe-core and meta-oe still build.
(From OE-Core rev: 24c7ed595adf16e90816e2ef7f6417740deb688d)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Based on run() in bitbake/lib/bb/process.py, ExecutionError() expects strings
not bytes. Passing bytes results in a "TypeError: Can't convert 'bytes' object
to str implicitly" exception.
Fixes Bug 10729
(From OE-Core rev: 063b63d4d324c23322ac1b6b7c7928e725d7b968)
Signed-off-by: Martin Vuille <jpmv27@yahoo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Configuration changes,
Simple changes was made to bump version and api version, related to
floating point handling now the configuration needs the inf, mantisa
and nan bytes.
The new version comes with the support of API calls like memmem and
{new,free,use}locale also structure for handle siginfo supported by
glibc and musl.
Finally use64bit{int, all} was disable because the previous
configure_args don't come with them and cases some tests to fail
related to bignum's and shared memory respectively. This doesn't
means that perl couldn't use 64-bit data types, it means that don't
stores by default into a 64 bit that is good for embedded space
purposes.
Modules changes,
Some core modules are now deprecated in order to use the core ones
like version-vpp and version-regex inside module-extutils-makemaker.
For full review see perl-rdepends.inc file.
Patches rebased,
- perl/debian/errno_ver.diff
- perl/dynaloaderhack.patch
- perl/Makefile.SH.patch
- perl/config.s
- perl/dynaloaderhack.patch
- perl/perl-test-customized.patch
Patches removed, comes with the upgrade now:
- perl/perl-remove-nm-from-libswanted.patch
- perl/perl-fix-CVE-2015-8607.patch
- perl/perl-fix-CVE-2016-2381.patch
Test,
The upgrade was test using ptest the suite is fixed now.
The pod2man and pod2text installation required now for some tests.
Buildhistory was use to review the changes and only diff changes
related to modules commented above.
(From OE-Core rev: add5e5982f010e13e3ad25690f01d5e4e391daf9)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The perl ptest is failing due to a patch changes the file
ExtUtils/Liblist/Kid.pm and the customized.dat file wasn't updated.
[YOCTO #8656]
(From OE-Core rev: 0ed3cc09e3988367fa57bd08fb7db12b7fb9dabe)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current class works fine when a recipe uses SYSTEMD_AUTO_ENABLE
'enable' and has no on device pkg_postinst(), ie when the postinst is
run as part of rootfs creation. However, when there is a component of
pkg_postinst() that is run on device the 'systemctl restart' is run as
part of the run_postinsts.service at boot. This results in the boot
spinning indefinitely with:
[ *** ] A start job is running for Run pending postinsts (7s / no limit)
The issue could potentially be that the packages service has an
'After' clause which comes later in the boot, beyond
run_postinsts.service, creating a chicken before the egg
scenario. Even service files without an 'After' clause cause this
situation however. Despite this not being the cause of the issue this
fix will prevent this scenario from happenning.
Using strace we are able to find that during boot, when
run_postinsts.service is running attempting to start or restart any
service will result in the call get stuck on poll(). Since the
run_postinsts.service does not monitor the outcome of the call to
restart we can work around this by using '--no-block'.
(From OE-Core rev: 6ad6a0084a73088fc2a27ab9958e5c46d6e094fc)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set directdisk.wks as default wks to use for qemux86 machines.
Set requried dependeincies to build directdisk image.
This should simplify building wic images for qemux86* machines.
It should be enough to add wic to the list of IMAGE_FSTYPES to get
the images built.
[YOCTO #10637, YOCTO #8719]
(From OE-Core rev: 8716b8b9be05e3f140bfa426a8e0d4eeaa2edcbe)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pseudo_1.8.1.bb gets the backported patch and pseudo_git.bb gets
updated to include the commit.
(From OE-Core rev: 4e98f3a6e6f61d9d9037ac828b9c4869f7e11458)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Writing qemuboot.conf in write_qemuboot_conf() does not modify the
rootfs and thus conceptually shouldn't be executed as part of rootfs
creation.
Running it as separate task is cleaner and fixes the problem of
missing qemuboot.conf files for meta-swupd virtual images; those
images replace do_rootfs and ROOTFS_POSTPROCESS_COMMANDs don't run at
all.
The task gets added such that it runs roughly at the same time as
before. Probably it doesn't actually need to depend on do_rootfs, but
this way we don't write a useless qemuboot.conf in cases where
do_rootfs fails.
(From OE-Core rev: c8260447ed115bc5be7df9b25e449a7744d9f2df)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Installation task fails if run in parallel. This case happens if we
define PARALLEL_MAKEINST to a different value of PARALLEL_MAKE.
(From OE-Core rev: bbe59d7c49b540d65c871666c95cc89a23cab474)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since there is no libgles3-mesa package that would pull in the headers,
add dependency to libgles2-mesa-dev. Now there no need to manually add
GLES3 headers to image or toolchain.
(From OE-Core rev: a93bbfa096cd7de8e935c6c2d2ad98d72a1c297f)
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of being executed for every file in every package, this is now just
called for each package. It is also now correctly called for packages which
don't have any content but do have postinst scripts.
[ YOCTO #10711 ]
(From OE-Core rev: afda72b2424528eaff9054327530bdf5654bec66)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
QAPATHTEST defines a function that is executed for every file in every package.
For tests which just need to look at the datastore this is massive overkill.
Add QAPKGTEST, which is invoked for each package in the recipe.
(From OE-Core rev: acc3cc26099c77e4eeb44c75bc7167ab58ef1147)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pull the test matrix processing out as a function so it can be reused.
(From OE-Core rev: 3caccd3f6079b7e284d32e1eb0217107425e7bf8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test should be looking for the expanded value of ${D} in the expanded value
of pkg_postinst and so on, but one of the getVar() calls was passing
expand=False so the test would never be true.
(From OE-Core rev: cc545044cba51317bee32e3bf674723e422e3a8a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
MIPS MACHINE_OVERRIDES can be used to provide the same objarch.h
files for MIPS pre-R2 and R6 ISA versions.
Use them to reduce duplication in supporting MIPS R6 ISA
(From OE-Core rev: a169f11cee3f4288467120cbc363f5e664b86f0c)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gmplib has some assembly routines. These have not been optimized
for MIPS R6 yet. Add --disable-assembly so that the C implementation
is used.
(From OE-Core rev: b0975809fe43b7506cc30a60245f5e32b275a3ec)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The mipsarch* MACHINE_OVERRIDES can be used to pass the same
parameters to MIPS pre-R2 and R6 ISA variants.
Use them to reduce duplication in supporting MIPS R6 ISA.
(From OE-Core rev: a48dbddab9524e78eeac53484d9dbfa0b484c561)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The mipsarch* MACHINE_OVERRIDES can be used to pass the same
parameters to MIPS pre-R2 and R6 ISA variants.
Use them to reduce duplication in supporting MIPS R6 ISA.
(From OE-Core rev: 85280798306c0c1b1f36e5a10394ffaa7c4041f9)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The mipsarch* MACHINE_OVERRIDES can be used to pass the same
parameters to MIPS pre-R2 and R6 ISA variants.
Use them to reduce duplication in supporting MIPS R6 ISA.
(From OE-Core rev: 8369b3568828b1dcff0f3a061a18367f018ac447)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add mappings for aarch64-elf and aarch64_be-elf to binary lookup table
which allows for the generation of baremetal toolchains.
(From OE-Core rev: e90a1c4b8fd7baa738eb4683e5eac60905e04296)
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We no longer use this file to start toaster. Toaster's configuration is
setup by Toaster itself using the standard Django data fixtures.
(From OE-Core rev: 2db008e1c1d6ce81d4a266c7671e4135ff250e63)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some source code of gdb is generated with flex or bison. Make both
dependencies, to avoid compilation failure on host without them.
(From OE-Core rev: ed521f12c56375de8474b0127cc8a7c25ea93e1e)
Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gnome-common is deprecated upstream and an increasingly smaller fraction of
GNOME packages still use it. To avoid adding it redundantly to DEPENDS, remove
it from the class.
(From OE-Core rev: 1d18c2b7bfaed77b30e02d14ae581d920e4eb446)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As gnome-common is deprecated it is being removed from GNOME packages, so to
avoid redundantly pulling it in as a build dependency to every package it will
be removed from gnomebase.bbclass
Add it explicitly to the recipes that still need it so these still build.
(From OE-Core rev: c8787cd0a4f6548264d02dc0dbc39ed0ec98688e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit upstream uses plain gettext instead of gnome-common and
glib-gettext.
(From OE-Core rev: 0cb171486d2ccac1b42b6026bb57cfe3d64f2fec)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This variable doesn't exist anywhere else in meta/ so presumably this is
historical legacy.
(From OE-Core rev: 6da14a9713dd37935d8918e40faeccd37b084ee4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refreshed the following patch:
a) 0001-Add-fallback-fopencookie-implementation.patch
(From OE-Core rev: 60d6c0018c6855e669ced66c420b761d9e7ddd78)
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>
The file Expat.bs (which is empty!) is created by BOOTSTRAP,
but is deleted by INST_DYNAMIC. Make sure we are not creating
and deleting it at the same time.
(From OE-Core rev: f09e0d857ae917f0a0b393374fb8d6de5a1926e6)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use up-to-date version from git. While currently there aren't official releases
newer than 0.7.5, quite some new features have been added in git, for example
the ability to disable the calibration screen timeout.
Additionally depend on libxrandr, so that xinput_calibrator can use the library
directly to obtain the geometry, instead of parsing the output of the xrandr
binary (parsing of the output can easily break, for example when the output
name is made up of two words instead of one).
(From OE-Core rev: 97e0bf4e1c79077a0f6dc25e0b8888506481f536)
Signed-off-by: Diego Rondini <diego.ml@zoho.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In particular, this fixes a crash on shutdown.
From upstream's ChangeLog:
ver 1.19:
Fix issue with DHCP parsing and Huawei modems.
Fix issue with detecting Huawei E3372 modem.
Fix issue with handling serving cell info.
Fix issue with handling SIM SC facility lock.
Fix issue with Android RIL PIN retry logic.
Fix issue with Android RIL and RAT handling.
Add support for Android RIL cell broadcast.
Add support for SoFIA 3GR thermal management.
(From OE-Core rev: a09810ef738ea1d2d643deeb255c8e6dd01ef306)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fractional durations (e.g. 0.5s) for the sleep command are useful and
not terribly uncommon in practice, especially in scripts associated
with test cases (e.g. mdadm, lttng-tools). Enable FEATURE_FLOAT_SLEEP
by default in order to avoid having to patch every instance of a
script using a fractional sleep.
The busybox binary gains a few hundred bytes in text (armv5e shown):
$ size -x busybox.nosuid.{before,after}
text data bss dec hex filename
0x89382 0x71d 0x2250 572655 8bcef busybox.nosuid.before
0x8954e 0x721 0x2250 573119 8bebf busybox.nosuid.after
(From OE-Core rev: 0f53db8a63ed35031b1fcc85057b39ad43c9abd1)
Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During processing of the kernel meta data the kern tools were
not properly exiting on syntax errors or invalid commands.
Noticing and debugging these issues wasn't trivial. To make this
easier, we now trap the error and dump the offending meta-data
for the user to see.
There was also an issue with creating branches during tree
generation, which is resolved by always switching to the
active branch.
The following are the commit logs of the changes themselves:
[
commit b36f6f9a5695f2084b83823393e13ca42284bed9
Author: Paul Gortmaker <paul.gortmaker@windriver.com>
Date: Sat Oct 22 17:23:25 2016 -0400
kgit-scc: dont mention meta-repo in help ; it doesnt exist
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
commit 08463d684c1952e74c25344cddace4c3f24c739d
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Mon Oct 31 14:30:12 2016 -0400
scc: exit on error
If there is an error in the processing of the input files, scc
should exit and inform the user.
scc is executed on a combined/preprocessed file and as a result
it doesn't have the granularity to see each input file individually.
Rather than moving preprocessing into scc (from spp), we can trap
the line number of the error and dump context around the line.
This gives the user a pointer to the input file and the specific
line that caused the problem.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
commit bf99953e8ac14cee653e559f2d4a6022c847a182
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Fri Oct 28 21:23:27 2016 -0400
kgit-meta: always checkout branches on branch commands
During a tree generation we must always make the branch active when
we see any kind of branch command. This ensures that any subsequent
patches are applied in the proper context.
Previously, only branch creation was changing the active branch, and
this mean that tree generation was not determinstic and relied
on the order of processing to generate a correct tree.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]
(From OE-Core rev: 83d10e2acef936b1f38804988f10eafa48db36f9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg -stable release 4.8.8. The short log change
summary follows:
61385cc1db42 Linux 4.8.8
8ed841d6c045 scsi: megaraid_sas: fix macro MEGASAS_IS_LOGICAL to avoid regression
32f60e9b621f scsi: megaraid_sas: Fix data integrity failure for JBOD (passthrough) devices
eb2ca7aac349 usb: dwc3: gadget: properly account queued requests
38db26fb3ae5 arch/powerpc: Update parameters for csum_tcpudp_magic & csum_tcpudp_nofold
a143c6022cef packet: on direct_xmit, limit tso and csum to supported devices
a6289d9ac3fe ip6_tunnel: Update skb->protocol to ETH_P_IPV6 in ip6_tnl_xmit()
c9e086b9009a sctp: validate chunk len before actually using it
5a37dce1b679 net sched filters: fix notification of filter delete with proper handle
d46b19687fec net: ipv6: Do not consider link state for nexthop validation
eb77db88ea11 macsec: Fix header length if SCI is added if explicitly disabled
027ab3b8ee5a netvsc: fix incorrect receive checksum offloading
b75edf27a6c3 udp: fix IP_CHECKSUM handling
5ee356021c42 sctp: fix the panic caused by route update
d90cbfaf5439 net: sctp, forbid negative length
64774617da37 net: fec: Call swap_buffer() prior to IP header alignment
c6c82c2b707e ipv4: use the right lock for ping_group_range
8418193f7052 ipv4: disable BH in set_ping_group_range()
23c110c4cdbc net: add recursion limit to GRO
d3bbd04b92fd net: core: Correctly iterate over lower adjacency list
fc5722f8f8f2 rtnetlink: Add rtnexthop offload flag to compare mask
4ac3ca8c2933 switchdev: Execute bridge ndos only for bridge ports
63d82a2cbd0c bridge: multicast: restore perm router ports on multicast enable
e9a5921c393f net: pktgen: remove rcu locking in pktgen_change_name()
2eeb5735dd04 net/mlx4_en: fixup xdp tx irq to match rx
27bb6e31d32d IB/ipoib: move back IB LL address into the hard header
f280126ec8d8 ipv6: correctly add local routes when lo goes up
0f3e77623916 ip6_tunnel: fix ip6_tnl_lookup
a148a818df84 net: phy: Trigger state machine on state change and not polling.
2a9099899a6a ipv6: tcp: restore IP6CB for pktoptions skbs
50b43ad1dce6 net_sched: reorder pernet ops and act ops registrations
dac04913ee27 drivers/ptp: Fix kernel memory disclosure
3f841d1555ad netlink: do not enter direct reclaim from netlink_dump()
5086cadf8fa4 packet: call fanout_release, while UNREGISTERING a netdev
6fff1319fdac net: Add netdev all_adj_list refcnt propagation to fix panic
9caee42c800e net/sched: act_vlan: Push skb->data to mac_header prior calling skb_vlan_*() functions
c002dfd8adaa net: pktgen: fix pkt_size
ff1b27c31706 net: fec: set mac address unconditionally
567aeca9fbb7 Linux 4.8.7
1bf121d3b234 HID: usbhid: add ATEN CS962 to list of quirky devices
05a833d4b051 cpufreq: intel_pstate: Set P-state upfront in performance mode
c89771511deb ubi: fastmap: Fix add_vol() return value test in ubi_attach_fastmap()
591bf1362e9e btrfs: qgroup: Prevent qgroup->reserved from going subzero
0c879624701d kvm: x86: Check memopp before dereference (CVE-2016-8630)
725a92be3926 ARM: fix oops when using older ARMv4T CPUs
e339609bf377 tty: vt, fix bogus division in csi_J
4a22930a74ac v4l: vsp1: Prevent pipelines from running when not streaming
59f9693a170a usb: musb: Fix hardirq-safe hardirq-unsafe lock order error
086ac9180437 usb: chipidea: host: fix NULL ptr dereference during shutdown
07bae478e1c1 usb: dwc3: Fix size used in dma_free_coherent()
fedede0963c4 pwm: Unexport children before chip removal
7b4b77b9566d omapfb: fix return value check in dsi_bind()
a3e55d6342b2 video: fbdev: pxafb: potential NULL dereference on error
13d0f5b3a399 uapi: add missing install of sync_file.h
db5025bd08ef UBI: fastmap: scrub PEB when bitflips are detected in a free PEB EC header
cc94524e8940 netfilter: xt_NFLOG: fix unexpected truncated packet
720a40113e78 i2c: mark device nodes only in case of successful instantiation
f7d8d44a68de drm: i915: Wait for fences on new fb, not old
1cefe4cb4f8c drm/i915/fbc: fix CFB size calculation for gen8+
809e9e6fc390 drm/i915: Clean up DDI DDC/AUX CH sanitation
ba0a959e0334 drm/i915: Respect alternate_aux_channel for all DDI ports
426a724c9972 drm: Release reference from blob lookup after replacing property
5064a6a05387 drm/dp/mst: Check peer device type before attempting EDID read
e6fcf953a995 drm/i915/gen9: fix watermarks when using the pipe scaler
0f7f9c456380 drm/i915/gen9: fix DDB partitioning for multi-screen cases
0cc98b5963f8 drm/fb-helper: Keep references for the current set of used connectors
14f4a463dc78 drm/fb-helper: Fix connector ref leak on error
6222f1e0b9ef drm/fb-helper: Don't call dirty callback for untouched clips
7290da41b8da drm/nouveau/acpi: fix check for power resources support
fd5f9e1e28cb drm/radeon: drop register readback in cayman_cp_int_cntl_setup
e136de5d7331 drm/radeon/si_dpm: workaround for SI kickers
fe777e7a595c drm/radeon/si_dpm: Limit clocks on HD86xx part
fa6227dbfd6a drm/imx: ipuv3-plane: Access old u/vbo properly in ->atomic_check for YU12/YV12
d040374f3473 drm/imx: ipuv3-plane: Switch EBA buffer only when we don't need modeset
51ed5a2bbf38 Revert "drm/radeon: fix DP link training issue with second 4K monitor"
ac6f210dd7a6 md: be careful not lot leak internal curr_resync value into metadata. -- (all)
eba4fe9db92f RAID10: ignore discard error
21faa6dbf53f RAID1: ignore discard error
b80fcd58e6f6 mmc: dw_mmc-pltfm: fix the potential NULL pointer dereference
1244d3c3a0f6 scsi: arcmsr: Send SYNCHRONIZE_CACHE command to firmware
2a1a0a6f1d60 scsi: scsi_debug: Fix memory leak if LBP enabled and module is unloaded
5bac49422b4a ath10k: cache calibration data when the core is stopped
a7d092e946f5 Revert "ath9k_hw: implement temperature compensation support for AR9003+"
aea7cb3b7ceb mac80211: discard multicast and 4-addr A-MSDUs
27fa1e735c70 firewire: net: fix fragmented datagram_size off-by-one
032430fb6a2c firewire: net: guard against rx buffer overflows
facb17b67ac9 Input: i8042 - add XMG C504 to keyboard reset table
8b535f07898a rtl8xxxu: Fix rtl8723bu driver reload issue
1c9edb27261e rtl8xxxu: Fix big-endian problem reporting mactime
ece1b51ae1c4 rtl8xxxu: Fix memory leak in handling rxdesc16 packets
5a805cd29284 dm raid: fix activation of existing raid4/10 devices
6e5456768ba1 dm raid: fix compat_features validation
056290446e8a dm rq: clear kworker_task if kthread_run() returned an error
13a59a868756 dm table: fix missing dm_put_target_type() in dm_table_add_target()
159a17e8dbf6 dm mirror: fix read error on recovery after default leg failure
d8db5234adef virtio: console: Unlock vqs while freeing buffers
7569d22a820d virtio_pci: Limit DMA mask to 44 bits for legacy virtio devices
0c2f67a6196d virtio_ring: Make interrupt suppression spec compliant
c528df925fba parisc: Ensure consistent state when switching to kernel stack at syscall entry
592de1000694 ovl: fsync after copy-up
3ad464dadb7c ovl: update S_ISGID when setting posix ACLs
be9015460ed5 ovl: fix get_acl() on tmpfs
2b632307635f MIPS: KASLR: Fix handling of NULL FDT
1734afcce32b nfsd: Fix general protection fault in release_lock_stateid()
202c6676b963 ARM: dts: fix the SD card on the Snowball
db20b510ca5c ARM: mvebu: Select corediv clk for all mvebu v7 SoC
c627b2e76ae2 KVM: MIPS: Precalculate MMIO load resume PC
f3a0c969e788 KVM: MIPS: Make ERET handle ERL before EXL
961cf133b710 KVM: s390: Fix STHYI buffer alignment for diag224
88aca01f8cb4 KVM: x86: fix wbinvd_dirty_mask use-after-free
ea261d177aed dm: free io_barrier after blk_cleanup_queue call
377a2a273c4b Staging: wilc1000: Fix kernel Oops on opening the device
0c4ffbf9e118 iio:chemical:atlas-ph-sensor: Fix use of 32 bit int to hold 16 bit big endian value
52a1e76f16e2 arm64: dts: marvell: fix clocksource for CP110 master SPI0
0dff3c6321a5 tty: limit terminal size to 4M chars
44f0722dc9ac xhci: workaround for hosts missing CAS bit
0894224ae7c0 xhci: add restart quirk for Intel Wildcatpoint PCH
b2d28d93cf83 hv: do not lose pending heartbeat vmbus packets
eeae0a12a166 vt: clear selection before resizing
9710f5b19328 x86/smpboot: Init apic mapping before usage
58b0a7f115f8 GenWQE: Fix bad page access during abort of resource allocation
b9aa0a7290f5 usb: increase ohci watchdog delay to 275 msec
241208e7b721 usb: renesas_usbhs: add wait after initialization for R-Car Gen3
00dbeb06292b xhci: use default USB_RESUME_TIMEOUT when resuming ports.
1e306cd37a66 USB: serial: ftdi_sio: add support for Infineon TriBoard TC2X7
d082fd105eb9 USB: serial: cp210x: fix tiocmget error handling
e8bf726705bd USB: serial: fix potential NULL-dereference at probe
23124735a6f0 usb: gadget: function: u_ether: don't starve tx request queue
fe4af125085a usb: gadget: udc: atmel: fix endpoint name
420d16894425 mei: txe: don't clean an unprocessed interrupt cause.
5d30e8f65073 ubifs: Fix regression in ubifs_readdir()
b8176cc56bf1 ubifs: Abort readdir upon error
1755f43e9a90 timers: Lock base for same bucket optimization
e18ed431d7da timers: Plug locking race vs. timer migration
b5e3a038997a timers: Prevent base clock corruption when forwarding
665f7bf33aa8 timers: Prevent base clock rewind when forwarding clock
0d621c57e739 x86/microcode/AMD: Fix more fallout from CONFIG_RANDOMIZE_MEMORY=y
e599203f55ad powerpc/64: Fix race condition in setting lock bit in idle/wakeup code
51d784b54768 powerpc/64: Re-fix race condition between going idle and entering guest
2c7ff0e5c311 powerpc/mm/radix: Use tlbiel only if we ever ran on the current cpu
ae150de2d5e0 powerpc: Convert cmp to cmpd in idle enter sequence
1198fbca645e btrfs: fix races on root_log_ctx lists
bc720ae2ffab cxl: Fix leaking pid refs in some error paths
2a997e83960b ANDROID: binder: Clear binder and cookie when setting handle in flat binder struct
599cfd58ffde ANDROID: binder: Add strong ref checks
2a0efa30b15c ALSA: hda - Fix headset mic detection problem for two Dell laptops
2585e17b71c7 ALSA: hda - Fix surround output pins for ASRock B150M mobo
14456570a4a5 ALSA: hda - Adding a new group of pin cfg into ALC295 pin quirk table
54186c7dd2ec ALSA: hda - allow 40 bit DMA mask for NVidia devices
0f574c90d747 ALSA: seq: Fix time account regression
8ccf154b2654 ALSA: usb-audio: Add quirk for Syntek STK1160
9d3f5b85ef8b device-dax: fix percpu_ref_exit ordering
33bcff297228 security/keys: make BIG_KEYS dependent on stdrng.
5152986c9257 KEYS: Sort out big_key initialisation
5daa841d0437 KEYS: Fix short sprintf buffer in /proc/keys show function
0a38e6c551c4 thermal/powerclamp: correct cpu support check
5db5e0c11c13 mm: memcontrol: do not recurse in direct reclaim
68adb469dd3b mm/slab: fix kmemcg cache creation delayed issue
67ae004e2c52 mm/list_lru.c: avoid error-path NULL pointer deref
5cb73199ca48 libxfs: clean up _calc_dquots_per_chunk
d00057ecf82f gpio: GPIO_GET_LINE{HANDLE,EVENT}_IOCTL: Fix file descriptor leak
c70eb2cc1276 gpio: GPIOHANDLE_GET_LINE_VALUES_IOCTL: Fix another information leak
6bba4b226521 gpio: GPIO_GET_LINEEVENT_IOCTL: Reject invalid line and event flags
e2144827d96b gpio: GPIO_GET_LINEHANDLE_IOCTL: Reject invalid line flags
c0699405b147 gpio: GPIO_GET_LINEEVENT_IOCTL: Validate line offset
49bdfb21e37d gpio: GPIOHANDLE_GET_LINE_VALUES_IOCTL: Fix information leak
e22edf53b40f gpio: GPIO_GET_LINEHANDLE_IOCTL: Validate line offset
a23a59c56a53 gpio: GPIO_GET_CHIPINFO_IOCTL: Fix information leak
78ae767553e4 gpio: GPIO_GET_CHIPINFO_IOCTL: Fix line offset validation
56ffab4f532e gpio / ACPI: fix returned error from acpi_dev_gpio_irq_get()
4366246129ca h8300: fix syscall restarting
a639266ae0c3 spi: mark device nodes only in case of successful instantiation
d6634d871199 spi: fsl-espi: avoid processing uninitalized data on error
0cee66b72acc drm/dp/mst: Clear port->pdt when tearing down the i2c adapter
f2ffb21fb495 i2c: core: fix NULL pointer dereference under race condition
0fda1cdcbb72 i2c: xgene: Avoid dma_buffer overrun
9c619c2a8d4d i2c: rk3x: Give the tuning value 0 during rk3x_i2c_v0_calc_timings
(From OE-Core rev: f95903012735e764ae0608a17fc6d4d8c139eb83)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker sent along updates to the latest 4.8 -rt version.
Updating the SRCREVs to include the following commits:
f83a3d4a643b v4.8.6-rt5
74c7ffc2e3f2 NFSv4: don't disable preemption on !RT
9711dc408890 kbuild: Add -fno-pie to KBUILD_AFLAGS:
7b4d4278e307 v4.8.6-rt4
24aa22031f3c v4.8.2-rt3
8541163464e2 kbuild: add -fno-PIE
81b61ced2d45 NFSv4: replace seqcount_t with a seqlock_t
a8300ce29d0c worqueue: document the proper argument
9711591ebdc3 genirq: document swork member
1aace69fd88f rbtree: include barrier.h
74d4589809f2 rxrpc: remove unused static variables
a941e2f0611c x86/apic: get rid of "warning: 'acpi_ioapic_lock' defined but not used"
9888d1c2e3ab hotplug: Call mmdrop_delayed() in sched_cpu_dying() if PREEMPT_RT_FULL
debf0ec42b2e drivers/zram: Don't disable preemption in zcomp_stream_get/put()
c84b472ee376 mm/zs_malloc: Fix bit spinlock replacement
c17de80bfeba zsmalloc: turn that get_cpu_light() into a local_lock()
33586701e8ad connector/cn_proc: Protect send_msg() with a local lock on RT
b20867d36bcd ftrace: Fix trace header alignment
(From OE-Core rev: 6840594c43b892056886f471575ccb49a78f34e4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was reported that compilation was broken for the in tree variant of
cryptodev. This commit integrates two patches that fix the issue:
efbdfa1ed95f cryptodev: stomp dynamic version numbering for in tree builds
32f54070205f cryptodev: fix compile error when enable CONFIG_CRYPTODEV
(From OE-Core rev: b91469ac21825a86eb7a71f1e91206719061bcaa)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Scripts that produces script data to be consumed by gnuplot.
There are two possible plots depending if either the
-S parameter is present or not:
* without -S: Produces a histogram listing top N recipes/tasks versus
stats. The first stat defined in the -s parameter is the one taken
into account for ranking
* -S: Produces a histogram listing tasks versus stats. In this case,
the value of each stat is the sum for that particular stat in all recipes found.
Stats values are in descending order defined by the first stat defined on -s
EXAMPLES
1. Top recipes' tasks taking into account utime
$ buildstats-plot.sh -s utime | gnuplot -p
2. Tasks versus utime:stime
$ buildstats-plot.sh -s utime:stime -S | gnuplot -p
3. Tasks versus IO write_bytes:IO read_bytes
$ buildstats-plot.sh -s 'IO write_bytes:IO read_bytes' -S | gnuplot -p
(From OE-Core rev: 74408c19fba89de54c093fccf65b3a072d6a197b)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the (non-factual) x utils dependencies from x11-common to
x11 packagegroup.
Remove some obsolete configuration from x11-common:
* Xsession.d/12keymap.sh: commented out xmodmap call for kdrive
* default.xmodmap: xmodmap file used by 12keymap.sh
* Xdefaults: rxvt configuration
At this point x11-common is just /etc/X11/Xsession and three
non-intrusive Xsession scripts: make these explicitly part of
xserver-nodm-init. RCONFLICT with the versions of xserver-common
that also provide these files.
VIRTUAL-RUNTIME_xserver_common is no longer a real abstraction but
preserve the setting for backwards compatibility (if the variable
is set to "xserver-common", the right thing still happens).
(From OE-Core rev: ee153327b046fe8474e498f39ecc87e573bc8604)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-oe provides a 2.0 version of this recipe, but this one now
does everything the meta-oe version does.
There's one exception though: xserver-common is not a runtime
dependency. This needs to be added elsewhere for the platforms that
require it.
(From OE-Core rev: bf6fd144b6f3539009089df5f188d09c7c899140)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following patch fix build for c293pcie PPC machine :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=8941017b
This patch is a backport from master branch.
Fix error:
/
|ERROR: binutils-2.27-r0 do_package: runstrip: ''powerpc-fslc-linux-gnuspe-strip'
|--remove-section=.comment --remove-section=.note --strip-unneeded
|'../tmp/work/ppce500v2-fslc-linux-gnuspe/binutils/2.27-r0/package/usr/lib/
|libbfd-2.27.0.20160806.so'' strip command failed with 1
|(b'powerpc-fslc-linux-gnuspe-strip: ../tmp/work/ppce500v2-fslc-linux-gnuspe/
|binutils/2.27-r0/package/usr/lib/stJMAEnm: Not enough room for program headers,
|try linking with -N\npowerpc-fslc-linux-gnuspe-strip:../tmp/work/
|ppce500v2-fslc-linux-gnuspe/binutils/2.27-r0/package/usr/lib/stJMAEnm
|[.note.gnu.build-id]: Bad value\n')
\
(From OE-Core rev: 3526c23ae98d2e08af20b77175c12907355ec42a)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the patch that was applied in the python3 and python3-native
recipes to skip compilation of python modules.
Modify generate-manifest-3.5.py to match '__pycache__' directories in
FILES_*.
This is necessary because Python3 puts .pyc files in '__pycache__'
subdirectories one level below the corresponding .py files, whereas in
Python2 they used to be right next to the sources.
This change significantly reduces the startup overhead of Python3
scripts. For example, on a Cortex-A9, "python3 -c pass" took 0.40s
before, and 0.19s after.
(From OE-Core rev: bb4d689769703177dbb0df0935e15016b879f42b)
Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Forcibly disable Boost as the macros it looks for are also present in our C++
standard library.
Enable c++11 in cmake as well as in CXXFLAGS [Khem Raj]
CXXFLAGS is required due to a cmake bug where it does not honor CMAKE_CXX_FLAGS
during configure time checks [Khem Raj]
(From OE-Core rev: 6a56ff7885f43abdb3b9bfeb733be6fee1de237c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I noiced builds where tasks seemed to be taking a surprisingly long time.
When I looked at the output of top/pstree, these tasks were no longer
running despite being listed in knotty. Some were in D/Z state waiting for
their exit code to be collected, others were simply not present at all.
strace showed communication problems between the worker and cooker, each
was trying to write to the other and nearly deadlocking. Eventually, timeouts
would allow them to echange 64kb of data but this was only happening every
few seconds.
Whilst this particularly affected builds on machines with large numbers
of cores (and hence highly parallal task execution) and in cases where
I had a lot of debug enabled, this situation is clearly bad in general.
This patch introduces a thread to the worker which is used to write data
back to cooker. This means that the deadlock can't occur and data flows
much more freely and effectively.
(Bitbake rev: 3cb0d1c78b4c2e4f251a59b86c8da583828ad08b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The change to move C++ ABI tweaks to bitbake.conf should make this redundant, so
revert it.
This reverts commit c56cd49a12.
(From OE-Core rev: af280990bff4a484fd8a18e3442b56a0a39b7611)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create a common include file for compiler flags which allow native binaries to
be interoperable on a wide range of hosts. In particular the C++ ABI is
problematic so choose the CXX11 version to allow interoperation between gcc4 and
gcc5 based hosts. Moving this to a common include instead of uninative.bbclass
allows uninative to be configured later and used in the eSDK (where its
mandatory) even if the base configuration doesn't enable uninative by default
(e.g. nodistro in OE-Core).
[ YOCTO #10645 ]
(From OE-Core rev: 60c912ae9306532bdd4c5e09a65863ee77c12f43)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some packages with recipes for both python2 and python3
must be upgraded simultaneously to avoid version conflicts
due to common dependencies.
This change distributes responsibilities to provide
a single maintainer for related recipes.
(From meta-yocto rev: 3318697f529bb3f821b46e64b12e59c2f2aad1ea)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10351]
I added a note to the "Post Installation Scripts" section of the
"Writing a New Recipe" section to call out the fact that the
RPM package manager will not install packages on the target when
any RPM post-install script returns a non-zero exit code when
the script is run on the target.
(From yocto-docs rev: 8565b0ba874f3357500a91640c0f77077c83b8d6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10692]
I updated the STAGING_DIR variable description to have a reference
to the SYSROOT_DIRS variable as well as the "Sharing Files
Between Recipes" section of the dev-manual.
I also updated the "Sharing Files Between Recipes" section so
that the role of SYSROOT_DIRS is explained and actually used
in an example to add another directory.
(From yocto-docs rev: 6539fcf632cfa3f076f874535ee9fc7ac291fbce)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #8584]
Made some edits to tighten this down and make it more efficient.
(From yocto-docs rev: d5a37b77fa5c8df766248849601ca229502bb4ab)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add patches to fix error:
/
| ERROR: oe_runmake failed
| config.status: creating pcap-config.tmp
| mv pcap-config.tmp pcap-config
| chmod a+x pcap-config
| ../libpcap-1.8.1/gencode.c: In function 'pcap_compile':
| ../libpcap-1.8.1/gencode.c:693:8: error: 'compiler_state_t
| {aka struct _compiler_state}' has no member named 'ai'
| cstate.ai = NULL;
| ^
| ../libpcap-1.8.1/gencode.c: In function 'gen_gateway':
| ../libpcap-1.8.1/gencode.c:4914:13: error: 'cstate' undeclared
| (first use in this function)
| bpf_error(cstate, "direction applied to 'gateway'");
| ^~~~~~
| ../libpcap-1.8.1/gencode.c:4914:13: note: each undeclared identifier is
| reported only once for each function it appears in
\
Patches were submitted to upstream [1]
[1] https://github.com/the-tcpdump-group/libpcap/pull/541
(From OE-Core rev: 9f1fe76727e98e58fc9e46ea2b49cf5c0cb48e6c)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New major release with OpenGL 4.4 support. Dependency on libudev has
been removed.
* Rebase replace_glibc_check_with_linux.patch
* Add patch to find native wayland-scanner
* Add PACKAGECONFIG[osmesa], disabled by default
* package osmesa header correctly
(From OE-Core rev: be60ffcbbdcd370f9d367db887d31a8ccc6b2519)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In previous implementation, a UnicodeDecodeError exception will be
raised if multi-byte encoded characters are printed by the subprocess.
As an example, the following command will fail in an en_US.UTF-8
environment because wget quotes its saving destination with '‘'(0xE2
0x80 0x98), while just the first byte is provided for decoding:
devtool add recipe http://example.com/source.tar.xz
The patch fixes the issue by avoiding such kind of incomplete decoding.
(From OE-Core rev: 1875ea92546d23abcab1b40b562477a0016f712d)
Signed-off-by: Jiajie Hu <jiajie.hu@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When build nxp-ls10xx which enable hard-float, it try to force soft-float:
| checking if compiling with clang... no
| checking for options to compile assembly...
| checking whether -freg-struct-return works... yes
| checking for options to get soft-float... no
| configure: error: could not force soft-float
Set COMPATIBLE_HOST_armv7ve to null to skip the build.
(From OE-Core rev: 2758f03cc380990265b0bc139841d6735e0afd8d)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both python-scons and python-scons-native need to be upgraded to latest
upstream version.
This change was tested using qemux86 with core-image-sato.
(From OE-Core rev: b3dc1eb3baf54a313a9de03700d57f592bbd73b8)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python-pexpect needs to be upgraded to latest upstream version.
This change was tested using qemux86 with core-image-sato
(From OE-Core rev: 3778171260e02a1054790418b5117db587315321)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both python-mako and python3-mako need to be upgraded to latest upstream
version.
This change was tested using qemux86 with core-image-sato.
(From OE-Core rev: 7828fd75ca8bf3480141237ba300d01a81634b91)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both python-git and python3-git need to be upgraded to latest upstream
version.
This change was tested using qemux86 with core-image-sato.
(From OE-Core rev: e5d8b008d5a1385097a2ac642b8daf8940a899a6)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This extends the RPROVIDES list to include:
- python3-datetime-native
- python3-enum-native
- python3-terminal-native
(From OE-Core rev: 462ccb35a5de32b52ddb733d1868df6ac5426f20)
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>
Bobby Bingham (2):
treat null vdso base same as missing
add s390x port
Rich Felker (2):
generalize ELF hash table types not to assume 32-bit entries
work around gdb issues recognizing sigreturn trampoline on x86_64
(From OE-Core rev: 39829ef1b8bba3499255c59a4b9713e68a33ddc1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mount nfs directory would fail if no specific nfsvers:
mount -t nfs IP:/foo/bar/ /mnt/
mount.nfs: an incorrect mount option was specified
mount.nfs currently expects mount(2) to fail with EPROTONOSUPPORT if
the kernel doesn't understand the requested NFS version.
Unfortunately if the requested minor is not known to the kernel
it returns -EINVAL.
Backport patch from nfs-utils-1.3.4 to fix this issue.
(From OE-Core rev: 332596628697d28ae6e8c2271c9658aaf5e54796)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was already whitelisted, but the 4.8 kernel changed the error
message, causing it to get caught by parselogs again.
Fixes [YOCTO #10494].
(From OE-Core rev: e1bad14231115f3b1a2bf844ef5b2022c648b55d)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use SHA256 as default digest for OpenSSL instead of MD5.
CVE: CVE-2004-2761
The MD5 Message-Digest Algorithm is not collision resistant,
which makes it easier for context-dependent attackers to
conduct spoofing attacks, as demonstrated by attacks on the
use of MD5 in the signature algorithm of an X.509 certificate.
Upstream-Status: Backport
Backport from OpenSSL 2.0 to OpenSSL 1.0.2
Commit f8547f62c212837dbf44fb7e2755e5774a59a57b
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(From OE-Core rev: f924428cf0c22a0b62769f8f31f11f173f25014f)
Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: T.O. Radzy Radzykewycz <radzy@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some rolling release distros, such as Arch Linux, don't include a
VERSION_ID field in their os-release file.
Change release_dict_osr() to better handle this optional field
being absent.
Further improve the resilience of the release_dict_*() methods by
always returning a dict and using dict.get() in distro_identifier()
to supply a default, empty string, value when then key is missing.
(From OE-Core rev: e36066dcc3b56cac1c695370ea178b566c0ebfd6)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are many more stats on buildstats that 'Elapsed time', so make the script
more flexible to support all stats. Some cmd line examples:
$ buildstats.sh -s 'utime'
Buildstats' data covers proc's stats in different areas, including CPU times,
IO, program system resources and child program system resources. In order
to print values on each of these sets from command line, one can use the
following:
$ buildstats.sh -H -s 'TIME' | less
$ buildstats.sh -H -s 'IO' | less
and 'RUSAGE' and 'CHILD_RUSAGE' for program and program's child system
resources.
(From OE-Core rev: 81479b191287ccbf4cf94fa2d0ad46813091bca1)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All lines except one (the one containing the 'Elapsed Time') follows the format
'stat: value'. Fix that so post parsing the stats is simpler.
(From OE-Core rev: 47dfd172754440a7ab28eb1b59d9bd484cdad22a)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The hello-mod recipe is unusual in that it has only local files in
SRC_URI and builds these out of ${WORKDIR}. When you use devtool modify
on it, devtool puts all of those files in an "oe-local-files"
subdirectory of the source tree, which is not ${S} (or ${B}) any more
and thus building the recipe afterwards fails. It's a bit of a hack, but
symlink the files in oe-local-files into the source tree (and commit the
symlinks with an ignored commit so that the repo is clean) to work
around the problem. We only do this at time of extraction, so any files
added to or removed from oe-local-files after that won't be handled, but
I think there's a limit to how far we should go to support these kinds
of recipes - ultimately they are anomalies.
I initially tried a hacky workaround where I set effectively set B =
"${WORKDIR}" and that allowed it to build, but other things such as the
LIC_FILES_CHKSUM checks still broke because they expected to find files
in ${S}. Another hack where I set the sourcetree to point to the
oe-local-files subdirectory works for hello-mod but not for makedevs
since whilst that is similar, unlike hello-mod it does in fact have
files in the source tree (since it has a patch that adds COPYING) and
thus the same issue occurred.
Also tweak one of the tests that tries devtool modify / update-recipe on
the makedevs recipe to try building it since that would have caught this
issue.
Fixes [YOCTO #10616].
(From OE-Core rev: 857c06d6a1d161bf5a01311d07758bd4241929a3)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A FOSSology related variable was renamed from FOSS_COPRYIGHT to
FOSS_NO_COPYRIGHT, but the comment block describing the variable
in licenses.conf was missed.
Besides fixing this, this change also removes a redundant comment
about where the variable is defined (it's right there! ;-)).
(From OE-Core rev: 5f08d4ea1b4ddf04d7f1d8aa38c0dac9b1af44bc)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* The webkitgtk package should recommend the ca-certificates one,
because any program usign webkit (and not only epiphany) would
expect that the CAs certificates are available and that https
validation works as expected.
* For example, webkitgtk includes a MiniBrowser program that would
fail to proper verify https sites if the ca-certificate package
is not installed
* Instead of making each one of the webkitgtk consumers care about
the certificate package, do this in webkit itself.
(From OE-Core rev: fe694f9713595fc5f83c47111f03fc8a0a222f14)
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The .deb import feature did not import postinst, postrm, preinst, or
prerm functions. This change checks to see if those files exist, and
if so, adds the appropriate functions.
[ YOCTO #10421 ]
(From OE-Core rev: ebb73aa6ad920bfd6a23f8c20105d6bcf07dd3d5)
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For now, the rpm macro for multilib is not installed correctly. For
example, in x86-64 lib32 situation, the macro is installed under
tmp/work/x86-pokymllib32-linux/rpm/5.4.16-r0/image/usr/lib/rpm/poky/i686-linux/.
The directory is even not under WORKDIR. And it will of course not be
packaged.
We need to save necessary values before updating the localdata and restore
them so that the macros could be installed into the correct directory.
(From OE-Core rev: 40e92de46489bdab0af48fedc46c0d153355f15c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replicate bitbake and eforce en_US.UTF-8 locale so that ouptut of locale-aware
tools remains stable.
(From OE-Core rev: 17cd2cb99d3610fd77595ff116b2168188c250cd)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When attempting to run devshell, if no terminal is available, the
error being thrown was not very specific. This adds a list of
commands that failed, informing the user of what they can install to
fix the error.
[ YOCTO #10472]
(From OE-Core rev: c077f4aab2fc956408d4ad45c4e2e2ea6e480624)
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently systemd depends on systemd-container due to a dangling
symlink deployed with systemd.
Move the symlink to systemd-container.
| DEBUG: systemd contains dangling link /lib/systemd/system/systemd-machined.service
| DEBUG: target found in systemd-container
(From OE-Core rev: e12912ac7484654c201d167831b302a821e14972)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The old code:
network_enabled = not d.getVar('BB_NO_NETWORK', True)
It is True only when BB_NO_NETWORK is not set (None),
but BB_NO_NETWORK = "0" should also be True while "1" means no network,
"0" means need network in a normal case.
(From OE-Core rev: 3d8db6cb992f96023a0486f64fe6b0f1ead04184)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can help fix the problem when the error happens.
Now the error message is:
Fetcher failure for URL: 'https://www.example.com/'. URL https://www.example.com/ doesn't work.
Please ensure your host's network is configured correctly,
or set BB_NO_NETWORK = "1" to disable network access if
all required sources are on local disk.
(From OE-Core rev: 0b31a03c59efea3a8742762772e39dcbd6f8ed25)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The TOOLCHAINEXT_OUTPUTNAME is different from TOOLCHAIN_OUTPUTNAME, it
is used for eSDK only, so that it doesn't mix with SDK, use "?=" for it
so that other conf file can define it.
If we don't use "?=" here, then we need use forcevariable to redfine it:
TOOLCHAINEXT_OUTPUTNAME_forcevariable = "foo"
(From OE-Core rev: 933539a07af3f1cca79e49b0ea92cb7699095f96)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch has been superseded by 2907b1 in gobject-introspection, which we're
now shipping.
(From OE-Core rev: f5c11a40008801aef5ab8df10ee837ad23c24b8d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes more sense than the default TERM=linux (as set
by the linux kernel).
In addition, when using busybox init, it tries to achieve
the same (in a different way).
Both agetty, and busybox getty support the terminal type as
the last argument.
(From OE-Core rev: a23004f32dda9310c7efc29720fa9c3027a7c329)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When uninstalling update-alternatives, it doesn't seem to
make much sense to keep the update-alternatives database
around.
In particular when removing packaging data, e.g. due to
read-only rootfs, update-alternatives is removed from
the target file system. Leaving its database around
serves no purpose in that case as there is no way to
use it afterwards anyway.
This frees close to 700KB of (uncompressed) space in
a busybox based environment.
(From OE-Core rev: b24a63d71b517af701dfedbc7f7b541d25af708f)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you have a file:// entry in SRC_URI with a subdir= parameter that
makes it extract into the source tree, then when you update that file in
oe-local-files and run devtool update-recipe then you want the original
file to be updated. This was made to work by OE-Core commit
9069fef5dad5a873c8a8f720f7bcbc7625556309 together with
31f1bbad248c36a8c86dde4ff57ce42efc664082, however until now there was no
oe-selftest test to verify it.
Note that in order to succeed this test also requires the fix
"lib/oe/recipeutils: ignore archives by default in
get_recipe_local_files()" since the test recipe uses a local tarball.
(From OE-Core rev: 936eba3e1059d1dcd5e58c1ce76870fff7b11b3c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, have get_recipe_local_files() not return any archive
files. This prevents a local tarball from being erroneously removed
from SRC_URI if you run "devtool modify" on a recipe followed by
"devtool update-recipe". It doesn't actually help you to directly
update the contents of such tarballs, but at least now it won't break
the recipe.
(From OE-Core rev: e9c418d4704c1bed4c5880e176e5288485f4f5a6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you have a patch remotely fetched in a recipe (e.g. from an http
server) that needs updating then add a local version and substitute the
entry in SRC_URI to point to it.
One can argue about how desirable it is to be modifying patches fetched
in this way, but then one can argue about how desirable it is to have
such patches in the recipe in the first place - and in any case if
devtool update-recipe is to correctly transfer changes to such patches
made in the git repository within the source tree to the recipe then
there isn't much choice but to do it this way.
(From OE-Core rev: a19c26cc78a181f9dd2706dd42e7e450d7ad4082)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is possible to use gzip or bzip2 to compress patches and still refer
to them in compressed form in the SRC_URI value within a recipe. If you
run "devtool modify" on such a recipe, make changes to the commit for
the patch and then run devtool update-recipe, we need to correctly
associate the commit back to the compressed patch file and re-compress
the patch, neither of which we were doing previously.
Additionally, add an oe-selftest test to ensure this doesn't regress in
future.
Fixes [YOCTO #8278].
(From OE-Core rev: e47d21624dfec6f71742b837e91da553f18a28c5)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a patch applied by a recipe has no header and we turn the recipe's
source into a git tree (when PATCHTOOL = "git" or when using devtool
extract / modify / upgrade), the commit message ends up consisting only
of the original filename marker ("%% original patch: filename.patch").
When we come to do turn the commits back into a set of patches in
extractPatches(), this first line ends up in the "Subject: " part of
the file, but we were ignoring it because the line didn't start with the
marker text. The end result was we weren't able to get the original
patch name. Strip off any "Subject [PATCH x/y]" part before looking for
the marker text to fix.
This caused "devtool modify openssl" followed by "devtool update-recipe
openssl" (without any changes in-between) to remove version-script.patch
because that patch has no header and we weren't able to determine the
original filename.
(From OE-Core rev: d9971f5dc8eb7de551fd6f5e058fd24770ef5d78)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a test to ensure devtool update-recipe works properly on recipes
that contain only local files (since the other tests we have didn't test
that).
Relates to [YOCTO #10563].
(From OE-Core rev: bdc844b3f0c3fbddcd3523095899a5bd29797704)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of the move to Python 3 and the fixes we applied at that time,
bb.process.run() will return a byte array of length 0 rather than an
empty string if the output is empty. That may be a bug that we should
fix, but for now it's easiest to just check the result here before
treating it as a string. This fixes running "devtool update-recipe" or
"devtool finish" on a recipe which has no source tree, for example
initramfs-framework.
Fixes [YOCTO #10563].
(From OE-Core rev: 66bf6978fc807ecc422fb6b6328f68bc3406cf15)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We strip the TOOLCHAIN_OPTIONS and HOST_CC_ARCH from CC/CXX in cmake.bbclass
whereas CFLAFS and CXXFLAGS assume that TOOLCHAIN_OPTIONS are
part of CC/CXX variables, this causes compile failures when cmake
is running compiler tests during configure on some architectures
especially armhf, because hf ABI information -mfloat-abi is part
of TOOLCHAIN_OPTIONS, so what happens is that testcase gets compiled
without hard-float, howver, during linking the float ABI option
is passed via LDFLAGS, now linker rejects this and fails like
/mnt/a/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/6.2.0/ld: error: cmTC_27947 uses VFP register arguments, CMakeFiles/cmTC_27947.dir/src.cxx.o does not
mnt/a/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/6.2.0/ld: failed to merge target specific data of file CMakeFiles/cmTC_27947.dir/src.cxx.o
collect2: error: ld returned 1 exit status
This means that CMake now fails the configure time test too
which is not right, e.g. it might disable features which actually do exist
and should be enabled e.g. in case above it is resulting as below
Performing C++ SOURCE FILE Test HAS_BUILTIN_SYNC_SUB_AND_FETCH failed with the following output:
Its actually a bug in CMake see
https://gitlab.kitware.com/cmake/cmake/issues/16421
CMake is ignoring CMAKE_CXX_FLAGS when using CHECK_CXX_SOURCE_COMPILES
function.
Until it is fixed upstream, we add HOST_CC_ARCH and TOOLCHAIN_OPTIONS
to CFLAGS and CXXFLAGS, so that we can ensure that compiler invocation
remains consistent.
(From OE-Core rev: 826f3cdb474b5728b22f08d2342fc90235ca9e7d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a systemd service file has changed it is required to reload
systemd's configuration. Otherwise changes to a service file will not be
picked up during package upgrade.
(From OE-Core rev: 94efe6d1d7893e241bcf98eff80ac8d8fbf2e885)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Makefile in directory tests has been renamed, then update script
run-ptest to follow the change.
(From OE-Core rev: 364565f3f3baccc9757ce0dcb393464b38055b4f)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This script claims to be a /bin/sh script, but it uses
a bashism:
from checkbashisms:
possible bashism in meta/recipes-connectivity/openssl/openssl/openssl-c_rehash.sh line 151 (should be 'b = a'):
if [ "x/" == "x$( echo ${FILE} | cut -c1 -)" ]
This causes build issues on systems that don't have
/bin/sh symlinked to bash:
Updating certificates in ${WORKDIR}/rootfs/etc/ssl/certs...
<builddir>/tmp/sysroots/x86_64-linux/usr/bin/c_rehash: 151: [: x/: unexpected operator
...
Fix this by using POSIX shell syntax for the comparison.
(From OE-Core rev: 0526524c74d4c9019fb014a2984119987f6ce9d3)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Reviewed-by: Sylvain Lemieux <slemieux@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
(From OE-Core rev: 6be164d691291a297c8211bdb92f095bbfbd22fe)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
glib-networking 2.50 moved away from intltool to modern gettext, so remove the build dependency.
(From OE-Core rev: 709004afe9f55126400f4ca70454b3e69a19fa6a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The call of methods iteritems() and itervalues() in sample codes were
replaced by items() and values() to convert to Python 3 by Bitbake rev
d0f904d407f57998419bd9c305ce53e5eaa36b24. But the methods iteritems()
and itervalues() belong to class COWDictMeta not class dict or set. The
modifications should not be made in purpose that it fails to run sample
codes, so revert them.
(Bitbake rev: d140f0ee6f301264e226914766d9f63558acfd6c)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we can now provide layer definitions through fixtures we need to be
more clever how we update the metadata in the database to avoid
duplicate metadata being created. To do this we make more effort to
match existing data in the database and update only the fields which
will be better provided by the layer index.
This removes the need for us to special case layers which are provided
as part of poky such as openembedded-core or meta-poky which exist on
the layerindex but with different git urls.
(Bitbake rev: f981b68f66718d5b196684f4e378a5f195ff0337)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the master release option to base your project on and correct the
morty release so that for poky based setups we use the poky provided
version of the layer rather than checking out the layer from its own git
repository.
[YOCTO #10497]
(Bitbake rev: c83ab92362378b22d3f4d6119bf362f704577ca2)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Error handling only caught the cause where a dependency did not have
any colon, but ignored the case where more than one was given. Now
"pn:task:garbage" will raise an error instead of ignoring ":garbage".
The error message had a misplaced line break (?) with the full stop
on the next line. Indenting the explanation with a space might have
been intended and is kept.
split() was called three times instead of just once.
Instead of improving the two instances of the code (one for 'depends',
one for 'rdepends'), the common code is now in a helper function.
(Bitbake rev: 063d255fdcb3f79b2d1b0badedc80384b295a3f5)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 260ced745 added __BBTASKS, __BBANONFUNCS, __BBHANDLERS to the
data that gets hashed, but only after reordering these lists. The
intention probably was to make the hash deterministic, but that's
unnecessary (the content of the variables should already be
deterministic) and hides potential reasons that might require
re-parsing.
(Bitbake rev: 3511d464f3a9d8b4334cda384b35016de69ce49e)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've been building to this for a while, default to return expanded
values for getVar/getVarFlags.
We can then go through and remove the "True" option to many of the
calls to this function, all function calls should have a default by now
though since the parameter has been required for a while.
(Bitbake rev: caf5bb9b7fe254bca9da077ebcb84a37d1f96dd4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The old style bb.data.getVar/setVar API has long since been deprecated in
favour of d.getVar/setVar and friends.
Now we're about to change the default expansion parameter, drop the old APIs
to simplify the transition and ensure everyone is using the new style functions.
Conversion is trivial if there are remaining stragglers.
I've left bb.data.expand() for now since its more widely used but would make a good
follow up patch series.
(Bitbake rev: 1825604d46fcd29fad6cfd325f1cb1e1b457d2c9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The old style bb.data.getVar/setVar API is obsolete. Most of bitbake
doesn't use it but there were some pieces that escaped conversion. This
patch fixes the remaining users mostly in the fetchers.
(Bitbake rev: ff7892fa808116acc1ac50effa023a4cb031a5fc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If ud.ignore_checksums is set (which we currently use to suppress the
warnings for missing SRC_URI checksums when fetching files from
scripts), then if we're fetching an npm package we should similarly
suppress the warnings when NPM_LOCKDOWN and NPM_SHRINKWRAP aren't set.
At the same time, make any errors reading either of these files actual
errors since if the file is specified and could not be found, that
should be an error - not the exact same warning.
Fixes [YOCTO #10464].
(Bitbake rev: cefb8c93c8299e68352cf7ec5ad9ca50c0d499ed)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bb.data API is deprecated, use d.getVar instead.
(From OE-Core rev: 3246319233fd111d42e0a2c2b0d6983a604d5b81)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of Django 1.8.16, Django is rejecting any HTTP_HOST header that is
not on the ALLOWED_HOST list. We often need to reference the
toaster server via a fqdn, if we start it via webport=0.0.0.0:8000 for
instance, and are hitting the server from a laptop. This change does
reduce the protection from a DNS rebinding attack, however, if you are
running the toaster server outside a protected network, you should be
using the production instance.
[YOCTO #10578]
(Bitbake rev: 7f51149453c96a3f1da64ea85306518fd2b65f21)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to the following:
* All manual revision tables to indicate a 2.3 release proposed
for April of 2017.
* Updated the poky.ent file so that all variables needed reflect
2.3 values.
* Updated the mega-manual.sed file so that processing of links in
the mega-manual work for a 2.3 release.
(From yocto-docs rev: 926e282c17b67c79b94a0b62a0b18bfbe0b26c40)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #8584]
This fix essentially had to document how to add the API
documentation to the standard SDK. The fix required adding a
new appendix to the SDK manual on how to customize that
standard SDK. I could not put just one topic in a new appendix
so I also added a sub-section on how to add indidual packages
to the standard SDK.
Other changes here were the introduction of a new file for the new
appendix, updated the mega-manual.xml file so that it would include
the new chapter when the MM was built. Finally, I added some
cross-referencing to the new appendix from the TOOLCHAIN_HOST_TASK
and TOOLCHAIN_TARGET_TASK variables. And a cross reference from the
distro features section on the api-documentation bullet.
(From yocto-docs rev: 1fb4321ae42253d1fc9602496b5e9e8b495197dd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #8584]
Updated the "Distro Features" section to include the
"api-documentation" feature.
(From yocto-docs rev: 5b4e8fc58b84aea9a940f67f8d7585912fadc676)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The string appeared in the text as "$(INC_PR).0". So, fixed
it to be proper with the curly braces.
(From yocto-docs rev: 0e4ca6cd3d0eae847243fc624c5f119d004cf40c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The way I had this string was incorrect. I changed it to "openSUSE".
(From yocto-docs rev: 221f5032ad3589b96a004d38e2b250e38f971007)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed [YOCTO #10588]
This section was confusing due to the fact that it used an actual
set of IP addresses and image name where they should be clearly
called out as examples. Fixed it.
(From yocto-docs rev: 4682899c7b70c730256412bf08f469c457af1c2e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10451]
Added a missing closing parentheses to a sentence.
(From yocto-docs rev: e181c2e48ecc45cb194df02c9019ddada9707b41)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "runqemu Ported to Python" section was using past tense
for a note about previous usage patterns being supported. I
changed this to present tense.
(From yocto-docs rev: d8956022c7eb6046e67766fd6e9121579d6b323b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xf86-input-libinput is RRECOMMENDed by xserver-xorg, these
legacy drivers are not needed.
(From meta-yocto rev: 715f72d7842b4a789a78e7889b2f01cd41f02df8)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The distribution identifier determined by oe.lsb.distro_identifier()
is now returned as a lowercase string. Update the values for tested
distros to match.
(From meta-yocto rev: cb171bdc9b8dc485b25b9176949427f6d755aeec)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Running `oe-selftest --list-tests-by module wic` will produce the
following backtrace:
Traceback (most recent call last):
File "<snip>/poky/scripts/oe-selftest", line 668, in <module>
ret = main()
File "<snip>/poky/scripts/oe-selftest", line 486, in main
list_testsuite_by(criteria, keyword)
File "<snip>/poky/scripts/oe-selftest", line 340, in list_testsuite_by
ts = sorted([ (tc.tcid, tc.tctag, tc.tcname, tc.tcclass, tc.tcmodule) for tc in get_testsuite_by(criteria, keyword) ])
TypeError: unorderable types: int() < NoneType()
The root cause is that a test case does not necessarily have an ID
assigned, hence its value is None. Since Python 3 does not allow
comparison of heterogeneous types, TypeError is raised.
(From OE-Core rev: 71c6790689e2cbd3c4e882335b3b03e635ad46ed)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We explicitly check for --fstype if no source was provided for a
partition. However, this was not the case for rootfs partitions. Make
sure to raise an error if filesystem was left unspecified when preparing
a rootfs partition image.
(From OE-Core rev: b8c35fcad57810a87aa25ebeb533adf286eed565)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It seems that prepare_empty_partition_ext() and
prepare_empty_partition_btrfs() got broken in commit
c8669749e3, thus one could observe the
following backtrace:
Backtrace:
File "<snip>/poky/scripts/lib/wic/plugins/imager/direct_plugin.py", line 93, in do_create
creator.create()
File "<snip>/poky/scripts/lib/wic/imager/baseimager.py", line 159, in create
self._create()
File "<snip>/poky/scripts/lib/wic/imager/direct.py", line 290, in _create
self.bootimg_dir, self.kernel_dir, self.native_sysroot)
File "<snip>/poky/scripts/lib/wic/partition.py", line 146, in prepare
method(rootfs, oe_builddir, native_sysroot)
File "<snip>/poky/scripts/lib/wic/partition.py", line 325, in prepare_empty_partition_ext
os.ftruncate(sparse.fileno(), rootfs_size * 1024)
NameError: name 'rootfs_size' is not defined
(From OE-Core rev: 0bf686739a5e8a1193f5be5aa60afbf2ea1e5074)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The size field of Partition class is expected to be an integer and ought
to be set inside prepare_*() method. Make sure that this is always the
case.
(From OE-Core rev: a37838f995ae642b0b8bdd47a605a264fb3bf200)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The LSB Distributor ID and os-release NAME differ for most of the
distributions tested by the Yocto Project (CentOS, Debian, Fedora,
openSUSE and Ubuntu) however for all but openSUSE the os-release ID
matches the LSB Distributor ID when both are lowered before
comparison.
Therefore, in order to improve the consistency of identification of
a distribution, switch to using the os-release ID and converting
the ID value to lowercase.
Table showing comparison of LSB Distributor ID to os-release fields NAME
and ID for current Yocto Project supported host distributions:
Distribution | Version | Distributor ID | NAME | ID |
-------------------------------------------------------------------------
CentOS | 7 | CentOS | CentOS Linux | centos |
Debian | 8 | Debian | Debian GNU/Linux | debian |
Fedora | 23 | Fedora | Fedora | fedora |
Fedora | 24 | Fedora | Fedora | fedora |
openSUSE | 13.2 | openSUSE project | openSUSE | opensuse |
openSUSE | 42.1 | SUSE LINUX | openSUSE Leap | opensuse |
Ubuntu | 14.04 | Ubuntu | Ubuntu | ubuntu |
Ubuntu | 16.04 | Ubuntu | Ubuntu | ubuntu |
[YOCTO #10591]
(From OE-Core rev: 8689e5618d45c2119134ea64754430c06a93ea09)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
os-release(5) is an increasingly standard source of operating system
identification and more likely to be present on modern OS deployments, i.e.
many container variants of common distros include os-release and not the
lsb_release tool.
Therefore we should favour parsing /etc/os-release in distro_identifier(),
try lsb_release when that fails and finally fall back on various distro
specific sources of OS identification.
(From OE-Core rev: fc4eddecddec68d03a985086fa32db40ad0c7bfc)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than have the distro_identifier method look for different keys in
the dict depending on the source ensure that each function for retrieving
release data uses the same key names in the returned dict.
(From OE-Core rev: 2ddd6ddaf0c5ba14ae83347eba877ac9ef179c76)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The latest Ubuntu uses yet more aggressive hardening options, which causes the
unconventional build order used by systemtap to fail.
[ YOCTO #10521 ]
(From OE-Core rev: 5ca6ac8739ea4a273df7b8e5c5f7d481619923d8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Passing --disable-nls should be enough to disable the requirement for a full
gettext to be present, but the upstream configure explicitly checks for msgfmt
even if it isn't going to be used. To avoid having to depend on gettext-native,
patch this check out.
(From OE-Core rev: 2f8d2a74f73490c1ae35131d3eb3592f7ee0a1e4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- unexport AS variable
- Switch URI to use github mirror for reliabality
- Disable openCL code, its not used
- TEXTRELs are fixed, therefore dont skip QA check
(From OE-Core rev: 8f132ca02c0d8abe309b622cfeef5f21ecc0b242)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Option --enable-canusb was removed on commit:
93ca5ff703
- Autotools class was improved and we can now stop aclocal from running at all.
- File configure.in was renamed to configure.ac, rework libpcap-pkgconfig-support
patch and do_configure_prepend task to use configure.ac file.
(From OE-Core rev: 62771b5a426e4b7d38e4997dc3f252a547f481ce)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Root device name in systemd-bootdisk.wks is 'sda'. This can cause
images, produced using this wks to refuse booting if real device
name is not 'sda'. For example, when booting MinnowBoard MAX from
MicroSD card the boot process stucks with this message on the boot
console output: Waiting for root device /dev/sda2...
This happens because real device name of MicroSD card on this device
is mmcblk1.
Used --use-uuid option for root partition. This should make
wic to put partiion UUID instead of device name into kernel command
line.
[YOCTO #10485]
(From OE-Core rev: 5b73d5f484cc844affe91ec19d881d42e187f30c)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
a.out.h support is not across all architectures only
x86/x86_64 support is in linux/a.out.h, this patch
abstracts the minimum needed constructs into itself
(From OE-Core rev: 757224640bbf4ebf17aea22fa1419c9c3bcd89ce)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The swpb in macro MUTEX_SET will cause "undefined instruction" error
on the new arm arches which don't support this assembly instruction
any more. If use ldrex/strex to replace swpb, the old arm arches don't
support them. So to avoid this issue, just disable the ARM assembler
mutex code, and use the default pthreads mutex.
(From OE-Core rev: aafbc548ebc66dc0d703526f9a98f784e9c9605b)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add patch to remove hashbang line in file test/arrayind1.awk. This
patch fixes:
/
|WARNING: gawk-4.1.4-r0 do_package_qa: QA Issue:
|/usr/lib/gawk/ptest/test/arrayind1.awk contained in package gawk-ptest
|requires /usr/local/bin/awk, but no providers found in RDEPENDS_gawk-ptest?
|[file-rdeps]
\
Patch was submitted to upstream [1]
[1] https://lists.gnu.org/archive/html/bug-gawk/2016-11/msg00003.html
(From OE-Core rev: 7bac3652c2ea0c4d60b1830bc07f2c4c2aaed0ae)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Contrary to the CVE report, the vulnerable trace functions
don't exist in readline v5.2 (which we keep for GPLv2+
purposes), they were added in readline v6.0 only - let's
whitelist that CVE in order to avoid false positives.
See also the discussion in
https://patchwork.openembedded.org/patch/81765/
(From OE-Core rev: b881a288eec598002685f68da80a24e0478fa496)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Reviewed-by: Lukasz Nowak <lnowak@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add awareness of /dev/nvme* block devices to install scripts. As presently
written, installer knows only of /dev/sd* and /dev/mmcblk* block devices.
Building upon scaffolding put in place by Awais in...
80ec9f627915 ("initrdscripts: handle mmc device as installer medium")
(From OE-Core rev: b5a036ce958e3fe24690531712071abc14b48033)
Signed-off-by: Joe Konno <joe.konno@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE fixed in 7.51.0:
CVE-2016-8615: cookie injection for other servers
CVE-2016-8616: case insensitive password comparison
CVE-2016-8617: OOB write via unchecked multiplication
CVE-2016-8618: double-free in curl_maprintf
CVE-2016-8619: double-free in krb5 code
CVE-2016-8620: glob parser write/read out of bounds
CVE-2016-8621: curl_getdate read out of bounds
CVE-2016-8622: URL unescape heap overflow via integer truncation
CVE-2016-8623: Use-after-free via shared cookies
CVE-2016-8624: invalid URL parsing with '#'
CVE-2016-8625: IDNA 2003 makes curl use wrong host
To see complete log access link bellow:
https://curl.haxx.se/changes.html#7_51_0
(From OE-Core rev: 0154ff997db8021f93e6ffe8f7a0627d7a1d9b89)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change SRC_URI to use APACHE_MIRROR to download serf from apache
project page and remove UPSTREAM_CHECK_URI.
(From OE-Core rev: cb5ae09561d9ab1284f6ae3dc47b58ec647a1734)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ELF parser was assuming that the segment tables are in the first 4kb of the
binary. Whilst this generally appears to be the case, there have been instances
where the segment table is elsewhere (offset 2MB, in this sample I have). Solve
this problem by mmap()ing the file instead.
Also clean up the code a little whilst chasing the problem.
(From OE-Core rev: a66660aa5bb709547ce0b65a4563e4217c3c3d9f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Android-tools depends on it and to build the native versions of fastboot, adb, mkbootimg and others libbsd needs to support native builds.
(From OE-Core rev: b02cef58ee35dd277fff48538ce2803df1cbc4d5)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ runqemu qemuarm64 (without -nographics)
There is no output in qemu console without this fix.
(From OE-Core rev: 40a64e64b2ff41661ff254d0836c5f60120c6795)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The function write_qemuboot_conf() in qemuboot.bbclass always inserts
the full path into QB_DEFAULT_KERNEL. Remove this path before using the
variable.
(From OE-Core rev: 7c0fdfa1316011b856a795d8e42c36ac8b5638b2)
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to import glob inside copyhardlinktree() as it's
already imported for the entire path module.
(From OE-Core rev: 42dc4695da136a15bebb7525b1da5c2722b10a28)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly: Cyprus split into two time zones on 2016-10-30, and Tonga
reintroduces DST on 2016-11-06.
Changes to future time stamps
Pacific/Tongatapu begins DST on 2016-11-06 at 02:00, ending on
2017-01-15 at 03:00. Assume future observances in Tonga will be
from the first Sunday in November through the third Sunday in
January, like Fiji. (Thanks to Pulu ʻAnau.) Switch to numeric
time zone abbreviations for this zone.
Changes to past and future time stamps
Northern Cyprus is now +03 year round, causing a split in Cyprus
time zones starting 2016-10-30 at 04:00. This creates a zone
Asia/Famagusta. (Thanks to Even Scharning and Matt Johnson.)
Antarctica/Casey switched from +08 to +11 on 2016-10-22.
(Thanks to Steffen Thorsen.)
Changes to past time stamps
Several corrections were made for pre-1975 time stamps in Italy.
These affect Europe/Malta, Europe/Rome, Europe/San_Marino, and
Europe/Vatican.
First, the 1893-11-01 00:00 transition in Italy used the new UT
offset (+01), not the old (+00:49:56). (Thanks to Michael
Deckers.)
Second, rules for daylight saving in Italy were changed to agree
with Italy's National Institute of Metrological Research (INRiM)
except for 1944, as follows (thanks to Pierpaolo Bernardi, Brian
Inglis, and Michael Deckers):
The 1916-06-03 transition was at 24:00, not 00:00.
The 1916-10-01, 1919-10-05, and 1920-09-19 transitions were at
00:00, not 01:00.
The 1917-09-30 and 1918-10-06 transitions were at 24:00, not
01:00.
The 1944-09-17 transition was at 03:00, not 01:00. This
particular change is taken from Italian law as INRiM's table,
(which says 02:00) appears to have a typo here. Also, keep the
1944-04-03 transition for Europe/Rome, as Rome was controlled by
Germany then.
The 1967-1970 and 1972-1974 fallback transitions were at 01:00,
not 00:00.
(From OE-Core rev: daf95f7fd9f7ab65685d7b764d8e50df8d00d308)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to code
The code should now be buildable on AmigaOS merely by setting the
appropriate Makefile variables. (From a patch by Carsten Larsen.)
(From OE-Core rev: d2b8c4ee535684f5d874082a7f76efbda1907ea5)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When staging changes in a layer using git add, image-buildinfo
doesn't detect this as a modification, because of the way it
uses git diff.
Surely, merely staging, but not committing changes to git
should not result in image-buildhistory assuming that the
git repository hasn't been modified compared to the branch
HEAD, this state should be treated similarly to modifications
being unstaged.
We have to use both, git diff and git diff --cached to get the
desired result.
(From OE-Core rev: b46906889665f6ab72bccee608276646cda50140)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Reported-by: Lukasz Nowak <lnowak@tycoint.com>
Reviewed-by: Lukasz Nowak <lnowak@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of checking against a file that represents a distribution that hasn't
existed for years, fetch package names for Clear Linux instead.
[ YOCTO #10601 ]
(From OE-Core rev: 006c4db0974c42ff0f6950dd24e61c008f801679)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
(From OE-Core rev: f76d972aff47412a2cbd2d47134d66046cfe574a)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
(From OE-Core rev: 714e747c6134414b4f3ada266a3d94a1136e5737)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
(From OE-Core rev: c4aefe37ef5ff34ebd8e1a077c9198dcf3634e07)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
(From OE-Core rev: fd96266da21f84b01c1b617f3bf8462f3d9dd84c)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
(From OE-Core rev: 66d595ac1fc909dcbe1f734d4984cc4c95ceacbb)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
(From OE-Core rev: 82c73101d9788c561ff9c69914b46ca8355d28fe)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
(From OE-Core rev: c84c884da5007539ea290587c468f30c19f568e9)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
(From OE-Core rev: ca5fef0fe8fad2010049790ebf34bc9e9ede39f0)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
(From OE-Core rev: 5013504b8b406b47a66c84413cb7f8beb5c336c3)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
(From OE-Core rev: ed1ba311fbfc6365da91b867d22b77c7c44cae75)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
(From OE-Core rev: 4499bca90887a0a7e7943403372654bf9e902b17)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In some cases, each MIPS variant in a recipe requires a duplicate
line. Even if the passed flag is the same.
Add global MACHINEOVERRIDES variables for the following
* mipsarch : All MIPS
* mipsarch{eb,el} : All MIPS Big/Little Endian
* mipsarchr6 : All MIPS R6
* mipsarcho32 : All MIPS o32 Endian Independent
* mipsarchn32 : All MIPS n32 Endian Independent
* mipsarchn64 : All MIPS n64 Endian Independent
* mipsarcho32{eb,el} : All MIPS o32 Big/Little Endian
* mipsarchn32{eb,el} : All MIPS n32 Big/Little Endian
* mipsarchn64{eb,el} : All MIPS n64 Big/Little Endian
This is intended to reduce duplications in recipes
[YOCTO #10404]
(From OE-Core rev: 0d2205f26e5ece089630f72af2bd5f0931e851c3)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj of Comcast has offered to formally own the toolchain and C libraries,
so reassign the maintainership to him.
Thanks, Khem!
(From meta-yocto rev: ae4e83f08474f50683d0176996d1ab8378989d17)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When you run devtool add on a source tree we attempt to figure out the
correct name and version for the recipe. However, despite our best
efforts, sometimes the name and/or version we come up with isn't
correct, and the only way to remedy that up until now was to reset the
recipe, delete the source tree and start again, specifying the name this
time. To avoid this slightly painful procedure, add a "rename"
subcommand that lets you rename the recipe and/or change the version.
(From OE-Core rev: 9303d8055c45a0f6af295d70a6f6a8b9d8d8a7c9)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a variable is being set in the recipe when we've explicitly passed
None as the value to _test_recipe_contents() indicating that it
shouldn't be set at all, then we should be printing out the variable
name in the assertion message but it seems like I forgot to do a
substitution. Also include the value for informational purposes.
(From OE-Core rev: 0dafcb158003fb13f82c266f607d9967fca321db)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
recipetool sets the LICENSE value based on licenses detected from the
source tree. If there are multiple licenses then they were being
separated by spaces, but this isn't actually legal formatting and if
you're using "devtool add" you get a warning printed when devtool
parses the recipe internally.
Earlier I had made a conscious decision to do it this way since it's up
to the user to figure out whether the multiple licenses should all apply
(in which case they'd be separated with &) or if there is a choice of
license (in which case | is the correct separator). However, I've come
to the conclusion that we can just default to & and then the ugly
warning goes away, and it's the safest alternative of the two (and most
likely to be correct, since it's more common to have a codebase which is
made up of code with different licenses, i.e. all of them apply to the
combined work).
I've tweaked the comment that we add to the recipe to explicitly state
that we've used & and that the user needs to change that if that's not
accurate.
Fixes [YOCTO #10413].
(From OE-Core rev: ecac6aee8cf3313350b58c21012bcd67cfb915e4)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you run devtool finish to move a recipe created in the workspace by
devtool add or devtool upgrade to a layer, and that layer is not
currently included in bblayers.conf (perhaps unintentionally), then the
recipe will no longer be visible to bitbake. In this scenario, show a
warning so that the user isn't surprised by the recipe "going missing".
(From OE-Core rev: 4da8a58e2997db4f24ae0cac0ba27259d7857a05)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If devtool finish is run on a recipe where the recipe file itself is in
the workspace (e.g. where devtool add / devtool upgrade has been used)
and the specified destination layer is not in bblayers.conf, then we
need to avoid running bitbake -c clean at the end because the recipe has
been moved, but the bbappend is still present in the workspace layer at
that point and so if we do it will fail due to the dangling bbappend.
It's difficult to do the clean at the point we'd want to because tinfoil
is holding bitbake.lock for most of the time, but in any case cleaning
the recipe is less important than it used to be since we started
managing the sysroot contents more strictly, so just disable cleaning
under these circumstances to avoid the problem.
Fixes [YOCTO #10484].
(From OE-Core rev: c6980307d43632f4172e79d9607004203af4e9c8)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running devtool add, instead of hiding the recipetool create
output, change it so that it's appropriate to show in the devtool
context and show it in real-time. This means that you get status output
such as when a URL is being fetched (though currently no progress
information.) recipetool create now has a hidden --devtool option to
enable this display mode.
(From OE-Core rev: 219aec8803de4ef04c514c87ecfb15359c9424a6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This library suffered as part of the Python 2 to Python 3 migration and stopped
working entirely.
Fix all the migration problems such as files being treated as strings but opened
in binary mode, insufficient use of with on files, and so on.
Rewrite large amounts to be Pythonic instead of C-in-Python.
Update OpenSuse and Fedora URLs.
Fedora now splits the archive alphabetically so handle that.
[ YOCTO #10562 ]
(From OE-Core rev: 58de12eaaac9c60bb8fc84a3a965ef86d2a39ae0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
41d8236 Set GDB version number to 7.11.1.
136613e Fix PR gdb/19828: gdb -p <process from a container>: internal error
a0de87e Make gdb/linux-nat.c consider a waitstatus pending on the infrun side
cf2cd51 Add mi-threads-interrupt.exp test (PR 20039)
f0a8d0d Fix double prompt output after run control MI commands with mi-async on (PR 20045)
b5f0db4 Fix -exec-run not running asynchronously with mi-async on (PR gdb/18077)
7f8e34d Use target_terminal_ours_for_output in MI
(From OE-Core rev: 371345c0dc49bf781c27aea1e9f6a4c947fa30e6)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you use devtool update-recipe with the --append option, and a "local"
(in oe-local-files) has been modified we copy it into the specified
destination layer. With the way the devtool update-recipe code works now
the source is always a temp directory, and printing paths from within
that is just confusing, so if the path starts with the temp directory
then just print the file name alone.
(From OE-Core rev: 61475f0267d40c618ebf36023d0b6414a25975cb)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
db-doc has an installed footprint of 94MB, but 60MB of that is the documentation
for the Java and C# bindings which are not part of this recipe. Remove them and
the for-print PDF manuals to massively reduce the footprint of db-doc.
Also improve the fix for the documentation install path, and put the
documentation under ${docdir}/db instead of just ${docdir} (which is
/usr/share/doc by default).
(From OE-Core rev: 89e9d8fc7f99fb6346dc035e51abbc942011d9b5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The flac dependency was completely bogus. Flac isn't used at all.
FFTW is only used by tests, so we don't need to provide a packageconfig
for that.
ALSA is only used by example code that isn't part of the packaged files,
so even if ALSA is enabled, it doesn't affect the build result.
Nevertheless, I prefer to disable it explicitly to be extra sure.
--disable-alsa resulted in a warning about an unsupported configure
option, although by some magic it seemed to actually work as expected.
A patch is added to get rid of that warning.
(From OE-Core rev: c7cb0ce17dc2ec3999f26d594e755c8fb9609cee)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 'task-time' Python script is used for simple manual analysis of
buildstats. It displays task timing information in the same format (and
using the same calculation) as the Bash 'time' builtin, and can
optionally sort tasks by real (wall-clock), user (user space CPU), or
sys (kernel CPU) time used.
The timing information comes from the getrusage(2) fields added by
commit adfdca4df1 ("buildstats: Improve to add getrusage data and
corrected IO stats"). That commit is required for the script to work.
Example 1: Running 'task-time' on a specific task buildstat:
$ task-time ./20161005235448/gettext-0.16.1-r6/do_compile
./20161005235448/gettext-0.16.1-r6/do_compile:
real 0m54.560s
user 0m46.028s
sys 0m2.772s
Example 2: Running 'task-time' on a directory, sorting on wall-clock
time:
$ task-time tmp/buildstats/20161018083535 --sort real
tmp/buildstats/20161018083535/bash-4.3.30-r0/do_fetch:
real 10m59.140s
user 0m1.152s
sys 0m0.320s
tmp/buildstats/20161018083535/readline-native-6.3-r0/do_fetch:
real 8m57.310s
user 0m0.860s
sys 0m0.288s
tmp/buildstats/20161018083535/perl-5.22.1-r0/do_compile:
real 4m28.840s
user 4m1.348s
sys 0m15.816s
...
Example 3: Running 'task-time' on all do_compile buildstats for a
particular build by using shell globbing, sorting on user space CPU
time:
$ task-time tmp/buildstats/20161018083535/*/do_compile --sort user
tmp/buildstats/20161018083535/qemu-native-2.7.0-r1/do_compile:
real 0m49.570s
user 21m45.236s
sys 1m44.380s
tmp/buildstats/20161018083535/linux-yocto-4.8+gitAUTOINC+03bf3dd731_67813e7efa-r0/do_compile:
real 0m49.530s
user 21m39.588s
sys 1m59.576s
tmp/buildstats/20161018083535/gcc-cross-i586-6.2.0-r0/do_compile:
real 1m8.130s
user 15m54.256s
sys 1m28.776s
...
Example 4: Comparing a task between two builds:
$ task-time 201610052{25856,35448}/gettext-0*/do_compile --sort real
20161005235448/gettext-0.16.1-r6/do_compile:
real 0m54.560s
user 0m46.028s
sys 0m2.772s
20161005225856/gettext-0.19.8.1-r0/do_compile:
real 0m41.520s
user 2m17.312s
sys 0m7.536s
(From OE-Core rev: 76dfad5b598e2937554bddeecf47482b14a854cd)
Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously do_populate_lic would bail writing the license files (such as the MIT
license text) to deploy/licenses/${PN}/ if there were no files listed in
LIC_FILES_CHKSUM. In general this isn't a problem since LIC_FILES_CHKSUM was
effectively a required field, and for packages which don't have traditional
content was generally set to a separate license such as
${COREBASE}/meta/COPYING.MIT.
However LIC_FILES_CHKSUM is now only required if there are sources in SRC_URI,
so oe-core b18fa5f removed these now redundant values. The unexpected side
effect of this is that that recipes that generate their content (such as
os-release) or are otherwise "interesting" (such as perf) don't have their
license files copied over, resulting in warnings from do_rootfs.
Resolve this by not returning early if LIC_FILES_CHKSUM is empty, and always
copy the references license files.
(From OE-Core rev: 94f5ac0651249cb98fb8d1308b7c0d10605d5a1e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was used by the kernel tooling but has since been replaced by kgit-s2q. As
there are no other users in oe-core, and this was just a native recipe, remove
it.
(From OE-Core rev: 3a52f2d3ef6bc85c68bf42f8e116a8065a67fdfe)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When run the following command on x86:
svnadmin create /var/test_repo
It cause segmentation fault error like the following:
[16499.751837] svnadmin[21117]: segfault at 83 ip 00000000f74bf7f6 sp 00000000ffdd9b34 error 4 in libc-2.24.so[f7441000+1af000]
Segmentation fault (core dumped)
This is because in source code ./subversion/libsvn_fs_fs/low_level.c,
function svn_fs_fs__unparse_footer, when:
target arch: x86
apr_off_t: 4 bytes
if the "APR_OFF_T_FMT" is "lld", it still use type "apr_off_t" to pass
data to apr, but in apr source code file apr_snprintf.c the function
apr_vformatter meet "lld", it would use the:
i_quad = va_arg(ap, apr_int64_t);
It uses the apr_int64_t to deal data, it read 8 bytes, so the follow-up
data may be error.
(From OE-Core rev: 7ea7e3db7801b58495b89a95ec2751d618d3a29f)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It seems that possibly due to OE-Core commit
ac59063bee0e32d0737340974f657341717a6abe, binaries produced without
uninative aren't compatible with the uninative glibc. I did try earlier
to ensure that the eSDK could work without uninative since the default
configuration in OE-Core does not enable it, but it seems like I didn't
go far enough. Given the practical considerations, just give up and
require uninative to be enabled in order to build the eSDK. I'm not
particularly happy about this, but I don't seem much of an alternative.
Fixes [YOCTO #10566].
(From OE-Core rev: b59eee7bebd413c7abe5626f69508e1fe47dd0ac)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you are using a repository which contains a .templateconf file that
sets TEMPLATECONF to point into a layer it contains, but you aren't
using that layer in your bblayers.conf, the eSDK would produce an error
during the preparation step of the installation. An example would be
using the poky repository but setting DISTRO to your own custom distro
and removing meta-poky from your bblayers.conf. The eSDK doesn't
support creating new build directories, so we don't care about the
templates and can thus force a known good value to prevent this from
happening.
Fixes [YOCTO #10568].
(From OE-Core rev: 5ee32191a18013061dfa72e64713a94c5d321496)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This directory shouldn't contain local.conf and bblayers.conf - just
templates for them; except it doesn't have to contain those, it just has
to exist to pass this test. Change the error message accordingly, and
mention TEMPLATECONF so that the user has at least some context.
(From OE-Core rev: 61adaaa4348c670769f8750223977dbefe369ffb)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The class clearly intends build tools to depend upon the dummy texinfo, but it
does so using the class-cross override for cross recipes, and libtool-cross
doesn't inherit cross. Add a special case to cover this.
(From OE-Core rev: 26343dc11725c4c15b78b8d45ff7d2fb8d35ef6e)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using 'slirp' as a command line option to runqemu will start QEMU
with user mode networking instead of creating tun/tap devices.
SLIRP does not require root access. By default port 2222 on the
host will be mapped to port 22 in the guest. The default port
mapping can be overwritten with the QB_SLIRP_OPT variable e.g.
QB_SLIRP_OPT = "-net nic,model=e1000 -net user,hostfwd=tcp::2222-:22"
(From OE-Core rev: 80e6fc678f3dcd774d9376cdf2a6afcba2cd0b09)
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure the recipe version matches what we're
actually shipping, so that tools like cve-check
can do the right thing.
Rather than fetching version 3.2.48 and applying all
patches up to and including version 3.2.57, we just
fetch the latter in the first place.
(From OE-Core rev: 614ac87f2832c5359f371439559be88d6106cd6b)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Acked-by: Sylvain Lemieux <slemieux@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"Shows" -> "Show", to be consistent with standard form of help output.
(From OE-Core rev: 5a7994df6cdb5af8d240e2802e6bb3d9671f17e3)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to future time stamps
Asia/Gaza and Asia/Hebron end DST on 2016-10-29 at 01:00, not
2016-10-21 at 00:00. (Thanks to Sharef Mustafa.) Predict that
future fall transitions will be on the last Saturday of October
at 01:00, which is consistent with predicted spring transitions
on the last Saturday of March. (Thanks to Tim Parenti.)
Changes to past time stamps
In Turkey, transitions in 1986-1990 were at 01:00 standard time
not at 02:00, and the spring 1994 transition was on March 20, not
March 27. (Thanks to Kıvanç Yazan.)
Changes to past and future time zone abbreviations
Asia/Colombo now uses numeric time zone abbreviations like "+0530"
instead of alphabetic ones like "IST" and "LKT". Various
English-language sources use "IST", "LKT" and "SLST", with no
working consensus. (Usage of "SLST" mentioned by Sadika
Sumanapala.)
(From OE-Core rev: ff11ca44fec8e4b2aa523e032bd967e3ab8339a8)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to code
zic no longer mishandles relativizing file names when creating
symbolic links like /etc/localtime, when these symbolic links
are outside the usual directory hierarchy. This fixes a bug
introduced in 2016g. (Problem reported by Andreas Stieger.)
(From OE-Core rev: 9c5de646e01a83219be74e99dcf7c1e56ba38b53)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License file changes are due to updates in Version and Copyright date
(From OE-Core rev: f231bd63ab82575b2ad6ccfd0a3f5da76b56a125)
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>
Bug fixes and various improvements for AArch64 and PowerPC.
Apply a patch from upstream to fix compilation on MIPS [RB]
(From OE-Core rev: 86fdcfd1169e892192f85a80d228b9bd2b84497a)
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>
Bug fixes, add support for new management tracing capability
and marking GATT D-Bus APIs as stable interfaces
(From OE-Core rev: 03f0b46520e6a6df7cde37fdb4c27ac6145dff4f)
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>
Upgrade to most recent commit:
2cb6695e8dec00d887bdd5309d1b57d836fcd214
(From OE-Core rev: 6b50e393f36c44fd1230fe5d0ee97581dc871e2e)
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>
Remove "gnutls_4.3_fixup.patch" since fix for PKCS#11 support under
GnuTLS 3.x is included in version 0.30.2
(From OE-Core rev: 7371436749b74ae91942d1e130b096087aa483c0)
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>
Compiling texi2html 5.0 out-of-source with USE_NLS set to no failed
because it tried to copy from srcdir without using that variable.
Fix this issue and add a reference to the upstream commit.
(From OE-Core rev: 28a37020f50e513b247015b1b0a784c99d41aae3)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream had a 2.0 tag for a while, then removed it and added a 1.1 tag :-/
Let's make it match to avoid confusion. There's only one new commit
added, which adds a missing manpage.
Also, update the outdated version comment in rt-tests.inc
(From OE-Core rev: 799a7b74f1219040fe2d43dcdcd145600a9fecbd)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove backported gcc5-port.patch
Remove 11_mips-link-tool.patch as there is nothing in the target file
(or the entire source tree) that resembles anything contained in the patch.
(From OE-Core rev: 221093e850fbc3c154e9069f1958384b59ba3f70)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libxrandr dependency has been removed upstream
Udev dependecy has been added upstream:
commit b8cbfbe06475703f333367976eae9477f229891a
pnp-ids: Use udev's hwdb to query PNP IDs
(From OE-Core rev: 5f939fbf229e3c05d6b726f481a0e862ad5a5ceb)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was creating a race in runtime library dependency resolution
where sometimes the library was assumed to be provided by the ptest
package.
(From OE-Core rev: c4a10c0b4bc14f4bac06deed8ecb64d0303f4029)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This manpage is also shipped in util-linux-doc as an alternative, so it needs to
be managed as an alternative here too.
(From OE-Core rev: 0c1e8e0939b39dcf6ea753b41da5ec9bc6ebb82a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The su binary is handled by alternatives but the man page wasn't, so
installing both util-linux-doc and shadow-doc produces errors.
Also use d.expand() to neaten the code.
(From OE-Core rev: 70a161ee88d3d54fec6d59039c181b43f1857dc3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
eMMC devices may report block devices like "mmcblk0rpmb" and
"mmcblk0boot0". These are not actually block devices and any
read/write operation on them will fail. To prevent spamming error
messages attempting to mount them, just ignore these devices.
(From OE-Core rev: 9f4a85eb929f67420d9689d7dddadd120ed49843)
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not use --force-depends when trying to remove all dependent packages,
as it removes only the selected package and not the dependent packages.
(From OE-Core rev: a82e8725902086dab785a0b14305927dae1e4e8d)
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
open() is default to 'rt' which may cause decoding errors when open
binary file:
$ bitbake xcursor-transparent-theme
[snip]
Exception: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfd in position 18: invalid start byte
[snip]
(From OE-Core rev: ddbab61f47efd9b4fde38ef8f0f3482c78abe37c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SDK_OLDEST_KERNEL currently only controls the check on SDK installation,
however as with OLDEST_KERNEL it should be controlling the OLDEST_KERNEL
value for building glibc used in the SDK. Thus, set it in
nativesdk.bbclass. This means we need to move the default to
bitbake.conf so that it can be seen in both places.
Also set a more reasonable default for SDK_OLDEST_KERNEL for x86/x86-64 as
glibc 2.24 still supports back to 2.6.32 there and there are still
people wanting to build SDKs that will install on older distros (e.g.
CentOS 6). However it's not possible to set this with overrides since
there aren't any for the SDK_ARCH, however we can instead set the variable
from conf files in conf/machine-sdk especially as there is now a soft
default for SDKMACHINE.
Fixes [YOCTO #10561].
(From OE-Core rev: 42d5781e31c5bf76b5b7e27abed4f6f3fd65bf40)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you used an & character in SDK_TITLE (possibly indirectly from
DISTRO_NAME) then sed interpreted this as a directive to paste in the
replaced string (@SDK_TITLE@ in this case). Escape any & characters in
SDK_TITLE to avoid that.
(From OE-Core rev: acb85689c13cfdac21435509001048af5c3a7e99)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The manager_invoke_notify_message function in systemd 231 and earlier allows
local users to cause a denial of service (assertion failure and PID 1 hang)
via a zero-length message received over a notify socket.
The patch is a backport from the latest git repo.
Please see the link below for more information.
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-7795
(From OE-Core rev: 543570cafa8d7f595b489d03d05f0aa4478f8539)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When there is a relative symlink in the layer, for example:
symA -> ../out/of/layer/file
symA will be invalid fater copied, it would be invalid from build time
if it points to a relative path, and would be invalid after extracted
the sdk if it points to a absolute py. Dereference symlink when copy
will fix the problem.
Use tar rather than shutil.copytree() to copy is because:
1) shutil.copytree(symlinks=Fasle) has bugs when dereference symlinks:
https://bugs.python.org/issue21697
And Ubunutu 1404 doesn't upgrade python3 to fix the problem.
2) shutil.copytree(symlinks=False) raises errors when there is a invalid
symlink, and tar just prints a warning, tar is preferred here since
the real world is unpredicatable
3) tar is faster than shutil.copytree() as said by oe.path.copytree()
So use tar to copy.
(From OE-Core rev: f4d70bb0882eec4fb46cd942f2796fad57c72982)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The c_rehash utility is supposed to be run in the folder /etc/ssl/certs
of a rootfs where the package ca-certificates puts symlinks to
various CA certificates stored in /usr/share/ca-certificates/mozilla/.
These symlinks are absolute. This means that when c_rehash is run
at rootfs creation time it can't hash the actual files since they
actually reside in the build host's directory
$SYSROOT/usr/share/ca-certificates/mozilla/.
This problem doesn't reproduce when building on Debian or Ubuntu
hosts though, because these OSs have the certificates installed
in the same /usr/share/ca-certificates/mozilla/ folder.
Images built in other distros, e.g. Fedora, have problems with
connecting to https servers when using e.g. python's http lib.
The patch fixes c_rehash to check if it runs on a build host
by testing $SYSROOT and to translate the paths to certificates
accordingly.
(From OE-Core rev: 5199b990edf4d9784c19137d0ce9ef141cd85e46)
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that out of tree building is enabled, ${B} must be used instead of
${S} as the path for UBOOT_BINARY.
(From OE-Core rev: 1fe17c52e4d7ce1b9d69aaa2cd9d4b351a4b2603)
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rpm2cpio is in ${PN}-common, but rpm2cpio.real is in ${PN}. This seperation
is really weird. Put them both in ${PN}-common.
(From OE-Core rev: 8a0af7e4ae8ba8ce0c7fd2a9f6ab7cc070f47af0)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The AC_PATH_XTRA check for X11 headers is never actually used, so patch that out
and remove the options in EXTRA_OECONF.
Move pcre/png/zlib toggles to PACKAGECONFIG, retaining the behaviour that only
PCRE is enabled by default.
Add missing libiconv dependency.
(From OE-Core rev: 3587053646c34002fa18b87834516ce27fbd0788)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The slang maintainer only puts the current release at
jedsoft.org/releases/slang/slang-1.2.3.tar.bz2, all previous releases are moved
into /releases/slang/old/.
As this breaks the fetch the moment a new version is released, use PREMIRRORS to
also look in the /old/ directory.
(From OE-Core rev: 50d49766ab76b67e312f6a1d91977a40d1020919)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mkefidisk.sh will soon be deprecated in favor of .wic images.
Added deprecation warning to the script to inform users that
this script will soon be removed from the codebase.
(From OE-Core rev: ccef84fac7b20d483df87aac8c620459fe31b6af)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting up the vardeps on write_qemuboot_conf forces the updating of
variables in qemuboot.conf when machine/deploy configuration changes.
This is particularly useful when developing or setting up the qemuboot
(e.g. changing QB_* variables) for new targets or when changing
deployment variables (e.g. KERNEL_IMAGETYPE).
(From OE-Core rev: c568f6ce06512a108cada5c7100eb1f6de73f2ff)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using "npm install" instead of "cp -a" is the more correct thing to be
doing here, and ensures that symlinks for executable scripts are put
into ${prefix}/bin. (I'd prefer ${bindir}, but npm does not allow
specifying paths at that level - only a prefix.)
Fixes [YOCTO #10460].
(From OE-Core rev: 90cb980a1c49de99a0aec00c0cd5fc1e165490a7)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you set LIC_FILES_CHKSUM to point to a relative symlink then you'll
get "Could not copy license file" warnings in copy_license_files() since
the symlink won't be valid after it's copied. If the source is a symlink
then we need to dereference it first.
I encountered this when I used recipetool on the sources for capnproto,
where the c++ directory contains a LICENSE.txt symlink to the LICENSE
file in the parent directory, and this symlink ends up being pointed to
in LIC_FILES_CHKSUM.
(From OE-Core rev: c4d3b1e9c37b920444e53d3231552da18d101882)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Import a patch from upstream, which fixes a connman daemon freeze
under certain conditions (multiple active interfaces, no r/w storage).
(From OE-Core rev: bba18cdce6fb6c5ff2f7161198d46607a72747d6)
Signed-off-by: Lukasz Nowak <lnowak@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When modifying the PATH variable in .bashrc, double quote characters
were used, resulting in expanding the variable $PATH with the value of
PATH of the system building the Build Appliance.
The original intent was to enter an un-expanded (literal) $PATH.
In order to that, one must use single quotes instead of double quotes.
[YOCTO#10434] [YOCTO#10504]
(From OE-Core rev: 6238faf901956e2a350315a66ca1ce557deaa513)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes segfaults when doing partial linking and generaring binary objects
/tmp/binu/ld/ld-new -r -b binary -o etc_certs_ui_ca_pem.o etc_certs_ui_ca_pem
0 elf32_arm_count_additional_relocs (sec=0x79bf40) at /mnt/a/work/oe/binutils-gdb/bfd/elf32-arm.c:18210
1 0x000000000047635a in bfd_elf_final_link (abfd=abfd@entry=0x783250, info=info@entry=0x748400 <link_info>) at /mnt/a/work/oe/binutils-gdb/bfd/elflink.c:11224
2 0x000000000044df7b in elf32_arm_final_link (abfd=0x783250, info=0x748400 <link_info>) at /mnt/a/work/oe/binutils-gdb/bfd/elf32-arm.c:12131
3 0x0000000000418917 in ldwrite () at /mnt/a/work/oe/binutils-gdb/ld/ldwrite.c:577
4 0x000000000040365f in main (argc=<optimized out>, argv=<optimized out>) at /mnt/a/work/oe/binutils-gdb/ld/ldmain.c:433
gold works ok. The patch is already applied in master binutils
(From OE-Core rev: 00d1913520f1572fa7def865e57852c7f25b0ec4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There would be error when BBFILE_PATTERN = None:
BBFILE_PATTERN_foo not defined
This is the correct behaviour, but when the layer sets BBFILE_PATTERN = "",
it would match all the remaining recipes, and cause "No bb files matched BBFILE_PATTERN"
warnings for all the layers which behind it.
When a layer sets BBFILE_PATTERN = "" (for example, a layer only
provides git repos and source tarballs), now it means has no recipes.
This is different from BBFILE_PATTERN_IGNORE_EMPTY, the later one means
that it *may* not have any recipes.
(Bitbake rev: 91c3b34625fac2a0f093a4b46a46e89f813e7972)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Run toaster-eventreplay with core-image-minimal.events and
test if all required packages present in Target_Installed_Package
table.
(Bitbake rev: 73410e6dc965b2885c68e87ed6fa8d8b57e9c49d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If BUILDDIR environment variable is not set signal_runbuilds function
throws TypeError as os.getenv('BUILDDIR') returns None:
ERROR: unsupported operand type(s) for +=: 'NoneType' and 'str'
Traceback (most recent call last):
File "bitbake/lib/bb/ui/toasterui.py", line
391, in main
buildinfohelper.update_build_information(event, errors, warnings,
taskfailures)
File "bitbake/lib/bb/ui/buildinfohelper.py",
line 1184, in update_build_information
self.internal_state['build'], errors, warnings, taskfailures)
File "bitbake/lib/bb/ui/buildinfohelper.py",
line 238, in update_build_stats_and_outcome
signal_runbuilds()
File "bitbake/lib/toaster/orm/models.py", line
1746, in signal_runbuilds
'.runbuilds.pid')) as pidf:
File "/usr/lib64/python3.4/posixpath.py", line 82, in join
path += b
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'
Used os.getenv('BUILDIR', '.') to make it always return meaningful
directory path. Current directory '.' will be used if BUILDDIR is
not set.
(Bitbake rev: da631152a0db3f432709a05ff15a268d784ca3ab)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were presuming that all the layer dependency information was of the
form "^/path/to/layer" to we were just stripping the leading "^" off of
the layer information when we were matching the layer priorities to the
toaster database. This patch splits out the priorities layer match which
gets a regex from the task/recipe match which is gets a path.
(Bitbake rev: e23b574fe52f416184ee43838b8ab28b5b8eb71d)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we're using fixtures for configuration just load these instead
of trying to search for a toasterconf json file.
Also for convenience add the ability for the tests to source the build
environment script. To use this test make sure that directories are in
the same layout as poky.
(Bitbake rev: 448d1d9dc8989ef4c997a90c71cd7e1da0495c1c)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During tests we may want to call the runbuilds process manually for
example when doing a "one shot" approach rather than a long running
process during tests.
(Bitbake rev: 60d3f93836da5523705b0b2e25567d1c9040ec89)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add an additional wait_until_visible for the save buttons as firefox
animates this into view so slowly we get a race on them being visible
(Bitbake rev: 4b89db30af25da5f2c519cf684655d5af99f0e2c)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the "Toaster test system". We don't need a home brew
test "framework" as the django test runner is more than adequate.
None of these tests here are currently working and have been obsoleted
by the work done on unit and browser tests in ./tests/.
(Bitbake rev: 7a82e45ca5c4d470f62f83e72d00cbe45baa1537)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Consolidating all the tests to live in the same place to make them more
discoverable and consistent as well as not cluttering up the django app
directory.
(Bitbake rev: 66076c006079237d97aaef4f242af5a4fa116d97)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Print full traceback instead of just the exception message in the
child() function inside fork_off_task(). This makes debugging a lot
easier as the function catches a generic "Exception" and the exception
message alone might not give much information.
[YOCTO #10393]
(Bitbake rev: 9c7cc981408c9b4bbbff98ae93ff22199f6a8219)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a bug where a totally wrong value of a variable would be exported if
an exception happened during d.getVar(). Also, print a warning if an
exception happends instead of silently ignoring it. It would probably be
best just to raise the exception, instead, but use the warning for now
in order to avoid breaking existing builds.
[YOCTO #10393]
(Bitbake rev: f639f06cfa280adcc25438387567966271b9b2c3)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We recalculate the taskhash to ensure the version we have matches
what we think it should be. When we write out a sigdata file, use
the calculated value so that we don't overwrite any existing file.
This leaves any original taskhash sigdata file intact to allow a
debugging comparison.
(Bitbake rev: 291353b711670ce2da3d45617fc96520bdf09d3f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bitbake can parse metadata in the cooker and in the worker during builds. If
the metadata isn't deterministic, it can change between these two parses and
this confuses things a lot. It turns out to be hard to debug these issues
currently.
This patch ensures the basehashes from the original parsing are passed into
the workers and that these are checked when reparsing for consistency. The user
is shown an error message if inconsistencies are found.
There is debug code in siggen.py (see the "Slow but can be useful for debugging
mismatched basehashes" commented code), we don't enable this by default due to
performance issues. If you run into this message, enable this code and you will
find "sigbasedata" files in tmp/stamps which should correspond to the hashes
shown in this error message. bitbake-diffsigs on the files should show which
variables are changing.
(Bitbake rev: 857829048c14338132784326ba98a71f12192db8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't remove sigdata files, we also shouldn't remove sigbasedata files
as this hinders debugging.
(Bitbake rev: 8b879fd81fdcf86645cfabad0f54454ba573df52)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't remove sigdata files, we also shouldn't remove sigbasedata files
as this hinders debugging.
(From OE-Core rev: 988349f90c8dc5498b1f08f71e99b13e928a0fd0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't remove sigdata files, we also shouldn't remove sigbasedata files
as this hinders debugging.
(From OE-Core rev: 1ebd85f8dfe45b92c0137547c05e013e340f9cec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no way to ensure that files owned by the users aren't left
on the system at postrm time: Removing the user would mean those
files are now owned by a non-existing user, and later may be owned
by a completely unrelated new user.
(From OE-Core rev: 776370efb9fa48b82ac991e3d001accd122d611b)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no way to ensure that files owned by the users aren't left
on the system at postrm time: Removing the user would mean those
files are now owned by a non-existing user, and later may be owned
by a completely unrelated new user.
[YOCTO #10442]
(From OE-Core rev: c1be2196e7ffb23b7b243ecd8aca1827cbdfa443)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
e2fsprogs builds fine with or without attr but it's possible to
end up with this sequence:
* e2fsprogs configure finds attr/xattr.h (coming from sstate)
* attr starts rebuild, attr/xattr.h is removed from sysroot
* e2fsprogs compile fails: "attr/xattr.h: No such file or directory"
Depend on attr to ensure reproducible build.
(From OE-Core rev: 8b9668cc70348600ba281291b567485302af9666)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[YP#7202]: Test for linux-dummy
The new kernel.py file is intended for kernel related test cases.
The test for linux-dummy will ensure it is in good shape and can
be used as a kernel replacement at build time. To do this, the
test will first clean sstate for linux-dummy target, ensuring no
file is present in the stamps directory. After, core-image-minimal
is built, ensuring linux-dummy can be used as a kernel substitute.
(From OE-Core rev: 98c6ebf1e05158c689e01b785d32757847cdb10c)
Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Six-monthly feature release.
* Rebase the --disable-opengl patch.
* Remove a backported patch.
* Inherit gettext as that seems to have been missing.
(From OE-Core rev: d1dce7adbc649925bc9285798bf464b1e6f3d84d)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Six-monthly feature release.
glib-2.0-utils now includes "gio" command line utility.
Drop a patch that's now upstream. Add PACKAGECONFIG for libmount,
enabled by default.
(From OE-Core rev: 361dc9990fb5fc5604ba8e9d2f1188fd440e916d)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Trying to configure evdev and mouse leads to errors in X startup
because xf86-input-libinput is now the default. No configuration
should be needed: xf86-input-libinput should just work out-of-the-box.
(From OE-Core rev: bd1e0b50af7a0b08bb57cc684afaee1ca2a03545)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't install legacy X input drivers for any machines by default,
RRECOMMEND xf86-input-libinput instead.
This is the setup suggested by upstream: install only libinput by
default, but let niche legacy drivers sort higher in configuration
so they get chosen if installed. So the order is:
evdev < libinput < (synaptics|vmmouse|...)
This also removes vmmouse X driver from the qemu config. If a VMware
virtual mouse device really needs to be supported, we should enable
CONFIG_MOUSE_PS2_VMMOUSE in kernel instead: that is directly supported
by the libinput X driver.
Fixes [YOCTO #10195].
(From OE-Core rev: 2d005faff6341a81a2afae28860101ba9db51ae8)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 0001-src-video-make-it-compatible-with-wayland-1.10.patch is removed because
the problem has been resolved upstream
* Add 0001-prepend-our-sysroot-path-so-that-make-finds-our-wayl.patch
so that WAYLAND_PROTOCOLS_SYSROOT_DIR is substituted in a way similar to gtk3
(From OE-Core rev: 97fff54efe6b03798ad1c5e39155eaeab0a33300)
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
core-image-directfb was removed from oe-core with this commit:
remove core-image-directfb.bb as part of moving directfb
from oe-core
(From OE-Core rev: 8871fe1189776d78e5848b08edb9c990b9aebf2d)
(From meta-yocto rev: 67135b23336e4b7f561257169d8fb26081d02aa1)
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>
core-image-directfb was removed from oe-core with this commit:
remove core-image-directfb.bb as part of moving directfb
from oe-core
(From OE-Core rev: 8871fe1189776d78e5848b08edb9c990b9aebf2d)
(From meta-yocto rev: d8e70722ce82d1d688f63e8572b46c1f01d7f353)
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>
qemu-system-mips64el is unavailable which causes problems for runqemu
Add mips64el to QEMU_TARGETS to build it.
(From meta-yocto rev: 98063183ecbe18750ee7036e71bbbbb3044a13ac)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE and LIC_FILES_CHKSUM apply to the sources specified by SRC_URI,
not to the recipe itself. As such a license declaration for a source-less
recipe makes little sense. The LICENSE declaration is mandatory, but
LIC_FILES_CHKSUM can be removed in such cases.
Remove the LIC_FILES_CHKSUM declarations from all recipes that do not
need it.
CC: Paul Eggleton <paul.eggleton@linux.intel.com>
(From OE-Core rev: b18fa5f2f2f46afc6fdc58f4d29679dea9c36c43)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If file_exclude matches a directory, os.unlink() got called with this
directory as an argument.
Filter out paths that end in a directory separator.
This still leaves the (then empty) directories, but this does not affect
the git commit.
(From OE-Core rev: e84b9185cc8f8e9f9df0e050543bb3a2c59426c3)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A large part of this release cycle was internal cleanups and
improvements to the test suite, only few new features were added.
(From OE-Core rev: 46929bafd9751050ec388906dd96924c37be6c1b)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The change to get rid of FuncFailed exceptions changed the behavior
of how missing uid/gid error are be handled. Instead of catching
the exception and handling that via bb.parse.SkipPackage(), a fatal
error was called.
This won't work with recipes that are unused and therefore do not have
UID/GIDs defined. The problem triggers when parsing all recipes (e.g.,
oe-selftest runs bitbake -p).
The right way to handle this is to raise bb.parse.SkipPackage(). This
will error correctly once the recipe is needed.
(From OE-Core rev: 55384cfc743a12a78bef736ee08ed453b6a6a21e)
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Warn system directories requires a configuration option to be enabled.
This patch enables the warning for cross-canadian ld, to align with the
cross version.
(From OE-Core rev: 581a746f081a265e08b41712e7bc953f46c6e92a)
Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This class enables 'manpages' feature in packages if 'api-documentation'
is in distro features. This ensures that manpages are always built
and installed when API documentation feature is enabled.
(From OE-Core rev: 1587777f1c54137eb3dacbeb427d2f6814af1713)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows dropping the SGML stack dependency, and iputils is the
only package in oe-core that still needs it (for manpages only).
(From OE-Core rev: 58ac4da13cf32e1c8484d1a6ac51f0f439a6932c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This means that FAQ and tutorial will not be built, but even when they
were, they were not installed anywhere.
(From OE-Core rev: f284f1776ba3ecc6b17b0c17a4c4575347f942ab)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* it reports at least 2 issues in every build (this file in
native and target sysroot) add it to whitelist
(From OE-Core rev: 798107887294072cacb23b668f446e151fe3c35f)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* format of bitbake tasks changed in:
2c88afb taskdata/runqueue: Rewrite without use of ID indirection
-ERROR: Task 4 (/OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb, do_fetch) failed with exit code '1'
+ERROR: Task /OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb:do_fetch (/OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb:do_fetch) failed with exit code '1'
so strip not only '\.bb, .*' used before, but also '\.bb:.*' to drop
the task name to get recipe name.
* for more details see:
http://lists.openembedded.org/pipermail/openembedded-core/2016-June/123132.html
* without this change you can see test-dependencies.sh trying to rebuild packages
like:
Building recipe: fbprogress (6/21)
Building recipe: fbprogress.bb:do (7/21)
where the later of course doesn't exist as a recipe
(From OE-Core rev: 26ed215c30c183a3814889c145670220fd3b8bfa)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The u-boot recipes share a couple of common variables, which makes
updating of the recipes error prone and a toil. Factor those common
bits into u-boot-common_${PV}.inc so that they are in one place.
The u-boot_${PV}.bb now explicitly require u-boot-common_${PV}.inc
before require u-boot.inc , as doing require u-boot-common_${PV}.inc
from u-boot.inc would fail due to ${PV} not being set. This is a
functional change.
(From OE-Core rev: b36056af20e981433f143556d511dec5644930fc)
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed to use lz4 as lz4c seems to be deprecated.
Removed use of redirection in favor of using output file.
As Linux kernel supports only legacy format for initial ramdisk add
COMPRESS_CMD_lz4_legacy mode in case some users are using newer format.
(From OE-Core rev: 0ce5ccc7ec81a1e875c025fa0b384afdbe77fa45)
Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
buildhistory was writing srcrevs.values() as SRCREV when only one
srcrev/branch exists. This returns a view of the dictionary values in python
3, and used to return a list in python 2, neither of which is an appropriate
value for SRCREV. It was resulting in latest_srcrev files like this:
# SRCREV = "346584bf6e38232be8773c24fd7dedcbd7b3d9ed"
SRCREV = "dict_values(['346584bf6e38232be8773c24fd7dedcbd7b3d9ed'])"
Which in turn would result in invalid output in buildhistory-collect-srcrevs.
Fix by calling `next(iter())` on the `.values()`
(From OE-Core rev: ef826a395612400924bbe49859d256b237ff59e1)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Konsole has dropped support for the nofork flag. It has been replaced with the seperate flag.
(From OE-Core rev: f0b193b63d4c468c3aa58e15ef5a991e04b9b9a2)
Signed-off-by: Michael Davis <michael.davis@essvote.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a branch/src-repository has the same name as a file/directory, git
since 1.4.0(?) gives an error like the one below:
ambiguous argument 'bitbake': both revision and filename
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Add two dashes to make the intent clear.
(From OE-Core rev: a84ec3ac15a59f72fcb46d97942009c8e459b5d0)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When calling tempfile.NamedTemporaryFile().write(str()), at least on
Python 3.4.2 this fails with this error:
TypeError: 'str' does not support the buffer interface
Change the file-mode for all such files from binary to text mode.
(From OE-Core rev: d08f3882a35eec8a042d2501715684444e353605)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several recipes reference the LICENSE file in their LIC_FILES_CHKSUM
variable as ${COREBASE}/LICENSE. This forces distribution providers to
keep this file verbatim or to overload the affected recipes. The section
"Moving to the Yocto Project 1.6 Release" in the Yocto manual suggests
removing the LICENSE file where possible.
Remove LICENSE in cases where COPYING.MIT is also given and replace
LICENSE with COPYING.MIT if the former was the only entry. All modified
recipes specify LICENSE = "MIT" and none of the in-tree files specify a
different license either.
As the packages do not change (the license files are not contained in
them), do not increase PR.
(From OE-Core rev: 0059e0661826c857a07c862bcb46162671e0e330)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Built and boot test for all these boards on 4.1, 4.4 and 4.8 kernels.
(From meta-yocto rev: d4627701a3a5d8c82f49747c41c5b3226da56d07)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The initial 4.8 -rt feature was directly from Paul Gortmaker, and
now the 'upstream' -rt has done a release on the same kernel
version.
Paul has sync'd the initial effort with the upstream work, and we
now have a consolidated standard/preempt-rt/*
Along with the rsync'd content, Paul has fixed -rt boot on 32 bit
x86.
(From OE-Core rev: 1270050079feeefc38744fdbfe23b16aa1b632a3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new runqemu script assumes that if OECORE_NATIVE_SYSROOT is set then
it shouldn't try to run bitbake to find out the values of various
variables such as DEPLOY_DIR_IMAGE; this assumption is incorrect for the
extensible SDK. To work around this, clear OECORE_NATIVE_SYSROOT in the
environment when running runqemu.
Fixes [YOCTO #10447].
(From OE-Core rev: abff69a48bf3076ce8e21356accdc8d85d2c8dbf)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These requirements were in place for the ADT, which is gone now.
I have removed the four supported host lists for packages to
support the SDK.
(From yocto-docs rev: 9c7c20074e455c24c3fa4cf7114495af47d9881c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Moved a couple notes around and changed some wordings...
nothing major.
(From yocto-docs rev: 75be6c30ca646ee81b955fae7a3e0183ead9ca08)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10462]
The section that shows how to build images had two examples all
within the same section. It was suggested to place these examples
in their own sub-sections. Good suggestion. I broke them out into
sub-sections titled appropriately.
(From yocto-docs rev: 280f304b9823553754c86a5fa6d0c4065d729e7b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10451]
The example that writes the image to bootable media did not seem
to work when using 'mkefidisk.sh'. It does work using 'dd'. I changed
the procedure to use 'dd'.
(From yocto-docs rev: 27a70c88f987cee731584618d76c40a878f35a75)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added a new section in the "Common Tasks" chapter to support
the fact that BB can now build for multi-configurations.
(From yocto-docs rev: aa21aeb2f3d2f9d5a3a6e7175b7c6f13da5f608e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10445]
Pointed out that the EXTENDPKGV variable is hard to locate in the
BB manual. Firstly, we don't document that variable in the
BB manual.... maybe we should. For the ref-manual, however, it is
barely referenced in a side example from the dev-manual. So, I
updated the RDEPENDS variable to have a "Tip" box in the area where
it is shown how to use the package version as part of the RDEPENDs
variable.
(From yocto-docs rev: 7aff5df538c27cf3c2700538e46e723cdb5d9986)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Indicated that the configuration file is not mandatory. Also,
documented the supported qemu* machines should you run the
script without a configuration file.
(From yocto-docs rev: aeb2c28d7476f67302a1b51da51fb57027e9d02c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-25 17:55:37 +01:00
3882 changed files with 153214 additions and 172941 deletions
from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports utf-8.\nPython can't change the filesystem locale after loading so we need a utf-8 when python starts or things won't work.")
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
sys.exit("Please use a locale setting which supports utf-8.\nPython can't change the filesystem locale after loading so we need a utf-8 when python starts or things won't work.")
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
# Users shouldn't be running this code directly
if len(sys.argv) != 2 or not sys.argv[1].startswith("decafbad"):
@@ -63,7 +66,7 @@ if 0:
consolelog.setFormatter(conlogformat)
logger.addHandler(consolelog)
worker_queue = b""
worker_queue = queue.Queue()
def worker_fire(event, d):
data = b"<event>" + pickle.dumps(event) + b"</event>"
@@ -72,21 +75,39 @@ def worker_fire(event, d):
def worker_fire_prepickled(event):
global worker_queue
worker_queue = worker_queue + event
worker_flush()
worker_queue.put(event)
def worker_flush():
global worker_queue, worker_pipe
#
# We can end up with write contention with the cooker, it can be trying to send commands
# and we can be trying to send event data back. Therefore use a separate thread for writing
# back data to cooker.
#
worker_thread_exit = False
if not worker_queue:
return
def worker_flush(worker_queue):
worker_queue_int = b""
global worker_pipe, worker_thread_exit
try:
written = os.write(worker_pipe, worker_queue)
worker_queue = worker_queue[written:]
except (IOError, OSError) as e:
if e.errno != errno.EAGAIN and e.errno != errno.EPIPE:
# TODO: add argument to automatically keep local-only refs, since they
# can't be easily restored with a git fetch.
parser = argparse.ArgumentParser(description='Remove the history of the specified revisions, then optionally filter the available refs to those specified.')
parser.add_argument('--ref', '-r', metavar='REF', action='append', dest='refs', help='remove all but the specified refs (cumulative)')
parser.add_argument('--shrink', '-s', action='store_true', help='shrink the git repository by repacking and pruning')
echo "Failed migrations, aborting system start" 1>&2
return $retval
fi
# Make sure that checksettings can pick up any value for TEMPLATECONF
export TEMPLATECONF
$MANAGE checksettings --traceback || retval=1
if [ $retval -eq 1 ]; then
printf "\nError while checking settings; aborting\n"
return $retval
fi
# check the database
databaseCheck || return 1
echo "Starting webserver..."
@@ -79,6 +103,7 @@ webserverStartAll()
else
echo "Toaster development webserver started at http://$ADDR_PORT"
echo -e "\nYou can now run 'bitbake <target>' on the command line and monitor your build in Toaster.\nYou can also use a Toaster project to configure and run a build.\n"
This example was inspired by and drew heavily from these sources:
<itemizedlist>
<listitem><para>
<ulinkurl="http://www.mail-archive.com/yocto@yoctoproject.org/msg09379.html">Mailing List post - The BitBake equivalent of "Hello, World!"</ulink>
</para></listitem>
<listitem><para>
<ulinkurl="http://hambedded.org/blog/2012/11/24/from-bitbake-hello-world-to-an-image/">Hambedded Linux blog post - From Bitbake Hello World to an Image</ulink>
</para></listitem>
</itemizedlist>
This example was inspired by and drew heavily from
<ulinkurl="http://www.mail-archive.com/yocto@yoctoproject.org/msg09379.html">Mailing List post - The BitBake equivalent of "Hello, World!"</ulink>.
</note>
<para>
@@ -269,7 +262,7 @@
and define some key BitBake variables.
For more information on the <filename>bitbake.conf</filename>,
"""Exception raised when encountering a host not listed in BB_ALLOWED_NETWORKS"""
@@ -68,24 +69,24 @@ class UntrustedUrl(BBFetchException):
classMalformedUrl(BBFetchException):
"""Exception raised when encountering an invalid url"""
def__init__(self,url,message=''):
ifmessage:
msg=message
else:
msg="The URL: '%s' is invalid and cannot be interpreted"%url
self.url=url
BBFetchException.__init__(self,msg)
self.args=(url,)
ifmessage:
msg=message
else:
msg="The URL: '%s' is invalid and cannot be interpreted"%url
self.url=url
BBFetchException.__init__(self,msg)
self.args=(url,)
classFetchError(BBFetchException):
"""General fetcher exception when something happens incorrectly"""
def__init__(self,message,url=None):
ifurl:
ifurl:
msg="Fetcher failure for URL: '%s'. %s"%(url,message)
else:
else:
msg="Fetcher failure: %s"%message
self.url=url
BBFetchException.__init__(self,msg)
self.args=(message,url)
self.url=url
BBFetchException.__init__(self,msg)
self.args=(message,url)
classChecksumError(FetchError):
"""Exception when mismatched checksum encountered"""
@@ -99,49 +100,56 @@ class NoChecksumError(FetchError):
classUnpackError(BBFetchException):
"""General fetcher exception when something happens incorrectly when unpacking"""
def__init__(self,message,url):
msg="Unpack failure for URL: '%s'. %s"%(url,message)
self.url=url
BBFetchException.__init__(self,msg)
self.args=(message,url)
msg="Unpack failure for URL: '%s'. %s"%(url,message)
self.url=url
BBFetchException.__init__(self,msg)
self.args=(message,url)
classNoMethodError(BBFetchException):
"""Exception raised when there is no method to obtain a supplied url or set of urls"""
def__init__(self,url):
msg="Could not find a fetcher which supports the URL: '%s'"%url
self.url=url
BBFetchException.__init__(self,msg)
self.args=(url,)
msg="Could not find a fetcher which supports the URL: '%s'"%url
self.url=url
BBFetchException.__init__(self,msg)
self.args=(url,)
classMissingParameterError(BBFetchException):
"""Exception raised when a fetch method is missing a critical parameter in the url"""
def__init__(self,missing,url):
msg="URL: '%s' is missing the required parameter '%s'"%(url,missing)
self.url=url
self.missing=missing
BBFetchException.__init__(self,msg)
self.args=(missing,url)
msg="URL: '%s' is missing the required parameter '%s'"%(url,missing)
self.url=url
self.missing=missing
BBFetchException.__init__(self,msg)
self.args=(missing,url)
classParameterError(BBFetchException):
"""Exception raised when a url cannot be proccessed due to invalid parameters."""
def__init__(self,message,url):
msg="URL: '%s' has invalid parameters. %s"%(url,message)
self.url=url
BBFetchException.__init__(self,msg)
self.args=(message,url)
msg="URL: '%s' has invalid parameters. %s"%(url,message)
self.url=url
BBFetchException.__init__(self,msg)
self.args=(message,url)
classNetworkAccess(BBFetchException):
"""Exception raised when network access is disabled but it is required."""
def__init__(self,url,cmd):
msg="Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access requested with command %s (for url %s)"%(cmd,url)
self.url=url
self.cmd=cmd
BBFetchException.__init__(self,msg)
self.args=(url,cmd)
msg="Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access requested with command %s (for url %s)"%(cmd,url)
logger.info("Tasks Summary: Attempted %d tasks of which %d didn't need to be rerun and %d failed.",self.rqexe.stats.completed+self.rqexe.stats.failed,self.rqexe.stats.skipped,self.rqexe.stats.failed)
@@ -1239,12 +1355,7 @@ class RunQueue:
logger.info("Tasks Summary: Attempted %d tasks of which %d didn't need to be rerun and all succeeded.",self.rqexe.stats.completed,self.rqexe.stats.skipped)
bb.error("When reparsing %s, the basehash value changed from %s to %s. The metadata is not deterministic and this needs to be fixed."%(k,self.basehash[k],datahash))
self.basehash[k]=datahash
taskdeps[task]=alldeps
self.taskdeps[fn]=taskdeps
@@ -150,13 +161,15 @@ class SignatureGeneratorBasic(SignatureGenerator):
try:
taskdeps=self._build_data(fn,d)
exceptbb.parse.SkipRecipe:
raise
except:
bb.warn("Error during finalise of %s"%fn)
raise
#Slow but can be useful for debugging mismatched basehashes
output.append("List of dependencies for variable %s changed from '%s' to '%s'"%(dep,a_data['gendeps'][dep],b_data['gendeps'][dep]))
output.append(color_format("{color_title}List of dependencies for variable %s changed from '{color_default}%s{color_title}' to '{color_default}%s{color_title}'")%(dep,a_data['gendeps'][dep],b_data['gendeps'][dep]))
output.append(color_format("{color_title}Variable {var} value changed:{color_default}\n{diff}",var=dep,diff='\n'.join(difflines)))
elifnewvalandoldvaland(''inoldvalor''innewval):
output.append(color_format("{color_title}Variable {var} value changed:{color_default}\n{diff}",var=dep,diff=worddiff_str(oldval,newval,colors)))
else:
output.append(color_format("{color_title}Variable {var} value changed from '{color_default}{oldval}{color_title}' to '{color_default}{newval}{color_title}'{color_default}",var=dep,oldval=oldval,newval=newval))
changed.append("%s with hash %s\n changed to\n%s with hash %s"%(clean_basepath(a),a_data['runtaskhashes'][a],clean_basepath(b),b_data['runtaskhashes'][b]))
ifchanged:
output.append("runtaskdeps changed from %s to %s"%(clean_basepaths_list(a_data['runtaskdeps']),clean_basepaths_list(b_data['runtaskdeps'])))
bb.msg.fatal("TaskData","Error for %s:%s[%s], dependency %s in '%s' does not contain exactly one ':' character.\n Task '%s' should be specified in the form 'packagename:task'"%(fn,task,dep_name,dep,task_deps[dep_name][task],dep_name))
bb.msg.fatal("TaskData","Error for %s, dependency %s does not contain ':' character\n. Task 'depends' should be specified in the form 'packagename:task'"%(fn,dep))
bb.msg.fatal("TaskData","Error for %s, dependency %s does not contain ':' character\n. Task 'rdepends' should be specified in the form 'packagename:task'"%(fn,dep))
@@ -493,7 +482,8 @@ NOTE: .bbappend files can impact the dependencies.
parser_show_recipes.add_argument('-i','--inherits',help='only list recipes that inherit the named class',metavar='CLASS',default='')
parser_show_recipes.add_argument('pnspec',nargs='?',help='optional recipe name specification (wildcards allowed, enclose in quotes to avoid shell expansion)')
parser_show_appends.add_argument('pnspec',nargs='?',help='optional recipe name specification (wildcards allowed, enclose in quotes to avoid shell expansion)')
logger.debug("localhostbecontroller: giturl %s:%s checking out in current directory %s"%(giturl,commit,localdirname))
@@ -155,7 +171,7 @@ class LocalhostBEController(BuildEnvironmentController):
ifos.path.exists(localdirname):
try:
localremotes=self._shellcmd("git remote -v",
localdirname)
localdirname,env=git_env)
ifnotgiturlinlocalremotesandcommit!='HEAD':
raiseBuildSetupException("Existing git repository at %s, but with different remotes ('%s', expected '%s'). Toaster will not continue out of fear of damaging something."%(localdirname,", ".join(localremotes.split("\n")),giturl))
exceptShellCmdException:
@@ -165,18 +181,18 @@ class LocalhostBEController(BuildEnvironmentController):
else:
ifgiturlincached_layers:
logger.debug("localhostbecontroller git-copying %s to %s"%(cached_layers[giturl],localdirname))
This directory holds code that works with Toaster, without being an integral part of the Toaster project.
It is intended for testing code, testing fixtures, tools for Toaster, etc.
NOTE: This directory is NOT a Python module.
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.