summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2013-06-06 14:31:17 +0800
committerSaul Wold <sgw@linux.intel.com>2013-06-10 14:51:25 -0700
commit79bd773cc5e8b8e873cabeb2b9a91f460501dad7 (patch)
treec40eadf5a051092ea469b9bf8a5d682345fc6af4 /.gitignore
parentfe297a70c7d6b36a6595534589c71d32209d6a53 (diff)
downloadopenembedded-core-79bd773cc5e8b8e873cabeb2b9a91f460501dad7.tar.gz
openembedded-core-79bd773cc5e8b8e873cabeb2b9a91f460501dad7.tar.bz2
openembedded-core-79bd773cc5e8b8e873cabeb2b9a91f460501dad7.zip
init-live.sh: fix media automount failed after booting from usb-drive
1, This issue happens to BSP only. After a BSP board is booted with Yocto linux from USB drive, "cat /proc/mounts" shows: ... /dev/sda3 /media/sda3 ext3 rw,relatime,errors=continue,user_xattr,acl,barrier=1,data=ordered 0 0 /dev/sda1 /media/sda1 ext3 rw,relatime,errors=continue,barrier=1,data=ordered 0 0 /dev/sda2 /media/sda2 ext3 rw,relatime,errors=continue,user_xattr,acl,barrier=1,data=ordered 0 0 ... but actually the directory /media/sda1 doesn't exist at all, "df" shows: ... df: /media/sda3: No such file or directory df: /media/sda1: No such file or directory df: /media/sda2: No such file or directory ... 2, This is because the mount data comes from proc setup during early boot before the change root, which then uses a different root filesystem, the media is not in the new root filesystem. 3, During early boot before switch_root, use `mount --move' to move all medias to the new root filesystem could also fix this issue. [YOCTO #2064] [YOCTO #3705] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions