From bcd498943006dd780aa127b91e1b79c446a69d5a Mon Sep 17 00:00:00 2001 From: 0x5c Date: Sat, 19 Mar 2022 18:54:35 -0400 Subject: [PATCH] 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. --- srcpkgs/base-files/files/group | 1 + srcpkgs/base-files/template | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/base-files/files/group b/srcpkgs/base-files/files/group index 0797f31c14d..b4e61903105 100644 --- a/srcpkgs/base-files/files/group +++ b/srcpkgs/base-files/files/group @@ -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: diff --git a/srcpkgs/base-files/template b/srcpkgs/base-files/template index 758cd54ad14..bf7b7ef242b 100644 --- a/srcpkgs/base-files/template +++ b/srcpkgs/base-files/template @@ -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.