mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
installer: add option to setup additional parameters to extlinux
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
bd97bc2f91
commit
3ca3f78c03
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user