Message ID | 1445502151-25735-2-git-send-email-bjorn.forsman@gmail.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <buildroot-bounces@busybox.net> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 07F06141321 for <incoming@patchwork.ozlabs.org>; Thu, 22 Oct 2015 19:22:47 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=VKF+mumB; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 331D48AB05; Thu, 22 Oct 2015 08:22:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WMsPemmzyR4V; Thu, 22 Oct 2015 08:22:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id B3A398AD12; Thu, 22 Oct 2015 08:22:45 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 441B21C0839 for <buildroot@lists.busybox.net>; Thu, 22 Oct 2015 08:22:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 41A448C3FB for <buildroot@lists.busybox.net>; Thu, 22 Oct 2015 08:22:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2xEs3iAzEKAo for <buildroot@lists.busybox.net>; Thu, 22 Oct 2015 08:22:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) by whitealder.osuosl.org (Postfix) with ESMTPS id 76CBA8A94C for <buildroot@busybox.net>; Thu, 22 Oct 2015 08:22:41 +0000 (UTC) Received: by lffz202 with SMTP id z202so39110838lff.3 for <buildroot@busybox.net>; Thu, 22 Oct 2015 01:22:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=qPx/WsXQi8CaSjABmYmhzh1CREj8Jp0eCpFGMjIImgI=; b=VKF+mumB1uU2aVXWWxaIpWANuZnBkHli4W6BudYYcRRxhgLSm+eSj2tJ6zkqG6St3L hYRldTk0LV2lWvs2zem1nJnZbj5ErwC9SuTbSXHiSrcjVt2hwVEPaSx4aCc73c8/SLSu zj+WX59OzYp1P50qv3OWGSpnQ+iBgmVTUu33dbaj9Sld8Vjz6t98TKrhyXRXYIbPORnY +2scdAWl8I74vPfa54pCFlSSqHgiCn2gL4S6ewAn4PniqYb5HkbcXdSD0IyoxtwMkqkk VU/V4xhG/mCJu2z45rIRER2HH/WITPFMfis8i3exVsdHxyKgi2ey3xpD2TJ330AT98OE BfCA== X-Received: by 10.25.164.134 with SMTP id n128mr4999629lfe.3.1445502159613; Thu, 22 Oct 2015 01:22:39 -0700 (PDT) Received: from localhost (cm-84.208.220.107.getinternet.no. [84.208.220.107]) by smtp.gmail.com with ESMTPSA id c6sm2139571lbp.2.2015.10.22.01.22.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Oct 2015 01:22:38 -0700 (PDT) From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= <bjorn.forsman@gmail.com> To: buildroot@busybox.net Date: Thu, 22 Oct 2015 10:22:31 +0200 Message-Id: <1445502151-25735-2-git-send-email-bjorn.forsman@gmail.com> X-Mailer: git-send-email 2.5.2 In-Reply-To: <1445502151-25735-1-git-send-email-bjorn.forsman@gmail.com> References: <1445502151-25735-1-git-send-email-bjorn.forsman@gmail.com> MIME-Version: 1.0 Cc: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= <bjorn.forsman@gmail.com> Subject: [Buildroot] [PATCH 2/2] Makefile: add -C flag for /sbin/ldconfig X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
diff --git a/Makefile b/Makefile index 61ce1f9..ff812f3 100644 --- a/Makefile +++ b/Makefile @@ -607,6 +607,7 @@ endif -f $(TARGET_DIR)/etc/ld.so.conf; \ else \ /sbin/ldconfig -r $(TARGET_DIR) \ + -C /etc/ld.so.cache \ -f /etc/ld.so.conf; \ fi ( \
Needed when building in a FHS chroot on NixOS[1]. Without it, ldconfig tries to open a directory in the nix store. Being explicit fixes it. Tested that it doesn't regress on Ubuntu 14.04. [1] I know, it's an uncommon setup :-) Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com> --- Makefile | 1 + 1 file changed, 1 insertion(+)