From 5901567259787c3400427ce30b74b8380de29c69 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Wed, 19 Nov 2014 16:12:31 +0100 Subject: [PATCH] extract_storage_kernel+modules.sh: Fix sources.list for experimental distribution --- extract_storage_kernel+modules.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extract_storage_kernel+modules.sh b/extract_storage_kernel+modules.sh index 4d5cb66..85119d6 100755 --- a/extract_storage_kernel+modules.sh +++ b/extract_storage_kernel+modules.sh @@ -52,7 +52,7 @@ case $DISTRIBUTION in " ;; experimental|dev_feature*) - [ -n "$PB_SUITE" ] && export TARGET_NAME=$PB_SUITE || export TARGET_NAME="experimental" + [ -n "$PB_SUITE" ] && export TARGET_NAME=$(echo $PB_SUITE | sed 's/^dev_feature_/squeeze-feature-/') || export TARGET_NAME="experimental" LAST_DEVELOP_BUILD_NO=$(get_last_target_build_no develop) BUILD_NUMBER="$LAST_DEVELOP_BUILD_NO.$(printf %03d $BUILD_NUMBER)" @@ -61,9 +61,9 @@ case $DISTRIBUTION in # the pre-staging distribution, because ANDBD modules must have not # been built into packages under a particular distribution. FEATURE_APTCMD=" - echo \"deb http://repo.pb.local/pb-debian-dev $TARGET_NAME main contrib non-free\" \ + echo \"deb http://repo.pb.local/pb-debian-dev ${DIST}-dev main contrib non-free\" \ > /etc/apt/sources.list.d/profitbricks-linux-image-storage-$TARGET_NAME.list ; \ - echo \"deb http://repo.pb.local/pb-debian-dev ${DISTRO}-dev main contrib non-free\" \ + echo \"deb http://repo.pb.local/pb-debian-dev $TARGET_NAME main contrib non-free\" \ > /etc/apt/sources.list.d/profitbricks-linux-image-storage-develop.list " FEATURE_VERSCMD=" -- 2.39.5