Bruce Ashfield [Thu, 18 Feb 2021 03:59:34 +0000 (22:59 -0500)]
linux-yocto/5.10: update to v5.10.14
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
b0c8835fc649 Linux 5.10.14 b80df6517d35 workqueue: Restrict affinity change to rescuer b20475a80b4b kthread: Extract KTHREAD_IS_PER_CPU d8649eb8e352 x86/cpu: Add another Alder Lake CPU to the Intel family 9c8bb3eac07d objtool: Don't fail the kernel build on fatal errors 4587cb6f27a6 habanalabs: disable FW events on device removal 90981a2171b9 habanalabs: fix backward compatibility of idle check 4439d22c3758 habanalabs: zero pci counters packet before submit to FW e8911b02ccb6 drm/amd/display: Fixed corruptions on HPDRX link loss restore 932ab13b8af3 drm/amd/display: Use hardware sequencer functions for PG control 95850b9d0b23 drm/amd/display: Change function decide_dp_link_settings to avoid infinite looping a2245a995563 drm/amd/display: Allow PSTATE chnage when no displays are enabled af2fc0f4acb6 drm/amd/display: Update dram_clock_change_latency for DCN2.1 89ca15b71b91 selftests/powerpc: Only test lwm/stmw on big endian 713373080c7e platform/x86: thinkpad_acpi: Add P53/73 firmware to fan_quirk_table for dual fan control f243b5dd9837 nvmet: set right status on error in id-ns handler 3e554aa3d08a nvme-pci: allow use of cmb on v1.4 controllers 82ae0714c344 nvme-tcp: avoid request double completion for concurrent nvme_tcp_timeout 3b87f9b06245 nvme-rdma: avoid request double completion for concurrent nvme_rdma_timeout 57f26d9d09d6 nvme: check the PRINFO bit before deciding the host buffer length a9fd4ef6e50c udf: fix the problem that the disc content is not displayed 40545c4dd90c i2c: tegra: Create i2c_writesl_vi() to use with VI I2C for filling TX FIFO 6826f0b4a159 ALSA: hda: Add Cometlake-R PCI ID b45a47e9adfc scsi: ibmvfc: Set default timeout to avoid crash during migration cedc60fbd7a1 mac80211: fix encryption key selection for 802.3 xmit 20790b2534f2 mac80211: fix fast-rx encryption check c2601c9c2a96 mac80211: fix incorrect strlen of .write in debugfs 9d6dbf4e3721 objtool: Don't add empty symbols to the rbtree 91a585783dff ALSA: hda: Add AlderLake-P PCI ID and HDMI codec vid 1fe0ce2f9afd ASoC: SOF: Intel: hda: Resume codec to do jack detection 946d15aa09d3 scsi: fnic: Fix memleak in vnic_dev_init_devcmd2 47daa439c389 scsi: libfc: Avoid invoking response handler twice if ep is already completed 28693cc0fc0d scsi: scsi_transport_srp: Don't block target in failfast state 5929bcb4a49d x86: __always_inline __{rd,wr}msr() d2c880ed2cff locking/lockdep: Avoid noinstr warning for DEBUG_LOCKDEP 2f2a4c04b889 habanalabs: fix dma_addr passed to dma_mmap_coherent a55c4bf2c8f0 platform/x86: intel-vbtn: Support for tablet mode on Dell Inspiron 7352 a8f69a32ee91 platform/x86: touchscreen_dmi: Add swap-x-y quirk for Goodix touchscreen on Estar Beauty HD tablet 4d06445ad762 tools/power/x86/intel-speed-select: Set higher of cpuinfo_max_freq or base_frequency f667433cb379 tools/power/x86/intel-speed-select: Set scaling_max_freq to base_frequency 0c1a24a098a8 phy: cpcap-usb: Fix warning for missing regulator_disable c4e8fa21a30b iommu/vt-d: Do not use flush-queue when caching-mode is on c7cd7a3b5076 ARM: 9025/1: Kconfig: CPU_BIG_ENDIAN depends on !LD_IS_LLD d9655c6854a6 Revert "x86/setup: don't remove E820_TYPE_RAM for pfn 0" a2c7d0667cf3 arm64: Do not pass tagged addresses to __is_lm_address() 25fd5f8f8a23 arm64: Fix kernel address detection of __is_lm_address() beba2ac6b120 arm64: dts: meson: Describe G12b GPU as coherent 9e96f711171c drm/panfrost: Support cache-coherent integrations b58486200402 iommu/io-pgtable-arm: Support coherency for Mali LPAE 3766a00d765d ibmvnic: Ensure that CRQ entry read are correctly ordered c71bfc5f13c3 net: switchdev: don't set port_obj_info->handled true when -EOPNOTSUPP 370ce41d2e58 net: dsa: bcm_sf2: put device node before return a555c2faf02e mlxsw: spectrum_span: Do not overwrite policer configuration 3c564a9f9e43 stmmac: intel: Configure EHL PSE0 GbE and PSE1 GbE to 32 bits DMA addressing fb8e6a0b3c66 net: octeontx2: Make sure the buffer is 128 byte aligned d51f7ff5413b net: fec: put child node on error path cedbfddf4dab net: stmmac: dwmac-intel-plat: remove config data on error 1aa4ee0ec7fe net: dsa: microchip: Adjust reset release timing to match reference reset circuit 0c245c5fe93f Linux 5.10.13 55d900415b81 vsock: fix the race conditions in multi-transport support a9cd144eb745 tcp: fix TLP timer not set when CA_STATE changes from DISORDER to OPEN 011c3d9427da tcp: make TCP_USER_TIMEOUT accurate for zero window probes bcc83b43e1ed team: protect features update by RCU to avoid deadlock 01de4bc09d38 scsi: qla2xxx: Fix description for parameter ql2xenforce_iocb_limit 1e3a8d94dd6b ASoC: topology: Fix memory corruption in soc_tplg_denum_create_values() 4a97f42a6690 ASoC: topology: Properly unregister DAI on removal 52a2895f122d ASoC: mediatek: mt8183-mt6358: ignore TDM DAI link by default 8cd91442d9a2 ASoC: mediatek: mt8183-da7219: ignore TDM DAI link by default 5a48918811c8 NFC: fix possible resource leak e10a1aad5f7c NFC: fix resource leak when target index is invalid 2e83a57a23a6 rxrpc: Fix memory leak in rxrpc_lookup_local 99bacbcd5621 selftests: forwarding: Specify interface when invoking mausezahn c9e668a196db nvme-multipath: Early exit if no path is available cf7ed01e02c0 iommu/vt-d: Correctly check addr alignment in qi_flush_dev_iotlb_pasid() 974b6289e8da iommu/amd: Use IVHD EFR for early initialization of IOMMU features 57e2393f5de0 of/device: Update dma_range_map only when dev has valid dma-ranges aa8604fe63d1 ACPI/IORT: Do not blindly trust DMA masks from firmware f3d8e20e11ae can: dev: prevent potential information leak in can_fill_info() 17dbec01beb9 net/mlx5: CT: Fix incorrect removal of tuple_nat_node from nat rhashtable f5430661f2f7 net/mlx5e: Revert parameters on errors when changing MTU and LRO state without reset f24b493eba50 net/mlx5e: Revert parameters on errors when changing trust state without reset 890f413ae524 net/mlx5e: Correctly handle changing the number of queues when the interface is down e1e71f1eb74c net/mlx5e: Fix CT rule + encap slow path offload and deletion bf1864854ab2 net/mlx5e: Disable hw-tc-offload when MLX5_CLS_ACT config is disabled 1a06120d6ff2 net/mlx5: Maintain separate page trees for ECPF and PF functions 034bd75f619f net/mlx5e: Reduce tc unsupported key print level a1b500010f09 net/mlx5e: free page before return 2778913fb080 net/mlx5e: E-switch, Fix rate calculation for overflow d62665cac603 net/mlx5: Fix memory leak on flow table creation error flow 4c919b215bb3 igc: fix link speed advertising d11a1402ec16 i40e: acquire VSI pointer only after VF is initialized b2a76ea0479e ice: Fix MSI-X vector fallback logic 04cd96db6f88 ice: Don't allow more channels than LAN MSI-X available 55717a10a6b8 ice: update dev_addr in ice_set_mac_address even if HW filter exists 35c50e69af15 ice: Implement flow for IPv6 next header (extension header) bdcd8b9d8249 ice: fix FDir IPv6 flexbyte 1c3b27b05a43 mac80211: pause TX while changing interface type a59a7b96dc13 iwlwifi: pcie: reschedule in long-running memory reads bcb9c4009618 iwlwifi: pcie: use jiffies for memory read spin time limit 05bb42538d90 iwlwifi: pcie: set LTR on more devices 92044488a8d3 iwlwifi: pnvm: don't try to load after failures fb1e501d8a69 iwlwifi: pnvm: don't skip everything when not reloading c00b0b65b3b3 iwlwifi: pcie: avoid potential PNVM leaks fd8c453d53f8 ASoC: qcom: lpass: Fix out-of-bounds DAI ID lookup b030ba7f1294 ASoC: SOF: Intel: soundwire: fix select/depend unmet dependencies d46c0d64dbcd pNFS/NFSv4: Update the layout barrier when we schedule a layoutreturn dba0d4b1508b pNFS/NFSv4: Fix a layout segment leak in pnfs_layout_process() ae02c0008c27 powerpc/64s: prevent recursive replay_soft_interrupts causing superfluous interrupt 5f78c6ce1f6f ASoC: Intel: Skylake: skl-topology: Fix OOPs ib skl_tplg_complete cea3d7cd951a spi: altera: Fix memory leak on error path 2bfc7e605aaf ASoC: qcom: lpass-ipq806x: fix bitwidth regmap field 02e5a1ee97a1 ASoC: qcom: Fix broken support to MI2S TERTIARY and QUATERNARY c74d671e7154 ASoC: qcom: Fix incorrect volatile registers 52178bea2cf5 ASoC: dt-bindings: lpass: Fix and common up lpass dai ids 571a2dd89818 RDMA/cxgb4: Fix the reported max_recv_sge value 0fade2af3eae firmware: imx: select SOC_BUS to fix firmware build bd10eba71351 arm64: dts: imx8mp: Correct the gpio ranges of gpio3 50c701d94f64 ARM: dts: imx6qdl-sr-som: fix some cubox-i platforms fd59c86ac9b0 ARM: dts: imx6qdl-kontron-samx6i: fix i2c_lcd/cam default status d871650a7d06 ARM: imx: fix imx8m dependencies 9f87dd2fe3f2 arm64: dts: ls1028a: fix the offset of the reset register 6daa52884c3f xfrm: Fix wraparound in xfrm_policy_addr_delta() 8ea899803bb5 selftests: xfrm: fix test return value override issue in xfrm_policy.sh 2f7ecc841daa xfrm: fix disable_xfrm sysctl when used on xfrm interfaces f632d34091e6 xfrm: Fix oops in xfrm_replay_advance_bmp f39005edf513 Revert "block: simplify set_init_blocksize" to regain lost performance 34b0c04c884c Revert "RDMA/mlx5: Fix devlink deadlock on net namespace deletion" 28adabf8cdd2 netfilter: nft_dynset: add timeout extension to template fec7ae28d905 ARM: zImage: atags_to_fdt: Fix node names on added root nodes 69da790360f3 ARM: imx: build suspend-imx6.S with arm instruction set d095985e1ce1 clk: qcom: gcc-sm250: Use floor ops for sdcc clks cee27fcc8ccf clk: mmp2: fix build without CONFIG_PM c143ab555679 clk: imx: fix Kconfig warning for i.MX SCU clk 20786fdd2fb0 blk-mq: test QUEUE_FLAG_HCTX_ACTIVE for sbitmap_shared in hctx_may_queue 7d6e01e27560 xen-blkfront: allow discard-* nodes to be optional a164789b86c6 tee: optee: replace might_sleep with cond_resched d1fd90bf5554 KVM: Documentation: Fix spec for KVM_CAP_ENABLE_CAP_VM c48f69093e5e uapi: fix big endian definition of ipv6_rpl_sr_hdr 921f48afdd3a drm/i915/selftest: Fix potential memory leak 7306177c9ed3 drm/i915: Check for all subplatform bits e4d2a196fdc5 drm/nouveau/dispnv50: Restore pushing of all data. e50b0cb7da81 drm/vc4: Correct POS1_SCL for hvs5 21e3ad805486 drm/vc4: Correct lbm size and calculation 112821f254b6 drm/nouveau/svm: fail NOUVEAU_SVM_INIT ioctl on unsupported devices 1310c7a48279 ARM: dts: imx6qdl-kontron-samx6i: fix pwms for lcd-backlight 99bb37ab284c net/mlx5e: Fix IPSEC stats 37ef64511f31 drm/i915/pmu: Don't grab wakeref when enabling events 520d05a77b28 drm/i915/gt: Clear CACHE_MODE prior to clearing residuals 800ca7687c87 iwlwifi: Fix IWL_SUBDEVICE_NO_160 macro to use the correct bit. 621f05288c3d mt7601u: fix rx buffer refcounting cfe3425c5acd mt76: mt7663s: fix rx buffer refcounting 083274407a8e mt7601u: fix kernel crash unplugging the device b04c1c534b66 arm64: dts: broadcom: Fix USB DMA address translation for Stingray 736924801c1d leds: trigger: fix potential deadlock with libata 5f3d54c00f1f xen: Fix XenStore initialisation for XS_LOCAL bc79ff0b1a19 io_uring: fix wqe->lock/completion_lock deadlock 256a0040c6c9 KVM: Forbid the use of tagged userspace addresses for memslots e895a39a2bcd KVM: x86: get smi pending status correctly 427adbb3be8a KVM: nVMX: Sync unsync'd vmcs02 state to vmcs12 on migration cffcb5e0fe2c KVM: x86: allow KVM_REQ_GET_NESTED_STATE_PAGES outside guest mode for VMX 0faceb7d6dda KVM: nSVM: cancel KVM_REQ_GET_NESTED_STATE_PAGES on nested vmexit dca38d7f33bf KVM: arm64: Filter out v8.1+ events on v8.0 HW a519d9804456 KVM: x86/pmu: Fix UBSAN shift-out-of-bounds warning in intel_pmu_refresh() 0517693dcc41 KVM: x86/pmu: Fix HW_REF_CPU_CYCLES event pseudo-encoding in intel_arch_events[] 2175bf57dc95 btrfs: fix possible free space tree corruption with online conversion f343bf1aaf55 btrfs: fix lockdep warning due to seqcount_mutex on 32bit arch 767c8777ce9c drivers: soc: atmel: add null entry at the end of at91_soc_allowed_list[] 6975f470ca5d drivers: soc: atmel: Avoid calling at91_soc_init on non AT91 SoCs 326644a0ede0 crypto: marvel/cesa - Fix tdma descriptor on 64-bit c6da54164497 efi/apple-properties: Reinstate support for boolean properties 4c973f75074a x86/entry: Emit a symbol for register restoring thunk c95981ecd985 PM: hibernate: flush swap writer after marking e6e9ded8ffa4 s390/vfio-ap: No need to disable IRQ after queue reset 9218a6b031a1 s390: uv: Fix sysfs max number of VCPUs reporting 6c6bd9dd1c8d net: usb: qmi_wwan: added support for Thales Cinterion PLSx3 modem family 1a39162bac95 bcache: only check feature sets when sb->version >= BCACHE_SB_VERSION_CDEV_WITH_FEATURES cc11bd18d4a3 drivers/nouveau/kms/nv50-: Reject format modifiers for cursor planes 29d35b73ead4 drm/i915/gt: Always try to reserve GGTT address 0x0 aa39818d9256 drm/i915: Always flush the active worker before returning from the wait 5ebb1cbe463f drm/nouveau/kms/gk104-gp1xx: Fix > 64x64 cursors 0634449e9977 Revert "drm/amdgpu/swsmu: drop set_fan_speed_percent (v2)" 39714b66a8b1 ASoC: AMD Renoir - refine DMI entries for some Lenovo products b444b86e37b2 x86/xen: avoid warning in Xen pv guest with CONFIG_AMD_MEM_ENCRYPT enabled d16c5dfe93ef wext: fix NULL-ptr-dereference with cfg80211's lack of commit() 442278e4928e ARM: dts: imx6qdl-gw52xx: fix duplicate regulator naming a9079d8d3b02 ARM: dts: ux500: Reserve memory carveouts 14e3388f2f95 ARM: dts: tbs2910: rename MMC node aliases b3b75f8cd187 media: rc: ensure that uevent can be read directly after rc device register ce9e154a8bcb media: rc: ite-cir: fix min_timeout calculation 8429fee29143 media: rc: fix timeout handling after switch to microsecond durations 4b5a88b3f45c media: hantro: Fix reset_raw_fmt initialization ae584fbbb658 media: cedrus: Fix H264 decoding e76b40d8e9ad media: cec: add stm32 driver 6141f82fd5ee parisc: Enable -mlong-calls gcc option by default when !CONFIG_MODULES d56e3b6a6b14 ALSA: hda/via: Apply the workaround generically for Clevo machines eacb5d4e6b64 ALSA: hda/realtek: Enable headset of ASUS B1400CEPE with ALC256 aa9a6dc62611 kernel: kexec: remove the lock operation of system_transition_mutex 2aa7eab3e7f0 ACPI: thermal: Do not call acpi_thermal_check() directly d6f80e01fade ACPI: sysfs: Prefer "compatible" modalias 8fe07159fc53 tty: avoid using vfs_iocb_iter_write() for redirected console writes 41f6f4a31435 nbd: freeze the queue while we're adding connections 51f58c4882ec iwlwifi: provide gso_type to GSO packets
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 17 Feb 2021 10:56:19 +0000 (10:56 +0000)]
xorg-minimal-fonts: Really fix determinism
My previous fix wasn't correct as the file timestamps do vary by git checkout
or modification time and aren't correct here. Instead use a specific
date/time for the files to be deterministic.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Thu, 18 Feb 2021 03:52:20 +0000 (19:52 -0800)]
ruby: Do not use ucontext implementation for coroutines on musl/riscv
The coroutine implementation in ruby has either arch specific
implementations or it falls back to slower ucontext API based
implementation assuming libc will provide the needed APIs, however musl
does not implement ucontext APIs like glibc, therefore fallback is to
use libucontext library on musl. However, libucontext is not ported to
riscv yet. which means on musl/riscv ruby is unbuildable, however a
third option is to use copy implementation for coroutines, which will be
not as good performance-wise, but it will do the job, therefore for now
use copy implementation for rv32/rv64 when using musl
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 16 Feb 2021 11:22:33 +0000 (11:22 +0000)]
watchdog: Avoid reproducibility failures after fixing build
Add some temporary bumps to versions to change the output hash so
the fix applies correctly. Can be dropped next time we update the
recipe and the output changes.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Joshua Watt [Sun, 14 Feb 2021 19:12:58 +0000 (13:12 -0600)]
oeqa: reproducible: Add more logging
The reproducible build tests can take a long time, so having more
logging messages at various points in the build can help debug where the
build is taking a long time.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sun, 14 Feb 2021 14:41:13 +0000 (14:41 +0000)]
buildtools-extended-tarball: Add glibc-gconvs needed for build
When building vim it tries to rebuild files using iconv. If this fails
the build continues anyway but the output is not determnistic as builds
using a hosttools tarball are different from builds where there isn't a
hosttools tarball. Add the needed gconvs to the tarball when iconv is
present to become determistic and generate vim locales consistently.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sun, 14 Feb 2021 14:40:04 +0000 (14:40 +0000)]
quilt: Be determnistic about column presence
I've seen local differences in the quilt output depending on whether the column
binary was available in the sysroot. Fix determinism issues by being specific
about configuration.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sun, 14 Feb 2021 13:29:11 +0000 (13:29 +0000)]
vim: Improve determinism
Add a couple of configure options to avoid determism issues in the vim build.
This can happen due to the addition of glib-2.0 to the native sysroot through
later task additions to the sysroot through indirect dependencies.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sun, 14 Feb 2021 11:42:23 +0000 (11:42 +0000)]
bitbake.conf: Set as default task umask of 022
Rather than trying to set the umask of every task to the correct
value for determinism, set one value globally. This uses a new
bitbake variable so bump the minimum version to match.
This fixes strange determinism issues in at least quilt-ptest,
valgrind-ptest and kernel-devsrc.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jose Quaresma [Sat, 13 Feb 2021 00:59:22 +0000 (00:59 +0000)]
shaderc: remove the receipe configure hack and use a patch for that
[Yocto #14226]
[RP: Small patch filename fixup to allow to build] Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Joshua Watt [Fri, 12 Feb 2021 16:51:57 +0000 (10:51 -0600)]
libomxil: Fix up commercial license flag
The commercial license flag on libomxil is set because it may include
the Adaptive Multi-Rate audio codec (AMR) using FFmepg, which is patent
encumbered.
It turns out this component is disabled by default in the recipe; add a
PACKAGECONFIG to enable it and trigger the "commercial" LICENSE_FLAGS on
it. This make the default build configuration clean unless a user
specifically asks for AMR support, and prevents them from marking the
recipe with the "commerical" flag unnecessarily which could hide
potential problems later on.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Fri, 12 Feb 2021 07:59:52 +0000 (23:59 -0800)]
autoconf: Add missing perl modules to rdeps
Calling autoreconf with on-device sdk fails due to missing perl modules
which are required for it to work with autoconf 2.71+
Fixes
Can't locate File/Temp.pm in @INC (you may need to install the File::Temp module) (@INC contains: /usr/share/autoconf /usr/lib/perl5/site_perl/5.32.0/riscv32-linux /usr/lib/perl5/site_perl/5.32.0 /usr/lib/per
l5/vendor_perl/5.32.0/riscv32-linux /usr/lib/perl5/vendor_perl/5.32.0 /usr/lib/perl5/5.32.0/riscv32-linux /usr/lib/perl5/5.32.0 .) at /usr/bin/autoreconf line 50.
BEGIN failed--compilation aborted at /usr/bin/autoreconf line 50.
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Thu, 11 Feb 2021 14:46:45 +0000 (14:46 +0000)]
glibc: add workaround for faccessat2 being blocked by seccomp filters
Older seccomp-based filters used in container frameworks will block faccessat2
calls as it's a relatively new syscall. This isn't a big problem with
glibc <2.33 but 2.33 will call faccessat2 itself, get EPERM, and thenn be confused
about what to do as EPERM isn't an expected error code.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yoann Congal [Tue, 9 Feb 2021 15:53:46 +0000 (16:53 +0100)]
npm.bbclass: avoid building target nodejs for native npm recipes
The current recipe unconditionally RDEPENDS on nodejs (the target one).
When building on the "-native recipe" of "BBCLASSEXTEND native" recipe,
the target nodejs is unnecessarily built.
This patch fixes this by only RDEPENDS on nodejs when building for the target.
Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Wed, 10 Feb 2021 07:40:44 +0000 (23:40 -0800)]
security_flags.inc: Add same O<level> as in SELECTED_OPTIMIZATION
Adding -O can be troublesome in some packages where it may override the
O<n> specified by CFLAGS, this can be due to configure processing of
CFLAGS and munging them into new values in Makefiles, which is
contructed from CC and CFLAGS passed by bitbake environment. Problem
arises if the sequence is altered, which seems to be the case in some
packages e.g. ncurses, where the value from CC variable is added last
and thus overrides -O<n> coming from CFLAGS,
Therefore grok the value from SELECTED_OPTIMIZATION and append the
appropriate -O<level> flag to lcl_maybe_fortify so the level does not
change inaderdantly.
Since we do not use -O0 anymore there is no point of checking for
DEBUG_BUILD since it uses -Og now which works fine with
-D_FORTIFY_SOURCE=2, so check for optlevel O0 instead
akuster [Wed, 10 Feb 2021 04:32:07 +0000 (04:32 +0000)]
connman: update to 1.39
Bug fix only and includes two security fixes:
CVE-2021-26675
CVE-2021-26676
Changelog:
- Fix issue with scanning state synchronization and iwd.
- Fix issue with invalid key with 4-way handshake offloading.
- Fix issue with DNS proxy length checks to prevent buffer overflow.
- Fix issue with DHCP leaking stack data via uninitialized variable.
[Yocto #14231]
Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 9 Feb 2021 13:15:24 +0000 (13:15 +0000)]
opkg: Fix patch glitches
The original patch contained some text which shouldn't have been there
and used brackets in configure which isn't a great idea. Tweak the patch
to resolve this.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Tue, 9 Feb 2021 08:30:36 +0000 (16:30 +0800)]
parted: upgrade 3.3 -> 3.4
0001-Move-python-helper-scripts-used-only-in-tests-to-Pyt.patch
0001-libparted-fs-add-sourcedir-lib-to-include-paths.patch
0002-tests-use-skip_-rather-than-skip_test_-which-is-unde.patch
removed since they are included in 3.4
Add python3-core to RDEPENDS_parted-ptest
since /usr/lib/parted/ptest/tests/msdos-overlap contained in package parted-ptest requires /usr/bin/python3
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 10 Feb 2021 10:12:40 +0000 (10:12 +0000)]
Fix up bitbake logging compatibility
Bitbake changed the debug() logging call to make it compatible with
standard python logging by no longer including a debug level as the
first argument. Fix up the few places this was being used.
Tweaked version of a patch from Joshua Watt.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Chee Yang Lee [Tue, 2 Feb 2021 05:43:16 +0000 (13:43 +0800)]
initrdscripts: init-install-efi.sh install extra files for ESP
Currently the install script copy only few hard coded item while
setting up target ESP, kernel artifacts, all .efi in EFI/BOOT,
grub & boot cfg and loader.conf.
While ESP can be much complex, eg: contain multiple initrd.
Add a ESP folder to carry any other files to setup onto ESP.
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
akuster [Mon, 8 Feb 2021 05:51:30 +0000 (05:51 +0000)]
cve-check: add include/exclude layers
There are times when exluding or including a layer
may be desired. This provide the framwork for that via
two variables. The default is all layers in bblayers.