From 4073bef6e88bec2b644dc3cdb54c286e0f6fa72c Mon Sep 17 00:00:00 2001 From: Andrew Beltrano Date: Thu, 11 Apr 2024 22:18:44 +0000 Subject: [PATCH] Create run state directory for hostapd on install. --- src/linux/external/hostap/systemd/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/linux/external/hostap/systemd/CMakeLists.txt b/src/linux/external/hostap/systemd/CMakeLists.txt index fd6f3d9f..05905b7d 100644 --- a/src/linux/external/hostap/systemd/CMakeLists.txt +++ b/src/linux/external/hostap/systemd/CMakeLists.txt @@ -29,6 +29,12 @@ install( COMPONENT hostapd ) +install( + DIRECTORY + DESTINATION ${CMAKE_INSTALL_RUNSTATEDIR}/hostapd + COMPONENT hostapd +) + install( FILES ${CMAKE_CURRENT_BINARY_DIR}/hostapd-release@.service