From: Valentin David Date: Sun, 24 Sep 2023 15:30:41 +0000 (+0200) Subject: sysupdate: Add documentation for new MatchPattern behavior X-Git-Tag: v255-rc1~401^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=deafbeb0b92a3a84ed71538ea6fd2bc7b3071bf1;p=thirdparty%2Fsystemd.git sysupdate: Add documentation for new MatchPattern behavior --- diff --git a/man/sysupdate.d.xml b/man/sysupdate.d.xml index 60685aa12f5..ec0c57fc788 100644 --- a/man/sysupdate.d.xml +++ b/man/sysupdate.d.xml @@ -539,6 +539,11 @@ wildcard, so that a version identifier may be extracted from the filename. All other wildcards are optional. + If the source type is regular-file or directory, the + pattern may contain slash characters. In this case it will match the file or directory in + corresponding subdirectory. For example MatchPattern=foo_@v/bar.efi will match + bar.efi in directory foo_1. + @@ -619,6 +624,12 @@ of new versions to install. If multiple patterns are specified, the first specified is used for naming newly installed versions. + If the target type is regular-file or directory, the + pattern may contain slash characters. In this case it will match the file or directory in + corresponding subdirectory. For example MatchPattern=foo_@v/bar.efi will match + bar.efi in directory foo_1. Directories in the path will be + created when file is installed. Empty directories will be removed when file is removed. +