Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Apr 2000 10:04:29 +0200 (CEST)
From:      Andrzej Bialecki <abial@webgiro.com>
To:        Jim Bloom <bloom@acm.org>
Cc:        Kris Kennaway <kris@FreeBSD.ORG>, "Brandon D. Valentine" <bandix@looksharp.net>, freebsd-current@FreeBSD.ORG
Subject:   Re: Patchkits: Was :Re: SMP changes and breaking kld object  modulecompatibility
Message-ID:  <Pine.BSF.4.20.0004260943330.97160-100000@mx.webgiro.com>
In-Reply-To: <390655EF.312D5248@acm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 Apr 2000, Jim Bloom wrote:

> The RCS info stored in the binaries is insufficient for this purpose.  There is
> no record of the versions of all included files.  Changes to constants and/or
> macros would not be identifiable.

Yes, you're right, I'm afraid. This could theoretically be solved by
adding an ELF section at the build stage, containing the RCS versions from
files reported by 'make depend'. But at this point the things get ugly and
complicated very quickly... :-(

The simple approach could be as follows: start with the official version
of the RELEASE (which takes care of having one common version, with known
MD5 cksums). The patchkits would contain only the whole files, not diffs.
The patch installer would have to examine the target files before doing
anything, and if the MD5 checksums (relative to the last patchkit) don't
match - present a choice, in a way similar to mergemaster.

This way, we can push the responsibility for tracking dependencies to the
user... :-/

Andrzej Bialecki

//  <abial@webgiro.com> WebGiro AB, Sweden (http://www.webgiro.com)
// -------------------------------------------------------------------
// ------ FreeBSD: The Power to Serve. http://www.freebsd.org --------
// --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ----




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.0004260943330.97160-100000>