[2214] in SIPB_Linux_Development
Re: alternate packs/config proposal for Linux
daemon@ATHENA.MIT.EDU (Derek Atkins)
Tue Oct 6 09:17:29 1998
To: Greg Hudson <ghudson@MIT.EDU>
Cc: amu@MIT.EDU (Aaron M. Ucko), sipb-source-reviewers@MIT.EDU,
linux-dev@MIT.EDU
From: Derek Atkins <warlord@MIT.EDU>
Date: 06 Oct 1998 09:17:08 -0400
In-Reply-To: Greg Hudson's message of Mon, 05 Oct 1998 15:32:55 EDT
RPM has a concept called 'triggers' which you can use to call a script
from package A when either it _or_ package B changes. So, if, for
example, RedHat changes /etc/services (which will replace the patched
version), the 'trigger' will fire which will re-apply our changes.
The only issue is that we need to make sure that our patch runs
properly on both versions. Hopefully it is easy-enough to make a
generic 'patch'.
-derek
Greg Hudson <ghudson@MIT.EDU> writes:
> Yes, it is an issue. Consider the case where the system takes an RPM
> update which edits the config file after the sed script has been
> applied. How do you go to a new version of that sed script while
> preserving the RPM update?
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available