summaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2020-12-24linux-yocto/5.4: update to v5.4.83Bruce Ashfield
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 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24linux-yocto/cfg: qemuarm64-gfx.cfg: add CONFIG_INPUT_UINPUTBruce Ashfield
Integrating the following commit(s): qemuarm64-gfx.cfg: add CONFIG_INPUT_UINPUT This will address libinput ptest failures: https://www.kernel.org/doc/html/latest/input/uinput.html https://wayland.freedesktop.org/libinput/doc/latest/test-suite.html qemux86_64 already has it enabled. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24linux-yocto/5.4: update to v5.4.82Bruce Ashfield
Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: ec274ecd62f9 Linux 5.4.82 4460a7c979ee RDMA/i40iw: Address an mmap handler exploit in i40iw 07434172c58b tracing: Remove WARN_ON in start_thread() 6ad995b851cb Input: i8042 - add ByteSpeed touchpad to noloop table dfe5d9a8307e Input: xpad - support Ardwiino Controllers c38a7023c00a ALSA: usb-audio: US16x08: fix value count for level meters 8cd76dacd3dc net/mlx5: Fix wrong address reclaim when command interface is down 2598dd80b801 net/mlx5: DR, Proper handling of unsupported Connect-X6DX SW steering 8f92330b0873 net/sched: act_mpls: ensure LSE is pullable before reading it 1086f789060a net: openvswitch: ensure LSE is pullable before reading it ba203b92a829 net: skbuff: ensure LSE is pullable before decrementing the MPLS ttl 892e08e0b4f3 net: mvpp2: Fix error return code in mvpp2_open() 7c3894f695e4 chelsio/chtls: fix a double free in chtls_setkey() 178da08f9b5b vxlan: fix error return code in __vxlan_dev_create() 5405a299b8c1 net: pasemi: fix error return code in pasemi_mac_open() dc469f423654 cxgb3: fix error return code in t3_sge_alloc_qset() 8bfe5b73b185 net/x25: prevent a couple of overflows 187a6daf5db4 net: ip6_gre: set dev->hard_header_len when using header_ops a6cd76132872 geneve: pull IP header before ECN decapsulation 2b714b607f24 inet_ecn: Fix endianness of checksum update when setting ECT(1) 9a3cce1ceee4 ibmvnic: Fix TX completion error handling 40caea31dd56 ibmvnic: Ensure that SCRQ entry reads are correctly ordered d126c30eb30d chelsio/chtls: fix panic during unload reload chtls 8a1bb298f75f dt-bindings: net: correct interrupt flags in examples af0b082e16fb ipv4: Fix tos mask in inet_rtm_getroute() 4615228a50f9 netfilter: bridge: reset skb->pkt_type after NF_INET_POST_ROUTING traversal 294de8933adb sched/fair: Fix unthrottle_cfs_rq() for leaf_cfs_rq list c4405cdf96f4 ima: extend boot_aggregate with kernel measurements 733729d3e0e4 staging/octeon: fix up merge error 6dd37fdc9550 bonding: wait for sysfs kobject destruction before freeing struct slave beead010654d usbnet: ipheth: fix connectivity with iOS 14 f057c4d226f1 tun: honor IOCB_NOWAIT flag 538008749df2 tcp: Set INET_ECN_xmit configuration in tcp_reinit_congestion_control 9a62c8229cff sock: set sk_err to ee_errno on dequeue from errq 7f0ddd41e289 rose: Fix Null pointer dereference in rose_send_frame() f2f25bc79782 net/tls: Protect from calling tls_dev_del for TLS RX twice a6300aedf862 net/tls: missing received data after fast remote close a15beea80e72 net/af_iucv: set correct sk_protocol for child sockets 9414855a1305 ipv6: addrlabel: fix possible memory leak in ip6addrlbl_net_init 99b5382bffd5 devlink: Hold rtnl lock while reading netdev attributes 42af416d7146 Linux 5.4.81 cd7343987376 ASoC: Intel: Skylake: Automatic DMIC format configuration according to information from NHLT 6ebb6af62721 ASoC: Intel: Multiple I/O PCM format support for pipe b2b05b04d44d ASoC: Intel: Skylake: Await purge request ack on CNL a28144d62ddc ASoC: Intel: Allow for ROM init retry on CNL platforms 4029a29f93ef ASoC: Intel: Skylake: Shield against no-NHLT configurations 754df2d3349d ASoC: Intel: Skylake: Enable codec wakeup during chip init 6de661f146a2 ASoC: Intel: Skylake: Select hda configuration permissively 422c4938f704 ASoC: Intel: Skylake: Remove superfluous chip initialization 23b093a2c4f9 USB: core: Fix regression in Hercules audio card cc54f8b8e1cd x86/resctrl: Add necessary kernfs_put() calls to prevent refcount leak d0c4c5a89f5b x86/resctrl: Remove superfluous kernfs_get() calls to prevent refcount leak e799c00a745e x86/speculation: Fix prctl() when spectre_v2_user={seccomp,prctl},ibpb f753e1c02a2e x86/mce: Do not overwrite no_way_out if mce_end() fails 62405223bafd irqchip/exiu: Fix the index of fwspec for IRQ type f69d749d5f7f usb: gadget: Fix memleak in gadgetfs_fill_super cad7b76a6129 USB: quirks: Add USB_QUIRK_DISCONNECT_SUSPEND quirk for Lenovo A630Z TIO built-in usb-audio card c775935dfd1e usb: gadget: f_midi: Fix memleak in f_midi_alloc e1a2a3043cc2 USB: core: Change %pK for __user pointers to %px 84d04d722b6a spi: bcm2835aux: Restore err assignment in bcm2835aux_spi_probe 5849e7dc560b perf probe: Fix to die_entrypc() returns error correctly 27193c41d0db perf stat: Use proper cpu for shadow stats dc4d672a3fb5 can: m_can: fix nominal bitiming tseg2 min for version >= 3.1 1f076cc1de82 can: m_can: m_can_open(): remove IRQF_TRIGGER_FALLING from request_threaded_irq()'s flags dd8ab85fd88e RDMA/hns: Bugfix for memory window mtpt configuration e69f384e22f1 RDMA/hns: Fix retry_cnt and rnr_cnt when querying QP 49b26b969474 platform/x86: toshiba_acpi: Fix the wrong variable assignment fbd3f1d6ef2f platform/x86: thinkpad_acpi: Send tablet mode switch at wakeup time 405fd2180583 can: gs_usb: fix endianess problem with candleLight firmware 11420c32c1b4 efi: EFI_EARLYCON should depend on EFI 0d245cbd939a efivarfs: revert "fix memory leak in efivarfs_create()" abae897f283b arm64: tegra: Wrong AON HSP reg property size 5c4c6b2be717 optee: add writeback to valid memory type 6d371c3e70d7 ibmvnic: fix NULL pointer dereference in ibmvic_reset_crq 382383538f68 ibmvnic: fix NULL pointer dereference in reset_sub_crq_queues a447dbb44d44 net: ena: set initial DMA width to avoid intel iommu issue 7869696d6c1e nfc: s3fwrn5: use signed integer for parsing GPIO numbers 1a831f889db3 i40e: Fix removing driver while bare-metal VFs pass traffic 676857f78c1a IB/mthca: fix return value of error branch in mthca_init_cq() 22f821fa5cbb powerpc/64s: Fix allnoconfig build since uaccess flush ae6e75b8c6d6 ibmvnic: notify peers when failover and migration happen 7b4e9fcf5ec3 ibmvnic: fix call_netdevice_notifiers in do_reset 993e42d0f7d6 s390/qeth: fix tear down of async TX buffers ef0f6e36a6d4 s390/qeth: fix af_iucv notification race bb6c548934c9 s390/qeth: make af_iucv TX notification call more robust f29dfa2bf6c7 cxgb4: fix the panic caused by non smac rewrite 0410aeb9e04c bnxt_en: Release PCI regions when DMA mask setup fails during probe. db49200b1dad video: hyperv_fb: Fix the cache type when mapping the VRAM d1a7fb15673e bnxt_en: fix error return code in bnxt_init_board() 22e10c6bbefc bnxt_en: fix error return code in bnxt_init_one() 11b62fd00c62 scsi: ufs: Fix race between shutdown and runtime resume flow 559ab6fb7b66 ARM: dts: dra76x: m_can: fix order of clocks 1bef5f25a692 arch: pgtable: define MAX_POSSIBLE_PHYSMEM_BITS where needed 95b1f326315b batman-adv: set .owner to THIS_MODULE f5672b83fc2d iwlwifi: mvm: write queue_sync_state only for sync f32a1065c930 phy: tegra: xusb: Fix dangling pointer on probe failure acea5424d9d2 ARM: OMAP2+: Manage MPU state properly for omap_enter_idle_coupled() 6f87d79ef40d bus: ti-sysc: Fix bogus resetdone warning on enable for cpsw e8060ddddc9f net: dsa: mv88e6xxx: Wait for EEPROM done after HW reset 1f5531bb9720 xtensa: uaccess: Add missing __user to strncpy_from_user() prototype 3753a62d5760 perf/x86: fix sysfs type mismatches fd81f0711d9c scsi: target: iscsi: Fix cmd abort fabric stop race 8814c070e783 scsi: libiscsi: Fix NOP race condition 070a9a046d6d dmaengine: pl330: _prep_dma_memcpy: Fix wrong burst size 8a2ae7fa5d5c vhost scsi: fix cmd completion race 4940816604e3 nvme: free sq/cq dbbuf pointers when dbbuf set fails 01968f9af006 proc: don't allow async path resolution of /proc/self components 830f4aa73a69 HID: Add Logitech Dinovo Edge battery quirk 4d070afa1080 HID: logitech-hidpp: Add HIDPP_CONSUMER_VENDOR_KEYS quirk for the Dinovo Edge 204dbc26f14e x86/xen: don't unbind uninitialized lock_kicker_irq d6b5dc5429f1 dmaengine: xilinx_dma: use readl_poll_timeout_atomic variant 54b01ded1e92 HID: add HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE for Gamevice devices cd7ea86a4a64 staging: ralink-gdma: fix kconfig dependency bug for DMA_RALINK b3701c29a468 HID: hid-sensor-hub: Fix issue with devices with no report ID 8f68a28c9ecc Input: i8042 - allow insmod to succeed on devices without an i8042 controller dbe67dcf97cf HID: add support for Sega Saturn 3845b2117f6d HID: cypress: Support Varmilo Keyboards' media hotkeys 604912c2b20e HID: ite: Replace ABS_MISC 120/121 events with touchpad on/off keypresses 8a35be6c38aa HID: uclogic: Add ID for Trust Flex Design Tablet 733e6db9736d arm64: pgtable: Ensure dirty bit is preserved across pte_wrprotect() b456de294ee4 arm64: pgtable: Fix pte_accessible() 8b4d82d8dbff trace: fix potenial dangerous pointer 4a301b05cf61 KVM: x86: Fix split-irqchip vs interrupt injection window request b7d2e45cf613 KVM: x86: handle !lapic_in_kernel case in kvm_cpu_*_extint 6276d38cce87 KVM: arm64: vgic-v3: Drop the reporting of GICR_TYPER.Last for userspace 45b5f4b1b40b KVM: PPC: Book3S HV: XIVE: Fix possible oops when accessing ESB page 214e6af4217a cifs: fix a memleak with modefromsid 56f639aa0b5d smb3: Handle error case during offload read path afa51221b911 smb3: Avoid Mid pending list corruption 1b63215666c0 smb3: Call cifs reconnect from demultiplex thread f923044a6c72 wireless: Use linux/stddef.h instead of stddef.h a6676b0fa09f btrfs: fix lockdep splat when reading qgroup config on mount 6ea14731ac4c btrfs: don't access possibly stale fs_info data for printing duplicate device 12aedea58281 btrfs: tree-checker: add missing returns after data_ref alignment checks 0115a2613397 btrfs: tree-checker: add missing return after error in root_item 6ec51459df71 netfilter: clear skb->next in NF_HOOK_LIST() ee791835b3ec ipv4: use IS_ENABLED instead of ifdef 9d16996369fd spi: bcm2835: Fix use-after-free on unbind b606031bbfed spi: bcm-qspi: Fix use-after-free on unbind Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24linux-yocto/cfg: qemuppc: set CONFIG_SCSI to '=y'Bruce Ashfield
Integrating the following configuration commit(s): 72a1fe336d7 qemuppc: configure the CONFIG_SCSI to '=y' Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24kern-tools: non-gcc config support and option re-classificationBruce Ashfield
Integrating the following commits: 1aa9046 merge_config.sh: Translate some env variables to make variables 6fdcd64 symbol_why: allow re-classification from non-hardare to hardware With these, a non-gcc compiler can be used, since the invocation of the kernel configuration explicitly passes the variables as command line vars, versus environment variables. This means the kernel Makefile assignments are overriden and the desired compiler used. With option re-classification, we can inhibit warnings when an option has incorrectly been classified has 'hardware', and hence triggers a visible warning. [merge_config.sh: Translate some env variables to make variables] Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com> [symbol_why: allow re-classification from non-hardare to hardware] Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21pulseaudio: fix client.conf locationTanu Kaskinen
The location of the generated client.conf changed when switching from Autotools to Meson. Fixes this error when enabling autospawn-for-root: sed: can't read src/client.conf: No such file or directory Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21pulseaudio: Fix build with clang for non-x86 targetKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21apr-util: Only specify --with-dbm=gdbm if gdbm support is enabledPeter Kjellerstedt
Support for gdbm was made optional in 3260ad9e, but it was still being used unconditionally. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21ltp: Fix ltp-pan crash on 32bit arches using 64bit time_tKhem Raj
ltp-pan crashes on riscv32/musl due to shorter width assigned to time_t in printf format Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21oeqa/terminal : improve the test caseTeoh Jay Shen
-Improve this test case to fulfill the requirements of replacing the click_terminal_icon_on_X_desktop manual test case from oeqa/manual/bsp-hw : 1) verify that the terminal window is working without problem 2) verify that there's only 1 terminal window is launched Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21man-db: Avoid reproducibility failures after fixing groff-nativeRichard Purdie
Add some temporary bumps to versions to change the output hash so we really can take advantage of the groff-native reproducibility fix. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21groff: Fix reproducibility issueRichard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21cups: Mark CVE-2008-1033 as a non-issueRichard Purdie
It only applies to MacOS. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21cups: Mark CVE-2009-0032 as a non-issueRichard Purdie
The CVE was against a cups plugin which is obsolete and we don't include. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21oeqa/commands: Ensure sync can be found regardless of PATHRichard Purdie
Avoid command not found errors shown in selftest logs due to changes to PATH settings which also risks intermittent problems due to IO load. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21grub: Add second fix for determinism issueRichard Purdie
There is a second list sorting problem in a generator script within grub, add a sort() of a list to resolve this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21spirv-tools: upgrade 2020.5 -> 2020.6Jose Quaresma
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21shaderc: upgrade 2020.3 -> 2020.4Jose Quaresma
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21u-boot-tools: Fix reproducibility issueRichard Purdie
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) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20linux-firmware: package firmware for Lontium lt9611uxc bridgeDmitry Baryshkov
Package firmware for Lontium lt9611uxc DSI to HDMI bridge, found e.g. on Qualcomm RB5 platform. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20linux-firmware: upgrade 20201118 -> 20201218Dmitry Baryshkov
License-Update: firmware versions/filenames Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20grub: Fix build reproducibility issueRichard Purdie
We're seeing reproducibility issue on the autobuilder due to changing module dependency ordering. Add some sorting to an awk script to fix this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20systemd: Ensure uid/gid ranges are set deterministicallyRichard Purdie
meson.build will fall back to greping /etc/login.defs for values of these if they're not set. Different distros set them (Centos 7/8 does, Ubuntu does not) so output was not deterministic. Avoid this by setting to the default values. We now match the vaules from login.defs from shadow. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20mesa.inc: switch true/enabled false/disabledTrevor Woerner
A number of options have been switched from true/false to enabled/disabled and the older usage is deprecated, as is seen in the configuration logs: ../mesa-20.3.1/meson.build:92: WARNING: gles1 option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:100: WARNING: gles2 option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:119: WARNING: shared-glapi option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:381: WARNING: gbm option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:412: WARNING: egl option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:493: WARNING: dri3 option "false" deprecated, please use "disabled" instead. ../mesa-20.3.1/meson.build:516: WARNING: gallium-vdpau option "false" deprecated, please use "disabled" instead. ../mesa-20.3.1/meson.build:570: WARNING: gallium-xvmc option "false" deprecated, please use "disabled" instead. ../mesa-20.3.1/meson.build:691: WARNING: gallium-va option "false" deprecated, please use "disabled" instead. ../mesa-20.3.1/meson.build:727: WARNING: gallium-xa option "false" deprecated, please use "disabled" instead. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20busybox: Sync rcS.default with sysvinitKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20initscripts: Use initctl on sysvinit onlyKhem Raj
Check if init system is sysvinit to recreate initctl, this ensures that it can be used with busybox init system as well Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Sinan Kaya <okaya@kernel.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20rcS: Define identifier for init system usedKhem Raj
This will help in defining init system specific portions of initscripts which are shared Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Sinan Kaya <okaya@kernel.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20busybox: Run mdev as daemonKhem Raj
When busybox is used for device management, kernel needs to support older/obsolete mechanism via CONFIG_UEVENT_HELPER and CONFIG_UEVENT_HELPER_PATH to enable /proc/sys/kernel/hotplug but this would require kernel defconfig change and will always be needed when mdev is used, intead run it in daemon mode Update mdev init script to run mdev in daemon mode Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20busybox: Install /etc/default/rcS when used as init systemKhem Raj
This helps in using sysvinit scripts with busybox init system as well Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20initscripts: use quotes for shell variable comparisionKhem Raj
Helps to execute it with busybox shell Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20lib/oe/qa: handle the 'no specific instruction set' ELF e_machine valueRoss Burton
[RP: Update OEQA selftest to match change] Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20systemd: add RRECOMMENDS for weak dependencies, if enabledLuca Boccassi
Some libraries are now dlopen'ed and skipped at runtime if not available. Add them to the RRECOMMENDS list, to allow users to exclude them for smaller images even if generally enabled at build time. Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20systemd: set -Dmode=release as recommended by NEWSLuca Boccassi
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20systemd: ship new systemd-dissect in -extra-utilsLuca Boccassi
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20systemd: add package config for systemd-oomdLuca Boccassi
Disabled by default Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20systemd: update 246 -> 247Luca Boccassi
Update systemd to v247.2. Add rule for new oomd dbus conf and for new pam.d conf directory in /usr/lib|lib64. Drop selinux-hook-handling-to-enumerate-nexthop.patch, merged upstream. Drop 0001-meson-Fix-reallocarray-check.patch, merged upstream. Refresh musl patches. Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20opkg: upgrade to version 0.4.4Alex Stewart
Include an upstream patch for 0.4.4 which fixes a test framework error that occurs on host systems with symlinked /tmp directories (like OE). Signed-off-by: Alex Stewart <alex.stewart@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20glibc: Make adjtime() for 32 bit support being called with delta == NULLPeter Kjellerstedt
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. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20oe-selftest: fitimage: add test for signing FIT imagesPaul Eggleton
Add a new test to verify signing FIT images. Also includes testing for the newly introduced FIT_SIGN_INDIVIDUAL, UBOOT_MKIMAGE, UBOOT_MKIMAGE_SIGN, and UBOOT_MKIMAGE_SIGN_ARGS variables. Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20oe-selftest: fitimage: Test for FIT_DESCPaul Eggleton
Add verification of FIT_DESC to the existing test for kernel-fitimage. Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20oe-selftest: move FIT image tests to their own modulePaul Eggleton
I'm about to add an additional test, and on the assumption that we might also add more in future it seems reasonable to have the tests in their own module. Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20classes/kernel-fitimage: add ability to sign individual imagesLuca Boccassi
Add the ability to have the kernel, dtb and ramdisk individually signed by setting FIT_SIGN_INDIVIDUAL = "1". This could be useful if you are intending to verify signatures before using kexec for example. Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20classes/kernel-fitimage: add ability to add additional signing optionsPaul Eggleton
Add a UBOOT_MKIMAGE_SIGN_ARGS variable to enable passing additional options to uboot-mkimage when it is run the second time to perform signing. Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20classes/kernel-fitimage: allow substituting mkimage commandPaul Eggleton
Add a UBOOT_MKIMAGE and UBOOT_MKIMAGE_SIGN variables to allow specifying an alternative uboot-mkimage executable (or wrapper script/function). Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20classes/kernel-fitimage: make fitimage_emit_section_config more readableEaswar Hariharan
fitimage_emit_section_config() has a number of arguments, add named variables to make the function a bit more readable. Signed-off-by: Easwar Hariharan <eahariha@microsoft.com> Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20classes/kernel-fitimage: add variable for descriptionPaul Eggleton
Add a FIT_DESC variable to make it possible to change how the description is set in the FIT image. Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20pulseaudio: switch build system from Autotools to MesonTanu Kaskinen
Upstream is moving from Autotools to Meson, Autotools support will be dropped in 15.0. I dropped some configure options: * --enable-tcpwrap=no doesn't (currently) have a counterpart in Meson, TCP Wrappers support is always disabled. * --disable-esound doesn't have a counterpart in Meson, EsounD support is always disabled. * --disable-gconf doesn't have a counterpart in Meson, GConf support is always disabled. I backported a patch that implements support for the -Dvalgrind=disabled option. I checked with buildhistory what the differences are before and after this patch (with qemuarm with neon removed from TUNE_FEATURES, all PACKAGECONFIGs enabled): * Obvious differences in DEPENDS: Autotools stuff removed and Meson stuff added. There wasn't anything strange here. * Packages have superfluous RDEPENDS removed from them. With Autotools something caused for example X11 libraries to be added to RDEPENDS of packages that don't have anything to do with X11. * The pulseaudio-src package had MMX and SSE related files removed and Neon related files added. I don't know why the ARM build previously had MMX and SSE files included, the addition of Neon files is explained by the fact that with Meson the Neon optimizations can't be disabled if the compiler supports Neon (see below). * libfoo.so symlinks changed to point to libfoo.so.X rather than directly to libfoo.so.X.Y.Z. To my understading that's fine, since libfoo.so.X is a symlink that points to libfoo.so.X.Y.Z. * There were various file size changes, which I didn't investigate. Previously the recipe disabled ARM Neon optimizations when "neon" was not in TUNE_FEATURES. That was originally added in commit 4e7b91b5a2613b957b08aefbee1aac28fdd19598 at a time when PulseAudio's build system didn't check the availability of the arm_neon.h header, causing compilation errors when the header wasn't available. That issue was fixed a long time ago, so there was little need for the TUNE_FEATURES check, although it was still possible to make the build fail if non-neon -mfpu was passed in CFLAGS, so the TUNE_FEATURES check still had some theoretical benefit (theoretical, because generally OE passes -mfpu in CC instead of CFLAGS, so OE's -mfpu option appears very early in the compiler command line, which doesn't trip up PulseAudio's current Autotools build system). With Meson there's no option for disabling Neon optimizations if the compiler supports Neon. If -mfpu is set in CC or CFLAGS, it's ignored, because the build system adds -mfpu=neon at the end of the compiler command line, overriding any earlier -mfpu options. This shouldn't be a problem, because PulseAudio detects at runtime whether the CPU supports Neon instructions. Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20pulseaudio: disable GConf supportTanu Kaskinen
The GConf module is only needed for older versions of paprefs, other applications shouldn't be interacting with PulseAudio's GConf settings. Paprefs isn't packaged in OpenEmbedded, so there probably aren't any users of the GConf functionality. My immediate motivation for doing this is that I'm converting the pulseaudio recipe to use Meson, and the GConf module isn't supported by the Meson build system. Adding support for it would be possible, but pretty pointless. The GConf module will be removed in PulseAudio 15.0. Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20pulseaudio: disable EsounD supportTanu Kaskinen
This disables PulseAudio's EsounD emulation and the EsounD sink module. EsounD has been obsolete for a long time, and doesn't seem to be packaged for OpenEmbedded, so probably there are no applications around that would need PulseAudio's EsounD support. Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20pulseaudio: Remove OE_LT_RPATH_ALLOWTanu Kaskinen
I don't know what these variables were supposed to do, but there doesn't seem to be anything that would use these variables, so removing them should be safe. The PulseAudio recipe is the only place where these appear in the repository. These lines were included already in the original PulseAudio recipe that was added in commit d9a4c588ef24e7e4019fbe5a2314addbcd3a6bb8 in 2007, and already at that time there didn't seem to be anything using these variables. Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>