blob: 99df51d2b20ea71d55afa1693d0a30ee0cf77b1d (
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
|
#!/bin/sh
# This is a testsuite.
PBUILDER_UML=/usr/bin/pbuilder-user-mode-linux
pbuilder --configfile non-existing-configfile
if [ -x "${PBUILDER_UML}" ]; then
for distribution in sid sarge; do
pbuilder-user-mode-linux create --mirror http://ring.asahi-net.or.jp/archives/linux/debian/debian --distribution "${distribution}" --uml-image $(pwd)/testimage --logfile pbuilder-user-mode-linux-create-${distribution}.log
for PKG in dsh; do
(
mkdir testbuild
cd testbuild
apt-get source -d ${PKG}
)
pbuilder-user-mode-linux build --uml-image $(pwd)/testimage --buildplace $(pwd)/testbuild/ --logfile pbuilder-user-mode-linux-build-${PKG}-${distribution}.log testbuild/${PKG}*.dsc
done
rm -rf testbuild testimage
done
fi
|