summaryrefslogtreecommitdiff
path: root/elements/gnu-toolchain/fhs-dirs.bst
diff options
context:
space:
mode:
Diffstat (limited to 'elements/gnu-toolchain/fhs-dirs.bst')
-rw-r--r--elements/gnu-toolchain/fhs-dirs.bst5
1 files changed, 5 insertions, 0 deletions
diff --git a/elements/gnu-toolchain/fhs-dirs.bst b/elements/gnu-toolchain/fhs-dirs.bst
index df715755..982ca051 100644
--- a/elements/gnu-toolchain/fhs-dirs.bst
+++ b/elements/gnu-toolchain/fhs-dirs.bst
@@ -24,3 +24,8 @@ config:
- install -m 644 services "%{install-root}/etc/services"
- install -m 644 protocols "%{install-root}/etc/protocols"
- echo baserock > "%{install-root}/etc/hostname"
+
+ # This is the first component that builds in the stage2.bst sysroot.
+ # We need to ldconfig manually here. It can't be done as an integration
+ # command in stage2 because that breaks when stage2 is cross-built.
+ - ldconfig || exit 0