summaryrefslogtreecommitdiff
path: root/sys-boot/myinitramfs/files/gen.sh
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2021-09-02 16:09:01 +0200
committerKarel Kočí <cynerd@email.cz>2021-09-02 16:09:01 +0200
commitb798d41c3ab3d824e49904183e50522f38cd9d99 (patch)
treebccb879ec4cf90b150b46a9ec1db179859c5a18c /sys-boot/myinitramfs/files/gen.sh
parent4bc26a55e65275522d0b9723901d9d198b5b6ce9 (diff)
downloadgentoo-personal-overlay-b798d41c3ab3d824e49904183e50522f38cd9d99.tar.gz
gentoo-personal-overlay-b798d41c3ab3d824e49904183e50522f38cd9d99.tar.bz2
gentoo-personal-overlay-b798d41c3ab3d824e49904183e50522f38cd9d99.zip
sys-boot/myinitramfs: another try to fix
Diffstat (limited to 'sys-boot/myinitramfs/files/gen.sh')
-rwxr-xr-xsys-boot/myinitramfs/files/gen.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-boot/myinitramfs/files/gen.sh b/sys-boot/myinitramfs/files/gen.sh
index e15edcd..3bc5b37 100755
--- a/sys-boot/myinitramfs/files/gen.sh
+++ b/sys-boot/myinitramfs/files/gen.sh
@@ -22,6 +22,11 @@ cp baselist "$LIST"
# Init script
echo "file /init ./init.enc 755 0 0" >> "$LIST"
echo >> "$LIST"
+# GCC library
+find /usr/lib/gcc -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"