On ���, 2002-01-18 at 22:51, Borsenkow Andrej wrote:
> On ���, 2002-01-17 at 16:09, Charles A Edwards wrote:
> > Updating to latest cooker using rpmdrake kernel-2.4.17-6 was pulled as a
> > depend.
> > Since with urpmi kernel updates are now OK I decided what the hell and let it be
> > installed.
> > Everything went fine.
> > Almost.
> > Though the kernel was Installed and not Upgraded No initrd image was created.
> >
>
> Ack. At least it does not reset links :-)
>
{pts/1}% LC_TIME=en rpm -q --changelog grpmi | less
...
* Wed Oct 25 2000 DindinX <[EMAIL PROTECTED]> 7.2-17mdk
- Use the DURING_INSTALL environment variable to avoid ldconfig
and update-menus to be launch several times.
Unfortunately the real effect was that postinstall (and I guess
preinstall) scripts were NEVER executed. Not only for kernel but for ANY
package whatever.
More than a year ...
-andrej
--- grpmi-8.1/grpmi.c.org Tue Oct 9 17:09:06 2001
+++ grpmi-8.1/grpmi.c Sat Jan 19 00:10:58 2002
@@ -917,8 +917,6 @@
noupgrade = 0;
}
}
- /* Disabling ldconfig, menu-methods and Co */
- setenv("DURING_INSTALL", "1", 1);
{
rpmDependencyConflict conflicts;
int numConflicts;
@@ -991,9 +989,6 @@
G_LOCK(quit); quit = 1; G_UNLOCK(quit);
} else
{
- unsetenv("DURING_INSTALL");
- system("ldconfig");
- system("update-menus");
G_LOCK(quit); quit = -1; G_UNLOCK(quit);
}
}