Mailinglist Archive: opensuse-factory (850 mails)

< Previous Next >
Re: [opensuse-factory] SuSEconfig clearance: "CLASS-A" scripts
  • From: Christoph Thiel <cthiel@xxxxxxx>
  • Date: Mon, 4 Sep 2006 13:33:26 +0200 (CEST)
  • Message-id: <Pine.LNX.4.64.0609041331460.1752@xxxxxxxxxxxxx>
On Mon, 4 Sep 2006, Dominique Leuenberger wrote:

> >>> Christoph Thiel <cthiel@xxxxxxx> 09/04/06 2:04 PM >>>
> >Hi there,
> >
>
> I was just thinking for all these SuSEconfig scripts, as the problem is
> their runtime:
>
> Couldn't we remember the 'las-run' of such a script and only run it if
> the timestamp of the file in /etc/sysconfig is newer than the
> 'last-run'? This test is imho quiet fast and we could leave most of the
> scripts. And still remove the one's we don't need anymore.

That's an optimization that should be implemented in any case. I don't
think we will need to keep a "last-run" file, but rather compare the mtime
of the sysconfig files with the resulting config files to figure out if we
need to run SuSEconfig.


Regards
Christoph
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >