summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-10-14 15:36:46 +0300
committerLars Wirzenius <liw@liw.fi>2017-10-14 15:36:46 +0300
commit2575bdfc838091a9ea0e13ed6b03bf11b66d8fc5 (patch)
tree376685276c28c06fbe41eb689f6cd0217883f474
parent7f4ba04b862141e99c8676fa7a82c0abfe2962d0 (diff)
downloadick2-2575bdfc838091a9ea0e13ed6b03bf11b66d8fc5.tar.gz
Add: runtime .deb dependencies; create /var/lib/ick/state
-rw-r--r--debian/changelog1
-rw-r--r--debian/control11
-rw-r--r--debian/ick2.postinst3
3 files changed, 14 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index b7b7df9..f5ef1bd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
ick2 (0.7+git-1) UNRELEASED; urgency=medium
* New upstream version.
+ * Add runtime dependencies.
-- Lars Wirzenius <liw@liw.fi> Sat, 14 Oct 2017 15:00:32 +0300
diff --git a/debian/control b/debian/control
index ae2ac92..50a8bfb 100644
--- a/debian/control
+++ b/debian/control
@@ -24,6 +24,15 @@ Build-Depends: debhelper (>= 9~),
Package: ick2
Architecture: all
-Depends: ${python3:Depends}, ${misc:Depends}
+Depends: ${python3:Depends}, ${misc:Depends},
+ python3-all,
+ python3-bottle,
+ python3-cliapp,
+ python3-apifw,
+ python3-slog,
+ python3-cryptography,
+ python3-requests,
+ gunicorn3,
+ python3-yaml,
Description: a work-in-progress CI server
This should be written.
diff --git a/debian/ick2.postinst b/debian/ick2.postinst
index 13595a9..fad7d0b 100644
--- a/debian/ick2.postinst
+++ b/debian/ick2.postinst
@@ -26,4 +26,7 @@ adduser --system --disabled-login --disabled-password \
# Create the log directory with the right ownership and permissions.
install -d -m 0755 -o _ick -g _ick /var/log/ick
+# Create ick state dir
+install -d -m 0755 -o _ick -g _ick /var/lib/ick/state
+
#DEBHELPER#