generic-poky/meta/recipes-core/initrdscripts
Alejandro Hernandez 087c580b28 init-install: Fixes the install script failing when not finding any mmcblk devices
The init-install.sh and init-install-efi.sh scripts perform a check
to see which devices are available on a booted system for installation.

Recently, the way we check for these devices changed on 993bfb,
greping for devices found on /sys/block/, this change caused the installer
to fail (at least) when not finding any mmcblk devices, due to the fact
that we call sh -e to execute this script, so any command (grep)
or pipeline exiting with a non-zero status causes the whole script to exit

This patch throws in a harmless true exit status at the end of the pipeline(s)
of the grep commands to avoid the installer script from exiting, fixing the issue.

[YOCTO #10189]

(From OE-Core rev: 384cf92ca9c3e66763c2c1ff2776c53d47ae25d6)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-08-30 07:57:50 +01:00
..
files init-install: Fixes the install script failing when not finding any mmcblk devices 2016-08-30 07:57:50 +01:00
initramfs-framework initramfs-framework: Add support for PartUUIDs 2016-07-08 09:57:26 +01:00
initramfs-boot_1.0.bb meta: set proper S value 2015-01-23 11:36:27 +00:00
initramfs-framework_1.0.bb initramfs-framework: make rootfs module optional 2016-07-20 10:28:47 +01:00
initramfs-live-boot_1.0.bb initramfs-live-boot: create /dev/console 2015-09-06 15:26:24 +01:00
initramfs-live-install-efi-testfs_1.0.bb meta: set proper S value 2015-01-23 11:36:27 +00:00
initramfs-live-install-efi_1.0.bb initramfs-live-install: Add blkid to initramfs 2015-06-23 11:47:22 +01:00
initramfs-live-install-testfs_1.0.bb meta: set proper S value 2015-01-23 11:36:27 +00:00
initramfs-live-install_1.0.bb initramfs-live-install: Add blkid to initramfs 2015-06-23 11:47:22 +01:00