diff options
| -rw-r--r-- | meta/recipes-core/initrdscripts/files/init-install-efi.sh | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-install-efi.sh b/meta/recipes-core/initrdscripts/files/init-install-efi.sh index fcf21cd2f9..b142ed4915 100644 --- a/meta/recipes-core/initrdscripts/files/init-install-efi.sh +++ b/meta/recipes-core/initrdscripts/files/init-install-efi.sh | |||
| @@ -47,9 +47,14 @@ for hdname in $hdnamelist; do | |||
| 47 | echo -n "VENDOR=" | 47 | echo -n "VENDOR=" |
| 48 | cat /sys/block/$hdname/device/vendor | 48 | cat /sys/block/$hdname/device/vendor |
| 49 | fi | 49 | fi |
| 50 | echo -n "MODEL=" | 50 | if [ -r /sys/block/$hdname/device/model ]; then |
| 51 | cat /sys/block/$hdname/device/model | 51 | echo -n "MODEL=" |
| 52 | cat /sys/block/$hdname/device/uevent | 52 | cat /sys/block/$hdname/device/model |
| 53 | fi | ||
| 54 | if [ -r /sys/block/$hdname/device/uevent ]; then | ||
| 55 | echo -n "UEVENT=" | ||
| 56 | cat /sys/block/$hdname/device/uevent | ||
| 57 | fi | ||
| 53 | echo | 58 | echo |
| 54 | # Get user choice | 59 | # Get user choice |
| 55 | while true; do | 60 | while true; do |
