[Rpm-maint] Plugin ponderings
pmatilai at laiskiainen.org
Tue Nov 27 11:36:56 UTC 2012
On 11/27/2012 12:25 PM, Panu Matilainen wrote:
> On 11/26/2012 07:26 PM, Reshetova, Elena wrote:
>> I wonder if rpm could first
>> unpack all files and dirs to some temp location and then do one FSM
>> (if everything went fine) to commit them all one by one. This would solve
>> the problem of how to remove already installed files.
> That's *sort of* what it already does, except that permissions etc are
> set as part of commit instead of creation time, and since permissions &
> labels etc can fail...
...except that I'm talking complete nonsense here, sorry. Dunno why I
had such a strong, incorrect recollection of the way it works.
fsmCommit() currently operates on one file at a time as they come, which
makes it impossible to do any kind of undo on anything at all. Changing
it to only run once everything is unpacked ought to be "fun".
- Panu -
More information about the Rpm-maint