summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-14 11:41:40 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-14 11:41:40 -0300
commit875ec16b3d25c2b4d9dc5c940702f5ecde76cf7f (patch)
tree27f377ae3d51d071981a3ee174a48840872c2b8c
parent9e8d1be6f00e61f15ab58459dcfb7b6e98609e2f (diff)
Update the system before building
-rwxr-xr-xmips64el/mipsrelease2
-rwxr-xr-xtreepkg2
2 files changed, 3 insertions, 1 deletions
diff --git a/mips64el/mipsrelease b/mips64el/mipsrelease
index 5d0034d..f245c47 100755
--- a/mips64el/mipsrelease
+++ b/mips64el/mipsrelease
@@ -53,7 +53,7 @@ done
repo-add ${PKGDEST}/stage3.db.tar.gz ${pkgs[@]}
-sudo pacman -Sy
+#sudo pacman -Sy
librestage ${repo}
diff --git a/treepkg b/treepkg
index b3e4fe0..a49301e 100755
--- a/treepkg
+++ b/treepkg
@@ -185,6 +185,8 @@ if [ ${DEPTH} -eq 0 ]; then
# Run build command
pushd "${BUILDDIR}/${_pkg}" >/dev/null
+ sudo pacman -Syu
+
${FULLBUILDCMD}
# Run local release hook with $1 = $repo
${HOOKLOCALRELEASE} $(egrep ";${_pkg#*_};" "${BUILDORDER}" | cut -d';' -f6)