Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ddda4f2 authored by dk1978's avatar dk1978 Committed by dk1978
Browse files

FP3: Ensure folder exists when trying to symlink WCNSS files

* This fixes broken builds when the /persist folder is not created
  before trying to symlink a file into it.

Change-Id: I555e2cf3eb53a846acd8c71f33ac87a398ed29a9
parent b2e065b5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -52,6 +52,7 @@ $(LOCAL_BUILT_MODULE):
	$(hide) echo "Making symlinks for wifi"
	$(hide) mkdir -p $(dir $@)
	$(hide) mkdir -p $(dir $(WCNSS_CFG_SYMLINK))
	$(hide) mkdir -p $(dir $(WCNSS_BIN_SYMLINK))
	$(hide) rm -rf $@
	$(hide) rm -rf $(WCNSS_CFG_SYMLINK)
	$(hide) ln -sf $(ACTUAL_CFG_FILE) $(WCNSS_CFG_SYMLINK)