Really Small Debian Etch

http://elinux.org/squash_fs_howto
http://kitenet.net/~joey/blog/entry/replacing_stuff_with_busybox

wget http://m0n0.ch/wall/downloads/freebsd-4.11/zoneinfo.tgz
debootstrap --include=udhcpc --exclude=nano,man-db,manpages,libldap2,aptitude,netcat,traceroute,ed,info,libconsole,dhcp3-common,dhcp3-client,logrotate,groff-base,libncursesw5 etch debo2 http://ftp.us.debian.org/debian/
apt-get remove libncursesw5 groff-base aptitude  dhcp3-common dhcp3-client logrotate
apt-get install udhcpc
#!/bin/sh
rm usr/share/pixmaps/debian-logo.png
rm -rf usr/doc
rm -rf usr/inform -rf usr/man
rm -rf usr/share/doc
rm -rf usr/share/info
rm -rf usr/share/man
rm -rf usr/share/locale
rm -rf usr/share/vim/doc
rm -rf usr/share/common-licenses
rm -rf usr/share/zoneinform var/cache/apt/pkgcache.bin
rm var/cache/apt/srcpkgcache.bin
rm var/lib/apt/lists/ftp.us.debian.org_debian_dists_etch_main_binary-i386_Packages
rm var/lib/apt/lists/ftp.us.debian.org_debian_dists_etch_Release
rm usr/share/pixmaps/debian-logo.png
rm usr/bin/whoamirm usr/bin/localedef
rm usr/bin/calendar
rm usr/share/calendar
rm usr/bin/infocmp
rm usr/bin/omshell
rm usr/bin/tackrm lib/iptables/libip6t*
rm sbin/*.minixrm var/log/bootstrap.log
rm var/cache/debconf/templates.dat
rm var/cache/debconf/templates.dat-old
rm var/lib/dpkg/info/passwd.templates
rm var/lib/dpkg/info/tzdata.md5sums
rm etc/alternatives/*.gz
By on February 11, 2008 3:10 PM

Categories