summaryrefslogtreecommitdiffstats
path: root/bin/d-i_manual.sh
blob: e61f9774ed2a099c7c43d1772f961c56c2f4151b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash

# Copyright 2012 Holger Levsen <holger@layer-acht.org>
# released under the GPLv=2

set -x
set -e
export LANG=C
export MIRROR=http://ftp.de.debian.org/debian
export http_proxy="http://localhost:3128"

#
# clean
#
rm -fv *.deb *.dsc *_*.build *_*.changes *_*.tar.gz

#
# prepare build
#
cd manual
pdebuild
if [ -f /var/base.tgz ] ; then
	sudo pbuilder --create
else
	sudo pbuilder --update
fi

#
# build
#
cd ..
sudo pbuilder --build *dsc