Skip to content

Commit

Permalink
package/ssdp-responder: add /var/lib/misc for systemd builds
Browse files Browse the repository at this point in the history
Similar to dnsmasq, ssdp-responder saves state data across reboots in
the /var/lib/misc/ directory.  In the case of ssdp-responder it is the
(per-device unique) UUID that is generated on first boot.

Workaround only needed for systemd builds, the sysv skeleton already has
the /var/lib/misc/ directory.

Signed-off-by: Joachim Wiberg <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
  • Loading branch information
troglobit authored and tpetazzoni committed Jul 30, 2023
1 parent 2737af9 commit 5a32dae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package/ssdp-responder/ssdp-responder.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,8 @@ define SSDP_RESPONDER_INSTALL_INIT_SYSV
$(TARGET_DIR)/etc/init.d/S50ssdpd
endef

define SSDP_RESPONDER_INSTALL_INIT_SYSTEMD
mkdir -p $(TARGET_DIR)/var/lib/misc/
endef

$(eval $(autotools-package))

0 comments on commit 5a32dae

Please sign in to comment.