daemon: Allow downgrades when pulling a rebase diff

Running the actual rebase already does this automatically.

Closes: #552
Approved by: jlebon
This commit is contained in:
petervo 2016-12-19 14:44:51 -08:00 committed by Atomic Bot
parent 3a409342e6
commit 9a2788c7b6

View File

@ -122,7 +122,7 @@ package_diff_transaction_execute (RpmostreedTransaction *transaction,
self = (PackageDiffTransaction *) transaction; self = (PackageDiffTransaction *) transaction;
if (self->revision != NULL) if (self->revision != NULL || self->refspec == NULL)
upgrader_flags |= RPMOSTREE_SYSROOT_UPGRADER_FLAGS_ALLOW_OLDER; upgrader_flags |= RPMOSTREE_SYSROOT_UPGRADER_FLAGS_ALLOW_OLDER;
sysroot = rpmostreed_transaction_get_sysroot (transaction); sysroot = rpmostreed_transaction_get_sysroot (transaction);