[systemd-devel] [PATCH] shared/install: don't report 'static' when unit contains only Also=

Jan Synacek jsynacek at redhat.com
Thu Nov 6 01:49:39 PST 2014


I think that this patch might be a bit ineffective, as it calls
unit_file_load() again just to get an InstallContext. I wasn't sure
how to get Also= targets in any other way.

If such change makes sense, this patch should probably be considered a
preview rather than something to be committed right away.

Jan Synacek (1):
  shared/install: don't report 'static' when unit contains only Also=

 src/shared/install.c | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

-- 
1.9.3



More information about the systemd-devel mailing list