revdep-rebuild add glibc

This commit is contained in:
sulincix committed 2022-11-14 19:03:34 +00:00
1 parent 94d6fe262b
commit 6ad7d89dfb
2 files changed
+23

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
#!/bin/bash
export LANG=C
export LC_ALL=C
check(){
file="$1"
echo -en "\033[2K\rChecking: $file"
ldd $file |& grep "not found" | tr -s " " | cut -f1 -d" " | while read missing ; do
echo -en "\033[2K\r"
echo -e "\033[31;1m$file\033[;0m => $missing"
done | sort | uniq
}
find /lib64 /lib32 /lib /usr/lib /usr/lib64 /usr/lib32 -type f |& grep ".so$" | while read file; do
check $file
done
find /bin /sbin /usr/bin/ /usr/sbin -type f |& while read file; do
check $file
done
echo -en "\033[2K\r"
+3
View File
@@ -15,6 +15,7 @@ source=('https://ftp.gnu.org/gnu/glibc/glibc-2.36.tar.xz'
'glibc.sysconf'
'reenable_DT_HASH.patch'
'locale-gen'
'revdep-rebuild'
)
md5sums=('00e9b89e043340f688bc93ec03239b57'
'SKIP'
@@ -23,6 +24,7 @@ md5sums=('00e9b89e043340f688bc93ec03239b57'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
)
uses=(multilib)
group=(system.base)
@@ -108,5 +110,6 @@ package(){
install ../glibc.sysconf ${DESTDIR}/etc/sysconf.d/glibc
# install extra tools
install ../locale-gen ${DESTDIR}/bin/locale-gen
install ../revdep-rebuild ${DESTDIR}/bin/revdep-rebuild
}