]> code.ossystems Code Review - openembedded-core.git/commit
systemd: avoid parsing error when 'networkd' is enabled in PACKAGECONFIG
authorChen Qi <Qi.Chen@windriver.com>
Mon, 2 Mar 2015 07:37:48 +0000 (15:37 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Mar 2015 16:00:15 +0000 (16:00 +0000)
commit060375f0fea327d2962980045666edb6eaa5d5f0
tree5944927068d40fcfc6cfca225e8334a9918f8a4a
parent704fd8f1efbd7fa9368cfe4f956abf24cd58664e
systemd: avoid parsing error when 'networkd' is enabled in PACKAGECONFIG

If 'networkd' is enabled in PACKAGECONFIG, the do_install variable cannot
be correctly expanded. Error message is like below.

Failure expanding variable do_install: ShellSyntaxError: LexToken(Fi,'fi',0,0)
followed by:
  LexToken(NEWLINE,'\n',0,0)

This patch fixes the above problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/systemd/systemd_219.bb