aboutsummaryrefslogtreecommitdiffstats
path: root/community/bareos/support-alpine-dist.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/bareos/support-alpine-dist.patch')
-rw-r--r--community/bareos/support-alpine-dist.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/bareos/support-alpine-dist.patch b/community/bareos/support-alpine-dist.patch
new file mode 100644
index 00000000000..1cb4ab68af5
--- /dev/null
+++ b/community/bareos/support-alpine-dist.patch
@@ -0,0 +1,15 @@
+diff --git a/core/cmake/distname.sh b/core/cmake/distname.sh
+index 2dfc47f..5026e11 100755
+--- a/core/cmake/distname.sh
++++ b/core/cmake/distname.sh
+@@ -184,6 +184,10 @@ else
+ elif test "$CYGWIN" = yes
+ then
+ PLATFORM=cygwin
++ elif test -f /etc/alpine-release
++ then
++ PLATFORM=alpine
++ DISTVER=`cat /etc/alpine-release`
+ else
+ PLATFORM=unknown
+ DISTVER=unknown