summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/udev/udev-extraconf_1.1.bb
diff options
context:
space:
mode:
authorMuhammad Hamza <Muhammad_Hamza@mentor.com>2022-06-21 14:05:12 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-21 18:44:27 +0100
commitaab4152eff4d3df3153307cf37ef8c80009991f5 (patch)
tree4d46d8cd799b4bfbd57756e7502094491148c8b0 /meta/recipes-core/udev/udev-extraconf_1.1.bb
parent16797c1b94839db98de2e76f9bc71932e47fa3a6 (diff)
downloadpoky-aab4152eff4d3df3153307cf37ef8c80009991f5.tar.gz
udev-extraconf/mount.sh: add LABELs to mountpoints
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>
Diffstat (limited to 'meta/recipes-core/udev/udev-extraconf_1.1.bb')
-rw-r--r--meta/recipes-core/udev/udev-extraconf_1.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/udev/udev-extraconf_1.1.bb b/meta/recipes-core/udev/udev-extraconf_1.1.bb
index 2b908ac05b..8213c1a930 100644
--- a/meta/recipes-core/udev/udev-extraconf_1.1.bb
+++ b/meta/recipes-core/udev/udev-extraconf_1.1.bb
@@ -38,7 +38,7 @@ do_install() {
38} 38}
39 39
40FILES:${PN} = "${sysconfdir}/udev" 40FILES:${PN} = "${sysconfdir}/udev"
41RDEPENDS:${PN} = "udev" 41RDEPENDS:${PN} = "udev util-linux-blkid"
42CONFFILES:${PN} = "${sysconfdir}/udev/mount.ignorelist" 42CONFFILES:${PN} = "${sysconfdir}/udev/mount.ignorelist"
43 43
44# to replace udev-extra-rules from meta-oe 44# to replace udev-extra-rules from meta-oe