--- Begin Message ---
Subject: |
[PATCH] gnu: android: Add android-udev-rules package. |
Date: |
Fri, 29 Sep 2017 12:09:32 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello!
This new package should make it easy for anyone to properly use adb
or the (not yet packaged fastboot) Android command line tools as a
user (rather than root).
It can be used directly in the rules list of the udev service to extend it.
0001-gnu-android-Add-android-udev-rules-package.patch
Description: Text Data
Here's a sample config that demonstrates how it can be used (pay
attention to the definition of the adbusers group).
config.scm
Description: Text document
Thank you,
Maxim
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#28650] [PATCH] gnu: android: Add android-udev-rules package. |
Date: |
Tue, 03 Oct 2017 15:23:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Maxim Cournoyer <address@hidden> skribis:
> From ea637a7b5adb5f88cb6dc62759f25e36c1ea1acf Mon Sep 17 00:00:00 2001
> From: Maxim Cournoyer <address@hidden>
> Date: Fri, 29 Sep 2017 09:17:03 -0400
> Subject: [PATCH] gnu: android: Add android-udev-rules package.
>
> * gnu/packages/android.scm (android-udev-rules): Add package.
Committed with this change:
diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index bff6a6038..d9be335be 100644
--- a/gnu/packages/android.scm
+++ b/gnu/packages/android.scm
@@ -22,7 +22,6 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages android)
- #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
@@ -336,10 +335,12 @@ to a Unix shell that can run commands on the connected
device or emulator.")
(description "Provides a set of udev rules to allow using Android devices
with tools such as @command{adb} and @command{fastboot} without root
privileges. This package is intended to be added as a rule to the
address@hidden in your @code{operating-system}
-configuration. Additionally, an @code{adbusers} group must be defined and your
-user added to it. @emph{Simply installing this package will @strong{not} have
-an effect.}")
address@hidden in your @code{operating-system} configuration.
+Additionally, an @code{adbusers} group must be defined and your user added to
+it.
+
address@hidden installing this package will not have any effect.} It is meant
+to be passed to the @code{udev} service.")
(license license:gpl3+)))
(define-public git-repo
Thanks!
Ludo’.
--- End Message ---