[gnome-build-meta/valentindavid/gnome-os-ostree: 3/16] Add avahi sysuser



commit ee8464ef8b20f21415f7d3ac64096588d4f05c8b
Author: Valentin David <valentin david codethink co uk>
Date:   Sat Nov 16 21:47:58 2019 +0100

    Add avahi sysuser

 elements/core-deps/avahi.bst | 9 +++++++++
 files/avahi/avahi.conf       | 1 +
 2 files changed, 10 insertions(+)
---
diff --git a/elements/core-deps/avahi.bst b/elements/core-deps/avahi.bst
index 6d2152ff..1bbcadc0 100644
--- a/elements/core-deps/avahi.bst
+++ b/elements/core-deps/avahi.bst
@@ -2,6 +2,9 @@ kind: autotools
 sources:
 - kind: tar
   url: github_com:lathiat/avahi/releases/download/v0.7/avahi-0.7.tar.gz
+- kind: local
+  path: files/avahi/avahi.conf
+  directory: extra
 build-depends:
 - core-deps/intltool.bst
 - freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
@@ -17,3 +20,9 @@ variables:
     --disable-gtk
     --disable-python
     --disable-mono
+config:
+  install-commands:
+    (>):
+    - |
+      install -Dm644 -t "%{install-root}%{indep-libdir}/sysusers.d" \
+                     extra/avahi.conf
diff --git a/files/avahi/avahi.conf b/files/avahi/avahi.conf
new file mode 100644
index 00000000..8f7d6d8c
--- /dev/null
+++ b/files/avahi/avahi.conf
@@ -0,0 +1 @@
+u avahi - -


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]