The master build job 'extract-storage-kernel-and-modules' extracts
the wrong sources. It takes the latest develop kernel as the apt
sources for 'production-proposed-updates' are missing.
So add the missing sources before installing the kernel and the
out-of-tree modules.
Fixes: DEVINF-379
case $DISTRIBUTION in
production-proposed-updates)
export TARGET_NAME=master
+ FEATURE_APTCMD="
+ echo \"deb http://alexandria.pb.local/profitbricks-repository $DISTRIBUTION main contrib non-free\" \
+ > /etc/apt/sources.list.d/profitbricks-linux-image-storage-$TARGET_NAME.list
+ "
;;
pre-staging)
export TARGET_NAME=develop
+ FEATURE_APTCMD="
+ echo \"deb http://alexandria.pb.local/profitbricks-repository $DISTRIBUTION main contrib non-free\" \
+ > /etc/apt/sources.list.d/profitbricks-linux-image-storage-$TARGET_NAME.list
+ "
;;
experimental)
[ -n "$PB_SUITE" ] && export TARGET_NAME=$PB_SUITE || export TARGET_NAME="master"