installer: add option to setup additional parameters to extlinux

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-08-19 11:58:44 +02:00
parent bd97bc2f91
commit 3ca3f78c03

View File

@ -246,7 +246,7 @@ function do_install_quick() {
echo " " >> $TMPDIR/part1/extlinux.conf echo " " >> $TMPDIR/part1/extlinux.conf
echo "LABEL linux" >> $TMPDIR/part1/extlinux.conf echo "LABEL linux" >> $TMPDIR/part1/extlinux.conf
echo " KERNEL /KERNEL" >> $TMPDIR/part1/extlinux.conf echo " KERNEL /KERNEL" >> $TMPDIR/part1/extlinux.conf
echo " APPEND boot=LABEL=$DISKLABEL_SYSTEM disk=LABEL=$DISKLABEL_STORAGE quiet" >> $TMPDIR/part1/extlinux.conf echo " APPEND boot=LABEL=$DISKLABEL_SYSTEM disk=LABEL=$DISKLABEL_STORAGE $EXTLINUX_PARAMETERS quiet" >> $TMPDIR/part1/extlinux.conf
sync sync
# umount system partition, remove mountpoint # umount system partition, remove mountpoint
@ -432,6 +432,7 @@ function do_poweroff() {
DISKLABEL_SYSTEM="System" DISKLABEL_SYSTEM="System"
DISKLABEL_STORAGE="Storage" DISKLABEL_STORAGE="Storage"
PARTSIZE_SYSTEM="16" # Defaultsize of system partition (Cylinder: 16=132MB, 31=255MB) PARTSIZE_SYSTEM="16" # Defaultsize of system partition (Cylinder: 16=132MB, 31=255MB)
EXTLINUX_PARAMETERS=""
LOGFILE="$TMPDIR/install.log" LOGFILE="$TMPDIR/install.log"
# prepare temporary directory # prepare temporary directory