diff options
author | lcapriotti <lcapriotti@svn> | 2010-11-05 09:27:31 +0000 |
---|---|---|
committer | lcapriotti <lcapriotti@svn> | 2010-11-05 09:27:31 +0000 |
commit | d34f0056ec83370f85d20b7d926228ead91b4cbc (patch) | |
tree | b6eb813b9e6db0c71bcf06e828b54c9a0d0d9c1a /tools/Linux/packaging | |
parent | fef0c21f97f41ef199c87efa5c8c31971dcd7bec (diff) |
support for building maverick packages
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35165 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'tools/Linux/packaging')
-rwxr-xr-x | tools/Linux/packaging/pbuilder-dist | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/tools/Linux/packaging/pbuilder-dist b/tools/Linux/packaging/pbuilder-dist index 43d9bc8660..0b68afa741 100755 --- a/tools/Linux/packaging/pbuilder-dist +++ b/tools/Linux/packaging/pbuilder-dist @@ -1,7 +1,7 @@ #!/bin/sh # script from Jamin W. Collins BTS: #255165 # modded by Oumar Aziz OUATTARA -# +# # Set the PBUILDER_XBMC_BASE_DIR var to your custom pbuilder base directory. You can set it while calling the script. # To select an ubuntu distribution to launch the build, use the first argument of the script. # The second is the actual command to launch. @@ -10,7 +10,16 @@ OPERATION=$2 DISTRIBUTION=$1 PROCEED=false -if [ -z $PBUILDER_XBMC_BASE_DIR ] ; then +MIRRORLIST="deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu $DISTRIBUTION main|\ +deb http://security.ubuntu.com/ubuntu $DISTRIBUTION-security main restricted universe multiverse|\ +deb http://archive.ubuntu.com/ubuntu/ $DISTRIBUTION-backports main restricted universe multiverse|\ +deb http://archive.ubuntu.com/ubuntu/ $DISTRIBUTION-updates main restricted universe multiverse" + +if [ "$DISTRIBUTION" != "maverick" ]; then + MIRRORLIST="$MIRRORLIST|deb http://ppa.launchpad.net/nvidia-vdpau/ppa/ubuntu $DISTRIBUTION main" +fi + +if [ -z $PBUILDER_XBMC_BASE_DIR ] ; then PBUILDER_XBMC_BASE_DIR="/var/cache/pbuilder" fi @@ -30,11 +39,7 @@ if ( $PROCEED == true ) then --extrapackages "less vim gnupg" \ --mirror "http://archive.ubuntu.com/ubuntu/" \ --components "main restricted universe multiverse" \ - --othermirror "deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu $DISTRIBUTION main|\ -deb http://ppa.launchpad.net/nvidia-vdpau/ppa/ubuntu $DISTRIBUTION main|\ -deb http://security.ubuntu.com/ubuntu $DISTRIBUTION-security main restricted universe multiverse|\ -deb http://archive.ubuntu.com/ubuntu/ $DISTRIBUTION-backports main restricted universe multiverse|\ -deb http://archive.ubuntu.com/ubuntu/ $DISTRIBUTION-updates main restricted universe multiverse" "$@" + --othermirror "$MIRRORLIST" "$@" else echo "Usage: $0 [distribution] [command] " |