diff options
author | Karel Kočí <cynerd@email.cz> | 2020-03-04 19:54:57 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2020-03-04 19:54:57 +0100 |
commit | 732bf00a9d5240ef729dc000f4cb32b580300edb (patch) | |
tree | a243fd50c002b4fb4adae7312874541118483423 /sys-boot | |
parent | eb20778ebf648a9e5b5dc8dcef52e3aad25029a1 (diff) | |
download | gentoo-personal-overlay-732bf00a9d5240ef729dc000f4cb32b580300edb.tar.gz gentoo-personal-overlay-732bf00a9d5240ef729dc000f4cb32b580300edb.tar.bz2 gentoo-personal-overlay-732bf00a9d5240ef729dc000f4cb32b580300edb.zip |
sys-boot/myinitramfs: fix open
Diffstat (limited to 'sys-boot')
-rwxr-xr-x | sys-boot/myinitramfs/files/init.enc | 2 | ||||
-rw-r--r-- | sys-boot/myinitramfs/myinitramfs-1.5.6-r1.ebuild (renamed from sys-boot/myinitramfs/myinitramfs-1.5.5-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 cdb4ab0..1fea03a 100755 --- a/sys-boot/myinitramfs/files/init.enc +++ b/sys-boot/myinitramfs/files/init.enc @@ -85,7 +85,7 @@ root="$(blkid | awk -v uuid="UUID=\"$uuid\"" '$2 == uuid { gsub(/:$/,"",$1); pri echo -e "${C_GREEN}Unlocking root...${C_NO}" if command -v initramfs_password >/dev/null; then busybox ash "$(command -v initramfs_password)" | \ - cryptsetup open --key-file=- "$root" encroot + cryptsetup open "$root" encroot else cryptsetup open "$root" encroot fi || fail "Unlocking root failed! /proc/cmdline=$(cat /proc/cmdline)" diff --git a/sys-boot/myinitramfs/myinitramfs-1.5.5-r1.ebuild b/sys-boot/myinitramfs/myinitramfs-1.5.6-r1.ebuild index 2cb3f91..2cb3f91 100644 --- a/sys-boot/myinitramfs/myinitramfs-1.5.5-r1.ebuild +++ b/sys-boot/myinitramfs/myinitramfs-1.5.6-r1.ebuild |