base-files: add plugdev group

Plugdev is used by many packages' udev rules for pluggable devices.
Currently, some of those packages use the system_groups trigger to add it,
some forget to add it, and others patch it to "users" or "uaccess"
(which breaks the packages on systems that don't use logind).

By adding plugdev to the default groups, we get rid of those problems.
This commit is contained in:
0x5c 2022-03-19 18:54:35 -04:00 committed by Daniel Kolesa
parent 9ee4ce236f
commit bcd4989430
2 changed files with 3 additions and 2 deletions

View File

@ -22,6 +22,7 @@ scanner:x:20:
network:x:21:
kvm:x:24:
input:x:25:
plugdev:x:26:
nogroup:x:99:
users:x:100:
xbuilder:x:101:

View File

@ -1,7 +1,7 @@
# Template file for 'base-files'
pkgname=base-files
version=0.142
revision=11
revision=12
bootstrap=yes
depends="xbps-triggers"
short_desc="Void Linux base system files"
@ -29,7 +29,7 @@ conf_files="
replaces="base-directories>=0"
# New system groups
system_groups="kvm:24"
system_groups="kvm:24 plugdev:26"
do_install() {
# Create bin and lib dirs and symlinks.