blob: de68d34ac228d2e5104f67b2fb288574e01bc01c (
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 "$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
|