rpki-pbuilder.sh 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #!/bin/sh -
  2. # New top-level script, now that we need to run rpki-pbuilder.py multiple times with different arguments.
  3. # May eventually want to consolidate all of this back into rpki-pbuilder.py, but not today.
  4. # At the moment, coverage with the new code is a bit scattershot. It works with trusty, with backports
  5. # from xenial; it works for stretch, and it works for jessie with a lot of backports from stretch.
  6. # Backports for wheezy are probably more trouble than they're worth, and there seems little point
  7. # in putting effort into the non-LTS Ubuntu releases.
  8. #
  9. # In practice, the old code no longer builds for precise, which is an LTS that's still under support.
  10. # Don't yet know why.
  11. /usr/sbin/logrotate -s $HOME/logrotate.state $HOME/logrotate.conf
  12. exec >> $HOME/builder.log 2>&1
  13. set -x
  14. cd $HOME
  15. python rpki-pbuilder.py \
  16. --svn-tree $HOME/source.ng/tk705/ \
  17. --apt-tree $HOME/repository.ng/ \
  18. --url-path /APTng \
  19. --backports python-django python-tornado \
  20. --releases ubuntu/trusty
  21. python rpki-pbuilder.py \
  22. --svn-tree $HOME/source.ng/tk705/ \
  23. --apt-tree $HOME/repository.ng/ \
  24. --url-path /APTng \
  25. --releases ubuntu/xenial
  26. python rpki-pbuilder.py \
  27. --svn-tree $HOME/source.tos/trunk/ \
  28. --apt-tree $HOME/repository.tos/ \
  29. --url-path /APT \
  30. --backports python-django-south \
  31. --releases ubuntu/trusty
  32. python rpki-pbuilder.py \
  33. --svn-tree $HOME/source.tos/trunk/ \
  34. --apt-tree $HOME/repository.tos/ \
  35. --url-path /APT \
  36. --backports python-django python-django-south \
  37. --releases debian/wheezy
  38. python rpki-pbuilder.py \
  39. --svn-tree $HOME/source.tos/trunk/ \
  40. --apt-tree $HOME/repository.tos/ \
  41. --url-path /APT \
  42. --backports python-django python-django-south \
  43. --releases ubuntu/precise