summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-05 02:45:18 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-05 02:45:18 -0300
commit7d6e9b08d749983263ed3ee890f73d13e73740c8 (patch)
tree8f3b903b3c9bd3e42b4239135a53cb697a463374
parent9f28620de84a5a35d2ca029ad9145a4b01233929 (diff)
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)
-rwxr-xr-xmips64el/mipsrelease2
-rwxr-xr-xtreepkg1
2 files changed, 3 insertions, 0 deletions
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