Subject: [alpine-aports] [PATCH v3] main/busybox-initscripts add ttyUSB[0-9] devices to dialout group

From: Milan P. Stanić <[email-masked]>
Date: Tue, 11 Dec 2018 20:40:09 +0100

---
Changes v1 -> v2:
 - change space to tab

 main/busybox-initscripts/APKBUILD  | 2 +-
 main/busybox-initscripts/mdev.conf | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/main/busybox-initscripts/APKBUILD b/main/busybox-initscripts/APKBUILD
index 9579713105..2cd0b33016 100644
--- a/main/busybox-initscripts/APKBUILD
+++ b/main/busybox-initscripts/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=busybox-initscripts
 pkgver=3.1
-pkgrel=5
+pkgrel=6
 pkgdesc="Init scripts for busybox daemons"
 url="https://git.alpinelinux.org/cgit/aports/tree/core/busybox-initscripts"
 arch="noarch"
diff --git a/main/busybox-initscripts/mdev.conf b/main/busybox-initscripts/mdev.conf
index 36895f8a40..f85bd87881 100644
--- a/main/busybox-initscripts/mdev.conf
+++ b/main/busybox-initscripts/mdev.conf
@@ -51,6 +51,7 @@ vcsa[0-9]*	root:tty 0660
 # rpi bluetooth
 #ttyAMA0         root:tty 660 @hciattach /dev/$MDEV bcm43xx 115200 noflow -
 
+ttyUSB[0-9]	root:dialout 0660 @ln -sf $MDEV modem
 ttyLTM[0-9]	root:dialout 0660 @ln -sf $MDEV modem
 ttySHSF[0-9]	root:dialout 0660 @ln -sf $MDEV modem
 slamr		root:dialout 0660 @ln -sf $MDEV slamr0
-- 
2.18.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Natanael Copa <[email-masked]>
Date: Sat, 22 Dec 2018 09:17:05 +0100

On Tue, 11 Dec 2018 20:40:09 +0100

build failed:

>>> busybox-initscripts: Checking sha512sums...
acpid.initd: OK
crond.initd: OK
dnsd.initd: OK
httpd.initd: OK
inetd.initd: OK
klogd.initd: OK
mdev.initd: OK
ntpd.initd: OK
rdate.initd: OK
syslog.initd: OK
udhcpd.initd: OK
loadkmap.initd: OK
watchdog.initd: OK
crond.confd: OK
klogd.confd: OK
ntpd.confd: OK
rdate.confd: OK
syslog.confd: OK
watchdog.confd: OK
loadkmap.confd: OK
mdev.conf: FAILED
sha512sum: WARNING: 1 of 1 computed checksums did NOT match
dvbdev: OK
ide_links: OK
usbdev: OK
usbdisk_link: OK
xvd_links: OK
default.script: OK
>>> ERROR: busybox-initscripts: unpack failed

You need to run `abuild checksum` for this kind of changes.

I fixed it for you and pushed.

Thanks!

---