From 7d6e9b08d749983263ed3ee890f73d13e73740c8 Mon Sep 17 00:00:00 2001 From: Nicolas Reynolds Date: Sun, 5 Feb 2012 02:45:18 -0300 Subject: Make treepkg run HOOKLOCALRELEASE and mipsrelease update the databases treepkg should stay away of updating databases, since it can be used inside or outside the chroot. (updating dbs from outside is unnecessary) --- mips64el/mipsrelease | 2 ++ treepkg | 1 + 2 files changed, 3 insertions(+) diff --git a/mips64el/mipsrelease b/mips64el/mipsrelease index 1a4aade..e1035aa 100755 --- a/mips64el/mipsrelease +++ b/mips64el/mipsrelease @@ -57,4 +57,6 @@ popd >/dev/null $libretoolsdir/chcleanup || true +sudo pacman -Sy + exit $? diff --git a/treepkg b/treepkg index ccabe20..376af91 100755 --- a/treepkg +++ b/treepkg @@ -148,6 +148,7 @@ if [ ${DEPTH} -eq 0 ]; then # Run build command pushd "${BUILDDIR}/${_pkg}" >/dev/null ${FULLBUILDCMD} + ${HOOKLOCALRELEASE} popd >/dev/null done -- cgit v1.1-4-g5e80