~xnox/debian-cd/subiquity

« back to all changes in this revision

Viewing changes to build_all.sh

  • Committer: Arch Librarian
  • Date: 2005-03-22 00:47:41 UTC
  • Revision ID: Arch-1:debian-cd@arch.ubuntu.com%debian-cd--MAIN--0--patch-29
Initial revision
Author: aph
Date: 1999-11-11 17:10:38 GMT
Initial revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# Script to build everything possible : sources and binaries for all archs
 
4
 
 
5
. CONF.sh
 
6
 
 
7
for ARCH in "i386 m68k alpha sparc powerpc"
 
8
do
 
9
        export ARCH
 
10
        echo "Now we're going to build CD for $ARCH !"
 
11
        echo " ... cleaning"
 
12
        make distclean
 
13
        make ${CODENAME}_status
 
14
        echo " ... checking your mirror"
 
15
        make mirrorcheck
 
16
        if [ $? -gt 0 ]; then
 
17
                echo "ERROR: Your mirror has a problem, please correct it." >&2
 
18
                exit 1
 
19
        fi
 
20
        echo " ... selecting packages to include"
 
21
        make list COMPLETE=1 SIZELIMIT1=576716800
 
22
        echo " ... building the images"
 
23
        if [ "$ARCH" = "i386" ]; then
 
24
                make official_images
 
25
        else
 
26
                make bin-official_images
 
27
                if [ $? -gt 0 ]; then
 
28
                        echo "ERROR WHILE BUILDING OFFICIAL IMAGES !!" >&2
 
29
                        echo "I'll try to build a simple (non-bootable) CD" >&2
 
30
                        make clean
 
31
                        make installtools
 
32
                        make bin-images
 
33
                fi
 
34
        fi
 
35
        echo "--------------- `date` ---------------"
 
36
done
 
37
 
 
38
make imagesums