From a5945ace72e7ebc689462fea3947715357a39b3f Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Wed, 16 Nov 2011 11:22:17 +0100 Subject: [PATCH] Remove grml2hd support --- autoconfig | 1 - autoconfig.functions | 52 ---------------------------------------------------- debian/control | 2 +- grml-autoconfig | 2 -- 4 files changed, 1 insertion(+), 56 deletions(-) diff --git a/autoconfig b/autoconfig index 3813cb1..9c1ee17 100644 --- a/autoconfig +++ b/autoconfig @@ -66,7 +66,6 @@ CONFIG_FINDDCSDIR='yes' # search for a debs, config, scripts directory CONFIG_FIX_PASSWD='yes' # fix unionfs-problem with passwd CONFIG_FIX_UNIONFS='yes' # fix/workaround for unionfs CONFIG_FWTIMEOUT='yes' # set timeout for firmware loading -CONFIG_GRML2HD='yes' # check for 'grml2hd' bootoption CONFIG_HOMEDIR='yes' # check for persistent homedir option CONFIG_HOSTNAME='yes' # set hostname to 'grml' on systems running from CD CONFIG_KERNEL='yes' # display information on running kernel diff --git a/autoconfig.functions b/autoconfig.functions index 0f7b228..6fa4d37 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -1970,58 +1970,6 @@ config_tohd() } # }}} -# {{{ grml2hd: automatic installation -config_grml2hd(){ - -if checkbootparam "grml2hd" || checkbootparam "BOOT_IMAGE=grml2hd" ; then - -if checkbootparam 'user' ; then - NEWUSER='' - NEWUSER="$(getbootparam 'user' 2>>$DEBUG)" - sed -i "s/^NEWUSER=.*/NEWUSER=$NEWUSER/" /etc/grml2hd/config || export GRML2HD_FAIL=1 -fi - -if checkbootparam 'filesystem' ; then - FILESYSTEM='' - FILESYSTEM="$(getbootparam 'filesystem' 2>>$DEBUG)" - sed -i "s/^FILESYSTEM=.*/FILESYSTEM=$FILESYSTEM/" /etc/grml2hd/config || export GRML2HD_FAIL=1 -fi - -if checkbootparam 'partition' ; then - PARTITION='' - PARTITION="$(getbootparam 'partition' 2>>$DEBUG)" - # notice: the following checks whether the given partition is available, if not the skip - # execution of grml2hd as it might result in data loss... - if [ -r $PARTITION ] ; then - sed -i "s#^PARTITION=.*#PARTITION=$PARTITION#" /etc/grml2hd/config || export GRML2HD_FAIL=1 - else - ewarn "Partition $PARTITION does not exist. Skipping execution of grml2hd therefore." ; eend 1 - fi -fi - -if checkbootparam 'mbr' ; then - BOOT_PARTITION='' - BOOT_PARTITION="$(getbootparam 'mbr' 2>>$DEBUG)" - sed -i "s#^BOOT_PARTITION=.*#BOOT_PARTITION=$BOOT_PARTITION#" /etc/grml2hd/config || export GRML2HD_FAIL=1 -fi - -cat>|/usr/bin/grml2hd_noninteractive<= 0.080-1), zsh, gpm, rsyslog | system-log-daemon, kbd | console-utilities, console-terminus, grml-rebuildfstab (>= 0.3-1), grml-etc-core (>= 0.1-3), grml-scripts (>= 0.8-14), gawk, rungetty, rsync, grml-network (>= 0.3.7) -Recommends: acpi-support, hwinfo, alsa-utils, mdadm, aumix, locales, grml2hd, grml-debootstrap (>= 0.7) +Recommends: acpi-support, hwinfo, alsa-utils, mdadm, aumix, locales, grml-debootstrap (>= 0.7) Description: main bootup process of a Grml (based) system grml-autoconfig is the main part of the bootup process of the grml system. This includes the hardware recognition system and diff --git a/grml-autoconfig b/grml-autoconfig index 52f90ee..c8584b6 100755 --- a/grml-autoconfig +++ b/grml-autoconfig @@ -229,8 +229,6 @@ fi checkvalue $CONFIG_TOHD && config_tohd -checkvalue $CONFIG_GRML2HD && config_grml2hd - checkvalue $CONFIG_DEBOOTSTRAP && config_debootstrap checkvalue $CONFIG_XSTARTUP && config_x_startup -- 2.1.4