mirror of
https://github.com/M0Rf30/android-udev-rules.git
synced 2024-06-27 07:35:17 +02:00
Merge pull request #137 from SimonSickle/master
Add .deb building to make debian installs easier
This commit is contained in:
commit
aa8d4ef107
5
changelog
Normal file
5
changelog
Normal file
|
@ -0,0 +1,5 @@
|
|||
android-udev-rules (0.0.1-1) stable; urgency=low
|
||||
|
||||
* First build of a deb
|
||||
|
||||
-- builder <builder@wheezy-builder> Mon, 24 Mar 2014 16:05:35 +0100
|
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
android-udev-rules (0.0.1-1) stable; urgency=low
|
||||
|
||||
* First build of a deb
|
||||
|
||||
-- builder <builder@wheezy-builder> Mon, 24 Mar 2014 16:05:35 +0100
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
7
|
12
debian/control
vendored
Normal file
12
debian/control
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
Source: android-udev-rules
|
||||
Section: developer-tools
|
||||
Priority: extra
|
||||
Maintainer: Simon Sickle <simon@simonsickle.com>
|
||||
Build-Depends: debhelper (>= 8.0.0)
|
||||
Standards-Version: 3.9.4
|
||||
Vcs-Git: https://github.com/M0Rf30/android-udev-rules.git
|
||||
|
||||
Package: android-udev-rules
|
||||
Architecture: any
|
||||
Depends: android-tools-adb, android-tools-fastboot
|
||||
Description: udev rules to get ADB working
|
23
debian/copyright
vendored
Normal file
23
debian/copyright
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: android-udev-rules
|
||||
Source: https://github.com/M0Rf30/android-udev-rules
|
||||
|
||||
Files: *
|
||||
Copyright: 2018 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
License: GPL-3+
|
||||
This package is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
.
|
||||
This package is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General
|
||||
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
|
||||
|
1
debian/files
vendored
Normal file
1
debian/files
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
android-udev-rules_0.0.1-1_amd64.deb developer-tools extra
|
2
debian/install
vendored
Normal file
2
debian/install
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
android-udev.conf /usr/lib/sysusers.d
|
||||
51-android.rules /etc/udev/rules.d
|
13
debian/postinst
vendored
Normal file
13
debian/postinst
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Setup permissions
|
||||
chmod a+r /etc/udev/rules.d/51-android.rules
|
||||
|
||||
# Make sure adbusers is setup properly
|
||||
groupadd adbusers
|
||||
usermod -a -G adbusers $(whoami)
|
||||
|
||||
# Reload udev and reset adb
|
||||
udevadm control --reload-rules
|
||||
service udev restart
|
||||
adb kill-server
|
6
debian/rules
vendored
Executable file
6
debian/rules
vendored
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/make -f
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_make:
|
||||
make
|
Loading…
Reference in New Issue
Block a user