summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-02-18 13:32:29 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-02-18 13:32:29 +0100
commitc19d60441e3e5c1940c5d4b9c57e3022d969fac6 (patch)
tree7b9d8ac193d91fa3610bb025fcc4e7f02832eea9
parenteeb2d8b4b6d56ae11c17b0bb25fb7bd20570c9db (diff)
Don't run update-cleansystem on each librechroot -c run.
Typical mips64el packaging requires one run of it per package, while most package updates don't change the cleansystem set. So it would just use more time and bandwidth.
-rwxr-xr-xlibrechroot1
1 files changed, 0 insertions, 1 deletions
diff --git a/librechroot b/librechroot
index 0398a0f..9e292f5 100755
--- a/librechroot
+++ b/librechroot
@@ -45,7 +45,6 @@ function usage {
function clean_chroot { # Clean packages with pacman
msg "Cleaning chroot: ${CHROOTDIR}/${CHROOTNAME}"
- update-cleansystem
cp "/etc/libretools.d/cleansystem" "${CHROOTDIR}/${CHROOTNAME}/cleansystem"
(cat <<EOF
#!/bin/bash