mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-05-07 18:57:27 +02:00
build: create daemon storage dirs on install
Upon initial install iwd fails to start because the service file says ReadWritePaths=/var/lib/iwd while that directory doesn't (yet) exist. (This commit also fixes the same problem for ead.) Addresses: https://bugs.debian.org/934194 Reported-by: Stephen Gelman <ssgelm@debian.org>
This commit is contained in:
parent
2c30a2f7ff
commit
5a96c11664
@ -583,6 +583,14 @@ SED_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \
|
|||||||
%.1: %.txt
|
%.1: %.txt
|
||||||
$(AM_V_GEN)$(A2X) --doctype manpage --format manpage $(srcdir)/$<
|
$(AM_V_GEN)$(A2X) --doctype manpage --format manpage $(srcdir)/$<
|
||||||
|
|
||||||
|
install-data-local:
|
||||||
|
if DAEMON
|
||||||
|
$(MKDIR_P) -m 700 $(DESTDIR)$(daemon_storagedir)
|
||||||
|
endif
|
||||||
|
if WIRED
|
||||||
|
$(MKDIR_P) -m 700 $(DESTDIR)$(wired_storagedir)
|
||||||
|
endif
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
-rm -f unit/cert-*.pem unit/cert-*.csr unit/cert-*.srl
|
-rm -f unit/cert-*.pem unit/cert-*.csr unit/cert-*.srl
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user