generic-poky/meta
Nitin A Kamble 1695345393 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: f8663eac872882e94d956b1b604304e92b865766)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-16 12:06:40 +01:00
..
classes update-alternatives: Ensure DEPENDS is correct in multilib case 2013-04-15 15:57:29 +01:00
conf multilib.conf: Workaround opkg multilib issues 2013-04-13 23:49:28 +01:00
files fs-perms: remove /var/cache from volatiles 2013-02-06 09:37:29 +00:00
lib/oe oe.terminal: add tmux classes 2013-04-15 15:57:29 +01:00
recipes-bsp pointercal: Move override files from 'files' to 'pointercal' directory 2013-04-04 14:08:06 +01:00
recipes-connectivity openssl: update range information in man-section.patch 2013-04-16 12:06:40 +01:00
recipes-core initramfs-live-install*: fix the "install" boot option 2013-04-16 12:06:40 +01:00
recipes-devtools allarch: Drop various problematic allarch usages 2013-04-15 15:57:30 +01:00
recipes-extended sudo: update crypt.patch to use backport from upstream 2013-04-12 17:00:45 +01:00
recipes-gnome gdk-pixbuf: Fix libpng determinism issues 2013-04-13 23:49:28 +01:00
recipes-graphics mesa: don't fail if x11 isn't available 2013-04-16 12:06:40 +01:00
recipes-kernel kern-tools: fix custom repository BSP generation 2013-04-15 22:35:28 +01:00
recipes-lsb4 libpng12: rename libpng_1.2.50 to libpng12 2013-04-09 13:16:53 +01:00
recipes-multimedia pulseaudio: remove spurious cd in do_compile_prepend 2013-04-11 12:20:35 +01:00
recipes-qt qt-mobility: added list of modules to be compiled 2013-04-03 17:01:13 +01:00
recipes-rt packagegroup-core-tools-debug: split out Eclipse packages 2013-03-23 11:48:52 +00:00
recipes-sato packagegroup-core-tools-debug: split out Eclipse packages 2013-03-23 11:48:52 +00:00
recipes-support curl: backport patch to fix segfaults 2013-04-05 23:05:34 +01:00
site site/common-uclibc: add predefined configure vars for coreutils 2013-04-05 11:14:12 +01:00
COPYING.MIT
recipes.txt meta/recipes.txt: add recipes-lsb4 2013-04-10 09:23:17 +01:00