diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2019-03-01 23:44:12 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2019-03-02 08:59:47 +0100 |
commit | d26b7f6e82486c7fe02690ce5706b0660867c70b (patch) | |
tree | a0974c296e6fafc1ae78b443247ec50cd48347ac /source/a/eudev | |
parent | 2c09649cb63357808c79c8c6734f986fd5a0d2aa (diff) | |
download | current-d26b7f6e82486c7fe02690ce5706b0660867c70b.tar.gz |
Fri Mar 1 23:44:12 UTC 201920190301234412
a/eudev-3.2.7-x86_64-2.txz: Rebuilt.
Don't require kvm group.
Diffstat (limited to 'source/a/eudev')
-rwxr-xr-x | source/a/eudev/eudev.SlackBuild | 7 | ||||
-rw-r--r-- | source/a/eudev/eudev.no.renderD.no.kvm.diff | 32 |
2 files changed, 37 insertions, 2 deletions
diff --git a/source/a/eudev/eudev.SlackBuild b/source/a/eudev/eudev.SlackBuild index 0c8a22d9..8a3b18a1 100755 --- a/source/a/eudev/eudev.SlackBuild +++ b/source/a/eudev/eudev.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=eudev VERSION=${VERSION:-$(echo eudev-*.tar.* | cut -d - -f 2 | rev | cut -f 3- -d . | rev)} -BUILD=${BUILD:-4} +BUILD=${BUILD:-2} NUMJOBS=${NUMJOBS:-" -j7 "} @@ -59,7 +59,7 @@ rm -rf $PKG mkdir -p $TMP $PKG/lib/udev cd $TMP rm -rf eudev-$VERSION -tar xvf $CWD/eudev-$VERSION.tar.xz || exit 1 +tar xvf $CWD/eudev-$VERSION.tar.?z || exit 1 cd eudev-$VERSION || exit 1 chown -R root:root . find . \ @@ -76,6 +76,9 @@ zcat $CWD/60-cdrom_id.rules.diff.gz | patch -p1 --verbose || exit 1 # See: https://bugs.kde.org/show_bug.cgi?id=387454 zcat $CWD/eudev.ignore_bind_unbind_events.diff.gz | patch -p1 --verbose || exit 1 +# Don't require groups that we don't need: +zcat $CWD/eudev.no.renderD.no.kvm.diff.gz | patch -p1 --verbose || exit 1 + ./configure \ --prefix=/usr \ --with-rootprefix=/ \ diff --git a/source/a/eudev/eudev.no.renderD.no.kvm.diff b/source/a/eudev/eudev.no.renderD.no.kvm.diff new file mode 100644 index 00000000..0377e2df --- /dev/null +++ b/source/a/eudev/eudev.no.renderD.no.kvm.diff @@ -0,0 +1,32 @@ +--- ./rules/50-udev-default.rules.orig 2018-09-21 07:22:02.000000000 -0500 ++++ ./rules/50-udev-default.rules 2019-03-01 17:36:14.830219588 -0600 +@@ -31,12 +31,12 @@ + + SUBSYSTEM=="video4linux", GROUP="video" + SUBSYSTEM=="graphics", GROUP="video" +-SUBSYSTEM=="drm", KERNEL!="renderD*", GROUP="video" ++SUBSYSTEM=="drm", GROUP="video" + SUBSYSTEM=="dvb", GROUP="video" + SUBSYSTEM=="media", GROUP="video" + SUBSYSTEM=="cec", GROUP="video" + +-SUBSYSTEM=="drm", KERNEL=="renderD*", GROUP="video", MODE="0666" ++SUBSYSTEM=="drm", GROUP="video", MODE="0666" + SUBSYSTEM=="kfd", GROUP="video", MODE="0666" + + SUBSYSTEM=="sound", GROUP="audio", \ +@@ -78,9 +78,10 @@ + + KERNEL=="fuse", MODE="0666", OPTIONS+="static_node=fuse" + +-# The static_node is required on s390x and ppc (they are using MODULE_ALIAS) +-KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm" +- +-SUBSYSTEM=="ptp", ATTR{clock_name}=="KVM virtual PTP", SYMLINK += "ptp_kvm" ++## Commented out as these seem to be systemd requirements: ++## The static_node is required on s390x and ppc (they are using MODULE_ALIAS) ++#KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm" ++# ++#SUBSYSTEM=="ptp", ATTR{clock_name}=="KVM virtual PTP", SYMLINK += "ptp_kvm" + + LABEL="default_end" |