colord: use chroot to fix LIVESLACK issue.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2023-08-22 16:09:44 +07:00
parent 4d8226bdb9
commit b8b6779eac
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -17,6 +17,6 @@ if [ -e usr/share/glib-2.0/schemas ]; then
fi
if ! grep -q ^colord: /etc/group ; then
groupadd -g 303 colord
useradd -d /var/lib/colord -u 303 -g colord -s /bin/false colord
chroot . groupadd -g 303 colord
chroot . useradd -d /var/lib/colord -u 303 -g colord -s /bin/false colord
fi