blob: 8159b1afeeccf63726cd359b99ac287e2ee52236 (
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
35
36
37
38
39
40
41
42
43
|
#!/bin/bash
# pbuilder example script.
# Copyright 2003 Junichi Uekawa
#Distributed under GPL version 2 or later
#before running this script, make sure you have an up-to-date system with
# pbuilder update.
# $Id$
# This will install a package using APT and see if that fails.
set -ex
# practically, killing is not enough, do a reboot here instead.
echo 'nobody@nowhere' > /etc/mailname
echo '$Id$'
INSTALLTESTPID=$$
( sleep 1h ; kill $INSTALLTESTPID ) &
KILLPID=$!
apt-get install -y --force-yes "$1" < /dev/null
kill $KILLPID
# known bugs according to Christian Perrier.
# anacron MQ 134017
# Base-passwd CP 184979
# exim 86210
# Kernel-package 115884
# Sendmail CP ?
# wvdial CP 219151
# Nessusd CP 191925
# Libssl0.9.7 ?
# php4 122353
# seyon 147269
|