Remove incorrect udev rules

This commit is contained in:
jiangcuo 2025-01-22 18:15:01 +08:00
parent c34602fbdb
commit 3bcd63a5ec
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,21 @@
diff --git a/Makefile b/Makefile
index 92fc0596..54601ee2 100644
--- a/Makefile
+++ b/Makefile
@@ -58,8 +58,6 @@ install: vzdump-hook-script.pl
install -d $(DESTDIR)/var/lib/vz/template/iso
install -m 0644 vzdump-hook-script.pl $(DOCDIR)/examples/vzdump-hook-script.pl
install -m 0644 spice-example-sh $(DOCDIR)/examples/spice-example-sh
- install -d $(DESTDIR)/lib/udev/rules.d
- install -m 0644 udev/99-query-machine-info.rules $(DESTDIR)/lib/udev/rules.d/99-query-machine-info.rules
set -e && for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done
.PHONY: distclean
diff --git a/udev/99-query-machine-info.rules b/udev/99-query-machine-info.rules
deleted file mode 100644
index dc28d11b..00000000
--- a/udev/99-query-machine-info.rules
+++ /dev/null
@@ -1,2 +0,0 @@
-ACTION=="add", SUBSYSTEM=="*", RUN="/usr/bin/query-machine-info"
-ACTION=="remove", SUBSYSTEM=="*", RUN="/usr/bin/query-machine-info"

View File

@ -9,4 +9,5 @@ patches/010-set-architecture-to-any.patch
patches/changelog/004-add-changelog-8.3.2+port.patch
patches/011-set-default-bios-type-to-OVMF.patch
patches/012-Add-more-compatibility-for-hybrid-cluster.patch
patches/0013-Remove-incorrect-udev-rules.patch
patches/changelog/013-add-changelog-8.3.2+port1.patch