diff options
author | Ming Liu <ming.liu@toradex.com> | 2022-07-04 14:00:41 +0200 |
---|---|---|
committer | Francesco Dolcini <francesco.dolcini@toradex.com> | 2022-07-26 14:49:30 +0000 |
commit | 24da367be6a1d33d9ce2947658b12fc8e4444d33 (patch) | |
tree | 930c8a086f8289d3f5e94f0fdf563b0200b4ef72 /recipes-core/udev/udev-extraconf_%.bbappend | |
parent | a01555a69039fa02665d4089e9c80236d872752e (diff) |
udev-extraconf: drop mount.sh
There were two reasons for maintaining Toradex specific mount.sh:
- The first, we wanted to handle Toradex specific boot partitions for
eMMC modules in /etc/fstab..
- The second was we wanted to mount medias on /media instead of
/run/media.
But this has at least two drawbacks:
- It causes we might miss the future updates in OE's mount.sh.
- Another more serious drawback is it will lead to a knew issue:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=12644
For the first issue, we can fix it by introducing another udev rule for
boot partitions, to create a symbolic link:
/boot -> /media/BOOT-PARTITION-MOUNTPOINT
For the second issue, we can fix it by using MOUNT_BASE variable to
change mount base from /run/media to /media.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
Diffstat (limited to 'recipes-core/udev/udev-extraconf_%.bbappend')
-rw-r--r-- | recipes-core/udev/udev-extraconf_%.bbappend | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-core/udev/udev-extraconf_%.bbappend b/recipes-core/udev/udev-extraconf_%.bbappend index fe459da..d746f6b 100644 --- a/recipes-core/udev/udev-extraconf_%.bbappend +++ b/recipes-core/udev/udev-extraconf_%.bbappend @@ -1 +1 @@ -FILESEXTRAPATHS:prepend := "${THISDIR}/files/:" +MOUNT_BASE = "/media" |