[1/3] image.bbclass: make execution ldconfig verbose

Submitted by Nitin A Kamble on April 4, 2011, 12:56 p.m.

Details

Message ID 603b43e614445ff5da295f4746c716d572d2992b.1301921659.git.nitin.a.kamble@intel.com
State New, archived
Headers show

Commit Message

Nitin A Kamble April 4, 2011, 12:56 p.m.
From: Nitin A Kamble <nitin.a.kamble@intel.com>

The failure of ldconfig was not getting logged anywhere before.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 meta/classes/image.bbclass |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 2cc17e1..95e3f4d 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -113,7 +113,8 @@  fakeroot do_rootfs () {
 
 	# Run ldconfig on the image to create a valid cache 
 	# (new format for cross arch compatibility)
-	ldconfig -r ${IMAGE_ROOTFS} -c new
+	echo executing: ldconfig -r ${IMAGE_ROOTFS} -c new -v
+	ldconfig -r ${IMAGE_ROOTFS} -c new -v
 
 	# (re)create kernel modules dependencies
 	# This part is done by kernel-module-* postinstall scripts but if image do