If the live image is mounted as read-only, we cannot make necessary directories under $ROOT_DIR/media, thus trying to move the mount points lead to errors. If the rootfs is mounted as read-only, the media directory should be a mount point for tmpfs, such that it allows making directories under it. I'll send out a patch after Ross Burton's patch has been merged, as it is somewhat related. [OE-core] [PATCH] initrdscripts: mount / as read-only when live-booting //Chen Qi
Commit: aeeb3418ff08dfd29edc0ce8a41cb6887d4e11fe URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=aeeb3418ff08dfd29edc0ce8a41cb6887d4e11fe