summaryrefslogtreecommitdiff
path: root/sys-boot/myinitramfs/files
diff options
context:
space:
mode:
Diffstat (limited to 'sys-boot/myinitramfs/files')
-rwxr-xr-xsys-boot/myinitramfs/files/init.enc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-boot/myinitramfs/files/init.enc b/sys-boot/myinitramfs/files/init.enc
index ef92527..03cfffc 100755
--- a/sys-boot/myinitramfs/files/init.enc
+++ b/sys-boot/myinitramfs/files/init.enc
@@ -52,7 +52,7 @@ for opt in $(cat /proc/cmdline); do
root=${opt:5}
;;
rootuuid=*)
- root=/dev/disk/by-uuid/${opt:9}
+ root="$(blkid --uuid ${opt:9} --output device)"
;;
rootflags=*)
rootflags=${opt:10}