eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 5a96c11664eb553bc28a2142af382b190254edbb
parent 2c30a2f7ffbb186be78f80a416ff93ab331910f5
Author: Andreas Henriksson <andreas@fatal.se>
Date:   Sun, 11 Aug 2019 13:03:13 +0200

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>

Diffstat:
MMakefile.am | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am @@ -583,6 +583,14 @@ SED_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \ %.1: %.txt $(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: -rm -f unit/cert-*.pem unit/cert-*.csr unit/cert-*.srl