diff --git a/mkosi.extra/usr/bin/_kdeos-overlay b/mkosi.extra/usr/bin/_kdeos-overlay index b4dd9d6..2754277 100755 --- a/mkosi.extra/usr/bin/_kdeos-overlay +++ b/mkosi.extra/usr/bin/_kdeos-overlay @@ -5,7 +5,7 @@ set -ex rootdisk=/dev/disk/by-partlabel/KDEOS -if [ -r /dev/gpt-auto-root ]; then +if [ -b /dev/gpt-auto-root ]; then # When the partition was auto detected we can just use the auto-root device rootdisk=/dev/gpt-auto-root fi