classes-systemd: Add format strings to unit files
Add functionality for enabling python str.format()ing
of systemd unit files.
Add a variable name to SYSTEMD_SUBSTITUTIONS_${unit}
and its value will be substituted into any matching
python string {format}'s in the unit file during install.
Preconfigured variables:
base_bindir -> ${base_bindir}
bindir -> ${bindir}
sbindir -> ${sbindir}
DEFAULT_INSTALL_TARGET -> 'obmc-standby.target'
Change-Id: Ife5003e1fc6766bf148a80663c35ab50c6002d26
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com
1 file changed