summaryrefslogtreecommitdiffstats
path: root/man/systemd-sysext.xml
diff options
context:
space:
mode:
authorKai Lueke <kailuke@microsoft.com>2022-08-16 12:29:12 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2022-08-16 21:43:51 +0200
commit1abe15fe9d0cf0b5c4c0f4f6ae7d3affd611446f (patch)
treea734e34e90ca044e678f43893a87452a3d084e6c /man/systemd-sysext.xml
parentci(lint): add shell linter - Differential ShellCheck (diff)
downloadsystemd-1abe15fe9d0cf0b5c4c0f4f6ae7d3affd611446f.tar.xz
systemd-1abe15fe9d0cf0b5c4c0f4f6ae7d3affd611446f.zip
man: Correct information on sysext masking
While I had tested that a symlink to /dev/null works to "mask" a sysext I must have gotten something wrong and thus the instructions in 519c2f0d6b343d140f7e08e3eb0f46708c023b4a don't work. What works, at least at the moment, is to instead have an empty directory with the extension name under /etc/extensions/. Correct the info in the man page and add a test for it.
Diffstat (limited to 'man/systemd-sysext.xml')
-rw-r--r--man/systemd-sysext.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/man/systemd-sysext.xml b/man/systemd-sysext.xml
index 8da6bd26ad..f4dd150a53 100644
--- a/man/systemd-sysext.xml
+++ b/man/systemd-sysext.xml
@@ -108,9 +108,9 @@
accessed.</para>
<para>Note that there is no concept of enabling/disabling installed system extension images: all
- installed extension images are automatically activated at boot. However, you can place a symlink
- to <filename>/dev/null</filename> in <filename>/etc/extensions/</filename> to "mask" an image with
- the same name in a folder with lower precedence.</para>
+ installed extension images are automatically activated at boot. However, you can place an empty directory
+ named like the extension (no <filename>.raw</filename>) in <filename>/etc/extensions/</filename> to "mask"
+ an extension with the same name in a system folder with lower precedence.</para>
<para>A simple mechanism for version compatibility is enforced: a system extension image must carry a
<filename>/usr/lib/extension-release.d/extension-release.<replaceable>$name</replaceable></filename>