summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2021-09-04 16:43:29 +0200
committerKarel Kočí <cynerd@email.cz>2021-09-04 16:43:29 +0200
commit79ed6249ce3149eda1d895087c8665a41f6fb47e (patch)
treefcd97da3473a5da157425f0b8beea946723b6b5c
parent0dedc589a05f16794e8a1228178c58aa22699de7 (diff)
downloadgentoo-personal-overlay-79ed6249ce3149eda1d895087c8665a41f6fb47e.tar.gz
gentoo-personal-overlay-79ed6249ce3149eda1d895087c8665a41f6fb47e.tar.bz2
gentoo-personal-overlay-79ed6249ce3149eda1d895087c8665a41f6fb47e.zip
sys-boot/myinitramfs: revert changes
As it seems the issue is somewhere else. The lock is now in /run/cryptsetup and /run is present. The code to include libgcc_s.so does not work as there are two more levels to include and the biggest issue is that it won't help anyway. I tested it by adding those files to filesystem and chrooting to it. The error was same. I even copied whole /usr and /lib and /lib64 and the error was same. This seems like there is something rotten deep. The root cause seems to be in the used algorithm. The default now is argon2 but when I use pbkdf2 the issue is gone. The issue seems to be with libargon2.so as it seems.
-rw-r--r--sys-boot/myinitramfs/files/baselist2
-rwxr-xr-xsys-boot/myinitramfs/files/gen.sh7
2 files changed, 0 insertions, 9 deletions
diff --git a/sys-boot/myinitramfs/files/baselist b/sys-boot/myinitramfs/files/baselist
index e176739..e1ad584 100644
--- a/sys-boot/myinitramfs/files/baselist
+++ b/sys-boot/myinitramfs/files/baselist
@@ -15,8 +15,6 @@ dir /usr/sbin 755 0 0
dir /usr/lib64 755 0 0
dir /mnt 755 0 0
dir /mnt/root 755 0 0
-dir /run/lock 755 0 0
-dir /run/lock/cryptsetup 755 0 0
# Ld
file /lib64/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2 755 0 0
diff --git a/sys-boot/myinitramfs/files/gen.sh b/sys-boot/myinitramfs/files/gen.sh
index 697968b..e15edcd 100755
--- a/sys-boot/myinitramfs/files/gen.sh
+++ b/sys-boot/myinitramfs/files/gen.sh
@@ -22,13 +22,6 @@ cp baselist "$LIST"
# Init script
echo "file /init ./init.enc 755 0 0" >> "$LIST"
echo >> "$LIST"
-# GCC library
-echo "dir /usr/lib 755 0 0" >> "$LIST"
-echo "dir /usr/lib/gcc 755 0 0" >> "$LIST"
-find /usr/lib/gcc -type f -name libgcc\*\.so\* | while read -r lib; do
- echo "file $lib $lib 755 0 0" >> "$LIST"
-done
-echo >> "$LIST"
# Executables required when USE_DMI
if [ -n "$USE_DMI" ]; then
echo "file /sbin/initramfs_password ./initramfs_password 755 0 0" >> "$LIST"