From 54496d7d9b6d5e1c64c5c220ab2f280e0b9e84ec Mon Sep 17 00:00:00 2001 From: Tiago Gomes Date: Mon, 7 Sep 2015 10:38:43 +0000 Subject: Use app.status() to log ldconfig messages Using app.status() produces nicer logs as the messages will have the status prefix prepended. Change-Id: I0573d7066784afdbfb878bed85af704e82bb9797 --- morphlib/buildcommand.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'morphlib/buildcommand.py') diff --git a/morphlib/buildcommand.py b/morphlib/buildcommand.py index 8b728b05..a0922165 100644 --- a/morphlib/buildcommand.py +++ b/morphlib/buildcommand.py @@ -533,7 +533,7 @@ class BuildCommand(object): staging_area.install_artifact(handle) if target_source.build_mode == 'staging': - morphlib.builder.ldconfig(self.app.runcmd, staging_area.dirname) + morphlib.builder.ldconfig(self.app, staging_area.dirname) def build_and_cache(self, staging_area, source, setup_mounts): '''Build a source and put its artifacts into the local cache.''' -- cgit v1.2.1