udev & systemd: Emphasis "API headers" for linux compatibility

Or people will ask "why no-break-userspace rule does not apply?"
This commit is contained in:
Xi Ruoyao 2024-06-02 19:38:25 +08:00
parent 6acfe2e81f
commit 464fd24324
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@
<screen><userinput remap="pre">sed -i -e 's/GROUP="render"/GROUP="video"/' \
-e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in</userinput></screen>
<para>Next, fix compatibility with linux-6.9 and later:</para>
<para>Next, fix compatibility with API headers from linux-6.9 and later:</para>
<screen><userinput remap="pre">sed -i '/DEVMEM_MAGIC 0/{n;n;a \
/* cb12fd8e0dabb9a1c8aef55a6a41e2c255fcdf4b (6.8) */

View File

@ -55,7 +55,7 @@
<screen><userinput remap="pre">sed '/systemd-sysctl/s/^/#/' -i rules.d/99-systemd.rules.in</userinput></screen>
<para>Next, fix compatibility with linux-6.9 and later:</para>
<para>Next, fix compatibility with API headers from linux-6.9 and later:</para>
<screen><userinput remap="pre">sed -i '/DEVMEM_MAGIC 0/{n;n;a \
/* cb12fd8e0dabb9a1c8aef55a6a41e2c255fcdf4b (6.8) */ \