SOURCES: poldek-nonoorder.patch (NEW) - rpm will win the ordering ...

glen glen at pld-linux.org
Wed Mar 19 20:40:34 CET 2008


Author: glen                         Date: Wed Mar 19 19:40:34 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- rpm will win the ordering
  see: http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2008-March/019763.html
21:18:26  jbj_> glen: rpm invoked with --noorder does not affect package ordering at all.
21:18:40  jbj_> glen___ even
21:25:37  glen___> i understand --noorder defines in what order pkgs are installed, but beaviour that it made erase+install
                   instead of "upgrade" doesn't make sense
21:26:24  glen___> and for sure it was $1 = 0, otherwise kdm service wouldn't had been stopped, nor the pkg files (and even
                   rpmdb) removed
21:26:46  jbj_> the value of $1 will also be affected by ordering.
21:29:17  jbj_> erase+isnatll rather than install+erase is also an ordering problem. --noorder disables any attempt by rpm to
                change order.
 

---- Files affected:
SOURCES:
   poldek-nonoorder.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/poldek-nonoorder.patch
diff -u /dev/null SOURCES/poldek-nonoorder.patch:1.1
--- /dev/null	Wed Mar 19 20:40:34 2008
+++ SOURCES/poldek-nonoorder.patch	Wed Mar 19 20:40:29 2008
@@ -0,0 +1,11 @@
+--- poldek-0.21-cvs20070703.00/pm/rpm/rpminstall.c~	2008-03-19 21:28:45.000000000 +0200
++++ poldek-0.21-cvs20070703.00/pm/rpm/rpminstall.c	2008-03-19 21:29:42.010639258 +0200
+@@ -374,8 +374,6 @@
+         argv[nargs++] = (char*)ts->rootdir;
+     }
+ 
+-    argv[nargs++] = "--noorder";    /* packages always ordered by me */
+-
+     if (ts->rpmacros) 
+         for (i=0; i<n_array_size(ts->rpmacros); i++) {
+             argv[nargs++] = "--define";
================================================================


More information about the pld-cvs-commit mailing list