diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2013-04-15 11:33:46 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-23 13:00:53 +0100 |
commit | 45e460d0846f0f660128dc06064b597ce40282b3 (patch) | |
tree | ba24ba8754ddaa51ea9fd1bebf084c37c0d3f3cb /meta/recipes-graphics/builder | |
parent | 3a32c753e786d495f6c8f2fd8249b507a4496319 (diff) | |
download | poky-45e460d0846f0f660128dc06064b597ce40282b3.tar.gz |
initramfs-live-install*: fix the "install" boot option
The install boot option was giving the following error when one tried to
install the live image on a permanent storage of a BSP.
cat: write error Invalid argument
Installation image failed
sh: can't access tty: job control turned off
Further digging into the issue, found out that the install script was trying
to do this:
cat /proc/mounts > /etc/mtab
And in the base-files recipe the /etc/mtab is made soft link to /proc/mounts.
So the cat command was failing to write on /etc/mtab. As the contents of
the /proc/mounts is already reflected in the /etc/mtab file due to the
symlink-ing, there is no need for this step to recreate /etc/mtab in the
install script. So just removing this unnecessary step, which solves the
install issue of the live images.
Fixes this bug:
[YOCTO #4229]
(From OE-Core rev: 2f5d41f94c53aaf606de66891c37de0dbd86f54b)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/builder')
0 files changed, 0 insertions, 0 deletions