[gnome-build-meta/valentindavid/wifi: 4/5] Add wifi support
- From: Valentin David <valentindavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/valentindavid/wifi: 4/5] Add wifi support
- Date: Wed, 6 May 2020 20:26:33 +0000 (UTC)
commit e1c0b058501d30ffb0d47f1def77be1dbca41623
Author: Valentin David <valentin david codethink co uk>
Date: Tue Apr 14 11:29:42 2020 +0000
Add wifi support
elements/boards/pinebook-pro/deps.bst | 2 ++
elements/vm/deps.bst | 1 +
elements/vm/wpa-supplicant-config.bst | 18 ++++++++++++++++++
files/vm/wpa-supplicant-config/wpa-supplicant.preset | 3 +++
4 files changed, 24 insertions(+)
---
diff --git a/elements/boards/pinebook-pro/deps.bst b/elements/boards/pinebook-pro/deps.bst
index 0bc247a3..d9d9d86e 100644
--- a/elements/boards/pinebook-pro/deps.bst
+++ b/elements/boards/pinebook-pro/deps.bst
@@ -34,3 +34,5 @@ runtime-depends:
- freedesktop-sdk.bst:components/linux-firmware.bst
- freedesktop-sdk.bst:components/wireless-regdb-bin.bst
+
+- vm/wpa-supplicant-config.bst
diff --git a/elements/vm/deps.bst b/elements/vm/deps.bst
index 3efc0727..6b3bd850 100644
--- a/elements/vm/deps.bst
+++ b/elements/vm/deps.bst
@@ -12,6 +12,7 @@ runtime-depends:
- vm/plymouth-gnome-theme.bst
- vm/resize-root.bst
- vm/spice-vdagent.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..2001aac5
--- /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:
+- freedesktop-sdk.bst:components/wpa-supplicant.bst
+
+config:
+ install-commands:
+ - |
+ systemdsystempresetdir="$(pkg-config --variable systemdsystempresetdir systemd)"
+ install -Dm644 -t "%{install-root}${systemdsystempresetdir}" wpa-supplicant.preset
diff --git a/files/vm/wpa-supplicant-config/wpa-supplicant.preset
b/files/vm/wpa-supplicant-config/wpa-supplicant.preset
new file mode 100644
index 00000000..22ebcf78
--- /dev/null
+++ b/files/vm/wpa-supplicant-config/wpa-supplicant.preset
@@ -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]