mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 15:37:13 +08:00
This commit is contained in:
parent
c2b917e70d
commit
2359a9b452
@ -30,11 +30,11 @@ fi
|
||||
|
||||
list="$1"
|
||||
startdir=$(pwd)
|
||||
packages=`cat $startdir/rebuildlist-$list.txt | grep -v "$list"`
|
||||
packages=`cat $startdir/_temp/rebuildlist-$list.txt | grep -v "$list"`
|
||||
|
||||
# pushd $list
|
||||
# ../makepkg -si
|
||||
# popd
|
||||
pushd $list
|
||||
../makepkg -si
|
||||
popd
|
||||
|
||||
for pkg in $packages; do
|
||||
pushd $pkg
|
||||
|
@ -62,12 +62,17 @@ for solib in $liblist; do
|
||||
grepexpr="$grepexpr -e ${solib%%.so}.so"
|
||||
done
|
||||
|
||||
if [ -e "$startdir/_temp/rebuildlist-$package.txt" ]; then
|
||||
rm -rf $startdir/_temp/rebuildlist-$package.txt
|
||||
fi
|
||||
|
||||
startdir=$(pwd)
|
||||
tmpdir=$(mktemp -d)
|
||||
cd $tmpdir
|
||||
|
||||
newline
|
||||
title2 "Scanning packages"
|
||||
msg "This can take a lot of time"
|
||||
|
||||
for pkg in $(ls $directory/*.pkg.*); do
|
||||
pkg=${pkg##*\/}
|
||||
@ -87,7 +92,7 @@ for pkg in $(ls $directory/*.pkg.*); do
|
||||
done
|
||||
|
||||
status_start "saving rebuildlist-$package.txt"
|
||||
cp $tmpdir/rebuildlist-$package.txt $startdir
|
||||
cp $tmpdir/rebuildlist-$package.txt $startdir/_temp/
|
||||
status_done
|
||||
|
||||
newline
|
||||
|
Loading…
Reference in New Issue
Block a user