- #!/bin/sh
- # Use the classic debootstrap or the newer cdebootstrap
- debootstrap="cdebootstrap"
- # Default ordered list of all APT sources
- aptsources="base security"
- # Default URI of base APT repository used for initial setup
- aptsource_base_host="http://ftp.debian.org/debian/"
- # cdebootstrap seems to only support http URIs (unlike chroot'et aptitude)
- aptsource_base_cdebootstrap="http://ftp.debian.org/debian/"
- # Tweaks at http://debian.jones.dk (disabled by default)
- aptsource_jones_host="http://debian.jones.dk/"
- aptsource_jones_components="kernels misc"
- #aptsource_jones_components="kernels boot filesystems filesharing fileviewers php mediastreaming voip admin mailservers misc"
- # Default list of components (if not just "main")
- #aptsource_base_components="main contrib non-free"
- # Default URI and components of additional APT sources
- aptsource_security_host="http://security.debian.org/"
- aptsource_security_components="updates/main"
- # Directories unavailable when not in maintainance mode
- flashybrid_diskstore="
- /usr/doc
- /usr/share/doc
- /usr/share/info
- /usr/share/locale
- /usr/share/man
- /var/cache/apt
- /var/cache/debconf
- /var/lib/apt
- /var/lib/aptitude
- /var/lib/dpkg
- /usr/lib/gconv
- /usr/share/aptitude
- "
- # Directories stored in memory when not in maintainance mode
- flashybrid_ramstore="
- /var/lib/dhcp3
- /var/lib/shorewall
- /var/lib/nfs
- "
- # Directories always stored in memory (never preserved across boot)
- flashybrid_ramtmp="
- "
- DHCPCLIENT="dhcp3"
- debootstrap_excludes="lilo,ipchains,pcmcia-cs,ppp,pppoe,pppoeconf,pppconfig,syslinux,logrotate,mailx,at,makedev,wget"
- debootstrap_excludes="$debootstrap_excludes,nvi,base-config,cron,ed,fdutils,gettext-base,groff-base,info,iptables,man-db,manpages,nano,tasksel,telnet,apt-utils"
- debootstrap_excludes="$debootstrap_excludes,bsdmainutils"
- #debootstrap_excludes="$debootstrap_excludes,klogd,sysklogd"
- debootstrap_excludes="$debootstrap_excludes,libpcap0.7"
- debootstrap_excludes="$debootstrap_excludes,libtextwrap1,libdb4.2,console-common"
- debootstrap_excludes="$debootstrap_excludes,console-data,console-tools,libconsole"
- # Save space by dropping MTA
- debootstrap_excludes="$debootstrap_excludes,exim,exim4-base,exim4,exim4-config,exim4-daemon-light,libopencdk8,libpcre3,libtasn1-2,libgcrypt11,libgcrypt7,libgdbm3,libgnutls10,libgnutls11,libgpg-error0,liblockfile1,liblzo1"
- # Save space by dropping debconf i18n support
- # (also allows to avoid logrotate - nasty to configure for r/o systems!)
- #debootstrap_excludes="$debootstrap_excludes,debconf-i18n,liblocale-gettext-perl,libtext-charwidth-perl,libtext-iconv-perl,libtext-wrapi18n-perl"
- #debootstrap_includes="debconf-english"
- ## FIXME: debootstrap currently broken and cannot include debconf-english,
- ## so do that as regular aptitude run within 1_makerootfs.sh.
- debootstrap_excludes="$debootstrap_excludes,liblocale-gettext-perl,libtext-charwidth-perl,libtext-iconv-perl,libtext-wrapi18n-perl"
- #debootstrap_excludes="$debootstrap_excludes,debconf-i18n"
- #debootstrap_includes="debconf-english"
- # We want a different DHCP client - if at all
- debootstrap_excludes="$debootstrap_excludes,dhcp-client"
- # Package groups depending on enabled features
- aptitude_install_dhcpclient="dhcp3-client"
- #aptitude_install_dhcpclient="udhcpc"
- aptitude_install_grub="grub"
- aptitude_install_flashybrid="flashybrid"
- aptitude_install_nfs="nfs-common"
- # Kernel modules to install into the initrd
- modules_install="usb-storage sd_mod scsi_mod uhci uhci-hcd ehci-hcd usbcore"
- #modules_install="$modules_install vfat nls_cp437 msdos fat"
- # Boot helper apps
- aptitude_install_boot="memtest86+ udev usbutils resolvconf module-init-tools"
- # Stuff semi-required for networking
- aptitude_install_net="openssh-client openssh-server syslog-ng netbase"
- # Stuff semi-required for storage
- aptitude_install_disk="lvm2 mdadm smartmontools hdparm hddtemp e2undel testdisk"
- # Stuff semi-required for acpi
- aptitude_install_acpi="acpid"
- # Admin helper apps (mime-support is needed to read gzip'ed files through mc)
- #aptitude_install_admin="mc mime-support file"
- aptitude_install_admin="less mc mime-support"
- # Framebuffer-based infoscreen
- #aptitude_install_fbinfoscreen="ppmtofb netpbm python"
- # X11-based infoscreen
- # (libxmuu1 is for locally added "xset" binary taken from xbase-clients)
- #aptitude_install_x11infoscreen="xfonts-base xserver-xfree86 libxmuu1 launchtool unclutter qiv"
- #flashybrid_diskstore_x11infoscreen="/usr/X11R6/man"
- # X11-based PhoneHome
- # (X11 core modules installed first to avoid -all packages pulled in)
- aptitude_install_x11phonehome="xfonts-base xserver-xorg-input-kbd xserver-xorg-input-mouse xserver-xorg-video-i810"
- aptitude_install_x11phonehome="$aptitude_install_x11phonehome xserver-xorg-core"
- # (libxmuu1 is for locally added "xset" binary taken from xbase-clients)
- # (killall from psmisc is used within motion launchtool script)
- aptitude_install_x11phonehome="$aptitude_install_x11phonehome libxmuu1 launchtool unclutter psmisc"
- aptitude_install_x11phonehome="$aptitude_install_x11phonehome motion simpleopal alsa-base"
- flashybrid_diskstore_x11phonehome="/usr/X11R6/man"
- # Shorewall firewall
- #aptitude_install_shorewall="shorewall wget wipl-daemon dhcp3-server iptstate"
- #aptitude_install_shorewall="$aptitude_install_shorewall tcpd shorewall wget dhcp3-server iptstate br2684ctl"
|