Bug 4881

Summary: Cannot move the mount of /media/xxx over to $ROOT_DIR/media/xxx in live image
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Chen Qi <Qi.Chen>
Component: coreAssignee: Chen Qi <Qi.Chen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher
Version: 1.4   
Target Milestone: 1.5 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Chen Qi 2013-07-22 02:22:27 UTC
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
Comment 1 Chen Qi 2013-08-19 01:48:35 UTC
Commit: aeeb3418ff08dfd29edc0ce8a41cb6887d4e11fe
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=aeeb3418ff08dfd29edc0ce8a41cb6887d4e11fe