[ -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)"
+
+ # kernel images must be installed from a branch-specific distribution
+ # under dev-repository. However, ANDBD modules must be installed from
+ # the pre-staging distribution, because ANDBD modules must have not
+ # been built into packages under a particular distribution.
FEATURE_APTCMD="
echo \"deb http://alexandria.pb.local/dev-repository $TARGET_NAME main contrib non-free\" \
- > /etc/apt/sources.list.d/profitbricks-linux-image-storage-$TARGET_NAME.list
+ > /etc/apt/sources.list.d/profitbricks-linux-image-storage-$TARGET_NAME.list ; \
+ echo \"deb http://alexandria.pb.local/profitbricks-repository pre-staging main contrib non-free\" \
+ > /etc/apt/sources.list.d/profitbricks-linux-image-storage-develop.list
"
FEATURE_VERSCMD="
export FEATURE_VERSION=\`apt-cache showpkg profitbricks-linux-image-storage -a \