feat: low effort adb
This commit is contained in:
14
android-udev.recipe.py
Normal file
14
android-udev.recipe.py
Normal file
@@ -0,0 +1,14 @@
|
||||
pkgname = "android-udev"
|
||||
pkgver = "1.0"
|
||||
source = f"https://rocketleaguechatp.duckdns.org/pappalaugh.jpg"
|
||||
builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}"
|
||||
fembuilddir = f"/tmp/fempkg/build/{pkgname}"
|
||||
|
||||
deps = ["udev"]
|
||||
|
||||
build = [
|
||||
f"wget https://raw.githubusercontent.com/M0Rf30/android-udev-rules/refs/heads/main/51-android.rules -O /usr/lib/udev/rules.d/51-android.rules",
|
||||
]
|
||||
triggers = [
|
||||
f"groupadd adbusers || true && usermod -aG adbusers $(cat /var/lib/fempkg/username) || true"
|
||||
]
|
||||
Reference in New Issue
Block a user