1

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

Milan P. Stanić
Details
Message ID
<20181211194009.29875-1-mps@arvanta.net>
Sender timestamp
1544557209
DKIM signature
missing
Download raw message
Patch: +2 -1
---
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 <ncopa@alpinelinux.org>
 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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Natanael Copa
Details
Message ID
<20181222091705.69bc18a9@ncopa-desktop.copa.dup.pw>
In-Reply-To
<20181211194009.29875-1-mps@arvanta.net> (view parent)
Sender timestamp
1545466625
DKIM signature
missing
Download raw message
On Tue, 11 Dec 2018 20:40:09 +0100
Milan P. Stani* <mps@arvanta.net> wrote:

> ---
> 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 <ncopa@alpinelinux.org>
>  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

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!


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---