summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-05-20 08:40:04 +0300
committerDevaev Maxim <[email protected]>2021-05-20 08:40:04 +0300
commit835d6833f81020ffa52f1c7b5fe02a8906a8c064 (patch)
tree3ed1156c08ed7e8f40e949df2bfaa45bf8fabde4
parent563525d88569ad40b47583930c2b12f74d9424ad (diff)
fixed systemd bug: systemd >= 248.3-2
-rw-r--r--PKGBUILD3
-rwxr-xr-xscripts/kvmd-udev-hdmiusb-check3
2 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 661e18bb..4a62fe1b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -75,6 +75,9 @@ depends=(
"raspberrypi-io-access>=0.5"
"ustreamer>=3.20"
+ # Systemd UDEV bug
+ "systemd>=248.3-2"
+
# Avoid dhcpcd stack trace
dhclient
netctl
diff --git a/scripts/kvmd-udev-hdmiusb-check b/scripts/kvmd-udev-hdmiusb-check
index ada4ceab..f6446fa7 100755
--- a/scripts/kvmd-udev-hdmiusb-check
+++ b/scripts/kvmd-udev-hdmiusb-check
@@ -28,9 +28,6 @@ set -x
board="$1"
port="$2"
-# В новом systemd поломали %b в правилах udev
-[ -n "$port" ] || exit 0
-
# https://gist.github.com/mdevaev/6eb65be689142e5ac16da7542f50830f
model="`tr < /proc/device-tree/model -d '\000'`"