From 255079780729f0dd9df6f35302169e0c8480eced Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 18 Feb 2014 08:44:49 +0000 Subject: 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. Signed-off-by: Richard Purdie --- meta/lib/oe/rootfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta') diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index 2b2915e470..be0afa6d74 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py @@ -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']) -- cgit 1.2.3-korg