mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 03:23:50 +02:00
plymouth: add udev seat rules
This commit is contained in:
parent
49b7461829
commit
459b4fff8a
2 changed files with 14 additions and 1 deletions
9
srcpkgs/plymouth/files/71-plymouth-seat.rules
Normal file
9
srcpkgs/plymouth/files/71-plymouth-seat.rules
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
ACTION=="remove", GOTO="seat_end"
|
||||||
|
|
||||||
|
SUBSYSTEM=="graphics", KERNEL=="fb[0-9]*", TAG+="seat", TAG+="master-of-seat"
|
||||||
|
SUBSYSTEM=="drm", KERNEL=="card[0-9]*", TAG+="seat", TAG+="master-of-seat"
|
||||||
|
|
||||||
|
TAG=="seat", ENV{ID_PATH}=="", IMPORT{builtin}="path_id"
|
||||||
|
TAG=="seat", ENV{ID_FOR_SEAT}=="", ENV{ID_PATH_TAG}!="", ENV{ID_FOR_SEAT}="$env{SUBSYSTEM}-$env{ID_PATH_TAG}"
|
||||||
|
|
||||||
|
LABEL="seat_end"
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'plymouth'
|
# Template file for 'plymouth'
|
||||||
pkgname=plymouth
|
pkgname=plymouth
|
||||||
version=0.9.3
|
version=0.9.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-system-root-install=no \
|
configure_args="--with-system-root-install=no \
|
||||||
--without-rhgb-compat-link --enable-systemd-integration=no \
|
--without-rhgb-compat-link --enable-systemd-integration=no \
|
||||||
|
@ -25,6 +25,10 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vinstall ${FILESDIR}/71-plymouth-seat.rules 644 usr/lib/udev/rules.d/
|
||||||
|
}
|
||||||
|
|
||||||
plymouth-devel_package() {
|
plymouth-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue