From: Luis Chamberlain <mcgrof@kernel.org>
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 <mcgrof@kernel.org>
Subject: [mmtests RFT v2 1/2] bin/install-depends: call ldconfig
Date: Thu, 23 May 2024 15:55:54 -0700 [thread overview]
Message-ID: <20240523225555.1791779-2-mcgrof@kernel.org> (raw)
In-Reply-To: <20240523225555.1791779-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 e0052f274027..4539350868c3 100755
--- a/bin/install-depends
+++ b/bin/install-depends
@@ -251,7 +251,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
next prev parent reply other threads:[~2024-05-23 22:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-23 22:55 [mmtests RFT v2 0/2] mmtests: fix debian dependencies Luis Chamberlain
2024-05-23 22:55 ` Luis Chamberlain [this message]
2024-05-24 12:45 ` [mmtests RFT v2 1/2] bin/install-depends: call ldconfig Jan Kara
2024-05-23 22:55 ` [mmtests RFT v2 2/2] MMTests::Stat: replace List::BinarySearch Luis Chamberlain
2024-05-24 12:52 ` Jan Kara
2024-05-24 15:55 ` [mmtests RFT v2 0/2] mmtests: fix debian dependencies Davidlohr Bueso
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=20240523225555.1791779-2-mcgrof@kernel.org \
--to=mcgrof@kernel.org \
--cc=da.gomez@samsung.com \
--cc=dave@stgolabs.net \
--cc=gost.dev@samsung.com \
--cc=jack@suse.cz \
--cc=jhubbard@nvidia.com \
--cc=kdevops@lists.linux.dev \
--cc=mgorman@suse.de \
--cc=p.raghav@samsung.com \
--cc=ryan.roberts@arm.com \
--cc=vbabka@suse.cz \
--cc=yuzhao@google.com \
--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