Ehm, %pretrans failure shouldn't abort the entire transaction
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 22 Nov 2011 10:34:46 +0000 (12:34 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 22 Nov 2011 10:34:46 +0000 (12:34 +0200)
commit0761bad2697d3baadac9854be6838fbb603971c0
tree5de7c239c2f58a3f84fabbe7dbe2a9db933c12f9
parent71c6b06b3f240021f2ece46f9cf7aa891f716710
Ehm, %pretrans failure shouldn't abort the entire transaction

- Brainfart in previous commit (71c6b06b3f240021f2ece46f9cf7aa891f716710):
  %pretrans failure should only cause that package to fail, not
  abort the entire transaction. Doh.
- Failures are tracked via transaction elements but pre/posttrans
  were specifically filtered out. All we need is removing that filtering
  and the warn-only vs error logic in psm takes care of the rest.
  The transaction.c changes in previous commit were just unnecessary.
lib/rpmte.c
lib/transaction.c