summaryrefslogtreecommitdiff
path: root/sys-boot
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-03-04 19:46:49 +0100
committerKarel Kočí <cynerd@email.cz>2020-03-04 19:46:49 +0100
commitb90bea3816970a1947db6766e60bef593e8f72a4 (patch)
tree5462773f1687c72ab77e68625eb87bcd292c9a51 /sys-boot
parent627b29b24a42f7df86d15cc187113dbf37ee34eb (diff)
downloadgentoo-personal-overlay-b90bea3816970a1947db6766e60bef593e8f72a4.tar.gz
gentoo-personal-overlay-b90bea3816970a1947db6766e60bef593e8f72a4.tar.bz2
gentoo-personal-overlay-b90bea3816970a1947db6766e60bef593e8f72a4.zip
sys-boot/myinitramfs: fix no such file or directory
The point is that we have /bin/sh but that is not available so we have to run it directly trough busybox.
Diffstat (limited to 'sys-boot')
-rwxr-xr-xsys-boot/myinitramfs/files/init.enc2
-rw-r--r--sys-boot/myinitramfs/myinitramfs-1.5.4-r1.ebuild (renamed from sys-boot/myinitramfs/myinitramfs-1.5.3-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 44b1902..d6ee5a7 100755
--- a/sys-boot/myinitramfs/files/init.enc
+++ b/sys-boot/myinitramfs/files/init.enc
@@ -84,7 +84,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
- initramfs_password | cryptsetup open --key-file=- "$root" encroot
+ busybox ash initramfs_password | cryptsetup open --key-file=- "$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.3-r1.ebuild b/sys-boot/myinitramfs/myinitramfs-1.5.4-r1.ebuild
index 2cb3f91..2cb3f91 100644
--- a/sys-boot/myinitramfs/myinitramfs-1.5.3-r1.ebuild
+++ b/sys-boot/myinitramfs/myinitramfs-1.5.4-r1.ebuild