On 27 May 2015 at 10:38, Filipe Brandenburger <filbran...@google.com> wrote: > Export the MOUNT_PATH and UMOUNT_PATH variables as XML entities and use them > in > the systemctl.1 manpage instead of hardcoding the path in /usr/bin. > > Tested: > - Ran ./configure ac_cv_path_MOUNT_PATH=/bin/mount (same for umount) and > rebuilt the manpages, confirmed that the correct path was in man/systemctl.1 > - Rebuilt man/systemd.directives.xml and the man pages derived from it, > confirmed that the correct paths were there as well.
+1 from me. Sorry for the change =))) > --- > Makefile.am | 2 ++ > man/systemctl.xml | 4 ++-- > 2 files changed, 4 insertions(+), 2 deletions(-) > > diff --git a/Makefile.am b/Makefile.am > index d6010c5..98ceb77 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -6505,6 +6505,8 @@ substitutions = \ > '|DEBUGTTY=$(DEBUGTTY)|' \ > '|KILL=$(KILL)|' \ > '|KMOD=$(KMOD)|' \ > + '|MOUNT_PATH=$(MOUNT_PATH)|' \ > + '|UMOUNT_PATH=$(UMOUNT_PATH)|' \ > '|MKDIR_P=$(MKDIR_P)|' \ > '|QUOTAON=$(QUOTAON)|' \ > '|QUOTACHECK=$(QUOTACHECK)|' \ > diff --git a/man/systemctl.xml b/man/systemctl.xml > index a2c8a73..35f47de 100644 > --- a/man/systemctl.xml > +++ b/man/systemctl.xml > @@ -413,8 +413,8 @@ > processes. Not all unit types manage processes of these > types however. For example, for mount units, control processes > are defined (which are the invocations of > - <filename>/usr/bin/mount</filename> and > - <filename>/usr/bin/umount</filename>), but no main process > + <filename>&MOUNT_PATH;</filename> and > + <filename>&UMOUNT_PATH;</filename>), but no main process > is defined. If omitted, defaults to > <option>all</option>.</para> > </listitem> > -- > 2.4.1 > > _______________________________________________ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Regards, Dimitri. Pura Vida! https://clearlinux.org Open Source Technology Center Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel