summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-02-02yocto-bsp: drop 4.19 bbappendzedd/kernel-master-nextBruce Ashfield
5.4 is the new LTS kernel, so we drop the 4.19 bbappens as the 4.19 kernel will be removed. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-02-02poky-alt: bump LTS kernel to v5.4Bruce Ashfield
We move from 4.19 to 5.4 as the LTS kernel. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-02-02poky: bump preferred kernel to v5.4Bruce Ashfield
Ensure that the 5.4 LTS kernel is the preferred version for all poky boards. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-02-02qemu: bump default reference kernel to v5.4Bruce Ashfield
Now that the 5.4 recipes are available, we bump the default versions to use them. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-02-02linux-yocto/5.2: update to v5.2.29Bruce Ashfield
Updating linux-yocto/5.2 to the latest korg -stable release that comprises the following commits: 928ea9c56927 Linux 5.2.29 4e41907620bc slip: Fix use-after-free Read in slip_open d11814f97a05 can: slcan: Fix use-after-free Read in slcan_open 01313dcf66e7 can: kvaser_usb: kvaser_usb_leaf: Fix some info-leaks to USB devices 7f006e58efc2 scsi: libsas: stop discovering if oob mode is disconnected 0e5c48d6b011 staging: comedi: usbduxfast: usbduxfast_ai_cmdtest rounding error d8b3d5fb8765 USB: serial: option: add support for Foxconn T77W968 LTE modules c4fe1d495f9c USB: serial: option: add support for DW5821e with eSIM support 4ac031b15d86 USB: serial: mos7840: fix remote wakeup 4d44a218aea6 USB: serial: mos7720: fix remote wakeup 3561f4d3242f USB: serial: mos7840: add USB ID to support Moxa UPort 2210 13a33fb9debe appledisplay: fix error handling in the scheduled work 0cd437d7c16b USB: chaoskey: fix error case of a timeout 2136119fde46 usb-serial: cp201x: support Mark-10 digital force gauge 3a71173a4a45 usbip: tools: fix fd leakage in the function of read_attr_usbip_status 726510907c68 USBIP: add config dependency for SGL_ALLOC 7dd553573bc5 media: mceusb: fix out of bounds read in MCE receiver buffer 1e4921f684ca media: imon: invalid dereference in imon_touch_event d482dfe2776a media: cxusb: detect cxusb_ctrl_msg error in query ab4952849dd8 media: b2c2-flexcop-usb: add sanity checking e2aa61cda115 media: uvcvideo: Fix error path in control parsing failure 115fa3afd4d1 cpufreq: Add NULL checks to show() and store() methods of cpufreq 767facdefa23 media: usbvision: Fix races among open, close, and disconnect ba90b62cb0bd media: usbvision: Fix invalid accesses after device disconnect 829b703e9706 media: vivid: Set vid_cap_streaming and vid_out_streaming to true 57f2b5c44f02 nfc: port100: handle command failure cleanly 5fc4dc967e06 ALSA: usb-audio: Fix NULL dereference at parsing BADD c938307a439a futex: Prevent robust futex exit race 8b0f13ee2b7b nbd: prevent memory leak 1bfd67a1c47b ARM: 8904/1: skip nomap memblocks while finding the lowmem/highmem boundary a634776bcd5e md/raid10: prevent access of uninitialized resync_pages offset 40c0b4538c8b Revert "dm crypt: use WQ_HIGHPRI for the IO and crypt workqueues" 53eaf5993eea ath9k_hw: fix uninitialized variable data 5a1b959a78ea ath10k: Fix a NULL-ptr-deref bug in ath10k_usb_alloc_urb_from_pipe 8b16c7096bc9 ath10k: Fix HOST capability QMI incompatibility ceee3b64b0b5 ath10k: restore QCA9880-AR1A (v1) detection 08c0402ed497 Bluetooth: Fix invalid-free in bcsp_close() c1ed057fbe33 drm/i915/userptr: Try to acquire the page lock around set_page_dirty() 5ec5ba44bd85 drm/i915/pmu: "Frequency" is reported as accumulated cycles c7ceeaf80706 drm/amd/powerplay: issue no PPSMC_MSG_GetCurrPkgPwr on unsupported ASICs 1c3fb0c8357e drm/amdgpu: disable gfxoff on original raven ccd9d21f783e drm/amdgpu: disable gfxoff when using register read interface 6e745cbc5051 mm/ksm.c: don't WARN if page is still mapped in remove_stable_node() 79194b4a342c mm/memory_hotplug: don't access uninitialized memmaps in shrink_zone_span() 01d151b7e74e virtio_balloon: fix shrinker count caae62219805 virtio_ring: fix return code on DMA mapping fails 272ed6b7ca4a virtio_console: allocate inbufs in add_port() only if it is needed abce58c3af15 nbd:fix memory leak in nbd_get_socket() 2601193dc253 tools: gpio: Correctly add make dependencies for gpio_utils 3608aa07bac2 gpio: max77620: Fixup debounce delays c6bf6af12a68 vhost/vsock: split packets to send using multiple buffers 95a617d1f70c net/mlx5: Update the list of the PCI supported devices febceda6db3f net/mlx5e: Do not use non-EXT link modes in EXT mode f8bddf0e192a net/mlx5e: Fix error flow cleanup in mlx5e_tc_tun_create_header_ipv4/6 e049e3c43308 taprio: don't reject same mqprio settings 8345d40b83bf ipv6/route: return if there is no fib_nh_gw_family 1edfc6649c92 net/tls: enable sk_msg redirect to tls socket egress 27845a1dd06b net/mlx5: Fix auto group size calculation ec6d299939c3 net/mlx5e: Fix set vf link state error flow bab144f2a957 net/mlxfw: Verify FSM error code translation doesn't exceed array size 3eb4c2e70dce sfc: Only cancel the PPS workqueue if it exists a03585b724bc net: sched: ensure opts_len <= IP_TUNNEL_OPTS_MAX in act_tunnel_key 285a19d8dde0 net/sched: act_pedit: fix WARN() in the traffic path 8e40158af458 net: rtnetlink: prevent underflows in do_setvfinfo() 1afad75b2dba net/mlx4_en: Fix wrong limitation for number of TX rings ce1291041c39 net/mlx4_en: fix mlx4 ethtool -N insertion 2a7ad86813a4 mlxsw: spectrum_router: Fix determining underlay for a GRE tunnel da957117e731 fbdev: Ditch fb_edid_add_monspecs 1f043415c4f5 arm64: uaccess: Ensure PAN is re-enabled after unhandled uaccess fault 0063e9b69796 mm/memory_hotplug: fix updating the node span d27074543286 mm/memory_hotplug: don't access uninitialized memmaps in shrink_pgdat_span() 62ca688436d3 block, bfq: deschedule empty bfq_queues not referred by any process 045a481acd16 slcan: Fix memory leak in error path 22bc38eae704 mmc: sdhci-of-at91: fix quirk2 overwrite 8505966cdc7e mm/page_io.c: do not free shared swap slots 349d5ccf8971 mm: hugetlb: switch to css_tryget() in hugetlb_cgroup_charge_cgroup() cb4df7d810ac mm: memcg: switch to css_tryget() in get_mem_cgroup_from_mm() eec30082ea78 mm: mempolicy: fix the wrong return value and potential pages leak of mbind c4b3eaf0585b iommu/vt-d: Fix QI_DEV_IOTLB_PFSID and QI_DEV_EIOTLB_PFSID macros 5a705e36d350 net: ethernet: dwmac-sun8i: Use the correct function in exit path 50d4170ffddd ntp/y2038: Remove incorrect time_t truncation f701a893aba0 ecryptfs_lookup_interpose(): lower_dentry->d_parent is not stable either 97dd5923ba23 ecryptfs_lookup_interpose(): lower_dentry->d_inode is not stable 3c130e6cddae x86/quirks: Disable HPET on Intel Coffe Lake platforms a0f63a47ab13 i2c: acpi: Force bus speed to 400KHz if a Silead touchscreen is present ca7d1676d537 IB/hfi1: Use a common pad buffer for 9B and 16B packets b8b6479e3cc9 IB/hfi1: Ensure full Gen3 speed in a Gen4 system 72ff837e69c5 IB/hfi1: TID RDMA WRITE should not return IB_WC_RNR_RETRY_EXC_ERR 3c1db8a639ac IB/hfi1: Calculate flow weight based on QP MTU for TID RDMA d2f5dd2fd992 IB/hfi1: Ensure r_tid_ack is valid before building TID RDMA ACK packet e88f0707f216 KVM: MMU: Do not treat ZONE_DEVICE pages as being reserved 9e35e5bc4a04 Input: synaptics-rmi4 - destroy F54 poller workqueue when removing 2eaf311ccd38 Input: synaptics-rmi4 - clear IRQ enables for F54 f05aacf5a7b9 Input: synaptics-rmi4 - do not consume more data than we have (F11, F12) 7e649c757a1a Input: synaptics-rmi4 - disable the relative position IRQ in the F12 driver 4b482d7281a6 Input: synaptics-rmi4 - fix video buffer size 74e0752ee79e cgroup: freezer: call cgroup_enter_frozen() with preemption disabled in ptrace_stop() a9cae67b7a20 Btrfs: fix log context list corruption after rename exchange operation 011e452b4d84 ALSA: usb-audio: not submit urb for stopped endpoint c7801593d92a ALSA: usb-audio: Fix missing error check at mixer resolution test ff24b83d0f73 dpaa2-eth: free already allocated channels on probe defer 21790068a579 tcp: remove redundant new line from tcp_event_sk_skb 364436976763 slip: Fix memory leak in slip_open error path b75c75d36816 net: usb: qmi_wwan: add support for Foxconn T77W968 LTE modules c8a648ae5f96 net/smc: fix fastopen for non-blocking connect() b392b2d28e58 net: gemini: add missed free_netdev 612aeedfe77d ipmr: Fix skb headroom in ipmr_get_route(). 5fa89b3526c5 ax88172a: fix information leak on short answers 609d02229b16 scsi: core: Handle drivers which set sg_tablesize to zero efa2c8c477dd x86/entry/32: Fix FIXUP_ESPFIX_STACK with user CR3 a0f6ee27e686 x86/pti/32: Calculate the various PTI cpu_entry_area sizes correctly, make the CPU_ENTRY_AREA_PAGES assert precise 60418beeefd7 selftests/x86/sigreturn/32: Invalidate DS and ES when abusing the kernel 777b0ee4fd79 selftests/x86/mov_ss_trap: Fix the SYSENTER test 07b7c6191853 x86/entry/32: Fix NMI vs ESPFIX 62433c16a282 x86/entry/32: Unwind the ESPFIX stack earlier on exception entry 4a2364594599 x86/entry/32: Move FIXUP_FRAME after pushing %fs in SAVE_ALL 0593a806b430 x86/entry/32: Use %ss segment where required 26ce03ac3327 x86/entry/32: Fix IRET exception f74d7e9547de x86/cpu_entry_area: Add guard page for entry stack on 32bit 41cb303e1436 x86/pti/32: Size initial_page_table correctly 2d2e7fe408eb x86/doublefault/32: Fix stack canaries in the double fault handler 1fd0ff871abe x86/xen/32: Simplify ring check in xen_iret_crit_fixup() 68ef02e30623 x86/xen/32: Make xen_iret_crit_fixup() independent of frame layout ef15170227e2 x86/stackframe/32: Repair 32-bit Xen PV 37880a369c68 x86/speculation: Fix redundant MDS mitigation message 459c71f82b48 x86/speculation: Fix incorrect MDS/TAA mitigation status c77d64c158c6 x86/insn: Fix awk regexp warnings 41bbdde13b43 x86: Use CONFIG_PREEMPTION 217d051d8efd x86/entry/32: Pass cr2 to do_async_page_fault() 1ecceee4c859 x86/entry/64: Prevent clobbering of saved CR2 value 8ccce28352fe x86/mm, tracing: Fix CR2 corruption 8873fea5f2d4 x86/entry/64: Update comments and sanity tests for create_gap 7801660649a0 x86/entry/64: Simplify idtentry a little 5d305a697f40 x86/entry/32: Simplify common_exception 216401f82bef x86/paravirt: Make read_cr2() CALLEE_SAVE bf8b9dd0d0bf x86/asm: Move native_write_cr0/4() out of line 222093f0acfd x86/pgtable/32: Fix LOWMEM_PAGES constant 7998b2c4801a x86/alternatives: Fix int3_emulate_call() selftest stack corruption e4a8155be9bd x86/ldt: Initialize the context lock for init_mm f07a9a3a9ad4 x86/alternatives: Add int3_emulate_call() selftest 29b042bbfab8 x86/stackframe/32: Allow int3_emulate_push() 22334402db00 x86/stackframe/32: Provide consistent pt_regs ed6c118e4451 x86/stackframe, x86/ftrace: Add pt_regs frame annotations 7159ebba55a4 x86/stackframe, x86/kprobes: Fix frame pointer annotations ba09efb8b35b x86/stackframe: Move ENCODE_FRAME_POINTER to asm/frame.h c2f632a32c05 x86/entry/32: Clean up return from interrupt preemption path ce394d5e28c6 x86/asm: Pin sensitive CR0 bits b3327106585c x86/asm: Pin sensitive CR4 bits e3534ce1de0c Documentation/x86: Fix path to entry_32.S 487a6cb63d71 x86/asm: Remove unused TASK_TI_flags from asm-offsets.c 2bd8a406516b x86/entry/64: Don't compile ignore_sysret if 32-bit emulation is enabled Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-02-02linux-yocto: drop 4.19 recipesBruce Ashfield
5.4 is the next LTS kernel, so we drop the 4.19 recipes from master. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-02-02kernel-devsrc: update to v5.4+Bruce Ashfield
To support on-target module building, we need to include syscall.tbl for ARM64 (just like we do for other architectures). We also copy .config with -a to ensure that we don't trigger extra processing and regen configs. Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-02-02kern-tools: update Kconfiglib to latest (for 5.4+ kernel)Bruce Ashfield
When a symbol doesn't make it into the final analysis is run using Kconfiglib to show dependencies. v5.4 has introduced Kconfig elements that Kconfiglib can't parse (hence we get no analysis). Updating the Kconfiglib snapshot solves our problem. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-02-02linux-yocto: introduce 5.4 recipesBruce Ashfield
This creates recipes for the v5.4/* branches of the linux-yocto reference kernel. preempt-rt, yaffs2, aufs5 and reference board specific patches are part of these branches. All major architectures: x86,x86-64,ARM, ARM64,ppc,mips and mips64 have been feature tested against this reference. 5.4 is a LTS release, and as such will receive -stable updates for the duration of upstream korg support. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-31Adding memoriam to scottrifJefro
Added a few comment lines in Makefile to commemorate Scott's contributions (From yocto-docs rev: 07c88e2724a223b26694c98c0e976d735aee00e6) Signed-off-by: Jefro <jefro@jefro.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-30MEMORIAM: Add recognition for contributors no longer with usRichard Purdie
Its sad to have this but as the project ages, also perhaps inevitable. Besides their contributions, remember them here. (From OE-Core rev: cd9006b20281cef0051ed60a2cfee8c809c24f76) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-28grep: Fix shell after autotools changesRichard Purdie
After changing autotools.bbclass, CONFIG_SHELL setting no longer works resulting in: grep-3.4-r0 do_package_qa: QA Issue: /bin/fgrep.grep contained in package grep requires /bin/bash, but no providers found in RDEPENDS_grep? [file-rdeps] The script can use /bin/sh so set this specifically using sed since we want to use a consistent shell for the rest of the build but not have the specific bash dependency. (From OE-Core rev: 9031b66c7c817b65f75b429db6f6527d07196e8a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-28xz: Fix shell after autotools changesRichard Purdie
After changing autotools.bbclass, CONFIG_SHELL setting no longer works resulting in: xz-5.2.4-r0 do_package_qa: QA Issue: /usr/bin/xzmore contained in package xz requires /bin/bash, but no providers found in RDEPENDS_xz? [file-rdeps] The script can use /bin/sh so set this specifically. (From OE-Core rev: 790be4ace4da2e2d7597d4e8ccf75ed7f711184d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-28autotools: Give in and force CONFIG_SHELL to bashRichard Purdie
At present, CONFIG_SHELL becomes /bin/sh if its bash and /bin/bash if not. This isn't deterministic and leads to changes in ptest packages which include Makefiles. At first glance you'd think we'd hardcode to /bin/sh since most system shells are sane. Sadly the dash vs. bash leads to quoting differences in configure. The bash default is probably the safest option since configure tries to find bash and this is what most systems would end up using. The end result is a more consisent build environment. [YOCTO #13752] (From OE-Core rev: 33b1e27c29ed05da783f814cf9c3035675087ecc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-28weston: upgrade 7.0.0 -> 8.0.0Denys Dmytriyenko
Here are some highlights: - DRM hardware planes should be used more effectively - The DRM backend now supports HDCP - Headless backend now supports OpenGL - DRM backend can now be built without GBM - EGL_KHR_partial_update is now used when available, reducing memory bandwidth usage on some GPUs - Logging framework improvements - Documentation for weston can now be built https://lists.freedesktop.org/archives/wayland-devel/2020-January/041147.html (From OE-Core rev: 1aa123f176f166e8eeaa09dc9b9fda206a92ae87) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-28nspr, nss: use ${includedir}/nspr like e.g. ubuntu doesMartin Jansa
* instead of installing all 51 nspr header files directly in ${includedir} * ubuntu uses /usr/include/nspr as well as shown in: https://packages.ubuntu.com/xenial/amd64/libnspr4-dev/filelist and some components assume the same path * update nss configure to find them, similar change might be needed in mozjs and ecryptfs-utils (From OE-Core rev: 274128830a9d52bdd2827cc0a323d575025ce62f) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-28lttng-tools: disable tests that sporadically failAlexander Kanavin
Upstream is aware, and will investigate and fix. (From OE-Core rev: 96c286a1b2f9fc8e8bf4fb29ae62551a323af5c3) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-28core-image-sato-sdk-ptest: use 2G of RAMAlexander Kanavin
Particularly, 1G wasn't enough for lttng-tools ptests as half of that went to /tmp, and lttng-tools needs more. (From OE-Core rev: abc308a38c6e37afcaf507858a6578c10438c5d8) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-28lttng-tools: install additional scripts needed for ptestsAlexander Kanavin
(From OE-Core rev: fec25d9bfd7119d6ccccadd5109b8a09683fba5e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-28default-distrovars.inc: add vfat to DISTRO_FEATURESAlexander Kanavin
This is beneficial for parted ptests in particular, as they expect vfat functionality to work. (From OE-Core rev: 85eb0cdc16b89dc7d3bce0c0b1c22b68f684ef05) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27bitbake: tests/fetch: add npmsw testsJean-Marie LEMETAYER
This commit adds some tests to validate the npmsw fetcher: - bb.tests.fetch.NPMTest.test_npmsw - bb.tests.fetch.NPMTest.test_npmsw_bad_checksum - bb.tests.fetch.NPMTest.test_npmsw_destsuffix - bb.tests.fetch.NPMTest.test_npmsw_dev - bb.tests.fetch.NPMTest.test_npmsw_mirrors - bb.tests.fetch.NPMTest.test_npmsw_no_network_no_tarball - bb.tests.fetch.NPMTest.test_npmsw_no_network_with_tarball - bb.tests.fetch.NPMTest.test_npmsw_npm_reusability - bb.tests.fetch.NPMTest.test_npmsw_premirrors (Bitbake rev: ba205df20b6a07a4b1125332601c6c54c7b019b5) Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27bitbake: fetch2: add the npmsw fetcherJean-Marie LEMETAYER
This commit adds a new npmsw fetcher that fetches every npm dependencies described in a npm shrinkwrap file: https://docs.npmjs.com/files/shrinkwrap.json.html The main package must be fetched separately: SRC_URI = "npm://registry.url;package=foobar;version=1.0.0 \ npmsw://${THISDIR}/npm-shrinkwrap.json" Since a separation has been created between the package and its dependencies, the package can also be fetched with a non npm fetcher without impacting the general behavior: SRC_URI = "git://github.com/foo/bar.git;protocol=https \ npmsw://${THISDIR}/npm-shrinkwrap.json" (Bitbake rev: f5223be54450bf20e0bfbd53b372a7748a44b475) Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27bitbake: tests/fetch: add npm testsJean-Marie LEMETAYER
This commit adds some tests to validate the npm fetcher: - bb.tests.fetch.NPMTest.test_npm - bb.tests.fetch.NPMTest.test_npm_bad_checksum - bb.tests.fetch.NPMTest.test_npm_destsuffix_downloadfilename - bb.tests.fetch.NPMTest.test_npm_mirrors - bb.tests.fetch.NPMTest.test_npm_no_network_no_tarball - bb.tests.fetch.NPMTest.test_npm_no_network_with_tarball - bb.tests.fetch.NPMTest.test_npm_package_invalid - bb.tests.fetch.NPMTest.test_npm_package_none - bb.tests.fetch.NPMTest.test_npm_premirrors - bb.tests.fetch.NPMTest.test_npm_registry_alternate - bb.tests.fetch.NPMTest.test_npm_registry_invalid - bb.tests.fetch.NPMTest.test_npm_registry_none - bb.tests.fetch.NPMTest.test_npm_version_invalid - bb.tests.fetch.NPMTest.test_npm_version_latest - bb.tests.fetch.NPMTest.test_npm_version_none (Bitbake rev: b166bd3cc6cc1ca63e885319091f17daaaaa2537) Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27bitbake: fetch2/npm: refactor the npm fetcherJean-Marie LEMETAYER
This commit refactors the npm fetcher to improve some points and fix others: - The big change is that the fetcher is only fetching the package source and no more the dependencies. Thus the npm fetcher act as the other fetchers e.g git, wget. The dependencies will be handled later. - The fetcher only resolves the url of the package using 'npm view' and then forwards it to a proxy fetcher. - This commit also fixes a lot of issues with the package names (exotic characters, scoped packages) which were badly handled. - The validation files - lockdown.json and npm-shrinkwrap.json - are no longer used by the fetcher. Instead, the downloaded tarball is verified with the 'integrity' and 'shasum' provided in the 'npm view' of the package [1][2]. 1: https://docs.npmjs.com/files/package-lock.json#integrity 2: https://www.w3.org/TR/SRI (Bitbake rev: 0f451cdc43130d503ada53ed1b4fc5a24943f6ef) Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27bitbake: fetch2/wget: fix downloadfilename parameterJean-Marie LEMETAYER
When using a download filename with characters which can be interpreted by the shell ('(', ')', '&', ';', ...) the command fails. Quoting the filename fixes the issue. (Bitbake rev: ed652dce5200161068eccdbfaaaefde33136eb09) Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27bitbake: fetch2: allow fetchers to forward the done conditionJean-Marie LEMETAYER
This commit is necessary to introduce proxy fetchers and do not modify the behavior of existing fetchers. This commit allows fetchers to forwards the done condition to a proxy fetcher. (Bitbake rev: ee3a2545e99e6e99559a72bcda64797ae674ec71) Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27bitbake: fetch2: allow fetchers to forward the mirrors managementJean-Marie LEMETAYER
This commit is necessary to introduce proxy fetchers and do not modify the behavior of existing fetchers. This commit allows fetchers to forwards the "try_mirrors" functions to a proxy fetcher. (Bitbake rev: 462c9a2b368a1720da276310b1d5d0423b7cefea) Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27bitbake: fetch2: allow fetchers to forward the donestamp managementJean-Marie LEMETAYER
This commit is necessary to introduce proxy fetchers and do not modify the behavior of existing fetchers. This commit allows fetchers to forwards the "verify_donestamp" and "update_stamp" functions to a proxy fetcher. (Bitbake rev: f7612c0704b4252bba5157ce9a94d8888c6d0760) Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27bitbake: fetch2: add more hash functions for checksum verificationJean-Marie LEMETAYER
This commit enables the "sha1", "sha384" and "sha512" hash functions in the supported checksum list. This allows to use more SRC_URI checksums functions for a url: SRC_URI[sha1sum] = "..." SRC_URI[sha384sum] = "..." SRC_URI[sha512sum] = "..." The npm fetcher needs this to support subresource integrity: https://www.w3.org/TR/SRI/ (Bitbake rev: cd80a646aa841b71e68282bb8d11194abb5df0e4) Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27bitbake: fetch2: refactor checksum verificationJean-Marie LEMETAYER
This commit refactors the way checksums are verified to be more generic. The support of new hash functions is now limited to the update of the CHECKSUM_LIST variable. (Bitbake rev: debd9eeaf5638755d8956b2d65b904fe02826966) Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27bitbake: utils: add is_semver functionJean-Marie LEMETAYER
This function checks if a string is a semantic version: https://semver.org/spec/v2.0.0.html The npm fetcher needs this function to validate its version parameter. (Bitbake rev: 61ac4e825fa7afbb76282030586abc9ee4ac215c) Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27bitbake: utils: add sha384_file and sha512_file functionsJean-Marie LEMETAYER
The npm fetcher needs these functions to support the subresource integrity: https://www.w3.org/TR/SRI/ (Bitbake rev: 80e2216e2b41cb6170292009064864449bc48bbe) Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27kbd: Fix build reproducibility issueRichard Purdie
Our CFLAGS were being lost which was breaking reproducibile builds due to losee of the debug prefix remapping flags. Fix this. (From OE-Core rev: 037bef5c7dfe82642d19f07b38f6ccc783958e41) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27distrodata/maintainers: Add PARSE_ALL_RECIPES flag to fix test issuesRichard Purdie
Currently the test depends on which DISTRO_FEATURES and targets are selected. Similar to SOURCE_MIRROR_FETCH, add PARSE_ALL_RECIPES to allow the test to see a much wider range of them. This avoids issues added by the new ucontext musl specific recipe and allows the current whitelist to be cleared out a bit (more cleanup can follow). (From OE-Core rev: c139e058bb2df48c79784cf3fd701e51bbc68427) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27l3afpad: Add missing mime-xdg inheritRichard Purdie
Fixes: WARNING: l3afpad-0.8.18.1.11+gitAUTOINC+3cdccdc950-r0 do_package_qa: QA Issue: package contains desktop file with key 'MimeType' but does not inhert mime-xdg: l3afpad path 'XXX/packages-split/l3afpad/usr/share/applications/l3afpad.desktop' [mime-xdg] (From OE-Core rev: b9d8eb6a1bafd5f7451e1098e2bf82a344c00747) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27native/cross/nativesdk: Drop obsolete do_populate_sysroot[stamp-extra-info]Richard Purdie
With recipe specific sysroot, these settings do nothing. Drop the obsolete code. (From OE-Core rev: 6269f1935f5fd2d9397045566f2e0e4fc0df85cb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27go: Disable PIE on RISCVKhem Raj
Its not supported yet (From OE-Core rev: d46a43c6bf4131f2bf7224931664e49aca46bce7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27Disable CGO on riscv64Khem Raj
Its not supported yet (From OE-Core rev: ecec793f36545cab9c14a64b267b1d4f694d0323) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27go-dep: Fix bolt for riscv64Khem Raj
(From OE-Core rev: b2d1d944398add45c20caa4ad075825c73086fc4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27go.bbclass: Disable PIE on riscvKhem Raj
Its not _yet_ supported for riscv (From OE-Core rev: aeb38e003dc5e11008e301a584e93351745ef6e7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27riscv32: Bump oldest kernel to 5.4Khem Raj
rv32 port has bumped its minimum kernel requirement to 5.4 as the userspace ABI is still in flux until glibc port is not upstreamed. (From OE-Core rev: 1a7287369e554159914cd9a40c2e023c167fd82a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27gettext: Drop overloadable attibute for getcwd declarationKhem Raj
(From OE-Core rev: d922ccdb79a386c2ea6004520d76277bc8867fcb) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27glibc: Drop fortify refactoring patchKhem Raj
This helps clang to do a better job with fortify on but it is better suited for clang layer (From OE-Core rev: c4ea8d76db37f21c034d610bfe4e53596e662bb8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27glibc: Update to final 2.31 releaseKhem Raj
Drop ppc 8xx clear cache optimization, which we have been carrying through eglibc days, it has been redone in glibc now (From OE-Core rev: 5c48e655cbd9a45d43c37602db8e09e2e91d2722) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27Musl: Update to latest masterKhem Raj
Detailed changelog [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=70d80609558153a996833392999c69cdb74e1119..91e662d1d941215eb024787db5e910dbfb5b169f (From OE-Core rev: 90da58dd295abef1bdc343916906f10c85eaf12f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27perf: Pass LDSHARED and CCLD via EXTRA_OEMAKEKhem Raj
python code underneath is smart and pokes at python installation in sysroot for compile environment, the overrides from EXTRA_OEMAKE are ofcourse preferred but it falls back to python3's distutils/sysconfig for rest of them, and it does use CCLD and LDSHARED for linking, when we use clang to compile python3 then it encodes these variables to be clang however, when building perf we inherit kernel which forces gcc to be used for compiling perf, which then mixes both compilers due to CCLD and LDSHARED demands. Therefore override CCLD and LDSHARED in make environment helps python/distutils to use right linker (From OE-Core rev: f9259da409c2aa92deb71aef0da2405c8d836615) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27ruby: Remove __has_include and __has_include_next from preprocessed header fileKhem Raj
one of the build steps ruby has is that it generated rb_mjit_header.h during configure using gcc preprocessor using -dD which emits built-in defines as well, problem happens when this header is later included in subsequent compiles, where compiler errors out stating that an existing internal define is redefined | /tmp/20200123-2021083-2c601q.h:13849:9: error: "__has_include" cannot be used as a macro name | 13849 | #define __has_include __has_include | | ^~~~~~~~~~~~~ | compilation terminated due to -Wfatal-errors. Since compiler already will take care of it internally we can edit it out from this header file (From OE-Core rev: b4f0df9a0e998af746bcd84cb81ea4ba0107f989) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27nss: Pass NSS_USE_ARM_HW_CRYPTO as define in CFLAGSKhem Raj
Use NSS_USE_ARM_HW_CRYPTO to detect USE_ARM_GCM, since there are dependent, without this we control the crypto code function inclusion in build but do not control the call sites, which can result in undefined symbols e.g. Linux_SINGLE_SHLIB/gcm.o: in function `gcmHash_InitContext': /usr/src/debug/nss/3.49.1-r0/nss-3.49.1/nss/lib/freebl/gcm.c:112: undefined reference to `gcm_HashInit_hw' (From OE-Core rev: 4f8f2fd72fee6cf5aedbb679b2c29b88f98a5e11) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27libucontext: Add recipeKhem Raj
Help musl based systems provide ucontext APIs, these APIs are used in some common applications e.g. chromium browser (From OE-Core rev: 51c329d2d3fbefd5483bb78f471f4c222ad061c1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27elfutils: additional ptest fixesAlexander Kanavin
This should address ARM64 specific failures in particular. eu-objdump is now installed on all architectures; ptests fail in its absence and pass when it is present, so it's useful at least in some scenarios in non-x86 architectures and fails gracefully otherwise. The original decision to exclude it was here: https://bugzilla.yoctoproject.org/show_bug.cgi?id=5283 (From OE-Core rev: 3a3b20df28f6ace6267b68c34faeef3da4d7ef8a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>