+++ /dev/null
-# default values for installation. You can override them in your *.var files
-
-# allow installation of packages from unsigned repositories
-FAI_ALLOW_UNSIGNED=1
-
-CONSOLEFONT=
-KEYMAP=us-latin1
-
-# Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
-UTC=yes
-TIMEZONE=Europe/Vienna
-
-# root password for the new installed linux system; md5 and crypt are possible
-# pw is "fai"
-ROOTPW='x'
-
-# MODULESLIST contains modules that will be loaded by the new system,
-# not during installation these modules will be written to /etc/modules
-# If you need a module during installation, add it to $kernelmodules
-# in 20-hwdetect.source. But discover should do most of this job
-# MODULESLIST="usbkbd ehci-hcd ohci-hcd uhci-hcd usbhid psmouse"
+++ /dev/null
-# default values for installation. You can override them in your *.var files
-
-# allow installation of packages from unsigned repositories
-FAI_ALLOW_UNSIGNED=1
-
-CONSOLEFONT=
-KEYMAP=us-latin1
-
-# Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
-UTC=yes
-TIMEZONE=Europe/Vienna
-
-# root password for the new installed linux system; md5 and crypt are possible
-# pw is "fai"
-ROOTPW='x'
-
-# MODULESLIST contains modules that will be loaded by the new system,
-# not during installation these modules will be written to /etc/modules
-# If you need a module during installation, add it to $kernelmodules
-# in 20-hwdetect.source. But discover should do most of this job
-# MODULESLIST="usbkbd ehci-hcd ohci-hcd uhci-hcd usbhid psmouse"
+++ /dev/null
-PACKAGES aptitude
-
-dillo
-fluxbox
-gkrellm
-grml-ddcxinfo
-grml-desktop
-grml-x
-vim-gtk
-xfonts-100dpi
-xfonts-75dpi
-xfonts-base
-xorg
-xserver-xorg-input-all
-xserver-xorg-input-vmmouse
-xserver-xorg-video-all
-xterm xcursor-themes
+++ /dev/null
-PACKAGES aptitude
-xorg xserver-xorg-video-all xserver-xorg-input-all
-ttf-freefont type1inst
-xscreensaver
-xscreensaver-gl
#!/bin/sh
-# Filename: /etc/grml/fai/config/scripts/GRML_X/32-xorg
+# Filename: /etc/grml/fai/config/scripts/GRMLBASE/32-xorg
# Purpose: make sure there does not exist /etc/X11/xorg.conf by default
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
$ROOTCMD update-alternatives --set editor /usr/bin/vim.basic
fi
+if [ -r $target/usr/bin/xterm ] ; then
+ $ROOTCMD update-alternatives --set x-terminal-emulator /usr/bin/xterm
+fi
+
+if [ -r $target/etc/X11/cursors/whiteglass.theme ] ; then
+ $ROOTCMD update-alternatives --set x-cursor-theme /etc/X11/cursors/whiteglass.theme
+fi
+
## END OF FILE #################################################################
# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3
set -u
set -e
+# TODO: use extra files and class names instead of environment variabes
+
# supported environment variables for grml_cleanup_chroot:
# NOCOLORS: if set it disables colors in (debugging) output
# LATEX_CLEANUP: remove some big directories of texlive (/usr/share/doc/texlive-*)
# FAST: skip some longer tasks
# REMOVE_DOCS: rm -rf /usr/share/doc + /usr/share/info
+if ifclass GRML_SMALL ; then
+ cp /etc/grml/fai/grml/grml_cleanup_chroot.small $target/root/
+ $ROOTCMD sh -c "NOCOLORS=1 /root/grml_cleanup_chroot.small"
+ rm $target/root/grml_cleanup_chroot.small
+fi
+
+if ifclass REMOVE_DOCS ; then
+ $ROOTCMD sh -c "NOCOLORS=1 REMOVE_DOCS=1 /root/grml_cleanup_chroot.small"
+ rm $target/root/grml_cleanup_chroot.small
+fi
+
+# final cleanup
cp /etc/grml/fai/grml/grml_cleanup_chroot $target/root/
$ROOTCMD sh -c "NOCOLORS=1 /root/grml_cleanup_chroot"
rm $target/root/grml_cleanup_chroot
+++ /dev/null
-#!/bin/sh
-# Filename: /etc/grml/fai/config/scripts/GRML_SMALL/98-clean-chroot
-# Purpose: clean up chroot system
-# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
-# Bug-Reports: see http://grml.org/bugs/
-# License: This file is licensed under the GPL v2 or any later version.
-# Latest change: Mon Sep 17 17:36:11 CEST 2007 [mika]
-################################################################################
-
-set -u
-set -e
-
-# supported environment variables of grml_cleanup_chroot.small:
-# NOCOLORS: if set it disables colors in (debugging) output
-# REMOVE_DOCS: rm -rf /usr/share/doc + /usr/share/info
-
-cp /etc/grml/fai/grml/grml_cleanup_chroot.small $target/root/
-$ROOTCMD sh -c "NOCOLORS=1 /root/grml_cleanup_chroot.small"
-rm $target/root/grml_cleanup_chroot.small
-
-## END OF FILE #################################################################
-# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3
+++ /dev/null
-#!/bin/sh
-# Filename: /etc/grml/fai/config/scripts/GRML_X/90-update-alternatives
-# Purpose: set up /etc/alternatives/* according to grml preferences
-# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
-# Bug-Reports: see http://grml.org/bugs/
-# License: This file is licensed under the GPL v2 or any later version.
-# Latest change: Sun Sep 16 23:18:02 CEST 2007 [mika]
-################################################################################
-
-set -u
-set -e
-
-if [ -r $target/usr/bin/xterm ] ; then
- $ROOTCMD update-alternatives --set x-terminal-emulator /usr/bin/xterm
-fi
-
-if [ -r $target/etc/X11/cursors/whiteglass.theme ] ; then
- $ROOTCMD update-alternatives --set x-cursor-theme /etc/X11/cursors/whiteglass.theme
-fi
-
-## END OF FILE #################################################################
-# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3