prepare new version

This commit is contained in:
Marc Wäckerlin
2016-07-29 19:05:08 +00:00
parent 84bb1bf22c
commit 62d13e25f9
13 changed files with 638 additions and 125 deletions

View File

@@ -17,8 +17,8 @@ if test ${#distros[@]} -ne ${#archs[@]}; then
"x86_64" )
fi
if test ${#distros[@]} -ne ${#versions[@]}; then
versions=( "13.2 13.1 tumbleweed"
"22 21"
versions=( "42.1 13.2 13.1 tumbleweed"
"23 22"
"7 6 5" )
fi
@@ -37,7 +37,7 @@ for ((i=0; i<${#distros[@]}; ++i)); do
SCHROOTUSER="$user" \
OS=${distro} \
ADDITIONAL-DEFINITIONS=${additional_definitions} \
susebootstrap.sh $*
./susebootstrap.sh $*
fi
done
done

View File

@@ -101,7 +101,11 @@ URL=${URL:-$(
opensuse)
case "$VERSION" in
(tumbleweed) echo "http://download.opensuse.org/tumbleweed/repo/oss/suse";;
(*) echo "http://download.opensuse.org/distribution/${VERSION}/repo/oss/suse";;
(*) if wget -qO- http://download.opensuse.org/distribution/${VERSION}; then
echo "http://download.opensuse.org/distribution/${VERSION}/repo/oss/suse"
else
echo "http://download.opensuse.org/distribution/leap/${VERSION}/repo/oss/suse"
fi;;
esac;;
fedora)
if test "$VERSION" -gt 20; then