|
|
|
@ -27,6 +27,7 @@ unset FIRMWARE
|
|
|
|
|
unset SERIAL_MODE
|
|
|
|
|
unset BETA_BOOT
|
|
|
|
|
unset BETA_KERNEL
|
|
|
|
|
unset EXPERIMENTAL_KERNEL
|
|
|
|
|
unset USB_ROOTFS
|
|
|
|
|
unset PRINTK
|
|
|
|
|
unset HASMLO
|
|
|
|
@ -115,6 +116,10 @@ function set_defaults {
|
|
|
|
|
KERNEL_SEL="STABLE"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if [ "$EXPERIMENTAL_KERNEL" ];then
|
|
|
|
|
KERNEL_SEL="EXPERIMENTAL"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
FTP_DIR=$(cat ${TEMPDIR}/dl/LATEST | grep "ABI:1 ${KERNEL_SEL}" | awk '{print $3}')
|
|
|
|
|
FTP_DIR=$(echo ${FTP_DIR} | awk -F'/' '{print $6}')
|
|
|
|
|
KERNEL=$(echo ${FTP_DIR} | sed 's/v//')
|
|
|
|
@ -937,6 +942,9 @@ while [ ! -z "$1" ]; do
|
|
|
|
|
--beta-kernel)
|
|
|
|
|
BETA_KERNEL=1
|
|
|
|
|
;;
|
|
|
|
|
--experimental-kernel)
|
|
|
|
|
EXPERIMENTAL_KERNEL=1
|
|
|
|
|
;;
|
|
|
|
|
--beta-boot)
|
|
|
|
|
BETA_BOOT=1
|
|
|
|
|
;;
|
|
|
|
|