[gnome-build-meta/abderrahim/adb-udev] vm: add udev rules for android debug bridge
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/adb-udev] vm: add udev rules for android debug bridge
- Date: Wed, 30 Dec 2020 09:35:09 +0000 (UTC)
commit d351451a60a7a31b430679326a3a6845a44ecf65
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Wed Dec 30 10:34:13 2020 +0100
vm: add udev rules for android debug bridge
elements/vm/android-udev-rules.bst | 17 +++++++++++++++++
elements/vm/common-deps.bst | 1 +
2 files changed, 18 insertions(+)
---
diff --git a/elements/vm/android-udev-rules.bst b/elements/vm/android-udev-rules.bst
new file mode 100644
index 00000000..8cff8124
--- /dev/null
+++ b/elements/vm/android-udev-rules.bst
@@ -0,0 +1,17 @@
+kind: manual
+
+sources:
+- kind: tar
+ url: github_com:M0Rf30/android-udev-rules/archive/20201003.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:components/pkg-config.bst
+- freedesktop-sdk.bst:components/systemd.bst
+
+depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
+
+config:
+ install-commands:
+ - install -Dm 644 android-udev.conf -t %{install-root}$(pkg-config systemd --variable sysusersdir)
+ - install -Dm 644 51-android.rules -t %{install-root}$(pkg-config udev --variable udevdir)/rules.d
diff --git a/elements/vm/common-deps.bst b/elements/vm/common-deps.bst
index d5d1e61e..bf90fc69 100644
--- a/elements/vm/common-deps.bst
+++ b/elements/vm/common-deps.bst
@@ -20,6 +20,7 @@ runtime-depends:
- vm/nss-mdns.bst
- vm/ntfs-3g.bst
- vm/uresourced.bst
+- vm/android-udev-rules.bst
- freedesktop-sdk.bst:vm/config/pulseaudio.bst
- freedesktop-sdk.bst:vm/config/sudo.bst
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]