From 2df457330147cab89cd7ff3aeb7c2e0901c62a91 Mon Sep 17 00:00:00 2001 From: Richard Dale Date: Thu, 30 Apr 2015 14:40:48 +0000 Subject: Create /etc/ld.so.conf.d in the glibc chunks, not fhs-dirs as it is glibc specific Include ld.so.conf and ld.so.conf.d in the glibc-libs artifact This fixes a problem with minimal systems introduced by this commit: c9afefed2d2278046ec5c0fb11c32220f3b7380d It meant that /etc/ld.so.conf was missing in minimal systems Change-Id: I4b63c33c4572e78092e1b434489787f3e788a80f --- strata/build-essential/glibc.morph | 4 ++++ strata/build-essential/stage2-glibc.morph | 1 + 2 files changed, 5 insertions(+) diff --git a/strata/build-essential/glibc.morph b/strata/build-essential/glibc.morph index ecd7c7c4..f820547d 100644 --- a/strata/build-essential/glibc.morph +++ b/strata/build-essential/glibc.morph @@ -20,7 +20,10 @@ products: - (usr/)?lib/libSegFault\.so(\.\d+)*$ - artifact: glibc-libs include: + # This is processed after bins, so bins can take libSegFault.so - (usr/)?lib(32|64)?/lib[^/]*\.so(\.\d+)*$ + - etc/ld.so.conf + - etc/ld.so.conf.d - artifact: glibc-devel include: - (usr/)?include/.* @@ -67,6 +70,7 @@ build-commands: install-commands: - cd o && make install_root="$DESTDIR" localtime=UTC install - mkdir -p "$DESTDIR/etc" +- mkdir -p "$DESTDIR/etc/ld.so.conf.d" - | cat < nsswitch.conf passwd: compat diff --git a/strata/build-essential/stage2-glibc.morph b/strata/build-essential/stage2-glibc.morph index 9e5e745b..f44d0ebb 100644 --- a/strata/build-essential/stage2-glibc.morph +++ b/strata/build-essential/stage2-glibc.morph @@ -33,6 +33,7 @@ build-commands: install-commands: - cd o && make install_root="$DESTDIR" localtime=UTC install - mkdir -p "$DESTDIR/etc" +- mkdir -p "$DESTDIR/etc/ld.so.conf.d" - | cat < ld.so.conf /lib -- cgit v1.2.1