init-live.sh: move /media/xxx over to the real root filesystem
authorChen Qi <Qi.Chen@windriver.com>
Wed, 23 Jan 2013 06:08:04 +0000 (14:08 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Jan 2013 12:42:46 +0000 (12:42 +0000)
commit8e755ab20a83109d4df99f2793b9773ba38f9242
tree986388d492c9345b844c9a0c0d9351f10834c814
parente1f8355e6e7ec2a335e3954784c624f0d95e013e
init-live.sh: move /media/xxx over to the real root filesystem

Previously, the /media/xxx which contains the root image was not
moved to be under the real root filesystem. Because of this, the
output of the 'mount' command is somewhat confusing, that is, it
has some mount point that is not even in the filesystem.

Besides, on some machine, it caused the recovery procedure when we
booted it next time.

This patches fixes this issue by moving the /media/xxx over to be
under the real root filesystem.

[YOCTO #2064]
[YOCTO #3705]

(From OE-Core rev: 261d21d36298bb7822ee7370c30441f42ef2b093)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/initrdscripts/files/init-live.sh