From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6404450263 for ; Fri, 24 May 2024 21:51:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716587482; cv=none; b=iSrm7fcJk4wpwYkUv9C0X/Mfasm40UY3l8Jfc+lyGCVBpYG9u/Y4fsHhx4rVgu7ihxcw4fjCaBa16FTvHIgfNz9STNJiSs60WuApcYDd8Ny3zBXxEI6+yYF9a+ApnuB3ETsNa6jBvFA7XLPb3mUu/PvQs8eRiLaVMlneHTfduz4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716587482; c=relaxed/simple; bh=1XfQ68W1e/5myQeCSDCU6LbZvNy4+2AFiYDP1dmmcF8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FdYVteydSlXi37r7gyW+BK8ikxVKEWEg0ySDwbb8E1tPrDpyWSe6qvTeYS+jvlfEPllAZYitgaMPAldM2P4xD+wHPDG0k6JiuTpKhHVSwwjmibxFr2oWigK5sGwLGKYFKA6QykFqKCBKvtk4NaYomS4YneWbY92G1aAoPZb06Ik= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=3ON5wvpJ; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="3ON5wvpJ" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description; bh=dCif1CCnEUHPA5O+ys8nvBEzMkmkKh1prfINMg+pXU0=; b=3ON5wvpJ9vt0lW+WUJjzGY7UGd Zo4aV7n3/PgOIFBtU7TrF0fL17vSu42sZU/87JoblTP1NUp4ksocWbdSGE+yNZInBEgsv9gP5V6Jw dnsMD34p8rdly5kpaM780/JxzQZPWqxZFd1rsQ2N/oOSTe0v0ZLDKXhhn2YziF0GITNMTquXvhCRH 5sWljzKF+PRWEG1x4zfr5X4efS9adW9OvtGgMqWXl1UCLh2agGoxFvck7z2x5FShZzg6jsgAYYxRP u1FCiSZ7aCORgdguSCY5x+Ub83Vrl9M4m2/WahQi2yzteGgpkyGmAYchOX8e0xfuquelTtwhKI5D+ r5K1m4NQ==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1sAcol-00000009xVE-07yD; Fri, 24 May 2024 21:51:15 +0000 From: Luis Chamberlain To: mgorman@suse.de, jack@suse.cz, vbabka@suse.cz, dave@stgolabs.net, ziy@nvidia.com, yuzhao@google.com, jhubbard@nvidia.com, ryan.roberts@arm.com Cc: kdevops@lists.linux.dev, p.raghav@samsung.com, da.gomez@samsung.com, gost.dev@samsung.com, Luis Chamberlain Subject: [mmtests PATCH v3 1/2] bin/install-depends: call ldconfig Date: Fri, 24 May 2024 14:51:11 -0700 Message-ID: <20240524215113.2373668-2-mcgrof@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240524215113.2373668-1-mcgrof@kernel.org> References: <20240524215113.2373668-1-mcgrof@kernel.org> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Luis Chamberlain Some packages may have bugs and forgot to run ldconfig, work around these bugs by ensuring we call ldconfig after installation *all* required packages, we do this just once for a set of packages. Signed-off-by: Luis Chamberlain --- bin/install-depends | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/install-depends b/bin/install-depends index e0052f274027..a7cfaa49977b 100755 --- a/bin/install-depends +++ b/bin/install-depends @@ -254,6 +254,11 @@ foreach my $package (@ARGV) { print "Installed $package\n"; } +if (system("ldconfig") != 0) { + print "ERROR: ldconfig failed\n"; + exit(-1); +} + if ($ENV{"MMTESTS_SESSION_ID"} ne "") { close(SESSION); } -- 2.43.0