From 57c8a44f217a0e6fc4cdbfbcdd54108ca5602fba Mon Sep 17 00:00:00 2001 From: Alexander Wirt Date: Sat, 21 Apr 2007 11:15:12 +0200 Subject: [PATCH] Allow BOOT_APPEND (grml-debootstrap) via cmdline --- autoconfig.functions | 8 +++++++- debian/changelog | 6 ++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/autoconfig.functions b/autoconfig.functions index 1934575..cd2e1ca 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -2194,6 +2194,11 @@ if checkbootparam "mirror" ; then MIRROR="$(getbootparam 'mirror' 2>>$DEBUG)" fi +if checkbootparam "boot_append" ; then + BOOT_APPEND='' + BOOT_APPEND="$(getbootparam 'boot_append' 2>>$DEBUG)" +fi + if checkbootparam "password" ; then PASSWORD='' PASSWORD="$(getbootparam 'password' 2>>$DEBUG)" @@ -2214,11 +2219,12 @@ fi [ -n "$RELEASE" ] && RELEASECMD="--release $RELEASE" || RELEASECMD='' [ -n "$MIRROR" ] && MIRRORCMD="--mirror $MIRROR" || MIRRORCMD='' [ -n "$PASSWORD" ] && PASSWORDCMD="--password $PASSWORD" || PASSWORDCMD='' +[ -n "$BOOT_APPEND" ] && BOOT_APPEND="--boot_append $BOOT_APPEND" || BOOT_APPEND='' # and finally write script and execute it cat>|/usr/bin/grml-debootstrap_noninteractive< Sat, 21 Apr 2007 11:13:53 +0200 + grml-autoconfig (0.6.39) unstable; urgency=low * Fix small typo in config_debootstrap(). -- 2.1.4