The arvados-docker-cleaner packages on Debian 10 and Ubuntu
authorWard Vandewege <ward@curii.com>
Thu, 23 Jul 2020 13:13:53 +0000 (09:13 -0400)
committerWard Vandewege <ward@curii.com>
Thu, 23 Jul 2020 13:13:53 +0000 (09:13 -0400)
18.04 (and later, presumably) have a dependency on the python3-distutils
package.

closes #16611

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

services/dockercleaner/fpm-info.sh [new file with mode: 0644]

diff --git a/services/dockercleaner/fpm-info.sh b/services/dockercleaner/fpm-info.sh
new file mode 100644 (file)
index 0000000..d678fdf
--- /dev/null
@@ -0,0 +1,12 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
+
+case "$TARGET" in
+    debian9 | ubuntu1604)
+        fpm_depends+=()
+        ;;
+    debian* | ubuntu*)
+        fpm_depends+=(python3-distutils)
+        ;;
+esac