Changeset 3095 for alternc/trunk
- Timestamp:
- 10/11/11 00:29:47 (20 months ago)
- File:
-
- 1 edited
-
alternc/trunk/nightlybuild/mchroot.sh (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/nightlybuild/mchroot.sh
r3094 r3095 1 1 #! /bin/bash 2 2 3 #Le repertoire racine 4 ROOT_DIR="/root/compilation" 5 3 6 #Les systeme àcompiler 4 CHROOT_DIR=" /root/compilation/chroot"7 CHROOT_DIR="$ROOT_DIR/chroot" 5 8 #repertoire cible des compilations 6 BUILD_AREA=" /root/compilation/build-area"9 BUILD_AREA="$ROOT_DIR/build-area" 7 10 #le repertoire contenant les sources 8 11 SRC_DIR="/root/vcs" 9 12 #repertoire local (dans chroot) contenant les builds area 10 13 LOCAL_BUILD_AREA="/root/build-area" 14 #Le depot formaté pour le web 15 DEPOT_DIR="$ROOT_DIR/depot" 16 11 17 12 18 … … 94 100 chroot_run $SCHROOT_SESSION "svn-buildpackage -us -uc -rfakeroot --svn-move-to=$LOCAL_BUILD_AREA/$STATUT" $SRC_DIR/$SVN_DIR 95 101 chroot_run $SCHROOT_SESSION "svn revert ./ -R" $SRC_DIR/$SVN_DIR 102 96 103 done 97 104 … … 110 117 function create_apt() { 111 118 #Création du depot 119 mkdir -p $DEPOT_DIR 112 120 113 DEPOT_DIR="/root/depot" 114 115 for dir in $(ls $CHROOT_DIR); do 121 for dir in $(ls $BUILD_AREA); do 116 122 if [[ ! -d $CHROOT_DIR/$dir ]]; then 117 123 continue … … 145 151 dpkg-scanpackages binary-$arch /dev/null dists/$dist/$dir/ | gzip -f9 > binary-$arch/Packages.gz 146 152 dpkg-scansources source /dev/null dists/$dist/$dir/ | gzip -f9 > source/Sources.gz 147 apt-ftparchive -c /root/$dist-$arch-apt-ftparchive.conf release $DEPOT_BIN > $DEPOT_BIN/Release148 apt-ftparchive -c /root/$dist-$arch-apt-ftparchive.conf release $DEPOT_SRC > $DEPOT_SRC/Release153 apt-ftparchive -c $ROOT_DIR/$dist-$arch-apt-ftparchive.conf release $DEPOT_BIN > $DEPOT_BIN/Release 154 apt-ftparchive -c $ROOT_DIR/$dist-$arch-apt-ftparchive.conf release $DEPOT_SRC > $DEPOT_SRC/Release 149 155 done 150 156 done … … 152 158 153 159 #get_sources 154 create_packages 155 #create_apt 156 160 #create_packages 161 create_apt
Note: See TracChangeset
for help on using the changeset viewer.
