summaryrefslogtreecommitdiff
path: root/sys-boot/myinitramfs/files/init.enc
diff options
context:
space:
mode:
Diffstat (limited to 'sys-boot/myinitramfs/files/init.enc')
-rwxr-xr-xsys-boot/myinitramfs/files/init.enc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-boot/myinitramfs/files/init.enc b/sys-boot/myinitramfs/files/init.enc
index 134d85c..ef92527 100755
--- a/sys-boot/myinitramfs/files/init.enc
+++ b/sys-boot/myinitramfs/files/init.enc
@@ -51,6 +51,9 @@ for opt in $(cat /proc/cmdline); do
root=*)
root=${opt:5}
;;
+ rootuuid=*)
+ root=/dev/disk/by-uuid/${opt:9}
+ ;;
rootflags=*)
rootflags=${opt:10}
;;