Changeset 12211


Ignore:
Timestamp:
Dec 10, 2011, 8:25:18 PM (9 years ago)
Author:
obi
Message:

[ipk] add lokal feed building

Location:
ipk
Files:
1 added
1 edited
4 moved

Legend:

Unmodified
Added
Removed
  • ipk/make-ipk

    r11869 r12211  
    7070        echo "| for svnurl <your>                                                                           |"
    7171        echo "| for maketype <online|offline|onlinebeta>                                                    |"
    72         echo "| for cputype <sh4|mipsel>                                                                    |"
     72        echo "| for cputype <sh4|mipsel|feeds>                                                              |"
    7373        echo "| for swtype <enigma2|neutrino|titan>                                                         |"
    7474        echo "|                                                                                             |"
     
    9393fi
    9494
    95 if [ $CPUTYPE = "sh4" ] || [ $CPUTYPE = "mipsel" ];then
     95if [ $CPUTYPE = "sh4" ] || [ $CPUTYPE = "mipsel" ] || [ $CPUTYPE = "feeds" ];then
    9696        echo "[make-ipk] cputype=$CPUTYPE"
    9797else
    98         echo "[make-ipk] cputype <sh4|mipsel>"
     98        echo "[make-ipk] cputype <sh4|mipsel|feeds>"
    9999        exit 1
    100100fi
     
    146146fi
    147147
    148 for DIR in $ALLOWED; do
    149         echo cp "$DIR"_*
    150         cp -a "$HOMEDIR"/source/"$DIR"_* "$HOMEDIR"/BUILD
    151 done
     148if [ $SWTYPE != "feeds" ];then
     149        for DIR in $ALLOWED; do
     150                echo cp "$DIR"_*
     151                cp -a "$HOMEDIR"/source/"$DIR"_* "$HOMEDIR"/BUILD
     152        done
     153fi
    152154
    153155for DIR in $ALLOWED; do
     
    157159
    158160if [ $GROUP = "atemio" ] && [ $SVNUSER = "aafsvn" ];then
    159         cp -a   /home/aaf-svn/flashimg/BUILD/titan/var/usr/local/share/titan/plugins/mc/* "$HOMEDIR"/BUILD/titanplayers_mc/var/usr/local/share/titan/plugins/mc
     161        cp -a /home/aaf-svn/flashimg/BUILD/titan/var/usr/local/share/titan/plugins/mc/* "$HOMEDIR"/BUILD/titanplayers_mc/var/usr/local/share/titan/plugins/mc
    160162        cp -a /home/aaf-svn/flashimg/BUILD/titan/var/usr/local/share/titan/plugins/networkbrowser/* "$HOMEDIR"/BUILD/titannetwork_networkbrowser/var/usr/local/share/titan/plugins/networkbrowser
    161163fi
     
    317319IPKLIST=`ls -1 *.ipk`
    318320
    319 if [ $GROUP = "update" ] && [ "$SVNUSER" = "aafsvn" ];then
     321if [ $GROUP = "update" ] && [ "$SVNUSER" = "aafsvn" ] && [ $SWTYPE != "feeds" ];then
    320322        rm -rf "$HOMEDIR"/BUILDRELEASE-UPDATE/$IPKGCROSS_RELEASE/$CPUTYPE/$SWTYPE
    321323        mkdir -p "$HOMEDIR"/BUILDRELEASE-UPDATE/$IPKGCROSS_RELEASE/$CPUTYPE/$SWTYPE             
     
    328330                fi
    329331        done
    330 elif [ $GROUP = "dev" ] && [ "$SVNUSER" = "aafsvn" ];then
     332elif [ $GROUP = "dev" ] && [ "$SVNUSER" = "aafsvn" ] && [ $SWTYPE != "feeds" ];then
    331333        rm -rf "$HOMEDIR"/BUILDRELEASE-BETA/$IPKGCROSS_BETA/$CPUTYPE/$SWTYPE
    332334        mkdir -p "$HOMEDIR"/BUILDRELEASE-BETA/$IPKGCROSS_BETA/$CPUTYPE/$SWTYPE         
     
    339341                fi
    340342        done
    341 elif [ $GROUP = "secret" ] && [ $MAKETYPE = "online" ];then
     343elif [ $GROUP = "secret" ] && [ $MAKETYPE = "online" ] && [ $SWTYPE != "feeds" ];then
    342344        for ROUND in $PACKAGESLIST; do
    343345                wputcmd="$SECRETRELEASEUPDATEURL/$WWWMAIN/$CPUTYPE/$SWTYPE/$ROUND"
     
    358360        echo "[make-ipk] upload: $wputbin $wputcmd"
    359361        $wputbin $wputcmd
    360 elif [ $GROUP = "atemio" ] && [ $MAKETYPE = "online" ];then
     362elif [ $GROUP = "atemio" ] && [ $MAKETYPE = "online" ] && [ $SWTYPE != "feeds" ];then
    361363        for ROUND in $PACKAGESLIST; do
    362364                wputcmd="$SECRETRELEASEUPDATEURL/$WWWMAIN/$ROUND"
Note: See TracChangeset for help on using the changeset viewer.