summaryrefslogtreecommitdiffstats
path: root/bin/d-i_manual.sh
blob: eddbc3adb3587b3b1260a65c180487e42ef46238 (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
34
#!/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
sudo pdebuild
if [ -f /var/base.tgz ] ; then
	sudo pbuilder --create
else
	sudo pbuilder --update
fi

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