mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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:
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user