mirror of
https://github.com/KDE/kde-linux.git
synced 2026-06-22 14:30:55 -04:00
overlay: check for block device
strangely enough block devices are block devices and not regular files ;)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user