teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

Blame SOURCES/0297-hwdb-drop-boilerplate-about-match-patterns-being-uns.patch

8d419f
From 24ac19e1816ab2ec93360d346edd16e3f678bf47 Mon Sep 17 00:00:00 2001
8d419f
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
8d419f
Date: Wed, 6 Apr 2022 11:56:05 +0200
8d419f
Subject: [PATCH] hwdb: drop boilerplate about match patterns being unstable
8d419f
8d419f
We've had this text since the beginning, but in fact the patterns must be
8d419f
stable in order for people to create local hwdb entries. And we support that
8d419f
and can't change the match patterns without being very careful. So let's just
8d419f
drop the text.
8d419f
8d419f
(cherry picked from commit adbe000e3df5f91572bf4a77a2acd84ff5b87320)
8d419f
8d419f
Related: #2087778
8d419f
---
8d419f
 hwdb.d/60-evdev.hwdb         | 5 -----
8d419f
 hwdb.d/60-input-id.hwdb      | 5 -----
8d419f
 hwdb.d/60-keyboard.hwdb      | 5 -----
8d419f
 hwdb.d/60-sensor.hwdb        | 5 -----
8d419f
 hwdb.d/70-mouse.hwdb         | 5 -----
8d419f
 hwdb.d/70-pointingstick.hwdb | 4 ----
8d419f
 6 files changed, 29 deletions(-)
8d419f
8d419f
diff --git a/hwdb.d/60-evdev.hwdb b/hwdb.d/60-evdev.hwdb
8d419f
index 9fcb4a3ddf..c97cd13557 100644
8d419f
--- a/hwdb.d/60-evdev.hwdb
8d419f
+++ b/hwdb.d/60-evdev.hwdb
8d419f
@@ -3,11 +3,6 @@
8d419f
 # The lookup keys are composed in:
8d419f
 #   60-evdev.rules
8d419f
 #
8d419f
-# Note: The format of the "evdev:" prefix match key is a contract between the
8d419f
-# rules file and the hardware data, it might change in later revisions to
8d419f
-# support more or better matches, it is not necessarily expected to be a stable
8d419f
-# ABI.
8d419f
-#
8d419f
 # Match string formats:
8d419f
 # evdev:<modalias>
8d419f
 # evdev:name:<device name>:dmi:<dmi string>
8d419f
diff --git a/hwdb.d/60-input-id.hwdb b/hwdb.d/60-input-id.hwdb
8d419f
index 2d5681dea6..802ed9a1e7 100644
8d419f
--- a/hwdb.d/60-input-id.hwdb
8d419f
+++ b/hwdb.d/60-input-id.hwdb
8d419f
@@ -3,11 +3,6 @@
8d419f
 # The lookup keys are composed in:
8d419f
 #   60-input-id.rules
8d419f
 #
8d419f
-# Note: The format of the "input-id:" prefix match key is a contract between
8d419f
-# the rules file and the hardware data, it might change in later revisions to
8d419f
-# support more or better matches, it is not necessarily expected to be a stable
8d419f
-# ABI.
8d419f
-#
8d419f
 # Match string formats:
8d419f
 # id-input:modalias:<modalias>
8d419f
 #
8d419f
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
8d419f
index c196a1fd64..7c830fb9b1 100644
8d419f
--- a/hwdb.d/60-keyboard.hwdb
8d419f
+++ b/hwdb.d/60-keyboard.hwdb
8d419f
@@ -13,11 +13,6 @@
8d419f
 # The lookup keys are composed in:
8d419f
 #   60-evdev.rules
8d419f
 #
8d419f
-# Note: The format of the "evdev:" prefix match key is a contract between the
8d419f
-# rules file and the hardware data, it might change in later revisions to
8d419f
-# support more or better matches, it is not necessarily expected to be a stable
8d419f
-# ABI.
8d419f
-#
8d419f
 # Supported hardware matches are:
8d419f
 #  - Generic input devices match:
8d419f
 #      evdev:input:bZZZZvYYYYpXXXXeWWWW-VVVV
8d419f
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
8d419f
index ea278913bc..b54539bf53 100644
8d419f
--- a/hwdb.d/60-sensor.hwdb
8d419f
+++ b/hwdb.d/60-sensor.hwdb
8d419f
@@ -3,11 +3,6 @@
8d419f
 # The lookup keys are composed in:
8d419f
 #   60-sensor.rules
8d419f
 #
8d419f
-# Note: The format of the "sensor:" prefix match key is a contract between the
8d419f
-# rules file and the hardware data, it might change in later revisions to
8d419f
-# support more or better matches, it is not necessarily expected to be a stable
8d419f
-# ABI.
8d419f
-#
8d419f
 # Match string formats:
8d419f
 # sensor:modalias:<parent modalias pattern>:dmi:<dmi pattern>
8d419f
 #
8d419f
diff --git a/hwdb.d/70-mouse.hwdb b/hwdb.d/70-mouse.hwdb
8d419f
index 723d145e34..4084019bde 100644
8d419f
--- a/hwdb.d/70-mouse.hwdb
8d419f
+++ b/hwdb.d/70-mouse.hwdb
8d419f
@@ -6,11 +6,6 @@
8d419f
 # The lookup keys are composed in:
8d419f
 #   70-mouse.rules
8d419f
 #
8d419f
-# Note: The format of the "mouse:" prefix match key is a contract between the
8d419f
-# rules file and the hardware data, it might change in later revisions to
8d419f
-# support more or better matches, it is not necessarily expected to be a stable
8d419f
-# ABI.
8d419f
-#
8d419f
 # Match key format:
8d419f
 # mouse:<subsystem>:v<vid>p<pid>:name:<name>:
8d419f
 #
8d419f
diff --git a/hwdb.d/70-pointingstick.hwdb b/hwdb.d/70-pointingstick.hwdb
8d419f
index 6039119b6a..00f28c6034 100644
8d419f
--- a/hwdb.d/70-pointingstick.hwdb
8d419f
+++ b/hwdb.d/70-pointingstick.hwdb
8d419f
@@ -7,10 +7,6 @@
8d419f
 # The lookup keys are composed in:
8d419f
 #   60-evdev.rules
8d419f
 #
8d419f
-# Note: The format of the "evdev:" prefix match key is a contract between the
8d419f
-# rules file and the hardware data, it might change in later revisions to
8d419f
-# support more or better matches, it is not necessarily a stable ABI.
8d419f
-#
8d419f
 # Supported hardware matches are:
8d419f
 #  - Generic input devices match:
8d419f
 #      evdev:input:bZZZZvYYYYpXXXXeWWWW-VVVV