[Rpm-maint] [rpm-software-management/rpm] how to install rpm parallelly (#603)
SRCxiaojin
notifications at github.com
Thu Nov 22 10:29:33 UTC 2018
now rpm is installed one by one, code below:
while (**_(p = rpmtsiNext(pi, 0)) != NULL_**) {
int failed;
rpmlog(RPMLOG_DEBUG, "========== +++ %s %s-%s 0x%x\n",
rpmteNEVR(p), rpmteA(p), rpmteO(p), rpmteColor(p));
if (!(rpmtsFlags(ts) & RPMTRANS_FLAG_NOCONTEXTS)) {
rpmtsSELabelInit(ts, 0);
}
failed = rpmteProcess(p, rpmteType(p));
if (failed) {
rpmlog(RPMLOG_ERR, "%s: %s %s\n", rpmteNEVRA(p),
rpmteTypeString(p), failed > 1 ? _("skipped") : _("failed"));
rc++;
}
(void) rpmdbSync(rpmtsGetRdb(ts));
}
is there a way of modifing code , then let rpm can run parallelly?
thank you
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/603
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20181122/eb6ff31e/attachment.html>
More information about the Rpm-maint
mailing list