diff options
author | Muhammad Hamza <Muhammad_Hamza@mentor.com> | 2022-07-17 14:56:42 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-25 15:11:46 +0100 |
commit | 2d0aed6469d91e9e9cd9e9778fcd1cbc4b259dd6 (patch) | |
tree | 1f9cf53c118ae36bb9ded639fb5bdaf09283144f /scripts/lib/devtool/package.py | |
parent | 88bc9d2b93de490d33f23244dca1e8ae7db7fb44 (diff) | |
download | poky-2d0aed6469d91e9e9cd9e9778fcd1cbc4b259dd6.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: 229e7a911a8b1e0223cfee0bdc2f5fc79cf300fe)
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>
(cherry picked from commit a9a0a0967832445f1bcc65d58f95343d1b562e1b)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/package.py')
0 files changed, 0 insertions, 0 deletions