Accepting request 929857 from home:mitko_zahariev:branches:devel:kubic:ignition

Changed the "Try disks next" section to check for both lower and upper case volume names. This is necessary for FAT/FAT32 volumes created under Windows.

OBS-URL: https://build.opensuse.org/request/show/929857
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/combustion?expand=0&rev=22
This commit is contained in:
Fabian Vogt 2021-11-24 13:08:55 +00:00 committed by Git OBS Bridge
parent 7fa1256bc6
commit ec1e979ea6

View File

@ -24,8 +24,8 @@ if [ "${1-}" = "--prepare" ]; then
config_drive_found=1
fi
# Try disks next
for label in combustion ignition; do
# Try disks next - both lower and upper case
for label in combustion COMBUSTION ignition IGNITION; do
[ "${config_drive_found}" = "1" ] && break
[ -e "/dev/disk/by-label/${label}" ] || continue