From 1b4455a5669e5961ad6164053f0280bb0c0b16c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 5 Apr 2018 08:19:38 +0200 Subject: myinitramfs: try to fix rootuuid option --- sys-boot/myinitramfs/files/init.enc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys-boot/myinitramfs/files') 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} -- cgit v1.2.3