diff --git a/srcpkgs/base-files/files/99-input.rules b/srcpkgs/base-files/files/99-input.rules new file mode 100644 index 0000000000..db7cfa9a99 --- /dev/null +++ b/srcpkgs/base-files/files/99-input.rules @@ -0,0 +1,2 @@ +SUBSYSTEM=="input", GROUP="input" +SUBSYSTEM=="input", KERNEL=="js[0-9]*", MODE="0664" diff --git a/srcpkgs/base-files/files/99-joystick.rules b/srcpkgs/base-files/files/99-joystick.rules deleted file mode 100644 index cdec22eb93..0000000000 --- a/srcpkgs/base-files/files/99-joystick.rules +++ /dev/null @@ -1,2 +0,0 @@ -KERNEL=="event[0-9]*", ENV{ID_BUS}=="?*", ENV{ID_INPUT_JOYSTICK}=="?*", GROUP="video", MODE="0660" -KERNEL=="js[0-9]*", ENV{ID_BUS}=="?*", ENV{ID_INPUT_JOYSTICK}=="?*", GROUP="video", MODE="0664" diff --git a/srcpkgs/base-files/template b/srcpkgs/base-files/template index 9c2b03c825..44ebd19064 100644 --- a/srcpkgs/base-files/template +++ b/srcpkgs/base-files/template @@ -1,6 +1,6 @@ # Template file for 'base-files' pkgname=base-files -version=0.101 +version=0.102 revision=1 bootstrap=yes build_style="meta" @@ -69,5 +69,6 @@ do_install() { ln -sf /proc/self/mounts ${DESTDIR}/etc/mtab # udev rules - vinstall ${FILESDIR}/99-joystick.rules 644 usr/lib/udev/rules.d + vmkdir usr/lib/udev/rules.d + install -m644 ${FILESDIR}/*.rules ${DESTDIR}/usr/lib/udev/rules.d/ }