Commit d8f8de0d authored by Igor Pecovnik's avatar Igor Pecovnik
Browse files

Supporting EDGE branch

parent 48ea2d23
...@@ -363,7 +363,7 @@ function reload_bsp(){ ...@@ -363,7 +363,7 @@ function reload_bsp(){
[[ -n "$1" ]] && BRANCH=$1 [[ -n "$1" ]] && BRANCH=$1
# deal with exceptions # deal with exceptions
if [[ $BRANCH == current || $BRANCH == dev ]]; then if [[ $BRANCH == current || $BRANCH == dev || $BRANCH == edge ]]; then
[[ ${LINUXFAMILY} == rk3399 ]] && LINUXFAMILY=rockchip64 [[ ${LINUXFAMILY} == rk3399 ]] && LINUXFAMILY=rockchip64
fi fi
...@@ -493,6 +493,8 @@ function other_kernel_version () ...@@ -493,6 +493,8 @@ function other_kernel_version ()
[[ $TARGET_VERSION == *next* ]] && UPGRADE_ROOT="-next" && UPGRADE_UBOOT="next" [[ $TARGET_VERSION == *next* ]] && UPGRADE_ROOT="-next" && UPGRADE_UBOOT="next"
[[ $TARGET_VERSION == *current* ]] && UPGRADE_ROOT="-current" && UPGRADE_UBOOT="current" [[ $TARGET_VERSION == *current* ]] && UPGRADE_ROOT="-current" && UPGRADE_UBOOT="current"
[[ $TARGET_VERSION == *dev* ]] && UPGRADE_ROOT="-dev" && UPGRADE_UBOOT="dev" [[ $TARGET_VERSION == *dev* ]] && UPGRADE_ROOT="-dev" && UPGRADE_UBOOT="dev"
[[ $TARGET_VERSION == *edge* ]] && UPGRADE_ROOT="-edge" && UPGRADE_UBOOT="dev"
# install packages # install packages
PACKAGE_LIST="$TARGET_VERSION" PACKAGE_LIST="$TARGET_VERSION"
......
...@@ -211,7 +211,7 @@ function jobs () ...@@ -211,7 +211,7 @@ function jobs ()
selection=$(echo $SOURCE_PKG_LIST | awk '{ print $NF }') selection=$(echo $SOURCE_PKG_LIST | awk '{ print $NF }')
fi fi
PACKAGE=$(echo "$selection" | sed "s/-current//" | sed "s/-dev//" | sed "s/-legacy//") PACKAGE=$(echo "$selection" | sed "s/-current//" | sed "s/-dev//" | sed "s/-edge//" | sed "s/-legacy//")
if [[ -n $PACKAGE ]]; then if [[ -n $PACKAGE ]]; then
debconf-apt-progress -- apt-get -y install ${selection} debconf-apt-progress -- apt-get -y install ${selection}
mkdir -p /usr/src/$PACKAGE mkdir -p /usr/src/$PACKAGE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment