since several months, this script has not been able to support for
building feature branch kernels any more. It looks like $DISTRIBUTION
is now being given with a format of "dev_feature_$branchname".
To fix errors of Jenkins job dev-feature_extract-storage-kernel-and
-modules, let's make it support for dev_feature_$branchname" too.
> /etc/apt/sources.list.d/profitbricks-linux-image-storage-$TARGET_NAME.list
"
;;
- experimental)
+ experimental|dev_feature*)
[ -n "$PB_SUITE" ] && export TARGET_NAME=$PB_SUITE || export TARGET_NAME="experimental"
LAST_DEVELOP_BUILD_NO=$(get_last_target_build_no develop)
BUILD_NUMBER="$LAST_DEVELOP_BUILD_NO.$(printf %03d $BUILD_NUMBER)"
"
;;
*)
- echo "DISTRIBUTION must be 'production-proposed-updates', 'pre-staging', or 'experimental'."
+ echo "DISTRIBUTION must be 'production-proposed-updates', 'pre-staging', 'experimental',"
+ echo "or 'dev_feature*'"
echo "exiting."
figlet "FAIL"
exit 1