diff options
Diffstat (limited to 'sys-boot/myinitramfs/files/gen.sh')
-rwxr-xr-x | sys-boot/myinitramfs/files/gen.sh | 5 |
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" |