]> code.ossystems Code Review - openembedded-core.git/commit
rootfs-postcommands: check /etc/gconf exists before working on it
authorRoss Burton <ross.burton@intel.com>
Wed, 18 Sep 2019 12:16:40 +0000 (13:16 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Sep 2019 09:54:26 +0000 (10:54 +0100)
commit70a77b91031388ea29eff6b8885fd25cc35b1dae
treecb20f2034f97dc44bba00162539af99926d4cb52
parent58aa346673428132dacbc4cd060106b23c8edd71
rootfs-postcommands: check /etc/gconf exists before working on it

Check that /etc/gconf exists before trying to find files under it, to avoid
writing find error messages to the rootfs log.

Also use ${sysconfdir}/gconf instead of hardcoding /etc/gconf.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/rootfs-postcommands.bbclass