summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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