poky/meta
Nitin A Kamble 45e460d084 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>
2013-04-23 13:00:53 +01:00
..
classes kernel bbclass: return to original directory in do_deploy 2013-04-23 13:00:52 +01:00
conf arch-armv4.inc: add --fix-v4bx to TARGET_LD_KERNEL_ARCH only for armv4 and strongarm1100 2013-02-14 15:19:52 +00:00
files bzip license: bzip2 not bzip. 2012-10-10 15:24:13 +01:00
lib/oe distrodata: Update distrocheck functions 2012-10-03 17:37:33 +01:00
recipes-bsp grub: disable lzma, device-mapper, zfs and nvpair 2012-09-19 17:56:27 +01:00
recipes-connectivity bluez4: add readline dependency 2013-04-23 13:00:53 +01:00
recipes-core initramfs-live-install*: fix the "install" boot option 2013-04-23 13:00:53 +01:00
recipes-devtools perl_5.14.2.bb:fix toolchain relocation issues 2013-04-23 13:00:52 +01:00
recipes-extended tcp-wrappers: add socklen_t.patch 2013-03-01 15:38:49 +00:00
recipes-gnome gnome-desktop: Now we depend on gnome-common-native, use the correct sysroot 2013-02-14 15:19:53 +00:00
recipes-graphics cogl/clutter: Explicitly depend on libdrm for GLX 2013-02-15 13:05:29 +00:00
recipes-kernel linux-dtb: fix whitespace in bash functions 2013-04-23 13:00:53 +01:00
recipes-lsb4/perl libi18n-collate-perl: add it 2012-09-10 13:01:54 +01:00
recipes-multimedia alsa-tools: fix compilation error 2013-03-01 15:38:49 +00:00
recipes-qt nativesdk-qt4-tools: fix DEPENDS, as nativesdk is now prefixed 2013-02-14 15:19:54 +00:00
recipes-rt rt-tests: added missing dependencies in Makefile 2013-02-14 15:19:53 +00:00
recipes-sato sato-icon-theme: fix build 2012-12-13 15:21:45 +00:00
recipes-support libproxy: add dependency on glib-2.0 2013-04-23 13:00:53 +01:00
site site/common-linux: fix incorrect size of pid_t for apr 2012-07-02 16:47:44 +01:00
COPYING.MIT
recipes.txt recipes.txt: Add entries for "recipes-rt" and "recipes-support" 2012-07-09 16:58:56 +01:00