Skip to content

Commit 4ec2106

Browse files
committed
fix(debian): add bloop-box user to required groups
1 parent 9f3ee1c commit 4ec2106

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ Apart from the shared data, you'll need to set up the bloop-box user and its run
5454
```bash
5555
adduser --system --home /nonexistent --gecos "bloop-box" \
5656
--no-create-home --disabled-password \
57-
--quiet bloop-box
57+
--quiet bloop-box
58+
usermod -a -G gpio,spi,audio bloop-box
5859
mkdir -p /run/bloop-box
5960
chown bloop-box:bloop-box /run/bloop-box
6061
```

debian/postinst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ if [ "$1" = "configure" ]; then
99
--quiet bloop-box || true
1010
fi
1111

12+
usermod -a -G gpio,spi,audio bloop-box
13+
1214
if [ ! -d /run/bloop-box ]; then
1315
mkdir /run/bloop-box
1416
chown bloop-box:nogroup /run/bloop-box

0 commit comments

Comments
 (0)