generic-poky/meta/recipes-core/initrdscripts
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
..
files initramfs-live-install*: fix the "install" boot option 2013-04-16 12:06:40 +01:00
initramfs-framework initrdscripts: look for new systemd-udevd location 2013-04-13 23:53:06 +01:00
initramfs-boot_1.0.bb Set an explicit path for the initrd scripts 2011-09-16 13:30:26 +01:00
initramfs-framework_1.0.bb initramfsframework: Improve RDEPENDS to be package specific 2013-02-04 16:42:48 +00:00
initramfs-live-boot_1.0.bb initramfs-live-boot: explicitly depend on udev-extraconf 2013-04-15 15:58:15 +01:00
initramfs-live-install-efi_1.0.bb initramfs-live-install*: fix the "install" boot option 2013-04-16 12:06:40 +01:00
initramfs-live-install_1.0.bb initramfs-live-install*: fix the "install" boot option 2013-04-16 12:06:40 +01:00