5 # Olivier BERGER <olivier.berger@it-sudparis.eu>
7 # This script will build the Debian packages to be tested
9 # Prerequisite : running 'update.sh' and its prerequisites
12 # removed as the grep test below would break otherwise
18 rm -rf /root/debian-repository
19 mkdir -p /root/debian-repository
22 cd /root/fusionforge/src
24 cp debian/changelog $f
26 # The build is likely to fail if /tmp is too short.
27 # When filesystem is too much full, the boot scripts mount a tmpfs /tmp that is far too small to allow builds,
28 # but still gets unnoticed.
29 # We assume here that you didn't change the VM partitions layout and that /tmp is not a mounted partition.
32 echo "WARNING: It is likely that the mounted /tmp could be too short. If you experience a build error bellow, Try make some room on the FS and reboot, first."
35 dch --newversion 999+$(date +%Y%m%d%H%M%S)-1 --distribution local --force-distribution "Autobuilt."
36 debuild --no-lintian --no-tgz-check -us -uc -tc
39 mv $f debian/changelog