generic-poky/meta
Denys Dmytriyenko 20ded0a263 udev-extraconf: update mount.sh to use /run/media instead of /media
This is done to work around the issue of auto-mounting block devices
(i.e. SD cards) when root filesystem is still in read-only mode and
creating /media/<device> mount-points by udev is not possible. That
is due to udev (/etc/rcS.d/S03udev) getting started earlier than
checkroot (/etc/rcS.d/S10checkroot.sh) gets a chance to re-mount the
rootfs as read-write.

Although, canonical FHS specifies /media/<device> as a mount point
for removable media devices, the latest 2.3 version was released in
2004 and since then FreeDesktop/udisks and other tools adopted the
new /run/media/<user>/<device> location. That was done to overcome
read-only rootfs limitation, since /run is usually a tmpfs mounted
partition, plus avoid name-clash between users.

For our embedded systems environment we assume single-user operation
and hence simplify mount point to just /run/media/<device>. But for
proper per-user mounting to /run/media/<user>/<device>, some sort of
session management is required along with the tool like udisks, that
is out of scope of this simple udev-based auto-mounting.

(From OE-Core rev: acfe3014d41de5e87cdbc58d0396349c6b9c3ffd)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-25 17:19:20 +01:00
..
classes kernel: don't populate source symbolic link 2014-04-25 17:19:20 +01:00
conf Globally replace 'base_contains' calls with 'bb.utils.contains' 2014-04-25 17:19:19 +01:00
files files/device_table-minimal.txt: cleanup 2014-04-25 17:19:20 +01:00
lib Globally replace oe.utils.contains to bb.utils.contains 2014-04-25 17:19:19 +01:00
recipes-bsp Globally replace 'base_contains' calls with 'bb.utils.contains' 2014-04-25 17:19:19 +01:00
recipes-connectivity bind: add support for read-only rootfs 2014-04-25 17:19:19 +01:00
recipes-core udev-extraconf: update mount.sh to use /run/media instead of /media 2014-04-25 17:19:20 +01:00
recipes-devtools opkg: Upgrade to v0.2.2 2014-04-25 17:19:19 +01:00
recipes-extended Globally replace 'base_contains' calls with 'bb.utils.contains' 2014-04-25 17:19:19 +01:00
recipes-gnome Globally replace 'base_contains' calls with 'bb.utils.contains' 2014-04-25 17:19:19 +01:00
recipes-graphics Globally replace 'base_contains' calls with 'bb.utils.contains' 2014-04-25 17:19:19 +01:00
recipes-kernel Globally replace 'base_contains' calls with 'bb.utils.contains' 2014-04-25 17:19:19 +01:00
recipes-lsb4 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues (part 2) 2014-02-20 14:28:13 +00:00
recipes-multimedia Globally replace 'base_contains' calls with 'bb.utils.contains' 2014-04-25 17:19:19 +01:00
recipes-qt Globally replace 'base_contains' calls with 'bb.utils.contains' 2014-04-25 17:19:19 +01:00
recipes-rt hwatdetect: Fix build failures from undeclared INC_PR 2014-02-13 16:59:50 +00:00
recipes-sato Globally replace 'base_contains' calls with 'bb.utils.contains' 2014-04-25 17:19:19 +01:00
recipes-support Globally replace 'base_contains' calls with 'bb.utils.contains' 2014-04-25 17:19:19 +01:00
site mips64-linux: set ac_cv_sizeof_ssize_t 2014-03-17 14:01:42 +00:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt meta/recipes.txt: add recipes-lsb4 2013-04-10 09:23:17 +01:00