Gentoo Archives: gentoo-dev

From: Joerg Hoh <joerg@××××××.org>
To: Radoslaw Stachowiak <rstachowiak@×××××.com>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: extension of etc-update
Date: Tue, 10 Aug 2004 12:04:05
Message-Id: 20040810120404.GB1912@hydra.joerghoh.de
1 On Tue, Aug 10, 2004 at 01:52:30PM +0200, Radoslaw Stachowiak wrote:
2 >
3 > it doesnt in proper way, because dispatch-conf does not store md5sums,
4 > but uses /var/db/pkg data for its comparision. But using it (db) after
5 > installation results in md5sum lost (only md5 sums of NEW version of
6 > files are stored).
7 >
8 > So there are two ways to do it:
9 > 1. store sums regardless of portage, and compare it after installation.
10 > 2. maybe, instead of md5sum, simple comparision if mtime < ctime than
11 > update is allowed would be fine?
12 >
13 > please comment about 2) because it would be trivial to implement it in
14 > dispatch-conf.
15
16 ctime vs mtime would be acceptable; if it is combined with the
17 trivial-merge-approach, it's probably enough for most of the mentioned
18 issues.
19
20 Joerg
21
22
23 --
24 Fachbegriffe der Informatik (Nr 64): Network Computer
25 - grafikfähiges Terminal

Replies

Subject Author
Re: [gentoo-dev] RFC: extension of etc-update Radoslaw Stachowiak <rstachowiak@×××××.com>
Re: [gentoo-dev] RFC: extension of etc-update Donnie Berkholz <spyderous@g.o>