From f4db02836fa16f16e27018cc2fd0a1e78db903b6 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 3 Jul 2004 00:48:28 +0000 Subject: [PATCH] merge KERNEL_PARAMS support from debian-edu branch --- CONF.sh | 4 ++++ debian/changelog | 3 +++ tools/boot/sarge/boot-i386 | 11 +++++------ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CONF.sh b/CONF.sh index 1b0ff078..4f9f3fe4 100644 --- a/CONF.sh +++ b/CONF.sh @@ -263,5 +263,9 @@ export PUBLISH_PATH="/home/jigdo-area/" # INSTALLER_CD=2: add d-i and base (use TASK=tasks/debian-installer+kernel) #export INSTALLER_CD=0 +# Parameters to pass to kernel when the CD boots. Not currently supported +# for all architectures. +#export KERNEL_PARAMS="DEBCONF_PRIORITY=critical" + # If set, limits the number of binary CDs to produce. #MAXCDS=1 diff --git a/debian/changelog b/debian/changelog index d8907a93..f75e6d20 100644 --- a/debian/changelog +++ b/debian/changelog @@ -27,6 +27,9 @@ debian-cd (2.2.18) UNRELEASED; urgency=low of hw-detect. - Add tools/get_diskusage.pl (originally by Petter). - Add update-popcon Makefile target (taken from Skolelinux). + - Add a KERNEL_PARAMS variable, which can be used to add kernel parameters + and is useful for creating things like CDs that install in critical + priority mode. I only implemented it for i386 so far. - Add MAXCDS config variable, which forces debian-cd to stop after a given number of binary CDs. * Petter Reinholdtsen diff --git a/tools/boot/sarge/boot-i386 b/tools/boot/sarge/boot-i386 index 79aec634..8bd23b5c 100755 --- a/tools/boot/sarge/boot-i386 +++ b/tools/boot/sarge/boot-i386 @@ -121,22 +121,21 @@ if [ -e boot$N/isolinux/f3.txt.with26 ];then done cp -a cdrom/2.6 $CDDIR/install/2.6 # Isolinux config file. -cat > boot$N/isolinux/isolinux.cfg < boot$N/isolinux/isolinux.cfg <