]> code.ossystems Code Review - openembedded-core.git/commit
init-live.sh: avoid duplicate mount points for the same filesystem
authorChen Qi <Qi.Chen@windriver.com>
Mon, 31 Dec 2012 07:55:20 +0000 (15:55 +0800)
committerSaul Wold <sgw@linux.intel.com>
Sat, 5 Jan 2013 06:12:05 +0000 (22:12 -0800)
commit050a745413f8bb26212b84da391e0f7665f77728
treedc19353c887aab9c88302ced1cd9caf5cb528349
parentebd56f6a12c55982467b34b9c4feae03358738fe
init-live.sh: avoid duplicate mount points for the same filesystem

A live system had duplicate mount points for the same filesystem
in the output of 'mount' command. That was because we didn't handle
the temporary mounts properly before switch_root.

This patch fixes this problem by moving the mount points of some
filesystems to the corresponding directories in the real root filesystem.

[YOCTO #3155]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/initrdscripts/files/init-live.sh