diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-11-26 16:08:04 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-11-27 09:25:12 +0200 |
commit | 610347de6e07e7cd4ff13cfa9467280ed5e8c175 (patch) | |
tree | 8ac65d356c15cf1ffcd7000d8b1da5a683cf11e3 /lib/psm.c | |
parent | 54b683d2f395998178b760257f1145c246f9e09f (diff) | |
download | rpm-610347de6e07e7cd4ff13cfa9467280ed5e8c175.tar.gz rpm-610347de6e07e7cd4ff13cfa9467280ed5e8c175.tar.bz2 rpm-610347de6e07e7cd4ff13cfa9467280ed5e8c175.zip |
Pass rpmte to fsmSetup()
- fsm needs the transaction element for progress notification and
element type anyway
Diffstat (limited to 'lib/psm.c')
-rw-r--r-- | lib/psm.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1335,7 +1335,7 @@ rpmRC rpmpsmStage(rpmpsm psm, pkgStage stage) break; } - rc = fsmSetup(rpmfiFSM(fi), FSM_PKGINSTALL, ts, fi, + rc = fsmSetup(rpmfiFSM(fi), FSM_PKGINSTALL, ts, psm->te, fi, psm->cfd, NULL, &psm->failedFile); (void) rpmswAdd(rpmtsOp(ts, RPMTS_OP_UNCOMPRESS), fdOp(psm->cfd, FDSTAT_READ)); @@ -1393,7 +1393,7 @@ rpmRC rpmpsmStage(rpmpsm psm, pkgStage stage) psm->total = fc; xx = rpmpsmNext(psm, PSM_NOTIFY); - rc = fsmSetup(rpmfiFSM(fi), FSM_PKGERASE, ts, fi, + rc = fsmSetup(rpmfiFSM(fi), FSM_PKGERASE, ts, psm->te, fi, NULL, NULL, &psm->failedFile); xx = fsmTeardown(rpmfiFSM(fi)); @@ -1540,7 +1540,7 @@ rpmRC rpmpsmStage(rpmpsm psm, pkgStage stage) if (!(rpmtsFlags(ts) & RPMTRANS_FLAG_PKGCOMMIT)) break; if (rpmtsFlags(ts) & RPMTRANS_FLAG_APPLYONLY) break; - rc = fsmSetup(rpmfiFSM(fi), FSM_PKGCOMMIT, ts, fi, + rc = fsmSetup(rpmfiFSM(fi), FSM_PKGCOMMIT, ts, psm->te, fi, NULL, NULL, &psm->failedFile); xx = fsmTeardown(rpmfiFSM(fi)); break; |