summaryrefslogtreecommitdiff
path: root/libremakepkg
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-12-22 23:27:22 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-12-22 23:27:22 -0300
commitafeb8ee939f23256192239622f57265cf4c6cb4c (patch)
tree77676089022f2b1df8e34032d01a0a9ef0647c96 /libremakepkg
parentf258090c62535b9e02450494507f2e3f08024c96 (diff)
parent32b6057b15e4f0872b9ebd51038c72b0d681cb80 (diff)
Merge branch 'master' of ssh://gparabola/libretools
Diffstat (limited to 'libremakepkg')
-rwxr-xr-xlibremakepkg4
1 files changed, 3 insertions, 1 deletions
diff --git a/libremakepkg b/libremakepkg
index 5a04b4b..2f90cce 100755
--- a/libremakepkg
+++ b/libremakepkg
@@ -67,7 +67,9 @@ function buildenv { # Mounts *DEST from makepkg.conf
function clean_chroot { # Clean packages with pacman
plain "making list of packages in ${CHROOTDIR}/${CHROOTNAME}/root/"
- cp "/etc/libretools.d/cleansystem" "${CHROOTDIR}/${CHROOTNAME}/root/cleansystem"
+ echo "sudo
+" > "${CHROOTDIR}/${CHROOTNAME}/root/cleansystem"
+ pacman -Sgq base base-devel >> "${CHROOTDIR}/${CHROOTNAME}/root/cleansystem"
(cat <<EOF
#!/bin/bash
export LANG=C