poky/meta/recipes-core/initrdscripts
Sullivan, California L 9428030a3d install*.sh: add short sleep after parted commands
I wasn't able to install to my Optane SSD due to the following error:

Formatting /dev/nvme0n1p1 to vfat...
mkfs.fat 4.1 (2017-01-24)
mkfs.vfat: unable to open /dev/nvme0n1p1: No such file or directory
Target install-efi failed

A couple lines later I see:

[    10.265401]  nvme0n1: p1 p2 p3

Then looking at the device itself after booting from a USB stick:

root@intel-corei7-64: ~# ls /dev/nvme0n1*
/dev/nvme0n1 /dev/nvme0n1p1 /dev/nvme0n1p2 /dev/nvme0n1p3

So it looks like the parted commands return before the device node is
actually created.

Work around this issue by waiting for device nodes for a short duration.

(From OE-Core rev: 140565039b6a7944a3984d273243e1a00e62175f)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 9daafd49b448122e35d67a1637ce2212793a4dc5)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 10:13:55 +00:00
..
files install*.sh: add short sleep after parted commands 2018-01-06 10:13:55 +00:00
initramfs-framework initramfs-module-install-efi: point to original copy and delete new file 2018-01-06 10:13:55 +00: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: bump PR and fix install-efi and setup-live modules 2017-09-12 23:55:28 +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_1.0.bb initramfs-live-install: Add aarch64 arch to COMPATIBLE_HOST. 2017-12-04 17:23:58 +00:00
initramfs-live-install-efi_1.0.bb initramfs-live-install: Add aarch64 arch to COMPATIBLE_HOST. 2017-12-04 17:23:58 +00: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-testfs_1.0.bb meta: set proper S value 2015-01-23 11:36:27 +00:00
initramfs-module-install_1.0.bb initramfs-module-install: Remove allarch and FILESEXTRAPATHS 2018-01-06 10:13:55 +00:00
initramfs-module-install-efi_1.0.bb initramfs-module-install: Remove allarch and FILESEXTRAPATHS 2018-01-06 10:13:55 +00:00
initramfs-module-setup-live_1.0.bb initramfs-framework: bump PR and fix install-efi and setup-live modules 2017-09-12 23:55:28 +01:00