diff options
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-core/initrdscripts/files/init-install-efi.sh | 1 | ||||
| -rw-r--r-- | meta/recipes-core/initrdscripts/files/init-install.sh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-install-efi.sh b/meta/recipes-core/initrdscripts/files/init-install-efi.sh index b142ed4915..70a2ee6073 100644 --- a/meta/recipes-core/initrdscripts/files/init-install-efi.sh +++ b/meta/recipes-core/initrdscripts/files/init-install-efi.sh | |||
| @@ -17,6 +17,7 @@ swap_ratio=5 | |||
| 17 | # Get a list of hard drives | 17 | # Get a list of hard drives |
| 18 | hdnamelist="" | 18 | hdnamelist="" |
| 19 | live_dev_name=${1%%/*} | 19 | live_dev_name=${1%%/*} |
| 20 | live_dev_name=${live_dev_name%%[0-9]*} | ||
| 20 | 21 | ||
| 21 | echo "Searching for hard drives ..." | 22 | echo "Searching for hard drives ..." |
| 22 | 23 | ||
diff --git a/meta/recipes-core/initrdscripts/files/init-install.sh b/meta/recipes-core/initrdscripts/files/init-install.sh index 486c9f2635..29587b0cc9 100644 --- a/meta/recipes-core/initrdscripts/files/init-install.sh +++ b/meta/recipes-core/initrdscripts/files/init-install.sh | |||
| @@ -16,6 +16,7 @@ swap_ratio=5 | |||
| 16 | # Get a list of hard drives | 16 | # Get a list of hard drives |
| 17 | hdnamelist="" | 17 | hdnamelist="" |
| 18 | live_dev_name=${1%%/*} | 18 | live_dev_name=${1%%/*} |
| 19 | live_dev_name=${live_dev_name%%[0-9]*} | ||
| 19 | 20 | ||
| 20 | echo "Searching for hard drives ..." | 21 | echo "Searching for hard drives ..." |
| 21 | 22 | ||
