[gnome-build-meta/valentindavid/pinebook-pro: 1/3] Forcibly disable wpa-supplicant services
- From: Valentin David <valentindavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/valentindavid/pinebook-pro: 1/3] Forcibly disable wpa-supplicant services
- Date: Mon, 20 Apr 2020 09:44:10 +0000 (UTC)
commit 49dd67c110402d5306da23e97684b01f93c987ad
Author: Valentin David <valentin david codethink co uk>
Date: Fri Apr 17 13:46:46 2020 +0000
Forcibly disable wpa-supplicant services
elements/boards/pinebook-pro/deps.bst | 2 +-
elements/vm/deps.bst | 2 +-
elements/vm/wpa-supplicant-config.bst | 18 ++++++++++++++++++
files/vm/wpa-supplicant-config/wpa-supplicant.config | 3 +++
4 files changed, 23 insertions(+), 2 deletions(-)
---
diff --git a/elements/boards/pinebook-pro/deps.bst b/elements/boards/pinebook-pro/deps.bst
index 07c825d6..fc871117 100644
--- a/elements/boards/pinebook-pro/deps.bst
+++ b/elements/boards/pinebook-pro/deps.bst
@@ -40,6 +40,6 @@ runtime-depends:
- boards/pinebook-pro/wireless-regdb-bin.bst
- boards/pinebook-pro/firmware.bst
-- vm/wpa-supplicant.bst
+- vm/wpa-supplicant-config.bst
- boards/pinebook-pro/disable-dnssec.bst
diff --git a/elements/vm/deps.bst b/elements/vm/deps.bst
index 16266489..1552a2c2 100644
--- a/elements/vm/deps.bst
+++ b/elements/vm/deps.bst
@@ -17,7 +17,7 @@ runtime-depends:
- vm/spice-vdagent.bst
- vm/linux-firmware.bst
- vm/resize-root.bst
-- vm/wpa-supplicant.bst
+- vm/wpa-supplicant-config.bst
- freedesktop-sdk.bst:vm/config/pulseaudio.bst
- freedesktop-sdk.bst:vm/config/sudo.bst
diff --git a/elements/vm/wpa-supplicant-config.bst b/elements/vm/wpa-supplicant-config.bst
new file mode 100644
index 00000000..2eb2aaa3
--- /dev/null
+++ b/elements/vm/wpa-supplicant-config.bst
@@ -0,0 +1,18 @@
+kind: manual
+
+sources:
+- kind: local
+ path: files/vm/wpa-supplicant-config/wpa-supplicant.preset
+
+build-depends:
+- freedesktop-sdk.bst:components/pkg-config.bst
+- freedesktop-sdk.bst:components/systemd.bst
+
+runtime-depends:
+- vm/wpa-supplicant.bst
+
+config:
+ install-commands:
+ - |
+ systemdsystempresetdir="$(pkg-config --variable systemdsystempresetdir systemd)"
+ install -Dm644 -t "${systemdsystempresetdir}" wpa-supplicant.preset
diff --git a/files/vm/wpa-supplicant-config/wpa-supplicant.config
b/files/vm/wpa-supplicant-config/wpa-supplicant.config
new file mode 100644
index 00000000..22ebcf78
--- /dev/null
+++ b/files/vm/wpa-supplicant-config/wpa-supplicant.config
@@ -0,0 +1,3 @@
+disable wpa_supplicant@.service
+disable wpa_supplicant-nl80211@.service
+disable wpa_supplicant-wired@.service
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]