( Add support for gobuntu to ubuntu-sync and ubuntu-cd.

This commit is contained in:
Luke Yelavich 2007-07-12 16:39:56 +10:00
parent c1ac53ee47
commit 52360df6f1
3 changed files with 16 additions and 5 deletions

10
debian/changelog vendored
View File

@ -7,15 +7,17 @@ ubuntu-dev-tools (0.2) UNRELEASED; urgency=low
licenses require. licenses require.
[ Luke Yelavich ] [ Luke Yelavich ]
* ubuntu-cd: Ensure correct flavours are chosen for edubuntu, and * ubuntu-cd:
ubuntu-server - Ensure correct flavours are chosen for edubuntu, and ubuntu-server
- Add support for gobuntu.
* ubuntu-sync: * ubuntu-sync:
- Ensure that powerpc isos are retrieved from the ports directory of - Ensure that powerpc isos are retrieved from the ports directory of
the appropriate origin. the appropriate origin.
- Ensure correct flavours are chosen for edubuntu, and - Ensure correct flavours are chosen for edubuntu, and
ubuntu-server. ubuntu-server.
- Add support for gobuntu.
-- Luke Yelavich <themuso@ubuntu.com> Tue, 10 Jul 2007 21:08:39 +1000 -- Luke Yelavich <themuso@ubuntu.com> Thu, 12 Jul 2007 16:38:54 +1000
ubuntu-dev-tools (0.1) gutsy; urgency=low ubuntu-dev-tools (0.1) gutsy; urgency=low

View File

@ -36,6 +36,11 @@ elif [ "${Distro}" == "ubuntu-server" ]; then
Flavors="server" Flavors="server"
Archs="i386" Archs="i386"
#Archs="i386 amd64" #Archs="i386 amd64"
elif [ "${Distro}" == "gobuntu" ]; then
Origin="${Distro}/releases"
Flavors="alternate"
Archs="i386"
#Archs="i386 amd64 powerpc"
else else
Origin="${Distro}/releases" Origin="${Distro}/releases"
Flavors="alternate desktop" Flavors="alternate desktop"

View File

@ -32,6 +32,8 @@ while [ -n "$1" ]; do
-x) -x)
Image_Sets="${Image_Sets} xubuntu" Image_Sets="${Image_Sets} xubuntu"
break break
-g)
Image_Sets="${Image_Sets} gobuntu"
;; ;;
-s) -s)
Image_Sets="${Image_Sets} ubuntu-server" Image_Sets="${Image_Sets} ubuntu-server"
@ -44,7 +46,7 @@ if [ "${Low_Bandwidth}" == 1 ] && [ "${Image_Sets}" == "" ]; then
cd "${Ubuntu_Distro_Dir}" cd "${Ubuntu_Distro_Dir}"
Image_Sets=`ls -td1 */"${Dist}" | tail -1 | cut -f 1 -d /` Image_Sets=`ls -td1 */"${Dist}" | tail -1 | cut -f 1 -d /`
elif [ "${Low_Bandwidth}" == 0 ] && [ "${Image_Sets}" == "" ]; then elif [ "${Low_Bandwidth}" == 0 ] && [ "${Image_Sets}" == "" ]; then
Image_Sets="ubuntu xubuntu ubuntu-server edubuntu kubuntu" Image_Sets="ubuntu xubuntu ubuntu-server edubuntu kubuntu gobuntu"
fi fi
# Sync images. # Sync images.
@ -68,6 +70,8 @@ do
Flavors="desktop server serveraddon" Flavors="desktop server serveraddon"
elif [ "${Current_Set}" == "ubuntu-server" ]; then elif [ "${Current_Set}" == "ubuntu-server" ]; then
Flavors="server" Flavors="server"
elif [ "${Current_Set}" == "gobuntu" ]; then
Flavors="alternate"
else else
Flavors="alternate desktop" Flavors="alternate desktop"
fi fi