kernel-devsrc is a dependency of the image so we no longer need the symlink
creation code or the module-base inherit/dependency as it is included in
that recipe. The KERNEL_VERSION usage was broken anyway as the module
usage would have needed a:
do_image[depends] += "build-appliance-image:do_configure"
which wasn't present so it was indeterminate if KERNEL_VERSION was set
correctly.
(From OE-Core rev: bb60d68c0cc8b2d1884e8d68966dffc563454c74)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a46b43bb67b2f87ec370480e50a2e2d111555b75)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes [1] the following build error for nativesdk on Fedora 33
which is caused by the removal of fractions.gcd() in favor of math.gcd()
in python 3.9 [2]:
ImportError: cannot import name 'gcd' from 'fractions' (/usr/lib64/python3.9/fractions.py)
Furthermore the SRC_URI is adapted as the old one doesn't provide the
1.14.1 archive.
[1] 426ae35bee
[2] https://bugs.python.org/issue39350
It's needed in gatesgarth and possibly dunfell as well to support
distributions with python-3.9 as we build libxcb-native, which is
failing with xcb-proto-1.14.
1.14.1 is a bug fix release:
https://lists.x.org/archives/xorg-announce/2020-October/003061.html
(From OE-Core rev: b4620992fb5d81ca0bab3979297aa78fe00da85f)
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
c4ca4659678e Linux 5.4.103
47478db9ad21 ALSA: hda/realtek: Apply dual codec quirks for MSI Godlike X570 board
4cf243476463 ALSA: hda/realtek: Add quirk for Intel NUC 10
2254dfa68428 ALSA: hda/realtek: Add quirk for Clevo NH55RZQ
027ddd67f685 media: v4l: ioctl: Fix memory leak in video_usercopy
60fdceaa91ad swap: fix swapfile read/write offset
bebf5e832779 zsmalloc: account the number of compacted pages correctly
f038a22632a4 xen-netback: respect gnttab_map_refs()'s return value
474773c42ffd Xen/gnttab: handle p2m update errors on a per-slot basis
def70c33c478 scsi: iscsi: Verify lengths on passthrough PDUs
567a234a231d scsi: iscsi: Ensure sysfs attributes are limited to PAGE_SIZE
5f4243642873 sysfs: Add sysfs_emit and sysfs_emit_at to format sysfs output
ca3afdd03773 scsi: iscsi: Restrict sessions and handles to admin capabilities
fdaec40526b4 ASoC: Intel: bytcr_rt5640: Add quirk for the Acer One S1002 tablet
68b15ca91add ASoC: Intel: bytcr_rt5651: Add quirk for the Jumper EZpad 7 tablet
db0e94615263 ASoC: Intel: bytcr_rt5640: Add quirk for the Voyo Winpad A15 tablet
925ae8148535 ASoC: Intel: bytcr_rt5640: Add quirk for the Estar Beauty HD MID 7316R tablet
99d2926531ac sched/features: Fix hrtick reprogramming
4a3f4feeb622 parisc: Bump 64-bit IRQ stack size to 64 KB
f41ed2164364 perf/x86/kvm: Add Cascade Lake Xeon steppings to isolation_ucodes[]
2b130871e20a btrfs: fix error handling in commit_fs_roots
9bf519ca55c4 ASoC: Intel: Add DMI quirk table to soc_intel_is_byt_cr()
7702b331861b nvme-tcp: add clean action for failed reconnection
a9ea34d2717a nvme-rdma: add clean action for failed reconnection
4bf6c84c9ad3 nvme-core: add cancel tagset helpers
8253cc11abb2 f2fs: fix to set/clear I_LINKABLE under i_lock
77dc257b4feb f2fs: handle unallocated section and zone on pinned/atgc
aa1362606059 media: uvcvideo: Allow entities with no pads
0e9d7902764a drm/amd/display: Guard against NULL pointer deref when get_i2c_info fails
f1fef55a3f1a PCI: Add a REBAR size quirk for Sapphire RX 5600 XT Pulse
b252cdd9c650 drm/amdgpu: Add check to prevent IH overflow
a8d46a3feb02 crypto: tcrypt - avoid signed overflow in byte count
9f8d3e4b8ad8 drm/hisilicon: Fix use-after-free
e1b9c1c9dbb0 brcmfmac: Add DMI nvram filename quirk for Voyo winpad A15 tablet
3c099c272eb5 brcmfmac: Add DMI nvram filename quirk for Predia Basic tablet
d1f262561993 staging: bcm2835-audio: Replace unsafe strcpy() with strscpy()
e3ec4af50642 staging: most: sound: add sanity check for function argument
7d16e7c1615d Bluetooth: Fix null pointer dereference in amp_read_loc_assoc_final_data
bba1995325b5 x86/build: Treat R_386_PLT32 relocation as R_386_PC32
e37674e1a48d ath10k: fix wmi mgmt tx queue full due to race condition
46813e4a7caa pktgen: fix misuse of BUG_ON() in pktgen_thread_worker()
b074e7e20cc9 Bluetooth: hci_h5: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for btrtl
5a8bbefd0074 wlcore: Fix command execute failure 19 for wl12xx
48549db10dbe vt/consolemap: do font sum unsigned
de00b8f037ca x86/reboot: Add Zotac ZBOX CI327 nano PCI reboot quirk
48f6c1a89487 staging: fwserial: Fix error handling in fwserial_create
ce2b4b9c86b7 rsi: Move card interrupt handling to RX thread
133b0b1aa5c4 rsi: Fix TX EAPOL packet handling against iwlwifi AP
c8c3088a90c3 drm/virtio: use kvmalloc for large allocations
584149c771ec MIPS: Drop 32-bit asm string functions
648c5b1b24d0 dt-bindings: net: btusb: DT fix s/interrupt-name/interrupt-names/
823e6524e1f3 dt-bindings: ethernet-controller: fix fixed-link specification
176188cff67e net: fix dev_ifsioc_locked() race condition
e4fc812e3577 net: ag71xx: remove unnecessary MTU reservation
ad112654e21d net: bridge: use switchdev for port flags set through sysfs too
2e235c3a9518 mm/hugetlb.c: fix unnecessary address expansion of pmd sharing
4ed3162e92bf nbd: handle device refs for DESTROY_ON_DISCONNECT properly
e6af7cb64b7b net: fix up truesize of cloned skb in skb_prepare_for_shift()
4ceb5ca9e626 smackfs: restrict bytes count in smackfs write functions
5fe244620e74 net/af_iucv: remove WARN_ONCE on malformed RX packets
09e47dc27ed5 xfs: Fix assert failure in xfs_setattr_size()
a72c45f4ee33 media: v4l2-ctrls.c: fix shift-out-of-bounds in std_validate
edaa0a0aab6e erofs: fix shift-out-of-bounds of blkszbits
706068d0811a media: mceusb: sanity check for prescaler value
64677f10e560 udlfb: Fix memory leak in dlfb_usb_probe
4e3b08cfe619 JFS: more checks for invalid superblock
86d7c693670e MIPS: VDSO: Use CLANG_FLAGS instead of filtering out '--target='
9757d5c4fc3f arm64 module: set plt* section addresses to 0x0
69861dcc78c2 nvme-pci: fix error unwind in nvme_map_data
744073c5c79c nvme-pci: refactor nvme_unmap_data
9e4815cf1785 Input: elantech - fix protocol errors for some trackpoints in SMBus mode
a1d010346e48 net: usb: qmi_wwan: support ZTE P685M modem
7f324ea75baa Linux 5.4.102
07c4c2e2bcd3 ARM: dts: aspeed: Add LCLK to lpc-snoop
39be7b978fde net: qrtr: Fix memory leak in qrtr_tun_open
7b518508c685 dm era: Update in-core bitset after committing the metadata
976ee31ea300 net: sched: fix police ext initialization
9875cb3c0968 net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending
354fb7244fd0 ipv6: silence compilation warning for non-IPV6 builds
e528edf1e579 ipv6: icmp6: avoid indirect call for icmpv6_send()
c30e93eee3bf xfrm: interface: use icmp_ndo_send helper
e1ec06b833aa sunvnet: use icmp_ndo_send helper
d8d268ce1a5e gtp: use icmp_ndo_send helper
dd28e735df5c icmp: allow icmpv6_ndo_send to work with CONFIG_IPV6=n
2019554f9656 icmp: introduce helper for nat'd source address in network device context
0a35ff986617 drm/i915: Reject 446-480MHz HDMI clock on GLK
467214ddfa7e dm era: only resize metadata in preresume
fb8986363019 dm era: Reinitialize bitset cache before digesting a new writeset
e59b9a8464be dm era: Use correct value size in equality function of writeset tree
fead0c8e5c56 dm era: Fix bitset memory leaks
8ca89085fe72 dm era: Verify the data block size hasn't changed
e8a146ef82a4 dm era: Recover committed writeset after crash
d873884783ed dm writecache: fix writing beyond end of underlying device when shrinking
5233c47c8d46 dm: fix deadlock when swapping to encrypted device
fd3b7e07d3c1 gfs2: Recursive gfs2_quota_hold in gfs2_iomap_end
fa0201d3902e gfs2: Don't skip dlm unlock if glock has an lvb
c5abc17d2740 spi: spi-synquacer: fix set_cs handling
3dbe8f1d24de sparc32: fix a user-triggerable oops in clear_user()
7e17044631aa f2fs: fix out-of-repair __setattr_copy()
5b5d76028056 um: mm: check more comprehensively for stub changes
b95baf4efb68 virtio/s390: implement virtio-ccw revision 2 correctly
8e6c8cfa9aee s390/vtime: fix inline assembly clobber list
07332771663b cpufreq: intel_pstate: Get per-CPU max freq via MSR_HWP_CAPABILITIES if available
dfbbed769f1b printk: fix deadlock when kernel panic
81c2472bcf33 gpio: pcf857x: Fix missing first interrupt
70dcfb66ef68 spmi: spmi-pmic-arb: Fix hw_irq overflow
d5194f7264e2 powerpc/32s: Add missing call to kuep_lock on syscall entry
6b22c402dff9 mmc: sdhci-esdhc-imx: fix kernel panic when remove module
b6bc5417385d module: Ignore _GLOBAL_OFFSET_TABLE_ when warning for undefined symbols
8a3e6c6fe9c6 media: smipcie: fix interrupt handling and IR timeout
2e1df9bfe6fa arm64: Extend workaround for erratum 1024718 to all versions of Cortex-A55
566209806176 hugetlb: fix copy_huge_page_from_user contig page struct assumption
5dd34ee9abdc hugetlb: fix update_and_free_page contig page struct assumption
b74e3493264f x86: fix seq_file iteration for pat/memtype.c
ebd5a480db0e seq_file: document how per-entry resources are managed.
3e9b85cabea0 fs/affs: release old buffer head on error path
b2b5c3aec866 mtd: spi-nor: hisi-sfc: Put child node np on error path
61dfd4fbbd1e mtd: spi-nor: core: Add erase size check for erase command initialization
3ab134965691 mtd: spi-nor: core: Fix erase type discovery for overlaid region
cc27d5f40680 mtd: spi-nor: sfdp: Fix wrong erase type bitmask for overlaid region
7852feb3accb mtd: spi-nor: sfdp: Fix last erase region marking
97d079fd2ac1 watchdog: mei_wdt: request stop on unregister
4262c46bfbcf watchdog: qcom: Remove incorrect usage of QCOM_WDT_ENABLE_IRQ
a82ebd5dde7d arm64: uprobe: Return EOPNOTSUPP for AARCH32 instruction probing
efca4c991ecf arm64: kexec_file: fix memory leakage in create_dtb() when fdt_open_into() fails
d4a7d6c02261 floppy: reintroduce O_NDELAY fix
337bba09d850 rcu/nocb: Perform deferred wake up before last idle's need_resched() check
3cd9a74bead1 rcu: Pull deferred rcuog wake up to rcu_eqs_enter() callers
14122331b1c3 powerpc/prom: Fix "ibm,arch-vec-5-platform-support" scan
84ec5883b4f9 x86/reboot: Force all cpus to exit VMX root if VMX is supported
4fa154124164 x86/virt: Eat faults on VMXOFF in reboot flows
3f5dc4a102a9 media: ipu3-cio2: Fix mbus_code processing in cio2_subdev_set_fmt()
de9b5d51b627 staging: rtl8188eu: Add Edimax EW-7811UN V2 to device table
bb5bfd51f603 staging: gdm724x: Fix DMA from stack
d69583a2c1b3 staging/mt7621-dma: mtk-hsdma.c->hsdma-mt7621.c
eb6f42b101ec dts64: mt7622: fix slow sd card access
f73e98efaa10 pstore: Fix typo in compression option name
c9e529e635b9 drivers/misc/vmw_vmci: restrict too big queue size in qp_host_alloc_queue
d82d5a77f0a0 misc: rtsx: init of rts522a add OCP power off when no card is present
aa00c2d60ae1 seccomp: Add missing return in non-void function
0d95bdee02ad crypto: sun4i-ss - initialize need_fallback
903f576f4e66 crypto: sun4i-ss - handle BigEndian for cipher
4fc52e091a2c crypto: sun4i-ss - checking sg length is not sufficient
3b40af844c26 crypto: aesni - prevent misaligned buffers on the stack
46e6d781f87e crypto: arm64/sha - add missing module aliases
dca4f29507e4 btrfs: fix extent buffer leak on failure to copy root
df369c3afb0d btrfs: splice remaining dirty_bg's onto the transaction dirty bg list
dc0780e456ac btrfs: fix reloc root leak with 0 ref reloc roots on recovery
c0baf3aaf4b9 btrfs: abort the transaction if we fail to inc ref in btrfs_copy_root
2910038c09f4 KEYS: trusted: Fix migratable=1 failing
2c21eac499f8 tpm_tis: Clean up locality release
f19b98394c0a tpm_tis: Fix check_locality for correct locality acquisition
52f3bdb1078a erofs: initialized fields can only be observed after bit is set
4d09487509ad drm/sched: Cancel and flush all outstanding jobs before finish.
c38fd6afe146 drm/nouveau/kms: handle mDP connectors
7c1a2f91908f drm/amdgpu: Set reference clock to 100Mhz on Renoir (v2)
ca5a8ad84ba0 drm/amd/display: Add vupdate_no_lock interrupts for DCN2.1
5431cb67306d bcache: Move journal work to new flush wq
a339f0998eb1 bcache: Give btree_io_wq correct semantics again
de5510b9825c Revert "bcache: Kill btree_io_wq"
f6992915031e ALSA: hda/realtek: modify EAPD in the ALC886
48d1950dafe9 ALSA: hda: Add another CometLake-H PCI ID
3ed9bd25fd88 USB: serial: mos7720: fix error code in mos7720_write()
e73874b41286 USB: serial: mos7840: fix error code in mos7840_write()
a678d130424a USB: serial: ftdi_sio: fix FTX sub-integer prescaler
d1f773b70ae6 usb: dwc3: gadget: Fix dep->interval for fullspeed interrupt
1c073b56e765 usb: dwc3: gadget: Fix setting of DEPCFG.bInterval_m1
a5ae281779a5 usb: musb: Fix runtime PM race in musb_queue_resume_work
e3ddfaf3e617 USB: serial: option: update interface mapping for ZTE P685M
32a82e001ead media: mceusb: Fix potential out-of-bounds shift
8812bed7ec74 Input: i8042 - add ASUS Zenbook Flip to noselftest list
80168ba86034 Input: joydev - prevent potential read overflow in ioctl
9fe66416b02e Input: xpad - add support for PowerA Enhanced Wired Controller for Xbox Series X|S
d84f9c28abbe Input: raydium_ts_i2c - do not send zero length
2d954832ba48 HID: wacom: Ignore attempts to overwrite the touch_max value from HID
394f2b794310 HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming
e690b3f48635 ACPI: configfs: add missing check after configfs_register_default_group()
40b70c98be98 ACPI: property: Fix fwnode string properties matching
371a2218ed33 blk-settings: align max_sectors on "logical_block_size" boundary
4ad2a372e1cd scsi: bnx2fc: Fix Kconfig warning & CNIC build errors
d2aa80c36727 mm/rmap: fix potential pte_unmap on an not mapped pte
8450b1cd7cb3 i2c: brcmstb: Fix brcmstd_send_i2c_cmd condition
1a47856548fb arm64: Add missing ISB after invalidating TLB in __primary_switch
94a432151c35 r8169: fix jumbo packet handling on RTL8168e
c70c3b6e62e4 mm/compaction: fix misbehaviors of fast_find_migrateblock()
c200f4959586 mm/hugetlb: fix potential double free in hugetlb_register_node() error path
67a982ee20d2 mm/memory.c: fix potential pte_unmap_unlock pte error
5bf318965485 ocfs2: fix a use after free on error
55b6be947efa vxlan: move debug check after netdev unregister
e9ae8928ddd6 net/mlx4_core: Add missed mlx4_free_cmd_mailbox()
e41bb745fd0f vfio/type1: Use follow_pte()
005ed88685aa i40e: Fix add TC filter for IPv6
1b66e64ce349 i40e: Fix VFs not created
a60ef5efff55 i40e: Fix addition of RX filters after enabling FW LLDP agent
57a7b145d8a1 i40e: Fix overwriting flow control settings during driver loading
55af95c8ce4d i40e: Add zero-initialization of AQ command structures
d7c25783b8c8 i40e: Fix flow for IPv6 next header (extension header)
2efbd63b6e74 regmap: sdw: use _no_pm functions in regmap_read/write
62c4532ebb1d nvmem: core: skip child nodes not matching binding
e40a8924eb3b nvmem: core: Fix a resource leak on error in nvmem_add_cells_from_of()
d8b7689a6240 ext4: fix potential htree index checksum corruption
2df4434766aa vfio/iommu_type1: Fix some sanity checks in detach group
179b83e72c89 drm/msm/mdp5: Fix wait-for-commit for cmd panels
32cf1b5c153d drm/msm/dsi: Correct io_start for MSM8994 (20nm PHY)
e2d44809c4f4 mei: hbm: call mei_set_devstate() on hbm stop response
c7cac840c2b3 PCI: Align checking of syscall user config accessors
8c23e9f4c7b0 VMCI: Use set_page_dirty_lock() when unregistering guest memory
e8ba75011695 pwm: rockchip: rockchip_pwm_probe(): Remove superfluous clk_unprepare()
3a9044ea78ea soundwire: cadence: fix ACK/NAK handling
fcfec32c9a01 misc: eeprom_93xx46: Add module alias to avoid breaking support for non device tree users
52fe389c0a99 phy: rockchip-emmc: emmc_phy_init() always return 0
047e029392a5 misc: eeprom_93xx46: Fix module alias to enable module autoprobe
f7fb313affee sparc64: only select COMPAT_BINFMT_ELF if BINFMT_ELF is set
0a072f01e585 Input: elo - fix an error code in elo_connect()
2062856c441c perf test: Fix unaligned access in sample parsing test
eb191a88be52 perf intel-pt: Fix premature IPC
119f96bb14bc perf intel-pt: Fix missing CYC processing in PSB
ce40b82cfa09 Input: sur40 - fix an error code in sur40_probe()
d5ca5d1190a4 RDMA/hns: Fixes missing error code of CMDQ
8677e99150b0 nfsd: register pernet ops last, unregister first
046615ffd431 clk: aspeed: Fix APLL calculate formula from ast2600-A2
923027302666 regulator: qcom-rpmh: fix pm8009 ldo7
2ebadcea0ef3 spi: pxa2xx: Fix the controller numbering for Wildcat Point
e0c516e72fd5 RDMA/hns: Fix type of sq_signal_bits
d21f6d9a3e49 RDMA/siw: Fix calculation of tx_valid_cpus size
d0005c4ab5e1 RDMA/hns: Fixed wrong judgments in the goto branch
c42d1e8caad5 clk: qcom: gcc-msm8998: Fix Alpha PLL type for all GPLLs
ecfae933df3a powerpc/8xx: Fix software emulation interrupt
ba5c8a0ee624 powerpc/pseries/dlpar: handle ibm, configure-connector delay status
0c79abee609d mfd: wm831x-auxadc: Prevent use after free in wm831x_auxadc_read_irq()
046a8158982b spi: stm32: properly handle 0 byte transfer
3cb8510625d5 RDMA/rxe: Correct skb on loopback path
c88fc726d9c0 RDMA/rxe: Fix coding error in rxe_rcv_mcast_pkt
2e556ba37f13 RDMA/rxe: Fix coding error in rxe_recv.c
d2ee0b2070cd perf vendor events arm64: Fix Ampere eMag event typo
a0ea1f58aeea perf tools: Fix DSO filtering when not finding a map for a sampled address
e59e0ced0763 tracepoint: Do not fail unregistering a probe due to memory failure
4cb8bdaebbd8 IB/cm: Avoid a loop when device has 255 ports
180cd50dd9a8 IB/mlx5: Return appropriate error code instead of ENOMEM
379b5ee283dd amba: Fix resource leak for drivers without .remove
65159b4401fd i2c: qcom-geni: Store DMA mapping data in geni_i2c_dev struct
870ab7ef9799 ARM: 9046/1: decompressor: Do not clear SCTLR.nTLSMD for ARMv7+ cores
f201f050a52a mmc: renesas_sdhi_internal_dmac: Fix DMA buffer alignment from 8 to 128-bytes
2096ca11967c mmc: usdhi6rol0: Fix a resource leak in the error handling path of the probe
de1e8961db05 mmc: sdhci-sprd: Fix some resource leaks in the remove function
c4c70ac4659e powerpc/47x: Disable 256k page size
8121f35cc657 KVM: PPC: Make the VMX instruction emulation routines static
144422afaa10 IB/umad: Return EPOLLERR in case of when device disassociated
40d9bcab50d0 IB/umad: Return EIO in case of when device disassociated
f337e5947a19 objtool: Fix ".cold" section suffix check for newer versions of GCC
9d20f53167e6 objtool: Fix error handling for STD/CLD warnings
68b6d02b3774 auxdisplay: ht16k33: Fix refresh rate handling
88b6e7267f9e isofs: release buffer head before return
8eaf7e3480ec regulator: core: Avoid debugfs: Directory ... already present! error
486a018932fe regulator: s5m8767: Drop regulators OF node reference
ab669048f97d spi: atmel: Put allocated master before return
bdad2e9c992e regulator: s5m8767: Fix reference count leak
0fec3272abf1 certs: Fix blacklist flag type confusion
8d0c3acd0370 regulator: axp20x: Fix reference cout leak
edf1d9025195 clk: sunxi-ng: h6: Fix clock divider range on some clocks
e68366695807 RDMA/mlx5: Use the correct obj_id upon DEVX TIR creation
6a52a17fd0a3 clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined
898c96f75616 clocksource/drivers/ixp4xx: Select TIMER_OF when needed
d8a9db6dfa23 rtc: s5m: select REGMAP_I2C
239670e85cbb power: reset: at91-sama5d2_shdwc: fix wkupdbc mask
3cbd3038c915 of/fdt: Make sure no-map does not remove already reserved regions
fb326c6ce0dc fdt: Properly handle "no-map" field in the memory region
5fba43deff93 mfd: bd9571mwv: Use devm_mfd_add_devices()
3b0053360e84 dmaengine: hsu: disable spurious interrupt
fe0a870739ba dmaengine: owl-dma: Fix a resource leak in the remove function
6f4fdb448b4c dmaengine: fsldma: Fix a resource leak in an error handling path of the probe function
67be754e0771 dmaengine: fsldma: Fix a resource leak in the remove function
da0f70eadabf RDMA/siw: Fix handling of zero-sized Read and Receive Queues.
1f5fea7616e8 HID: core: detect and skip invalid inputs to snto32()
34d0d61a864d clk: sunxi-ng: h6: Fix CEC clock
2dd73db1b508 spi: cadence-quadspi: Abort read if dummy cycles required are too many
0473358e075c i2c: iproc: handle master read request
128c8431e8b9 i2c: iproc: update slave isr mask (ISR_MASK_SLAVE)
d8a5e1780a2b i2c: iproc: handle only slave interrupts which are enabled
8b63c0cbc724 quota: Fix memory leak when handling corrupted quota file
623c86840e8a selftests/powerpc: Make the test check in eeh-basic.sh posix compliant
b070f3b6ee5a clk: meson: clk-pll: propagate the error from meson_clk_pll_set_rate()
f8c601cb3ab4 clk: meson: clk-pll: make "ret" a signed integer
fcba0f6ab1e2 clk: meson: clk-pll: fix initializing the old rate (fallback) for a PLL
6413d0318ca4 HSI: Fix PM usage counter unbalance in ssi_hw_init
33a2e62473e8 capabilities: Don't allow writing ambiguous v3 file capabilities
b42b04e517cb ubifs: Fix error return code in alloc_wbufs()
5501892826bb ubifs: Fix memleak in ubifs_init_authentication
c4ede7571b4f jffs2: fix use after free in jffs2_sum_write_data()
746ef39b0bd6 fs/jfs: fix potential integer overflow on shift of a int
ff138fd20f17 ASoC: simple-card-utils: Fix device module clock
091b409383ad ima: Free IMA measurement buffer after kexec syscall
e436d3f7bdac ima: Free IMA measurement buffer on error
f04787555f4c crypto: ecdh_helper - Ensure 'len >= secret.len' in decode_key()
cba03a29611c hwrng: timeriomem - Fix cooldown period calculation
6f651ec266ba btrfs: clarify error returns values in __load_free_space_cache
790c0dcbb519 ASoC: SOF: debug: Fix a potential issue on string buffer termination
624d18332e13 Drivers: hv: vmbus: Avoid use-after-free in vmbus_onoffer_rescind()
76faeef2f45e f2fs: fix a wrong condition in __submit_bio
721c986986d2 drm/amdgpu: Prevent shift wrapping in amdgpu_read_mask()
c1a421b198bc f2fs: fix to avoid inconsistent quota data
7cb52169ada4 mtd: parsers: afs: Fix freeing the part name memory in failure
35a5d96a4c22 ASoC: cpcap: fix microphone timeslot mask
4168bf93ccc4 ata: ahci_brcm: Add back regulators management
0faef25462f8 drm/nouveau: bail out of nouveau_channel_new if channel init fails
adc2e1dba977 crypto: talitos - Work around SEC6 ERRATA (AES-CTR mode data size error)
7284c2692aff mtd: parser: imagetag: fix error codes in bcm963xx_parse_imagetag_partitions()
aae14aed37d5 sched/eas: Don't update misfit status if the task is pinned
ba95955ee1e2 media: uvcvideo: Accept invalid bFormatIndex and bFrameIndex values
27019b873863 media: pxa_camera: declare variable when DEBUG is defined
0f16925a9e70 media: cx25821: Fix a bug when reallocating some dma memory
c3a2f73a7925 media: qm1d1c0042: fix error return code in qm1d1c0042_init()
96a3bc313aa3 media: lmedm04: Fix misuse of comma
69e859a9d0a4 media: software_node: Fix refcounts in software_node_get_next_child()
1e0f565138db drm/amd/display: Fix HDMI deep color output for DCE 6-11.
7d1fc1e88b36 drm/amd/display: Fix 10/12 bpc setup in DCE output bit depth reduction.
ed0b50cd4407 bsg: free the request before return error code
de9b26b5133f MIPS: properly stop .eh_frame generation
1169602150d5 drm/sun4i: tcon: fix inverted DCLK polarity
48f2fcd7b928 crypto: bcm - Rename struct device_private to bcm_device_private
3d5afcae9af2 evm: Fix memleak in init_desc
76b7e3a636b4 ASoC: cs42l56: fix up error handling in probe
c7ebd8b358b0 media: aspeed: fix error return code in aspeed_video_setup_video()
438d2cc7b8cc media: tm6000: Fix memleak in tm6000_start_stream
31730cb2461b media: media/pci: Fix memleak in empress_init
57cc424326df media: em28xx: Fix use-after-free in em28xx_alloc_urbs
3e0c29a407da media: vsp1: Fix an error handling path in the probe function
e01fcc71a994 media: camss: missing error code in msm_video_register()
1b26ba73b18f media: imx: Fix csc/scaler unregister
0634c66e6660 media: imx: Unregister csc/scaler only if registered
61f638b3afe9 media: i2c: ov5670: Fix PIXEL_RATE minimum value
7dfe4fed118d MIPS: lantiq: Explicitly compare LTQ_EBU_PCC_ISTAT against 0
ea27c3f0bc1a MIPS: c-r4k: Fix section mismatch for loongson2_sc_init
d9f6d2a54487 drm/amdgpu: Fix macro name _AMDGPU_TRACE_H_ in preprocessor if condition
0d528f6151c7 crypto: arm64/aes-ce - really hide slower algos when faster ones are enabled
e056f69dea5a crypto: sun4i-ss - fix kmap usage
a3eeb7fd063f crypto: sun4i-ss - linearize buffers content must be kept
914d61930b89 drm/fb-helper: Add missed unlocks in setcmap_legacy()
200e603d5517 gma500: clean up error handling in init
2e5c94708d3e drm/gma500: Fix error return code in psb_driver_load()
0da21f552344 fbdev: aty: SPARC64 requires FB_ATY_CT
e7b6ac5c46fe net: mvneta: Remove per-cpu queue mapping for Armada 3700
825c82d55197 net: amd-xgbe: Fix network fluctuations when using 1G BELFUSE SFP
46121a6f3be5 net: amd-xgbe: Reset link when the link never comes back
70bf58171f19 net: amd-xgbe: Fix NETDEV WATCHDOG transmit queue timeout warning
0496eb6f48cc net: amd-xgbe: Reset the PHY rx data path when mailbox command timeout
95672dd57547 ibmvnic: skip send_request_unmap for timeout reset
64a87b0b650c ibmvnic: add memory barrier to protect long term buffer
8022d52a102b b43: N-PHY: Fix the update of coef for the PHY revision >= 3case
9db1f14e7043 cxgb4/chtls/cxgbit: Keeping the max ofld immediate data size same in cxgb4 and ulds
399fb9d51ba9 net: axienet: Handle deferred probe on clock properly
774bacf121c3 tcp: fix SO_RCVLOWAT related hangs under mem pressure
88f8f40c901c bpf: Fix bpf_fib_lookup helper MTU check for SKB ctx
5af224ab9486 mac80211: fix potential overflow when multiplying to u32 integers
fef6f594ea43 xen/netback: fix spurious event detection for common event case
5c54aaed078d bnxt_en: reverse order of TX disable and carrier off
a1b692506569 ibmvnic: Set to CLOSED state even on error
9de820ae6cc1 ath9k: fix data bus crash when setting nf_override via debugfs
4dcfd936030b bpf_lru_list: Read double-checked variable once without lock
bcda70ed686f soc: aspeed: snoop: Add clock control logic
5350b91a73d7 ARM: s3c: fix fiq for clang IAS
b9634e38ac61 arm64: dts: msm8916: Fix reserved and rfsa nodes unit address
65f9fdb425bc Bluetooth: btusb: Fix memory leak in btusb_mtk_wmt_recv
80ace3402885 arm64: dts: armada-3720-turris-mox: rename u-boot mtd partition to a53-firmware
18ab54cfda05 ARM: dts: armada388-helios4: assign pinctrl to each fan
3d3098c2ddad ARM: dts: armada388-helios4: assign pinctrl to LEDs
6b86cbc97589 staging: rtl8723bs: wifi_regd.c: Fix incorrect number of regulatory rules
c75f541e12f8 usb: dwc2: Make "trimming xfer length" a debug message
6e89da2174f7 usb: dwc2: Abort transaction after errors with unknown reason
c192b2cc4d39 usb: dwc2: Do not update data length if it is 0 on inbound transfers
c7722f664788 ARM: dts: Configure missing thermal interrupt for 4430
75921ff8bdc4 memory: ti-aemif: Drop child node when jumping out loop
725cb22009f7 Bluetooth: Put HCI device if inquiry procedure interrupts
9f2816a99ace Bluetooth: drop HCI device reference before return
a5542b45c729 usb: gadget: u_audio: Free requests only after callback
a17fa9039218 ACPICA: Fix exception code class checks
fb6aa67ab1da cpufreq: brcmstb-avs-cpufreq: Fix resource leaks in ->remove()
279bc604e2e9 cpufreq: brcmstb-avs-cpufreq: Free resources in error path
24932862d9ee arm64: dts: allwinner: A64: Limit MMC2 bus frequency to 150 MHz
f85f6c5572ff arm64: dts: allwinner: H6: Allow up to 150 MHz MMC bus frequency
06010cf028ce arm64: dts: allwinner: Drop non-removable from SoPine/LTS SD card
288764e9ac2f arm64: dts: allwinner: H6: properly connect USB PHY to port 0
c4be5762aab9 arm64: dts: allwinner: A64: properly connect USB PHY to port 0
c616257c9db4 bpf: Avoid warning when re-casting __bpf_call_base into __bpf_call_base_args
fa3fc79c7834 bpf: Add bpf_patch_call_args prototype to include/linux/bpf.h
ab9de93d12c9 memory: mtk-smi: Fix PM usage counter unbalance in mtk_smi ops
9ab4364ecd99 arm64: dts: exynos: correct PMIC interrupt trigger level on Espresso
0fb966b5d10b arm64: dts: exynos: correct PMIC interrupt trigger level on TM2
f0f9e9152375 ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid XU3 family
d32a94371fc1 ARM: dts: exynos: correct PMIC interrupt trigger level on Arndale Octa
da40c06e41b5 ARM: dts: exynos: correct PMIC interrupt trigger level on Spring
e23124590415 ARM: dts: exynos: correct PMIC interrupt trigger level on Rinato
4a0e0208bbb5 ARM: dts: exynos: correct PMIC interrupt trigger level on Monk
6d4c9e525833 ARM: dts: exynos: correct PMIC interrupt trigger level on Artik 5
36c39c445265 Bluetooth: Fix initializing response id after clearing struct
04792d477215 Bluetooth: hci_uart: Fix a race for write_work scheduling
b624bc27cf82 Bluetooth: btqcomsmd: Fix a resource leak in error handling paths in the probe function
a48bb93f6fbe ath10k: Fix error handling in case of CE pipe init failure
3a954b0d909c random: fix the RNDRESEEDCRNG ioctl
1be2b1d23529 MIPS: vmlinux.lds.S: add missing PAGE_ALIGNED_DATA() section
d3b8fa2e1d03 ALSA: usb-audio: Fix PCM buffer allocation in non-vmalloc mode
166f9bc8ca0d bfq: Avoid false bfq queue merging
608ba1f447bc virt: vbox: Do not use wait_event_interruptible when called from kernel context
468bf1861a9c PCI: Decline to resize resources if boot config must be preserved
213c6f635bab PCI: qcom: Use PHY_REFCLK_USE_PAD only for ipq8064
c37821e061f0 kdb: Make memory allocations more robust
6f15d498bfe8 debugfs: do not attempt to create a new file before the filesystem is initalized
de5ae4087035 debugfs: be more robust at handling improper input in debugfs_lookup()
d239c08f091a kvm: x86: replace kvm_spec_ctrl_test_value with runtime test on the host
0a6565762f27 vmlinux.lds.h: add DWARF v5 sections
(From OE-Core rev: 50b7bd03fad8564205dd870c4dd120a62541767a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 820b55234191890ece87e858a98089326985e868)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream patches are only in glib >= 2.66.6 and >= 2.67.3 and won't
be backported. This patch is developed based on the upstream patch set
and consulting teh backports recently made by Ubuntu for the 2.64.6
series.
(From OE-Core rev: 513d2a82cc9574983d017a2c0b2de87e181befa5)
Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In cases where we configure the IP address and more on the kernel
command line with ip= we should not ask for DHCP with systemd-networkd
later on. We have such a setup with our runqemu script.
With this match in place we can also deploy this unit on qemu systems.
(From OE-Core rev: a321345bee919ff16f6041ded26776da890c395d)
Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8c4981e740c0e630200dbc77c9e3dfd3e43b790b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we delete the .git/ directory, it's impossible to get METADATA_REVISION
inside eSDK. Because of this, we meet the following warning when installing eSDK.
WARNING: The base-files:do_install sig is computed to be 16b9d96148d45de183cc94667aae016ec7d102d48255456381e718cd4bbd0aa0, \
but the sig is locked to 6eb0dcaed504282becee94662481d79264db920dee1f7deda18230133fff8f36 in SIGGEN_LOCKEDSIGS_t-qemux86-64
So we record METADATA_REVISION in eSDK generation time to fix this problem.
(From OE-Core rev: c0599c12449240bbd7b3add43d01b3481ff1e813)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ff2ad51b801fd62e2abbc573ba2c9ee8fdc7e012)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bin is not an acceptable format for qemu and will throw an error is set.
The correct format in this case is raw.
(From OE-Core rev: c3eb98b9d079fbee40753d074ff1dbf497cbb1d0)
Signed-off-by: Jon Mason <jon.mason@arm.com>
Change-Id: I9d78e356d39ecb15bef886c19870b029d9badd65
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cd279aeb986b4676ea8ecb1e7b12c7e29e83460a)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The do_kernel_configme task is no longer part of SRCTREECOVEREDTASKS,
its been removed from the kernel-yocto.bbclass since b72dbb2e4, but
there wasnt a matching patch for devtool for those changes.
This patch enables us to invoke the do_kernel_configme task when
using a devtool workspace, it also prepends a check for an existing
.config file in the source directory and moves it if thats the case,
since when using devtool modify a .config is created and
do_kernel_configme complains about it, this is not the case when
using bitbake since the .config file would be on B instead.
Alowing do_kernel_configme to run also fixes the flow where testing a
new config fragment from devtool workspace isnt added properly
(config queue shows it as ///frg.cfg) and as a side effect it never
gets merged into the final config.
(From OE-Core rev: b475ba8676c88286185aaafb3ff5217e475ec494)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 08dcc0e68095dcf2a159546a48b29d40c9aabc0b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* it doesn't listen on http and the redirect sometimes doesn't work
WARNING: iso-codes-4.6.0-r0 do_fetch: Failed to fetch URL git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http;branch=main;, attempting MIRRORS if available
The protocol should be changed to https, like all other salsa.debian.org pulls are, so that it doesn't depend on mirrors.bbclass to resolve this.
meta/classes/mirrors.bbclass//salsa.debian.org/.* git://salsa.debian.org/PATH;protocol=https \n \
from log.do_fetch:
DEBUG: Fetcher accessed the network with the command LANG=C git -c core.fsyncobjectfiles=0 fetch -f --progress http://salsa.debian.org/iso-codes-team/iso-codes.git refs/*:refs/*
fatal: unable to access 'http://salsa.debian.org/iso-codes-team/iso-codes.git/': Couldn't connect to server
WARNING: Failed to fetch URL git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http;branch=main;, attempting MIRRORS if available
...
warning: redirecting to https://salsa.debian.org/iso-codes-team/iso-codes.git/
(From OE-Core rev: c0a06ffdfc5fccee247e750413711cba237fb982)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 749eeb8cfaa8ffcfda29f3f06a77debaf6304288)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In e9e5744ba8b0d43c8b874d365f83071ce20bf0a1, Khem Raj wrote:
> OE does not use the traditional /usr/lib/gcc prefix to store
> gcc-runtime it basically is moved into libdir, however some newer
> files were installed by newer versions of gcc especially libgomp (
> omp.h openacc.h ) into gcclibdir, so we have content in both
> directories, this confuses other tools which are trying to guess the
> gcc installation and its runtime location, since now we have two
> directories, the tools either choose one or other and we get
> inconsistent behavior, e.g. clang for aarch64 uses /usr/lib but same
> clang for riscv64 chose /usr/lib/gcc
> This change ensures that OE ends up with single valid location for gcc
> runtime files
I think that the same thing needs to happen in gcc-sanitizers.inc,
otherwise I get errors like:
| .../recipe-sysroot/usr/include/gpg-error-64.h:884:11: fatal error: sanitizer/lsan_interface.h: No such file or directory
when attempting to compile with sanitizers enabled.
FILES_${PN} needs updating to match too.
(From OE-Core rev: 6b9e85e48ba43be74d51c7af703ba787f36e3241)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 862b4fac3ee7d951758c8c93462331ad52bf0190)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The library hardcodes paths to the python library internally and currently
these are build paths. Fix this to use the correct target path and
fix reproducibility in the process.
(From OE-Core rev: 45b8cc437557490ae3aca2434ea19a5113bf2fa6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4c190e8c9a2b53de3def1065fb6e479b72d040dc)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Calling sync between each file compare is horrible performance wise
as we compare thousands of files. We don't care about IO latency here
so disable.
(From OE-Core rev: 1fddd6b891265956e0a26963459e7511d757cace)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 25f78abd8bbeb201fd9452e7983e015027954948)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to use CFLAGS with the correct WORKDIR in them, replace those
in the sysroot file with the ones appropriate to the current recipe.
(From OE-Core rev: ca466a17fb18334f307e2241c65f25d024f0a164)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 45edf189961aff1858be9bb7b63116073c0a0c10)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a configuration option to pass in srcdir, removing hard coded
build paths from the binaries.
(From OE-Core rev: 6e45dd0c65099f0d5f9df0ee052ba3c9ed67f727)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d7e92e3a22f0c87aff4f452b51f50ec417d2949b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The libinput ptests are very sensitive to system load, and will fail
if events from the kernel don't arrive sufficiently fast (from 20ms to
200ms depending on the test).
This is by design as input processing is inherently time-sensitive and
to avoid code bugs the test suite considers timing problems fatal.
As this is causing a large proportion of ptest runs to fail in libinput,
disable the execution of these tests for now.
[ YOCTO #14164 ]
(From OE-Core rev: 15c39af471bd42f0469ee138f3c93e8652e6f55f)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 54e2eb809bdfedb64219f37b82589372bbc96905)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This CVE is about TOCTOU (time-of-check time-of-use)
race condition when copying and removing directory trees
which had very low severity problem and marked as closed
and won't fix. Therefore whitelisted CVE-2013-4235.
Master, gatesgarth and dunfell all have shadow version 4.81.
Hence, this is applicable for master, gatesgarth and dunfell.
Link: https://bugzilla.redhat.com/show_bug.cgi?id=884658
(From OE-Core rev: 1474dcb84c925603736bafbe9fc802a99a014a39)
Signed-off-by: Sana Kazi <Sana.Kazi@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b1c6cd87bee6b019619dc5728fd6c36bc87ed696)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
ef1fcccf6e5f Linux 5.4.101
fe257f47e2c3 scripts/recordmcount.pl: support big endian for ARCH sh
a2c5e4a083a7 cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath.
e6f7bf29e32d cxgb4: Add new T6 PCI device id 0x6092
aaf830ad624a NET: usb: qmi_wwan: Adding support for Cinterion MV31
5f2093be3627 KVM: Use kvm_pfn_t for local PFN variable in hva_to_pfn_remapped()
3f9fbe703164 mm: provide a saner PTE walking API for modules
32f070ad274d KVM: do not assume PTE is writable after follow_pfn
78c7b242573a mm: simplify follow_pte{,pmd}
8aeef9c9ac7e mm: unexport follow_pte_pmd
8f869895cf9d scripts: set proper OpenSSL include dir also for sign-file
c7ed0a50f20a scripts: use pkg-config to locate libcrypto
c8e3bcc6db7c arm64: tegra: Add power-domain for Tegra210 HDA
74c8a6af692a ntfs: check for valid standard information attribute
54a3c25368d9 usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable
96ef50ec7266 USB: quirks: sort quirk entries
fce3654c648d HID: make arrays usage and value to be the same
185c2266c1df bpf: Fix truncation handling for mod32 dst reg wrt zero
fc944ddc0b4a Linux 5.4.100
38d777aaf2c3 btrfs: fix backport of 2175bf57dc952 in 5.4.95
c6dd8545fe38 media: pwc: Use correct device for DMA
524a77aa5d69 xen-blkback: fix error handling in xen_blkbk_map()
be05138a9cdd xen-scsiback: don't "handle" error by BUG()
52e8f43af540 xen-netback: don't "handle" error by BUG()
7109f61d25ff xen-blkback: don't "handle" error by BUG()
55ccf71c0985 xen/arm: don't ignore return errors from set_phys_to_machine
feda880969a5 Xen/gntdev: correct error checking in gntdev_map_grant_pages()
0e382682dda4 Xen/gntdev: correct dev_bus_addr handling in gntdev_map_grant_pages()
da92e41f010e Xen/x86: also check kernel mapping in set_foreign_p2m_mapping()
104eef952314 Xen/x86: don't bail early from clear_foreign_p2m_mapping()
49de0a17e68f net: bridge: Fix a warning when del bridge sysfs
c35ce3d38caa net: qrtr: Fix port ID for control messages
f49731dfdb20 KVM: SEV: fix double locking due to incorrect backport
(From OE-Core rev: 87205779f6198fa22996722381c8015a3b068e71)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e813c8d776679fc602b06959dd7e280959ffd1ee)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
850e6a95deb5 Linux 5.4.99
e8ffaca0fe27 ovl: expand warning in ovl_d_real()
b55528a18e40 net/qrtr: restrict user-controlled length in qrtr_tun_write_iter()
99996cd558ba net/rds: restrict iovecs length for RDS_CMSG_RDMA_ARGS
ac79b1d94a88 vsock: fix locking in vsock_shutdown()
c025081b57df vsock/virtio: update credit only if socket is not closed
2545c5bd8316 net: watchdog: hold device global xmit lock during tx disable
a5f0b6f7b1c0 net/vmw_vsock: improve locking in vsock_connect_timeout()
611d93fbea54 net: fix iteration for sctp transport seq_files
2085d886630a net: gro: do not keep too many GRO packets in napi->rx_list
5c53956a8da0 net: dsa: call teardown method on probe failure
0b42ab078369 udp: fix skb_copy_and_csum_datagram with odd segment sizes
73bc75fda669 rxrpc: Fix clearance of Tx/Rx ring when releasing a call
b90e8d5d28d1 usb: dwc3: ulpi: Replace CPU-based busyloop with Protocol-based one
35834bf0b210 usb: dwc3: ulpi: fix checkpatch warning
0b49b82eeea2 h8300: fix PREEMPTION build, TI_PRE_COUNT undefined
1019015a5dca i2c: stm32f7: fix configuration of the digital filter
546d92a43c94 clk: sunxi-ng: mp: fix parent rate change flag check
b02db23d2647 drm/sun4i: dw-hdmi: Fix max. frequency for H6
40db7dba50fe drm/sun4i: Fix H6 HDMI PHY configuration
3063b80b4bdf drm/sun4i: tcon: set sync polarity for tcon1 channel
107cf5eede74 firmware_loader: align .builtin_fw to 8
beb85f4927e8 net: hns3: add a check for queue_id in hclge_reset_vf_queue()
a045956a3b41 x86/build: Disable CET instrumentation in the kernel for 32-bit too
da1a5442ad2c netfilter: conntrack: skip identical origin tuple in same zone only
0142b957866f ibmvnic: Clear failover_pending if unable to schedule
3f8954cc624c net: stmmac: set TxQ mode back to DCB after disabling CBS
c0daa74b8ed7 selftests: txtimestamp: fix compilation issue
6107338c2fa2 net: enetc: initialize the RFS and RSS memories
71d2bd7921db xen/netback: avoid race in xenvif_rx_ring_slots_available()
ff758e8a77f3 netfilter: flowtable: fix tcp and udp header checksum update
b110391d1e80 netfilter: nftables: fix possible UAF over chains from packet path in netns
35c279e02b7e netfilter: xt_recent: Fix attempt to update deleted entry
7e3a6b820535 bpf: Check for integer overflow when using roundup_pow_of_two()
e29126678f65 drm/vc4: hvs: Fix buffer overflow with the dlist handling
69beec4a8b36 mt76: dma: fix a possible memory leak in mt76_add_fragment()
8a5991c8214b lkdtm: don't move ctors to .rodata
4f5416710e13 vmlinux.lds.h: Create section for protection against instrumentation
b7f41a7ad444 ARM: kexec: fix oops after TLB are invalidated
f49bff85b6db ARM: ensure the signal page contains defined contents
06350c7f7923 ARM: dts: lpc32xx: Revert set default clock rate of HCLK PLL
e60577e29deb bfq-iosched: Revert "bfq: Fix computation of shallow depth"
91d604ab2a99 riscv: virt_addr_valid must check the address belongs to linear mapping
0db8d192ee57 drm/amd/display: Decrement refcount of dc_sink before reassignment
5c8f63266255 drm/amd/display: Free atomic state after drm_atomic_commit
f35da70b516f drm/amd/display: Fix dc_sink kref count in emulated_link_detect
76979956a8af drm/amd/display: Add more Clock Sources to DCN2.1
4516a0a2c087 nvme-pci: ignore the subsysem NQN on Phison E16
335a285aa0f0 ovl: skip getxattr of security labels
43e3cf46afb1 cap: fix conversions on getxattr
df094aa0aab0 ovl: perform vfs_getxattr() with mounter creds
cc512646b2e7 platform/x86: hp-wmi: Disable tablet-mode reporting by default
2bb22cd4dae4 ARM: OMAP2+: Fix suspcious RCU usage splats for omap_enter_idle_coupled
2cb208ba0fd1 arm64: dts: qcom: sdm845: Reserve LPASS clocks in gcc
92c40ed0abcb arm64: dts: rockchip: Fix PCIe DT properties on rk3399
2407794f2298 cgroup: fix psi monitor for root cgroup
18d691d837b3 arm/xen: Don't probe xenbus as part of an early initcall
a0997a86f5c0 tracing: Check length before giving out the filter buffer
74c7bafdd303 tracing: Do not count ftrace events in top level enable output
4851d7b340e9 gpio: ep93xx: Fix single irqchip with multi gpiochips
2c5abe0f8e9c gpio: ep93xx: fix BUG_ON port F usage
(From OE-Core rev: 56b67270f70869b50e473e94c9bd6495063756a5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c300a9e9d414355af783f2adae53cde0c6319d08)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Discussion with the libinput maintainer has confirmed that many of the
libinput test cases need to run on a relatively unloaded system,
because input handling is by definition time-sensitive and any
event mismatches are considered a failure to avoid broken code hiding.
We can't expect libinput to run on an otherside unloaded machine
because the autobuilder ptests execute in a qemu at the same time
as builds can be happening. We can however reduce the amount of
parallellism happening in the libinput test suite to give it a better
chance of succeeding.
This may not be enough, but it's worth a go.
[ YOCTO #14164 ]
(From OE-Core rev: bd33e62fba70e8461d0efbee04841db9a0c1ff9d)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5702f7c489ed45b7f4a69c78aa8215e2c98e21c4)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit bebef58b21bdff7a3ee1fa2449b7df19144f26fd introduced forcing
parser shutdown as default in case of build abort.
In this case bitbake sometimes hangs after facing error during parsing,
waiting for child processes to finish. Killing it then will spawn zombie
processes.
Thus we force the shutdown after catching an exception.
(Bitbake rev: 5d02c98489d3a5836676b9c3fb3bd0157449db2b)
Signed-off-by: Jan Brzezanski <jan.brzezanski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 915330e1dbae1ee8fd9a0358decf2c294f771961)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen hard to debug issues where a task ends up in both the
covered and notcovered list. Add a sanity check to ensure if this
happens in future, we see it in the logs.
(Bitbake rev: 947c2ad65e4c59d01c603f767f11f9aa86b69264)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6e001410854792f9bb66a0409a2ac176171b0507)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen occasional issues where linux-yocto:do_compile_kernelmodules would
run without do_shared_workdir running before it. do_shared_workdir is an
setscene task but never has an sstate object generated so it will always
rerun. This should not happen since compile_kernemodules should only
execute if a setscene that depends on it didn't run and that should trigger
do_shared_workdir not to be marked as covered.
The issue is that build-appliance-image:do_package is one of the tasks which
covers linux-yocto:do_compile_kernelmodules but it is also a noexec task
and has a dependecy on pseudo-native:do_populate_sysroot.
In the problem case, pseudo-native:do_populate_sysroot is unavailable but
marked as covered since it is noexec. The "harddeps" code then also marks it
as notcovered. No task should ever be both covered and notcovered and this
is where the problems come from.
The solution is for the harddeps code only to to fail tasks if they've not
already been handled in some way. The code is assuming code couldn't have
handled revdeps at this point but we now have clear evidence they can.
(Bitbake rev: 0a61f86a8da5356ce0d894ef2ffb96ac6a219db5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f66556bbb38449789ceea2fd105e9f68df7fb660)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't use tbe BUILDINFO line of host information in the Makefile
so remove it for reproducibility.
(From OE-Core rev: d068eb7f453aa35eb3339c170a29dbd7a8ae51fe)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a9742595fa90d4977fdd8129a4fe4932ddb96a18)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Attempt to fix intermittent failure of `drd/tests/std_list`
Locally tested to take around 45 s on qemuarm64
[YOCTO #14228]
(From OE-Core rev: cea4b96e8ad2db2db7d8e9cfa825ed82be545775)
Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aac00b1c8042e41cd6bb1aea8e3033a1c6dd2b05)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Distros may not use shadow for login manager
secondly login --help returns 1 only with shadow provided login
utility, with busybox it returns normal 0, the testcase clearly
assumes shadow being part of image, therefore add needed
checks to ensure the pre-requisites are met
(From OE-Core rev: 0535f0bbc792a5124a375e087a3a5b0c27c19456)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0820aeba74869bf6e85b200f39bc610a43ab9a7a)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've had a lot of concern about the readability of diffs of this
path setting, refactor to avoid long line length.
(From OE-Core rev: 34a263ec94a7b5e095b02c2fe272318923d6850b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f3930cba16ccbc4b76ed14187d5586d6479bc59e)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This path is image specific so we can move to the image class
definition of PSEUDO_IGNORE_PATHS.
(From OE-Core rev: 6fc18891dd0702f5bb342dbde0188da5bea66b0d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 66a8ca0f206434e0b301a8fdc90f062750d6d118)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some paths used in sdk construction shouldn't be tracked under pseudo
so list these.
(From OE-Core rev: 62614d0e4f115dddadc9f8d61d070fff3785d98e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 21621e09162ff9e8014a1cfba78d0f2c3746202a)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some paths used in image construction shouldn't be tracked under pseudo
so list these.
(From OE-Core rev: 4b39137ebca9e2207df00ba104a563e844c6cc84)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9463be2292b942a1072eea88881b9644e55aadb9)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set our own distro string rather than using the value from
/etc/os-release.
(From OE-Core rev: 431dae3ff30b162b8a63344f559601e590f64a54)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 77f23ece471e8855bfd8be06951f21cabce25545)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't want to encide BUILD_ROOT into target packages. This is used
for build time tests but in our case those would be on target anyway
do use the target paths.
(From OE-Core rev: f6012c0d39430dc085b25108d727db4896d2064b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2818dc90bd62487879e7da2c68357b39282415b0)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are getting closer and closer to the year 2038 where the 32 bit
time_t overflow will happen. While products (= embedded systems) with an
expected life time of 15 years are still save the situation may change
if your system has to survive the next 20 years.
ext2 and ext3 filesystems are always affected by the time overflow, so
let's warn the user if these filesystems are still being used.
If ext4 is affected depends on the inode size chosen during filesystem
creation. At least 256 bytes are necessary to be safe. As ext4 is
used very often (and partitions may be created small first and extended
later) this might be an issue for many users.
Some filesystems created during CI runs were already affected by the Y2038
problem. By using `--mkfs-extraopts "-T default"` we tell mke2fs not to
auto-detect the usage type based on the filesystem size. mke2fs will use
the default values for tuning parameters instead. The inode size is one
of these parameters.
(From OE-Core rev: d30283d8090ff21be51433572b7afb542ecea592)
Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eecbe625558406680121d2a7e84917fea45ea9dc)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
NPM shrinkwrap files need to stay in SRC_URI even when using
externalsrc so that npm_do_fetch can run to fetch the required
dependencies.
(From OE-Core rev: b8eb2e7d5c13e617aea6083567870a0de5cc6e42)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e889cbecf9a1731b199e57d79a14e574398586bb)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
configure inspects the host's /etc/group for these configuration
options, fix this to the correct values by using configure options.
(From OE-Core rev: 0ede88ee0d5972352d317d1e2c7735b89bffab50)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f16f9c727569414cd52862dcba18d8e423f4e961)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* not sure if there are some valid use-cases for missing manifest, but
recently I'm seeing increasing number of build failures where something
from native recipe is missing (seen it with pseudo, autoconf, nodejs
recently) and the only indication that something is wrong (before showing
sometimes misleading error like:
recipe-sysroot-native/usr/bin/node: No such file or directory
is this warning:
NOTE: Running task 7844 of 12431 (/meta-oe/meta-oe/recipes-devtools/nodejs/nodejs_12.20.2.bb:do_prepare_recipe_sysroot)
NOTE: recipe nodejs-12.20.2-r0: task do_prepare_recipe_sysroot: Started
WARNING: nodejs-12.20.2-r0 do_prepare_recipe_sysroot: Manifest /BUILD/sstate-control/manifest-x86_64_ubuntu-18.04-nodejs-native.populate_sysroot not found in x86_64 x86_64_ubuntu-18.04 (variant '')?
NOTE: Running task 7845 of 12431 (/meta-oe/meta-oe/recipes-devtools/nodejs/nodejs_12.20.2.bb:do_unpack)
NOTE: recipe nodejs-12.20.2-r0: task do_unpack: Started
WARNING: nodejs-12.20.2-r0 do_prepare_recipe_sysroot: Manifest /BUILD/sstate-control/manifest-x86_64_ubuntu-18.04-nodejs-native.populate_sysroot not found in x86_64 x86_64_ubuntu-18.04 (variant '')?
NOTE: recipe nodejs-12.20.2-r0: task do_prepare_recipe_sysroot: Succeeded
if I rebuild that native dependency, then it gets fixed and I don't
see these failures in clean builds (as without sstate and with empty
TMPDIR), only in incremental builds
* but if there isn't valid reason for missing manifest file, then I think
it would be better to error early (or even bb.fatal())
(From OE-Core rev: da6b76bf6152b2a60c6a31756c287289c3559a74)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 95607a26854d873399d2b9d7e5fcbffc0cbdba4c)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bitbake depends on this variable while looking for pseudo.log file in
case of fakeroot task failure.
(From OE-Core rev: ccd25025ffa1d3579f4cf575e49490649c563e4d)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e8e9e5f62b144828387e20eec2e66fcd61edd0d3)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
babeltrace2-ptest was referencing the host's python version in it's
makefiles. Whilst this could be fixed, its easier to correct the
python version being found to the target one which works much
more effectively and solves the issue.
(From OE-Core rev: 9cda99010387dbc57d9673fcc86dee196e5d3d41)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 559f16d2fef4f8b04a9db1104b4a5b63f7876c68)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of just providing local.conf info, add layer names and their
revisions with bitbake version information into error report
makes it easier to understand and reproduce failed build.
[YOCTO #9700]
(From OE-Core rev: 7a441520dd1870ffaab3bb9fa7a47695fb2d4459)
Signed-off-by: Milan Shah <mshah@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a5afd7b1857c0012ab6e3d8bbafa67a96ff9e9e0)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure the python interpreter is "#!/usr/bin/env python3" for
nativesdk to avoid the shebang path exceeding the limit when install
the sdk under the directory with long path.
Before:
$ cd ${target_sdk_dir}
$ vi ./sysroots/x86_64-oesdk-linux/usr/bin/2to3
#!${target_sdk_dir}/sysroots/${SDK_SYS}/usr/bin/python3.9
[snip]
After:
$ cd ${target_sdk_dir}
$ vi ./sysroots/x86_64-oesdk-linux/usr/bin/2to3
#!/usr/bin/env python3
[snip]
(From OE-Core rev: 57af8ed4d3f1645d9a648ae1e569c792d9bcb361)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a748e6098fa7d2ff594319937c7e0cf97700e83a)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch was submitted and merged upstream.
(From OE-Core rev: 4fd20fa9c49019b039c5e39d6ed5c9b67732ce15)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 871bce0703ca9d14e5c44f6ee0b66fcb13cfb630)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
configure falls back to inspecting the host#s /etc/group for the
nobody/nogroup naming. Pass the correct value to configure to
ensure host differences don't sneak in.
(From OE-Core rev: a7048245d3d3d14ba4ec0a3af3fc117c2f4e107b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e5f809068b32df32e506f3067cd6086195e03f12)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The comment above the importd config states curl, which does not
exist in PACKAGECONFIG. Adding it results in the following error
(and then misleading compilation failures):
WARNING: systemd-1_244.5-r0 do_configure: QA Issue: systemd: invalid PACKAGECONFIG: curl [invalid-packageconfig]
Support for curl is currently enabled through journal-upload:
PACKAGECONFIG[journal-upload] = "-Dlibcurl=true,-Dlibcurl=false,curl"
While it might be more appropriate to deprecate "journal-upload"
in favor of a "curl" PACKAGECONFIG entry, simply fix the importd
comment for now by stating upload-journal instead of curl.
(From OE-Core rev: e3013d4c9c46bade2f6c38c26b779936e687d57c)
Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e6a0bced605da58ff43ff06ea6a1d67e84c98d91)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License file had a number of new additions for new firmware but no
new licenses that didn't already exist.
(From OE-Core rev: 8598a6c32bf7e1b4c498c75fe20baef2c847e7f7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eab46e65feae24311f0ee0cd05b7ebb2e3b07363)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Problem spotted on dunfell-23.0.4
Normally, unversioned .so is removed from -dev (default) package
however it is still being referred by other agents, such as webkitgtk.
That can be observed while executing i.e. Epiphany Browser.
For instance:
platformInitializeWebProcess()
calls
wpe_loader_init("libWPEBackend-fdo-1.0.so")
as a result one can see:
--------------------
wpe_loader_init could not load the library 'libWPEBackend-fdo-1.0.so':
libWPEBackend-fdo-1.0.so: cannot open shared object file:
No such file or directory
--------------------
"master" branch contains a bumped-up version of webkitgtk
to which this issue does not apply (the code has changed).
Forcefully keep this .so symlink to resolve the problem in dunfell.
(From OE-Core rev: a620b9b885bcff5b29e33d6cb0273e147fa19752)
Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python 3.9 dropped isAlive() so use the preferred is_alive().
(From OE-Core rev: f101408bd43a5d41cb1710a7a848370292f84290)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9bb06428cbb2ac0f3d98a1696f050d3393385503)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`devtool` uses `copy_recipe_files` for the upgrade operation when
creating the new, workspace recipe. Before handling the copy operations,
the function checks the entry in `SRC_URI` against `FILE` while in turn
uses absolute paths. When BBLAYERS contains entries that are not
normalised, this check will fail resulting in having the recipe in the
workspace without the initial patches.
Signef-off-by: Robert Drab <robert.drab@huawei.com>
(From OE-Core rev: 185a874d29706c65fb89920c4177fd6a0bb14711)
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 777fc24ab2c332954b56dac28cd9b3032808828c)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding --define 'use_source_date_epoch_as_buildtime 1' to rpmbuild
ensure that the rpm header does have a consistent BUILDTIME tag.
This allows the rpms to be built reproducibly.
(From OE-Core rev: 562e96ff4320765adca7bc7cf83150991ac08087)
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f16721df6b3d0d3e681d9a1b3393417bd62b6275)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: cb7eb2d449a2eb72bbef7b30cf7431f0483f0d83)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 92a9a86df9e3bcffb13d2f8b5dcbe7822170f734)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
CVE_CHECK_LAYER_INCLUDELIST
CVE_CHECK_LAYER_EXCLUDELIST
(From OE-Core rev: 1cd6f900b679956f51c49cfef9ba6bd22a81c805)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5fdde65ef58b4c1048839e4f9462b34bab36fc22)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Lets include whcih layer a package belongs to and
add it to the cve logs
(From OE-Core rev: ede1c9faae48c8d9107cbdc2fcf61d7af60d32e5)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 00d965bb42dc427749a4c3985af56ceffff80457)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the target is using a read-only rootfs, the available space on '/'
will be zero. This will cause the test to incorrectly fail and skipping
seems appropriate in this case.
(From OE-Core rev: ca408f6c78c2a526c699e3978634c85d2fbd0cfe)
Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af1dbea3c9b9b42a3e6803b231e425423d70e210)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes bison would regenerate source files and sometimes it would not
This is likely related to the patching of generated files by on of the
patches.
Drop those changes and force the files to regenerate in all cases since
we depend on bison-native anyway. This ensures the results are always
consistent.
(From OE-Core rev: aca1fba185ee3aac9a4631917462e60b5d89eecf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4449fa226e94f7124215c5ead43aadda7967f3af)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
5b9a4104c902 Linux 5.4.98
3654a0ed0bdc squashfs: add more sanity checks in xattr id lookup
d78a70667738 squashfs: add more sanity checks in inode lookup
a814355e7057 squashfs: add more sanity checks in id lookup
848bcb0a1d96 Fix unsynchronized access to sev members through svm_register_enc_region
78e2f71b89b2 bpf: Fix 32 bit src register truncation on div/mod
8589eda99cb1 regulator: Fix lockdep warning resolving supplies
513fee2aee13 blk-cgroup: Use cond_resched() when destroy blkgs
d1eb41833408 i2c: mediatek: Move suspend and resume handling to NOIRQ phase
618b65dbde7a SUNRPC: Handle 0 length opaque XDR object data properly
19b56e8433e7 SUNRPC: Move simple_get_bytes and simple_get_netobj into private header
fa758032a546 iwlwifi: mvm: guard against device removal in reprobe
2fa76f19dc15 iwlwifi: mvm: invalidate IDs of internal stations at mvm start
c82793ef4f3b iwlwifi: pcie: fix context info memory leak
b301eaf27f86 iwlwifi: pcie: add a NULL check in iwl_pcie_txq_unmap
01742ade9286 iwlwifi: mvm: take mutex for calling iwl_mvm_get_sync_time()
8f630ed7e98e iwlwifi: mvm: skip power command when unbinding vif during CSA
589cf152fe47 ASoC: ak4458: correct reset polarity
e96d10250227 pNFS/NFSv4: Try to return invalid layout in pnfs_layout_process()
a5c70e57c4c1 chtls: Fix potential resource leak
8b6d5013cd70 ASoC: Intel: Skylake: Zero snd_ctl_elem_value
db272cd2bc9e mac80211: 160MHz with extended NSS BW in CSA
26548561cb92 regulator: core: avoid regulator_resolve_supply() race condition
03d76df5f164 af_key: relax availability checks for skb size calculation
968b1b034136 tracing/kprobe: Fix to support kretprobe events on unloaded modules
5e1942063dc3 Linux 5.4.97
40af962eb1d4 usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720
76ab33055fbc net: sched: replaced invalid qdisc tree flush helper in qdisc_replace
e65d331755de net: dsa: mv88e6xxx: override existent unicast portvec in port_fdb_add
5d3007b6cc7b net: ip_tunnel: fix mtu calculation
90d7459d24b8 neighbour: Prevent a dead entry from updating gc_list
271ea7072901 igc: Report speed and duplex as unknown when device is runtime suspended
7018edb19a92 md: Set prev_flush_start and flush_bio in an atomic way
e857e21eb200 iommu/vt-d: Do not use flush-queue when caching-mode is on
5fdf672759e9 Input: xpad - sync supported devices with fork on GitHub
03d56dab56ae iwlwifi: mvm: don't send RFH_QUEUE_CONFIG_CMD with no queues
2d5705150707 x86/apic: Add extra serialization for non-serializing MSRs
bc1a3aeeff0f x86/build: Disable CET instrumentation in the kernel
40d0fff29761 mm: thp: fix MADV_REMOVE deadlock on shmem THP
56d61cd652dd mm, compaction: move high_pfn to the for loop scope
90ef21e5806f mm: hugetlb: remove VM_BUG_ON_PAGE from page_huge_active
af5508b1e862 mm: hugetlb: fix a race between isolating and freeing page
3264a763174f mm: hugetlb: fix a race between freeing and dissolving the page
108f56ed354f mm: hugetlbfs: fix cannot migrate the fallocated HugeTLB page
75be4852490f ARM: footbridge: fix dc21285 PCI configuration accessors
b2640b08c43c KVM: x86: Update emulator context mode if SYSENTER xfers to 64-bit mode
6d3201c77be5 KVM: SVM: Treat SVM as unsupported when running as an SEV guest
f9be9445e494 nvme-pci: avoid the deepest sleep state on Kingston A2000 SSDs
f9034fcb27c0 drm/amd/display: Revert "Fix EDID parsing after resume from suspend"
6844143e2198 mmc: core: Limit retries when analyse of SDIO tuples fails
68c825bd2726 smb3: fix crediting for compounding when only one request in flight
eaf2f835b52c smb3: Fix out-of-bounds bug in SMB2_negotiate()
00f581964b66 cifs: report error instead of invalid when revalidating a dentry fails
fd6dc98f66ef xhci: fix bounce buffer usage for non-sg list case
f6a47f2ce090 genirq/msi: Activate Multi-MSI early when MSI_FLAG_ACTIVATE_EARLY is set
c9654bbe52b5 libnvdimm/dimm: Avoid race between probe and available_slots_show()
d0f36951ead4 kretprobe: Avoid re-registration of the same kretprobe earlier
e80f9021d5be fgraph: Initialize tracing_graph_pause at task creation
efa17285b338 mac80211: fix station rate table updates on assoc
ecdd962c4b9b ovl: fix dentry leak in ovl_get_redirect
6b9a2e5c0c42 usb: host: xhci-plat: add priv quirk for skip PHY initialization
ddc682d33024 usb: xhci-mtk: break loop when find the endpoint to drop
32410786279f usb: xhci-mtk: skip dropping bandwidth of unchecked endpoints
f4e4f067f94c usb: xhci-mtk: fix unreleased bandwidth data
1f9e9c1048b8 usb: dwc3: fix clock issue during resume in OTG mode
9d058a06149b usb: dwc2: Fix endpoint direction check in ep_from_windex
2a968ab0d2dd usb: renesas_usbhs: Clear pipe running flag in usbhs_pkt_pop()
4d1d959348c1 USB: usblp: don't call usb_set_interface if there's a single alt
522567fe540d USB: gadget: legacy: fix an error code in eth_bind()
e57d70c59bb7 memblock: do not start bottom-up allocations with kernel_end
7e6dcaeadc0e nvmet-tcp: fix out-of-bounds access when receiving multiple h2cdata PDUs
f1c87b4b2c7b ARM: dts: sun7i: a20: bananapro: Fix ethernet phy-mode
d97a821b2e9c r8169: fix WoL on shutdown if CONFIG_DEBUG_SHIRQ is set
c545879e8080 net: mvpp2: TCAM entry enable should be written after SRAM data
bf0507fb2073 net: lapb: Copy the skb before sending a packet
1cef1d46add8 net/mlx5: Fix leak upon failure of rule creation
67b7f73bbe3f i40e: Revert "i40e: don't report link up for a VF who hasn't enabled queues"
6380ef64b9eb igc: check return value of ret_val in igc_config_fc_after_link_up
ec68581f7479 igc: set the default return value to -IGC_ERR_NVM in igc_write_nvm_srwr
5ce999efcaa7 arm64: dts: ls1046a: fix dcfg address range
68e798fa3c0e rxrpc: Fix deadlock around release of dst cached on udp tunnel
98650c3d0e33 um: virtio: free vu_dev only with the contained struct device
02531b5549eb bpf, cgroup: Fix problematic bounds check
9146fffc5d2a bpf, cgroup: Fix optlen WARN_ON_ONCE toctou
4921f81ce65a arm64: dts: rockchip: fix vopl iommu irq on px30
831132b13f0d arm64: dts: amlogic: meson-g12: Set FL-adj property value
829bf438cb39 Input: i8042 - unbreak Pegatron C15B
0d6e0a192e2e arm64: dts: qcom: c630: keep both touchpad devices enabled
96dcfabef504 USB: serial: option: Adding support for Cinterion MV31
5ad95c521fd5 USB: serial: cp210x: add new VID/PID for supporting Teraoka AD2000
dfa820563c67 USB: serial: cp210x: add pid/vid for WSDA-200-USB
(From OE-Core rev: e4e3395a73b58ec1e61a7596f436fba03299c6df)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98bb6a3cb528abe02b6edc291d05e240985ca80e)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
d4716ee8751b Linux 5.4.96
b1a1c262e4b0 workqueue: Restrict affinity change to rescuer
5b1e4fc2984e kthread: Extract KTHREAD_IS_PER_CPU
2d7ca4a84b58 objtool: Don't fail on missing symbol table
88240f7ac221 drm/amd/display: Change function decide_dp_link_settings to avoid infinite looping
53c10bbf9186 drm/amd/display: Update dram_clock_change_latency for DCN2.1
c6eb3dfdac44 selftests/powerpc: Only test lwm/stmw on big endian
805e9cdb5793 nvme: check the PRINFO bit before deciding the host buffer length
8e59209d53c9 udf: fix the problem that the disc content is not displayed
2d1593543418 ALSA: hda: Add Cometlake-R PCI ID
c03ecc192c8e scsi: ibmvfc: Set default timeout to avoid crash during migration
02cc1ee3e8d1 mac80211: fix fast-rx encryption check
efd061fc77f3 ASoC: SOF: Intel: hda: Resume codec to do jack detection
e0f1ba38f788 scsi: fnic: Fix memleak in vnic_dev_init_devcmd2
935fa0d5a5c5 scsi: libfc: Avoid invoking response handler twice if ep is already completed
335bbffdd90c scsi: scsi_transport_srp: Don't block target in failfast state
b1f680ffc25b x86: __always_inline __{rd,wr}msr()
d1aed452c05f platform/x86: intel-vbtn: Support for tablet mode on Dell Inspiron 7352
c99ac7213638 platform/x86: touchscreen_dmi: Add swap-x-y quirk for Goodix touchscreen on Estar Beauty HD tablet
6f705e80fb87 phy: cpcap-usb: Fix warning for missing regulator_disable
fd4c12f31209 net_sched: gen_estimator: support large ewma log
27afc7128345 btrfs: backref, use correct count to resolve normal data refs
66bcf5f6f989 btrfs: backref, only search backref entries from leaves of the same root
c3089b06d6fe btrfs: backref, don't add refs from shared block when resolving normal backref
21a0c97fb27c btrfs: backref, only collect file extent items matching backref offset
1960c3d40b69 tcp: make TCP_USER_TIMEOUT accurate for zero window probes
55cb8e232f9a arm64: Do not pass tagged addresses to __is_lm_address()
b28387cf8f1c arm64: Fix kernel address detection of __is_lm_address()
11084836e5fb ACPI: thermal: Do not call acpi_thermal_check() directly
1410d2b68207 Revert "Revert "block: end bio with BLK_STS_AGAIN in case of non-mq devs and REQ_NOWAIT""
5e8776df14fa ibmvnic: Ensure that CRQ entry read are correctly ordered
bc4e7277cc93 net: switchdev: don't set port_obj_info->handled true when -EOPNOTSUPP
9edebe46010c net: dsa: bcm_sf2: put device node before return
e89428970c23 Linux 5.4.95
e7aeca61cb9b tcp: fix TLP timer not set when CA_STATE changes from DISORDER to OPEN
3e93b9efc3bb team: protect features update by RCU to avoid deadlock
489e35c6829a ASoC: topology: Fix memory corruption in soc_tplg_denum_create_values()
9a4d367b2783 NFC: fix possible resource leak
c929c76e98b0 NFC: fix resource leak when target index is invalid
b2f4a59a2216 rxrpc: Fix memory leak in rxrpc_lookup_local
6d25d788efa4 iommu/vt-d: Don't dereference iommu_device if IOMMU_API is not built
66f4f98ee363 iommu/vt-d: Gracefully handle DMAR units with no supported address widths
0551a2fd456c selftests: forwarding: Specify interface when invoking mausezahn
e4405451dd6e nvme-multipath: Early exit if no path is available
64a4ec1850f7 can: dev: prevent potential information leak in can_fill_info()
4dc2395d8f14 net/mlx5e: Reduce tc unsupported key print level
a66705277baf net/mlx5e: E-switch, Fix rate calculation for overflow
dbc13deeec6a net/mlx5: Fix memory leak on flow table creation error flow
02ef126a002d igc: fix link speed advertising
873d1a4740d6 i40e: acquire VSI pointer only after VF is initialized
cf9276211563 mac80211: pause TX while changing interface type
46c67a4c1a76 iwlwifi: pcie: reschedule in long-running memory reads
563daf7c0f4a iwlwifi: pcie: use jiffies for memory read spin time limit
f39fce916a7b pNFS/NFSv4: Fix a layout segment leak in pnfs_layout_process()
a3c5fec1e09f ASoC: Intel: Skylake: skl-topology: Fix OOPs ib skl_tplg_complete
748c2cd57615 RDMA/cxgb4: Fix the reported max_recv_sge value
72797bfc5f77 firmware: imx: select SOC_BUS to fix firmware build
347feca03881 ARM: dts: imx6qdl-kontron-samx6i: fix i2c_lcd/cam default status
f7c6e6c9b62c arm64: dts: ls1028a: fix the offset of the reset register
78fc9ef35d18 xfrm: Fix wraparound in xfrm_policy_addr_delta()
f5e7db4fcd38 selftests: xfrm: fix test return value override issue in xfrm_policy.sh
dac256de1fe2 xfrm: fix disable_xfrm sysctl when used on xfrm interfaces
a7edea0fe85a xfrm: Fix oops in xfrm_replay_advance_bmp
deb8d5dfeb63 netfilter: nft_dynset: add timeout extension to template
347a1a20b195 ARM: imx: build suspend-imx6.S with arm instruction set
61bdab3d770b xen-blkfront: allow discard-* nodes to be optional
65543408f257 tee: optee: replace might_sleep with cond_resched
ad3d896ef55c drm/i915: Check for all subplatform bits
59546420c51b drm/nouveau/svm: fail NOUVEAU_SVM_INIT ioctl on unsupported devices
37ef9b59f479 mt7601u: fix rx buffer refcounting
77771158182f mt7601u: fix kernel crash unplugging the device
2c4f52b9cddf arm64: dts: broadcom: Fix USB DMA address translation for Stingray
6aceac245059 leds: trigger: fix potential deadlock with libata
2c7b4b25293a xen: Fix XenStore initialisation for XS_LOCAL
632a7728da9b KVM: Forbid the use of tagged userspace addresses for memslots
ba668a507788 KVM: x86: get smi pending status correctly
ff5f6de29faf KVM: nVMX: Sync unsync'd vmcs02 state to vmcs12 on migration
2fc14cafefb3 KVM: x86/pmu: Fix UBSAN shift-out-of-bounds warning in intel_pmu_refresh()
c547d39feb65 KVM: x86/pmu: Fix HW_REF_CPU_CYCLES event pseudo-encoding in intel_arch_events[]
e1ae9aab8029 btrfs: fix possible free space tree corruption with online conversion
d30cb3d348b8 drivers: soc: atmel: add null entry at the end of at91_soc_allowed_list[]
082dc611fdc8 drivers: soc: atmel: Avoid calling at91_soc_init on non AT91 SoCs
53fd4e4003a6 PM: hibernate: flush swap writer after marking
7f9a267c67af s390/vfio-ap: No need to disable IRQ after queue reset
9077bc37d2d1 net: usb: qmi_wwan: added support for Thales Cinterion PLSx3 modem family
8aba60ebcfc3 wext: fix NULL-ptr-dereference with cfg80211's lack of commit()
720032d3dc84 ARM: dts: imx6qdl-gw52xx: fix duplicate regulator naming
b24dc0aa7e9b media: rc: ensure that uevent can be read directly after rc device register
5d6fd0357057 ALSA: hda/via: Apply the workaround generically for Clevo machines
f78803928481 ALSA: hda/realtek: Enable headset of ASUS B1400CEPE with ALC256
8de2109f4670 kernel: kexec: remove the lock operation of system_transition_mutex
93603a27fc31 ACPI: sysfs: Prefer "compatible" modalias
587c6b75d7fd nbd: freeze the queue while we're adding connections
b8fcb8f53995 IPv6: reply ICMP error if the first fragment don't include all headers
1f58e378a17e ICMPv6: Add ICMPv6 Parameter Problem, code 3 definition
(From OE-Core rev: 3cb4665075c33baf29a4c4efc4471605ead86fe8)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b39a6de2c1175e4554c688a44c905c24367fa57a)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: 21d69df3e22bea3331833a9c439b1fd6571831e4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 725a30a30052540a4b7fc2933396fe9eb946eeac)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When installing the font files, preserve their timestamp rather than using
the current time which fixes reproducibility issues.
(From OE-Core rev: 77bc8da5bb93522169b2f6ae4f2ef4ee50fdb916)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a0c4f4b0182a995f0eb2709cc9b3c852527ab936)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This class maps from OE architectures to dpkg architectures, but wasn't
handling aarch64 correctly.
(From OE-Core rev: 08e74776e7f85f21a0c3168e9c022f4fc786a746)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 315fe8ab3b5bb8a709be98cd8998d4525fbe8725)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For a while I've been puzzled as to why debug logging from runqueue wouldn't
appear on the console with -DD. The logic in the bbdebug handling is inverted
so fix it and now we see the expected messages from runqueue with -D and -DD.
This should then let us debug other issues using those log messages.
(Bitbake rev: 7a6517243dbfecfd78f82f6709fbeaab2fb03e2c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes reproducibility when build acpica yacc sources by instructing
bison on how to do the file prefix mapping
(From OE-Core rev: 0e5605af9ebbfceffd510e42013d4eaa76c4e820)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d13a1df7bd173fca3fc2cdf889d5eb487e35d6fd)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
File name mapping was added to bison, but needs to be applied in more
cases. Add a patch to enable file name mapping for symbols
(From OE-Core rev: a47a39a70918f18f092d0f38313f015ee79cadbf)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5a213506377b0db4e88ca094215eadf08c21a2e1)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd 245 introduced a regression in behavior where they removed
support for non-root users to chvt from a service file. This prevents
running compositors (e.g. weston) as any user other than root. The
intention is for polkit to be used to allow this (and in fact the
default polkit rules that ship with systemd allow this). However, polkit
is a huge dependency to bring in for an embedded system, and isn't
support by OE-core.
The patch has been proposed upstream to restore the previous behavior of
allowing a non-root user to chvt to unbreak the regression without
requiring polkit.
Upstream-Status: Submitted [https://github.com/systemd/systemd/pull/17494]
(From OE-Core rev: e42dd9cff98f2149904e104f08bc3f19ee7b6fc0)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ef8cf581b680f8b8ee35d50c75891b4fd8b91f2f)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: eb6323932b0d852ad5c10cb7e1e5015bb3e51e3e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 69205edcdff865048e55a6b7feaf82064ebc10c5)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build was injecting the path of the host's sendmail binary. Set
this deterministically to match OE's path for it.
(From OE-Core rev: 023e7e667334f5c8a5647eab278262713bfd6555)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 476328b91ea4417160580d28df4fcc1147d85ae2)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: 3ea201b2bcb40a3de6a2e36a43859fe354706b26)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b792afe8759d62af8e713b86dad8f6721961a05)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SSTATE_MIRRORS variable was misspelled, which allowed the "clean"
test build to pull from the mirror.
(From OE-Core rev: 99fc5a5847b82620904a0e120d92cad6bb79021a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e42497bd84d0bb370a9f7b0448bff29f01fd1b0c)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: 8008d64e8f1d711ba46b92625bb2bad99a4293db)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b945652a088f430a2adec6b968cd00c5928d4272)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: 234aa20802d07e8c7772a7786589aabb51076858)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0cd5fba8634bcc679518f98cc25be66a51081372)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building SDKs with the deb backend you could see errors like:
Setting up nativesdk-python3-ndg-httpsclient (0.5.1-r0) ...
mkdir: cannot create directory ‘/usr/lib/opkg’: Permission denied
dpkg: error processing package nativesdk-python3-ndg-httpsclient (--configure):
which is due to environment misconfiguration when removing packages.
Fix this by setting the same environment variables as used for installation.
(From OE-Core rev: ffdd5e3d61995f78aa57a7f45d21ebc1513cb5a4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f23c7e319a192ada14bb9a82822ef2967309aaea)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During the do_populate_sdk task apt-get purge is called by deb's remove
function. This fails with error messages similiar to the following one
if any of the included packages uses intercepts as the INTERCEPT_DIR
isn't exported:
.../*.postinst: line 4: /postinst_intercept: No such file or directory
Therefore fix it by exporting the INTERCEPT_DIR variable within the
remove function.
(From OE-Core rev: 697c75071932a48ec8d34b778fca68e18bec433a)
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f18adf53dd4bf5dd3adef82b2dcc34a6cdfd0c89)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The LINGUAS file can be written by two different Makefile targets
and if they race, the desktop file contents isn't deterministic.
Fix the makfile to avoid this.
(From OE-Core rev: 29286073251847eb9931e232b8ff5e4a71f5de5f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 416bc7b697764075fbf73683cd8bddf36d839244)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: d1ba11457ebfdbdc0b717b6c5798bb9930e71c88)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 914f86054f5ea0a115767c1b3d9cdb4c4ef9545b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The makefile injects the current date into the version file. Do this
deterministically with SOURCE_DATE_EPOCH.
(From OE-Core rev: c135012f85d8e1f4b50880b580514410caacbcf5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 31f2ad739ea776a1e11b5cef5434df188007c7bf)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: 7ab4b11228d66811ff767e31fd3f024c790d4b68)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63cbf187fe189c99645fe3afee8a6361a9a32cdc)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A build date was leaking into the generated docs and makefile used for
ptests leading to reproducibility issues each time the month changed.
Add a patch to use SOURCE_DATE_EPOCH to derive it if available.
(From OE-Core rev: 8ca725351bbb9a8909bb2345118c6f261d1e152e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6a9ca7aec4991eabd425e32fdf85f51bb1686b8b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The remoting backend of weston requires the GStreamer base plugins, so
add them to the PACAKGECONFIG depends list.
(From OE-Core rev: f2e549f1fbe98c1f53638a915fc4b64147caf003)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0b45994656fee7c4b7bdb5bd8571f0c61217a182)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: 1582f67743d9017c2e1462581d61d6501a27c3cd)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5f61e20002c2af93e2d6810574e23606925526ee)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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]
(From OE-Core rev: 3d9e9e299bde597ba2d57887ce436a25eed920bc)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eb20fd47d738f469f7bbeb4b8d85040f9163722b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pull in:
ports/rename/renameat: Avoid race when renaming files
ports/unix: Add faccessat and faccessat2
ports/access.c: Use EACCES, not EPERM
which includes a fix for rename race issues causing pseudo aborts.
(From OE-Core rev: 79aba3fdce70baa2456de90ba407ce86d0f5e0f0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 330c232e4f756296331f9026e91ac26fd45f0315)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tinfoil doesn't behave well if environment is not initialized, this check ensures a proper error log if environment is not initialized.
[YOCTO #12096]
(From OE-Core rev: 6cc45e917e371d572cbacf05f1a46af9e833d0cb)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e88073e16f1b4cfd0f97c81a988640a84adad674)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
files in wic tmp directory can be usefull for debugging, so do not remove
tmp directory when wic create run with debugging mode (-D or --debug).
also update wic.Wic.test_debug_short and wic.Wic.test_debug_long to
check for tmp directory.
[YOCTO#14216]
(From OE-Core rev: 04d334d5bc5353c39c5059d25d97f111a9e368d9)
Signed-off-by: Lee Chee Yang <Chee.Yang.Lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a122e2418b67d38f691edcf8dd846c167d6b4fa9)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: 47cf6739ab182e66d1b73cd99bab961d06f41336)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6eaca9cf20c42501fba27dea3a6446bad948e859)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With introduction of python3targetconfig class in core this is no longer
needed.
(Bitbake rev: 0a3bf681530bd63fc0036ca81ef868ab53fde56c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 47b64cfacd7c498ef9ed5486d117f2d69a39f225)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3targetconfig append target python3 to dependencies
unconditionally, and here its inherited unconditionally too but
distutils3-base is inherited in BBCLASSEXTEND'ed recipes and other not-target
recipes as well. Hence the change added via 9c8f666097802cb594a759989edcf01603a22df3
is now bridging the native dependencies with target python3 and thats
resulting all sorts of rebuilds for multimachine builds e.g.
MACHINE=qemuarm bitbake python3-scons-native
MACHINE=qemumips bitbake python3-scons-native
results in rebuilds for python3-scons-native
bitbake-diffsigs shows
Hash for dependent task python/python3-scons-native_3.1.2.bb:do_populate_sysroot changed from 1cdb93193b416477df6faa137e83a967b433c7aa29033146b405153f73f36933 to 3cea1e7cbedd121ecb768fbc291cc4e4d7d3b5c0442897
0e3b97bd058d162065
Hash for dependent task python/python3-scons-native_3.1.2.bb:do_install changed from 8d6018fd03ffc6060a04532dc39a5b7ccca1be026a69d069cb4fb11aef86dd89 to c5f1d173596a8e910f45a2b6e0b4dab96cd0102be4d62bd3156
229cb0f5ebb11
Hash for dependent task python/python3-scons-native_3.1.2.bb:do_compile changed from e3ee4b52a15267e6ae7853ec19a666b2fb62608a597608793336382d1c45f8a0 to 1e582043dfe6b3e00aaa532f363ce6afb37652abe837dac
7cc9769194c43eae1
Hash for dependent task python/python3-scons-native_3.1.2.bb:do_configure changed from 770a4d5a77a96ebd9e1e7368f710bca3f88e3b1266dffa3b2d0360b1e3a81e27 to a366982778b03eee5165c3117ee778f848acdfaa2
b346650fbdf114ac70ab57b
Hash for dependent task python/python3-scons-native_3.1.2.bb:do_prepare_recipe_sysroot changed from 958910037856ff5d5eb2b5162b3cdd02a3a710fc543b933cfeba771ee095cb72 to 474333fb565f908992fd3716
4935aaecf31a79e867826fe634cde4f44171d8e7
Hash for dependent task python/python3_3.9.0.bb:do_populate_sysroot changed from 7ac1c4fcbb2eacf98d2c32d991751bd2f3c7d55e2e32f2c9e485e7f5975fecf8 to 25dcfe74a95af19cce8df7c29311cc5edbbf6ad
08777e46a6fa6e417c0445018
...
Therefore limit effects of this class only for target recipes.
(From OE-Core rev: f74d1ea0189d7d6608ab90ea9a111d641bb417fd)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
Cc: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 59cc148de3fd19f5041727f072f087f741c506f6)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting _PYTHON_SYSCONFIGDATA_NAME in python3native class globally was
problematic as it was leaking into host python environment, which
was causing tracebacks depending on host distro and action
(typically anything involving importing sysconfig module).
The new class sets the variable only in specific tasks where it is needed,
and should be inherited explicitly:
- use python3native to run scripts with native python
- use python3targetconfig to run scripts with native python
if those scripts need to access target config data (such
as correct installation directories). This also adds a dependency
on target python, so should be used carefully to avoid lengthening builds.
(From OE-Core rev: 386c5d3f2283bc16cdab32bd4a5397dc0ef0a5c1)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 823cbf815d6984e813f0ae812f6a14469150eeff)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update to a pseudo version which contains some heqader fixes for
glibc 2.33.
(From OE-Core rev: 4a28f22f9d8a0a5329030c68d33c43683c3e7cf3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c897ac317926b132547578b1f6bd347fe5677dfc)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes openssh failing to work on qemux86 with glibc 2.33 due to
seccomp and the fact new syscalls are used. Also likely fixes issues
on other platforms.
(From OE-Core rev: c7717df8a9e3b894bf48e3ec335d9e5c4cc7408f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 22f8ce6e6d998c0539a40b2776b1a2abb4f44bb3)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes (that is, in all my builds) the lic_manifest_dir and
lic_manifest_symlink_dir end up pointing to the same file, resulting
in an error like this:
Exception: FileExistsError: [Errno 17] File exists: '/.../tmp-glibc/deploy/licenses/my-image-tdkz15' -> '/.../tmp-glibc/deploy/licenses/my-image-tdkz15'
First check to see if this is the case before attempting to create
the link.
(From OE-Core rev: a378ec0fc2a07797310b4cd29f9f0cd88b042158)
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 50f83fb542065eaf7a20ac07b63ae06441ada180)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnu isn't compatible with --xattrs used e.g. here:
d3a832f66e/classes/image_types_ostree.bbclass (L16)
causing do_image_tar failing with:
| tar: --xattrs can be used only on POSIX archives
| Try 'tar --help' or 'tar --usage' for more information.
* https://www.gnu.org/software/tar/manual/html_chapter/tar_8.html
says about posix format:
This is the most flexible and feature-rich format.
It does not impose any restrictions on file sizes or file name lengths.
This format is quite recent, so not all tar implementations are able to handle it properly.
However, this format is designed in such a way that any tar implementation able to read `ustar'
archives will be able to read most `posix' archives as well, with the only exception that any
additional information (such as long file names etc.) will in such case be extracted as plain
text files along with the files it refers to.
This archive format will be the default format for future versions of GNU tar.
and:
The default format for GNU tar is defined at compilation time.
You may check it by running tar --help, and examining the last lines of its output.
Usually, GNU tar is configured to create archives in `gnu' format, however, future version will switch to `posix'.
* I've compared tar on centos7 and ubuntu-18.04:
bash-4.2$ cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)
bash-4.2$ tar --version
tar (GNU tar) 1.26
...
bash-4.2$ tar --help | tail -n 5
*This* tar defaults to:
--format=gnu -f- -b20 --quoting-style=escape --rmt-command=/etc/rmt
--rsh-command=/usr/bin/ssh
...
bitbake@e0ee76f81c2f:/$ grep VERSION /etc/os-release
VERSION="18.04.5 LTS (Bionic Beaver)"
VERSION_ID="18.04"
VERSION_CODENAME=bionic
bitbake@e0ee76f81c2f:/$ tar --version
tar (GNU tar) 1.29
...
bitbake@e0ee76f81c2f:/$ tar --help | tail -n 5
...
*This* tar defaults to:
--format=gnu -f- -b20 --quoting-style=escape --rmt-command=/usr/lib/tar/rmt
--rsh-command=/usr/bin/rsh
Both support posix format (as pax POSIX 1003.1-2001). But centos7 version is
already too old anyway, because it doesn't support --sort=name used since:
https://git.openembedded.org/openembedded-core/commit/?id=4fa68626bbcfd9795577e1426c27d00f4d9d1c17
and
https://git.openembedded.org/openembedded-core/commit/?id=f19e43dec63a86c200e04ba14393583588550380
says that 1.28 is the minium version now and
https://git.openembedded.org/openembedded-core/commit/?id=7a66434cf11b7f051699b774e4fccd6738351368
recommends to use install-buildtools for hosts with tar < 1.28
On the other side latest tumbleweed from:
https://hub.docker.com/r/opensuse/tumbleweed
with tar-1.33 alredy defaults to posix format:
b99dbb3d86dd:/ # head -n 3 /etc/os-release
NAME="openSUSE Tumbleweed"
ID="opensuse-tumbleweed"
b99dbb3d86dd:/ # tar --version
tar (GNU tar) 1.33
...
b99dbb3d86dd:/ # tar --help | tail -n 3
*This* tar defaults to:
--format=posix -f- -b20 --quoting-style=escape --rmt-command=/usr/bin/rmt
--rsh-command=/usr/bin/ssh
I've packaged some sample rootfs directory with both tars and the result is
identical (with --format=gnu as well as --format=posix).
with ubuntu:
tar --sort=name --format=gnu --numeric-owner -cf rootfs.ubuntu.gnu.tar -C rootfs .
tar --xattrs --xattrs-include=* --sort=name --format=posix --numeric-owner -cf rootfs.ubuntu.posix.tar -C rootfs .
tumbleweed:
tar --sort=name --format=gnu --numeric-owner -cf rootfs.tumbleweed.gnu.tar -C rootfs .
tar --xattrs --xattrs-include=* --sort=name --format=posix --numeric-owner -cf rootfs.tumbleweed.posix.tar -C rootfs .
centos7 (without --sort=name):
tar --format=gnu --numeric-owner -cf rootfs.centos7.gnu.tar -C rootfs .
tar --xattrs --xattrs-include=* --format=posix --numeric-owner -cf rootfs.centos7.posix.tar -C rootfs .
size is identical:
-rw-r--r-- 1 mjansa mjansa 2487480320 Feb 5 09:19 rootfs.ubuntu.gnu.tar
-rw-r--r-- 1 mjansa mjansa 2487480320 Feb 5 10:17 rootfs.centos7.gnu.tar
-rw-r--r-- 1 mjansa mjansa 2487480320 Feb 5 10:26 rootfs.tumbleweed.gnu.tar
-rw-r--r-- 1 mjansa mjansa 2579875840 Feb 5 10:15 rootfs.ubuntu.posix.tar
-rw-r--r-- 1 mjansa mjansa 2579875840 Feb 5 10:16 rootfs.centos7.posix.tar
-rw-r--r-- 1 mjansa mjansa 2579875840 Feb 5 10:26 rootfs.tumbleweed.posix.tar
but md5s aren't:
5e3880283379dd773ac054e20562fdea rootfs.centos7.gnu.tar
abeaf992c780aa780a27be01365d26f5 rootfs.centos7.posix.tar
0c6ee59d87ab56583293262de110bca4 rootfs.tumbleweed.gnu.tar
1555bc7276eaba924bf82a13a010fd6d rootfs.tumbleweed.posix.tar
553d802bba351e273191bd5b2a621b66 rootfs.ubuntu.gnu.tar
b6d7b43b30174686f6625ba3c7aefdc6 rootfs.ubuntu.posix.tar
diffoscope shows some differences when using gnu format:
$ diffoscope rootfs.tumbleweed.gnu.tar rootfs.ubuntu.gnu.tar
...
-00239890: 3030 3000 3030 3737 3637 0020 4b00 0000 000.007767. K...
+00239890: 3030 3000 3031 3135 3737 0020 4b00 0000 000.011577. K...
...
-00239900: 0075 7374 6172 2020 0000 0000 0000 0000 .ustar ........
+00239900: 0075 7374 6172 2020 0072 6f6f 7400 0000 .ustar .root...
...
-00239920: 0000 0000 0000 0000 0000 0000 0000 0000 ................
+00239920: 0000 0000 0000 0000 0072 6f6f 7400 0000 .........root...
with posix format there are also some differences shown by diffoscope:
$ diffoscope rootfs.tumbleweed.posix.tar rootfs.ubuntu.posix.tar
016a4c00: 2e2f 7573 722f 6269 6e2f 5061 7848 6561 ./usr/bin/PaxHea
-016a4c10: 6465 7273 2f63 6861 7474 722e 6532 6673 ders/chattr.e2fs
-016a4c20: 7072 6f67 7300 0000 0000 0000 0000 0000 progs...........
+016a4c10: 6465 7273 2e32 322f 6368 6174 7472 2e65 ders.22/chattr.e
+016a4c20: 3266 7370 726f 6773 0000 0000 0000 0000 2fsprogs........
...
03937000: 2e2f 7573 722f 6269 6e2f 5061 7848 6561 ./usr/bin/PaxHea
-03937010: 6465 7273 2f63 6f6e 7461 696e 6572 642d ders/containerd-
-03937020: 6374 7200 0000 0000 0000 0000 0000 0000 ctr.............
+03937010: 6465 7273 2e32 322f 636f 6e74 6169 6e65 ders.22/containe
+03937020: 7264 2d63 7472 0000 0000 0000 0000 0000 rd-ctr..........
so cannot really say which format is better for reproducible tar
archives from different distros, but posix at least supports xattrs
and it's the format for future.
(From OE-Core rev: 09127557fd9332472a168efba694a4764b20edd0)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ecea58f2a3382d9f4b410d6ad7089111334cb6f)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This looks like it was from before the recipe was split, we'd expect
the system qemu mode for running the images so the dependency should be
updated.
(From OE-Core rev: a5974d2bda8cddbc5e982f9b6378ad6c302be868)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3a4fed4ae0e8a0d1bd62ea5fa1ef12925e1f20f5)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The do_bundle_initramfs() only processes kernel image
types that are found in KERNEL_IMAGETYPE_FOR_MAKE whereas
the build system can generate other types that are not
directly supported by the kernel build system. In which
case when we come to the deploy phase not all the images
mentioned in KERNEL_IMAGETYPES would have a respective
initramfs bundled image. An example is using vmlinux.gz
in KERNEL_IMAGETYPES and enabling initramfs and then we
see
install: cannot stat 'arch/arm64/boot/vmlinux.gz.initramfs': No such file or directory
So we align the deploy phase with bundle initramfs phase
and pick up relevant initramfs bundled images using
KERNEL_IMAGETYPE_FOR_MAKE instead of KERNEL_IMAGETYPES.
(From OE-Core rev: 327317d0162940786ae62ec3da4ae0ea73c81f48)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 526bdd88ccd758204452579333ba188e29270bde)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In an earlier commit, libprocps was split into a separate package leaving
no shlibs in the main package. A bug was seen where igt-gpu-tools wouldn't
build correctly in some cases as it thought the librbary was still in the
main package, throwing qa errors as a result.
The issue was due to an extra file being left in the sstate output of
the do_packagedata task in the shlibs2/ folder which contained the bad
shlibs information.
The reason for this was that the temporary directory used in this
task wasn't being cleaned so files which were deleted were not handled
correctly. Add a missing cleandirs entry to fix this.
(From OE-Core rev: 68e17e21f59fcf763877b350cc2a1494b5f1bd91)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 50f17d0a655a3a2556f9fcad67259101c2814a36)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
existing test case test_permissions use Wic command as standalone
tools to create wic image and check that wic image for permissions.
add extra steps to the test case to also check against image build
using bitbake do_image_wic.
(From OE-Core rev: d0a7383ca3e8ac206c88ac3cc1b8e1f18b439964)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 551ce73a90757ba43501fe5cf9ac84a7b77de549)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If path is not owned by any user installed on target it gives
insufficient error "getpwuid(): uid not found" which may be misleading.
This exception occurs if uid/gid of path was not found in PSEUDO_PASSWD
files, which simply means the path is owned by host user and there is
host user contamination.
Add more information to the exception message to make it easier for user
to debug.
[YOCTO #14031]
(From OE-Core rev: ca324a6fef99eef638a3577543592443a043f4e7)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 38540b59ed4ec8632e30a5fd6364b010d9da8470)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a sanity check for when PSEUDO_IGNORE_PATHS and paths under pseudo control overlap to avoid random failures generated.
[YOCTO #14193]
(From OE-Core rev: 79368ef09e9eddfea8bcc39ca2b35f64b401fb35)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6e4bd8cabcdedf4b52345ef5eb421f71d0f19b1d)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
0fbca6ce4174 Linux 5.4.94
315cd8fc2ad2 fs: fix lazytime expiration handling in __writeback_single_inode()
5f8b8fccdfbc writeback: Drop I_DIRTY_TIME_EXPIRE
2d8848edc96b dm integrity: conditionally disable "recalculate" feature
43546b74ce6c tools: Factor HOSTCC, HOSTLD, HOSTAR definitions
ab85b382dcf7 SMB3.1.1: do not log warning message if server doesn't populate salt
0edc78af73d0 arm64: mm: use single quantity to represent the PA to VA translation
b899d5b2a42a tracing: Fix race in trace_open and buffer resize call
c4a23c852e80 io_uring: Fix current->fs handling in io_sq_wq_submit_work()
336bb7dc5a1c HID: wacom: Correct NULL dereference on AES pen proximity
ecd62d2e9ab4 futex: Handle faults correctly for PI futexes
55ea172ce3eb futex: Simplify fixup_pi_state_owner()
a3155c362ca0 futex: Use pi_state_update_owner() in put_pi_state()
ceb83cf9ed67 rtmutex: Remove unused argument from rt_mutex_proxy_unlock()
015b6a4c2564 futex: Provide and use pi_state_update_owner()
65aad57cac8d futex: Replace pointless printk in fixup_owner()
0dae88a92596 futex: Ensure the correct return value from futex_lock_pi()
c27a2a1ecf69 Revert "mm/slub: fix a memory leak in sysfs_slab_add()"
4afd772371d9 gpio: mvebu: fix pwm .get_state period calculation
131f8d8a889a Linux 5.4.93
f7020c437e13 tcp: fix TCP_USER_TIMEOUT with zero window
945d182a046f tcp: do not mess with cloned skbs in tcp_add_backlog()
ccc248b6444a net: dsa: b53: fix an off by one in checking "vlan->vid"
ff64094dc718 net: Disable NETIF_F_HW_TLS_RX when RXCSUM is disabled
3e5b335a55e9 net: mscc: ocelot: allow offloading of bridge on top of LAG
b47a3c32c4c2 ipv6: set multicast flag on the multicast route
b778940f2ab9 net_sched: reject silly cell_log in qdisc_get_rtab()
4ed347901f08 net_sched: avoid shift-out-of-bounds in tcindex_set_parms()
bc757ba6dc75 ipv6: create multicast route with RTPROT_KERNEL
60fb547a3d5d udp: mask TOS bits in udp_v4_early_demux()
da3711f42c68 kasan: fix incorrect arguments passing in kasan_add_zero_shadow
0d190f53fa2f kasan: fix unaligned address is unhandled in kasan_remove_zero_shadow
5a3890bad3a4 skbuff: back tiny skbs with kmalloc() in __netdev_alloc_skb() too
49aaf012c478 lightnvm: fix memory leak when submit fails
0ff55fc4d6a1 sh_eth: Fix power down vs. is_opened flag ordering
fd2f5130ae98 net: dsa: mv88e6xxx: also read STU state in mv88e6250_g1_vtu_getnext
4e1d17a1f73b sh: dma: fix kconfig dependency for G2_DMA
8a0b8e26f79f netfilter: rpfilter: mask ecn bits before fib lookup
99328b4b4408 x86/cpu/amd: Set __max_die_per_package on AMD
6f8ba0ada139 pinctrl: ingenic: Fix JZ4760 support
382ffe786647 driver core: Extend device_is_dependent()
4e749a28c909 xhci: tegra: Delay for disabling LFPS detector
a6a5d08170c2 xhci: make sure TRB is fully written before giving it to the controller
7f3cfc7e378d usb: bdc: Make bdc pci driver depend on BROKEN
f764f90b0c77 usb: udc: core: Use lock when write to soft_connect
564f3c532642 usb: gadget: aspeed: fix stop dma register setting.
f89a193fd9d3 USB: ehci: fix an interrupt calltrace error
9a660760299b ehci: fix EHCI host controller initialization sequence
5eda5db39e28 serial: mvebu-uart: fix tx lost characters at power off
a8fade59466c stm class: Fix module init return on allocation failure
5e4bacea58ca intel_th: pci: Add Alder Lake-P support
c5885886c72c x86/mmx: Use KFPU_387 for MMX string operations
d1a9cd1dc53c x86/topology: Make __max_die_per_package available unconditionally
cdb4ce96fdd2 x86/fpu: Add kernel_fpu_begin_mask() to selectively initialize state
cd1c4882ab43 irqchip/mips-cpu: Set IPI domain parent chip
9a2f6007a228 cifs: do not fail __smb_send_rqst if non-fatal signals are pending
745229c90301 iio: ad5504: Fix setting power-down state
ddd1416f4413 can: peak_usb: fix use after free bugs
a24476b37167 can: vxcan: vxcan_xmit: fix use after free bug
ac48ef15826e can: dev: can_restart: fix use after free bug
391187744436 selftests: net: fib_tests: remove duplicate log test
237375005739 platform/x86: intel-vbtn: Drop HP Stream x360 Convertible PC 11 from allow-list
57f0f0ddf9e4 i2c: octeon: check correct size of maximum RECV_LEN packet
485e0255c19e powerpc: Fix alignment bug within the init sections
cfea5cddeb71 scsi: megaraid_sas: Fix MEGASAS_IOC_FIRMWARE regression
da3324ec5497 pinctrl: aspeed: g6: Fix PWMG0 pinctrl setting
5625c3da7167 powerpc: Use the common INIT_DATA_SECTION macro in vmlinux.lds.S
73a229119983 drm/nouveau/kms/nv50-: fix case where notifier buffer is at offset 0
af91a2e7fb5e drm/nouveau/mmu: fix vram heap sizing
ee2c9e58f430 drm/nouveau/i2c/gm200: increase width of aux semaphore owner fields
38f35023fd30 drm/nouveau/privring: ack interrupts the same way as RM
8c3d3b385ed8 drm/nouveau/bios: fix issue shadowing expansion ROMs
f5dc9627ac04 drm/amd/display: Fix to be able to stop crc calculation
9f6d85e20125 drm/amdgpu/psp: fix psp gfx ctrl cmds
5b2266d62b54 riscv: defconfig: enable gpio support for HiFive Unleashed
7eef73685871 dts: phy: fix missing mdio device and probe failure of vsc8541-01 device
5fa6987258a7 x86/xen: Add xen_no_vector_callback option to test PCI INTX delivery
a09d4e7acdbf xen: Fix event channel callback via INTX/GSI
acc402fa5bf5 arm64: make atomic helpers __always_inline
8ab3478335ad clk: tegra30: Add hda clock default rates to clock driver
c074680653e2 HID: Ignore battery for Elan touchscreen on ASUS UX550
9cec63a3aacb HID: logitech-dj: add the G602 receiver
b1b943f5b65e riscv: Fix sifive serial driver
cd0c46821aa5 riscv: Fix kernel time_init()
5a1d7bb7d333 scsi: sd: Suppress spurious errors when WRITE SAME is being disabled
68f99105752d scsi: qedi: Correct max length of CHAP secret
97853a7eae80 scsi: ufs: Correct the LUN used in eh_device_reset_handler() callback
b477f4371045 dm integrity: select CRYPTO_SKCIPHER
8ebe26a1e236 HID: multitouch: Enable multi-input for Synaptics pointstick/touchpad device
6af49167440a ASoC: Intel: haswell: Add missing pm_ops
ad1df24b37d9 drm/i915/gt: Prevent use of engine->wa_ctx after error
6b59bd9eea08 drm/syncobj: Fix use-after-free
559c0ffedbe0 drm/atomic: put state on error path
42d855f06d12 dm integrity: fix a crash if "recalculate" used without "internal_hash"
a03ce9cc4bb8 dm: avoid filesystem lookup in dm_get_dev_t()
cd3aa1495d8a mmc: sdhci-xenon: fix 1.8v regulator stabilization
6acdefd0bd34 mmc: core: don't initialize block size from ext_csd if not present
d8a487e673ab btrfs: send: fix invalid clone operations when cloning from the same file and root
4d1cf8eeda5b btrfs: don't clear ret in btrfs_start_dirty_block_groups
e1065331b730 btrfs: fix lockdep splat in btrfs_recover_relocation
68718453159e btrfs: don't get an EINTR during drop_snapshot for reloc
a826af1dea4a ACPI: scan: Make acpi_bus_get_device() clear return pointer on error
08fa4ae93e95 ALSA: hda/via: Add minimum mute flag
1607adf1ac41 ALSA: seq: oss: Fix missing error check in snd_seq_oss_synth_make_info()
9c301133beda platform/x86: ideapad-laptop: Disable touchpad_switch for ELAN0634
ea8d3c71313f platform/x86: i2c-multi-instantiate: Don't create platform device for INT3515 ACPI nodes
60066d5181be i2c: bpmp-tegra: Ignore unknown I2C_M flags
09f983f0c7fc Linux 5.4.92
e2d69319b713 spi: cadence: cache reference clock rate during probe
d04c7938d0f8 mac80211: check if atf has been disabled in __ieee80211_schedule_txq
d46996cb4b16 mac80211: do not drop tx nulldata packets on encrypted links
56e8947bcf81 tipc: fix NULL deref in tipc_link_xmit()
55bac51762c3 net, sctp, filter: remap copy_from_user failure error
52e0b20c8c57 rxrpc: Fix handling of an unsupported token type in rxrpc_read()
5c466480d7d4 net: avoid 32 x truesize under-estimation for tiny skbs
f6499a78e581 net: sit: unregister_netdevice on newlink's error path
a3870cf8a7a2 net: stmmac: Fixed mtu channged by cache aligned
c213d85cae39 rxrpc: Call state should be read with READ_ONCE() under some circumstances
6d57b582fb35 net: dcb: Accept RTM_GETDCB messages carrying set-like DCB commands
d52f5929d997 net: dcb: Validate netlink message in DCB handler
814e04776211 esp: avoid unneeded kmap_atomic call
0ff06dd1b949 rndis_host: set proper input size for OID_GEN_PHYSICAL_MEDIUM request
c897c10e4334 net: mvpp2: Remove Pause and Asym_Pause support
18c29e175e30 mlxsw: core: Increase critical threshold for ASIC thermal zone
7680783452ce mlxsw: core: Add validation of transceiver temperature thresholds
ff6d4e8da7c6 net: ipv6: Validate GSO SKB before finish IPv6 processing
b41352a93c16 net: skbuff: disambiguate argument and member for skb_list_walk_safe helper
aa350dbe3a1e net: introduce skb_list_walk_safe for skb segment walking
760e9fd4f7ab netxen_nic: fix MSI/MSI-x interrupts
982e763ea3c3 udp: Prevent reuseport_select_sock from reading uninitialized socks
bd4793843c85 bpf: Fix helper bpf_map_peek_elem_proto pointing to wrong callback
79ce12cfa56a bpf: Don't leak memory in bpf getsockopt when optlen == 0
4aef760c28e8 nfsd4: readdirplus shouldn't return parent of export
9b72d5ba50f1 spi: npcm-fiu: Disable clock in probe error path
6ef67f59263e spi: npcm-fiu: simplify the return expression of npcm_fiu_probe()
fa6de8d82d9c scsi: lpfc: Make lpfc_defer_acc_rsp static
e82b58aa6471 scsi: lpfc: Make function lpfc_defer_pt2pt_acc static
5e6b88828526 elfcore: fix building with clang
ac29c052654f xen/privcmd: allow fetching resource sizes
dd113b79ee7e compiler.h: Raise minimum version of GCC to 5.1 for arm64
24cea7d70516 usb: ohci: Make distrust_firmware param default to false
d26b3110041a Linux 5.4.91
516bd00e5ac1 netfilter: nft_compat: remove flush counter optimization
935114863364 netfilter: nf_nat: Fix memleak in nf_nat_init
49fc6d92b484 netfilter: conntrack: fix reading nf_conntrack_buckets
548e4168e68d ALSA: firewire-tascam: Fix integer overflow in midi_port_work()
68e67535e26b ALSA: fireface: Fix integer overflow in transmit_midi_msg()
2c3d03cdbd39 dm: eliminate potential source of excessive kernel log noise
a34294774a32 net: sunrpc: interpret the return value of kstrtou32 correctly
8b5107a74db3 iommu/vt-d: Fix unaligned addresses for intel_flush_svm_range_dev()
c2226680343d mm, slub: consider rest of partial list if acquire_slab() fails
cd9e901fe2fc drm/i915/dsi: Use unconditional msleep for the panel_on_delay when there is no reset-deassert MIPI-sequence
9269296721b5 IB/mlx5: Fix error unwinding when set_has_smi_cap fails
40a782293545 RDMA/mlx5: Fix wrong free of blue flame register on error
e8c8d2319bd7 bnxt_en: Improve stats context resource accounting with RDMA driver loaded.
3bcf35a7c05f RDMA/usnic: Fix memleak in find_free_vf_and_create_qp_grp
da834a9bdc23 RDMA/restrack: Don't treat as an error allocation ID wrapping
986fdc7685fa ext4: fix superblock checksum failure when setting password salt
38992092b54e NFS: nfs_igrab_and_active must first reference the superblock
6b3ae2030db9 NFS/pNFS: Fix a leak of the layout 'plh_outstanding' counter
aa2399f55eff pNFS: Stricter ordering of layoutget and layoutreturn
78c2ab7f5265 pNFS: Mark layout for return if return-on-close was not sent
7d1241ae1dce pNFS: We want return-on-close to complete when evicting the inode
69d121ca892c NFS4: Fix use-after-free in trace_event_raw_event_nfs4_set_lock
c70f6e0ac9f9 nvme-tcp: fix possible data corruption with bio merges
55a102004376 ASoC: Intel: fix error code cnl_set_dsp_D0()
2392a54de8ba ASoC: meson: axg-tdmin: fix axg skew offset
973900cd4614 ASoC: meson: axg-tdm-interface: fix loopback
08eb8a735c11 dump_common_audit_data(): fix racy accesses to ->d_name
d443cefd9f73 perf intel-pt: Fix 'CPU too large' error
221dee1d0d4e ARM: picoxcell: fix missing interrupt-parent properties
ba74e0f222c7 drm/msm: Call msm_init_vram before binding the gpu
0251d3eb4480 ACPI: scan: add stub acpi_create_platform_device() for !CONFIG_ACPI
bfdd0a3b86c3 usb: typec: Fix copy paste error for NVIDIA alt-mode description
644baa95db2b drm/amdgpu: fix a GPU hang issue when remove device
596b3423fddc nvmet-rdma: Fix list_del corruption on queue establishment failure
4cb77b877fcc nvme-pci: mark Samsung PM1725a as IGNORE_DEV_SUBNQN
242793c7ef2f selftests: fix the return value for UDP GRO test
5fc06b706432 net: ethernet: fs_enet: Add missing MODULE_LICENSE
15a8491cdcd4 misdn: dsp: select CONFIG_BITREVERSE
635a658de303 arch/arc: add copy_user_page() to <asm/page.h> to fix build error on ARC
bc68af1fdcac bfq: Fix computation of shallow depth
2abc54579d1b lib/raid6: Let $(UNROLL) rules work with macOS userland
1d05b91ab72e hwmon: (pwm-fan) Ensure that calculation doesn't discard big period values
1229d433960c habanalabs: Fix memleak in hl_device_reset
93aef8e6cc08 habanalabs: register to pci shutdown callback
79df21218d63 ethernet: ucc_geth: fix definition and size of ucc_geth_tx_global_pram
331a6438ebfd regulator: bd718x7: Add enable times
d5f996bea464 btrfs: fix transaction leak and crash after RO remount caused by qgroup rescan
c8dd8af4b35f netfilter: ipset: fixes possible oops in mtype_resize
ca2fc0dc1cec ARC: build: move symlink creation to arch/arc/Makefile to avoid race
6265a0f2410f ARC: build: add boot_targets to PHONY
217d8ba22bce ARC: build: add uImage.lzma to the top-level target
b9128252b9ee ARC: build: remove non-existing bootpImage from KBUILD_IMAGE
5349b17c3df5 dm integrity: fix flush with external metadata device
c553300f1453 cifs: fix interrupted close commands
d17a9571e392 smb3: remove unused flag passed into close functions
55a4dff288af ext4: don't leak old mountpoint samples
2003c669df4c ext4: fix bug for rename with RENAME_WHITEOUT
425faacff213 drm/i915/backlight: fix CPU mode backlight takeover on LPT
72eb9fc82aea btrfs: tree-checker: check if chunk item end overflows
82a948fc67ea r8152: Add Lenovo Powered USB-C Travel Hub
ad5f19c7e9ce dm integrity: fix the maximum number of arguments
5caac6317daf dm snapshot: flush merged data before committing metadata
2017b99ec205 dm raid: fix discard limits for raid1
4335af6c62fc mm/hugetlb: fix potential missing huge page size info
c64366620d91 ACPI: scan: Harden acpi_device_add() against device ID overflows
bc0b70f1d28c RDMA/ocrdma: Fix use after free in ocrdma_dealloc_ucontext_pd()
f7a97dc302be MIPS: relocatable: fix possible boot hangup with KASLR enabled
f5c2f7970683 MIPS: boot: Fix unaligned access with CONFIG_MIPS_RAW_APPENDED_DTB
a650107de374 mips: lib: uncached: fix non-standard usage of variable 'sp'
bda45bbc8e03 mips: fix Section mismatch in reference
aeb64ef1f429 tracing/kprobes: Do the notrace functions check without kprobes on ftrace
984f57e4258c x86/hyperv: check cpu mask after interrupt has been disabled
1a202b9b9d23 ASoC: dapm: remove widget from dirty list on free
82d1a5f6f2e5 btrfs: prevent NULL pointer dereference in extent_io_tree_panic
bb562e6e0358 kbuild: enforce -Werror=return-type
(From OE-Core rev: 9799854c256cbd39a487affe76d1f37ef52162f8)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 80d066f627225e9eefba84c799e9b27bc17526fc)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5.4-stable included a backport of:
Author: Eric W. Biederman <ebiederm@xmission.com>
Date: Thu Dec 3 14:11:13 2020 -0600
rwsem: Implement down_read_interruptible
[ Upstream commit 31784cff7ee073b34d6eddabb95e3be2880a425c ]
In preparation for converting exec_update_mutex to a rwsem so that
multiple readers can execute in parallel and not deadlock, add
down_read_interruptible. This is needed for perf_event_open to be
converted (with no semantic changes) from working on a mutex to
wroking on a rwsem.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/87k0tybqfy.fsf@x220.int.ebiederm.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
We implement a -rt variant to fix the build issues.
(From OE-Core rev: 173f2350842325a731006681702419fa6c18801d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e610fb7cc22447441f18a9b1bffe58aadb6aaab6)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
ceed81a883dc Linux 5.4.90
6f484096196b regmap: debugfs: Fix a reversed if statement in regmap_debugfs_init()
bbb2fee395e9 net: drop bogus skb with CHECKSUM_PARTIAL and offset beyond end of trimmed packet
bd0051a5cb05 block: fix use-after-free in disk_part_iter_next
c5fe50e18fcb KVM: arm64: Don't access PMCR_EL0 when no PMU is available
f595e44b161a net: mvpp2: disable force link UP during port init procedure
5b8d3c3a9fcb regulator: qcom-rpmh-regulator: correct hfsmps515 definition
3582406b9c04 wan: ds26522: select CONFIG_BITREVERSE
480c5e9c7e4c regmap: debugfs: Fix a memory leak when calling regmap_attach_dev
c3c774886790 net/mlx5e: Fix two double free cases
ce74b5a0689d net/mlx5e: Fix memleak in mlx5e_create_l2_table_groups
a2b2ae3812e5 bpftool: Fix compilation failure for net.o with older glibc
2992e3371a3a iommu/intel: Fix memleak in intel_irq_remapping_alloc
006319327d21 lightnvm: select CONFIG_CRC32
46c15eeb0a8a block: rsxx: select CONFIG_CRC32
4834a984e456 wil6210: select CONFIG_CRC32
b28378bc91d0 qed: select CONFIG_CRC32
cc196d4604c9 dmaengine: xilinx_dma: fix mixed_enum_type coverity warning
d0eaf8a8eff8 dmaengine: xilinx_dma: fix incompatible param warning in _child_probe()
e6f247a5f927 dmaengine: xilinx_dma: check dma_async_device_register return value
c15556cb344a dmaengine: mediatek: mtk-hsdma: Fix a resource leak in the error handling path of the probe function
55503711adff i2c: i801: Fix the i2c-mux gpiod_lookup_table not being properly terminated
12e8bcaef61a spi: stm32: FIFO threshold level - fix align packet size
9ff4796e6fd9 cpufreq: powernow-k8: pass policy rather than use cpufreq_cpu_get()
4dd15f9bc881 can: kvaser_pciefd: select CONFIG_CRC32
82adac5ad13b can: m_can: m_can_class_unregister(): remove erroneous m_can_clk_stop()
3b68980596fb can: tcan4x5x: fix bittiming const, use common bittiming from m_can driver
b77e0283efdc dmaengine: dw-edma: Fix use after free in dw_edma_alloc_chunk()
f6dd8c259ab8 i2c: sprd: use a specific timeout to avoid system hang up issue
8d0cadc2ea64 ARM: OMAP2+: omap_device: fix idling of devices during probe
003280bd8845 HID: wacom: Fix memory leakage caused by kfifo_alloc
6f367fb1b7ee iio: imu: st_lsm6dsx: fix edge-trigger interrupts
87ea51c90280 vmlinux.lds.h: Add PGO and AutoFDO input sections
099340d3e758 exfat: Month timestamp metadata accidentally incremented
bb039d45ebc5 x86/resctrl: Don't move a task to the same resource group
628af07fc5cd x86/resctrl: Use an IPI instead of task_work_add() to update PQR_ASSOC MSR
96fb3d28c885 chtls: Fix chtls resources release sequence
fac9b53cfacb chtls: Added a check to avoid NULL pointer dereference
38768ea1127d chtls: Replace skb_dequeue with skb_peek
dcce456b2843 chtls: Fix panic when route to peer not configured
44bed66b2be9 chtls: Remove invalid set_tcb call
266ee00f402b chtls: Fix hardware tid leak
ed62af62da41 net/mlx5e: ethtool, Fix restriction of autoneg with 56G
cf59803ce4b3 net/mlx5: Use port_num 1 instead of 0 when delete a RoCE address
3008c639c081 net: dsa: lantiq_gswip: Exclude RMII from modes that report 1 GbE
fc1c907da5a1 s390/qeth: fix L2 header access in qeth_l3_osa_features_check()
e6931e3eb084 nexthop: Unlink nexthop group entry in error path
3cecab93f271 nexthop: Fix off-by-one error in error path
f03b81e61ef5 octeontx2-af: fix memory leak of lmac and lmac->name
12e10b12124c net: ip: always refragment ip defragmented packets
41bfd4111257 net: fix pmtu check in nopmtudisc mode
98fc9692ac3d tools: selftests: add test for changing routes with PTMU exceptions
7694654168bb net: ipv6: fib: flush exceptions when purging route
1cba7e270b16 net/sonic: Fix some resource leaks in error handling paths
37e6368a8de6 net: vlan: avoid leaks on register_vlan_dev() failures
4ff0737ebc76 net: stmmac: dwmac-sun8i: Balance internal PHY power
5698f0921c9b net: stmmac: dwmac-sun8i: Balance internal PHY resource references
fa020a28896c net: hns3: fix a phy loopback fail issue
bddaf51d116c net: hns3: fix the number of queues actually used by ARQ
d73f7e757526 net: cdc_ncm: correct overhead in delayed_ndp_size
5597557244d4 vfio iommu: Add dma available capability
335104082c21 x86/asm/32: Add ENDs to some functions and relabel with SYM_CODE_*
a829146c3fdc Linux 5.4.89
485e21729b1e scsi: target: Fix XCOPY NAA identifier lookup
7795afa0d7a9 KVM: x86: fix shift out of bounds reported by UBSAN
a9d49da7edf8 x86/mtrr: Correct the range check before performing MTRR type lookups
a798b367a066 netfilter: nft_dynset: report EOPNOTSUPP on missing set feature
5e401ea71676 netfilter: xt_RATEEST: reject non-null terminated string from userspace
1dd6a790c220 netfilter: ipset: fix shift-out-of-bounds in htable_bits()
e0281bb5a82d netfilter: x_tables: Update remaining dereference to RCU
828f2a20f946 drm/i915: clear the gpu reloc batch
ef8133b1b47e dmabuf: fix use-after-free of dmabuf's file->f_inode
284be2b993ca Revert "device property: Keep secondary firmware node secondary by type"
64d06c7f2fa2 btrfs: send: fix wrong file path when there is an inode with a pending rmdir
0cb0b876f17f ALSA: hda/realtek: Add two "Intel Reference board" SSID in the ALC256.
02e59692a6b1 ALSA: hda/realtek: Enable mute and micmute LED on HP EliteBook 850 G7
d63a96f45c4f ALSA: hda/realtek - Fix speaker volume control on Lenovo C940
30fd9778cf8f ALSA: hda/conexant: add a new hda codec CX11970
121944484cc4 ALSA: hda/via: Fix runtime PM for Clevo W35xSS
a5c7a456680f kvm: check tlbs_dirty directly
10dcb79ec79e x86/mm: Fix leak of pmd ptlock
d3e5db486fd8 USB: serial: keyspan_pda: remove unused variable
bcffe2de9dde usb: gadget: configfs: Fix use-after-free issue with udc_name
276828221852 usb: gadget: configfs: Preserve function ordering after bind failure
b2bd36f54495 usb: gadget: Fix spinlock lockup on usb_function_deactivate
ce507b55db29 USB: gadget: legacy: fix return error code in acm_ms_bind()
7f875ea9883c usb: gadget: u_ether: Fix MTU size mismatch with RX packet size
b89a5f39c2b5 usb: gadget: function: printer: Fix a memory leak for interface descriptor
692ab0726460 usb: gadget: f_uac2: reset wMaxPacketSize
7ac84fa85ba2 usb: gadget: select CONFIG_CRC32
77a804dd6b46 ALSA: usb-audio: Fix UBSAN warnings for MIDI jacks
5c263f16822f USB: usblp: fix DMA to stack
41f15da2abd9 USB: yurex: fix control-URB timeout handling
175f7a5fa7e6 USB: serial: option: add Quectel EM160R-GL
1a59feb52dc4 USB: serial: option: add LongSung M5710 module support
ac48b1dacb07 USB: serial: iuu_phoenix: fix DMA from stack
8a051eaae708 usb: uas: Add PNY USB Portable SSD to unusual_uas
a7b81d0d2e07 usb: usbip: vhci_hcd: protect shift size
f7cc27eb358d USB: xhci: fix U1/U2 handling for hardware with XHCI_INTEL_HOST quirk set
ea472d839133 usb: chipidea: ci_hdrc_imx: add missing put_device() call in usbmisc_get_init_data()
a37a0667e1e0 usb: dwc3: ulpi: Use VStsDone to detect PHY regs access completion
5b8e1be9e0c1 USB: cdc-wdm: Fix use after free in service_outstanding_interrupt().
5445502a344b USB: cdc-acm: blacklist another IR Droid device
eeae1d95ce4e usb: gadget: enable super speed plus
70cf59b8ffb4 staging: mt7621-dma: Fix a resource leak in an error handling path
c511f27e130e powerpc: Handle .text.{hot,unlikely}.* in linker script
867c10a03f84 crypto: asym_tpm: correct zero out potential secrets
ff7397add935 crypto: ecdh - avoid buffer overflow in ecdh_set_secret()
9e60056b1f53 video: hyperv_fb: Fix the mmap() regression for v5.4.y and older
84d488719b27 Bluetooth: revert: hci_h5: close serdev device and free hu in h5_close
3417067b3111 kbuild: don't hardcode depmod path
3f2a28930a7e net/sched: sch_taprio: ensure to reset/destroy all child qdiscs
c41ea30c3839 ionic: account for vlan tag len in rx buffer len
5c6eb887e192 vhost_net: fix ubuf refcount incorrectly when sendmsg fails
8f64957fda12 net: usb: qmi_wwan: add Quectel EM160R-GL
12ab7b627d43 CDC-NCM: remove "connected" log message
171a2bce9d6c net: dsa: lantiq_gswip: Fix GSWIP_MII_CFG(p) register access
c0883010d3b3 net: dsa: lantiq_gswip: Enable GSWIP_MII_CFG_EN also for internal PHYs
07f26fc52b45 r8169: work around power-saving bug on some chip versions
106ca9ca9acc net: hdlc_ppp: Fix issues when mod_timer is called while timer is running
2b8aa896b151 erspan: fix version 1 check in gre_parse_header()
606f5412ad86 net: hns: fix return value check in __lb_other_process()
e40b5fc79110 net: sched: prevent invalid Scell_log shift count
b16f883e71f3 ipv4: Ignore ECN bits for fib lookups in fib_compute_spec_dst()
a018c071de14 net: mvpp2: fix pkt coalescing int-threshold configuration
443a71031e49 tun: fix return value when the number of iovs exceeds MAX_SKB_FRAGS
c076e1198554 net: ethernet: ti: cpts: fix ethtool output when no ptp_clock registered
8602c20a9160 net-sysfs: take the rtnl lock when accessing xps_rxqs_map and num_tc
1f6b04a2b282 net-sysfs: take the rtnl lock when storing xps_rxqs
67ed54a63f43 net-sysfs: take the rtnl lock when accessing xps_cpus_map and num_tc
fb14db9508c0 net-sysfs: take the rtnl lock when storing xps_cpus
e43ec45d45af net: ethernet: Fix memleak in ethoc_probe
56dc7908ed85 net/ncsi: Use real net-device for response handler
dffef999e484 virtio_net: Fix recursive call to cpus_read_lock()
5404192a8721 qede: fix offload for IPIP tunnel packets
8009f6bb13a3 net: ethernet: mvneta: Fix error handling in mvneta_probe
6d003fe7fe87 ibmvnic: continue fatal error reset after passive init
3d16088a9668 net: mvpp2: Fix GoP port 3 Networking Complex Control configurations
8548c9679939 atm: idt77252: call pci_disable_device() on error path
2a006b4fa5cc ethernet: ucc_geth: set dev->max_mtu to 1518
c2ca14cc6f55 ethernet: ucc_geth: fix use-after-free in ucc_geth_remove()
af99cae96fdc net: systemport: set dev->max_mtu to UMAC_MAX_MTU_SIZE
8dd98d5d2ba4 net: mvpp2: prs: fix PPPoE with ipv6 packet parse
73445f29575a net: mvpp2: Add TCAM entry to drop flow control pause frames
a5a6dc4dc293 iavf: fix double-release of rtnl_lock
6aba31a7c72e i40e: Fix Error I40E_AQ_RC_EINVAL when removing VFs
9ea03f6890ce proc: fix lookup in /proc/net subdirectories after setns(2)
d2942e958f26 proc: change ->nlink under proc_subdir_lock
59b10c8a59a1 depmod: handle the case of /sbin/depmod without /sbin in PATH
663a0bcb3fa5 lib/genalloc: fix the overflow when size is too big
19e0cf8fc481 scsi: scsi_transport_spi: Set RQF_PM for domain validation commands
eb3e975ac2a3 scsi: ide: Do not set the RQF_PREEMPT flag for sense requests
4ae3573c571e scsi: ufs-pci: Ensure UFS device is in PowerDown mode for suspend-to-disk ->poweroff()
5f9c3d640505 scsi: ufs: Fix wrong print message in dev_err()
515dc635eb76 workqueue: Kick a worker based on the actual activation of delayed works
f3a4c8d50145 Linux 5.4.88
0a49aaf4df29 mwifiex: Fix possible buffer overflows in mwifiex_cmd_802_11_ad_hoc_start
117433236ae2 exec: Transform exec_update_mutex into a rw_semaphore
d390fc97df62 rwsem: Implement down_read_interruptible
1b75a263fbd9 rwsem: Implement down_read_killable_nested
71b8355ba667 perf: Break deadlock involving exec_update_mutex
732251cabeb3 fuse: fix bad inode
06c672dd61b5 iio:imu:bmi160: Fix alignment and data leak issues
7a736f41013e kdev_t: always inline major/minor helper functions
61a0d8e437bb dmaengine: at_hdmac: add missing kfree() call in at_dma_xlate()
20d5ee563bfd dmaengine: at_hdmac: add missing put_device() call in at_dma_xlate()
f2a0b7677444 dmaengine: at_hdmac: Substitute kzalloc with kmalloc
4d3ba541bede Revert "mtd: spinand: Fix OOB read"
da5b4cf021b9 Revert "drm/amd/display: Fix memory leaks in S3 resume"
(From OE-Core rev: 859e0453c6f288e5872f899df14450598d45f7b4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5dcc8a5977725a9fe11ac13ebd16a7acc1eef37d)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are a variety of files being installed into $datadir which we
don't need. Pick the top "offenders" which amount of thousands of files
and simply don't install them. These include things like test data,
terminfo data, locale data for native tools and so on. This saves
copying these files into native and target sysroots and should improve
performance (smaller sstate, fewer files to copy around).
With this and the python recipe change, alsa-tools went from:
recipe-sysroot: 18357
recipe-sysroot-native: 14129
to
recipe-sysroot: 10809
recipe-sysroot-native: 8079
which is a decent improvement.
(From OE-Core rev: 064b38c29543761186862cdbfe0155082137a212)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 366c72941fe1c24d0b1d96df46e13cb9eb4e79d6)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are several thousand files in the test directory which we don't need.
Adding these for the native and target sysroots is a crazy amount of files
to be throwing around needlessly. Delete the files from the sysroot side
of things to tidy up the sysroots and improve performance.
(From OE-Core rev: 653f8b1a8adf59d924028bfc69ead1c7437de11e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f6bced03011ad1663d68b0322a2f8aeb4d836646)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recudes the file count from ~2850 to ~100 which is a huge win
for reducing build directory clutter, its unlikely anything uses the
terminfo data or man pages in the sysroot. This is especially helpful
as we usually end up with two copies of these sets of files.
(From OE-Core rev: cb254debc36acc085a90c665f72ecf3a28692944)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 443633dfc20177ef88a388d96745675817510c99)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove patches for CVE-2019-25013 and CVE-2020-27618 since they are
present in the branch now. Add both CVEs to CVE_CHECK_WHITELIST.
760e1d28782 gconv: Fix assertion failure in ISO-2022-JP-3 module (bug 27256)
d3cb8f6222a aarch64: fix static PIE start code for BTI [BZ #27068]
082798622d8 __vfscanf_internal: fix aliasing violation (bug 26690)
33dc30bc838 aarch64: Use mmap to add PROT_BTI instead of mprotect [BZ #26831]
46e1e64fe3e elf: Pass the fd to note processing
b6eae83717d elf: Move note processing after l_phdr is updated
c6090dcebd1 aarch64: align address for BTI protection [BZ #26988]
610e2c51504 aarch64: Fix missing BTI protection from dependencies [BZ #26926]
4c619b3eed5 x86: Check IFUNC definition in unrelocated executable [BZ #20019]
87450ecf8a8 x86: Set header.feature_1 in TCB for always-on CET [BZ #27177]
2b4f67c2b33 Update for [BZ #27130] fix
1a24bbd43e4 x86-64: Avoid rep movsb with short distance [BZ #27130]
0d9793e82a1 Fix buffer overrun in EUC-KR conversion module (bz #24973)
1d49bede4d8 tests-mcheck: New variable to run tests with MALLOC_CHECK_=3
050022910be iconv: Accept redundant shift sequences in IBM1364 [BZ #26224]
ac0a6929c5d sh: Add sh4 fpu Implies folder
3ea24955bff struct _Unwind_Exception alignment should not depend on compiler flags
5c36293f067 resolv: Serialize processing in resolv/tst-resolv-txnid-collision
2dfa659a66f resolv: Handle transaction ID collisions in parallel queries (bug 26600)
05c025abca1 support: Provide a way to clear the RA bit in DNS server responses
f688bcd83de support: Provide a way to reorder responses within the DNS test server
eba0ce60588 Remove __warndecl
5337b2af4b8 Remove __warn_memset_zero_len [BZ #25399]
c6e794640c3 aarch64: Add unwind information to _start (bug 26853)
70ee5e8b573 aarch64: Fix DT_AARCH64_VARIANT_PCS handling [BZ #26798]
8813b2682e4 x86: Optimizing memcpy for AMD Zen architecture.
e61a8fd8fad Reversing calculation of __x86_shared_non_temporal_threshold
0b9460d22e2 sysvipc: Fix IPC_INFO and SHM_INFO handling [BZ #26636]
c4aeedea598 sysvipc: Fix IPC_INFO and MSG_INFO handling [BZ #26639]
9b139b6b81a sysvipc: Fix SEM_STAT_ANY kernel argument pass [BZ #26637]
81c5484d93a AArch64: Use __memcpy_simd on Neoverse N2/V1
0f8f0ed25c1 AArch64: Improve backwards memmove performance
23482f78866 Set version.h RELEASE to "stable" (Bug 26700)
69beb5cbf85 string: Fix strerrorname_np return value [BZ #26555]
fe62c4d173f intl: Handle translation output codesets with suffixes [BZ #26383]
386543bc449 NEWS: Update for [BZ #26534] fix
cebc01cbfd6 x86-64: Fix FMA4 detection in ifunc [BZ #26534]
(From OE-Core rev: 6559f16646a0a00d06104939fa5801e8594691af)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8d05c277c5350c4d968eb488788eac7978968ef7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python2-native executable is not available in sysroot anymore, which
causes compilation of some nodejs modules to fail. Switch to python3 as a
default python version.
(From OE-Core rev: 5cc15f53d55923815a859009a1ffe6cff145b6d7)
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d21f50ecf8e8683a92b7d234fa8225c2c1470595)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before adding a npmsw fetcher to a recipe we
should first check if the generated shrinkwrap file
contains dependencies.
(From OE-Core rev: 6bcd2e242ef85cf875a2ea1a7c208f8c30fbdffa)
Signed-off-by: Kamel Bouhara <kamel.bouhara@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ef153ad36d0299e83a03af8f207686d0d8a238b3)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some packages don't have shrinkwrap file which
means no npmsw uri is provided in the recipe.
(From OE-Core rev: 2c17be47120d388cffafe8213a4b8a92d537805c)
Signed-off-by: Kamel Bouhara <kamel.bouhara@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 47760b0d7d66b2b68ee197d359f0b7b17374d742)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tar output seems to vary depending on the version of tar used and distro
configuration. Be explict about the output format to avoid this and be
determinstic.
(From OE-Core rev: c56f3c9febc1732aa1302524c6c4da36f16bd1f7)
(From OE-Core rev: a9b4a1e82eb45832dd641a77733737c6fd759890)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9dbe0f69f8)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This image is only buildable for x86-64, so add a COMPATIBLE assignment
to ensure it isn't attempted on others.
(From OE-Core rev: bdd8208675c8a0c0232c678804a8b62cd74f1d48)
(From OE-Core rev: 9adacc27c52af0603ada259456d7a76bee2b1307)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit db87aab8e2)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As this image isn't buildable without ptest (the packages won't exist),
depend on the ptest DISTRO_FEATURE to ensure we don't try and build it.
(From OE-Core rev: 0fe856d726c6d9c35533e32e70fbe05ef2b88b17)
(From OE-Core rev: e2222ddd8b4566d7bdac073fff801523c2cbfb0e)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 72b859aba8)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The externalsrc class deletes do_patch task which results with:
| ERROR: Task do_create_manifest in <PATH>/python3_3.8.2.bb depends upon
| non-existent task do_patch in <PATH>/python3_3.8.2.bb
Use addtask to define correct order to prevent this error, since addtask
mechanism accepts deleted tasks.
[YOCTO #14151]
(From OE-Core rev: a746d034fa7eaad4f4876fa61c5a8c3c15e211c8)
(From OE-Core rev: 782f7f4f73d7b1e1bd649db1984a63d94d2410fe)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8ed8b81af6)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a function returns any stderr it will be passed to extractPatches and
used as path to patch.
For example subprocess command output can be:
| sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
| /tmp/oepatchhuqle8fj/0001-foo.patch
| /tmp/oepatchhuqle8fj/0002-bar.patch
that will result in:
| FileNotFoundError: [Errno 2] No such file or directory: 'sh:'
To fix this I separated output, made the function return stdout and
print stderr only in case of command error.
(From OE-Core rev: 482589e2cc7c3ddeefb0a0fb98d97a9cbb18c9ec)
(From OE-Core rev: 1dadeb58e88c4d953be612654fe4a76b51ff0553)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5e2450731c)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
add CVE_VERSION_SUFFIX to indicate the version suffix type, currently
works in two value, "alphabetical" if the version string uses single
alphabetical character suffix as incremental release, blank to not
consider the unidentified suffixes. This can be expand when more suffix
pattern identified.
refactor cve_check.Version class to use functools and add parameter to
handle suffix condition.
Also update testcases to cover new changes.
(From OE-Core rev: 5dfd5ad5144708b474ef31eaa89a846c57be8ac0)
(From OE-Core rev: 73f8c25a44ee33866a8fa61824437285cea96249)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 86b42289bd)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The way distutils.version.LooseVersion compare version are tricky, it treat
all these ( "1.0-beta2", "1.0-rc1", "1.0A", "1.0p2" and "1.0pre1") as greater
version than "1.0". This might be right for "1.0A" and "1.0p1" but not for
the rest, also these version could be confusing, the "p" in "1.0p1" can be
"pre" or "patched" version or even other meaning.
Replace Looseversion with custom class, it uses regex to capture common
version format like "1.1.1" or tag format using date like "2020-12-12" as
release section, check for following known string/tags ( beta, rc, pre, dev,
alpha, preview) as pre-release section, any other trailing characters
are difficult to understand/define so ignore them. Compare release
section and pre-release section saperately.
included selftest for the version class.
[YOCTO#14127]
(From OE-Core rev: 6ced85e9ddd3569240f1e8b82130d1ac0fffbc40)
(From OE-Core rev: 02a44b507a1e49a4c460f3e1bec92832b71dfe08)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3807c6d9a7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pulls in:
pseudo_client: Ensure renames update open fd file paths
pseudo_client.c: Rebuild passwd paths after chroot
which should fix issues seen in apt package index creation, new
binutils and other autobuilder race issues in pseudo amongst other
issues.
(From OE-Core rev: 44d11b56001f40622c055069b0901cc4ae15c76c)
(From OE-Core rev: 0fc140e6aeba27afc5bd7c4e8d486d73fa6e3f2e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e1caf4f305)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The DEPENDS variable override ordering here was almostly certainly
incorrect and led to weird behaviour when making changes elsewhere.
Correct it.
(From OE-Core rev: c8f7e92244b3c52c275a457aced69086800351d8)
(From OE-Core rev: 3f56b2666f823dadca84f76daee829f19cce3d6f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3a59f2abe2)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An exception is fired when a BuildStarted event is sent to buildhistory bbclass
and the variable BUILDHISTORY_FEATURES is not set.
ERROR: Execution of event handler 'buildhistory_eventhandler' failed
Traceback (most recent call last):
File "<...>/meta/classes/buildhistory.bbclass", line 862, in buildhistory_eventhandler(e=<bb.event.BuildStarted object at 0x7f94c3810250>):
python buildhistory_eventhandler() {
> if e.data.getVar('BUILDHISTORY_FEATURES').strip():
reset = e.data.getVar("BUILDHISTORY_RESET")
AttributeError: 'NoneType' object has no attribute 'strip'
This can happen in a multiconfig build where the default configuration use the
buildhistory class but not the configuration in mc. It should be a rare case that
this happens and it was found in a missconfigured build.
(From OE-Core rev: a74e30a4de02c8efd3e7102ba7a4fe06df53cc34)
(From OE-Core rev: 83ee03a6f05ff60459dbcc4fcfb78f95bb0b4848)
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 55ead1be58)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The srctree_hash was calculated only from main source directory ignoring
changes in submodules.
[YOCTO #13748]
Use submodule--helper to determine all submodules, and calculate hash
from all git tree objects names combined.
(From OE-Core rev: 50ff9afb3990bcf60b4fa1f937506cb84028c32d)
(From OE-Core rev: 6d8a58b11117372fdbf0a86fbc6698ee509fc816)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9385670add)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a user executes the environment script instead of sourcing it,
there's an error about an empty element in PATH. This is because
bitbake isn't present in environment variable PATH. Hence, this
patch adds a sanity check to verify if bitbake is present in
PATH and if bitbake isn't present issue a warning message.
[YOCTO #13822]
(From OE-Core rev: e08799913a7f207bc63e085eb98196fd61ed57bc)
(From OE-Core rev: 59de426a624edcb02a0f7ad53ee5955d9f3b2cf3)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dbd80a923c)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a user builds in a path in PSEUDO_IGNORE_PATHS, random failures
are generated. Hence this patch adds a sanity check in sanity.bbclass
to ensure that a user isn't building in PSEUDO_IGNORE_PATHS.
[YOCTO #14179]
(From OE-Core rev: 7a681525e904914e938de25df5cc64209097d15d)
(From OE-Core rev: 35f3e08c52e163e4496c0222896c49888ad5c960)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bfeeaf9ff1)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to increase the timeout that might help with the
intermittent seek test failure.
[YOCTO #14194]
(From OE-Core rev: a7dc7a35334ad634926a1386f4a56b27aad3ce68)
(From OE-Core rev: f9f4191a6fcc1474fa2b7d96c7f82f066ae02cb4)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7b90027aac)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test would timeout on autobuilders. This patch increases the
timeout to 60s
The test will now also exit as soon as we receive the 2 expected events
Expected runtime is around 1s if successful
Bug 14158
(From OE-Core rev: be02aa9283f805de718badd5ea12c4968da8774f)
(From OE-Core rev: c925b83cbd31345f788515ca8b642b14e5e11898)
Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1d803b70e5)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If srcdir is under poky directory (e.g. devtool poky/build/workspace/sources)
and is not a git repository then ${@srctree_hash_files(d)} will run "git
rev-parse --git-dir" and detect poky directory as git-dir and run "'git', 'add',
'-A', '.'], cwd=s_dir" trying to add srcdir but build dir is in .gitignore and
latest git will fail with "The following paths are ignored by one of your
.gitignore files: build" which will end with "ExpansionError during parsing".
In this commit I added a check if git_dir is the same as git-dir from
TOPDIR (which will detect poky directory) and if yes, then treat srcdir
as non-git sources.
(From OE-Core rev: 95fbac8dcad6c93f4c9737e9fe13e92ab6befa09)
(From OE-Core rev: 1da57e92812a1025d975204797b761a3be3998aa)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 28bdfe0066)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://github.com/p11-glue/p11-kit/releases/tag/0.23.22
Release notes:
Fix memory-safety issues that affect the RPC protocol (CVE-2020-29361, CVE-2020-29362, and CVE-2020-29363), discovered and fixed by David Cook
anchor: Prefer persistent format when storing anchor [#329]
common: Fix infloop in p11_path_build [#326, #327]
proxy: C_CloseAllSessions: Make sure that calloc args are non-zero [#325]
common: Check for a NULL locale before freeing it [#321]
Build and test fixes [#313, #315, #317, #318, #319, #323, #330, #333, #334, #335, #338, #339]
c4e75e1002
patch to fix trailing newline using custom_target() caused error
with DISTRO_FEATURES api-documentation due to meson bugs, enable
manpages PACKAGECONFIG should prevent this error.
| warning: failed to load external entity "../version.xml"
| ../p11-kit-docs.xml:11: parser error : Failure to process entity version
| <releaseinfo>for p11-kit &version;</releaseinfo>
| ^
| ../p11-kit-docs.xml:11: parser error : Entity 'version' not defined
| <releaseinfo>for p11-kit &version;</releaseinfo>
| ^
| unable to parse ../p11-kit-docs.xml
(From OE-Core rev: b112ba291835061640123c13784e2b33cc73f17d)
(From OE-Core rev: f500435958fd676a00757a64572f06f5cb16c251)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 59b07a71f3)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patch from
bdd3acbd48
image file in upstream patch is for test purpose only, it cause error during
do_patch so drop it:
File tests/test-images/fail/hang_114.gif: git binary diffs are not supported.
(From OE-Core rev: 7cd401b7c60dba91f6fb10395ab4a10a267cf23d)
(From OE-Core rev: c3f2e4ed9c5fe541a9aee900cc632592f9824407)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ee867453ff)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Insert an explicit pass to fetch all blobs needed by Git LFS, during the
fetch() function. This avoids the default behavior of Git LFS to wait
until 'git checkout' to begin downloading the blobs pointed to by LFS records.
Network access is not allowed at that point in the recipe's lifecycle.
[YOCTO #14191]
(Bitbake rev: c73f8f2f4a6491c6bea54839630af6994c27ad24)
Signed-off-by: Matt Hoosier <matt.hoosier@garmin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0efac66043662e7a2027192f50e92e982db2ba1c)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
None is a bad choice of return value for functions used in variables
(strings) as a failure results in concatination errors. Use a string
with a clear meaning that can be searched for instead.
(From OE-Core rev: 4e8022635fc8543d135fed3091a9f555899d1b3c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Option --noline or -L does not handled properly.
So generated code contains #line directives with
file absolute path and prevents to create
reproducible builds.
(From OE-Core rev: e02c02459b35129402b2a77b592896c787e590ff)
Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0bf2cb7dc2123f220accf1542c2ae4c4b4b8275a)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If do_patch task is disabled then prepare do_configure dependencies to
fetch external sources and create symlink to ${S} in devtool workspace.
[YOCTO #13036]
(From OE-Core rev: 9a1bcf47f0242215610ddf917e8bd87e86fdf419)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9e47319bfe62d289b90f7545a64dbdc1cbde7f1d)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Files could contain colons in name and we should not use
colons (':') as field separator. E.g. perl/python man
pages packages.
(From OE-Core rev: 5ea3c65c6b224a9e20cc4f41b044e598771de8a2)
Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 50d2ed0689f1aed6f33b4992d37e2e991c99eb07)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fix for [Yocto #13994] required the rootfs directory to be copied
(using hardlinks if possible) when modifying the fstab file under wic.
We can optimise this copy away for filesystems where we have the tools
to modify the contents of the partition image after it is created. For
ext2/3/4 filesystems we have the debugfs tool and for msdos/vfat
filesystems we have the mcopy tool. So for any of these filesystems we
skip the modification of the fstab file in the rootfs directory (and
skip the associated copy unless it is otherwise necessary) and update
the contents of fstab directly in the partition image.
(From OE-Core rev: a56b9dbfeb410d235b5af2c5a846b3f1360d2d1d)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5fb8ae0e9159597d7eaa9307a3a8543800bf9405)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, wic updates the /etc/fstab in the rootfs to include details
of additional partitions described in the selected wks file. If this
modification is performed in place, other tasks which create an image
file from the rootfs directory (e.g. do_image_tar and do_image_ext4)
will pick up the modified fstab file which would not be appropriate for
those images as they do not include the additional partitions described
in the wks file. wic does undo modifications to the fstab file once it
has finished creating the filesystem image, however this leaves open a
race condition if one of the other tasks reads the contents of the fstab
file from the rootfs directory between the point where wic modifies the
fstab file and the point where wic restores the files original content.
This could be solved by adding a lockfile for tasks which use the rootfs
directory to ensure that no other such task is reading the rootfs
directory while do_image_wic is running. This would serialize several
do_image_* tasks and result in slower builds, especially for large
images. Another drawback of this solution is that it is hard to
selectively optimise - adding lockfiles to do_image_* tasks would result
in these tasks always being serialized even if no fstab modification
will take place.
An alternative solution is to copy the rootfs directory when fstab needs
to be modified. The code to do this in wic already exists as it is
needed when including or excluding content in the rootfs. This still
results in an impact on build times but the copy uses hardlinks if
possible (so little data is actually copied) and we can make selective
optimisations to improve things. The rootfs copy will only take place if
fstab modification is required (or if it was already needed to include
or exclude rootfs content). We can also follow up with further
optimisations after this commit. So this second solution is chosen.
Fixes [Yocto #13994]
(From OE-Core rev: 39f98ef8c1f6b0259deb43ea902f5ac8e5b069cd)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ce682a73b7447652f898ce1d1d0416a456df5416)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To exclude content from the rootfs, wic makes a copy (using hardlinks if
possible) of the rootfs directory and associated pseudo db, then removes
files & directories as needed. However if these files and directories
are removed using the python functions os.remove and shutil.rmtree, the
copied pseudo db will not be updated correctly. For files copied from
the original rootfs, if hardlinks were used successfully when copying
the rootfs this should mean that the relevant inodes can't be reused and
so the risk of pseudo aborts should be avoided. However, this logic
doesn't apply for directories (as they can't be hardlinked) or for files
added via the '--include-path' argument (as they weren't present in the
original rootfs) and so there remains some risk of inodes being reused
and the pseudo db becoming corrupted.
To fix this, use the 'rm' command under pseudo when removing files &
directories from the copied rootfs to ensure that the copied pseudo db
is updated.
(From OE-Core rev: 9f33aa6f1dd66b1b6990b256ad822fa4cf8daa94)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d5db7e268947f0392c2126137571a44acd29ccd6)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default the wic working directory is placed under the output
directory. When invoking wic under bitbake, the wic output directory is
added to PSEUDO_PATHS_IGNORE to avoid issues with files being removed
from outside a pseudo environment (see oe-core commit ad8f5532ff).
However, wic will copy the rootfs directory into its working directory
if it needs to add or remove content before creating a filesystem image.
This copy of the rootfs directory must be tracked by pseudo in order to
keep the permissions correct in the resulting image. So we can't have
the wic working directory under a path in PSEUDO_PATHS_IGNORE unless
we like broken permissions.
To fix this the new '-w' argument to wic is used to move the working
directory away from the output directory.
Note that wic deletes the temporary working directory automatically
when it finishes creating an image so users won't normally see the
'tmp-wic' directory under WORKDIR.
Fixes [Yocto #14129]
(From OE-Core rev: 28d2e131555372a79499746057468cb18db69d69)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4d07169499c47fa9dc759e6f81843416a6dc25c5)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows programs from HOSTTOOLS (e.g. 'install', 'rm', 'mv', etc) to
be more easily executed by wic. Without this change only programs from
an actual *-native recipe built by bitbake can be executed by wic.
(From OE-Core rev: 00474d990174c3c4af6e0a6058871f925380750a)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8eb186acdecfbb3151c9a0ab148358e3fe5cce39)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a path is specified for the internal wic working directory using
the -w/--workdir argument then it must not already exist. Re-using a
previous workdir could easily result in rootfs and intermediate files
from a previous build being added to the current image.
(From OE-Core rev: 365b10a95ac0b04ca48a53e55cf5a0a330f1bc2f)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2e40c8d4109024ff704c5ce40d98050ca7f34dd5)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows the path for the temporary workdir used by wic to be set
when running wic from bitbake or directly from the command line.
(From OE-Core rev: 6136e1312fc69b1b6196aa2fb8986d99ad46e7a1)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2e7314ac3a3cab89de93c932e8efc75de0feb0a7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has merged a change to handle detection of target overrides so
that they are only applied as required. Backport this patch from
upstream and remove the OE specific patch.
(From OE-Core rev: ef87c3609ecf93158685f4d4cdc53754a6102330)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d430f425e1a5725e93833a652e5c6988576f7347)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In cmake.bbclass we set CMAKE_BUILD_PARALLEL_LEVEL using parallel_make
function and if PARALLEL_MAKE is set to empty string then this variable
is exported as "None" causing cmake to fail with:
"'CMAKE_BUILD_PARALLEL_LEVEL' environment variable
invalid number 'None' given."
(From OE-Core rev: 7ee65c50f7a38c22e3fb43b0c89e81aff24a2b7f)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2f790ded554a52ac18d1c28002142f9c62abec8b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The toolchain-shar-extract.sh script updates the SDK relocation paths in
post-relocate-setup.sh, so avoid doing this twice. This is generally not
a problem, unless the SDK path is a subset of the SDK relocation path, in
which case the resulting path is substituted twice. To trigger the issue,
$ ./tmp/deploy/sdk/poky-glibc-x86_64-core-image-base-core2-64-qemux86-64-toolchain-3.2+snapshot.sh -y -d /home/oe/.local/opt/poky/3.2+snapshot
which generates relocation path
/home/oe/.local/home/oe/.local/opt/poky/3.2+snapshot
instead of
/home/oe/.local/opt/poky/3.2+snapshot
Fixes: 93ec145f42 ("toolchain-shar-extract: Add post-relocate scripts")
(From OE-Core rev: 9504a975c74fc00f3c27b9dbc18316143215b6a3)
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Krzysztof Zawadzki <krzysztof.zawadzki@nokia.com>
Cc: Randy Witt <randy.e.witt@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5000aabe6ac336e7b424dafa1bf76271dee6a6f1)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The $target_sdk_dir path might contain special characters, for example if
the path is /opt/poky/3.2+snapshot . Prevent grep from interpreting those
as part of the regex by using the -F parameter and multiple -e parameters
to specify which strings to filter out. Also note that the previous regex
was using asterisk as wildcard (e.g. environment-setup-*), but that should
have been regex (e.g. environment-setup-.*, with dot) to match correctly,
this is also fixed by this change.
Fixes: 9721378688 ("toolchain-shar-template.sh: Make relocation optional.")
(From OE-Core rev: b97f2901c66d6343c49d5bf90d538aa22aeae79d)
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Krzysztof Zawadzki <krzysztof.zawadzki@nokia.com>
Cc: Randy Witt <randy.e.witt@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 19d9fa7ab6c851000bc5d24281739e1b2bb8f057)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch makes gcc produce broken code. It is unclear why it is there
in the first place. Drop it.
(From OE-Core rev: c6dac9e737b27dc0e2b02a75463b0eba4b9b01d0)
Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5f3cace37496fe1dc4fd045f688f7d441505c437)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Extracting SDK archive may fail if the script is run using a path with
special characters such as space or asterisk. This is because the shell
interprets such characters after expanding the $0 variable.
Added quotes to all uses of the shell variable $0 to fix this.
(From OE-Core rev: 7d17f261347366a8723691a4a2cb77a1d5992d69)
Signed-off-by: Andrey Mozzhuhin <amozzhuhin@yandex.ru>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0453acbbd45604537090ec7a3295b34309e6eecb)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes a crash with "find" when running a native tool and *-native
directories do not exist under the binary directory in the sysroot.
This happened because the directory wildcard was passed as part of the
root directory.
The directory wildcard is now passed by "-name", which returns an empty
result if no matching directory.
(From OE-Core rev: ebc71592b57eba514588693d76057d90f92d6f62)
Signed-off-by: Adrian Herrera <adrian.herrera@arm.com>
Change-Id: Iba7acd8bbd7e0beb4d25c984f6af7a4fd21486e6
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f6c90ed0ad24b7d4f892e22e088b1578824eb1d3)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The get_hash() function is used to decide if the base configuration has changed
and hence whether a reparse is required. The vardepvalue flag's value was not
expanded but it is often used in contexts like:
METADATA_REVISION = "${@base_detect_revision(d)}"
METADATA_REVISION[vardepvalue] = "${METADATA_REVISION}"
which in it's unexpanded form means reparsing doesn't happen when it should
as the data appears unchanged. Update get_hash to expand the values of
vardepvalue so reparsing works as expected. This avoids basehash mismatch
errors such as the one recently caused by using METADATA_REVISION in poky.conf's
DISTRO_VERSION variable. The issue there could be exposed by a recipe using
DISTRO_VERSION with the sequence:
bitbake os-release
<change the revision of the metadata with a dummy commit>
bitbake os-release -C install
which was caused because METADATA_REVISION changed but the metadata didn't reparse.
(Bitbake rev: cb7277e7bb3a440968fdb918d56fe8fa17bca2e6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade to latest released version for v246-stable.
(From OE-Core rev: c7bf9aebd002fc6bc23a57bc5e9863382bd17ae7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New versions of glibc have an lchmod function so we need to wrap it.
Identified through a reproducibility issue in initramfs-base where
/dev/console created by mknod from coreutils changed permissions
depending on the host distro (mknod used the gnulib wrapper on most
hosts but newer ones used the libc call).
[YOCTO #14162]
(From OE-Core rev: cac0ad6f82c0f10b9ad6a656ef728e894096049a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 20a645664977530e602e1ac97e8dc0962e730e6c)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Builds were failing on WSL2 which turns out to be due to accesses to
/run/ on those systems. Add this to PSEUDO_IGNORE_PATHS to fix
builds on WSL2.
[YOCTO #14175]
(From OE-Core rev: 604899b3c8265da12aa4906cd7211849f46f32fe)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1d1bf51217e8b4d54af28739d3271484ee5a7974)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The oe-selftest code already keeps the selftest build directory in place
if any tests failed. By default the build directory is deleted if all
tests pass but there may be cases where it's desirable to keep this
directory around, for example to compare intermediate files between
passing and failing test runs.
(From OE-Core rev: f41c17a155e9bfd233bc2166c6ab7f5e547f39fa)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 67aa7069dbe8f5f5f186eb67708ece5c4bd42976)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* now without ${COREBASE}/meta in PSEUDO_IGNORE_PATHS after:
73d538f207 bitbake.conf: Prevent pyc file generation in pseudo context
the do_package tasks are failing when LICENSE_CREATE_PACKAGE is enabled
pseudo.log shows that it's because of license texts copied from
${COREBASE}/meta:
path mismatch [46 links]: ino 96733640 db '/OE/build/tmp-glibc/work/all-oe-linux/foo/1.0/image/usr/share/licenses/foo/generic_Apache-2.0' req '/OE/build/openembedded-core/meta/files/common-licenses/Apache-2.0'.
(From OE-Core rev: d850874e865f2cb2417d520820c3c5288cae38c5)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This also effectively reverts commit b6d30c21b0:
bitbake.conf: Extend PSEUDO_IGNORE_PATHS to ${COREBASE}/meta
The contents of ${COREBASE}/meta were ignored as pyc files could be
generated for the contents of the lib subdirectory if python modules
were imported within a pseudo context. However this doesn't protect us
from pyc files being generated in the lib directories for other layers.
It's far better to tell python not to produce pyc files when running
under pseudo (by setting the PYTHONDONTWRITEBYTECODE variable) as this
will cover any location where pyc files could possibly be created. This
variable is set in FAKEROOTBASEENV so that it applies to the
bitbake-worker instance for fakeroot tasks, preventing pyc files from
being generated for imports in python tasks themselves.
Also add a test case to ensure that pyc files are not created in tasks
which are executed under pseudo.
(From OE-Core rev: 7aa1ae139b9131faff04c0ed156fd8efcde114f6)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 73d538f20743017a44cea4c20dbe09a0327cfc71)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use oe.path.canonicalize() to canonicalize the paths in
PSEUDO_IGNORE_PATHS before passing them to pseudo. This is needed since
pseudo will compare them to paths that are canonicalized.
(From OE-Core rev: c54646582ba8ef0a0247a0fa863db26671d4fd77)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1f2a497daa09cf3459e27ad6e0e8513938b52c79)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe.path.canonicalize() is used to canonicalize paths (i.e., remove
symbolic links and "..", and make them absolute). It takes a string
with paths separated by commas, and returns the canonicalized path in
the same format.
(From OE-Core rev: 5c9931e0ffcb1663f529289f2e03c549fdb3c4da)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 282b19c0e27488ec119f00fb2542ffdc1af54e2a)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid command not found errors shown in selftest logs due to changes to PATH
settings which also risks intermittent problems due to IO load.
(From OE-Core rev: 8d7f1c1574ceaff11966331855491ef7c96fd110)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 40bcae01b0be2f293dea9ab42c6b7f8f47827cf5)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using coreutils nativesdk (e.g. with buildtools-tarball) for
running oe-core builds, a number of recipes/classes/etc. expect xattr
support. This requirement is also expressed by the existing
PACKAGECONFIG_class-native default including xattrs.
(From OE-Core rev: 9be818787872a68f8ad669e6db372c12376f5ee8)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 80d7debffdeed165006b26dcb89cffafaaecca06)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously install-sh was used, which is installed by autoconf so isn't
a relevant license.
Also remove S assignment, as that's the default.
(From OE-Core rev: cec30244d9c7051dbd727fddeb4b617c783c6fd5)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23cb39a5fa2a55681e7bc2605f435135cec9173b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
19d1c763e849 Linux 5.4.85
484ac6279ad2 x86/resctrl: Fix incorrect local bandwidth when mba_sc is enabled
eb3f42cf5e67 x86/resctrl: Remove unused struct mbm_state::chunks_bw
c4f909407015 membarrier: Explicitly sync remote cores when SYNC_CORE is requested
a840e37ef800 Revert "selftests/ftrace: check for do_sys_openat2 in user-memory test"
aa17a20d640d KVM: mmu: Fix SPTE encoding of MMIO generation upper half
bb07f4c93e62 serial: 8250_omap: Avoid FIFO corruption caused by MDR1 access
14482dc42c28 ALSA: pcm: oss: Fix potential out-of-bounds shift
c94a31c19225 USB: sisusbvga: Make console support depend on BROKEN
4ad8fc6cce01 USB: UAS: introduce a quirk to set no_write_same
397d0ae4cb90 xhci-pci: Allow host runtime PM as default for Intel Alpine Ridge LP
32c820e016b4 xhci: Give USB2 ports time to enter U3 in bus suspend
5828ae0c1920 ALSA: usb-audio: Fix control 'access overflow' errors from chmap
e72a55ea7168 ALSA: usb-audio: Fix potential out-of-bounds shift
56339afa39e5 USB: add RESET_RESUME quirk for Snapscan 1212
52c2ada6fe5e USB: dummy-hcd: Fix uninitialized array use in init()
497993377bca ktest.pl: If size of log is too big to email, email error message
a8d28a541500 net: stmmac: delete the eee_ctrl_timer after napi disabled
ee08543f4598 net: stmmac: dwmac-meson8b: fix mask definition of the m250_sel mux
5ae78c6926cc net: ll_temac: Fix potential NULL dereference in temac_probe()
717a140a3635 net/mlx4_en: Handle TX error CQE
d0363dcabbd1 lan743x: fix for potential NULL pointer dereference with bare card
d4107a0f8802 net/mlx4_en: Avoid scheduling restart task if it is already running
add880d788f0 tcp: fix cwnd-limited bug for TSO deferral where we send nothing
5189c070a0d7 tcp: select sane initial rcvq_space.space for big MSS
318d90218b21 net: stmmac: free tx skb buffer in stmmac_resume()
d8d39e13668a bridge: Fix a deadlock when enabling multicast snooping
cb327f83cf5e enetc: Fix reporting of h/w packet counters
408c8213ee97 udp: fix the proto value passed to ip_protocol_deliver_rcu for the segments
f7a756fc7cb9 net: hns3: remove a misused pragma packed
2ef23e860e76 vrf: packets with lladdr src needs dst at input with orig_iif when needs strict
cae90bd22cff net: bridge: vlan: fix error return code in __vlan_add()
2e6a15b0b3d4 mac80211: mesh: fix mesh_pathtbl_init() error path
1fe6b822b335 ipv4: fix error return code in rtm_to_fib_config()
8b4f08f28015 ptrace: Prevent kernel-infoleak in ptrace_get_syscall_info()
8a866bdbbac2 Linux 5.4.84
c2c5dc84ac51 compiler.h: fix barrier_data() on clang
69dc72f058c9 mm/zsmalloc.c: drop ZSMALLOC_PGTABLE_MAPPING
3349f1e4cf6d x86/apic/vector: Fix ordering in vector assignment
e3c1d51868f3 x86/membarrier: Get rid of a dubious optimization
6346ed69bc7c x86/mm/mem_encrypt: Fix definition of PMD_FLAGS_DEC_WP
258d646f006b scsi: be2iscsi: Revert "Fix a theoretical leak in beiscsi_create_eqs()"
7d5fc53439a1 proc: use untagged_addr() for pagemap_read addresses
6472d3ae6ef5 kbuild: avoid static_assert for genksyms
0cd7084a2a03 drm/i915/display/dp: Compute the correct slice count for VDSC on DP
60c1c68fae5e mmc: block: Fixup condition for CMD13 polling for RPMB requests
974aa59837ed pinctrl: amd: remove debounce filter setting in IRQ type setting
457f5289b7e7 Input: i8042 - add Acer laptops to the i8042 reset list
cf596f3906e9 Input: cm109 - do not stomp on control URB
d2d113aca34f ktest.pl: Fix incorrect reboot for grub2bls
181088e37b1d can: m_can: m_can_dev_setup(): add support for bosch mcan version 3.3.0
38b1dbc1229c platform/x86: touchscreen_dmi: Add info for the Irbis TW118 tablet
2fa99f6f8f60 platform/x86: intel-vbtn: Support for tablet mode on HP Pavilion 13 x360 PC
21aa2d1f2bfb platform/x86: acer-wmi: add automatic keyboard background light toggle key as KEY_LIGHTS_TOGGLE
010e6e816f54 platform/x86: thinkpad_acpi: Add BAT1 is primary battery quirk for Thinkpad Yoga 11e 4th gen
4778a11e0500 platform/x86: thinkpad_acpi: Do not report SW_TABLET_MODE on Yoga 11e
eb5e28ffe39a arm64: tegra: Disable the ACONNECT for Jetson TX2
c7e271337402 soc: fsl: dpio: Get the cpumask through cpumask_of(cpu)
37aa8318ed43 spi: spi-nxp-fspi: fix fspi panic by unexpected interrupts
864fbeab8c99 irqchip/gic-v3-its: Unconditionally save/restore the ITS state on suspend
47fac0ccf775 ibmvnic: skip tx timeout reset while in resetting
c0450df6d0f7 interconnect: qcom: qcs404: Remove GPU and display RPM IDs
adad2bc9f303 scsi: ufs: Make sure clk scaling happens only when HBA is runtime ACTIVE
b184e9800867 ARC: stack unwinding: don't assume non-current task is sleeping
8ed74a012206 arm64: dts: broadcom: clear the warnings caused by empty dma-ranges
acac3f7d7d22 powerpc: Drop -me200 addition to build flags
8012a30b9e16 iwlwifi: mvm: fix kernel panic in case of assert during CSA
c90527770b88 iwlwifi: pcie: set LTR to avoid completion timeout
d411a07d6c04 arm64: dts: rockchip: Assign a fixed index to mmc devices on rk3399 boards.
0e6cae4e8181 iwlwifi: pcie: limit memory read spin time
591afbc97c18 x86/lib: Change .weak to SYM_FUNC_START_WEAK for arch/x86/lib/mem*_64.S
018b05e0f05b Kbuild: do not emit debug info for assembly with LLVM_IAS=1
(From OE-Core rev: 2f13e9ab05c43d61cbabd9f72badf62730e3db3a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(cherry picked from commit 3dd19af60e5e4059ce7c7a67ff16fba1cb00de80)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s):
a1b2d188bdf config: set firmware loader to 'y'
The updated kern-tools are showing us warnings that were previously
hidden. To silence the fw_loader warning, we need to set the value
to 'y' (since it is 'y' selected by other options and we can't
override that).
(From OE-Core rev: d554dd1909abaa7c1f7cd3fd4625e452e83fbed2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 491665d42f3a7b139ab0f220e8e18dcd29f1e2e6)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to fixup warnings when -tiny is
build with the latest kern-tools:
b721178c41a drm: change CONFIG_DRM_KMS_HELPER to =m
d9ac6174eaf tiny: enable CONFIG_FW_LOADER on a per-BSP basis
a135c720bc7 i915: adust helper to 'm'
(From OE-Core rev: 90e5a7a917e4e87bdf23a7a8ea4e2bd28cfdf4cb)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9227facf178e7bc56cce2522cd63ffd18dd900aa)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) for configuration tweaks:
b976de4f41d drm: change CONFIG_DRM_KMS_HELPER to =m
669f5aa3795 tiny: enable CONFIG_FW_LOADER on a per-BSP basis
d94b2d9f137 i915: adust helper to 'm'
(From OE-Core rev: ec3efb1fca933c0ae2dbe74238ba8cb966246995)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d2c77a34d338d0347fb4206eb2185adc01e58416)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
2bff021f53b2 Linux 5.4.83
66a08d1d3bd8 Revert "geneve: pull IP header before ECN decapsulation"
ed58971beb47 x86/insn-eval: Use new for_each_insn_prefix() macro to loop over prefixes bytes
423e1b08ce5c netfilter: nftables_offload: set address type in control dissector
13995410b616 netfilter: nf_tables: avoid false-postive lockdep splat
f25fa580f99e Input: i8042 - fix error return code in i8042_setup_aux()
b9df537e5fcd dm writecache: remove BUG() and fail gracefully instead
8e2c50315f00 i2c: qup: Fix error return code in qup_i2c_bam_schedule_desc()
1015eefe10e2 rtw88: debug: Fix uninitialized memory in debugfs code
af699e99efdc ASoC: wm_adsp: fix error return code in wm_adsp_load()
fdc1416c2199 tipc: fix a deadlock when flushing scheduled work
6410c7f53698 netfilter: ipset: prevent uninit-value in hash_ip6_add
cd928d387b0b gfs2: check for empty rgrp tree in gfs2_ri_update
c358e7e99dda can: af_can: can_rx_unregister(): remove WARN() statement from list operation sanity check
867fbf2bb739 lib/syscall: fix syscall registers retrieval on 32-bit platforms
f68f5bdfefd9 tracing: Fix userstacktrace option for instances
dbbf6cdab503 iommu/amd: Set DTE[IntTabLen] to represent 512 IRTEs
d863a4ad3cc5 spi: bcm2835: Release the DMA channel if probe fails after dma_init
83d5121c3b0f i2c: imx: Check for I2SR_IAL after every byte
83366a7b2d34 i2c: imx: Fix reset of I2SR_IAL flag
b0d4fa10bfcc speakup: Reject setting the speakup line discipline outside of speakup
a2a163f70bdf mm/swapfile: do not sleep with a spin lock held
4870004d30e3 mm: list_lru: set shrinker map bit when child nr_items is not zero
42ccf9d14ede coredump: fix core_pattern parse error
579c977253b6 x86/uprobes: Do not use prefixes.nbytes when looping over prefixes.bytes
002d2c4a3f66 dm: remove invalid sparse __acquires and __releases annotations
3b02d67064ff dm: fix bug with RCU locking in dm_blk_report_zones
7eb514087cdd powerpc/pseries: Pass MSI affinity to irq_create_mapping()
1f72986fc9df genirq/irqdomain: Add an irq_create_mapping_affinity() function
6466119452a8 powerpc/64s/powernv: Fix memory corruption when saving SLB entries on MCE
8a758e97b707 dm writecache: fix the maximum number of arguments
3f680c5996f9 scsi: mpt3sas: Fix ioctl timeout
812dff6a5250 drm/i915/gt: Program mocs:63 for cache eviction on gen9
b92738c4f9d3 thunderbolt: Fix use-after-free in remove_unplugged_switch()
ed201cb54d6f i2c: imx: Don't generate STOP condition if arbitration has been lost
73948ab9f2df cifs: fix potential use-after-free in cifs_echo_request()
a0ca8cb2f707 cifs: allow syscalls to be restarted in __smb_send_rqst()
205740ca4a4d ftrace: Fix updating FTRACE_FL_TRAMP
d18379bbb856 ALSA: hda/generic: Add option to enforce preferred_dacs pairs
f28666e00a44 ALSA: hda/realtek - Add new codec supported for ALC897
c57556f1798b ALSA: hda/realtek: Enable headset of ASUS UX482EG & B9400CEA with ALC294
f3fc36614438 ALSA: hda/realtek: Add mute LED quirk to yet another HP x360 model
de41002d2e0e ALSA: hda/realtek: Fix bass speaker DAC assignment on Asus Zephyrus G14
35ee9ac51328 tty: Fix ->session locking
c536ecd48560 tty: Fix ->pgrp locking in tiocspgrp()
013d2d046532 USB: serial: option: fix Quectel BG96 matching
3cf949422734 USB: serial: option: add support for Thales Cinterion EXS82
0f8af69bec41 USB: serial: option: add Fibocom NL668 variants
250930f60c33 USB: serial: ch341: sort device-id entries
25b90f887dd4 USB: serial: ch341: add new Product ID for CH341A
f0990c21af7d USB: serial: kl5kusb105: fix memleak on open
8954745718e7 usb: gadget: f_fs: Use local copy of descriptors for userspace copy
4a77729b25d6 Partially revert bpf: Zero-fill re-used per-cpu map element
512b18eec5c2 pinctrl: baytrail: Fix pin being driven low for a while on gpiod_get(..., GPIOD_OUT_HIGH)
e90d11d0be10 pinctrl: baytrail: Replace WARN with dev_info_once when setting direct-irq pin to output
(From OE-Core rev: d68875f690e67f7afab1a2670a33df5a6fd95181)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 87c3841a7b4b9a440bd9aea91dea2a7161ab22be)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following configuration commit(s):
72a1fe336d7 qemuppc: configure the CONFIG_SCSI to '=y'
(From OE-Core rev: 6f20e6c12f0796dac088a249543d7945f76f0764)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6d21c81b04142a48539b3262318860f2719c11ca)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Executing a sequence like:
bitbake man-db
bitbake man-db -c clean
bitbake man-db -c package_write_deb -f
results in the ownership of files in the man-db package changing from "man/man"
to "6/12". This is due to base-passwd not being installed in the recipe
sysroot.
Add the missing dependency so even if a recipe "re-packages", the name
of the user/group is found and the packages are reproducible.
[YOCTO #14172]
(From OE-Core rev: ba0797130d60d168ea85be4e5928492a73fa4e7b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 769f8be29a192fd4fa0c4752f851fa3728d71179)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
vfat/msdos filesystem should have fsuuid in format 0xYYYYYYYY where "0x"
in front follow with 8 hexadecimal number in uppercase. In wic, when using
custom fsuuid for vfat/msdos partition in wks, it is able to set the value
in any length, with or without leading "0x". This can cause fsuuid
missaligned when fstab updates, fstab expect exactly 10 character
fsuuid for vfat/msdos partition and all in uppercase.
if custom fsuuid for vfat/msdos is set, check the length and format,
error if it exceed the format size. Amend it so it is align with format
0xYYYYYYYY. This is done before image create and fstab update to ensure the
fsuuid are same in all followup process. if custom fsuuid length less than
expected, fill in "0".
[YOCTO #14161]
(From OE-Core rev: e71365fe128fe5e7d01232a1da62a3989e0d8eb2)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d9686ae511ef10a504becfd81bfe296b788e1456)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the ordering in the generated unidata.c file to aid reproducibility.
[YOCTO #14167]
(From OE-Core rev: c0f96eadf9a85c911ba551d619c32794bb620dde)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6d9c9f7604fd32ef926726a46ae053bbab6ccb4f)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "CVE:" line in the patch for CVEs 2020-14309, CVE-2020-14310, and
CVE-2020-14311 had commas between the CVE numbers, which resulted in
CVE-2020-14310 not being picked up as patched by cve-check.bbclass's
parsing. Remove the commas to match cve-check.bbclass's expectations.
(From OE-Core rev: f8aa7314f98748ecb7a9abc6702e795ae50b97a6)
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 396d5c0f9cffa4b54ae94738b1ef2b6fb545f082)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly:
Volgograd switches to Moscow time on 2020-12-27 at 02:00.
Changes to future timestamps
Volgograd changes time zone from +04 to +03 on 2020-12-27 at 02:00.
(Thanks to Alexander Krivenyshev and Stepan Golosunov.)
Changes to past timestamps
Correct many pre-1986 transitions, fixing entries originally
derived from Shanks. The fixes include:
- Australia: several 1917 through 1971 transitions
- Bahamas: several 1941 through 1945 transitions
- Bermuda: several 1917 through 1956 transitions
- Belize: several 1942 through 1968 transitions
- Ghana: several 1915 through 1956 transitions
- Israel and Palestine: several 1940 through 1985 transitions
- Kenya and adjacent: several 1908 through 1960 transitions
- Nigeria and adjacent: correcting LMT in Lagos, and several 1905
through 1919 transitions
- Seychelles: the introduction of standard time in 1907, not 1906
- Vanuatu: DST in 1973-1974, and a corrected 1984 transition
(Thanks to P Chan.)
Because of the Australia change, Australia/Currie (King Island) is
no longer needed, as it is identical to Australia/Hobart for all
timestamps since 1970 and was therefore created by mistake.
Australia/Currie has been moved to the 'backward' file and its
corrected data moved to the 'backzone' file.
Changes to past time zone abbreviations and DST flags
To better match legislation in Turks and Caicos, the 2015 shift to
year-round observance of -04 is now modeled as AST throughout before
returning to Eastern Time with US DST in 2018, rather than as
maintaining EDT until 2015-11-01. (Thanks to P Chan.)
Changes to documentation
The zic man page now documents zic's coalescing of transitions
when a zone falls back just before DST springs forward.
(From OE-Core rev: 9b291019c128652951e4ddd569813cd89843f6bb)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9d7643339b4db6609b2bad1f76599a54da9d17f2)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Causes intermittent autobuilder errors:
2020-12-21 19:34:23,035 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/devtool.py", line 68, in setUpModule
bb.utils.edit_bblayers_conf(bblayers_conf, None, None, bblayers_edit_cb)
File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/bitbake/lib/bb/utils.py", line 1460, in edit_bblayers_conf
(updated, newlines) = edit_metadata(newlines, ['BBLAYERS'], handle_bblayers)
File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/bitbake/lib/bb/utils.py", line 1290, in edit_metadata
if handle_var_end():
File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/bitbake/lib/bb/utils.py", line 1215, in handle_var_end
(newvalue, newop, indent, minbreak) = varfunc(in_var, full_value, op, newlines)
File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/bitbake/lib/bb/utils.py", line 1425, in handle_bblayers
res = edit_cb(layer, canonicalise_path(layer))
File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/devtool.py", line 60, in bblayers_edit_cb
shutil.copytree(pth, destdir, ignore=ignore_patterns('*.pyc', '__pycache__'))
NameError: name 'ignore_patterns' is not defined
(From OE-Core rev: d8bdee355b4d42f0488ed91a3e5939ae3e574c92)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Support for gdbm was made optional in 3260ad9e, but it was still being
used unconditionally.
(From OE-Core rev: a2eebe92daf0e0fb11422ea17f7029aeab2bcb9e)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 09d303ca295dc27874c72b30c37a64d1fdf4c5c0)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when ncurses-terminfo-base is not installed:
$ minicom
No termcap database present!
(From OE-Core rev: 071b3aa630861795b9459ddaace9e3dea6eab41e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 15198ebe8a0fc58c2d1122b956fca092c66a0d41)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when ncurses-terminfo-base is not installed:
$ infocmp
infocmp: couldn't open terminfo file linux.
The required file is in ncurses-terminfo-base
(From OE-Core rev: 6ecf1704f4dc93e00b1d88ad24f7784897187a72)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f3e0a6bf1b7d9009c253e3f97df8736ecf3aa79b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compiling gcc-runtime for i686 libatomic, libgomp and libitm are
compiled with additional '-march' and '-mtune' overrides. This typically
does not cause build errors (e.g. core2-32 tune), and results in less
optimally tuned outputs. However with specific TUNE_CCARGS (e.g. has
'-mfpmath=sse' but not '-msse*'), the build errors with conflicting
'-mfpmath' options.
This is caused by gcc-runtime specific configure scripts and Makefile
options that override by adding additional '-march'/'-mtune' args. OE
builds gcc-runtime differently to other build systems, and provides
target specific arch/tune options directly. As such, this change adds a
patch for gcc to remove the specific cases where the args are added.
(From OE-Core rev: 5ce0102ca75754f0a7c777505678677cdf2a62bc)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d39b686cc5fcc89405ffeb560ea64b5d305b0608)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
go 1.15 has reworked internal linker, which has resulted in regressions
in OE where native binaries generated using internal linker in some
cases result in corruption during populate_sysroot e.g. glide-native
crashing when used after relocation.
This improved reliability of native binaries working especially when
they use cgo or pie build modes
(From OE-Core rev: 7fa9d5719aa02a9baa4f389c2d24f5de8939f46b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Otavio Salvador <otavio.salvador@ossystems.com.br>
Cc: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit daf4856ea3ccafc05c808a34d4c6af2bfafea12f)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Define CXX_FOR_TARGET and CC_FOR_TARGET for target go
since we are cross building it, it helps in defining the compiler
for cgo on target
backport a patch to fix CGO_LDFLAGS regression like below
Fixes
| Building std for target, linux/arm.
| go build runtime/cgo: invalid flag in go:cgo_ldflag: -Wl,-O1
(From OE-Core rev: 4b923dc9e77dfcfec7c9004483896d347bd88bdb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a71d1b58e8cf0976a614c49aa2dfe1e0605dfe95)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set PV directly to allow automated version updates between point releases.
(From OE-Core rev: 7a0f56c2c92c21f5da6635d5f3089e554a076655)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 84034ea18a9fb1a012a1ecdc3a84296b08d3cc23)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add some temporary bumps to versions to change the output hash so we
really can take advantage of the groff-native reproducibility fix.
(From OE-Core rev: ea9615d82b7d180038967143f16d30ed9d8dc766)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af9bd5a03ecf45e92868bc49b1de5c27d94eff6f)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
groff chooses a default papersize depending on the value from /etc/papersize
and failing that, the search domain in /etc/resolv.conf based on the comment
in configure:
"""
If the top-level domain is two letters and it's not 'us' or 'ca'
then they probably use A4 paper.
"""
Oddly, my system sets to "a4" in /etc/papersize which means it defaults to
"letter" since its != "A4".
These defaults ripple through to cause the output of man-db to change depending
on which default value was selected.
To resolve this, set a default of "A4" since that covers the larger population
of the two default values.
(From OE-Core rev: e300796a7877ba854d5793c660a9b924a5942874)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6cb511bfbd18258c782ee18f054a2590e4daaddc)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you build on a system with git < 2.14 from scratch (e.g. debian9), the
tree will be marked as "dirty" and the version will include "-dirty", leading
to a reproducibility problem. The issue is the inode count for Licnses/README
changing due to do_populate_lic hardlinking a copy of the file. We avoid
this by ensuring the index is updated with a "git diff" before the
u-boot machinery tries to determine the version.
build$ ../git/scripts/setlocalversion ../git
""
build$ ln ../git/
build$ ln ../git/README ../foo
build$ ../git/scripts/setlocalversion ../git
""-dirty
(i.e. creating a hardlink dirties the index)
(From OE-Core rev: bd6495ba968f359c53e75a61e373124acf33ead5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a4de915af9e2c4d365527ad09286483b2ee904fc)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On one of my buildservers I noticed perl do_install failing with the
following message:
| rm: cannot remove '<OEROOT>/tmp-rpb-glibc/work/armv8-2a-linaro-linux/perl/5.32.0-r0/image//usr/lib/perl5/5.32.0/*/CORE/libperl.so': No such file or directory
I tracked this down to shell being dash rather than bash not being able
to expand this glob in the middle of the filename. So replace the glob
expansion with the simpler one which works in all cases.
(From OE-Core rev: 784ca95f7e3a816be9c9782944fa49b896d58690)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d1ea1b5c12120abdd085dc4eb69120af9258a99b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This backports a fix from glibc's master branch, which solves a
regression in 2.32 with adjtime() where it would seg fault if being
called with delta == NULL on 32 bit machines.
(From OE-Core rev: 2f8da84311bb0a3b6eb93e4d5fe55914a84e68d7)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aeecccf17c45c840c070e2de95c602a3c7e9d30e)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lttng-modules doesn't currently build against the lastest 5.10-rc
versions.
Upstream lttng does have fixes for the issues, but hasn't done a
release that contains them yet. There are other patches on the
2.12.x branch, but I've skipped them for now as they aren't
necessary for 5.10 builds, and can be picked up with the next
full update.
We also bump the dev-upstream hash to make them easier to pickup
for those building from git.
(From OE-Core rev: 6d1169d2c046d8fa6220ab04863672557aa42cf1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 47201e98bb293d59c5d41986d066fd7614b914fa)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s):
375e7ee20260 Linux 5.4.78-rt44
c948a34d2755 Linux 5.4.77-rt43
8189406f8f2b Linux 5.4.74-rt42
0856261877e2 timers: Don't block on ->expiry_lock for TIMER_IRQSAFE
416edb155e5d ptrace: fix ptrace_unfreeze_traced() race with rt-lock
6bd85935ab11 mm/memcontrol: Disable preemption in __mod_memcg_lruvec_state()
57ada856a2a8 net: Properly annotate the try-lock for the seqlock
1c80ecf69d2d Linux 5.4.74-rt41
d4318c110dc6 Linux 5.4.70-rt40
bdfc6168388d Linux 5.4.69-rt39
b6e0ef250594 Linux 5.4.66-rt38
151876f794fc Linux 5.4.61-rt37
4bdac3f47b53 Linux 5.4.59-rt36
cf9b41798238 Linux 5.4.58-rt35
631b98ae597b Linux 5.4.55-rt34
77d701a69ebb Linux 5.4.54-rt33
130cf1b82691 rwsem: Provide down_read_non_owner() and up_read_non_owner() for -RT
6ab4141069fc net: phy: fixed_phy: Remove unused seqcount
291d163db65a Bluetooth: Acquire sk_lock.slock without disabling interrupts
4c9f5d78fed4 workqueue: Sync with upstream
(From OE-Core rev: 043d6b0910f378b04185615e851647ebedc439aa)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dfae903dd2538d57cc75e3b8b731515deb7f5526)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a second list sorting problem in a generator script within grub,
add a sort() of a list to resolve this.
(From OE-Core rev: 5d758a1568e5bd03fc55885d1a26de34aee7ebbd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cb5e96e05930eaff4d679166416d6c84d6e3236b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing reproducibility issue on the autobuilder due to changing
module dependency ordering. Add some sorting to an awk script to fix this.
(From OE-Core rev: c494d69efbc9035d6d9ff8dae8a606aeaf378adc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 925ddd5edccbfec52ff45c1b54ab2ae1bfe0d57c)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CVE was against a cups plugin which is obsolete and we don't include.
(From OE-Core rev: 16f70caa2360f880a8793d37dd149ca8caad386f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5f7cb9f6ec4b14f992d265b8c67a9f5589f9b842)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This an Ububtu specific issue:
The CUPS AppArmor profile incorrectly confined the dnssd backend
due to use of hard links. A local attacker could possibly use this
issue to escape confinement. This flaw affects versions prior to
2.2.7-1ubuntu2.1 in Ubuntu 18.04 LTS, prior to 2.2.4-7ubuntu3.1
in Ubuntu 17.10, prior to 2.1.3-4ubuntu0.5 in Ubuntu 16.04 LTS,
and prior to 1.7.2-0ubuntu1.10 in Ubuntu 14.04 LTS
(From OE-Core rev: 2b611ac04446b722c1b11d49cf90667b99e735ba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 22e89983a8f83a369d83bc67e4f3492bc50db648)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Package firmware for Lontium lt9611uxc DSI to HDMI bridge, found e.g. on
Qualcomm RB5 platform.
(From OE-Core rev: e4092d18f9d549d1ddddad0027b2301fe1b137d8)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4d16922943ffa6003d611c367b934d199c549c4c)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pseudo-native is a bit special. It conditionally compiles in support for
xattr, statx and statvfs amongst other options. If a pseudo-native binary is
used on a system where these functions are present but it wasn't compiled in
we see hard to debug permissions problems.
An example is the devtool.DevtoolExtractTests.test_devtool_deploy_target
oe-selftest which shows a cryptic error:
File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/lib/oeqa/selftest/cases/devtool.py", line 1388, in test_devtool_deploy_target
self.assertEqual(filelist1, filelist2)
File "/usr/lib64/python3.9/unittest/case.py", line 831, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/lib64/python3.9/unittest/case.py", line 1037, in assertListEqual
self.assertSequenceEqual(list1, list2, msg, seq_type=list)
File "/usr/lib64/python3.9/unittest/case.py", line 1019, in assertSequenceEqual
self.fail(msg)
File "/usr/lib64/python3.9/unittest/case.py", line 670, in fail
raise self.failureException(msg)
AssertionError: Lists differ: ['-rwxr-xr-x 6000 6000 /etc/init.d/mdmonitor', '-rw-r-[10124 chars]n.8'] != ['-rwxr-xr-x root root /etc/init.d/mdmonitor', '-rw-r-[10124 chars]n.8']
First differing element 0:
'-rwxr-xr-x 6000 6000 /etc/init.d/mdmonitor'
'-rwxr-xr-x root root /etc/init.d/mdmonitor'
This is due to a version of pseudo without statx being used on a system where
ls uses statx, hence the files are displayed as 6000.6000 instead of root.root.
Avoid this by always building pseudo-native for the specific distro in question rather
than using a universal sstate feed.
This hopefully fixes one of the mysterious AB-INT issues.
(From OE-Core rev: d3ec2ecdf8915a9fb1c4ea36a29b05090abf089c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6e3785a3f1f3cf68f5fe101cd6bebe91db165973)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yi pointed out that commit 1a70a92d1f10 ("kernel-module-split.bbclass:
identify kernel modconf files as configuration files") is
unintentionally adding the actual kernel /lib/modules .ko files to the
CONFFILES variable.
The root cause is the re-use of the 'files' variable in that commit.
Fix it by using a separate variable to keep track of the generated
module .conf files that need to be marked as configuration files.
Fixes: 1a70a92d1f10 ("kernel-module-split.bbclass: identify kernel modconf files as configuration files")
Reported-by: Yi Zhao <yi.zhao@windriver.com>
(From OE-Core rev: 6cc93de69fc53af0a3b7fb8d6c6201d4911e78b9)
Signed-off-by: Gratian Crisan <gratian.crisan@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit db5f2ca532db4f0d2e05b7cb5f9d146e1dd76ab3)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2013-0221 through -223 are all SUSE-specific, so add them to the
whitelist.
(From OE-Core rev: b76b2b304368eaf77800fc4f957cad05169040ca)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 59f2120de3b6d53bbfb9db858ffb8b7b20c8d1ce)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This in particular addresses vulkan-samples reproducibility which made me scratch my
head for a while.
(From OE-Core rev: 9010bd445740344a9a3c983e5767552eb684af12)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4a2936126f12eeacecced051fa339c32c1f16576)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current implementation will always pick an existing templateconf.cfg if
present else it will use the one from OE. A user might not always want to pick
an existing tempalteconf.cfg even if its present. Introduce
SDK_CUSTOM_TEMPLATECONF variable to provide an option for the user to specify if he
wants to use an existing custom templateconf.cfg or not
If SDK_CUSTOM_TEMPLATECONF=='1' then enable custom templateconf.cfg. By default
SDK_CUSTOM_TEMPLATECONF is set to '0'
(From OE-Core rev: c59ffcc4ba70cec8b6342a0205b880953919cba7)
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d0f863a24d05bddeb21e181fb01fa0051c79d7d8)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update command used for cross compilation to include ${CONFIGUREOPTS}
to ensure right arguments are passed for cross compiling on any host.
(From OE-Core rev: b1a1e936169d9db8d5de46aace9370f5e695c24d)
Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e995e67bc7a3d30adf9f8d0d2f4df92a941baeae)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We now depend on tar 1.28, so talking about older tar versions is just
confusing.
(From OE-Core rev: 22c7bbdaecd9eea52bf919e363ee68ce8256bdbd)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f19e43dec63a86c200e04ba14393583588550380)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the selftests failed over the weekend with "access denied" errors
fetching this tarball. Instead of relying on upstream when fetching the
tarball, use the Yocto source mirrors instead.
(From OE-Core rev: bae9a74f4fb86d91721b493e97da5a5034c62828)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 988e0ff4131f46dfed14516ff5f61d72b9fb6941)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix below error:
wic ls ./core-image-minimal-intel-x86-64.wic
ERROR: Can't find executable parted
wic depend on some tools like parted/mtools/..., and we have those
tools in native_sysroot. so above problem can be avoided by
run command like wic ls imagename.wic --native-sysroot <path>
but this cannot cover condition that usr don't have build the
image, the image just copy from somewhere.
(From OE-Core rev: 417bb4b01386d6f83f56ba8cd36b9408761de25e)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c0eda6ec09395f3a04cb80107a3ca33a063b21f8)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to install sudo and lib32-sudo at same time:
| Error: Transaction test error:
| file /usr/libexec/sudo/audit_json.so conflicts between attempted
installs of lib32-sudo-1.9.3p1-r0.core2_32 and sudo-1.9.3p1-r0.core2_64
| file /usr/libexec/sudo/group_file.so conflicts between attempted
installs of lib32-sudo-1.9.3p1-r0.core2_32 and sudo-1.9.3p1-r0.core2_64
Pass ${libdir} to configure option --libexecdir of sudo that it installs
plugin libraries to /usr/lib{,64} rather than /usr/libexec/. Then add a
patch to fix multilib conflict of sudo.conf.
[RP: Add missing Upstream-Status]
(From OE-Core rev: 9d67dd5a6363b9fae10784e8056e469ba2ef5735)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c9b6974cfcac370c6848d28400e0546ac85512e9)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a CPE version field is just *:*:*:* it should be handled the same as
-:*:*:*, that is 'all versions'. To ease handling, transform this case
to use -.
(From OE-Core rev: 4116c4bbc896d0b445efc294603f02dedd0d3674)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 04a9bc4ca5294fe6834513669c7746a824d12b04)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PACKAGECONFIG[directfb] already adds directfb to the build
dependencies. But the automatically generated runtime
dependencies do not add the directfb package to the runtime
dependencies. Most likely this happens because libsdl2 does not link
against directfb but uses dlopen() or similar. Thus, the runtime
dependency to directfb needs to be declared explicitly.
(From OE-Core rev: bcc2df0f95d173d6ec91ac9ff9fd4ed8b0a64a55)
Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 62d3cbe7c8261c1c875ff6da11572409262aaf02)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 23:01:48 +00:00
279 changed files with 10104 additions and 1496 deletions
status.addresult("A path included in PSEUDO_IGNORE_PATHS " + str(i) + " and the path " + str(j) + " overlap and this will break pseudo permission and ownership tracking. Please set the path " + str(j) + " to a different directory which does not overlap with pseudo controlled directories. \n")
# Some third-party software apparently relies on chmod etc. being suid root (!!)
status.addresult("PATH contains '.', './' or '' (empty element), which will break the build, please remove this.\nParsed PATH is " + str(paths) + "\n")
#Check if bitbake is present in PATH environment variable
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.