autodist-inspect,40-autodist-cleanold: commit minor changes done in production
This commit is contained in:
parent
d0b8d56db4
commit
5bac010c6d
@ -26,6 +26,8 @@ grep -i $checkpkg ${LOCAL_REPS_BASE_DIR}/distromatic/base/sources
|
||||
#tail -n+2 ${PREFIX}/distromatic/base/deps-* | grep -i $checkpkg
|
||||
echo -e "\n=== distdb: ==="
|
||||
grep -i $checkpkg ${LOCAL_REPS_BASE_DIR}/base/distdb
|
||||
echo -e "\n=== legacy: ==="
|
||||
grep -i $checkpkg ${LOCAL_REPS_BASE_DIR}/base/legacy
|
||||
for repo in base devel-makedist devel-autodist devel-misc; do
|
||||
echo -e "\n=== ${repo}: ==="
|
||||
ls ${LOCAL_REPS_BASE_DIR}/${repo}/SRPMS.base/*$checkpkg* 2>/dev/null
|
||||
|
@ -54,6 +54,7 @@ for i in `seq 0 ${#AUTOPORT_ARCH[*]}`; do
|
||||
clean /var/autodist
|
||||
find /var/autodist-tmp/ -mindepth 1 -maxdepth 1 -ctime ${TMP_CTIME_OLD} -exec rm -rf {} \;
|
||||
sudo -u autodist ccache -C
|
||||
sudo -u autodist yarn cache clean
|
||||
elif [ "${AUTOPORT_NATIVE[$i]}" -a "${AUTOPORT_CHROOT_USER[$i]}" ]; then
|
||||
WORKINGHOME=`getent passwd ${AUTOPORT_CHROOT_USER[$i]} | cut -d: -f6`
|
||||
if [ -e $WORKINGHOME ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user