mirror of
https://github.com/systemd/systemd.git
synced 2025-03-21 02:50:18 +03:00
Introduce '## ' as internal comment prefix in .in files and filter out a comment (#5289)
Sometimes we have comments which don't make sense outside of the systemd codebase, so let's filter them out from the user-visible files. Fixes #5286.
This commit is contained in:
parent
1d450bda70
commit
9c0f732c62
@ -6244,6 +6244,7 @@ substitutions = \
|
||||
SED_PROCESS = \
|
||||
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
|
||||
$(SED) $(subst '|,-e 's|@,$(subst =,\@|,$(subst |',|g',$(substitutions)))) \
|
||||
-e '/^\#\# /d' \
|
||||
< $< > $@
|
||||
|
||||
units/%: units/%.in
|
||||
|
@ -22,9 +22,9 @@ Slice=machine.slice
|
||||
Delegate=yes
|
||||
TasksMax=16384
|
||||
|
||||
# Enforce a strict device policy, similar to the one nspawn configures
|
||||
# when it allocates its own scope unit. Make sure to keep these
|
||||
# policies in sync if you change them!
|
||||
## Enforce a strict device policy, similar to the one nspawn configures
|
||||
## when it allocates its own scope unit. Make sure to keep these
|
||||
## policies in sync if you change them!
|
||||
DevicePolicy=closed
|
||||
DeviceAllow=/dev/net/tun rwm
|
||||
DeviceAllow=char-pts rw
|
||||
|
Loading…
x
Reference in New Issue
Block a user