diff --git a/build-all.sh b/build-all.sh index 3a1b93976f..a541134bed 100644 --- a/build-all.sh +++ b/build-all.sh @@ -41,8 +41,7 @@ while [[ $k1 -lt ${#MYARRAY1[@]} ]] echo "$BOARD $RELEASE $BRANCH $BUILD_DESKTOP $LINUXFAMILY" source $SRC/lib/main.sh fi # kernel only - - SOURCE_COMPILE="yes" + k1=$[$k1+2] l1=$[$l1+2] done diff --git a/general.sh b/general.sh index 59dd94a18b..d0a6e836df 100644 --- a/general.sh +++ b/general.sh @@ -170,37 +170,6 @@ grab_version () VER=${VER//#/.}; VER=${VER%.}; VER=${VER//.-/-} } - -choosing_kernel (){ -#-------------------------------------------------------------------------------------------------------------------------------- -# Choose which kernel to use -#-------------------------------------------------------------------------------------------------------------------------------- -IFS=";" -cd $DEST"/debs/" -if [[ $BRANCH == "next" ]]; then -MYARRAY=($(ls -1 linux-image* | awk '/next/' | sed ':a;N;$!ba;s/\n/;/g')) -else -MYARRAY=($(ls -1 linux-image* | awk '!/next/' | sed ':a;N;$!ba;s/\n/;/g')) -fi -# if there are no precompiled kernels proceed with compilation -if [[ ${#MYARRAY[@]} == "0" ]]; then -SOURCE_COMPILE="yes" -fi - -MYPARAMS=( --title "Choose a kernel" --backtitle $backtitle --menu "\n Prebuild packages:" 25 60 16 ) -i=0 -while [[ $i -lt ${#MYARRAY[@]} ]] - do - MYPARAMS+=( "${MYARRAY[$i]}" " -" ) - i=$[$i+1] - done -whiptail "${MYPARAMS[@]}" 2>results -CHOOSEN_KERNEL=$(