aboutsummaryrefslogtreecommitdiff
path: root/rpki-pbuilder.sh
blob: dbf68d689caf96020841a7ce11fa2fb37ee0045b (plain) (blame)
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
44
45
46
47
48
49
50
51
52
53
54
#!/bin/sh -

# New top-level script, now that we need to run rpki-pbuilder.py multiple times with different arguments.
# May eventually want to consolidate all of this back into rpki-pbuilder.py, but not today.

# At the moment, coverage with the new code is a bit scattershot.  It works with trusty, with backports
# from xenial; it works for stretch, and it works for jessie with a lot of backports from stretch.
# Backports for wheezy are probably more trouble than they're worth, and there seems little point
# in putting effort into the non-LTS Ubuntu releases.
#
# In practice, the old code no longer builds for precise, which is an LTS that's still under support.
# Don't yet know why.

/usr/sbin/logrotate -s $HOME/logrotate.state $HOME/logrotate.conf

exec >> $HOME/builder.log 2>&1

set -x

cd $HOME

python rpki-pbuilder.py					\
    --svn-tree $HOME/source.ng/tk705/			\
    --apt-tree $HOME/repository.ng/			\
    --url-path /APTng					\
    --backports python-django python-tornado		\
    --releases ubuntu/trusty

python rpki-pbuilder.py					\
    --svn-tree $HOME/source.ng/tk705/			\
    --apt-tree $HOME/repository.ng/			\
    --url-path /APTng					\
    --releases ubuntu/xenial

python rpki-pbuilder.py					\
    --svn-tree $HOME/source.tos/trunk/			\
    --apt-tree $HOME/repository.tos/			\
    --url-path /APT					\
    --backports python-django-south			\
    --releases ubuntu/trusty

python rpki-pbuilder.py					\
    --svn-tree $HOME/source.tos/trunk/			\
    --apt-tree $HOME/repository.tos/			\
    --url-path /APT					\
    --backports python-django python-django-south	\
    --releases debian/wheezy

python rpki-pbuilder.py					\
    --svn-tree $HOME/source.tos/trunk/			\
    --apt-tree $HOME/repository.tos/			\
    --url-path /APT					\
    --backports python-django python-django-south	\
    --releases ubuntu/precise