summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/initrdscripts/files/init-install-efi.sh4
-rw-r--r--meta/recipes-core/initrdscripts/files/init-install.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-install-efi.sh b/meta/recipes-core/initrdscripts/files/init-install-efi.sh
index 2d20a6dad7..441e25238d 100644
--- a/meta/recipes-core/initrdscripts/files/init-install-efi.sh
+++ b/meta/recipes-core/initrdscripts/files/init-install-efi.sh
@@ -31,8 +31,8 @@ echo "Searching for hard drives ..."
31 31
32# Some eMMC devices have special sub devices such as mmcblk0boot0 etc 32# Some eMMC devices have special sub devices such as mmcblk0boot0 etc
33# we're currently only interested in the root device so pick them wisely 33# we're currently only interested in the root device so pick them wisely
34devices=`ls /sys/block/ | grep -v mmcblk` 34devices=`ls /sys/block/ | grep -v mmcblk` || true
35mmc_devices=`ls /sys/block/ | grep "mmcblk[0-9]\{1,\}$"` 35mmc_devices=`ls /sys/block/ | grep "mmcblk[0-9]\{1,\}$"` || true
36devices="$devices $mmc_devices" 36devices="$devices $mmc_devices"
37 37
38for device in $devices; do 38for device in $devices; do
diff --git a/meta/recipes-core/initrdscripts/files/init-install.sh b/meta/recipes-core/initrdscripts/files/init-install.sh
index 89d5a5d9a4..04ce5fb4b5 100644
--- a/meta/recipes-core/initrdscripts/files/init-install.sh
+++ b/meta/recipes-core/initrdscripts/files/init-install.sh
@@ -30,8 +30,8 @@ echo "Searching for hard drives ..."
30 30
31# Some eMMC devices have special sub devices such as mmcblk0boot0 etc 31# Some eMMC devices have special sub devices such as mmcblk0boot0 etc
32# we're currently only interested in the root device so pick them wisely 32# we're currently only interested in the root device so pick them wisely
33devices=`ls /sys/block/ | grep -v mmcblk` 33devices=`ls /sys/block/ | grep -v mmcblk` || true
34mmc_devices=`ls /sys/block/ | grep "mmcblk[0-9]\{1,\}$"` 34mmc_devices=`ls /sys/block/ | grep "mmcblk[0-9]\{1,\}$"` || true
35devices="$devices $mmc_devices" 35devices="$devices $mmc_devices"
36 36
37for device in $devices; do 37for device in $devices; do