feat: low effort adb

This commit is contained in:
2025-12-23 23:10:18 +01:00
parent c4cc0244bd
commit 1384e0a46f
3 changed files with 34 additions and 0 deletions

14
android-udev.recipe.py Normal file
View 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"
]