From 79ed6249ce3149eda1d895087c8665a41f6fb47e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 4 Sep 2021 16:43:29 +0200 Subject: 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. --- sys-boot/myinitramfs/files/gen.sh | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sys-boot/myinitramfs/files/gen.sh') 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" -- cgit v1.2.3