summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsys-boot/myinitramfs/files/init.enc2
-rw-r--r--sys-boot/myinitramfs/myinitramfs-1.4.2-r1.ebuild (renamed from sys-boot/myinitramfs/myinitramfs-1.4.1-r1.ebuild)0
2 files changed, 1 insertions, 1 deletions
diff --git a/sys-boot/myinitramfs/files/init.enc b/sys-boot/myinitramfs/files/init.enc
index 69dc1c0..9fcde55 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="$(blkid | awk "/UUID=\"${opt:9}\"/{ sub(/:/, ''); print \$1 }")"
+ root="$(blkid | awk "/UUID=\"${opt:9}\"/{ print \$1 }" | tr -d ':')"
;;
rootflags=*)
rootflags=${opt:10}
diff --git a/sys-boot/myinitramfs/myinitramfs-1.4.1-r1.ebuild b/sys-boot/myinitramfs/myinitramfs-1.4.2-r1.ebuild
index e31efdc..e31efdc 100644
--- a/sys-boot/myinitramfs/myinitramfs-1.4.1-r1.ebuild
+++ b/sys-boot/myinitramfs/myinitramfs-1.4.2-r1.ebuild