summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-12-21 13:58:41 -0600
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-12-21 13:58:41 -0600
commit32b6057b15e4f0872b9ebd51038c72b0d681cb80 (patch)
tree43de10bf937944a1061fd4e8ceb0960c2fc1307a
parentdce177d9f929c18d5eb2b5164b18f92c701a0052 (diff)
create cleansystem list every time
-rw-r--r--cleansystem71
-rwxr-xr-xlibremakepkg4
2 files changed, 3 insertions, 72 deletions
diff --git a/cleansystem b/cleansystem
deleted file mode 100644
index 5aae1df..0000000
--- a/cleansystem
+++ /dev/null
@@ -1,71 +0,0 @@
-autoconf
-automake
-bash
-binutils
-bison
-bzip2
-coreutils
-cronie
-cryptsetup
-device-mapper
-dhcpcd
-diffutils
-e2fsprogs
-fakeroot
-file
-filesystem
-findutils
-flex
-gawk
-gcc
-gcc-libs
-gettext
-glibc
-grep
-gzip
-heirloom-mailx
-inetutils
-initscripts
-iputils
-jfsutils
-less
-libpipeline
-libtool
-licenses-libre
-linux-libre
-logrotate
-lvm2
-m4
-make
-man-db
-man-pages
-mdadm
-nano
-pacman
-pacman-mirrorlist-libre
-patch
-pciutils
-pcmciautils
-perl
-pkg-config
-ppp
-procps
-psmisc
-reiserfsprogs
-sed
-shadow
-sudo
-sysfsutils
-syslog-ng
-sysvinit
-tar
-texinfo
-udev
-usbutils
-util-linux
-vi
-wget
-which
-wpa_supplicant
-xfsprogs
-your-freedom
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