diff options
author | Karel Kočí <cynerd@email.cz> | 2018-04-11 23:43:41 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-04-11 23:43:41 +0200 |
commit | 6755a9d18d81844b50599ab032b4de99a15be6f6 (patch) | |
tree | 16c5b2e0b637d36503f63ea0328b5eb70c2226f6 | |
parent | 5250c10f9497725f92fdbb14521050cd4e90d42b (diff) | |
download | gentoo-personal-overlay-6755a9d18d81844b50599ab032b4de99a15be6f6.tar.gz gentoo-personal-overlay-6755a9d18d81844b50599ab032b4de99a15be6f6.tar.bz2 gentoo-personal-overlay-6755a9d18d81844b50599ab032b4de99a15be6f6.zip |
myinitramfs: fix init for rootuuid
-rwxr-xr-x | sys-boot/myinitramfs/files/init.enc | 2 | ||||
-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 |