]> code.ossystems Code Review - openembedded-core.git/commit
image-prelink: remove assumption of sysconfdir presence
authorChristopher Clark <christopher.w.clark@gmail.com>
Tue, 10 Mar 2020 21:55:13 +0000 (14:55 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Mar 2020 11:44:12 +0000 (11:44 +0000)
commit6bf3e3db355643c4b2e20346230c09e45e519035
tree6a9c557635082ae6b23ee8f5db4f581b4dec1d5e
parent206580e72336229f8044eb941ecb09d3f0d60d3e
image-prelink: remove assumption of sysconfdir presence

If sysconfdir is not present in the image filesystem then the temporary
creation of a prelink.conf will fail. Fix this by creating sysconfdir
temporarily if needed beforehand and then remove any directories that
were created afterwards.

fixes: OpenXT OXT-1751

Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image-prelink.bbclass