From: Luis Chamberlain <mcgrof@kernel.org>
To: mgorman@suse.de, jack@suse.cz, vbabka@suse.cz, dave@stgolabs.net,
ziy@nvidia.com, ryan.roberts@arm.com
Cc: kdevops@lists.linux.dev, p.raghav@samsung.com,
da.gomez@samsung.com, Luis Chamberlain <mcgrof@kernel.org>
Subject: [RFT 2/2] bin/install-depends: call ldconfig
Date: Mon, 18 Mar 2024 21:46:20 -0700 [thread overview]
Message-ID: <20240319044621.2682968-3-mcgrof@kernel.org> (raw)
In-Reply-To: <20240319044621.2682968-1-mcgrof@kernel.org>
Some packages may have bugs and forgot to run ldconfig, work around
these bugs by ensuring we call ldconfig after installation.
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
---
bin/install-depends | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/bin/install-depends b/bin/install-depends
index 694084c2937e..860995488680 100755
--- a/bin/install-depends
+++ b/bin/install-depends
@@ -250,7 +250,10 @@ 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 "") {
--
2.43.0
prev parent reply other threads:[~2024-03-19 4:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-19 4:46 [mmtests RFT 0/2] fix debian dependencies Luis Chamberlain
2024-03-19 4:46 ` [RFT 1/2] MMTests::Stat: replace List::BinarySearch Luis Chamberlain
2024-03-20 18:37 ` Jan Kara
2024-05-23 22:37 ` Luis Chamberlain
2024-03-19 4:46 ` Luis Chamberlain [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240319044621.2682968-3-mcgrof@kernel.org \
--to=mcgrof@kernel.org \
--cc=da.gomez@samsung.com \
--cc=dave@stgolabs.net \
--cc=jack@suse.cz \
--cc=kdevops@lists.linux.dev \
--cc=mgorman@suse.de \
--cc=p.raghav@samsung.com \
--cc=ryan.roberts@arm.com \
--cc=vbabka@suse.cz \
--cc=ziy@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox