summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-06-22alsa-ucm-conf: upgrade 1.2.7 -> 1.2.7.1wangmy
Configuration - mt8195_demo: fix the HDMI device name - USB-Audio: ALC1220 - add support for Gigabyte TRX40 Aorus Pro WiFi Rev 1.2 - ucm2: MediaTek: mt8195-demo: Add Initial support - ucm2: rk3399-gru-sound: Add missing symlink from conf.d tree - USB-Audio: Optimize regex for realtek-alc4080 - USB-Audio: Add ALC4080 ID for Asus Z690-I Gaming Wifi - ucm2 profile for MOTU M4 interface - ucm2: Rockchip/max98090: add symlink to VEYRON-I2S - ucm2: Rockchip/max98090: add JackControl and PlaybackVolume - Added basic support for ALC4082 on ASUS ROG Maximus Z690 Hero. - ucm2: direct profile - allow to override the card name - ucm2 profile for Behringer Flow8 - Steinberg UR44: fix the direction for steinberg_ur44_mono_in - Steinberg UR44: fix the Line2 channel mapping (2nd) - Steinberg UR44: fix the Line2 channel mapping (From OE-Core rev: 66e9a57aeeab9f87106d5565ac28342d38a6eb33) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22alsa-plugins: upgrade 1.2.6 -> 1.2.7.1wangmy
Changelog: ========== Jack PCM plugin - jack: use program_invocation_short_name - jack: implement pcm operation sw_params (From OE-Core rev: b1985f7935f94f36063a96dae29258ac75aed7f7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22alsa-lib: upgrade 1.2.7 -> 1.2.7.1wangmy
Changelog: ========= Core - Release v1.2.7.1 - conf: Use ino64_t to save and compare inode numbers Control API - control: eld - fix the decoding for older hw I/O API - output: include stdarg.h PCM API - pcm: dmix - Add error handler for `fgets` Use Case Manager API - ucm: list also hardware configs (hw:X) in uc_mgr_scan_master_configs() fcn Configuration - conf: Use ino64_t to save and compare inode numbers (From OE-Core rev: fd6bf61bd5401a099372661f77f3abd9d0242d67) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22python3-requests: upgrade 2.27.1 -> 2.28.0Alexander Kanavin
(From OE-Core rev: b73226b53b2000af8d3af7323b2bbc71ce2a2d83) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22x264: upgrade to latest revisionAlexander Kanavin
(From OE-Core rev: 6ddb3c44ab212dc25614bd074341db7a39e2255d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22wireless-regdb: upgrade 2022.04.08 -> 2022.06.06Alexander Kanavin
(From OE-Core rev: 4c27711292f93dfad1ffdeab6d715becad32a4ff) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22sudo: upgrade 1.9.10 -> 1.9.11p2Alexander Kanavin
(From OE-Core rev: 8cb9306b3d41e18e582c581ade42c0b22ef7aea1) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22puzzles: upgrade to latest revisionAlexander Kanavin
(From OE-Core rev: d49711d3efc92ed4d59574b699fa0c8119d5baef) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22librsvg: upgrade 2.54.3 -> 2.54.4Alexander Kanavin
(From OE-Core rev: 3e26d2925463e126b55ab81ed749d6ec2fc71263) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22dos2unix: upgrade 7.4.2 -> 7.4.3Alexander Kanavin
License-Update: copyright years (From OE-Core rev: e754893c37e315f5f828d8cbdc1d37fc4f27b799) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22diffoscope: upgrade 215 -> 216Alexander Kanavin
(From OE-Core rev: 6c1683863302ecde281f3c10f0ca27d33965d164) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22libdrm: update 2.4.110 -> 2.4.111Alexander Kanavin
libkms option dropped by upstream. (From OE-Core rev: f92305d6b59447935557deebf5c0a40ce8c23929) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22ell: update 0.50 -> 0.51Alexander Kanavin
(From OE-Core rev: bd63e0a8aaefe6f3ccb8239b51ae4637909f21b2) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22go: update 1.18.2 -> 1.18.3Alexander Kanavin
(From OE-Core rev: 667264b82156219f9ac50dbb013683ac4fbe0fad) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22lttng-modules: update 2.13.3 -> 2.13.4Alexander Kanavin
Drop backports; one of them (0009) is present only on the master branch and not on 2.13 branch, and so stays in the recipe. (From OE-Core rev: 1002941b76e0a0351e85a20e3e8d0a6a2254449c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22vulkan: upgrade 1.3.211.0 -> 1.3.216.0Alexander Kanavin
(From OE-Core rev: dab46fa6a98af448d7bf1291f1de4edb3590f66a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22python3-setuptools: update 62.3.2 -> 62.5.0Alexander Kanavin
(From OE-Core rev: 5057ffe70cb1fc114b3143a9e7ce3d15964c68c8) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22python3-numpy: update 1.22.3 -> 1.22.4Alexander Kanavin
(From OE-Core rev: 6d87caa86df3109b8f45d287094281b02c7c0ac0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22mesa: update 22.0.3 -> 22.1.2Alexander Kanavin
(From OE-Core rev: d5b2e40be6d6e4c52078ab5a087eefaa7330c320) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22perf: sort-pmuevents: really keep array terminatorsLucas Stach
Commit e1382583cd50 ("perf: sort-pmuevents: don't drop elements") tried to fix a case where the array terminator elements were dropped from the sorted list breaking the build, but it only worked for the case where the terminator is the only element of the array. When the array has other elements the terminator will still be silently dropped, causing invalid memory accesses at runtime when the perf utility iterates over the array. Fix this by treating any unmatched entry as an array terminator and also add a comment to make it a little more clear how things are ending up at the right position in the sorted list. (From OE-Core rev: 69c35a48c5100b884f1b633142b07222b9390e92) Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22wic: fix WicError messageMartin Jansa
* add missing % to print the values instead of: | INFO: Build artifacts not found, exiting. | INFO: (Please check that the build artifacts for the machine | INFO: selected in local.conf actually exist and that they | INFO: are the correct artifacts for the image (.wks file)). | | ERROR: ("The artifact that couldn't be found was %s:\n %s", 'kernel-dir', '/OE/build/deploy/images/qemux86-64') (From OE-Core rev: e104c2b1273d8c5bd97893f318bf2a2699ef7f2d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22libffi: fix native build being not portableMaxime Roussin-Bélanger
Without `--with-gcc-arch=generic` libffi looks up the cpuid to automatically determine which mtune/march to use. This makes the native sstate-cache unuseable since it's possible to have a newer cpu building the recipe and the library being pulled from another older cpu which doesn't have the instruction. (From OE-Core rev: cddaecac1fdd4d033c2ff8ccaf1d60e1c598d5b7) Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22python3-jsonschema: upgrade 4.5.1 -> 4.6.0Ross Burton
Switch the build system from setuptools to hatch. (From OE-Core rev: ee9a40d5d433d2babb010e11973a97f651d074e9) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22python3-hatch-vcs: add new recipeRoss Burton
This recipe (a VCS plugin for Hatch) is needed by the new python3-jsonschema to build. (From OE-Core rev: 62cb0c78e2ea4cfbb7bb961abd9b8faaa2100379) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22Add python3-hatchling (from meta-oe)Ross Burton
Recipes in core are now needing to use the Hatch build system, so move the hatchling recipe and class from meta-oe to oe-core. (From OE-Core rev: 846e806181f1349be29cbce78c5041735dfd7e6f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22Add python3-pathspec (from meta-python)Ross Burton
This is a dependency of the Hatch build system, to be added as python3-hatchling. (From OE-Core rev: 857f324314d10c6cfe4613ec5dc865a2df0dc2e2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22Add python3-editables (from meta-python)Ross Burton
This is a dependency of the Hatch build system, to be added as python3-hatchling. (From OE-Core rev: 781da7200711e45da8b63654dd4508fce62580b8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21ref-manual: correct description of empty-root-passwd in IMAGE_FEATURESMichael Opdenacker
"empty-root-passwd" doesn't actually set an empty root password. It just doesn't touch the initial root password which is empty by default. (From yocto-docs rev: 793cfe841148ead7e22fc2caf045247ab27a15da) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21ref-manual: IMAGE_FEATURES: add allow-root-login and correct ↵Michael Opdenacker
allow-empty-password Completing the descriptions of "debug-tweaks". Correcting the description of "allow-empty-password" which doesn't imply accepting root logins. (From yocto-docs rev: 907c94886fd8a485a6045d71478e41a3c598821c) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reported-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21ref-manual: document SYSTEMD_DEFAULT_TARGETMichael Opdenacker
[YOCTO #14660] (From yocto-docs rev: d5bcdf9a8b357b96656b62c41834410e662d8546) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reported-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21ref-manual: document SSTATE_EXCLUDEDEPS_SYSROOTMichael Opdenacker
[YOCTO #14496] (From yocto-docs rev: b6690011c14ce4bf30571f045152a9d324ad5039) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21manuals: update host tool requirementsMichael Opdenacker
As enforced by meta/classes/sanity.bbclass: - at least GNU make 4.0 - at least GNU tar 7.5 (instead of 5.0) (From yocto-docs rev: 6480aa0f8338ef192c666b9445bc0baff47d9248) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21ref-manual: add description for the "sysroot" termMichael Opdenacker
This term is used throughout the manual but is not properly introduced anywhere. (From yocto-docs rev: 51426a0762a5988aa835e065f5258fd7ac474c52) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21doc: standard for bulleted listsMichael Opdenacker
(From yocto-docs rev: 78bfe970529efeb93493407cedeb03056ade2bd2) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21docs: standards.md: add more rules: line wrapping and variablesMichael Opdenacker
Fix Markdown syntax too (From yocto-docs rev: f836a2fbe401865d3e9af691d71de97e9c5df70a) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21dev-manual: fix references to BitBake user manualMichael Opdenacker
Fix a wrong reference no longer tolerated by Sphinx 5.0.1 (missing "bitbake:" prefix) Add missing double quotes in a reference to a chapter title (From yocto-docs rev: 9a797dedf6708da3e7ce789c5c8735e5d891cde4) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21ref/dev-manual: Update multiconfig documentationRichard Purdie
Multiconfigs now work from layers. Update the documentation to match this change. Also fix a incorrect reference to different distros working within the same TMPDIR, that is incorrect. [YOCTO #13566] (From yocto-docs rev: cb35f75bfc98c9098f9af64b9dd040b25779da36) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21dev-manual: mention the new CVE patch metrics pageMichael Opdenacker
(From yocto-docs rev: 42bfcb2d3a13e71264e5f29b07615c2da9866273) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reviewed-by: Quentin Schulz <foss+yocto@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21ref-manual: SYSTEMD_SERVICE overrides depend on SYSTEMD_PACKAGESPaulo Neves
Add detail that package overrides are only available if specified in SYSTEMD_PACKAGES. (From yocto-docs rev: 9466c0b79348e68b1db7aefd3d95f8e7c903f1d4) Signed-off-by: Paulo Neves <ptsneves@gmail.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21ref-manual: SYSTEMD_SERVICE allows multiple servicesPaulo Neves
State that SYSTEMD_SERVICE allows for multiple space separated systemd services (From yocto-docs rev: 68f7009b06007b925e7a5b6ab085ec813d85b0bc) Signed-off-by: Paulo Neves <ptsneves@gmail.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21docs: releases: move hardknott and honister to outdated sectionQuentin Schulz
Hardknott and honister releases are now outdated, let's move their manuals to the outdated section. Cc: Quentin Schulz <foss+yocto@0leil.net> (From yocto-docs rev: f727d18735f2a373ef11888b025f4566e046800f) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21releases: include 3.1.17Michael Halstead
(From yocto-docs rev: 804469f7e6af2eb946accec56b48b2f400dadc85) Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21bitbake: bitbake-user-manual: Correct description of the ??= operatorJacob Kroon
Stating that the assignment is done at the end of parsing is misleading. The weak default value is the value which a variable will expand to if no value has been assigned to it using any of the assignment operators. (Bitbake rev: 8189f58d0449d16f162b6e8d98c4e5edc6bff875) Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21bitbake: ConfHandler: Remove lingering closeOla x Nilsson
The f.close() statement should have been removed in 459ad524756a3f9b50feeedf31e33502dceae8d5. (Bitbake rev: 9fc1bab6b7e3c0fca3ddec4bc8c7763d2aff8bab) Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21bitbake: tests/fetch: Add test for broken mirror tarballPavel Zhukov
With PREMIRRORS set and BB_NO_NETWORK = "1" bitbake should not try to fetch into non-initialized git directory if tarball is broken (or not in gzip format) [Yocto 14822] (Bitbake rev: c9aaca3dd2dfdf4a291d6e1f6263037e0f54b4b6) Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21udev-extraconf/mount.sh: ignore lvm in automountMuhammad Hamza
Failure message is shown in boot logs when trying to mount lvm as automounter does not handle cases where lvm is mounted. This simply skips lvm while automounting to avoid failure message in boot logs. (From OE-Core rev: b1d18072ed9a8b0bca0f20f8e5deefa73ab6acbe) Signed-off-by: Ansar Rasool <ansar_rasool@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21udev-extraconf: force systemd-udevd to use shared MountFlagsMuhammad Hamza
Automounting does not work cleanly in case systemd as well as udev rules are being used simultaneously and in most cases race conditions and unknown behavior can come up. In case we're running on top of systemd we need to make sure that systemd-udevd knows that udev is in play as well and mounting should be done using shared flags. Also as we're using mount from sources other than systemd-mount in current scripts this is the most manageable fix to automounting problems. (From OE-Core rev: 1e770416b4c9a0468404fb64d55114d93e84763b) Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21udev-extraconf/mount.sh: only mount devices on hotplugMuhammad Hamza
fdisk from util-linux (2.31.1) and above allows the user to manipulate an already mounted device. In order to achieve this functionality it issues a BLKRRPART (block device re-read part) ioctl and in response the kernel generates remove/change/add events if the device is not mounted (manually unmounted etc) which are caught and processed by udev. This causes our auto-mounter to remount everything because it does not keep track and things go out of control. Differentiating between types of remove events such as the one described above (generated by BLKRRPART) and one where the device is physically plugged out is only possible using the DEVPATH variable which is cleaned up only when the device is actually plugged-out. This fixes the above anomaly by only mounting a device in add event which is cleaned up properly (tmp cache deleted) in the remove event or is not present in the tmp cache while making use of the DEVPATH variable during the remove action. (From OE-Core rev: 11a5e6c17535438ea1e7a8403ed260c8b3a22bc8) Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21udev-extraconf/mount.sh: save mount name in our tmp filecacheMuhammad Hamza
Doing this will allow to fetch the exact name created by the auto-mounter during the remove action where depending on the scenario utilities such as the blkid might not be usable due to actual device not being present on the system. (From OE-Core rev: 496b76f8775a620c1d449eb6f62a41656abf2a9b) Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-21udev-extraconf/mount.sh: add LABELs to mountpointsMuhammad Hamza
This alters the mountpoints such that if a device has a LABEL or a PARTLABEL, it will be mounted at e.g.: /run/media/$LABEL-<device-node> /run/media/$PARTLABEL-<device-node> /run/media/rootfs-sda2 otherwise the device will be mounted at e.g.: /run/media/<device-node> /run/media/sda1 The <device-node> appended with LABEL or PARTLABEL makes sure that the mountpoint is unique, therefore, avoids overlapping mounts. (From OE-Core rev: a9a0a0967832445f1bcc65d58f95343d1b562e1b) Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>