summaryrefslogtreecommitdiff
path: root/morphlib
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2013-01-24 13:00:17 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2013-01-24 16:40:22 +0000
commit53bd32775e0dc68181743d3048f7fbadff56d86e (patch)
treec38be8395a5e1b21ca6269ccaaf529a8a223db4b /morphlib
parent9492e9a115739f0fd015bc5ccc21c7366be1548d (diff)
downloadmorph-53bd32775e0dc68181743d3048f7fbadff56d86e.tar.gz
Run ldconfig after populating staging chroot
After installing libraries into the staging area, we need to run ldconfig to update the shared library cache. I presume that this wasn't required until now because the cache in the staging filler tarball was enough.
Diffstat (limited to 'morphlib')
-rw-r--r--morphlib/buildcommand.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/morphlib/buildcommand.py b/morphlib/buildcommand.py
index cd7cbc26..88dce4b1 100644
--- a/morphlib/buildcommand.py
+++ b/morphlib/buildcommand.py
@@ -208,6 +208,9 @@ class BuildCommand(object):
self.install_fillers(staging_area)
self.install_chunk_artifacts(staging_area,
deps)
+ morphlib.builder2.ldconfig(self.app.runcmd,
+ staging_area.tempdir)
+
self.build_and_cache(staging_area, artifact)
if self.app.settings['bootstrap']:
self.install_chunk_artifacts(staging_area,