Issue actual erasure progress callbacks too
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 5 Jan 2012 13:18:28 +0000 (15:18 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 5 Jan 2012 14:05:11 +0000 (16:05 +0200)
commitf0948894f0cda685bcccd0b4fc83c40a94d30d3b
tree0a7475468609c6c60e66f11df8561e40c003d8e1
parent72bd2de21e649c579bb2fba2aeabbdb401b0d246
Issue actual erasure progress callbacks too

- Whereas on install the progress is measured by bytes written to
  disk vs total archive size, on erase the best we can do is
  going by the number of files in the package. Fsm iterates backwards
  on erase so we can't just use fsm->ix but need to re-revert the value.
lib/fsm.c