summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ppp: Fix reproducibility issueRichard Purdie2021-01-082-0/+41
| | | | | | | | | | Depending on which patches the make program has, the internal or external utmp could would be used. Add add a patch which avoids the issue and makes the build determnistic. We saw the regression on ubuntu1604. (From OE-Core rev: 77e8c0f0e1236a134148dfb2c4ba5e8a612984fe) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ppp: Update 2.4.8 -> 2.4.9Richard Purdie2021-01-089-473/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first ppp release in a long time. Many patches were resolved upstream: * musl fixes were merged * EAP patch was a backport added upstream * cflags were fixed upstream * CVE fix was merged upstream and a backport * pcap header from the host was fixed upstream * suid bits during install was removed upstream The only patch left was the /var/ redirect for resolv.conf which no longer applied cleanly after upstream changes. For this one the patch will need to be rewritten (and preferably submitted upstream) by someone who needs/uses it. It was presumbaly for RO rootfs and may be resolved by symlinks in modern system usage anyway. Tweak the files pulled into the pppoe package for a compatibility symlink and module rename. Add CC to the OEMAKE command to allow builds correctly. [Big thanks to Alex Kanavin for a lot of the work with upstream and pre-release testing of this] (From OE-Core rev: b524ba3e7941b9112ae4b6ae4aa7795c59ff0d16) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Add /run/ to PSEUDO_IGNORE_PATHSRichard Purdie2021-01-081-1/+1
| | | | | | | | | | | | 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: 1d1bf51217e8b4d54af28739d3271484ee5a7974) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpam: support usrmergeChangqing Li2021-01-082-0/+29
| | | | | | | (From OE-Core rev: d7864a46092b8030accbc8c9a1c9055a762d69ba) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache.bbclass: Set CCACHE_TEMPDIRRobert Yang2021-01-081-0/+4
| | | | | | | | | | | | | Fixed when build with buildtools-tarball: $ bitbake linux-libc-headers HOSTCC arch/x86/tools/relocs_common.o ccache: error: Failed to create directory /run/user/0/ccache-tmp: Permission denied (From OE-Core rev: 98f52dba421cc2e14794e0b811ccac38f0683713) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache: Extend to nativesdkRobert Yang2021-01-081-1/+1
| | | | | | | | | | | | Now we have to use host's ccache as described by: f5b29367af ccache.bbclass: use ccache from host distribution So extend it to nativesdk and will add it to buildtools-tarball. (From OE-Core rev: 7daf1e6e300e15e4be719e928a9100f4f454f405) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache: Fix build on aarch64/clangKhem Raj2021-01-082-0/+36
| | | | | | | | | | | asm option checks in cmake gets it wrong to just check compiler options to decide if SSE/AVX is supported, this accidentally then succeeds on aarch64 and ends up compiler failures on aarch64 with clang (From OE-Core rev: 0dea25b4296a66ec5c6d7bf5250ae0090e9b4016) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdbm: upgrade 1.18.1 -> 1.19zhengruoqin2021-01-082-50/+2
| | | | | | | | | | gdbm-fix-link-failure-against-gcc-10.patch Removed since this is included in 1.19 (From OE-Core rev: d96bb907652bd83abc1386555a93678dd64ced4f) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cantarell-fonts: upgrade 0.201 -> 0.301zhengruoqin2021-01-081-1/+1
| | | | | | | (From OE-Core rev: 9a2a23d4ae4ea9eedac62c0205429cab43562fc3) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* variables: Add documentation for KERNEL_DTC_FLAGSOvidiu Panait2021-01-051-0/+9
| | | | | | | | | Add documentation for the newly introduced KERNEL_DTC_FLAGS variable. (From yocto-docs rev: b2d5bf48fe4e76446a38762839865176294a4a3c) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-yocto-bsp: use mmcblk0 for root partitionVivien Didelot2021-01-051-1/+1
| | | | | | | | | As for the boot partition, use mmcblk0 for --ondisk, not mmcblk. (From meta-yocto rev: c86263d650058d85d78ad2b8497eb1104e7b83d0) Signed-off-by: Vivien Didelot <vdidelot@pbsc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-yocto-bsp: use provided variablesVivien Didelot2021-01-051-1/+1
| | | | | | | | | | | | | | | We already have the following variables defined above IMAGE_BOOT_FILES: SPL_BINARY = MLO KERNEL_IMAGETYPE = zImage KERNEL_DEVICETREE = am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb So use them instead of repeating their values. (From meta-yocto rev: be07cc4f4e729905065ac6fbf1d46ebfdd79cf8f) Signed-off-by: Vivien Didelot <vdidelot@pbsc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* README.hardware: fix the dd commandVivien Didelot2021-01-051-1/+1
| | | | | | | | | Add the missing if= prefix for the input image in the dd command. (From meta-yocto rev: bebe392a37e78f6a00d7ef5c50fe7e14bc187e95) Signed-off-by: Vivien Didelot <vdidelot@pbsc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* README.hardware: prettify headlineVivien Didelot2021-01-051-1/+1
| | | | | | | | | Match the length of the headline with the above title. (From meta-yocto rev: 7598b9cbb6429e65c9eb61d385e4717a59b0a44c) Signed-off-by: Vivien Didelot <vdidelot@pbsc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky-alt: don't use conditional assignment for preferred kernel versionBruce Ashfield2021-01-051-1/+1
| | | | | | | | | | | | | | | | The include of poky.conf already sets a preferred kernel version, so the one in the alt-config won't have any impact. This normally isn't a problem, but when we are introducing a new kernel that doesn't yet have compatibility with all machines, it throws warnings. WARNING: preferred version 5.10% of linux-yocto not available (for item kernel-module-x-tables) WARNING: versions of linux-yocto available: 5.4.69+gitAUTOINC+1c358e1969_cfcdd63145 5.8.13+gitAUTOINC+b976de4f41_5981001bf0 (From meta-yocto rev: a7b41f311eb79a2a112a75160b6d557029ca9904) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-bsp: explicitly set preferred version for reference boardsBruce Ashfield2021-01-051-0/+6
| | | | | | | | | | | | | When we are bumping the default kernel version for the qemu* reference boards, but before the h/w reference boards have been updated, we need to explicitly set the default kernel version for those boards. Otherwise, we'll end up with warnings about preferred versions of kernel modules not being available (From meta-yocto rev: da27ca50eebf80463cb8d7b85f3b705254823413) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky/poky-tiny: set preferred kernel to 5.10Bruce Ashfield2021-01-052-3/+3
| | | | | | | (From meta-yocto rev: c368e39620afd92e0066bc4f5ea1eba6b8f00fd6) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* diffstat: point the license checksum at the licenseRoss Burton2021-01-051-3/+1
| | | | | | | | | | | | 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: 23cb39a5fa2a55681e7bc2605f435135cec9173b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* psplash (sysvinit): add textual updatesTrevor Woerner2021-01-053-1/+11
| | | | | | | | | | | | | | | | | | | | | | The psplash program contains a hidden text box immediately above the progress bar. Any text sent via a "MSG" command through psplash's fifo will be displayed, centred, above the progress bar. Add the ability to show which startup script is currently running, in sync with updates to the progress bar. If a startup script takes a bit longer than others and the progress bar stops momentarily, this allows the user to know which script is responsible. This feature is added with a knob, default off, for enabling or disabling this feature. The knob is in the form of a PACKAGECONFIG against the sysvinit recipe: psplash-text-updates NOTE: this knob can be changed in the filesystem at runtime by editing /etc/default/rcS regardless of how it is set in the build. (From OE-Core rev: 6a48631e24341895f13029fb7c69dd67031f53c1) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* psplash: fix working on first boot (sysvinit)Trevor Woerner2021-01-053-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The psplash program has a mechanism for showing updates graphically in the form of a progress bar. The program is told when and how much to fill the progress bar via text messages sent through a fifo. If the fifo doesn't exist when the psplash program starts, it tries to create it. If the fifo doesn't exist or can't be created, the psplash program will refuse to run. In various circumstances when a system is booted for the very first time, the filesystem is mounted, initially, read-only. As a result the psplash program is not able to run. On systems where the root filesystem is not meant to be read-only, it will eventually be mounted read-write. Therefore the psplash program can run on shutdown, and all subsequent boots. Only the first boot is affected. If a fifo is created and included in the filesystem as part of the recipe, then filesystems that are meant to be read-only will have psplash work, as well as the cases where (on first boot) a read-write filesystem is initially mounted read-only. NOTE: this is only an issue with sysvinit, and non-qemu machines. systemd-based systems don't suffer from this first-boot issue, and neither do the qemu machines. NOTE 2: when psplash is done, it removes the fifo. Therefore the fifo used for communicating with psplash doesn't hang around unnecessarily in the filesystem. (From OE-Core rev: d20978f9bce3caf473f5b4f55d645dbeabc1642d) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* PSPLASH_FIFO_DIR: refactorTrevor Woerner2021-01-053-3/+8
| | | | | | | | | | | Add an entry for the psplash fifo directory to /etc/default/rcS and have the pieces of code that need it source it from there rather than duplicating the definition in multiple places throughout the code. (From OE-Core rev: dc4065b6f101e6418301e0cb8d73ae3a1b2bdfb2) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Add mkfifo to HOSTTOOLSRichard Purdie2021-01-051-1/+1
| | | | | | | | | This is about to be needed by the psplash recipe and is a standard part of coreutils so usually present on hosts. (From OE-Core rev: 99206612a58e6b69718910e0806d9d36997b2fba) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe-pkgdata-util: Added a test to verify oe-pkgdata-util without parametersMilan Shah2021-01-051-0/+6
| | | | | | | | | | | | | A test is implemented on poky/meta/lib/oeqa/selftest/pkgdata.py to test the scenario when oe-pkgdata-util is executed without parameters and help is displayed. See [YOCTO #10726] for detailed bug information. (From OE-Core rev: 6b4e2eafa6eb71ca94ccc8a18d05b473b352367c) Signed-off-by: Milan Shah <mshah@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* timezone: upgrade to 2020fOvidiu Panait2021-01-051-3/+3
| | | | | | | | | | | | | | Release 2020f - 2020-12-29 00:17:46 -0800 Change to build procedure 'make rearguard_tarballs' no longer generates a bad rearguard.zi, fixing a 2020e bug. (Problem reported by Deborah Goldsmith.) (From OE-Core rev: c7efa4d28d632d415ca574140586570ca376caf6) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* conf/machine: bump qemu preferred versions to 5.10Bruce Ashfield2021-01-052-2/+2
| | | | | | | (From OE-Core rev: 804749e401bff95524e749dac5fca722e7047a2d) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.10: update to v5.10.2Bruce Ashfield2021-01-053-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: d1988041d19d Linux 5.10.2 dadaf794f207 serial: 8250_omap: Avoid FIFO corruption caused by MDR1 access ff654f1d31d5 ALSA: pcm: oss: Fix potential out-of-bounds shift 07747a44be4f USB: sisusbvga: Make console support depend on BROKEN 2440c1cb2514 USB: UAS: introduce a quirk to set no_write_same d769a22dc01f xhci-pci: Allow host runtime PM as default for Intel Maple Ridge xHCI 3203c4abf505 xhci-pci: Allow host runtime PM as default for Intel Alpine Ridge LP 1bee58e891f2 usb: xhci: Set quirk for XHCI_SG_TRB_CACHE_SIZE_QUIRK 2bd9751e6790 xhci: Give USB2 ports time to enter U3 in bus suspend f1e6ab052c63 ALSA: usb-audio: Fix control 'access overflow' errors from chmap cc3edd81ef03 ALSA: usb-audio: Fix potential out-of-bounds shift d8f0c9ec3638 USB: add RESET_RESUME quirk for Snapscan 1212 5fb2a55ad3e0 USB: dummy-hcd: Fix uninitialized array use in init() d483f5e5ce53 USB: legotower: fix logical error in recent commit 2902e302991a ktest.pl: Fix the logic for truncating the size of the log file for email 4e282a8dff80 ktest.pl: If size of log is too big to email, email error message d3f4117b0275 ptrace: Prevent kernel-infoleak in ptrace_get_syscall_info() (From OE-Core rev: b58d9eaac1b6aa2cb1f5e575680a37f55bebdcf1) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: introduce v5.10 reference kernel recipesBruce Ashfield2021-01-053-0/+131
| | | | | | | | | | | | | | The 5.10 kernel will replace 5.8 as the reference kernel for the next release. With this commit, we add standard/tiny/rt support for that kernel across all of the supported architectures and qemu reference machines. (From OE-Core rev: 74c5b98979172c0057883568df453da019abe235) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* machine/qemuarm*: add vmalloc kernel parameterBruce Ashfield2021-01-052-2/+2
| | | | | | | | | | | | | | On kernel's v5.11+, we get the following warning after boot: [ 47.287826] vmap allocation for size 3149824 failed: use vmalloc=<size> to increase size It can be fixed by passing the vmalloc page size explicitly for our ARM machines. (From OE-Core rev: 5c6064e1a38f4dbb1ab3fa04adb1c772817826af) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-headers: update to v5.10Bruce Ashfield2021-01-052-3/+4
| | | | | | | | | | | | | | As the reference kernel is going to v5.10, we also move the libc headers to match. This is also the latest LTS kernel, so is appropriate for a libc-headers version bump. This has been tested against all supported architectures for both glibc and musl. (From OE-Core rev: 1f1412c9a52c4fa3ded4f87a0c7ffdc4a243d632) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-dev: bump to v5.11-rcBruce Ashfield2021-01-051-1/+1
| | | | | | | (From OE-Core rev: 1c365dfda0dfd5be6e919928730093fd39b62078) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.85Bruce Ashfield2021-01-053-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: 3dd19af60e5e4059ce7c7a67ff16fba1cb00de80) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: terms: Fix poky tarball root folderElvis Stansvik2021-01-041-1/+2
| | | | | | | | | When extracting the tarball the root folder is not named `poky`, but e.g. `poky-gatesgarth-24.0.0`. (From yocto-docs rev: 8c92f709cbd96310b7153dd55dae8fa4899a7818) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: CVE-2020-28916Li Wang2021-01-032-0/+50
| | | | | | | | | | | | | References: https://nvd.nist.gov/vuln/detail/CVE-2020-28916 backport patch from: https://git.qemu.org/?p=qemu.git;a=commit;h=c2cb511634012344e3d0fe49a037a33b12d8a98a (From OE-Core rev: cbc20b9d8d119bfd777f83432c760dcdb94f07f9) Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: CVE-2020-25723Li Wang2021-01-032-0/+52
| | | | | | | | | | | | | | References: https://nvd.nist.gov/vuln/detail/CVE-2020-25723 https://bugzilla.redhat.com/show_bug.cgi?id=1898579 backport patch from: https://git.qemu.org/?p=qemu.git;a=commit;h=2fdb42d840400d58f2e706ecca82c142b97bcbd6 (From OE-Core rev: 3a52f12bd08bd6f0e386c78f9f87acacdb7714cb) Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dropbear: Disable lastlog and wtmp on muslKhem Raj2021-01-031-0/+3
| | | | | | | | | Not provided by musl library (From OE-Core rev: 97dc1a2844d1f954fc0c86fe406ffbacc88a2133) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh: Disable lastlog on muslKhem Raj2021-01-031-2/+2
| | | | | | | (From OE-Core rev: 0e9b2fe106e3c6c0a1f27e7a56a11e86e5de371e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rxvt-unicode: Disable lastlog on musl systemsKhem Raj2021-01-031-1/+1
| | | | | | | | | it needs logwtmp implementation which is not there in musl (From OE-Core rev: e27447fe6abc35860c5d99d9aa259f86b6a002b0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow: Remove lastlog pam plugin on musl systemKhem Raj2021-01-031-0/+2
| | | | | | | | | lastlog needs logwtmp which musl does not provide (From OE-Core rev: f2b826fe5384dde4aa52ce862cd3098acb4feea2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* man-db: Fix reproducibility issueRichard Purdie2021-01-031-0/+1
| | | | | | | | | | | | | | | | | | | | | 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: 769f8be29a192fd4fa0c4752f851fa3728d71179) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic/direct/kparser: ensure fsuuid for vfat and msdos align with formatLee Chee Yang2021-01-012-0/+24
| | | | | | | | | | | | | | | | | | | | | | 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: d9686ae511ef10a504becfd81bfe296b788e1456) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache: Build fixes for clang and riscv32Khem Raj2021-01-013-2/+158
| | | | | | | | | | | Backport patch to improve AVX detection helps build with clang Add proposed patch to fix build with 32bit architectures using 64bit time_t (From OE-Core rev: 15a21998ef8898e11481e77535550fa7ddfd4705) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpam: Drop musl patchesKhem Raj2021-01-013-131/+0
| | | | | | | | | | These issues are addressed in libpam overtime and no longer needed thusly in 1.5.x (From OE-Core rev: 488c554623839d17436333894f9f4b244347de9d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: Further reproducibility fixRichard Purdie2021-01-011-0/+16
| | | | | | | | | | Fix the ordering in the generated unidata.c file to aid reproducibility. [YOCTO #14167] (From OE-Core rev: 6d9c9f7604fd32ef926726a46ae053bbab6ccb4f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch: fix CVE-2019-20633Scott Murray2021-01-012-0/+32
| | | | | | | | | | | | | | | * CVE detail: https://nvd.nist.gov/vuln/detail/CVE-2019-20633 * upstream tracking: https://savannah.gnu.org/bugs/index.php?56683 * Fixes potential for double free after incomplete fix for CVE-2018-6952 - src/pch.c (another_hunk): Avoid invalid memory access in context format diffs. (From OE-Core rev: be71dd2cc16a4c0d244a76a748f08ca0d9bfeba0) Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: fix "CVE:" line in one of the patchesScott Murray2021-01-011-1/+1
| | | | | | | | | | | | 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: 396d5c0f9cffa4b54ae94738b1ef2b6fb545f082) Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdk-pixbuf: fix CVE-2020-29385Lee Chee Yang2020-12-312-0/+56
| | | | | | | | | | | | | | Backport patch from https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/bdd3acbd48a575d418ba6bf1b32d7bda2fae1c81 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) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dhcpcd: upgrade 9.3.4 -> 9.4.0Yi Zhao2020-12-313-89/+1
| | | | | | | | | | | Drop backported patches: 0001-Linux-Fix-privsep-build-by-including-sys-termios.h-f.patch 0001-privsep-Fix-Linux-i386-for-SECCOMP-as-it-just-uses-s.patch (From OE-Core rev: abb05cbfd954775decbd6556d3d5f036ebb01fe3) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/suspend : add test for suspend stateTeoh Jay Shen2020-12-311-0/+33
| | | | | | | | | This test case is checking the command and LAN device behaviour before and after suspend state. The Test_if_LAN_device_works_well_after_resume_from_suspend_state and standby manual test cases from oeqa/manual/bsp-hw can be replace by this runtime test. (From OE-Core rev: 10728035a606483ea67f6cb8ba5779558856593a) Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libexif: fix CVE-2020-0198; CVE-2020-0452Changqing Li2020-12-313-0/+107
| | | | | | | (From OE-Core rev: 46d837442ab216941df2d02f60c69155463e02d8) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ell: upgrade 0.33 -> 0.35Alexander Kanavin2020-12-313-2/+55
| | | | | | | (From OE-Core rev: 69952f5bf247fc42103a249a48213017f50e319d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>