summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2013-02-19 13:23:32 +0100
committerAndreas Baumann <abaumann@yahoo.com>2013-02-19 13:23:32 +0100
commit1dda003deb5212235be3400bee1fb144190105b2 (patch)
tree6e36521f14ecaec933e87b90c34e01cd7bd69101
parent320e9950388843611c05dbc5508ac2d542d00772 (diff)
downloadarchauto-1dda003deb5212235be3400bee1fb144190105b2.tar.gz
archauto-1dda003deb5212235be3400bee1fb144190105b2.tar.bz2
tried to clean up installation
-rwxr-xr-xarchauto.sh3
-rw-r--r--clean.sh25
2 files changed, 27 insertions, 1 deletions
diff --git a/archauto.sh b/archauto.sh
index ce87dd1..9ef3f0b 100755
--- a/archauto.sh
+++ b/archauto.sh
@@ -37,7 +37,8 @@ mount ${INSTALL_DRIVE}${PARTITION_ROOT} ${MOUNT_PATH}
export http_proxy=http://192.168.1.12:3128
-pacstrap ${MOUNT_PATH} base base-devel
+#pacstrap ${MOUNT_PATH} base base-devel
+pacstrap ${MOUNT_PATH} base
arch-chroot /mnt pacman --noconfirm -S grub-bios
arch-chroot /mnt grub-install --target=i386-pc --recheck ${INSTALL_DRIVE}
diff --git a/clean.sh b/clean.sh
new file mode 100644
index 0000000..b77cf1f
--- /dev/null
+++ b/clean.sh
@@ -0,0 +1,25 @@
+# pacstrap ${MOUNT_PATH} base
+# leaves us with 111 packages, 715 MB
+
+# 130M package cache, not needed, /var/cache/pacman/pkg/
+pacman --noconfirm -Scc
+
+# note, those things may be needed, I personally don't need them.
+pacman -Rs \
+ man-pages libpipeline groff man-db \
+ jfsutils reiserfsprogs xfsprogs \
+ cryptsetup lvm2
+
+# TODOS:
+
+# big dirs
+#
+# locales, we don't need them on a server
+# 48208 ./locale
+# problematic, as we remove files belonging to a package
+#
+# non-modular compiler with only drivers/firmware needed could be an
+# idea here:
+# 49240 ./usr/lib/modules/3.7.9-1-ARCH
+# 33620 ./usr/lib/modules/3.7.9-1-ARCH/kernel/drivers
+# 47184 ./usr/lib/firmware