mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 17:20:30 +08:00
fixed systemd bug: systemd >= 248.3-2
This commit is contained in:
parent
563525d885
commit
835d6833f8
3
PKGBUILD
3
PKGBUILD
@ -75,6 +75,9 @@ depends=(
|
|||||||
"raspberrypi-io-access>=0.5"
|
"raspberrypi-io-access>=0.5"
|
||||||
"ustreamer>=3.20"
|
"ustreamer>=3.20"
|
||||||
|
|
||||||
|
# Systemd UDEV bug
|
||||||
|
"systemd>=248.3-2"
|
||||||
|
|
||||||
# Avoid dhcpcd stack trace
|
# Avoid dhcpcd stack trace
|
||||||
dhclient
|
dhclient
|
||||||
netctl
|
netctl
|
||||||
|
|||||||
@ -28,9 +28,6 @@ set -x
|
|||||||
board="$1"
|
board="$1"
|
||||||
port="$2"
|
port="$2"
|
||||||
|
|
||||||
# В новом systemd поломали %b в правилах udev
|
|
||||||
[ -n "$port" ] || exit 0
|
|
||||||
|
|
||||||
# https://gist.github.com/mdevaev/6eb65be689142e5ac16da7542f50830f
|
# https://gist.github.com/mdevaev/6eb65be689142e5ac16da7542f50830f
|
||||||
model="`tr < /proc/device-tree/model -d '\000'`"
|
model="`tr < /proc/device-tree/model -d '\000'`"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user