[Rpm-maint] [Patch 3/19] Enable PREREQ
Michael Schroeder
mls at suse.de
Fri Feb 9 15:33:40 UTC 2007
Here's another patch for you: --nodeps does not order packages
correctly because "rpmalMakeIndex(ts->addedPackages);" is not done.
Without --nodeps it is done in rpmtsCheck().
--- rpminstall.c.orig 2007-02-09 16:28:40.000000000 +0100
+++ rpminstall.c 2007-02-09 16:31:17.000000000 +0100
@@ -679,6 +679,8 @@
}
if (eiu->numRPMS && !(ia->installInterfaceFlags & INSTALL_NOORDER)) {
+ if (ia->installInterfaceFlags & INSTALL_NODEPS)
+ rpmalMakeIndex(ts->addedPackages);
if (rpmtsOrder(ts)) {
eiu->numFailed = eiu->numPkgs;
stopInstall = 1;
Cheers,
Michael.
--
Michael Schroeder mls at suse.de
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
More information about the Rpm-maint
mailing list