summaryrefslogtreecommitdiff
path: root/defaults.cfg
blob: c3888c5657db99c7e32eb1a9f719b9201a9c245c (plain)
  1. #!/bin/sh
  2. # Avoid debconf spewing l10n warnings
  3. LANG="C"
  4. LC_ALL="C"
  5. LANGUAGE="C"
  6. # Use the classic debootstrap or the newer cdebootstrap
  7. debootstrap="cdebootstrap"
  8. # Default ordered list of all APT sources
  9. aptsources="base security"
  10. # Default URI of base APT repository used for initial setup
  11. aptsource_base_host="http://ftp.debian.org/debian/"
  12. # cdebootstrap seems to only support http URIs (unlike chroot'et aptitude)
  13. aptsource_base_cdebootstrap="http://ftp.debian.org/debian/"
  14. # Tweaks at http://debian.jones.dk (disabled by default)
  15. aptsource_jones_host="http://debian.jones.dk/"
  16. aptsource_jones_components="kernels misc"
  17. #aptsource_jones_components="kernels boot filesystems filesharing fileviewers php mediastreaming voip admin mailservers misc"
  18. # Default list of components (if not just "main")
  19. #aptsource_base_components="main contrib non-free"
  20. # Default URI and components of additional APT sources
  21. aptsource_security_host="http://security.debian.org/"
  22. aptsource_security_components="updates/main"
  23. # Directories unavailable when not in maintainance mode
  24. flashybrid_diskstore="
  25. /usr/doc
  26. /usr/share/doc
  27. /usr/share/info
  28. /usr/share/locale
  29. /usr/share/man
  30. /var/cache/apt
  31. /var/cache/debconf
  32. /var/lib/apt
  33. /var/lib/aptitude
  34. /var/lib/dpkg
  35. /usr/lib/gconv
  36. /usr/share/aptitude
  37. "
  38. # Directories stored in memory when not in maintainance mode
  39. flashybrid_ramstore="
  40. /var/lib/dhcp3
  41. /var/lib/shorewall
  42. /var/lib/nfs
  43. "
  44. # Directories always stored in memory (never preserved across boot)
  45. flashybrid_ramtmp="
  46. "
  47. DHCPCLIENT="dhcp3"
  48. debootstrap_excludes="lilo,ipchains,pcmcia-cs,ppp,pppoe,pppoeconf,pppconfig,syslinux,logrotate,mailx,at,makedev,wget"
  49. debootstrap_excludes="$debootstrap_excludes,nvi,base-config,cron,ed,fdutils,gettext-base,groff-base,info,iptables,man-db,manpages,nano,tasksel,telnet,apt-utils"
  50. debootstrap_excludes="$debootstrap_excludes,bsdmainutils"
  51. #debootstrap_excludes="$debootstrap_excludes,klogd,sysklogd"
  52. debootstrap_excludes="$debootstrap_excludes,libpcap0.7"
  53. debootstrap_excludes="$debootstrap_excludes,libtextwrap1,libdb4.2,console-common"
  54. debootstrap_excludes="$debootstrap_excludes,console-data,console-tools,libconsole"
  55. # Save space by dropping MTA
  56. 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"
  57. # Save space by dropping debconf i18n support
  58. # (also allows to avoid logrotate - nasty to configure for r/o systems!)
  59. #debootstrap_excludes="$debootstrap_excludes,debconf-i18n,liblocale-gettext-perl,libtext-charwidth-perl,libtext-iconv-perl,libtext-wrapi18n-perl"
  60. #debootstrap_includes="debconf-english"
  61. ## FIXME: debootstrap currently broken and cannot include debconf-english,
  62. ## so do that as regular aptitude run within 1_makerootfs.sh.
  63. debootstrap_excludes="$debootstrap_excludes,liblocale-gettext-perl,libtext-charwidth-perl,libtext-iconv-perl,libtext-wrapi18n-perl"
  64. #debootstrap_excludes="$debootstrap_excludes,debconf-i18n"
  65. #debootstrap_includes="debconf-english"
  66. # We want a different DHCP client - if at all
  67. debootstrap_excludes="$debootstrap_excludes,dhcp-client"
  68. # Package groups depending on enabled features
  69. aptitude_install_dhcpclient="dhcp3-client"
  70. #aptitude_install_dhcpclient="udhcpc"
  71. aptitude_install_grub="grub"
  72. aptitude_install_flashybrid="flashybrid"
  73. aptitude_install_nfs="nfs-common"
  74. # Kernel modules to install into the initrd
  75. modules_install="usb-storage sd_mod scsi_mod uhci uhci-hcd ehci-hcd usbcore"
  76. #modules_install="$modules_install vfat nls_cp437 msdos fat"
  77. # Boot helper apps
  78. aptitude_install_boot="memtest86+ udev usbutils resolvconf module-init-tools"
  79. # Stuff semi-required for networking
  80. aptitude_install_net="openssh-client openssh-server syslog-ng netbase"
  81. # Stuff semi-required for storage
  82. aptitude_install_disk="lvm2 mdadm smartmontools hdparm hddtemp e2undel testdisk"
  83. # Stuff semi-required for acpi
  84. aptitude_install_acpi="acpid"
  85. # Admin helper apps (mime-support is needed to read gzip'ed files through mc)
  86. #aptitude_install_admin="mc mime-support file"
  87. aptitude_install_admin="less mc mime-support"
  88. # Framebuffer-based infoscreen
  89. #aptitude_install_fbinfoscreen="ppmtofb netpbm python"
  90. # X11-based infoscreen
  91. # (libxmuu1 is for locally added "xset" binary taken from xbase-clients)
  92. #aptitude_install_x11infoscreen="xfonts-base xserver-xfree86 libxmuu1 launchtool unclutter qiv"
  93. #flashybrid_diskstore_x11infoscreen="/usr/X11R6/man"
  94. # X11-based PhoneHome
  95. # (X11 core modules installed first to avoid -all packages pulled in)
  96. aptitude_install_x11phonehome="xfonts-base xserver-xorg-input-kbd xserver-xorg-input-mouse xserver-xorg-video-i810"
  97. aptitude_install_x11phonehome="$aptitude_install_x11phonehome xserver-xorg-core"
  98. # (libxmuu1 is for locally added "xset" binary taken from xbase-clients)
  99. # (killall from psmisc is used within motion launchtool script)
  100. aptitude_install_x11phonehome="$aptitude_install_x11phonehome libxmuu1 launchtool unclutter psmisc"
  101. aptitude_install_x11phonehome="$aptitude_install_x11phonehome motion simpleopal alsa-base"
  102. flashybrid_diskstore_x11phonehome="/usr/X11R6/man"
  103. # Shorewall firewall
  104. #aptitude_install_shorewall="shorewall wget wipl-daemon dhcp3-server iptstate"
  105. #aptitude_install_shorewall="$aptitude_install_shorewall tcpd shorewall wget dhcp3-server iptstate br2684ctl"