update to include extra packages list
This commit is contained in:
parent
e4c00bcfa8
commit
7413c67f51
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
set -x
|
||||
|
||||
export CVSREADONLYFS=1
|
||||
DESTLIST=/home/builder/fulllist
|
||||
|
@ -35,5 +36,6 @@ do
|
|||
printf "SELECT DISTINCT fullpkgpath from ports where fullpkgpath like '%s' or fullpkgpath like '%s,%%'" "$port" "$port" | sqlite3 /usr/local/share/sqlports >> $DESTLIST
|
||||
done
|
||||
|
||||
cat config/include.txt $DESTLIST | sort | uniq > $DESTLIST
|
||||
cat config/include.txt $DESTLIST | sort | uniq > ${DESTLIST}.new
|
||||
mv ${DESTLIST}.new $DESTLIST
|
||||
echo "devel/quirks" >> $DESTLIST
|
||||
|
|
|
@ -10,6 +10,13 @@ do
|
|||
scp $REMOTE:scripts/config/rsync_output /tmp/${arch}_output.txt
|
||||
done
|
||||
|
||||
grep tgz$ /tmp/*_output.txt
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo "No package ?!" | mail -s "no package stable" solene@openbsd.org
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# generate some build stats for the mail
|
||||
{
|
||||
printf "Hello. New package(s) to sign.\n\n---\n"
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
PATHLIST=$(cut -d '/' -f 1-2 config/tmppkgliste | sort | uniq | tr '\n' ' ')
|
||||
|
||||
# fetch distfiles to avoid issues
|
||||
cd /home/ports
|
||||
env SUBDIRLIST=~/fulllist BULK=yes make fetch
|
||||
|
||||
for arch in sparc64 amd64 i386 arm64; do
|
||||
REMOTE=builder@${arch}-stable.ports.openbsd.org
|
||||
scp config/*clude.txt ${REMOTE}:scripts/config/
|
||||
|
|
|
@ -10,9 +10,9 @@ for port in $(cat $TMPLIST)
|
|||
do
|
||||
for dep in $(printf "SELECT DISTINCT fullpkgpath from ports where fullpkgpath like '%s' and not pkgspec LIKE '%%*' ;" "$port" | sqlite3 /usr/local/share/sqlports)
|
||||
do
|
||||
show-reverse-deps "$dep" | tee -a $TMPFILE
|
||||
show-reverse-deps "$dep" >> $TMPFILE
|
||||
done
|
||||
done
|
||||
|
||||
echo "pkgpath that should be included or excluded"
|
||||
cat config/{include,exclude}.txt $TMPFILE | sort | uniq
|
||||
echo "pkgpath that should be included or excluded (if any)"
|
||||
cat config/{include,exclude}.txt $TMPFILE | sort | uniq -u
|
||||
|
|
Loading…
Reference in New Issue