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

Supporting EDGE branch

parent 48ea2d23
......@@ -363,7 +363,7 @@ function reload_bsp(){
[[ -n "$1" ]] && BRANCH=$1
# deal with exceptions
if [[ $BRANCH == current || $BRANCH == dev ]]; then
if [[ $BRANCH == current || $BRANCH == dev || $BRANCH == edge ]]; then
[[ ${LINUXFAMILY} == rk3399 ]] && LINUXFAMILY=rockchip64
fi
......@@ -493,6 +493,8 @@ function other_kernel_version ()
[[ $TARGET_VERSION == *next* ]] && UPGRADE_ROOT="-next" && UPGRADE_UBOOT="next"
[[ $TARGET_VERSION == *current* ]] && UPGRADE_ROOT="-current" && UPGRADE_UBOOT="current"
[[ $TARGET_VERSION == *dev* ]] && UPGRADE_ROOT="-dev" && UPGRADE_UBOOT="dev"
[[ $TARGET_VERSION == *edge* ]] && UPGRADE_ROOT="-edge" && UPGRADE_UBOOT="dev"
# install packages
PACKAGE_LIST="$TARGET_VERSION"
......
......@@ -211,7 +211,7 @@ function jobs ()
selection=$(echo $SOURCE_PKG_LIST | awk '{ print $NF }')
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
debconf-apt-progress -- apt-get -y install ${selection}
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