+++ /dev/null
-From e339921792ce7b92d4563a5dd0c675a1bb06e953 Mon Sep 17 00:00:00 2001
-From: Hugo Villeneuve <hugo@hugovil.com>
-Date: Mon, 19 Feb 2024 12:20:43 -0500
-Subject: [PATCH] yocto: disable user/group creation
-
----
- Makefile.am | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index d9cfbf6e..c1765489 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -277,7 +277,7 @@ INSTALL_SYSTEMV_TARGET = install-systemv-local
- # will be stored in a scripts folder in the _build_ folder
- # which will be the source folder if you're not using a separate build folder
-
--$(INSTALL_SYSTEMV_TARGET): scripts/shairport-sync $(INSTALL_USER_TARGET)
-+$(INSTALL_SYSTEMV_TARGET): scripts/shairport-sync
- install -d $(DESTDIR)$(sysconfdir)/init.d
- [ -e $(DESTDIR)$(sysconfdir)/init.d/shairport-sync ] || install -m 0755 scripts/shairport-sync $(DESTDIR)$(sysconfdir)/init.d
-
-@@ -297,7 +297,7 @@ INSTALL_SYSTEMD_TARGET = install-systemd-local
- # will be stored in a scripts folder in the _build_ folder
- # which will be the source folder if you're not using a separate build folder
-
--$(INSTALL_SYSTEMD_TARGET): scripts/$(SYSTEMD_SERVICE) $(INSTALL_USER_TARGET)
-+$(INSTALL_SYSTEMD_TARGET): scripts/$(SYSTEMD_SERVICE)
- install -d $(DESTDIR)$(systemdsystemunitdir)
- [ -e $(DESTDIR)$(systemdsystemunitdir)/shairport-sync.service ] || install -m 0644 scripts/$(SYSTEMD_SERVICE) $(DESTDIR)$(systemdsystemunitdir)/shairport-sync.service
-
---
-2.39.2
-
SRC_URI = "git://github.com/hvilleneuve29/shairport-sync;protocol=https;branch=${SRCBRANCH}"
SRC_URI += " \
- file://0001-yocto-disable-user-group-creation.patch \
file://shairport-sync.conf.in \
file://mpc-stop.sh \
"
--with-metadata \
--with-libdaemon \
--with-systemd \
+ --without-create-user-group \
"
DEPENDS = " libconfig popt avahi openssl alsa-lib"