]> code.ossystems Code Review - openembedded-core.git/commit
systemd-systemctl: parse unit files more correctly
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Wed, 24 Apr 2013 11:37:21 +0000 (13:37 +0200)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 20 May 2013 15:06:11 +0000 (16:06 +0100)
commit7a8205e28d4bc826b0dc3f692a958e1e8e9a1432
tree87b831e0c05aa73f0e8594eeaae3a2683c8e95b4
parentc234dadb606544c552074aef3484f86f383b52df
systemd-systemctl: parse unit files more correctly

Old script failed to parse unit files containing comments like

| #Alias=some-alias

or whitespaces like

| WantedBy = foo

correctly.  Patch changes script to interpret keywords only when they
are at the beginning of a line and ignores whitespaces before the '='.

(From OE-Core master rev: 443e75ee2c0e9a62df997aef24855bce54d39177)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd-systemctl/systemctl