summaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2021-03-23run-postinsts: do not remove postinsts directory.Anton D. Kachalov
When running on the systems having read-only rootfs backed by overlayfs, removing the whole directory lead to create a special char device file on the upperdir to reflect directory's removal. Once it is required to upgrade the whole read-only image that might contain new postinsts scripts, it will be impossible to run such scripts with a "deletion mark" file on the overlayfs -- the whole directory will be marked as deleted regardless new files in it. (From OE-Core rev: 1a27b62b225ffeecec47c249a0b86cc54d775add) Signed-off-by: Anton D. Kachalov <gmouse@google.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23python3: fix PACKAGECONFIG handlingMartin Jansa
* it was changed from sysconf_dis to mods_disabled in: https://git.openembedded.org/openembedded-core/diff/meta/recipes-devtools/python/python3/0017-setup.py-do-not-report-missing-dependencies-for-disa.patch?id=7347556b18b45c5f9afc2cade565a75c95876914 but unfortunately this doesn't work as mods_disabled set by remove_configured_extensions can contain only extensions which were disabled, as this list: self.extensions: ['_struct', 'array', '_contextvars', 'math', 'cmath', 'time', '_datetime', '_zoneinfo', '_random', '_bisect', '_heapq', '_pickle', 'atexit', '_json', '_lsprof', 'unicodedata', '_opcode', '_asyncio', '_abc', '_queue', '_statistics', 'fcntl', 'pwd', 'grp', 'spwd', 'select', 'parser', 'mmap', 'syslog', '_xxsubinterpreters', 'audioop', '_csv', '_posixsubprocess', '_testcapi', '_testinternalcapi', '_testbuffer', '_testimportmultiple', '_testmultiphase', '_xxtestfuzz', '_curses', '_curses_panel', '_crypt', '_socket', '_ssl', '_hashlib', '_sha256', '_sha512', '_md5', '_sha1', '_blake2', '_sha3', '_sqlite3', 'termios', 'resource', 'ossaudiodev', 'nis', 'zlib', 'binascii', '_bz2', '_lzma', 'pyexpat', '_elementtree', '_multibytecodec', '_codecs_kr', '_codecs_jp', '_codecs_cn', '_codecs_tw', '_codecs_hk', '_codecs_iso2022', '_decimal', '_ctypes_test', '_posixshmem', '_multiprocessing', '_uuid', 'xxlimited', '_ctypes'] while PACKAGECONFIG in python3 usually uses this to disable _dbm, _gdbm or runtime modules. * without this change the do_install will fail (based on check_build_completeness.py log.do_compile) with: | ERROR: Execution of '/OE/build/oe-core/tmp-glibc/work/x86_64-linux/python3-native/3.9.0-r0/temp/run.do_install.69743' failed with exit code 1: | The necessary bits to build these optional modules were not found: | _dbm _gdbm readline (From OE-Core rev: fa5243693e35e1e0dc3247e2178f181051f68e77) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23apt: Do not disable NLSKhem Raj
Add a patch to disable cmake po targets (From OE-Core rev: 28ba2ddcf73400263ae8409f64190d5f109c44b8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23apt: Support old resolver as fallbackKhem Raj
Not all C libraries implement the new resolver APIs e.g. musl, therefore keep the old interfaces around and choose using __RES version macro which is meant for this kind of work. (From OE-Core rev: 7450cae1d886abe0d6c7b738a9001579c2b530e0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23apt: update 1.8.2.2 -> 2.2.2Alexander Kanavin
Drop 0001-test-libapt-do-not-use-gtest-from-the-host.patch (replaced by WITH_TESTS option). Drop 0001-Do-not-configure-packages-on-installation.patch (no longer necessary). Adjust build dependencies. (From OE-Core rev: f0ede019c828249688e2b287b7845f4ebd2d6203) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23linux-yocto/5.10: cfg: fix ppc64 configuration warningsBruce Ashfield
Recent tweaks to the kern tools triggered some warnings that were previously hidden. With these two commits, ppc64 has a clean audit: c0cfc016a51 qemuppc64: fix 5.10 configuration warnings 489c76aa9fb qemu-ppc64.cfg: Do not set CONFIG_POWER4 (From OE-Core rev: 2a5f2f2c9dbbad1cf79e28be79e4a8a06cc29bea) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23sstate: Add documentation for eventhandlers and tweak namingRichard Purdie
It isn't immediately obvious what these do, add some better examples to document them. Also improve the naming for one of the handlers. This will help make it clear in any tracebacks which code is being used. (From OE-Core rev: 2b5c553744804f44a17b61c345e482027e45b71e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23sstate: Remove stale objects before the main buildRichard Purdie
The split of util-linux-uuid out from util-linux caused some interesting sstate file overlap errors on existing build directories. This is a challenge to handle since util-linux depends on util-linux-uuid and has overlapping files in package data and deploy/packages directories. The util-linux build happens later and is what would clean up those files but it happens too late for uuid. Fixing this is hard as we don't know the taskhashes until the task graph is calculated. Once that is ready, we can compare the hashes with the existing hashes and know which sstate tasks are "stale". This patch adds a handler which iterates the sstate manifests looking for matching stamp paths and then removes the manifests along with the associated stamp files. (From OE-Core rev: 60e77b1777c6c304aa1d629c4cfdabe0daa22eb1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23stress-ng: upgrade 0.12.04 -> 0.12.05zhengruoqin
(From OE-Core rev: e5f457cb81698a517a11df48131169b3a40105ce) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23liburi-perl: upgrade 1.74 -> 5.08zhengruoqin
(From OE-Core rev: f582d6de3d3eb77c9f5d1bf5b6a8fa0c6c98515b) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20packagegroup-core-weston.bb: add pam to REQUIRED_DISTRO_FEATURESMartin Jansa
* weston, weston-init, weston-examples require pam * fixes: ERROR: Nothing RPROVIDES 'weston-init' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it) weston-init was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES) NOTE: Runtime target 'weston-init' is unbuildable, removing... Missing or unbuildable dependency chain was: ['weston-init'] ERROR: Nothing RPROVIDES 'packagegroup-core-weston' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'packagegroup-core-weston' NOTE: Runtime target 'packagegroup-core-weston' is unbuildable, removing... Missing or unbuildable dependency chain was: ['packagegroup-core-weston'] ERROR: Nothing RPROVIDES 'weston-examples' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it) weston RPROVIDES weston-examples but was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES) NOTE: Runtime target 'weston-examples' is unbuildable, removing... Missing or unbuildable dependency chain was: ['weston-examples'] ERROR: Nothing RPROVIDES 'weston' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it) weston was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES) NOTE: Runtime target 'weston' is unbuildable, removing... Missing or unbuildable dependency chain was: ['weston'] (From OE-Core rev: 27cb44e83b4bc63484bbea9988701e9d9b3f7142) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20kernel-devsrc: fix on-target scripts/prepare for v5.12+Bruce Ashfield
AR is now captured are part of the build environment. If we don't subtitute our on-target variant for the cross version, we'll end up getting a prompted configure when preparing to build modules. (From OE-Core rev: 09bf40bf890a9d56c8365eb93a4baf467dc3308c) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20lttng-modules: backport patches to fix build against 5.12+ kernelBruce Ashfield
There are four changes in addition to the 2.12.5 release that we need to build against the 5.12 kernel. Rather than only rely on people knowing to use devupstream support to build against newer kernels, we backport the 4 patches while waiting for release. (From OE-Core rev: 2d45c09bfbad969549c719654f72714324299f00) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20lttng-modules: update devupstream to 2.12.5+Bruce Ashfield
When building against kernel v5.12-rc+, we need extra changes on top of the 2.12.5 release. We can bump devupstream separately from the main release to grab those changes. (From OE-Core rev: a53ddaa3dc5c072f9fbc5df5075e6067c0d6cc11) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20linux-yocto/5.10: cfg: features/numa: Remove NODES_SPAN_OTHER_NODES optionBruce Ashfield
Integrating the following commit(s) to: f5babefa399 features/numa: Remove NODES_SPAN_OTHER_NODES option (From OE-Core rev: d412ed47a6a04acb1c3325345c77de145bd9b00c) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20linux-yocto/5.10: update to v5.10.23Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: dfbf345b63c3 Linux 5.10.23 c8714d1faae8 nvme-pci: add quirks for Lexar 256GB SSD e88e01440a48 nvme-pci: mark Seagate Nytro XM1440 as QUIRK_NO_NS_DESC_LIST. 3b659091587a KVM: SVM: Clear the CR4 register on reset 1611c323df9f scsi: ufs: Fix a duplicate dev quirk number 2dba0f805416 ASoC: Intel: sof_sdw: add quirk for HP Spectre x360 convertible c08344abc971 ASoC: Intel: sof_sdw: reorganize quirks by generation 1d3efd15e8a4 PCI: cadence: Retrain Link to work around Gen2 training defect 015d38539db9 ALSA: usb-audio: add mixer quirks for Pioneer DJM-900NXS2 d78acca2afe5 ALSA: usb-audio: Add DJM750 to Pioneer mixer quirk 96c4c0a9405e HID: i2c-hid: Add I2C_HID_QUIRK_NO_IRQ_AFTER_RESET for ITE8568 EC on Voyo Winpad A15 5b6526283499 mmc: sdhci-of-dwcmshc: set SDHCI_QUIRK2_PRESET_VALUE_BROKEN e62bdb34858c drm/msm/a5xx: Remove overwriting A5XX_PC_DBG_ECO_CNTL register e74b237ef989 scsi: ufs: ufs-exynos: Use UFSHCD_QUIRK_ALIGN_SG_WITH_PAGE_SIZE 0905bfe69ac2 scsi: ufs: ufs-exynos: Apply vendor-specific values for three timeouts c32b34115357 scsi: ufs: Introduce a quirk to allow only page-aligned sg entries eece8fe5ebb0 misc: eeprom_93xx46: Add quirk to support Microchip 93LC46B eeprom 2fc01226c288 scsi: ufs: Add a quirk to permit overriding UniPro defaults dbaa2667515e scsi: ufs-mediatek: Enable UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL ff72a41132b3 ASoC: Intel: sof_sdw: add missing TGL_HDMI quirk for Dell SKU 0A32 c7ebe45e403d KVM: x86: Supplement __cr4_reserved_bits() with X86_FEATURE_PCID check 422da3196be9 PCI: Add function 1 DMA alias quirk for Marvell 9215 SATA controller 0ff1f97510fd usb: cdns3: fix NULL pointer dereference on no platform data 8694c4e2b19c usb: cdns3: add quirk for enable runtime pm by default febf7d870371 usb: cdns3: host: add xhci_plat_priv quirk XHCI_SKIP_PHY_INIT 3db17e283a92 usb: cdns3: host: add .suspend_quirk for xhci-plat.c 1b2ac1d95fb1 ASoC: Intel: bytcr_rt5640: Add quirk for ARCHOS Cesium 140 d3116e06fb16 ACPI: video: Add DMI quirk for GIGABYTE GB-BXBT-2807 c5188a98d2fb media: cx23885: add more quirks for reset DMA on some AMD IOMMU 748446897d36 HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube Adapter 8fb656fefddd platform/x86: acer-wmi: Add ACER_CAP_KBD_DOCK quirk for the Aspire Switch 10E SW3-016 ba1a647e0f11 platform/x86: acer-wmi: Add support for SW_TABLET_MODE on Switch devices 2c9132e543b7 platform/x86: acer-wmi: Add ACER_CAP_SET_FUNCTION_MODE capability flag 039cd40179e9 platform/x86: acer-wmi: Add new force_caps module parameter 74848026bcb1 platform/x86: acer-wmi: Cleanup accelerometer device handling be52e3ea4520 platform/x86: acer-wmi: Cleanup ACER_CAP_FOO defines b159a9a4d357 bus: ti-sysc: Implement GPMC debug quirk to drop platform data f7f227eb32d1 ASoC: Intel: sof_sdw: add quirk for new TigerLake-SDCA device 36b3ba412d7c mwifiex: pcie: skip cancel_work_sync() on reset failure path f5526b77335d Bluetooth: btqca: Add valid le states quirk 93d20ce4c47f iommu/amd: Fix sleeping in atomic in increase_address_space() bf6dd437c3ba btrfs: don't flush from btrfs_delayed_inode_reserve_metadata cf9317ceb5a1 btrfs: export and rename qgroup_reserve_meta 7215d7742daf arm64: Make CPU_BIG_ENDIAN depend on ld.bfd or ld.lld 13.0.0+ a6425142f522 parisc: Enable -mlong-calls gcc option with CONFIG_COMPILE_TEST ea222427ae9c nvme-pci: mark Kingston SKC2000 as not supporting the deepest power state 6d7fdad08fbd ASoC: SOF: Intel: broadwell: fix mutual exclusion with catpt driver 62ba6d817c91 ACPICA: Fix race in generic_serial_bus (I2C) and GPIO op_region parameter handling b672142f76cb Linux 5.10.22 b31a9f0c366d r8169: fix resuming from suspend on RTL8105e if machine runs on battery aa40f5e33ce3 tomoyo: recognize kernel threads correctly 4645271c32b4 of: unittest: Fix build on architectures without CONFIG_OF_ADDRESS b70e6aacbe32 Revert "arm64: dts: amlogic: add missing ethernet reset ID" a7cefacccafa iommu/vt-d: Fix status code for Allocate/Free PASID command 5cc0813e7bb9 rsxx: Return -EFAULT if copy_to_user() fails e88c1b25f2bc ftrace: Have recordmcount use w8 to read relp->r_info in arm64_is_fake_mcount a14c6ea66211 ALSA: hda: intel-nhlt: verify config type 7ef9d23bc312 IB/mlx5: Add missing error code f767104af496 RDMA/rxe: Fix missing kconfig dependency on CRYPTO 8850a814d42d RDMA/cm: Fix IRQ restore in ib_send_cm_sidr_rep 253b7a11ce26 ALSA: ctxfi: cthw20k2: fix mask on conf to allow 4 bits 4d7ed9a49b0c mm: Remove examples from enum zone_type comment 8eaef922e938 arm64: mm: Set ZONE_DMA size based on early IORT scan 35ec3d09ff6a arm64: mm: Set ZONE_DMA size based on devicetree's dma-ranges a9861e7fa4f8 of: unittest: Add test for of_dma_get_max_cpu_address() 18bf6e998d08 of/address: Introduce of_dma_get_max_cpu_address() 3fbe62ffbb54 arm64: mm: Move zone_dma_bits initialization into zone_sizes_init() 407b173adfac arm64: mm: Move reserve_crashkernel() into mem_init() 85433307d8a1 crypto - shash: reduce minimum alignment of shash_desc structure 3868a277e6fc drm/amdgpu: fix parameter error of RREG32_PCIE() in amdgpu_regs_pcie c2fee74ea801 drm/amdgpu:disable VCN for Navi12 SKU ce1cca17381f dm verity: fix FEC for RS roots unaligned to block size 7bda53f46387 dm bufio: subtract the number of initial sectors in dm_bufio_get_device_size a2501d87663b io_uring: ignore double poll add on the same waitqueue head 3301afbfef69 ring-buffer: Force before_stamp and write_stamp to be different on discard c6e5800bdf70 PM: runtime: Update device status before letting suppliers suspend ae971992e9fe btrfs: fix warning when creating a directory with smack enabled e6ba61aaff88 btrfs: unlock extents in btrfs_zero_range in case of quota reservation errors 37ffce966821 btrfs: free correct amount of space in btrfs_delayed_inode_reserve_metadata a64ad80223f2 btrfs: validate qgroup inherit for SNAP_CREATE_V2 ioctl e82407d24968 btrfs: fix race between extent freeing/allocation when using bitmaps 1559d94fece2 btrfs: fix stale data exposure after cloning a hole with NO_HOLES enabled 6fc9e5866cb9 btrfs: fix race between swap file activation and snapshot creation 501fdd1cefae btrfs: fix race between writes to swap files and scrub b2a487613218 btrfs: fix raid6 qstripe kmap a01415e5e862 btrfs: avoid double put of block group when emptying cluster fbefc2d28900 tpm, tpm_tis: Decorate tpm_get_timeouts() with request_locality() bfa2e4ed1d39 tpm, tpm_tis: Decorate tpm_tis_gen_interrupt() with request_locality() 86c524934277 ALSA: usb-audio: Drop bogus dB range in too low level 4330e7a8bf01 ALSA: usb-audio: use Corsair Virtuoso mapping for Corsair Virtuoso SE 5c947a8a6f05 ALSA: hda/realtek: Enable headset mic of Acer SWIFT with ALC256 (From OE-Core rev: 6b61ff4f293ebfabafb80dff35cfc7c0513983b6) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20linux-yocto/5.4: update to v5.4.105Bruce Ashfield
Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: ce615a08404c Linux 5.4.105 d17cf4cb1928 nvme-pci: add quirks for Lexar 256GB SSD 1d08ff846484 nvme-pci: mark Seagate Nytro XM1440 as QUIRK_NO_NS_DESC_LIST. 9106a7844efb HID: i2c-hid: Add I2C_HID_QUIRK_NO_IRQ_AFTER_RESET for ITE8568 EC on Voyo Winpad A15 b5e10e9b3047 mmc: sdhci-of-dwcmshc: set SDHCI_QUIRK2_PRESET_VALUE_BROKEN 21f3fb36b5a2 drm/msm/a5xx: Remove overwriting A5XX_PC_DBG_ECO_CNTL register 1d113893ff9d misc: eeprom_93xx46: Add quirk to support Microchip 93LC46B eeprom 9f1f09887551 PCI: Add function 1 DMA alias quirk for Marvell 9215 SATA controller f40fdcb7ca29 ASoC: Intel: bytcr_rt5640: Add quirk for ARCHOS Cesium 140 242be7cddd25 ACPI: video: Add DMI quirk for GIGABYTE GB-BXBT-2807 86c8848d680a media: cx23885: add more quirks for reset DMA on some AMD IOMMU fd476c6d4e1a HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube Adapter ef9fa6bb8582 platform/x86: acer-wmi: Add ACER_CAP_KBD_DOCK quirk for the Aspire Switch 10E SW3-016 3a8eb20cb87b platform/x86: acer-wmi: Add support for SW_TABLET_MODE on Switch devices e3a3a69da177 platform/x86: acer-wmi: Add ACER_CAP_SET_FUNCTION_MODE capability flag b734af305c78 platform/x86: acer-wmi: Add new force_caps module parameter 025180244251 platform/x86: acer-wmi: Cleanup accelerometer device handling 37b4324cb78e platform/x86: acer-wmi: Cleanup ACER_CAP_FOO defines 200e14759da5 mwifiex: pcie: skip cancel_work_sync() on reset failure path c699a89d385c iommu/amd: Fix sleeping in atomic in increase_address_space() fa56bf637eac ACPICA: Fix race in generic_serial_bus (I2C) and GPIO op_region parameter handling f27765adb3f6 dm table: fix zoned iterate_devices based device capability checks 06ef17b88676 dm table: fix DAX iterate_devices based device capability checks b8aedc65db40 dm table: fix iterate_devices based device capability checks c1f5fc082beb net: dsa: add GRO support via gro_cells 84d5d3c9d3fb Linux 5.4.104 d859388ea25a r8169: fix resuming from suspend on RTL8105e if machine runs on battery 1fba84f3c491 rsxx: Return -EFAULT if copy_to_user() fails 77a81b10f894 ftrace: Have recordmcount use w8 to read relp->r_info in arm64_is_fake_mcount 9a20e5782d2d ALSA: hda: intel-nhlt: verify config type 86b3b62b81c5 IB/mlx5: Add missing error code 809ef2660c1b RDMA/rxe: Fix missing kconfig dependency on CRYPTO 26a1af33c9cd ALSA: ctxfi: cthw20k2: fix mask on conf to allow 4 bits 6827415290ab usbip: tools: fix build error for multiple definition 078170924d84 crypto - shash: reduce minimum alignment of shash_desc structure 1f8884d04480 arm64: ptrace: Fix seccomp of traced syscall -1 (NO_SYSCALL) 9e15b43fdaf3 drm/amdgpu: fix parameter error of RREG32_PCIE() in amdgpu_regs_pcie b367201430dd dm verity: fix FEC for RS roots unaligned to block size 1a4182923144 dm bufio: subtract the number of initial sectors in dm_bufio_get_device_size 52a643680165 PM: runtime: Update device status before letting suppliers suspend e49baccfe299 btrfs: fix warning when creating a directory with smack enabled a87911c26a1c btrfs: unlock extents in btrfs_zero_range in case of quota reservation errors 91bc3296bffb btrfs: free correct amount of space in btrfs_delayed_inode_reserve_metadata 8674c1a72a69 btrfs: validate qgroup inherit for SNAP_CREATE_V2 ioctl 0c740d2b8c61 btrfs: fix raid6 qstripe kmap 909a8d2b1e7b btrfs: raid56: simplify tracking of Q stripe presence 15726df8c09a tpm, tpm_tis: Decorate tpm_get_timeouts() with request_locality() 6d71cbc91104 tpm, tpm_tis: Decorate tpm_tis_gen_interrupt() with request_locality() (From OE-Core rev: 589673d5cef12c98a95c83d47d30d6fc35463747) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20linux-yocto/5.10: fix SERIAL_OF_PLATFORM warningBruce Ashfield
Integrating the following commit(s) to linux-yocto.: a0249ac3bae cfg: classify CONFIG_SERIAL_OF_PLATFORM as non-hardware By declaring the option non-hardware, we make it optional and hence fix the warning on non OF platforms. (From OE-Core rev: c6f0962e5ea2403b95ecc2bc0bc3faa9d979ee57) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20layer.conf: Drop gatesgarth from the layer series namesRichard Purdie
The time has come to encourage people to update actively maintained layers to use the new series name. (From OE-Core rev: 737e3e608e64fc9ba67facc3dd2dd30497266f1e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20gcc-sanitizers: Package up hwasan filesKhem Raj
This is introduced in GCC-11 (From OE-Core rev: 3df4a25465e488ba7c17d0b358435fc1088c6dac) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20xxhash: import from meta-oeAlexander Kanavin
This is needed for newer versions of apt. (From OE-Core rev: fc0c7b68eda2d47ff7ec61f9f49137fb547d9d6b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20automake: update 1.16.2 - > 1.16.3Alexander Kanavin
Drop automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch; upstream has fixed the issue. (From OE-Core rev: 88778afc693d824cc637011e91d4727f8e8c2de4) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20strace: update 5.10 -> 5.11Alexander Kanavin
Drop disable-git-version-gen.patch as problem fixed upstream. Add parallel builds to ptest compile. strace-graph has been removed upstream. Adjust ptest patch to match upstream changes. License-Update: copyright years. (From OE-Core rev: 09af1c98499c9919dc2ebf7eb11796d3d912a8a5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20libhandy: update 1.0.3 -> 1.2.0Alexander Kanavin
(From OE-Core rev: 48fb4f03fec2085ca2e4745e0e40eaab6787e0f2) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20asciidoc: update 9.0.4 -> 9.1.0Alexander Kanavin
Dropped patch supserseded by https://github.com/asciidoc-py/asciidoc-py/pull/172 (From OE-Core rev: 4051cb4ac24c75494b26e1422e281196ae5c9e3b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20attr: update 2.4.48 -> 2.5.1Alexander Kanavin
(From OE-Core rev: b3c4efe648805fc903be8a51a149c8a5a787e7e0) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20mesa: update 20.3.4 -> 21.0.0Alexander Kanavin
0001-anv-fix-a-build-race-between-generating-a-header-and.patch merged upstream. osmesa is now a simple boolean option. Swrast has been removed from dri drivers, so as we need at least one driver to enable dri in native/nativesdk, replace it with nouveau (which does not take long to build). (From OE-Core rev: e4e4cc57a0a949400c557073af0cf78f977bd02d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20spirv-tools: upgrade 2020.6 -> 2020.7Alexander Kanavin
(From OE-Core rev: 6a9c8ec527b9a0d0e8d4cc071603a5748ffd7db4) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20spirv-headers: update to latest revisionAlexander Kanavin
This is required by latest release of spirv-tools. (From OE-Core rev: 0afd46a3d864a1e86f211636a318e9a749756071) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20bind: upgrade 9.16.11 -> 9.16.12Alexander Kanavin
Adjust library packaging (see link to commit in the recipe). (From OE-Core rev: 4711c1f4fc003da594b2a230997012ad5dcc202f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20grub: upgrade 2.04 -> 2.06~rc1Naveen Saini
2.06 RC1 release have a number of CVEs fixed: CVE-2020-15705 CVE-2021-3418 CVE-2020-27749 CVE-2021-20233 CVE-2021-20225 CVE-2020-25647 CVE-2020-25632 CVE-2020-27779 CVE-2020-14372 CVE-2020-15707 CVE-2020-15706 CVE-2020-14309 CVE-2020-14310 CVE-2020-14311 CVE-2020-14308 CVE-2020-10713 CVE-2014-4607 Dropped backported patches. (From OE-Core rev: 36a59d63619c2225fe48aa1d8fb1cdabedfffc03) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20selftest/wic: Fix dependency issue in rawcopy testRichard Purdie
The current test code contains a subtle race. It is building an ext4, then trying to reuse that image in a wic build for the same recipe. Whilst this happened to work, the code is within its rights to clean up the output before the wic code runs. Avoid this by using separate image targets instead. (From OE-Core rev: 590398080e81fb5e2f81e12b8900858837dfe25f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20gcc: Update patch to only patch files onceWang Mingyu
This fixes an error in do_patch when using "PATCHTOOL = "patch"" error message: checking file gcc/configure.ac Hunk #1 FAILED at 6602. (From OE-Core rev: f75a1eddc7c01d9a83d0a1114fc0d6aaa79d8806) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20linux-dummy: add empty dependent packagesLi Wang
some kernel includes kernel-image-image and kernel-devicetree packages. these patckages are defined in kernel.bbclass but, when use linux-dummy, these packages are not defined. so, define them as empty packages for avoiding compile error: ERROR: Nothing RPROVIDES 'kernel-devicetree' (From OE-Core rev: 8dbae2dd5ac3de629957ca699f823f5438e80163) Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20spirv-tools: cleanup an old patch that is not used anymoreJose Quaresma
(From OE-Core rev: 013df011f61830adcd9e89993ec19d6526c6fd83) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20spirv-tools: python3 is need not only for the testsJose Quaresma
commit acf109c1a1a30907f7401f6225fcbfb5f2e39a58 remove the python3native when disabling the tests but python is needed not only for the tests, so re add it. (From OE-Core rev: a8ab739e054375c0343a3449be335cdc92d0836c) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20devshell.bbclass: Exceptions displayed within devpyshellDorinda Bassey
If you type something into devpyshell, an exception should be triggered, but that exception isn't printed out because it is not being flushed out of the buffer. This patch fixes that issue. [YOCTO #12156] (From OE-Core rev: 9f95e82a3b27bfd5177a855326dcad8a5bdf5b2d) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20vulkan-tools: upgrade 1.2.162.1 -> 1.2.170.0Wang Mingyu
(From OE-Core rev: 665841955f2b51f34d6493c8db3296333dc53fc4) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20vulkan-loader: upgrade 1.2.162.0 -> 1.2.170.0Wang Mingyu
0001-Rename-LIB_SUFFIX-to-VULKAN_LIB_SUFFIX.patch removed since it is included in 1.2.170.0 (From OE-Core rev: aff97c5263d7261150ecbda3bb0b5ff7a586146c) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20vulkan-headers: upgrade 1.2.162.0 -> 1.2.170.0Wang Mingyu
(From OE-Core rev: 1c365f7ed9e03d41d1339a1355439cd7a98627d2) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20kernel-fitimage.bbclass: support both ↵Ming Liu
KERNEL_DEVICETREE/EXTERNAL_KERNEL_DEVICETREE There are user cases that a developer wants to add both in-tree and out-of-tree devicetrees to fitimage, and this is quite normal, for instance, a developer might need the devicetrees from kernel source meanwhile maintaining his/her own devicetree overlays to be applied on top of them. To support that, we now allow KERNEL_DEVICETREE and EXTERNAL_KERNEL_DEVICETREE to be both set in configuration files, and the devicetrees in EXTERNAL_KERNEL_DEVICETREE have higher priority to override the same names in KERNEL_DEVICETREE. (From OE-Core rev: c461b245076be066512ac7b074020f6032056b8d) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20libxcrypt: fix sporadic failures in nativesdk-libxcrypt-compatAlexander Kanavin
(From OE-Core rev: ee1dca4ad342455c800b4ff38f375f5c40cfbdf6) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20systemd: upgrade 247.3 -> 247.4wangmy@fujitsu.com
refresh the following patches: systemd/0001-systemd.pc.in-use-ROOTPREFIX-without-suffixed-slash.patch systemd/0006-Include-netinet-if_ether.h.patch (From OE-Core rev: 5db15aec00517e5b6f6585b534a2314c226841bf) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20weston-init: Set $HOME variable for SysVinit managerAdrian
SysVinit sets by default the $HOME directory to "/" for the init scripts. It's picked then by the weston-launcher and make weston-terminal to have wrongly set $HOME environment variable for the root user. (From OE-Core rev: f5ddf5533b19a41be9e9cd403c2e7ded6da6f272) Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20gptfdisk: upgrade 1.0.6 -> 1.0.7Wang Mingyu
(From OE-Core rev: 0333457e9c8bb89e4de81baeb1d706202bf4a236) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20externalsrc: Detect code changes in submodulesDouglas Royds
Further to 50ff9afb39, only detect code changes in submodules that are subdirectories of the EXTERNALSRC directory. git submodule status returns a path relative to the cwd for each submodule. We don't add submodules that are not within our source subtree. (From OE-Core rev: 4525310d49d115a37705f04ac5c03d639e5e8f8c) Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20cmake: Fully-qualified path to arDouglas Royds
We (correctly enough) pass in our AR to cmake via the toolchain file, but unlike the other cross-compilation tools (CC, CXX, ranlib, etc), cmake does not then do its own search in the PATH for our AR. By using cmake's own find_program() to search the PATH, make works as expected from the commandline, outside of bitbake. (From OE-Core rev: e9180c9575f0723b51915a0da58452511b6b03bf) Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20cve-check: CVE_VERSION_SUFFIX to work with patched releaseLee Chee Yang
CVE_VERSION_SUFFIX in "patch" to treat version string with suffix "pX" or "patchX" as patched release. also update testcases to cover this changes and set CVE_VERSION_SUFFIX for sudo. (From OE-Core rev: 8076815fc2ffc8f632e73527ce2b7d158a29e9ea) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20cve-update-db-native: consider version suffix when update CVE dbLee Chee Yang
some record from NVD can merge or split suffix from version, for example: CVE-2017-15906 "cpe23Uri" : "cpe:2.3:a:openbsd:openssh:5.0:p1:*:*:*:*:*:*" "cpe23Uri" : "cpe:2.3:a:openbsd:openssh:4.7p1:*:*:*:*:*:*:*" in such case include the suffix into version when update local CVE db. (From OE-Core rev: 13cc68197f81bb7c76fa1abecc5dd720b8bdb8d5) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20msmtp: upgrade 1.8.14 -> 1.8.15Wang Mingyu
(From OE-Core rev: 93f0bf11ce2b950215a2de79a4ce928cd0b1b7b9) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>