diff options
Diffstat (limited to 'libremakepkg')
-rwxr-xr-x | libremakepkg | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libremakepkg b/libremakepkg index 292e4b5..cb71300 100755 --- a/libremakepkg +++ b/libremakepkg @@ -64,7 +64,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 |