bacula/bacula-docker-plugin.patch

28 lines
996 B
Diff
Raw Normal View History

2022-07-08 14:23:07 +00:00
diff -Naur bacula-13.0.0.old/autoconf/configure.in bacula-13.0.0/autoconf/configure.in
--- bacula-13.0.0.old/autoconf/configure.in 2022-07-08 14:53:19.765602625 +0200
+++ bacula-13.0.0/autoconf/configure.in 2022-07-08 14:54:32.972908546 +0200
@@ -3404,20 +3404,9 @@
2021-01-12 11:38:25 +00:00
]
)
if test x$support_docker = xyes -o x$support_docker = xauto; then
- AC_CHECK_PROG(docker_bin, docker, yes, no, "/usr/bin/")
- if test x$docker_bin = xyes; then
- support_docker=yes
2022-07-08 14:23:07 +00:00
- FD_PLUGIN_DIR="${FD_PLUGIN_DIR} src/plugins/fd/docker"
- FD_PLUGIN_INSTALL="${FD_PLUGIN_INSTALL} install-docker"
2021-01-12 11:38:25 +00:00
- else
- if test x$support_docker = xyes; then
- echo " "
- echo "You enabled a Docker Plugin build but 'docker' command not found."
- echo " "
- exit 1
- fi
- support_docker=no
- fi
+ support_docker=yes
2022-07-08 14:23:07 +00:00
+ FD_PLUGIN_DIR="${FD_PLUGIN_DIR} src/plugins/fd/docker"
+ FD_PLUGIN_INSTALL="${FD_PLUGIN_INSTALL} install-docker"
2021-01-12 11:38:25 +00:00
fi
2022-07-08 14:23:07 +00:00
dnl kubernetes Plugin