Changeset 47


Ignore:
Timestamp:
Aug 9, 2007, 9:55:07 AM (13 years ago)
Author:
fasma
Message:

Scripts updated to latest versions

Location:
caixamagica/scripts
Files:
3 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • caixamagica/scripts/cmbuild/config/svn_fonts

    r18 r47  
    66#
    77
    8 drakx-net->drakx-net
    9 mandriva-theme->theme/mandriva-theme
     8drakx-net->drakx-net/trunk
     9mandriva-theme->theme/mandriva-theme/trunk
     10mandriva-gfxboot-theme->theme/mandriva-gfxboot-theme/trunk
     11desktop-common-data->desktop-common-data/trunk
     12drakconf->control-center/trunk
     13mandriva-kde-config->mandriva-kde-config
  • caixamagica/scripts/cmbuild/config/tarball_files

    r18 r47  
    2727# drakx-net->drakxtools/dir1/asda.pm dir2/ asda.pm1
    2828
    29 drakx-net->drakx-net/* drakx-net-_VERSION_/
    30 mandriva-theme->theme/mandriva-theme/common/bootsplash/config/animations.cfg mandriva-theme-_VERSION_/common/bootsplash/config/
     29drakx-net->drakx-net/trunk/* drakx-net-_VERSION_/
     30mandriva-theme->theme/mandriva-theme/trunk/* mandriva-theme-_VERSION_/
     31mandriva-gfxboot-theme->theme/mandriva-gfxboot-theme/trunk/* mandriva-gfxboot-theme-_VERSION_/
     32desktop-common-data->desktop-common-data/trunk/* desktop-common-data-2007.1/
     33drakconf->control-center/trunk/* drakconf-_VERSION_/
     34mandriva-kde-config->mandriva-kde-config/* mandriva-kde-config-2008.0/
  • caixamagica/scripts/cmbuild/config/tarball_names

    r18 r47  
    1414
    1515
    16 drakx-net->drakx-net-_VERSION_ tar.bz2 drakx-net/Makefile
    17 mandriva-theme->mandriva-theme tar theme/mandriva-theme/Makefile
     16drakx-net->drakx-net-_VERSION_ tar.bz2 drakx-net/trunk/Makefile
     17mandriva-theme->mandriva-theme tar theme/mandriva-theme/trunk/Makefile
     18mandriva-gfxboot-theme->mandriva-gfxboot-theme tar theme/mandriva-gfxboot-theme/trunk/Makefile
     19desktop-common-data->desktop-common-data-2007.1 tar.bz2 desktop-common-data/trunk/Makefile
     20drakconf->drakconf-_VERSION_ tar.bz2 control-center/trunk/Makefile
     21mandriva-kde-config->mandriva-kde-config-2008.0.20070604 tar.bz2
  • caixamagica/scripts/cmbuild/svn2rpm.sh

    r19 r47  
    156156                        do
    157157                                echo "Downloading the source code of $PACKREPO to $DIR/SOURCES/${PACKREPO}"
    158                                 svn co $SVN_SERV/soft/$PACKREPO/trunk $PACKREPO
     158                                svn co $SVN_SERV/soft/$PACKREPO $PACKREPO
    159159                        done
    160160                fi
     
    182182
    183183
    184         VERSION=`grep ^VERSION $MAKEFILE | awk 'BEGIN {FS="="} {print $NF}' | sed "s/ //g"`
     184        if [ "$MAKEFILE" != "" ]
     185        then
     186                VERSION=`grep ^VERSION $MAKEFILE | awk 'BEGIN {FS="="} {print $NF}' | sed "s/ //g"`
     187        fi
    185188
    186189
  • caixamagica/scripts/image/create_image.sh

    r1 r47  
    77ISO_FILE="CM12.iso"
    88ISO_NAME="Caixa Mágica 12"
     9ARCH="i586"
    910
    1011GENISOIMAGE="/usr/bin/genisoimage"
     
    1415# To be removed once APT is working during the installation,
    1516# and replace with repomd listings
    16 cd $DIR_IMAGE/media/
    17 rm -rf media_info
    18 genhdlist --subdir media_info
    19 cd -
     17#cd $DIR_IMAGE/$ARCH/media/
     18#rm -rf media_info
     19#genhdlist --subdir media_info
     20#cd -
     21gendistrib --blind $DIR_IMAGE/$ARCH
    2022
    2123
    22 $GENISOIMAGE -r -f -J -cache-inodes -V '$ISO_NAME' -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o $DIR_ISO/$ISO_FILE $DIR_IMAGE
     24$GENISOIMAGE -r -f -J -cache-inodes -V "$ISO_NAME" -b $ARCH/isolinux/isolinux.bin -c $ARCH/isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o $DIR_ISO/$ISO_FILE $DIR_IMAGE
    2325
    2426
  • caixamagica/scripts/image/record.sh

    r1 r47  
    22
    33
    4 DIR_MAIN="/caixamagica/Dist12/install"
     4DIR_MAIN="/caixamagica/Dist12/install/image"
    55DIR_ISO="$DIR_MAIN/iso"
    66ISO_FILE="CM12.iso"
     
    88BOOT_ISO="/export/install/images/boot.iso"
    99INSTALL_ISO="$DIR_ISO/$ISO_FILE"
     10#INSTALL_ISO="iso/CM-2007/1-CM-2007.iso"
    1011
    1112
  • caixamagica/scripts/installation/installation_tool.sh

    r1 r47  
    1616ARCH="i586"
    1717
     18LOCAL_FTP="/var/ftp/pub/"
     19
    1820DIR_MAIN="/caixamagica/Dist12/install"
    1921
     
    2931
    3032STAGE2_REMOTE_DIR="data/ftp-teste/antibes/$ARCH/"
     33STAGE2_LOCAL_FTP_DIR="$LOCAL_FTP/$ARCH/"
    3134OPTION="$1"
    3235FILE="$2"
     
    199202{
    200203        #Warn about the replacement of the remote files
    201         echo "Attention please, the remote directories install, isolinux and misc will be replaced in $SSH_SERVER:/$STAGE2_REMOTE_DIR if you proceed."
     204        echo "Attention please, the remote directories install, isolinux and misc will be replaced in $STAGE2_LOCAL_FTP_DIR if you proceed."
    202205        echo "Do you which to proceed? [y/n]"
    203206        read PROCEED
     
    209212
    210213        #Copy the directories to the FTP server
    211         scp -r /export/* root@$SSH_SERVER:/$STAGE2_REMOTE_DIR/
     214        cp -a /export/* $STAGE2_LOCAL_FTP_DIR
     215        #scp -r /export/* root@$SSH_SERVER:/$STAGE2_REMOTE_DIR/
    212216
    213217        echo "The contents of the /export directory has been copied to root@$SSH_SERVER:/$STAGE2_REMOTE_DIR"
     
    256260        echo "or replace the kernel file in the  $DIR_MAIN/installation/svn/drakx/images/RPMS):"
    257261        echo
    258         wget $FTP_SERVER$ARCH/media/main/release/$INSTALL_KERNEL
     262        #wget $FTP_SERVER$ARCH/media/main/release/$INSTALL_KERNEL
     263        cp /var/ftp/pub/i586/media/main/release/kernel-2.6.22* .
    259264        echo
     265
     266        if test ! -f "/etc/rpm/platform"; then
     267                echo "Creating /etc/rpm/platform"
     268                cat > /etc/rpm/platform << EOF
     269i586-mandriva-linux-gnu
     270i486-mandriva-linux-gnu
     271i386-mandriva-linux-gnu
     272noarch-mandriva-linux-gnu
     273i586-.*-linux
     274i486-.*-linux
     275i386-.*-linux
     276noarch-.*-linux
     277EOF
     278        fi
    260279
    261280        exit 1
  • caixamagica/scripts/merge_mdv_cm.sh

    r3 r47  
    1212# To Do's: Really check that the Mandriva code is really merged with
    1313#          Caixa Magica code, and that the Caixa Magica changes are not lost.
     14#          Make it actually work.. this is alpha code testing.
    1415#
    15 
     16#
    1617
    1718
Note: See TracChangeset for help on using the changeset viewer.