summaryrefslogtreecommitdiffstats
path: root/bin/d-i_manual.sh
blob: 4ae455f873f78dedbd8c2870d02ba5a2179f6622 (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
#!/bin/bash

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

set -x
set -e
export LC_ALL=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
#
if [ -f /var/base.tgz ] ; then
	sudo pbuilder --create
else
	sudo pbuilder --update
fi

#
# build
#
cd manual
pdebuild