lib/oe/rootfs: Fix LDCONFIGDEPEND check
We shouldn't be running this if it expands to None or "" or False so update the code accordingly. (From OE-Core rev: 255079780729f0dd9df6f35302169e0c8480eced) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
a1faa7df2a
commit
61890967ed
|
@ -187,7 +187,7 @@ class Rootfs(object):
|
|||
self._handle_intercept_failure(registered_pkgs)
|
||||
|
||||
def _run_ldconfig(self):
|
||||
if self.d.getVar('LDCONFIGDEPEND', True) != "":
|
||||
if self.d.getVar('LDCONFIGDEPEND', True):
|
||||
bb.note("Executing: ldconfig -r" + self.image_rootfs + "-c new -v")
|
||||
self._exec_shell_cmd(['ldconfig', '-r', self.image_rootfs, '-c',
|
||||
'new', '-v'])
|
||||
|
|
Loading…
Reference in New Issue